f1aa40ccc9a86c1c5244bcbe9a5fdfd7105c6a62
[bpt/emacs.git] / lisp / ChangeLog
1 2013-05-08 Tom Tromey <tromey@redhat.com>
2
3 * progmodes/m4-mode.el (m4-mode-syntax-table):
4 Do not treat "_" as word constituent. (Bug#14167)
5
6 2013-05-07 Glenn Morris <rgm@gnu.org>
7
8 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
9 Remove explicit eshell-isearch-cancel-map.
10
11 * progmodes/f90.el (f90-smart-end-names): New option.
12 (f90-smart-end): Doc fix.
13 (f90-end-block-optional-name): New constant.
14 (f90-block-match): Respect f90-smart-end-names.
15
16 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
17
18 * progmodes/octave.el (octave-smie-forward-token): Be more careful
19 about implicit semi-colons (bug#14218).
20
21 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
22
23 * frame.el (display-monitor-attributes-list)
24 (frame-monitor-attributes): New functions.
25
26 2013-05-06 Leo Liu <sdl.web@gmail.com>
27
28 * progmodes/octave.el (octave-syntax-propertize-function): Change
29 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
30 (octave-font-lock-keywords): Use octave-operator-regexp.
31 (octave-completion-at-point): Renamed from
32 octave-completion-at-point-function.
33 (inferior-octave-directory-tracker): Robustify.
34 (octave-text-functions): Remove and fix its uses. No such things
35 any more.
36
37 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
38
39 * emacs-lisp/trace.el (trace--display-buffer): New function.
40 (trace-make-advice): Use it.
41
42 2013-05-06 Juri Linkov <juri@jurta.org>
43
44 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
45 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
46 Doc fix.
47 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
48 in the help string. (Bug#12985)
49
50 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
51
52 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
53
54 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
55
56 * progmodes/perl-mode.el: Add support for here documents.
57 (perl-syntax-propertize-function): Match here-doc markers.
58 (perl-syntax-propertize-special-constructs): Find their end.
59 (perl-imenu-generic-expression): Use [:alnum:].
60
61 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
62 (advice--add-function): Refresh the advice if already present
63 (bug#14317).
64
65 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
66
67 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
68
69 2013-05-06 Glenn Morris <rgm@gnu.org>
70
71 * w32-fns.el (w32-charset-info-alist): Declare.
72
73 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
74 of its defcustom properties.
75 (eshell-cmpl-initialize): No need to load pcomplete.
76
77 * generic-x.el: No need to require comint when compiling.
78
79 * net/eudc-export.el: Make it loadable without bbdb.
80 (top-level): Use require rather than load-library.
81 (eudc-create-bbdb-record, eudc-bbdbify-phone)
82 (eudc-batch-export-records-to-bbdb)
83 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
84 Require bbdb.
85
86 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
87
88 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
89 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
90 some tweaks, instead.
91
92 2013-05-05 Leo Liu <sdl.web@gmail.com>
93
94 * progmodes/octave.el (octave-font-lock-keywords)
95 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
96 (inferior-octave-send-list-and-digest): Improve error message.
97 (octave-mode, inferior-octave-mode): Use setq-local.
98 (octave-help): Set info-lookup-mode.
99
100 2013-05-05 Richard Stallman <rms@gnu.org>
101
102 * vc/compare-w.el (compare-windows-whitespace):
103 Treat no-break space as whitespace.
104
105 * mail/rmailsum.el (rmail-summary-rmail-update):
106 Detect empty summary and don't change selected message.
107 (rmail-summary-goto-msg): Likewise.
108
109 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
110 Doc fixes, rename args.
111
112 2013-05-05 Alan Mackenzie <acm@muc.de>
113
114 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
115
116 2013-05-05 Juri Linkov <juri@jurta.org>
117
118 * info.el (Info-read-subfile): Use (point-min) instead of (point)
119 to not add the length of the summary segment to the return value.
120 (Bug#14125)
121
122 2013-05-05 Leo Liu <sdl.web@gmail.com>
123
124 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
125 (inferior-octave-output-filter): Remove.
126 (octave-send-region, inferior-octave-startup): Fix callers.
127 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
128 (octave-binary-file-extensions): New user variable.
129 (octave-find-definition): Confirm if opening binary files.
130 (octave-help-file): Use octave-find-definition to get the binary
131 confirmation.
132 (octave-help): Adjust for octave-help-file change.
133
134 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
135
136 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
137 Merge the two entries that handle function definitions.
138 (pascal--syntax-propertize): New const.
139 (pascal-mode): Use it. Use setq-local.
140
141 2013-05-04 Glenn Morris <rgm@gnu.org>
142
143 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
144 (diary-from-outlook): Respect diary-from-outlook-function.
145
146 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
147
148 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
149 Move the declaration from C.
150 (read-minibuffer, eval-minibuffer): Move from C.
151 (completion-setup-function): Avoid minibuffer-completion-contents.
152
153 2013-05-03 Leo Liu <sdl.web@gmail.com>
154
155 * progmodes/octave.el (octave-font-lock-keywords): Do not
156 dehighlight 'end' in comments or strings.
157 (octave-completing-read, octave-goto-function-definition):
158 New helpers.
159 (octave-help-buffer): New user variable.
160 (octave-help-file, octave-help-function): New button types.
161 (octave-help): New command and bind it to C-h ;.
162 (octave-find-definition): New command and bind it to M-.
163 (user-error): Alias to error if not defined.
164
165 2013-05-02 Leo Liu <sdl.web@gmail.com>
166
167 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
168 for \. (bug#14332)
169 (octave-font-lock-keywords): Include [ and {.
170
171 2013-05-02 Leo Liu <sdl.web@gmail.com>
172
173 * progmodes/octave.el (inferior-octave-startup-file): Change default.
174 (inferior-octave): Remove calling comint-mode and return the buffer.
175 (inferior-octave-startup): Cosmetic changes.
176
177 2013-05-02 Leo Liu <sdl.web@gmail.com>
178
179 * progmodes/octave.el (octave-syntax-propertize-function):
180 Include the case when ' is at line beginning. (Bug#14336)
181
182 2013-05-02 Glenn Morris <rgm@gnu.org>
183
184 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
185 * desktop.el (vc-dir-mode): Just autoload it here.
186
187 2013-05-02 Alan Mackenzie <acm@muc.de>
188
189 Eliminate variable c-standard-font-lock-fontify-region-function.
190 * progmodes/cc-mode.el
191 (c-standard-font-lock-fontify-region-function): Remove.
192 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
193
194 2013-05-01 Leo Liu <sdl.web@gmail.com>
195
196 * progmodes/octave.el: Compatible with older emacs-24 releases.
197 (inferior-octave-has-built-in-variables): Remove. Built-in
198 variables were removed from Octave in 2007.
199 (inferior-octave-startup): Fix uses.
200 (comint-line-beginning-position): Remove compatibility code for
201 emacs 21.
202
203 2013-05-01 Juri Linkov <juri@jurta.org>
204
205 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
206
207 2013-05-01 Juri Linkov <juri@jurta.org>
208
209 * comint.el (comint-previous-matching-input): Don't print message
210 "History item: %d" when `isearch-mode' is active.
211 (comint-history-isearch-message): Print message "History item: %d"
212 when `comint-input-ring-index' is not empty and this function is
213 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
214
215 2013-05-01 Leo Liu <sdl.web@gmail.com>
216
217 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
218 definitions. Use completion-at-point to insert keywords.
219 (octave-abbrev-start): Remove.
220 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
221
222 2013-04-30 Leo Liu <sdl.web@gmail.com>
223
224 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
225 change.
226
227 2013-04-30 Alan Mackenzie <acm@muc.de>
228
229 Handle arbitrarily long C++ member initialisation lists.
230 * progmodes/cc-engine.el (c-back-over-member-initializers):
231 new function.
232 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
233 (most) member init lists.
234
235 2013-04-30 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
236
237 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
238 variable.
239
240 2013-04-30 Leo Liu <sdl.web@gmail.com>
241
242 * progmodes/octave.el (octave-variables): Remove. No builtin
243 variables any more. All converted to functions.
244 (octave-font-lock-keywords, octave-completion-at-point-function):
245 Fix uses.
246 (octave-font-lock-texinfo-comment): New user variable.
247 (octave-texinfo-font-lock-keywords): New variable for texinfo
248 comment block.
249 (octave-function-comment-block): New face.
250 (octave-font-lock-texinfo-comment): New function.
251 (octave-mode): Font lock texinfo comment block.
252
253 2013-04-29 Leo Liu <sdl.web@gmail.com>
254
255 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
256 indexing expression.
257 (octave-continuation-string): Do not use \.
258 (inferior-octave-complete-impossible): Remove.
259 (inferior-octave-completion-table)
260 (inferior-octave-completion-at-point): Remove its uses.
261 (inferior-octave-startup): completion_matches was introduced to
262 Octave in 1996 so safe to assume it.
263 (octave-function-file-comment): Improve to follow how Octave does it.
264 (octave-update-function-file-comment): Tweak.
265
266 2013-04-29 Leo Liu <sdl.web@gmail.com>
267
268 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
269 (inferior-octave-startup): Remove inferior-octave-startup-hook.
270 (octave-function-file-comment): Fix typo.
271 (octave-sync-function-file-names): Use read-char-choice.
272
273 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
274
275 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
276 to t for the less important warnings.
277
278 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
279
280 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
281
282 2013-04-27 Glenn Morris <rgm@gnu.org>
283
284 * vc/log-view.el (log-view-current-entry):
285 Treat "---" separator lines as part of the following rev. (Bug#14169)
286
287 2013-04-27 Juri Linkov <juri@jurta.org>
288
289 * subr.el (read-number): Doc fix about using it by interactive
290 code letter `n'. (Bug#14254)
291
292 2013-04-27 Juri Linkov <juri@jurta.org>
293
294 * desktop.el (desktop-auto-save-timeout): New option.
295 (desktop-file-checksum): New variable.
296 (desktop-save): Add optional arg `auto-save' and don't auto-save
297 if nothing changed.
298 (desktop-auto-save-timer): New variable.
299 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
300 (after-init-hook): Call `desktop-auto-save-set-timer'.
301 Suggested by Reuben Thomas <rrt@sc3d.org> in
302 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
303
304 2013-04-27 Leo Liu <sdl.web@gmail.com>
305
306 * progmodes/octave.el (octave-function-file-p)
307 (octave-skip-comment-forward, octave-function-file-comment)
308 (octave-update-function-file-comment): New functions.
309 (octave-mode-map): Bind C-c ; to
310 octave-update-function-file-comment.
311 (octave-mode-menu): Add octave-update-function-file-comment.
312 (octave-mode, inferior-octave-mode): Fix doc-string.
313 (octave-insert-defun): Conform to Octave's coding convention.
314 (Bug#14285)
315
316 * files.el (basic-save-buffer): Don't let errors in
317 before-save-hook prevent saving buffer.
318
319 2013-04-20 Roland Winkler <winkler@gnu.org>
320
321 * faces.el (read-face-name): Use completing-read if arg multiple
322 is nil.
323
324 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
325
326 * ls-lisp.el (ls-lisp-insert-directory): If no files are
327 displayed, move point to after the totals line.
328 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
329 for the details.
330
331 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
332
333 * emacs-lisp/package.el (package-autoload-ensure-default-file):
334 Add current dir to the load-path.
335 (package-generate-autoloads): Don't rely on
336 autoload-ensure-default-file.
337
338 2013-04-26 Reuben Thomas <rrt@sc3d.org>
339
340 * textmodes/remember.el (remember-store-in-files): Document that
341 the file name format is passed to `format-time-string'.
342
343 2013-04-26 Leo Liu <sdl.web@gmail.com>
344
345 * progmodes/octave.el (octave-sync-function-file-names): New function.
346 (octave-mode): Use it in before-save-hook.
347
348 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
349
350 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
351 (bug#14274).
352
353 * progmodes/octave.el (octave-smie-forward-token): Properly skip
354 \n and comment, even if it's not an implicit ; (bug#14218).
355
356 2013-04-26 Glenn Morris <rgm@gnu.org>
357
358 * subr.el (read-number): Once more use `read' rather than
359 `string-to-number', to trap non-numeric input. (Bug#14254)
360
361 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
362
363 * emacs-lisp/syntax.el (syntax-propertize-multiline):
364 Use `syntax-multiline' text property consistently instead of
365 `font-lock-multiline'. (bug#14237).
366
367 2013-04-26 Glenn Morris <rgm@gnu.org>
368
369 * emacs-lisp/shadow.el (list-load-path-shadows):
370 No longer necessary to check for duplicate simple.el, since
371 2012-07-07 change to init_lread to not include installation lisp
372 directories in load-path when running uninstalled. (Bug#14270)
373
374 2013-04-26 Leo Liu <sdl.web@gmail.com>
375
376 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
377 (octave-mode, inferior-octave-mode): Use setq-local.
378 (octave-not-in-string-or-comment-p): Rename to
379 octave-in-string-or-comment-p.
380 (octave-in-comment-p, octave-in-string-p)
381 (octave-in-string-or-comment-p): Replace defsubst with defun.
382
383 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
384
385 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
386
387 2013-04-25 Bastien Guerry <bzg@gnu.org>
388
389 * textmodes/remember.el (remember-data-directory)
390 (remember-directory-file-name-format): Fix custom types.
391
392 2013-04-25 Leo Liu <sdl.web@gmail.com>
393
394 * progmodes/octave.el (octave-completion-at-point-function):
395 Make use of inferior octave process.
396 (octave-initialize-completions): Remove.
397 (inferior-octave-completion-table): New function.
398 (inferior-octave-completion-at-point): Use it.
399 (octave-completion-alist): Remove.
400
401 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
402
403 * progmodes/opascal.el: Use font-lock and syntax-propertize.
404 (opascal-mode-syntax-table): New var.
405 (opascal-literal-kind, opascal-is-literal-end)
406 (opascal-literal-token-at): Rewrite.
407 (opascal--literal-start-re, opascal-font-lock-keywords)
408 (opascal--syntax-propertize): New constants.
409 (opascal-font-lock-defaults): Adjust.
410 (opascal-mode): Use them. Set comment-<foo> variables as well.
411 (delphi-comment-face, opascal-comment-face, delphi-string-face)
412 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
413 (delphi-other-face, opascal-other-face): Remove face variables.
414 (opascal-save-state): Remove macro.
415 (opascal-fontifying-progress-step): Remove constant.
416 (opascal--ignore-changes): Remove var.
417 (opascal-set-token-property, opascal-parse-next-literal)
418 (opascal-is-stable-literal, opascal-complete-literal)
419 (opascal-is-literal-start, opascal-face-of)
420 (opascal-parse-region, opascal-parse-region-until-stable)
421 (opascal-fontify-region, opascal-after-change)
422 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
423 (opascal-debug-parse-region, opascal-debug-parse-window)
424 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
425 (opascal-debug-fontify-buffer): Remove.
426 (opascal-debug-mode-map): Adjust accordingly.
427
428 2013-04-25 Leo Liu <sdl.web@gmail.com>
429
430 Merge octave-mod.el and octave-inf.el into octave.el with some
431 cleanups.
432 * progmodes/octave.el: New file renamed from octave-mod.el.
433 * progmodes/octave-inf.el: Merged into octave.el.
434 * progmodes/octave-mod.el: Renamed to octave.el.
435
436 2013-04-25 Tassilo Horn <tsdh@gnu.org>
437
438 * textmodes/reftex-vars.el
439 (reftex-label-ignored-macros-and-environments): New defcustom.
440
441 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
442
443 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
444
445 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
446 (smie-indent-keyword): Improve the check to ensure that the next
447 comment is really on the same line.
448 (smie-indent-comment): Don't align with a subsequent closer (or eob).
449
450 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
451 semi-colons if the line is not otherwise empty (bug#14218).
452
453 2013-04-25 Glenn Morris <rgm@gnu.org>
454
455 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
456
457 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
458
459 * progmodes/opascal.el (opascal-set-token-property): Rename from
460 opascal-set-text-properties and only set `token' (bug#14134).
461 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
462 (opascal-literal-text-properties): Remove.
463 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
464 Adjust callers.
465
466 2013-04-24 Reuben Thomas <rrt@sc3d.org>
467
468 * textmodes/remember.el (remember-handler-functions): Add an
469 option for a new handler `remember-store-in-files'.
470 (remember-data-directory, remember-directory-file-name-format):
471 New options.
472 (remember-store-in-files): New function to store remember notes
473 as separate files within a directory.
474
475 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
476
477 * progmodes/compile.el (compilation-next-error-function):
478 Pass "formats" to compilation-find-file (bug#11777).
479
480 2013-04-24 Glenn Morris <rgm@gnu.org>
481
482 * vc/vc-bzr.el (vc-bzr-print-log):
483 * vc/vc-hg.el (vc-hg-print-log):
484 * vc/vc-svn.el (vc-svn-print-log):
485 Fix START-REVISION with LIMIT != 1. (Bug#14168)
486
487 * vc/vc-bzr.el (vc-bzr-print-log):
488 * vc/vc-cvs.el (vc-cvs-print-log):
489 * vc/vc-git.el (vc-git-print-log):
490 * vc/vc-hg.el (vc-hg-print-log):
491 * vc/vc-mtn.el (vc-mtn-print-log):
492 * vc/vc-rcs.el (vc-rcs-print-log):
493 * vc/vc-sccs.el (vc-sccs-print-log):
494 * vc/vc-svn.el (vc-svn-print-log):
495 * vc/vc.el (vc-print-log-internal): Doc fixes.
496
497 2013-04-23 Glenn Morris <rgm@gnu.org>
498
499 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
500 Remove venerable code attempting to avoid substitute-command-keys.
501
502 2013-04-23 Tassilo Horn <tsdh@gnu.org>
503
504 * textmodes/reftex-vars.el (reftex-label-regexps):
505 Call `reftex-compile-variables' after changes to this variable.
506
507 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
508
509 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
510 Use lexical-binding.
511 (jit-lock-force-redisplay): Use markers, check buffer's continued
512 existence and beware narrowed buffers.
513 (jit-lock-fontify-now): Adjust call accordingly.
514
515 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
516
517 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
518 to avoid misleading the user.
519
520 2013-04-22 Leo Liu <sdl.web@gmail.com>
521
522 * info-look.el: Prefer latex2e.info. (Bug#14240)
523
524 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
525
526 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
527
528 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
529 * net/tramp.el (tramp-call-process): ... here
530 (tramp-set-completion-function, tramp-parse-putty):
531 * net/tramp-adb.el (tramp-adb-execute-adb-command):
532 * net/tramp-gvfs.el (tramp-gvfs-send-command):
533 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
534 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
535 (tramp-call-local-coding-command): Use `tramp-call-process'
536 instead of `tramp-compat-call-process'.
537
538 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
539 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
540 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
541 (tramp-find-inline-compress):Improve traces.
542 (tramp-maybe-send-script): Check for Perl binary.
543 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
544
545 2013-04-22 Daiki Ueno <ueno@gnu.org>
546
547 * epg.el (epg-context-pinentry-mode): New function.
548 (epg-context-set-pinentry-mode): New function.
549 (epg--start): Pass --pinentry-mode option to gpg command.
550
551 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
552
553 * comint.el: (comint-dynamic-complete-functions, comint-mode-map):
554 `comint-dynamic-complete' is obsolete since 24.1, replaced by
555 `completion-at-point'. (Bug#13774)
556
557 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
558 default key binding for `describe-distribution' has been moved to
559 `C-h C-o'. (Bug#13970)
560
561 2013-04-21 Glenn Morris <rgm@gnu.org>
562
563 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
564 Add doc strings.
565 (vc-print-log): Clarify interactive prompt.
566
567 2013-04-20 Glenn Morris <rgm@gnu.org>
568
569 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
570 No longer include timestamp etc information.
571
572 2013-04-20 Roland Winkler <winkler@gnu.org>
573
574 * faces.el (read-face-name): Bug fix, return just one face if arg
575 multiple is nil. (Bug#14209)
576
577 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
578
579 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
580 (remove-function): Autoload.
581
582 * comint.el (comint-redirect-original-filter-function): Remove.
583 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
584 * vc/vc-cvs.el (vc-cvs-annotate-process-filter,vc-cvs-annotate-command):
585 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
586 * progmodes/prolog.el (prolog-consult-compile):
587 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
588 Use add/remove-function instead.
589 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
590 (gud-tooltip-process-output, gud-tooltip-tips):
591 Use add/remove-function instead.
592 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
593 (scheme-interaction-mode, exit-scheme-interaction-mode):
594 Use add/remove-function instead.
595
596 * vc/vc-dispatcher.el: Use lexical-binding.
597 (vc--process-sentinel): Rename from vc-process-sentinel.
598 Change last arg to be the code to run. Don't use vc-previous-sentinel
599 and vc-sentinel-commands any more.
600 (vc-exec-after): Allow code to be a function. Use add/remove-function.
601 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
602
603 2013-04-19 Masatake YAMATO <yamato@redhat.com>
604
605 * progmodes/sh-script.el (sh-imenu-generic-expression):
606 Handle function names with a single character. (Bug#14111)
607
608 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
609
610 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
611 for subroutines defined in an eval (bug#14182).
612
613 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
614
615 * bookmark.el (bookmark-completing-read): Improve handling of empty
616 string (bug#14176).
617
618 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
619
620 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
621
622 2013-04-19 FabiĂ¡n Ezequiel Gallina <fgallina@gnu.org>
623
624 New faster Imenu implementation (bug#14058).
625 * progmodes/python.el:
626 (python-imenu-prev-index-position):
627 (python-imenu-format-item-label-function)
628 (python-imenu-format-parent-item-label-function)
629 (python-imenu-format-parent-item-jump-label-function):
630 New vars.
631 (python-imenu-format-item-label)
632 (python-imenu-format-parent-item-label)
633 (python-imenu-format-parent-item-jump-label)
634 (python-imenu--put-parent, python-imenu--build-tree)
635 (python-imenu-create-index, python-imenu-create-flat-index)
636 (python-util-popn): New functions.
637 (python-mode): Set imenu-create-index-function to
638 python-imenu-create-index.
639
640 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
641
642 * winner.el (winner-active-region): Use region-active-p, activate-mark
643 and deactivate-mark (bug#14225).
644
645 * simple.el (deactivate-mark): Don't inline it.
646
647 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
648
649 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
650
651 2013-04-18 Tassilo Horn <tsdh@gnu.org>
652
653 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
654 file extensions from the archive-mode entry in order to prefer
655 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
656
657 2013-04-18 Leo Liu <sdl.web@gmail.com>
658
659 * bindings.el (help-event-list): Add ?\?.
660
661 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
662
663 * subr.el (with-wrapper-hook): Declare obsolete.
664 * simple.el (filter-buffer-substring-function): New hook.
665 (filter-buffer-substring): Use it.
666 (filter-buffer-substring-functions): Mark obsolete.
667 * minibuffer.el (completion-in-region-function): New hook.
668 (completion-in-region): Use it.
669 (completion-in-region-functions): Mark obsolete.
670 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
671 * abbrev.el (abbrev-expand-function): New hook.
672 (expand-abbrev): Use it.
673 (abbrev-expand-functions): Mark obsolete.
674 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
675 and :filter-return.
676
677 2013-04-17 FabiĂ¡n Ezequiel Gallina <fgallina@gnu.org>
678
679 * progmodes/python.el (python-nav--syntactically): Fix cornercases
680 and do not care about match data.
681
682 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
683
684 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
685 completion tables when completing error conditions and
686 `declare' arguments.
687 (lisp-complete-symbol, field-complete): Mark as obsolete.
688 (check-parens): Unmatched parens are user errors.
689 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
690
691 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
692
693 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
694 command changed buffer (ie. `flyspell-pre-buffer' is not current
695 buffer), which prevents making decisions based on invalid value of
696 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
697 cause an error when `flyspell-pre-point' was nil after switching
698 buffers.
699 (flyspell-post-command-hook): No longer needs to change buffers when
700 checking pre-word. While at it remove unnecessary progn.
701
702 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
703
704 * textmodes/ispell.el (ispell-add-per-file-word-list):
705 Fix `flyspell-correct-word-before-point' error when accepting
706 words and `coment-padding' is an integer by using
707 `comment-normalize-vars' (Bug #14214).
708
709 2013-04-17 FabiĂ¡n Ezequiel Gallina <fgallina@gnu.org>
710
711 New defun movement commands.
712 * progmodes/python.el (python-nav--syntactically)
713 (python-nav--forward-defun, python-nav-backward-defun)
714 (python-nav-forward-defun): New functions.
715
716 2013-04-17 FabiĂ¡n Ezequiel Gallina <fgallina@gnu.org>
717
718 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
719 (python-syntax-context): Use named compiler-macro for backwards
720 compatibility with Emacs 24.x.
721
722 2013-04-17 Leo Liu <sdl.web@gmail.com>
723
724 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
725 octave-hide-process-buffer.
726
727 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
728
729 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
730 (bug#14216).
731
732 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
733
734 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
735 Fix adjustment of offset when receiving incomplete responses from GDB
736 (bug#14129).
737
738 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
739
740 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
741 python-mode-abbrev-table.
742 (python-skeleton-define): Adjust accordingly.
743 (python-mode-abbrev-table): New table that inherits from it so that
744 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
745
746 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
747 (abbrev-symbol): Use it.
748 (abbrev--before-point): Use it since we already handle inheritance.
749
750 2013-04-16 Leo Liu <sdl.web@gmail.com>
751
752 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
753 binding to info-lookup-symbol.
754
755 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
756
757 * minibuffer.el (completion--twq-all):
758 * term/ns-win.el (ns-initialize-window-system):
759 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
760
761 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
762
763 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
764 global bindings.
765
766 * doc-view.el (doc-view-start-process): Handle url-handler directories.
767
768 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
769
770 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
771 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
772 to nil.
773 (ruby-end-of-defun): Remove the unused arg, change the docstring
774 to reflect that this function is only used as the value of
775 `end-of-defun-function'.
776 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
777 to reflect an earlier change that beginning/end-of-defun functions
778 jump between methods in a class definition, as well as top-level
779 functions.
780
781 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
782
783 * minibuffer.el (minibuffer-complete): Don't just scroll
784 a *Completions* that's been iconified.
785 (minibuffer-force-complete): Make sure repetitions do cycle when going
786 through completion-in-region -> minibuffer-complete.
787
788 2013-04-15 Alan Mackenzie <acm@muc.de>
789
790 Correct the placement of c-cpp-delimiters when there're #s not at
791 col 0.
792
793 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
794 place a submatch around the #.
795 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
796 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
797 on the #, not BOL.
798
799 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
800
801 * emacs-lisp/nadvice.el: Properly test names when adding advice.
802 (advice--member-p): New arg `name'.
803 (advice--add-function, advice-member-p): Use it (bug#14202).
804
805 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
806
807 Reformulate java imenu-generic-expression.
808 The old expression contained ill formed regexps.
809
810 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
811 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
812 (cc-imenu-java-method-arg-regexp): New defconsts.
813 (cc-imenu-java-build-type-args-regex): New defun.
814 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
815 handling of spaces in the regexp.
816
817 2013-03-15 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
818
819 * textmodes/ispell.el (ispell-command-loop): Remove
820 flyspell highlight of a word when ispell accepts it (bug #14178).
821
822 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
823
824 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
825 uses code from the previous `ange-ftp-run-real-handler'.
826 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
827 only in case that function exist. This is needed for proper
828 unloading of Tramp.
829
830 2013-04-15 Tassilo Horn <tsdh@gnu.org>
831
832 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
833
834 * textmodes/reftex.el (reftex-compile-variables): Use it.
835
836 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
837
838 * files.el (normal-mode): Only use default major-mode if no other mode
839 was specified.
840
841 * emacs-lisp/trace.el (trace-values): New function.
842
843 * files.el: Allow : in local variables (bug#14089).
844 (hack-local-variable-regexp): New var.
845 (hack-local-variables-prop-line, hack-local-variables): Use it.
846
847 2013-04-13 Roland Winkler <winkler@gnu.org>
848
849 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
850 data before it gets modified by bibtex-beginning-of-entry.
851
852 2013-04-13 Roland Winkler <winkler@gnu.org>
853
854 * textmodes/bibtex.el (bibtex-url): Doc fix.
855
856 2013-04-13 Roland Winkler <winkler@gnu.org>
857
858 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
859 does not visit a BibTeX file, exclude it from the list of buffers
860 returned by bibtex-initialize.
861
862 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
863
864 * window.el (split-window): Remove interactive form, since as a
865 command this function is a special case of split-window-below.
866 Correct doc string.
867
868 2013-04-12 Roland Winkler <winkler@gnu.org>
869
870 * faces.el (read-face-name): Do not override value of arg default.
871 Allow single faces and strings as default values. Remove those
872 elements from return value that are not faces.
873 (describe-face): Simplify.
874 (face-at-point): New optional args thing and multiple so that this
875 function can provide the same functionality previously provided by
876 read-face-name.
877 (make-face-bold, make-face-unbold, make-face-italic)
878 (make-face-unitalic, make-face-bold-italic, invert-face)
879 (modify-face, read-face-and-attribute): Use face-at-point.
880
881 * cus-edit.el (customize-face, customize-face-other-window)
882 * cus-theme.el (custom-theme-add-face)
883 * face-remap.el (buffer-face-set)
884 * facemenu.el (facemenu-set-face): Use face-at-point.
885
886 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
887
888 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
889
890 2013-04-10 Tassilo Horn <tsdh@gnu.org>
891
892 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
893 off leading { and trailing } from field values.
894
895 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
896
897 * emacs-lisp/timer.el (timer--check): New function.
898 (timer--time, timer-set-function, timer-event-handler): Use it.
899 (timer-set-idle-time): Simplify.
900 (timer--activate): CSE.
901 (timer-event-handler): Give more info in error message.
902 (internal-timer-start-idle): New function, moved from C.
903
904 * mpc.el (mpc-proc): Add `restart' argument.
905 (mpc-proc-cmd): Use it.
906 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
907 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
908 less often.
909
910 2013-04-10 Masatake YAMATO <yamato@redhat.com>
911
912 * progmodes/sh-script.el: Implement `sh-mode' own
913 `add-log-current-defun-function' (bug#14112).
914 (sh-current-defun-name): New function.
915 (sh-mode): Use the function.
916
917 2013-04-09 Bastien Guerry <bzg@gnu.org>
918
919 * simple.el (choose-completion-string): Fix docstring (bug#14163).
920
921 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
922
923 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
924
925 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
926 timer (bug#14156).
927
928 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
929
930 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
931 declaration.
932
933 2013-04-07 Leo Liu <sdl.web@gmail.com>
934
935 * pcmpl-x.el: New file.
936
937 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
938
939 Do not set x-display-name until X connection is established.
940 This is needed to prevent from weird situation described at
941 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
942 * frame.el (make-frame): Set x-display-name after call to
943 window system initialization function, not before.
944 * term/x-win.el (x-initialize-window-system): Add optional
945 display argument and use it.
946 * term/w32-win.el (w32-initialize-window-system):
947 * term/ns-win.el (ns-initialize-window-system):
948 * term/pc-win.el (msdos-initialize-window-system):
949 Add compatible optional display argument.
950
951 2013-04-06 Eli Zaretskii <eliz@gnu.org>
952
953 * files.el (normal-backup-enable-predicate): On MS-Windows and
954 MS-DOS compare truenames of temporary-file-directory and of the
955 file, so that 8+3 aliases (usually found in $TEMP on Windows)
956 don't fail comparison by compare-strings. Also, compare file
957 names case-insensitively on MS-Windows and MS-DOS.
958
959 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
960
961 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
962 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
963
964 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
965
966 * whitespace.el (whitespace-color-on, whitespace-color-off):
967 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
968
969 2013-04-05 Jacek ChrzÄ…szcz <chrzaszcz@mimuw.edu.pl> (tiny change)
970
971 * ispell.el (ispell-set-spellchecker-params):
972 Really set `ispell-args' for all equivs.
973
974 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
975
976 * ido.el (ido-completions): Use extra elements of ido-decorations
977 (bug#14143).
978 (ido-decorations): Update docstring.
979
980 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
981
982 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
983 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
984 nil during initialization, in order not to miss changes since the
985 file was opened. (Bug#14140)
986
987 2013-04-05 Leo Liu <sdl.web@gmail.com>
988
989 * kmacro.el (kmacro-call-macro): Fix bug#14135.
990
991 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
992
993 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
994
995 2013-04-04 Glenn Morris <rgm@gnu.org>
996
997 * electric.el (electric-pair-inhibit-predicate): Add :version.
998
999 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1000
1001 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
1002 when a package is required several times (bug#14082).
1003
1004 2013-04-04 Roland Winkler <winkler@gnu.org>
1005
1006 * faces.el (read-face-name): Behave as promised by the docstring.
1007 Assume that arg default is a list of faces.
1008 (describe-face): Call read-face-name with list of default faces.
1009
1010 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1011
1012 * bookmark.el: Fix deletion of bookmarks (bug#13972).
1013 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
1014 (bookmark-bmenu-execute-deletions): Only skip first line if it's
1015 the header.
1016 (bookmark-exit-hook-internal): Save even if list is empty.
1017
1018 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
1019
1020 * emacs-lisp/package.el (package-pinned-packages): New var.
1021 (package--add-to-archive-contents): Obey it (bug#14118).
1022
1023 2013-04-03 Alan Mackenzie <acm@muc.de>
1024
1025 Handle `parse-partial-sexp' landing inside a comment opener
1026 (Bug#13244). Also adapt to the new values of element 7 of a parse
1027 state.
1028
1029 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
1030 parameter `not-in-delimiter'. Handle being inside comment opener.
1031 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
1032 character in case we're typing a '*' after a '/'.
1033 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
1034 instead by passing the parameter to c-state-pp-to-literal.
1035
1036 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
1037 for elt. 7 of a parse state.
1038
1039 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
1040
1041 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
1042 * international/latin1-disp.el, international/mule-util.el:
1043 * language/cyril-util.el, language/european.el, language/ind-util.el:
1044 * language/lao-util.el, language/thai.el, language/tibet-util.el:
1045 * language/tibetan.el, language/viet-util.el:
1046 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
1047
1048 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
1049
1050 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
1051 (electric-pair-post-self-insert-function): Use it.
1052 (electric-pair-default-inhibit): New function, extracted from
1053 electric-pair-post-self-insert-function.
1054
1055 2013-03-31 Roland Winkler <winkler@gnu.org>
1056
1057 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
1058
1059 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
1060
1061 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
1062
1063 2013-03-30 FabiĂ¡n Ezequiel Gallina <fabian@anue.biz>
1064
1065 Un-indent after "pass" and "return" statements (Bug#13888)
1066 * progmodes/python.el (python-indent-block-enders): New var.
1067 (python-indent-calculate-indentation): Use it.
1068
1069 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
1070
1071 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
1072 defun. Defining it as defalias could introduce too eager
1073 byte-compiler optimization. (Bug#14030)
1074
1075 2013-03-30 Chong Yidong <cyd@gnu.org>
1076
1077 * iswitchb.el (iswitchb-read-buffer): Fix typo.
1078
1079 2013-03-30 Leo Liu <sdl.web@gmail.com>
1080
1081 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
1082 (kmacro-execute-from-register): Pass the keyboard macro to
1083 kmacro-call-macro or repeating won't work correctly.
1084
1085 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
1086
1087 * progmodes/subword.el: Back to using `forward-symbol'.
1088
1089 * subr.el (forward-whitespace, forward-symbol)
1090 (forward-same-syntax): Move from thingatpt.el.
1091
1092 2013-03-29 Leo Liu <sdl.web@gmail.com>
1093
1094 * kmacro.el (kmacro-to-register): New command.
1095 (kmacro-execute-from-register): New function.
1096 (kmacro-keymap): Bind to 'x'. (Bug#14071)
1097
1098 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
1099
1100 * mpc.el: Use defvar-local and setq-local.
1101 (mpc--proc-connect): Connection failures are not bugs.
1102 (mpc-mode-map): `follow-link' only applies to the buffer's content.
1103 (mpc-volume-map): Bind to the up-events.
1104
1105 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
1106
1107 * progmodes/subword.el (superword-mode): Use `forward-sexp'
1108 instead of `forward-symbol'.
1109
1110 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
1111
1112 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
1113 (edebug--recursive-edit): Use it.
1114 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
1115 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
1116
1117 2013-03-28 Leo Liu <sdl.web@gmail.com>
1118
1119 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
1120
1121 2013-03-27 Eli Zaretskii <eliz@gnu.org>
1122
1123 * facemenu.el (list-colors-callback): New defvar.
1124 (list-colors-redisplay): New function.
1125 (list-colors-display): Install list-colors-redisplay as the
1126 revert-buffer-function. (Bug#14063)
1127
1128 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
1129
1130 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
1131 and suffixes don't overlap (bug#14061).
1132
1133 * case-table.el: Use lexical-binding.
1134 (case-table-get-table): New function.
1135 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
1136
1137 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
1138
1139 * progmodes/subword.el: Add `superword-mode' to do word motion
1140 over symbol_words (parallels and leverages `subword-mode' which
1141 does word motion inside MixedCaseWords).
1142
1143 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
1144
1145 * eshell/em-unix.el: Move su and sudo to...
1146 * eshell/em-tramp.el: ...Eshell tramp module.
1147
1148 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
1149
1150 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
1151 Change return value to be a sexp. Delay `get-buffer' to after
1152 restoring the desktop (bug#13951).
1153
1154 2013-03-26 Leo Liu <sdl.web@gmail.com>
1155
1156 * register.el: Move semantic tag handling back to
1157 cedet/semantic/senator.el. (Bug#14052)
1158
1159 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
1160
1161 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
1162 into the prompt either (bug#13963).
1163
1164 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
1165
1166 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
1167 part of "(error-foo)".
1168
1169 2013-03-24 Juri Linkov <juri@jurta.org>
1170
1171 * replace.el (list-matching-lines-prefix-face): New defcustom.
1172 (occur-1): Pass `list-matching-lines-prefix-face' to the function
1173 `occur-engine' if `face-differs-from-default-p' returns t.
1174 (occur-engine): Add `,' inside backquote construct to evaluate
1175 `prefix-face'. Propertize the prefix with the `prefix-face' face.
1176 Pass `prefix-face' to the functions `occur-context-lines' and
1177 `occur-engine-add-prefix'.
1178 (occur-engine-add-prefix, occur-context-lines): Add optional arg
1179 `prefix-face' and propertize the prefix with `prefix-face'.
1180 (Bug#14017)
1181
1182 2013-03-24 Leo Liu <sdl.web@gmail.com>
1183
1184 * nxml/rng-valid.el (rng-validate-while-idle)
1185 (rng-validate-quick-while-idle): Guard against deleted buffer.
1186 (Bug#13999)
1187
1188 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
1189 is the last entry in kill-buffer-hook.
1190
1191 * files.el (kill-buffer-hook): Doc fix.
1192
1193 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
1194
1195 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
1196 Make it safe-local.
1197
1198 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
1199
1200 2013-03-23 Leo Liu <sdl.web@gmail.com>
1201
1202 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
1203 Remove.
1204
1205 * nxml/rng-valid.el (rng-validate-mode)
1206 (rng-after-change-function, rng-do-some-validation):
1207 * nxml/rng-maint.el (rng-validate-buffer):
1208 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
1209 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
1210 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
1211 (nxml-extend-after-change-region): Use with-silent-modifications.
1212
1213 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
1214 timer-idle-list.
1215
1216 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
1217 (rng-next-error-1, rng-previous-error-1): Do not let-bind
1218 timer-idle-list. (Bug#13999)
1219
1220 2013-03-23 Juri Linkov <juri@jurta.org>
1221
1222 * info.el (info-index-match): New face.
1223 (Info-index, Info-apropos-matches): Add a nested subgroup to the
1224 main pattern and add text properties with the new face to matches
1225 in index entries relative to the beginning of the index entry.
1226 (Bug#14015)
1227
1228 2013-03-21 Eric Ludlam <zappo@gnu.org>
1229
1230 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
1231 Inhibit read only while inserting objects.
1232
1233 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
1234
1235 * progmodes/cfengine.el: Update docs to mention
1236 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
1237 symbol motion. Remove "_" from the word syntax.
1238
1239 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
1240
1241 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
1242 syntax for both `cfengine2-mode' and `cfengine3-mode'.
1243
1244 2013-03-20 Juri Linkov <juri@jurta.org>
1245
1246 * info.el (Info-next-reference-or-link)
1247 (Info-prev-reference-or-link): New functions.
1248 (Info-next-reference, Info-prev-reference): Use them.
1249 (Info-try-follow-nearest-node): Handle footnote navigation.
1250 (Info-fontify-node): Fontify footnotes. (Bug#13989)
1251
1252 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
1253
1254 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
1255 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
1256
1257 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
1258
1259 Suppress unnecessary non-ASCII chatter during build process.
1260 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
1261 (batch-skkdic-convert): Suppress most of the chatter.
1262 It's not needed so much now that machines are faster,
1263 and its non-ASCII component was confusing; see Dmitry Gutov in
1264 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
1265
1266 2013-03-20 Leo Liu <sdl.web@gmail.com>
1267
1268 * ido.el (ido-chop): Fix bug#10994.
1269
1270 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
1271
1272 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
1273 Remove vars.
1274 (whitespace-color-on, whitespace-color-off):
1275 Use `font-lock-fontify-buffer' (Bug#13817).
1276
1277 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
1278
1279 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
1280 remapping in mode-line.
1281 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
1282
1283 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
1284
1285 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
1286 value for `whitespace-line' face (Bug#13875).
1287 (whitespace-font-lock-keywords): Change description.
1288 (whitespace-color-on): Don't save `font-lock-keywords' value, save
1289 the constructed keywords instead.
1290 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
1291
1292 2013-03-19 Leo Liu <sdl.web@gmail.com>
1293
1294 * progmodes/compile.el (compilation-display-error): New command.
1295 (compilation-mode-map, compilation-minor-mode-map): Bind it to
1296 C-o. (Bug#13992)
1297
1298 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
1299
1300 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
1301
1302 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
1303
1304 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
1305
1306 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
1307
1308 * net/tramp-compat.el (tramp-compat-user-error): New defun.
1309
1310 * net/tramp-adb.el (tramp-adb-handle-shell-command):
1311 * net/tramp-gvfs.el (top):
1312 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
1313 (tramp-handle-shell-command): Use it.
1314 (tramp-dissect-file-name): Raise an error when hostname is a
1315 method name, and neither method nor user is specified.
1316
1317 * net/trampver.el: Update release number.
1318
1319 2013-03-18 Leo Liu <sdl.web@gmail.com>
1320
1321 Make sure eldoc can be turned off properly.
1322 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
1323 eldoc-mode.
1324 (eldoc-display-message-p): Revert last change.
1325 (eldoc-display-message-no-interference-p)
1326 (eldoc-print-current-symbol-info): Tweak.
1327
1328 2013-03-18 Tassilo Horn <tsdh@gnu.org>
1329
1330 * doc-view.el (doc-view-new-window-function): Check the new window
1331 overlay's display property instead the char property of the
1332 buffer's first char. Use `with-selected-window' instead of
1333 `save-window-excursion' with `select-window'.
1334 (doc-view-document->bitmap): Check the current doc-view overlay's
1335 display property instead the char property of the buffer's first char.
1336
1337 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
1338
1339 Automate the build of ja-dic.el (Bug#13984).
1340 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
1341 from the input, rather than assume that it's been done for us by the
1342 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
1343 the current date into a ja-dic.el comment, as that complicates
1344 regression testing.
1345
1346 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1347
1348 * whitespace.el: Fix double evaluation.
1349 (whitespace-space, whitespace-hspace, whitespace-tab)
1350 (whitespace-newline, whitespace-trailing, whitespace-line)
1351 (whitespace-space-before-tab, whitespace-indentation)
1352 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
1353 obsolete defvars.
1354 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
1355 (whitespace-color-on): Use a single font-lock-add-keywords call.
1356 Fix double-evaluation of face variables.
1357
1358 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
1359
1360 * net/tramp-adb.el (tramp-adb-parse-device-names):
1361 Use `start-process' instead of `call-process'. Otherwise, the
1362 function might be blocked under MS Windows. (Bug#13299)
1363
1364 2013-03-17 Leo Liu <sdl.web@gmail.com>
1365
1366 Extend eldoc to display info in the mode-line. (Bug#13978)
1367 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
1368 (eldoc-mode-line-string): New variable.
1369 (eldoc-minibuffer-message): New function.
1370 (eldoc-message-function): New variable.
1371 (eldoc-message): Use it.
1372 (eldoc-display-message-p)
1373 (eldoc-display-message-no-interference-p):
1374 Support eldoc-post-insert-mode.
1375
1376 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
1377 (eval-expression): Run it.
1378
1379 2013-03-17 Roland Winkler <winkler@gnu.org>
1380
1381 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
1382 strings in the list of return values.
1383
1384 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
1385
1386 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
1387 radix before checking for HMS forms.
1388
1389 2013-03-16 Leo Liu <sdl.web@gmail.com>
1390
1391 * progmodes/scheme.el: Add indentation and font-locking for λ.
1392 (Bug#13975)
1393
1394 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
1395
1396 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
1397 token before point (bug#13942).
1398
1399 2013-03-16 Leo Liu <sdl.web@gmail.com>
1400
1401 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
1402
1403 2013-03-16 Eli Zaretskii <eliz@gnu.org>
1404
1405 * startup.el (command-line-normalize-file-name): Fix handling of
1406 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
1407 <xfq.free@gmail.com> in
1408 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
1409
1410 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
1411
1412 Sync with Tramp 2.2.7.
1413
1414 * net/trampver.el: Update release number.
1415
1416 2013-03-14 Tassilo Horn <tsdh@gnu.org>
1417
1418 * doc-view.el Fix bug#13887.
1419 (doc-view-insert-image): Don't modify overlay associated to
1420 non-live windows, and implement horizontal centering of image in
1421 case it's smaller than the window.
1422 (doc-view-new-window-function): Force redisplay of new windows on
1423 doc-view buffers.
1424
1425 2013-03-13 Karl Fogel <kfogel@red-bean.com>
1426
1427 * saveplace.el (save-place-alist-to-file): Don't sort
1428 `save-place-alist', just pretty-print it (bug#13882).
1429
1430 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
1431
1432 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Check,
1433 whether `default-file-name-coding-system' is bound. It isn't in
1434 XEmacs.
1435
1436 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
1437
1438 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
1439 backquotes for `obsolete' (bug#13929).
1440
1441 * international/mule.el (find-auto-coding): Include file name in
1442 obsolescence warning (bug#13922).
1443
1444 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
1445
1446 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
1447 for CFEngine 3-specific indentation.
1448 (cfengine3-indent-line): Use it. Fix up category regex.
1449 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
1450
1451 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1452
1453 * type-break.el (type-break-file-name):
1454 * textmodes/remember.el (remember-data-file):
1455 * strokes.el (strokes-file):
1456 * shadowfile.el (shadow-initialize):
1457 * saveplace.el (save-place-file):
1458 * ps-bdf.el (bdf-cache-file):
1459 * progmodes/idlwave.el (idlwave-config-directory):
1460 * net/quickurl.el (quickurl-url-file):
1461 * international/kkc.el (kkc-init-file-name):
1462 * ido.el (ido-save-directory-list-file):
1463 * emulation/viper.el (viper-custom-file-name):
1464 * emulation/vip.el (vip-startup-file):
1465 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
1466 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
1467
1468 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
1469
1470 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
1471 * language/thai-word.el: Switch to UTF-8.
1472
1473 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
1474
1475 * recentf.el (recentf-save-file): Use locate-user-emacs-file (bug#13870).
1476
1477 2013-03-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1478
1479 * net/net-utils.el (net-utils-remove-ctrl-m-filter):
1480 Use with-current-buffer and don't move point.
1481 (net-utils-run-simple): Remove useless code.
1482 (net-utils-remove-ctl-m): Remove unused custom.
1483
1484 2013-03-11 Per Starbäck <starback@stp.lingfil.uu.se>
1485
1486 * international/characters.el (glyphless-set-char-table-range): New fun.
1487 (update-glyphless-char-display): Use it (bug#13744).
1488
1489 2013-03-11 Teodor Zlatanov <tzz@lifelogs.com>
1490
1491 * progmodes/cfengine.el: Update for CFEngine 3.4.2 and higher:
1492 namespaces in the syntax, indent closer for hanging brace
1493 correctly, allow single-quote delimited 'strings', and make
1494 `cfengine3-mode' the default.
1495
1496 2013-03-11 Jean-Philippe Gravel <jpgravel@gmail.com>
1497
1498 * progmodes/gdb-mi.el: Speed up initialization (bug#10580).
1499 Use lexical-binding. Fix up docstring according to conventions.
1500 (gdbmi-debug-mode): New var.
1501 (gdbmi-start-with, gdbmi-same-start, gdbmi-is-number, gdbmi-bnf-init)
1502 (gdbmi-bnf-output, gdbmi-bnf-skip-unrecognized, gdbmi-bnf-gdb-prompt)
1503 (gdbmi-bnf-result-record, gdbmi-bnf-out-of-band-record)
1504 (gdbmi-bnf-async-record, gdbmi-bnf-stream-record)
1505 (gdbmi-bnf-console-stream-output, gdbmi-bnf-target-stream-output)
1506 (gdbmi-bnf-log-stream-output, gdbmi-bnf-result-and-async-record-impl)
1507 (gdbmi-bnf-incomplete-record-result): New functions.
1508 (gdb-car<): Remove function.
1509 (gdbmi-record-list): Remove variable.
1510 (gdbmi-bnf-state, gdbmi-bnf-offset): New vars.
1511 (gdbmi-bnf-result-state-configs): New const.
1512 (gud-gdbmi-marker-filter): Rewrite.
1513 (gdb-ignored-notification, gdb-thread-created, gdb-thread-exited)
1514 (gdb-thread-selected, gdb-running, gdb-starting, gdb-stopped):
1515 Add `token' argument.
1516 (gdb-done, gdb-error): New functions.
1517 (gdb-done-or-error): Add `is-complete' argument. Change arg order.
1518
1519 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
1520
1521 * term/xterm.el (xterm--report-background-handler): Don't burp
1522 upon timeout.
1523 (xterm--version-handler): Extract from terminal-init-xterm.
1524 (xterm--query): Don't mishandle timeout. Remove debugging messages.
1525 Allow multiple handlers.
1526 (terminal-init-xterm): Handle OSX's Terminal.app's incorrect answer.
1527
1528 * term/xterm.el: Don't discard input (bug#6758). Use lexical-binding.
1529 (xterm--report-background-handler, xterm--query): New functions.
1530 (terminal-init-xterm): Use them.
1531
1532 2013-03-11 Michael R. Mauger <michael@mauger.com>
1533
1534 * progmodes/sql.el Version 3.2
1535 Please note that my address changed to <michael@mauger.com>;
1536 the <mmaug@yahoo.com> address remains active.
1537 (sql-connection-alist): Updates documentation to fix bug#13715.
1538 (sql-connect): Handle missing `sql-connection-alist' correctly.
1539 (sql-mode-oracle-font-lock-keywords): Add missing keywords.
1540 (sql-magic-go, sql-magic-semicolon): Mark with `delete-selection'
1541 property.
1542 (sql-default-value): New function.
1543 (sql-get-login-ext, sql-get-login): Fixes bug where buffer-local
1544 values were not used.
1545 (sql-rename-buffer): Make sure alternate buffer name has no text
1546 properties.
1547 (sql-input-sender, sql-execute-feature): Fetch variable with
1548 `buffer-local-value' rather than `with-current-buffer'.
1549 (sql-*): Use #' function syntax consistently.
1550 (sql-*): Use message/error/user-error consistently.
1551
1552 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
1553
1554 * xt-mouse.el (xterm-mouse-event-read): Remove.
1555 (xterm-mouse--read-event-sequence-1000)
1556 (xterm-mouse--read-event-sequence-1006): Use read-event instead.
1557
1558 2013-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
1559
1560 * term/xterm.el (xterm-function-map): Support format used with
1561 formatOtherKeys=1 (bug#13839).
1562
1563 * emacs-lisp/byte-run.el (dont-compile): Declare obsolete.
1564 (with-no-warnings): Use `declare'.
1565
1566 * whitespace.el (whitespace-enable-predicate): New variable.
1567 (whitespace-enable-predicate): Use it.
1568
1569 * comint.el (comint-send-input, comint-snapshot-last-prompt)
1570 (comint-output-filter, comint-update-fence):
1571 Use with-silent-modifications.
1572
1573 2013-03-10 Jambunathan K <kjambunathan@gmail.com>
1574
1575 * replace.el (occur-read-regexp-defaults-function): New var.
1576 (occur-read-regexp-defaults): New defun.
1577 (occur-read-primary-args): Propagate above change (bug#13892).
1578
1579 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
1580
1581 * mouse.el (mouse-drag-track): Remove left-over debugging code.
1582
1583 2013-03-09 Michael Albinus <michael.albinus@gmx.de>
1584
1585 Major rewrite due to changed D-Bus interface of GVFS 1.14.
1586
1587 * net/tramp-gvfs.el (top): Extend check for gvfs availability.
1588 (tramp-gvfs-methods-mounttracker, tramp-gvfs-listmounts)
1589 (tramp-gvfs-mountlocation, tramp-gvfs-mountlocation-signature):
1590 New defconst.
1591 (tramp-gvfs-file-name-handler-alist) [directory-files]
1592 [directory-files-and-attributes, file-exists-p, file-modes]:
1593 Use Tramp default handler.
1594 [file-acl, file-selinux-context, process-file, set-file-acl]:
1595 [set-file-modes, set-file-selinux-context, shell-command]:
1596 [start-file-process]: Remove handler.
1597 [verify-visited-file-modtime]: New handler.
1598 (tramp-gvfs-dbus-string-to-byte-array)
1599 (tramp-gvfs-dbus-byte-array-to-string): New defuns. Replace all
1600 calls of `dbus-string-to-byte-array' and
1601 `tramp-gvfs-dbus-byte-array-to-string'.
1602 (tramp-gvfs-handle-copy-file)
1603 (tramp-gvfs-handle-delete-directory)
1604 (tramp-gvfs-handle-delete-file, tramp-gvfs-handle-file-attributes)
1605 (tramp-gvfs-handle-file-directory-p)
1606 (tramp-gvfs-handle-file-executable-p)
1607 (tramp-gvfs-handle-file-name-all-completions)
1608 (tramp-gvfs-handle-file-readable-p)
1609 (tramp-gvfs-handle-file-writable-p)
1610 (tramp-gvfs-handle-insert-directory)
1611 (tramp-gvfs-handle-insert-file-contents)
1612 (tramp-gvfs-handle-make-directory, tramp-gvfs-handle-rename-file)
1613 (tramp-gvfs-handle-set-visited-file-modtime)
1614 (tramp-gvfs-handle-write-region): Rewrite.
1615 (tramp-gvfs-handle-file-acl)
1616 (tramp-gvfs-handle-file-selinux-context)
1617 (tramp-gvfs-handle-process-file, tramp-gvfs-handle-set-file-acl)
1618 (tramp-gvfs-handle-set-file-modes)
1619 (tramp-gvfs-handle-set-file-selinux-context)
1620 (tramp-gvfs-handle-shell-command)
1621 (tramp-gvfs-handle-start-file-process)
1622 (tramp-gvfs-handle-verify-visited-file-modtime): Remove defuns.
1623 (tramp-gvfs-url-file-name): Do not use `file-truename', we work
1624 over the symlinks. Fix user handling.
1625 (top, tramp-gvfs-handler-mounted-unmounted): Handle different names
1626 of the D-Bus signals.
1627 (tramp-gvfs-connection-mounted-p): Handle different names of the
1628 D-Bus methods.
1629 (tramp-gvfs-mount-spec-entry): New defun.
1630 (tramp-gvfs-mount-spec): Use it.
1631 (tramp-gvfs-maybe-open-connection): Check, that in case of "smb"
1632 there is a share name. Handle different names of the D-Bus
1633 signals and methods. Set connection properties needed for
1634 `tramp-check-cached-permissions'.
1635 (tramp-gvfs-send-command): Apply `tramp-gvfs-maybe-open-connection'.
1636 Return t or nil.
1637
1638 * net/tramp.el (tramp-backtrace): Move up.
1639 (tramp-error): Dump a backtrace into the debug buffer when
1640 `tramp-verbose > 9.
1641 (tramp-file-mode-type-map, tramp-file-mode-from-int)
1642 (tramp-file-mode-permissions, tramp-get-local-uid)
1643 (tramp-get-local-gid, tramp-check-cached-permissions): Move from
1644 tramp-sh.el.
1645
1646 * net/tramp-sh.el (tramp-file-mode-type-map)
1647 (tramp-check-cached-permissions, tramp-file-mode-from-int)
1648 (tramp-file-mode-permissions, tramp-get-local-uid)
1649 (tramp-get-local-gid): Move to tramp.el.
1650
1651 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
1652
1653 Separate mouse-1-click-follows-link from mouse-drag-region.
1654 * mouse.el (mouse--down-1-maybe-follows-link): New function.
1655 (key-translation-map): Use it to implement mouse-1-click-follows-link.
1656 (mouse-drag-line, mouse-drag-track):
1657 Remove mouse-1-click-follows-link code.
1658 (mouse--remap-link-click-p): Remove.
1659
1660 2013-03-08 Jambunathan K <kjambunathan@gmail.com>
1661
1662 * hi-lock.el (hi-lock-read-regexp-defaults-function): New var.
1663 (hi-lock-read-regexp-defaults): New defun.
1664 (hi-lock-line-face-buffer, hi-lock-face-buffer)
1665 (hi-lock-face-phrase-buffer): Propagate above change.
1666 Update docstring (bug#13892).
1667
1668 * subr.el (find-tag-default-as-regexp): New defun.
1669 * replace.el (read-regexp): Propagate above change.
1670
1671 2013-03-08 Jay Belanger <jay.p.belanger@gmail.com>
1672
1673 * calc/calc-units.el (calc-convert-units): Fix the way that default
1674 new units are stored.
1675
1676 2013-03-07 Matthias Meulien <orontee@gmail.com>
1677
1678 * bookmark.el: Define a face to highlight bookmark names in
1679 bookmark menu buffers, where the default is a bold face similarly
1680 to buffer names in buffer menu buffers.
1681 (bookmark-menu-bookmark): New face to highlight bookmark names.
1682 (bookmark-insert-location): Remove duplicated text property to
1683 conform to buffer list (see `list-buffers').
1684 (bookmark-bmenu-list, bookmark-bmenu-hide-filenames): Apply face
1685 `bookmark-menu-bookmark' to bookmark names.
1686
1687 2013-03-07 Matthias Meulien <orontee@gmail.com>
1688 Karl Fogel <kfogel@red-bean.com>
1689
1690 * bookmark.el: Display the bookmark list header similarly to the
1691 buffer list header (see `list-buffers'), where the default is now
1692 an immovable/immutable header line.
1693 (bookmark-bmenu-use-header-line): New variable.
1694 (bookmark-bmenu-inline-header-height): New name for
1695 `bookmark-bmenu-header-height', to avoid confusion with the code
1696 for the new immovable header. All references changed.
1697 (bookmark-bmenu-set-header): New function.
1698 (bookmark-bmenu-list, bookmark-bmenu-toggle-filenames):
1699 Conditionalize header construction accordingly.
1700 (bookmark-bmenu-ensure-position): Conditionalize the skipping of
1701 the inline header height.
1702 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
1703 Conditionalize the skipping of the inline header height.
1704
1705 2013-03-07 Dmitry Gutov <dgutov@yandex.ru>
1706
1707 * progmodes/js.el (js--multi-line-declaration-indentation):
1708 Merge from js2-mode (https://github.com/mooz/js2-mode/issues/89).
1709
1710 2013-03-06 Dmitry Gutov <dgutov@yandex.ru>
1711
1712 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1713 Only propertize regexp when not inside a string (Bug#13885).
1714
1715 2013-03-06 Alan Mackenzie <acm@muc.de>
1716
1717 Correct the position of point in some line-up functions.
1718 * progmodes/cc-align.el (c-lineup-whitesmith-in-block)
1719 (c-lineup-assignments, c-lineup-gcc-asm-reg ): take position of
1720 point at column 0 rather than at a random place in the line.
1721
1722 2013-03-05 Michael Albinus <michael.albinus@gmx.de>
1723
1724 * net/tramp-compat.el (tramp-compat-delete-directory):
1725 Implement TRASH argument.
1726
1727 2013-03-05 Dmitry Gutov <dgutov@yandex.ru>
1728
1729 Keep pre-existing highlighting in completion candidates (Bug#13250).
1730 * minibuffer.el (completions-first-difference): State that the
1731 face is "added" in the docstring.
1732 (completions-common-part): Same. And don't inherit from default.
1733 (completion-hilit-commonality): Prepend 'completions-common-part
1734 and 'completion-first-difference faces to the 'face property,
1735 instead of replacing the value(s).
1736 (completion--insert-strings): Same with 'completions-annotations face.
1737 (completion-hilit-commonality): Use 'face instead of
1738 'font-lock-face, because it gets priority if the completion
1739 strings already have 'face set.
1740
1741 2013-03-04 Alan Mackenzie <acm@muc.de>
1742
1743 Replace `last-command-event' by `last-command-char' in XEmacs.
1744 * progmodes/cc-defs.el (c-last-command-char): New macro.
1745 * progmodes/cc-align.el (c-semi&comma-inside-parenlist)
1746 (c-semi&comma-no-newlines-before-nonblanks)
1747 (c-semi&comma-no-newlines-for-oneline-inliners): Use the new macro
1748 in place of `last-command-event'.
1749 * progmodes/cc-cmds.el (c-electric-pound, c-electric-brace)
1750 (c-electric-slash, c-electric-semi&comma, c-electric-lt-gt)
1751 (c-electric-paren, c-electric-continued-statement): Use the new
1752 macro in place of `last-command-event'.
1753
1754 2013-03-04 Glenn Morris <rgm@gnu.org>
1755
1756 * files.el (inhibit-local-variables-regexps):
1757 Add .diff and .patch. (Bug#13862)
1758
1759 2013-03-03 Michael Albinus <michael.albinus@gmx.de>
1760
1761 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Cache,
1762 whether the "su" command is available on the device.
1763
1764 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
1765
1766 * net/tramp-adb.el (tramp-adb-prompt): Extend regexp.
1767 (tramp-adb-handle-process-file): Remove superfluous setting.
1768 (tramp-adb-command-exit-status): Handle case that COMMAND is nil.
1769 (tramp-adb-barf-unless-okay): Use `tramp-adb-command-exit-status'.
1770 (tramp-adb-maybe-open-connection): Apply "su" if user is defined.
1771
1772 2013-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
1773
1774 * textmodes/ispell.el: Fix nitpicks and byte-compiler warnings.
1775 (ispell-print-if-debug): Build `format' in. Avoid end-of-buffer.
1776 (ispell-parse-hunspell-affix-file): Avoid beginning-of-buffer.
1777 Use dict-key rather than dict-name for the error message.
1778
1779 2013-03-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1780
1781 * net/net-utils.el (net-utils-run-simple): Don't display-buffer
1782 when reverting (bug#13831).
1783
1784 2013-03-01 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
1785
1786 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
1787 Always expand affix-file before storing to protect against changed
1788 `default-directory'.
1789 (ispell-print-if-debug): Make sure message is printed at the end
1790 of the debug buffer.
1791
1792 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
1793
1794 * net/tramp.el (tramp-obsolete-methods): New defconst.
1795 (tramp-warned-obsolete-methods): New defvar.
1796 (tramp-find-method): Check for obsolete methods. Map them to a
1797 replacement method if appropriate.
1798
1799 * net/tramp-sh.el (tramp-methods) [scp1, scp2, ssh1, ssh2, plink1]:
1800 Remove methods.
1801 (top): Remove completion functions for "scp1", "scp2", "ssh1",
1802 "ssh2" and "plink1".
1803
1804 2013-02-28 Dale Sedivec <dale@codefu.org>
1805
1806 * textmodes/sgml-mode.el (sgml-syntax-propertize-function):
1807 Return valid syntax-table property value when converting
1808 quotes within text from string syntax to punctuation syntax (bug#13844).
1809
1810 2013-02-28 Juri Linkov <juri@jurta.org>
1811
1812 * dired-aux.el (dired-diff): If file at point is a backup file,
1813 use its original as the default value, and reverse the order
1814 of arguments to the `diff' call. Doc fix. (Bug#13772)
1815
1816 2013-02-28 Michael Albinus <michael.albinus@gmx.de>
1817
1818 * net/tramp-adb.el (tramp-adb-sdk-dir): Remove. Replaced by ...
1819 (tramp-adb-program): New defcustom. Remove function. Adapt calls.
1820
1821 2013-02-28 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
1822
1823 Initial support for hunspell dictionaries auto-detection (Bug#13639)
1824
1825 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
1826 Ask hunspell about available and default dictionaries.
1827 (ispell-parse-hunspell-affix-file): Extract relevant info from
1828 hunspell affix file.
1829 (ispell-hunspell-fill-dictionary-entry): Fill non-initialized
1830 `ispell-dictionary-alist' entry for given dictionary after info
1831 provided by `ispell-parse-hunspell-affix-file'.
1832 (ispell-hunspell-dict-paths-alist): New defvar to contain an alist
1833 of parsed hunspell dicts and associated affix files.
1834 (ispell-hunspell-dictionary-alist): New defvar to contain an alist
1835 of parsed hunspell dicts and associated parameters.
1836 (ispell-set-spellchecker-params):
1837 Call `ispell-find-hunspell-dictionaries' if hunspell and not
1838 previously done.
1839 (ispell-start-process):
1840 Call `ispell-hunspell-fill-dictionary-entry' for current
1841 dictionary if it is not initialized.
1842
1843 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
1844
1845 * imenu.el: Comment nitpicks.
1846
1847 2013-02-28 Sam Steingold <sds@gnu.org>
1848
1849 * vc/diff-mode.el (diff-hunk-file-names): Handle filenames with spaces.
1850 See <http://stackoverflow.com/questions/14720205>.
1851
1852 2013-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1853
1854 * net/net-utils.el (net-utils--revert-function): New fun (bug#13831).
1855 (net-utils-mode): Use it.
1856 (net-utils--revert-cmd): New var.
1857 (net-utils-run-simple): Set it, and remove bogus interactive spec.
1858 (traceroute): Use net-utils-run-simple.
1859
1860 2013-02-28 Glenn Morris <rgm@gnu.org>
1861
1862 * textmodes/paragraphs.el (mark-paragraph): Doc fix.
1863
1864 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
1865
1866 * doc-view.el: Preserve h&v scroll across C-c C-c C-c C-c.
1867 (doc-view-fallback-mode): Remove overlays here.
1868 (doc-view-toggle-display): Instead of here. Don't throw away
1869 image-mode-winprops-alist.
1870 (doc-view-goto-page): Don't mess with hscroll.
1871
1872 2013-02-27 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1873
1874 * font-lock.el (lisp-font-lock-keywords-2): Fix highlighting of
1875 &optional (bug#13819).
1876
1877 2013-02-27 Michael Albinus <michael.albinus@gmx.de>
1878
1879 * net/tramp-adb.el (tramp-adb-parse-device-names)
1880 (tramp-adb-maybe-open-connection): Add timeouts. (Bug#13299)
1881
1882 2013-02-26 Michael Albinus <michael.albinus@gmx.de>
1883
1884 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1885 Add "2>/dev/null" to the ls command, in case "en_US.utf8" is not
1886 defined. POSIX environments fall back to the "C" locale then and
1887 emit a warning, which shall be suppressed.
1888
1889 2013-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
1890
1891 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Tweak logic.
1892 (easy-mmode-set-keymap-parents): Use make-composed-keymap.
1893
1894 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
1895
1896 * emacs-lisp/bytecomp.el (byte-compile-file): Use let.
1897
1898 2013-02-25 Juri Linkov <juri@jurta.org>
1899
1900 * replace.el (read-regexp): Let-bind `default' to the first
1901 element of `defaults' if it's a list, otherwise it should be
1902 a string or nil. Let-bind `suggestions' to `defaults' if it's
1903 a list, otherwise make a list with the string value. Doc fix.
1904 (Bug#13805)
1905
1906 2013-02-25 Eli Zaretskii <eliz@gnu.org>
1907
1908 * emacs-lisp/bytecomp.el (byte-recompile-directory): Reject files
1909 that match "\`\.#", to avoid compiling lock files, even if they
1910 are readable (as they are on MS-Windows).
1911
1912 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
1913
1914 * files.el (basic-save-buffer): Remove redundant directory-creation.
1915
1916 2013-02-24 Jay Belanger <jay.p.belanger@gmail.com>
1917
1918 * calc/calc-ext.el (math-to-radians-2, math-from-radians-2):
1919 Add option to force `pi' to remain symbolic.
1920 * calc/calcalg2.el (calcFunc-sin, calcFunc-cos, calcFunc-tan)
1921 (calcFunc-cot, calcFunc-csc, calcFunc-sec, calcFunc-arcsin)
1922 (calcFunc-arccos, calcFunc-arctan): Use symbolic `pi' in the
1923 derivatives, when necessary.
1924
1925 2013-02-23 Peter Kleiweg <p.c.j.kleiweg@rug.nl>
1926
1927 * progmodes/ps-mode.el (ps-mode-version): Bump to 1.1i.
1928 (ps-mode-octal-region): Use string-make-unibyte.
1929
1930 2013-02-23 Glenn Morris <rgm@gnu.org>
1931
1932 * emulation/viper-cmd.el (viper-submit-report):
1933 * progmodes/ps-mode.el (ps-mode-maintainer-address):
1934 * progmodes/vera-mode.el (vera-mode-help-address):
1935 * textmodes/artist.el (artist-maintainer-address):
1936 * textmodes/reftex.el (reftex-report-bug):
1937 * vc/ediff-util.el (ediff-submit-report):
1938 Add bug-gnu-emacs to bug report address.
1939
1940 * progmodes/simula.el (simula-mode-menu, simula-mode-map):
1941 Remove bug report entries.
1942 (simula-mode-help-address, simula-submit-bug-report): Make obsolete.
1943
1944 * emacs-lisp/bytecomp.el (byte-compile-level): New.
1945 (byte-compile-file, byte-compile-from-buffer):
1946 Use separate input/output buffers for each level of recursive
1947 byte-compile-file calls. (Bug#13787)
1948
1949 2013-02-23 Michael Albinus <michael.albinus@gmx.de>
1950
1951 * net/tramp.el (tramp-methods): Fix docstring.
1952 (tramp-ssh-controlmaster-options): Rename it from
1953 `tramp-ssh-controlmaster-template'. Return a string.
1954 (tramp-default-method): Adapt check for
1955 `tramp-ssh-controlmaster-options'.
1956
1957 * net/tramp-sh.el (tramp-methods):
1958 Replace `tramp-ssh-controlmaster-template' by "%c".
1959 (tramp-do-copy-or-rename-file-out-of-band)
1960 (tramp-maybe-open-connection): Use it in format spec. Ensure,
1961 that it is applied for the first hop only.
1962
1963 2013-02-22 Juri Linkov <juri@jurta.org>
1964
1965 * isearch.el (isearch-lazy-highlight-new-loop):
1966 Set `isearch-lazy-highlight-start' and `isearch-lazy-highlight-end'
1967 to `isearch-other-end' if it is not nil. (Bug#13402)
1968
1969 * replace.el (replace-highlight): Let-bind `isearch-other-end'
1970 to `match-beg'.
1971
1972 * textmodes/ispell.el (ispell-highlight-spelling-error-overlay):
1973 Let-bind `isearch-other-end' to `start', `isearch-forward' to t
1974 and `isearch-error' to nil.
1975
1976 2013-03-16 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
1977
1978 * progmodes/python.el (python-info-current-defun):
1979 Enhance match-data cluttering prevention.
1980
1981 2013-02-22 Michael Albinus <michael.albinus@gmx.de>
1982
1983 * net/tramp.el (tramp-tramp-file-p): Fix docstring.
1984
1985 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1986 Handle multibyte file names.
1987
1988 2013-02-22 Glenn Morris <rgm@gnu.org>
1989
1990 * textmodes/sgml-mode.el (sgml-xml-mode): Move before use.
1991 (sgml-transformation-function): Give it a :set function.
1992 (sgml-tag): Doc fix.
1993
1994 * cmuscheme.el (scheme-buffer):
1995 * progmodes/inf-lisp.el (inferior-lisp-buffer):
1996 * progmodes/tcl.el (inferior-tcl-buffer):
1997 * textmodes/tex-mode.el (tex-command): Doc fixes.
1998
1999 * image-mode.el (image-mode): Add mouse bindings for mode-line-process.
2000
2001 * htmlfontify.el (hfy-default-header): Encode title string. (Bug#7457)
2002
2003 2013-02-21 Bastien Guerry <bzg@gnu.org>
2004
2005 * cmuscheme.el (scheme-buffer): Fix docstring. (Bug#13778)
2006
2007 2013-02-21 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
2008
2009 * progmodes/python.el (python-info-current-defun):
2010 Enhance match-data cluttering prevention.
2011
2012 2013-02-21 Glenn Morris <rgm@gnu.org>
2013
2014 * net/tramp.el (tramp-get-debug-buffer): Ensure outline.el is not
2015 loaded while outline-regexp is let bound. (Bug#9584)
2016
2017 2013-02-21 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
2018
2019 * progmodes/python.el (python-info-current-defun): Fix failed
2020 defun name retrieval because of unwanted match-data cluttering.
2021
2022 2013-02-21 Michael Albinus <michael.albinus@gmx.de>
2023
2024 * net/tramp.el (tramp-ssh-controlmaster-template): Make it a
2025 defconst. Apply independent check for ControlPersist.
2026
2027 * net/tramp-sh.el (tramp-sh-handle-set-file-times): Set $UTC only
2028 temporarily, via "env".
2029
2030 2013-02-21 Glenn Morris <rgm@gnu.org>
2031
2032 * info.el (Info-enable-edit): Remove.
2033 (Info-edit): Disable it rather than using Info-enable.
2034 (Info-edit-mode-hook, Info-edit-map, Info-edit-mode, Info-edit)
2035 (Info-cease-edit): Make editing of Info files obsolete.
2036
2037 * informat.el (Info-tagify):
2038 Handle buffers not visiting files. (Bug#13763)
2039
2040 2013-02-21 Juanma Barranquero <lekktu@gmail.com>
2041
2042 * calc/calc-graph.el (calc-graph-show-dumb): Fix typo.
2043
2044 2013-02-21 Glenn Morris <rgm@gnu.org>
2045
2046 * files.el (basic-save-buffer): Move check for existing parent
2047 directory after hooks. (Bug#13773)
2048
2049 2013-02-20 Stefan Monnier <monnier@iro.umontreal.ca>
2050
2051 * simple.el (command-execute): Move from C. Add obsolete check.
2052 (extended-command-history): Move from C.
2053
2054 2013-02-20 Ulrich MĂ¼ller <ulm@gentoo.org>
2055
2056 * jka-cmpr-hook.el (jka-compr-compression-info-list)
2057 (jka-compr-mode-alist-additions): Handle .txz suffix for
2058 XZ-compressed tar archives (bug#13770).
2059
2060 2013-02-20 Bastien Guerry <bzg@gnu.org>
2061
2062 * outline.el (outline-regexp, outline-heading-end-regexp):
2063 Make variables, not options (bug#13731).
2064
2065 2013-02-20 Glenn Morris <rgm@gnu.org>
2066
2067 * image.el (image-current-frame): Change from variable to function.
2068 (image-show-frame): Rename from image-nth-frame. Update callers.
2069 * image-mode.el (image-multi-frame): New variable.
2070 (image-mode-map, image-mode, image-goto-frame):
2071 Use image-multi-frame rather than image-current-frame.
2072 (image-mode, image-goto-frame): Use image-current-frame as
2073 function rather than as variable.
2074
2075 * emacs-lisp/cl-lib.el (cl-floatp-safe): Make it an alias for floatp.
2076 * emacs-lisp/cl-macs.el (cl--make-type-test)
2077 (cl--compiler-macro-assoc): Use floatp rather than cl-floatp-safe.
2078
2079 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
2080
2081 * net/tramp-cache.el (tramp-get-hash-table): New defun.
2082 (tramp-get-file-property, tramp-set-file-property)
2083 (tramp-get-connection-property, tramp-set-connection-property): Use it.
2084 (tramp-flush-file-property, tramp-flush-directory-property):
2085 Rename argument to KEY.
2086 (tramp-flush-connection-property): Simplify a little bit.
2087 (tramp-connection-property-p): New defun.
2088 (top): Reapply saved values only if there isn't a corresponding
2089 entry in `tramp-connection-properties'.
2090
2091 2013-02-19 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
2092
2093 * progmodes/python.el (python-indent-context):
2094 Fix python-info-line-ends-backslash-p call.
2095 (python-info-line-ends-backslash-p)
2096 (python-info-beginning-of-backslash): Respect line-number argument.
2097 (python-info-current-line-comment-p):
2098 Fix behavior when not at beginning-of-line.
2099 (python-util-position): Remove function.
2100 (python-util-goto-line): New function.
2101
2102 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
2103
2104 * eshell/em-unix.el (eshell/su): Require tramp.
2105 (eshell/sudo): Require tramp. Remove now unnecessary check.
2106
2107 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Let-bind
2108 `tramp-current-connection' in order to avoid an error when several
2109 commands are invoked in a short time in eshell and friends.
2110
2111 2013-02-19 Stefan Monnier <monnier@iro.umontreal.ca>
2112
2113 Cleanup some of EIEIO's namespace.
2114 * emacs-lisp/eieio.el (eieio--define-field-accessors): New macro.
2115 Use it to define all the class-* and object-* field accessors (renamed
2116 to eieio--class-* and eieio--object-*). Update all uses.
2117 (eieio--class-num-slots, eieio--object-num-slots): Rename from
2118 class-num-slots and object-num-slots.
2119 (eieio--check-type): New macro.
2120 (eieio-defclass, eieio-oref, eieio-oref-default, same-class-p)
2121 (object-of-class-p, child-of-class-p, object-slots, class-slot-initarg)
2122 (eieio-oset, eieio-oset-default, object-assoc, object-assoc-list)
2123 (object-assoc-list-safe): Use it.
2124 (eieio-defclass): Tighten regexp.
2125 (eieio--defmethod): Use `memq'. Signal an error for unknown method kind.
2126 Remove unreachable code.
2127 (object-class-fast): Declare obsolete.
2128 (eieio-class-name, eieio-object-name, eieio-object-set-name-string)
2129 (eieio-object-class, eieio-object-class-name, eieio-class-parents)
2130 (eieio-class-children, eieio-class-precedence-list, eieio-class-parent):
2131 Rename from class-name, object-name, object-set-name-string,
2132 object-class, object-class-name, class-parents, class-children,
2133 class-precedence-list, class-parent; with obsolete alias.
2134 (class-of, class-direct-superclasses, class-direct-subclasses):
2135 Declare obsolete.
2136 (eieio-defmethod): Use `memq'; remove unreachable code.
2137 * emacs-lisp/eieio-base.el (eieio-persistent-read):
2138 * emacs-lisp/eieio-opt.el (eieio-class-button, eieio-describe-generic)
2139 (eieio-browse-tree, eieio-browse): Use eieio--check-type.
2140
2141 2013-02-18 Aidan Gauland <aidalgol@no8wireless.co.nz>
2142
2143 * eshell/em-cmpl.el: Correct "context-related help" keybinding in
2144 commentary.
2145
2146 2013-02-18 Michael Heerdegen <michael_heerdegen@web.de>
2147
2148 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument):
2149 Use font-lock-keyword-face for macros and special forms (bug#8345).
2150
2151 2013-02-17 Didier Verna <didier@didierverna.net>
2152
2153 * net/network-stream.el (network-stream-open-starttls):
2154 Check that response to the starttls-command is non-nil. (Bug#13706)
2155
2156 2013-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
2157
2158 * font-lock.el (lisp-font-lock-keywords-1, lisp-font-lock-keywords-2):
2159 Don't assume all identifier chars have syntax word.
2160 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2161 Remove bar-not-symbol. Adjust callers.
2162 (lisp-mode-variables): Don't set a font-lock-syntax-table.
2163
2164 2013-02-17 Leo Liu <sdl.web@gmail.com>
2165
2166 * net/rcirc.el (rcirc-keepalive): Fix invalid timer error.
2167
2168 2013-02-17 Glenn Morris <rgm@gnu.org>
2169
2170 * menu-bar.el (menu-bar-tools-menu): Fix case of EDE entry.
2171
2172 * image-mode.el (image-mode-map): Add image-dired menu entry.
2173
2174 * image-dired.el (tumme): Make this alias obsolete.
2175
2176 2013-02-16 Glenn Morris <rgm@gnu.org>
2177
2178 * image.el (image-animated-types): Remove.
2179 (image-multi-frame-p): Rename from image-animated-p, and generalize.
2180 (image-animated-p): Make obsolete alias.
2181 (image-animate, image-nth-frame, image-animate-timeout):
2182 Use image-multi-frame-p.
2183 (image-animate-timeout): If no delay, use image-default-frame-delay.
2184 * image-mode.el (image-mode, image-toggle-animation):
2185 Use image-multi-frame-p. (Bug#763, bug#10739)
2186 (image-mode): Adjust startup message for a multi-frame image.
2187
2188 * image-mode.el (image-mode-map): Give it a menu.
2189
2190 2013-02-16 Michael Albinus <michael.albinus@gmx.de>
2191
2192 * net/tramp-cache.el (tramp-connection-properties): New customer
2193 option.
2194 (tramp-get-connection-property): Use it.
2195
2196 * net/tramp-compat.el (top): Require 'trampver.
2197
2198 * net/tramp-sh.el (tramp-remote-process-environment):
2199 Set tramp-autoload cookie.
2200
2201 2013-02-16 Kevin Ryde <user42@zip.com.au>
2202
2203 * info-look.el (info-lookup-select-mode): If major-mode has no
2204 info-lookup-alist entry then search up derived-mode-parent (bug#8660).
2205
2206 2013-02-16 Jambunathan K <kjambunathan@gmail.com>
2207
2208 * replace.el (read-regexp): Tighten the regexp that matches tag.
2209 When tag is retrieved with `find-tag-default', use regexp that
2210 matches tag at point. Also update docstring (Bug#13687).
2211
2212 2013-02-16 Eli Zaretskii <eliz@gnu.org>
2213
2214 * autorevert.el (auto-revert-notify-add-watch): With 'w32notify',
2215 add watch for the file, not its parent directory, since w32notify
2216 sets up the watch for the directory internally. (Bug#13725)
2217
2218 2013-02-16 Glenn Morris <rgm@gnu.org>
2219
2220 * image.el (image-default-frame-delay): New variable.
2221 (image-animated-p): Use image-default-frame-delay.
2222 (image-minimum-frame-delay): New constant.
2223 (image-animate-timeout): Use image-minimum-frame-delay.
2224
2225 * image.el (image-nth-frame): New, split from image-animate-timeout.
2226 (image-animate-timeout): Use image-nth-frame.
2227 * image-mode.el (image-goto-frame, image-next-frame)
2228 (image-previous-frame): New commands.
2229 (image-mode-map): Add new frame commands.
2230
2231 2013-02-16 Jonas Bernoulli <jonas@bernoul.li>
2232
2233 * emacs-lisp/tabulated-list.el (tabulated-list-print-col):
2234 If col-desc already has help-echo, use it. (Bug#13563)
2235
2236 2013-02-16 Glenn Morris <rgm@gnu.org>
2237
2238 * image.el (image-current-frame): New variable.
2239 (image-animate-timeout): Set image-current-frame.
2240 * image-mode.el (image-mode): For animated images,
2241 display a frame counter via mode-line-process.
2242
2243 * font-lock.el (lisp-font-lock-keywords-1): Add defvar-local.
2244
2245 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
2246
2247 * simple.el (eval-expression): Let `exp' set the mark (bug#13724).
2248
2249 2013-02-15 Alan Mackenzie <acm@muc.de>
2250
2251 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): When a
2252 global minor mode has been enabled, call the minor mode function
2253 for a new buffer once only, after the major mode hook, whilst
2254 allowing that hook explicitly to disable the minor mode.
2255 (MODE-disable-in-buffer): New (generated) function.
2256 (disable-MODE): New (generated) buffer local variable.
2257
2258 2013-02-15 Jambunathan K <kjambunathan@gmail.com>
2259
2260 * iswitchb.el (iswitchb-read-buffer): Bind `C-.' and `C-,' to
2261 `iswitchb-next-match' and `iswitchb-prev-match' resply.
2262 * ido.el (ido-init-completion-maps): Bind `C-.' and `C-,' to
2263 `ido-next-match' and `ido-prev-match' resply.
2264 * icomplete.el (icomplete-minibuffer-map): Unbind `C-s' and `C-r'.
2265 Bind `C-.' and `C-,' to `icomplete-forward-completions' and
2266 `icomplete-backward-completions' (Bug#13708).
2267
2268 2013-02-15 Glenn Morris <rgm@gnu.org>
2269
2270 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
2271
2272 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
2273
2274 * net/goto-addr.el (goto-address-fontify): Add start and end args.
2275 (goto-address-fontify-region): Use them instead of narrowing, so
2276 syntax-ppss has access to the whole buffer.
2277
2278 2013-02-15 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
2279
2280 * progmodes/python.el: Explain how to restore "cc-mode"-like
2281 forward-sexp movement in header documentation (Bug#13642).
2282 (python-nav--forward-sexp): Behave like emacs-lisp-mode in
2283 comments and strings (GH bug 114).
2284
2285 2013-02-15 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
2286
2287 * progmodes/python.el (python-info-current-defun): Fix current
2288 defun detection (Bug#13618).
2289
2290 2013-02-15 Chong Yidong <cyd@gnu.org>
2291
2292 * xml.el (xml-parse-string): Fix typo in handling of bad character
2293 references.
2294
2295 2013-02-15 Glenn Morris <rgm@gnu.org>
2296
2297 * play/fortune.el (fortune-compile): Simplify and fix previous change.
2298
2299 2013-02-14 Michael Albinus <michael.albinus@gmx.de>
2300
2301 * net/tramp.el (tramp-debug-message):
2302 Add `tramp-condition-case-unless-debug'.
2303 (tramp-debug-on-error): New defvar.
2304 (tramp-condition-case-unless-debug): New defun.
2305 (tramp-file-name-handler): Use it.
2306
2307 2013-02-14 Juri Linkov <juri@jurta.org>
2308
2309 * info.el (Info-isearch-filter): Treat non-nil values of
2310 `search-invisible' including its default value `open'
2311 like the value `t' to match hidden text. (Bug#13402)
2312
2313 2013-02-14 Glenn Morris <rgm@gnu.org>
2314
2315 * help-fns.el (find-lisp-object-file-name): Give special treatment
2316 to all ~/.foo.elc files, not just ~/.emacs. (Bug#9007)
2317
2318 2013-02-14 David Biesack <sasdjb@d72933.na.sas.com> (tiny change)
2319
2320 * net/quickurl.el (quickurl-save-urls):
2321 Ensure quickurl-urls is not truncated on printing. (Bug#9276)
2322
2323 2013-02-14 Dmitry Gutov <dgutov@yandex.ru>
2324
2325 * progmodes/ruby-mode.el (ruby-parse-partial): Don't increase
2326 depth for unfinished percent literal. Not using it in the caller.
2327 (ruby-move-to-block): Jump over multiline literals of all types,
2328 ignoring code-looking contents inside them.
2329 (ruby-add-log-current-method): Improve performance at the expense
2330 of accuracy. `ruby-block-contains-point' is relatively slow, so
2331 only use it for method and singleton class blocks.
2332
2333 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
2334
2335 Use ControlMaster where applicable. (Bug#13677)
2336
2337 * net/tramp.el (tramp-ssh-controlmaster-template): New defvar,
2338 replacing `tramp-detect-ssh-controlmaster'.
2339 (tramp-default-method): Use it.
2340
2341 * net/tramp-sh.el (tramp-methods) [scp, scp1, scp2, scpx, sftp]:
2342 [rsync, ssh, ssh1, ssh2, sshx]: Add ControlPath and ControlMaster
2343 arguments.
2344 [scpc, rsyncc]: Remove methods.
2345 (top): Remove completion functions for "scpc", "rsyncc", "ssh1_old"
2346 and "ssh2_old".
2347 (tramp-do-copy-or-rename-file-out-of-band): Change trace level.
2348 (tramp-maybe-open-connection): Reuse tmpfile for ControlPath.
2349
2350 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
2351
2352 * emacs-lisp/package.el (package--initialized): Move before first use.
2353
2354 2013-02-13 Jambunathan K <kjambunathan@gmail.com>
2355
2356 * icomplete.el (icomplete-hide-common-prefix): New user option.
2357 (icomplete-first-match): New face.
2358 (icomplete-completions): Correct handling of "complete but not
2359 unique" (Bug#12638).
2360
2361 2013-02-13 YE Qianchuan <stool.ye@gmail.com> (tiny change)
2362
2363 * descr-text.el (describe-char): Display the script (bug#13698).
2364
2365 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
2366
2367 * tmm.el: Use lexical-binding and current-active-maps.
2368 (tmm-menubar): Use map-keymap and pcase.
2369 (tmm--completion-table): New function.
2370 (tmm-prompt): Use it to fix the menu order.
2371 (tmm-get-keybind): Use current-active-maps.
2372
2373 2013-02-12 Christopher Schmidt <christopher@ch.ristopher.com>
2374
2375 Add dired-hide-details-mode. (Bug#6799)
2376
2377 * locate.el (locate-mode): Set parent mode property to dired-mode.
2378
2379 * find-dired.el (find-dired): Call dired-insert-set-properties on
2380 initial information line. Set process mark on end of buffer.
2381 (find-dired-sentinel):
2382 Call dired-insert-set-properties on summary.
2383
2384 * dired.el (dired-hide-details-hide-symlink-targets)
2385 (dired-hide-details-hide-information-lines): New options.
2386 (dired-insert-directory):
2387 Set properties after final treatment of output.
2388 (dired-insert-set-properties):
2389 Set dired-hide-details-* properties.
2390 (dired-mode-map): Bind dired-hide-details-mode.
2391 (dired-mode): Set buffer-invisibility-spec to a list.
2392 (dired-next-line): Skip hidden lines.
2393 (dired-previous-line): Use dired-next-line.
2394 (dired-hide-details-mode): New minor mode.
2395 (dired-hide-details-update-invisibility-spec): New function.
2396
2397 2013-02-13 Glenn Morris <rgm@gnu.org>
2398
2399 * play/yow.el: Move to obsolete/. (Bug#9384)
2400
2401 2013-02-13 Juri Linkov <juri@jurta.org>
2402
2403 * vc/ediff-util.el (ediff-recenter): Use `select-frame-set-input-focus'
2404 to select `ediff-control-frame' and set input focus correctly on Xfce.
2405 (Bug#12218)
2406
2407 2013-02-13 Juri Linkov <juri@jurta.org>
2408
2409 * image-mode.el (image-mode-map):
2410 * doc-view.el (doc-view-mode-map):
2411 * vc/ediff-util.el (ediff-setup-keymap):
2412 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
2413
2414 2013-02-13 Dmitry Gutov <dgutov@yandex.ru>
2415
2416 * progmodes/ruby-mode.el (ruby-move-to-block): Improve
2417 performance. Instead of recalculating indentation fully for each
2418 line, sum up indentation depth based only on visited lines.
2419 (ruby-parse-partial): Increase the depth after "do" even when END
2420 is right after it.
2421 (ruby-parse-partial): When END is in the middle of a percent
2422 literal, increase the depth if the delimiter chars belong to the
2423 paren syntax class.
2424
2425 2013-02-13 Kirill A. Korinskiy <catap@catap.ru>
2426
2427 * play/fortune.el (fortune-compile): Also make the compiled file
2428 if it does not exist at all, not just if it is old. (Bug#5338)
2429
2430 2013-02-13 Glenn Morris <rgm@gnu.org>
2431
2432 * emacs-lisp/package.el (package-menu-execute): Doc fix.
2433
2434 2013-02-13 Yves Baumes <ybaumes@gmail.com> (tiny change)
2435
2436 * lisp/emacs-lisp/package.el (package-menu-execute):
2437 Add optional noquery argument. (Bug#13625)
2438
2439 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
2440
2441 * net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error,
2442 if DIR exists and PARENTS is non-nil.
2443
2444 2013-02-13 Juanma Barranquero <lekktu@gmail.com>
2445
2446 * progmodes/js.el (js--multi-line-declaration-indentation):
2447 Silence byte-compiler warning.
2448
2449 2013-02-12 Michael Albinus <michael.albinus@gmx.de>
2450
2451 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Rewrite.
2452
2453 * net/tramp-compat.el (top): Declare `remote-file-name-inhibit-cache'
2454 only if it doesn't exist.
2455
2456 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2457 Set process marker.
2458
2459 2013-02-12 Tassilo Horn <tsdh@gnu.org>
2460
2461 * doc-view.el (doc-view-odf->pdf-converter-soffice): Use separate
2462 UserInstallation when calling soffice to work around LibreOffice
2463 bug 37531.
2464
2465 2013-02-12 Glenn Morris <rgm@gnu.org>
2466
2467 * files.el (basic-save-buffer):
2468 Offer to create a non-existing directory. (Bug#3016)
2469
2470 * calc/calc-graph.el (calc-graph-show-dumb):
2471 * calendar/calendar.el (calendar-mode-map):
2472 * cus-edit.el (custom-mode-map):
2473 * ehelp.el (electric-help-map):
2474 * emulation/vip.el (vip-mode-map):
2475 * epa.el (epa-key-list-mode-map):
2476 * info.el (Info-mode-map):
2477 * mail/rmail.el (rmail-mode-map):
2478 * mail/rmailsum.el (rmail-summary-mode-map):
2479 * man.el (Man-mode-map):
2480 * net/newst-plainview.el (newsticker-mode-map):
2481 * progmodes/cpp.el (cpp-edit-mode-map):
2482 * progmodes/grep.el (grep-mode-map):
2483 * progmodes/idlw-help.el (idlwave-help-mode-map):
2484 * simple.el (special-mode-map):
2485 * startup.el (splash-screen-keymap):
2486 * view.el (view-mode-map):
2487 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
2488
2489 2013-02-11 Elias Pipping <pipping@lavabit.com>
2490
2491 * doc-view.el (doc-view-current-cache-dir): Beware % escapes
2492 (bug#13679).
2493
2494 2013-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
2495
2496 * cus-start.el (all): Remove inhibit-local-menu-bar-menus.
2497
2498 2013-02-11 Glenn Morris <rgm@gnu.org>
2499
2500 * vc/diff.el (diff-use-labels): New variable.
2501 (diff-no-select): Use --label rather than -L, and first
2502 check that it is supported. (Bug#11067)
2503
2504 * files.el (enable-dir-local-variables): New variable.
2505 (hack-dir-local-variables): Respect enable-dir-local-variables.
2506 * tutorial.el (help-with-tutorial):
2507 Ignore directory-local variables. (Bug#11127)
2508
2509 * vc/vc-svn.el (vc-svn-command): Move --non-interactive from here...
2510 (vc-svn-global-switches): ... to here. (Bug#13513)
2511
2512 2013-02-10 Christopher Schmidt <christopher@ch.ristopher.com>
2513
2514 * minibuf-eldef.el (minibuffer-default--in-prompt-regexps):
2515 Handle "foo (bar, default: xxx): " prompts.
2516
2517 2013-02-10 Chong Yidong <cyd@gnu.org>
2518
2519 * files.el (basic-save-buffer-1): Do not set
2520 buffer-file-coding-system-explicit (Bug#4533).
2521
2522 * mail/emacsbug.el (report-emacs-bug): Change binding of
2523 report-emacs-bug-insert-to-mailer to C-c M-i (Bug#13510).
2524
2525 2013-02-09 Jay Belanger <jay.p.belanger@gmail.com>
2526
2527 * calc/calc.el (calc-allow-units-as-numbers): New variable.
2528 * calc/calc-units.el (calc-convert-units): Use new variable.
2529
2530 2013-02-09 Eli Zaretskii <eliz@gnu.org>
2531
2532 * subr.el (buffer-file-type, default-buffer-file-type): Remove.
2533
2534 * net/ange-ftp.el (ange-ftp-insert-file-contents): Don't reference
2535 buffer-file-type.
2536
2537 * mail/feedmail.el (feedmail-force-binary-write): Doc fix.
2538 (feedmail-run-the-queue, feedmail-dump-message-to-queue)
2539 (feedmail-send-it-immediately): Don't bind buffer-file-type, bind
2540 coding-system-for-write instead.
2541
2542 * jka-compr.el (jka-compr-write-region): Don't bind
2543 buffer-file-type.
2544
2545 * emacs-lisp/bytecomp.el (byte-compile-file): Don't bind
2546 buffer-file-type.
2547
2548 * files.el (file-name-buffer-file-type-alist): Remove defvar.
2549 (insert-file-contents-literally): Remove reference to
2550 file-name-buffer-file-type-alist.
2551
2552 * dos-w32.el (file-name-buffer-file-type-alist): Deprecate and
2553 make-obsolete.
2554 (find-buffer-file-type-match, find-buffer-file-type): Remove.
2555 (find-buffer-file-type-coding-system): Remove references to
2556 find-buffer-file-type-match, find-buffer-file-type, and
2557 buffer-file-type.
2558 Don't put find-buffer-file-type-coding-system into
2559 file-coding-system-alist.
2560 (find-file-binary, find-file-text): Bind coding-system-for-read
2561 instead of file-name-buffer-file-type-alist.
2562
2563 2013-02-09 Jambunathan K <kjambunathan@gmail.com>
2564
2565 * doc-view.el: Use (and prefer) soffice as default ODF->PDF
2566 converter (Bug#13622).
2567 (doc-view-unoconv-program): Make obsolete alias.
2568 (doc-view-odf->pdf-converter-program): New variable.
2569 (doc-view-odf->pdf-converter-function): New variable.
2570 (doc-view-mode-p): Use it.
2571 (doc-view-odf->pdf-converter-unoconv):
2572 Rename from `doc-view-odf->pdf-converter-unoconv'.
2573 (doc-view-odf->pdf-converter-soffice): New function.
2574 (doc-view-convert-current-doc):
2575 Use `doc-view-odf->pdf-converter-function'.
2576
2577 2013-02-09 Chong Yidong <cyd@gnu.org>
2578
2579 * minibuffer.el (minibuffer-inactive-mode-map): Bind mouse-1 to
2580 view-echo-area-messages (Bug#13340).
2581
2582 * help.el (view-echo-area-messages): Use display-buffer.
2583
2584 * dired-x.el (dired-do-run-mail): Prompt for confirmation
2585 (Bug#13561).
2586
2587 2013-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
2588
2589 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
2590 Eval body right away, now that we do eager macroexpansion (bug#13605).
2591
2592 * simple.el (end-of-buffer): Don't touch unrelated windows (bug#13466).
2593 (fundamental-mode): Use run-mode-hooks.
2594
2595 * eshell/esh-proc.el (eshell/kill): Fix last change.
2596 * eshell/em-ls.el (eshell-ls-dir): Fix use of CL in last change.
2597
2598 2013-02-08 Aidan Gauland <aidalgol@no8wireless.co.nz>
2599
2600 * eshell/esh-proc.el (eshell/kill): Rewrite.
2601
2602 * eshell/em-ls.el (show-almost-all): Declare.
2603 (eshell-do-ls): Add support for -A argument.
2604
2605 2013-02-08 Jambunathan K <kjambunathan@gmail.com>
2606
2607 * icomplete.el (icomplete-forward-completions)
2608 (icomplete-backward-completions): Handle corner case (bug#13602).
2609
2610 2013-02-07 Michael Albinus <michael.albinus@gmx.de>
2611
2612 * vc/vc-hooks.el (vc-find-file-hook): `buffer-file-truename' can
2613 be nil. Handle this. (Bug#13636)
2614
2615 2013-02-07 Richard Stallman <rms@gnu.org>
2616
2617 * mail/rmail.el (rmail-variables): Specify `no-conversion' for
2618 `save-buffer-coding-system'.
2619
2620 2013-02-07 Alan Mackenzie <acm@muc.de>
2621
2622 Fix bug in state cache mechanism. Remove 'BOD "strategy". Refactor.
2623 * progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove.
2624 (c-parse-state-get-strategy): Don't return 'BOD any more.
2625 (c-append-lower-brace-pair-to-state-cache):
2626 Extra parameter HERE instead of narrowing.
2627 Widen to top of buffer before searching backwards for a brace pair.
2628 (c-state-push-any-brace-pair): Add HERE parameter to function call.
2629 (c-append-to-state-cache): Extra parameter HERE in place of narrowing.
2630 Narrow to parameter HERE, in place of being called narrowed.
2631 (c-remove-stale-state-cache): Extra parameter HERE in place of
2632 narrowing. Check there's an open brace in the cache before
2633 searching for its match.
2634 (c-invalidate-state-cache-1): Add HERE parameter to function call.
2635 (c-parse-state-1): Don't narrow here for 'forward strategy,
2636 instead passing extra parameter HERE to several functions.
2637 Remove 'BOD strategy.
2638
2639 2013-02-06 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
2640
2641 * emacs-lisp/package.el (describe-package-1): Tell what archive is
2642 used to install the package.
2643
2644 2013-02-06 Glenn Morris <rgm@gnu.org>
2645
2646 * vc/vc-hooks.el (vc-find-file-hook): Don't ask about following links
2647 if we can't get user input. (Bug#6567)
2648
2649 * startup.el (command-line): If simple.el is missing,
2650 test and warn about for some possible causes.
2651
2652 2013-02-05 Jan Djärv <jan.h.d@swipnet.se>
2653
2654 * cus-start.el (all): Add ns-use-native-fullscreen.
2655
2656 2013-02-05 Glenn Morris <rgm@gnu.org>
2657
2658 * profiler.el (profiler-report-mode-map): Add a restart menu entry.
2659
2660 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
2661 Fix directory creation in fallback case.
2662
2663 2013-02-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2664
2665 * vc/vc.el (vc-next-action): Fix inf-loop (bug#13610).
2666 (vc-update-change-log): Use dolist.
2667
2668 2013-02-04 Chong Yidong <cyd@gnu.org>
2669
2670 * thingatpt.el: Rewrite the URL detection routines, absorbing some
2671 code from ffap.el.
2672 (thing-at-point-beginning-of-url-regexp): New var.
2673 (thing-at-point-uri-schemes): Update list of URI schemes.
2674 (thing-at-point-url-regexp): Variable deleted.
2675 (thing-at-point-markedup-url-regexp): Disallow newlines.
2676 (thing-at-point-newsgroup-regexp)
2677 (thing-at-point-newsgroup-heads)
2678 (thing-at-point-default-mail-uri-scheme): New variables.
2679 (thing-at-point-bounds-of-url-at-point): Rewrite. Use ffap's
2680 method to find the possible bounds of the URI at point.
2681 New optional argument to find ill-formed URIs.
2682 (thing-at-point-url-at-point): Rewrite. New arguments for finding
2683 ill-formed URIs. Use thing-at-point-bounds-of-url-at-point, and
2684 the scheme-adding heuristics from ffap-url-at-point.
2685 (thing-at-point--bounds-of-well-formed-url): New function.
2686 Do parens matching to decide whether to include parens in the URI
2687 (Bug#9153).
2688
2689 * ffap.el: Require thingatpt.
2690 (ffap-url-at-point): Delegate URI detection to thing-at-point.
2691 All URI-valid characters are now recognized (Bug#5673).
2692 (ffap-string-at-point): Use use-region-p.
2693 (ffap-url-regexp): Extra character is handled by thing-at-point.
2694 (ffap-string-at-point-mode-alist): Allow parentheses.
2695 (ffap-newsgroup-regexp, ffap-newsgroup-heads, ffap-newsgroup-p):
2696 Convert to aliases; code moved to thingatpt.el.
2697 (ffap-gnus-hook): Use setq-local.
2698
2699 2013-02-04 Glenn Morris <rgm@gnu.org>
2700
2701 * emacs-lisp/ert.el (ert--explain-format-atom):
2702 Don't try to print non-characters as characters. (Bug#13543)
2703
2704 2013-02-03 Michael Albinus <michael.albinus@gmx.de>
2705
2706 * net/tramp.el (tramp-debug-message): Extend function exclude list.
2707 (tramp-backtrace): New defun.
2708 (tramp-handle-insert-file-contents): Use `visit' when inserting
2709 the local copy.
2710
2711 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime):
2712 Use `remote-file-name-inhibit-cache'.
2713
2714 2013-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
2715
2716 * progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning
2717 (bug#13614).
2718
2719 * subr.el (internal--called-interactively-p--get-frame): Avoid filling
2720 current-load-list (bug#13366).
2721
2722 2013-02-02 Christopher Schmidt <christopher@ch.ristopher.com>
2723
2724 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2725 Identify g++ template instantiation trace. (Bug#12287)
2726 (compilation-mode-hook, compilation-start-hook)
2727 (compilation-window-height): Simplify docstrings. (Bug#13379)
2728
2729 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
2730
2731 * mouse.el (mouse-drag-track): Always deactivate the mark before
2732 running the final event's command since that command is in charge of
2733 activating the mark if needed (bug#13523).
2734
2735 2013-02-02 Juri Linkov <juri@jurta.org>
2736
2737 * replace.el (perform-replace): Move let-bindings of isearch-*
2738 variables deeper to the loop that searches for the next match.
2739 Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
2740 Use `isearch-search-fun-default' instead of `isearch-search-fun'.
2741 (Bug#13579)
2742
2743 * isearch.el (isearch-search-fun-default): Check for null
2744 first element of isearch-cmds as a precaution when it's used
2745 with inactive isearch.
2746
2747 2013-02-02 Andrew W. Nosenko <andrew.w.nosenko@gmail.com> (tiny change)
2748
2749 * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
2750 error when buffer in question is narrowed so position 1 is out of
2751 visible part.
2752
2753 2013-02-02 Glenn Morris <rgm@gnu.org>
2754
2755 * textmodes/remember.el (remember-clipboard): Doc fix.
2756
2757 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
2758
2759 * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
2760 properties (bug#13179).
2761
2762 2013-02-02 Juri Linkov <juri@jurta.org>
2763
2764 * progmodes/grep.el (grep-regexp-alist): Use variable grep-match-face
2765 instead of hard-coded default face `match'. (Bug#9438)
2766
2767 2012-02-01 Christopher Schmidt <christopher@ch.ristopher.com>
2768
2769 * vc/vc-arch.el (vc-arch-registered):
2770 * vc/vc-bzr.el (vc-bzr-registered):
2771 * vc/vc-cvs.el (vc-cvs-registered):
2772 * vc/vc-git.el (vc-git-registered):
2773 * vc/vc-hg.el (vc-hg-registered):
2774 * vc/vc-mtn.el (vc-mtn-registered):
2775 * vc/vc-svn.el (vc-svn-registered): Suppress load messages.
2776 (Bug#13139)
2777
2778 * info.el (Info-next-reference, Info-prev-reference): Add numeric
2779 prefix argument. (Bug#11656)
2780
2781 2013-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
2782
2783 * help-fns.el (help-split-fundoc): Don't insert byte-compiled body.
2784
2785 2013-02-01 Glenn Morris <rgm@gnu.org>
2786
2787 * vc/vc-hooks.el (vc-menu-map): Disable vc-rollback menu item
2788 if the backend is known not to support it.
2789
2790 * imenu.el (imenu-default-create-index-function):
2791 Tweak infinite loop test to check for forward motion as well as none.
2792
2793 2013-02-01 Alex Harsanyi <AlexHarsanyi@gmail.com>
2794
2795 * net/soap-client.el (soap-invoke): Encode the string for
2796 `url-request-data' as UTF-8.
2797 Fixes <http://code.google.com/p/emacs-soap-client/issues/detail?id=16>.
2798
2799 2013-02-01 Glenn Morris <rgm@gnu.org>
2800
2801 * calc/calc-help.el (calc-view-news): Use view-emacs-news.
2802
2803 * calc/README, calc/README.prev: Rename/merge to etc/CALC-NEWS.
2804
2805 2013-01-31 Michael Albinus <michael.albinus@gmx.de>
2806
2807 * net/tramp.el (tramp-tramp-file-p): Comment check for
2808 `string-as-unibyte'. The function does not exist on XEmacs, and
2809 likely we need another approach.
2810
2811 * net/tramp-sh.el (tramp-compute-multi-hops): Check, whether
2812 `tramp-gw-*' variables are bound.
2813
2814 2013-01-31 Glenn Morris <rgm@gnu.org>
2815
2816 * files.el (basic-save-buffer-2): Choose coding system for
2817 writing the file before backing it up, to reduce delay between
2818 backing up and writing the new version. (Bug#13522)
2819
2820 2013-01-31 Michal Nazarewicz <mina86@mina86.com>
2821
2822 * simple.el (cycle-spacing): New command.
2823 (just-one-space): Use it.
2824
2825 2013-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
2826
2827 * progmodes/opascal.el: Rename from delphi.el. Use lexical-binding.
2828 (opascal-newline-always-indents): Remove custom.
2829 (opascal-tab, opascal-newline): Remove commands.
2830 (opascal-new-comment-line): Insert "\n" instead of calling newline.
2831 (opascal-mode-map): Keep default bindings for RET and TAB and DEL.
2832 (opascal-save-match-data): Remove, use save-match-data instead.
2833 (opascal-save-state): Use with-silent-modifications.
2834
2835 * progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments
2836 (bug#13585).
2837
2838 2013-01-30 Juri Linkov <juri@jurta.org>
2839
2840 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
2841 Use fullboth as an alias for fullscreen. Suggested by Jan Djärv in
2842 <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00203.html>.
2843
2844 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
2845
2846 * progmodes/make-mode.el (makefile-backslash-region): Don't compute
2847 column if we're just deleting the backslashes.
2848 (makefile-fill-paragraph): Use eolp.
2849
2850 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
2851
2852 * autorevert.el (auto-revert-use-notify): Fix docstring.
2853
2854 2013-01-30 Leo Liu <sdl.web@gmail.com>
2855
2856 * imenu.el (imenu--truncate-items): Fix subalist checking (bug#13576).
2857
2858 2013-01-30 Glenn Morris <rgm@gnu.org>
2859
2860 * mouse.el (mouse-drag-line): Avoid pushing same event onto
2861 unread-command-events twice in some cases. This tries to implement
2862 the 2012-07-26 changes in a different way. (Bug#13560)
2863
2864 2013-01-30 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
2865
2866 * progmodes/python.el
2867 (python-pdbtrack-comint-output-filter-function): Enhancements on
2868 stacktrace detection. (thanks @gnovak)
2869
2870 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
2871
2872 * jit-lock.el (jit-lock-stealth-chunk-start): Don't widen (bug#13542).
2873 (jit-lock-mode, jit-lock-functions, jit-lock-context-unfontify-pos):
2874 Use defvar-local.
2875 (jit-lock-register): Use setq-local.
2876
2877 2013-01-30 Jay Belanger <jay.p.belanger@gmail.com>
2878
2879 * calc-units.el (math-default-units-table): Remove initial value.
2880 (calc-convert-units): Treat expressions where all the units cancel as
2881 if they didn't have units.
2882
2883 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
2884
2885 * net/tramp.el (tramp-process-connection-type): Fix docstring.
2886 (tramp-completion-reread-directory-timeout): Fix type.
2887 (tramp-connection-min-time-diff): New defcustom.
2888
2889 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
2890
2891 2013-01-30 Glenn Morris <rgm@gnu.org>
2892
2893 * imenu.el (imenu-default-create-index-function):
2894 Put back a version of the infinite loop test removed 2013-01-23.
2895
2896 2013-01-30 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
2897
2898 * progmodes/python.el (python-shell-parse-command):
2899 Find python-shell-interpreter with modified environment.
2900
2901 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
2902
2903 * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
2904
2905 2013-01-29 Alan Mackenzie <acm@muc.de>
2906
2907 Amend to fontify /regexp/s in actions correctly.
2908 * cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re):
2909 (c-awk-harmless-string*-here-re): Braces, parens and semicolons
2910 are no longer included.
2911 (c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re):
2912 What used to be these variables without "-line" in the name.
2913 (c-awk-neutral-re): { is no longer neutral. Escaped newlines now are.
2914 (c-awk-non-arith-op-bra-re): Now also matches {.
2915 (c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print",
2916 "return", and "case".
2917 (c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed
2918 by /.
2919 (c-awk-syntax-tablify-/): Check special cases "print /re/", etc.
2920 (c-awk-set-syntax-table-properties): Extend FSM to handle {,},(,),;.
2921
2922 2013-01-29 Michael Albinus <michael.albinus@gmx.de>
2923
2924 * autorevert.el (auto-revert-use-notify):
2925 Use `custom-initialize-default' for initialization. (Bug#13583)
2926
2927 * net/ange-ftp.el (ange-ftp-skip-msgs): Add another message.
2928
2929 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2930 Catch `suppress'. Otherwise, `tramp-run-real-handler' might be called
2931 in `tramp-file-name-handler'.
2932 (tramp-gw-tunnel-method, tramp-gw-socks-method): Declare for
2933 compatibility.
2934 (tramp-compute-multi-hops): Check, whether
2935 `tramp-gw-tunnel-method' and `tramp-gw-socks-method' are non-nil.
2936
2937 2013-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
2938
2939 * hi-lock.el (hi-lock-unface-buffer): Don't assume `face' is a symbol
2940 (bug#13297).
2941
2942 2013-01-27 Dmitry Gutov <dgutov@yandex.ru>
2943
2944 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove some
2945 checks made superfluous by the \_< operator.
2946 * progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe
2947 temporarily) broken indentation.
2948 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2949 Highlight nested constants, too. \_< broke that.
2950
2951 2013-01-27 Nobuyoshi Nakada <nobu@ruby-lang.org>
2952
2953 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<"
2954 instead of "\\b".
2955
2956 2013-01-27 Michael Albinus <michael.albinus@gmx.de>
2957
2958 * autorevert.el (auto-revert-handler): Notifications which result
2959 from a saved file shall not be taken into account. (Bug#13557)
2960
2961 2013-01-26 Andreas Schwab <schwab@linux-m68k.org>
2962
2963 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional
2964 parameter BAR-NOT-SYMBOL to control syntax of | for font-lock.
2965 (lisp-mode): Pass t for it. (Bug#13556)
2966
2967 2013-01-25 Alan Mackenzie <acm@muc.de>
2968
2969 AWK Mode: Fix indentation bug at top level. Bug #12274.
2970
2971 * progmodes/cc-engine.el (c-guess-basic-syntax): Move CASE 5P to
2972 just before CASE 5D.
2973
2974 2013-01-25 Dmitry Antipov <dmantipov@yandex.ru>
2975
2976 * net/socks.el (socks-nslookup-host): Use string-to-number.
2977
2978 2013-01-25 Michael Albinus <michael.albinus@gmx.de>
2979
2980 * autorevert.el (auto-revert-remote-files)
2981 (auto-revert-notify-exclude-dir-regexp): New defcustoms.
2982 (auto-revert-notify-enabled, auto-revert-use-notify)
2983 (auto-revert-notify-watch-descriptor-hash-list)
2984 (auto-revert-notify-modified-p, auto-revert-notify-event-p)
2985 (auto-revert-notify-event-descriptor)
2986 (auto-revert-notify-event-action)
2987 (auto-revert-notify-event-file-name): Doc fix.
2988 (global-auto-revert-mode): Reorder checks.
2989 (auto-revert-notify-rm-watch): Respect changed values of
2990 `auto-revert-notify-watch-descriptor-hash-list'.
2991 (auto-revert-notify-add-watch): Check for
2992 `auto-revert-notify-exclude-dir-regexp'. Adapt filters for
2993 `inotify-add-watch'. Watch `default-directory' instead of
2994 `buffer-file-name'. `auto-revert-notify-watch-descriptor-hash-list'
2995 has a changed meaning now. (Bug#13540)
2996 (auto-revert-notify-handler): Change implementation wrt events
2997 returning from a directory.
2998 (auto-revert-handler): Reorder implementation for checks of remote
2999 files.
3000 (auto-revert-buffers): Fix parentheses error.
3001
3002 2013-01-25 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3003
3004 * progmodes/python.el: Enhancements to header documentation about
3005 skeletons. (Bug#5716)
3006
3007 * imenu.el (imenu-default-create-index-function): Remove useless
3008 infinite loop check. (Bug#13438)
3009
3010 2013-01-25 Alan Mackenzie <acm@muc.de>
3011
3012 Fix a bug in the state cache mechanism. Refactor this a bit.
3013
3014 * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
3015 `cache-pos' element from the return value.
3016 (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
3017 buffer to enable proper searching from beyond HERE. Amend the
3018 test for detecting the sought brace pair. Amend the value written
3019 to the "brace desert cache" when the brace isn't found.
3020 (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
3021 and several other variables analogously.
3022 (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
3023 parameter to a locally calculated variable.
3024 (c-parse-state-1): Change the calling conventions to the two
3025 defuns involving `cache-pos'.
3026
3027 2013-01-25 Chong Yidong <cyd@gnu.org>
3028
3029 * xml.el (xml-entity-or-char-ref-re): Fix regexp.
3030
3031 2013-01-24 Aaron Ecay <aaronecay@gmail.com> (tiny change)
3032
3033 * paren.el (show-paren-function): Make sure to set 'priority and
3034 'face only if the overlay does exist.
3035
3036 2013-01-24 Michael Albinus <michael.albinus@gmx.de>
3037
3038 * net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte.
3039
3040 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress
3041 basic attributes.
3042 (tramp-sh-handle-set-file-acl): Improve error checking.
3043
3044 2013-01-24 Dmitry Antipov <dmantipov@yandex.ru>
3045
3046 * doc-view.el (doc-view-display): Force mode line update until all
3047 document is converted. Suggested by Stefan Monnier (Bug#13164).
3048
3049 2013-01-23 Bastien Guerry <bzg@gnu.org>
3050
3051 * paren.el (show-paren-function): Make sure an overlay exists
3052 before trying to delete it. Also use `pos' as a position only
3053 when it is an integer.
3054
3055 2013-01-23 Dmitry Antipov <dmantipov@yandex.ru>
3056
3057 * play/gametree.el (gametree-break-line-here): Use point-marker.
3058
3059 2013-01-22 Michael Albinus <michael.albinus@gmx.de>
3060
3061 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
3062 Mark descriptive parts with `display' property.
3063
3064 2013-01-21 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
3065
3066 * textmodes/ispell.el (ispell-hunspell-dictionary-equivs-alist):
3067 New variable to map standard dict names to hunspell ones.
3068 (ispell-set-spellchecker-params): Make sure specific dict names
3069 are used for standard dicts with hunspell.
3070
3071 2013-01-21 Tassilo Horn <tsdh@gnu.org>
3072
3073 * textmodes/reftex-cite.el (reftex-format-citation): Add format
3074 chars for note (%N) and url (%U).
3075 * textmodes/reftex-vars.el (reftex-cite-format): Document them.
3076
3077 2013-01-21 Juri Linkov <juri@jurta.org>
3078
3079 * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
3080 in addition to existing separate binding `meta f10' in `global-map'.
3081 (Bug#13484)
3082
3083 2013-01-21 Michael Albinus <michael.albinus@gmx.de>
3084
3085 Improve XEmacs compatibility.
3086
3087 * net/tramp.el (tramp-replace-environment-variables): Make it a defun.
3088
3089 * net/tramp-adb.el (top): Require `time-date'.
3090 (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'.
3091 (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file):
3092 Use `tramp-file-name-handler'.
3093 (tramp-adb-maybe-open-connection):
3094 Use `tramp-compat-set-process-query-on-exit-flag'.
3095
3096 * net/tramp-sh.el (tramp-sh-handle-file-acl):
3097 Use `tramp-compat-funcall'.
3098
3099 * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and
3100 `tramp-compat-funcall'.
3101
3102 2013-01-21 JĂ¼rgen Hötzel <juergen@archlinux.org>
3103
3104 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete
3105 reimplementation using "adb shell command ..." instead of running
3106 remote shell interactively.
3107
3108 2013-01-20 Glenn Morris <rgm@gnu.org>
3109
3110 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
3111 Add native profiler menu entries.
3112
3113 * profiler.el (profiler-running-p): New function.
3114 (profiler-cpu-profile): Use profiler-running-p.
3115 (profiler-report-mode-map): Add some more menu entries.
3116
3117 2013-01-19 Glenn Morris <rgm@gnu.org>
3118
3119 * mail/unrmail.el (unrmail): Do not mangle the mbox From line;
3120 fixes 2012-12-07 change. (Bug#13499)
3121
3122 2013-01-19 Leo Liu <sdl.web@gmail.com>
3123
3124 * dired.el (dired-get-marked-files): Prune erroneous values due to
3125 last change. (Bug#13152)
3126
3127 2013-01-19 Glenn Morris <rgm@gnu.org>
3128
3129 * progmodes/etags.el (tags-table-check-computed-list):
3130 Preserve point in tags buffer. (Bug#13412)
3131
3132 * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
3133
3134 2013-01-19 Christian Wittern <cwittern@gmail.com> (tiny change)
3135 Chong Yidong <cyd@gnu.org>
3136
3137 * image-mode.el (image-next-file, image-previous-file):
3138 New commands (Bug#8453).
3139 (image-mode-map): Bind them to n and p.
3140 (image-mode--images-in-directory): New helper function.
3141
3142 2013-01-19 Chong Yidong <cyd@gnu.org>
3143
3144 * image-mode.el (image-mode-fit-frame): Add a frame argument.
3145 Suggested by Drew Adams (Bug#7730). Handle window decorations;
3146 save and restore the old window configuration.
3147
3148 2013-01-18 Leo Liu <sdl.web@gmail.com>
3149
3150 * progmodes/js.el: Tweak autoload cookie for alias.
3151
3152 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
3153
3154 * autorevert.el (auto-revert-notify-watch-descriptor): Make it
3155 buffer local, again. This was lost with the fix on 2013-01-12.
3156
3157 2013-01-17 JĂ¼rgen Hötzel <juergen@archlinux.org>
3158
3159 * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
3160 order to support several eshell buffers in parallel.
3161
3162 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
3163
3164 * autorevert.el (auto-revert-use-notify): In the :set function, do
3165 not modify `kill-buffer-hook'.
3166 (auto-revert-notify-rm-watch):
3167 Remove `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
3168 (auto-revert-notify-add-watch): Do not call
3169 `auto-revert-notify-rm-watch', but add it to a buffer local
3170 `kill-buffer-hook'.
3171
3172 2013-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
3173
3174 * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
3175 call to `eval' rather than a backquoted lambda.
3176
3177 2013-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
3178
3179 * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
3180 to return an explicit nil.
3181 (advice--remove-function): Change accordingly.
3182
3183 * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
3184 the use of nadvice.el.
3185
3186 * progmodes/which-func.el (which-function): Silence imenu errors
3187 (bug#13433).
3188
3189 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
3190
3191 * progmodes/sql.el (sql-imenu-generic-expression):
3192 (sql-mode-font-lock-object-name): Match schema qualified names.
3193 (sql-connect): Use string keys.
3194 (sql-product-interactive): Wait for interpreter prompt.
3195 (sql-comint-oracle): Set process coding based on NLS_LANG.
3196
3197 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
3198
3199 * progmodes/sql.el (sql-output-to-send): Remove, unused.
3200 (sql-interactive-remove-continuation-prompt):
3201 (sql-send-magic-terminator, sql-interactive-mode): Remove references.
3202
3203 2013-01-14 Leo Liu <sdl.web@gmail.com>
3204
3205 * calendar/calendar.el (calendar-redraw): Sync window-point and point.
3206 (Bug#13420)
3207
3208 2013-01-14 Glenn Morris <rgm@gnu.org>
3209
3210 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3211 Fix interpretation of gnu line.col1-col2 format. (Bug#13335)
3212
3213 2013-01-13 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3214
3215 * progmodes/python.el (python-nav-end-of-statement):
3216 Fix cornercase when handling multiline strings.
3217
3218 2013-01-13 Richard Stallman <rms@gnu.org>
3219
3220 * mail/sendmail.el (mail-position-on-field): Add doc string.
3221
3222 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
3223 Get current message boundaries and pass them to
3224 message-forward-make-body-mime. Minor style changes.
3225
3226 2013-01-13 Eli Zaretskii <eliz@gnu.org>
3227
3228 * cus-start.el (all): Avoid warnings about
3229 scroll-bar-adjust-thumb-portion on platforms where it is not defined.
3230
3231 2013-01-11 Jan Djärv <jan.h.d@swipnet.se>
3232
3233 * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
3234
3235 2013-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
3236
3237 * jit-lock.el (jit-lock-debug-mode): New minor mode.
3238 (jit-lock--debug-fontifying): New var.
3239 (jit-lock--debug-fontify): New function.
3240 * subr.el (condition-case-unless-debug): Don't prevent catching the
3241 error, just let the debbugger run.
3242 * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
3243 timer code and don't drop errors silently.
3244
3245 2013-01-12 Michael Albinus <michael.albinus@gmx.de>
3246
3247 * autorevert.el (auto-revert-notify-watch-descriptor): Give it
3248 `permanent-local' property.
3249 (auto-revert-notify-handler): Use `file-equal-p'.
3250
3251 2013-01-12 Eli Zaretskii <eliz@gnu.org>
3252
3253 * autorevert.el (auto-revert-notify-handler): Fix filtering of
3254 file notification by ACTION. For filtering by file name, compare
3255 only the non-directory part of the file name.
3256
3257 2013-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
3258
3259 * autorevert.el: Use cl-lib instead of cl.
3260
3261 * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
3262 (vc-bzr-checkin): Use it.
3263 * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
3264 will preserve match-data.
3265
3266 2013-01-11 Felix H. Dahlke <fhd@ubercode.de>
3267
3268 * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
3269 (js--declaration-keyword-re): New var.
3270 (js--multi-line-declaration-indentation): New function.
3271 (js--proper-indentation): Use it.
3272
3273 2013-01-11 Aaron S. Hawley <Aaron.Hawley@vtinfo.com>
3274
3275 * calc/calc.el (calc-highlight-selections-with-faces)
3276 (calc-dispatch):
3277 * comint.el (comint-history-isearch-message):
3278 * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
3279 * ffap.el (ffap-string-at-point-region, ffap-next)
3280 (ffap-string-at-point, ffap-string-around)
3281 (ffap-copy-string-as-kill, ffap-highlight-overlay)
3282 (ffap-literally):
3283 * font-lock.el (font-lock-keywords-alist)
3284 (font-lock-removed-keywords-alist):
3285 * help-mode.el (help-xref-symbol-regexp):
3286 * info.el (Info-find-emacs-command-nodes):
3287 * international/mule.el (add-to-coding-system-list):
3288 * isearch.el (isearch-message-function, isearch-fail-pos):
3289 * misearch.el (multi-isearch-next-buffer-function):
3290 * newcomment.el (comment-box):
3291 * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
3292 (pr-setting-database):
3293 * progmodes/cc-fonts.el (c-font-lock-keywords-3)
3294 (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
3295 (java-font-lock-keywords-3, idl-font-lock-keywords-3)
3296 (pike-font-lock-keywords-3):
3297 * progmodes/compile.el (compile):
3298 * progmodes/etags.el (tags-table-files)
3299 (tags-table-files-function, tags-included-tables-function):
3300 * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
3301 (gdb-restore-windows):
3302 * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
3303 (ps-n-up-filling-database):
3304 * server.el (server-buffer, server-log):
3305 * simple.el (newline, delete-backward-char, delete-forward-char)
3306 (minibuffer-history-isearch-message, kill-line, track-eol)
3307 (temporary-goal-column):
3308 * textmodes/flyspell.el (flyspell-mark-duplications-flag)
3309 (flyspell-default-deplacement-commands):
3310 * textmodes/ispell.el (ispell-accept-output):
3311 * textmodes/sgml-mode.el (html-tag-help):
3312 * vc/compare-w.el (compare-ignore-whitespace)
3313 (compare-ignore-case, compare-windows-dehighlight):
3314 * vc/diff.el (diff):
3315 * whitespace.el (whitespace-point)
3316 (whitespace-font-lock-refontify, whitespace-bob-marker)
3317 (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
3318
3319 2013-01-11 Michael Albinus <michael.albinus@gmx.de>
3320
3321 * autorevert.el (top): Require 'cl in order to pacify byte compiler.
3322 (auto-revert-notify-rm-watch): Ignore errors.
3323 (auto-revert-notify-add-watch): Ignore errors. Use '(modify) for
3324 inotify, and '(size last-write-time) for w32notify.
3325 Set buffer-local `auto-revert-use-notify' to nil when adding a file
3326 watch fails - this is a fallback to the file modification check.
3327 (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
3328 (auto-revert-notify-event-action)
3329 (auto-revert-notify-event-file-name): New defuns.
3330 (auto-revert-notify-handler): Use them. Implement first
3331 plausibility checks.
3332 (auto-revert-handler): Handle also `auto-revert-tail-mode'.
3333
3334 2013-01-11 Julien Danjou <julien@danjou.info>
3335
3336 * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
3337 max are almost equal. Also return the correct value for V which is
3338 already between 0 and 1.
3339
3340 2013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
3341
3342 * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
3343
3344 2013-01-11 Eli Zaretskii <eliz@gnu.org>
3345
3346 * autorevert.el (auto-revert-notify-rm-watch)
3347 (auto-revert-notify-add-watch): Fix typos in w32notify function
3348 names.
3349
3350 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
3351
3352 * autorevert.el (auto-revert-notify-enabled): Move up.
3353 (auto-revert-use-notify): New defcustom.
3354 (auto-revert-mode, global-auto-revert-mode)
3355 (auto-revert-notify-add-watch, auto-revert-handler)
3356 (auto-revert-buffers): Use `auto-revert-use-notify' instead of
3357 `auto-revert-notify-enabled'.
3358
3359 2013-01-10 Elias Pipping <pipping@exherbo.org>
3360
3361 * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
3362 * doc-view.el (doc-view-document->bitmap):
3363 Use doc-view-single-page-converter-function instead of
3364 single-page-converter arg; adjust callers.
3365
3366 2013-01-10 Feng Li <fengli@gmail.com> (tiny change)
3367
3368 * progmodes/which-func.el (which-function): Understand Semantic's use
3369 of overlays in imenu--index-alist.
3370
3371 2013-01-10 Wolfgang Jenkner <wjenkner@inode.at>
3372
3373 * man.el: Handle different "man -k" behaviors (bug#13160). Use utf-8.
3374 (Man-man-k-use-anchor): New var.
3375 (Man-parse-man-k): New function.
3376 (Man-completion-table): Use it.
3377 (man): Flush the completion cache between uses.
3378
3379 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
3380
3381 * autorevert.el: Add file watch support.
3382 (auto-revert-notify-enabled): New defconst.
3383 (auto-revert-notify-watch-descriptor-hash-list)
3384 (auto-revert-notify-watch-descriptor)
3385 (auto-revert-notify-modified-p): New defvars.
3386 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
3387 (auto-revert-notify-handler): New defuns.
3388 (auto-revert-mode, global-auto-revert-mode): Remove file watches
3389 when mode is disabled.
3390 (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
3391 (auto-revert-buffers): Add file watches for active buffers.
3392
3393 2013-01-10 Dmitry Antipov <dmantipov@yandex.ru>
3394
3395 * cus-start.el (toplevel): Only allow float values for
3396 scroll-up-aggressively and scroll-down-aggressively.
3397 Allow any number for line-spacing.
3398
3399 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
3400
3401 * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
3402 (doc-view-pdf->png-converter-function): Use mupdf if available.
3403 (doc-view-djvu->png-converter-function)
3404 (doc-view-ps->png-converter-function): Remove.
3405 (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
3406 (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
3407 (doc-view-already-converted-p): Adjust accordingly.
3408 (doc-view-mode-p): Simplify.
3409 (doc-view-enlarge): Use setq-local.
3410 (doc-view-pdf->png-converter-ghostscript)
3411 (doc-view-djvu->png-converter-ddjvu)
3412 (doc-view-pdf->png-converter-mupdf): Rework to call
3413 doc-view-start-process directly.
3414 (doc-view-pdf/ps->png): Simplify accordingly.
3415 (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
3416 (doc-view-document->bitmap): Rename from doc-view-document->png.
3417 (doc-view-convert-current-doc): Merge pdf and djvu cases.
3418 (doc-view-set-slice-from-bounding-box): Fix completion table.
3419 (doc-view-mode): Use add-hook for after-revert-hook.
3420
3421 2013-01-10 Glenn Morris <rgm@gnu.org>
3422
3423 * emacs-lisp/authors.el (authors-ignored-files)
3424 (authors-valid-file-names, authors-renamed-files-alist):
3425 Add some more entries.
3426
3427 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
3428
3429 * image-mode.el (image-mode-winprops): Don't throw away the fallback
3430 `t' pseudo-window entry.
3431
3432 2013-01-10 Alan Mackenzie <acm@muc.de>
3433
3434 Fix bugs in the c-parse-state mechanism. Reuse some markers
3435 instead of continually generating new ones.
3436
3437 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
3438 (c-state-old-cpp-end-marker): New variables.
3439 (c-append-lower-brace-pair-to-state-cache): Start a backward
3440 search for "}" definitively outside CPP constructs.
3441 (c-remove-stale-state-cache): Inform the caller of a need to
3442 search back for a brace pair in certain circumstances.
3443 (c-state-maybe-marker): New macro.
3444 (c-parse-state): Reuse markers when appropriate.
3445
3446 2013-01-10 Glenn Morris <rgm@gnu.org>
3447
3448 * simple.el (execute-extended-command): Doc fix.
3449 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
3450
3451 2013-01-10 Chong Yidong <cyd@gnu.org>
3452
3453 * faces.el (read-face-name): Doc fix.
3454
3455 2013-01-10 Roland Winkler <winkler@gnu.org>
3456
3457 * emacs-lisp/crm.el: Allow any regexp for separators.
3458 (crm-default-separator): All spaces around the default comma separator.
3459 (crm--completion-command): New macro.
3460 (crm-completion-help, crm-complete, crm-complete-word): Use it.
3461 (crm-complete-and-exit): Handle non-single-char separators.
3462
3463 2013-01-09 Elias Pipping <pipping@lavabit.com>
3464
3465 * doc-view.el: Add support for DjVu (bug#13164).
3466 (doc-view-djvu->png-converter-function): New config var.
3467 (doc-view-single-page-converter-function, doc-view--image-type)
3468 (doc-view--image-file-extension): New vars.
3469 (doc-view-mode): Initialize them.
3470 (doc-view-goto-page): Use them.
3471 (doc-view-mode-p): Add support for ddjvu.
3472 (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
3473 (doc-view-set-up-single-converter): New funs.
3474 (doc-view-pdf/ps->png): Extend for djvu.
3475 (doc-view-document->png): Rename from doc-view-pdf->png.
3476 (doc-view-convert-current-doc): Handle djvu.
3477 (doc-view-insert-image, doc-view-display)
3478 (doc-view-already-converted-p): Don't hardcode png.
3479 (doc-view-set-doc-type): Recognize djvu docs.
3480
3481 2013-01-09 Elias Pipping <pipping@lavabit.com>
3482
3483 * doc-view.el: Add support for mupdf converter (bug#13164).
3484 (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
3485 (doc-view-ps->png-converter-function): New config vars.
3486 (doc-view-pdf->png-converter-ghostscript)
3487 (doc-view-ps->png-converter-ghostscript)
3488 (doc-view-pdf->png-converter-mupdf): New functions.
3489 (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
3490
3491 2013-01-09 JĂ¼rgen Hötzel <juergen@archlinux.org>
3492
3493 * net/tramp.el (tramp-eshell-directory-change): Check remote-path
3494 first in session cache: When `tramp-own-remote-path' is in
3495 `tramp-remote-path', the remote path is only set in the session
3496 cache.
3497
3498 2013-01-09 Glenn Morris <rgm@gnu.org>
3499
3500 * emacs-lisp/trace.el (trace-function-foreground)
3501 (trace-function-background): Doc fix.
3502
3503 2013-01-09 Juri Linkov <juri@jurta.org>
3504
3505 * international/mule-cmds.el (read-char-by-name): Move let-binding
3506 of completion-ignore-case around completing-read to fix regression
3507 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
3508 `string-match-p' using the nil value of `case-fold-search' and
3509 `completion-ignore-case' in `completion-pcm--all-completions'.
3510 (Bug#12615).
3511
3512 2013-01-09 Glenn Morris <rgm@gnu.org>
3513
3514 * progmodes/compile.el (compilation-parse-errors):
3515 Fix typo. (Bug#13369)
3516
3517 2013-01-09 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
3518
3519 * comint.el (comint-send-input): Check size of buffer before
3520 waiting for process output, in case already accepted. (Bug#13290)
3521
3522 2013-01-09 Paul Eggert <eggert@cs.ucla.edu>
3523
3524 Spelling fixes.
3525 * net/tramp-adb.el (tramp-adb-get-toolbox):
3526 Fix misspelling of 'unknown'.
3527
3528 2013-01-08 Juri Linkov <juri@jurta.org>
3529
3530 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
3531 * progmodes/flymake.el (flymake-errline, flymake-warnline):
3532 Use underline style wave on terminals that support it. (Bug#13000)
3533
3534 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
3535
3536 * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
3537 the predicate returns nil.
3538
3539 * simple.el: Use lexical-binding.
3540 (primitive-undo): Use pcase.
3541 (minibuffer-history-isearch-push-state): Use a closure.
3542
3543 2013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3544
3545 * simple.el (primitive-undo): Move from undo.c.
3546
3547 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
3548
3549 * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
3550 (cvs-mode-remove-handled): Use it (bug#13380).
3551
3552 * emacs-lisp/nadvice.el (advice--tweak): New function.
3553 (advice--remove-function, advice--subst-main): Use it.
3554
3555 * emacs-lisp/advice.el: Update commentary.
3556
3557 2013-01-08 Michael Albinus <michael.albinus@gmx.de>
3558
3559 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3560 Remove spurious entry.
3561
3562 2013-01-08 Glenn Morris <rgm@gnu.org>
3563
3564 * net/tramp.el (tramp-default-host-alist): Add :version.
3565
3566 2013-01-08 Juri Linkov <juri@jurta.org>
3567
3568 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
3569 single completion. (Bug#12456)
3570 (info--manual-names): Expand node completions into an explicit list
3571 before appending it to another list. Filter out internal buffers
3572 with the leading space in the buffer name. (Bug#10771)
3573
3574 2013-01-08 Juri Linkov <juri@jurta.org>
3575
3576 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
3577 that defaults to the Top node.
3578 (Info-goto-node, Info-read-node-name): Doc fix to mention that
3579 the short format (FILENAME) goes to the Top node.
3580 (Info-build-node-completions): Rename arg `file' to `filename'.
3581 (Bug#13365)
3582
3583 2013-01-07 Bastien Guerry <bzg@gnu.org>
3584
3585 * menu-bar.el (menu-bar-search-documentation-menu):
3586 Use `apropos-user-option' and fix the help message.
3587
3588 2013-01-07 Bastien Guerry <bzg@gnu.org>
3589
3590 * apropos.el (apropos-do-all): Update docstring.
3591 (apropos-user-option-button): New face.
3592 (apropos-user-option): Rename from `apropos-variable' and update
3593 docstring.
3594 (apropos-variable): Rewrite, now show all variables by default.
3595 (apropos-print): Mention "User option" instead of "Variable" when
3596 printing doc for user options. (Bug#13276)
3597
3598 2013-01-07 JĂ¼rgen Hötzel <juergen@archlinux.org>
3599
3600 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
3601 Handle filename correctly, when parsing "source -> target" symlink
3602 output.
3603 (tramp-adb-handle-set-file-times): New defun.
3604
3605 2013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
3606
3607 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
3608 advice list when the interactive-spec of ad-Advice-* changes.
3609
3610 2013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
3611
3612 * wid-edit.el (widget-default-get): Work for inlined elements.
3613 (Bug#12670)
3614
3615 2013-01-07 Michael Albinus <michael.albinus@gmx.de>
3616
3617 * net/tramp.el (tramp-default-host-alist): New defcustom.
3618 (tramp-find-host): Use it.
3619 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
3620 `eshell-directory-change-hook'.
3621
3622 * net/tramp-adb.el (top): Add adb specific entry in
3623 `tramp-default-host-alist'.
3624 (tramp-adb-file-name-host): Remove function.
3625 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
3626 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
3627
3628 * net/tramp-sh.el: Move eshell integration code to tramp.el.
3629
3630 2013-01-06 JĂ¼rgen Hötzel <juergen@archlinux.org>
3631
3632 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
3633
3634 2013-01-06 Michael Albinus <michael.albinus@gmx.de>
3635
3636 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
3637 consist of more than one digit.
3638 (tramp-adb-file-name-handler-alist):
3639 Use `tramp-handle-file-exists-p' consistently.
3640 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
3641 (tramp-adb-handle-file-exists-p): Remove function.
3642 (tramp-adb-file-name-host): New defun.
3643 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
3644 Use it.
3645 (tramp-adb-maybe-open-connection): Set "remote-path" property.
3646
3647 2013-01-06 Chong Yidong <cyd@gnu.org>
3648
3649 * vc/vc.el (vc-next-action): Detect buffer modifications
3650 conflicting with locking VCS operation (Bug#11490).
3651
3652 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
3653
3654 2013-01-05 Michael Albinus <michael.albinus@gmx.de>
3655
3656 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
3657 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
3658
3659 2013-01-05 JĂ¼rgen Hötzel <juergen@archlinux.org>
3660
3661 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
3662 parsing of ls output using regular expression (handle filenames
3663 with spaces). Use virtual device number.
3664 (tramp-do-parse-file-attributes-with-ls): New defun (Code
3665 cleanup).
3666
3667 2013-01-04 Daiki Ueno <ueno@gnu.org>
3668
3669 * epg.el: Silence byte-compiler warnings.
3670 (epg--start): Use delete-char instead of delete-backward-char.
3671 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
3672
3673 2013-01-04 Daiki Ueno <ueno@gnu.org>
3674
3675 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
3676 Suggested by Eli Zaretskii <eliz@gnu.org>.
3677
3678 2013-01-04 Michael Albinus <michael.albinus@gmx.de>
3679
3680 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
3681 non-negative integers. Otherwise, the default values are used.
3682 (tramp-convert-file-attributes): Convert uid and gid to integers.
3683
3684 2013-01-04 Glenn Morris <rgm@gnu.org>
3685
3686 * term.el (term-handle-colors-array): Ensure face attributes
3687 are fully specified, not nil. (Bug#13337)
3688
3689 * term.el (term-default-fg-color, term-default-bg-color):
3690 Fix custom type.
3691
3692 * progmodes/etags.el (tags-compression-info-list): Doc fix.
3693 (tag-find-file-of-tag-noselect): Check auto-compression-mode
3694 rather than 'jka-compr being loaded. (Bug#13338)
3695
3696 2013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
3697
3698 * icomplete.el (icomplete-completions):
3699 Honor icomplete-prospects-height once more following
3700 2012-11-29 changes. (Bug#13224)
3701
3702 2013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
3703
3704 * subr.el (internal--called-interactively-p--get-frame): Find aliases
3705 of called-interactively-p as well (bug#13237).
3706
3707 * view.el (view--enable, view--disable): Rename from view-mode-enable
3708 and view-mode-disable and assume it's called from view-mode.
3709 (view-mode-enable, view-mode-disable): Redefine as obsolete
3710 compatibility layer above view-mode.
3711 (view-mode-enter): Call `view-mode'.
3712
3713 * files.el (after-find-file): Call `view-mode'.
3714
3715 * doc-view.el (doc-view-scale-internally): New var.
3716 (doc-view-enlarge, doc-view-insert-image): Obey it.
3717
3718 2013-01-03 Daiki Ueno <ueno@gnu.org>
3719
3720 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
3721 exist. (Bug#13344)
3722
3723 2013-01-03 Glenn Morris <rgm@gnu.org>
3724
3725 * mail/rmail.el (rmail-set-header-1): Ignore case.
3726 Handle multi-line headers. (Bug#13330)
3727
3728 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
3729 Handle paragraph starting at beginning of buffer.
3730
3731 * subr.el (eval-after-load): Don't purecopy the form, so that it
3732 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
3733
3734 * emacs-lisp/byte-run.el (defun): Place cl declarations
3735 after any interactive spec. (Bug#13265)
3736
3737 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
3738
3739 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
3740 defun. Don't check for DECL if DOCSTRING isn't a string.
3741 (defun): Likewise.
3742
3743 2013-01-02 Glenn Morris <rgm@gnu.org>
3744
3745 * eshell/em-cmpl.el (eshell-pcomplete):
3746 More thoroughly imitate pcomplete. (Bug#13293)
3747
3748 * files.el (parse-colon-path): Doc fix. (Bug#12351)
3749 Return nil for empty path elements. (Bug#13296)
3750
3751 2013-01-02 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3752
3753 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
3754 order to improve efficiency (Based on Daniel Colascione's
3755 <dancol@dancol.org> patch). (Bug#13182)
3756
3757 2013-01-02 Glenn Morris <rgm@gnu.org>
3758
3759 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
3760
3761 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
3762
3763 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
3764 neither DOCSTRING nor DECL was given. (Bug#13316)
3765
3766 2013-01-02 Michael Albinus <michael.albinus@gmx.de>
3767
3768 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
3769 `error' call.
3770 (tramp-do-copy-or-rename-file): Ignore errors when calling
3771 `set-file-extended-attributes'.
3772
3773 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3774 Add handler for `file-acl'.
3775 (tramp-smb-handle-file-acl): New defun.
3776
3777 2013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
3778
3779 * calc/README: Mention ISO 8601 week-numbering dates.
3780
3781 2013-01-01 Martin Rudalics <rudalics@gmx.at>
3782
3783 * view.el (view-mode-enable): New argument run-view-mode-hook.
3784 Run view-mode-hook only when it's non-nil (Bug#13315).
3785 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
3786 argument t.
3787
3788 2012-12-31 JĂ¼rgen Hötzel <juergen@archlinux.org>
3789
3790 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
3791 (No device connected, invalid device name). (Bug #13299)
3792
3793 2012-12-31 Martin Rudalics <rudalics@gmx.at>
3794
3795 * window.el (window-resizable--p): Rename to window-resizable-p.
3796 (window-resize-no-error): New function.
3797
3798 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
3799 broken in fix from 2012-12-28.
3800
3801 2012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
3802
3803 * subr.el (special-form-p): Don't signal errors on undef aliases.
3804
3805 2012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
3806
3807 * calc/calc-forms.el (math-parse-date): Try using
3808 `math-parse-iso-date' when it looks like it might be needed.
3809 Allow times of 24:00.
3810 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
3811 of 24:00.
3812
3813 2012-12-30 Glenn Morris <rgm@gnu.org>
3814
3815 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
3816 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
3817 (rmail-summary-displayed, rmail-summary): Declare.
3818 (mairix-rmail-display): Just require rmail.
3819
3820 2012-12-30 Chong Yidong <cyd@gnu.org>
3821
3822 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
3823 check for the tarball contents.
3824
3825 2012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
3826
3827 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
3828 tarfile content listings (Bug#13136).
3829
3830 2012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
3831
3832 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
3833 Insert the undecoded text of the message being forwarded. (Bug#9521)
3834
3835 2012-12-30 Michael Albinus <michael.albinus@gmx.de>
3836
3837 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
3838 integers, if they are real numbers. (Bug#13282)
3839
3840 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
3841 Return `t' on success.
3842
3843 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3844 Add handler for `set-file-selinux-context'.
3845
3846 2012-12-29 Michael Albinus <michael.albinus@gmx.de>
3847
3848 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
3849 (tramp-sh-handle-set-file-acl): Return `t' on success.
3850
3851 2012-12-29 Eli Zaretskii <eliz@gnu.org>
3852
3853 * files.el (backup-buffer-copy, basic-save-buffer-2):
3854 If set-file-extended-attributes fails, fall back on set-file-modes
3855 instead of signaling an error. (Bug#13298)
3856 (basic-save-buffer): Likewise.
3857
3858 2012-12-29 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3859
3860 * progmodes/python.el: Support other commands triggering
3861 python-indent-line so indentation cycling continues to work.
3862 (python-indent-trigger-commands): New defcustom.
3863 (python-indent-line): Use it.
3864
3865 2012-12-29 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3866
3867 * progmodes/python.el (python-shell-send-region): Add blank lines
3868 for non sent code so backtraces remain correct.
3869
3870 2012-12-29 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3871
3872 * progmodes/python.el: Remove cl dependency.
3873 (python-syntax-count-quotes): Replace incf call.
3874 (python-fill-string): Replace setf call.
3875
3876 2012-12-29 Damien Cassou <damien.cassou@gmail.com>
3877
3878 * info.el (info-other-window): New arg, for consistency with info.
3879
3880 2012-12-28 Martin Rudalics <rudalics@gmx.at>
3881
3882 * mail/rmail.el (rmail-maybe-display-summary):
3883 Rewrite (Bug#13066).
3884
3885 2012-12-28 Andreas Schwab <schwab@linux-m68k.org>
3886
3887 * epg.el (epg--start): Modify process-environment locally.
3888
3889 2012-12-28 Daiki Ueno <ueno@gnu.org>
3890
3891 * epg.el: Support pinentry-curses.
3892 Suggested by Werner Koch in
3893 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
3894 (epg-agent-file, epg-agent-mtime): New variable.
3895 (epg--start): Record the modified time of gpg-agent socket file,
3896 to restore Emacs frame after pinentry-curses termination.
3897 (epg-wait-for-completion): Restore Emacs frame here.
3898
3899 2012-12-27 Juri Linkov <juri@jurta.org>
3900
3901 * info.el (Info-file-completions): New variable.
3902 (Info-read-node-name-1): Complete node names in the Info file
3903 when a file name is given. Call `Info-build-node-completions'
3904 with a file name.
3905 (Info-build-node-completions): Add new arg `file'. When it is
3906 non-nil, visit it in a temporary buffer and cache its completions in
3907 `Info-current-file-completions'. Move most of the function body to
3908 `Info-build-node-completions-1'.
3909 (Info-build-node-completions-1): New function with the body from
3910 `Info-build-node-completions'. (Bug#12456)
3911
3912 2012-12-27 Juri Linkov <juri@jurta.org>
3913
3914 * frame.el (frame-maximization-style): Remove user option.
3915 (cycle-frame-maximized): Remove function.
3916 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
3917 (toggle-frame-fullscreen): New command bound to <f11> instead of
3918 `toggle-frame-maximized'.
3919 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
3920
3921 2012-12-27 Michael Albinus <michael.albinus@gmx.de>
3922
3923 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
3924
3925 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3926 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3927 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
3928 for `file-accessible-directory-p'. (Bug#13275)
3929
3930 2012-12-27 Sam Steingold <sds@gnu.org>
3931
3932 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
3933 continuations, see <http://stackoverflow.com/questions/3582436>.
3934
3935 2012-12-27 Dmitry Gutov <dgutov@yandex.ru>
3936
3937 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
3938 "module" and "def" to have indentation before them.
3939 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
3940
3941 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
3942
3943 2012-12-27 Alan Mackenzie <acm@muc.de>
3944
3945 Speed up fontification where there's large brace blocks.
3946 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
3947 to a call of c-beginning-of-decl-1.
3948
3949 2012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
3950
3951 * comint.el (comint-adjust-window-point): New function.
3952 (comint-postoutput-scroll-to-bottom):
3953 Call comint-adjust-window-point (Bug#13248).
3954
3955 2012-12-26 Dmitry Gutov <dgutov@yandex.ru>
3956
3957 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
3958 Rakefile regexp.
3959 (auto-mode-alist): Associate .gemspec files with ruby-mode
3960 (https://bugs.ruby-lang.org/issues/5453).
3961
3962 2012-12-26 JĂ¼rgen Hötzel <juergen@archlinux.org>
3963
3964 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
3965 Suppress coloring, if possible (required for BusyBox based systems like
3966 CyanogenMod).
3967 (tramp-adb-handle-file-attributes)
3968 (tramp-adb-handle-insert-directory)
3969 (tramp-adb-handle-file-name-all-completions): Use it.
3970 (tramp-adb-get-toolbox): New defun. Check for remote shell
3971 implementation (BusyBox or Toolbox).
3972
3973 2012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
3974
3975 * startup.el (initial-buffer-choice): Allow function as value
3976 (Bug#13251).
3977 (command-line-1): Handle case where initial-buffer-choice
3978 specifies a function.
3979 * server.el (server-execute): Handle case where
3980 initial-buffer-choice specifies a function.
3981
3982 2012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
3983
3984 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
3985 its own function.
3986 (smtpmail-try-auth-methods): Forget the user name/password if the
3987 login is unsuccessful (bug#12424).
3988
3989 2012-12-22 Michael Albinus <michael.albinus@gmx.de>
3990
3991 * notifications.el (notifications-notify): Protect body with
3992 `with-demoted-errors'.
3993
3994 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3995 Check properties of remote device. Restart connection, if there is a
3996 change.
3997
3998 2012-12-21 Chong Yidong <cyd@gnu.org>
3999
4000 * sort.el (sort-subr): Doc fix (Bug#13056).
4001
4002 2012-12-21 Bastien Guerry <bzg@gnu.org>
4003
4004 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
4005
4006 2012-12-21 Michael Albinus <michael.albinus@gmx.de>
4007
4008 * simple.el (process-file): Overwrite stderr file, if exists.
4009
4010 2012-12-21 Daiki Ueno <ueno@gnu.org>
4011
4012 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
4013 (epg-error): Set `error-message' property.
4014
4015 2012-12-21 Chong Yidong <cyd@gnu.org>
4016
4017 * international/mule-cmds.el (read-char-by-name): Signal an error
4018 if the user does not supply a valid character (Bug#13177).
4019
4020 * simple.el (transpose-subr-1): Preserve marker positions by
4021 changing the insertion sequence (Bug#13122).
4022
4023 2012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
4024
4025 * simple.el (kill-region): Deactivate mark even for empty regions
4026 (Bug#13169).
4027
4028 2012-12-21 Chong Yidong <cyd@gnu.org>
4029
4030 * help-fns.el (describe-variable): Make sure we get the right
4031 buffer name (Bug#13105). Suggested by Kelly Dean.
4032
4033 2012-12-20 Michael R. Mauger <mmaug@yahoo.com>
4034
4035 * comint.el (comint-redirect-previous-input-string): New variable.
4036 (comint-redirect-setup, comint-redirect-cleanup)
4037 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
4038 (comint-redirect-preoutput-filter): Fix verbose message.
4039
4040 2012-12-20 Michael Albinus <michael.albinus@gmx.de>
4041
4042 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
4043 is too long for Tramp. See discussion in
4044 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
4045
4046 * progmodes/compile.el (compilation-start): Remove line escape
4047 template.
4048
4049 2012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
4050
4051 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
4052 Adjust comment.
4053
4054 2012-12-19 Jonas Bernoulli <jonas@bernoul.li>
4055
4056 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
4057 following non-comment text (bug#13207).
4058 (lm-header-multiline): Continuation lines need to be indented more than
4059 the first line.
4060 (lm-homepage): New function.
4061 (lm-with-file): Don't be confused if narrowing is in effect.
4062
4063 2012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
4064
4065 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
4066 very beginning of a hunk (e.g. killing the first line).
4067
4068 2012-12-19 Michael Albinus <michael.albinus@gmx.de>
4069
4070 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
4071 and text properties from returned ACL string.
4072 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
4073 for "setfacl" command.
4074
4075 2012-12-18 Michael Albinus <michael.albinus@gmx.de>
4076
4077 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
4078 `tramp-cleanup-this-connection', when the process has died.
4079 (Bug#13151)
4080
4081 2012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
4082
4083 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
4084
4085 2012-12-17 Kevin Ryde <user42@zip.com.au>
4086
4087 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
4088
4089 2012-12-17 Michael Albinus <michael.albinus@gmx.de>
4090
4091 Add support for preserving ACL entries of files.
4092
4093 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
4094 `set-file-acl' handlers.
4095
4096 * net/tramp-adb.el (tramp-adb-handle-copy-file):
4097 Handle PRESERVE-EXTENDED-ATTRIBUTES.
4098
4099 * net/tramp-compat.el (tramp-compat-copy-file):
4100 Handle PRESERVE-EXTENDED-ATTRIBUTES.
4101
4102 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4103 Add `file-acl' and `set-file-acl' handlers.
4104 (tramp-gvfs-handle-copy-file):
4105 Handle PRESERVE-EXTENDED-ATTRIBUTES.
4106 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
4107 New defuns.
4108
4109 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4110 Add `file-acl' and `set-file-acl' handlers.
4111 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
4112 (tramp-sh-handle-set-file-acl): New defuns.
4113 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
4114 Handle PRESERVE-EXTENDED-ATTRIBUTES.
4115
4116 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4117 Add `file-acl' and `set-file-acl' handlers.
4118 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
4119
4120 2012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
4121
4122 * help-macro.el (make-help-screen): Instead of switch-to-buffer
4123 use pop-to-buffer with NORECORD argument t. As buffer name, use
4124 *Metahelp* with a leading space (Bug#13190).
4125
4126 2012-12-16 Romain Francoise <romain@orebokech.com>
4127
4128 * files.el (file-extended-attributes)
4129 (set-file-extended-attributes): New functions.
4130 (backup-buffer): Use them to handle both SELinux context and ACL
4131 entries.
4132 (backup-buffer-copy): Work with an alist of extended attributes,
4133 rather than an SELinux context.
4134 (basic-save-buffer-2): Ditto.
4135
4136 2012-12-16 Timo Myyrä <timo.myyra@gmail.com>
4137
4138 * battery.el (battery-bsd-apm): New function.
4139
4140 2012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
4141
4142 * calc/calc.el (calc-standard-date-formats): Adjust one of the
4143 standard date formats.
4144
4145 2012-12-15 Juri Linkov <juri@jurta.org>
4146
4147 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
4148 `isearch-insert-char-by-name'.
4149 (with-isearch-suspended): New defmacro with body mostly from
4150 `isearch-edit-string' except the part that sets
4151 `isearch-new-string' and `isearch-new-message'.
4152 (isearch-edit-string): Use new macro `with-isearch-suspended' with
4153 body that sets `isearch-new-string' and `isearch-new-message'.
4154 (isearch-insert-char-by-name): New command.
4155 * international/mule-cmds.el (read-char-by-name): Let-bind
4156 `enable-recursive-minibuffers' to t.
4157 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
4158
4159 2012-12-15 Juri Linkov <juri@jurta.org>
4160
4161 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
4162 (Bug#13175)
4163
4164 2012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
4165
4166 * dired-x.el (dired-guess-shell-command): Put colon at the end of
4167 the prompt. (Bug#13045)
4168
4169 2012-12-14 Glenn Morris <rgm@gnu.org>
4170
4171 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
4172 Try to include filename in non-bytecomp warning. (Bug#13132)
4173
4174 2012-12-14 Paul Eggert <eggert@cs.ucla.edu>
4175
4176 Fix permissions bugs with setgid directories etc. (Bug#13125)
4177 * files.el (backup-buffer): Don't rely on 9th output of
4178 file-attributes, as it's now a placeholder. Instead, use the new
4179 optional arg of file-ownership-preserved-p.
4180 (file-ownership-preserved-p): New optional arg GROUP.
4181 Fix mishandling of setuid directories that would cause this
4182 function to return t when it should have returned nil.
4183 Document what happens if the file does not exist, and when
4184 it's not known whether the ownership will be preserved.
4185 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
4186 Likewise.
4187 (tramp-get-local-gid): Use group-gid for integer, as that's
4188 faster and more reliable.
4189
4190 2012-12-14 Julien Danjou <julien@danjou.info>
4191
4192 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
4193 Update keywords list, data type and PL/pgSQL.
4194
4195 2012-12-14 Dave Abrahams <dave@boostpro.com>
4196
4197 * vc/ediff-util.el (ediff-buffer-type): New function.
4198 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
4199 rather than taking it as as argument.
4200 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
4201
4202 2012-12-14 Ryan Crum <ryan.crum@eleostech.com>
4203
4204 * json.el: Add pretty-print option (bug#12634).
4205 (json-encoding-separator, json-encoding-default-indentation)
4206 (json--encoding-current-indentation, json-encoding-pretty-print)
4207 (json-encoding-lisp-style-closings): New vars.
4208 (json--with-indentation): New macro.
4209 (json-encode-hash-table, json-encode-alist, json-encode-plist)
4210 (json-encode-array): Use it to obey json-encoding-pretty-print.
4211 (json-pretty-print-buffer, json-pretty-print): New commands.
4212
4213 2012-12-14 Dmitry Gutov <dgutov@yandex.ru>
4214
4215 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
4216 Extract `ruby-syntax-propertize-expansions'.
4217 (ruby-syntax-propertize-expansions): Only change syntax on
4218 certain string delimiters, to punctuation. This way the common
4219 functions like forward-word and thing-at-point still work.
4220 (ruby-match-expression-expansion): Improve readability.
4221 (ruby-block-contains-point): New function.
4222 (ruby-add-log-current-method): Handle several edge cases.
4223
4224 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
4225
4226 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
4227 unload-feature finishes even when aborting an ongoing edebug session.
4228 Also, do not worry about edebug-mode, unload-feature takes care of it.
4229
4230 2012-12-13 Andreas Schwab <schwab@suse.de>
4231
4232 * net/tls.el (tls-program): Update customize type.
4233
4234 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
4235
4236 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
4237 (edebug-setup-hook, cl-read-load-hooks): Use it.
4238 (edebug-unload-function): New function. (Bug#13163)
4239
4240 2012-12-13 Michael Albinus <michael.albinus@gmx.de>
4241
4242 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
4243 Otherwise, there could be errors in autoloading. (Bug#13151)
4244
4245 2012-12-13 JĂ¼rgen Hötzel <juergen@archlinux.org>
4246
4247 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
4248 sequences.
4249
4250 2012-12-13 Alan Mackenzie <acm@muc.de>
4251
4252 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
4253 * progmodes/cc-engine.el (c-backward-comments): Add code to work
4254 around `forward-comment' not recognizing ^M as whitespace.
4255
4256 2012-12-13 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
4257
4258 * progmodes/python.el (python-skeleton-class)
4259 (python-skeleton-def): Do not add space after defun name.
4260
4261 2012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
4262
4263 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
4264 (cl--symbol-function): Remove (now that funbound is like nil).
4265
4266 2012-12-12 Glenn Morris <rgm@gnu.org>
4267
4268 * button.el (button--area-button-p): Fix typo.
4269
4270 2012-12-12 Sam Steingold <sds@gnu.org>
4271
4272 * frame.el (frame-maximization-style): New user option.
4273 (toggle-frame-maximized): Toggle frame maximization according to
4274 `frame-maximization-style', bound to <f11>.
4275 (cycle-frame-maximized): Cycle between all maximization styles and
4276 non-maximized frame, bound to shift-<f11>.
4277
4278 2012-12-12 David Cadé <codename68@gmail.com>
4279
4280 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
4281
4282 2012-12-12 Jonas Bernoulli <jonas@bernoul.li>
4283
4284 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
4285 (eieio-override-prin1): Don't quote kewords and booleans.
4286 (object-write) <eieio-default-superclass>: Don't put closing parens
4287 on new line, avoid needless empty lines, align values that are objects
4288 with the slot keyword (instead of beginning on the same line).
4289 (eieio-list-prin1): Align value with slot keyword; increase
4290 eieio-print-depth before printing members of the list.
4291
4292 2012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
4293
4294 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
4295 a display text-property.
4296 (report-emacs-bug-hook): Don't bother deleting it any more.
4297
4298 * hilit-chg.el (highlight-save-buffer-state): Delete.
4299 Use with-silent-modifications instead.
4300 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
4301
4302 * button.el: Handle buttons in display text-properties.
4303 (button--area-button-p, button--area-button-string):
4304 Use (STRING . STRING-POS) representation instead of just STRING.
4305
4306 2012-12-11 Eli Zaretskii <eliz@gnu.org>
4307
4308 * makefile.w32-in (compile4-SH): Fix a typo that caused term
4309 subdirectory be skipped.
4310
4311 2012-12-11 Glenn Morris <rgm@gnu.org>
4312
4313 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
4314
4315 * progmodes/f90.el (f90-line-continued, f90-indent-region):
4316 Treat preprocessor lines embedded in continuations like comments.
4317 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
4318
4319 2012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
4320
4321 * calc/calc.el (calc-standard-date-formats): Add more date
4322 formats.
4323 * calc/calc-forms.el (math-parse-iso-date): New function.
4324 (math-parse-date): Use `math-parse-iso-date' when appropriate.
4325 (math-parse-iso-date-validate): Add extra error checking.
4326 (calc-date-notation): Add ability to access new date formats.
4327
4328 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
4329
4330 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
4331 font-lock as well as when there's no text-property.
4332
4333 2012-12-10 Jambunathan K <kjambunathan@gmail.com>
4334
4335 * hi-lock.el: Refine the choice of default face.
4336 (hi-lock-keyword->face): New function. Use it wherever we used
4337 cadadadr instead.
4338 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
4339 (hi-lock--last-face): Remove var.
4340 (hi-lock--unused-faces): New var to replace it.
4341 (hi-lock-read-face-name): Use/maintain it.
4342 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
4343 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
4344 if it has another face.
4345
4346 2012-12-10 Eli Zaretskii <eliz@gnu.org>
4347
4348 * subr.el (w32notify-handle-event): New function.
4349 (inotify-handle-event): Doc fix.
4350
4351 2012-12-10 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
4352
4353 * subr.el (inotify-event-p, inotify-handle-event): New functions.
4354
4355 2012-12-10 Dani Moncayo <dmoncayo@gmail.com>
4356
4357 * simple.el (just-one-space): Doc fix.
4358
4359 2012-12-10 Eli Zaretskii <eliz@gnu.org>
4360
4361 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
4362
4363 2012-12-10 Le Wang <l26wang@gmail.com>
4364
4365 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
4366 narrowed buffer (bug#12361).
4367
4368 2012-12-10 Juanma Barranquero <lekktu@gmail.com>
4369
4370 * vc/vc-hooks.el (vc-state): Doc fix.
4371
4372 2012-12-10 Glenn Morris <rgm@gnu.org>
4373
4374 * mail/rmail.el (rmail-maybe-display-summary):
4375 Preserve buffer, in case select-window changes it. (Bug#13066)
4376
4377 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
4378
4379 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
4380 cl-load-hook where they belong.
4381
4382 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
4383
4384 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
4385
4386 2012-12-09 Eli Zaretskii <eliz@gnu.org>
4387
4388 Parallelize byte compilation on MS-Windows.
4389 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
4390 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
4391 (WINS_BASIC): Define as concatenation of the above.
4392 (compile): Subdivide into 4 separate and independent jobs that can
4393 be run in parallel.
4394 (compile0-CMD, compile0-SH): New targets for compiling
4395 COMPILE_FIRST files, which are prerequisites for the rest of the
4396 byte-compilation.
4397 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
4398 New targets for parallel compilation with cmd.exe.
4399 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
4400 compiling under a Unixy shell.
4401
4402 2012-12-09 Chong Yidong <cyd@gnu.org>
4403
4404 * simple.el (set-mark-default-inactive): Delete this
4405 accidentally-introduced option.
4406 (set-mark-command, exchange-point-and-mark): Remove calls.
4407
4408 2012-12-09 Glenn Morris <rgm@gnu.org>
4409
4410 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
4411 Respect a defcustom's :set function, if appropriate. (Bug#109)
4412 (eval-defun): Doc fix.
4413
4414 2012-12-08 Juri Linkov <juri@jurta.org>
4415
4416 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
4417 (Info-fontify-node, Info-bookmark-make-record): Remove the
4418 file extension from Info-current-file (Bug#13016).
4419
4420 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
4421
4422 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
4423 point, still provide some default.
4424 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
4425 names, since we don't use it right now. Actually return the list.
4426 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
4427
4428 2012-12-07 Chong Yidong <cyd@gnu.org>
4429
4430 * novice.el (disabled-command-function): Remove a spurious help
4431 xref (Bug#13043). Suggested by Kelly Dean.
4432
4433 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
4434 syntax is specified (Bug#13025).
4435
4436 * info.el (Info-set-mode-line): Remove the file extension from
4437 Info-current-file if there is one (Bug#13016).
4438
4439 2012-12-07 Glenn Morris <rgm@gnu.org>
4440
4441 * mail/rmail.el (rmail-mime-decoded): New permanent local.
4442 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
4443 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
4444 and rmail-mime-decoded. (Bug#9841)
4445
4446 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
4447 (batch-unrmail, unrmail): Doc fixes.
4448 (unrmail): Respect unrmail-mbox-format.
4449 * mail/rmail.el (rmail-mbox-format): New option.
4450 (rmail-show-message-1): Respect rmail-mbox-format.
4451
4452 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
4453
4454 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
4455
4456 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4457
4458 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
4459 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
4460 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
4461 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
4462 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
4463 (cl-progv): Don't rely on dynamic scoping to find the body.
4464 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
4465 (cl--proclaims-deferred): Rename from the "cl-" prefix.
4466 (cl-declaim): Use backquotes.
4467 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
4468 Use "cl--" prefix for the object's tag.
4469
4470 * ses.el: Use advice-add/remove.
4471 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
4472 (copy-region-as-kill, yank): Use advice-add.
4473 (ses-unload-function): Use advice-remove.
4474
4475 2012-12-06 Jonas Bernoulli <jonas@bernoul.li>
4476
4477 * button.el: Make them work in header-lines (bug#12817).
4478 (button-map): Add bindings for header-line and mode-line use.
4479 (button-get, button-put, button-label): `button' may now be a string.
4480 (button-activate): Don't make it a defsubst.
4481 (button--area-button-p, button--area-button-string): New functions.
4482 (make-text-button): Fix the return value when `beg' was a string.
4483 (push-button): Handle the mode-line case.
4484
4485 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4486
4487 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
4488 (sql-signum): Remove. Use `cl-signum' instead.
4489 (sql-read-passwd): Remove; use read-passwd instread.
4490 (sql-get-login-ext): Use read-string.
4491 (sql-get-login): Use dolist and pcase.
4492 (sql--completion-table): Rename from sql-try-completion.
4493 Use complete-with-action.
4494 (sql-mode): Don't change abbrev-all-caps globally.
4495 (sql-connect): Don't rely on dynamic scoping for `new-name'.
4496 (sql-postgres-completion-object): Initialize vars in their `let'.
4497 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
4498 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
4499 (sql-comint-interbase): Use a single append, without setq.
4500 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
4501
4502 * hi-lock.el: Rework the default face and the serialize regexp code.
4503 (hi-lock--auto-select-face-defaults): Remove.
4504 (hi-lock-string-serialize-serial): Remove.
4505 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
4506 make weak.
4507 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
4508 equal string.
4509 (hi-lock-set-pattern): Adjust accordingly.
4510 (hi-lock--regexps-at-point): Simplify accordingly.
4511 (hi-lock--auto-select-face-defaults): Remove.
4512 (hi-lock--last-face): New var to replace it.
4513 (hi-lock-read-face-name): Rewrite (bug#11095).
4514 (hi-lock-unface-buffer): Arrange for the face to be the next default.
4515
4516 2012-12-06 Michael Albinus <michael.albinus@gmx.de>
4517
4518 * net/tramp.el (tramp-replace-environment-variables):
4519 Hide compiler warning.
4520 (tramp-file-name-for-operation): Remove `executable-find',
4521 `start-process', `call-process' and `call-process-region'.
4522
4523 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
4524
4525 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
4526 compatibility.
4527
4528 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
4529
4530 2012-12-06 Chong Yidong <cyd@gnu.org>
4531
4532 * ffap.el (ffap-replace-file-component): Fix typo.
4533
4534 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4535
4536 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
4537 fix open-paren-like token test (bug#12785).
4538
4539 2012-12-06 Glenn Morris <rgm@gnu.org>
4540
4541 * mail/rmailsum.el (rmail-new-summary): Tweak for
4542 rmail-maybe-display-summary changing buffer. (Bug#13066)
4543
4544 2012-12-06 Juri Linkov <juri@jurta.org>
4545
4546 * info.el (Info-fontify-node): Don't hide the last newline.
4547 (Bug#12272)
4548
4549 2012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
4550
4551 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
4552 so as to enable message-read-from-minibuffer to expand mail aliases.
4553
4554 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4555
4556 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
4557 the `intangible' property.
4558 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
4559
4560 2012-12-05 Deniz Dogan <deniz@dogan.se>
4561
4562 * net/rcirc.el (rcirc-urls): Update documentation.
4563 (rcirc-condition-filter): New function.
4564 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
4565 and exclude consecutive duplicate URLs (Bug#6082).
4566
4567 2012-12-05 Michael Albinus <michael.albinus@gmx.de>
4568
4569 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
4570 Check return code of copy command.
4571
4572 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
4573 Use group `tramp'. Add version.
4574
4575 2012-12-05 Chong Yidong <cyd@gnu.org>
4576
4577 * ffap.el (ffap-url-regexp): Don't require matching at front of
4578 string (Bug#4952).
4579 (ffap-url-p): If only a substring matches, return that.
4580 (ffap-url-at-point): Use the return value of ffap-url-p.
4581 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
4582 (find-file-at-point, dired-at-point, dired-at-point-prompter)
4583 (ffap-guess-file-name-at-point): Likewise.
4584 (ffap-replace-file-component): Fix typo.
4585
4586 * info.el (info-display-manual): Add existing Info buffers, whose
4587 files may not be in Info-directory-list, to the completion.
4588 (info--manual-names): New helper function.
4589
4590 2012-12-05 Glenn Morris <rgm@gnu.org>
4591
4592 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
4593 New functions, for detecting and resolving conflicts. (Bug#10709)
4594
4595 2012-12-04 Jambunathan K <kjambunathan@gmail.com>
4596
4597 * hi-lock.el (hi-lock-auto-select-face): New user variable.
4598 (hi-lock-auto-select-face-defaults): New buffer local variable.
4599 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
4600 (hi-lock-unface-buffer): Prompt user with useful defaults.
4601 With prefix arg, unhighlight all hi-lock patterns in buffer.
4602
4603 2012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
4604
4605 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
4606
4607 2012-12-04 Michael Albinus <michael.albinus@gmx.de>
4608
4609 * Makefile.in (TRAMP_SRC):
4610 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
4611
4612 2012-12-04 Juergen Hoetzel <juergen@archlinux.org>
4613
4614 * net/tramp-adb.el: New package.
4615
4616 2012-12-04 Chong Yidong <cyd@gnu.org>
4617
4618 * terminal.el: Move to obsolete/.
4619
4620 * longlines.el: Move to obsolete/.
4621
4622 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
4623 Remove code referring to longlines mode.
4624
4625 2012-12-03 Juri Linkov <juri@jurta.org>
4626
4627 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
4628
4629 2012-12-03 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
4630
4631 * textmodes/ispell.el (ispell-init-process)
4632 (ispell-start-process, ispell-internal-change-dictionary):
4633 Make sure personal dictionary name is expanded after initial
4634 `default-directory' value. Use expanded strings for
4635 keep/restart checks and for value (Bug#13019).
4636
4637 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
4638
4639 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
4640
4641 2012-12-03 Leo Liu <sdl.web@gmail.com>
4642
4643 * files.el (dir-locals-read-from-file): Check file non-empty
4644 before reading. (Bug#13038)
4645
4646 2012-12-03 Glenn Morris <rgm@gnu.org>
4647
4648 * jka-cmpr-hook.el (jka-compr-get-compression-info):
4649 Remove any version extension before checking filename. (Bug#13006)
4650 (jka-compr-compression-info-list): Belated :version bump.
4651
4652 2012-12-03 Chong Yidong <cyd@gnu.org>
4653
4654 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
4655
4656 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
4657 (buffer-menu): Doc fix (Bug#12294).
4658
4659 2012-12-03 Roland Winkler <winkler@gnu.org>
4660
4661 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
4662 of diary-show-all-entries in the diary buffer (Bug#12994).
4663
4664 2012-12-03 Michael Albinus <michael.albinus@gmx.de>
4665
4666 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
4667 "<STDIN>". This is binary safe.
4668
4669 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
4670
4671 * calc/calc-forms.el (math-absolute-from-iso-dt)
4672 (math-date-to-iso-dt, math-parse-iso-date-validate)
4673 (math-iso-dt-to-date): New functions.
4674 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
4675 (math-fd-isoweekday): New variables.
4676 (calc-date-notation, math-parse-standard-date, math-format-date)
4677 (math-format-date-part): Add support for more formatting codes.
4678
4679 2012-12-02 Dmitry Gutov <dgutov@yandex.ru>
4680
4681 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
4682 current buffer's file name when called interactively (Bug#12488).
4683
4684 2012-12-02 Juri Linkov <juri@jurta.org>
4685
4686 * info.el (info-display-manual): Don't clobber an existing Info
4687 buffer (Bug#10770). Add completion (Bug#10771).
4688
4689 2012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
4690
4691 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
4692 before using it for comparison (Bug#5297).
4693
4694 2012-12-01 Jari Aalto <jari.aalto@cante.net>
4695
4696 * textmodes/css-mode.el (css-current-defun-name): New function.
4697 (css-mode): Use it.
4698
4699 * textmodes/sgml-mode.el (html-current-defun-name): New function.
4700 (html-mode): Use it.
4701
4702 2012-12-01 Chong Yidong <cyd@gnu.org>
4703
4704 Modularize add-log-current-defun (Bug#2224).
4705 Suggested by Jari Aalto.
4706
4707 * vc/add-log.el (add-log-current-defun-function): Doc fix.
4708 (add-log-current-defun): Move mode-specific code to other files.
4709 (add-log-lisp-like-modes, add-log-c-like-modes)
4710 (add-log-tex-like-modes): Variables deleted.
4711
4712 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
4713 (lisp-mode-variables): Use it.
4714
4715 * progmodes/cc-mode.el (c-common-init):
4716 * progmodes/cperl-mode.el (cperl-mode): Set a value for
4717 add-log-current-defun-function.
4718
4719 * progmodes/m4-mode.el (m4-current-defun-name): New function.
4720 (m4-mode): Use it.
4721
4722 * progmodes/perl-mode.el (perl-current-defun-name): New.
4723 (perl-mode): Use it.
4724
4725 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
4726 Use lisp-current-defun-name.
4727
4728 * textmodes/tex-mode.el (tex-current-defun-name): New.
4729 (tex-common-initialization): Use it.
4730
4731 * textmodes/texinfo.el (texinfo-current-defun-name): New.
4732 (texinfo-mode): Use it.
4733
4734 2012-12-01 Chong Yidong <cyd@gnu.org>
4735
4736 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
4737 * progmodes/autoconf.el (autoconf-mode):
4738 * progmodes/js.el (js-mode):
4739 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
4740 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
4741 * progmodes/perl-mode.el (perl-mode):
4742 * progmodes/sh-script.el (sh-mode, sh-set-shell):
4743 * textmodes/css-mode.el (css-mode):
4744 * textmodes/sgml-mode.el (html-mode, sgml-mode)
4745 (sgml-tags-invisible, sgml-guess-indent):
4746 * textmodes/tex-mode.el (tex-common-initialization)
4747 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
4748 (doctex-mode, plain-tex-mode, latex-mode):
4749 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
4750
4751 2012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
4752
4753 * vc/vc-hg.el (vc-hg-next-revision):
4754 Ensure use of default "tip" output format. (Bug#6968)
4755
4756 2012-12-01 Kim F. Storm <storm@cua.dk>
4757
4758 * startup.el (fancy-startup-tail): Add a clickable link
4759 (Bug#2176).
4760
4761 2012-12-01 Chong Yidong <cyd@gnu.org>
4762
4763 * startup.el (fancy-startup-tail): Improve the message about
4764 auto-save files (Bug#2176).
4765
4766 * files.el (recover-session): Improve the descriptive message, and
4767 use substitute-command-keys.
4768
4769 2012-12-01 Glenn Morris <rgm@gnu.org>
4770
4771 * ido.el (ido-file-internal):
4772 Handle other-window, other-frame for dired. (Bug#13036)
4773
4774 2012-11-30 Glenn Morris <rgm@gnu.org>
4775
4776 * icomplete.el (icomplete-separator): Fix :version.
4777
4778 2012-11-30 Chong Yidong <cyd@gnu.org>
4779
4780 * shell.el (shell): For C-u M-x shell, use an inactive shell
4781 buffer as the default (Bug#1975).
4782 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
4783 (shell-mode): Use them to reapply ansi colorization if Shell mode
4784 is re-enabled.
4785
4786 2012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
4787
4788 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
4789
4790 2012-11-30 Samuel Bronson <naesten@gmail.com>
4791
4792 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
4793 flag to xargs, for compatibility with BSD xargs (Bug#11703).
4794
4795 2012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
4796
4797 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
4798 by move-to-column (Bug#3234).
4799
4800 2012-11-30 Chong Yidong <cyd@gnu.org>
4801
4802 * longlines.el (longlines-wrap-line, longlines-encode-region):
4803 Preserve text properties (Bug#1425).
4804
4805 2012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
4806
4807 * vc/vc.el (vc-register): Allow registering a file which is
4808 already registered with a different backend (Bug#10589).
4809
4810 2012-11-29 Jambunathan K <kjambunathan@gmail.com>
4811 Stefan Monnier <monnier@iro.umontreal.ca>
4812
4813 * icomplete.el: Change separator; add ido-style commands.
4814 (icomplete-show-key-bindings): Remove custom var.
4815 (icomplete-get-keys): Remove function.
4816 (icomplete-forward-completions, icomplete-backward-completions):
4817 New commands.
4818 (icomplete-minibuffer-map): New var.
4819 (icomplete-minibuffer-setup): Use it.
4820 (icomplete-exhibit): Don't delay if the list of completions is known.
4821 (icomplete-separator): New custom.
4822 (icomplete-completions): Use it.
4823 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
4824 (minibuffer-force-complete-and-exit): New command.
4825 (minibuffer--complete-and-exit): New function extracted from
4826 minibuffer-complete-and-exit.
4827 (minibuffer-complete-and-exit): Use it.
4828
4829 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
4830 error message when the file doesn't exist (bug#12974).
4831
4832 2012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
4833
4834 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
4835
4836 2012-11-29 Glenn Morris <rgm@gnu.org>
4837
4838 * files.el (hack-dir-local-variables): Warn if try to set
4839 coding via dir-locals, since it doesn't work. (Bug#7169)
4840
4841 Add desktop support for restoring vc-dir buffers. (Bug#10606)
4842 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
4843 Set buffer-local value of desktop-save-buffer.
4844 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
4845 New functions.
4846 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
4847 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
4848
4849 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
4850 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
4851 Doc fix.
4852 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
4853 Doc fixes.
4854
4855 2012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
4856
4857 * calc/calc-forms.el (calc-date-notation): Fix regexp
4858 used to find time codes. Fix symbol for seconds.
4859
4860 2012-11-27 Glenn Morris <rgm@gnu.org>
4861
4862 * emacs-lisp/derived.el (derived-mode-make-docstring):
4863 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
4864
4865 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
4866
4867 * textmodes/table.el (table-insert): Don't use `symbol-name' on
4868 lexically scoped variables (bug#13005).
4869
4870 2012-11-27 Glenn Morris <rgm@gnu.org>
4871
4872 * vc/vc-hooks.el (vc-mistrust-permissions):
4873 Default to t, to avoid data-loss. (Bug#11490)
4874
4875 2012-11-27 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
4876
4877 * progmodes/python.el (python-indent-guess-indent-offset):
4878 If indentation is guessed make python-indent-offset buffer-local.
4879
4880 Fix Imenu regression.
4881 * progmodes/python.el (python-nav-beginning-of-defun):
4882 Fix forward movement when statement(s) separates point from defun.
4883 (python-imenu-prev-index-position): New function.
4884
4885 2012-11-27 Eli Zaretskii <eliz@gnu.org>
4886
4887 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
4888
4889 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
4890 Don't set buffer-file-type. Return nil. (Bug#12989)
4891
4892 2012-11-27 Glenn Morris <rgm@gnu.org>
4893
4894 * hippie-exp.el (hippie-expand-try-functions-list):
4895 Re-autoload it. (Bug#12982)
4896
4897 2012-11-27 Eli Zaretskii <eliz@gnu.org>
4898
4899 * descr-text.el (describe-char-padded-string):
4900 Call internal-char-font only on GUI frames. (Bug#11964)
4901
4902 2012-11-27 Andreas Schwab <schwab@linux-m68k.org>
4903
4904 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
4905 and obsoletion message.
4906
4907 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
4908
4909 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
4910 the constructs to keep outside of the `cl-block' (bug#12977).
4911
4912 2012-11-27 Chong Yidong <cyd@gnu.org>
4913
4914 * mouse.el (mouse-drag-line): Even if the line is not draggable,
4915 keep reading until we get the up-event anyway, in order to process
4916 the up-event for mouse-1-click-follows-link (Bug#12971).
4917
4918 2012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
4919
4920 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
4921 base function is not yet defined (bug#12965).
4922 (ad-activate-advised-definition): Use ad-compile-function.
4923 (ad-activate): Use cond.
4924
4925 2012-11-25 Leo Liu <sdl.web@gmail.com>
4926
4927 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
4928 (Bug#12979)
4929
4930 2012-11-24 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
4931
4932 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
4933 reftex-section-info-function in order to be compatible with
4934 Texinfo integration.
4935
4936 * textmodes/reftex.el (reftex-section-pre-regexp)
4937 (reftex-section-post-regexp, reftex-section-info-function):
4938 New variable.
4939 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
4940 reftex-section-post-regexp, and reftex-section-info-function in order
4941 to be compatible with Texinfo integration.
4942
4943 * textmodes/reftex-toc.el (reftex-toc-promote-action):
4944 use reftex-section-pre-regexp variable in order to be compatible with
4945 Texinfo integration.
4946
4947 2012-11-25 Chong Yidong <cyd@gnu.org>
4948
4949 * faces.el: Make face-spec-set more analogous to setq.
4950 (face-spec-set): Change the third arg to specify whether this
4951 function is being called via defface, customize, or a third party.
4952 Set the appropriate symbol properties. Clear the override spec if
4953 setting via Custom. Initialize face if necessary. (Bug#4988)
4954 (face-spec-recalc): Allow theme faces to completely replace the
4955 defface spec, in the same way as custom faces (Bug#8454).
4956
4957 * cus-face.el (custom-declare-face): Move face initialization to
4958 face-spec-set.
4959 (custom-theme-set-faces): Don't initialize the face name here, as
4960 that is now done in face-spec-set.
4961
4962 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
4963 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
4964 Simplify by using the new arg to face-spec-set.
4965
4966 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
4967 reset face-override-spec too, and use custom-declare-face.
4968
4969 2012-11-24 Jan Djärv <jan.h.d@swipnet.se>
4970
4971 * term/ns-win.el (ns-initialize-window-system): Move creation of
4972 fontsets here (Bug#11964).
4973
4974 2012-11-24 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
4975
4976 * ses.el (ses-rename-cell): Correct bug on mode-line update after
4977 cell renaming.
4978
4979 2012-11-24 Chong Yidong <cyd@gnu.org>
4980
4981 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
4982 obsolete.
4983
4984 * custom.el (custom-theme-set-variables): Use a topological sort
4985 for ordering by custom dependencies (Bug#12952).
4986 (custom--sort-vars, custom--sort-vars-1): New functions.
4987
4988 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
4989
4990 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
4991 lexical-binding (bug#12938).
4992
4993 2012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
4994
4995 * image-mode.el (image-transform-check-size): Use assertions only
4996 for images of type imagemagick.
4997
4998 Otherwise no error, image-transform-fit-to-{width,height} is
4999 silently ignored, as before. Doc fix.
5000
5001 2012-11-24 Chong Yidong <cyd@gnu.org>
5002
5003 * faces.el (color-defined-p): Doc fix (Bug#12853).
5004
5005 2012-11-24 Juri Linkov <juri@jurta.org>
5006
5007 * dired.el (dired-mark): Add optional arg `interactive'.
5008 Check for `use-region-p' if `interactive' is non-nil.
5009 (dired-unmark, dired-flag-file-deletion): Add optional arg
5010 `interactive'. Call `dired-mark' with the arg `interactive'.
5011 (Bug#10624)
5012
5013 * wdired.el: Revert 2012-10-17 change partly and replace it with
5014 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
5015 (wdired-finish-edit): Add marks for new file names to
5016 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
5017 after `revert-buffer'.
5018 (wdired-do-renames): Remove calls to `dired-remove-file',
5019 `dired-add-file', `dired-add-entry'. (Bug#11795)
5020
5021 2012-11-24 Alan Mackenzie <acm@muc.de>
5022
5023 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
5024
5025 Fix bugs in the state cache. Enhance a debugging mechanism.
5026 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
5027 "brace at column zero" strategy for C++.
5028 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
5029 (c-parse-state-point): New variable.
5030 (c-record-parse-state-state): Record old parse state with
5031 `copy-tree'. Record previous value of point.
5032 (c-debug-parse-state-double-cons): New debugging function.
5033 (c-debug-parse-state): Call the above new function.
5034 (c-toggle-parse-state-debug): Output a confirmatory message.
5035
5036 * progmodes/cc-mode.el (c-before-change, c-after-change):
5037 Call c-invalidate-state-cache from `c-before-change' instead of
5038 `c-after-change'.
5039
5040 2012-11-23 Chong Yidong <cyd@gnu.org>
5041
5042 * find-cmd.el (find-constituents): Add executable, ipath,
5043 readable, samefile, writable, daystart, regextype (Bug#12856).
5044
5045 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
5046
5047 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
5048
5049 2012-11-22 Paul Eggert <eggert@cs.ucla.edu>
5050
5051 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
5052 definition. This fixes a bootstrap failure.
5053 (calc-gregorian-switch): In menu, put dates before regions.
5054 This is easier to follow, lines up better in the menu, and lets us
5055 coalesce regions that switch at the same time. Give country
5056 names, not "Vatican", as that's better for non-expert users.
5057 Use names that are stable between the date of switch and now, e.g.,
5058 Bohemia and Moravia (which existed then and now) and not
5059 Czechoslovakia (which didn't exist then and doesn't exist now).
5060 What is now the U.S. mostly did not switch at the same time as
5061 Britain, so omit the U.S. Correct spelling of "Britain".
5062 Catholic Switzerland was too much of a mess, so omit it.
5063
5064 2012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
5065
5066 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
5067 after the variable is changed.
5068
5069 2012-11-21 Daniel Colascione <dancol@dancol.org>
5070
5071 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
5072 in SQL declarations for font-lock.
5073 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
5074
5075 2012-11-21 Glenn Morris <rgm@gnu.org>
5076
5077 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
5078 (face-italic-p): Add optional argument "inherit".
5079
5080 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
5081 Remove -p suffix from names, for consistency with other set-face-*.
5082 (set-face-inverse-video): Fix interactive spec.
5083 * play/gamegrid.el (gamegrid-make-mono-tty-face):
5084 * textmodes/table.el (table--update-cell-face):
5085 Use set-face-inverse-video rather than now obsolete alias.
5086
5087 2012-11-21 Eli Zaretskii <eliz@gnu.org>
5088
5089 * simple.el (line-move): Don't call line-move-partial if
5090 scroll-conservatively is in effect. (Bug#12927)
5091
5092 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
5093
5094 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
5095 Fallback on completion-at-point rather than
5096 pcomplete-expand-and-complete, and only if pcomplete actually failed.
5097 (eshell-cmpl-initialize): Setup completion-at-point.
5098
5099 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
5100
5101 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
5102
5103 2012-11-21 Michael Albinus <michael.albinus@gmx.de>
5104
5105 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
5106 are remote, check out-of-band property for both.
5107
5108 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
5109
5110 * window.el (switch-to-buffer): Re-add the warning that was lost in the
5111 code rewrite.
5112
5113 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
5114
5115 More minor time fixes.
5116 * calendar/time-date.el: Commentary fix.
5117 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
5118 too much other code depends on (0 0) time stamps.
5119 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
5120 Add a couple of FIXME comments.
5121
5122 Minor cleanup for times as lists of four integers.
5123 * files.el (dir-locals-directory-cache):
5124 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
5125 Doc fixes.
5126 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
5127 * ps-bdf.el (bdf-file-newer-than-time):
5128 Process four-integers time stamps, not two. Doc fixes.
5129
5130 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
5131
5132 * uniquify.el (uniquify-managed): Use defvar-local.
5133 (rename-buffer, create-file-buffer): Advise with advice-add.
5134 (uniquify-unload-function): Unadvise accordingly.
5135
5136 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
5137 (trace-buffer): Don't purecopy.
5138 (trace-entry-message, trace-exit-message): Add `context' arg.
5139 (trace--timer): New var.
5140 (trace-make-advice): Adjust for use in nadvice.
5141 Add `context' argument. Delay `display-buffer' via a timer.
5142 (trace-function-internal): Use advice-add.
5143 (trace--read-args): New function.
5144 (trace-function-foreground, trace-function-background): Use it.
5145 (trace-function): Rename to trace-function-foreground and redefine as
5146 an alias to that new name.
5147 (untrace-function, untrace-all): Adjust to the use of nadvice.
5148
5149 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
5150
5151 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
5152
5153 * subr.el (called-interactively-p-functions): New var.
5154 (internal--called-interactively-p--get-frame): New macro.
5155 (called-interactively-p, interactive-p): Rewrite in Lisp.
5156 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
5157 (called-interactively-p-functions): Use it.
5158 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
5159 (called-interactively-p-functions): Use it.
5160 * allout.el (allout-called-interactively-p): Don't assume
5161 called-interactively-p is a subr.
5162
5163 2012-11-20 Glenn Morris <rgm@gnu.org>
5164
5165 * profiler.el (profiler-report-mode-map): Add a menu.
5166 No need to bind `q' because we derive from special-mode.
5167 (profiler-report-find-entry): Handle calls from the menu-bar.
5168
5169 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
5170
5171 * emacs-lisp/byte-run.el (defun-declarations-alist):
5172 Allow a compiler-macro to be a lambda expression.
5173
5174 * progmodes/python.el: Use cl-lib. Move var declarations outside of
5175 eval-when-compile.
5176 (python-syntax-context): Add compiler-macro.
5177 (python-font-lock-keywords): Simplify with De Morgan.
5178
5179 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
5180
5181 * files.el (load-file): Require match in minibuffer selection, as was
5182 the case in Emacs-20 before we changed the spec to allow .elc files
5183 (bug#12935).
5184
5185 * json.el: Don't require cl since we don't use it.
5186 * color.el: Don't require cl.
5187 (color-complement): `caddr' -> `nth 2'.
5188
5189 * calendar/time-date.el (time-to-seconds): De-obsolete.
5190
5191 2012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
5192
5193 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
5194 year numbers.
5195 (math-date-to-julian-dt): Adjust the initial approximation for the
5196 year to deal with the new definition of the DATE.
5197
5198 2012-11-19 Daniel Colascione <dancol@dancol.org>
5199
5200 * term/w32-win.el (cygwin-convert-path-from-windows):
5201 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
5202
5203 2012-11-18 Chong Yidong <cyd@gnu.org>
5204
5205 * filecache.el (file-cache--read-list): New function.
5206 (file-cache-add-directory-list, file-cache-add-file-list)
5207 (file-cache-delete-file-list, file-cache-delete-directory-list):
5208 Use it to read a list of files or directories (Bug#12846).
5209 (file-cache-add-file, file-cache-add-directory)
5210 (file-cache-delete-file-list, file-cache-delete-file-regexp)
5211 (file-cache-delete-directory): Print an message.
5212
5213 2012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
5214
5215 * calc/calc-forms.el (math-date-to-dt): Use integer date when
5216 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
5217
5218 2012-11-18 Glenn Morris <rgm@gnu.org>
5219
5220 * image.el (insert-image, insert-sliced-image): Doc fix.
5221
5222 2012-11-18 Chong Yidong <cyd@gnu.org>
5223
5224 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
5225 (Bug#12810).
5226
5227 2012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
5228
5229 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
5230 response when the target file is in a subdirectory (Bug#12757).
5231
5232 2012-11-18 Chong Yidong <cyd@gnu.org>
5233
5234 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
5235
5236 2012-11-18 Glenn Morris <rgm@gnu.org>
5237
5238 * emacs-lisp/cl-lib.el (face-underline-p):
5239 Use set-face-underline rather than the alias set-face-underline-p.
5240
5241 * window.el (with-temp-buffer-window): Doc fix.
5242 * subr.el (with-output-to-temp-buffer):
5243 Add doc xref to with-temp-buffer-window.
5244
5245 2012-11-18 Juanma Barranquero <lekktu@gmail.com>
5246
5247 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
5248 * calc/calc.el (math-format-date-cache): Declare.
5249
5250 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
5251
5252 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
5253 It also uses January 1, 1 AD as its day number 1.
5254 * calc/calc-forms.el (math-julian-date-beginning)
5255 (math-julian-date-beginning-int): Implement this.
5256
5257 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
5258
5259 * descr-text.el (quail-find-key):
5260 * dired.el (desktop-file-name):
5261 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
5262 * generic-x.el (comint-mode, comint-exec):
5263 * image-dired.el (widget-forward):
5264 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
5265 (speedbar-change-expand-button-char)
5266 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
5267 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
5268 * printing.el (easy-menu-add-item, easy-menu-remove-item)
5269 (widget-field-action, widget-value-set):
5270 * speedbar.el (imenu--make-index-alist):
5271 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
5272 (ring-length, ring-insert):
5273 * vcursor.el (compare-windows-skip-whitespace):
5274 * woman.el (dired-get-filename):
5275 Declare functions.
5276
5277 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
5278
5279 2012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
5280
5281 * calc/calc.el (calc-gregorian-switch): New variable.
5282
5283 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
5284 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
5285 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
5286 (math-leap-year-p): Add option to distinguish between Julian
5287 and Gregorian calendars.
5288 (math-day-number): Use `math-day-in-year' to do the computations.
5289 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
5290 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
5291 to do the computations.
5292 (math-date-to-dt): Use `math-date-to-julian-dt' and
5293 `math-date-to-gregorian-dt' to do the computations.
5294 (calcFunc-weekday, math-format-date-part): Use the new version of
5295 the DATE to determine the weekday.
5296 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
5297 when necessary.
5298
5299 2012-11-17 Eli Zaretskii <eliz@gnu.org>
5300
5301 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
5302 Cygwin; otherwise use 'file:'. (Bug#12914)
5303 (cygwin-convert-path-from-windows): Declare, to avoid
5304 byte-compiler warnings.
5305
5306 2012-11-17 Andreas Politz <politza@fh-trier.de>
5307
5308 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
5309 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
5310 prefix and negative numeric prefix args (Bug#12795).
5311
5312 2012-11-17 Stephen Berman <stephen.berman@gmx.net>
5313
5314 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
5315 Don't signal an error with a score that is too low to add to the
5316 list of top scores. (Bug#12779)
5317
5318 2012-11-17 Chong Yidong <cyd@gnu.org>
5319
5320 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
5321
5322 * filecache.el (file-cache-add-file): Handle relative file name in
5323 the argument (Bug#12694).
5324
5325 2012-11-16 JĂ¼rgen Hötzel <juergen@archlinux.org> (tiny change)
5326
5327 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
5328
5329 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
5330
5331 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
5332
5333 * emacs-lisp/cl-lib.el: Set more meaningful version number.
5334
5335 2012-11-16 Martin Rudalics <rudalics@gmx.at>
5336
5337 * window.el (enlarge-window, shrink-window): Don't mention return
5338 value in doc-string (Bug#12896).
5339 (window--display-buffer): Don't resize frames - it won't work
5340 with all window managers and defeat pop-up-frame-alist.
5341 (display-buffer-alist): In doc-string explain that CONDITION can
5342 be a function and which arguments are passed to it (Bug#12854).
5343 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
5344 expressions (Bug#12854).
5345 (display-buffer): Pass ACTION argument to
5346 display-buffer-assq-regexp.
5347
5348 2012-11-16 Glenn Morris <rgm@gnu.org>
5349
5350 * window.el (fit-frame-to-buffer-bottom-margin)
5351 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
5352
5353 * faces.el (face-underline-p): Use face-attribute-specified-or.
5354
5355 2012-11-16 Juanma Barranquero <lekktu@gmail.com>
5356
5357 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
5358
5359 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
5360
5361 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
5362
5363 2012-11-16 Glenn Morris <rgm@gnu.org>
5364
5365 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
5366 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
5367
5368 * faces.el (face-underline-p): Doc fix. Handle :underline being
5369 things other than `t' (a string, a list).
5370 (face-inverse-video-p): Doc fix.
5371 (set-face-underline): Rename it back from set-face-underline-p.
5372 Doc fix. Allow interactive input of values other than t.
5373 (read-face-attribute): Apply formatting to :underline,
5374 since like :box and :stipple it can take list values.
5375
5376 * term.el (ansi-term): Don't let C-x escape-char binding
5377 clobber the more standard C-c binding. (Bug#12842)
5378
5379 * subr.el (set-temporary-overlay-map): Doc fix.
5380
5381 2012-11-16 Martin Rudalics <rudalics@gmx.at>
5382
5383 * window.el (record-window-buffer)
5384 (display-buffer-record-window): When copying the markers to
5385 window-point preserve window-point-insertion-type. (Bug#12588)
5386
5387 2012-11-16 Glenn Morris <rgm@gnu.org>
5388
5389 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
5390 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
5391 Use new names for hooks rather than obsolete aliases.
5392
5393 2012-11-15 Daniel Colascione <dancol@dancol.org>
5394
5395 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
5396 prefix instead of "file:" so that when FILE-NAME begins with "//",
5397 as it does when the target file is on a network share, url-handler
5398 isn't confused.
5399
5400 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
5401
5402 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
5403 a preactivated advice from an old advice.el; they're not compatible!
5404
5405 2012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
5406
5407 * emacs-lisp/nadvice.el (advice--make-interactive-form):
5408 Fix string-spec case.
5409
5410 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
5411
5412 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
5413
5414 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
5415 (advice--buffer-local-function-sample): New var.
5416 (advice--set-buffer-local, advice--buffer-local): New functions.
5417 (add-function, remove-function): Use them.
5418
5419 2012-11-15 Drew Adams <drew.adams@oracle.com>
5420
5421 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
5422
5423 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
5424
5425 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
5426 potential binding of print-gensym to t, and prettify (back)quotes in
5427 case they appear in args's default values (bug#12884).
5428
5429 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
5430
5431 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
5432 (advice-eval-interactive-spec): New function.
5433 (advice--make-interactive-form): Support around advice (bug#12844).
5434
5435 2012-11-14 Dmitry Gutov <dgutov@yandex.ru>
5436
5437 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
5438 more strict. Add docstring.
5439 (ruby-expression-expansion-re): Extract from
5440 `ruby-match-expression-expansion'.
5441 (ruby-syntax-propertize-function): After everything else, search
5442 for expansions in string literals, mark their insides as
5443 whitespace syntax and save match data for font-lock.
5444 (ruby-font-lock-keywords): Use the 2nd group from expression
5445 expansion matches.
5446 (ruby-match-expression-expansion): Use the match data saved to the
5447 text property in ruby-syntax-propertize-function.
5448
5449 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
5450
5451 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
5452 (bug#12879).
5453
5454 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
5455
5456 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
5457 start/end keyword a bit harder. Works with different values of N.
5458 Add more comments.
5459 (ruby-end-of-block): Update accordingly.
5460
5461 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
5462
5463 * woman.el (woman-file-name): Don't mess with unread-command-events
5464 (bug#12861).
5465
5466 * emacs-lisp/advice.el: Layer on top of nadvice.el.
5467 Remove out of date self-require hack.
5468 (ad-do-advised-functions): Use simple `dolist'.
5469 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
5470 (ad-advice-definition): Redefine as functions.
5471 (ad-advice-classes): Move before first use.
5472 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
5473 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
5474 (ad--defalias-fset): Remove functions.
5475 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
5476 (ad-get-orig-definition): Rewrite.
5477 (ad-make-advised-definition-docstring): Change base docstring.
5478 (ad-real-orig-definition): Rewrite.
5479 (ad-map-arglists): Change name of called function.
5480 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
5481 (ad-make-advised-definition): Simplify.
5482 (ad-assemble-advised-definition): Tweak for new calling context.
5483 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
5484 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
5485 function and call ad-activate if needed.
5486 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
5487 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
5488 (ad-compile-function): Compile ad-Advice-*.
5489 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
5490 (ad-start-advice, ad-stop-advice): Remove.
5491
5492 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
5493
5494 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
5495 period before class method names, not after. Remove handling of
5496 one impossible case. Add comments.
5497
5498 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
5499
5500 * emacs-lisp/advice.el: Remove support for freezing.
5501 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
5502 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
5503 Remove support for `freeze'.
5504
5505 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
5506 override the default.
5507 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
5508 cl--dotimes/dolist.
5509 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
5510 `cl' is loaded.
5511
5512 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
5513 from add-advice.
5514 (advice--strip-macro): New function.
5515 (advice--defalias-fset): Use them to handle macros.
5516 (advice-add): Use them.
5517 (advice-member-p): Correctly handle macros.
5518
5519 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
5520
5521 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5522 Never font-lock the beginning of singleton class as heredoc.
5523
5524 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
5525
5526 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
5527
5528 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
5529
5530 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
5531 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
5532 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
5533
5534 2012-11-13 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
5535
5536 Fix end-of-defun misbehavior.
5537 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
5538 python-beginning-of-defun-function. Handle nested defuns
5539 correctly.
5540 (python-nav-end-of-defun): Rename from
5541 python-end-of-defun-function. Ensure forward movement.
5542 (python-info-current-defun): Reimplement to work as intended
5543 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
5544 parent defuns as soon as possible.
5545
5546 2012-11-13 Glenn Morris <rgm@gnu.org>
5547
5548 * progmodes/flymake.el (flymake-error-bitmap)
5549 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
5550 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
5551
5552 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
5553
5554 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
5555 backward, always stop at indentation. Reverts the change from
5556 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
5557
5558 2012-11-13 Glenn Morris <rgm@gnu.org>
5559
5560 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
5561 Add ibuffer-filter-by-derived-mode.
5562
5563 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
5564 the same name shadowing each other.
5565
5566 * window.el (with-temp-buffer-window): Doc tweak.
5567
5568 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
5569
5570 * help.el (temp-buffer-max-height):
5571 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
5572 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
5573
5574 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
5575
5576 * emacs-lisp/nadvice.el: New package.
5577 * subr.el (special-form-p): New function.
5578 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
5579 (elp-all-instrumented-list): Remove var.
5580 (elp-not-profilable): Remove elp-wrapper.
5581 (elp-profilable-p): Use autoloadp and special-form-p.
5582 (elp--advice-name): New const.
5583 (elp-instrument-function): Use advice-add.
5584 (elp--instrumented-p): New predicate.
5585 (elp-restore-function): Use advice-remove.
5586 (elp-restore-all, elp-reset-all): Use mapatoms.
5587 (elp-set-master): Use elp--instrumented-p.
5588 (elp--make-wrapper): Rename from elp-wrapper, return a function
5589 suitable for advice-add. Use cl-inf.
5590 (elp-results): Use mapatoms+elp--instrumented-p.
5591 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
5592 (debug-function-list): Remove var.
5593 (debug): Rename arg, and then let-bind it explicitly inside.
5594 (debugger-setup-buffer): Rename arg.
5595 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
5596 (debugger-frame-number): Adjust to new debug-on-entry setup.
5597 (debug--implement-debug-on-entry): Rename from
5598 implement-debug-on-entry, add argument.
5599 (debugger-special-form-p): Remove, use special-form-p instead.
5600 (debug-on-entry): Use advice-add.
5601 (debug--function-list): New function.
5602 (cancel-debug-on-entry): Use it, along with advice-remove.
5603 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
5604 (debugger-list-functions): Use debug--function-list instead of
5605 debug-function-list.
5606 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
5607 (ad-special-form-p): Remove, use special-form-p instead.
5608 (ad-set-advice-info): Use add-function and remove-function.
5609 (ad--defalias-fset): Adjust accordingly.
5610
5611 2012-11-10 Glenn Morris <rgm@gnu.org>
5612
5613 * mail/emacsbug.el (report-emacs-bug-tracker-url)
5614 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
5615 (report-emacs-bug-create-existing-bugs-buffer)
5616 (report-emacs-bug-parse-query-results)
5617 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
5618
5619 * term.el (term-default-fg-color, term-default-bg-color):
5620 Make obsolete, rather than just saying "deprecated" in the doc.
5621
5622 * term.el (term): Rename from `term-face'.
5623 (term-current-face, ansi-term-color-vector)
5624 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
5625 Update all users.
5626
5627 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
5628
5629 * server.el (server-create-window-system-frame): Handle Nextstep
5630 specially (Bug#12780).
5631
5632 2012-11-10 Glenn Morris <rgm@gnu.org>
5633
5634 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
5635 Unautoload, and make obsolete. (Bug#7449)
5636
5637 2012-11-10 Chong Yidong <cyd@gnu.org>
5638
5639 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
5640 rename from diff-remove-trailing-whitespace (Bug#12831).
5641
5642 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
5643
5644 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
5645 miscompilation of trace.el.
5646
5647 2012-11-10 Glenn Morris <rgm@gnu.org>
5648
5649 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
5650
5651 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
5652
5653 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
5654 (bug#12812).
5655
5656 2012-11-10 Chong Yidong <cyd@gnu.org>
5657
5658 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
5659 a defcustom with an appropriate :set function.
5660 (minibuffer-default--in-prompt-regexps): New function.
5661
5662 2012-11-10 Glenn Morris <rgm@gnu.org>
5663
5664 * emacs-lisp/cl.el (define-setf-expander, defsetf)
5665 (define-modify-macro): Doc fixes.
5666
5667 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
5668 (gv-define-simple-setter): Update doc of `fix-return'.
5669
5670 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
5671
5672 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
5673 twice when `fix-return' is set (bug#12813).
5674
5675 * emacs-lisp/cl.el (defsetf): Pass the third arg to
5676 gv-define-simple-setter (bug#12812).
5677
5678 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
5679 (bug#12756).
5680
5681 2012-11-10 Glenn Morris <rgm@gnu.org>
5682
5683 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
5684
5685 * emacs-lisp/cl-extra.el (cl-prettyexpand):
5686 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
5687 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
5688 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
5689
5690 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
5691
5692 2012-11-10 Leo Liu <sdl.web@gmail.com>
5693
5694 * ido.el (ido-set-matches-1): Improve flex matching performance by
5695 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
5696
5697 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5698
5699 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
5700 (ad--defalias-fset): New function.
5701 (ad-safe-fset): Remove.
5702 (ad-make-freeze-definition): Use cl-letf*.
5703
5704 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5705
5706 * subr.el (dolist): Don't bind VAR in RESULT.
5707
5708 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
5709 (fset, documentation): Don't save real def since we don't advise.
5710 (ad-do-advised-functions): Remove problematic `result-form'.
5711 (ad-safe-fset): `ad-real-fset' => `fset'.
5712 (ad-read-advised-function): Don't assume that ad-do-advised-functions
5713 uses CL's dolist internally.
5714 (ad-arglist): Remove unused arg `name'.
5715 (ad-docstring, ad-make-advised-docstring):
5716 `ad-real-documentation' => `documentation'.
5717 (warning-suppress-types): Declare.
5718 (ad-set-arguments): Simple CSE.
5719 (ad-recover-normality): Sanity check.
5720
5721 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
5722 (funcall '(lambda ..) ..) into ((lambda ..) ..).
5723
5724 2012-11-09 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
5725
5726 * ses.el: symbol to coordinate mapping is made by symbol property
5727 `ses-cell'. This means that the same mapping is done for all SES
5728 sheets. That is good enough for cells with standard A1 names, but
5729 not for named cell. So a hash map is added for the latter.
5730 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
5731 (ses-sym-rowcol): Use hashmap for named cell.
5732 (ses-is-cell-sym-p): New defun.
5733 (ses-decode-cell-symbol): New defun.
5734 (ses-create-cell-variable): Add cell to hashmap when name is not
5735 A1-like.
5736 (ses-rename-cell): Check that cell new name is not already in
5737 spreadsheet with the use of ses-is-cell-sym-p
5738 (ses-rename-cell): Use hash map for named cells, but accept also
5739 renaming back to A1-like.
5740
5741 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5742
5743 * emacs-lisp/advice.el: Use new dynamic docstrings.
5744 (ad-make-advised-definition-docstring, ad-advised-definition-p):
5745 Use dynamic-docstring-function instead of ad-advice-info.
5746 (ad--make-advised-docstring): New function extracted from
5747 ad-make-advised-docstring.
5748 (ad-make-advised-docstring): Use it.
5749 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
5750 from sql-help.
5751 (sql-help): Use it with dynamic-docstring-function.
5752
5753 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
5754
5755 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5756
5757 * files.el (hack-one-local-variable--obsolete): New function.
5758 (hack-one-local-variable): Use it for obsolete settings.
5759
5760 * subr.el (locate-user-emacs-file): If both old and new name exist, use
5761 the new name.
5762
5763 * progmodes/js.el (js--filling-paragraph): New var.
5764 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
5765 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
5766 less sneaky.
5767
5768 2012-11-08 Julien Danjou <julien@danjou.info>
5769
5770 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
5771 `auto-mode-alist' (Bug#12835).
5772
5773 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5774
5775 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
5776 (perl--prettify-symbols-alist): New const.
5777 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
5778 New functions.
5779 (perl-font-lock-keywords-2): Use them.
5780 (perl-electric-noindent-p): New function.
5781 (perl-mode): Use it to set up electric-indent-mode.
5782 (perl-electric-terminator, perl-indent-command): Mark obsolete.
5783 (perl-mode-map): Remove bindings for them.
5784 (perl-imenu-generic-expression, perl-outline-level):
5785 Match functions&packages in column>0.
5786
5787 * env.el (env--substitute-vars-regexp): New const.
5788 (substitute-env-vars): Use it. Add `only-defined' arg.
5789 * net/tramp.el (tramp-replace-environment-variables): Use it.
5790
5791 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
5792 Byte-compile *before* eval in eval-and-compile.
5793 (byte-compile-log-warning): Remove redundant inhibit-read-only.
5794 (byte-compile-file-form-autoload): Don't hide actual definition.
5795 (byte-compile-maybe-guarded): Accept `functionp' as well.
5796
5797 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
5798
5799 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
5800
5801 * notifications.el (notifications-get-server-information-method):
5802 New defconst.
5803 (notifications-get-capabilities): Fix docstring.
5804 (notifications-get-server-information): New defun.
5805
5806 2012-11-06 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
5807
5808 * textmodes/ispell.el (ispell-region): Standard re-indent for better
5809 readability.
5810
5811 * textmodes/ispell.el: Experimental support for support debugging.
5812 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
5813 buffer for ispell.
5814 (ispell-print-if-debug): New function to print stuff to
5815 `ispell-debug-buffer' if debugging is enabled.
5816 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
5817 show some debugging info.
5818 (ispell-buffer-with-debug): New function that creates a debugging
5819 buffer and calls `ispell-buffer' with debugging enabled.
5820
5821 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
5822 comment in autoconf mode. (Bug#12768)
5823
5824 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
5825
5826 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
5827 frame-first-window, frame-root-window, frame-selected-window,
5828 minibuffer-selected-window, minibuffer-window,
5829 window-absolute-pixel-edges, window-at, window-body-height,
5830 window-body-width, window-display-table, window-combination-limit,
5831 window-frame, window-fringes, window-inside-absolute-pixel-edges,
5832 window-inside-edges, window-inside-pixel-edges, window-left-child,
5833 window-left-column, window-margins, window-next-buffers,
5834 window-next-sibling, window-new-normal, window-new-total,
5835 window-normal-size, window-parameter, window-parameters, window-parent,
5836 window-pixel-edges, window-point, window-prev-buffers,
5837 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
5838 window-start, window-text-height, window-top-child, window-top-line,
5839 window-total-height, window-total-width and window-use-time to the list
5840 of functions without side-effects.
5841 (toplevel): Add window-valid-p to the list of error-free functions
5842 without side-effects.
5843
5844 2012-11-05 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
5845
5846 * textmodes/ispell.el (ispell-program-name):
5847 Update spellchecker parameters when customized.
5848
5849 2012-11-04 Glenn Morris <rgm@gnu.org>
5850
5851 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
5852
5853 2012-11-04 Chong Yidong <cyd@gnu.org>
5854
5855 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
5856 same-window-* variables.
5857
5858 2012-11-04 Juri Linkov <juri@jurta.org>
5859
5860 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
5861 (isearch-describe-key, isearch-describe-mode): Use a display
5862 action instead of binding same-window-* variables (Bug#10040).
5863
5864 2012-11-03 Glenn Morris <rgm@gnu.org>
5865
5866 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
5867 Rename handler properties back from cl-- to cl-. (Bug#12788)
5868
5869 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
5870
5871 2012-11-03 Eli Zaretskii <eliz@gnu.org>
5872
5873 * term/pc-win.el: Don't load term/internal from here.
5874
5875 * loadup.el: Load term/internal from here.
5876
5877 2012-11-03 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
5878
5879 * progmodes/python.el (inferior-python-mode): Fix hang in
5880 jit-lock (Bug#12645).
5881
5882 2012-11-03 Martin Rudalics <rudalics@gmx.at>
5883
5884 * window.el (switch-to-visible-buffer)
5885 (switch-to-buffer-preserve-window-point): Fix doc-strings.
5886
5887 2012-11-03 Glenn Morris <rgm@gnu.org>
5888
5889 * emacs-lisp/cl-lib.el (cl--random-time):
5890 Rename from cl-random-time. (Bug#12773)
5891 (cl--gensym-counter, cl--random-state): Update callers.
5892 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
5893
5894 2012-11-03 Chong Yidong <cyd@gnu.org>
5895
5896 * cus-start.el: Make cursor-type customizable (Bug#11633).
5897
5898 2012-11-02 Glenn Morris <rgm@gnu.org>
5899
5900 * filecache.el: No need to load find-lisp when compiling.
5901 (find-lisp-find-files): Autoload it.
5902 (file-cache-add-directory-recursively): Don't require find-lisp.
5903
5904 * image.el (image-type-from-file-name): Trivial simplification.
5905
5906 * emacs-lisp/bytecomp.el (byte-compile-eval):
5907 Decouple "noruntime" and "cl-functions" warnings.
5908
5909 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
5910
5911 * play/gomoku.el (gomoku-display-statistics): Update mode line
5912 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
5913
5914 2012-10-31 Martin Rudalics <rudalics@gmx.at>
5915
5916 * window.el (quit-restore-window): If the window has been
5917 created on an existing frame and ended up as the sole window on
5918 that frame, do not delete it (Bug#12764).
5919
5920 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
5921
5922 * progmodes/sh-script.el (sh--inside-noncommand-expression):
5923 Rename from sh--inside-arithmetic-expression, handle more cases
5924 (bug#11263).
5925
5926 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
5927 (sh-font-lock-open-heredoc): Use it (bug#12770).
5928
5929 2012-10-30 Glenn Morris <rgm@gnu.org>
5930
5931 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
5932
5933 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
5934
5935 2012-10-29 Chong Yidong <cyd@gnu.org>
5936
5937 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
5938 function key is stored in a keyboard macro (Bug#4894).
5939
5940 * thingatpt.el (number-at-point): Apply a thing-at-point property.
5941
5942 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5943
5944 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
5945 header comments".
5946 (diff-unified->context, diff-context->unified)
5947 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
5948
5949 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
5950
5951 * files.el (find-alternate-file): Only ask one question (bug#12487).
5952
5953 2012-10-29 Chong Yidong <cyd@gnu.org>
5954
5955 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
5956 Suggested by Dan Nicolaescu (Bug#6326).
5957
5958 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
5959
5960 * startup.el (fancy-about-screen): Don't message (Bug#12680).
5961
5962 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
5963
5964 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
5965
5966 * face-remap.el (face-remap-add-relative): Handle the case where a
5967 face-remapping-alist entry is a cons cell (Bug#12762).
5968
5969 2012-10-29 Kevin Ryde <user42@zip.com.au>
5970
5971 * woman.el (woman-parse-numeric-value): Handle picas correctly
5972 (Bug#12639).
5973
5974 2012-10-29 Glenn Morris <rgm@gnu.org>
5975
5976 * emacs-lisp/cl.el (defsetf): Doc fix.
5977
5978 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5979
5980 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
5981 syntax to the matching opener, if any (bug#12547).
5982 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
5983 matching open as a "case-(".
5984 (sh-smie-rc-grammar): Add a corresponding rule for it.
5985
5986 2012-10-28 Daniel Hackney <dan@haxney.org>
5987
5988 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
5989 "PKGNAME-autoloads.el" in case we created it.
5990
5991 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5992
5993 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
5994 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
5995 (completion--twq-all): Disable too-strict assertions.
5996
5997 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
5998
5999 2012-10-27 Eli Zaretskii <eliz@gnu.org>
6000
6001 * profiler.el (profiler-report-make-entry-part): Fix help-echo
6002 text to match the real keybindings.
6003
6004 2012-10-27 Juri Linkov <juri@jurta.org>
6005
6006 * wdired.el (wdired-keep-marker-rename): New defcustom.
6007 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
6008 (Bug#11795)
6009
6010 * dired.el (dired-keep-marker-rename): Add reference to
6011 `wdired-keep-marker-rename' in the docstring.
6012 Add default character value ?R to display initially in
6013 Customization UI instead of ?@.
6014
6015 2012-10-27 Martin Rudalics <rudalics@gmx.at>
6016
6017 * window.el (display-buffer): In doc-string describe
6018 window-height and window-width alist entries.
6019
6020 * time.el (display-time-world): Restore fit-window-to-buffer
6021 behavior.
6022
6023 2012-10-27 Chong Yidong <cyd@gnu.org>
6024
6025 * subr.el (insert-buffer-substring-as-yank): Doc fix.
6026
6027 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
6028
6029 * minibuffer.el (completion-category-overrides): New completion
6030 category `bookmark' (bug#11131).
6031
6032 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
6033
6034 * emacs-lisp/advice.el (ad-assemble-advised-definition):
6035 Silence bogus compiler warnings for ad-do-it.
6036
6037 * bookmark.el (bookmark-completing-read): Set the completion category
6038 to `bookmark' (bug#11131).
6039
6040 2012-10-26 Bastien <bzg@altern.org>
6041 Stefan Monnier <monnier@iro.umontreal.ca>
6042
6043 * face-remap.el: Use lexical-binding.
6044 (text-scale-adjust): Improve docstring. Use itself for the temporary
6045 overlay-map bindings, so as to repeat the "Use..." message each time.
6046
6047 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
6048
6049 * emacs-lisp/macroexp.el (macroexp--expand-all):
6050 Obey byte-compile-warning-enabled-p (bug#12486).
6051
6052 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
6053 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
6054
6055 2012-10-26 Martin Rudalics <rudalics@gmx.at>
6056
6057 * mouse.el (mouse-drag-line): Move last form into preceding when
6058 clause (Bug#12731).
6059
6060 * help.el (resize-temp-buffer-window): Fix doc-string.
6061
6062 2012-10-25 David Engster <deng@randomsample.de>
6063
6064 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
6065 Remove. This feature is already integrated in imenu.
6066
6067 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
6068 always loaded. Require `speedbar' unconditionally.
6069
6070 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
6071
6072 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
6073
6074 * minibuffer.el (minibuffer-force-complete): Fix thinko.
6075
6076 * net/ldap.el (ldap-search-internal): The official ldif format starts
6077 with a "version: 1" header (bug#12724).
6078
6079 * emacs-lisp/package.el (package-installed-p): Warn if not ready
6080 (bug#12721).
6081
6082 2012-10-25 Glenn Morris <rgm@gnu.org>
6083
6084 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
6085
6086 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
6087
6088 * minibuffer.el (minibuffer-force-complete): Use one more marker
6089 for the temporary-overlay-map command (bug#12619).
6090
6091 2012-10-24 Chong Yidong <cyd@gnu.org>
6092
6093 * time.el (display-time-world-mode): Derive from special-mode.
6094 (display-time-world): Use display-buffer (Bug#12708).
6095 (display-time-world-mode-map): Variable deleted.
6096 (display-time-world-display): Wrap the final delete-char inside
6097 inhibit-read-only.
6098
6099 2012-10-24 Chong Yidong <cyd@gnu.org>
6100
6101 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
6102 Doc fix.
6103
6104 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
6105
6106 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
6107
6108 * minibuffer.el (completion--all-sorted-completions-location): New var.
6109 (completion--cache-all-sorted-completions)
6110 (completion--flush-all-sorted-completions): Use it.
6111 (completion-in-region, completion-in-region--postch)
6112 (completion-at-point, completion-help-at-point): Use markers in
6113 completion-in-region--data (bug#12619).
6114
6115 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
6116
6117 * progmodes/compile.el (compilation-start): Try to handle common
6118 quoting of `cd' argument (bug#12640).
6119
6120 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
6121 (bug#12671).
6122
6123 2012-10-23 Glenn Morris <rgm@gnu.org>
6124
6125 * progmodes/gud.el (gud-menu-map):
6126 Check gdb-active-process is bound. (Bug#12358)
6127
6128 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
6129
6130 * repeat.el (repeat): Set real-this-command (bug#12232).
6131
6132 * htmlfontify.el (hfy-post-html-hook):
6133 * filesets.el (filesets-cache-fill-content-hook):
6134 * arc-mode.el (archive-extract-hook):
6135 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
6136 * net/rcirc.el (rcirc-sentinel-functions)
6137 (rcirc-receive-message-functions, rcirc-activity-functions)
6138 (rcirc-print-functions):
6139 * net/dbus.el (dbus-event-error-functions):
6140 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
6141 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
6142 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
6143 * term/sun.el (sun-raw-prefix-hooks):
6144 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
6145
6146 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
6147
6148 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
6149 Set `tramp-chunksize' to 1. This improves the performance.
6150 (tramp-smb-wait-for-output): Add timeout to
6151 `tramp-accept-process-output' calls.
6152
6153 2012-10-23 Chong Yidong <cyd@gnu.org>
6154
6155 * faces.el (font-list-limit): Define as an obsolete variable.
6156
6157 * startup.el (command-line):
6158 * cus-start.el: Don't refer to font-list-limit.
6159
6160 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
6161
6162 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
6163
6164 * subr.el (internal-temp-output-buffer-show): Rename from
6165 temp-output-buffer-show, since previously compiled files expect this name.
6166
6167 2012-10-23 Glenn Morris <rgm@gnu.org>
6168
6169 * image.el (image-type-from-file-name): If multiple types match,
6170 return the first one that is supported. (Bug#9045)
6171
6172 2012-10-22 Glenn Morris <rgm@gnu.org>
6173
6174 * image.el (imagemagick-enabled-types): Doc fix.
6175
6176 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
6177
6178 * progmodes/which-func.el (which-func-current): The hash-table may have
6179 an explicit nil (bug#12338).
6180
6181 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
6182
6183 * electric.el (electric-pair-delete-selection-self-insert-function):
6184 Rename to electric-pair-will-use-region, return a boolean.
6185 (electric-pair-mode): Adjust accordingly. Don't require delsel.
6186
6187 * delsel.el (delete-selection-helper): Use a function instead of a hook.
6188 (delete-selection-pre-hook): Use use-region-p.
6189 (delete-selection-self-insert-function): Remove.
6190 (self-insert-command): Obey self-insert-uses-region-functions.
6191 (self-insert-iso): Revert to previous setting, since we don't actually
6192 know what that command does.
6193 (delete-selection-self-insert-hooks): Remove.
6194
6195 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
6196
6197 * delsel.el (delete-selection-helper): New function, extracted from
6198 delete-selection-pre-hook.
6199 (delete-selection-pre-hook): Use it.
6200 (delete-selection-self-insert-function): New function.
6201 (delete-selection-self-insert-hooks): New hook.
6202 (self-insert-command, self-insert-iso): Use it.
6203 * electric.el (electric-pair-syntax): New function, extracted from
6204 electric-pair-post-self-insert-function.
6205 (electric-pair-post-self-insert-function): Use it.
6206 (electric-pair-delete-selection-self-insert-function): New function.
6207 (electric-pair-mode): Require delsel and setup
6208 delete-selection-self-insert-hooks (bug#11520).
6209
6210 2012-10-20 Chong Yidong <cyd@gnu.org>
6211
6212 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
6213 no changes to show (Bug#12586).
6214
6215 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
6216 list explicitly (Bug#12571).
6217
6218 2012-10-20 Arne Jørgensen <arne@arnested.dk>
6219
6220 * progmodes/flymake.el (flymake-create-temp-inplace):
6221 Use file-truename.
6222
6223 2012-10-20 Eli Zaretskii <eliz@gnu.org>
6224
6225 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
6226
6227 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
6228
6229 * calc/calc-units.el (math-extract-units): Properly extract powers
6230 of units.
6231
6232 2012-10-20 Daniel Colascione <dancol@dancol.org>
6233
6234 * frame.el (make-frame): Set x-display-name as we used to in order
6235 to unbreak creating an X11 frame from an Emacs daemon started
6236 without a display.
6237
6238 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
6239
6240 * minibuffer.el (minibuffer-force-complete): Make the next completion use
6241 the same completion-field (bug#12221).
6242
6243 2012-10-19 Martin Rudalics <rudalics@gmx.at>
6244
6245 * emacs-lisp/debug.el (debug): Record height of debugger window
6246 also when debugger will be back (Bug#8789).
6247
6248 2012-10-18 Chong Yidong <cyd@gnu.org>
6249
6250 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
6251 Convert to defcustom.
6252 (gdb-get-source-file): Don't bind pop-up-windows.
6253
6254 * progmodes/gud.el (gud-display-line): Don't specially re-use
6255 other frames for the gdb-mi case (Bug#12648).
6256
6257 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
6258
6259 * emacs-lisp/advice.el: Clean up commentary a bit.
6260 (ad-do-advised-functions, ad-with-originals): Use `declare'.
6261 (byte-code-function-p): Never redefine.
6262
6263 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
6264
6265 2012-10-18 Glenn Morris <rgm@gnu.org>
6266
6267 * dired.el (dired-sort-toggle): Some ls implementations only allow
6268 a single option string. (Bug#12666)
6269
6270 * minibuffer.el (completion-cycle-threshold): Doc fix.
6271
6272 2012-10-17 Kenichi Handa <handa@gnu.org>
6273
6274 * international/mule.el (set-keyboard-coding-system):
6275 Recover input meta mode when the new coding system doesn not use 8-bit.
6276 Supply TERMINAL arg to set-input-meta-mode.
6277
6278 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
6279
6280 * wdired.el (wdired-old-marks): New variable.
6281 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
6282 (wdired-do-renames): Move point with renamed file and don't lose
6283 mark status (Bug#11795).
6284
6285 2012-10-16 Juri Linkov <juri@jurta.org>
6286
6287 * replace.el (query-replace-help): Mention multi-buffer replacement
6288 keys in the Help message. (Bug#12655)
6289
6290 2012-10-15 Chong Yidong <cyd@gnu.org>
6291
6292 * emacs-lisp/byte-run.el (defsubst): Doc fix.
6293
6294 2012-10-14 Eli Zaretskii <eliz@gnu.org>
6295
6296 * window.el (display-buffer): Doc fix.
6297
6298 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6299 Adjust the msft regexp to the output of Studio 2010, and move msft
6300 before edg-1. See the discussion on emacs-devel,
6301 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
6302 for the details.
6303
6304 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
6305
6306 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
6307 (oset): Move uses of object-class-fast macro after its definition.
6308
6309 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
6310
6311 2012-10-13 Chong Yidong <cyd@gnu.org>
6312
6313 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
6314 enabled, re-enable it (Bug#11963).
6315
6316 2012-10-13 Martin Rudalics <rudalics@gmx.at>
6317
6318 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
6319 non-nil, restore window configuration (Bug#12623).
6320
6321 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
6322
6323 * help-fns.el (describe-variable, describe-function-1):
6324 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
6325
6326 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
6327
6328 2012-10-12 Glenn Morris <rgm@gnu.org>
6329
6330 * mail/rmailsum.el (rmail-header-summary):
6331 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
6332
6333 2012-10-12 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
6334
6335 * progmodes/python.el (python-mode-map):
6336 Replace subtitute-key-definition with proper command remapping.
6337 (python-nav--up-list): Fix behavior for blocks on the same level.
6338
6339 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
6340
6341 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
6342
6343 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
6344 changes to the format of load-history.
6345
6346 * international/mule-cmds.el (read-char-by-name): Move let-binding of
6347 completion-ignore-case in case that var is buffer-local (bug#12615).
6348
6349 2012-10-11 Kenichi Handa <handa@gnu.org>
6350
6351 * international/eucjp-ms.el: Re-generated.
6352
6353 2012-10-10 Kenichi Handa <handa@gnu.org>
6354
6355 * select.el (xselect--encode-string): If a coding is specified for
6356 selection, and that is compatible with COMPOUND_TEXT, use it.
6357
6358 2012-10-10 Martin Rudalics <rudalics@gmx.at>
6359
6360 * window.el (switch-to-buffer-preserve-window-point): New option.
6361 (switch-to-buffer):
6362 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
6363
6364 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
6365
6366 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
6367 Don't document nil as a useful value (bug#12583).
6368
6369 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
6370
6371 * net/tramp.el (tramp-debug-message):
6372 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
6373 (with-tramp-progress-reporter): Rename from
6374 `tramp-with-progress-reporter'.
6375 (with-tramp-file-property, with-tramp-connection-property):
6376 Move from tramp-cache.el, rename from `with-file-property' and
6377 `with-connection-property', respectively.
6378
6379 * net/tramp-cache.el: Remove `with-file-property' and
6380 `with-connection-property'.
6381
6382 * net/tramp.el:
6383 * net/tramp-gvfs.el:
6384 * net/tramp-sh.el:
6385 * net/tramp-smb.el: Adapt callees.
6386
6387 * net/trampver.el: Update release number.
6388
6389 2012-10-09 Glenn Morris <rgm@gnu.org>
6390
6391 * w32-fns.el (set-message-beep):
6392 * term/w32-win.el (set-message-beep): Update declarations.
6393
6394 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
6395
6396 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
6397 (mode-line-widen, mode-line-input-method-map)
6398 (mode-line-coding-system-map, mode-line-remote)
6399 (mode-line-unbury-buffer, mode-line-bury-buffer)
6400 (mode-line-next-buffer, mode-line-previous-buffer):
6401 Replace save-selected-window+select-window => with-selected-window.
6402
6403 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
6404 * progmodes/cc-vars.el (bq-process): Remove, unused.
6405
6406 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
6407
6408 2012-10-09 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
6409
6410 Implemented `backward-up-list'-like navigation.
6411 * progmodes/python.el (python-nav-up-list)
6412 (python-nav-backward-up-list): New functions.
6413 (python-mode-map): Define substitute key for backward-up-list to
6414 python-nav-backward-up-list.
6415
6416 2012-10-08 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
6417
6418 * progmodes/python.el (python-fill-paragraph): Rename from
6419 python-fill-paragraph-function. Fixed fill-paragraph for
6420 decorators (Bug#12605).
6421
6422 2012-10-08 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
6423
6424 * progmodes/python.el (python-shell-output-filter): Handle extra
6425 carriage return in OSX (Bug#12409).
6426
6427 2012-10-08 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
6428
6429 Fix shell handling of unbalanced quotes and parens in output.
6430 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
6431 (python-syntax-propertize-function): Use it.
6432 (python-shell-output-syntax-table): New var.
6433 (inferior-python-mode): Prevent unbalanced parens/quotes from
6434 previous output mess with current input context.
6435
6436 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
6437
6438 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
6439 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
6440
6441 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
6442
6443 * ffap.el (ffap-replace-file-component): Support Tramp file name
6444 syntax, not only ange-ftp's one.
6445
6446 2012-10-08 Glenn Morris <rgm@gnu.org>
6447
6448 * cus-start.el (message-log-max): Set :version.
6449
6450 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
6451
6452 2012-10-08 Martin Rudalics <rudalics@gmx.at>
6453
6454 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
6455 the minibuffer window (Bug#10851).
6456
6457 2012-10-08 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
6458
6459 Enhancements on forward-sexp movement.
6460 * progmodes/python.el (python-nav-beginning-of-statement)
6461 (python-nav-end-of-statement): Return point-marker.
6462 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
6463 (python-info-current-symbol)
6464 (python-info-statement-starts-block-p): Rename from
6465 python-info-beginning-of-block-p.
6466 (python-info-statement-ends-block-p): Rename from
6467 python-info-end-of-block-p.
6468 (python-info-beginning-of-statement-p)
6469 (python-info-end-of-statement-p)
6470 (python-info-beginning-of-block-p, python-info-end-of-block-p):
6471 New functions.
6472
6473 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
6474
6475 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
6476 frame-selected-windows.
6477
6478 2012-10-08 Daniel Colascione <dancol@dancol.org>
6479
6480 * battery.el (battery-status-function): Check for
6481 w32-battery-status itself, not system-time windows-nt.
6482
6483 * frame.el: Require cl-lib.
6484 (display-format-alist): New variable mapping frame types to
6485 functions that initialize them.
6486 (window-system-for-display): New function: interprets
6487 display-format-alist.
6488 (make-frame-on-display): Remove existing display-selection logic
6489 and just forward to make-frame, which will now DTRT.
6490 (make-frame): Restructure to use window-system-for-display to
6491 figure out how to create a frame on a given display.
6492 (display-mouse-p): Look for frame-type w32, not a particular
6493 system-type.
6494
6495 * loadup.el: Load w32 lisp code when we have the w32 feature.
6496
6497 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
6498 system-type windows-nt.
6499
6500 * server.el (server-create-window-system-frame): Look for window
6501 type.
6502 (server-proces-filter): Only force a window system when windows-nt
6503 _and_ w32. Explain why.
6504
6505 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
6506 of window systems we configure for the mode.
6507
6508 * startup.el (command-line): Mark window system is initialized
6509 after we've done it.
6510
6511 * common-win.el (x-select-text): Look for w32, not windows-nt.
6512
6513 * ns-win.el: Require cl-lib. Add ourselves to
6514 display-format-alist.
6515 (ns-initialize-window-system): Assert we're not initialized twice.
6516
6517 * w32-win.el: Enable lexical binding; require cl-lib; add
6518 ourselves to display-format-alist.
6519 (w32-handle-dropped-file): Convert incoming dropped files from
6520 Windows paths to Cygwin ones before passing them on to the rest of
6521 Emacs.
6522 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
6523 (w32-initialize-window-system): Assert we're not initialized twice.
6524
6525 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
6526 (x-initialize-window-system): Assert we're not initialized twice.
6527
6528 * w32-common-fns.el: New File.
6529 (w32-version, w32-using-nt, w32-get-clipboard-data)
6530 (w32-set-clipboard-data, x-set-selection, x-get-selection)
6531 (w32-charset-info-alist, x-last-selected, text)
6532 (x-get-selection-value, x-selection-value): Move here.
6533
6534 * w32-fns.el: Require w32-common-fns.
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 to
6539 w32-common-fns.
6540
6541 * w32-vars.el:
6542 (w32-allow-system-shell, w32-system-shells): Define only in
6543 non-cygwin case.
6544
6545 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6546
6547 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
6548 (read-passwd): Remove a few more potential sources of leaks.
6549
6550 2012-10-07 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
6551
6552 * progmodes/python.el (inferior-python-mode)
6553 (python-shell-make-comint): Fix initialization of local
6554 variables copied from parent buffer.
6555
6556 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
6557
6558 * term/ns-win.el (ns-read-file-name): Update declaration to match
6559 nsfns.m.
6560 (ns-respond-to-change-font): Change fontsize separately so we are sure
6561 it is set when font is acted upon.
6562
6563 2012-10-07 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
6564
6565 Enhancements to indentation.
6566 * progmodes/python.el (python-indent-context): Give priority to
6567 inside-string context. Make comments indentation markers.
6568 (python-indent-region): Do not mess with strings, unless it's the
6569 enclosing set of quotes.
6570
6571 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6572
6573 * window.el (internal--before-save-selected-window)
6574 (internal--after-save-selected-window): New functions extracted from
6575 save-selected-window. Make sure we return the `alist' we construct.
6576 (save-selected-window): Use them.
6577
6578 * textmodes/tex-mode.el (tex-recenter-output-buffer):
6579 Use with-selected-window.
6580
6581 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
6582 forms that define macros (bug#12593).
6583
6584 2012-10-07 Kenichi Handa <handa@gnu.org>
6585
6586 * international/mule-conf.el (compound-text-with-extensions):
6587 Add :mime-charset property as x-ctext.
6588
6589 2012-10-07 Stefan Merten <smerten@oekonux.de>
6590
6591 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
6592 (rst-indent-literal-normal, rst-indent-literal-minimized)
6593 (rst-indent-comment): Correct :version tag.
6594 (rst-official-cvs-rev): Correct version string.
6595
6596 2012-10-07 Glenn Morris <rgm@gnu.org>
6597
6598 * mail/rmailmm.el (rmail-mime-process-multipart):
6599 Do not confuse a multipart message with an epilogue
6600 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
6601
6602 2012-10-07 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
6603
6604 Fix shell output retrieval and comint-prompt-regexp init.
6605 * progmodes/python.el (inferior-python-mode):
6606 (python-shell-make-comint): Fix initialization of
6607 comint-prompt-regexp from copied file local variables.
6608 (python-shell-fetched-lines): Remove var.
6609 (python-shell-output-filter-in-progress): Rename from
6610 python-shell-fetch-lines-in-progress.
6611 (python-shell-output-filter-buffer): Rename from
6612 python-shell-fetch-lines-string.
6613 (python-shell-fetch-lines-filter): Delete function.
6614 (python-shell-output-filter): New function.
6615 (python-shell-send-string-no-output): Use them.
6616
6617 2012-10-07 Glenn Morris <rgm@gnu.org>
6618
6619 * hi-lock.el (hi-lock-process-phrase):
6620 Try to make it less fragile. (Bug#7161)
6621
6622 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
6623
6624 2012-10-06 Glenn Morris <rgm@gnu.org>
6625
6626 * ehelp.el (electric-help-mode): Use help-mode rather than
6627 non-existent mode `help'.
6628 (electric-help-map): Use button-buffer-map. (Bug#10917)
6629
6630 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
6631 (reftex-create-bibtex-footer): Fix custom types.
6632
6633 * progmodes/sh-script.el (sh-indent-after-continuation):
6634 Add explicit :group.
6635
6636 * textmodes/rst.el (rst-preferred-decorations)
6637 (rst-shift-basic-offset): Clarify obsolescence versions.
6638
6639 * profiler.el (profiler): Add missing group :version tag.
6640 * avoid.el (mouse-avoidance-banish-position):
6641 * proced.el (proced-renice-command):
6642 * calc/calc.el (calc-ensure-consistent-units):
6643 * calendar/icalendar.el (icalendar-import-format-uid):
6644 * net/tramp.el (tramp-save-ad-hoc-proxies):
6645 * progmodes/bug-reference.el (bug-reference-bug-regexp):
6646 * progmodes/flymake.el (flymake-error-bitmap)
6647 (flymake-warning-bitmap, flymake-fringe-indicator-position):
6648 * progmodes/sh-script.el (sh-indent-after-continuation):
6649 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
6650 (verilog-before-save-font-hook, verilog-after-save-font-hook):
6651 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
6652 (vhdl-array-index-record-field-in-sensitivity-list)
6653 (vhdl-indent-comment-like-next-code-line):
6654 * textmodes/reftex-vars.el (reftex-ref-style-alist)
6655 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
6656 (reftex-cite-key-separator, reftex-create-bibtex-header)
6657 (reftex-create-bibtex-footer):
6658 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
6659 (rst-indent-literal-normal, rst-indent-literal-minimized)
6660 (rst-indent-comment): Add missing custom :version tags.
6661
6662 * calendar/timeclock.el (timeclock-modeline-display):
6663 Add missing obsolete alias for renamed user option.
6664
6665 * strokes.el (strokes-modeline-string):
6666 * emulation/crisp.el (crisp-mode-modeline-string):
6667 * eshell/esh-mode.el (eshell-status-in-modeline):
6668 Aliases to defcustoms must come before the defcustom.
6669
6670 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
6671 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
6672 (cal-tex-cursor-week-monday): Doc fixes.
6673 (cal-tex-cursor-week2-summary): Doc fix.
6674 Rename from cal-tex-cursor-week-at-a-glance.
6675
6676 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
6677 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
6678
6679 * calendar/calendar.el (calendar-mode-map):
6680 Add cal-tex-cursor-week2-summary.
6681
6682 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
6683
6684 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
6685
6686 * subr.el (read-passwd-map): New var.
6687 (read-passwd): Use `read-string' again.
6688 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
6689
6690 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
6691
6692 * register.el (append-to-register, prepend-to-register):
6693 Deactivate mark, as does `copy-to-register' (bug#12389).
6694
6695 2012-10-06 Chong Yidong <cyd@gnu.org>
6696
6697 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
6698
6699 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
6700
6701 * international/characters.el: Fix simple mistake ((car chars) ->
6702 elt), delete duplicated code.
6703
6704 2012-10-06 Glenn Morris <rgm@gnu.org>
6705
6706 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
6707
6708 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
6709
6710 * color.el (color-hsl-to-rgb): Fix incorrect results for
6711 small and large hue values. (Bug#12559)
6712
6713 2012-10-05 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
6714
6715 Enhancements to docstring formatting when filling paragraphs.
6716 * progmodes/python.el (python-fill-docstring-style): Rename from
6717 python-fill-string-style. Added new style.
6718 (python-fill-string): Use new style. Better checks for
6719 docstrings.
6720
6721 2012-10-05 Glenn Morris <rgm@gnu.org>
6722
6723 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
6724
6725 * color.el (color-name-to-rgb, color-rgb-to-hex)
6726 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
6727 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
6728 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
6729 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
6730
6731 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
6732
6733 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
6734
6735 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
6736 to get the correct size across symlinks.
6737
6738 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
6739
6740 2012-10-04 Juri Linkov <juri@jurta.org>
6741
6742 * replace.el (query-replace-interactive): Declare obsolete.
6743 (query-replace-read-from): Add the last incremental search string
6744 to the list of default values accessible via M-n.
6745 (map-query-replace-regexp): Use `read-regexp'.
6746 (query-replace, query-replace-regexp, query-replace-regexp-eval)
6747 (map-query-replace-regexp, replace-string, replace-regexp):
6748 Fix docstrings to replace mentions of `query-replace-interactive'
6749 with alternatives. (Bug#12526)
6750
6751 2012-10-04 Juri Linkov <juri@jurta.org>
6752
6753 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
6754 (dired-pop-to-buffer): Declare obsolete.
6755 (dired-mark-pop-up): Doc fix.
6756
6757 2012-10-04 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
6758
6759 Allow user to set docstring style for fill-paragraph.
6760 * progmodes/python.el
6761 (python-fill-comment-function, python-fill-string-function)
6762 (python-fill-decorator-function, python-fill-paren-function):
6763 Remove :safe for defcustoms.
6764 (python-fill-string-style): New defcustom
6765 (python-fill-paragraph-function): Enhance context detection.
6766 (python-fill-string): Honor python-fill-string-style settings.
6767
6768 2012-10-04 Martin Rudalics <rudalics@gmx.at>
6769
6770 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
6771 after setting its buffer (Bug#10805).
6772
6773 2012-10-03 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
6774
6775 Fix cornercase for string syntax.
6776 * progmodes/python.el (python-syntax-propertize-function):
6777 Simplify and enhance the regexp for unescaped quotes. Now it also
6778 matches quotes in weird situations like the single quote in
6779 "something\"'".
6780 (python-syntax-stringify): Simplify num-quotes detecting code.
6781
6782 2012-10-03 Glenn Morris <rgm@gnu.org>
6783
6784 * help-macro.el (three-step-help):
6785 Revert 2012-09-29 change. (Bug#12567)
6786
6787 2012-10-03 Martin Rudalics <rudalics@gmx.at>
6788
6789 * menu-bar.el (kill-this-buffer): Don't do anything when
6790 `menu-frame' is not alive or visible (Bug#8184).
6791
6792 * emacs-lisp/debug.el (debug): When quitting the debugger window
6793 restore current buffer (Bug#12502).
6794
6795 2012-10-02 Chong Yidong <cyd@gnu.org>
6796
6797 * progmodes/hideif.el (hif-lookup, hif-defined):
6798 Handle semantic-c-takeover-hideif.
6799
6800 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
6801
6802 Change sampling interval units from ms to ns.
6803 * profiler.el (profiler-sampling-interval): Change units
6804 from ms to ns, multiplying the default by 1000000 so that
6805 it remains 1 ms.
6806 (profiler-report-cpu-line-format): Give enough room for
6807 the maximum counters on 64-bit hosts.
6808 (profiler-report-render-calltree-1): Call them "CPU samples",
6809 not "Time (ms)", since they are not milliseconds now (and
6810 never really were).
6811
6812 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
6813
6814 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
6815 Fix querying BBDB for entries without a last name (Bug#11580).
6816
6817 2012-10-02 Chong Yidong <cyd@gnu.org>
6818
6819 * emacs-lisp/eieio.el: Restore Version header.
6820
6821 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
6822
6823 * vc/diff-mode.el (diff--auto-refine-data): New var.
6824 (diff-hunk): Use it to delay refinement.
6825 (diff-mode): Remove overlays when we turn off font-lock.
6826
6827 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
6828 (table-initialize-table-fixed-width-mode)
6829 (table-set-table-fixed-width-mode): Remove functions.
6830 (table-command-list): Move initialization into declaration.
6831 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
6832 (table-with-cache-buffer): Use `declare'.
6833 (table-span-cell): Simplify via CSE.
6834 (table-fixed-width-mode): Use define-minor-mode.
6835 (table-call-interactively, table-funcall, table-apply): Remove.
6836 (table-function): New function, to replace them.
6837
6838 * bookmark.el (bookmark-search-pattern): Remove var.
6839 (bookmark-read-search-input): Remove function.
6840 (bookmark-bmenu-search): Reimplement using a minibuffer.
6841
6842 * faces.el (modeline): Remove obsolete face name.
6843
6844 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
6845 and give a non-nil default value.
6846 (add-change-log-entry): Simplify accordingly.
6847
6848 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
6849
6850 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
6851 (vc-git-log-edit-toggle-amend): New function.
6852 (vc-git-log-edit-toggle-signoff): New function.
6853 (vc-git-log-edit-mode): New major mode.
6854 (vc-git-log-edit-mode-map): Keymap for it.
6855 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
6856
6857 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
6858 header names.
6859 (log-edit-toggle-header): New function.
6860 (log-edit-extract-headers): Accept function values in HEADERS alist.
6861
6862 2012-10-01 David Engster <deng@randomsample.de>
6863
6864 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
6865 from symbol property and change message to be more consistent with
6866 Emacs proper.
6867 (eieio-describe-generic): Add filename for each implementation.
6868 Fix indices for generic and normal methods.
6869 (eieio-method-def, eieio-class-def): New buttons.
6870 (eieio-help-find-method-definition)
6871 (eieio-help-find-class-definition): New functions.
6872 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
6873 class, constructor and method definitions.
6874
6875 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
6876 information in symbol property.
6877 (scoped-class): Remove.
6878 (eieio-slot-name-index, call-next-method): Check if it is bound.
6879
6880 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
6881
6882 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
6883 (eieio-custom-mode): New major mode.
6884 (eieio-customize-object): Use it.
6885
6886 2012-10-01 Eric Ludlam <zappo@gnu.org>
6887
6888 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
6889 specifying the expected class, and whether subclassing is allowed.
6890 (eieio-persistent-convert-list-to-object):
6891 (eieio-persistent-validate/fix-slot-value)
6892 (eieio-persistent-slot-type-is-class-p): New functions.
6893 (eieio-named::slot-missing): Doc fix.
6894
6895 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
6896 Stop using unused publd variable.
6897
6898 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
6899 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
6900 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
6901 (eieio-speedbar-handle-click): Do not specify a class for the
6902 method. Fixes method invocation order problems with EDE.
6903
6904 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
6905
6906 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
6907 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
6908
6909 2012-10-01 Karl Fogel <kfogel@red-bean.com>
6910
6911 * bookmark.el (bookmark-version-control): Give tags in the
6912 :type choices (Bug#12309), and improve doc string.
6913 (bookmark-write-file): Bind `print-circle' to `t' to allow
6914 circular custom bookmark types. (Bug#12503)
6915
6916 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
6917
6918 Revert the FOLLOW-SYMLINKS change for file-attributes.
6919 * files.el (remote-file-name-inhibit-cache, after-find-file):
6920 * time.el (display-time-file-nonempty-p): Undo last change.
6921
6922 * profiler.el (profiler-sampling-interval): Change default back to 1.
6923 See Stefan Monnier in
6924 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
6925
6926 2012-10-01 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
6927
6928 Shell output catching a la gud-gdb.
6929 * progmodes/python.el (python-shell-fetch-lines-in-progress)
6930 (python-shell-fetch-lines-string, python-shell-fetched-lines):
6931 New Vars.
6932 (python-shell-fetch-lines-filter): New function.
6933 (python-shell-send-string-no-output): Use them.
6934
6935 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
6936
6937 * profiler.el (profiler-sampling-interval): Rename from
6938 profiler-sample-interval.
6939 (profiler-sampling-interval): Default to 10.
6940 (profiler-find-profile): New command (was profiler-find-log).
6941 (profiler-find-profile-other-window): New command.
6942 (profiler-find-profile-other-frame): New command.
6943 (profiler-profile): Introduce API-level data structure.
6944
6945 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
6946
6947 file-attributes has a new optional arg FOLLOW-SYMLINKS.
6948 * files.el (remote-file-name-inhibit-cache):
6949 * time.el (display-time-file-nonempty-p): Use it.
6950 * files.el (after-find-file): Don't chase links before calling
6951 file-exists-p, as file-exists-p already does the right thing.
6952
6953 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
6954
6955 Merge from standalone RefTeX repository.
6956
6957 The following ChangeLog entries are shortened versions of the
6958 original ones with file paths adapted. A not so strongly edited
6959 version of the original ChangeLog can be found in the commit log.
6960
6961 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
6962 (reftex-arg-cite): Use `reftex-cite-key-separator'.
6963 Correctly handle new value type returned by `reftex-citation'.
6964
6965 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
6966 that entries with whitespace at various places are found.
6967 Doc fix. Include entries that are cross-referenced from cited entries.
6968 Include @String definitions in the resulting bib file. Add header
6969 and footer defined in `reftex-create-bibtex-header' and
6970 `reftex-create-bibtex-footer'.
6971 (reftex-do-citation): Make it possible again to insert
6972 non-existent entries. Save match data when asking for optional
6973 arguments. Return all keys, not just the first one.
6974 (reftex-all-used-citation-keys): Fix regexp to correctly extract
6975 all citations in the same line.
6976 (reftex-parse-bibtex-entry): Accept additional optional argument
6977 `raw' and keep quotes or braces if it is non-nil. Match fields
6978 containing hyphens besides word constituents.
6979 (reftex-get-string-refs): New function.
6980 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
6981 and ask if it should be reread in case it did.
6982 (reftex-pop-to-bibtex-entry)
6983 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
6984 entries with spaces or tabs in front of arguments.
6985 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
6986 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
6987 Match entries containing numbers and symbol constituents.
6988 (reftex-do-citation, reftex-figure-out-cite-format):
6989 Use `reftex-cite-key-separator'.
6990
6991 * textmodes/reftex-dcr.el: Move provide statement to end of file.
6992 (reftex-mouse-view-crossref): Explain why point is set.
6993
6994 * textmodes/reftex-global.el: Whitespace changes.
6995
6996 * textmodes/reftex-index.el: Move provide statement to end of
6997 file.
6998 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
6999 (reftex-index-visit-phrases-buffer): Set marker when visiting
7000 buffer. This allows for returning from the phrases file to the
7001 file one was just editing instead of the file where the last
7002 phrases was added from.
7003 (reftex-index-phrases-syntax-table): New variable. Give ?\"
7004 punctuation syntax as it usually is not used as string quote in
7005 TeX-related modes and may occur unmatched. The change also
7006 prevents fontification of quoted content.
7007 (reftex-index-phrases-mode): Use it.
7008
7009 * textmodes/reftex-parse.el (reftex-parse-from-file):
7010 Move backward one char if a `\' was matched after a section macro.
7011 (reftex-parse-from-file): Use beginning of match instead of end as
7012 bound.
7013
7014 * textmodes/reftex-ref.el: Adapt creation of
7015 `reftex-<package>-<macro>' functions to new structure of
7016 `reftex-ref-style-alist'.
7017 (reftex-reference): Use `reftex-ref-style-list' function.
7018 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
7019 reference macro if `reftex-ref-macro-prompt' is non-nil.
7020 (reftex-reference): Pass refstyle to `reftex-format-special'.
7021 Determine reference macro by looking at
7022 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
7023 Use only one special format function.
7024 (reftex-varioref-vref, reftex-fancyref-fref)
7025 (reftex-fancyref-Fref): Remove definitions. The functions are now
7026 generated from `reftex-ref-style-alist'.
7027 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
7028 Remove.
7029 (reftex-format-special): New function.
7030
7031 * textmodes/reftex-sel.el
7032 (reftex-select-cycle-ref-style-internal): Adapt to new structure
7033 of `reftex-ref-style-alist'. Remove code for testing macro type.
7034 (reftex-select-toggle-varioref)
7035 (reftex-select-toggle-fancyref): Remove.
7036 (reftex-select-cycle-ref-style-internal)
7037 (reftex-select-cycle-ref-style-forward)
7038 (reftex-select-cycle-ref-style-backward): New functions.
7039 (reftex-select-label-map): Use `v' and `V' for general cycling
7040 through reference styles. Add `p' for switching between number
7041 and page reference types.
7042
7043 * textmodes/reftex-toc.el (reftex-re-enlarge):
7044 Call `enlarge-window' only if there is something to do because in Emacs
7045 the horizontal version throws an error even if the parameter is 0.
7046
7047 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
7048 (reftex-plug-into-AUCTeX): Doc fix.
7049 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
7050 string. Adapt to new name.
7051 (reftex-ref-style-alist): Change structure so that it is not
7052 possible to use multiple different package names within a style.
7053 Remove the symbols for symbols for macro type distinction.
7054 Add characters for macro selection.
7055 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
7056 (reftex-create-bibtex-footer): New variables.
7057 (reftex-format-ref-function): Mention third argument of special
7058 format function.
7059 (reftex-ref-style-alist, reftex-ref-style-default-list):
7060 New variables.
7061 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
7062 to new implementation. Mark as obsolete. Add compatibility code
7063 for honoring the variable values in case they are set.
7064 (reftex-cite-format-builtin, reftex-bibliography-commands):
7065 Add support for ConTeXt.
7066 (reftex-format-ref-function, reftex-format-cite-function):
7067 Fix custom type.
7068 (reftex-cite-key-separator): New variable.
7069
7070 * textmodes/reftex.el (reftex-syntax-table-for-bib)
7071 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
7072 `reftex-syntax-table' because parens have to retain their paren
7073 syntax in order for parsing of BibTeX entries like @book(...) to
7074 work.
7075 (reftex-in-comment): Do not error out if `comment-start-skip' is
7076 not set. Deal correctly with escaped comment characters.
7077 (reftex-tie-multifile-symbols): Add doc string.
7078 Initialize `reftex-ref-style-list'.
7079 (reftex-untie-multifile-symbols): Add doc string.
7080 (reftex-add-index-macros): Doc fix.
7081 (reftex-ref-style-activate, reftex-ref-style-toggle)
7082 (reftex-ref-style-list): New functions.
7083 (reftex-mode-menu): Use them. Adapt to new structure of
7084 `reftex-ref-style-alist'.
7085 (reftex-select-with-char): Kill the RefTeX Select buffer when
7086 done.
7087 (reftex-remove-if): New function.
7088 (reftex-erase-all-selection-and-index-buffers)
7089 (reftex-mode-menu): Reference styles are now computed from
7090 `reftex-ref-style-alist'. Fix typo.
7091 (reftex-report-bug): New function.
7092 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
7093 algorithms with O(n log n). Introduce optional argument SORT (not
7094 yet used).
7095
7096 2012-09-30 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7097
7098 Enhancements for triple-quote string syntax.
7099 * progmodes/python.el (python-syntax-propertize-function):
7100 Match both quote cases in one regexp.
7101 (python-syntax-stringify): Handle matches properly.
7102
7103 2012-09-30 Juri Linkov <juri@jurta.org>
7104
7105 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
7106 to nil around the call to `insert' to prevent
7107 directory time modification by lock_file. (Bug#2295)
7108 * tar-mode.el (tar-summarize-buffer): Idem.
7109
7110 2012-09-30 Juri Linkov <juri@jurta.org>
7111
7112 * facemenu.el (list-colors-sort): Add option "Luminance".
7113 (list-colors-sort-key): Implement it.
7114
7115 * vc/diff-mode.el (diff-refine-removed):
7116 * vc/ediff-init.el (ediff-fine-diff-A):
7117 * vc/smerge-mode.el (smerge-refined-removed):
7118 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
7119
7120 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
7121
7122 * term/ns-win.el (x-file-dialog): New function.
7123
7124 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
7125
7126 * ido.el (ido-max-directory-size): Default to nil; the current
7127 default is small for POSIX systems, and impractical on Windows 7
7128 now that lstat returns directory sizes for NTFS.
7129
7130 2012-09-30 Martin Rudalics <rudalics@gmx.at>
7131
7132 In buffer display functions handle window-height/window-width
7133 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
7134 * window.el (window--display-buffer): New argument ALIST.
7135 Obey window-height and window-width alist entries.
7136 (window--try-to-split-window): New argument ALIST.
7137 Bind window-combination-limit to t when the window's size shall be
7138 changed and window-combination-limit equals `window-size'.
7139 (display-buffer-in-atom-window)
7140 (display-buffer-in-major-side-window)
7141 (display-buffer-in-side-window, display-buffer-same-window)
7142 (display-buffer-reuse-window, display-buffer-pop-up-frame)
7143 (display-buffer-pop-up-window, display-buffer-below-selected)
7144 (display-buffer-at-bottom, display-buffer-in-previous-window)
7145 (display-buffer-use-some-window): Adjust all callers of
7146 window--display-buffer and window--try-to-split-window.
7147 (fit-frame-to-buffer): New option.
7148 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
7149 is non-nil.
7150 (display-buffer-in-major-side-window): Evaluate window-height /
7151 window-width alist entries.
7152
7153 * help.el (temp-buffer-resize-frames)
7154 (temp-buffer-resize-regexps): Remove options.
7155 (temp-buffer-resize-mode): Adjust doc-string.
7156 (resize-temp-buffer-window): Don't consult
7157 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
7158 temp-buffer-resize-frames.
7159
7160 * dired.el (dired-mark-pop-up):
7161 Call display-buffer-below-selected with a fit-window-to-buffer alist
7162 entry.
7163
7164 2012-09-30 Chong Yidong <cyd@gnu.org>
7165
7166 * server.el (server-host): Document the security implications.
7167 (server-auth-key): Doc fix.
7168
7169 * startup.el (initial-buffer-choice): Doc fix.
7170
7171 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
7172
7173 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
7174 restriction change.
7175
7176 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
7177
7178 * help-fns.el (help-fns--obsolete): Fix last change.
7179
7180 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
7181
7182 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
7183 (minor-mode-map-alist): Remove redundant code.
7184
7185 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
7186 visited in a buffer.
7187 (cvs-insert-visited-file): New function.
7188 (find-file-hook): Use it.
7189
7190 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
7191
7192 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
7193 chose face.
7194 (log-edit-empty-buffer-p): Don't require a space after a header.
7195
7196 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
7197
7198 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
7199
7200 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
7201 a proper minor-mode.
7202
7203 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
7204
7205 2012-09-29 Glenn Morris <rgm@gnu.org>
7206
7207 * winner.el (winner-mode): Remove variable (let define-minor-mode
7208 handle it).
7209 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
7210 Doc fixes.
7211 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
7212 (winner-mode): Use define-minor-mode.
7213
7214 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
7215 the full definition in loaddefs, rather than duplicating it.
7216
7217 * help-macro.el (three-step-help): No need to autoload defcustom.
7218
7219 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
7220 (inferior-lisp-program, inferior-lisp-load-command)
7221 (inferior-lisp-prompt, inferior-lisp-mode-hook):
7222 No need to autoload defcustoms.
7223
7224 * hippie-exp.el (hippie-expand-try-functions-list)
7225 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
7226 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
7227 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
7228 (hippie-expand-only-buffers): No need to autoload defcustoms.
7229 * progmodes/vhdl-mode.el (vhdl-line-expand):
7230 Explicitly load hippie-exp, so it does not get autoloaded
7231 while hippie-expand-try-functions-list is let-bound.
7232
7233 2012-09-28 Glenn Morris <rgm@gnu.org>
7234
7235 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
7236
7237 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
7238 Only "cl.el" counts as cl these days.
7239
7240 2012-09-28 Juri Linkov <juri@jurta.org>
7241
7242 Display archive errors in the echo area instead of inserting
7243 to the file buffer.
7244
7245 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
7246 to STDERR-TEST that can be a regexp matching a successful output.
7247 Create a temporary file and redirect stderr to it. Search for
7248 STDERR-TEST in the stderr output and display it in the echo area
7249 if no match is found.
7250 (archive-extract-by-file): New function like
7251 `archive-extract-by-stdout' but extracting archives to files
7252 and looking for successful matches in stdout. Function body is
7253 mostly copied from `archive-rar-extract'.
7254 (archive-rar-extract): Use `archive-extract-by-file'.
7255 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
7256
7257 2012-09-28 Leo Liu <sdl.web@gmail.com>
7258
7259 * pcomplete.el (pcomplete-show-completions):
7260 Use minibuffer-message to make pcomplete usable in minibuffer.
7261
7262 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
7263
7264 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
7265
7266 * type-break.el: Use lexical-binding.
7267 (type-break-mode): Use define-minor-mode.
7268
7269 * emacs-lisp/pcase.el (pcase--mark-used): New.
7270 (pcase--u1): Use it (bug#12512).
7271
7272 * custom.el (load-theme): Set buffer-file-name so the load is recorded
7273 in load-history with the right file name.
7274
7275 2012-09-28 Tassilo Horn <tsdh@gnu.org>
7276
7277 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
7278 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
7279 (doc-view-get-bounding-box): Make bounding box slicing work for
7280 ODF and DVI documents.
7281
7282 2012-09-28 Glenn Morris <rgm@gnu.org>
7283
7284 * type-break.el (type-break-mode, type-break-interval)
7285 (type-break-good-rest-interval, type-break-keystroke-threshold):
7286 No need to autoload.
7287 (type-break-good-rest-interval, type-break-keystroke-threshold):
7288 Add :set-after.
7289
7290 2012-09-28 Chong Yidong <cyd@gnu.org>
7291
7292 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
7293 Add :version tag.
7294
7295 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
7296
7297 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
7298
7299 2012-09-27 Glenn Morris <rgm@gnu.org>
7300
7301 * faces.el (x-display-name): Declare (for without-x builds).
7302
7303 * linum.el (linum-format): Don't autoload it. Improve :type.
7304
7305 * progmodes/tcl.el: Don't require outline when compiling.
7306 (outline-regexp, outline-level): Declare.
7307 * textmodes/sgml-mode.el: Don't require outline when compiling.
7308 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
7309
7310 * term.el (term-ansi-reset):
7311 Try setting term-ansi-face-already-done to nil. (Bug#11785)
7312
7313 * vc/vc.el (vc-next-action): Only gripe about committing read-only
7314 files for RCS and SCCS. (Bug#9781)
7315
7316 2012-09-27 Chong Yidong <cyd@gnu.org>
7317
7318 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
7319 change; value should be t.
7320
7321 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
7322
7323 * image-mode.el: Use lexical-binding.
7324 (image-mode-winprops): Use t to stand for the window of
7325 a buffer that's not displayed.
7326 * doc-view.el (doc-view-new-window-function): Handle the new
7327 t in winprops.
7328 (doc-view-enlarge): Make it a real nop if the size is not changed.
7329 (doc-view-display): Handle the case where the buffer is not (yet?)
7330 displayed in any window.
7331 (doc-view-saved-settings): New var.
7332 (doc-view-mode): Use it.
7333 (doc-view-fallback-mode): Set it.
7334
7335 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
7336 Set lexical-binding.
7337 (minibuffer-eldef-shorten-default): New var.
7338 (minibuffer-default-in-prompt-regexps): Use it for new default.
7339 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
7340
7341 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
7342
7343 * international/uni-bidi.el:
7344 * international/uni-category.el:
7345 * international/uni-name.el:
7346 * international/uni-numeric.el: Regenerate.
7347
7348 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
7349 Stefan Monnier <monnier@iro.umontreal.ca>
7350
7351 * profiler.el: New file.
7352
7353 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
7354
7355 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
7356 (testcover-reinstrument): Simplify with CSE.
7357
7358 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
7359
7360 * window.el (temp-buffer-window-setup): Fix typo in docstring.
7361
7362 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
7363
7364 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
7365 (verilog-auto-input, verilog-auto-insert-lisp)
7366 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
7367 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
7368 (verilog-auto-unused, verilog-auto-wire)
7369 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
7370 newline. Reported by Andrew Jones.
7371 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
7372 Reported by Brad Dobbie.
7373 (verilog-batch-delete-trailing-whitespace):
7374 Create verilog-batch-delete-trailing-whitespace.
7375 Reported by Brad Dobbie.
7376 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
7377 parameters from another module. Reported by Dan Katz.
7378 (verilog-auto, verilog-auto-assign-modport)
7379 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
7380 AUTOINOUTMODPORT for UVM interface module shell generation.
7381 Reported by Brad Dobbie.
7382 (verilog-auto-inst-interfaced-ports): Make default nil, as more
7383 standard behavior.
7384 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
7385 Reported by Matt Martin.
7386
7387 2012-09-25 Martin Rudalics <rudalics@gmx.at>
7388
7389 * window.el (window--resize-child-windows): When resizing child
7390 windows proportionally, process them in reverse order to
7391 preserve the "when splitting a window the new one gets the odd
7392 line" behavior.
7393 (window--resize-root-window-vertically): When resizing the
7394 minibuffer window try to affect only windows at the bottom of the
7395 frame. (Bug#12419)
7396
7397 2012-09-25 Chong Yidong <cyd@gnu.org>
7398
7399 * subr.el (declare): Doc fix.
7400
7401 * help-fns.el (help-fns--obsolete): Handle macros properly.
7402
7403 2012-09-25 Chong Yidong <cyd@gnu.org>
7404
7405 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
7406 this function obsolete.
7407
7408 * calendar/cal-x.el (calendar-two-frame-setup)
7409 (calendar-only-one-frame-setup, calendar-one-frame-setup):
7410 * calendar/calendar.el (american-calendar, european-calendar)
7411 (calendar-for-loop):
7412 * comint.el (comint-dynamic-simple-complete)
7413 (comint-dynamic-complete-as-filename, comint-unquote-filename):
7414 * desktop.el (desktop-load-default):
7415 * dired-x.el (dired-omit-here-always)
7416 (dired-hack-local-variables, dired-default-directory):
7417 * emacs-lisp/derived.el (derived-mode-class):
7418 * emacs-lisp/timer.el (timer-set-time-with-usecs):
7419 * emacs-lock.el (toggle-emacs-lock):
7420 * epa.el (epa-display-verify-result):
7421 * epg.el (epg-sign-keys, epg-start-sign-keys)
7422 (epg-passphrase-callback-function):
7423 * eshell/esh-util.el (eshell-for):
7424 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
7425 (eshell-add-to-window-buffer-names):
7426 * files.el (locate-file-completion):
7427 * imenu.el (imenu-example--create-c-index)
7428 (imenu-example--create-lisp-index)
7429 (imenu-example--lisp-extract-index-name)
7430 (imenu-example--name-and-position):
7431 * international/mule-cmds.el (princ-list):
7432 * international/mule-diag.el (decode-codepage-char):
7433 * international/mule-util.el (detect-coding-with-priority):
7434 * iswitchb.el (iswitchb-read-buffer):
7435 * mail/mailalias.el (mail-complete):
7436 * mail/sendmail.el (mail-sent-via):
7437 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
7438 (mouse-major-mode-menu):
7439 * password-cache.el (password-read-and-add):
7440 * pcomplete.el (pcomplete-parse-comint-arguments):
7441 * progmodes/sh-script.el (sh-maybe-here-document):
7442 * replace.el (query-replace-regexp-eval):
7443 * savehist.el (savehist-load):
7444 * simple.el (choose-completion-delete-max-match):
7445 * term.el (term-dynamic-simple-complete):
7446 * vc/ediff-init.el (ediff-check-version):
7447 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
7448 * vc/vc.el (vc-diff-switches-list):
7449 * view.el (view-return-to-alist-update): Likewise.
7450
7451 * subr.el (eval-next-after-load, makehash, insert-string)
7452 (assoc-ignore-representation, assoc-ignore-case): Use declare to
7453 mark obsolete.
7454 (mode-line-inverse-video): Variable deleted.
7455
7456 * international/mule-util.el (string-to-sequence): Remove.
7457
7458 * calendar/calendar.el (calendar-version):
7459 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
7460 (icalendar-convert-diary-to-ical):
7461 * cus-edit.el (custom-mode):
7462 * ansi-color.el (ansi-color-unfontify-region):
7463 * international/latin1-disp.el (latin1-char-displayable-p):
7464 * progmodes/cwarn.el (turn-on-cwarn-mode):
7465 * progmodes/which-func.el (which-func-update-1):
7466 Use define-obsolete-function-alias.
7467
7468 * net/newst-backend.el (newsticker-cache-filename):
7469 * net/newst-treeview.el (newsticker-groups-filename):
7470 Fix incorrect obsolescence declaration.
7471
7472 * allout.el (allout-passphrase-hint-string): Likewise.
7473 (allout-init): Use a declare form to mark obsolete.
7474
7475 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
7476 this applies to functions.
7477
7478 * iswitchb.el (iswitchb-read-buffer): Move code of
7479 iswitchb-define-mode-map here, and delete that obsolete function.
7480
7481 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
7482 font-lock-reference-face.
7483
7484 2012-09-25 Glenn Morris <rgm@gnu.org>
7485
7486 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
7487 Doc fixes.
7488
7489 * eshell/em-term.el (eshell-term-name):
7490 Default to term-term-name. (Bug#12485)
7491
7492 2012-09-24 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7493
7494 * progmodes/python.el (python-shell-send-buffer): Better handling
7495 of "if __name__ == '__main__':" conditionals when sending the buffer.
7496
7497 2012-09-24 Glenn Morris <rgm@gnu.org>
7498
7499 * eshell/esh-cmd.el (eshell-find-alias-function):
7500 Tighten up file-name regexp. (Bug#12499)
7501
7502 2012-09-24 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7503
7504 Enhancements for triple-quote string syntax.
7505 * progmodes/python.el (python-quote-syntax): Remove.
7506 (python-syntax-propertize-function): New value.
7507 (python-syntax-count-quotes, python-syntax-stringify):
7508 New functions.
7509
7510 2012-09-24 Chong Yidong <cyd@gnu.org>
7511
7512 * mail/supercite.el (sc-version): Remove obsolete function.
7513 (sc-describe): Don't mark as obsolete, since it is bound.
7514 (sc-submit-bug-report): Remove.
7515
7516 * vc/log-edit.el (cvs-changelog-full-paragraphs)
7517 (cvs-commit-buffer-require-final-newline): Remove.
7518 (log-edit-require-final-newline)
7519 (log-edit-changelog-full-paragraphs): Default to t.
7520
7521 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
7522 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
7523 * vc/vc.el (vc-checkout-carefully): Likewise.
7524
7525 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
7526 (emerge-version): Remove.
7527
7528 * progmodes/compile.el (compile-internal): Remove.
7529 (compilation-parse-errors-function): Fix typo.
7530
7531 * international/mule.el (set-char-table-default): Remove.
7532 (set-coding-priority, make-coding-system, generic-char-p)
7533 (charset-list, charset-bytes, charset-id): Use declare to mark
7534 functions as obsolete.
7535
7536 * vc/pcvs-defs.el (cvs-buffer-name-alist)
7537 (cvs-invert-ignore-marks): Remove references to obsolete vars.
7538 * vc/vc-hooks.el (vc-default-registered): Don't use
7539 vc-master-templates.
7540
7541 * font-lock.el (font-lock-reference-face):
7542 Use define-obsolete-variable-alias.
7543
7544 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
7545 * calendar/calendar.el (calendar-font-lock-keywords):
7546 * calendar/diary-lib.el (diary-font-lock-keywords)
7547 (diary-fancy-font-lock-keywords):
7548 * textmodes/reftex-sel.el (reftex-insert-docstruct):
7549 * textmodes/reftex-index.el (reftex-insert-index):
7550 * textmodes/reftex-cite.el (reftex-format-bib-entry):
7551 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7552 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
7553 * progmodes/prolog.el (prolog-font-lock-keywords):
7554 * progmodes/idlwave.el (idlwave-idl-keywords):
7555 * progmodes/ada-mode.el (ada-font-lock-keywords):
7556 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
7557
7558 2012-09-24 Glenn Morris <rgm@gnu.org>
7559
7560 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
7561
7562 2012-09-23 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7563
7564 * progmodes/python.el (python-indent-line): More consistent cursor
7565 movement behavior.
7566
7567 2012-09-23 Stefan Merten <smerten@oekonux.de>
7568
7569 * textmodes/rst.el: Fix compiler warning.
7570
7571 2012-09-23 Roland Winkler <winkler@gnu.org>
7572
7573 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
7574 Transcribe also LaTeX hyphenation.
7575 (bibtex-reformat): Bug fix. Do not quote twice the elements of
7576 bibtex-reformat-previous-options.
7577
7578 2012-09-23 Roland Winkler <winkler@gnu.org>
7579
7580 * proced.el (proced-renice-command): New variable.
7581 (proced-marked-processes): New function.
7582 (proced-with-processes-buffer): New macro.
7583 (proced-send-signal): Use them.
7584 (proced-renice): New command bound to r.
7585
7586 2012-09-23 Roland Winkler <winkler@gnu.org>
7587
7588 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
7589 ibuffer-saved-filter-groups has one element, shortcut the call of
7590 completing-read. (Bug#12331)
7591
7592 2012-09-23 Chong Yidong <cyd@gnu.org>
7593
7594 * bindings.el (mode-line-toggle-read-only):
7595 * bs.el (bs-toggle-readonly):
7596 * buff-menu.el (Buffer-menu-toggle-read-only):
7597 * dired.el (dired-toggle-read-only):
7598 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
7599
7600 2012-09-23 Chong Yidong <cyd@gnu.org>
7601
7602 * image.el (image-type-available-p): Adapt to init-image-library
7603 argument changes.
7604
7605 2012-09-22 Juri Linkov <juri@jurta.org>
7606
7607 * dired.el (dired-mode-map): Add [remap read-only-mode] for
7608 `dired-toggle-read-only'. (Bug#12462)
7609
7610 2012-09-22 Martin Rudalics <rudalics@gmx.at>
7611
7612 * subr.el (temp-output-buffer-show): New function.
7613 (with-output-to-temp-buffer): Call temp-output-buffer-show
7614 instead of internal-temp-output-buffer-show.
7615
7616 2012-09-22 Chong Yidong <cyd@gnu.org>
7617
7618 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
7619 (Bug#12462).
7620
7621 * repeat.el (repeat): Doc fix (Bug#12348).
7622
7623 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
7624 (Bug#10909).
7625
7626 * simple.el (shell-command-on-region): Doc fix.
7627 (read-only-mode): Doc fix.
7628
7629 2012-09-22 Eli Zaretskii <eliz@gnu.org>
7630
7631 * emacs-lisp/timer.el (run-with-idle-timer)
7632 (timer-activate-when-idle): Warn against reinvoking an idle timer
7633 from within its own timer action. (Bug#12447)
7634
7635 2012-09-22 Martin Rudalics <rudalics@gmx.at>
7636
7637 * cus-start.el (window-combination-limit): Add new optional
7638 values.
7639 * window.el (temp-buffer-window-show)
7640 (window--try-to-split-window): Handle new values of
7641 window-combination-limit (Bug#1806).
7642 (split-window): Test window-combination-limit for t instead of
7643 non-nil.
7644 (display-buffer-at-bottom): New buffer display action function.
7645 * help.el (temp-buffer-resize-regexps): New option.
7646 (temp-buffer-resize-mode): Rewrite doc-string.
7647 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
7648 Don't resize reused window. Suggested by Glenn Morris.
7649
7650 2012-09-22 Stefan Merten <smerten@oekonux.de>
7651
7652 * textmodes/rst.el: Revamp section title faces.
7653 (rst-official-version)
7654 (rst-package-emacs-version-alist): Sync with official version
7655 V1.4.0.
7656 (rst-faces-defaults, rst-set-level-default)
7657 (rst-level-face-max, rst-level-face-base-color)
7658 (rst-level-face-base-light, rst-level-face-format-light)
7659 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
7660 (rst-adornment-faces-alist): Match new setup.
7661 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
7662 (rst-level-5, rst-level-6): New faces.
7663
7664 2012-09-22 Chong Yidong <cyd@gnu.org>
7665
7666 * simple.el (undo): Handle indirect buffers (Bug#8207).
7667
7668 2012-09-21 Leo Liu <sdl.web@gmail.com>
7669
7670 IDO: Disable match re-ordering for buffer switching.
7671 * ido.el (ido-buffer-disable-smart-matches): New variable.
7672 (ido-set-matches-1): Use it. (Bug#2042)
7673
7674 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
7675
7676 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
7677 Fix 2011-05-17 change. (Bug#12418)
7678
7679 2012-09-21 Leo Liu <sdl.web@gmail.com>
7680
7681 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
7682
7683 2012-09-21 Glenn Morris <rgm@gnu.org>
7684
7685 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
7686 Be more robust about locating simple.el.
7687
7688 2012-09-21 Glenn Morris <rgm@gnu.org>
7689
7690 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
7691
7692 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
7693
7694 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
7695
7696 2012-09-20 Juri Linkov <juri@jurta.org>
7697
7698 * replace.el (query-replace-read-from): Use `read-regexp' instead
7699 of `read-from-minibuffer' when `regexp-flag' is non-nil.
7700 (occur-read-primary-args): Use `read-regexp' instead of
7701 `read-string'.
7702 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
7703 `read-from-minibuffer'.
7704 * isearch.el (isearch-occur): Use `read-regexp' instead of
7705 `read-string'.
7706 * dired.el (dired-read-regexp): Use `read-regexp' instead of
7707 `read-from-minibuffer'.
7708 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
7709 of `read-string'. (Bug#7567)
7710
7711 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
7712 and allow accepting a list of strings prepended to a list of
7713 standard default values. Doc fix. (Bug#12321)
7714
7715 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
7716
7717 * replace.el (read-regexp): Don't add ": " when PROMPT already
7718 ends with a colon and space. (Bug#12321)
7719
7720 2012-09-20 Tassilo Horn <tsdh@gnu.org>
7721
7722 * doc-view.el (doc-view-display): Better fix for the cl-assertion
7723 error.
7724
7725 2012-09-20 Stefan Merten <smerten@oekonux.de>
7726
7727 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
7728 Fixes feature request bug#11711.
7729 (rst-mode): Create `imenu-create-index-function'.
7730 (rst-get-stripped-line): Delete after refactoring.
7731 (rst-section-tree, rst-section-tree-rec)
7732 (rst-section-tree-point): Refactor and document properly.
7733 (rst-imenu-find-adornments-for-position)
7734 (rst-imenu-convert-cell, rst-imenu-create-index):
7735 New function.
7736
7737 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
7738
7739 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
7740 (macroexp--expand-all): Use it.
7741 (macroexp--funcall-and-return): Remove by folding it into its sole
7742 caller (macroexp--warn-and-return).
7743 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
7744 Use macroexp--obsolete-warning.
7745
7746 * calc/calc.el: Fix last change by removing the whole chunk, since it
7747 was only needed back when Calc was not bundled.
7748
7749 2012-09-20 Martin Rudalics <rudalics@gmx.at>
7750
7751 * emacs-lisp/debug.el (debug): Restore assignment to
7752 debugger-old-buffer removed on 2012-09-08.
7753
7754 2012-09-20 Juri Linkov <juri@jurta.org>
7755
7756 * dired-aux.el (dired-diff): Remove (require 'diff) since
7757 `diff-latest-backup-file' is now autoloaded.
7758
7759 2012-09-20 Chong Yidong <cyd@gnu.org>
7760
7761 * vc/diff.el (diff-latest-backup-file): Autoload.
7762
7763 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
7764
7765 * calc/calc.el: Remove redundant autoload shape check.
7766 (sel-mode): Don't defvar.
7767 (calc-get-stack-element): Add `sel-mode' arg instead.
7768 (calc-top, calc-top-list): Pass it this additional argument.
7769 * calc/calc-store.el (calc-store-map):
7770 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
7771 (calc-map-equation, calc-outer-product, calc-inner-product):
7772 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
7773
7774 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
7775
7776 2012-09-19 Juri Linkov <juri@jurta.org>
7777
7778 * dired-aux.el (dired-diff): Add (require 'diff) because
7779 `diff-latest-backup-file' is not autoloaded.
7780 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
7781 of `dired-get-filename' to t to not report error when there is
7782 no default file on the current line.
7783
7784 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7785
7786 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
7787 macroexp--eval-if-compile.
7788 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
7789 (macroexp--expand-all): Use them (bug#12371).
7790
7791 * doc-view.el (doc-view-guess-paper-size)
7792 (doc-view-scale-bounding-box): Fix unbound `caddr'.
7793
7794 2012-09-19 Tassilo Horn <tsdh@gnu.org>
7795
7796 New feature: set optimal slice from BoundingBox information.
7797 * doc-view.el (doc-view-mode-map): Add keybinding.
7798 (doc-view-menu): Add menu entry.
7799 (doc-view-set-slice): Adapt docstring.
7800 (doc-view-get-bounding-box, doc-view-guess-paper-size)
7801 (doc-view-scale-bounding-box)
7802 (doc-view-set-slice-from-bounding-box): New functions.
7803 (doc-view-paper-sizes): New defvar.
7804
7805 2012-09-19 Glenn Morris <rgm@gnu.org>
7806
7807 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
7808 (byte-compile-log-warning): Autoload. (Bug#12371)
7809
7810 * calendar/calendar.el (calendar-american-month-header)
7811 (calendar-european-month-header, calendar-iso-month-header)
7812 (calendar-month-header): New options.
7813 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
7814 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
7815
7816 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
7817
7818 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
7819
7820 2012-09-18 Juri Linkov <juri@jurta.org>
7821
7822 * dired-aux.el (dired-diff): Restore original functionality of
7823 getting the default value, but keep new feature of using the
7824 latest existing backup file (`diff-latest-backup-file').
7825
7826 2012-09-18 Juri Linkov <juri@jurta.org>
7827
7828 * dired.el (dired-mark): If the region is active in Transient Mark
7829 mode, mark all files in the active region. Doc fix.
7830 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
7831 Doc fix. (Bug#10624)
7832
7833 2012-09-18 Juri Linkov <juri@jurta.org>
7834
7835 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
7836 attributes for M-n are pulled from the file at point.
7837 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
7838 Suggested by Drew Adams. (Bug#10624)
7839
7840 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
7841
7842 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
7843 whitespace after "end".
7844 (ruby-do-end-to-brace): Collapse block to one line if it fits
7845 within fill-column.
7846
7847 2012-09-18 Martin Rudalics <rudalics@gmx.at>
7848
7849 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
7850 value.
7851 (debug): Don't remove debugger window when debugger is expected
7852 to be back.
7853
7854 2012-09-18 Chong Yidong <cyd@gnu.org>
7855
7856 * custom.el (defface): Doc fix.
7857
7858 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
7859
7860 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
7861
7862 * progmodes/compile.el (compilation-start): Use compilation-always-kill
7863 to initialize query-on-exit; then test that instead (bug#12288).
7864
7865 2012-09-17 Stefan Merten <smerten@oekonux.de>
7866
7867 * textmodes/rst.el: Add support for `testcover'.
7868 (rst-defcustom-testcover, rst-testcover-add-compose)
7869 (rst-testcover-add-1value): New functions.
7870 (rst-portable-mark-active-p): Replace by `use-region-p'.
7871 (rst-update-section, rst-classify-adornment)
7872 (rst-find-title-line): Mark `1value' forms.
7873 (rst-classify-adornment): Remove superfluous form.
7874 (rst-update-section, rst-get-adornments-around)
7875 (rst-adornment-complete-p, rst-get-next-adornment)
7876 (rst-adjust, rst-promote-region)
7877 (rst-display-adornments-hierarchy, rst-straighten-adornments)
7878 (rst-find-pfx-in-region, rst-section-tree-rec)
7879 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
7880 (rst-toc-node, rst-toc, rst-forward-section)
7881 (rst-iterate-leftmost-paragraphs)
7882 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
7883 (rst-bullet-list-region)
7884 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
7885 (rst-compile-find-conf, rst-compile)
7886 (rst-repeat-last-character): Fix style.
7887
7888 2012-09-17 Chong Yidong <cyd@gnu.org>
7889
7890 * comint.el (comint--complete-file-name-data): Don't add a space
7891 if the status is `sole'; that adds a gratuitous space in the
7892 completion-cycling case (Bug#12092).
7893
7894 * pcomplete.el (pcomplete-completions-at-point): Likewise.
7895
7896 2012-09-17 Richard Stallman <rms@gnu.org>
7897
7898 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
7899 only in the mime-shown mode, not in raw mode.
7900 (rmail-mime): Toggle off mime by displaying the message without
7901 mime processing. (Bug#12305)
7902
7903 * mail/rmail.el (rmail-retry-failure):
7904 Turn off mime processing first. (Bug#12037)
7905
7906 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
7907
7908 2012-09-17 Chong Yidong <cyd@gnu.org>
7909
7910 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
7911 (shell-dynamic-complete-functions): Convert to defcustom.
7912 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
7913
7914 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
7915 * comint.el (comint-prompt-read-only):
7916 * custom.el (defcustom):
7917 * hi-lock.el (hi-lock-mode):
7918 * ibuffer.el (ibuffer-formats):
7919 * ielm.el (ielm-prompt-read-only):
7920 * novice.el (disable-command):
7921 * saveplace.el (toggle-save-place):
7922 * speedbar.el (speedbar-supported-extension-expressions):
7923 * startup.el (auto-save-list-file-prefix, init-file-user)
7924 (after-init-hook, inhibit-startup-echo-area-message):
7925 * strokes.el (strokes-help):
7926 * time-stamp.el (time-stamp):
7927 * calendar/calendar.el (calendar, diary-file):
7928 * calendar/diary-lib.el (diary-mail-entries, diary)
7929 (diary-list-entries-hook):
7930 * calendar/holidays.el (holidays, calendar-holidays):
7931 * calendar/lunar.el (lunar-phases):
7932 * calendar/solar.el (sunrise-sunset):
7933 * emulation/edt.el (edt-load-keys):
7934 * emulation/viper.el (viper-mode):
7935 * eshell/em-alias.el (eshell-command-aliases-list):
7936 * eshell/esh-util.el (eshell-convert-numeric-arguments):
7937 * international/ogonek.el (ogonek-information):
7938 * net/tramp-cmds.el (tramp-bug):
7939 * net/quickurl.el (quickurl-reread-hook-postfix):
7940 * play/decipher.el (decipher-font-lock-keywords):
7941 * progmodes/cc-styles.el (c-set-style):
7942 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
7943 * progmodes/inf-lisp.el (inferior-lisp-prompt):
7944 * progmodes/octave-mod.el (octave-mode):
7945 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
7946 * progmodes/verilog-mode.el (verilog-read-defines):
7947 * textmodes/two-column.el (2C-mode): Likewise.
7948
7949 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
7950
7951 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
7952 that holds many addresses.
7953
7954 2012-09-16 Chong Yidong <cyd@gnu.org>
7955
7956 * align.el (align-areas): Call the indication function with
7957 positions instead of markers for arguments (Bug#12343).
7958
7959 * files.el (parse-colon-path): Use split-string (Bug#12351).
7960
7961 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
7962 (display-buffer-function): Mark as obsolete.
7963
7964 * progmodes/compile.el (compilation-parse-errors): Accept list
7965 values similar to font-lock-keywords (Bug#12136).
7966 Suggested by Oleksandr Manzyuk.
7967 (compilation-error-regexp-alist): Doc fix.
7968
7969 2012-09-15 Glenn Morris <rgm@gnu.org>
7970
7971 * version.el (emacs-bzr-version-bzr): New function.
7972 (emacs-bzr-get-version): Add optional EXTERNAL argument.
7973
7974 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
7975 checkouts, check the parent dirstate matches the branch.
7976 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
7977 empty string.
7978
7979 * version.el (emacs-bzr-version): Doc fix.
7980 (emacs-bzr-version-dirstate): New function.
7981 (emacs-bzr-get-version): For lightweight checkouts, if the parent
7982 is local try and check that it matches the branch. If not, just
7983 use dirstate information. (Bug#12441)
7984
7985 2012-09-14 Juri Linkov <juri@jurta.org>
7986
7987 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
7988 (Bug#12399)
7989
7990 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7991
7992 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
7993
7994 * emacs-lisp/edebug.el: Miscellaneous cleanup.
7995 Remove obsolete byte-compiler hack that tried to silence some warnings.
7996 (edebug-submit-bug-report): Remove.
7997 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
7998 Remove aliases, use the un-prefixed name instead.
7999 (edebug-pop-to-buffer): Consider other frames.
8000 (edebug-original-read):: Make it more obvious that it's always defined.
8001 (edebug--make-form-data-entry, edebug--form-data-name)
8002 (edebug--form-data-begin, edebug--form-data-end): Rename from the
8003 single-dashed name, and implement with cl-defstruct.
8004 (edebug-set-form-data-entry): Use the standard accessors.
8005 (edebug-make-top-form-data-entry): Use push.
8006 (edebug-no-match): Drop useless `funcall'.
8007 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
8008 to functions.
8009 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
8010 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
8011 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
8012 (easy-menu-define, with-custom-print): Remove redundant specs.
8013 (edebug-outside-overriding-local-map)
8014 (edebug-outside-overriding-terminal-local-map): Remove, unused.
8015 (edebug--display): Bind unread-command-events directly to nil rather
8016 than binding it to unread-command-events and later setting it to nil.
8017 (edebug--display): Kill edebug-eval-buffer here...
8018 (edebug--recursive-edit): ...rather than here.
8019 Bind standard-output and standard-input.
8020 (edebug-eval): Check cl-macroexpand-all is fboundp.
8021 (edebug-temp-display-freq-count): Fix last change.
8022
8023 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
8024 * subr.el (noreturn, 1value): Add `debug' spec.
8025 * emacs-lisp/advice.el: Require cl-lib.
8026 (ad-copy-tree): Remove, use copy-tree instead.
8027 (ad-dolist): Remove use dolist or cl-dolist instead.
8028 (ad-do-return): Remove, use cl-return instead.
8029 (defadvice): Add `debug' spec.
8030
8031 2012-09-13 Juri Linkov <juri@jurta.org>
8032
8033 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
8034 (Bug#12399)
8035
8036 2012-09-13 Glenn Morris <rgm@gnu.org>
8037
8038 * calc/calc.el (math-compose-expr):
8039 * calc/calc-ext.el (math-compose-expr):
8040 * progmodes/cc-defs.el (cl-macroexpand-all):
8041 * progmodes/cc-langs.el (delete-duplicates, mapcan)
8042 (cl-macroexpand-all): Update declarations.
8043
8044 * vc/vc.el: No need to require ediff.
8045 (ediff-load-version-control): Declare.
8046 (ediff-vc-internal): Fix declaration.
8047 (vc-version-ediff): Require ediff.
8048
8049 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
8050
8051 Use a more backwards-compatible timer format (Bug#12430).
8052 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
8053 being right after USECS, as that better supports old code that
8054 inadvisedly looked directly at the timer vector.
8055
8056 2012-09-13 Kenichi Handa <handa@gnu.org>
8057
8058 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
8059 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
8060 `coding-priority' property of these language environment.
8061
8062 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
8063
8064 Fix glitches caused by addition of psec to timers (Bug#12430).
8065 * image.el (image-animate-timer):
8066 * time.el (display-time-world-timer):
8067 Use timer--function and timer--args rather than raw access to
8068 timer vector.
8069
8070 2012-09-13 Glenn Morris <rgm@gnu.org>
8071
8072 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
8073 If not compiling a file, try using load-file-name.
8074
8075 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
8076
8077 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
8078 Fix last change.
8079 (edebug-update-eval-list): Use `push'.
8080
8081 * emacs-lisp/edebug.el: Use lexical-binding.
8082 Remove the "edebug-" prefix from non-dynamically-scoped variables.
8083 Mark unused args with underscore.
8084 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
8085 (edebug-form-data): Use defvar-local.
8086 (edebug-make-before-and-after-form, edebug-make-after-form):
8087 Use backquote.
8088 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
8089 Not dynamically scoped any more.
8090 (edebug--enter-trace): Add arguments `function' and `args'.
8091 Rename from edebug-enter-trace.
8092 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
8093 (edebug--update-coverage): Add `after-index' and `value' args.
8094 Rename from edebug-update-coverage.
8095 (edebug-slow-after): Call it accordingly.
8096 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
8097 edebug-recursive-edit.
8098 (edebug--display): Call it accordingly. Add args `value',
8099 `offset-index', and `arg-mode'. Rename from edebug-display.
8100 (edebug-debugger, edebug): Call it accordingly.
8101 (edebug-eval-display-list): Use dolist.
8102
8103 2012-09-12 Juri Linkov <juri@jurta.org>
8104
8105 * info.el (Info-search): Don't check for isearch-mode and
8106 isearch-regexp before let-binding search-spaces-regexp to
8107 Info-search-whitespace-regexp.
8108 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
8109 search-whitespace-regexp if isearch-lax-whitespace or
8110 isearch-regexp-lax-whitespace is non-nil.
8111 (Info-mode): Don't set local variable search-whitespace-regexp.
8112 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
8113
8114 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8115
8116 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
8117 (debugger-env-macro): Remove support for unread-command-char.
8118
8119 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
8120 the temporary map re-appearing on emulation-mode-map-alists.
8121
8122 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
8123 since 22.1.
8124
8125 * ehelp.el (with-electric-help): Accept functions in
8126 electric-help-form-to-execute.
8127 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
8128 And replace unread-command-char -> unread-command-events.
8129
8130 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
8131
8132 Sync with Tramp 2.2.6.
8133
8134 * net/tramp.el (tramp-accept-process-output): Don't use
8135 JUST-THIS-ONE in the XEmacs case.
8136
8137 * net/trampver.el: Update release number.
8138
8139 2012-09-12 Martin Rudalics <rudalics@gmx.at>
8140
8141 * emacs-lisp/debug.el (debugger-previous-window-height):
8142 New variable.
8143 (debug): When debugger-jumping-flag is non-nil try to restore
8144 height of debugger window. (Bug#8789)
8145
8146 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8147
8148 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
8149 overriding-local-map and pre/post-command-hook here.
8150 (edebug-recursive-edit): Do it here instead (bug#12345).
8151 (edebug-outside-unread-command-char): Remove all uses of
8152 unread-command-char.
8153
8154 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
8155 inhibit-debugger is bound instead.
8156
8157 2012-09-11 Bastien Guerry <bzg@gnu.org>
8158
8159 * subr.el (set-temporary-overlay-map): Add a docstring.
8160 (Bug#12346)
8161
8162 2012-09-11 Bastien Guerry <bzg@gnu.org>
8163
8164 * minibuffer.el (completion-table-subvert): Fix docstring.
8165 (Bug#12347)
8166
8167 2012-09-11 Bastien Guerry <bzg@gnu.org>
8168
8169 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
8170
8171 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
8172
8173 * progmodes/sql.el: Version 3.1
8174 (sql-db2-escape-newlines): New variable.
8175 (sql-escape-newlines-filter): Use it.
8176
8177 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
8178
8179 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
8180
8181 2012-09-10 Dan Nicolaescu <dann@gnu.org>
8182
8183 * vc/diff-mode.el (diff-mode-menu):
8184 Bind diff-remove-trailing-whitespace.
8185
8186 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
8187
8188 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
8189 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
8190 (emacs-lisp-byte-code-mode): New functions.
8191 (eval-sexp-add-defvars): Don't skip defvars in column >0.
8192 (eval-defun-2): Remove bogus interactive spec.
8193 (lisp-indent-line): Remove redundant whole-exp code, now done in
8194 indent-according-to-mode.
8195 (save-match-data): Remove redundant indent data.
8196
8197 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
8198 Use `declare'.
8199
8200 2012-09-09 Juri Linkov <juri@jurta.org>
8201
8202 * replace.el (replace-regexp-lax-whitespace): New defcustom.
8203 (replace-lax-whitespace, query-replace-regexp)
8204 (query-replace-regexp-eval, replace-regexp): Doc fix.
8205 (perform-replace, replace-highlight): Let-bind
8206 isearch-lax-whitespace to replace-lax-whitespace and
8207 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
8208
8209 * isearch.el (isearch-query-replace): Let-bind
8210 replace-lax-whitespace to isearch-lax-whitespace and
8211 replace-regexp-lax-whitespace to
8212 isearch-regexp-lax-whitespace. (Bug#10885)
8213
8214 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
8215
8216 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
8217
8218 2012-09-09 Alan Mackenzie <acm@muc.de>
8219
8220 * progmodes/cc-engine.el (c-state-cache-init):
8221 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
8222 (c-record-parse-state-state):
8223 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
8224
8225 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
8226
8227 * register.el (register-separator): Rename from
8228 separator-register. All uses changed. Doc fix.
8229 (register): Fix version.
8230
8231 2012-09-09 Chong Yidong <cyd@gnu.org>
8232
8233 * replace.el (query-replace-map): Bind four new symbols for
8234 requesting window scrolling.
8235
8236 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
8237 query-replace-map (Bug#8948).
8238
8239 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
8240
8241 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
8242 since they are now in query-replace-map.
8243
8244 * window.el (scroll-other-window-down): Make the arg optional.
8245
8246 2012-09-09 Chong Yidong <cyd@gnu.org>
8247
8248 * files.el (hack-local-variables-confirm): Use quit-window to kill
8249 the *Local Variables* buffer.
8250
8251 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
8252
8253 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
8254 not just expect to be at its beginning. Adjust callees.
8255 Succeed when do-end block has no space before the pipe character.
8256 (ruby-brace-to-do-end): When the original block is one-liner,
8257 convert to multiline. Reindent the result.
8258
8259 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
8260
8261 * register.el (register): New group.
8262 (separator-register): New user option.
8263 (increment-register): Route it to `append-to-register', if
8264 register contains text. Implication is that `C-x r +' can now be
8265 used for appending to a text register (bug#12217).
8266 (append-to-register, prepend-to-register): Add separator based on
8267 `separator-register'.
8268
8269 2012-09-08 Alan Mackenzie <acm@muc.de>
8270
8271 AWK Mode: make auto-newline work when there's "==" in the pattern.
8272 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
8273 correctly.
8274 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
8275 Test more rigorously for "=" token.
8276
8277 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
8278
8279 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
8280 Only fail when reached LIMIT.
8281
8282 2012-09-08 Chong Yidong <cyd@gnu.org>
8283
8284 * dired.el (dired-mode-map): Don't bind M-=.
8285
8286 * dired-aux.el (dired-diff): Use backup file as default.
8287
8288 2012-09-08 Drew Adams <drew.adams@oracle.com>
8289
8290 * subr.el (add-to-history): Fix delete usage (Bug#12314).
8291
8292 2012-09-08 Chong Yidong <cyd@gnu.org>
8293
8294 * subr.el (syntax-after, syntax-class): Doc fix.
8295
8296 2012-09-08 Martin Rudalics <rudalics@gmx.at>
8297
8298 * window.el (display-buffer-in-previous-window): New buffer
8299 display action function.
8300
8301 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
8302 (debugger-previous-window): New variable.
8303 (debug): Rewrite using display-buffer-in-previous-window,
8304 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
8305
8306 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
8307
8308 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
8309
8310 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
8311
8312 * progmodes/python.el (python-shell-send-string):
8313 When default-directory is remote, create temp file on remote
8314 filesystem.
8315 (python-shell-send-file): When file is remote, pass local view of
8316 file paths to remote Python interpreter. (Bug#12340)
8317
8318 2012-09-07 Chong Yidong <cyd@gnu.org>
8319
8320 * window.el (switch-to-buffer): Doc fix (Bug#12181).
8321
8322 * files.el (after-find-file): Don't fail on a read-only buffer if
8323 require-final-newline is `visit' or `visit-save' (Bug#11156).
8324
8325 * subr.el (read-char-choice): Allow quitting via ESC ESC.
8326
8327 * userlock.el (ask-user-about-supersession-threat):
8328 Use read-char-choice (Bug#12093).
8329
8330 2012-09-07 Chong Yidong <cyd@gnu.org>
8331
8332 * subr.el (buffer-narrowed-p): New function.
8333
8334 * ses.el (ses-widen):
8335 * simple.el (count-words--buffer-message):
8336 * net/browse-url.el (browse-url-of-buffer): Use it.
8337
8338 * simple.el (count-words-region): Don't signal an error if there
8339 is a non-nil prefix arg and the mark is not set.
8340
8341 * help.el (describe-key-briefly): Allow the message to be seen
8342 when invoked from the minibuffer (Bug#7014).
8343
8344 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
8345
8346 * progmodes/ruby-mode.el (ruby-end-of-defun)
8347 (ruby-beginning-of-defun): Simplify, allow indentation before
8348 block beginning and end keywords.
8349 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
8350 (ruby-end-of-defun): Expect that the point is at the beginning of
8351 the defun.
8352
8353 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
8354
8355 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
8356 (bug#12367).
8357 (cl--make-usage-args): Strip _ from argument names.
8358
8359 2012-09-06 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
8360
8361 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
8362 obsolete alias speedbar-key-map.
8363 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
8364 (vhdl-index-menu-init): Don't use obsolete variable
8365 font-lock-maximum-size.
8366
8367 2012-09-06 Chong Yidong <cyd@gnu.org>
8368
8369 * frame.el (window-system-version): Mark as obsolete.
8370
8371 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
8372 of obsolete variable speedbar-key-map.
8373
8374 2012-09-06 Juri Linkov <juri@jurta.org>
8375
8376 * replace.el (replace-lax-whitespace): New defcustom.
8377 (query-replace, query-replace-regexp, query-replace-regexp-eval)
8378 (replace-string, replace-regexp): Mention it in docstrings.
8379 (perform-replace, replace-highlight): Let-bind
8380 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
8381 to the values of replace-lax-whitespace and regexp-flag.
8382 Don't let-bind search-whitespace-regexp. (Bug#10885)
8383
8384 * isearch.el (isearch-query-replace): Let-bind
8385 replace-lax-whitespace instead of let-binding
8386 replace-search-function and replace-re-search-function.
8387 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
8388 and isearch-regexp-lax-whitespace to lazy-highlight variables.
8389 (isearch-toggle-symbol): Set isearch-regexp to nil
8390 in isearch-word mode (like in isearch-toggle-word).
8391
8392 2012-09-06 Juri Linkov <juri@jurta.org>
8393
8394 * replace.el (replace-search-function)
8395 (replace-re-search-function): Set default values to nil.
8396 (perform-replace): Let-bind isearch-related variables based on
8397 replace-related values, call `isearch-search-fun' and let-bind
8398 the result to `search-function'. Remove code that sets
8399 `search-function' and `search-string' separately for
8400 `delimited-flag'.
8401 (replace-highlight): Add new argument `delimited-flag' and
8402 rename other arguments to the names used in `perform-replace'.
8403 Let-bind `isearch-word' to the argument `delimited-flag'.
8404 (Bug#10885, bug#10887)
8405
8406 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
8407
8408 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
8409 ruby-beginning-of-indent, simplify, allow all keywords to have
8410 indentation before them.
8411 (ruby-beginning-of-indent): Adjust for above. Search until the
8412 found point is not inside a string or comment.
8413 (ruby-font-lock-keywords): Allow symbols to start with "@"
8414 character, give them higher priority than variables.
8415 (ruby-syntax-propertize-function)
8416 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
8417 matchers. Expression expansions are not comments when inside a
8418 string, and there comment syntax status is irrelevant.
8419 (ruby-match-expression-expansion): New function. Check that
8420 expression expansion is inside a string, and it's not escaped.
8421 (ruby-font-lock-keywords): Use it.
8422
8423 2012-09-05 Martin Rudalics <rudalics@gmx.at>
8424
8425 * help.el (temp-buffer-max-height): New default value.
8426 (temp-buffer-resize-frames): New option.
8427 (resize-temp-buffer-window): Optionally resize frame.
8428
8429 * window.el (fit-frame-to-buffer-bottom-margin): New option.
8430 (fit-frame-to-buffer): New function.
8431
8432 2012-09-05 Glenn Morris <rgm@gnu.org>
8433
8434 * emulation/cua-rect.el (cua--init-rectangles):
8435 * textmodes/picture.el (picture-mode-map):
8436 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
8437 like forward-char and backward-char. (Bug#12317)
8438
8439 2012-09-05 Leo Liu <sdl.web@gmail.com>
8440
8441 * progmodes/flymake.el (flymake-warning-re): New variable.
8442 (flymake-parse-line): Use it.
8443
8444 2012-09-05 Glenn Morris <rgm@gnu.org>
8445
8446 * calendar/holidays.el (holiday-christian-holidays):
8447 Rename an entry. (Bug#12289)
8448
8449 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
8450
8451 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
8452 (bug#12222).
8453
8454 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
8455
8456 * loadup.el: Load macroexp. Remove hack.
8457 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
8458 (macroexp--expand-all): Use it to get better warnings.
8459 (macroexp--backtrace, macroexp--trim-backtrace-frame)
8460 (internal-macroexpand-for-load): New functions.
8461 (macroexp--pending-eager-loads): New var.
8462 (emacs-startup-hook): New hack to replace one in loadup.el.
8463 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
8464 (cl--compiler-macro-cXXr): Move to top, before they can be used.
8465 (cl-psetf): Simplify.
8466 (cl-defstruct): Add indent rule.
8467
8468 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
8469
8470 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
8471 over `user-mail-address' for the SMTP MAIL FROM envelope.
8472 (smtpmail-via-smtp): Ditto.
8473
8474 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
8475
8476 * progmodes/ruby-mode.el: Clean up keybindings.
8477 (ruby-mode-map): Don't bind ruby-electric-brace,
8478 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
8479 backward-kill-word, reindent-then-newline-and-indent.
8480 (ruby-mark-defun): Remove.
8481 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
8482 (ruby-mode): Set local beginning-of-defun-function and
8483 end-of-defun-function values.
8484
8485 2012-09-03 Martin Rudalics <rudalics@gmx.at>
8486
8487 * window.el (temp-buffer-window-setup-hook)
8488 (temp-buffer-window-show-hook): New hooks.
8489 (temp-buffer-window-setup, temp-buffer-window-show)
8490 (with-temp-buffer-window): New functions.
8491 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
8492 (special-display-popup-frame): Make sure the window used shows BUFFER.
8493
8494 * help.el (temp-buffer-resize-mode): Fix doc-string.
8495 (resize-temp-buffer-window): New optional argument WINDOW.
8496
8497 * files.el (recover-file, save-buffers-kill-emacs):
8498 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
8499
8500 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
8501
8502 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
8503 remote definition of `default-directory', ensure we can connect.
8504
8505 2012-09-02 Juri Linkov <juri@jurta.org>
8506
8507 Toggle whitespace matching mode with M-s SPC.
8508 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
8509
8510 * isearch.el (search-whitespace-regexp): Doc fix.
8511 Remove cons cell customization.
8512 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
8513 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
8514 New variables.
8515 (isearch-forward, isearch-forward-regexp): Doc fix.
8516 (isearch-toggle-lax-whitespace): New command.
8517 (search-forward-lax-whitespace, search-backward-lax-whitespace)
8518 (re-search-forward-lax-whitespace)
8519 (re-search-backward-lax-whitespace): New functions.
8520 (isearch-whitespace-regexp): Remove function.
8521 (isearch-query-replace): Let-bind replace-search-function and
8522 replace-re-search-function.
8523 (isearch-occur): Let-bind search-spaces-regexp according to the
8524 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
8525 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
8526 condition for C-q SPC.
8527 (isearch-search-fun-default): Use new functions mentioned above.
8528 (isearch-search-forward, isearch-search-backward): Remove functions.
8529 (isearch-search): Don't let-bind search-spaces-regexp.
8530 (isearch-lazy-highlight-space-regexp): Remove variable.
8531 (isearch-lazy-highlight-lax-whitespace)
8532 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
8533 (isearch-lazy-highlight-new-loop): Use them.
8534 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
8535
8536 2012-09-02 Chong Yidong <cyd@gnu.org>
8537
8538 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
8539
8540 2012-09-02 Glenn Morris <rgm@gnu.org>
8541
8542 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
8543
8544 2012-09-01 Glenn Morris <rgm@gnu.org>
8545
8546 * term.el: Tidy up menu definitions.
8547 (term-mode-map): Use easymenu for In/Out, Complete menus.
8548 (term-pager-break-map): Initialize in the defvar.
8549 (term-terminal-menu, term-signals-menu): Define with easymenu.
8550 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
8551 (term-pager-menu): New, extracted from term-process-pager.
8552 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
8553 (term-update-mode-line): Propertize line/char and page items.
8554 (term-process-pager): Move keymap initialization elsewhere.
8555
8556 2012-09-01 Martin Rudalics <rudalics@gmx.at>
8557
8558 * window.el (switch-to-prev-buffer): Handle additional values of
8559 BURY-OR-KILL argument. Don't switch in minibuffer window.
8560 (switch-to-next-buffer): Don't switch in minibuffer window.
8561 (quit-restore-window): New function based on quit-window.
8562 Handle additional values of former KILL argument.
8563 (quit-window): Call quit-restore-window with appropriate
8564 interpretation of KILL argument.
8565 (display-buffer-below-selected): New buffer display action
8566 function.
8567
8568 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
8569
8570 * minibuffer.el (completion-at-point-functions): Complete docstring
8571 (bug#12254).
8572
8573 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
8574
8575 Better seed support for (random).
8576 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
8577 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
8578 * play/mpuz.el, play/tetris.el, play/zone.el:
8579 * calc/calc-comb.el (math-init-random-base):
8580 * play/blackbox.el (bb-init-board):
8581 * play/life.el (life):
8582 * server.el (server-use-tcp):
8583 * type-break.el (type-break):
8584 Remove unnecessary call to (random t).
8585 * net/sasl.el (sasl-unique-id-function):
8586 Change (random t) to (random), now that the latter is more random.
8587 * play/life.el (life-initialized): Remove no-longer-needed var.
8588
8589 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
8590
8591 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
8592 Consider frame's buffer predicate when choosing the buffer.
8593 (Bug#12081)
8594
8595 2012-08-30 Richard Stallman <rms@gnu.org>
8596
8597 * simple.el (special-mode-map): Delete binding for `z'.
8598
8599 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
8600
8601 * progmodes/compile.el (compilation-always-kill): Doc fix.
8602
8603 2012-08-30 Chong Yidong <cyd@gnu.org>
8604
8605 * window.el (display-buffer-reuse-frames): Make the obsolescence
8606 message more informative.
8607
8608 2012-08-30 Glenn Morris <rgm@gnu.org>
8609
8610 * paren.el (show-paren-delay):
8611 Add a :set function. Doc fix. (Bug#12297)
8612
8613 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
8614
8615 * progmodes/compile.el (compilation-always-kill): New var.
8616 (compilation-start): Use it.
8617
8618 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
8619
8620 * simple.el (read-only-mode): Move from files.el for bootstrapping.
8621 * files.el (read-only-mode): Move to simple.el.
8622
8623 * files.el (read-only-mode): New minor mode.
8624 (toggle-read-only): Use it and mark obsolete.
8625 (find-file--read-only):
8626 * vc/vc.el (vc-next-action, vc-checkout):
8627 * vc/vc-cvs.el (vc-cvs-checkout):
8628 * obsolete/vc-mcvs.el (vc-mcvs-update):
8629 * ffap.el (ffap--toggle-read-only): Update callers.
8630
8631 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
8632
8633 * eshell/esh-ext.el (eshell-external-command): Do not examine
8634 remote shell scripts.
8635 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
8636
8637 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
8638 "/usr/local/sbin".
8639
8640 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8641
8642 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
8643
8644 2012-08-28 Leo Liu <sdl.web@gmail.com>
8645
8646 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
8647 completion-at-point. (Bug#12220)
8648
8649 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
8650
8651 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
8652
8653 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8654
8655 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
8656 be buffer-local; add delete-trailing-whitespace (bug#12259).
8657
8658 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
8659
8660 * progmodes/hideif.el (hif-compress-define-list):
8661 Fix typo. (Bug#11951)
8662
8663 2012-08-28 Dan Nicolaescu <dann@gnu.org>
8664
8665 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
8666 buffer local setting.
8667
8668 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
8669 rcirc-encode-coding-system.
8670
8671 2012-08-28 Leo Liu <sdl.web@gmail.com>
8672
8673 * net/rcirc.el (rcirc-split-message): New function.
8674 (rcirc-send-message): Use it. (Bug#12051)
8675
8676 2012-08-28 Juri Linkov <juri@jurta.org>
8677
8678 * info.el (Info-fontify-node): Hide empty lines at the end of
8679 the node. (Bug#12272)
8680
8681 2012-08-27 Drew Adams <drew.adams@oracle.com>
8682
8683 * dired.el (dired-pop-to-buffer): Make window start at beginning
8684 of buffer (Bug#12281).
8685
8686 2012-08-26 Chong Yidong <cyd@gnu.org>
8687
8688 * window.el (special-display-regexps, special-display-frame-alist)
8689 (special-display-buffer-names, special-display-function)
8690 (display-buffer-reuse-frames): Mark as obsolete.
8691
8692 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
8693
8694 * help.el (help-print-return-message): Don't treat
8695 display-buffer-reuse-frames specially.
8696
8697 2012-08-26 Chong Yidong <cyd@gnu.org>
8698
8699 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
8700 New variable, replacing gdb-frame-parameters.
8701 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
8702 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
8703 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
8704 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
8705 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
8706 the functions directly with gdb-display-buffer-other-frame-action.
8707 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
8708 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
8709 (gdb-display-stack-buffer, gdb-display-locals-buffer)
8710 (gdb-display-registers-buffer): Define directly.
8711 (def-gdb-display-buffer): Macro deleted.
8712 (gdb-display-buffer): Remove second and third args, callers don't
8713 use them. Defer to the default display-buffer behavior, apart
8714 from making windows dedicated.
8715 (gdb-setup-windows): Don't call display-buffer unnecessarily.
8716
8717 * progmodes/gud.el (gud-display-line): Just use display-buffer.
8718
8719 * window.el (display-buffer-pop-up-frame): Handle a
8720 pop-up-frame-parameters alist entry.
8721 (display-buffer): Document it.
8722
8723 2012-08-26 Chong Yidong <cyd@gnu.org>
8724
8725 * isearch.el (search-whitespace-regexp): Make string and nil
8726 values apply to both ordinary and regexp search. Allow a cons
8727 cell value to distinguish between the two.
8728 (isearch-whitespace-regexp, isearch-search-forward)
8729 (isearch-search-backward): New functions.
8730 (isearch-occur, isearch-search-fun-default, isearch-search)
8731 (isearch-lazy-highlight-new-loop): Use them.
8732 (isearch-forward, isearch-forward-regexp): Doc fix.
8733
8734 2012-08-26 Chong Yidong <cyd@gnu.org>
8735
8736 * faces.el (help-argument-name): Always inherit from italic
8737 (Bug#12213).
8738
8739 2012-08-25 Martin Rudalics <rudalics@gmx.at>
8740
8741 * window.el (window--even-window-heights): Even heights when
8742 WINDOW and the selected window form a vertical combination.
8743 (display-buffer-use-some-window): Provide that window used gets
8744 sized back by quit-window. (Bug#11880) and (Bug#12091)
8745
8746 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
8747
8748 Fix file time stamp problem with bzr and CVS (Bug#12001).
8749 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
8750 in the file's time stamp, since the version control system loses
8751 that information.
8752
8753 2012-08-22 Juri Linkov <juri@jurta.org>
8754
8755 * info.el (Info-fontify-node): Hide the suffix of the
8756 Info file name in the header line. (Bug#12187)
8757
8758 2012-08-22 Glenn Morris <rgm@gnu.org>
8759
8760 * calendar/cal-tex.el (cal-tex-weekly-common):
8761 Restore leading blank page.
8762
8763 2012-08-22 Le Wang <l26wang@gmail.com>
8764
8765 * misc.el (forward-to-word, backward-to-word): Activate or extend
8766 the region under `shift-select-mode'. (Bug#12231)
8767
8768 2012-08-22 Bastien Guerry <bzg@gnu.org>
8769
8770 * progmodes/executable.el (executable-prefix): Set to "#!" instead
8771 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
8772 gives details on why the space is never needed.
8773
8774 2012-08-22 Martin Rudalics <rudalics@gmx.at>
8775
8776 * window.el (walk-window-tree, window-with-parameter):
8777 New optional argument MINIBUF to control whether these functions
8778 should run on the minibuffer window.
8779 (window-at-side-list): Don't operate on minibuffer window.
8780 (window-in-direction): Simplify and rewrite doc-string.
8781 (window--size-ignore): Rename to window--size-ignore-p.
8782 Update callers.
8783 (display-buffer-in-atom-window, window--major-non-side-window)
8784 (window--major-side-window, display-buffer-in-major-side-window)
8785 (delete-side-window, display-buffer-in-side-window):
8786 New functions.
8787 (window--side-check, window-deletable-p, delete-window)
8788 (delete-other-windows, split-window): Handle side windows and
8789 atomic windows appropriately.
8790 (window--display-buffer): Call display-buffer-record-window also
8791 when the window buffer did not change.
8792
8793 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
8794
8795 * help-fns.el (help-fns--key-bindings):
8796 Abbreviate non-symbol remap targets. (Bug#12174)
8797
8798 2012-08-22 Martin Rudalics <rudalics@gmx.at>
8799
8800 * dired.el (dired-mark-remembered): Don't clobber point.
8801 (Bug#11795)
8802
8803 2012-08-22 Glenn Morris <rgm@gnu.org>
8804
8805 * progmodes/bug-reference.el (bug-reference): New custom group.
8806 (bug-reference-bug-regexp): Make it a defcustom.
8807
8808 2012-08-22 Daiki Ueno <ueno@unixuser.org>
8809
8810 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
8811 (js-paren-indent-offset, js-square-indent-offset)
8812 (js-curly-indent-offset): Add :safe (Bug#12257).
8813
8814 2012-08-22 Edward O'Connor <hober0@gmail.com>
8815
8816 * json.el (json-key-format): Add error properties.
8817 (json-encode-key): New function.
8818 (json-encode-hash-table, json-encode-alist, json-encode-plist):
8819 Use json-encode-key.
8820
8821 2012-08-22 Glenn Morris <rgm@gnu.org>
8822
8823 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
8824 (cal-tex-leftday, cal-tex-rightday): Remove functions.
8825 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
8826 Update for above change.
8827
8828 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
8829
8830 * cus-face.el (custom-face-attributes): Fix customize type for the
8831 :underline attribute. (Bug#11805)
8832
8833 2012-08-21 Martin Rudalics <rudalics@gmx.at>
8834
8835 * window.el (window-point-1, set-window-point-1): Remove.
8836 (window-in-direction, record-window-buffer)
8837 (set-window-buffer-start-and-point, split-window-below)
8838 (window--state-get-1, display-buffer-record-window):
8839 Replace calls to window-point-1 and set-window-point-1 by calls to
8840 window-point and set-window-point respectively.
8841
8842 2012-08-21 Glenn Morris <rgm@gnu.org>
8843
8844 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
8845 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
8846 Use it.
8847
8848 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
8849 (cal-tex-shortday): New function.
8850 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
8851 (cal-tex-cursor-filofax-daily): Use the above.
8852
8853 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
8854 New functions.
8855 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
8856 (cal-tex-cursor-filofax-week): Use them.
8857
8858 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
8859 New constants.
8860 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
8861 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
8862
8863 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
8864 (cal-tex-end-document): Don't rely on buffer name.
8865
8866 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
8867 Use cal-tex-vspace.
8868 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
8869 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
8870 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
8871 Use cal-tex-arg.
8872
8873 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
8874 (cal-tex-cursor-week, cal-tex-cursor-week2)
8875 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
8876 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
8877 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
8878 (cal-tex-insert-preamble, cal-tex-b-document)
8879 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
8880 Improve cal-tex-cmd usage.
8881
8882 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
8883 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
8884 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
8885 (cal-tex-weekly-paper): New function.
8886 (cal-tex-cursor-week, cal-tex-cursor-week2)
8887 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
8888 (cal-tex-cursor-day): Use it.
8889
8890 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
8891 (cal-tex-cursor-filofax-week): Remove leading blank page.
8892
8893 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
8894 Add autoload cookie. For now at least, don't use color, since
8895 no other cal-tex function does.
8896
8897 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
8898 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
8899 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
8900
8901 2012-08-21 Juri Linkov <juri@jurta.org>
8902
8903 * info.el (Info-file-attributes): New variable.
8904 (info-insert-file-contents): Add file attributes to
8905 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
8906 `Info-toc-nodes' when previous modtime of the Info file is less
8907 than new modtime.
8908 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
8909 of info.el. (Bug#12230)
8910
8911 2012-08-20 Glenn Morris <rgm@gnu.org>
8912
8913 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
8914 * calendar/holidays.el (calendar-holiday-list):
8915 Report errors with display-warning rather than beep'n'sleep.
8916
8917 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
8918
8919 * net/tramp.el (tramp-accept-process-output): Accept only output
8920 from PROC. Otherwise, process filters and sentinels might be
8921 confused. (Bug#12145)
8922
8923 2012-08-20 Chong Yidong <cyd@gnu.org>
8924
8925 * descr-text.el (describe-text-properties-1): Use overlays-in to
8926 report on empty overlays (Bug#3322).
8927
8928 2012-08-20 Glenn Morris <rgm@gnu.org>
8929
8930 * mail/rmailout.el (rmail-output-read-file-name):
8931 Trap and report errors in rmail-output-file-alist elements.
8932
8933 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
8934 since most non-font-lock faces are not also variables).
8935
8936 2012-08-20 Edward Reingold <reingold@iit.edu>
8937
8938 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
8939 New function. (Bug12160)
8940
8941 2012-08-19 Glenn Morris <rgm@gnu.org>
8942
8943 * mail/rmailout.el (rmail-output-read-file-name):
8944 Fix previous change (when the alist is nil or does not match).
8945
8946 2012-08-19 Chong Yidong <cyd@gnu.org>
8947
8948 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
8949 (Bug#12228).
8950
8951 2012-08-18 Chong Yidong <cyd@gnu.org>
8952
8953 * simple.el (yank-handled-properties): New defcustom.
8954 (yank-excluded-properties): Add font-lock-face and category.
8955 (yank): Doc fix.
8956
8957 * subr.el (remove-yank-excluded-properties):
8958 Obey yank-handled-properties. The special handling of font-lock-face
8959 and category is now done this way, instead of being hard-coded.
8960 (insert-for-yank-1): Remove font-lock-face handling.
8961 (yank-handle-font-lock-face-property)
8962 (yank-handle-category-property): New function.
8963
8964 2012-08-17 Glenn Morris <rgm@gnu.org>
8965
8966 * mail/rmailout.el (rmail-output-read-file-name):
8967 Check rmail-output-file-alist against the full message body
8968 in the correct rmail buffer. (Bug#12214)
8969
8970 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
8971
8972 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
8973 Eliminate superfluous prompt. (Bug#12203)
8974
8975 2012-08-17 Chong Yidong <cyd@gnu.org>
8976
8977 * mouse.el (mouse-appearance-menu): If x-select-font returns a
8978 font spec, set the font directly (Bug#3228).
8979
8980 2012-08-17 Martin Rudalics <rudalics@gmx.at>
8981
8982 * window.el (delete-window): Fix last fix.
8983
8984 2012-08-16 Martin Rudalics <rudalics@gmx.at>
8985
8986 * window.el (window-valid-p): Move to window.c.
8987 (window-child, window-child-count, window-last-child)
8988 (window-normalize-window, window-combined-p)
8989 (window-combinations, window-atom-root, window-min-size)
8990 (window-sizable, window-sizable-p, window-size-fixed-p)
8991 (window-min-delta, window-max-delta, window--resizable)
8992 (window--resizable-p, window-resizable, window-total-size)
8993 (window-full-height-p, window-full-width-p, window-body-size)
8994 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
8995 (minimize-window, window-deletable-p, delete-window)
8996 (delete-other-windows, set-window-buffer-start-and-point)
8997 (next-buffer, previous-buffer, split-window, balance-windows-2)
8998 (set-window-text-height, window-buffer-height)
8999 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
9000 (truncated-partial-width-window-p): Minor code adjustments.
9001 In doc-strings state whether the argument window has to denote a
9002 live, valid or any window.
9003
9004 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
9005
9006 * progmodes/subword.el (subword-forward-function)
9007 (subword-backward-function, subword-forward-regexp)
9008 (subword-backward-regexp): New variables.
9009 (subword-forward, subword-forward-internal, subword-backward-internal):
9010 Use new variables, eg so that different "word" definitions
9011 can be easily used. (Bug#11411)
9012
9013 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
9014
9015 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
9016 for composite selectors.
9017 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
9018 operation just because we can't find a previous revision.
9019
9020 2012-08-15 Chong Yidong <cyd@gnu.org>
9021
9022 * frame.el (set-frame-font): Accept font objects.
9023
9024 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
9025
9026 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
9027
9028 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
9029
9030 * man.el (Man-overstrike-face, Man-underline-face)
9031 (Man-reverse-face): Remove variables.
9032 (Man-overstrike, Man-underline, Man-reverse): New faces.
9033 (Man-fontify-manpage): Use them instead of the variables.
9034 (Man-cleanup-manpage): Comment change.
9035 (Man-ansi-color-map): New variable.
9036 (Man-fontify-manpage): Use it.
9037 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
9038
9039 Implement ANSI SGR parameters 22-27 (bug#12146).
9040 * ansi-color.el (ansi-colors): Doc fix.
9041 (ansi-color-context, ansi-color-context-region): Doc fix.
9042 (ansi-color--find-face): New function.
9043 (ansi-color-apply, ansi-color-apply-on-region): Use it.
9044 Rename the local variable `face' to `codes' since it is now a list of
9045 ansi codes. Doc fix.
9046 (ansi-color-get-face): Remove.
9047 (ansi-color-parse-sequence): New function, derived from
9048 ansi-color-get-face.
9049 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
9050 codes 22-27.
9051
9052 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
9053
9054 * subr.el (read-passwd): Allow use from a minibuffer.
9055
9056 2012-08-14 Eli Zaretskii <eliz@gnu.org>
9057
9058 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
9059 inside comments and strings as identifiers.
9060
9061 * progmodes/gud.el (gud-tooltip-print-command): Quote the
9062 expression to evaluate. This allows to evaluate expressions with
9063 embedded whitespace.
9064 (gud-tooltip-tips): Add a blank before the newline in the
9065 message-box text, for the benefit of message-box emulation on
9066 MS-Windows.
9067
9068 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
9069 messages from GDB, pop them up in a tooltip to give feedback to
9070 user.
9071 (gdb-tooltip-print-1): Quote the expression to evaluate.
9072 This allows to evaluate expressions with embedded whitespace.
9073 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
9074 if the TTY name is nil or empty (which happens when communicating
9075 with the inferior via pipes, e.g. on MS-Windows).
9076 (gdb-internals): If GDB sends a "&\n" empty debugging message,
9077 don't send that to the GUD buffer.
9078
9079 2012-08-14 Glenn Morris <rgm@gnu.org>
9080
9081 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
9082 Optimize away setq-default with no args, as for setq. (Bug#12195)
9083
9084 2012-08-14 Chong Yidong <cyd@gnu.org>
9085
9086 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
9087
9088 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
9089 (Bug#12085).
9090
9091 2012-08-14 Glenn Morris <rgm@gnu.org>
9092
9093 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
9094
9095 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
9096
9097 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
9098 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
9099 Use cached shell name.
9100
9101 2012-08-14 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
9102
9103 * progmodes/python.el (python-shell-send-string):
9104 (python-shell-send-setup-code): Do not use `format' with `message'.
9105
9106 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
9107
9108 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
9109 (ruby-percent-literal-beg-re): New constant.
9110 (ruby-syntax-general-delimiters-goto-beg): Rename to
9111 `ruby-syntax-enclosing-percent-literal', improve literal type check.
9112 (ruby-syntax-propertize-general-delimiters): Rename to
9113 `ruby-syntax-propertize-percent-literal', it's a shorter and more
9114 popular term. Adjust comments everywhere.
9115 (ruby-syntax-propertize-percent-literal): Only propertize when not
9116 inside a simple string or comment. When the literal is unclosed,
9117 leave the text after it unpropertized.
9118 (ruby-syntax-methods-before-regexp): New constant.
9119 (ruby-syntax-propertize-function): Use it to recognize regexps.
9120 Don't look at the text after regexp, just use the whitelist.
9121
9122 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
9123
9124 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
9125 non-nil always load the compiled file if it exists. (Bug#12197)
9126
9127 2012-08-14 Chong Yidong <cyd@gnu.org>
9128
9129 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
9130 (hi-lock-set-pattern): When deciding whether to use font lock or
9131 overlays, look at font-lock-mode instead of font-lock-fontified
9132 (Bug#12168).
9133 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
9134 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
9135
9136 2012-08-14 Daiki Ueno <ueno@unixuser.org>
9137
9138 * subr.el (internal--after-with-selected-window): Fix typo
9139 (Bug#12193).
9140
9141 2012-08-14 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
9142
9143 Use `completion-table-dynamic' for completion functions.
9144 * progmodes/python.el
9145 (python-shell-completion--do-completion-at-point)
9146 (python-shell-completion--get-completions):
9147 Remove functions.
9148 (python-shell-completion-complete-at-point): New function.
9149 (python-completion-complete-at-point): Use it.
9150
9151 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
9152
9153 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
9154 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
9155
9156 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
9157
9158 * subr.el (function-get): Refine `autoload' arg so it can also
9159 autoload functions for gv.el (bug#12191).
9160 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
9161 autoloads macros.
9162
9163 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
9164 Prefer pcase-let over destructuring-bind.
9165 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
9166 Also, remove whitespace as we go, rather than after accumulating the
9167 various places.
9168
9169 * subr.el (internal--before-with-selected-window)
9170 (internal--after-with-selected-window): Fix typo seleted->selected.
9171 (with-selected-window): Adjust callers.
9172 Reported by Dmitry Gutov <dgutov@yandex.ru>.
9173
9174 2012-08-13 Bastien Guerry <bzg@gnu.org>
9175
9176 * window.el (special-display-popup-frame): Minor docstring
9177 enhancement. (Bug#12172)
9178
9179 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
9180
9181 * tar-mode.el (tar-header-data-end): Only ignore size for files of
9182 type 1-6.
9183 (tar-header-block-summarize, tar-get-descriptor): Handle pax
9184 extended headers.
9185
9186 * files.el (hack-local-variables-filter): Remove useless eval.
9187
9188 2012-08-13 Martin Rudalics <rudalics@gmx.at>
9189
9190 * subr.el (with-selected-window): Fix last change.
9191
9192 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
9193
9194 * subr.el (internal--before-with-seleted-window)
9195 (internal--after-with-seleted-window): New functions.
9196 (with-selected-window): Use them, to replace dependency on
9197 tty-top-frame.
9198
9199 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
9200
9201 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
9202 binding for `newline'.
9203 (ruby-move-to-block): When moving backward, stop at block opening,
9204 not indentation.
9205 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
9206 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
9207 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
9208 `ruby-toggle-block'.
9209
9210 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
9211
9212 * ibuffer.el (ibuffer-do-toggle-read-only):
9213 * dired.el (dired-toggle-read-only):
9214 * buff-menu.el (Buffer-menu-toggle-read-only):
9215 * bindings.el (mode-line-toggle-read-only):
9216 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
9217
9218 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
9219
9220 * descr-text.el (describe-char): Put the overlays over the
9221 "displayed as" character.
9222
9223 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
9224
9225 * calc/calc-units.el (math-default-units-table): Give an
9226 initial value.
9227 (math-put-default-units): Add options to put composite units and
9228 unit systems in the default units table.
9229 (calc-convert-units): Send composite units to
9230 `math-put-default-units' when appropriate.
9231
9232 2012-08-11 Glenn Morris <rgm@gnu.org>
9233
9234 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
9235
9236 * tutorial.el (help-with-tutorial):
9237 * emacs-lisp/copyright.el (copyright-update-directory):
9238 * emacs-lisp/autoload.el (autoload-find-generated-file)
9239 (autoload-find-file): Disable local eval: (for insurance).
9240
9241 * files.el (hack-local-variables-filter): If an eval: form is not
9242 known to be safe, and enable-local-variables is :safe, then ignore
9243 the form totally, as is done for non-eval forms. (Bug#12155)
9244 This is CVE-2012-3479.
9245
9246 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
9247
9248 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
9249 (rx-form): Simplify.
9250
9251 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
9252
9253 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
9254 ?, _, and : are symbol constituents, ! is not (but kinda should be).
9255 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
9256 (ruby-syntax-propertize-function): Adjust for changes in
9257 `ruby-syntax-propertize-heredoc'.
9258
9259 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
9260
9261 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
9262 binding (use `M-;' instead).
9263 (ruby-singleton-class-p): New function.
9264 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9265
9266 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
9267
9268 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
9269
9270 2012-08-10 Chong Yidong <cyd@gnu.org>
9271
9272 * progmodes/python.el (python-shell-get-process-name): Don't mess
9273 with same-window-buffer-names.
9274
9275 * eshell/eshell.el (eshell-add-to-window-buffer-names)
9276 (eshell-remove-from-window-buffer-names): Make obsolete.
9277 (eshell-buffer-name, eshell-unload-hook): Don't use them.
9278 (eshell): Just use pop-to-buffer-same-window instead.
9279
9280 2012-08-10 Chong Yidong <cyd@gnu.org>
9281
9282 * bindings.el: Bind M-= back to count-words-region.
9283
9284 * simple.el (count-words-region): Accept a prefix arg for acting
9285 on the entire buffer.
9286 (count-words--buffer-message): New helper function.
9287
9288 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
9289
9290 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
9291 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
9292 (event-start, event-end): Use posn-at-point to return a more
9293 informative posn.
9294 (posnp): New function.
9295 * mouse.el (popup-menu-normalize-position): Use it.
9296
9297 2012-08-10 Masatake YAMATO <yamato@redhat.com>
9298
9299 * mouse.el (popup-menu-normalize-position): New function.
9300 (popup-menu): Use `popup-menu-normalize-position' to normalize
9301 the form for POSITION argument.
9302
9303 * term/x-win.el (x-menu-bar-open):
9304 Use the value returend from (posn-at-point) as position
9305 passed to `popup-menu'.
9306
9307 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
9308
9309 * calc/calccomp.el (math-compose-expr): Add extra argument
9310 indicating that parentheses should be put around products in
9311 denominators. Give multiplication precedence over division during
9312 composition.
9313
9314 2012-08-09 Chong Yidong <cyd@gnu.org>
9315
9316 * man.el (Man-switches, Man-sed-command, Man-awk-command)
9317 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
9318 (Man-untabify-command, manual-program): Convert to defcustom
9319 (Bug#10429).
9320
9321 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
9322
9323 * descr-text.el (describe-char): Don't insert extra newlines
9324 (Bug#10127).
9325
9326 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
9327 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
9328
9329 * align.el (align-region): Delete temporary markers (Bug#10047).
9330 Plus some code cleanups.
9331
9332 2012-08-09 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
9333
9334 * progmodes/python.el (python-pdbtrack-tracked-buffer)
9335 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
9336 (python-shell-internal-last-output): Use make-local-variable
9337 instead of make-variable-buffer-local.
9338
9339 2012-08-09 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
9340
9341 * progmodes/python.el: Enhancements to forward-sexp.
9342 (python-nav-forward-sexp): Rename from
9343 python-nav-forward-sexp-function.
9344 (python-nav--forward-sexp, python-nav--backward-sexp):
9345 New functions.
9346
9347 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
9348
9349 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
9350 modes and simplification modes.
9351
9352 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
9353
9354 * delsel.el (delete-selection-pre-hook): Don't propagate the
9355 file-supersession signals (bug#12161).
9356
9357 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
9358
9359 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
9360 (cl-map-extents): Add compatibility aliases (bug#12135).
9361
9362 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
9363
9364 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
9365 tests by `ignore-error'.
9366 (tramp-find-shell): Open also a new shell, when cache is already
9367 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
9368
9369 2012-08-08 Juri Linkov <juri@jurta.org>
9370
9371 * bookmark.el: Add `defaults' property to the bookmark record.
9372 (bookmark-current-buffer): Doc fix.
9373 (bookmark-make-record): Add `defaults' property with default values
9374 to the bookmark record.
9375 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
9376 with `bookmark-insert-current-bookmark'.
9377 (bookmark-set): Get `defaults' property from the bookmark record
9378 and use it in `read-from-minibuffer'.
9379 (bookmark-insert-current-bookmark): Remove function.
9380
9381 * info.el (Info-bookmark-make-record): Add `defaults' property
9382 with values of canonical Info node name, the current Info file
9383 name and the current Info node name. (Bug#12107)
9384
9385 2012-08-08 Juri Linkov <juri@jurta.org>
9386
9387 * files.el (basic-save-buffer): Use `buffer-name' as the default
9388 of `read-file-name' when buffer is not visiting a file (bug#12128).
9389
9390 2012-08-08 Juri Linkov <juri@jurta.org>
9391
9392 * info.el (Info-isearch-search): Doc fix.
9393 (Info-search): Change search-failed message from "initial node" to
9394 "end of node" (bug#12078).
9395 (Info-isearch-search): Change `isearch-string-state' to
9396 `isearch--state-string'.
9397
9398 2012-08-08 Glenn Morris <rgm@gnu.org>
9399
9400 * language/persian.el: Remove file.
9401 * language/misc-lang.el: Move unique part of persian.el here.
9402 * loadup.el: Remove language/persian.
9403
9404 2012-08-08 Ă“scar Fuentes <ofv@wanadoo.es>
9405
9406 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
9407
9408 2012-08-08 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
9409
9410 * progmodes/python.el: Fix defsubst warning.
9411 (python-syntax-context) Rename from python-info-ppss-context.
9412 (python-syntax-context-type): Rename from
9413 python-info-ppss-context-type.
9414 (python-syntax-comment-or-string-p): Rename from
9415 python-info-ppss-comment-or-string-p.
9416
9417 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
9418
9419 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
9420
9421 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
9422
9423 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
9424 a defcustom that is quoted with backquote.
9425
9426 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
9427 Fix handling of interactive spec when the body uses return.
9428 (math-do-arg-check, math-define-function-body): Use backquote forms.
9429 * calc/calc-ext.el (math-defcache): Likewise.
9430 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
9431 * allout.el (allout-new-exposure): Likewise.
9432 * calc/calcalg2.el (math-tracing-integral): Likewise.
9433 * info.el (Info-last-menu-item): Likewise.
9434 * emulation/vip.el (vip-loop): Likewise.
9435 * textmodes/artist.el (artist-funcall): Likewise.
9436 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
9437 Construct menu-item directly.
9438
9439 * progmodes/autoconf.el (font-lock-syntactic-keywords):
9440 Don't declare.
9441
9442 2012-08-07 Chong Yidong <cyd@gnu.org>
9443
9444 * simple.el (deactivate-mark): Preserve text properties when
9445 saving the primary selection (Bug#8384).
9446
9447 2012-08-07 Kevin Ryde <user42@zip.com.au>
9448
9449 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
9450 (woman-parse-numeric-value): On a bad .IP line, issue a warning
9451 and continue processing (Bug#12110).
9452
9453 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
9454
9455 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
9456 syntax-propertize-function (bug#10095).
9457
9458 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
9459
9460 * help-fns.el (help-fns--key-bindings, help-fns--signature)
9461 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
9462 describe-function-1.
9463 (describe-function-1): Use them. Move compiler macro after sig.
9464 (help-fns--compiler-macro): Use function-get. Assume we're already in
9465 standard-output. Adjust layout to new call order.
9466
9467 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
9468 re-binding a symbol that has a symbol-macro (bug#12119).
9469
9470 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
9471
9472 * language/persian.el: New file. (Bug#11812)
9473 * loadup.el: Add language/persian.el.
9474
9475 2012-08-06 Chong Yidong <cyd@gnu.org>
9476
9477 * window.el (window--maybe-raise-frame): New function.
9478 (window--display-buffer): Split off from here.
9479 (display-buffer-reuse-window, display-buffer-pop-up-frame)
9480 (display-buffer-pop-up-window, display-buffer-use-some-window):
9481 Obey an inhibit-switch-frame action alist entry.
9482 (display-buffer): Update doc.
9483
9484 * replace.el (occur-after-change-function): Avoid losing focus by
9485 using the inhibit-switch-frame display parameter (Bug#12139).
9486
9487 2012-08-06 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
9488
9489 Make internal shell process buffer names start with space.
9490 * progmodes/python.el (python-shell-make-comint): Add optional
9491 argument INTERNAL.
9492 (run-python-internal): Use it.
9493 (python-shell-internal-get-or-create-process): Check for new
9494 internal buffer names.
9495
9496 2012-08-06 Glenn Morris <rgm@gnu.org>
9497
9498 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
9499 Do less getting and setting of environment variables.
9500
9501 2012-08-05 Chong Yidong <cyd@gnu.org>
9502
9503 * proced.el (proced): Add substitution string to docstring to
9504 trigger autoloading of the proced library on C-h f (Bug#1768).
9505
9506 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
9507 Don't show defvars which have no second argument (Bug#8638).
9508
9509 * imenu.el (imenu-generic-expression): Move documentation here
9510 from imenu--generic-function.
9511 (imenu--generic-function): Refer to imenu-generic-expression.
9512
9513 2012-08-05 Vegard Ă˜ye <vegard_oye@hotmail.com> (tiny change)
9514
9515 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
9516 indentation declaration.
9517 (viper-loop): Add indentation declaration (Bug#7025).
9518
9519 2012-08-05 Chong Yidong <cyd@gnu.org>
9520
9521 * help-fns.el (describe-variable): Add hyperlink for
9522 directory-local variables files. Improve buffer-local and
9523 permanent-local reporting; suggested by MON KEY (Bug#6644).
9524
9525 * help-mode.el (help-dir-local-var-def): New button type.
9526
9527 * files.el (kill-buffer-hook): Provide a defvar.
9528
9529 2012-08-05 Glenn Morris <rgm@gnu.org>
9530
9531 * eshell/esh-ext.el (eshell/addpath):
9532 Also update eshell-path-env. (Bug#12013)
9533
9534 2012-08-05 Chong Yidong <cyd@gnu.org>
9535
9536 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
9537
9538 * fringe.el (fringe-styles): Add docstring.
9539 (fringe--check-mode): New function.
9540 (set-fringe-mode, set-fringe-style): Use it.
9541 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
9542
9543 * files.el (set-auto-mode): Fix invalid setq call.
9544
9545 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
9546
9547 * isearch.el: Misc simplification; use defstruct.
9548 (isearch-mode-map): Dense maps now work like sparse ones.
9549 (isearch--state): New defstruct.
9550 (isearch-string-state, isearch-message-state, isearch-point-state)
9551 (isearch-success-state, isearch-forward-state)
9552 (isearch-other-end-state, isearch-word-state, isearch-error-state)
9553 (isearch-wrapped-state, isearch-barrier-state)
9554 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
9555 replaced by defstruct's accessors.
9556 (isearch--set-state): Rename from isearch-top-state and change
9557 calling convention.
9558 (isearch-push-state): Use new isearch--get-state.
9559 (isearch-toggle-word): Disable regexp when enabling word.
9560 (isearch-message-prefix): Remove unused arg _c-q-hack.
9561 (isearch-message-suffix): Remove unused arg _ellipsis.
9562
9563 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
9564
9565 * simple.el (list-processes--refresh): For a server use :host or
9566 :local as the address.
9567 (list-processes): Doc fix.
9568
9569 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
9570
9571 * lisp/mpc.el: Support password in host argument.
9572 (mpc--proc-connect): Parse and use new password element.
9573 Set mpc-proc variable instead of returning process.
9574 (mpc-proc): Adjust accordingly.
9575
9576 2012-08-03 Eli Zaretskii <eliz@gnu.org>
9577
9578 * whitespace.el (whitespace-display-mappings): Use Unicode
9579 codepoints, instead of emacs-mule codepoints. See
9580 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
9581 for the details.
9582
9583 * files.el (file-truename): Don't skip symlink-chasing part on
9584 windows-nt. Incorporate the resolution of 8+3 short aliases on
9585 Windows into the loop that recursively chases symlinks.
9586 Compare directory and its parent case-insensitively on MS-Windows and
9587 MS-DOS.
9588
9589 2012-08-03 Chong Yidong <cyd@gnu.org>
9590
9591 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
9592
9593 * sort.el (sort-regexp-fields): Doc fix.
9594
9595 2012-08-03 Tassilo Horn <tsdh@gnu.org>
9596
9597 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
9598 labels regex position point at the expected place.
9599
9600 2012-08-03 MON KEY <monkey@sandpframing.com>
9601
9602 * net/imap.el (imap-interactive-login, imap-authenticate)
9603 (imap-mailbox-lsub, imap-mailbox-list)
9604 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
9605 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
9606 (imap-parse-response): Doc fix.
9607
9608 2012-08-03 JoĂ£o TĂ¡vora <joaotavora@gmail.com>
9609
9610 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
9611 if sexp scanning does not move point (Bug#5734).
9612
9613 2012-08-02 Tassilo Horn <tsdh@gnu.org>
9614
9615 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
9616 Add listings, minted, and ctable packages.
9617 (reftex-label-alist-builtin): Move listings, minted, and ctable
9618 entries before LaTeX.
9619 (reftex-label-alist): Docfix.
9620
9621 2012-08-02 Bastien Guerry <bzg@gnu.org>
9622
9623 * replace.el (occur): Fix docstring (bug#12122).
9624
9625 2012-08-02 Glenn Morris <rgm@gnu.org>
9626
9627 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
9628
9629 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
9630
9631 Obsolete alias inactivate-current-input-method-function (Bug#10150).
9632 * international/mule-cmds.el: Create
9633 inactivate-current-input-method-function as an obsolete alias for
9634 deactivate-current-input-method-function. See Katsumi Yamaoka in
9635 <http://bugs.gnu.org/10150#46>.
9636
9637 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
9638
9639 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
9640 of nested `if's.
9641
9642 2012-08-01 Glenn Morris <rgm@gnu.org>
9643
9644 * progmodes/autoconf.el (autoconf-definition-regexp):
9645 Add AH_TEMPLATE, adjust submatch numbering.
9646 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
9647 (autoconf-current-defun-function): Update for above change.
9648 (autoconf-current-defun-function): First skip to end of current word.
9649
9650 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
9651
9652 * calendar/cal-html.el (cal-html-insert-agenda-days):
9653 Fix typo. (Bug#12018)
9654
9655 2012-07-31 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
9656
9657 Shell processes: enhancements to startup and CEDET compatibility.
9658 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
9659 (python-shell-make-comint): accept-process-output at startup.
9660 (run-python-internal): Set inferior-python-mode-hook to nil.
9661 (python-shell-internal-get-or-create-process): call sit-for.
9662 (python-preoutput-result): Add obsolete alias.
9663 (python-shell-internal-send-string): Use it.
9664 (python-shell-send-setup-code): Remove call to
9665 accept-process-output.
9666
9667 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
9668
9669 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
9670 (Bug#12108)
9671
9672 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
9673
9674 * calc-mode.el (calc-basic-simplification-mode): Rename from
9675 `calc-limited-simplification-mode'.
9676 (calc-alg-simplification-mode): New function.
9677 (calc-set-simplify-mode): Adjust message.
9678
9679 * calc.el (calc-set-mode-line): Adjust mode line display for
9680 basic simplification mode.
9681
9682 * calc-help.el (calc-m-prefix-help): Update help message.
9683
9684 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
9685 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
9686
9687 2012-07-31 Bastien Guerry <bzg@gnu.org>
9688
9689 * man.el (man): Fix comment. (bug#12101)
9690
9691 2012-07-31 Martin Rudalics <rudalics@gmx.at>
9692
9693 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
9694 Don't return a non-nil value when no suitable buffer was found.
9695
9696 2012-07-31 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
9697
9698 * progmodes/python.el (run-python-internal): Disable font lock for
9699 internal shells.
9700
9701 2012-07-30 Stefan Merten <smerten@oekonux.de>
9702
9703 * textmodes/rst.el: Silence `checkdoc-ispell'.
9704 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
9705 (rst-official-version, rst-official-cvs-rev)
9706 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
9707 (rst-mode-map): New key binding.
9708
9709 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
9710
9711 Update .PHONY listings in makefiles.
9712 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
9713 autoloads, update-subdirs, updates, bzr-update, update-authors,
9714 compile-onefile, compile-calc, backup-compiled-files,
9715 compile-after-backup, compile-one-process, mh-autoloads,
9716 bootstrap-clean, distclean, maintainer-clean.
9717
9718 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
9719
9720 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
9721 (calc-set-mode-line): Don't display "AlgSimp ".
9722
9723 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
9724 (calc-lim-simplify-mode): New function.
9725 (calc-set-simplify-mode): Default to 'alg.
9726 (calc-default-simplify-mode): Make algebraic simplifications
9727 the default.
9728
9729 * calc/calc-ext.el (calc-init-extensions): Remove binding for
9730 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
9731
9732 * calc/calc-help.el (calc-m-prefix-help): Change messages to
9733 indicate new simplification modes.
9734
9735 * calc/README: Mention new default simplification mode.
9736
9737 * calc/calc.el (math-normalize-error): New variable.
9738 (math-normalize): Set `math-normalize-error' to t
9739 when there's an error.
9740
9741 * calc/calc-alg.el (math-simplify): Don't simplify when
9742 `math-normalize' returns an error.
9743
9744 2012-07-29 Eli Zaretskii <eliz@gnu.org>
9745
9746 * international/mule-cmds.el (set-locale-environment): Revert last
9747 change, since display-graphic-p returns nil when this function is
9748 called during startup. Instead...
9749
9750 * term/w32console.el (terminal-init-w32console): ...setup the
9751 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
9752
9753 2012-07-29 Juri Linkov <juri@jurta.org>
9754
9755 * simple.el (goto-line): Don't display default line number in the
9756 prompt because it should be displayed by `read-number' (bug#9952).
9757 Add the current line number to the defaults of `goto-line' to
9758 allow its easier modification by users with `M-n' (bug#9201).
9759
9760 * subr.el (read-number): Support multiple default values like in
9761 other minibuffer reading functions. Replace `read' with
9762 `string-to-number' for consistency with `number-to-string'.
9763
9764 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
9765
9766 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
9767 * emulation/viper-init.el (viper-deactivate-input-method-action):
9768 Rename from viper-inactivate-input-method-action.
9769 (viper-deactivate-input-method):
9770 Rename from viper-inactivate-input-method.
9771 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
9772 * international/mule-cmds.el (deactivate-input-method):
9773 Rename from inactivate-input-method.
9774 Also run input-method-deactivate-hook.
9775 (deactivate-current-input-method-function):
9776 Rename from inactivate-current-input-method-function.
9777 (input-method-deactivate-hook): New hook.
9778 (input-method-inactivate-hook): Mark obsolete.
9779 (inactivate-input-method): Mark obsolete.
9780
9781 * international/quail.el (quail-activate):
9782 Also run quail-deactivate-hook.
9783 (quail-deactivate): Rename from quail-inactivate.
9784 * international/robin.el (robin-activate):
9785 Also run robin-deactivate-hook.
9786 (robin-deactivate): Rename from robin-inactivate.
9787
9788 2012-07-29 Chong Yidong <cyd@gnu.org>
9789
9790 * simple.el (indicate-copied-region): New function.
9791 (kill-ring-save): Split off from here.
9792
9793 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
9794 (kill-rectangle): Set deactivate-mark to t on read-only error.
9795
9796 * register.el (copy-to-register, copy-rectangle-to-register):
9797 Deactivate the mark, and use indicate-copied-region (Bug#10056).
9798 (append-to-register, prepend-to-register): Call indicate-copied-region.
9799
9800 2012-07-29 Juri Linkov <juri@jurta.org>
9801
9802 * simple.el (async-shell-command-buffer): New defcustom.
9803 (shell-command): Use it. (Bug#4719)
9804
9805 2012-07-28 Eli Zaretskii <eliz@gnu.org>
9806
9807 * international/mule-cmds.el (set-locale-environment): In a
9808 console session on MS-Windows, set up keyboard and terminal
9809 encoding from the OEM codepage, not the ANSI codepage.
9810 (Bug#12055)
9811
9812 2012-07-28 Chong Yidong <cyd@gnu.org>
9813
9814 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
9815 gdb-get-location.
9816
9817 2012-07-28 Leo Liu <sdl.web@gmail.com>
9818
9819 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
9820 the alist (bug#12029).
9821
9822 2012-07-28 Eli Zaretskii <eliz@gnu.org>
9823
9824 * makefile.w32-in (custom-deps, finder-data, updates, compile)
9825 (compile-always, compile-first)
9826 ($(lisp)/calendar/cal-loaddefs.el)
9827 ($(lisp)/calendar/diary-loaddefs.el)
9828 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
9829 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
9830 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
9831 instead of on update-subdirs.
9832 (bootstrap-clean): Delete $(lisp)/subdirs.el.
9833
9834 2012-07-28 Chong Yidong <cyd@gnu.org>
9835
9836 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
9837 directory if vc-deduce-backend returns nil (Bug#7350).
9838
9839 * simple.el (delete-trailing-lines): New option.
9840 (delete-trailing-whitespace): Obey it (Bug#11879).
9841
9842 2012-07-28 David Engster <deng@randomsample.de>
9843
9844 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
9845 Explanation of new 'symbol-qnames feature in doc-strings.
9846 (xml-maybe-do-ns): Return expanded names as plain symbols if
9847 'symbol-qnames was provided in XML-NS argument (Bug#11916).
9848 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
9849
9850 2012-07-27 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
9851
9852 Consistent completion in inferior python with emacs -nw.
9853 * progmodes/python.el (inferior-python-mode): replace "<tab>"
9854 binding in inferior-python-mode-map with "\t".
9855 (python-shell-completion-complete-at-point)
9856 (python-completion-complete-at-point): Remove interactive spec.
9857
9858 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
9859
9860 * calc/calccomp.el (math-compose-expr): Undo previous change.
9861
9862 2012-07-27 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
9863
9864 * progmodes/python.el (python-mode-map): Add keybinding for
9865 run-python.
9866 (python-shell-make-comint): Fix pop-to-buffer call.
9867 (run-python): Autoload. New arg SHOW.
9868 (python-shell-get-or-create-process): Do not pop python process
9869 buffer.
9870
9871 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
9872
9873 * notifications.el (notifications-on-action-signal)
9874 (notifications-on-closed-signal): Use also the bus address for the map.
9875 (notifications-notify, notifications-close-notification)
9876 (notifications-get-capabilities): Add optional argument BUS.
9877
9878 2012-07-27 Tassilo Horn <tsdh@gnu.org>
9879
9880 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
9881 Add support for the lstlisting and minted environments, and for the
9882 ctable macro.
9883 * textmodes/reftex.el (reftex-compile-variables): Also recognize
9884 labels written in keyvals syntax.
9885
9886 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
9887
9888 * calc/calccomp.el (math-compose-expr): Use parentheses when
9889 there is a product in the denominator of a fraction.
9890
9891 2012-07-26 Eli Zaretskii <eliz@gnu.org>
9892
9893 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
9894 ($(lisp)/calendar/diary-loaddefs.el)
9895 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
9896 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
9897 Fixes failures in parallel bootstrap because subdirs.el is being
9898 rewritten while the autoload files are built at the same time,
9899 which needs to load subdirs.el.
9900
9901 2012-07-26 Martin Rudalics <rudalics@gmx.at>
9902
9903 * mouse.el (popup-menu): Fix doc-string and re-indent code.
9904 (mouse-drag-line): Don't exit tracking when a switch-frame or
9905 switch-window event occurs (Bug#12006).
9906
9907 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
9908
9909 * mouse.el (popup-menu): Fix last change.
9910
9911 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
9912
9913 Autoload from Lisp with more care. Follow aliases when looking for
9914 function properties.
9915 * subr.el (autoloadp): New function.
9916 (symbol-file): Use it.
9917 (function-get): New function.
9918 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
9919 autoload-do-load.
9920 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
9921 (lisp-indent-function):
9922 * emacs-lisp/gv.el (gv-get):
9923 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
9924 * emacs-lisp/byte-opt.el (byte-optimize-form):
9925 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
9926 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
9927 Use function-get.
9928 * emacs-lisp/cl.el: Don't propagate function properties any more.
9929
9930 * speedbar.el (speedbar-add-localized-speedbar-support):
9931 * emacs-lisp/disass.el (disassemble-internal):
9932 * desktop.el (desktop-load-file):
9933 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
9934 (describe-function-1):
9935 * emacs-lisp/find-func.el (find-function-noselect):
9936 * emacs-lisp/elp.el (elp-instrument-function):
9937 * emacs-lisp/advice.el (ad-has-proper-definition):
9938 * apropos.el (apropos-safe-documentation, apropos-macrop):
9939 * emacs-lisp/debug.el (debug-on-entry):
9940 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
9941 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
9942 * calc/calc.el (name): Use autoloadp & autoload-do-load.
9943
9944 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
9945
9946 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
9947 function, not an obsolete variable (Bug#12046).
9948
9949 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
9950
9951 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
9952
9953 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
9954
9955 * emacs-lisp/pp.el (pp-display-expression): Select old selected
9956 window only if it is still live (Bug#12034).
9957
9958 2012-07-25 Martin Rudalics <rudalics@gmx.at>
9959
9960 * subr.el (redirect-frame-focus): Add advertised calling
9961 convention (Bug#12030).
9962
9963 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
9964
9965 Prefer typical American spelling for "acknowledgment".
9966 * vc/add-log.el (change-log-acknowledgment): Rename from
9967 change-log-acknowledgement, with an alias for the old name.
9968
9969 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
9970
9971 * calc-alg.el (math-simplify-divide): Don't cross multiply
9972 in an equation when the lhs is a variable.
9973
9974 2012-07-24 Julien Danjou <julien@danjou.info>
9975
9976 * net/netrc.el (netrc-find-service-number, netrc-store-data):
9977 Remove, unused.
9978
9979 2012-07-23 Eli Zaretskii <eliz@gnu.org>
9980
9981 * startup.el (command-line): Don't display an empty user name in
9982 the error message about non-existent home directory, when
9983 init-file-user was set to an empty string. See
9984 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
9985 for the details and context.
9986
9987 2012-07-22 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
9988
9989 * ses.el (ses-cell-formula-aset): New macro.
9990 (ses-cell-references-aset): New macro.
9991 (ses-cell-p): New function.
9992 (ses-rename-cell): Do no longer rely on complex operations like
9993 ses-cell-set-formula or ses-set-cell to change the cell and handle
9994 the undo at the same time, but rather use lower level new macros
9995 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
9996 the undo directly. Refresh the mode line.
9997
9998 2012-07-21 Leo Liu <sdl.web@gmail.com>
9999
10000 * progmodes/cc-cmds.el (c-defun-name):
10001 Use match-string-no-properties instead for consistency.
10002
10003 2012-07-20 Leo Liu <sdl.web@gmail.com>
10004
10005 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
10006 (Bug#7879)
10007
10008 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
10009
10010 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
10011
10012 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
10013 * progmodes/bug-reference.el, misearch.el: Provide themselves
10014 (bug#11915).
10015
10016 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
10017 of narrowed buffer (bug#11966).
10018
10019 2012-07-20 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
10020
10021 * ses.el (ses-rename-cell): Set new name also in reference list of
10022 cells of which the renamed cell depends.
10023
10024 2012-07-20 Masatake YAMATO <yamato@redhat.com>
10025
10026 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
10027 to check whether menu-bar is shown or not. If not shown,
10028 show the menu-bar as a popup menu instead of using tmm.
10029 * mouse.el (popup-menu): Accept `point' as `position' argument.
10030
10031 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
10032
10033 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
10034 up inside string symbol literal (bug#11923).
10035
10036 2012-07-20 Eli Zaretskii <eliz@gnu.org>
10037
10038 * startup.el (fancy-startup-text): Read the whole tutorial, not
10039 just its first 256 bytes. Prevents gibberish in display of the
10040 tutorial title.
10041
10042 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
10043
10044 Drop idle buffer compaction due to an absence of the
10045 proved efficiency.
10046 * compact.el: Remove.
10047
10048 2012-07-19 Sam Steingold <sds@gnu.org>
10049
10050 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
10051 vc-bzr-pull & vc-bzr-merge-branch.
10052 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
10053 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
10054 for consistency with compilation-error-regexp-alist.
10055 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
10056 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
10057 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
10058 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
10059
10060 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
10061
10062 * emacs-lisp/chart.el: Use lexical-binding.
10063 (chart-emacs-storage): Don't hardcode the list of entries.
10064
10065 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
10066
10067 Next round of tweaks caused by Fgarbage_collect changes.
10068 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
10069
10070 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
10071
10072 Compact buffers when idle.
10073 * compact.el: New file.
10074
10075 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
10076
10077 * subr.el (eventp): Presume that if it looks vaguely like an event,
10078 it's an event (bug#10190).
10079
10080 2012-07-19 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10081
10082 Enhancements to ppss related code (thanks Stefan).
10083 * progmodes/python.el (python-indent-context)
10084 (python-indent-calculate-indentation, python-indent-dedent-line)
10085 (python-indent-electric-colon, python-nav-forward-block)
10086 (python-mode-abbrev-table)
10087 (python-info-assignment-continuation-line-p): Simplify checks
10088 for ppss context.
10089 (python-info-continuation-line-p): Cleanup.
10090 (python-info-ppss-context): Do not catch 'quote.
10091 (python-info-ppss-context-type)
10092 (python-info-ppss-comment-or-string-p): Simplify.
10093
10094 2012-07-18 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10095
10096 * progmodes/python.el: Enhancements to eldoc support.
10097 (python-info-current-symbol): New function.
10098 (python-eldoc-at-point): Use python-info-current-symbol.
10099 (python-info-current-defun): Fix cornercase on first defun scan.
10100 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
10101 and signal error when no inferior python process is available.
10102
10103 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
10104
10105 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
10106 assume it's always t.
10107 (vc-git-registered): Remove caching, the function is only called
10108 once.
10109 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
10110
10111 2012-07-18 Chong Yidong <cyd@gnu.org>
10112
10113 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
10114
10115 * simple.el (count-words): Report on narrowing (Bug#9959).
10116
10117 * bindings.el: Bind M-= to count-words.
10118
10119 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
10120
10121 2012-07-18 Masatake YAMATO <yamato@redhat.com>
10122
10123 * progmodes/sh-script.el (sh-imenu-generic-expression):
10124 Capture a function with `function' keyword and without parentheses
10125 like "function FOO" (bug#11856).
10126
10127 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
10128
10129 * window.el (split-window-sensibly): Make WINDOW argument
10130 optional.
10131
10132 2012-07-18 Chong Yidong <cyd@gnu.org>
10133
10134 * subr.el (keyboard-translate): Doc fix (Bug#7261).
10135
10136 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
10137 and make C-x 8 RET exit isearch (Bug#11439).
10138
10139 * international/iso-transl.el: Move isearch-mode-map key
10140 definitions to isearch.el.
10141
10142 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
10143
10144 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
10145 (eieio-defclass): Use gv-define-setter when possible.
10146
10147 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
10148
10149 Reflect recent changes in Fgarbage_collect.
10150 * emacs-lisp/chart.el (chart-emacs-storage): Change to
10151 reflect new format of data returned by Fgarbage_collect.
10152
10153 2012-07-17 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10154
10155 New utility functions + python-info-ppss-context fix (Bug#11910).
10156 * progmodes/python.el (python-info-beginning-of-block-statement-p)
10157 (python-info-ppss-comment-or-string-p): New functions.
10158 (python-info-ppss-context): Small fix for string check.
10159
10160 2012-07-17 Juri Linkov <juri@jurta.org>
10161
10162 * dired-aux.el (dired-do-async-shell-command): Doc fix.
10163 (dired-do-async-shell-command): Don't add `*' at the end of the
10164 command (Bug#11815).
10165 (dired-do-shell-command): Doc fix.
10166 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
10167 Join the individual commands using either "&" or ";" as the
10168 separator depending on the values of these trailing characters.
10169 At the end re-add the trailing "&". (Bug#10598)
10170
10171 * simple.el (async-shell-command): Sync the interactive spec with
10172 `shell-command'. Doc fix.
10173 (shell-command): Doc fix.
10174
10175 2012-07-17 Juri Linkov <juri@jurta.org>
10176
10177 * descr-text.el (describe-char): Fix format args. (Bug#10129)
10178
10179 2012-07-17 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10180
10181 Final renames and doc fixes for movement commands (bug#11899).
10182 * progmodes/python.el (python-nav-beginning-of-statement):
10183 Rename from python-nav-statement-start.
10184 (python-nav-end-of-statement): Rename from
10185 python-nav-statement-end.
10186 (python-nav-beginning-of-block): Rename from
10187 python-nav-block-start.
10188 (python-nav-end-of-block): Rename from python-nav-block-end.
10189
10190 2012-07-17 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10191
10192 * progmodes/python.el (python-shell-send-string-no-output):
10193 Allow accept-process-output to quit, keeping shell process ready for
10194 future interactions (Bug#11868).
10195
10196 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
10197
10198 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
10199
10200 * emacs-lisp/elint.el (elint-find-args-in-code):
10201 Use help-function-arglist, so as to handle lexical byte-code.
10202
10203 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
10204 change (bug#11826).
10205
10206 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
10207
10208 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
10209 Avoid spuriously marking the buffer as modified because of c-is-sws.
10210
10211 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
10212 as not-a-comment (bug#11946).
10213
10214 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
10215 for uninterned vars.
10216
10217 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
10218 Use read-event since we don't really want to read chars but bytes.
10219
10220 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
10221 $$..$$ but also $..$ using regexps (bug#11953).
10222 Use tex-verbatim for \url and \path.
10223 (tex-font-lock-keywords): Define as defconst like the others.
10224 (tex-common-initialization): Don't use font-lock-syntax-table any more.
10225
10226 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
10227
10228 * international/mule-cmds.el (ucs-insert): Make it an obsolete
10229 alias for insert-char.
10230
10231 2012-07-16 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10232
10233 * progmodes/python.el: Simplified imenu implementation.
10234 (python-nav-jump-to-defun): Remove command.
10235 (python-mode-map): Use `imenu' instead.
10236 (python-nav-list-defun-positions-cache)
10237 (python-imenu-include-defun-type, python-imenu-make-tree)
10238 (python-imenu-subtree-root-label, python-imenu-index-alist):
10239 Remove vars.
10240 (python-nav-list-defun-positions, python-nav-read-defun)
10241 (python-imenu-tree-assoc, python-imenu-make-element-tree)
10242 (python-imenu-make-tree, python-imenu-create-index):
10243 Remove functions.
10244 (python-mode): Update to interact with imenu by setting
10245 `imenu-extract-index-name-function' only.
10246
10247 2012-07-16 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10248
10249 * progmodes/python.el: Enhancements to navigation commands.
10250 (python-nav-backward-sentence)
10251 (python-nav-forward-sentence): Remove.
10252 (python-nav-backward-statement, python-nav-forward-statement)
10253 (python-nav-statement-start, python-nav-statement-end)
10254 (python-nav-backward-block, python-nav-forward-block)
10255 (python-nav-block-start, python-nav-block-end)
10256 (python-nav-forward-sexp-function)
10257 (python-info-current-line-comment-p)
10258 (python-info-current-line-empty-p): New functions.
10259 (python-indent-context): Use `python-nav-statement-start'.
10260
10261 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
10262
10263 * eshell/em-ls.el (eshell/ls): Use `apply'.
10264
10265 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
10266 multi-hops, instead of Tramp internals.
10267
10268 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
10269
10270 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
10271 when F1 and F2 are located on different hosts.
10272
10273 2012-07-14 Chong Yidong <cyd@gnu.org>
10274
10275 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
10276 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
10277 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
10278 (xterm-mouse--read-event-sequence-1000)
10279 (xterm-mouse--read-event-sequence-1006): New functions. For old
10280 mouse protocol, handle M-mouse-X events correctly.
10281 (xterm-mouse-event): New arg specifying mouse protocol.
10282 (turn-on-xterm-mouse-tracking-on-terminal)
10283 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
10284 sequence to toggle extended coordinates on newer XTerms.
10285 This appears to be harmless on terminals which do not support this.
10286
10287 2012-07-14 Leo Liu <sdl.web@gmail.com>
10288
10289 Add fringe bitmap indicators for flymake. (Bug#11253)
10290 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
10291 (flymake-make-overlay): New arg BITMAP.
10292 (flymake-error-bitmap, flymake-warning-bitmap)
10293 (flymake-fringe-indicator-position): New user variables.
10294
10295 * fringe.el: New bitmap exclamation-mark.
10296
10297 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
10298
10299 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
10300 also (Bug#7879).
10301
10302 2012-07-14 Chong Yidong <cyd@gnu.org>
10303
10304 * electric.el (electric-pair-post-self-insert-function): Fix pair
10305 insertion in empty-region case (Bug#11520).
10306
10307 2012-07-14 Chong Yidong <cyd@gnu.org>
10308
10309 * bindings.el: Consolidate ctl-x-r-map bindings.
10310 Bind copy-rectangle-as-kill to C-x r w.
10311
10312 * rect.el, register.el: Move bindings to bindings.el.
10313
10314 2012-07-14 Reuben Thomas <rrt@sc3d.org>
10315
10316 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
10317
10318 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
10319
10320 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
10321
10322 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
10323
10324 * bindings.el (top): Use `mapc' instead of `mapcar'.
10325
10326 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
10327
10328 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
10329
10330 * progmodes/sql.el (sql-comint): Suppress the check for program on
10331 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
10332 (Bug#11908)
10333
10334 2012-07-13 Chong Yidong <cyd@gnu.org>
10335
10336 * bindings.el: Assign a non-nil permanent-local property to
10337 per-buffer variables which lack a default value (Bug#11930).
10338
10339 * help-fns.el (describe-variable): In the "automatically becomes
10340 local" notice, take note of permanent-local variables.
10341
10342 2012-07-13 Chong Yidong <cyd@gnu.org>
10343
10344 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
10345 to allow printing the message when called from Lisp.
10346
10347 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
10348 Remove toggle-read-only.
10349
10350 * bs.el (bs-toggle-readonly):
10351 * buff-menu.el (Buffer-menu-toggle-read-only):
10352 Remove with-no-warnings around toggle-read-only.
10353
10354 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
10355 Remove with-no-warnings around toggle-read-only.
10356 (ffap-read-only, ffap-read-only-other-window)
10357 (ffap-read-only-other-frame): Callers changed.
10358
10359 * help-mode.el: Don't require view package.
10360 (help-mode-finish): Set buffer-read-only instead of calling
10361 toggle-read-only.
10362
10363 * bindings.el (mode-line-toggle-read-only):
10364 * dired.el (dired-toggle-read-only):
10365 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
10366 with non-nil second arg.
10367
10368 * emacs-lisp/eieio-custom.el (eieio-customize-object):
10369 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
10370 directly.
10371
10372 2012-07-12 Eli Zaretskii <eliz@gnu.org>
10373
10374 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
10375 not incf.
10376
10377 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
10378
10379 More CL cleanups and reduction of use of cl.el.
10380 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
10381 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
10382 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
10383 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
10384 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
10385 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
10386 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
10387 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
10388 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
10389 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
10390 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
10391 * eshell/em-cmpl.el, eshell/em-banner.el:
10392 * calendar/parse-time.el: Use cl-lib.
10393 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
10394 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
10395 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
10396 * term/ns-win.el, term.el, shell.el, ps-samp.el:
10397 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
10398 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
10399 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
10400 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
10401 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
10402 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
10403 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
10404 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
10405 `lambda' rather than with `quote'.
10406 (eshell-do-opt): Adjust accordingly.
10407 (eshell-process-option): Simplify.
10408 * eshell/esh-var.el:
10409 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
10410 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
10411 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
10412 to `pcase--dontcare'.
10413 * emacs-lisp/cl.el (labels): Mark obsolete.
10414 (cl--letf, letf): Move to cl-lib.
10415 (cl--letf*, letf*): Remove.
10416 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
10417 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
10418 (cl-progv): Rewrite.
10419 (cl--letf, cl-letf): Move from cl.el.
10420 (cl-letf*): New macro.
10421 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
10422
10423 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
10424
10425 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
10426
10427 2012-07-11 Chong Yidong <cyd@gnu.org>
10428
10429 * vc/log-edit.el (log-edit-vc-backend): New variable.
10430 (log-edit): Doc fix.
10431
10432 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
10433 argument of log-edit to set up all local variables.
10434 (vc-start-logentry): New optional arg specifying VC backend.
10435
10436 * vc/vc.el (vc-checkin): Use it.
10437 (vc-deduce-fileset): Handle Log Edit buffers.
10438 (vc-diff): Make first argument optional too.
10439
10440 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
10441
10442 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
10443
10444 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
10445 command, just in case. The function is not needed anymore.
10446 (eshell-external-command): Do not call `eshell-remote-command'.
10447
10448 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
10449
10450 Reduce use of (require 'cl).
10451 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
10452 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
10453 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
10454 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
10455 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
10456 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
10457 * battery.el, avoid.el, abbrev.el: Use cl-lib.
10458 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
10459 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
10460 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
10461 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
10462 * calculator.el, autorevert.el, apropos.el: Don't require CL.
10463 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
10464 (byte-compile-unfold-bcf, byte-compile-check-variable):
10465 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
10466 (byte-compile-nilconstp):
10467 * emacs-lisp/autoload.el (make-autoload): Use pcase.
10468 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
10469
10470 * emacs-lisp/gv.el (cond): Make it a valid place.
10471 (if): Simplify slightly.
10472
10473 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
10474 (pcase--self-quoting-p): New function.
10475 (pcase--u1): Use it.
10476
10477 2012-07-10 Glenn Morris <rgm@gnu.org>
10478
10479 * emacs-lisp/authors.el (authors-fixed-entries):
10480 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
10481
10482 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
10483
10484 Rename configure.in to configure.ac (Bug#11603).
10485 * emacs-lisp/authors.el (authors-canonical-file-name):
10486 * progmodes/autoconf.el (autoconf-mode):
10487 Prefer configure.ac to configure.in.
10488
10489 2012-07-08 Chong Yidong <cyd@gnu.org>
10490
10491 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
10492 Implement the mouse-1-click-follows-link handling properly.
10493
10494 * info.el (Info-link-keymap): Use follow-link mechanism for
10495 header-line links (Bug#374).
10496
10497 * simple.el (deactivate-mark): Do not set the primary selection
10498 if another program has acquired it (Bug#11772).
10499
10500 2012-07-07 Kevin Ryde <user42@zip.com.au>
10501
10502 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
10503 (woman-decode-region): Replace escaped-escapes without destroying
10504 bold or underline (Bug#11552).
10505 (woman2-process-escapes): Handle nofill regions (Bug#11591).
10506
10507 2012-07-07 Chong Yidong <cyd@gnu.org>
10508
10509 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
10510 (interprogram-cut-function, interprogram-paste-function):
10511 Mention that we typically mean the clipboard.
10512
10513 2012-07-06 Glenn Morris <rgm@gnu.org>
10514
10515 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
10516
10517 * files.el (toggle-read-only): Restrict message to interactive use.
10518
10519 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
10520
10521 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
10522
10523 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
10524
10525 2012-07-06 Glenn Morris <rgm@gnu.org>
10526
10527 * Makefile.in (compile-one-process): Rename from "recompile".
10528
10529 * Makefile.in (bzr-update): "compile" is the same as "recompile
10530 autoloads", but parallelizable, so use that instead.
10531
10532 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
10533
10534 * window.el (quit-window): Always restore window height when
10535 it's saved in quit-restore parameter (Bug#11810).
10536
10537 2012-07-06 Glenn Morris <rgm@gnu.org>
10538
10539 * simple.el (kill-whole-line): Doc tweak.
10540
10541 2012-07-06 Eli Zaretskii <eliz@gnu.org>
10542
10543 * files.el (file-relative-name): Compare file names
10544 case-insensitively if on MS-Windows or MS-DOS, or if
10545 read-file-name-completion-ignore-case is non-nil. Don't use
10546 case-fold-search for this purpose. (Bug#11827)
10547
10548 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
10549
10550 * calendar/cal-dst.el (calendar-current-time-zone):
10551 Return calendar-current-time-zone-cache if non-nil.
10552
10553 2012-07-17 Masatake YAMATO <yamato@redhat.com>
10554 2012-07-06 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-06 Glenn Morris <rgm@gnu.org>
10560
10561 * Makefile.in (cvs-update): Remove old alias.
10562
10563 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
10564
10565 Sync with Tramp 2.2.6-pre.
10566
10567 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
10568 compatible declaration.
10569
10570 * net/tramp-cmds.el (tramp-append-tramp-buffers):
10571 Protect `list-load-path-shadows' call.
10572
10573 * net/tramp-compat.el (top): Require packages, which aren't
10574 autoloaded anymore for XEmacs. Protect call of
10575 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
10576 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
10577 it hurts at least for SXEmacs.
10578 (tramp-compat-temporary-file-directory): In XEmacs, there is no
10579 standard-value for `temporary-file-directory'.
10580
10581 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
10582 Redirect stderr to /dev/null.
10583 (tramp-sh-handle-write-region): uid and gid can be floats.
10584 Reported by Russell Sim <russell.sim@gmail.com>.
10585 (tramp-sh-handle-vc-registered): Hide errors.
10586 (tramp-vc-file-name-handler): Use dummy results for `process-file'
10587 and `start-file-process'.
10588 (tramp-maybe-open-connection): Check also whether `non-essential'
10589 is bound.
10590
10591 2012-07-04 Chong Yidong <cyd@gnu.org>
10592
10593 * xml.el (xml--parse-buffer): Use xml-syntax-table.
10594 (xml-parse-tag): Likewise, and avoid changing entity tables.
10595 (xml-syntax-table): Define from scratch, making sure not to give
10596 x2000 and other Unicode spaces whitespace syntax, since those are
10597 not spaces in XML.
10598 (xml-parse-fragment): Delete unused function.
10599 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
10600 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
10601 (xml-entity-ref, xml-pe-reference-re)
10602 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
10603 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
10604 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
10605 (xml-entity-value-re): Use syntax references in regexps where
10606 possible; no need to define inside a let-binding.
10607 (xml-parse-dtd): Use xml-pe-reference-re.
10608 (xml-entity-or-char-ref-re): New defconst.
10609 (xml-parse-string, xml-substitute-special): Use it.
10610
10611 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
10612
10613 * files.el (locate-dominating-file): Allow `name' to be a predicate.
10614 (find-file--read-only): New function.
10615 (find-file-read-only, find-file-read-only-other-window)
10616 (find-file-read-only-other-frame): Use it.
10617 (insert-file-contents-literally): Don't `fset'.
10618 (get-free-disk-space): Use locate-dominating-file.
10619
10620 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
10621 function is already compiled.
10622
10623 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
10624
10625 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
10626
10627 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
10628 files on the same host.
10629
10630 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
10631
10632 * help-fns.el (describe-function-1): Only call
10633 help-fns--autoloaded-p when we have a file name. (Bug#11848)
10634
10635 2012-07-03 Chong Yidong <cyd@gnu.org>
10636
10637 * xml.el: Protect parser against XML bombs.
10638 (xml-entity-expansion-limit): New variable.
10639 (xml-parse-string, xml-substitute-special): Use it.
10640 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
10641
10642 2012-07-03 Glenn Morris <rgm@gnu.org>
10643
10644 * progmodes/bug-reference.el (bug-reference-bug-regexp):
10645 Allow linking to specific messages in debbugs reports (eg 123#5).
10646
10647 2012-07-02 Chong Yidong <cyd@gnu.org>
10648
10649 * xml.el: Fix entity and character reference expansion, allowing
10650 them to expand into markup as per XML spec.
10651 (xml-default-ns): New variable.
10652 (xml-entity-alist): Use XML spec definitions for lt and amp.
10653 (xml-parse-region): Make first two arguments optional.
10654 Discard text properties.
10655 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
10656 All callers changed.
10657 (xml-parse-tag): Call xml-parse-tag-1. For backward
10658 compatibility, this function should not modify buffer contents.
10659 (xml-parse-tag-1): Fix opening-tag regexp.
10660 (xml-parse-string): Rewrite, handling entity and character
10661 references properly.
10662 (xml--entity-replacement-text): Signal an error if a parameter
10663 entity is undefined.
10664
10665 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
10666
10667 * comint.el (comint-output-filter): Filter out repeated prompts.
10668
10669 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
10670 and file-name-absolute-p.
10671 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
10672 internal calls.
10673
10674 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
10675
10676 Spelling fixes.
10677 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
10678 Rename from byte-compile--refiy-function. All uses changed.
10679
10680 2012-07-01 Chong Yidong <cyd@gnu.org>
10681
10682 * xml.el (xml--parse-buffer): New function. Move most of
10683 xml-parse-region here.
10684 (xml-parse-region): Copy region into a temporary buffer, since
10685 parameter entity substitution requires changing buffer contents.
10686 Use xml--parse-buffer.
10687 (xml-parse-file): Use xml--parse-buffer.
10688 (xml-parse-dtd): Make parameter entity substitution work right.
10689 Use proper regexps for ELEMENT declarations (Bug#7172).
10690
10691 2012-06-30 Glenn Morris <rgm@gnu.org>
10692
10693 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
10694
10695 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
10696 Remove outdated and unnecessary dbus declarations.
10697
10698 2012-06-30 Eli Zaretskii <eliz@gnu.org>
10699
10700 * emacs-lisp/timer.el (timer-until): Subtract results of
10701 float-time, instead of taking float-time of the result of
10702 time-subtract, since float-time signals an error for negative time
10703 arguments.
10704
10705 2012-06-30 Chong Yidong <cyd@gnu.org>
10706
10707 * xml.el (xml-*-re): Convert defvars into defconsts, and
10708 eval-and-compile them so eval-and-compile works on derivatives.
10709 (xml--entity-replacement-text): Use eval-and-comple.
10710
10711 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
10712
10713 * vc/vc-git.el (vc-git-registered): Use cache property
10714 `git-registered'.
10715 (vc-git-mode-line-string): Call `vc-working-revision' instead of
10716 `vc-git-working-revision' in order to benefit from the cache.
10717 (vc-git-root): Use cache property `git-root'. (Bug#11757)
10718
10719 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
10720
10721 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
10722 removed (likely outside Emacs). (Bug#11757)
10723
10724 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
10725
10726 * emacs-lisp/cl-lib.el: Require macroexp.
10727
10728 2012-06-30 Chong Yidong <cyd@gnu.org>
10729
10730 * xml.el: Implement XML parameter entities.
10731 (xml-parameter-entity-alist): New variable.
10732 (xml-parse-region, xml-parse-fragment): Preserve previous values
10733 of xml-entity-alist and xml-parameter-entity-alist, so that
10734 repeated calls on different documents do not change them.
10735 (xml-parse-tag): Fix doctype regexp.
10736 (xml--entity-replacement-text): New function.
10737 (xml-parse-dtd): Use it. Don't handle system entities; doing that
10738 properly requires url retrieval which is unimplemented.
10739 (xml-escape-string): Doc fix.
10740
10741 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
10742
10743 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
10744
10745 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
10746
10747 * fringe.el (fringe-mode): Doc fix.
10748
10749 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
10750
10751 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
10752 is non-nil.
10753 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
10754 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
10755
10756 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
10757
10758 * calendar/cal-dst.el (calendar-current-time-zone):
10759 Return calendar-current-time-zone-cache if non-nil.
10760
10761 2012-06-29 Masatake YAMATO <yamato@redhat.com>
10762
10763 * progmodes/which-func.el (which-func-format):
10764 Add mouse-face. (Bug#11698)
10765
10766 2012-06-29 Leo Liu <sdl.web@gmail.com>
10767
10768 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
10769
10770 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
10771
10772 * minibuffer.el (minibuffer-confirm-exit-commands):
10773 Add completion-at-point (bug#11725).
10774
10775 2012-06-29 Glenn Morris <rgm@gnu.org>
10776
10777 * progmodes/f90.el (f90-font-lock-keywords-2):
10778 Add some preprocessor elements. (Bug#10499)
10779
10780 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
10781
10782 * progmodes/cperl-mode.el (cperl-update-syntaxification):
10783 Use syntax-propertize (bug#11739).
10784
10785 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
10786
10787 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
10788
10789 2012-06-28 Julien Danjou <julien@danjou.info>
10790
10791 * term.el (term-handle-colors-array): Use a set of new faces to
10792 color the terminal. Also uses :inverse-video property.
10793 (term-default-fg-color): Set to nil by default, deprecate in favor
10794 of `term-face'.
10795 (term-default-bg-color): Set to nil by default, deprecate in favor
10796 of `term-face'.
10797 (term-current-face): Use `term-face' by default.
10798 (term-bold-attribute): Variable deleted.
10799
10800 2012-06-28 Glenn Morris <rgm@gnu.org>
10801
10802 * simple.el (completion-list-mode-finish):
10803 Don't use toggle-read-only. (Since completion-list-mode has
10804 a special mode-class, it wasn't doing anything extra anyway.)
10805
10806 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
10807
10808 Make inlining of other-mode interpreted functions work (bug#11799).
10809 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
10810 (byte-compile): Use it to fix compilation of lexical-binding closures.
10811 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
10812 function, if needed.
10813
10814 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
10815
10816 * help-mode.el (help-make-xrefs): Don't just withstand
10817 cyclic-variable-indirection but any error in documentation-property.
10818
10819 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
10820 memory use.
10821 * bindings.el (bindings--define-key): New function.
10822 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
10823 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
10824 * bindings.el: Use it to purecopy define-key bindings.
10825
10826 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
10827
10828 * emacs-lisp/cl.el (flet): Mark obsolete.
10829 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
10830 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
10831 * progmodes/js.el (js-c-fill-paragraph):
10832 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
10833 (ebrowse-switch-member-buffer-to-derived-class):
10834 * play/5x5.el (5x5-solver): Use cl-flet.
10835
10836 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
10837 (cl--symbol-function): New macro.
10838 (cl--letf, cl--letf*): Use it.
10839
10840 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
10841 Strip "toggle-" if any.
10842
10843 2012-06-27 Glenn Morris <rgm@gnu.org>
10844
10845 * info.el (Info-default-directory-list): Move here from paths.el.
10846 * paths.el: Remove file, which is now empty.
10847 * loadup.el: No longer load "paths".
10848
10849 * custom.el (custom-initialize-delay): Doc fix.
10850
10851 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
10852 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
10853 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
10854 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
10855 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
10856 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
10857 * eshell/eshell.el (eshell-defgroup): Remove alias.
10858
10859 2012-06-27 Chong Yidong <cyd@gnu.org>
10860
10861 * help.el (help-enable-auto-load): New variable.
10862
10863 * help-fns.el (help-fns--autoloaded-p): New function.
10864 (describe-function-1): Refer to a function as "autoloaded" if it
10865 was autoloaded at any time in the past. Perform autoloading if
10866 help-enable-auto-load is non-nil.
10867
10868 2012-06-26 Eli Zaretskii <eliz@gnu.org>
10869
10870 * makefile.w32-in (compile, compile-always): Depend on
10871 update-subdirs, not on subdirs.el. Otherwise, several different
10872 sub-targets of 'bootstrap' running in parallel could
10873 simultaneously write to subdirs.el, producing a garbled file.
10874
10875 2012-06-26 Sam Steingold <sds@gnu.org>
10876
10877 * files.el (file-name-base): New convenience function.
10878 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
10879 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
10880 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
10881 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
10882 * textmodes/ispell.el, textmodes/reftex-ref.el:
10883 * textmodes/tex-mode.el: Use it.
10884 Did not touch cedet and org because they are maintained elsewhere.
10885
10886 2012-06-26 Martin Rudalics <rudalics@gmx.at>
10887
10888 * calendar/calendar.el (calendar-exit): Don't try to delete or
10889 iconify last frame. See:
10890 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
10891
10892 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
10893
10894 * server.el (server-process-filter): Remember dir in the
10895 process's `server-client-directory' properties.
10896
10897 2012-06-24 Chong Yidong <cyd@gnu.org>
10898
10899 * xml.el (xml-parse-tag): Correctly handle comment embedded in
10900 non-tag text.
10901
10902 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
10903
10904 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
10905
10906 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
10907
10908 * help-fns.el (describe-variable): Don't croak when doc is not found.
10909 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
10910 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
10911 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
10912 * emacs-lisp/smie.el (smie-next-sexp): CSE.
10913 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
10914 ((lambda ..) ..).
10915 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
10916
10917 2012-06-23 Chong Yidong <cyd@gnu.org>
10918
10919 * info.el (Info-mouse-follow-link): Accept symbol values of
10920 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
10921 (Info-fontify-node): Use Info-link-keymap for all navigation
10922 buttons, with link-args property to perform the desired action.
10923 (Info-link-keymap): Doc fix.
10924 (Info-next-link-keymap, Info-prev-link-keymap)
10925 (Info-up-link-keymap): Delete now-unused keymaps.
10926
10927 2012-06-23 Chong Yidong <cyd@gnu.org>
10928
10929 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
10930
10931 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
10932 system abbrevs.
10933
10934 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
10935
10936 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
10937
10938 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
10939 (bug#11719).
10940
10941 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
10942 the requote function doesn't work properly (bug#11714).
10943
10944 2012-06-23 Glenn Morris <rgm@gnu.org>
10945
10946 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
10947
10948 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
10949
10950 Further GV/CL cleanups.
10951 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
10952 gv-expander.
10953 (gv--defun-declaration): New function.
10954 (defun-declarations-alist): Use it.
10955 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
10956 (gv-place): Autoload.
10957 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
10958 original definition of dotimes and dolist.
10959 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
10960 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
10961 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
10962 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
10963 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
10964 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
10965 to the function's definition.
10966 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
10967 * window.el:
10968 * files.el:
10969 * faces.el:
10970 * env.el: Don't use CL.
10971
10972 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
10973
10974 Support higher-resolution time stamps (Bug#9000).
10975
10976 * calendar/time-date.el (with-decoded-time-value): New arg
10977 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
10978 (encode-time-value): New optional arg PICO. New type 3.
10979 (time-to-seconds) [!float-time]: Support the new picoseconds
10980 component if it's used.
10981 (seconds-to-time, time-subtract, time-add):
10982 Support ps-resolution time stamps as well.
10983
10984 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
10985 (timerp): Timer vectors now have length 9, not 8.
10986 (timer--time): Support new-style (4-part) time stamps.
10987 (timer-next-integral-multiple-of-time): Time stamps now have
10988 picosecond resolution, so take a bit more care about rounding.
10989 (timer-relative-time, timer-inc-time): New optional arg psecs.
10990 (timer-set-time-with-usecs): Set psecs to 0.
10991 (timer--activate): Check psecs component, too.
10992
10993 * proced.el (proced-time-lessp): Support ps-resolution stamps.
10994
10995 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
10996
10997 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
10998 Move the non-essential binding to the post/pre-command-hook where it is
10999 more obviously correct.
11000
11001 * subr.el (read-passwd): Don't use a history at all.
11002 * savehist.el (savehist-save): Remove password saved accidentally
11003 because of the above bug.
11004
11005 2012-06-22 Bastien Guerry <bzg@gnu.org>
11006
11007 * files.el (toggle-read-only): Display a message telling whether
11008 the buffer is read-only or not (bug#11726).
11009
11010 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
11011
11012 * emacs-lisp/gv.el: New file.
11013 * subr.el (push, pop): Extend to generalized variables.
11014 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
11015 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
11016 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
11017 gv-define-simple-setter, and gv-define-expander.
11018 Remove setf-methods defined in gv. Rename cl-setf -> setf.
11019 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
11020 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
11021 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
11022 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
11023 gv-letplace.
11024 (cl-defstruct): Don't define setf-method any more.
11025 * emacs-lisp/cl.el (flet): Don't autoload.
11026 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
11027 (define-setf-expander, defsetf, define-modify-macro)
11028 (cl-struct-setf-expander): Move from cl-lib.el.
11029 * emacs-lisp/syntax.el:
11030 * emacs-lisp/ewoc.el:
11031 * emacs-lisp/smie.el:
11032 * emacs-lisp/cconv.el:
11033 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
11034 (timer--time): Use gv-define-simple-setter.
11035 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
11036 to avoid coding-system problems in subr.el. Adjust all users.
11037 (macroexp--maxsize, macroexp-small-p): New functions.
11038 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
11039 * scroll-bar.el (scroll-bar-mode):
11040 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
11041 (normal-erase-is-backspace-mode): Don't use the `eq' place.
11042 * winner.el (winner-configuration, winner-make-point-alist)
11043 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
11044 * files.el (locate-file-completion-table): Avoid list*.
11045
11046 2012-06-22 Chong Yidong <cyd@gnu.org>
11047
11048 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
11049 (dired-create-files): Doc fix (Bug#11329).
11050 (dired-do-copy): Doc fix (Bug#11334).
11051 (dired-mark-read-string): Doc fix (Bug#11553).
11052
11053 * dired.el (dired-recursive-copies, dired-recursive-deletes):
11054 Doc fix (Bug#11326).
11055 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
11056 (dired-dwim-target): Doc fix.
11057
11058 * wdired.el (wdired-mode): Doc fix.
11059
11060 2012-06-22 Glenn Morris <rgm@gnu.org>
11061
11062 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
11063 (pcmpl-rpm-cache-stamp-file): New constant.
11064 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
11065 (pcmpl-rpm-packages): Optionally cache list of packages.
11066
11067 * pcmpl-rpm.el (pcmpl-rpm): New group.
11068 (pcmpl-rpm-query-options): New option.
11069 (pcmpl-rpm-packages): No need to inline it.
11070 Use pcmpl-rpm-query-options.
11071
11072 * calendar/calendar.el (calendar-in-read-only-buffer):
11073 Avoid some needless mode changes.
11074
11075 2012-06-21 Chong Yidong <cyd@gnu.org>
11076
11077 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
11078 (desktop-path): Remove . from the default value (Bug#10977).
11079 (desktop-read): Use user-emacs-directory if desktop-path is nil.
11080
11081 2012-06-20 Chong Yidong <cyd@gnu.org>
11082
11083 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
11084
11085 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
11086
11087 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
11088 (bug#11201).
11089
11090 2012-06-20 Chong Yidong <cyd@gnu.org>
11091
11092 * term.el (term-window-width): Handle the case of a missing right
11093 fringe (Bug#8837).
11094 (term-check-size): Use window-text-height (Bug#5445).
11095 (term-mode): Use define-derived-mode. Minor cleanups.
11096 Set font-lock-defaults (Bug#7692).
11097 (term-move-columns, term-insert-char, term-emulate-terminal)
11098 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
11099
11100 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
11101
11102 * net/ange-ftp.el (ange-ftp-get-passwd):
11103 Bind `enable-recursive-minibuffers'.
11104 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
11105
11106 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
11107
11108 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
11109
11110 2012-06-19 Glenn Morris <rgm@gnu.org>
11111
11112 * progmodes/python.el (python-mode): Derive from prog-mode.
11113
11114 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
11115
11116 * emulation/edt.el (edt-default-menu-bar-update-buffers)
11117 (edt-user-menu-bar-update-buffers): New functions.
11118 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
11119
11120 2012-06-19 Chong Yidong <cyd@gnu.org>
11121
11122 * subr.el (with-selected-window): Preserve the selected window's
11123 terminal's top-frame (Bug#4702).
11124
11125 * window.el (save-selected-window): Likewise.
11126
11127 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
11128
11129 * progmodes/python.el (python-rx-constituents): Move backquote.
11130 (python-skeleton-define, python-define-auxiliary-skeleton):
11131 Use `declare'.
11132
11133 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
11134
11135 * minibuffer.el (read-file-name-default): Revert the patch from
11136 2012-06-17.
11137
11138 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
11139
11140 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
11141 (pcase--u1, pcase--q1): Don't use apply-partially.
11142
11143 2012-06-18 Glenn Morris <rgm@gnu.org>
11144
11145 * progmodes/python.el (python-proc, python-buffer)
11146 (python-send-receive, python-send-string): Fix obsolete versions.
11147
11148 2012-06-18 Martin Rudalics <rudalics@gmx.at>
11149
11150 * window.el (special-display-p): Completely remove stringp
11151 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
11152
11153 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
11154
11155 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
11156
11157 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
11158
11159 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
11160 * net/tramp-sh.el (tramp-maybe-open-connection):
11161 Throw if `non-essential' is non-nil.
11162
11163 2012-06-17 Martin Rudalics <rudalics@gmx.at>
11164
11165 * window.el (special-display-p): Signal an error if BUFFER-NAME
11166 is not a string (Bug#11713).
11167
11168 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
11169
11170 * progmodes/python.el (python-info-beginning-of-backslash):
11171 Rename from python-info-beginning-of-backlash, as a spelling fix.
11172
11173 2012-06-17 Chong Yidong <cyd@gnu.org>
11174
11175 * term.el (term-emulate-terminal): If term-check-size is called,
11176 move point to the process mark without resetting point (Bug#4635).
11177
11178 2012-06-17 Glenn Morris <rgm@gnu.org>
11179
11180 * international/mule-cmds.el (mule-menu-keymap)
11181 (set-language-environment, set-locale-environment): Doc tweaks.
11182
11183 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
11184
11185 * cus-face.el (custom-face-attributes): Add wave-style underline
11186 attribute.
11187 * faces.el (set-face-attribute): Update docstring to describe
11188 wave-style underline attribute.
11189
11190 2012-06-16 Chong Yidong <cyd@gnu.org>
11191
11192 * term/xterm.el (terminal-init-xterm): Discard input before
11193 querying background mode (Bug#10959).
11194
11195 2012-06-16 Stefan Merten <smerten@oekonux.de>
11196
11197 * textmodes/rst.el: Added and corrected some comments.
11198 (rst-re-alist-def): Improve symbol syntax.
11199 (rst-mode-syntax-table): Correct syntax entries.
11200 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
11201 (rst-official-version, rst-official-cvs-rev): Update version
11202 information.
11203
11204 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
11205
11206 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
11207 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
11208
11209 2012-06-15 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11210
11211 * progmodes/python.el: New python.el merge.
11212 (python-guess-indent): Obsolete var.
11213 (python-indent-guess-indent-offset): New defcustom.
11214 (python-indent): Obsolete var.
11215 (python-indent-offset): New defcustom.
11216 (python-python-command, python-jython-command): Delete var.
11217 (python-shell-interpreter): New defcustom.
11218 (python-pdbtrack-do-tracking-p): Delete var.
11219 (python-pdbtrack-activate): New defcustom.
11220 (python-use-skeletons): Obsolete var.
11221 (python-skeleton-autoinsert): New defcustom.
11222 (inferior-python-filter-regexp, python-continuation-offset)
11223 (python-honour-comment-indentation, python-indent-string-contents)
11224 (python-jython-packages, python-mode-hook)
11225 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
11226 (python-shell-prompt-alist)
11227 (python-source-modes): Delete defcustoms.
11228 (python-check-buffer-name, python-eldoc-setup-code)
11229 (python-eldoc-string-code, python-ffap-setup-code)
11230 (python-ffap-string-code, python-fill-comment-function)
11231 (python-fill-decorator-function, python-fill-paren-function)
11232 (python-fill-string-function, python-imenu-include-defun-type)
11233 (python-imenu-make-tree, python-imenu-subtree-root-label)
11234 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
11235 (python-shell-compilation-regexp-alist)
11236 (python-shell-completion-module-string-code)
11237 (python-shell-completion-pdb-string-code)
11238 (python-shell-completion-setup-code)
11239 (python-shell-completion-string-code)
11240 (python-shell-enable-font-lock, python-shell-exec-path)
11241 (python-shell-extra-pythonpaths)
11242 (python-shell-internal-buffer-name, python-shell-interpreter-args)
11243 (python-shell-process-environment)
11244 (python-shell-prompt-block-regexp)
11245 (python-shell-prompt-output-regexp)
11246 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
11247 (python-shell-send-setup-max-wait, python-shell-setup-codes)
11248 (python-shell-virtualenv-path): New defcustoms.
11249 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
11250 (inferior-python-mode-syntax-table, python--prompt-regexp)
11251 (python-buffer, python-command python-python-command)
11252 (python-default-template, python-imports, python-indent-index)
11253 (python-indent-list, python-indent-list-length)
11254 (python-mode-running, python-pdbtrack-is-tracking-p)
11255 (python-preoutput-continuation, python-preoutput-leftover)
11256 (python-preoutput-result, python-preoutput-skip-next-prompt)
11257 (python-prev-dir/file, python-recursing)
11258 (python-saved-check-command, python-version-checked)
11259 (python-which-func-length-limit)
11260 (view-return-to-alist): Delete vars.
11261 (python-check-custom-command, python-dotty-syntax-table)
11262 (python-imenu-index-alist, python-indent-current-level)
11263 (python-indent-dedenters, python-indent-levels)
11264 (python-nav-beginning-of-defun-regexp)
11265 (python-nav-list-defun-positions-cache)
11266 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
11267 (python-shell-internal-buffer)
11268 (python-skeleton-available): New vars.
11269 (def-python-skeleton): Delete macro.
11270 (python-skeleton-define): New macro.
11271 (python-define-auxiliary-skeleton, python-rx): New macros.
11272 (python-insert-class): Delete command.
11273 (python-skeleton-class): New command.
11274 (python-insert-def): Delete command.
11275 (python-skeleton-def): New command.
11276 (python-insert-for): Delete command.
11277 (python-skeleton-for): New command.
11278 (python-insert-if): Delete command.
11279 (python-skeleton-if): New command.
11280 (python-insert-try/except, python-insert-try/finally): Delete commands.
11281 (python-skeleton-try): New command.
11282 (python-insert-while): Delete command.
11283 (python-skeleton-while): New command.
11284 (python-backspace): Delete command.
11285 (python-indent-dedent-line-backspace): New command.
11286 (python-electric-colon): Delete command.
11287 (python-indent-electric-colon): New command.
11288 (python-guess-indent): Delete command.
11289 (python-indent-guess-indent-offset): New command.
11290 (python-shift-left): Delete command.
11291 (python-indent-shift-left): New command.
11292 (python-shift-right): Delete command.
11293 (python-indent-shift-right): New command.
11294 (python-find-function): Delete command.
11295 (python-nav-jump-to-defun): New command.
11296 (python-next-statement): Delete command.
11297 (python-nav-forward-sentence): New command.
11298 (python-previous-statement): Delete command.
11299 (python-nav-backward-sentence): New command.
11300 (python-fill-paragraph): Delete command.
11301 (python-fill-paragraph-function): New command.
11302 (python-send-buffer): Delete command.
11303 (python-shell-send-buffer): New command.
11304 (python-send-defun): Delete command.
11305 (python-shell-send-defun): New command.
11306 (python-send-region, python-send-region-and-go): Delete commands.
11307 (python-shell-send-region)
11308 (python-shell-switch-to-shell): New commands.
11309 (python-send-string): Delete command.
11310 (python-shell-send-string): New command.
11311 (python-switch-to-python): Delete command.
11312 (python-shell-switch-to-shell): New command.
11313 (python-describe-symbol): Delete command.
11314 (python-eldoc-at-point): New command.
11315 (python--set-prompt-regexp, python-args-to-list)
11316 (python-after-info-look, python-check-version)
11317 (python-check-comint-prompt, python-find-imports)
11318 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
11319 (python-unload-function, python-expand-template)
11320 (python-maybe-jython, python-preoutput-filter)
11321 (python-pdbtrack-get-source-buffer)
11322 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
11323 (python-pdbtrack-toggle-stack-tracking)
11324 (python-pdbtrack-track-stack-file, python-initial-text)
11325 (python-first-word, python-comment-line-p, python-send-command)
11326 (python-setup-brm, python-sentinel, python-set-proc)
11327 (python-skip-out, python-input-filter, python-outdent-p)
11328 (python-outline-level, python-backslash-continuation-line-p)
11329 (python-end-of-block, python-end-of-statement, python-mark-block)
11330 (python-beginning-of-block, python-beginning-of-statement)
11331 (python-blank-line-p, python-beginning-of-string)
11332 (python-open-block-statement-p): Delete functions.
11333 (python-indent-line, python-indent-line-1): Delete functions.
11334 (python-indent-line): New function.
11335 (python-indentation-levels): Delete function.
11336 (python-indent-calculate-levels): New function.
11337 (python-proc): Delete function.
11338 (python-shell-get-process): New function.
11339 (python-send-receive): Delete function.
11340 (python-shell-send-string-no-output): New function.
11341 (python-module-path): Delete function.
11342 (python-ffap-module-path): New function.
11343 (python-completion-at-point)
11344 (python-symbol-completions): Delete functions.
11345 (python-completion-complete-at-point): New function.
11346 (python-load-file): Delete function.
11347 (python-shell-send-file): New function.
11348 (python-calculate-indentation): Delete function.
11349 (python-indent-calculate-indentation): New function.
11350 (python-skip-comments/blanks): Delete function.
11351 (python-util-forward-comment): New function.
11352 (python-continuation-line-p): Delete function.
11353 (python-info-continuation-line-p): New function.
11354 (python-which-func, python-current-defun): Delete function.
11355 (python-info-current-defun): New function.
11356 (python-beginning-of-defun): Delete function.
11357 (python-nav-beginning-of-defun): New function.
11358 (python-close-block-statement-p)
11359 (python-block-end-p): Delete function.
11360 (python-info-closing-block): New function.
11361 (python-comint-output-filter-function)
11362 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
11363 (python-fill-comment, python-fill-decorator, python-fill-paren)
11364 (python-fill-string, python-imenu-make-element-tree)
11365 (python-imenu-make-tree, python-imenu-tree-assoc)
11366 (python-indent-context, python-indent-dedent-line)
11367 (python-indent-line-function)
11368 (python-indent-post-self-insert-function)
11369 (python-indent-toggle-levels)
11370 (python-info-assignment-continuation-line-p)
11371 (python-info-beginning-of-backlash)
11372 (python-info-block-continuation-line-p)
11373 (python-info-closing-block-message)
11374 (python-info-line-ends-backslash-p)
11375 (python-info-looking-at-beginning-of-defun)
11376 (python-info-ppss-context, python-info-ppss-context-type)
11377 (python-nav-list-defun-positions, python-nav-read-defun)
11378 (python-nav-sentence-end, python-nav-sentence-start)
11379 (python-pdbtrack-comint-output-filter-function)
11380 (python-pdbtrack-set-tracked-buffer)
11381 (python-shell-calculate-exec-path)
11382 (python-shell-calculate-process-environment)
11383 (python-shell-completion--do-completion-at-point)
11384 (python-shell-completion--get-completions)
11385 (python-shell-completion-complete-at-point)
11386 (python-shell-completion-complete-or-indent)
11387 (python-shell-get-or-create-process)
11388 (python-shell-get-process-name)
11389 (python-shell-internal-get-or-create-process)
11390 (python-shell-internal-get-process-name)
11391 (python-shell-internal-send-string, python-shell-make-comint)
11392 (python-shell-parse-command, python-shell-send-setup-code)
11393 (python-skeleton-add-menu-items)
11394 (python-util-clone-local-variables, python-util-position)
11395 (run-python-internal, python-indentation-levels)
11396 (python-nav-beginning-of-defun)
11397 (python-completion-complete-at-point): New functions.
11398 (run-python): Change arguments. New API requirements.
11399
11400 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
11401
11402 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
11403 (bug#11649).
11404
11405 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
11406 (macroexp--expand-all): Use it.
11407
11408 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
11409 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
11410 Use `cl-function' instead.
11411
11412 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
11413
11414 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
11415 Suggested by Stefan Monnier while discussing bug#11657.
11416
11417 2012-06-14 Sam Steingold <sds@gnu.org>
11418
11419 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
11420
11421 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
11422
11423 * play/doctor.el (doctor-doc): Remove parameter and use
11424 doctor-sent instead of sent.
11425 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
11426
11427 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
11428
11429 * files.el: Require cl-lib.
11430 (file-name-non-special): Replace case -> cl-case.
11431
11432 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
11433
11434 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
11435 mapping from #' to function*.
11436
11437 2012-06-13 Chong Yidong <cyd@gnu.org>
11438
11439 * mouse.el (mouse-drag-track): Do not set the mark if the user
11440 releases the mouse without selecting anything (Bug#11588).
11441
11442 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
11443
11444 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
11445 as well (bug#11646).
11446
11447 * loadup.el: Count byte-code functions as well.
11448
11449 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
11450 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
11451
11452 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
11453 (bug#11649). Add cl-defun and cl-defmacro.
11454
11455 2012-06-13 Drew Adams <drew.adams@oracle.com>
11456
11457 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
11458 Fix last change.
11459
11460 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
11461
11462 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
11463 Otherwise, it blocks in batch mode.
11464
11465 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
11466
11467 * help-mode.el (bookmark-make-record-default): Declare.
11468
11469 2012-06-13 Chong Yidong <cyd@gnu.org>
11470
11471 * emacs-lisp/package.el (list-packages): Compute a list of
11472 packages that are newly-available since the last list-packages
11473 invocation.
11474 (package-menu--new-package-list): New var.
11475 (package-menu--generate, package-menu--print-info)
11476 (package-menu--status-predicate, package-menu-mark-install):
11477 Handle new status label "new".
11478
11479 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
11480
11481 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
11482 conversion to backquotes.
11483
11484 2012-06-12 Chong Yidong <cyd@gnu.org>
11485
11486 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
11487 Rename from gud-inhibit-global-bindings.
11488
11489 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
11490
11491 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
11492 hook from nxml-glyph-set-hook.
11493
11494 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
11495 declaration.
11496
11497 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
11498
11499 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
11500 Convert to defcustom.
11501
11502 2012-06-12 Drew Adams <drew.adams@oracle.com>
11503
11504 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
11505 New functions.
11506 (help-mode): Use them.
11507
11508 2012-06-11 Glenn Morris <rgm@gnu.org>
11509
11510 * progmodes/fortran.el (fortran-font-lock-keywords-3):
11511 Use preprocessor face for directives.
11512 (fortran-directive-re): Doc fix.
11513
11514 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
11515
11516 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
11517 conversion to backquotes (bug#11652).
11518
11519 Fix compiler-expansion of CL's cXXr functions (bug#11673).
11520 * emacs-lisp/cl-lib.el (cl--defalias): New function.
11521 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
11522 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
11523 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
11524 (cl-ninth, cl-tenth): Mark them as inlinable.
11525 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
11526 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
11527 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
11528 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
11529 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
11530 (cl-list*, cl-adjoin): Don't put an autoload manually.
11531 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
11532 (cl--compiler-macro-list*): Add autoload cookie.
11533 (cl--compiler-macro-cXXr): New function.
11534
11535 * help-fns.el (help-fns--compiler-macro): New function extracted from
11536 describe-function-1; follow aliases and use `compiler-macro' property.
11537 (describe-function-1): Use it.
11538
11539 2012-06-11 Chong Yidong <cyd@gnu.org>
11540
11541 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
11542 is uninstalled, if imagemagick is installed.
11543
11544 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
11545
11546 * emacs-lisp/cl-lib.el: Use lexical-binding.
11547 (cl-map-extents, cl-maclisp-member): Remove.
11548 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
11549 (cl--set-substring, cl--block-wrapper, cl--block-throw)
11550 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
11551 * emacs-lisp/cl-extra.el: Use lexical-binding.
11552 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
11553 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
11554 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
11555 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
11556 * emacs-lisp/cl-seq.el: Use lexical-binding.
11557 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
11558 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
11559 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
11560 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
11561 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
11562 CL's internals.
11563
11564 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
11565
11566 Sync with Tramp 2.2.6-pre.
11567
11568 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
11569 `print-length' and `print-level' to nil, in order to avoid
11570 truncation. Reported by Christopher Schmidt
11571 <christopher@ristopher.com>.
11572
11573 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
11574
11575 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
11576 New defmacro.
11577 (tramp-compat-copy-directory): Add optional argument
11578 COPY-CONTENTS. It is not handled yet.
11579
11580 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
11581 (tramp-ftp-file-name-p): Simplify.
11582
11583 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
11584 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
11585 connection vector.
11586
11587 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
11588 (tramp-methods): Do not use `tramp-password-end-of-line'.
11589 (tramp-completion-function-alist-putty): Handle UNIX case.
11590 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
11591 (tramp-do-file-attributes-with-stat)
11592 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
11593 gid as real numbers. They could run out of integer range on cygwin.
11594 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
11595 (tramp-sh-handle-expand-file-name): Handle hops.
11596 (tramp-open-connection-setup-interactive-shell):
11597 Use `tramp-cleanup'. Move check for busyboxes ...
11598 (tramp-find-shell): ... here. Simplify implementation.
11599 Set "remote-shell" property also for alternative shells.
11600 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
11601 If failing, a regular file would be written otherwise.
11602 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
11603 (tramp-find-inline-encoding): Cache the coding commands in the
11604 process cache. Apply test command on the remote side, if defined.
11605 (tramp-find-inline-compress): Cache the compress commands in the
11606 process cache.
11607 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
11608 when requested. Handle hops.
11609 (tramp-current-connection): New defvar.
11610 (tramp-maybe-open-connection): Use `tramp-cleanup'.
11611 Throw `suppress', if there was a failed connection shortly before.
11612 Handle user interrupt. (Bug#10187)
11613 (tramp-get-inline-compress, tramp-get-inline-coding):
11614 Read connection properties from the process cache.
11615
11616 * net/tramp-smb.el (tramp-smb-server-version)
11617 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
11618 New defconsts.
11619 (tramp-smb-prompt): Extend for powershell prompt.
11620 (tramp-smb-file-name-handler-alist): Add handlers for
11621 `process-file', `shell-command' and `start-file-process'.
11622 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
11623 (tramp-smb-winexe-shell-command-switch): New defcustoms.
11624 (tramp-smb-file-name-p): Simplify.
11625 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
11626 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
11627 (tramp-smb-shell-quote-argument): New defuns.
11628 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
11629 Implement using "tar". By this, time-stamps are preserved.
11630 (tramp-smb-handle-copy-file): Handle also the case of directories.
11631 (tramp-smb-do-file-attributes-with-stat)
11632 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
11633 Use `tramp-get-connection-buffer').
11634 (tramp-smb-handle-rename-file): Use "rename", when source and
11635 target are on the same share.
11636 (tramp-smb-maybe-open-connection): Handle wrong passwords.
11637 Use `tramp-smb-server-version'.
11638 (tramp-smb-wait-for-output): Remove prompt.
11639
11640 * net/tramp.el (top): Require 'cl.
11641 (tramp-methods, tramp-rsh-end-of-line):
11642 Remove `tramp-password-end-of-line' from docstring.
11643 (tramp-save-ad-hoc-proxies): New defcustom.
11644 (tramp-completion-function-alist): Adapt docstring.
11645 (tramp-default-password-end-of-line): Remove defcustom.
11646 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
11647 (tramp-user-regexp, tramp-file-name-regexp-unified)
11648 (tramp-file-name-regexp-url): Extend regexp by hop separator.
11649 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
11650 (tramp-remote-file-name-spec-regexp): New defconst.
11651 (tramp-file-name-structure): Extend structure for hops.
11652 (tramp-get-method-parameter): Move up.
11653 (tramp-file-name-p, tramp-dissect-file-name)
11654 (with-parsed-tramp-file-name): Handle hops.
11655 (tramp-file-name-hop): New defun.
11656 (tramp-make-tramp-file-name): New optional arg HOP.
11657 (tramp-message-show-progress-reporter-message): New defvar.
11658 (tramp-with-progress-reporter): Use it. We cannot use
11659 `tramp-message-show-message' here, because this suppresses also
11660 error buffers.
11661 (tramp-error-with-buffer): Suppress buffer view, if
11662 `tramp-message-show-message' is nil.
11663 Use `tramp-get-connection-buffer'.
11664 (tramp-cleanup): New defun.
11665 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
11666 (tramp-file-name-handler): If `debug-on-error' is set, propagate
11667 an error unchanged.
11668 (tramp-completion-handle-file-name-all-completions): Handle hops.
11669 Fix an error when called from ido.
11670 (tramp-completion-dissect-file-name): Use better local variable
11671 name. Add hop to the vector.
11672 (tramp-handle-insert-file-contents): Use progress-reporter for the
11673 whole scenario.
11674 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
11675 to `t'.
11676 (tramp-check-for-regexp): Simplify search.
11677 (tramp-enter-password): Remove it. Move implementation ...
11678 (tramp-action-password): ... here.
11679 (tramp-mode-string-to-int, tramp-local-host-p)
11680 (tramp-make-tramp-temp-file, tramp-read-passwd)
11681 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
11682 Set tramp-autoload cookie.
11683
11684 * net/trampver.el: Update release number.
11685
11686 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11687 Michael Albinus <michael.albinus@gmx.de>
11688
11689 * net/tramp.el (tramp-set-completion-function): Fix docstring.
11690 (tramp-parse-group, tramp-parse-file)
11691 (tramp-parse-shostkeys-sknownhosts): New defuns.
11692 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
11693 (tramp-parse-shosts-group, tramp-parse-sconfig)
11694 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
11695 (tramp-parse-sknownhosts, tramp-parse-hosts)
11696 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
11697 Use them.
11698 (tramp-parse-passwd-group, tramp-parse-netrc-group)
11699 (tramp-parse-putty-group): Don't narrow.
11700 (tramp-parse-putty): Make a loop.
11701 (tramp-file-name-handler): Catch the `suppress' signal.
11702
11703 2012-06-11 Chong Yidong <cyd@gnu.org>
11704
11705 * image.el (imagemagick-register-types): Put the ImageMagick entry
11706 at the end of image-type-file-name-regexps.
11707
11708 2012-06-11 Johan BockgĂ¥rd <bojohan@gnu.org>
11709
11710 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
11711 (pcase, pcase-let*, pcase-dolist): Use them.
11712
11713 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
11714
11715 * emacs-lisp/pcase.el (pcase--let*): New function.
11716 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
11717 (pcase--expand): Use macroexp-let².
11718
11719 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
11720
11721 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
11722 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
11723 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
11724 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
11725 * emacs-lisp/derived.el: Use pcase instead of `cl'.
11726 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
11727
11728 2012-06-10 Glenn Morris <rgm@gnu.org>
11729
11730 * mail/rmail.el (rmail-yank-current-message): Leave point at
11731 correct position. (Bug#11660)
11732
11733 2012-06-10 Chong Yidong <cyd@gnu.org>
11734
11735 * allout-widgets.el: Fix code header.
11736
11737 2012-06-10 Chong Yidong <cyd@gnu.org>
11738
11739 * cus-edit.el (customize-changed-options-previous-release):
11740 Bump to 24.1.
11741
11742 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
11743
11744 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
11745
11746 2012-06-09 Chong Yidong <cyd@gnu.org>
11747
11748 * ebuff-menu.el (electric-buffer-list): Preserve header line.
11749
11750 2012-06-09 Martin Rudalics <rudalics@gmx.at>
11751
11752 * window.el (special-display-popup-frame): Don't use
11753 window--display-buffer (Bug#11651).
11754
11755 2012-06-09 Eli Zaretskii <eliz@gnu.org>
11756
11757 Fix parallel builds: make sure loaddefs.el is not being written
11758 while Lisp files are compiled.
11759 (compile): Don't depend on 'mh-autoloads'.
11760 (compile-CMD, compile-SH): Depend on 'autoloads'.
11761 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
11762
11763 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
11764
11765 2012-06-09 Chong Yidong <cyd@gnu.org>
11766
11767 * face-remap.el (face-remap-add-relative, face-remap-set-base)
11768 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
11769 Doc fixes (Bug#11225).
11770
11771 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
11772
11773 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
11774 a function if there's a clear indication that it has a compiler-macro.
11775 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
11776 (macro-declarations-alist): Add arglist to declaration functions.
11777 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
11778 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
11779 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
11780 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
11781 Also add autoload to find the compiler macro.
11782 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
11783 (cl--compiler-macro-member, cl--compiler-macro-assoc)
11784 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
11785 (cl--compiler-macro-get): New functions, replacing calls to
11786 cl-define-compiler-macro.
11787 (cl-typep) [compiler-macro]: Use macroexp-let².
11788
11789 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
11790
11791 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
11792 string properly, fixes Bug#11473.
11793
11794 2012-06-08 Chong Yidong <cyd@gnu.org>
11795
11796 * faces.el (set-face-attribute): Doc fix.
11797 (modify-face): Don't use :bold and :italic.
11798 (error, warning, success): Tweak definitions.
11799
11800 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
11801 (custom-modified, custom-set, custom-changed, custom-themed)
11802 (custom-saved, custom-button, custom-button-mouse)
11803 (custom-button-pressed, custom-state, custom-comment-tag)
11804 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
11805 (custom-group-subtitle): Use new-style face specs.
11806 (custom-invalid-face, custom-rogue-face, custom-modified-face)
11807 (custom-set-face, custom-changed-face, custom-saved-face)
11808 (custom-button-face, custom-button-pressed-face)
11809 (custom-documentation-face, custom-state-face)
11810 (custom-comment-face, custom-comment-tag-face)
11811 (custom-variable-tag-face, custom-variable-button-face)
11812 (custom-face-tag-face, custom-group-tag-face-1)
11813 (custom-group-tag-face): Remove obsolete face alias.
11814
11815 * epa.el (epa-validity-high, epa-validity-medium)
11816 (epa-validity-low, epa-mark, epa-field-name, epa-string)
11817 (epa-field-name, epa-field-body):
11818 * font-lock.el (font-lock-comment-face, font-lock-string-face)
11819 (font-lock-keyword-face, font-lock-builtin-face)
11820 (font-lock-function-name-face, font-lock-variable-name-face)
11821 (font-lock-type-face, font-lock-constant-face):
11822 * ido.el (ido-first-match, ido-only-match, ido-subdir)
11823 (ido-virtual, ido-indicator, ido-incomplete-regexp):
11824 * speedbar.el (speedbar-button-face, speedbar-file-face)
11825 (speedbar-directory-face, speedbar-tag-face)
11826 (speedbar-selected-face, speedbar-highlight-face)
11827 (speedbar-separator-face):
11828 * whitespace.el (whitespace-newline, whitespace-space)
11829 (whitespace-hspace, whitespace-tab, whitespace-trailing)
11830 (whitespace-line, whitespace-space-before-tab)
11831 (whitespace-space-after-tab, whitespace-indentation)
11832 (whitespace-empty):
11833 * emulation/cua-base.el (cua-global-mark):
11834 * eshell/em-prompt.el (eshell-prompt):
11835 * net/newst-plainview.el (newsticker-new-item-face)
11836 (newsticker-old-item-face, newsticker-immortal-item-face)
11837 (newsticker-obsolete-item-face, newsticker-date-face)
11838 (newsticker-statistics-face, newsticker-default-face):
11839 * net/newst-reader.el (newsticker-feed-face)
11840 (newsticker-extra-face, newsticker-enclosure-face):
11841 * net/newst-treeview.el (newsticker-treeview-face)
11842 (newsticker-treeview-new-face, newsticker-treeview-old-face)
11843 (newsticker-treeview-immortal-face)
11844 (newsticker-treeview-obsolete-face)
11845 (newsticker-treeview-selection-face):
11846 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
11847 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
11848 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
11849 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
11850 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
11851 (nxml-outline-active-indicator, nxml-outline-ellipsis):
11852 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
11853 (mpuz-text):
11854 * progmodes/vera-mode.el (vera-font-lock-number)
11855 (vera-font-lock-function, vera-font-lock-interface):
11856 * textmodes/table.el (table-cell): Use new-style face specs, and
11857 don't use the old :bold and :italic attributes.
11858
11859 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
11860 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
11861 (ebrowse-member-class, ebrowse-progress): Likewise.
11862 (ebrowse-tree-mark-face, ebrowse-root-class-face)
11863 (ebrowse-file-name-face, ebrowse-default-face)
11864 (ebrowse-member-attribute-face, ebrowse-member-class-face)
11865 (ebrowse-progress-face): Remove obsolete faces.
11866
11867 * progmodes/flymake.el (flymake-errline, flymake-warnline):
11868 Inherit from error and warning faces respectively.
11869
11870 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
11871 Likewise.
11872 (flyspell-incorrect-face, flyspell-duplicate-face):
11873 Remove obsolete aliases.
11874
11875 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
11876
11877 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
11878 Avoid infloop.
11879
11880 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
11881
11882 * startup.el (argv, argi): Make lexically scoped.
11883 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
11884 * emacs-lisp/cl-macs.el: Use lexical-binding.
11885 Rename cl-bind-* to cl--bind-*.
11886 * files.el: Don't require `cl' since it doesn't use it.
11887 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
11888
11889 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
11890
11891 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
11892 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
11893 instead of calling external sort utility.
11894 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
11895
11896 2012-06-08 Eli Zaretskii <eliz@gnu.org>
11897
11898 * descr-text.el (describe-char): Mention how to insert the
11899 character, if the current input method doesn't support it.
11900 See the discussion in this thread for the details:
11901 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
11902
11903 2012-06-08 Sam Steingold <sds@gnu.org>
11904
11905 * bindings.el (global-map): Bind XF86Forward to next-buffer and
11906 XF86Back to previous-buffer.
11907 (minibuffer-local-map): Bind them to next-history-element and
11908 previous-history-element respectively.
11909 * help-mode.el (help-mode-map): Bind them to help-go-forward and
11910 help-go-back respectively.
11911 * info.el (Info-mode-map): Bind them to Info-history-forward and
11912 Info-history-back respectively.
11913 These are the keys next to Up on the ThinkPad keyboard.
11914
11915 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
11916
11917 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
11918 * emacs-lisp/cl-macs.el: Provide itself.
11919 (cl--labels-convert-cache): New var.
11920 (cl--labels-convert): New function.
11921 (cl-flet, cl-labels): New implementation with new semantics, relying on
11922 lexical-binding.
11923 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
11924 (cl-closure-vars, cl--function-convert-cache)
11925 (cl--function-convert): Move from cl-macs.el.
11926 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
11927 rename by removing the "cl-" prefix.
11928 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
11929
11930 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
11931
11932 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
11933 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
11934 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
11935 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
11936 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
11937 (cl-hash-table-count): Add old compatibility aliases.
11938
11939 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
11940 Use macroexpand-all-environment instead.
11941 (cl--old-macroexpand): New var.
11942 (cl--sm-macroexpand): New function.
11943 (cl-symbol-macrolet): Use it during macro expansion.
11944 (cl--function-convert-cache): New var.
11945 (cl--function-convert): New function, extracted from
11946 cl-macroexpand-all.
11947 (cl-lexical-let): Use it.
11948
11949 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
11950 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
11951 (cl-member): Remove old alias.
11952
11953 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
11954 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
11955 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
11956 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
11957 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
11958 (cl-macroexpand-cmacs): Remove var.
11959 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
11960 Use macroexpand-all instead.
11961
11962 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
11963
11964 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
11965 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
11966 (macroexp-copyable-p): New functions and macros.
11967 * emacs-lisp/edebug.el (edebug-unwrap):
11968 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
11969 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
11970 (pcase--let*): Remove.
11971 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
11972 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
11973 macroexp-const-p instead.
11974 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
11975
11976 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
11977 instead of "cl-" for internal definitions. Use macroexp-const-p.
11978 (cl-old-bc-file-form): Remove var.
11979 (cl-const-exprs-p): Remove fun.
11980 (cl-labels, cl-macrolet): Use backquote.
11981 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
11982 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
11983 (cl-define-setf-expander): Rename from cl-define-setf-method.
11984 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
11985
11986 * international/mule-cmds.el: Don't require CL.
11987 (view-hello-file): Don't use `letf'.
11988
11989 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
11990
11991 * tmm.el (tmm-prompt): Use string-prefix-p.
11992 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
11993 (tmm-add-prompt): Use minibuffer-completion-help.
11994 (tmm-delete-map): Remove.
11995
11996 * subr.el (kbd): Make it its own function.
11997
11998 2012-06-07 Stefan Merten <smerten@oekonux.de>
11999
12000 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
12001 Silence compiler warnings. Fix versions.
12002 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
12003 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
12004 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
12005 (rst-package-emacs-version-alist): Correct Emacs version to
12006 represent major merge with upstream.
12007 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
12008
12009 2012-06-06 Glenn Morris <rgm@gnu.org>
12010
12011 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
12012 Only print environment variables if set.
12013
12014 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
12015
12016 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
12017 (macroexp--cons): Rename from maybe-cons.
12018 (macroexp--accumulate): Rename from macroexp-accumulate.
12019 (macroexp--all-forms): Rename from macroexpand-all-forms.
12020 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
12021 (macroexp--expand-all): Rename from macroexpand-all-1.
12022
12023 2012-06-06 Sam Steingold <sds@gnu.org>
12024
12025 * calendar/calendar.el (calendar-in-read-only-buffer):
12026 Call `special-mode' to enable the standard read-only keybindings.
12027
12028 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
12029
12030 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
12031 with "loading" messages (bug#11635).
12032
12033 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
12034
12035 * files.el (enable-remote-dir-locals): New option.
12036 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
12037
12038 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
12039 Ensure, that the temp directory is local.
12040
12041 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
12042 `temporary-file-directory'.
12043
12044 * progmodes/python.el (python-send-region): Ensure, that the
12045 temporary file is created also in the remote case.
12046
12047 2012-06-06 Glenn Morris <rgm@gnu.org>
12048
12049 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
12050 (vc-rcs-update-changelog): Use it.
12051
12052 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
12053
12054 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
12055 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
12056 (vc-sccs-diff): Replace use of the external vcdiff script.
12057
12058 2012-06-05 Glenn Morris <rgm@gnu.org>
12059
12060 * ledit.el: Move to obsolete/.
12061
12062 2012-06-05 Sam Steingold <sds@gnu.org>
12063
12064 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
12065 patch (Bug#11140).
12066
12067 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12068
12069 * emacs-lisp/cust-print.el: Move to obsolete.
12070
12071 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
12072 compiler-macro expansion.
12073
12074 Add native compiler-macro support.
12075 * emacs-lisp/macroexp.el (macroexpand-all-1):
12076 Support compiler-macros directly. Properly follow aliases and apply
12077 the compiler macros more thoroughly.
12078 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
12079 macroexpand now properly follows aliases.
12080 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
12081 (cl-compiler-macroexpand): Use new prop.
12082 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
12083
12084 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
12085
12086 2012-06-05 Martin Rudalics <rudalics@gmx.at>
12087
12088 * window.el (get-lru-window, get-mru-window, get-largest-window):
12089 New argument NOT-SELECTED to avoid picking the selected window.
12090 (window--display-buffer-1, window--display-buffer-2): Replace by
12091 new function window--display-buffer
12092 (display-buffer-same-window, display-buffer-reuse-window)
12093 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
12094 Use window--display-buffer.
12095 (display-buffer-use-some-window): Remove temporary dedication
12096 hack by calling get-lru-window and get-largest-window with
12097 NOT-SELECTED argument non-nil. Call window--display-buffer.
12098
12099 2012-06-05 Glenn Morris <rgm@gnu.org>
12100
12101 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
12102 Replace external vcdiff script.
12103
12104 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
12105
12106 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
12107
12108 2012-06-04 Chong Yidong <cyd@gnu.org>
12109
12110 * image.el (imagemagick-types-inhibit): Revert last change.
12111 Add INFO and M.
12112 (imagemagick-enabled-types): Remove CIN and EPS*.
12113
12114 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
12115
12116 * emacs-lisp/cl-lib.el: Rename from cl.el.
12117 * emacs-lisp/cl.el: New compatibility file.
12118 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
12119 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
12120 to obey the "cl-" prefix.
12121 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
12122
12123 2012-06-03 Glenn Morris <rgm@gnu.org>
12124
12125 * emacs-lisp/authors.el (authors-aliases): Addition.
12126
12127 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
12128 Fix :version.
12129
12130 2012-06-03 Stefan Merten <smerten@oekonux.de>
12131
12132 * textmodes/rst.el: Add comments.
12133 (rst-transition, rst-adornment): New faces.
12134 (rst-adornment-faces-alist): Make default safe to reevaluate.
12135 Fixes
12136 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
12137 Improve customization tags.
12138 (rst-define-level-faces): Clarify meaning.
12139
12140 2012-06-03 Chong Yidong <cyd@gnu.org>
12141
12142 * progmodes/compile.el (compilation-mode-line-fail)
12143 (compilation-mode-line-run, compilation-mode-line-exit):
12144 New faces.
12145 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
12146
12147 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
12148
12149 * progmodes/which-func.el (which-func-update-ediff-windows):
12150 New function. Use it in ediff-select-hook (Bug#11478).
12151
12152 2012-06-03 Chong Yidong <cyd@gnu.org>
12153
12154 * bindings.el: Remove explicit help text from format-mode-line.
12155 It is now supplied by mode-line-default-help-echo.
12156 (mode-line-front-space, mode-line-end-spaces)
12157 (mode-line-misc-info): New variables.
12158 (mode-line-modes, mode-line-position): Move the default value to
12159 the variable definition.
12160 (mode-line-default-help-echo): New defcustom.
12161 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
12162 (mode-line-modified-help-echo): New functions.
12163 (mode-line-mule-info, mode-line-modified): Use them.
12164 (mode-line-eol-desc, propertized-buffer-identification):
12165 Consistency fixes for help text.
12166 (mode-line-coding-system-map): Allow using mouse-3 to invoke
12167 set-buffer-file-coding-system (Bug#289).
12168 (mode-line-mule-info-help-echo): Update help text.
12169
12170 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
12171
12172 * simple.el (execute-extended-command): Set real-this-command
12173 (bug#11506).
12174
12175 2012-06-02 Chong Yidong <cyd@gnu.org>
12176
12177 Remove incorrect uses of "modeline" in comments, docstrings, and
12178 function/variable names (Bug#10329).
12179
12180 * cus-edit.el (mode-line):
12181 * dframe.el (dframe-mouse-hscroll):
12182 * emacs-lisp/re-builder.el:
12183 * emacs-lisp/easy-mmode.el (define-minor-mode):
12184 * frame.el (set-frame-name):
12185 * help.el (lookup-minor-mode-from-indicator):
12186 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
12187 * progmodes/cc-cmds.el (c-toggle-auto-newline)
12188 (c-toggle-hungry-state):
12189 * progmodes/antlr-mode.el (antlr-language-alist):
12190 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
12191 * progmodes/vhdl-mode.el (vhdl-mode):
12192 * progmodes/which-func.el (which-func, which-func-cleanup-function):
12193 * term/ns-win.el (ns-face-at-pos):
12194 * term/sup-mouse.el (sup-mouse-report):
12195 * textmodes/flyspell.el (flyspell-mode-line-string):
12196 * textmodes/ispell.el (ispell-highlight-face):
12197 * textmodes/reftex-global.el:
12198 * vc/vc-arch.el (vc-arch-mode-line-string):
12199 * vc/vc-cvs.el (vc-cvs-mode-line-string):
12200 * vc/vc-git.el (vc-git-mode-line-string):
12201 * vc/vc-hooks.el (vc-display-status)
12202 (vc-default-mode-line-string):
12203 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
12204
12205 * ansi-color.el (ansi-color-faces-vector): Change default faces.
12206
12207 * dired.el (dired-sort-set-mode-line): Rename from
12208 dired-sort-set-modeline. All callers changed.
12209
12210 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
12211 eshell-status-in-modeline.
12212
12213 * foldout.el (foldout-mode-line-string): Rename from
12214 foldout-modeline-string. All callers changed.
12215 (foldout-update-mode-line): Rename from foldout-update-modeline.
12216
12217 * subr.el (redraw-modeline): Make into obsolete alias.
12218
12219 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
12220 timeclock-modeline-display. Make old name an alias.
12221 (timeclock-update-mode-line): Likewise. All callers changed.
12222 (timeclock-mode-line-display): No need to check before using
12223 add-hook.
12224 (timeclock-relative, timeclock-day-over-hook)
12225 (timeclock-use-elapsed, timeclock-mode-string)
12226 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
12227
12228 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
12229 crisp-mode-modeline-string.
12230
12231 * play/solitaire.el (solitaire-build-mode-line): Rename from
12232 solitaire-build-modeline. All callers changed.
12233
12234 * play/zone.el (zone-hiding-mode-line): Rename from
12235 zone-hiding-modeline. All callers changed.
12236 (zone): Remove unusued `modeline-hidden-level' property.
12237
12238 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
12239 xscheme-modeline-initialize. All callers changed.
12240
12241 * strokes.el (strokes-lighter): Rename from
12242 strokes-modeline-string.
12243
12244 * textmodes/sgml-mode.el (html-face-tag-alist)
12245 (html-tag-face-alist): Use mode-line face instead of obsolete
12246 alias modeline.
12247
12248 2012-06-02 Stefan Merten <smerten@oekonux.de>
12249
12250 * textmodes/rst.el: Always require `cl'.
12251 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
12252
12253 2012-06-02 Chong Yidong <cyd@gnu.org>
12254
12255 * image.el (imagemagick-enabled-types): Rename from
12256 imagemagick-types-enable. Add many more types.
12257 (imagemagick-types-inhibit): Change default to nil.
12258 (imagemagick-filter-types): Caller changed.
12259
12260 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
12261
12262 * emacs-lisp/cl-macs.el: Use backquotes.
12263 (cl-transform-function-property): Use eval-and-compile rather than
12264 abusing `require'.
12265 (defstruct): Use declare-function instead of with-no-warnings.
12266
12267 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
12268 (byte-compile-output-docform): Re-add the print-circle bindings.
12269 (byte-compile-fix-header): Use #$ just because it's shorter.
12270 (byte-compile-output-file-form): Remove defun/defmacro.
12271
12272 2012-06-01 Martin Rudalics <rudalics@gmx.at>
12273
12274 * simple.el (choose-completion): Remove now obsolete binding for
12275 owindow.
12276
12277 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
12278
12279 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
12280 in order to avoid "Stack overflow in regexp matcher".
12281
12282 2012-05-31 Glenn Morris <rgm@gnu.org>
12283
12284 * image.el: For clarity, call imagemagick-register-types at
12285 top-level, rather than relying on a custom :initialize.
12286 (imagemagick-types-enable): New option. (Bug#11557)
12287 (imagemagick-filter-types): New function. (Bug#7406)
12288 (imagemagick-register-types): Use imagemagick-filter-types.
12289 If disabling support, remove elements altogether rather
12290 than using an impossible regexp.
12291 (imagemagick-types-inhibit): Give it the default init function.
12292
12293 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
12294
12295 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
12296 Handle arbitrary file name lengths (Bug#11585).
12297
12298 2012-05-31 Martin Rudalics <rudalics@gmx.at>
12299
12300 * desktop.el (desktop-read): Clear previous and next buffers for
12301 all windows and bury *Messages* buffer (bug#11556).
12302
12303 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
12304
12305 Add `declare' for `defun'. Align `defmacro's with it.
12306 * emacs-lisp/easy-mmode.el (define-minor-mode)
12307 (define-globalized-minor-mode): Don't autoload the var definitions.
12308 * emacs-lisp/byte-run.el: Use lexical-binding.
12309 (defun-declarations-alist, macro-declarations-alist): New vars.
12310 (defmacro, defun): Use them.
12311 (make-obsolete, define-obsolete-function-alias)
12312 (make-obsolete-variable, define-obsolete-variable-alias):
12313 Use `declare'.
12314 (macro-declaration-function): Mark obsolete.
12315 * emacs-lisp/autoload.el: Use lexical-binding.
12316 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
12317
12318 2012-05-30 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
12319
12320 * textmodes/ispell.el (ispell-with-no-warnings):
12321 Define as a macro.
12322 (ispell-kill-ispell, ispell-change-dictionary):
12323 Use `called-interactively-p' for Emacs instead of obsolete
12324 `interactive-p'.
12325
12326 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
12327
12328 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
12329 (macro-declaration-function): Move var from C code.
12330 (macro-declaration-function): Define function with defalias.
12331 * emacs-lisp/macroexp.el (macroexpand-all-1):
12332 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
12333 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
12334 defun/defmacro any more.
12335 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
12336 Provide fallback for unknown arglist.
12337 (byte-compile-arglist-warn): Change calling convention.
12338 (byte-compile-output-file-form): Move print-vars binding.
12339 (byte-compile-output-docform): Simplify accordingly.
12340 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
12341 (byte-compile-defmacro-declaration): Remove.
12342 (byte-compile-file-form-defmumble): Generalize to defalias.
12343 (byte-compile-output-as-comment): Return byte-positions.
12344 Simplify callers accordingly.
12345 (byte-compile-lambda): Use `assert'.
12346 (byte-compile-defun, byte-compile-defmacro): Remove.
12347 (byte-compile-file-form-defalias):
12348 Use byte-compile-file-form-defmumble.
12349 (byte-compile-defalias-warn): Remove.
12350
12351 2012-05-29 Stefan Merten <smerten@oekonux.de>
12352
12353 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
12354 possible. Fix authors. Improve comments. Improve loading of `cl'.
12355
12356 (rst-mode-abbrev-table): Merge definition.
12357 (rst-mode): Make sure `font-lock-defaults' is buffer local.
12358 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
12359
12360 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
12361
12362 * calendar/icalendar.el
12363 (icalendar-export-region): Export UID properly.
12364
12365 2012-05-29 Leo Liu <sdl.web@gmail.com>
12366 * calendar/icalendar.el (icalendar-import-format):
12367 Add `icalendar-import-format-uid' (Bug#11525).
12368 (icalendar-import-format-uid): New.
12369 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
12370 Export UID.
12371
12372 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
12373
12374 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
12375 different alternative patterns.
12376 (pcase-codegen): Be more careful to preserve identity.
12377 (pcase--u1): Don't forget to mark vars as used.
12378
12379 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
12380 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
12381 (byte-compile-from-buffer): ...rather than here.
12382
12383 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
12384 functions from byte-compile-function-environment.
12385
12386 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
12387
12388 * window.el (window-deletable-p): Avoid deleting the root window
12389 of a frame with an active minibuffer.
12390
12391 2012-05-29 Martin Rudalics <rudalics@gmx.at>
12392
12393 * simple.el (choose-completion): Use quit-window (Bug#11567).
12394
12395 2012-05-29 Chong Yidong <cyd@gnu.org>
12396
12397 * whitespace.el (whitespace-cleanup): Fix usage of
12398 whitespace-empty-at-bob-regexp (Bug#11492).
12399
12400 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12401
12402 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
12403 revert (Bug#11488).
12404
12405 2012-05-29 Juri Linkov <juri@jurta.org>
12406
12407 * isearch.el (isearch-mode-map): Bind `M-s _' to
12408 `isearch-toggle-symbol'. Bind `M-s c' to
12409 `isearch-toggle-case-fold'.
12410 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
12411 (isearch-forward): Add `M-s _' to the docstring.
12412 (isearch-forward-symbol, isearch-toggle-case-fold)
12413 (isearch-symbol-regexp): New functions. (Bug#11381)
12414
12415 2012-05-29 Juri Linkov <juri@jurta.org>
12416
12417 * isearch.el (isearch-word): Add docstring. (Bug#11381)
12418 (isearch-occur, isearch-search-and-update): If `isearch-word' is
12419 a function, call it to get the regexp.
12420 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
12421 property `isearch-message-prefix' instead of the string "word ".
12422 (isearch-search-fun-default): For the case of `isearch-word',
12423 return a lambda that calls re-search-forward/re-search-backward
12424 with a regexp returned by `word-search-regexp' or by the function
12425 in `isearch-word'.
12426
12427 2012-05-29 Juri Linkov <juri@jurta.org>
12428
12429 * isearch.el (isearch-search-fun-default): New function.
12430 (isearch-search-fun): Move default part to the new function
12431 `isearch-search-fun-default'.
12432 (isearch-search-fun-function): Set the default value to
12433 `isearch-search-fun-default'. (Bug#11381)
12434
12435 * comint.el (comint-history-isearch-end):
12436 Use `isearch-search-fun-default'.
12437 (comint-history-isearch-search): Use `isearch-search-fun-default'
12438 and remove spacial case for `isearch-word'.
12439 (comint-history-isearch-wrap): Remove spacial case for
12440 `isearch-word'.
12441
12442 * hexl.el (hexl-isearch-search-function):
12443 Use `isearch-search-fun-default'.
12444
12445 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
12446 Use `word-search-regexp' for `isearch-word'.
12447
12448 * misearch.el (multi-isearch-search-fun):
12449 Use `isearch-search-fun-default'.
12450
12451 * simple.el (minibuffer-history-isearch-search):
12452 Use `isearch-search-fun-default' and remove spacial case for
12453 `isearch-word'.
12454 (minibuffer-history-isearch-wrap): Remove spacial case for
12455 `isearch-word'.
12456
12457 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
12458 Remove spacial case for `isearch-word'.
12459 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
12460
12461 2012-05-28 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
12462
12463 Decrease XEmacs incompatibilities.
12464 * textmodes/flyspell.el (flyspell-check-pre-word-p):
12465 Use `string-match'.
12466 (flyspell-delete-region-overlays): Use alternative definition for
12467 XEmacs.
12468 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
12469 (flyspell-word): Use `process-kill-without-query' if XEmacs.
12470 (flyspell-mode-on): Use `interactive-p' if XEmacs.
12471 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
12472 `define-obsolete-face-alias' under XEmacs, but old method.
12473
12474 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
12475 `with-no-warnings' definition or Emacs alias.
12476 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
12477 (ispell-word): Do not use `region-p' if XEmacs.
12478
12479 2012-05-28 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
12480
12481 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
12482 Check for `ispell-dictionary-base-alist' instead of full
12483 `ispell-dictionary-alist'.
12484 (ispell-init-process): Show spellchecker when starting new Ispell
12485 process.
12486
12487 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
12488
12489 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
12490 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
12491
12492 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
12493
12494 * version.el (motif-version-string, gtk-version-string)
12495 (ns-version-string): Declare.
12496
12497 2012-05-27 Juri Linkov <juri@jurta.org>
12498
12499 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
12500 after the `eval-defun-1' specialcaseing
12501 like in `edebug-eval-defun' (bug#10181).
12502
12503 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
12504 like in `eval-defun-1'.
12505
12506 2012-05-27 Eli Zaretskii <eliz@gnu.org>
12507
12508 * mail/sendmail.el (mail-yank-region):
12509 Recognize rmail-yank-current-message in addition to insert-buffer.
12510 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
12511 a *mail* buffer created through rmail-start-mail with sendmail as
12512 mail-user-agent.
12513
12514 2012-05-27 Chong Yidong <cyd@gnu.org>
12515
12516 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
12517 Default to 256 (Bug#11267).
12518
12519 * help.el (describe-mode): Doc fix.
12520
12521 2012-05-26 Glenn Morris <rgm@gnu.org>
12522
12523 * w32-fns.el (w32-init-info): Remove.
12524 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
12525
12526 * info.el (info-initialize): For self-contained NS builds, put the
12527 included info/ directory at the front. (Bug#2791)
12528
12529 * paths.el (Info-default-directory-list): Make it a defcustom,
12530 mainly so that we can use custom-initialize-delay.
12531
12532 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
12533
12534 * subr.el (buffer-has-markers-at): Mark obsolete.
12535
12536 * subr.el (lambda): Use declare.
12537
12538 * emacs-lisp/lisp-mode.el (lambda):
12539 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
12540
12541 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12542
12543 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
12544
12545 2012-05-26 Glenn Morris <rgm@gnu.org>
12546
12547 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
12548
12549 2012-05-25 Glenn Morris <rgm@gnu.org>
12550
12551 * paths.el: Remove no-byte-compile.
12552 * loadup.el: No need to load paths.el uncompiled.
12553
12554 * image.el (imagemagick-types-inhibit): Doc fix.
12555
12556 * version.el: Remove no-byte-compile and associated formatting.
12557 * loadup.el: No need to load version.el uncompiled. AFAICS, this
12558 is ancient code from when there was an "inc-vers.el".
12559
12560 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
12561
12562 * progmodes/gdb-mi.el: Minor style changes.
12563 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
12564 Turn into minor modes.
12565 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
12566 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
12567 (gdb-shell): Remove unneeded let-binding.
12568 (gdb-get-many-fields): Eliminate O(n²) behavior.
12569
12570 2012-05-25 Eli Zaretskii <eliz@gnu.org>
12571
12572 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
12573 platforms that don't link in fontset.c.
12574
12575 2012-05-25 Juri Linkov <juri@jurta.org>
12576
12577 Use the same diff color scheme as in modern VCSes (bug#10181).
12578
12579 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
12580 to avoid confusion with `diff-added' that now uses green colors.
12581 (diff-removed): Use shades of red.
12582 (diff-added): Use shades of green.
12583 (diff-changed): Leave just the yellow color.
12584 (diff-use-changed-face): New variable.
12585 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
12586 how to highlight context diff changes.
12587 (diff-refine-change): Use shades of yellow.
12588 (diff-refine-removed): New face that uses shades of red.
12589 (diff-refine-added): New face that uses shades of green.
12590 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
12591 `diff-refine-removed' in the call to `smerge-refine-subst'
12592 depending on the value of `diff-use-changed-face'.
12593
12594 * vc/smerge-mode.el (smerge-mine): Use shades of red.
12595 (smerge-other): Use shades of green.
12596 (smerge-base): Use shades of yellow.
12597 (smerge-refined-change): Empty face.
12598 (smerge-refined-removed): New face that uses shades of red.
12599 (smerge-refined-added): New face that uses shades of green.
12600 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
12601 args `props-r' and `props-a', and use them. Doc fix.
12602 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
12603 on its value use different faces `smerge-refined-change',
12604 `smerge-refined-removed', `smerge-refined-added' in the call to
12605 `smerge-refine-subst'.
12606
12607 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
12608 Add face condition `min-colors 88' with shades of red.
12609 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
12610 `min-colors 88' with shades of green.
12611 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
12612 `min-colors 88' with shades of yellow.
12613
12614 2012-05-24 Glenn Morris <rgm@gnu.org>
12615
12616 * paths.el (prune-directory-list, remote-shell-program): Move to...
12617 * files.el (prune-directory-list, remote-shell-program): ...here.
12618 For the latter, delay initialization, prefer ssh, just search PATH.
12619
12620 * paths.el (term-file-prefix): Move to faces.el (the only user).
12621 * faces.el (term-file-prefix): Move here, make it a defcustom.
12622
12623 * paths.el (news-directory, news-path, news-inews-program):
12624 Move to gnus/nnspool.el.
12625
12626 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
12627
12628 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
12629 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
12630 Make the latter a defcustom, with a delayed initialization.
12631
12632 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
12633 These were deleted from Gnus itself late 2010.
12634
12635 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
12636
12637 * progmodes/which-func.el (which-func-ff-hook):
12638 Check against user-error, not error.
12639
12640 * emacs-lisp/edebug.el (top): Do not load or set up loading of
12641 cl-specs.el, which no longer exists.
12642
12643 2012-05-22 Glenn Morris <rgm@gnu.org>
12644
12645 * info.el (info-emacs-bug): New command.
12646 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
12647 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
12648
12649 2012-05-21 Glenn Morris <rgm@gnu.org>
12650
12651 * makefile.w32-in (update-subdirs-SH):
12652 * Makefile.in (update-subdirs): Update for moved update-subdirs.
12653
12654 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
12655
12656 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
12657
12658 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12659 Simplify Maven regexp, and make sure the file can't start with a space
12660 (bug#11517).
12661
12662 2012-05-21 Glenn Morris <rgm@gnu.org>
12663
12664 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
12665 Scrap superfluous subshells.
12666
12667 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
12668
12669 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
12670 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
12671
12672 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
12673
12674 * calc/calc.el (calc-ensure-consistent-units): New variable.
12675
12676 * calc/calc-units.el (math-consistent-units-p)
12677 (math-check-unit-consistency): New functions.
12678 (calc-quick-units, calc-convert-units):
12679 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
12680 is non-nil.
12681 (calc-extract-units): Fix typo.
12682
12683 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
12684
12685 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
12686
12687 * textmodes/flyspell.el: Commenting style, plus code simplifications.
12688 (flyspell-default-deplacement-commands): Don't spell check after
12689 repeated window/frame switches (e.g. triggered by mouse-movement).
12690 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
12691 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
12692 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
12693 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
12694 Remove unused vars.
12695 (flyspell-get-casechars, flyspell-get-not-casechars):
12696 Simplify; Don't bother removing a ] just to add it back.
12697 * textmodes/ispell.el (ispell-program-name): Use executable-find.
12698
12699 2012-05-18 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
12700
12701 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
12702 New functions.
12703 (math-function-table): Add support for more C functions.
12704
12705 2012-05-18 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
12706
12707 * textmodes/flyspell.el (flyspell-check-pre-word-p)
12708 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
12709 Protect delay handling for otherchars against empty otherchars.
12710
12711 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
12712
12713 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
12714 their respective macro declarations.
12715 * skeleton.el (define-skeleton):
12716 * progmodes/compile.el (define-compilation-mode):
12717 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
12718 (define-ibuffer-filter):
12719 * emacs-lisp/generic.el (define-generic-mode):
12720 * emacs-lisp/easy-mmode.el (define-minor-mode)
12721 (define-globalized-minor-mode):
12722 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
12723 * emacs-lisp/byte-run.el (defsubst):
12724 * custom.el (deftheme): Add doc-string metadata.
12725
12726 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12727
12728 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
12729
12730 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12731
12732 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
12733
12734 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
12735 * emacs-lisp/cl-macs.el: Idem.
12736 * emacs-lisp/cl-specs.el: Remove.
12737
12738 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12739
12740 Minor renaming of internal CL functions and variables.
12741 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
12742 (cl--position): Rename from cl-position.
12743 (cl--delete-duplicates): Rename from cl-delete-duplicates.
12744 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
12745 (cl--random-state): Rename from *random-state*.
12746
12747 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12748
12749 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
12750 parens around the arg list (bug#11499).
12751
12752 2012-05-17 Juri Linkov <juri@jurta.org>
12753
12754 * isearch.el (word-search-regexp, word-search-backward)
12755 (word-search-forward, word-search-backward-lax)
12756 (word-search-forward-lax): Move functions from search.c
12757 (bug#10145, bug#11381).
12758
12759 2012-05-16 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
12760
12761 * textmodes/flyspell.el (flyspell-check-pre-word-p)
12762 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
12763 Delay for otherchars as for normal word components.
12764
12765 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
12766
12767 * minibuffer.el (completion--sifn-requote): Fix last change.
12768 (minibuffer-local-must-match-filename-map):
12769 Move define-obsolete-variable-alias before its var.
12770
12771 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
12772
12773 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
12774
12775 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
12776 behavior.
12777 (completion--string-equal-p): New function.
12778 (completion--twq-all): Use it to get better assertion failure data.
12779
12780 Only handle ".." and '..' quoting in shell-mode (bug#11466).
12781 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
12782 (shell--requote-argument): New functions.
12783 (shell-completion-vars): Use them.
12784 (shell--parse-pcomplete-arguments): Rename from
12785 shell-parse-pcomplete-arguments.
12786 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
12787 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
12788 Obey comint-file-name-quote-list.
12789
12790 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
12791 (smie-indent-keyword): Use it.
12792
12793 2012-05-14 Stefan Merten <smerten@oekonux.de>
12794
12795 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
12796
12797 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
12798
12799 * net/rlogin.el (rlogin-mode-map): Fix last change.
12800
12801 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
12802
12803 * mail/smtpmail.el (smtpmail-send-command): Send the command and
12804 the following \r\n using a single `process-send-string', since the
12805 Lotus SMTP server refuses to accept any commands if they are sent
12806 with two `process-send-string's (Bug#11444).
12807
12808 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
12809
12810 * shell.el (shell-parse-pcomplete-arguments):
12811 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
12812
12813 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
12814
12815 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
12816 (image-transform-scale, image-transform-right-angle-fudge): New vars.
12817 (image-transform-width, image-transform-fit-width): New functions.
12818 (image-transform-properties): Use them.
12819 (image-transform-check-size): New function.
12820 (image-toggle-display-image): Use it (for testing).
12821 (image-transform-set-rotation): Reduce angle mod 360.
12822 Delete obsolete comment.
12823
12824 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
12825
12826 * image-mode.el: Fix scaling (bug#11399).
12827 (image-transform-resize): Doc fix.
12828 (image-transform-properties): Default scale is 1 and height should
12829 be an integer.
12830
12831 2012-05-13 Johan BockgĂ¥rd <bojohan@gnu.org>
12832
12833 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
12834 than hard-coding `car', to fix misbehavior when moving forward.
12835
12836 2012-05-13 Chong Yidong <cyd@gnu.org>
12837
12838 * emacs-lisp/tabulated-list.el (tabulated-list-format)
12839 (tabulated-list-entries, tabulated-list-padding)
12840 (tabulated-list-sort-key): Make permanent-local.
12841
12842 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
12843 (electric-buffer-list): Put electric buffer menu
12844 command descriptions in this docstring, instead of the docstring
12845 of electric-buffer-menu-mode. Code cleanups.
12846 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
12847 Electric-buffer-menu-mode.
12848 (electric-buffer-update-highlight): Minor code cleanup.
12849
12850 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
12851
12852 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
12853 (Bug#11447)
12854
12855 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
12856
12857 Move define-obsolete-variable-alias before the var's definition.
12858 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
12859 * tooltip.el (tooltip-hook):
12860 * textmodes/reftex-toc.el (reftex-toc-map):
12861 * textmodes/reftex-sel.el (reftex-select-label-map)
12862 (reftex-select-bib-map):
12863 * textmodes/reftex-index.el (reftex-index-map)
12864 (reftex-index-phrases-map):
12865 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
12866 * progmodes/meta-mode.el (meta-mode-map):
12867 * novice.el (disabled-command-hook):
12868 * loadhist.el (unload-hook-features-list):
12869 * frame.el (blink-cursor):
12870 * files.el (find-file-not-found-hooks, write-file-hooks)
12871 (write-contents-hooks):
12872 * emulation/tpu-edt.el (GOLD-map):
12873 * emacs-lock.el (emacs-lock-from-exiting):
12874 * emacs-lisp/generic.el (generic-font-lock-defaults):
12875 * emacs-lisp/chart.el (chart-map):
12876 * dos-fns.el (register-name-alist):
12877 * dired-x.el (dired-omit-files-p):
12878 * desktop.el (desktop-enable):
12879 * cus-edit.el (custom-mode-hook):
12880 * buff-menu.el (buffer-menu-mode-hook):
12881 * bookmark.el (bookmark-read-annotation-text-func)
12882 (bookmark-exit-hooks):
12883 * allout.el (allout-mode-deactivate-hook)
12884 (allout-exposure-change-hook, allout-structure-added-hook)
12885 (allout-structure-deleted-hook, allout-structure-shifted-hook):
12886 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
12887 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
12888 comes before the corresponding variable's definition.
12889
12890 2012-05-12 Chong Yidong <cyd@gnu.org>
12891
12892 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
12893 (Buffer-menu-mouse-select): Restore function (Bug#11459).
12894 (Buffer-menu-mode-map): Bind it.
12895 (Buffer-menu--pretty-name): Add a mouse-face property.
12896
12897 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
12898
12899 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
12900 (prolog-upper-case-string, prolog-lower-case-string)
12901 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
12902 (prolog-use-smie, prolog-smie-grammar): New vars.
12903 (prolog-smie-forward-token, prolog-smie-backward-token)
12904 (prolog-smie-rules): New funs.
12905 (prolog-comment-indent): Remove.
12906 (prolog-mode-variables): Use default comment indentation instead.
12907 Setup SMIE.
12908 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
12909 (prolog-mode): Don't call them any more.
12910 (prolog-electric-colon, prolog-electric-dash)
12911 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
12912
12913 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
12914
12915 * minibuffer.el (completion--twq-all): Again, allow case differences.
12916
12917 * term.el: Move keymap initialization code to be more idiomatic.
12918 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
12919 (term-terminal-menu): Move initialization into declaration.
12920 (term-escape-char): Let the user set it in her .emacs.
12921
12922 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
12923 Provide SMIE-based indentation (not enabled by default yet).
12924 (sh-mode-map): Don't bind electric keys.
12925 Use electric-pair-mode instead of skeleton-pair.
12926 (sh-assignment-regexp): Fit within 80 columns.
12927 (sh-indent-supported): Specify actual shell name instead of boolean.
12928 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
12929 (sh-maybe-here-document): Use it. Make obsolete.
12930 (sh-electric-here-document-mode) New minor mode.
12931 (sh-mode): Use it. Don't set sh-indent-supported-here here.
12932 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
12933 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
12934 (sh-smie-rc-grammar, sh-use-smie): New vars.
12935 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
12936 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
12937 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
12938 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
12939 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
12940 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
12941 (sh-set-shell): Use smie-setup if requested.
12942
12943 * term.el (term-set-escape-char): Properly set term-escape-char.
12944 See http://stackoverflow.com/questions/10524656.
12945
12946 2012-05-10 Chong Yidong <cyd@gnu.org>
12947
12948 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
12949 Use url-generic-parse-url, and handle host names and Windows
12950 filenames properly.
12951 (ffap-url-unwrap-remote): Use url-generic-parse-url.
12952 (ffap-url-unwrap-remote): Accept list values, specifying a list of
12953 URL schemes to work on.
12954 (ffap--toggle-read-only): New function.
12955 (ffap-read-only, ffap-read-only-other-window)
12956 (ffap-read-only-other-frame): Use it.
12957 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
12958 necessary for ffap-url-unwrap-remote.
12959
12960 2012-05-10 Dave Abrahams <dave@boostpro.com>
12961
12962 * cus-start.el (create-lockfiles): Add it.
12963
12964 2012-05-09 Chong Yidong <cyd@gnu.org>
12965
12966 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
12967 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
12968
12969 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
12970
12971 * shell.el (shell-completion-vars): Fix last change (bug#11348).
12972
12973 2012-05-09 Chong Yidong <cyd@gnu.org>
12974
12975 * ansi-color.el (ansi-color-process-output): Check for validity of
12976 comint-last-output-start before using it. This avoids a bad
12977 interaction with gdb-mi's input/output buffer.
12978
12979 2012-05-09 Glenn Morris <rgm@gnu.org>
12980
12981 * files.el (dir-locals-read-from-file):
12982 Mention dir-locals in any error message.
12983
12984 2012-05-09 Chong Yidong <cyd@gnu.org>
12985
12986 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
12987 package (Bug#11410).
12988
12989 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
12990 variables into description.
12991
12992 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
12993
12994 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
12995 shell-delimiter-argument-list (bug#11348).
12996 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
12997
12998 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
12999
13000 * textmodes/rst.el: Silence byte-compiler warnings.
13001 (rst-re-alist, rst-reset-section-caches): Move around.
13002 (rst-re): Use `characterp', not `char-valid-p'.
13003 (font-lock-beg, font-lock-end): Declare.
13004
13005 * progmodes/idlw-shell.el (specs): Remove reference to deleted
13006 variable `idlwave-shell-activate-alt-keybindings' and simplify.
13007
13008 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
13009
13010 2012-05-08 Glenn Morris <rgm@gnu.org>
13011
13012 * files.el (auto-mode-alist): Treat ".make" like ".mk".
13013
13014 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
13015
13016 * vc/log-edit.el: Add GNU coding standards highlighting.
13017 (log-edit-font-lock-gnu-style)
13018 (log-edit-font-lock-gnu-keywords): New vars.
13019 (log-edit-font-lock-keywords): New fun.
13020 (log-edit-mode): Don't fold case in font-lock.
13021 (log-edit-font-lock-keywords): Do not assume case-folding.
13022
13023 * imenu.el: Misc cleanup. Make docstrings out of comments.
13024 Use lexical-binding.
13025 (imenu--index-alist, imenu--last-menubar-index-alist)
13026 (imenu-menubar-modified-tick): Use defvar-local.
13027 (imenu--split-menu): Remove unused var.
13028 (imenu--cleanup-seen): Declare as global.
13029 (imenu--cleanup): Use dolist.
13030
13031 * subr.el (defvar-local): Add debug spec and doc-string position.
13032
13033 2012-05-08 Glenn Morris <rgm@gnu.org>
13034
13035 * language/burmese.el, language/cham.el, language/czech.el:
13036 * language/english.el, language/georgian.el, language/greek.el:
13037 * language/japanese.el, language/khmer.el, language/korean.el:
13038 * language/lao.el, language/misc-lang.el, language/romanian.el:
13039 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
13040 * language/thai.el, language/utf-8-lang.el:
13041 Remove no-byte-compile setting.
13042
13043 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
13044
13045 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13046
13047 * progmodes/make-mode.el (makefile-browse):
13048 Remove unnecessary interactive. (Bug#11324)
13049
13050 2012-05-07 Glenn Morris <rgm@gnu.org>
13051
13052 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
13053
13054 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
13055
13056 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
13057
13058 * loadup.el: Preload newcomment.el.
13059 * newcomment.el: Move autoload-only code to toplevel.
13060
13061 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
13062 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
13063 Handle new :right-align column property.
13064 (tabulated-list-print-col): Idem, plus use `display' text-property to
13065 try and preserve alignment for variable pitch fonts.
13066
13067 2012-05-07 Chong Yidong <cyd@gnu.org>
13068
13069 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
13070 (tabulated-list-use-header-line): New var.
13071 (tabulated-list-init-header): Use it.
13072 (tabulated-list-print-fake-header): New function.
13073 (tabulated-list-print): Use it.
13074 (tabulated-list-sort-button-map): Add non-header-line commands.
13075 (tabulated-list-init-header): Add column name property to basic
13076 labels as well.
13077 (tabulated-list-col-sort): Handle non-header-line button case.
13078 (tabulated-list--sort-by-column-name): Fix a corner case.
13079
13080 * buff-menu.el (list-buffers--refresh):
13081 Handle Buffer-menu-use-header-line.
13082
13083 2012-05-06 Chong Yidong <cyd@gnu.org>
13084
13085 * buff-menu.el: Convert to Tabulated List mode.
13086 (Buffer-menu-buffer+size-width): Make obsolete.
13087 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
13088 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
13089 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
13090 documentation into docstring of buffer-menu.
13091 (Buffer-menu-toggle-files-only): Add an informative message.
13092 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
13093 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
13094 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
13095 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
13096 (Buffer-menu-execute, Buffer-menu-select)
13097 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
13098 (Buffer-menu-bury): Use Tabulated List machinery.
13099 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
13100 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
13101 Delete.
13102 (list-buffers--refresh): New function.
13103 (list-buffers-noselect): Use it.
13104 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
13105 (Buffer-menu--pretty-file-name): New helper functions.
13106
13107 * loadup.el: Preload tabulated-list.
13108
13109 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
13110 tabulated-list-sort-column.
13111 (tabulated-list-init-header): Add the initial aligning space even
13112 if tabulated-list-padding is zero.
13113
13114 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
13115
13116 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
13117 whose cdr is not a cons cell correctly (bug#11038).
13118
13119 2012-05-06 Chong Yidong <cyd@gnu.org>
13120
13121 * emacs-lisp/tabulated-list.el (tabulated-list-format):
13122 Accept additional plist in column descriptors.
13123 (tabulated-list-init-header): Obey it.
13124 (tabulated-list-get-entry): New function.
13125 (tabulated-list-put-tag): Use it. Use string-width instead of
13126 length.
13127 (tabulated-list--column-number): New function.
13128 (tabulated-list-print): Use it.
13129 (tabulated-list-print-col): New function.
13130 Set `tabulated-list-column-name' property on each column's text.
13131 (tabulated-list-print-entry): Use it.
13132 (tabulated-list-delete-entry, tabulated-list-set-col):
13133 New functions.
13134 (tabulated-list-sort-column): New command (Bug#11337).
13135
13136 * buff-menu.el (list-buffers): Move C-x C-b binding from
13137 buff-menu.el to bindings.el.
13138
13139 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
13140 :advertised-binding feature.
13141
13142 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
13143
13144 * progmodes/compile.el (compilation-internal-error-properties):
13145 Calculate start position correctly when end-col is set but
13146 end-line is not (Bug#11382).
13147
13148 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
13149
13150 * man.el (Man-unindent): Use text-property-default-nonsticky to
13151 prevent untabify from inheriting face properties (Bug#11408).
13152
13153 2012-05-05 Stefan Merten <smerten@oekonux.de>
13154
13155 * textmodes/rst.el: Major merge with upstream development up to
13156 Docutils SVN r7399 / rst.el V1.2.1.
13157
13158 Clarify maintainership and authors.
13159
13160 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
13161 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
13162 (rst-official-version, rst-official-cvs-rev, rst-version)
13163 (rst-package-emacs-version-alist): New functions and variables
13164 for version information.
13165
13166 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
13167 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
13168 (rst-mode-syntax-table, rst-mode): New and corrected functions
13169 and variables representing reStructuredText features.
13170
13171 (rst-re): New function for reStructuredText regexes. Use in
13172 many places.
13173
13174 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
13175 (rst-mode-map): Rebind keys.
13176
13177 (rst-mode-lazy, rst-font-lock-keywords)
13178 (rst-font-lock-extend-region)
13179 (rst-font-lock-extend-region-internal)
13180 (rst-font-lock-extend-region-extend)
13181 (rst-font-lock-find-unindented-line-limit)
13182 (rst-font-lock-find-unindented-line-match)
13183 (rst-adornment-level, rst-font-lock-adornment-level)
13184 (rst-font-lock-adornment-match)
13185 (rst-font-lock-handle-adornment-pre-match-form)
13186 (rst-font-lock-handle-adornment-matcher): Major revision of
13187 font-locking. Integrate with other code. Use `jit-lock-mode'.
13188
13189 (rst-preferred-adornments, rst-adjust-hook)
13190 (rst-new-adornment-down, rst-preferred-bullets)
13191 (rst-preferred-bullets, rst-indent, rst-indent-width)
13192 (rst-indent-field, rst-indent-literal-normal)
13193 (rst-indent-literal-minimized, rst-indent-comment): Change,
13194 extend and improve customization.
13195
13196 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
13197 (rst-normalize-cursor-position, rst-get-decoration)
13198 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
13199 (rst-rstrip, rst-toc-insert-find-delete-contents)
13200 (rst-shift-fill-region, rst-compute-bullet-tabs)
13201 (rst-debug-print-tabs, rst-debug-mark-found)
13202 (rst-shift-region-guts, rst-shift-region-right)
13203 (rst-shift-region-left, rst-use-char-classes)
13204 (rst-font-lock-keywords-function)
13205 (rst-font-lock-indentation-point)
13206 (rst-font-lock-find-unindented-line-begin)
13207 (rst-font-lock-find-unindented-line-end)
13208 (rst-font-lock-find-unindented-line)
13209 (rst-font-lock-adornment-point, rst-font-lock-level)
13210 (rst-adornment-level-alist): Remove functions and variables.
13211
13212 (rst-compare-adornments, rst-get-adornment-match)
13213 (rst-suggest-new-adornment, rst-get-adornments-around)
13214 (rst-adornment-complete-p, rst-get-next-adornment)
13215 (rst-adjust-adornment, rst-display-adornments-hierarchy)
13216 (rst-straighten-adornments): Standardize function names to
13217 use "adornment" instead of "decoration". Correct callers.
13218 Similar standardizing in many places.
13219
13220 (rst-update-section, rst-adjust, rst-promote-region)
13221 (rst-enumerate-region, rst-bullet-list-region)
13222 (rst-repeat-last-character): Correct use of `interactive'.
13223
13224 (rst-classify-adornment, rst-find-all-adornments)
13225 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
13226 (rst-find-leftmost-column, rst-repeat-last-character):
13227 Refactor functions.
13228
13229 (rst-find-title-line, rst-reset-section-caches)
13230 (rst-get-adornments-around, rst-adjust-adornment-work)
13231 (rst-arabic-to-roman, rst-roman-to-arabic)
13232 (rst-insert-list-pos, rst-insert-list-new-item)
13233 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
13234 New functions.
13235
13236 (rst-all-sections, rst-section-hierarchy)
13237 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
13238 New variables.
13239
13240 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
13241 configuration instead of only buffer. Change where necessary.
13242
13243 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
13244 (rst-shift-region, rst-adaptive-fill): New functions for
13245 indentation and filling.
13246
13247 (rst-comment-line-break, rst-comment-indent)
13248 (rst-comment-insert-comment, rst-comment-region)
13249 (rst-uncomment-region): New functions for handling comments.
13250
13251 (rst-compile): Quote shell arguments.
13252
13253 (rst-compile-pdf-preview, rst-compile-slides-preview):
13254 Delete temporary files after use.
13255
13256 2012-05-05 Glenn Morris <rgm@gnu.org>
13257
13258 * calendar/cal-html.el: Optionally include holidays in the output.
13259 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
13260 (cal-html-holidays): New option.
13261 (cal-html-css-default): Add holiday entry.
13262 (holiday-in-range): Autoload it.
13263 (cal-html-htmlify-entry): Add optional class argument.
13264 (cal-html-htmlify-list): Add optional holidays argument.
13265 (cal-html-insert-agenda-days): Include holidays in the output.
13266 (cal-html-one-month): Maybe include holidays.
13267
13268 * calendar/holidays.el (holiday-in-range):
13269 Move here from cal-tex-list-holidays.
13270 * calendar/cal-tex.el (cal-tex-list-holidays):
13271 Make it an obsolete alias for holiday-in-range. Update all callers.
13272
13273 2012-05-05 Chong Yidong <cyd@gnu.org>
13274
13275 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
13276 Nextstep.
13277
13278 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
13279
13280 * files.el (file-auto-mode-skip): New var.
13281 (set-auto-mode-1): Use it.
13282
13283 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
13284
13285 * repeat.el: Use lexical-binding.
13286 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
13287 (repeat-undo-count): Remove.
13288 (repeat):
13289 * progmodes/octave-mod.el (octave-abbrev-start):
13290 * progmodes/f90.el (f90-abbrev-start):
13291 * face-remap.el (text-scale-adjust):
13292 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
13293
13294 * emacs-lisp/pcase.el (pcase--let*): New function.
13295 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
13296 a bit more.
13297 (pcase--split-pred): Be more clever about ruling out overlap between
13298 a predicate and some constant pattern.
13299 (pcase--q1): Use `null' instead of (eq foo nil).
13300
13301 * subr.el (setq-local, defvar-local): New macros.
13302 (kbd): Redefine as an alias.
13303 (with-selected-window): Leave unrelated frames alone.
13304 (set-temporary-overlay-map): New function.
13305
13306 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
13307
13308 * subr.el (user-error): New function.
13309 * window.el (switch-to-buffer):
13310 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
13311 (smerge-match-conflict):
13312 * simple.el (previous-matching-history-element)
13313 (next-matching-history-element, goto-history-element, undo-more)
13314 (undo-start):
13315 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
13316 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
13317 (next-file, tags-loop-scan, list-tags, complete-tag):
13318 * progmodes/compile.el (compilation-loop):
13319 * mouse.el (mouse-minibuffer-check):
13320 * man.el (Man-bgproc-sentinel, Man-goto-page):
13321 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
13322 (Info-history-forward, Info-follow-reference, Info-menu)
13323 (Info-extract-menu-item, Info-extract-menu-counting)
13324 (Info-forward-node, Info-backward-node, Info-next-menu-item)
13325 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
13326 (Info-next-reference, Info-prev-reference, Info-index)
13327 (Info-index-next, Info-follow-nearest-node)
13328 (Info-copy-current-node-name):
13329 * imenu.el (imenu--make-index-alist)
13330 (imenu-default-create-index-function, imenu-add-to-menubar):
13331 * files.el (basic-save-buffer, recover-file):
13332 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
13333 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
13334 (checkdoc-message-text, checkdoc-defun):
13335 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
13336 * cus-edit.el (customize-changed-options, customize-rogue)
13337 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
13338 (custom-variable-mark-to-reset-standard)
13339 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
13340 (custom-file):
13341 * completion.el (check-completion-length):
13342 * comint.el (comint-search-arg)
13343 (comint-previous-matching-input-string-position)
13344 (comint-previous-matching-input)
13345 (comint-replace-by-expanded-history-before-point, comint-send-input)
13346 (comint-copy-old-input, comint-backward-matching-input)
13347 (comint-goto-process-mark, comint-set-process-mark):
13348 * calendar/calendar.el (calendar-cursor-to-date): Use it.
13349 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
13350
13351 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
13352
13353 * dabbrev.el (dabbrev--ignore-case-p): New function.
13354 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
13355 Use it.
13356
13357 * files.el (automount-dir-prefix): Mark as obsolete.
13358
13359 2012-05-04 Glenn Morris <rgm@gnu.org>
13360
13361 * patcomp.el, play/bruce.el: Move to obsolete/.
13362
13363 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
13364
13365 Fix minor Y10k bugs.
13366 * arc-mode.el (archive-unixdate):
13367 * autoinsert.el (auto-insert-alist):
13368 * calc/calc-forms.el (math-this-year):
13369 * emacs-lisp/copyright.el (copyright-current-year)
13370 (copyright-update-year, copyright):
13371 * tar-mode.el (tar-clip-time-string):
13372 * time.el (display-time-update):
13373 Don't assume years have 4 digits.
13374
13375 2012-05-04 Chong Yidong <cyd@gnu.org>
13376
13377 * dos-w32.el (file-name-buffer-file-type-alist)
13378 (direct-print-region-use-command-dot-com):
13379 * ffap.el (ffap-menu-regexp):
13380 * find-file.el (ff-special-constructs):
13381 * follow.el (follow-debug):
13382 * forms.el (forms--debug):
13383 * iswitchb.el (iswitchb-all-frames):
13384 * ido.el (ido-all-frames):
13385 * emacs-lisp/timer.el (timer-max-repeats):
13386 * mail/feedmail.el (feedmail-mail-send-hook)
13387 (feedmail-mail-send-hook-queued):
13388 * mail/footnote.el (footnote-signature-separator):
13389 * mail/mailabbrev.el (mail-alias-separator-string)
13390 (mail-abbrev-mode-regexp):
13391 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
13392 * progmodes/idlwave.el (idlwave-libinfo-file)
13393 (idlwave-default-completion-case-is-down)
13394 (idlwave-library-routines): Convert defvars to defcustoms.
13395
13396 * mail/rmail.el (rmail-decode-mime-charset):
13397 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
13398 (idlwave-shell-fix-inserted-breaks)
13399 (idlwave-shell-activate-alt-keybindings)
13400 (idlwave-shell-use-breakpoint-glyph):
13401 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
13402
13403 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
13404
13405 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
13406
13407 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
13408
13409 * progmodes/verilog-mode.el (font-lock-keywords):
13410 Fix mis-highligting auto. Reported by Craig Barner.
13411 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
13412 defines from global name space. Reported by Dan Dever.
13413 (verilog-auto-reset, verilog-auto-reset-widths)
13414 (verilog-auto-tieoff): Support using unbased numbers for
13415 AUTORESET and AUTOTIEOFF.
13416 (verilog-submit-bug-report): Update variable list.
13417 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
13418 parenthesis from not matching. Reported by Michael Rytting.
13419 (verilog-auto-template-lint): Fix hash error when linting modules
13420 with no used templates.
13421 (verilog-warn, verilog-warn-error)
13422 (verilog-warn-fatal): When non-interactive report multiple
13423 warnings before exiting. Suggested by Brad Dobbie.
13424 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
13425 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
13426 to report unused template errors. Reported by Brad Dobbie.
13427 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
13428 nets, bug438. Reported by Vns Blore.
13429 (verilog-auto-inout-module, verilog-auto-reg)
13430 (verilog-read-decls, verilog-read-sub-decls-sig)
13431 (verilog-signals-edit-wire-reg, verilog-signals-with):
13432 Fix passing of Verilog data types in ANSI input/output ports
13433 such as "output logic" into the AUTOs. Special case "wire" and
13434 "reg" for backwards compatibility presuming Verilog 2001.
13435 (verilog-auto-ascii-enum): Add "auto enum" as alias.
13436 (verilog-preprocess): Fix replication of preprocess output.
13437 Reported by Brad Dobbie.
13438 (verilog-auto-inst-interfaced-ports):
13439 Create verilog-auto-inst-interfaced-ports, bug429.
13440 Reported by Julian Gorfajn.
13441 (verilog-after-save-font-hook)
13442 (verilog-before-save-font-hook): New variable.
13443 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
13444 (verilog-save-font-mods): Wrap disabling fontification, reported
13445 by David Rogoff.
13446 (verilog-do-indent, verilog-pretty-declarations-auto)
13447 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
13448 Reported by Pierre-David Pfister.
13449 (verilog-set-auto-endcomments): Fix endtask auto comments outside
13450 of class declarations, bug292. Reported by Kevin Heilman.
13451 (verilog-read-decls): Fix 'parameter type' not appearing in
13452 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
13453 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
13454 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
13455 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
13456 Reported by David Kravitz.
13457
13458 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
13459
13460 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
13461 assignment with tests in ifs and for loops.
13462 (verilog-extended-complete-re, verilog-complete-reg): Change so
13463 that DPI inport functions don't look like fuction declarations.
13464 (verilog-pretty-expr): Don't line up assignment
13465 operations to the test and increment in if and for loops
13466 (verilog-extended-complete-re, verilog-complete-reg): Change so
13467 that DPI inport functions don't look like fuction declarations.
13468
13469 2012-05-03 Kenichi Handa <handa@m17n.org>
13470
13471 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
13472 decoding, and show a warning message without signaling an error
13473 (Bug#11282).
13474
13475 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
13476
13477 * emacs-lisp/bytecomp.el
13478 (byte-compile-file-form-custom-declare-variable): Compile all elements,
13479 since cconv.el might have introduced :fun-body, internal-make-closure,
13480 and friends for bytecomp to handle (bug#11391).
13481 * custom.el (defcustom): Avoid ((λ ..) ..).
13482
13483 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
13484
13485 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
13486
13487 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
13488
13489 * notifications.el (dbus-debug):
13490 * term/linux.el (gpm-mouse-enable):
13491 * term/screen.el (xterm-register-default-colors): Declare.
13492
13493 2012-05-02 Chong Yidong <cyd@gnu.org>
13494
13495 * cus-start.el (gc-cons-percentage, exec-suffixes)
13496 (dos-display-scancodes, dos-hyper-key, dos-super-key)
13497 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
13498 (make-cursor-line-fully-visible, void-text-area-pointer)
13499 (font-list-limit): Add customization data.
13500
13501 * allout.el (allout-exposure-change-functions)
13502 (allout-structure-added-functions)
13503 (allout-structure-deleted-functions)
13504 (allout-structure-shifted-functions): Rename abnormal hooks from
13505 *-hook, and convert to defcustoms.
13506 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
13507 Convert to defcustoms.
13508 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
13509
13510 * allout-widgets.el: Hook callers changed.
13511
13512 2012-05-02 Eli Zaretskii <eliz@gnu.org>
13513
13514 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
13515 the yanked message in preference to the default value of
13516 buffer-file-coding-system.
13517
13518 2012-05-02 Martin Rudalics <rudalics@gmx.at>
13519
13520 * window.el (display-buffer--action-function-custom-type):
13521 Fix entry.
13522
13523 2012-05-02 Alan Mackenzie <acm@muc.de>
13524
13525 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
13526
13527 2012-05-01 Glenn Morris <rgm@gnu.org>
13528
13529 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
13530
13531 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
13532
13533 * cus-edit.el (custom-variable-documentation): Simplify with format.
13534
13535 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13536 Stefan Monnier <monnier@iro.umontreal.ca>
13537
13538 * simple.el (suggest-key-bindings, execute-extended-command):
13539 Move from keyboard.c.
13540
13541 2012-05-01 Chong Yidong <cyd@gnu.org>
13542
13543 * follow.el: Eliminate advice.
13544 (set-process-filter, process-filter, sit-for): Advice deleted.
13545 (follow-mode-off-hook): Obsolete hook removed.
13546 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
13547 Vars deleted.
13548 (follow-auto): Use a :set function.
13549 (follow-mode): Rewritten. Don't advise process filters.
13550 (follow-switch-to-current-buffer-all, follow-scroll-up)
13551 (follow-scroll-down): Assume follow-mode is bound.
13552 (follow-comint-scroll-to-bottom)
13553 (follow-align-compilation-windows): New functions.
13554 (follow--window-sorter): New function.
13555 (follow-all-followers): Use it to explicitly sort windows by their
13556 positions; don't make assumptions about next-window order.
13557 (follow-windows-start-end, follow-delete-other-windows-and-split)
13558 (follow-calc-win-start): Doc fix.
13559 (follow-windows-aligned-p, follow-select-if-visible): Don't call
13560 vertical-motion unnecessarily.
13561 (follow-adjust-window): New function.
13562 (follow-post-command-hook): Use it.
13563 (follow-call-set-process-filter, follow-call-process-filter)
13564 (follow-intercept-process-output, follow-tidy-process-filter-alist)
13565 (follow-stop-intercept-process-output, follow-generic-filter):
13566 Functions deleted.
13567 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
13568 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
13569 New functions, replacing advice on scroll-bar-* commands.
13570 (follow-mwheel-scroll): New function (Bug#4112).
13571
13572 * comint.el (comint-adjust-point): New function.
13573 (comint-postoutput-scroll-to-bottom): Use it.
13574 Call follow-comint-scroll-to-bottom for Follow mode buffers.
13575
13576 2012-05-01 Glenn Morris <rgm@gnu.org>
13577
13578 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
13579 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
13580 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
13581 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
13582 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
13583 Remove no-byte-compile setting.
13584
13585 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
13586
13587 * minibuffer.el (completion-table-with-quoting): Fix compatibility
13588 all-completions code to not return a number in the last cdr.
13589
13590 2012-04-30 Leo Liu <sdl.web@gmail.com>
13591
13592 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
13593 read-only error.
13594
13595 2012-04-29 Chong Yidong <cyd@gnu.org>
13596
13597 * follow.el (follow-calc-win-end): Rewrite to handle partial
13598 screen lines correctly (Bug#8390).
13599 (follow-avoid-tail-recenter): Minor cleanup.
13600
13601 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
13602
13603 Avoid the obsolete `assoc' package.
13604 * speedbar.el (speedbar-refresh): Avoid adelete.
13605 (speedbar-file-lists): Simplify and avoid aput.
13606 * man.el (Man--sections, Man--refpages): New vars, replacing
13607 Man-sections-alist and Man-refpages-alist.
13608 (Man-build-section-alist, Man-build-references-alist):
13609 Use them; avoid aput.
13610 (Man--last-section, Man--last-refpage): New vars.
13611 (Man-follow-manual-reference): Use them.
13612 Use the `default' arg of completing-read.
13613 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
13614
13615 2012-04-27 Chong Yidong <cyd@gnu.org>
13616
13617 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
13618
13619 * startup.el (x-apply-session-resources): New function.
13620
13621 * term/ns-win.el (ns-initialize-window-system):
13622 * term/w32-win.el (w32-initialize-window-system):
13623 * term/x-win.el (x-initialize-window-system): Use it to properly
13624 set menu-bar-mode and other vars from X resources, even if the
13625 initial frame is not a window-system frame (Bug#2299).
13626
13627 * subr.el (read-key): Avoid running filter function when setting
13628 up temporary tool bar entries (Bug#9922).
13629
13630 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
13631
13632 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
13633 (Bug#11344)
13634
13635 2012-04-27 Chong Yidong <cyd@gnu.org>
13636
13637 * select.el (xselect--encode-string): New function, split from
13638 xselect-convert-to-string.
13639 (xselect-convert-to-string): Use it.
13640 (xselect-convert-to-filename, xselect-convert-to-os)
13641 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
13642 returned strings are properly encoded (Bug#11315).
13643
13644 2012-04-27 Chong Yidong <cyd@gnu.org>
13645
13646 * simple.el (delete-active-region): Move to killing custom group.
13647
13648 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
13649
13650 * progmodes/which-func.el (which-func-current): Quote %
13651 characters for mode-line processing.
13652
13653 2012-04-27 Chong Yidong <cyd@gnu.org>
13654
13655 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
13656 reaching eob (Bug#11286).
13657
13658 2012-04-27 Eli Zaretskii <eliz@gnu.org>
13659
13660 * progmodes/gdb-mi.el (gdb-control-level): New variable.
13661 (gdb): Make it buffer-local and init to zero.
13662 (gdb-control-commands-regexp): New variable.
13663 (gdb-send): Don't wrap in "-interpreter-exec console" if
13664 gdb-control-level is positive. Increment gdb-control-level
13665 whenever the command matches gdb-control-commands-regexp, and
13666 decrement it each time the command is "end". (Bug#11279)
13667
13668 2012-04-27 Martin Rudalics <rudalics@gmx.at>
13669
13670 * window.el (adjust-window-trailing-edge, enlarge-window)
13671 (shrink-window, window-resize):
13672 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
13673 windows (Bug#11276).
13674
13675 2012-04-27 Chong Yidong <cyd@gnu.org>
13676
13677 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
13678 fix "missing prefix" warning. All callers changed.
13679
13680 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
13681
13682 * emacs-lisp/assoc.el: Move to obsolete/.
13683
13684 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
13685
13686 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
13687
13688 * term/ns-win.el (ns-define-service):
13689 * progmodes/pascal.el (pascal-goto-defun):
13690 * progmodes/js.el (js--read-tab):
13691 * progmodes/etags.el (tags-lazy-completion-table):
13692 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
13693 * emacs-lisp/ewoc.el (ewoc--wrap):
13694 * emacs-lisp/assoc.el (aput, adelete, amake):
13695 * doc-view.el (doc-view-convert-current-doc):
13696 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
13697
13698 2012-04-26 Chong Yidong <cyd@gnu.org>
13699
13700 * image.el (image-type-from-buffer): Only return supported image
13701 type (Bug#9045).
13702
13703 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
13704 value, for symmetry with diff-end-of-hunk.
13705 (diff-split-hunk, diff-find-source-location)
13706 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
13707 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
13708 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
13709 compute the relevant hunk or file properly (Bug#6005).
13710 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
13711
13712 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
13713
13714 * vc/vc-mtn.el:
13715 * vc/vc-hg.el:
13716 * vc/vc-git.el:
13717 * vc/vc-dir.el:
13718 * vc/vc-cvs.el:
13719 * vc/vc-bzr.el:
13720 * vc/vc-arch.el:
13721 * vc/vc.el: Replace lexical-let by lexical-binding.
13722 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
13723 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
13724 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
13725
13726 2012-04-26 Chong Yidong <cyd@gnu.org>
13727
13728 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
13729 (diff-mode-shared-map): Bind it to / and [remap undo].
13730
13731 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
13732 (ediff-window-setup-function): Use it as the default, to set up
13733 windows based on whether the current frame is graphical (Bug#2138).
13734 (ediff-choose-window-setup-function-automatically): Make obsolete.
13735
13736 * vc/ediff-init.el: Always define ediff-pixel-width/height.
13737
13738 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13739
13740 * ffap.el: Remove old code for obsolete package.
13741 (ffap-complete-as-file-p): Remove.
13742
13743 Use completion-table-with-quoting for comint and pcomplete.
13744 * comint.el (comint--unquote&requote-argument)
13745 (comint--unquote-argument, comint--requote-argument): New functions.
13746 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
13747 (comint-quote-filename): Use regexp-opt-charset.
13748 (comint--common-suffix, comint--common-quoted-suffix)
13749 (comint--table-subvert): Remove.
13750 (comint-unquote-function, comint-requote-function): New vars.
13751 (comint--complete-file-name-data): Use them with
13752 completion-table-with-quoting.
13753 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
13754 * pcomplete.el (pcomplete-arg-quote-list)
13755 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
13756 (pcomplete-unquote-argument-function): Default to non-nil.
13757 (pcomplete-unquote-argument): Simplify.
13758 (pcomplete--common-quoted-suffix): Remove.
13759 (pcomplete-requote-argument-function): New var.
13760 (pcomplete--common-suffix): New function.
13761 (pcomplete-completions-at-point): Use completion-table-with-quoting
13762 and completion-table-subvert.
13763
13764 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
13765 (minibuffer--double-dollars): Preserve properties.
13766 (completion--sifn-requote): New function.
13767 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
13768
13769 * minibuffer.el: Add support for completion of quoted/escaped data.
13770 (completion-table-with-quoting, completion-table-subvert): New funs.
13771 (completion--twq-try, completion--twq-all): New functions.
13772 (completion--nth-completion): New function.
13773 (completion-try-completion, completion-all-completions): Use it.
13774
13775 2012-04-25 Leo Liu <sdl.web@gmail.com>
13776
13777 * progmodes/python.el (python-pdbtrack-get-source-buffer):
13778 Use compilation-message if available to find real filename.
13779
13780 2012-04-25 Chong Yidong <cyd@gnu.org>
13781
13782 * vc/diff-mode.el (diff-setup-whitespace): New function.
13783 (diff-mode): Use it.
13784
13785 * vc/diff.el (diff-sentinel):
13786 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
13787 Whitespace mode variables based on diff style (Bug#8612).
13788
13789 2012-04-25 Leo Liu <sdl.web@gmail.com>
13790
13791 * progmodes/python.el (python-send-region): Add suffix .py to the
13792 temp file.
13793
13794 * files.el (auto-mode-alist): Use javascript-mode instead.
13795
13796 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
13797
13798 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
13799
13800 * net/soap-client.el (soap-resolve-references-for-sequence-type)
13801 (soap-resolve-references-for-array-type): Hack to prevent self
13802 references, see Bug#9.
13803 (soap-parse-envelope): Report the contents of the 'detail' node
13804 when receiving a fault reply.
13805 (soap-parse-envelope): Report the contents of the entire 'detail' node.
13806
13807 * net/soap-inspect.el (soap-sample-value-for-simple-type)
13808 (soap-inspect-simple-type): New function.
13809
13810 * net/soap-client.el (soap-simple-type): New struct.
13811 (soap-default-xsd-types, soap-default-soapenc-types)
13812 (soap-decode-basic-type, soap-encode-basic-type):
13813 support unsignedInt and double basic types.
13814 (soap-resolve-references-for-simple-type)
13815 (soap-parse-simple-type, soap-encode-simple-type): New function.
13816 (soap-parse-schema): Parse xsd:simpleType declarations.
13817
13818 * net/soap-client.el (soap-default-xsd-types)
13819 (soap-default-soapenc-types): Add integer, byte and anyURI types.
13820 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
13821 the local name of "soapenc:Array".
13822 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
13823 decoding integer, byte and anyURI xsd types.
13824
13825 2012-04-25 Chong Yidong <cyd@gnu.org>
13826
13827 * cus-edit.el (custom-buffer-create-internal): Update header text.
13828
13829 2012-04-25 Eli Zaretskii <eliz@gnu.org>
13830
13831 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
13832 settings on 'system-type', not on 'window-system'. On MS-Windows,
13833 set interactive-mode on in GDB.
13834
13835 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
13836
13837 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
13838 (ruby-syntax-propertize-regexp): Remove.
13839 (ruby-syntax-propertize-function): Split regexp into chunks.
13840 Match following code directly.
13841
13842 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
13843
13844 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
13845 (ruby-syntax-propertize-regexp): New function.
13846 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
13847 by a special keyword.
13848
13849 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
13850 (ruby-syntax-general-delimiters-goto-beg)
13851 (ruby-syntax-propertize-general-delimiters): New functions.
13852 (ruby-syntax-propertize-function): Use them to handle GDL.
13853 (ruby-font-lock-keywords): Move old handling of GDL...
13854 (ruby-font-lock-syntactic-keywords): .. to here.
13855 (ruby-calculate-indent): Adjust indentation for GDL.
13856
13857 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
13858
13859 * notifications.el (top): Remove unneeded declarations.
13860 (notifications-specification-version): Change to "1.2".
13861 (notifications-interface, notifications-notify-method)
13862 (notifications-close-notification-method): Fix docstring.
13863 (notifications-get-capabilities-method): New defconst.
13864 (notifications-notify): Add :action-items, :resident and
13865 :transient hints. Change "image_data" to "image-data" and
13866 "image_path" to "image-path".
13867 (notifications-get-capabilities): New defun.
13868
13869 2012-04-24 Leo Liu <sdl.web@gmail.com>
13870
13871 * progmodes/python.el: Move hideshow setup to the end.
13872
13873 2012-04-24 Martin Rudalics <rudalics@gmx.at>
13874
13875 * window.el (handle-select-window): Clear echo area since this is
13876 no more done by read_char (Bug#11304).
13877
13878 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
13879
13880 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
13881 and `/ M' to filter-derived-mode.
13882 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
13883 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
13884 (ibuffer-mark-by-mode): Use default rather than initial-input.
13885 (ibuffer-filter-by-derived-mode): Autoload and require-match.
13886
13887 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
13888
13889 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
13890 (ibuffer-filter-by-derived-mode): New filter.
13891 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
13892
13893 2012-04-23 Andreas Politz <politza@fh-trier.de>
13894
13895 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
13896
13897 2012-04-23 Chong Yidong <cyd@gnu.org>
13898
13899 * cus-edit.el (customize-apropos, customize-apropos-options):
13900 Disable matching of non-option variables (Bug#11176).
13901 (customize-option, customize-option-other-window)
13902 (customize-changed-options): Doc fix.
13903 (customize-apropos-options, customize-apropos-faces)
13904 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
13905
13906 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
13907 Fix word list splitting (Bug#11132).
13908 (apropos-symbol, apropos-keybinding, apropos-label)
13909 (apropos-property, apropos-function-button)
13910 (apropos-variable-button, apropos-misc-button): New faces.
13911 (apropos-symbol-face, apropos-keybinding-face)
13912 (apropos-label-face, apropos-property-face, apropos-match-face):
13913 Variables removed (Bug#8396).
13914 (apropos-library-button, apropos-format-plist, apropos-print)
13915 (apropos-print-doc, apropos-describe-plist): Callers changed.
13916
13917 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
13918
13919 * net/xesam.el (xesam-mode-map): Use let-bound map in
13920 initialization. (Bug#11292)
13921
13922 2012-04-23 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
13923
13924 Preserve ispell session localwords when switching back to
13925 original buffer.
13926
13927 * textmodes/ispell.el (ispell-buffer-session-localwords):
13928 New buffer-local variable to hold buffer session localwords.
13929 (ispell-kill-ispell): Add option 'clear to delete session
13930 localwords.
13931 (ispell-command-loop, ispell-change-dictionary)
13932 (ispell-buffer-local-words): Preserve session localwords when
13933 needed.
13934
13935 * textmodes/flyspell.el (flyspell-process-localwords)
13936 (flyspell-do-correct): Preserve session localwords when needed.
13937
13938 2012-04-23 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
13939
13940 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
13941 using obsolete `translation-table-for-input'.
13942 (ispell-word, ispell-process-line, ispell-complete-word):
13943 Use plain `insert' instead of removed `ispell-insert-word'.
13944
13945 2012-04-22 Chong Yidong <cyd@gnu.org>
13946
13947 * cus-edit.el (custom-variable-menu)
13948 (custom-variable-reset-saved, custom-face-menu)
13949 (custom-face-reset-saved): If there is no saved value, make the
13950 "reset-saved" operation bring back the default (Bug#9509).
13951 (custom-face-state): Properly detect themed faces.
13952
13953 * faces.el (face-spec-set): Stop supporting deprecated form of
13954 third arg.
13955
13956 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
13957
13958 Move functions from C to Lisp. Make non-blocking method calls
13959 the default. Implement further D-Bus standard interfaces.
13960
13961 * net/dbus.el (dbus-message-internal): Declare function.
13962 Remove unneeded function declarations.
13963 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
13964 (dbus-message-type-method-return, dbus-message-type-error)
13965 (dbus-message-type-signal): Declare variables. Remove local
13966 definitions.
13967 (dbus-interface-dbus, dbus-interface-peer)
13968 (dbus-interface-introspectable, dbus-interface-properties)
13969 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
13970 Adapt docstring.
13971 (dbus-interface-objectmanager): New defconst.
13972 (dbus-call-method, dbus-call-method-asynchronously)
13973 (dbus-send-signal, dbus-method-return-internal)
13974 (dbus-method-error-internal, dbus-register-service)
13975 (dbus-register-signal, dbus-register-method): New defuns, moved
13976 from dbusbind.c
13977 (dbus-call-method-handler, dbus-setenv)
13978 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
13979 New defuns.
13980 (dbus-call-method-non-blocking): Make it an obsolete function.
13981 (dbus-unregister-object, dbus-unregister-service)
13982 (dbus-handle-event, dbus-register-property)
13983 (dbus-property-handler): Obey the new structure of
13984 `bus-registered-objects'.
13985 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
13986 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
13987 Use `dbus-call-method'.
13988
13989 2012-04-22 Chong Yidong <cyd@gnu.org>
13990
13991 * cus-edit.el (custom-commands, custom-reset-menu)
13992 (Custom-reset-standard): Tweak labels.
13993 (custom-reset-button-menu): Change default to t.
13994 (custom-buffer-create-internal): For the custom-reset-button-menu
13995 case, put the revert button first.
13996 (custom-group-subtitle): New face.
13997 (custom-group-value-create): Align docstring to a specific column.
13998
13999 * wid-edit.el (widget-documentation-link-add): Don't handle
14000 indentation in this function.
14001 (widget-documentation-string-indent-to): New function.
14002 (widget-documentation-string-value-create): Use it.
14003
14004 * autorevert.el (auto-revert):
14005 * epg-config.el (epg):
14006 * ibuffer.el (ibuffer):
14007 * mpc.el (mpc):
14008 * ses.el (ses):
14009 * eshell/eshell.el (eshell):
14010 * net/ange-ftp.el (ange-ftp):
14011 * progmodes/ebnf2ps.el (postscript):
14012 * progmodes/flymake.el (flymake):
14013 * progmodes/prolog.el (prolog):
14014 * progmodes/verilog-mode.el (verilog-mode):
14015 * progmodes/which-func.el (which-func):
14016 * term/xterm.el (xterm):
14017 * textmodes/picture.el (picture):
14018 * textmodes/tildify.el (tildify):
14019 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
14020 customization buffers.
14021
14022 2012-04-22 Alan Mackenzie <acm@muc.de>
14023
14024 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
14025 Adding a ) can hide the resulting (..) from searches. Fix it.
14026 Bound the backward search to the position of the existing (.
14027
14028 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
14029
14030 * progmodes/verilog-mode.el (verilog-mode): Check whether
14031 which-func-modes is t before adding verilog-mode.
14032 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
14033
14034 2012-04-21 Leo Liu <sdl.web@gmail.com>
14035
14036 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
14037
14038 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
14039
14040 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
14041 filling of the last column of a table (Bug#5635).
14042 (woman-find-next-control-line): New arg, specifying an additional
14043 regexp component for the control line.
14044 (woman2-roff-buffer): Use it.
14045 (woman-break-table): New function.
14046 (woman2-TS): Use it.
14047
14048 2012-04-21 Chong Yidong <cyd@gnu.org>
14049
14050 * woman.el (woman-set-buffer-display-table, woman-decode-region)
14051 (woman-horizontal-escapes, woman-negative-vertical-space)
14052 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
14053 (WoMan-warn-ignored): Use ?\s instead of ?\ .
14054
14055 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
14056
14057 * minibuffer.el (completion-file-name-table): Complete user names.
14058
14059 2012-04-20 Leo Liu <sdl.web@gmail.com>
14060
14061 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
14062 and pcase-let*.
14063
14064 2012-04-20 Chong Yidong <cyd@gnu.org>
14065
14066 * server.el (server-execute): Respect initial-buffer-choice if it
14067 is a string and there are no files to open (Bug#2825).
14068 (server-create-window-system-frame, server-create-tty-frame):
14069 Don't switch buffers here.
14070 (server-process-filter): Only try to open a window system frame if
14071 compiled with graphical support (Bug#8314).
14072
14073 2012-04-20 Dan Nicolaescu <dann@gnu.org>
14074
14075 * battery.el (battery-echo-area-format): Display remaining time
14076 for sysfs backend too (Bug#11269).
14077 (battery-linux-sysfs): Fix conditional for the charge.
14078
14079 2012-04-20 Chong Yidong <cyd@gnu.org>
14080
14081 * progmodes/gdb-mi.el (gdb): Revert previous change.
14082 (gdb-inferior-io--init-proc): New function.
14083 (gdb-init-1): Use it.
14084 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
14085 responsible for allocating a new pty and hooking it to gdb when
14086 the old pty gets an EIO due to process exit.
14087 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
14088 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
14089 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
14090
14091 2012-04-20 Eli Zaretskii <eliz@gnu.org>
14092
14093 * window.el (window-min-size, window-sizable, window-min-delta)
14094 (window-max-delta, window--resizable, window-resizable)
14095 (window-total-size, window-full-height-p, window-full-width-p)
14096 (window-in-direction, window--resize-mini-window, window-resize)
14097 (window--resize-child-windows-normal)
14098 (window--resize-child-windows, window--resize-siblings)
14099 (window--resize-this-window, adjust-window-trailing-edge)
14100 (enlarge-window, shrink-window): Doc fixes.
14101
14102 2012-04-20 Chong Yidong <cyd@gnu.org>
14103
14104 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
14105 New function to call delete-process on the gdb-inferior buffer's pty.
14106 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
14107 pty process (Bug#11273).
14108 (gdb-update): New arg to suppress talking to the gdb process.
14109 (gdb-done-or-error): Use it.
14110 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
14111 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
14112 sentinel not being called.
14113
14114 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
14115
14116 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
14117
14118 2012-04-20 Glenn Morris <rgm@gnu.org>
14119
14120 * net/network-stream.el (open-network-stream): Doc fix.
14121
14122 2012-04-20 Chong Yidong <cyd@gnu.org>
14123
14124 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
14125
14126 2012-04-20 Alan Mackenzie <acm@muc.de>
14127
14128 Ensure searching for keywords is case sensitive.
14129
14130 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
14131 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
14132 (c-defun-name, c-mark-function, c-cpp-define-name)
14133 (c-comment-indent, c-scan-conditionals, c-indent-defun)
14134 (c-context-line-break): Bind case-fold-search to nil.
14135
14136 * progmodes/cc-mode.el (c-font-lock-fontify-region):
14137 Bind case-fold-search to nil.
14138
14139 2012-04-20 Chong Yidong <cyd@gnu.org>
14140
14141 * mail/sendmail.el (mail-bury): Call return action with the right
14142 Rmail buffer (Bug#11242).
14143
14144 * server.el (server-process-filter): Handle corner case where both
14145 tty and nowait options are present (Bug#11102).
14146
14147 2012-04-20 Eli Zaretskii <eliz@gnu.org>
14148
14149 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
14150 (top level): Put into the executable the ident-style '$Id:' tag on
14151 windows-nt as well.
14152
14153 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
14154
14155 * electric.el (electric-indent-post-self-insert-function): Check that
14156 electric-indent-mode is enabled in current buffer.
14157
14158 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
14159
14160 * imenu.el (imenu-progress-message): Restore; it is "used" in
14161 erc/erc-imenu.el and net/snmp-mode.el.
14162
14163 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
14164
14165 * avoid.el (mouse-avoidance-mode): Mark unused arg.
14166 (mouse-avoidance-nudge-mouse): Remove unused binding.
14167
14168 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
14169
14170 * descr-text.el (describe-char):
14171 * progmodes/python.el (python-describe-symbol):
14172 Don't call `toggle-read-only', set `buffer-read-only'.
14173
14174 * imenu.el (imenu-default-goto-function): Mark unused args.
14175 (imenu-progress-message): Remove obsolete macro; all callers changed.
14176
14177 * subr.el (keymap-canonicalize): Remove unused binding.
14178 (read-passwd): Mark unused arg.
14179
14180 * tutorial.el (tutorial--display-changes): Remove unused binding.
14181 (tutorial--save-tutorial-to): Remove unused variable.
14182
14183 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
14184 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
14185 (package-generate-autoloads, package-menu--generate)
14186 (package-menu--find-upgrades): Remove unused bindings.
14187
14188 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
14189 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
14190 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
14191 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
14192 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
14193 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
14194 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
14195 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
14196 (cua-delete-char-rectangle): Mark unused args.
14197 (cua-align-rectangle): Remove unused binding.
14198
14199 * mail/rmail.el (compilation--message->loc)
14200 (epa--find-coding-system-for-mime-charset): Declare.
14201
14202 * net/dbus.el (dbus-register-service): Declare.
14203 (dbus-name-owner-changed-handler): Remove unused binding.
14204
14205 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
14206 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
14207 (nxml-scan-backward-within): Mark unused arg.
14208 (nxml-dynamic-markup-word): Remove unused binding.
14209
14210 * mouse.el (mouse-menu-major-mode-map):
14211 * emacs-lisp/authors.el (authors-scan-change-log)
14212 (authors-add-to-author-list):
14213 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
14214 * emacs-lisp/smie.el (smie-auto-fill):
14215 * mail/sendmail.el (mail-bury):
14216 * mail/unrmail.el (unrmail):
14217 * net/tls.el (open-tls-stream):
14218 * textmodes/picture.el (picture-mouse-set-point):
14219 Remove unused bindings.
14220
14221 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
14222
14223 * net/tramp.el (tramp-action-password): Let-bind
14224 `enable-recursive-minibuffers' to t.
14225
14226 2012-04-18 Sam Steingold <sds@gnu.org>
14227
14228 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
14229 instead of 'string to accommodate values like [f11].
14230 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
14231 * progmodes/gdb-mi.el: Likewise.
14232
14233 2012-04-18 Leo Liu <sdl.web@gmail.com>
14234
14235 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
14236 current buffer.
14237 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
14238 LOCAL is nil.
14239
14240 2012-04-18 Chong Yidong <cyd@gnu.org>
14241
14242 * simple.el (line-move): Use forward-line if in batch mode
14243 (Bug#11053).
14244
14245 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
14246
14247 * files.el (after-find-file): Do not try to add a final newline if
14248 the buffer is read-only (Bug#11156).
14249
14250 2012-04-17 Richard Stallman <rms@gnu.org>
14251
14252 * mail/rmail.el (rmail-start-mail):
14253 Pass (rmail-mail-return...) for the return-action.
14254 Pass (rmail-yank-current-message...) for the yank-action.
14255 (rmail-yank-current-message): New function.
14256 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
14257 (rmail-reply): Likewise.
14258 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
14259
14260 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
14261 buffer, not the last. Reject temp buffers. Use the rmail-mode
14262 buffer, not newbuf.
14263
14264 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
14265
14266 * server.el (server-ensure-safe-dir): Simplify.
14267
14268 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
14269
14270 * emacs-lisp/smie.el: Provide smarter auto-filling.
14271 (smie-auto-fill): New function.
14272 (smie-setup): Use it.
14273
14274 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
14275
14276 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
14277
14278 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
14279 (comment-indent): Use it.
14280
14281 2012-04-17 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
14282
14283 * ses.el: The overall change is to add cell renaming, that is
14284 setting fancy names for cell symbols other than name matching
14285 "\\`[A-Z]+[0-9]+\\'" regexp .
14286 (ses-localvars): Add ses--renamed-cell-symb-list.
14287 (ses-create-cell-variable): New defun.
14288 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
14289 (ses-relocate-formula): Relocate formulas only for cells the
14290 symbols of which are not renamed, i.e. symbols whose names do not
14291 match regexp "\\`[A-Z]+[0-9]+\\'".
14292 (ses-relocate-all): Relocate values only for cells the symbols of
14293 which are not renamed.
14294 (ses-load): Create cells variables as the (ses-cell ...) are read,
14295 in order to check row col consistency with cell symbol name only
14296 for cells that are not renamed.
14297 (ses-replace-name-in-formula): New defun.
14298 (ses-rename-cell): New defun.
14299
14300 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
14301
14302 * progmodes/perl-mode.el (perl-indent-parens-as-block):
14303 New option (bug#11118).
14304 (perl-calculate-indent): Respect it.
14305
14306 2012-04-17 Glenn Morris <rgm@gnu.org>
14307
14308 * dired-aux.el (dired-mark-read-string): Doc fix.
14309
14310 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
14311
14312 * dired-aux.el (dired-mark-read-string): Offer optional completion.
14313 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
14314
14315 2012-04-17 Glenn Morris <rgm@gnu.org>
14316
14317 * mouse.el (mouse-drag-track):
14318 * speedbar.el (speedbar-frame-mode):
14319 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
14320
14321 2012-04-16 Leo Liu <sdl.web@gmail.com>
14322
14323 * progmodes/python.el: Trivial cleanup.
14324
14325 2012-04-16 Glenn Morris <rgm@gnu.org>
14326
14327 * vc/vc.el (vc-string-prefix-p):
14328 * vc/pcvs-util.el (cvs-string-prefix-p):
14329 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
14330 * mpc.el (mpc-string-prefix-p):
14331 Make all of these into obsolete aliases for string-prefix-p.
14332 Update callers.
14333 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
14334
14335 * textmodes/two-column.el: Move custom options to the start.
14336 (frame-width): Remove compat definition.
14337 (2C-associate-buffer, 2C-dissociate):
14338 Use with-current-buffer rather than save-excursion.
14339 (2C-dissociate): Force a mode-line update.
14340 (2C-autoscroll): Use ignore-errors.
14341
14342 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
14343 Autoload trivia.
14344
14345 * emacs-lisp/cl-extra.el (*random-state*):
14346 Remove unnecessary declaration.
14347
14348 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
14349
14350 * play/cookie1.el (cookie-snarf):
14351 Give an explicit error if input file cannot be read.
14352
14353 * play/yow.el (yow-file): Use expand-file-name rather than concat.
14354
14355 * progmodes/perl-mode.el (c-macro-expand):
14356 Remove unnecessary autoload (it is in loaddefs.el).
14357
14358 * textmodes/picture.el (picture-desired-column)
14359 (picture-update-desired-column): Convert comments to doc-strings.
14360 (picture-substitute): Remove function.
14361 (picture-mode-map): Initialize in the defvar.
14362
14363 * woman.el: Remove eval-after-load for tar-mode.
14364 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
14365 (woman-tar-extract-file): Autoload it.
14366
14367 * frame.el (automatic-hscrolling): Make this alias obsolete.
14368
14369 2012-04-12 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
14370
14371 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
14372 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
14373 (ispell-dictionary-base-alist): Revert to original XEmacs
14374 friendly version for default. [:alpha:] will be added in
14375 `ispell-set-spellchecker-params' if needed.
14376
14377 2012-04-16 Chong Yidong <cyd@gnu.org>
14378
14379 * image.el (imagemagick--file-regexp): New variable.
14380 (imagemagick-register-types): Use it.
14381 (imagemagick-types-inhibit): Add :set function. Allow new value
14382 of t to inhibit all types.
14383
14384 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
14385 so we can preload it.
14386
14387 * loadup.el (fboundp): Preload regexp-opt, needed by
14388 imagemagick-register-types.
14389
14390 2012-04-15 Chong Yidong <cyd@gnu.org>
14391
14392 * frame.el (scrolling): Remove nearly unused customization group.
14393
14394 * scroll-all.el (scroll-all-mode): Move to windows group.
14395
14396 2012-04-15 Chong Yidong <cyd@gnu.org>
14397
14398 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
14399
14400 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
14401
14402 Avoid the use of ((lambda ...) ...) in lexical-binding code.
14403 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
14404
14405 2012-04-15 Glenn Morris <rgm@gnu.org>
14406
14407 * simple.el (process-file-side-effects): Doc fix.
14408
14409 2012-04-15 Glenn Morris <rgm@gnu.org>
14410
14411 * international/mule-cmds.el (set-language-environment): Doc fix.
14412
14413 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
14414
14415 * server.el (server-auth-key, server-generate-key): Doc fixes.
14416 (server-get-auth-key): Doc fix. Use `string-match-p'.
14417 (server-start): Reflow docstring.
14418
14419 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
14420
14421 * server.el (server-generate-key): `called-interactively-p'
14422 requires a parameter.
14423
14424 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
14425
14426 * server.el (server-auth-key): New variable.
14427 (server-generate-key, server-get-auth-key): New function.
14428 (server-start): Use the new variable and functions to allow
14429 setting a permanent server key (bug#9423).
14430
14431 2012-04-14 Leo Liu <sdl.web@gmail.com>
14432
14433 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
14434
14435 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
14436
14437 Spelling fixes.
14438 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
14439 Emacs uses American spelling.
14440
14441 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
14442
14443 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
14444 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
14445 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
14446 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
14447
14448 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
14449
14450 * progmodes/which-func.el (which-func-modes): Change default.
14451
14452 2012-04-14 Kim F. Storm <storm@cua.dk>
14453
14454 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
14455 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
14456
14457 2012-04-14 Chong Yidong <cyd@gnu.org>
14458
14459 * custom.el (custom-theme-set-variables): Doc fix.
14460
14461 2012-04-14 Glenn Morris <rgm@gnu.org>
14462
14463 * international/mule.el (set-auto-coding-for-load): Doc fix.
14464
14465 2012-04-14 Alan Mackenzie <acm@muc.de>
14466
14467 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
14468 imenu work again for Objective C Mode. Correct the *-index values,
14469 these having been disturbed by a previous change in 2011-08.
14470
14471 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
14472 Correct two search limits.
14473
14474 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
14475
14476 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
14477
14478 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
14479
14480 * international/characters.el: Fix sorting.
14481
14482 2012-04-14 Eli Zaretskii <eliz@gnu.org>
14483
14484 * international/characters.el: Add more missing Latin case pairs.
14485
14486 2012-04-14 Glenn Morris <rgm@gnu.org>
14487
14488 * files.el (dir-locals-set-class-variables): Doc fix.
14489
14490 2012-04-14 Eli Zaretskii <eliz@gnu.org>
14491
14492 * international/characters.el: Add set-case-syntax-pair call for
14493 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
14494 counterpart. (Bug#11209)
14495
14496 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
14497
14498 2012-04-14 Glenn Morris <rgm@gnu.org>
14499
14500 * calendar/holidays.el (calendar-check-holidays): Doc fix.
14501
14502 2012-04-14 Eli Zaretskii <eliz@gnu.org>
14503
14504 * textmodes/ispell.el (ispell-dictionary-base-alist):
14505 Add data for Hebrew.
14506
14507 2012-04-14 Chong Yidong <cyd@gnu.org>
14508
14509 * net/rcirc.el (rcirc-cmd-quit):
14510 Revert 2012-03-18 change (Bug#11192).
14511
14512 2012-04-14 Glenn Morris <rgm@gnu.org>
14513
14514 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
14515
14516 2012-04-14 Eli Zaretskii <eliz@gnu.org>
14517
14518 * minibuffer.el (completion-in-region-mode-map):
14519 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
14520
14521 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
14522
14523 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
14524
14525 2012-04-13 Masatake YAMATO <yamato@redhat.com>
14526
14527 * minibuffer.el (minibuffer-local-filename-syntax): New variable
14528 to allow `C-M-f' and `C-M-b' to move to the nearest path
14529 separator (bug#9511).
14530
14531 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
14532
14533 * avoid.el: Require cl when compiling. And also move the
14534 `provide' to the end.
14535
14536 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14537
14538 * avoid.el (mouse-avoidance-banish-position): New variable.
14539 (mouse-avoidance-banish-destination): Use it (bug#10165).
14540
14541 2012-04-13 Leo Liu <sdl.web@gmail.com>
14542
14543 * progmodes/which-func.el (which-func-modes): Add objc-mode.
14544
14545 2012-04-13 Ken Brown <kbrown@cornell.edu>
14546
14547 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
14548 this is no longer needed now that cygstart understands file:// URLs.
14549 (browse-url-filename-alist): For the same reason, don't modify
14550 file:// URLs on Cygwin.
14551
14552 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
14553
14554 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
14555 the region on shift if the binding is already shifted (bug#11221).
14556
14557 2012-04-12 Glenn Morris <rgm@gnu.org>
14558
14559 * mail/mailpost.el: Move to obsolete/.
14560
14561 2012-04-12 Drew Adams <drew.adams@oracle.com>
14562
14563 * imenu.el (imenu--generic-function): Ignore invisible definitions
14564 (bug#10123).
14565
14566 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
14567
14568 * hexl.el (hexl-bits): New variable.
14569 (hexl-options): Mention the variable in the doc string.
14570 (hexl-rulerise, hexl-line-displen): New functions.
14571 (hexl-mode): Mention the new variable.
14572 (hexl-mode, hexl-current-address, hexl-current-address):
14573 Use the displen.
14574 (hexl-ascii-start-column): New function.
14575 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
14576 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
14577
14578 2012-04-12 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
14579
14580 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
14581 '("-i" ENCODING), in 2 separate command-line arguments, to specify
14582 the encoding, as expected by hunspell.
14583
14584 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
14585
14586 * battery.el (battery--linux-sysfs-regexp): New const.
14587 (battery-status-function): Use it. Remove yeeloong special case.
14588 (battery-yeeloong-sysfs): Remove.
14589 (battery-echo-area-format): Remove yeeloong special case.
14590
14591 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
14592
14593 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
14594 Reported by Noah Friedman.
14595
14596 * subr.el (read-passwd): Use read-string.
14597
14598 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14599
14600 * vcursor.el (vcursor-move): Increase the priority of the overlay
14601 (bug#9663).
14602
14603 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
14604
14605 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
14606 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
14607
14608 2012-04-11 William Stevenson <yhvh2000@gmail.com>
14609
14610 * textmodes/artist.el (artist-mode): Convert artist-mode to use
14611 define-minor-mode (bug#10760).
14612
14613 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
14614
14615 * progmodes/grep.el (rgrep): Tweak the find command line so
14616 that directories matching `grep-find-ignored-files' won't be
14617 pruned (bug#10351).
14618
14619 2012-04-11 Chong Yidong <cyd@gnu.org>
14620
14621 * startup.el (command-line): Remove support for long-obsolete
14622 variable font-lock-face-attributes.
14623
14624 2012-04-11 Glenn Morris <rgm@gnu.org>
14625
14626 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
14627
14628 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
14629
14630 * window.el (window--state-get-1): Obey window-point-insertion-type.
14631
14632 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
14633
14634 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
14635 to previous function when point is on the first character of a
14636 function. Take care of that in `narrow-to-defun' (bug#6157).
14637
14638 2012-04-11 Glenn Morris <rgm@gnu.org>
14639
14640 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
14641 not just file-errors.
14642
14643 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
14644 (vc-bzr-sha1): Use internal sha1.
14645
14646 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
14647
14648 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
14649
14650 2012-04-10 SĂ©bastien Gross <seb@chezwam.org> (tiny change)
14651
14652 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
14653 that start in the middle of the line (bug#10496).
14654
14655 2012-04-10 Dan Nicolaescu <dann@gnu.org>
14656
14657 * battery.el (battery-linux-proc-acpi): Only one battery is
14658 discharged at a time, but that seems to confuse battery.el when
14659 computing `rate-type' for the battery not being discharged
14660 (bug#10332).
14661
14662 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
14663
14664 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
14665
14666 * international/quail.el: Use dolist and simplify.
14667 (quail-define-package, quail-update-keyboard-layout)
14668 (quail-define-rules): Use dolist.
14669 (quail-insert-kbd-layout, quail-get-translation): CSE.
14670
14671 * tmm.el: Use dolist, remove left over hook.
14672 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
14673 Use dolist.
14674 (calendar-load-hook): Don't mess with it.
14675
14676 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
14677 Use derived-mode-p. Run the diff asynchronously.
14678
14679 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
14680
14681 * obsolete/mouse-sel.el: Add an Obsolete-since header.
14682
14683 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
14684
14685 * misc.el: Display absolute path of loaded DLLs (bug#10424).
14686 (list-dynamic-libraries--loaded): New function.
14687 (list-dynamic-libraries--refresh): Use it.
14688
14689 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
14690
14691 * progmodes/python.el (python-fill-paragraph):
14692 Make python-fill-region in a multiline string work when font-lock is
14693 disabled (bug#7018).
14694
14695 2012-04-10 Laimonas VÄ—bra <laimonas.vebra@gmail.com> (tiny change)
14696
14697 * language/european.el (cp775): Add oem/legacy (en)coding on
14698 DOS/MS Windows for the Baltic languages. There are still plenty
14699 of texts written in this encoding/codepage (bug#6519).
14700
14701 2012-04-10 Glenn Morris <rgm@gnu.org>
14702
14703 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
14704 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
14705
14706 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
14707
14708 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
14709 next-line "n" and previous-line "p" in order to make recentf more
14710 consistent with ibuffer, dired or org-mode (bug#9387).
14711
14712 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
14713
14714 * image.el (put-image): Return the overlay created instead of the
14715 optional input string (bug#7834). Note that this may break code
14716 that is (for some reason or other) depending on `put-image'
14717 returning the string.
14718
14719 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
14720
14721 * simple.el (zap-to-char): Allow zapping using input methods
14722 (bug#1580).
14723
14724 * textmodes/fill.el (fill-region): Leave point and mark where they
14725 were before filling (bug#5399).
14726
14727 2012-04-09 Glenn Morris <rgm@gnu.org>
14728
14729 * version.el (emacs-bzr-get-version):
14730 Handle lightweight checkouts of local branches.
14731
14732 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
14733
14734 * international/characters.el: Recover lost case pairs. (Bug#11209)
14735
14736 2012-04-09 Chong Yidong <cyd@gnu.org>
14737
14738 * custom.el (custom-variable-p): Return nil for non-symbol
14739 arguments instead of signaling an error.
14740 (user-variable-p): Obsolete alias for custom-variable-p.
14741
14742 * apropos.el (apropos-variable):
14743 * files-x.el (read-file-local-variable):
14744 * simple.el (set-variable):
14745 * woman.el (woman-mini-help):
14746 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
14747
14748 2012-04-09 Glenn Morris <rgm@gnu.org>
14749
14750 * startup.el (normal-top-level): Don't look for leim-list.el
14751 in places where it will not be found. (Bug#910)
14752
14753 * international/mule-cmds.el (set-default-coding-systems):
14754 * files.el (normal-mode):
14755 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
14756 This function was removed with ucs-tables.el in 2008.
14757
14758 2012-04-08 Eli Zaretskii <eliz@gnu.org>
14759
14760 * textmodes/ispell.el (ispell-check-version): For hunspell, set
14761 ispell-encoding8-command to "-i", without a trailing space.
14762 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
14763 separate command-line arguments, to specify the encoding, since
14764 that's how hunspell expects it.
14765
14766 2012-04-08 Glenn Morris <rgm@gnu.org>
14767
14768 * loadup.el: Load bindings before cus-start.
14769 This reduces somewhat the number of "rogue" settings in emacs -Q.
14770
14771 2012-04-07 Glenn Morris <rgm@gnu.org>
14772
14773 * version.el (emacs-bzr-get-version): New function.
14774 (emacs-bzr-version): New variable.
14775 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
14776 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
14777
14778 2012-04-07 Eli Zaretskii <eliz@gnu.org>
14779
14780 * international/uni-bidi.el, international/uni-category.el:
14781 * international/uni-combining.el, international/uni-decimal.el:
14782 * international/uni-decomposition.el, international/uni-digit.el:
14783 * international/uni-lowercase.el, international/uni-mirrored.el:
14784 * international/uni-name.el, international/uni-numeric.el:
14785 * international/uni-titlecase.el, international/uni-uppercase.el:
14786 Update for Unicode 6.1.
14787
14788 2012-04-07 Eli Zaretskii <eliz@gnu.org>
14789
14790 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
14791
14792 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
14793
14794 * window.el (shrink-window): Mention the `window-min-height'
14795 variable in the doc string.
14796
14797 2012-04-05 Bastien Guerry <bzg@altern.org>
14798
14799 * color.el (color-lighten-name): Fix typo.
14800
14801 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
14802
14803 * server.el (server--on-display-p): New function.
14804 (server--on-display-p): Use it.
14805
14806 2012-04-04 GĂ¡bor Vida <vidagabor@gmail.com> (tiny change)
14807
14808 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
14809 (bug#11145).
14810
14811 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
14812
14813 * comint.el (comint--common-quoted-suffix): Check string boundary
14814 before comparing (bug#11158).
14815 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
14816
14817 2012-04-04 Chong Yidong <cyd@gnu.org>
14818
14819 * minibuffer.el (completion-extra-properties): Doc fix.
14820
14821 * subr.el (delayed-warnings-hook): Doc fix.
14822
14823 2012-04-04 Daiki Ueno <ueno@unixuser.org>
14824
14825 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
14826 selection (Bug#11159).
14827 (epa-insert-keys): Inform that the default public key will be
14828 exported if no key is selected.
14829
14830 2012-04-04 Richard Stallman <rms@gnu.org>
14831
14832 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
14833
14834 2012-04-03 Chong Yidong <cyd@gnu.org>
14835
14836 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
14837 mail-insert-file, not its obsolete alias mail-attach-file.
14838
14839 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
14840
14841 * notifications.el (notifications-notify): Fix docstring.
14842
14843 2012-04-02 Glenn Morris <rgm@gnu.org>
14844
14845 * emacs-lisp/authors.el (authors-aliases): Another addition.
14846
14847 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
14848
14849 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
14850 `tramp-compat-call-process' instead of `tramp-local-call-process'.
14851 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
14852
14853 2012-04-01 Chong Yidong <cyd@gnu.org>
14854
14855 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
14856 Handle root directory properly.
14857 (copy-directory): Caller changed.
14858
14859 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
14860 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
14861
14862 2012-03-31 Glenn Morris <rgm@gnu.org>
14863
14864 * term/xterm.el (xterm-extra-capabilities): Doc fix.
14865
14866 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
14867
14868 * calendar/calendar.el (calendar-window-list)
14869 (calendar-hide-window): Restore. (Bug#11140)
14870 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
14871
14872 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
14873
14874 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14875
14876 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
14877 Check if file is a symlink (Bug#10489).
14878
14879 * files.el (copy-directory): Likewise.
14880
14881 2012-03-30 Chong Yidong <cyd@gnu.org>
14882
14883 * image.el (imagemagick-types-inhibit)
14884 (imagemagick-register-types): Doc fix.
14885
14886 2012-03-30 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
14887
14888 * textmodes/ispell.el (ispell-get-extended-character-mode):
14889 Disable extended-char-mode for hunspell. hunspell does not support it
14890 and treats ~word as ordinary words in pipe mode.
14891
14892 2012-03-30 Glenn Morris <rgm@gnu.org>
14893
14894 * tutorial.el (help-with-tutorial): Ensure local variables don't
14895 happen to make the buffer read-only. (Bug#11127)
14896
14897 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
14898
14899 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
14900 (perl-calculate-indent): Return `noindent' in strings.
14901
14902 2012-03-28 Sam Steingold <sds@gnu.org>
14903
14904 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
14905 instead of the broken adhockery which does not prevent calendar
14906 buffers from being displayed at random after exit.
14907 (calendar-window-list, calendar-hide-window): Remove the broken
14908 adhockery.
14909
14910 2012-03-28 Glenn Morris <rgm@gnu.org>
14911
14912 * replace.el (query-replace-map): Doc fix.
14913
14914 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
14915
14916 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
14917 contents. (Bug#11109)
14918
14919 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
14920
14921 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
14922 (bug#11077).
14923 (avl-tree--check, avl-tree--check-node): New funs.
14924
14925 2012-03-27 Martin Rudalics <rudalics@gmx.at>
14926
14927 * window.el (switch-to-visible-buffer): New option.
14928 (switch-to-prev-buffer, switch-to-next-buffer):
14929 Observe switch-to-visible-buffer. Make sure that checking for a window
14930 showing a buffer already is done on the same frame.
14931
14932 2012-03-27 Glenn Morris <rgm@gnu.org>
14933
14934 * startup.el (mail-host-address): Doc fix.
14935
14936 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
14937
14938 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
14939 than 197 variables.
14940
14941 2012-03-26 Ami Fischman <ami@fischman.org>
14942
14943 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
14944
14945 2012-03-26 Glenn Morris <rgm@gnu.org>
14946
14947 * files.el (save-buffers-kill-emacs): Doc fix.
14948
14949 * startup.el (normal-top-level, command-line, command-line-1):
14950 Give them doc strings.
14951
14952 2012-03-25 Eli Zaretskii <eliz@gnu.org>
14953
14954 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
14955 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
14956
14957 2012-03-25 Chong Yidong <cyd@gnu.org>
14958
14959 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
14960 theme if it was previously enabled before (Bug#11031).
14961
14962 * cus-theme.el (custom-theme-write-faces): Retrieve current face
14963 spec with custom-face-get-current-spec if its :shown-value is not
14964 determined yet (Bug#9337).
14965 (customize-create-theme, custom-theme-revert): Doc fixes.
14966
14967 * button.el (button-at): Minor addition to docstring.
14968
14969 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
14970
14971 * vc/vc.el (vc-merge): Fix a prompt.
14972
14973 2012-03-24 Chong Yidong <cyd@gnu.org>
14974
14975 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
14976 point (Bug#9623).
14977
14978 * button.el (button-at): Minor addition to docstring.
14979
14980 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
14981
14982 * newcomment.el (comment-choose-indent): No space after BOL.
14983
14984 2012-03-22 Sam Steingold <sds@gnu.org>
14985
14986 * window.el (switch-to-prev-buffer): Revert last patch because the
14987 bug turned out to be an advertised feature (Elisp manual 28.14).
14988
14989 2012-03-22 Glenn Morris <rgm@gnu.org>
14990
14991 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
14992 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
14993
14994 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
14995
14996 * net/network-stream.el (network-stream-open-starttls): Make error
14997 message under Windows be less misleading.
14998
14999 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
15000
15001 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
15002 understands (bug#9942).
15003
15004 2012-03-22 Chong Yidong <cyd@gnu.org>
15005
15006 * simple.el (end-of-visible-line): Handle return value of
15007 next-single-property-change properly (Bug#9371).
15008
15009 2012-03-22 Kenichi Handa <handa@m17n.org>
15010
15011 * international/quail.el (quail-insert-kbd-layout): Fix previous
15012 change. To avoid unwanted bidi reordering, use
15013 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
15014
15015 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
15016
15017 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
15018 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
15019 (ruby-beginning-of-indent): Be more careful with the difference
15020 between word-boundary and symbol boundary.
15021 (ruby-mode-syntax-table): Make : a symbol constituent.
15022
15023 2012-03-21 Andreas Politz <politza@fh-trier.de>
15024
15025 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
15026
15027 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
15028
15029 * progmodes/etags.el (tags-completion-at-point-function):
15030 Improve last fix.
15031
15032 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
15033
15034 2012-03-21 Sam Steingold <sds@gnu.org>
15035
15036 * progmodes/etags.el (tags-completion-at-point-function):
15037 Avoid the error when point is inside the pattern.
15038
15039 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
15040
15041 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
15042 line (Bug#10855).
15043
15044 2012-03-21 Drew Adams <drew.adams@oracle.com>
15045
15046 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
15047
15048 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
15049
15050 * ido.el (ido-set-current-directory, ido-read-internal)
15051 (ido-choose-completion-string, ido-completion-help): Handle nil
15052 value of ido-completion-buffer (Bug#11008).
15053
15054 2012-03-21 Sam Steingold <sds@gnu.org>
15055
15056 * window.el (switch-to-prev-buffer): Do not switch to a visible
15057 window previous buffer, just like with the frame previous buffers.
15058
15059 2012-03-21 Chong Yidong <cyd@gnu.org>
15060
15061 * faces.el (make-face, make-empty-face, copy-face):
15062 * face-remap.el (face-remap-add-relative, face-remap-set-base):
15063 Doc fixes.
15064
15065 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
15066
15067 * wid-edit.el (widget-complete-field): Remove (bug#11051).
15068 (widget-complete): Remove broken use of it.
15069
15070 2012-03-20 Chong Yidong <cyd@gnu.org>
15071
15072 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
15073 Use string-width and truncate-string-width to handle arbitrary
15074 characters.
15075
15076 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
15077
15078 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
15079 to draw rectangles, not squares. (Regression introduced by revno
15080 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
15081
15082 2012-03-18 Chong Yidong <cyd@gnu.org>
15083
15084 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
15085 it is not yet defined (for temacs).
15086
15087 2012-03-18 Leo Liu <sdl.web@gmail.com>
15088
15089 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
15090 prefix.
15091
15092 2012-03-17 Eli Zaretskii <eliz@gnu.org>
15093
15094 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
15095 (ispell-choices-win-default-height, ispell-silently-savep)
15096 (ispell-dictionary-alist, ispell-encoding8-command)
15097 (ispell-check-version, ispell-aspell-find-dictionary)
15098 (ispell-valid-dictionary-list, ispell-words-keyword)
15099 (ispell-get-word, ispell-internal-change-dictionary)
15100 (ispell-region, ispell-skip-region-list)
15101 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
15102 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
15103 (ispell-message-text-end, ispell-message)
15104 (ispell-buffer-local-parsing): Doc fix.
15105
15106 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
15107
15108 * htmlfontify.el: Add support for code block fontification for ODT
15109 export (Bug #9914).
15110 (hfy-optimisations): Define new option
15111 `body-text-only'
15112 (hfy-fontify-buffer): Honor above setting.
15113 (hfy-begin-span, hfy-end-span): New routines factored out form
15114 `hfy-fontify-buffer'.
15115 (hfy-begin-span-handler, hfy-end-span-handler): New variables
15116 that permit insertion of custom tags.
15117 (hfy-fontify-buffer): Use above handlers.
15118 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
15119 (hfy-face-to-css): Re-defined to be a variable.
15120 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
15121 over multiple runs. This is made possible by having the caller let
15122 bind a special variable `hfy-user-sheet-assoc'.
15123 (htmlfontify-string): New defun.
15124 (hfy-compile-face-map): Make sure that the last char in the
15125 buffer is correctly fontified.
15126 (hfy-face-resolve-face): Whitespace only change.
15127
15128 2012-03-17 Eli Zaretskii <eliz@gnu.org>
15129
15130 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
15131 message more clear.
15132
15133 2012-03-16 Leo Liu <sdl.web@gmail.com>
15134
15135 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
15136
15137 2012-03-16 Alan Mackenzie <acm@muc.de>
15138
15139 Further optimize the handling of large macros.
15140
15141 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
15142 limit to a call of `c-literal-limits'.
15143 (c-determine-+ve-limit): New function.
15144 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
15145 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
15146 In CASE 5B, restrict a search limit to 500.
15147 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
15148
15149 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
15150 Restrict macro bounds to +-500 from after-change's BEG END.
15151
15152 2012-03-16 Leo Liu <sdl.web@gmail.com>
15153
15154 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
15155
15156 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
15157
15158 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
15159 `special-mode' setting of `buffer-read-only'. (Bug#11010)
15160
15161 2012-03-16 Glenn Morris <rgm@gnu.org>
15162
15163 * view.el (view-buffer, view-buffer-other-window)
15164 (view-buffer-other-frame): Doc fixes re special mode-class.
15165
15166 * subr.el (eval-after-load): If named feature is provided not from
15167 a file, run after-load forms. (Bug#10946)
15168
15169 * calendar/calendar.el (calendar-insert-at-column):
15170 Handle non-unit-width characters a bit better. (Bug#10978)
15171
15172 2012-03-15 Chong Yidong <cyd@gnu.org>
15173
15174 * emacs-lisp/ring.el (ring-extend): New function.
15175 (ring-insert+extend): Extend the ring correctly (Bug#11019).
15176
15177 * comint.el (comint-read-input-ring)
15178 (comint-add-to-input-history): Grow comint-input-ring lazily.
15179
15180 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
15181
15182 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
15183 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
15184
15185 * imenu.el: Fix multiple inheritance breakage (bug#9199).
15186 (imenu-add-to-menubar): Don't add a redundant index.
15187 (imenu-update-menubar): Handle a dynamically composed keymap.
15188
15189 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
15190
15191 * mail/sendmail.el (mail-encode-header):
15192 Bind rfc2047-encode-encoded-words to nil.
15193
15194 2012-03-13 Glenn Morris <rgm@gnu.org>
15195
15196 * calendar/calendar.el (calendar-string-spread):
15197 Handle non-unit-width characters a bit better. (Bug#10978)
15198
15199 2012-03-13 Leo Liu <sdl.web@gmail.com>
15200
15201 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
15202 directory and file as argument (Bug#10822).
15203
15204 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
15205
15206 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
15207 For dynamically generated code, follow $PC.
15208 (gdb-disassembly-handler-custom): Handle no function name case.
15209
15210 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
15211
15212 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
15213 * emulation/ws-mode.el (ws-query-replace):
15214 * sort.el (sort-regexp-fields):
15215 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
15216
15217 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15218
15219 * dabbrev.el: Fix cycle completion order (bug#10963).
15220 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
15221 (dabbrev-completion): Don't use an obarray; provide
15222 a cycle-sort-function.
15223
15224 2012-03-12 Leo Liu <sdl.web@gmail.com>
15225
15226 * simple.el (kill-new): Use equal-including-properties for comparison.
15227 (kill-do-not-save-duplicates): Doc fix.
15228
15229 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15230
15231 * dabbrev.el: Fix cycle completion (bug#10963).
15232 Use lexical binding and wrap to 80 columns.
15233 (dabbrev-completion): Delay computing the list of completions.
15234
15235 2012-03-12 Kenichi Handa <handa@m17n.org>
15236
15237 * international/quail.el (quail-insert-kbd-layout): Surround each
15238 row by LRO and PDF instead of inserting many LRMs. Pad the left
15239 and right of each non-spacing marks. Insert invisible space
15240 between lower and upper characters to prevent composition.
15241
15242 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15243
15244 * minibuffer.el (minibuffer-complete): Don't get confused when the
15245 function is run twice via different commands (bug#10958).
15246 (complete-with-action): Fix docstring.
15247
15248 2012-03-12 Chong Yidong <cyd@gnu.org>
15249
15250 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
15251 (nxml-completion-at-point-function): New function.
15252 (nxml-mode): Use it.
15253 (nxml-bind-meta-tab-to-complete-flag): Default to t.
15254
15255 * emacs-lisp/package.el (package-unpack, package-unpack-single):
15256 Load generated autoloads file before byte compiling (Bug#10970).
15257 (package--make-autoloads-and-compile): New helper fun.
15258
15259 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
15260
15261 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
15262
15263 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
15264
15265 * autorevert.el (auto-revert-handler): Ensure, that
15266 file-readable-p is applied only for local files or in
15267 auto-revert-tail-mode.
15268
15269 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
15270
15271 * server.el (server-eval-at): Handle non-tcp connections.
15272 Decode result string.
15273
15274 * server.el (server-msg-size): New constant.
15275 (server-reply-print): New function.
15276 (server-eval-and-print): Use it.
15277 (server-eval-at): Use server-quote-arg and server-unquote-arg.
15278 Handle -print-nonl.
15279
15280 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
15281
15282 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
15283 (Bug#10987).
15284
15285 2012-03-11 Chong Yidong <cyd@gnu.org>
15286
15287 * simple.el (goto-line): Doc fix (Bug#9938).
15288
15289 * subr.el (save-window-excursion): Doc fix (Bug#9979).
15290
15291 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
15292 when finished (Bug#10963).
15293
15294 2012-03-11 Martin Rudalics <rudalics@gmx.at>
15295
15296 * window.el (split-window-below): Fix bug in case where
15297 split-window-keep-point is nil (Bug#10971).
15298
15299 2012-03-11 Juri Linkov <juri@jurta.org>
15300
15301 * replace.el (replace-highlight): Set isearch-word to nil
15302 unconditionally. (Bug#10887)
15303
15304 2012-03-10 Eli Zaretskii <eliz@gnu.org>
15305
15306 * net/mairix.el (mairix-replace-invalid-chars): Rename from
15307 mairix-replace-illegal-chars; all callers changed. Don't remove
15308 ^, ~, and = characters: they are meaningful in mairix search specs.
15309 (mairix-widget-create-query): Add usage information about mairix
15310 search forms: negating words, searching for substrings, etc.
15311
15312 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
15313
15314 * international/fontset.el (font-encoding-alist): Add an entry for
15315 ksx1001 (Bug#5667).
15316
15317 2012-03-10 Richard Stallman <rms@gnu.org>
15318
15319 * mail/sendmail.el (mail-encode-header):
15320 Set rfc2047-encode-encoded-words.
15321
15322 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
15323
15324 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
15325 view buffer means not swapped.
15326 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
15327 (rmail-write-region-annotate): Error if real text has disappeared.
15328
15329 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
15330
15331 2012-03-10 Chong Yidong <cyd@gnu.org>
15332
15333 * emulation/cua-rect.el (cua--init-rectangles):
15334 * emulation/cua-base.el (cua--init-keymaps):
15335 Add delete-forward-char to remappings (Bug#9666).
15336
15337 2012-03-10 Martin Rudalics <rudalics@gmx.at>
15338
15339 * speedbar.el (speedbar-unhighlight-one-tag-line):
15340 Avoid unhighlighting due to frame switching (Bug#10275).
15341
15342 2012-03-10 Chong Yidong <cyd@gnu.org>
15343
15344 * minibuffer.el (completion-in-region, completion-help-at-point):
15345 Give the completion field overlay a high priority (Bug#6830).
15346
15347 * dired.el (dired-goto-file): Recognize absolute file name
15348 listings (Bug#7126).
15349 (dired-goto-file-1): New helper function.
15350 (dired-toggle-read-only): Inhibit warnings.
15351
15352 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
15353
15354 * net/dbus.el (dbus-property-handler): Return empty array if
15355 there are no properties.
15356
15357 2012-03-09 Leo Liu <sdl.web@gmail.com>
15358
15359 * savehist.el (savehist-printable): Stricter check for string
15360 value (Bug#10937).
15361
15362 2012-03-09 Eli Zaretskii <eliz@gnu.org>
15363
15364 * mail/smtpmail.el (smtpmail-send-it):
15365 Bind coding-system-for-write to *-unix, so that FCC files are kept in
15366 valid mbox format.
15367
15368 2012-03-09 Glenn Morris <rgm@gnu.org>
15369
15370 * files.el (dir-locals-find-file):
15371 Don't check result is regular, readable.
15372 (dir-locals-read-from-file): Demote errors.
15373
15374 2012-03-08 Eli Zaretskii <eliz@gnu.org>
15375
15376 * international/quail.el (quail-insert-kbd-layout):
15377 Insert invisible LRM characters before each character in a keyboard
15378 layout cell, to prevent their reordering by bidi display engine.
15379 For details, see the discussion in
15380 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
15381
15382 2012-03-08 Alan Mackenzie <acm@muc.de>
15383
15384 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
15385 the starting position; make it extend the marked region when
15386 invoked repeatedly - all under appropriate circumstances.
15387 Fixes bugs #5525, #10906.
15388
15389 2012-03-08 Glenn Morris <rgm@gnu.org>
15390
15391 * files.el (locate-dominating-file, dir-locals-find-file):
15392 Undo 2012-03-06 change.
15393
15394 2012-03-07 Eli Zaretskii <eliz@gnu.org>
15395
15396 * international/quail.el (quail-help):
15397 Force bidi-paragraph-direction be left-to-right. See discussion in
15398 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
15399 for the reason.
15400
15401 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
15402
15403 Avoid superfluous registering of signals. (Bug#10807)
15404
15405 * notifications.el (notifications-on-action-object)
15406 (notifications-on-close-object): New defvars.
15407 (notifications-on-action-signal, notifications-on-closed-signal):
15408 Unregister the signal if not needed any longer.
15409 (notifications-notify): Register `notifications-action-signal' or
15410 `notifications-closed-signal', if :on-action or :on-close has been
15411 passed as argument.
15412
15413 2012-03-07 Chong Yidong <cyd@gnu.org>
15414
15415 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
15416 non-X platforms.
15417
15418 2012-03-06 Glenn Morris <rgm@gnu.org>
15419
15420 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
15421 (x-disown-selection-internal, x-get-selection-internal):
15422 Doc fix (add arglist signatures). (Bug#10783)
15423
15424 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
15425
15426 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
15427 Handle breakpoints with no "type".
15428
15429 2012-03-06 Glenn Morris <rgm@gnu.org>
15430
15431 * files.el (locate-dominating-file): Add optional predicate argument.
15432 (dir-locals-find-file): Make use of above change.
15433
15434 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
15435
15436 * info.el (Info-insert-dir): Also try "dir.gz".
15437
15438 2012-03-06 Glenn Morris <rgm@gnu.org>
15439
15440 * files.el (dir-locals-find-file):
15441 Ignore non-readable or non-regular files. (Bug#10928)
15442
15443 * files.el (locate-dominating-file): Doc fix.
15444
15445 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
15446
15447 * calendar/calendar.el (calendar-set-mode-line):
15448 `getenv' returns a string. (Bug#10951)
15449
15450 2012-03-05 Leo Liu <sdl.web@gmail.com>
15451
15452 * simple.el (backward-delete-char-untabify): Constrain point to
15453 field (Bug#10939).
15454
15455 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
15456
15457 2012-03-05 Chong Yidong <cyd@gnu.org>
15458
15459 * simple.el (count-words): If called from Lisp, return the word
15460 count, for symmetry with `count-lines'. Arglist changed.
15461 (count-words--message): Args changed. Consolidate counting code
15462 from count-words and count-words-region.
15463 (count-words-region): Caller changed.
15464 (count-lines-region): Make it an obsolete alias.
15465
15466 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
15467
15468 * saveplace.el (save-place-to-alist)
15469 (save-place-ignore-files-regexp): Allow value nil to disable this
15470 feature.
15471
15472 2012-03-04 Chong Yidong <cyd@gnu.org>
15473
15474 * faces.el (face-spec-reset-face): For the default face, reset the
15475 attributes to default values (Bug#10748).
15476
15477 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
15478
15479 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
15480 previous patch: Check `message-send-mail-function', and not the
15481 default function (bug#10897).
15482
15483 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
15484
15485 * notifications.el (notifications-on-action-signal)
15486 (notifications-on-closed-signal): Check for unique service name of
15487 incoming event. Fix error in removing entry.
15488 (top): Register for signals with wildcard service name.
15489 (notifications-notify): Use daemon unique service name for map entries.
15490
15491 2012-03-04 Chong Yidong <cyd@gnu.org>
15492
15493 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
15494
15495 2012-03-04 Glenn Morris <rgm@gnu.org>
15496
15497 * abbrev.el (copy-abbrev-table, abbrev-table-p)
15498 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
15499 (expand-abbrev, define-abbrev-table): Doc fixes.
15500
15501 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15502
15503 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
15504 `message-default-send-mail-function' and not `send-mail-function'
15505 when doing the prompting for `sendmail-query-once' before sending
15506 in Message buffers (bug#10897).
15507
15508 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
15509 This is inconsistent with all the other stream functions, which leave
15510 the setting up to the higher levels (if so wanted) (bug#10931).
15511
15512 2012-03-02 Alan Mackenzie <acm@muc.de>
15513
15514 Depessimize the handling of very large macros.
15515
15516 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
15517 (c-macro-cache-syntactic): New variables to implement a one
15518 element macro cache.
15519 (c-invalidate-macro-cache): New function.
15520 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
15521 Adapt to use the new cache.
15522 (c-state-safe-place): Use better the cache of safe positions.
15523 (c-state-semi-nonlit-pos-cache)
15524 (c-state-semi-nonlit-pos-cache-limit):
15525 New variables for...
15526 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
15527 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
15528 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
15529 Use c-state-semi-safe-place.
15530
15531 * progmodes/cc-langs.el (c-get-state-before-change-functions):
15532 Add c-invalidate-macro-cache to the C, C++, Obj entries.
15533
15534 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
15535
15536 * jka-compr.el (jka-compr-call-process):
15537 Apply `file-accessible-directory-p' only when the default directory is
15538 not remote.
15539
15540 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
15541
15542 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
15543 access of FILE2, if FILE1 does not exist.
15544
15545 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
15546 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
15547
15548 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
15549 Add "PAGER=" to `process-environment'.
15550
15551 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
15552
15553 * progmodes/sql.el: Bug fix
15554 (sql-get-login-ext): Save login values in globals.
15555 (sql-get-login): Use new version of `sql-get-login-ext'.
15556 (sql-interactive-mode): Set global `sql-connection' to nil.
15557 (sql-connect): Set global values for connection.
15558 (sql-product-interactive): Save global values as buffer local.
15559
15560 2012-02-29 Leo Liu <sdl.web@gmail.com>
15561
15562 * abbrev.el (define-abbrevs): Reset sys to nil.
15563
15564 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15565
15566 * files.el (file-equal-p): Rename from `files-equal-p'.
15567 Return nil when one or both files don't exist.
15568 (file-subdir-of-p): Now only top directory must exists,
15569 return nil if it doesn't.
15570 (copy-directory): No need to test with `file-subdir-of-p' after
15571 creating dir.
15572 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
15573 to `file-equal-p'.
15574
15575 2012-02-28 Glenn Morris <rgm@gnu.org>
15576
15577 * shell.el (shell-mode):
15578 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
15579 * play/landmark.el (landmark-font-lock-face-O):
15580 * play/handwrite.el (handwrite):
15581 * play/gomoku.el (gomoku-O):
15582 * net/browse-url.el (browse-url-browser-display):
15583 * international/mule.el (define-charset):
15584 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
15585 * filesets.el (filesets-find-file-delay):
15586 * eshell/em-xtra.el (eshell-xtra):
15587 * eshell/em-unix.el (eshell-grep):
15588 * emulation/viper.el (viper-mode):
15589 * emacs-lisp/regexp-opt.el (regexp-opt-group):
15590 * emacs-lisp/easymenu.el (easy-menu-define):
15591 * calendar/timeclock.el (timeclock-use-display-time):
15592 * bs.el (bs-mode):
15593 * bookmark.el (bookmark-save-flag):
15594 Doc fix (standardize possessive apostrophe usage).
15595
15596 2012-02-27 Chong Yidong <cyd@gnu.org>
15597
15598 * emulation/viper-cmd.el (viper-intercept-ESC-key):
15599 Fix key-binding lookup for ESC key (Bug#9146).
15600
15601 * font-lock.el (font-lock-specified-p): Rename from
15602 font-lock-spec-present. Callers changed.
15603
15604 2012-02-27 Daniel Hackney <dan@haxney.org>
15605
15606 * emacs-lisp/package.el (package-compute-transaction):
15607 Handle holding a package version to t in package-load-list.
15608
15609 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
15610
15611 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
15612 (tramp-get-inode, tramp-get-device): Use cached values.
15613
15614 2012-02-26 Alan Mackenzie <acm@muc.de>
15615
15616 Check there is a font-lock specification before doing initial
15617 fontification.
15618
15619 * font-core.el (font-lock-mode): Move the conditional from
15620 :after-hook to font-lock-initial-fontify.
15621 (font-lock-default-function): Move the check for a specification
15622 to font-lock-spec-present.
15623
15624 * font-lock.el (font-lock-initial-fontify): Call ...
15625 (font-lock-spec-present): New function.
15626
15627 2012-02-26 Jim Blandy <jimb@red-bean.com>
15628
15629 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
15630 (gdb-send): Apply it to the operand of the '-interpreter-exec
15631 console' command, so that we can pass arguments with (say) quotes
15632 in them. Store exact string sent in gdb-debug-log (Bug#10765).
15633
15634 2012-02-26 Chong Yidong <cyd@gnu.org>
15635
15636 * help-fns.el (describe-function-1): Clarify description of
15637 remapping (Bug#10844).
15638
15639 * files.el (files-equal-p): Doc fix.
15640 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
15641 and quit the loop once a mismatch is found.
15642
15643 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
15644
15645 * bs.el (bs--show-with-configuration): Don't throw an error
15646 if the window cannot be split; otherwise, subsequent calls to
15647 bs-show fail, restoring a stale window config. (Bug#10882)
15648
15649 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
15650
15651 * term/ns-win.el (global-map): Bind ns-drag-file to
15652 ns-find-file (Bug#5855, Bug#10050).
15653
15654 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
15655
15656 * calendar/parse-time.el (parse-time-string): Allow extractor to
15657 return nil.
15658
15659 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
15660
15661 * net/tramp.el (tramp-file-name-for-operation):
15662 Add `files-equal-p' and `file-subdir-of-p'.
15663
15664 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
15665 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
15666 Add COPY-CONTENTS argument.
15667
15668 2012-02-25 Chong Yidong <cyd@gnu.org>
15669
15670 Add custom groups for VC backends, for consistency with vc-bzr.
15671
15672 * vc/vc-arch.el (vc-arch):
15673 * vc/vc-cvs.el (vc-cvs):
15674 * vc/vc-git.el (vc-git):
15675 * vc/vc-hg.el (vc-hg):
15676 * vc/vc-mtn.el (vc-mtn):
15677 * vc/vc-rcs.el (vc-rcs):
15678 * vc/vc-sccs.el (vc-sccs):
15679 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
15680 All relevant defcustoms reassigned.
15681
15682 2012-02-25 Chong Yidong <cyd@gnu.org>
15683
15684 * newcomment.el (comment-styles): Add autoload (Bug#10868).
15685
15686 * term/x-win.el (x-initialize-window-system): Reduce default for
15687 x-selection-timeout to 5 seconds (Bug#8869).
15688
15689 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15690
15691 * files.el (files-equal-p, file-subdir-of-p): New functions.
15692 (copy-directory): Error when trying to copy a directory on itself.
15693 Add missing copy-contents arg to tramp handler.
15694 * dired-aux.el (dired-copy-file-recursive): Same.
15695 (dired-create-files): Modify destination when source is equal to
15696 dest when copying files.
15697 Return also when dest is a subdir of source. (Bug#10489)
15698
15699 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
15700
15701 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
15702 (Bug#10874)
15703
15704 2012-02-23 Alan Mackenzie <acm@muc.de>
15705
15706 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
15707 parameter "after-hook:" to allow the expansion to run code after
15708 the execution of the mode hooks.
15709
15710 * font-lock.el (font-lock-initial-fontify): New function extracted
15711 from font-lock-mode-internal.
15712
15713 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
15714 :after-hook.
15715
15716 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
15717
15718 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
15719 (completion--cache-all-sorted-completions): New function.
15720 (completion-all-sorted-completions): Use it.
15721 (completion--do-completion, minibuffer-force-complete):
15722 Use it to re-instate the flush hook.
15723
15724 * icomplete.el (icomplete-completions): Replace last fix with a better
15725 one (bug#10850).
15726
15727 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
15728
15729 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
15730 when it might call us back infinitely (bug#10797).
15731
15732 2012-02-23 Glenn Morris <rgm@gnu.org>
15733
15734 * minibuffer.el (completion-category-overrides): Doc fix.
15735
15736 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
15737
15738 * minibuffer.el (completion-table-with-context): Fix inf-loop.
15739 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
15740
15741 2012-02-23 Glenn Morris <rgm@gnu.org>
15742
15743 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
15744 (authors-obsolete-files-regexps, authors-ignored-files)
15745 (authors-ambiguous-files, authors-renamed-files-alist):
15746 Add more entries.
15747
15748 2012-02-23 Juri Linkov <juri@jurta.org>
15749
15750 * isearch.el (isearch-occur): Sync interactive spec with occur's
15751 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
15752
15753 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
15754
15755 2012-02-22 Juri Linkov <juri@jurta.org>
15756
15757 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
15758 (ucs-insert): Doc fix. Check for hex digits in the string.
15759 Don't display `nil' in the error message. (Bug#10857)
15760
15761 2012-02-22 Alan Mackenzie <acm@muc.de>
15762
15763 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
15764
15765 2012-02-22 Glenn Morris <rgm@gnu.org>
15766
15767 * ffap.el (ffap-c-path):
15768 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
15769
15770 2012-02-22 Chong Yidong <cyd@gnu.org>
15771
15772 * custom.el (load-theme): Doc fix.
15773
15774 2012-02-22 Glenn Morris <rgm@gnu.org>
15775
15776 * dired-x.el (dired-guess-shell-alist-default):
15777 Remove escape sequences from nroff output. (Bug#172)
15778
15779 2012-02-21 Glenn Morris <rgm@gnu.org>
15780
15781 * vc/emerge.el (emerge-defvar-local):
15782 Set `permanent-local' property rather than unused `preserved'.
15783
15784 * textmodes/picture.el (picture-delete-char): New alias.
15785 (picture-mode-map): Use it. (Bug#10860)
15786 (picture-mode): Doc fix.
15787
15788 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
15789
15790 * newcomment.el (uncomment-region-default): Remove unused binding.
15791
15792 2012-02-21 Glenn Morris <rgm@gnu.org>
15793
15794 * textmodes/picture.el (picture-motion, picture-motion-reverse)
15795 (picture-self-insert, picture-tab-chars): Doc fix.
15796 (picture-mode-map): Fix C-a, C-e.
15797
15798 2012-02-20 Glenn Morris <rgm@gnu.org>
15799
15800 * emacs-lisp/authors.el (authors-aliases): Add another entry.
15801
15802 2012-02-20 Leo Liu <sdl.web@gmail.com>
15803
15804 * icomplete.el (icomplete-completions): Check FROM arg before
15805 passing to substring (Bug#10850).
15806
15807 2012-02-19 Chong Yidong <cyd@gnu.org>
15808
15809 * comint.el: Require ansi-color.
15810 (comint-output-filter-functions): Add ansi-color-process-output.
15811
15812 * ansi-color.el: Don't set comint-output-filter-functions; it is
15813 now in the initial value defined in comint.el.
15814 (ansi-color-apply-face-function): New variable.
15815 (ansi-color-apply-on-region): Use it.
15816 (ansi-color-apply-overlay-face): New function.
15817
15818 * shell.el (shell): No need to require ansi-color.
15819 (shell-mode): Use ansi-color-apply-face-function to highlight
15820 color escapes using font-lock-face property (Bug#10835).
15821
15822 2012-02-19 Chong Yidong <cyd@gnu.org>
15823
15824 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
15825 mode-line formats (Bug#10839).
15826
15827 2012-02-18 Glenn Morris <rgm@gnu.org>
15828
15829 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
15830
15831 * mail/undigest.el (unforward-rmail-message): Doc fix.
15832
15833 * saveplace.el (save-place-ignore-files-regexp): Add :version.
15834
15835 2012-02-18 Eli Zaretskii <eliz@gnu.org>
15836
15837 * international/characters.el (script-list): Sync with the latest
15838 Unicode Character Database.
15839
15840 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
15841
15842 * international/titdic-cnv.el: Remove duplicate coding tag.
15843 * language/cham.el: Likewise.
15844 * language/tai-viet.el: Likewise.
15845
15846 2012-02-18 Glenn Morris <rgm@gnu.org>
15847
15848 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
15849 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
15850 (calendar-bahai-all-holidays-flag, calendar-other-dates):
15851 * calendar/diary-lib.el (diary-abbreviated-year-flag):
15852 * calendar/holidays.el (holiday-bahai-holidays)
15853 (calendar-holidays, list-holidays):
15854 Use utf-8 BahĂ¡'Ă­ in doc-strings, menus, etc.
15855
15856 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
15857
15858 * saveplace.el (save-place-ignore-files-regexp): New variable
15859 allowing for excluding files from saving their location of point.
15860 The default value matches the temporary commit message editing
15861 files from Git, SVN, Bazaar, and Mercurial.
15862 (save-place-to-alist): Use it.
15863
15864 2012-02-17 Lawrence Mitchell <wence@gmx.li>
15865 Stefan Monnier <monnier@iro.umontreal.ca>
15866
15867 * newcomment.el (uncomment-region-default): Don't leave extra space
15868 when an arg is provided (bug#8150).
15869
15870 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
15871
15872 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
15873
15874 2012-02-17 Glenn Morris <rgm@gnu.org>
15875
15876 * net/socks.el: Require network-stream. (Bug#10599)
15877
15878 2012-02-17 Kenichi Handa <handa@m17n.org>
15879
15880 * international/charprop.el:
15881 * international/uni-name.el:
15882 * international/uni-old-name.el:
15883 * international/uni-comment.el: Regenerate.
15884
15885 2012-02-16 Glenn Morris <rgm@gnu.org>
15886
15887 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
15888 Interactively in calendar buffer, give an error if not on a date.
15889
15890 2012-02-15 Glenn Morris <rgm@gnu.org>
15891
15892 * shell.el (shell-delimiter-argument-list):
15893 Revert 2011-02-17 change. (Bug#8027)
15894
15895 2012-02-15 Chong Yidong <cyd@gnu.org>
15896
15897 * minibuffer.el (completion-at-point-functions): Doc fix.
15898
15899 * custom.el (defcustom): Doc fix; note use of defvar.
15900
15901 2012-02-15 Glenn Morris <rgm@gnu.org>
15902
15903 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
15904 Doc fixes.
15905
15906 2012-02-14 Glenn Morris <rgm@gnu.org>
15907
15908 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
15909
15910 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
15911
15912 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
15913 way the ports list is computed.
15914 (smtpmail-query-smtp-server): Prompt the user for a port number if
15915 we can't connect to any of the standard ports (bug#10810).
15916
15917 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
15918
15919 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
15920
15921 2012-02-13 Glenn Morris <rgm@gnu.org>
15922
15923 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
15924
15925 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
15926
15927 * net/gnutls.el (gnutls-trustfiles): New variable.
15928 (gnutls-negotiate): Use it.
15929
15930 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
15931
15932 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
15933 does its stuff if Gnus is running.
15934
15935 2012-02-13 Alan Mackenzie <acm@muc.de>
15936
15937 Fix a loop in c-set-fl-decl-start.
15938
15939 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
15940 c-backward-syntactic-ws actually moves backwards.
15941
15942 2012-02-13 Leo Liu <sdl.web@gmail.com>
15943
15944 * net/rcirc.el (rcirc-markup-attributes): Move point to the
15945 beginning so that all \C-o chars are removed.
15946
15947 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
15948
15949 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
15950
15951 2012-02-12 Alan Mackenzie <acm@muc.de>
15952
15953 Fix infinite loop with long macros.
15954 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
15955
15956 2012-02-12 Chong Yidong <cyd@gnu.org>
15957
15958 * window.el (display-buffer): Doc fix (Bug#10785).
15959
15960 2012-02-12 Glenn Morris <rgm@gnu.org>
15961
15962 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
15963 (x-disown-selection-internal, x-get-selection-internal):
15964 Sync docs with the xselect.c versions.
15965
15966 * allout-widgets.el: Add missing license notice.
15967
15968 2012-02-11 Glenn Morris <rgm@gnu.org>
15969
15970 * select.el (x-get-selection-internal, x-own-selection-internal)
15971 (x-disown-selection-internal):
15972 * x-dnd.el (x-get-selection-internal): Update declarations.
15973
15974 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
15975
15976 * window.el (window-sides-slots):
15977 * tool-bar.el (tool-bar-position):
15978 * term/xterm.el (xterm-extra-capabilities):
15979 * ses.el (ses-self-reference-early-detection):
15980 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
15981 (verilog-auto-wire-type)
15982 (verilog-auto-delete-trailing-whitespace)
15983 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
15984 (verilog-auto-tieoff-declaration):
15985 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
15986 (sql-oracle-statement-starters, sql-oracle-scan-on):
15987 * progmodes/prolog.el (prolog-align-comments-flag)
15988 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
15989 (prolog-left-indent-regexp, prolog-paren-indent-p)
15990 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
15991 (prolog-types, prolog-mode-specificators)
15992 (prolog-determinism-specificators, prolog-directives)
15993 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
15994 (prolog-electric-dot-flag)
15995 (prolog-electric-dot-full-predicate-template)
15996 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
15997 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
15998 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
15999 (prolog-program-switches, prolog-prompt-regexp)
16000 (prolog-debug-on-string, prolog-debug-off-string)
16001 (prolog-trace-on-string, prolog-trace-off-string)
16002 (prolog-zip-on-string, prolog-zip-off-string)
16003 (prolog-use-standard-consult-compile-method-flag)
16004 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
16005 (prolog-imenu-max-lines, prolog-info-predicate-index)
16006 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
16007 (prolog-char-quote-workaround):
16008 * progmodes/cc-vars.el (c-defun-tactic):
16009 * net/tramp.el (tramp-encoding-command-interactive)
16010 (tramp-local-end-of-line):
16011 * net/soap-client.el (soap-client):
16012 * net/netrc.el (netrc-file):
16013 * net/gnutls.el (gnutls):
16014 * minibuffer.el (completion-category-overrides)
16015 (completion-cycle-threshold)
16016 (completion-pcm-complete-word-inserts-delimiters):
16017 * man.el (Man-name-local-regexp):
16018 * mail/feedmail.el (feedmail-display-full-frame):
16019 * international/characters.el (glyphless-char-display-control):
16020 * eshell/em-ls.el (eshell-ls-date-format):
16021 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
16022 (lisp-lambda-list-keyword-parameter-indentation)
16023 (lisp-lambda-list-keyword-parameter-alignment):
16024 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
16025 * dired-x.el (dired-omit-verbose):
16026 * cus-theme.el (custom-theme-allow-multiple-selections):
16027 * calc/calc.el (calc-highlight-selections-with-faces)
16028 (calc-lu-field-reference, calc-lu-power-reference)
16029 (calc-note-threshold):
16030 * battery.el (battery-mode-line-limit):
16031 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
16032 (archive-7z-update):
16033 * allout.el (allout-prefixed-keybindings)
16034 (allout-unprefixed-keybindings)
16035 (allout-inhibit-auto-fill-on-headline)
16036 (allout-flattened-numbering-abbreviation):
16037 * allout-widgets.el (allout-widgets-auto-activation)
16038 (allout-widgets-icons-dark-subdir)
16039 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
16040 (allout-widgets-theme-dark-background)
16041 (allout-widgets-theme-light-background)
16042 (allout-widgets-item-image-properties-emacs)
16043 (allout-widgets-item-image-properties-xemacs)
16044 (allout-widgets-run-unit-tests-on-load)
16045 (allout-widgets-time-decoration-activity)
16046 (allout-widgets-hook-error-post-time)
16047 (allout-widgets-track-decoration):
16048 Add missing :version tags to new defcustoms and defgroups.
16049
16050 * progmodes/sql.el (sql-ansi-statement-starters)
16051 (sql-oracle-statement-starters): Add custom type.
16052
16053 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
16054 (prolog-system-version): Give it a type.
16055
16056 2012-02-11 Eli Zaretskii <eliz@gnu.org>
16057
16058 * term/pc-win.el (x-select-text, x-selection-owner-p)
16059 (x-own-selection-internal, x-disown-selection-internal)
16060 (x-get-selection-internal): Sync doc strings and argument lists
16061 with xselect.c, common-win.el and x-win.el. (Bug#10783)
16062
16063 2012-02-11 Leo Liu <sdl.web@gmail.com>
16064
16065 * progmodes/python.el (python-end-of-statement): Fix infinite
16066 loop. (Bug#10788)
16067
16068 2012-02-10 Glenn Morris <rgm@gnu.org>
16069
16070 * international/mule-cmds.el (unify-8859-on-encoding-mode)
16071 (unify-8859-on-decoding-mode): Properly mark as obsolete.
16072
16073 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
16074
16075 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
16076 about SMTP before checking the From header.
16077
16078 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
16079 into own function for reuse by emacsbug.el.
16080
16081 2012-02-10 Leo Liu <sdl.web@gmail.com>
16082
16083 * subr.el (condition-case-unless-debug): Rename from
16084 condition-case-no-debug. All callers changed.
16085 (with-demoted-errors): Fix caller.
16086
16087 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
16088 * nxml/rng-valid.el (rng-do-some-validation):
16089 * emacs-lisp/package.el (package-refresh-contents)
16090 (package-menu-execute):
16091 * desktop.el (desktop-create-buffer):
16092 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
16093
16094 2012-02-10 Glenn Morris <rgm@gnu.org>
16095
16096 * textmodes/bibtex.el:
16097 Add missing :version tags for new/changed defcustoms.
16098
16099 * files.el (remote-file-name-inhibit-cache): Doc fixes.
16100
16101 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
16102
16103 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
16104 (smtpmail-via-smtp): Use it, or fall back on the From address.
16105 (smtpmail-send-it): Ditto.
16106
16107 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
16108
16109 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
16110 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
16111 (byte-compile-tmp-var): New const.
16112 (byte-compile-defvar): Use it to minimize .elc size.
16113 Just use `defvar' rather than simulate it (bug#10761).
16114
16115 2012-02-09 Glenn Morris <rgm@gnu.org>
16116
16117 * files.el (rename-uniquely): Doc fix. (Bug#3806)
16118
16119 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
16120 Add :version tags.
16121
16122 * progmodes/compile.el (compilation-error-screen-columns)
16123 (compilation-first-column, compilation-filter-start): Doc fixes.
16124
16125 * vc/log-view.el (log-view-toggle-entry-display):
16126 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
16127
16128 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
16129 (report-emacs-bug-can-use-xdg-email):
16130 (report-emacs-bug-insert-to-mailer): Doc fixes.
16131 (report-emacs-bug): Message fix.
16132
16133 * net/browse-url.el (browse-url-can-use-xdg-open)
16134 (browse-url-xdg-open): Doc fixes.
16135
16136 * electric.el (electric-indent-mode, electric-pair-mode)
16137 (electric-layout-rules, electric-layout-mode): Doc fixes.
16138 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
16139
16140 2012-02-08 Martin Rudalics <rudalics@gmx.at>
16141
16142 * server.el (server-unselect-display): Don't inadvertently kill
16143 the current buffer. (Bug#10729)
16144
16145 2012-02-08 Glenn Morris <rgm@gnu.org>
16146
16147 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
16148 (sql-list-table): Doc fixes.
16149
16150 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
16151 Comment out (does nothing).
16152
16153 * completion.el (dynamic-completion-mode):
16154 * dirtrack.el (dirtrack-debug-mode):
16155 * electric.el (electric-layout-mode):
16156 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
16157 * face-remap.el (text-scale-mode, buffer-face-mode):
16158 * iimage.el (iimage-mode):
16159 * image-mode.el (image-transform-mode):
16160 * minibuffer.el (completion-in-region-mode):
16161 * scroll-lock.el (scroll-lock-mode):
16162 * simple.el (next-error-follow-minor-mode):
16163 * tar-mode.el (tar-subfile-mode):
16164 * tooltip.el (tooltip-mode):
16165 * vcursor.el (vcursor-use-vcursor-map):
16166 * wid-browse.el (widget-minor-mode):
16167 * emulation/tpu-edt.el (tpu-edt-mode):
16168 * emulation/tpu-extras.el (tpu-cursor-free-mode):
16169 * international/iso-ascii.el (iso-ascii-mode):
16170 * language/thai-util.el (thai-word-mode):
16171 * mail/supercite.el (sc-minor-mode):
16172 * net/goto-addr.el (goto-address-mode):
16173 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
16174 * progmodes/cwarn.el (cwarn-mode):
16175 * progmodes/flymake.el (flymake-mode):
16176 * progmodes/glasses.el (glasses-mode):
16177 * progmodes/hideshow.el (hs-minor-mode):
16178 * progmodes/pascal.el (pascal-outline-mode):
16179 * textmodes/enriched.el (enriched-mode):
16180 * vc/smerge-mode.el (smerge-mode):
16181 Doc fixes (minor mode argument).
16182
16183 2012-02-07 Eli Zaretskii <eliz@gnu.org>
16184
16185 * ls-lisp.el (ls-lisp-sanitize): New function.
16186 (ls-lisp-insert-directory): Use it to fix or remove any elements
16187 in file-alist with missing attributes. (Bug#4673)
16188
16189 2012-02-07 Alan Mackenzie <acm@muc.de>
16190
16191 Fix spurious recognition of c-in-knr-argdecl.
16192
16193 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
16194 putative K&R region.
16195
16196 2012-02-07 Alan Mackenzie <acm@muc.de>
16197
16198 * progmodes/cc-engine.el (c-forward-objc-directive):
16199 Prevent looping in "#pragma mark @implementation".
16200
16201 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
16202
16203 * notifications.el (notifications-on-closed-signal): Make `reason'
16204 optional. (Bug#10744)
16205
16206 2012-02-07 Glenn Morris <rgm@gnu.org>
16207
16208 * emacs-lisp/easy-mmode.el (define-minor-mode):
16209 Doc fixes for the macro and the mode it defines.
16210
16211 * image.el (imagemagick-types-inhibit): Doc fix.
16212
16213 * cus-start.el (imagemagick-render-type): Add it.
16214
16215 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
16216
16217 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
16218 Set the default at load time, too, so that `font-lock-fontify-buffer'
16219 can be called without setting up the entire mode first. This fixes
16220 a bug in `mm-inline-text' with C MIME parts.
16221
16222 2012-02-06 Chong Yidong <cyd@gnu.org>
16223
16224 * simple.el (list-processes--refresh): Delete exited processes
16225 (Bug#8094).
16226
16227 * comint.el (comint-next-prompt): next-single-char-property-change
16228 and prev-single-char-property-change never return nil (Bug#8657).
16229
16230 * custom.el (defcustom): Doc fix (Bug#9711).
16231
16232 2012-02-05 Chong Yidong <cyd@gnu.org>
16233
16234 * cus-edit.el (custom-variable-reset-backup): Quote the value
16235 before storing it in the customized-value property (Bug#6712).
16236 (custom-display): Add a customization type tag.
16237 (custom-buffer-create-internal): Improve tooltip message.
16238
16239 * wid-edit.el (widget-field-value-get): New optional arg to
16240 suppress trailing whitespace truncation.
16241 (character): Use it (Bug#2689).
16242
16243 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
16244
16245 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
16246 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
16247
16248 2012-02-05 Chong Yidong <cyd@gnu.org>
16249
16250 * cus-edit.el (custom-variable-value-create): For mismatched
16251 types, show the current value (Bug#7600).
16252
16253 * custom.el (defcustom): Doc fix.
16254
16255 2012-02-05 Glenn Morris <rgm@gnu.org>
16256
16257 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
16258
16259 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
16260
16261 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
16262 (pp-buffer): Use `ignore-errors', `looking-at-p'.
16263 (pp-last-sexp): Use `looking-at-p'.
16264
16265 2012-02-04 Glenn Morris <rgm@gnu.org>
16266
16267 * files.el (revert-buffer):
16268 Doc fix (mention revert-buffer-in-progress-p).
16269
16270 * emacs-lisp/ert-x.el (ert-simulate-command):
16271 Check deferred-action-list (which is obsolete) is bound.
16272
16273 * subr.el (with-wrapper-hook): Doc fixes.
16274
16275 * simple.el (filter-buffer-substring-functions)
16276 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
16277
16278 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
16279
16280 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
16281 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
16282
16283 2012-02-04 Leo Liu <sdl.web@gmail.com>
16284
16285 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
16286
16287 2012-02-04 Glenn Morris <rgm@gnu.org>
16288
16289 * image.el (image-extension-data): Add obsolete alias.
16290
16291 * isearch.el (isearch-update): Doc fix.
16292
16293 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
16294
16295 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
16296
16297 2012-02-03 Glenn Morris <rgm@gnu.org>
16298
16299 * image.el (image-animated-p): Doc fix. Use image-animated-types.
16300 (image-animate-timeout): Doc fix.
16301
16302 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
16303
16304 2012-02-02 Glenn Morris <rgm@gnu.org>
16305
16306 * server.el (server-auth-dir): Doc fix.
16307 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
16308
16309 * subr.el (run-mode-hooks): Doc fix.
16310
16311 2012-02-02 Juri Linkov <juri@jurta.org>
16312
16313 * image-mode.el (image-toggle-display-image): Remove tautological
16314 `major-mode' from the `derived-mode-p' test.
16315
16316 2012-02-02 Kenichi Handa <handa@m17n.org>
16317
16318 * composite.el (compose-region): Cancel previous change.
16319
16320 2012-02-02 Kenichi Handa <handa@m17n.org>
16321
16322 * composite.el (compose-region, compose-string): Signal error for
16323 a null string component (Bug#6988).
16324
16325 2012-02-01 Chong Yidong <cyd@gnu.org>
16326
16327 * view.el (view-buffer-other-window, view-buffer-other-frame):
16328 Handle special modes like view-buffer (Bug#10650).
16329 (view-buffer): Simplify.
16330
16331 * frame.el (set-frame-font): Tweak meaning of third argument.
16332
16333 * dynamic-setting.el (font-setting-change-default-font):
16334 Use set-frame-font (Bug#9982).
16335
16336 2012-02-01 Glenn Morris <rgm@gnu.org>
16337
16338 * progmodes/compile.el (compilation-internal-error-properties):
16339 Respect compilation-first-column in the "*compilation*" buffer.
16340
16341 * emacs-lisp/easy-mmode.el (define-minor-mode):
16342 Relax :variable's test for a named function.
16343
16344 2012-01-31 Alan Mackenzie <acm@muc.de>
16345
16346 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
16347 off by one error.
16348
16349 2012-01-31 Chong Yidong <cyd@gnu.org>
16350
16351 * frame.el (set-frame-font): New arg ALL-FRAMES.
16352
16353 * menu-bar.el (menu-set-font): Use set-frame-font.
16354
16355 * faces.el (face-spec-reset-face): Don't apply unspecified
16356 attribute values to the default face.
16357
16358 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
16359
16360 * progmodes/cwarn.el (cwarn): Remove dead link.
16361 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
16362 Remove * from defcustom docstrings.
16363 (turn-on-cwarn-mode): Make obsolete.
16364 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
16365 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
16366
16367 2012-01-31 Glenn Morris <rgm@gnu.org>
16368
16369 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
16370 Fix :variable handling of mode a symbol not equal to modefun.
16371 Allow named functions to be used as the cdr of :variable.
16372
16373 2012-01-30 Glenn Morris <rgm@gnu.org>
16374
16375 * emacs-lisp/authors.el (authors-fixed-entries):
16376 Remove reference to deleted file rnewspost.el.
16377
16378 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
16379
16380 * window.el (window-with-parameter): Remove unused variable `windows'.
16381 (window--side-check): Remove unused variable `code'.
16382 (window--resize-siblings): Remove unused variable `first'.
16383 (adjust-window-trailing-edge): Remove unused variable `failed'.
16384 (window-deletable-p, window--delete): Remove unused variable `buffer'.
16385 Use `let', not `let*'.
16386 (balance-windows-2): Remove unused variable `found'.
16387 (window--state-put-2): Remove unused variable `splits'.
16388 (window-state-put): Remove unused variable `selected'.
16389 (same-window-p): Use `string-match-p'.
16390 (display-buffer-assq-regexp): Remove unused variable `value'.
16391 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
16392 Mark argument ALIST as ignored.
16393 (pop-to-buffer): Remove unused variable `old-window'.
16394
16395 2012-01-29 Eli Zaretskii <eliz@gnu.org>
16396
16397 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
16398 and .lzma compressed files.
16399
16400 2012-01-29 Chong Yidong <cyd@gnu.org>
16401
16402 * frame.el (window-system-default-frame-alist): Doc fix.
16403
16404 * dynamic-setting.el (font-setting-change-default-font): Don't
16405 change the default face if SET-FONT argument is non-nil (Bug#9982).
16406
16407 2012-01-29 Samuel Bronson <naesten@gmail.com>
16408
16409 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
16410
16411 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
16412
16413 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
16414 breakpoints in files outside current directory (Bug#6098).
16415
16416 2012-01-29 Chong Yidong <cyd@gnu.org>
16417
16418 * progmodes/python.el: Require ansi-color at top-level.
16419
16420 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
16421 Define and use in Emacs Lisp mode (Bug#9360).
16422 (lisp-mode-abbrev-table): Add doc.
16423 (lisp-mode-variables): Don't set local-abbrev-table.
16424 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
16425
16426 2012-01-28 Roland Winkler <winkler@gnu.org>
16427
16428 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
16429
16430 2012-01-28 Roland Winkler <winkler@gnu.org>
16431
16432 * textmodes/bibtex.el (bibtex-entry-alist): New function.
16433 (bibtex-set-dialect): Use it. Either set global values of
16434 dialect-dependent variables or bind these variables buffer-locally
16435 (Bug#10254).
16436 (bibtex-mode): Call bibtex-set-dialect via
16437 hack-local-variables-hook.
16438 (bibtex-dialect): Update docstring.
16439 Add safe-local-variable predicate.
16440 (bibtex-entry-alist, bibtex-field-alist): Initialize via
16441 bibtex-set-dialect.
16442 (bibtex-mode-map): Define menu for each dialect.
16443 (bibtex-entry): Fix docstring.
16444
16445 2012-01-28 Chong Yidong <cyd@gnu.org>
16446
16447 * eshell/esh-arg.el (eshell-quote-argument): New function.
16448
16449 * eshell/esh-ext.el (eshell-invoke-batch-file):
16450 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
16451 first arg to eshell-parse-command (Bug#10523).
16452
16453 2012-01-28 Drew Adams <drew.adams@oracle.com>
16454
16455 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
16456 `default-directory' is non-nil.
16457
16458 2012-01-28 Eli Zaretskii <eliz@gnu.org>
16459
16460 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
16461 line that displays system-configuration-options. (Bug#9924)
16462
16463 2012-01-28 Drew Adams <drew.adams@oracle.com>
16464
16465 * descr-text.el (describe-char): Show information about POS, in
16466 addition to information about the character at POS. Improve and
16467 update the doc string. Change "code point" to "code point in
16468 charset", to avoid confusion with the character's Unicode code
16469 point shown above that. (Bug#10129)
16470
16471 2012-01-28 Eli Zaretskii <eliz@gnu.org>
16472
16473 * descr-text.el (describe-char): Show the raw character, not only
16474 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
16475 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
16476 for the reasons.
16477
16478 2012-01-28 Phil Hagelberg <phil@hagelb.org>
16479
16480 * emacs-lisp/package.el (package-install):
16481 Run package-refresh-contents if there is no archive yet (Bug#9798).
16482
16483 2012-01-28 Chong Yidong <cyd@gnu.org>
16484
16485 * emacs-lisp/package.el (package-maybe-load-descriptor):
16486 New function, split from package-maybe-load-descriptor.
16487 (package-maybe-load-descriptor): Use it.
16488 (package-download-transaction): Fully load required packages
16489 inside the loop, so that `require' calls work (Bug#10593).
16490 (package-install): No need to call package-initialize now.
16491
16492 2012-01-28 Chong Yidong <cyd@gnu.org>
16493
16494 * simple.el (deactivate-mark): Doc fix (Bug#8614).
16495
16496 * tooltip.el (tooltip-mode): Doc fix.
16497 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
16498
16499 * frame.el (set-cursor-color): Doc fix (Bug#352).
16500
16501 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
16502 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
16503
16504 * cus-edit.el (custom-buffer-create-internal): Fix search button
16505 action (Bug#10542).
16506 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
16507
16508 2012-01-27 Eduard Wiebe <usenet@pusto.de>
16509
16510 * dired.el (dired-mark-files-regexp):
16511 Include any subdirectory components. (Bug#10445)
16512
16513 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
16514
16515 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
16516 Handle [host]:port syntax. (Bug#10533)
16517
16518 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
16519
16520 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
16521
16522 2012-01-26 Glenn Morris <rgm@gnu.org>
16523
16524 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
16525 * term.el (term-raw-escape-map): Use Control-X-prefix.
16526 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
16527
16528 2012-01-25 Martin Rudalics <rudalics@gmx.at>
16529
16530 * window.el (window-state-get, window--state-get-1): Don't deal
16531 with fixed-sizeness of windows. Simplify code.
16532
16533 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
16534
16535 * window.el (window--state-get-1, window--state-put-2):
16536 Don't save and restore the mark.
16537
16538 2012-01-25 Chong Yidong <cyd@gnu.org>
16539
16540 * custom.el (custom-variable-p): Doc fix.
16541
16542 2012-01-25 Glenn Morris <rgm@gnu.org>
16543
16544 * dired.el (dired-goto-file): Handle some of the more common
16545 characters that `ls -b' escapes. (Bug#10596)
16546
16547 * progmodes/compile.el (compilation-next-error-function):
16548 Respect compilation-first-column in the "*compilation*" buffer.
16549 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
16550
16551 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
16552
16553 2012-01-24 Glenn Morris <rgm@gnu.org>
16554
16555 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
16556
16557 2012-01-24 Julien Danjou <julien@danjou.info>
16558
16559 * color.el (color-rgb-to-hsl): Fix value computing.
16560 (color-hue-to-rgb): New function.
16561 (color-hsl-to-rgb): New function.
16562 (color-clamp, color-saturate-hsl, color-saturate-name)
16563 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
16564 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
16565
16566 2012-01-24 Glenn Morris <rgm@gnu.org>
16567
16568 * vc/vc-rcs.el (vc-rcs-create-tag):
16569 * vc/vc-sccs.el (vc-sccs-create-tag):
16570 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
16571
16572 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
16573
16574 * eshell/esh-util.el (eshell-read-hosts-file):
16575 Skip comment lines. (Bug#10549)
16576
16577 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
16578
16579 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
16580
16581 * subr.el (display-delayed-warnings): Doc fix.
16582 (collapse-delayed-warnings): New function to collapse identical
16583 adjacent warnings.
16584 (delayed-warnings-hook): Add it.
16585
16586 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
16587
16588 * net/tramp.el (tramp-action-login): Set connection property "login-as".
16589
16590 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
16591 (tramp-default-user-alist): Don't add "pscp".
16592 (tramp-do-copy-or-rename-file-out-of-band): Use connection
16593 property "login-as", if set. (Bug#10530)
16594
16595 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
16596
16597 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
16598 "plink1" and "psftp". (Bug#10530)
16599
16600 2012-01-21 Kenichi Handa <handa@m17n.org>
16601
16602 * international/mule-cmds.el (prefer-coding-system): Show a
16603 warning message if the default value of file-name-coding-system
16604 was not changed.
16605
16606 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
16607
16608 * windmove.el (windmove-reference-loc):
16609 Fix windmove-reference-loc miscalculation.
16610
16611 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
16612
16613 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
16614 default unit.
16615
16616 2012-01-21 Glenn Morris <rgm@gnu.org>
16617
16618 * international/mule.el (auto-coding-alist): Add .tbz.
16619
16620 * files.el (local-enable-local-variables): Doc fix.
16621 (inhibit-local-variables-regexps): Rename from
16622 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
16623 Doc fix. Add some extensions from auto-coding-alist.
16624 (inhibit-local-variables-suffixes):
16625 Rename from inhibit-first-line-modes-suffixes. Doc fix.
16626 (inhibit-local-variables-p):
16627 New function, extracted from set-auto-mode-1.
16628 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
16629 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
16630 (hack-local-variables): Doc fix. Make the mode-only case
16631 respect enable-local-variables and friends.
16632 Respect inhibit-local-variables-regexps for file-locals, but
16633 not for directory-locals.
16634 (set-visited-file-name):
16635 Take account of inhibit-local-variables-regexps.
16636 Whether it applies may change as the file name is changed.
16637 * jka-cmpr-hook.el (jka-compr-install):
16638 * jka-compr.el (jka-compr-uninstall):
16639 Update for inhibit-first-line-modes-suffixes name change.
16640
16641 2012-01-20 Martin Rudalics <rudalics@gmx.at>
16642
16643 * help-macro.el (make-help-screen): Temporarily restore original
16644 binding for minor-mode-map-alist (Bug#10454).
16645
16646 2012-01-19 Julien Danjou <julien@danjou.info>
16647
16648 * color.el (color-name-to-rgb): Use the white color to find the max
16649 color component value and return correctly computed values.
16650 (color-name-to-rgb): Add missing float conversion for max value.
16651
16652 2012-01-19 Martin Rudalics <rudalics@gmx.at>
16653
16654 * window.el (window--state-get-1, window-state-get): Do not use
16655 special state value for window-persistent-parameters.
16656 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
16657 (window--state-put-2): Reset all window parameters to nil before
16658 assigning values of persistent parameters.
16659
16660 2012-01-18 Alan Mackenzie <acm@muc.de>
16661
16662 Eliminate sluggishness and hangs in fontification of "semicolon
16663 deserts".
16664
16665 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
16666 Change value 10000 -> 3000.
16667 (c-state-safe-place): Reformulate so it doesn't stack up an
16668 infinite number of wrong entries in c-state-nonlit-pos-cache.
16669 (c-determine-limit-get-base, c-determine-limit): New functions to
16670 determine backward search limits disregarding literals.
16671 (c-find-decl-spots): Amend commenting.
16672 (c-cheap-inside-bracelist-p): New function which detects "={".
16673
16674 * progmodes/cc-fonts.el
16675 (c-make-font-lock-BO-decl-search-function): Give a limit to a
16676 backward search.
16677 (c-font-lock-declarations): Fix an occurrence of point being
16678 undefined. Check additionally for point being in a bracelist or
16679 near a macro invocation without a semicolon so as to avoid a
16680 fruitless time consuming search for a declarator. Give a more
16681 precise search limit for declarators using the new
16682 c-determine-limit.
16683
16684 2012-01-18 Glenn Morris <rgm@gnu.org>
16685
16686 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
16687 (set-auto-mode): Doc fixes.
16688
16689 2012-01-17 Glenn Morris <rgm@gnu.org>
16690
16691 * isearch.el (search-nonincremental-instead): Fix doc typo.
16692
16693 * dired.el (dired-insert-directory): Handle newlines in directory name.
16694 (dired-build-subdir-alist): Unescape newlines in directory name.
16695
16696 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
16697
16698 * net/tramp.el (tramp-local-end-of-line): New defcustom.
16699 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
16700 (tramp-action-terminal): Use it. (Bug#10530)
16701
16702 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
16703
16704 * minibuffer.el (completion--replace): Strip properties (bug#10062).
16705
16706 2012-01-16 Martin Rudalics <rudalics@gmx.at>
16707
16708 * window.el (window-state-ignored-parameters): Remove variable.
16709 (window--state-get-1): Rename argument MARKERS to IGNORE.
16710 Handle persistent window parameters. Make copy of clone-of
16711 parameter only if requested. (Bug#10348)
16712 (window--state-put-2): Install a window parameter only if it has
16713 a non-nil value or an existing parameter shall be overwritten.
16714
16715 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
16716
16717 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
16718
16719 2012-01-14 Eli Zaretskii <eliz@gnu.org>
16720
16721 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
16722 don't pass the (nil) value of `upnode' to string-match.
16723
16724 2012-01-14 Chong Yidong <cyd@gnu.org>
16725
16726 * startup.el (command-line): Fix X resource class for cursorColor.
16727 Fix values recognized by the cursorBlink resource.
16728
16729 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
16730
16731 * epg.el (epg--make-temp-file): Avoid permission race condition
16732 when running on old Emacs versions (bug#10403).
16733
16734 2012-01-14 Glenn Morris <rgm@gnu.org>
16735
16736 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
16737
16738 2012-01-13 Alan Mackenzie <acm@muc.de>
16739
16740 Fix filling for when filladapt mode is enabled.
16741
16742 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
16743 c-mask-paragraph, pass in `fill-paragraph' rather than
16744 `fill-region-as-paragraph'. (This is a reversion of a previous
16745 change.)
16746 * progmodes/cc-mode.el (c-basic-common-init):
16747 Make fill-paragraph-handle-comment buffer local and set it to nil.
16748
16749 2012-01-13 Glenn Morris <rgm@gnu.org>
16750
16751 * dired.el (dired-switches-escape-p): New function.
16752 (dired-insert-directory): Use dired-switches-escape-p.
16753 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
16754
16755 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
16756
16757 2012-01-12 Glenn Morris <rgm@gnu.org>
16758
16759 * mail/sendmail.el (mail-mode): Update paragraph-separate for
16760 changes in adaptive-fill-regexp. (Bug#10276)
16761
16762 2012-01-11 Alan Mackenzie <acm@muc.de>
16763
16764 Fix Emacs bug #10463 - put `widen's around the critical spots.
16765
16766 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
16767 widen around each invocation of c-state-pp-to-literal. Remove an
16768 unused let variable.
16769
16770 2012-01-11 Glenn Morris <rgm@gnu.org>
16771
16772 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
16773 Doc fix.
16774
16775 2012-01-10 Chong Yidong <cyd@gnu.org>
16776
16777 * net/network-stream.el (network-stream-open-starttls):
16778 Avoid emitting a confusing error message when the server gives a bad
16779 response to the capability command.
16780
16781 2012-01-10 Glenn Morris <rgm@gnu.org>
16782
16783 * mail/unrmail.el (unrmail): Tweak previous change.
16784
16785 2012-01-09 Chong Yidong <cyd@gnu.org>
16786
16787 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
16788
16789 2012-01-08 Alan Mackenzie <acm@muc.de>
16790
16791 Optimize font locking in long enum definitions.
16792
16793 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
16794 arm to a cond form to handle enums.
16795 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
16796 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
16797
16798 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
16799
16800 * files.el (move-file-to-trash): Preserve default file modes on error.
16801 (Bug#10401)
16802
16803 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
16804
16805 * faces.el (set-face-attribute): Clarify the meaning of the nil
16806 frame (bug#10294).
16807
16808 * subr.el (with-selected-frame): Mention that the selected frame
16809 is restored (bug#9980).
16810
16811 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
16812 (bug#9759).
16813
16814 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
16815 (password-read): Don't autoload unused function.
16816
16817 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
16818
16819 * progmodes/which-func.el (which-func-mode): Turn into a
16820 non-interactive function and mark as obsolete (bug#10428).
16821
16822 2012-01-06 Chong Yidong <cyd@gnu.org>
16823
16824 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
16825 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
16826 functions, along with 1 and -1.
16827
16828 2012-01-06 Eli Zaretskii <eliz@gnu.org>
16829
16830 * time.el (display-time-load-average)
16831 (display-time-default-load-average): Doc fixes. See the thread
16832 starting at
16833 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
16834 for the details.
16835
16836 2012-01-06 Glenn Morris <rgm@gnu.org>
16837
16838 * mail/unrmail.el (unrmail): Give an explicit error if the input file
16839 has no messages. (Bug#10377)
16840
16841 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
16842 than Info-edit. (Bug#10385)
16843
16844 * time.el (display-time-load-average, display-time-next-load-average):
16845 Doc fixes.
16846
16847 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
16848 local setting of buffer-read-only to the input buffer. (Bug#10419)
16849
16850 * calendar/calendar.el (calendar-mode):
16851 Locally set scroll-margin to 0. (Bug#10379)
16852
16853 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
16854
16855 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
16856
16857 2012-01-05 Glenn Morris <rgm@gnu.org>
16858
16859 * eshell/em-unix.el (diff-no-select): Autoload it.
16860 (eshell/diff): Use diff-no-select. (Bug#10420)
16861
16862 2012-01-05 Chong Yidong <cyd@gnu.org>
16863
16864 * shell.el (shell-dynamic-complete-functions): Revert last change.
16865 (shell-command-completion-function): New function.
16866 (shell-completion-vars): Use it to implement
16867 shell-completion-execonly (Bug#10417).
16868
16869 * custom.el (enable-theme): Don't set custom-safe-themes.
16870
16871 * cus-theme.el (custom-theme-merge-theme):
16872 Ignore custom-enabled-themes and custom-safe-themes.
16873
16874 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
16875
16876 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
16877 first prompt in `sql-interacive-mode'.
16878 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
16879 keywords.
16880 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
16881 (sql-product-interactive): Bug fix: Set `sql-buffer' in
16882 context of original buffer. Invoke `sql-login-hook'.
16883
16884 2012-01-04 Eli Zaretskii <eliz@gnu.org>
16885
16886 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
16887 letters in cite-prefix.
16888
16889 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16890
16891 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
16892
16893 2012-01-03 Chong Yidong <cyd@gnu.org>
16894
16895 * shell.el (shell-dynamic-complete-functions):
16896 Put pcomplete-completions-at-point, so as to try
16897 comint-filename-completion first (Bug#10417).
16898
16899 2012-01-02 Richard Stallman <rms@gnu.org>
16900
16901 * battery.el (battery-status-function):
16902 Detect when to use battery-yeeloong-sysfs.
16903 (battery-echo-area-format): Add string for Yeeloong.
16904 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
16905 (battery-yeeloong-sysfs): New function.
16906
16907 2012-01-02 Chong Yidong <cyd@gnu.org>
16908
16909 * dirtrack.el (dirtrack-list): Eliminate unused third element.
16910 (dirtrack): Merge code for handling relative filenames in prompt
16911 from shell-dir-cookie-watcher.
16912 (dirtrack-debug-message): New arg to avoid excess format calls.
16913
16914 * shell.el (shell-dir-cookie-re): Variable deleted.
16915 (shell-dir-cookie-watcher): Function deleted.
16916 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
16917 with dirtrack-mode.
16918
16919 2012-01-01 Eli Zaretskii <eliz@gnu.org>
16920
16921 * term/w32-win.el (dynamic-library-alist) <gnutls>:
16922 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
16923 libgnutls-26.dll.
16924
16925 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
16926
16927 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
16928
16929 2011-12-31 Eli Zaretskii <eliz@gnu.org>
16930
16931 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
16932 headers of non-MIME messages, when rmail-enable-mime is non-nil.
16933
16934 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
16935
16936 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
16937 also for alternative shells.
16938 (tramp-open-connection-setup-interactive-shell): Check, whether
16939 the shell is a busybox.
16940 (tramp-send-command): Don't suppress multiple prompts for
16941 busyboxes, it hurts.
16942
16943 2011-12-28 Chong Yidong <cyd@gnu.org>
16944
16945 * progmodes/gdb-mi.el (gdb-get-source-file-list)
16946 (gdb-get-source-file): Move mode line update to
16947 gdb-get-source-file (Bug#10087).
16948
16949 2011-12-25 Chong Yidong <cyd@gnu.org>
16950
16951 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
16952 gud-gdb-marker-filter without taking it as an argument.
16953 (gud-gdb-run-command-fetch-lines): Caller changed.
16954 (gud-gdb-completion-function): New variable.
16955 (gud-gdb-completion-at-point): Use it.
16956 (gud-gdb-completions-1): Split from gud-gdb-completions.
16957
16958 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
16959 function as separate arguments.
16960 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
16961 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
16962 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
16963 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
16964 (gdb-stopped, def-gdb-auto-update-trigger)
16965 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
16966 (gdb-get-changed-registers, gdb-get-main-selected-frame):
16967 Callers changed.
16968 (gud-gdbmi-completions): New function.
16969 (gdb): Use it for generating the completion table.
16970
16971 2011-12-24 Alan Mackenzie <acm@muc.de>
16972
16973 Introduce a mechanism to widen the region used in context font
16974 locking. Use this to protect declarations from losing their contexts.
16975
16976 * progmodes/cc-langs.el (c-before-font-lock-functions):
16977 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
16978 (c-before-context-fontification-functions): New defvar, a list of
16979 functions to be run just before context (etc.) font locking.
16980
16981 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
16982 New, functionality extracted from
16983 c-neutralize-syntax-in-and-mark-CPP.
16984 (c-in-after-change-fontification): New variable.
16985 (c-after-change): Set c-in-after-change-fontification.
16986 (c-set-fl-decl-start): Rejig its interface, so it can be called
16987 from both after-change and context fontifying.
16988 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
16989 New functions.
16990 (c-standard-font-lock-fontify-region-function): New variable.
16991 (c-font-lock-fontify-region): New function.
16992
16993 2011-12-24 Juri Linkov <juri@jurta.org>
16994
16995 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
16996 (Bug#10348)
16997
16998 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
16999
17000 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
17001 existence of source file. (Bug#10325)
17002
17003 2011-12-23 Alan Mackenzie <acm@muc.de>
17004
17005 Fix unstable fontification inside templates.
17006
17007 * progmodes/cc-langs.el (c-before-font-lock-functions):
17008 Newly created from the singular version. The (c c++ objc) entry now
17009 additionally has c-set-fl-decl-start. The other languages (apart
17010 from AWK) have that as a single entry.
17011
17012 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
17013 The functionality for "local" declarations has been extracted to
17014 c-set-fl-decl-start.
17015
17016 * progmodes/cc-mode.el (c-common-init, c-after-change):
17017 Changes due to pluralisation of c-before-font-lock-functions.
17018 (c-set-fl-decl-start): New function, extracted from
17019 c-font-lock-enclosing-decls and enhanced.
17020
17021 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
17022
17023 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
17024
17025 2011-12-22 Juri Linkov <juri@jurta.org>
17026
17027 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
17028
17029 2011-12-22 Chong Yidong <cyd@gnu.org>
17030
17031 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
17032
17033 2011-12-21 Drew Adams <drew.adams@oracle.com>
17034
17035 * files.el (file-remote-p): Fix docstring. (Bug#10319)
17036
17037 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
17038
17039 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
17040
17041 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
17042
17043 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
17044 highlighting and support. Fix up comments for capitalization.
17045 (cfengine-mode-debug): New var.
17046 (cfengine3-mode): Change the modeline indicator to "CFE3".
17047 (cfengine3-font-lock-keywords): Improve defun highlighting.
17048 (cfengine2-actions): Rename from `cfengine-actions'.
17049 (cfengine2-font-lock-keywords): Rename from
17050 `cfengine-font-lock-keywords'.
17051 (cfengine2-imenu-expression): Rename from
17052 `cfengine-imenu-expression'.
17053 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
17054 (cfengine2-beginning-of-defun): Rename from
17055 `cfengine-beginning-of-defun'.
17056 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
17057 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
17058 (cfengine2-mode): Rename from `cfengine-mode'. Change the
17059 modeline indicator to "CFE2".
17060 (cfengine-mode): Defalias to `cfengine-auto-mode'.
17061 (cfengine-mode-abbrevs): Mark obsolete.
17062
17063 2011-12-21 Chong Yidong <cyd@gnu.org>
17064
17065 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
17066 filename argument.
17067
17068 2011-12-20 Martin Rudalics <rudalics@gmx.at>
17069
17070 * window.el (window-normalize-buffer-to-display): Remove.
17071 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
17072
17073 2011-12-19 Chong Yidong <cyd@gnu.org>
17074
17075 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
17076 Don't signal an error in a predicate function; return non-nil.
17077 (vc-dir-mark-file): Move the error here.
17078 (vc-dir-mark-unmark): If acting on the region, keep going if one
17079 of the entries cannot be marked/unmarked.
17080 (vc-dir-mark-all-files): If current entry is a directory, mark
17081 only child files, as documented.
17082
17083 2011-12-19 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
17084
17085 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
17086 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
17087 addition.
17088
17089 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
17090
17091 * term/ns-win.el (ns-get-selection-internal)
17092 (ns-store-selection-internal): Declare.
17093 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
17094 Declare as obsolete.
17095 (ns-get-pasteboard, ns-paste-secondary):
17096 Use ns-get-selection-internal.
17097 (ns-set-pasteboard, ns-copy-including-secondary):
17098 Use ns-store-selection-internal.
17099
17100 2011-12-17 Chong Yidong <cyd@gnu.org>
17101
17102 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
17103 (vc-deduce-fileset): Doc fix.
17104
17105 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
17106
17107 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
17108
17109 2011-12-13 Sam Steingold <sds@gnu.org>
17110
17111 * man.el (Man-getpage-in-background): When running under a
17112 window-system, ignore $MANWIDTH and $COLUMNS.
17113
17114 2011-12-15 Kenichi Handa <handa@m17n.org>
17115
17116 * language/ethio-util.el: Change coding tag to utf-8-emacs.
17117 (setup-ethiopic-environment-internal): Comment out key-binding for
17118 ethio-toggle-punctuation.
17119
17120 2011-12-13 Alan Mackenzie <acm@muc.de>
17121
17122 Add the switch statement to AWK Mode.
17123
17124 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
17125 "default" to the keywords regexp.
17126
17127 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
17128 expression as the rest.
17129 (c-nonlabel-token-key): Allow string literals for AWK.
17130 Refactor for the other modes.
17131
17132 Large brace-block initialisation makes CC Mode slow: Fix.
17133 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
17134 routines. Limit backward searching in c-font-lock-enclosing.decl.
17135
17136 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
17137 pp-state and literal type in addition to the limits.
17138 (c-state-safe-place): New defun, extracted from c-state-literal-at.
17139 (c-state-literal-at): Use the above new defun.
17140 (c-slow-in-literal, c-fast-in-literal): Remove.
17141 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
17142
17143 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
17144 being in a literal. Add a limit for backward searching.
17145
17146 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
17147 c-slow-in-literal.
17148
17149 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
17150
17151 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
17152
17153 2011-12-13 Martin Rudalics <rudalics@gmx.at>
17154
17155 * window.el (delete-other-windows): Use correct frame in call to
17156 window-with-parameter.
17157
17158 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
17159
17160 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
17161 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
17162 (makefile-gmake-statements, makefile-makepp-statements):
17163 Use it and add new makepp keywords.
17164 (makefile-makepp-font-lock-keywords): Add new patterns.
17165 (makefile-match-function-end): Match new [...] and [[...]].
17166
17167 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
17168
17169 * ses.el (ses-call-printer-return, ses-cell-property-get)
17170 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
17171 (ses-create-cell-variable, ses-reset-header-string)
17172 (ses-cell-set-formula, ses-repair-cell-reference-all)
17173 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
17174 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
17175 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
17176 (ses-aset-with-undo, ses-load, ses-truncate-cell)
17177 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
17178 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
17179 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
17180 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
17181 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
17182 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
17183 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
17184 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
17185
17186 2011-12-11 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
17187
17188 * ses.el: The overall change is to add cell renaming, that is
17189 setting fancy names for cell symbols other than name matching
17190 "\\`[A-Z]+[0-9]+\\'" regexp .
17191 (ses-create-cell-variable): New defun.
17192 (ses-relocate-formula): Relocate formulas only for cells the
17193 symbols of which are not renamed, i.e. symbols whose names do not
17194 match regexp "\\`[A-Z]+[0-9]+\\'".
17195 (ses-relocate-all): Relocate values only for cells the symbols of
17196 which are not renamed.
17197 (ses-load): Create cells variables as the (ses-cell ...) are read,
17198 in order to check row col consistency with cell symbol name only
17199 for cells that are not renamed.
17200 (ses-replace-name-in-formula): New defun.
17201 (ses-rename-cell): New defun.
17202
17203 2011-12-11 Chong Yidong <cyd@gnu.org>
17204
17205 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
17206 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
17207
17208 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
17209
17210 * window.el (other-window): Fix docstring.
17211
17212 2011-12-10 Eli Zaretskii <eliz@gnu.org>
17213
17214 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
17215 `from' or `to' address before taking its substring.
17216 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
17217 encoded name is chopped in the middle of the encoded string, and
17218 thus displayed encoded.
17219
17220 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
17221
17222 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
17223
17224 2011-12-10 Eli Zaretskii <eliz@gnu.org>
17225
17226 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
17227 to use texinfo-update-node and commands that call it if the
17228 Texinfo file uses @node lines without next/prev/up pointers.
17229 Correct outdated description about texinfo-master-menu.
17230 (texinfo-all-menus-update, texinfo-master-menu)
17231 (texinfo-update-node, texinfo-every-node-update)
17232 (texinfo-multiple-files-update): Doc fix. Warn against updating
17233 all the @node lines.
17234 (texinfo-master-menu): Only call texinfo-update-node if the prefix
17235 argument is numeric. Explain better in the doc string what the
17236 function really does.
17237 (texinfo-insert-master-menu-list): Improve the error message
17238 displayed if there's no menu in the Top node.
17239 (Bug#2975) See also this thread:
17240 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
17241
17242 2011-12-09 Manuel GĂ³mez <mgrojo@gmail.com> (tiny change)
17243
17244 * speedbar.el (speedbar-supported-extension-expressions):
17245 Add .adb and .ads, commonly used for Ada source code (bug#10256).
17246
17247 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
17248
17249 * printing.el (pr-mode-alist):
17250 * simple.el (filter-buffer-substring-functions)
17251 (completion-list-insert-choice-function):
17252 * window.el (window-with-parameter, window-atom-root)
17253 (window-sides-slots, window-size-fixed, window-min-delta)
17254 (window-max-delta, window--resize-mini-window)
17255 (window--resize-child-windows-normal, window-tree)
17256 (delete-other-windows, quit-window, split-window)
17257 (display-buffer-record-window, special-display-buffer-names)
17258 (special-display-regexps, special-display-popup-frame)
17259 (same-window-p, split-window-sensibly)
17260 (display-buffer-overriding-action, display-buffer-alist)
17261 (display-buffer-base-action, display-buffer, switch-to-buffer)
17262 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
17263 (fit-window-to-buffer, recenter-positions)
17264 (mouse-autoselect-window-state, mouse-autoselect-window-select):
17265 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
17266 and remove unneeded backslashes in docstrings.
17267
17268 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
17269
17270 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
17271
17272 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
17273 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
17274 end in ".mk".
17275 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
17276 when reading the makefile (bug#10116).
17277
17278 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
17279
17280 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
17281 (bug#10116).
17282
17283 2011-12-06 Glenn Morris <rgm@gnu.org>
17284
17285 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
17286
17287 2011-12-06 Chong Yidong <cyd@gnu.org>
17288
17289 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
17290
17291 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
17292
17293 * textmodes/table.el (table-shorten-cell): Fix typo.
17294
17295 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
17296
17297 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
17298
17299 2011-12-05 Eli Zaretskii <eliz@gnu.org>
17300
17301 * descr-text.el (describe-char): Fix display of strong
17302 right-to-left characters and directional embeddings and overrides.
17303
17304 * simple.el (what-cursor-position): Fix display of codepoints of
17305 strong right-to-left characters.
17306
17307 2011-12-05 Chong Yidong <cyd@gnu.org>
17308
17309 * faces.el (read-color): Doc fix.
17310
17311 2011-12-05 Glenn Morris <rgm@gnu.org>
17312
17313 * align.el (align--set-marker): Add doc-string.
17314 Don't try to move something that is not a marker. (Bug#10216)
17315
17316 2011-12-04 Glenn Morris <rgm@gnu.org>
17317
17318 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
17319 overly zealous deletion of trailing whitespace.
17320
17321 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
17322
17323 * server.el (server-delete-client): On Windows, do not try to delete
17324 the only terminal.
17325 (server-process-filter): On Windows, treat requests for a tty frame as
17326 if they were for a GUI frame if the running server is in GUI mode.
17327
17328 2011-12-03 Glenn Morris <rgm@gnu.org>
17329
17330 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
17331
17332 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
17333
17334 * electric.el: Streamline electric-indent's hook.
17335 (electric-indent-chars): Revert to simple list.
17336 (electric-indent-functions): New var.
17337 (electric-indent-post-self-insert-function): Use it.
17338
17339 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
17340 there's no inferior buffer (bug#10196).
17341 (prolog-consult-compile): Don't use toggle-read-only.
17342
17343 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
17344
17345 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
17346 interrupt. (Bug#10187)
17347
17348 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
17349
17350 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
17351 (bug#9160).
17352
17353 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
17354 (bug#10191).
17355
17356 2011-12-02 Juri Linkov <juri@jurta.org>
17357
17358 * info.el (Info-search): Display "end of manual" when Isearch
17359 reaches the end of single-file Info manual. (Bug#9918)
17360
17361 2011-12-02 Eli Zaretskii <eliz@gnu.org>
17362
17363 * isearch.el (isearch-message-prefix): Run the input method part
17364 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
17365
17366 2011-12-02 Juri Linkov <juri@jurta.org>
17367
17368 * isearch.el (isearch-occur): Use `word-search-regexp' for
17369 `isearch-word'.
17370 (isearch-search-and-update): Add condition for `isearch-word' and
17371 call `word-search-regexp'. (Bug#10145)
17372
17373 2011-12-01 Glenn Morris <rgm@gnu.org>
17374
17375 * eshell/em-hist.el (eshell-hist-initialize):
17376 Handle eshell-history-size nil and HISTSIZE set or unset.
17377 (eshell-history-file-name, eshell-history-size): Fix custom type.
17378
17379 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
17380
17381 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
17382
17383 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
17384
17385 * progmodes/verilog-mode.el (verilog-pretty-expr):
17386 Rework verilog-pretty-expr to handle new assignment operators in system
17387 verilog, such as += *= and the like.
17388 (verilog-assignment-operator-re): Regular expression to find the
17389 assigment operator in a verilog assignment.
17390 (verilog-assignment-operation-re): Regular expression to find an
17391 assignment statement for pretty-expr.
17392 (verilog-in-attribute-p): Query returns true if point is in an
17393 attribute context; used to skip these for expression line up from
17394 pretty-expr.
17395 (verilog-in-parameter-p): Query returns true if point is in an
17396 parameter definition context; used to skip these for expression
17397 line up from pretty-expr.
17398 (verilog-in-parenthesis-p): Query returns true if point is in a
17399 parenthetical expression, specifically ( ) but not [ ] or { };
17400 used by pretty-expr.
17401 (verilog-just-one-space): If there is no space, don't add one.
17402 (verilog-get-lineup-indent-2): Specifically skip just attribute
17403 contexts for expression lineup, rather than skipping all
17404 parenthetical expressions.
17405 (verilog-calculate-indent): Fix comment, and fix indent.
17406 (verilog-do-indent): Indent declarations in lists (suggested by
17407 Joachim Lechner).
17408 (verilog-mode-abbrev-table): Populate abbrev mode with the various
17409 skeleton items.
17410 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
17411 by Alain Mellan).
17412
17413 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
17414
17415 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
17416 parameters with embedded comments. Reported by Ray Stevens.
17417 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
17418 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
17419 Reported by Tim Holt.
17420 (verilog-auto): Fix AUTOing a upper module then AUTOing module
17421 instantiated by upper module causing wrong expansion until AUTOed a
17422 second time. Reported by K C Buckenmaier.
17423 (verilog-diff-auto): Fix showing .* as a difference when
17424 `verilog-auto-star-save' off. Reported by Dan Dever.
17425 (verilog-auto-reset, verilog-read-always-signals)
17426 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
17427 temporary signals in reset list if
17428 verilog-auto-reset-blocking-in-non is nil, and match assignment
17429 style to each signal's assignment type, bug381.
17430 Reported by Thomas Esposito.
17431 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
17432 (verilog-uvm-statement-re): Support UVM indentation and
17433 highlighting, with old OVM keywords only.
17434 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
17435 Support AUTOTIEOFF creating non-wire data types.
17436 Suggested by Jonathan Greenlaw.
17437 (verilog-auto-insert-lisp, verilog-delete-to-paren)
17438 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
17439 (verilog-inject-sense, verilog-read-inst-pins)
17440 (verilog-read-sub-decls, verilog-read-sub-decls-line):
17441 Fix mismatching parenthesis inside commented out code when deleting
17442 AUTOINST, bug383. Reported by Jonathan Greenlaw.
17443 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
17444 non-numeric vector width. Reported by Alex Reed.
17445 (verilog-auto-ascii-enum): Add "onehot" option to work around not
17446 detecting signals with parameter widths. Reported by Alex Reed.
17447 (verilog-auto-delete-trailing-whitespace):
17448 With `verilog-auto-delete-trailing-whitespace' remove trailing
17449 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
17450 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
17451 Fix verilog-scan-cache corruption when running user AUTO expansion
17452 hooks that call indentation routines.
17453 (verilog-simplify-range-expression): Fix typo ignoring lower case
17454 identifiers.
17455 (verilog-delete-auto): Fix delete-autos to also remove user created
17456 automatics, as long as they start with AUTO.
17457 (verilog-batch-diff-auto, verilog-diff-auto)
17458 (verilog-diff-function): Add `verilog-diff-auto' and bind to
17459 "C-c?" to report differences in AUTO expansion, ignoring spaces.
17460 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
17461 (verilog-in-paren-quick, verilog-re-search-backward-quick)
17462 (verilog-re-search-forward-quick, verilog-syntax-ppss):
17463 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
17464 is disabled and its cache will get corrupt, causing AUTOS not to
17465 expand. Instead use only -quick functions.
17466 (verilog-scan-region): Fix scanning over escaped quotes.
17467 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
17468 (verilog-re-search-backward-quick)
17469 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
17470 related functions now ignore strings, to fix misparsing of strings
17471 with magic comments embedded in them.
17472 (verilog-read-auto-template):
17473 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
17474 Reported by Brad Dobbie.
17475 (verilog-read-auto-template):
17476 Fix 'verilog-auto-inst-template-numbers' with comments.
17477 Reported by Brad Dobbie.
17478 (verilog-auto-inst, verilog-auto-inst-param)
17479 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
17480 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
17481 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
17482 debugging templates without merge conflicts, bug357.
17483 Reported by Brad Dobbie.
17484 (verilog-read-auto-template):
17485 Fix verilog-auto-inst-template-numbers with multiple templates.
17486 Reported by Brad Dobbie.
17487 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
17488 abbrevs so user won't be asked to save.
17489 (verilog-read-auto-lisp-present): Fix to start at beginning of
17490 buffer in case called outside of verilog-auto.
17491 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
17492 to "X-2". Reported by Matthew Myers.
17493 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
17494 all inputs from module templates. Reported by Leith Johnson.
17495 (verilog-module-inside-filename-p): Fix locating programs as with
17496 modules.
17497 (verilog-auto-inst-port): Fix vl-width expressions when using
17498 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
17499 (verilog-decls-get-regs, verilog-decls-get-signals,
17500 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
17501 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
17502 verilog-read-decls): Combine reg and wire structures into one var
17503 structure to represent SystemVerilog concepts.
17504 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
17505 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
17506 (verilog-auto-wire-type, verilog-insert-definition):
17507 Add verilog-auto-wire-type and AUTOLOGIC to support using
17508 SystemVerilog "logic" keyword instead of "wire"/"reg".
17509 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
17510 to declares outputs that also have assignments (presumably in an
17511 ifdef or generate if so there's not a driver conflict).
17512 Reported by Matthew Myers.
17513 (verilog-auto-declare-nettype, verilog-insert-definition):
17514 Add verilog-auto-declare-nettype to fix declarations using
17515 `default_nettype none. Reported by Julian Gorfajn.
17516 (verilog-read-always-signals-recurse, verilog-read-decls)
17517 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
17518 malformed end statement, bug325. Reported by Joshua Wise and
17519 Andrew Drake.
17520 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
17521 (verilog-inst-comment-re): Fix not deleting Interfaced comment
17522 when expanding .* in interfaces, bug320.
17523 Reported by Pierre-David Pfister.
17524 (verilog-read-module-name): Fix import statements between module
17525 name and open parenthesis, bug317.
17526 Reported by Pierre-David Pfister.
17527 (verilog-simplify-range-expression): Fix simplification of
17528 multiplications inside AUTOWIRE connections, bug303.
17529 (verilog-auto-inst-port): Support parameter expansion in
17530 multidimensional arrays.
17531 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
17532 after "assert property". Reported by Julian Gorfajn.
17533 (verilog-simplify-range-expression): Fix "couldn't merge" errors
17534 with multiplication, bug303.
17535 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
17536 Reported by Jan Frode Lonnum.
17537
17538 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
17539
17540 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
17541 (hfy-shell-file-name, hfy-shell):
17542 * international/fontset.el (x-decompose-font-name): Fix typos.
17543
17544 2011-11-29 Ken Brown <kbrown@cornell.edu>
17545
17546 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
17547 (gdb-version): Remove defvar.
17548 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
17549 (gdb-gud-context-command, gdb-non-stop-handler)
17550 (gdb-current-context-command, gdb-stopped): Use it.
17551 (gdb-init-1): Enable pretty printing here.
17552 (gdb-non-stop-handler): Don't enable pretty-printing here.
17553 Check to see if the target supports non-stop mode; if not, turn off
17554 non-stop mode. Use the following.
17555 (gdb-check-target-async): New defun.
17556 (gud-watch, gdb-stopped): Fix whitespace.
17557 (gdb-get-source-file): Don't try to display the source file if
17558 `gdb-main-file' is nil.
17559
17560 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
17561
17562 * align.el: Try to generate fewer markers (bug#10047).
17563 (align--set-marker): New macro.
17564 (align-region): Use it.
17565
17566 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
17567
17568 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
17569
17570 2011-11-29 Chong Yidong <cyd@gnu.org>
17571
17572 * indent.el (indent-for-tab-command, indent-according-to-mode):
17573 Doc fix.
17574 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
17575
17576 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
17577
17578 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
17579 aware of remote file names. (Bug#10124)
17580
17581 2011-11-29 Chong Yidong <cyd@gnu.org>
17582
17583 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
17584
17585 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
17586
17587 * files.el (find-file): Don't use force-same-window (bug#10144).
17588 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
17589 use pop-to-buffer if the selected window can't be used.
17590 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
17591
17592 2011-11-28 Eli Zaretskii <eliz@gnu.org>
17593
17594 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
17595 special-mode-map.
17596
17597 2011-11-28 Chong Yidong <cyd@gnu.org>
17598
17599 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
17600
17601 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
17602
17603 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
17604 gdb-get-source-file-list on gdb-create-source-file-list.
17605
17606 2011-11-26 Eli Zaretskii <eliz@gnu.org>
17607
17608 * whitespace.el (whitespace-newline): Use a different foreground
17609 color for 16-color light-background displays.
17610
17611 2011-11-24 Chong Yidong <cyd@gnu.org>
17612
17613 * window.el (display-buffer--special-action): Doc fix.
17614
17615 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
17616
17617 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
17618 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
17619 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
17620 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
17621 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
17622 (avl-tree-stack-first):
17623 * emacs-lisp/cconv.el (cconv--analyse-use):
17624 * net/gnutls.el (gnutls-negotiate): Fix typos.
17625
17626 2011-11-24 Glenn Morris <rgm@gnu.org>
17627
17628 * lpr.el (lpr-windows-system, lpr-lp-system):
17629 * mail/binhex.el (binhex-begin-line):
17630 * progmodes/grep.el (grep-history, grep-find-history):
17631 * textmodes/flyspell.el:
17632 * vc/pcvs-defs.el (cvs-global-menu):
17633 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
17634 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
17635 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
17636
17637 * net/tls.el: Fix case of "GnuTLS".
17638
17639 * paths.el (rmail-file-name): Format doc-string for make-docfile.
17640
17641 * version.el (emacs-build-system): Give it a doc-string.
17642
17643 2011-11-24 Juri Linkov <juri@jurta.org>
17644
17645 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
17646
17647 2011-11-24 Glenn Morris <rgm@gnu.org>
17648
17649 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
17650 if called on a non-mime message just toggle the headers. (Bug#8006)
17651
17652 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
17653
17654 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
17655 (allout-lead-with-comment-string, allout-structure-deleted-hook)
17656 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
17657 (allout-rebullet-heading, allout-open-sibtopic)
17658 (allout-toggle-current-subtree-encryption)
17659 (allout-toggle-subtree-encryption, allout-encrypt-string)
17660 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
17661 (allout-distinctive-bullets-string, allout-auto-activation):
17662 * window.el (window-normalize-buffer-to-display):
17663 * progmodes/verilog-mode.el (verilog-batch-indent):
17664 * textmodes/bibtex.el (bibtex-field-braces-opt)
17665 (bibtex-field-strings-opt):
17666 * vc/cvs-status.el (cvs-tree-merge):
17667 Fix typos.
17668
17669 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
17670
17671 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
17672 `non-essential' to t, in order to avoid remote connections.
17673
17674 2011-11-23 Eli Zaretskii <eliz@gnu.org>
17675
17676 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
17677 On MS-DOS and MS-Windows, compare with loaddefs.el
17678 case-insensitively.
17679
17680 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
17681
17682 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
17683
17684 2011-11-23 Glenn Morris <rgm@gnu.org>
17685
17686 * paths.el (rmail-file-name): Reformat the doc-string so that it
17687 is picked up.
17688
17689 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
17690 (rmail-auto-file): Ignore case in the "special" field names,
17691 as mail-fetch-field does for all others.
17692
17693 * mail/rmail.el (rmail-forward):
17694 * mail/rmailkwd.el (rmail-set-label):
17695 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
17696 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
17697
17698 * mail/rmail.el (rmail-current-message): Doc fix.
17699
17700 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
17701
17702 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
17703
17704 * server.el (server-eval-and-print): Allow C-g (bug#6585).
17705
17706 2011-11-22 Glenn Morris <rgm@gnu.org>
17707
17708 * mail/rmailmm.el (test-rmail-mime-handler)
17709 (test-rmail-mime-bulk-handler)
17710 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
17711
17712 2011-11-21 Juri Linkov <juri@jurta.org>
17713
17714 * calc/calc.el (calc-read-key-sequence):
17715 Let-bind `input-method-function' to nil. (Bug#10018)
17716
17717 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
17718
17719 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
17720 Tell the caller that the next line needs recomputation, even
17721 though it doesn't start a sexp (bug#10094).
17722
17723 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
17724
17725 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
17726
17727 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
17728
17729 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
17730 Use force-same-window.
17731
17732 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
17733
17734 * descr-text.el (describe-char-unicode-data):
17735 * json.el (json-string-escape):
17736 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
17737 (Footnote-unicode, Footnote-style-p):
17738 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
17739
17740 2011-11-20 Chong Yidong <cyd@gnu.org>
17741
17742 * window.el (replace-buffer-in-windows): Restore interactive spec.
17743
17744 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
17745
17746 * electric.el (electric-indent-mode): Fix last change (too optimistic).
17747
17748 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
17749 (byte-compile-global-not-obsolete-vars): New var.
17750 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
17751 Use it.
17752 (byte-compile-warn-obsolete): Align text with the one in *Help*.
17753
17754 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
17755
17756 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
17757 * progmodes/pascal.el (electric-pascal-equal):
17758 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
17759 * xml.el (xml-substitute-special): Fix typos.
17760
17761 2011-11-20 Glenn Morris <rgm@gnu.org>
17762
17763 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
17764 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
17765 Doc fixes.
17766 (rmail-decode-mime-charset): Mark as obsolete.
17767
17768 * mail/rmailsum.el (rmail-message-regexp-p-1):
17769 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
17770 Before using mime functions, check they are set. (Bug#10077)
17771
17772 2011-11-19 Juri Linkov <juri@jurta.org>
17773
17774 * info.el (Info-finder-find-node): Use `package--builtins' instead
17775 of `package-alist'. Use node names formed by the pattern "Keyword "
17776 and the keyword name.
17777
17778 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
17779
17780 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
17781
17782 2011-11-19 Juri Linkov <juri@jurta.org>
17783
17784 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
17785 that calls `revert-buffer' on all Info buffers. (Bug#9915)
17786 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
17787 `old-history', `old-history-forward'. Add let-binding
17788 `window-selected'. Remove calls to `kill-buffer',
17789 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
17790 before calling `Info-find-node', so `Info-find-node-2' will reread
17791 the Info file. Restore window positions only when `window-selected'
17792 is non-nil.
17793
17794 2011-11-19 Juri Linkov <juri@jurta.org>
17795
17796 * isearch.el (isearch-lazy-highlight-new-loop):
17797 Remove condition `(not isearch-error)'. (Bug#9918)
17798
17799 * misearch.el (multi-isearch-search-fun): Add condition
17800 `(not bound)' to ignore lazy-highlighting search.
17801 Add the search-failed message "end of multi" when the end of
17802 multi-sequence is reached. Uncapitalize the search-failed
17803 message "Repeat for next buffer".
17804
17805 * info.el (Info-search): Add the search-failed message
17806 "end of the manual" when the end of the manual is reached
17807 in Isearch mode.
17808
17809 2011-11-19 Juri Linkov <juri@jurta.org>
17810
17811 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
17812 Use non-destructive `remove' instead of `delete' because
17813 `Info-history-list' stored to `Info-isearch-initial-history-list' in
17814 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
17815
17816 2011-11-19 Juri Linkov <juri@jurta.org>
17817
17818 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
17819 to nil instead of binding `search-ring' and `regexp-search-ring'.
17820 (Bug#9185)
17821
17822 2011-11-19 Eli Zaretskii <eliz@gnu.org>
17823
17824 * simple.el (line-move): Force movement by logical lines for any
17825 hscrolled window, not only when auto-hscroll-mode is on.
17826 (line-move-visual): Update doc string to that effect. (Bug#10076)
17827
17828 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
17829
17830 * language/european.el (macintosh): Define as alias for mac-roman.
17831
17832 2011-11-19 Eli Zaretskii <eliz@gnu.org>
17833
17834 * mail/rmailmm.el (rmail-mime-display-header)
17835 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
17836 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
17837 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
17838 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
17839 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
17840 of a raw aref.
17841 (rmail-mime-entity-segment): To get past the tagline, move forward
17842 2 more lines, to account for the 2 empty lines that precede and
17843 follow the line with the buttons.
17844 (rmail-mime-update-tagline): Move one more line, to get past the
17845 empty line that follows the buttons in the tagline. (Bug#9520)
17846
17847 2011-11-19 Martin Rudalics <rudalics@gmx.at>
17848
17849 * window.el (window-max-delta-1, window-min-delta-1)
17850 (window-min-size-1, window-state-get-1, window-state-put-1)
17851 (window-state-put-2): Use "window--" prefix.
17852
17853 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
17854
17855 * emacs-lisp/smie.el: Improve warnings and conflict detection.
17856 (smie-warning-count): New var.
17857 (smie-set-prec2tab): Use it.
17858 (smie-bnf->prec2): Improve warnings. Add docstring.
17859 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
17860 (smie-bnf--set-class): New function.
17861 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
17862 corner case.
17863
17864 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
17865 (compilation-error-properties, compilation-move-to-column):
17866 Handle compilation-first-column while in the target buffer.
17867
17868 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
17869 Don't hardcode point-min==1.
17870
17871 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
17872 (eshell-rewrite-for-command): Remove workaround.
17873 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
17874 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
17875 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
17876
17877 * files-x.el (modify-file-local-variable): Obey commenting conventions.
17878
17879 2011-11-17 Glenn Morris <rgm@gnu.org>
17880
17881 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
17882 Ignore buffer-local generated-autoload-file if it is the same
17883 as the global value. (Bug#10049)
17884
17885 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
17886
17887 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
17888 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
17889 (reftex-toc-previous-heading, reftex-toc-max-level)
17890 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
17891 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
17892 (reftex-toc-do-promote, reftex-toc-promote-prepare)
17893 (reftex-toc-promote-action, reftex-toc-extract-section-number)
17894 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
17895 (reftex-toc-rename-label, reftex-toc-visit-location)
17896 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
17897 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
17898 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
17899 leaving "*toc*" only for references to the buffer.
17900
17901 2011-11-17 Martin Rudalics <rudalics@gmx.at>
17902
17903 * window.el (window-resize, delete-window, split-window):
17904 Replace window-splits by window-combination-resize.
17905 * cus-start.el (window-splits): Replace by window-combination-resize.
17906
17907 2011-11-17 Glenn Morris <rgm@gnu.org>
17908
17909 * progmodes/sh-script.el (sh-font-lock-keywords-var):
17910 Make bash entry derive from sh entry, not shell entry.
17911
17912 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
17913
17914 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
17915 local file name.
17916
17917 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
17918
17919 * menu-bar.el (menu-bar-file-menu):
17920 * printing.el (pr-ps-utility):
17921 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
17922 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
17923 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
17924 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
17925 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
17926 (icalendar--convert-cyclic-to-ical)
17927 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
17928 (icalendar--convert-ical-to-diary)
17929 (icalendar--convert-recurring-to-diary)
17930 (icalendar--convert-non-recurring-all-day-to-diary)
17931 (icalendar-import-format-sample):
17932 * progmodes/idlw-shell.el (idlwave-shell-mode):
17933 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
17934 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
17935 (vhdl-ps-print-init): Fix typos.
17936
17937 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
17938
17939 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
17940 FSF and collapse date sequence, obscure author/maintainer email address
17941 better, remove extra version line, track relocation of author's webpage.
17942
17943 * progmodes/python.el (python-pdbtrack-input-prompt)
17944 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
17945 regular python pdb prompts. Adjustments shamelessly taken exactly as
17946 suggested in EmacsWiki page (tiny change):
17947 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
17948
17949 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
17950
17951 * expand.el (expand-pos, expand-index, expand-point):
17952 Remove redundant info from docstring.
17953 (expand-add-abbrevs): Doc fix.
17954 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
17955 (expand-sample-perl-mode-expand-list): Fix typos.
17956
17957 * net/dbus.el (dbus-event-member-name):
17958 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
17959 * term/pc-win.el (msdos-create-frame-with-faces):
17960 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
17961
17962 2011-11-16 Martin Rudalics <rudalics@gmx.at>
17963
17964 * window.el (split-window, window-state-get-1)
17965 (window-state-put-1, window-state-put-2): Rename occurrences of
17966 window-nest to window-combination-limit.
17967 * cus-start.el (window-nest): Rename to window-combination-limit.
17968
17969 2011-11-16 Chong Yidong <cyd@gnu.org>
17970
17971 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
17972 regexp (Bug#10033).
17973
17974 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
17975
17976 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
17977 `completing-read' will remove *Completions* and will preserve
17978 current-buffer for us.
17979 (tmm-add-prompt): Users of *Completions* will always (re)set its
17980 major mode.
17981 (tmm-old-comp-map): Remove.
17982
17983 2011-11-16 Glenn Morris <rgm@gnu.org>
17984
17985 * mail/rmailedit.el: Require rmailmm when compiling.
17986 (rmail-old-mime-state): New declaration.
17987 (rmail-edit-current-message): If editing a mime message,
17988 edit the "raw" message from the mbox buffer.
17989 (rmail-cease-edit): Handle mime messages. (Bug#9840)
17990
17991 2011-11-15 Glenn Morris <rgm@gnu.org>
17992
17993 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
17994 which wasn't being used. Add optional arg to force given state.
17995 (rmail-mime): Add optional arg to force given state.
17996
17997 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
17998
17999 * allout.el (allout-encryption-plaintext-sanitization-regexps):
18000 * frame.el (display-mm-dimensions-alist):
18001 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
18002 (outline-move-subtree-down):
18003 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
18004 (newsticker--treeview-do-get-node):
18005 * net/quickurl.el (quickurl-list-buffer-name):
18006 * progmodes/dcl-mode.el (dcl-mode):
18007 * progmodes/gdb-mi.el (gdb-mapcar*):
18008 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
18009
18010 2011-11-15 Glenn Morris <rgm@gnu.org>
18011
18012 * mail/rmail.el (rmail-file-coding-system): It's only ever used
18013 in a boolean sense, so just make it a boolean, and fix the doc.
18014 (rmail-show-mime-function, rmail-mime-feature)
18015 (rmail-require-mime-maybe): Doc fixes.
18016 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
18017
18018 * mail/rmailmm.el (rmail-show-mime): Doc fix.
18019
18020 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
18021
18022 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
18023 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
18024 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
18025 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
18026
18027 2011-11-15 Glenn Morris <rgm@gnu.org>
18028
18029 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
18030 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
18031 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
18032 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
18033 (rmail-mime, rmail-show-mime): Doc fixes.
18034
18035 * term/ns-win.el (mode-line-frame-identification):
18036 Leave it alone. (Bug#10051)
18037
18038 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
18039
18040 * mail/rmailout.el (rmail-output-to-rmail-buffer):
18041 Handle empty buffers. (Bug#9978)
18042
18043 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
18044
18045 * international/mule.el (define-charset):
18046 * mail/rmailmm.el (rmail-mime-find-header-encoding):
18047 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
18048 * progmodes/verilog-mode.el (verilog-backward-token):
18049 * textmodes/ispell.el (lookup-words):
18050 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
18051
18052 2011-11-14 Glenn Morris <rgm@gnu.org>
18053
18054 * progmodes/executable.el
18055 (executable-make-buffer-file-executable-if-script-p):
18056 Handle file-modes returning nil.
18057
18058 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
18059 message - not necessary, and causes problems. (Bug#9831)
18060
18061 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
18062
18063 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
18064
18065 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
18066 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
18067 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
18068
18069 2011-11-12 Martin Rudalics <rudalics@gmx.at>
18070
18071 * window.el (window-resize, delete-window): Use window-splits
18072 variable instead of function.
18073 (window-state-get-1, window-state-put-2, window-state-put):
18074 Don't deal with windows' splits status.
18075
18076 2011-11-12 Glenn Morris <rgm@gnu.org>
18077
18078 * apropos.el (apropos-do-all, apropos-library, apropos-value)
18079 (apropos-documentation): Doc fixes.
18080
18081 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
18082
18083 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
18084 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
18085
18086 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
18087
18088 * electric.el (electric-indent-post-self-insert-function): Make it
18089 possible for a char to only indent in some circumstances.
18090 (electric-indent-mode): Simplify.
18091
18092 2011-11-11 Martin Rudalics <rudalics@gmx.at>
18093
18094 * window.el (windows-with-parameter): Remove unused function.
18095 (windows-at-side): Rename to window-at-side-list.
18096 (window-check, window-atom-check, window-atom-check-1)
18097 (window-side-check, window-size-ignore, window-size-fixed-1)
18098 (window-in-direction-2): Prefix with "window--".
18099 (window-tree-1): Rename to window--subtree, fix doc-string.
18100
18101 2011-11-11 Glenn Morris <rgm@gnu.org>
18102
18103 * subr.el (eval-after-load): If FILE is already loaded,
18104 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
18105
18106 2011-11-10 Glenn Morris <rgm@gnu.org>
18107
18108 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
18109 Call svn via vc-svn-command rather than vc-do-command.
18110 (vc-svn-command): Add --non-interactive. (Bug#9993)
18111 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
18112
18113 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
18114 Add toggle-read-only. (Bug#7292)
18115 * files.el (toggle-read-only): Mention that it should only
18116 be used interactively. (Bug#10006)
18117
18118 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
18119
18120 * progmodes/compile.el (compilation-error-regexp-alist-alist):
18121 Adjust regexp for OCaml warnings.
18122
18123 * electric.el (electric-pair-post-self-insert-function): Let user
18124 turn it off buffer-locally (bug#9932).
18125
18126 * progmodes/python.el (python-beginning-of-statement):
18127 Rewrite (bug#2703).
18128
18129 * progmodes/compile.el: Better handle TABs (bug#9749).
18130 (compilation-internal-error-properties)
18131 (compilation-next-error-function): Obey the target buffer's
18132 compilation-error-screen-columns.
18133
18134 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
18135
18136 * progmodes/meta-mode.el: Remove obsolete comments.
18137 (meta-right-comment-regexp, meta-ignore-comment-regexp):
18138 Fix typos in docstrings.
18139
18140 2011-11-09 Martin Rudalics <rudalics@gmx.at>
18141
18142 * window.el (window-size-fixed-p): Rewrite doc-string.
18143 (window-resizable-p): Rename to window--resizable-p. Update callers.
18144 (window--resizable): New function. Make all callers of
18145 window-resizable call window--resizable instead.
18146 (window-resizable): Rewrite in terms of window--resizable.
18147
18148 2011-11-08 Glenn Morris <rgm@gnu.org>
18149
18150 * progmodes/delphi.el (delphi-mode-syntax-table):
18151 Let define-derived-mode define a proper syntax table. (Bug#9994)
18152
18153 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
18154
18155 * window.el: Stay away from defsubst.
18156 (window-list-no-nils): Remove.
18157 (window-state-get-1, window-state-get): Use backquote instead.
18158
18159 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18160
18161 * emacs-lisp/find-func.el (find-function-read):
18162 Fix incorrect use of default argument in `completing-read'.
18163
18164 2011-11-08 Martin Rudalics <rudalics@gmx.at>
18165
18166 * window.el (display-buffer-function, special-display-function):
18167 Mention display-buffer-record-window but do not mention
18168 help-setup parameter in doc-strings.
18169 (window-min-delta): Fix doc-string typo.
18170
18171 2011-11-08 Chong Yidong <cyd@gnu.org>
18172
18173 * window.el (window-total-height, window-total-width): Doc fix.
18174 (window-body-size): Move from C.
18175 (window-body-height, window-body-width): Move to C.
18176
18177 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
18178
18179 * window.el: Make special-display like display-buffer-alist (bug#9532).
18180 (display-buffer--special-action): New function, morphed
18181 from display-buffer--special.
18182 (display-buffer): Use it to handle special-display-buffers at higher
18183 priority (just after display-buffer-alist).
18184 (display-buffer-fallback-action, display-buffer--other-frame-action)
18185 (pop-to-buffer-same-window): Remove display-buffer--special.
18186
18187 2011-11-07 Glenn Morris <rgm@gnu.org>
18188
18189 * calendar/cal-menu.el (cal-menu-set-date-title):
18190 Do nothing if not in a calendar. (Bug#9976)
18191
18192 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
18193
18194 * files.el (find-file): Always use selected-window.
18195
18196 2011-11-07 Martin Rudalics <rudalics@gmx.at>
18197
18198 * window.el (window-combinations): Make WINDOW argument
18199 mandatory. Rewrite doc-string.
18200 (walk-window-subtree, window-atom-check, window-min-delta)
18201 (window-max-delta, window--resize-this-window)
18202 (window--resize-root-window-vertically, window-tree)
18203 (balance-windows, window-state-put): Rewrite doc-strings as to
18204 not mention the term "subwindow".
18205 (window--resize-subwindows-skip-p): Rename to
18206 window--resize-child-windows-skip-p.
18207 (window--resize-subwindows-normal): Rename to
18208 window--resize-child-windows-normal.
18209 (window--resize-subwindows): Rename to
18210 window--resize-child-windows.
18211 (window-or-subwindow-p): Rename to window--in-subtree-p.
18212
18213 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
18214
18215 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
18216 Ensure that mbox format messages end in two newlines (Bug#9974).
18217
18218 2011-11-06 Chong Yidong <cyd@gnu.org>
18219
18220 * window.el (window-combination-p): Function deleted; its
18221 side-effect is not used in any existing code.
18222 (window-combinations, window-combined-p): Call window-*-child
18223 directly.
18224
18225 2011-11-05 Chong Yidong <cyd@gnu.org>
18226
18227 * window.el (window-valid-p): Rename from window-any-p.
18228 (window-size-ignore, window-state-get): Callers changed.
18229 (window-normalize-window): Rename from window-normalize-any-window.
18230 New arg LIVE-ONLY, replacing window-normalize-live-window.
18231 (window-normalize-live-window): Delete.
18232 (window-combination-p, window-combined-p, window-combinations)
18233 (walk-window-subtree, window-atom-root, window-min-size)
18234 (window-sizable, window-sizable-p, window-size-fixed-p)
18235 (window-min-delta, window-max-delta, window-resizable)
18236 (window-resizable-p, window-full-height-p, window-full-width-p)
18237 (window-current-scroll-bars, window-point-1, set-window-point-1)
18238 (window-at-side-p, window-in-direction, window-resize)
18239 (adjust-window-trailing-edge, maximize-window, minimize-window)
18240 (window-deletable-p, delete-window, delete-other-windows)
18241 (record-window-buffer, unrecord-window-buffer)
18242 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
18243 (quit-window, split-window, window-state-put)
18244 (set-window-text-height, fit-window-to-buffer)
18245 (shrink-window-if-larger-than-buffer): Callers changed.
18246
18247 2011-11-04 Eli Zaretskii <eliz@gnu.org>
18248
18249 * mail/rmail.el (rmail-simplified-subject): Decode subject with
18250 rfc2047-decode-string.
18251 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
18252 warnings.
18253
18254 * window.el (window-body-height, window-body-width): Mention in
18255 the doc string that the return values are in frame's canonical
18256 units. (Bug#9949)
18257
18258 2011-11-03 Alan Mackenzie <acm@muc.de>
18259
18260 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
18261 change in cc-engine.el.
18262
18263 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
18264
18265 * window.el (switch-to-buffer): Use `force-same-window' interactively.
18266
18267 2011-11-02 Martin Rudalics <rudalics@gmx.at>
18268
18269 * window.el (quit-window): Call unrecord-window-buffer after
18270 showing another buffer in the window. (Bug#9937)
18271 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
18272
18273 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
18274
18275 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
18276 Accept status with more than 9 shelves. (Bug#9935)
18277 Reported by Colin D Bennett <colin@gibibit.com>.
18278
18279 2011-11-01 Martin Rudalics <rudalics@gmx.at>
18280
18281 * help.el (with-help-window): Don't reference
18282 temp-buffer-show-specifiers in doc-string.
18283
18284 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
18285
18286 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
18287 menu-item.
18288
18289 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
18290
18291 * whitespace.el: New version 13.2.2.
18292 (whitespace-newline-mode): Disable properly. Reported by Sarah
18293 <EmacsWiki>.
18294
18295 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
18296
18297 * net/newst-treeview.el: Remove "Time-stamp".
18298 (newsticker--group-manage-orphan-feeds): Do not call
18299 newsticker--treeview-tree-update.
18300 (newsticker-treeview-update, newsticker-treeview):
18301 Call newsticker--treeview-tree-update if necessary.
18302
18303 2011-10-30 Martin Rudalics <rudalics@gmx.at>
18304
18305 * window.el (window-iso-combination-p, window-iso-combined-p)
18306 (window-iso-combinations): Remove "iso-" infix.
18307 Suggested by Chong Yidong.
18308 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
18309 (window-max-delta-1, window-resize, window--resize-siblings)
18310 (window--resize-this-window, adjust-window-trailing-edge)
18311 (split-window, balance-windows-1)
18312 (shrink-window-if-larger-than-buffer):
18313 * calendar/calendar.el (calendar-generate-window):
18314 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
18315
18316 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
18317
18318 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
18319 in place (bug#9907).
18320 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
18321 (eshell-rewrite-if-command, eshell-rewrite-for-command)
18322 (eshell-structure-basic-command, eshell-rewrite-while-command)
18323 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
18324 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
18325 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
18326 (eshell-do-pipelines-synchronously, eshell-eval-command):
18327 Use backquotes and prefer setq to set.
18328 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
18329 (eshell-macrop): Use functionp.
18330 (eshell-do-eval): Handle multiple expressions in `while' body.
18331
18332 2011-10-30 Chong Yidong <cyd@gnu.org>
18333
18334 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
18335 instead of set-mark (Bug#9810).
18336
18337 2011-10-30 Chong Yidong <cyd@gnu.org>
18338
18339 * window.el (split-window-below, split-window-right): Rename from
18340 split-window-above-each-other and split-window-side-by-side
18341 respectively. All callers changed.
18342 (split-window-sensibly, split-window-sensibly): Use them.
18343 (split-window-keep-point): Doc fix.
18344
18345 * isearch.el: Add isearch-scroll property to split-window-below
18346 and split-window-right.
18347
18348 * follow.el (follow-mode):
18349 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
18350 * progmodes/ada-xref.el (ada-gdb-application):
18351 * emulation/vip.el (vip-buffer-in-two-windows):
18352 * image-dired.el (image-dired-dired-with-window-configuration):
18353 * dired-x.el (dired-do-find-marked-files):
18354 * dired.el (dired-pop-to-buffer):
18355 * bs.el (bs--show-with-configuration):
18356 * vc/emerge.el (emerge-setup-windows):
18357 * textmodes/two-column.el (2C-two-columns):
18358 * textmodes/reftex-toc.el (reftex-toc):
18359 * progmodes/gdb-mi.el (gdb-setup-windows):
18360 * progmodes/fortran.el (fortran-window-create):
18361 * net/newst-treeview.el (newsticker--treeview-window-init):
18362 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
18363 * emulation/tpu-edt.el (tpu-gold-map):
18364 * emulation/crisp.el (crisp-mode-map):
18365 * calendar/calendar.el (calendar-basic-setup): Callers changed.
18366
18367 2011-10-29 Chong Yidong <cyd@gnu.org>
18368
18369 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
18370
18371 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
18372
18373 * textmodes/flyspell.el (flyspell-word): Fix char offset for
18374 forged Ispell output (Bug#7904).
18375
18376 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
18377
18378 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
18379
18380 * doc-view.el: Avoid ugly errors about not finding nil.
18381 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
18382 (doc-view-dvipdf-program, doc-view-unoconv-program)
18383 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
18384 Avoid nil or absolute file name as default value.
18385 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
18386
18387 2011-10-28 Alan Mackenzie <acm@muc.de>
18388
18389 * progmodes/cc-defs.el (c-version): -> 5.32.2.
18390
18391 2011-10-28 Alan Mackenzie <acm@muc.de>
18392
18393 Amend the handling of c-beginning/end-of-defun in nested declaration
18394 scopes.
18395
18396 * progmodes/cc-vars.el (c-defun-tactic): Move here from
18397 cc-langs.el. Change it to a defcustom.
18398
18399 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
18400 cc-vars.el.
18401
18402 * progmodes/cc-engine.el (c-beginning-of-statement-1):
18403 Prevent "class foo : bar" being spuriously recognized as a label.
18404
18405 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
18406 Add parameter `inclusive' (to include enclosing braces in the region).
18407 (c-widen-to-enclosing-decl-scope): New function.
18408 (c-while-widening-to-decl-block): New macro.
18409 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
18410 outward for defun boundaries, and correspondingly change symbol
18411 `respect-enclosure' to `go-outward'.
18412 (c-declaration-limits): Change algorithm to report only the "innermost"
18413 defun's boundaries.
18414
18415 2011-10-28 Deniz Dogan <deniz@dogan.se>
18416
18417 * net/rcirc.el (rcirc-mode): Use hard newlines.
18418
18419 2011-10-28 Alan Mackenzie <acm@muc.de>
18420
18421 Amend to indent and fontify macros "which include their own semicolon"
18422 correctly, using the "virtual semicolon" mechanism.
18423
18424 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
18425
18426 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
18427 Recode to scan one line at a time rather than having \n and \r
18428 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
18429 (c-forward-label): Amend for virtual semicolons.
18430 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
18431
18432 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
18433 of the new C macros.
18434
18435 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
18436 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
18437 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
18438 (c-opt-cpp-macro-define): Make into a full language variable.
18439 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
18440 AWK Mode (including \n, \r) removed, no longer needed.
18441
18442 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
18443 Invoke c-make-macro-with-semi-re.
18444
18445 * progmodes/cc-vars.el (c-macro-with-semi-re):
18446 (c-macro-names-with-semicolon): New variables.
18447 (c-make-macro-with-semi-re): New function.
18448
18449 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
18450
18451 * vc/log-edit.el: Fill empty field rather than adding new one.
18452 (log-edit-add-field): New function.
18453 (log-edit-insert-changelog): Use it.
18454
18455 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
18456
18457 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
18458
18459 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
18460
18461 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
18462 (gdb--check-interpreter): New function.
18463 (gdb): Use it.
18464
18465 2011-10-27 Glenn Morris <rgm@gnu.org>
18466
18467 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
18468 (least-positive-float, least-negative-float)
18469 (least-positive-normalized-float, least-negative-normalized-float)
18470 (float-epsilon, float-negative-epsilon):
18471 Remove unnecessary declarations.
18472
18473 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
18474 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
18475 (least-positive-float, least-negative-float)
18476 (least-positive-normalized-float, least-negative-normalized-float)
18477 (float-epsilon, float-negative-epsilon): Add doc-strings,
18478 based on those in cl.texi.
18479
18480 * files.el (set-visited-file-name): If the major-mode changed,
18481 reload the local variables. (Bug#9796)
18482
18483 2011-10-27 Chong Yidong <cyd@gnu.org>
18484
18485 * subr.el (change-major-mode-after-body-hook): New hook.
18486 (run-mode-hooks): Run it.
18487
18488 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
18489 Use change-major-mode-before-body-hook.
18490
18491 * simple.el (fundamental-mode):
18492 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
18493 change introducing fundamental-mode-hook.
18494
18495 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
18496
18497 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
18498
18499 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
18500
18501 * ido.el (ido-file-name-all-completions-1): Do not require
18502 tramp.el explicitly. (Bug#7583)
18503
18504 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
18505
18506 * progmodes/octave-mod.el:
18507 * progmodes/octave-inf.el: Update maintainer.
18508
18509 2011-10-26 Chong Yidong <cyd@gnu.org>
18510
18511 * subr.el (with-wrapper-hook): Rewrite doc.
18512
18513 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
18514
18515 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
18516 filenames "/method:foo:". (Bug#9793)
18517
18518 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
18519
18520 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
18521 (bug#9865).
18522
18523 2011-10-24 Glenn Morris <rgm@gnu.org>
18524
18525 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
18526
18527 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
18528
18529 * notifications.el: Add the requirement of a running D-Bus session
18530 bus to the Commentary.
18531
18532 2011-10-24 Juri Linkov <juri@jurta.org>
18533
18534 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
18535 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
18536 (Bug#9364)
18537
18538 2011-10-24 Juri Linkov <juri@jurta.org>
18539
18540 * info.el (Info-following-node-name-re): Add newline to the list
18541 of allowed characters for leading space. (Bug#9824)
18542
18543 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
18544
18545 * progmodes/octave-inf.el (inferior-octave-mode-map):
18546 Fix C-c C-h binding.
18547 * progmodes/octave-mod.el (octave-help): Remove.
18548
18549 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
18550
18551 Sync with Tramp 2.2.3.
18552
18553 * net/tramp-cache.el (top): Pacify byte-compiler using
18554 `init-file-user' and `site-run-file'.
18555
18556 * net/trampver.el: Update release number.
18557
18558 2011-10-23 Chong Yidong <cyd@gnu.org>
18559
18560 * files.el (toggle-read-only): Remove obsolete comment about
18561 version control.
18562
18563 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
18564 for toggle-read-only. Note that this hasn't called vc-next-action
18565 since 2008-05-02, though it wasn't documented at the time.
18566
18567 * vc/ediff-init.el (ediff-toggle-read-only-function):
18568 Use toggle-read-only.
18569
18570 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
18571
18572 Fix bug #9560, sporadic wrong indentation; improve instrumentation
18573 of c-parse-state.
18574
18575 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
18576 correct faulty logical expression.
18577 (c-parse-state-state, c-record-parse-state-state):
18578 (c-replay-parse-state-state): New defvar/defuns.
18579 (c-debug-parse-state): Use new functions.
18580
18581 2011-10-22 Martin Rudalics <rudalics@gmx.at>
18582
18583 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
18584 last fix. Use window-in-direction correctly.
18585
18586 2011-10-21 Chong Yidong <cyd@gnu.org>
18587
18588 * progmodes/idlwave.el (idlwave-mode):
18589 * progmodes/vera-mode.el (vera-mode): No need to set
18590 require-final-newline; that's done in prog-mode.
18591 Suggested by Stefan Monnier.
18592
18593 2011-10-21 Martin Rudalics <rudalics@gmx.at>
18594
18595 * mouse.el (mouse-drag-window-above)
18596 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
18597 (mouse-drag-mode-line-1, mouse-drag-header-line)
18598 (mouse-drag-vertical-line-rightward-window): Remove.
18599 (mouse-drag-line): New function.
18600 (mouse-drag-mode-line, mouse-drag-header-line)
18601 (mouse-drag-vertical-line): Call mouse-drag-line.
18602 * window.el (window-at-side-p, windows-at-side): New functions.
18603
18604 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
18605
18606 * tar-mode.el (tar-grind-file-mode):
18607 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
18608
18609 2011-10-21 Chong Yidong <cyd@gnu.org>
18610
18611 * progmodes/idlwave.el (idlwave-mode):
18612 * progmodes/vera-mode.el (vera-mode):
18613 Use mode-require-final-newline.
18614
18615 2011-10-20 Glenn Morris <rgm@gnu.org>
18616
18617 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
18618
18619 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
18620
18621 * emulation/cua-base.el (cua-set-mark): Fix case of string.
18622
18623 2011-10-20 Chong Yidong <cyd@gnu.org>
18624
18625 * emulation/cua-base.el (cua-mode):
18626 * mail/footnote.el (footnote-mode):
18627 * mail/mailabbrev.el (mail-abbrevs-mode):
18628 * net/xesam.el (xesam-minor-mode):
18629 * progmodes/bug-reference.el (bug-reference-mode):
18630 * progmodes/cap-words.el (capitalized-words-mode):
18631 * progmodes/compile.el (compilation-minor-mode)
18632 (compilation-shell-minor-mode):
18633 * progmodes/gud.el (gud-tooltip-mode):
18634 * progmodes/hideif.el (hide-ifdef-mode):
18635 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
18636 * progmodes/subword.el (subword-mode):
18637 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
18638 * progmodes/which-func.el (which-function-mode):
18639 * term/tvi970.el (tvi970-set-keypad-mode):
18640 * term/vt100.el (vt100-wide-mode):
18641 * textmodes/flyspell.el (flyspell-mode):
18642 * textmodes/ispell.el (ispell-minor-mode):
18643 * textmodes/nroff-mode.el (nroff-electric-mode):
18644 * textmodes/paragraphs.el (use-hard-newlines):
18645 * textmodes/refill.el (refill-mode):
18646 * textmodes/reftex.el (reftex-mode):
18647 * textmodes/rst.el (rst-minor-mode):
18648 * textmodes/sgml-mode.el (html-autoview-mode)
18649 (sgml-electric-tag-pair-mode):
18650 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
18651 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
18652 * emulation/crisp.el (crisp-mode):
18653 * emacs-lisp/eldoc.el (eldoc-mode):
18654 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
18655 minor mode behavior.
18656
18657 2011-10-19 Juri Linkov <juri@jurta.org>
18658
18659 * descr-text.el (describe-char): Add #x2010 and #x2011 to
18660 the list of hard-coded chars with escape-glyph face.
18661
18662 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
18663
18664 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
18665
18666 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
18667
18668 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
18669 running process.
18670
18671 2011-10-19 Glenn Morris <rgm@gnu.org>
18672
18673 * vc/vc-bzr.el (vc-bzr-after-dir-status):
18674 Ignore ignored files. (Bug#9726)
18675
18676 2011-10-19 Chong Yidong <cyd@gnu.org>
18677
18678 Doc fix for minor modes, stating that an omitted argument enables
18679 the mode unconditionally when called from Lisp.
18680
18681 * abbrev.el (abbrev-mode):
18682 * allout.el (allout-mode):
18683 * autoinsert.el (auto-insert-mode):
18684 * autoarg.el (autoarg-mode, autoarg-kp-mode):
18685 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
18686 (global-auto-revert-mode):
18687 * battery.el (display-battery-mode):
18688 * composite.el (global-auto-composition-mode)
18689 (auto-composition-mode):
18690 * delsel.el (delete-selection-mode):
18691 * desktop.el (desktop-save-mode):
18692 * dired-x.el (dired-omit-mode):
18693 * dirtrack.el (dirtrack-mode):
18694 * doc-view.el (doc-view-minor-mode):
18695 * double.el (double-mode):
18696 * electric.el (electric-indent-mode, electric-pair-mode):
18697 * emacs-lock.el (emacs-lock-mode):
18698 * epa-hook.el (auto-encryption-mode):
18699 * follow.el (follow-mode):
18700 * font-core.el (font-lock-mode):
18701 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
18702 * help.el (temp-buffer-resize-mode):
18703 * hilit-chg.el (highlight-changes-mode)
18704 (highlight-changes-visible-mode):
18705 * hi-lock.el (hi-lock-mode):
18706 * hl-line.el (hl-line-mode, global-hl-line-mode):
18707 * icomplete.el (icomplete-mode):
18708 * ido.el (ido-everywhere):
18709 * image-file.el (auto-image-file-mode):
18710 * image-mode.el (image-minor-mode):
18711 * iswitchb.el (iswitchb-mode):
18712 * jka-cmpr-hook.el (auto-compression-mode):
18713 * linum.el (linum-mode):
18714 * longlines.el (longlines-mode):
18715 * master.el (master-mode):
18716 * mb-depth.el (minibuffer-depth-indicate-mode):
18717 * menu-bar.el (menu-bar-mode):
18718 * minibuf-eldef.el (minibuffer-electric-default-mode):
18719 * mouse-sel.el (mouse-sel-mode):
18720 * msb.el (msb-mode):
18721 * mwheel.el (mouse-wheel-mode):
18722 * outline.el (outline-minor-mode):
18723 * paren.el (show-paren-mode):
18724 * recentf.el (recentf-mode):
18725 * reveal.el (reveal-mode, global-reveal-mode):
18726 * rfn-eshadow.el (file-name-shadow-mode):
18727 * ruler-mode.el (ruler-mode):
18728 * savehist.el (savehist-mode):
18729 * scroll-all.el (scroll-all-mode):
18730 * scroll-bar.el (scroll-bar-mode):
18731 * server.el (server-mode):
18732 * shell.el (shell-dirtrack-mode):
18733 * simple.el (auto-fill-mode, transient-mark-mode)
18734 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
18735 (line-number-mode, column-number-mode, size-indication-mode)
18736 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
18737 * strokes.el (strokes-mode):
18738 * time.el (display-time-mode):
18739 * t-mouse.el (gpm-mouse-mode):
18740 * tool-bar.el (tool-bar-mode):
18741 * tooltip.el (tooltip-mode):
18742 * type-break.el (type-break-mode-line-message-mode)
18743 (type-break-query-mode):
18744 * view.el (view-mode):
18745 * whitespace.el (whitespace-mode, whitespace-newline-mode)
18746 (global-whitespace-mode, global-whitespace-newline-mode):
18747 * xt-mouse.el (xterm-mouse-mode): Doc fix.
18748
18749 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
18750 Fix autogenerated docstring.
18751
18752 2011-10-19 Juri Linkov <juri@jurta.org>
18753
18754 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
18755 by checking environment variables "DESKTOP_SESSION" and
18756 "XDG_CURRENT_DESKTOP". (Bug#9779)
18757
18758 2011-10-19 Juri Linkov <juri@jurta.org>
18759
18760 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
18761 (browse-url-chromium-program, browse-url-chromium-arguments):
18762 New defcustoms.
18763 (browse-url-default-browser): Check for `browse-url-chromium' and
18764 call `browse-url-chromium-program'.
18765 (browse-url-chromium): New command. (Bug#9779)
18766
18767 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
18768
18769 * facemenu.el (list-colors-duplicates): On Windows, detect more
18770 duplicates by assuming that only colors matching "^System" are
18771 special "system colors". (Bug#9722)
18772
18773 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
18774
18775 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
18776 to distinguish the author from the committer.
18777
18778 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
18779
18780 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
18781
18782 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
18783
18784 * international/mule.el (sgml-html-meta-auto-coding-function):
18785 Add support for detecting encoding in HTML5 specified only as
18786 <meta charset="UTF-8">. Implementation just makes http-equiv and
18787 content-type parts from HTML4 encoding string optional. (Bug#9716)
18788
18789 2011-10-18 Glenn Morris <rgm@gnu.org>
18790
18791 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
18792
18793 2011-10-18 Chong Yidong <cyd@gnu.org>
18794
18795 * faces.el (cursor): Doc fix.
18796
18797 2011-10-17 Chong Yidong <cyd@gnu.org>
18798
18799 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
18800
18801 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
18802
18803 * dirtrack.el (dirtrack): Support shell buffers with path
18804 prefixes, e.g. tramp-based remote shells. (Bug#9647)
18805
18806 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
18807
18808 * json.el: Bump version to 1.3 and note change in History.
18809 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
18810
18811 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
18812
18813 * comint.el (comint-insert-input, comint-send-input)
18814 (comint-get-old-input-default, comint-backward-matching-input)
18815 (comint-next-prompt): Use nil instead of `input' for field property of
18816 past user input (bug#114).
18817
18818 * minibuffer.el (completion--replace): Inherit surrounding properties
18819 (bug#114).
18820 (minibuffer-complete-and-exit): Use it.
18821
18822 * comint.el (comint--table-subvert): Quote the all-completions output
18823 (bug#9160).
18824
18825 2011-10-17 Martin Rudalics <rudalics@gmx.at>
18826
18827 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
18828
18829 * menu-bar.el (menu-bar-file-menu): Add entry for making new
18830 window on right of selected. (Bug#9350) Reword other window
18831 entries and separate them from frame entries.
18832
18833 2011-10-15 Glenn Morris <rgm@gnu.org>
18834
18835 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
18836 Doc fixes.
18837
18838 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
18839
18840 * net/network-stream.el (network-stream-open-starttls):
18841 Improve detection of failure due to lack of TLS support.
18842
18843 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
18844 putting the input text in front and in bold.
18845
18846 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
18847
18848 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
18849
18850 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
18851 empty buffer.
18852
18853 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
18854 unread-command-events rather than pushing yet-another event.
18855
18856 2011-10-14 Eli Zaretskii <eliz@gnu.org>
18857
18858 * mail/sendmail.el (sendmail-query-once): Improve the wording of
18859 the explanation of the possible choices. Make the options passed
18860 to completing-read shorter.
18861
18862 2011-10-13 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
18863
18864 * textmodes/flyspell.el (flyspell-large-region): Make sure
18865 extended character mode is used if defined (Bug#1339).
18866
18867 2011-10-13 Eli Zaretskii <eliz@gnu.org>
18868
18869 * simple.el (what-cursor-position): Fix the display of the
18870 character info for LRE, LRO, RLE, and RLO characters by appending
18871 an invisible PDF.
18872
18873 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
18874
18875 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
18876 even in case of error; add debug spec; simplify data flow.
18877 (with-timeout-handler): Remove.
18878
18879 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
18880
18881 Fix Bug#6019, Bug#9315.
18882
18883 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
18884 complete `buffer-file-name', the local file name part could look
18885 remotely (for example on VMS).
18886
18887 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
18888 `tramp-run-real-handler'.
18889 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
18890 already quoted by '"'.
18891
18892 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
18893 Let `file-name-handler-alist' be nil, the local file name part
18894 could look remotely (for example on VMS).
18895
18896 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
18897
18898 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
18899 from here...
18900 (flyspell-post-command-hook): ...to here.
18901
18902 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
18903
18904 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
18905 if not needed.
18906 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
18907 using completion. Protect against "slow" callers.
18908 Remove the "message hack".
18909
18910 2011-10-11 Juri Linkov <juri@jurta.org>
18911
18912 * isearch.el (isearch-lazy-highlight-word): New variable.
18913 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
18914 Use it. (Bug#9727)
18915
18916 2011-10-11 Glenn Morris <rgm@gnu.org>
18917
18918 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
18919 like f90-previous-statement does.
18920
18921 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18922
18923 * eshell/eshell.el (eshell-command): History should be saved
18924 only in interactive use, to avoid error.
18925
18926 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
18927
18928 * minibuffer.el (completion-file-name-table): Fix last change,
18929 i.e. ignore normal errors but not the other ones.
18930
18931 2011-10-10 Martin Rudalics <rudalics@gmx.at>
18932
18933 * window.el (special-display-buffer-names)
18934 (special-display-regexps): Remove some remnants of earlier
18935 changes from doc-strings.
18936 (quit-windows-on): New function.
18937
18938 * vc/vc.el (vc-revert, vc-rollback):
18939 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
18940 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
18941 (Bug#6183) (Bug#7074) (Bug#7447)
18942
18943 2011-10-09 Martin Rudalics <rudalics@gmx.at>
18944
18945 * window.el (frame-auto-hide-function): Add version tag.
18946 (Bug#9699)
18947
18948 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
18949
18950 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
18951 condition.
18952
18953 2011-10-09 Leo Liu <sdl.web@gmail.com>
18954
18955 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
18956 (Bug#9701)
18957
18958 2011-10-08 Glenn Morris <rgm@gnu.org>
18959
18960 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
18961 before the first code statement zero indent. (Bug#9690)
18962
18963 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
18964
18965 * simple.el (count-words-region): Always count in the region.
18966 Report the number of lines and characters too.
18967 (count-words): New command, which counts in the buffer if the
18968 region is inactive, as count-words-region used to.
18969 (count-words--message): New function. Handle plurals.
18970 (count-lines-region): Make it an alias for count-words-region.
18971
18972 * bindings.el (esc-map): Replace count-lines-region with
18973 count-words-region.
18974
18975 2011-10-08 Martin Rudalics <rudalics@gmx.at>
18976
18977 * window.el (window--delete): Delete dedicated frame
18978 unconditionally when argument KILL is non-nil. (Bug#9699)
18979 (switch-to-buffer): Fix doc-string typo.
18980
18981 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18982
18983 * eshell/eshell.el (eshell-command): Avoid using hooks.
18984
18985 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
18986
18987 * bindings.el ([M-left],[M-right]): Bind to left-word and
18988 right-word respectively.
18989
18990 2011-10-07 Glenn Morris <rgm@gnu.org>
18991
18992 * cus-start.el (debug-on-quit): Fix custom type.
18993
18994 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
18995
18996 * subr.el (define-key-after): Clarify that the function is not
18997 useful for non-menu keymaps.
18998
18999 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
19000
19001 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
19002
19003 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
19004 in current minibuffer (Fix bug with recursive minibuffers).
19005
19006 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
19007
19008 * progmodes/gdb-mi.el (gdb): Doc fix.
19009
19010 2011-10-05 Martin Rudalics <rudalics@gmx.at>
19011
19012 * window.el (frame-auto-hide-function): New option replacing
19013 frame-auto-delete. Suggested by Stefan Monnier.
19014 (window--delete): Call frame-auto-hide-function instead of
19015 investigating frame-auto-delete.
19016 (window-point-1, set-window-point-1): New functions.
19017 (window-in-direction, record-window-buffer, window-state-get-1)
19018 (display-buffer-record-window): Use window-point-1 instead of
19019 window-point.
19020 (set-window-buffer-start-and-point): Use set-window-point-1.
19021
19022 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
19023
19024 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
19025
19026 2011-10-05 Glenn Morris <rgm@gnu.org>
19027
19028 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
19029 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
19030
19031 2011-10-05 Leo Liu <sdl.web@gmail.com>
19032
19033 * subr.el (read-char-choice): Fix argument to buffer-live-p which
19034 works with buffer object.
19035
19036 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
19037
19038 * mpc.el (mpc-tool-bar-map): Add labels.
19039
19040 2011-10-04 Glenn Morris <rgm@gnu.org>
19041
19042 * calendar/holidays.el (calendar-check-holidays): Doc fix.
19043
19044 2011-10-04 Martin Rudalics <rudalics@gmx.at>
19045
19046 * window.el (window--delete): New function.
19047 (frame-auto-delete): Resuscitate option.
19048 (bury-buffer, replace-buffer-in-windows)
19049 (quit-window): Rewrite using window--delete.
19050 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
19051 Pass display-buffer-mark-dedicated to window--display-buffer-2
19052 (Bug#9639).
19053
19054 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
19055
19056 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
19057 returns a list (bug#9554). Add remote file name completion.
19058 * comint.el (comint--table-subvert): Curry and get quote&unquote
19059 functions as arguments.
19060 (comint--complete-file-name-data): Adjust call accordingly.
19061 * pcomplete.el (pcomplete--table-subvert): Remove.
19062 (pcomplete-completions-at-point): Use comint--table-subvert instead.
19063
19064 * minibuffer.el (completion-table-case-fold): Use currying.
19065 (completion--styles-type, completion--cycling-threshold-type):
19066 New constants.
19067 (completion-styles, completion-category-overrides)
19068 (completion-cycle-threshold): Use them.
19069 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
19070 completion-table-case-fold.
19071
19072 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
19073
19074 * minibuffer.el (completion-category-overrides): Fix type of styles
19075 and add more user friendly tags (bug#9660).
19076
19077 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
19078
19079 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
19080 (mule-input-method-string): New widget.
19081 (default-input-method, language-info-custom-alist): Use it.
19082
19083 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
19084
19085 * pcomplete.el: Require comint.
19086 (pcomplete--common-suffix): Remove.
19087 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
19088 (pcomplete--table-subvert): Sync with comint--table-subvert.
19089 (pcomplete--entries): Use comint-completion-file-name-table.
19090 * comint.el (comint-unquote-filename): Simplify.
19091 (comint-completion-file-name-table): New function (bug#9616).
19092 (comint--complete-file-name-data): Use it.
19093
19094 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
19095 (pcmpl-gnu-tar-buffer): Remove.
19096 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
19097 around. Make sure pcomplete-suffix-list is only changed temporarily.
19098 Don't look inside the tar's file if it's too large.
19099
19100 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
19101
19102 * cus-edit.el (custom-mode-map):
19103 * epa.el (epa-key-list-mode-map):
19104 * man.el (Man-mode-map):
19105 * startup.el (splash-screen-keymap):
19106 * simple.el (special-mode-map): Use scroll-up-command and
19107 scroll-down-command.
19108
19109 * progmodes/idlw-help.el (idlwave-help-mode-map):
19110 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
19111 * net/newst-plainview.el (newsticker-mode-map):
19112 * emulation/ws-mode.el (wordstar-mode-map):
19113 * emulation/vi.el (vi-com-map):
19114 * calc/calc-graph.el (calc-graph-show-dumb):
19115 * term/sun.el (terminal-init-sun):
19116 * term/ns-win.el (global-map):
19117 * progmodes/grep.el (grep-mode-map):
19118 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
19119 * mail/rmail.el (rmail-mode-map):
19120 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
19121
19122 * custom.el (custom-safe-themes, load-theme): Treat value of t for
19123 custom-safe-themes as special.
19124
19125 2011-10-01 Julien Danjou <julien@danjou.info>
19126
19127 * notifications.el (notifications-notify): Fix docstring.
19128
19129 2011-10-01 Per Starbäck <per@starback.se>
19130
19131 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
19132
19133 2011-09-30 Martin Rudalics <rudalics@gmx.at>
19134
19135 * startup.el (command-line-1): Fix last fix by inserting
19136 initial-scratch-message into *scratch* before displaying it.
19137 (Bug#9605) and (Bug#9636)
19138
19139 2011-09-29 Eli Zaretskii <eliz@gnu.org>
19140
19141 * simple.el (line-move): If auto-hscroll-mode is disabled and the
19142 window is hscrolled, move by logical lines. (Bug#9607)
19143 (line-move-visual): Update the doc string to the above effect.
19144
19145 2011-09-29 Martin Rudalics <rudalics@gmx.at>
19146
19147 * window.el (display-buffer-record-window): When WINDOW is the
19148 selected window use `point' instead of `window-point'. (Bug#9626)
19149
19150 * startup.el (command-line-1): Use insert-before-markers when
19151 inserting initial-scratch-message. (Bug#9605)
19152
19153 * help.el (help-window): Remove variable.
19154
19155 2011-09-29 Glenn Morris <rgm@gnu.org>
19156
19157 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
19158
19159 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
19160
19161 * descr-text.el (describe-char-categories): Accept category
19162 descriptions more than one line long.
19163
19164 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
19165
19166 * simple.el (delete-trailing-whitespace): Fix last change.
19167
19168 * progmodes/perl-mode.el (perl-syntax-propertize-function):
19169 Don't confuse "y => 3" as the beginning of a `y' operation.
19170
19171 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
19172 object has more than 4 slots (bug#9613).
19173
19174 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
19175
19176 * subr.el (with-output-to-temp-buffer):
19177 * net/quickurl.el (quickurl, quickurl-browse-url):
19178 Fix typos in docstrings.
19179
19180 2011-09-27 Eli Zaretskii <eliz@gnu.org>
19181
19182 * minibuffer.el (completion-styles)
19183 (completion-category-overrides): Cross reference each other in doc
19184 strings.
19185
19186 2011-09-27 Glenn Morris <rgm@gnu.org>
19187
19188 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
19189 to split-string. (Bug#9606)
19190
19191 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
19192
19193 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
19194 (bug#9615).
19195
19196 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
19197
19198 * emacs-lisp/package.el (list-packages): Fix echo area message.
19199
19200 2011-09-27 Leo Liu <sdl.web@gmail.com>
19201
19202 * ido.el (ido-read-internal): Accept cons cell HIST arg.
19203
19204 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
19205
19206 * net/dbus.el (dbus-unregister-object): Don't release services for
19207 registered signals. (Bug#9581)
19208
19209 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
19210
19211 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
19212 function that picks between cfengine 2 and 3 support
19213 automatically. Update docs accordingly.
19214
19215 2011-09-22 Kenichi Handa <handa@m17n.org>
19216
19217 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
19218 ZERO.
19219 (indian-itrans-v5-table-for-tamil): New variable.
19220 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
19221
19222 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
19223
19224 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
19225 that's true if the current command involved collapsing of text.
19226 It's reset to false at the beginning of the next command.
19227 (allout-post-command-business): Move the cursor to the beginning
19228 of entry if the cursor is hidden and collapsing activity just
19229 happened.
19230
19231 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
19232
19233 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
19234 tracking (Bug#9541).
19235
19236 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
19237
19238 * net/newst-reader.el (newsticker-html-renderer)
19239 (newsticker-show-news): Automatically load html rendering package
19240 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
19241 because w3m-fill-column is let-bound" and the error "Symbol's value
19242 as variable is void: w3m-fill-column".
19243
19244 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
19245
19246 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
19247 Release services only if they are defined. (Bug#9581)
19248
19249 2011-09-23 Richard Stallman <rms@gnu.org>
19250
19251 * textmodes/paragraphs.el (forward-sentence): For backwards case,
19252 distinguish start of paragraph from start of its text.
19253
19254 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
19255
19256 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
19257 (rmail-generate-viewer-buffer): Put that hook on view buffer.
19258 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
19259
19260 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
19261
19262 * international/mule-diag.el (mule-diag): Insert a newline after
19263 each fontset description.
19264
19265 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
19266
19267 * simple.el (delete-trailing-whitespace):
19268 Document last change; simplify.
19269
19270 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
19271
19272 * simple.el (delete-trailing-whitespace): Also delete
19273 extra newlines at the end of the buffer.
19274
19275 * textmodes/picture.el: Make motion commands obey shift-select-mode.
19276 (picture-newline): Use forward-line so as to ignore fields.
19277
19278 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
19279
19280 * subr.el (with-wrapper-hook): Fix edebug spec.
19281
19282 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
19283
19284 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
19285 (bug#4538).
19286
19287 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
19288
19289 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
19290 Fix nasty bug using wrong cached values.
19291
19292 2011-09-23 Alan Mackenzie <acm@muc.de>
19293
19294 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
19295
19296 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
19297
19298 * window.el (pop-to-buffer): Ensure right window is selected if we
19299 chose another frame.
19300
19301 2011-09-22 Eli Zaretskii <eliz@gnu.org>
19302
19303 * simple.el (what-cursor-position): Use get-char-property-change
19304 and next-single-char-property-change, to be able to show display
19305 properties that come from overlays as well as text properties.
19306
19307 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
19308
19309 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
19310
19311 * cmuscheme.el (run-scheme, switch-to-scheme):
19312 * cus-edit.el (customize-group, custom-buffer-create)
19313 (customize-browse):
19314 * info.el (info):
19315 * shell.el (shell):
19316 * mail/sendmail.el (mail):
19317 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
19318
19319 2011-09-22 Richard Stallman <rms@gnu.org>
19320
19321 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
19322 move back only to line beg, don't move back over blank lines.
19323
19324 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
19325
19326 * files.el (copy-directory): Set directory attributes only in case
19327 they could be retrieved from the source directory. (Bug#9565)
19328
19329 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
19330
19331 * progmodes/hideshow.el (hs-looking-at-block-start-p)
19332 (hs-find-block-beginning, hs-hide-level-recursive):
19333 Ignore strings as well as comments. (Bug#9502)
19334
19335 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
19336
19337 * progmodes/sql.el (sql-comint-postgres):
19338 Convert port number to a string. (Bug#9566)
19339
19340 2011-09-22 Martin Rudalics <rudalics@gmx.at>
19341
19342 * window.el (quit-window): Undedicate window when switching to
19343 previous buffer. Reported by Thierry Volpiatto
19344 <thierry.volpiatto@gmail.com>.
19345 (special-display-popup-frame): When popping up a new frame reset
19346 its previous buffers to nil. Simplify code.
19347
19348 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
19349
19350 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
19351 and process filter, as done also in `shell-command'.
19352
19353 2011-09-21 Martin Rudalics <rudalics@gmx.at>
19354
19355 * window.el (set-window-buffer-start-and-point):
19356 Call set-window-start with NOFORCE argument t.
19357 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
19358 (quit-window): Reword doc-string. Handle new format of
19359 quit-restore parameter. Don't delete window if it has a
19360 previous buffer we can show instead of the present one.
19361 (display-buffer-record-window): Rewrite using a new format for
19362 the quit-restore window parameter
19363 (special-display-popup-frame, display-buffer-same-window)
19364 (display-buffer-reuse-window, display-buffer-pop-up-frame)
19365 (display-buffer-pop-up-window, display-buffer-use-some-window):
19366 Adapt symbol passed to display-buffer-record-window.
19367 * help.el (help-window-setup): Handle new format of quit-restore
19368 parameter.
19369
19370 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
19371
19372 * faces.el (face-list): Fix docstring (bug#9564).
19373
19374 * window.el (display-buffer--action-function-custom-type):
19375 Don't include internal functions in the Custom interface.
19376
19377 2011-09-20 Juri Linkov <juri@jurta.org>
19378
19379 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
19380 (Info-forward-node, Info-backward-node, Info-next-preorder)
19381 (Info-last-preorder): Use it. (Bug#9528)
19382
19383 2011-09-20 Juri Linkov <juri@jurta.org>
19384
19385 * info.el (Info-last-preorder): Visit last menu item only when
19386 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
19387
19388 2011-09-20 Julien Danjou <julien@danjou.info>
19389
19390 * password-cache.el (password-cache-remove): Remove entries even if the
19391 value is nil, so that password with a nil value (negative caching) is
19392 possible to invalidate.
19393
19394 2011-09-20 Lawrence Mitchell <wence@gmx.li>
19395
19396 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
19397 all whitespace around breakpoint. (Bug#9553)
19398 (f90-find-breakpoint): Only break at whitespace inside a comment.
19399
19400 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
19401
19402 * minibuffer.el (completion-file-name-table): Keep track of errors.
19403 (completion-table-with-predicate): Handle the case where pred1 is nil.
19404 * pcomplete.el (pcomplete-completions-at-point): Simplify.
19405
19406 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
19407
19408 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
19409 (debugger-return-value): Signal an error if the debugging context does
19410 not await any return value.
19411
19412 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
19413 * image-mode.el (image-toggle-display-text)
19414 (image-toggle-display-image): Stay away from evil `intangible'.
19415
19416 2011-09-19 Leo Liu <sdl.web@gmail.com>
19417
19418 * replace.el (occur-revert-arguments): Make it permanent-local.
19419 (occur-mode): Don't call font-lock-defontify.
19420
19421 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
19422
19423 * net/ldap.el (ldap-search-internal): Don't push empty search
19424 result (Bug#9508).
19425
19426 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
19427
19428 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
19429
19430 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
19431
19432 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
19433 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
19434
19435 2011-09-18 Juri Linkov <juri@jurta.org>
19436
19437 * buff-menu.el (Buffer-menu-mode-map):
19438 * dired.el (dired-mode-map):
19439 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
19440 (lisp-interaction-mode-map):
19441 * emacs-lisp/package.el (package-menu-mode-map):
19442 * epa.el (epa-key-list-mode-map):
19443 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
19444 (menu-bar-options-menu):
19445 * outline.el (outline-mode-menu-bar-map):
19446 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
19447 * vc/vc-dir.el (vc-dir-menu-map):
19448 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
19449 Capitalize non-function content words in menu item strings.
19450
19451 * dired.el (dired-mode-map): Add menu item for
19452 `image-dired-dired-toggle-marked-thumbs'.
19453
19454 2011-09-18 Juri Linkov <juri@jurta.org>
19455
19456 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
19457 to `isearch-case-fold-search' and restore its original value
19458 after the `isearch-mode' call.
19459
19460 2011-09-18 Juri Linkov <juri@jurta.org>
19461
19462 * progmodes/grep.el (grep-process-setup): Don't check code for 1
19463 because `zgrep' returns 1 for successful matches (bug#9226).
19464
19465 2011-09-18 Juri Linkov <juri@jurta.org>
19466
19467 * info.el (Info-extract-menu-node-name): Check the second match
19468 for empty string (second test-case of bug#9528).
19469 (Info-last-preorder): Let-bind `Info-history' to nil to not add
19470 intermediate nodes to the history (first test-case of bug#9528).
19471
19472 2011-09-18 Juri Linkov <juri@jurta.org>
19473
19474 * info.el (Info-mode-syntax-table): New variable.
19475 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
19476
19477 2011-09-18 Juri Linkov <juri@jurta.org>
19478
19479 * info.el (Info-file-supports-index-cookies):
19480 Increment line-beginning-position's arg from 3 to 4 because makeinfo
19481 outputs one more line for long file names (bug#4142).
19482
19483 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
19484
19485 * newcomment.el (comment-normalize-vars): If prompting for
19486 comment-start, set comment-start-skip too (Bug#8424).
19487
19488 2011-09-18 Johan BockgĂ¥rd <bojohan@gnu.org>
19489
19490 * icomplete.el: Fix previous fix of Bug#5849.
19491 (icomplete-mode): Don't set completion-show-inline-help.
19492 (icomplete-minibuffer-setup): Set completion-show-inline-help
19493 locally during icompletion.
19494
19495 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
19496
19497 * woman.el (woman2-process-escapes): Don't delete unrecognized
19498 escapes (Bug#7843).
19499
19500 * files.el (inhibit-first-line-modes-regexps): Add image files.
19501 (hack-local-variables-prop-line): Return nil for malformed
19502 prop-lines (Bug#9044).
19503
19504 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
19505
19506 * net/tramp.el (top): Don't require 'shell.
19507 (tramp-methods): Fix docstring.
19508 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
19509 Return complete remote file name. Handle "smb" case.
19510 Use `tramp-tmpdir', if defined for the respective method.
19511 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
19512
19513 * net/tramp-compat.el (top): Require 'shell.
19514
19515 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
19516 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
19517 `tramp-current-host'.
19518 (tramp-get-remote-tmpdir): Remove.
19519
19520 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
19521 `tramp-tmpdir' entries.
19522 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
19523 (tramp-smb-handle-file-attributes): Ignore errors.
19524 (tramp-smb-wait-for-output): Check also for process end.
19525
19526 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
19527
19528 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
19529 when sending QUIT (bug#9312).
19530
19531 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
19532
19533 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
19534 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
19535 occur-mode-display-occurrence.
19536 (occur-edit-mode): Add usage message.
19537 (occur-cease-edit): New command.
19538 (occur-after-change-function): Use text properties to find the
19539 position of the prefix text.
19540 (occur-engine): Set stickiness of prefix text properties.
19541
19542 2011-09-17 Glenn Morris <rgm@gnu.org>
19543
19544 * progmodes/etags.el (complete-tag):
19545 Fix call to completion-in-region. (Bug#9526)
19546
19547 2011-09-17 Juri Linkov <juri@jurta.org>
19548
19549 * textmodes/ispell.el (ispell-word): Add to the error message
19550 the word, ispell program name and current dictionary (bug#9121).
19551 (ispell-tex-arg-end): Capitalize "error" in the error message.
19552
19553 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
19554
19555 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
19556 check. (Bug#4251)
19557
19558 2011-09-17 Juri Linkov <juri@jurta.org>
19559
19560 * window.el (window-safe-min-height, window-safe-min-width):
19561 Fix typos (followup to bug#9522).
19562
19563 2011-09-17 Sven Joachim <svenjoac@gmx.de>
19564
19565 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
19566
19567 2011-09-16 Eli Zaretskii <eliz@gnu.org>
19568
19569 * simple.el (line-move): If goal-column is set, move by logical
19570 lines, not by display lines. (Bug#971)
19571 (next-line, previous-line, goal-column, line-move-visual): Doc fix
19572 to reflect the above change.
19573
19574 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
19575
19576 * image.el (imagemagick-register-types): Use regexp-opt.
19577
19578 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
19579
19580 * window.el (display-buffer-base-action): Rename from
19581 display-buffer-default-action. Make default value empty.
19582 (display-buffer-overriding-action): Convert to defvar.
19583 (display-buffer-fallback-action): New var.
19584
19585 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
19586
19587 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
19588 declaration.
19589 (package--add-to-archive-contents): If there is a duplicate entry
19590 with an older version, remove it.
19591 (package-menu-mark-delete, package-menu-mark-install)
19592 (package-menu-mark-unmark): Make unused args optional.
19593 (package-menu-mark-obsolete-for-deletion):
19594 Use package-menu-get-status instead of a regexp search.
19595 (package-menu-get-status): Use tabulated-list-entry.
19596 (package-menu-mark-upgrades): New command.
19597 (package-menu-mode-map): Bind it to U. Add it to menu bar.
19598 (package-menu-execute): Do installation before deletion.
19599 (package-menu-refresh, package-menu-execute): Use derived-mode-p
19600 instead of checking major-mode.
19601 (package-menu--find-upgrades): New function.
19602
19603 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
19604
19605 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
19606 passwords in the log buffer.
19607 (smtpmail-process-filter): Update the process marker so that the
19608 "broken by peer" status message is inserted in the right place.
19609
19610 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
19611
19612 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
19613 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
19614 bibtex-completion-at-point-function.
19615 (bibtex-completion-at-point-function): Use them.
19616
19617 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
19618
19619 * mpc.el (mpc-constraints-tag-lookup): New function.
19620 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
19621 also to browser "album|playlist".
19622
19623 2011-09-14 Juri Linkov <juri@jurta.org>
19624
19625 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
19626 (isearch-edit-string): Use length of `isearch-string' when
19627 `isearch-fail-pos' returns nil.
19628 (isearch-message): Remove duplicate code and call
19629 `isearch-fail-pos' with arg `t'.
19630
19631 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
19632
19633 * replace.el (occur-mode-goto-occurrence): Don't force using other
19634 window (Bug#9499).
19635
19636 * dired-aux.el (dired-do-chmod): Don't provide initial input.
19637
19638 2011-09-14 Martin Rudalics <rudalics@gmx.at>
19639
19640 * window.el (display-buffer-window): Remove.
19641 (display-buffer-record-window): Use help-setup window parameter
19642 instead of variable display-buffer-window.
19643 (display-buffer-function, special-display-buffer-names)
19644 (special-display-function): Mention help-setup parameter instead
19645 of display-buffer-window in doc-string.
19646 * help.el (help-window-setup): New argument help-window.
19647 Use help-window-setup parameter instead of display-buffer-window.
19648 Reword some messages.
19649 (with-help-window): Pass window used for displaying the buffer
19650 to help-window-setup. Don't set display-buffer-window.
19651
19652 2011-09-13 Glenn Morris <rgm@gnu.org>
19653
19654 * emacs-lisp/debug.el (debugger-make-xrefs):
19655 Preserve point. (Bug#9462)
19656
19657 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
19658
19659 * window.el (window-deletable-p): Use next-frame.
19660
19661 2011-09-13 Martin Rudalics <rudalics@gmx.at>
19662
19663 * window.el (window-auto-delete): Remove.
19664 (window-deletable-p): Remove argument FORCE. Don't deal with
19665 dedication and previous buffers.
19666 (switch-to-prev-buffer): Don't delete window.
19667 (delete-windows-on): Delete a window's frame if and only if the
19668 window is dedicated.
19669 (replace-buffer-in-windows): Delete buffer's window or frame if
19670 and only if window is dedicated.
19671 (quit-window): Handle quit-restore as before last change.
19672 (bury-buffer): Delete window only if window-deletable-p returns t.
19673
19674 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
19675
19676 * window.el (window-deletable-p): Never delete the last frame on a
19677 given terminal.
19678
19679 2011-09-13 Glenn Morris <rgm@gnu.org>
19680
19681 * help.el (describe-key-briefly): Copy previous standard-output change.
19682
19683 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
19684
19685 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
19686
19687 2011-09-13 Glenn Morris <rgm@gnu.org>
19688
19689 * emacs-lisp/lisp-mode.el (lisp-indent-function):
19690 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
19691
19692 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
19693
19694 * dired-aux.el (dired-mark-read-string): Don't return default
19695 value on empty input (Bug#9361).
19696 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
19697 Omit initial minibuffer contents.
19698 (dired-do-chmod): Signal an error on empty input.
19699 (dired-mark-read-string): Don't return default on empty input.
19700
19701 * files.el (file-modes-symbolic-to-number): Doc fix.
19702
19703 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
19704
19705 * international/mule-cmds.el (ucs-completions): Remove.
19706 (read-char-by-name): Use complete-with-action instead; add metadata.
19707
19708 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
19709
19710 * window.el (display-buffer--action-function-custom-type)
19711 (display-buffer--action-custom-type): New vars.
19712 (display-buffer-alist, display-buffer-default-action)
19713 (display-buffer-overriding-action): Add defcustom types.
19714
19715 * frame.el (delete-other-frames): Doc fix (Bug#276).
19716
19717 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19718
19719 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
19720
19721 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
19722
19723 Change modes that used same-window-* vars to use switch-to-buffer.
19724
19725 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
19726 Use switch-to-buffer.
19727
19728 * cus-edit.el (customize-group, custom-buffer-create)
19729 (customize-browse, custom-buffer-create-other-window):
19730 Use switch-to-buffer or switch-to-buffer-other-window.
19731
19732 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
19733 (Info-prev, Info-up, Info-speedbar-goto-node)
19734 (info-display-manual): Use switch-to-buffer.
19735 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
19736
19737 * mail/sendmail.el (mail): Use switch-to-buffer.
19738 (mail-recover): Use switch-to-buffer-other-window.
19739
19740 * cmuscheme.el (run-scheme, switch-to-scheme):
19741 * ielm.el (ielm):
19742 * shell.el (shell):
19743 * net/rlogin.el (rlogin):
19744 * net/telnet.el (telnet, rsh):
19745 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
19746
19747 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
19748
19749 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
19750
19751 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19752
19753 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
19754 so don't mention it (bug#9301).
19755 (dired-sort-toggle-or-edit): Clarify string further.
19756
19757 * faces.el (face-spec-set-match-display): Make `(type graphic)'
19758 match `x', `w32' and `ns', like the manual says (bug#9029).
19759
19760 * subr.el (eval-after-load): Doc string clarification (bug#9125).
19761 (process-kill-buffer-query-function): Mention the buffer name in
19762 the query.
19763
19764 * image-mode.el (image-next-line): The line parameter is mandatory
19765 (bug#9258).
19766
19767 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
19768 which can be useful (bug#9301).
19769
19770 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
19771
19772 * subr.el (match-string): Mention that the current buffer should
19773 be the same as the search was done in (bug#9282).
19774
19775 * facemenu.el: Disable the remove-* commands if the mark isn't
19776 active (bug#9162).
19777
19778 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
19779
19780 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
19781 of display-buffer.
19782 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
19783
19784 * replace.el (occur-mode-goto-occurrence)
19785 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
19786 and display-buffer.
19787
19788 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
19789 display-buffer.
19790
19791 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
19792 special-display and same-window variables.
19793 (mail-other-window): Use switch-to-buffer-other-window.
19794 (mail-other-frame): USe switch-to-buffer-other-frame.
19795
19796 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
19797 Use display-buffer-other-frame.
19798 (gdb-display-gdb-buffer): Use pop-to-buffer.
19799
19800 * progmodes/gud.el (gud-goto-info): Use info-other-window.
19801
19802 * progmodes/python.el: Don't set same-window-buffer-names.
19803
19804 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
19805
19806 * window.el (display-buffer-alist): Add *Python*.
19807
19808 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
19809
19810 * window.el (display-buffer-alist): Add entry for buffers
19811 previously handled same-window-*.
19812 (display-buffer-alist, display-buffer-default-action)
19813 (display-buffer-overriding-action): Mark as risky.
19814 (display-buffer-alist): Document action function changes.
19815 (display-buffer--same-window-action)
19816 (display-buffer--other-frame-action): New variables.
19817 (switch-to-buffer, display-buffer-other-frame): Use them.
19818 (display-buffer): Rename reuse-frame entry to reusable-frames.
19819 (display-buffer-reuse-selected-window): Function deleted.
19820 (display-buffer-reuse-window): Handle reusable-frames alist entry.
19821 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
19822 (display-buffer-special): New function.
19823 (display-buffer--maybe-pop-up-frame-or-window): Rename from
19824 display-buffer-reuse-or-pop-window. Split off special-display
19825 part into display-buffer-special.
19826 (display-buffer-use-some-window): Don't perform any special
19827 pop-up-frames handling.
19828 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
19829 (display-buffer--maybe-same-window): Rename from
19830 display-buffer-maybe-same-window.
19831
19832 * info.el: Don't set same-window-regexps.
19833 (info-setup): New function.
19834 (info-other-window, info): Call it.
19835
19836 * cus-edit.el: Don't set same-window-regexps.
19837 (customize-group): New argument.
19838 (customize-group-other-window): Use it.
19839 (customize-face, customize-face-other-window): Likewise.
19840 (custom-buffer-create-other-window): Use pop-to-buffer directly.
19841
19842 * net/rlogin.el:
19843 * net/telnet.el:
19844 * progmodes/gud.el: Don't set same-window-regexps.
19845
19846 * cmuscheme.el:
19847 * ielm.el:
19848 * shell.el:
19849 * mail/sendmail.el:
19850 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
19851
19852 2011-09-10 Juri Linkov <juri@jurta.org>
19853
19854 * isearch.el (isearch-edit-string): Remove obsolete mention of
19855 `C-w' (`isearch-yank-word-or-char') from docstring.
19856 (isearch-query-replace): Fix typo in docstring (bug#9466).
19857
19858 2011-09-10 Juri Linkov <juri@jurta.org>
19859
19860 * paren.el (show-paren-function): Don't show escaped parens.
19861 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
19862
19863 2011-09-10 Eli Zaretskii <eliz@gnu.org>
19864
19865 * mail/sendmail.el (mml-to-mime, mml-attach-file)
19866 (mm-default-file-encoding): Remove autoload forms, they are
19867 replaced with autoload cookies in mml.el and mm-encode.el.
19868 (mail-add-attachment): New command.
19869 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
19870 (mail-mode): Mention mail-insert-file and mail-add-attachment in
19871 the doc string.
19872 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
19873
19874 2011-09-10 Reuben Thomas <rrt@sc3d.org>
19875
19876 * simple.el (count-words-region): Use buffer if there's no region
19877 (bug#9429).
19878
19879 2011-09-09 Juri Linkov <juri@jurta.org>
19880
19881 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
19882 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
19883 (wdired-isearch-filter-read-only): New function. (Bug#6362)
19884
19885 2011-09-09 Alan Mackenzie <acm@muc.de>
19886
19887 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
19888 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
19889
19890 2011-09-09 Eli Zaretskii <eliz@gnu.org>
19891
19892 Fix for Savannah bug#9392.
19893 * simple.el (mail-encode-mml): New defvar.
19894
19895 * mail/rmail.el (mail-encode-mml): Add a defvar.
19896 (rmail-enable-mime-composing): Default to t.
19897 (rmail-forward): Use MIME method of forwarding only if both
19898 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
19899 Set mail-encode-mml non-nil if the MIME method was used.
19900
19901 * mail/sendmail.el (mml-to-mime): Add autoload form.
19902 (mail-encode-mml): Add a defvar.
19903 (mail-mode): Make mail-encode-mml buffer-local and initialize it
19904 to nil.
19905 (mail-send): If mail-encode-mml is non-nil, run the outgoing
19906 message through mml-to-mime, and reset mail-encode-mml to nil.
19907
19908 2011-09-09 Glenn Morris <rgm@gnu.org>
19909
19910 * woman.el (woman-if-body): When processing an .el block,
19911 do not delete the next .el block as well. (Bug#9447)
19912 (woman-special-characters): Add oq, cq, and hy characters.
19913
19914 2011-09-08 Martin Rudalics <rudalics@gmx.at>
19915
19916 * window.el (window-deletable-p): Make sure window is live before
19917 invoking window-prev-buffers.
19918
19919 2011-09-08 Leo Liu <sdl.web@gmail.com>
19920
19921 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
19922
19923 2011-09-08 Juri Linkov <juri@jurta.org>
19924
19925 * progmodes/compile.el (compilation-environment): Make it
19926 a defcustom (bug#8340).
19927
19928 2011-09-08 Martin Rudalics <rudalics@gmx.at>
19929
19930 * window.el (frame-auto-delete): Rename to window-auto-delete.
19931 Make it control auto-deletion of windows and/or frames.
19932 (window-deletable-p): New argument FORCE. Rewrite conditions
19933 for deleting window/frame. (Bug#9419)
19934 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
19935 Rewrite handling of case when window/frame can be deleted.
19936 (delete-windows-on): Call window-deletable-p with new FORCE
19937 argument t. (Bug#9456)
19938
19939 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
19940
19941 * help-mode.el (help-mode): Restore autoload.
19942
19943 2011-09-07 Juri Linkov <juri@jurta.org>
19944
19945 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
19946 `compilation-environment'. Set buffer-local
19947 `compilation-environment' to `thisenv' later after (funcall mode).
19948 (Bug#8340)
19949
19950 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
19951 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
19952 instead of replacing its value. (Bug#8340)
19953
19954 2011-09-07 Juri Linkov <juri@jurta.org>
19955
19956 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
19957 based on text properties put by `grep-filter' instead of matching
19958 escape sequences.
19959 (grep-mode): Set buffer-local `compilation-error-screen-columns'
19960 to the value of `grep-error-screen-columns' (bug#9438).
19961
19962 2011-09-07 Juri Linkov <juri@jurta.org>
19963
19964 * simple.el (next-error-highlight, next-error-highlight-no-select):
19965 Doc fix (bug#9432).
19966
19967 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
19968
19969 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
19970 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
19971
19972 2011-09-07 Leo Liu <sdl.web@gmail.com>
19973
19974 * net/rcirc.el (rcirc-mode): Conditionally initialize
19975 rcirc-input-ring.
19976
19977 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
19978
19979 * emacs-lisp/find-func.el (find-function-C-source): Only set
19980 find-function-C-source-directory after checking that we found a source
19981 file there (bug#9440).
19982
19983 2011-09-06 Alan Mackenzie <acm@muc.de>
19984
19985 * isearch.el (isearch-other-meta-char): Wherever a key list is
19986 unread, "unread" the prefix arg, too. This fixes bug #8901.
19987
19988 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
19989
19990 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
19991
19992 2011-09-05 Juri Linkov <juri@jurta.org>
19993
19994 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
19995
19996 2011-09-05 Juri Linkov <juri@jurta.org>
19997
19998 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
19999 keeping point where processing of grep matches begins, and
20000 continue to delete remaining escape sequences from the same point.
20001 (grep-filter): Make leading zero optional in "0?1;31m" because
20002 git-grep emits "\033[1;31m" escape sequences unlike expected
20003 "\033[01;31m" as GNU Grep does (bug#9408).
20004 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
20005
20006 2011-09-05 Juri Linkov <juri@jurta.org>
20007
20008 * subr.el (y-or-n-p): Capitalize "yes".
20009
20010 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
20011
20012 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
20013 `tramp-cache-unload-hook' where appropriate.
20014 (tramp-methods): Rename `tramp-remote-sh' to
20015 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
20016 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
20017
20018 * net/tramp-sh.el (top): Don't require 'shell.
20019 (tramp-methods): Add `tramp-remote-shell' and
20020 `tramp-remote-shell-args' entries.
20021 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
20022 (tramp-sh-handle-shell-command): Remove.
20023 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
20024 Use `tramp-remote-shell'.
20025
20026 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
20027
20028 * mail/sendmail.el (sendmail-query-once-function): Delete.
20029 (sendmail-query-once): Save directly to send-mail-function.
20030 Update message-send-mail-function too.
20031
20032 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
20033
20034 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
20035
20036 * progmodes/python.el (python-mode-map): Use correct function to
20037 start python interpreter from menu-bar (as reported by Geert
20038 Kloosterman).
20039 (inferior-python-mode-map): Fix typo.
20040 (python-shell-map): Remove.
20041
20042 2011-09-03 Deniz Dogan <deniz@dogan.se>
20043
20044 * net/rcirc.el (rcirc-print): Simplify code for
20045 rcirc-scroll-show-maximum-output. There is no need to walk
20046 through all windows to find the right one.
20047
20048 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
20049
20050 * help.el (help-return-method): Doc fix.
20051
20052 2011-09-03 Martin Rudalics <rudalics@gmx.at>
20053
20054 * window.el (window-deletable-p): Don't return a non-nil value
20055 when there's a buffer that was shown in the window before.
20056 (Bug#9419)
20057 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
20058 Set window's previous buffers to nil.
20059
20060 2011-09-03 Eli Zaretskii <eliz@gnu.org>
20061
20062 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
20063 newline before and after the tag line, so it doesn't interfere
20064 with determining the paragraph direction of bidirectional text.
20065
20066 2011-09-03 Leo Liu <sdl.web@gmail.com>
20067
20068 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
20069
20070 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
20071
20072 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
20073 (pop-to-buffer): Change interactive spec. Pass second argument
20074 directly to display-buffer.
20075 (display-buffer): Fix interactive spec. Use functionp to
20076 distinguish between a function and a list of functions.
20077
20078 * abbrev.el (edit-abbrevs):
20079 * arc-mode.el (archive-extract):
20080 * autoinsert.el (auto-insert):
20081 * bookmark.el (bookmark-bmenu-list):
20082 * files.el (find-file):
20083 * view.el (view-buffer):
20084 * progmodes/compile.el (compilation-goto-locus):
20085 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
20086
20087 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
20088
20089 * window.el (display-buffer-alist): Doc fix.
20090 (display-buffer): Add docstring. Don't treat
20091 display-buffer-default specially.
20092 (display-buffer-reuse-selected-window)
20093 (display-buffer-same-window, display-buffer-maybe-same-window)
20094 (display-buffer-reuse-window, display-buffer-pop-up-frame)
20095 (display-buffer-pop-up-window)
20096 (display-buffer-reuse-or-pop-window)
20097 (display-buffer-use-some-window): New functions.
20098 (display-buffer-default-action): Use them.
20099 (display-buffer-default): Delete.
20100 (pop-to-buffer-1): Fix choice of actions.
20101
20102 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
20103
20104 * minibuffer.el (completion--insert-strings): Don't get confused by
20105 completion entries that end with an LF char.
20106
20107 2011-09-01 Eli Zaretskii <eliz@gnu.org>
20108
20109 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
20110
20111 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
20112
20113 * window.el (display-buffer): Restore interactive spec.
20114 (display-buffer-same-window, display-buffer-other-window):
20115 New functions.
20116 (pop-to-buffer-1): New function. Use the above.
20117 (pop-to-buffer, pop-to-buffer-same-window): Use it.
20118 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
20119
20120 * view.el (view-buffer-other-window, view-buffer-other-frame):
20121 Just use pop-to-buffer.
20122
20123 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
20124
20125 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
20126
20127 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
20128
20129 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
20130
20131 2011-08-31 Richard Stallman <rms@gnu.org>
20132
20133 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
20134 of the separation of rmail-view-buffer from rmail-buffer.
20135 If you say no to "replace original", the decrypt is in the
20136 view buffer. If you say yes, the decrypt goes into the
20137 rmail buffer also.
20138
20139 2011-08-31 Martin Rudalics <rudalics@gmx.at>
20140
20141 * window.el (display-buffer-window): Rewrite doc-string.
20142 (display-buffer-record-window): New function.
20143 (display-buffer-macro-specifiers)
20144 (display-buffer-even-window-sizes, display-buffer-set-height)
20145 (display-buffer-set-width, display-buffer-in-window)
20146 (display-buffer-reuse-window, display-buffer-split-specifiers)
20147 (display-buffer-side-specifiers, display-buffer-split-window-1)
20148 (display-buffer-split-window, display-buffer-split-atom-window)
20149 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
20150 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
20151 (display-buffer-other-window-means-other-frame)
20152 (display-buffer-normalize-special)
20153 (display-buffer-normalize-default)
20154 (display-buffer-normalize-argument)
20155 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
20156 (display-buffer-normalize-specifiers, display-buffer-frame)
20157 (display-buffer-same-window, display-buffer-same-frame)
20158 (display-buffer-other-window)
20159 (display-buffer-same-frame-other-window)
20160 (display-buffer-other-frame, pop-to-buffer-same-window)
20161 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
20162 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
20163 (switch-to-buffer-same-frame)
20164 (switch-to-buffer-other-window-same-frame)
20165 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
20166 (display-buffer-alist-set-1, display-buffer-alist-set-2)
20167 (display-buffer-alist-set): Remove.
20168 (display-buffer-function, special-display-buffer-names)
20169 (special-display-regexps, special-display-function):
20170 In doc-string refer to display-buffer-window and quit-restore
20171 parameter.
20172 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
20173 (special-display-frame-alist, special-display-popup-frame)
20174 (same-window-buffer-names, same-window-regexps, same-window-p)
20175 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
20176 (split-window-preferred-function, split-height-threshold)
20177 (split-width-threshold, window-splittable-p)
20178 (split-window-sensibly, window--try-to-split-window)
20179 (window--frame-usable-p, even-window-heights)
20180 (window--even-window-heights, window--display-buffer-1)
20181 (window--display-buffer-2, display-buffer-other-frame):
20182 Restore old Emacs 23 code, order and doc-strings where applicable.
20183 (display-buffer-default, display-buffer-assq-regexp): New functions.
20184 (display-buffer-alist): Rewrite doc-string.
20185 (display-buffer-default-action)
20186 (display-buffer-overriding-action): New variables.
20187 (display-buffer, switch-to-buffer): Rewrite.
20188 (pop-to-buffer): Restore Emacs 23 behavior but use
20189 window-normalize-buffer-to-display.
20190 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
20191 Restore Emacs 23 behavior but use
20192 window-normalize-buffer-to-switch-to.
20193 (pop-to-buffer-same-window): Rewrite.
20194 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
20195 Rewrite using Emacs 23 options.
20196
20197 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
20198
20199 * net/tramp.el (tramp-root-regexp): Remove.
20200 (tramp-completion-file-name-regexp-unified)
20201 (tramp-completion-file-name-regexp-separate)
20202 (tramp-completion-file-name-regexp-url): Don't use leading volume
20203 letter on w32 systems. (Bug#5303, Bug#9311)
20204 (tramp-drop-volume-letter): Simplify definition.
20205 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
20206
20207 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
20208
20209 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
20210 (bug#9356).
20211
20212 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
20213
20214 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
20215
20216 2011-08-29 Juri Linkov <juri@jurta.org>
20217
20218 * isearch.el (isearch-done): Don't display message "Mark saved"
20219 when arg `edit' is non-nil to prevent its flicker in the echo area.
20220
20221 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
20222
20223 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
20224 obsolete packages for deletion.
20225
20226 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
20227
20228 * help-mode.el (help-mode-map): Add special-mode-map to parent.
20229 (help-mode): Derive help-mode from special-mode. Don't invoke
20230 view-mode from help-mode.
20231 (help-xref-override-view-map): Remove.
20232 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
20233 view-mode is not used anymore.
20234
20235 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
20236
20237 * server.el (server-port): Doc fix.
20238
20239 * cus-theme.el (custom-theme-choose-mode): Inherit from
20240 special-mode (Bug#9124).
20241 (custom-theme-choose-mode-map): Add special-mode to parent.
20242
20243 2011-08-28 Alan Mackenzie <acm@muc.de>
20244
20245 * progmodes/cc-fonts.el
20246 (c-make-font-lock-BO-decl-search-function): New function.
20247 (c-basic-matchers-after - "Fontify the clauses after various
20248 keywords"): Extract the three keyword lists for the 3 erroneous
20249 constructs from the list of four, and use the new function above
20250 in place of an old one.
20251
20252 2011-08-28 Deniz Dogan <deniz@dogan.se>
20253
20254 * net/rcirc.el (rcirc-insert-prev-input)
20255 (rcirc-insert-next-input): Remove unused argument.
20256
20257 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
20258
20259 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
20260
20261 2011-08-27 Alan Mackenzie <acm@muc.de>
20262
20263 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
20264 handle function pointer parameters properly.
20265
20266 2011-08-27 Martin Rudalics <rudalics@gmx.at>
20267
20268 * window.el (display-buffer-reuse-window): Fix case where
20269 selected window was reused with non-nil OTHER-WINDOW argument.
20270 (Bug#9381)
20271
20272 2011-08-27 Deniz Dogan <deniz@dogan.se>
20273
20274 * net/rcirc.el (rcirc-check-auth-status): Adding support for
20275 oftc's NickServ messages.
20276
20277 2011-08-27 Glenn Morris <rgm@gnu.org>
20278
20279 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
20280
20281 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
20282
20283 * emacs-lisp/package.el (package-install): Call package-initialize
20284 if called interactively.
20285
20286 2011-08-26 Leo Liu <sdl.web@gmail.com>
20287
20288 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
20289
20290 2011-08-25 Juri Linkov <juri@jurta.org>
20291
20292 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
20293 `search-whitespace-regexp' (bug#9364).
20294
20295 2011-08-25 Juri Linkov <juri@jurta.org>
20296
20297 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
20298 `regexp-search-ring' to their global values to protect from
20299 updating by `read-from-minibuffer' (bug#9185).
20300
20301 2011-08-25 Juri Linkov <juri@jurta.org>
20302
20303 * textmodes/ispell.el (ispell-command-loop): Add newline
20304 at the end of the "Use option `i'..." line.
20305
20306 2011-08-25 Juri Linkov <juri@jurta.org>
20307
20308 * battery.el (display-battery-mode): If `battery-status-function'
20309 or `battery-mode-line-format' is nil, display the message and set
20310 `display-battery-mode' to nil (bug#9363).
20311
20312 2011-08-25 Eli Zaretskii <eliz@gnu.org>
20313
20314 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
20315 bidi-string-mark-left-to-right; they are unnecessary now.
20316
20317 2011-08-25 Deniz Dogan <deniz@dogan.se>
20318
20319 * net/quickurl.el: Documentation typo fixes.
20320
20321 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
20322
20323 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
20324
20325 2011-08-25 Glenn Morris <rgm@gnu.org>
20326
20327 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
20328
20329 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
20330 (smtpmail-via-smtp): Handle nil response from smtp.
20331
20332 2011-08-24 Juri Linkov <juri@jurta.org>
20333
20334 * proced.el (proced-marked): Inherit from `error' instead of
20335 `font-lock-warning-face'.
20336
20337 * ibuffer.el (ibuffer-marked-face): Change default face from
20338 `font-lock-warning-face' to `warning'.
20339 (ibuffer-deletion-face): Change default face from
20340 `font-lock-type-face' to `error'.
20341
20342 * battery.el (battery-update): Use the face `error' instead of
20343 `font-lock-warning-face' (bug#6117).
20344
20345 2011-08-24 Juri Linkov <juri@jurta.org>
20346
20347 * faces.el (success): Change face color from "Green3" to
20348 "ForestGreen" on light background (bug#9353).
20349
20350 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
20351
20352 * window.el (quit-window): Rename from quit-restore-window.
20353 Use same arglist as old quit-window.
20354 (frame-auto-delete): Doc fix.
20355
20356 * view.el (view-mode-exit): Use quit-window.
20357
20358 2011-08-24 Juri Linkov <juri@jurta.org>
20359
20360 * isearch.el (isearch-ring-adjust1): Start visiting previous
20361 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
20362 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
20363 for empty search string (when the last search string is reused
20364 automatically) to adjust the isearch ring to the last element and
20365 prepare the correct index for further M-p commands (bug#9185).
20366
20367 2011-08-24 Kenichi Handa <handa@m17n.org>
20368
20369 * international/ucs-normalize.el: If decomposition property of
20370 CHAR is the default one (i.e. a list of CHAR itself), treat it as
20371 nil.
20372 (nfd, nfkd): Likewise.
20373
20374 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
20375
20376 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
20377 from process filters aren't reliably transmitted to the surrounding
20378 accept-process-output.
20379 (mpc-proc-check): New function.
20380 (mpc-proc-sync): Use it (bug#8293)
20381
20382 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
20383
20384 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
20385 Add compatibility functions (bug#9313).
20386
20387 2011-08-23 Eli Zaretskii <eliz@gnu.org>
20388
20389 * cus-start.el (all): Add entry for bidi-paragraph-direction.
20390
20391 * international/uni-bidi.el: Regenerate.
20392
20393 2011-08-23 Kenichi Handa <handa@m17n.org>
20394
20395 * international/charprop.el:
20396 * international/uni-bidi.el:
20397 * international/uni-category.el:
20398 * international/uni-combining.el:
20399 * international/uni-comment.el:
20400 * international/uni-decimal.el:
20401 * international/uni-decomposition.el:
20402 * international/uni-digit.el:
20403 * international/uni-lowercase.el:
20404 * international/uni-mirrored.el:
20405 * international/uni-name.el:
20406 * international/uni-numeric.el:
20407 * international/uni-old-name.el:
20408 * international/uni-titlecase.el:
20409 * international/uni-uppercase.el: Regenerate.
20410
20411 2011-08-23 Martin Rudalics <rudalics@gmx.at>
20412
20413 * help.el (help-window-setup): Fix message displayed when other
20414 window is reused. (Bug#9341)
20415
20416 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
20417
20418 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
20419 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
20420
20421 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
20422 Mark obsolete.
20423 * shell.el (shell-parse-pcomplete-arguments): New function.
20424 (shell-completion-vars): Use it instead (bug#9160).
20425
20426 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
20427
20428 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
20429 strings and comments (bug#9333).
20430
20431 * emacs-lisp/debug.el (debug-arglist): New function.
20432 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
20433 (debug-on-entry-1): Handle interpreted closures (bug#9120).
20434
20435 2011-08-22 Juri Linkov <juri@jurta.org>
20436
20437 * progmodes/compile.el (compilation-mode-font-lock-keywords):
20438 Revert regexp that highlights output switches to its old
20439 pre-2010-10-28 value and remove one `?' from it (bug#9319).
20440
20441 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
20442 to check for empty output (bug#9226).
20443
20444 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
20445
20446 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
20447 symbol-constituent as the default, as that stops font-lock from
20448 working properly (Bug#8843).
20449
20450 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
20451
20452 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
20453 `coding-system-for-*' around the process open call to avoid
20454 auth-source side effects.
20455 (smtpmail-try-auth-methods): Expand the secret password.
20456 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
20457 probe hangs.
20458
20459 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
20460
20461 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
20462
20463 * emacs-lisp/find-func.el (find-function-noselect): New arg
20464 lisp-only.
20465
20466 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
20467 signal an error for built-in functions (Bug#6664).
20468
20469 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
20470
20471 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
20472 (smtpmail-try-auth-methods): Use it.
20473
20474 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
20475
20476 * font-lock.el (font-lock-fontify-region)
20477 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
20478 (font-lock-default-unfontify-buffer)
20479 (font-lock-default-fontify-region)
20480 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
20481
20482 * progmodes/compile.el (compilation-error-properties):
20483 Fix confusion between file struct and message struct (Bug#9319).
20484 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
20485 `ant' regexp.
20486
20487 * net/browse-url.el (browse-url-firefox): Don't call
20488 browse-url-firefox-sentinel unless using -remote (Bug#9328).
20489
20490 2011-08-20 Glenn Morris <rgm@gnu.org>
20491
20492 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
20493
20494 * tutorial.el (tutorial--default-keys): Update some default bindings.
20495
20496 * files.el (hack-local-variables): Fully ignore case for "mode:".
20497
20498 2011-08-20 Alan Mackenzie <acm@muc.de>
20499
20500 Resolve invalid use of a regexp in regexp-opt.
20501
20502 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
20503 detection for a java annotation.
20504
20505 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
20506 detection for a java annotation.
20507
20508 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
20509 handling for java.
20510 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
20511
20512 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
20513
20514 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
20515 (Bug#9274).
20516
20517 2011-08-20 Alan Mackenzie <acm@muc.de>
20518
20519 Fontify CPP expressions correctly when starting in the middle of
20520 such a construct. Mainly for when jit-lock etc. starts a chunk
20521 here.
20522
20523 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
20524 variable.
20525 (c-make-font-lock-search-form): New function, extracted from
20526 c-make-font-lock-search-function.
20527 (c-make-font-lock-search-function): Use the above function.
20528 (c-make-font-lock-context-search-function): New function.
20529 (c-cpp-matchers): Enhance the preprocessor expression case with
20530 the above function
20531 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
20532 which takes an expression.
20533
20534 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
20535
20536 2011-08-20 Martin Rudalics <rudalics@gmx.at>
20537
20538 * window.el (display-buffer-reuse-window)
20539 (display-buffer-pop-up-window): Don't reuse or split a side
20540 window.
20541
20542 2011-08-19 Glenn Morris <rgm@gnu.org>
20543
20544 * files.el (hack-local-variables-prop-line, hack-local-variables):
20545 Downcase "Mode:". (Bug#9331)
20546
20547 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
20548
20549 * international/characters.el: Add L and R categories.
20550
20551 * subr.el (bidi-string-mark-left-to-right): Rename from
20552 string-mark-left-to-right. Use category search.
20553
20554 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
20555
20556 2011-08-18 Juri Linkov <juri@jurta.org>
20557
20558 * faces.el (error, warning, success): New faces with definitions
20559 copied from old default values of `font-lock-warning-face',
20560 `compilation-warning', `compilation-info' (bug#6117).
20561
20562 * font-lock.el (font-lock-warning-face): Inherit from `error'.
20563
20564 * progmodes/compile.el (compilation-error): Inherit from `error'.
20565 (compilation-warning): Inherit from `warning'.
20566 (compilation-info): Inherit from `success'.
20567
20568 * dired.el (dired-marked): Inherit from `warning'.
20569 (dired-flagged): Inherit from `error'.
20570
20571 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
20572
20573 * mail/smtpmail.el (auth-source): Require to avoid problems with
20574 binding variables (bug#9298). Also clean up some unused
20575 autoloads.
20576
20577 * net/network-stream.el (network-stream-open-starttls):
20578 Support using starttls.el without using gnutls-cli.
20579
20580 2011-08-17 Juri Linkov <juri@jurta.org>
20581
20582 * progmodes/grep.el (rgrep): Handle the case when
20583 `grep-find-command' is a cons cell (bug#9278).
20584
20585 2011-08-17 Martin Rudalics <rudalics@gmx.at>
20586
20587 * window.el (display-buffer-pop-up-frame): Run frame creation
20588 function with BUFFER current (as special-display-popup-frame
20589 does). Reported by Drew Adams.
20590
20591 2011-08-17 Daiki Ueno <ueno@unixuser.org>
20592
20593 * epa-mail.el: Simplify GnuPG group expansion using
20594 epg-expand-group.
20595 (epa-mail-group-alist, epa-mail-group-modtime)
20596 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
20597 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
20598 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
20599 Remove.
20600
20601 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
20602
20603 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
20604
20605 2011-08-16 Alan Mackenzie <acm@muc.de>
20606
20607 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
20608 Correct, to avoid the inside of macros.
20609
20610 2011-08-16 Richard Stallman <rms@gnu.org>
20611
20612 * epa-mail.el: Handle GnuPG group definitions.
20613 (epa-mail-group-alist, epa-mail-group-modtime)
20614 (epa-mail-gnupg-conf-file): New variables.
20615 (epa-mail-parse-groups, epa-mail-sync-groups)
20616 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
20617 (epa-mail-expand-recipients): New functions.
20618 (epa-mail-encrypt): Call epa-mail-expand-recipients.
20619
20620 * mail/rmail.el (rmail-epa-decrypt): New command.
20621
20622 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
20623 Don't bind buffer-read-only, just inhibit-read-only.
20624 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
20625 (epa-decrypt-armor-in-region): Make error message clearer.
20626
20627 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
20628
20629 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
20630 and "a2b" to "ab" for `prefix'.
20631
20632 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
20633
20634 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
20635 filter groups.
20636 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
20637 Fourquet (Bug#8804).
20638
20639 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
20640
20641 * startup.el (argi): Declare as global variable (bug#9275).
20642
20643 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
20644
20645 * subr.el (string-mark-left-to-right): Search the entire string
20646 for RTL script, not just the terminating character. Doc fix.
20647
20648 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
20649
20650 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
20651 New function.
20652 (js--regexp-literal, js-syntax-propertize-function): Remove.
20653 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
20654 (js-mode-map): Don't rebind electric keys.
20655 (js-insert-and-indent): Remove.
20656 (js-mode): Setup electric-layout and electric-indent instead.
20657
20658 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
20659
20660 2011-08-12 Daiki Ueno <ueno@unixuser.org>
20661
20662 * epa.el (epa-progress-callback-function): Fix the logic of
20663 displaying progress.
20664 * epa-file.el (epa-file-insert-file-contents): Make progress
20665 display more user-friendly.
20666 (epa-file-write-region): Ditto.
20667
20668 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
20669
20670 * subr.el (string-mark-left-to-right): New function.
20671
20672 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
20673 Use string-mark-left-to-right.
20674 (list-buffers-noselect): Caller changed.
20675
20676 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
20677 Use string-mark-left-to-right.
20678 (tabulated-list-print): Recenter after moving point.
20679
20680 2011-08-10 Juri Linkov <juri@jurta.org>
20681
20682 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
20683 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
20684 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
20685
20686 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
20687
20688 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
20689 (Bug#7554).
20690
20691 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
20692
20693 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
20694 character. (Bug#6594)
20695
20696 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
20697
20698 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
20699 (image-dired--with-db-file): New macro.
20700 (image-dired-write-tags, image-dired-remove-tag)
20701 (image-dired-create-gallery-lists, image-dired-write-comments)
20702 (image-dired-get-comment, image-dired-mark-tagged-files)
20703 (image-dired-list-tags, image-dired-gallery-generate): Use it.
20704 (image-dired-gallery-generate): Use insert-file-contents.
20705
20706 * time.el (display-time-world-list, display-time-world-display):
20707 * time-stamp.el (time-stamp-string):
20708 * vc/add-log.el (add-change-log-entry): Use setenv instead of
20709 set-time-zone-rule (Bug#7337).
20710
20711 2011-08-08 Daiki Ueno <ueno@unixuser.org>
20712
20713 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
20714 (epg-error-to-string, epg-errors-to-string): New function.
20715 (epg-wait-for-completion): Reverse errors list.
20716 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
20717 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
20718 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
20719 (epg-sign-keys, epg-generate-key-from-file)
20720 (epg-generate-key-from-string): Format errors by using
20721 epg-errors-to-string (bug#9255).
20722 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
20723
20724 2011-08-07 Juri Linkov <juri@jurta.org>
20725
20726 * faces.el (list-faces-display): Remove extra angle bracket
20727 from `help-mode-map'.
20728
20729 * info.el (Info-history-toc-nodes): Doc fix.
20730
20731 * longlines.el (longlines-mode): Doc fix.
20732
20733 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
20734
20735 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
20736 of statements and in a few more cases (bug#9183).
20737
20738 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
20739 New functions.
20740 (cl-transform-lambda): Use them (bug#9239).
20741
20742 2011-08-05 Martin Rudalics <rudalics@gmx.at>
20743
20744 * window.el (display-buffer-same-window)
20745 (display-buffer-same-frame, display-buffer-other-window)
20746 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
20747 (pop-to-buffer-other-window)
20748 (pop-to-buffer-same-frame-other-window)
20749 (pop-to-buffer-other-frame): Make them defuns.
20750 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
20751
20752 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
20753
20754 * subr.el (make-composed-keymap): Move from C. Change calling
20755 convention, and improve docstring to bring attention to a subtle point.
20756 * minibuffer.el (completing-read-default): Adjust accordingly.
20757
20758 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
20759
20760 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
20761 (tramp-open-shell): Use `tramp-shell-quote-argument'.
20762
20763 * net/trampver.el: Update release number.
20764
20765 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
20766
20767 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
20768 "in" (bug#9190).
20769
20770 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
20771
20772 * mail/sendmail.el (sendmail-query-once): Restore the current
20773 buffer after querying (bug#9074).
20774
20775 * dired.el (dired-flagged): Use different faces for marked and
20776 flagged files (bug#6117).
20777
20778 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
20779 (bug#4433).
20780
20781 * ido.el (ido-mode): Switch off the message if called
20782 non-interactively.
20783
20784 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
20785 before 587, since it appears that that's more likely to work for
20786 more people.
20787
20788 * cus-edit.el (custom-file): When running under emacs -q, always
20789 refuse to save the customizations, even if the .emacs file doesn't
20790 exist.
20791
20792 * info.el: Remove the `Info-beginning-of-buffer' function
20793 (bug#8325).
20794
20795 * net/network-stream.el (network-stream-open-starttls):
20796 Use `starttls-available-p' to see whether starttls.el can be used.
20797
20798 2011-08-01 Martin Rudalics <rudalics@gmx.at>
20799
20800 * window.el (display-buffer-in-window): Don't set dedicated status
20801 of window here (Bug#9215).
20802 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
20803 (display-buffer-pop-up-side-window)
20804 (display-buffer-in-side-window): Set dedicated status of window here.
20805
20806 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
20807
20808 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
20809 before binding generated-autoload-file.
20810
20811 2011-08-01 Deniz Dogan <deniz@dogan.se>
20812
20813 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
20814
20815 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
20816
20817 Sync with Tramp 2.2.2.
20818
20819 * net/trampver.el: Update release number.
20820
20821 2011-07-30 Juri Linkov <juri@jurta.org>
20822
20823 * dired-aux.el (dired-touch-initial): Remove function.
20824 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
20825 current time, and `default' to the last modification time of the
20826 current marked file (bug#6887).
20827
20828 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
20829
20830 * simple.el (goto-line): Use string-to-number to provide a
20831 numeric argument to read-number (bug#9163).
20832
20833 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
20834
20835 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
20836 connection process, it could be nil.
20837
20838 2011-07-27 Leo Liu <sdl.web@gmail.com>
20839
20840 Simplify url handling in rcirc-mode.
20841
20842 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
20843 (rcirc-browse-url-at-mouse): Remove.
20844 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
20845
20846 2011-07-26 Alan Mackenzie <acm@muc.de>
20847
20848 Fontify bitfield declarations properly.
20849
20850 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
20851 (c-symbol-chars): Now exported as a lang variable.
20852 (c-not-primitive-type-keywords): New lang variable.
20853
20854 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
20855 QT keyword "more" to prevent "more slots: ...." being spuriously
20856 parsed as a bitfield declaration.
20857
20858 * progmodes/cc-engine.el (c-beginning-of-statement-1):
20859 Refactor and enhance to handle bitfield declarations.
20860 (c-punctuation-in): New function.
20861 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
20862 declarations properly.
20863
20864 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
20865
20866 * calendar/icalendar.el (icalendar--all-events): Take care of
20867 multiple vcalendars in a single file.
20868 (icalendar--convert-float-to-ical): Checkdoc fixes.
20869
20870 2011-07-25 Deniz Dogan <deniz@dogan.se>
20871
20872 * image.el (insert-image): Clarifying docstring.
20873
20874 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
20875
20876 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
20877 `tramp-send-command-and-check' if there is no error.
20878 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
20879
20880 2011-07-22 Alan Mackenzie <acm@muc.de>
20881
20882 Prevent cc-langs.elc being loaded at run time.
20883
20884 * progmodes/cc-mode.el: Remove two autoload forms which loaded
20885 cc-langs.
20886
20887 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
20888 "(require 'cc-langs)". Quote a form so it will evaluate at
20889 (cc-mode's) compilation time.
20890
20891 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
20892
20893 * net/tramp.el (tramp-file-name-handler): Avoid recursive
20894 loading. (Bug#9114)
20895
20896 2011-07-21 Martin Rudalics <rudalics@gmx.at>
20897
20898 * window.el (display-buffer-pop-up-window)
20899 (display-buffer-pop-up-side-window)
20900 (display-buffer-in-side-window): Call display-buffer-set-height
20901 and display-buffer-set-width after setting the new window's
20902 buffer so `fit-window-to-buffer' and friends work on the right buffer.
20903
20904 2011-07-20 Sam Steingold <sds@gnu.org>
20905
20906 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
20907 (etags-tags-included-tables): Call `convert-standard-filename' on
20908 the file names contained in TAGS so that windows Emacs can handle
20909 TAGS files created by cygwin ctags.
20910
20911 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
20912
20913 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
20914 which apparently didn't work.
20915
20916 2011-07-19 Roland Winkler <winkler@gnu.org>
20917
20918 * proced.el (proced-send-signal): For *Marked Processes* buffer
20919 put point at beginning of buffer.
20920
20921 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
20922
20923 * proced.el (proced-format): Make header lines align with the text
20924 (bug#1779).
20925
20926 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
20927
20928 * view.el (view-buffer): Allow running in `special' modes if we're
20929 visiting a file (bug#8615).
20930
20931 2011-07-19 Martin Rudalics <rudalics@gmx.at>
20932
20933 * window.el (display-buffer-alist-of-strings-p)
20934 (display-buffer-alist-set-1, display-buffer-alist-set-2):
20935 New functions.
20936 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
20937 more accurately.
20938
20939 2011-07-18 Alan Mackenzie <acm@muc.de>
20940
20941 Fontify declarators properly when, e.g., a jit-lock chunk begins
20942 inside a declaration.
20943
20944 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
20945
20946 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
20947 New function.
20948 (c-complex-decl-matchers): Insert reference to
20949 c-font-lock-enclosing-decls.
20950
20951 * progmodes/cc-engine.el (c-backward-single-comment):
20952 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
20953 to nil around calls to (forward-comment -1).
20954
20955 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
20956
20957 * image.el (put-image): Doc typo fix.
20958
20959 * progmodes/etags.el (tags-search): Doc typo fix.
20960
20961 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
20962 password if we get errors 550 to 554.
20963
20964 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
20965
20966 * net/gnutls.el (gnutls-log-level): Remove.
20967
20968 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
20969 indentation character (bug#6380).
20970
20971 * files.el (buffer-offer-save): Made permanently local (bug#6241).
20972
20973 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
20974 to clarify what the problem is (bug#4291).
20975
20976 * simple.el (current-kill): Clarify what
20977 `interprogram-paste-function' does (bug#7500).
20978 (auto-fill-mode): Document `auto-fill-function' in relation to
20979 `auto-fill-mode' (bug#2470).
20980
20981 2011-07-16 Lawrence Mitchell <wence@gmx.li>
20982
20983 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
20984 method if slot is read-only (bug#9035).
20985
20986 2011-07-16 Martin Rudalics <rudalics@gmx.at>
20987
20988 * frame.el (select-frame-set-input-focus): New argument NORECORD.
20989 * window.el (pop-to-buffer): Select window used even if it was
20990 selected before, see discussion of (Bug#8615), (Bug#6954).
20991 Pass argument NORECORD on to select-frame-set-input-focus.
20992
20993 2011-07-15 Glenn Morris <rgm@gnu.org>
20994
20995 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
20996 Respect help-form.
20997
20998 2011-07-09 Lawrence Mitchell <wence@gmx.li>
20999
21000 * net/gnutls.el (gnutls-min-prime-bits): New variable.
21001 (gnutls-negotiate): Use it.
21002
21003 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
21004
21005 * net/gnutls.el (gnutls-negotiate):
21006 Upcase `gnutls-algorithm-priority'.
21007
21008 2011-07-15 Glenn Morris <rgm@gnu.org>
21009
21010 * jka-compr.el (jka-compr-verbose): Move from here...
21011 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
21012 Add missing :version tag.
21013 * info.el: No need to require jka-compr when compiling.
21014
21015 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
21016
21017 * net/gnutls.el (gnutls-algorithm-priority): New variable.
21018 (gnutls-negotiate): Use it.
21019
21020 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
21021
21022 * info.el (Info-beginning-of-buffer): New command.
21023 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
21024 announcing `b' as the key (bug#8325).
21025 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
21026
21027 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
21028
21029 * international/mule-cmds.el
21030 (describe-specified-language-support): Make the error message
21031 clearer (bug#8905).
21032
21033 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
21034
21035 * isearch.el (isearch-barrier): Add a doc string, since it's
21036 mentioned in a function doc string (bug#8678).
21037
21038 2011-07-15 Martin Rudalics <rudalics@gmx.at>
21039
21040 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
21041 buffer argument (Bug#9083) and self-identifying label argument.
21042
21043 2011-07-15 Glenn Morris <rgm@gnu.org>
21044
21045 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
21046
21047 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
21048
21049 * man.el (Man-fontify-manpage): Fix message when formatting the
21050 man page (bug#7929).
21051
21052 2011-07-14 Eli Zaretskii <eliz@gnu.org>
21053
21054 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
21055 argument LRM; if non-nil, append an invisible LRM character to the
21056 buffer name.
21057 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
21058 last argument non-nil, when formatting buffer names.
21059 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
21060 paragraph direction.
21061
21062 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
21063
21064 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
21065 the man page name (bug#7929).
21066
21067 * image.el (put-image): Mention the `put-image' overlay property
21068 (bug#7834).
21069
21070 * scroll-bar.el (set-scroll-bar-mode): Mention that
21071 `scroll-bar-mode' lists the values (bug#7772).
21072
21073 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
21074 command (bug#7729).
21075
21076 * rect.el (apply-on-rectangle): Return the point after the last
21077 operation.
21078 (string-rectangle): Go to the point after the last operation
21079 (bug#7522).
21080
21081 * printing.el (pr-toggle-region): Clarify the documentation
21082 slightly (bug#7493).
21083
21084 * time.el (display-time-update):
21085 Allow `display-time-mail-function' to return nil (bug#7158).
21086 Fix suggested by Detlev Zundel.
21087
21088 * vc/diff.el (diff): Clarify the order the file names are read
21089 (bug#7111).
21090
21091 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
21092 the doc string (bug#7015).
21093
21094 * font-lock.el (font-lock-maximum-decoration): Mention what
21095 numeric levels mean (bug#6935).
21096
21097 * startup.el (initial-buffer-choice): Don't mention the `none'
21098 selection, which is against policy.
21099
21100 2011-07-14 Martin Rudalics <rudalics@gmx.at>
21101
21102 * window.el (display-buffer-normalize-special):
21103 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
21104
21105 2011-07-14 Eli Zaretskii <eliz@gnu.org>
21106
21107 * subr.el (version<, version<=, version=): Mention "-CVS" and
21108 "-12345" alpha version numbers.
21109
21110 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
21111
21112 * bindings.el: Add advertised binding for set-mark-command
21113 (Bug#5772).
21114
21115 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
21116
21117 * bindings.el (mode-line-other-buffer):
21118 * bookmark.el (bookmark-bmenu-2-window):
21119 * bs.el (bs-cycle-next, bs-cycle-previous):
21120 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
21121 switch-to-buffer.
21122
21123 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
21124 Delete.
21125
21126 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
21127
21128 * follow.el (follow-debug-message, follow-redisplay):
21129 * jka-cmpr-hook.el (with-auto-compression-mode):
21130 Fix typos in docstrings.
21131
21132 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
21133
21134 * subr.el (with-silent-modifications): Clarify somewhat what the
21135 macro inhibits (bug#6525).
21136
21137 * simple.el (eval-expression): Note what it does if called
21138 interactively (bug#6495).
21139
21140 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
21141
21142 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
21143 Use pop-to-buffer buffer-or-name if it is nil.
21144
21145 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
21146 Remove switch-to-buffer.
21147
21148 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
21149
21150 * files.el (make-directory): Clarify that an error will be raised
21151 if there's an error (bug#6397).
21152
21153 * startup.el (initial-buffer-choice): Add `none' as a choice
21154 (bug#6234).
21155
21156 * subr.el (add-hook): Clarify section about buffer-local hooks
21157 (bug#6218).
21158
21159 * dired.el (dired-flagged): Clarify doc string (bug#6117).
21160
21161 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
21162
21163 * tabify.el (untabify): Preserve the current column so that point
21164 doesn't move (bug#6032).
21165
21166 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
21167
21168 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
21169 Rewrite to avoid awkward possessive "s" (bug#5986).
21170
21171 2011-07-13 Glenn Morris <rgm@gnu.org>
21172
21173 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
21174 (dired-insert-directory): Give a message the first time
21175 if ls is found not to support --dired.
21176
21177 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
21178
21179 * simple.el (toggle-truncate-lines): Clarify what is toggled
21180 (bug#5580). Text by Drew Adams.
21181
21182 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
21183
21184 * simple.el (blink-matching-open): Make the error message from the
21185 last change less verbose.
21186
21187 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
21188
21189 * font-lock.el (font-lock-comment-face): Use the high contrast
21190 "yellow" color for font-lock-comment-face on low color terminals
21191 using a dark background color (bug#4221).
21192
21193 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
21194
21195 * dired.el (dired-insert-set-properties): Make the doc string
21196 reflect what it does now (bug#5325).
21197
21198 * simple.el (blink-matching-open): Say that we were unable to find
21199 the match within the limit, if we're limited (bug#5122).
21200
21201 * international/mule-cmds.el (prefer-coding-system): Add an
21202 example (bug#4869).
21203
21204 * progmodes/etags.el (tags-search): Document `file-list-form'
21205 (bug#4731).
21206
21207 2011-07-13 Lawrence Mitchell <wence@gmx.li>
21208
21209 * net/browse-url.el (browse-url-default-browser)
21210 (browse-url-browser-function): Make the default browser choice a
21211 bit more logical (bug#4300). Also clean up the doc string.
21212
21213 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
21214
21215 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
21216 binary endings (bug#4440).
21217
21218 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
21219
21220 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
21221 which can be pretty annoying (bug#8971).
21222
21223 * jka-compr.el (jka-compr-verbose): New variable, and use
21224 throughout (bug#8971).
21225
21226 * info.el (Info-find-file): Fall back on the installation
21227 directory if we can't find the info node anywhere else.
21228
21229 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
21230
21231 * vc/vc.el (vc-revert-file):
21232 Don't set file time-stamp in the past. (Bug#5181)
21233
21234 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
21235
21236 * files.el (after-find-file): Give a better error message when
21237 trying to find a symlink that points to a file that doesn't exist
21238 (bug#4398).
21239
21240 * progmodes/cc-vars.el: Remove (probably) misleading comment
21241 (bug#4396).
21242
21243 2011-07-12 Johan BockgĂ¥rd <bojohan@gnu.org>
21244
21245 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
21246
21247 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
21248
21249 * mouse-sel.el: Hack restoring functionality, while keeping
21250 compatibility with 2010-07-03 changes to mouse selection.
21251 (mouse-sel-primary-overlay): New var.
21252 (mouse-sel-selection-alist): Use it.
21253 (mouse-sel-mode): Doc fix; remove points that are default features
21254 of mouse.el.
21255
21256 2011-07-12 Johan BockgĂ¥rd <bojohan@gnu.org>
21257
21258 * progmodes/compile.el (compilation-error-regexp-alist-alist):
21259 Fix previous fix (bug#2490).
21260
21261 2011-07-12 Roland Winkler <winkler@gnu.org>
21262
21263 * textmodes/bibtex.el (bibtex-initialize):
21264 Use pop-to-buffer-same-window.
21265 (bibtex-search-entries): Fix interactive call.
21266
21267 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
21268
21269 * progmodes/compile.el (compilation-error-regexp-alist-alist):
21270 Fontise bytecomp Error lines more correctly (bug#2490).
21271 Fix suggested by Johan BockgĂ¥rd.
21272
21273 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
21274
21275 * dired-x.el (dired-guess-default): Use `delete-dups'.
21276
21277 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
21278
21279 * dired.el (dired-mark-prompt):
21280 * dired-aux.el (dired-read-shell-command): Doc fix.
21281
21282 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
21283
21284 * mail/sendmail.el (sendmail-query-once):
21285 Use `customize-save-variable' unconditionally, now that it works under
21286 emacs -Q.
21287
21288 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
21289
21290 * cus-edit.el (custom-file): Take an optional no-error variable.
21291 (customize-save-variable): Set the variable, and give a warning if
21292 running under "emacs -q".
21293
21294 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
21295
21296 * loadhist.el (unload-feature-special-hooks):
21297 Add `auto-coding-functions', `fill-nobreak-predicate' and
21298 `find-directory-functions' (bug#5327).
21299
21300 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
21301
21302 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
21303
21304 * cus-edit.el (custom-guess-name-alist): -alist variables should
21305 use the `alist' type (bug#3120). Suggested by Drew Adams.
21306
21307 * printing.el: Add documentation to all the `pr-toggle-' commands.
21308
21309 2011-07-11 Leo Liu <sdl.web@gmail.com>
21310
21311 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
21312 backends where it makes sense (bug#2623).
21313
21314 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
21315
21316 * dired-x.el (dired-guess-default): Remove duplicate shell command
21317 entries (bug#2028).
21318 (dired-guess-default): Fix grammar in doc string (bug#2028).
21319 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
21320
21321 * subr.el (remove-duplicates): New conveniency function.
21322
21323 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
21324
21325 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
21326 (bug#1526).
21327
21328 2011-07-10 Martin Rudalics <rudalics@gmx.at>
21329
21330 * window.el (display-buffer-normalize-default): Don't invert
21331 meaning of even-window-heights. Reported by Eli Zaretskii
21332 <eliz@gnu.org>.
21333
21334 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
21335
21336 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
21337
21338 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
21339
21340 * window.el (display-buffer): Fix arguments to
21341 display-buffer-reuse-window in last change.
21342
21343 * faces.el (link): Use a less saturated blue on light backgrounds.
21344
21345 * startup.el (fancy-startup-text, fancy-about-text)
21346 (fancy-startup-tail): Use font-lock faces, for background safety.
21347
21348 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
21349
21350 * emulation/viper-cmd.el (viper-change-state-to-vi):
21351 Limit triggering of abbrev expansion (Bug#9038).
21352
21353 2011-07-09 Martin Rudalics <rudalics@gmx.at>
21354
21355 * window.el (display-buffer-default-specifiers): Remove.
21356 (display-buffer-macro-specifiers): Remove default specifiers.
21357 (display-buffer-alist): Default to nil.
21358 (display-buffer-reuse-window): New optional argument other-window.
21359 (display-buffer-pop-up-window): Allow splitting internal
21360 windows. Check whether a live window was created.
21361 (display-buffer-other-window-means-other-frame)
21362 (display-buffer-normalize-arguments): Rename to
21363 display-buffer-normalize-argument and rewrite. Set the
21364 other-window specifier.
21365 (display-buffer-normalize-special): New function.
21366 (display-buffer-normalize-options): Rename to
21367 display-buffer-normalize-default and rewrite.
21368 (display-buffer-normalize-options-inhibit): Remove.
21369 (display-buffer-normalize-specifiers): Rewrite.
21370 (display-buffer): Process other-window specifier and call
21371 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
21372 more faithfully.
21373 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
21374 (display-buffer-alist-set): Don't handle 'unset default values.
21375 (display-buffer-in-window, display-buffer-alist-set):
21376 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
21377 <tassilo@member.fsf.org>.
21378
21379 2011-07-09 Leo Liu <sdl.web@gmail.com>
21380
21381 * register.el (insert-register): Restore accidental change on
21382 2011-06-26. (Bug#9028)
21383
21384 2011-07-09 Glenn Morris <rgm@gnu.org>
21385
21386 * subr.el (remq): Handle the empty list. (Bug#9024)
21387
21388 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
21389
21390 * mail/sendmail.el (send-mail-function): No longer delay custom
21391 initialization.
21392 * custom.el (custom-initialize-delay): Doc fix.
21393
21394 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
21395
21396 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
21397
21398 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
21399
21400 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
21401 human-friendly prompt.
21402
21403 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
21404
21405 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
21406 provided by a particular plugin.
21407
21408 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
21409
21410 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
21411 save customizations (with "emacs -Q"), just set the variable
21412 instead of erroring out.
21413
21414 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
21415
21416 2011-07-08 Juri Linkov <juri@jurta.org>
21417
21418 * arc-mode.el (archive-zip-expunge, archive-zip-update)
21419 (archive-zip-update-case): Use 7z if found by `executable-find'.
21420 The order of searching the available programs is the same as in
21421 `archive-zip-extract' (bug#8968).
21422
21423 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
21424
21425 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
21426 (menu-bar-options-menu): Tweak descriptions.
21427
21428 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
21429
21430 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
21431 menu items into verb phrases (bug#1421). Also refill to fit under
21432 80 columns.
21433
21434 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
21435
21436 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
21437 (Info-read-node-name): Doc fix (Bug#1084).
21438
21439 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
21440 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
21441 (end-of-sexp, beginning-of-sexp)
21442 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
21443 (forward-symbol, forward-same-syntax, word-at-point)
21444 (sentence-at-point): Doc fix (Bug#1144).
21445
21446 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
21447
21448 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
21449 should cover it (bug#1281).
21450
21451 * cus-edit.el (custom-show): Mark as obsolete.
21452
21453 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
21454 negotiation fails, then possibly try again with a non-encrypted
21455 connection (bug#9017).
21456
21457 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
21458 be used.
21459
21460 2011-07-07 Richard Stallman <rms@gnu.org>
21461
21462 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
21463 property, and handle its changed format.
21464 Look for the correct line number.
21465 Use file's line contents (but not past first =) to find
21466 correct line in message.
21467
21468 2011-07-07 Kenichi Handa <handa@m17n.org>
21469
21470 * international/characters.el (build-unicode-category-table):
21471 Delete it.
21472 (unicode-category-table): Set it by unicode-property-table-internal.
21473
21474 * international/mule-cmds.el (char-code-property-alist): Move to
21475 to src/chartab.c.
21476 (get-char-code-property): Call unicode-property-table-internal to
21477 load a file. Call get-unicode-property-internal where necessary.
21478 (put-char-code-property): Call unicode-property-table-internal to
21479 load a file. Call put-unicode-property-internal where necessary.
21480 put-unicode-property-internal where necessary.
21481 (char-code-property-description):
21482 Call unicode-property-table-internal to load a file.
21483
21484 * international/charprop.el:
21485 * international/uni-bidi.el:
21486 * international/uni-category.el:
21487 * international/uni-combining.el:
21488 * international/uni-comment.el:
21489 * international/uni-decimal.el:
21490 * international/uni-decomposition.el:
21491 * international/uni-digit.el:
21492 * international/uni-lowercase.el:
21493 * international/uni-mirrored.el:
21494 * international/uni-name.el:
21495 * international/uni-numeric.el:
21496 * international/uni-old-name.el:
21497 * international/uni-titlecase.el:
21498 * international/uni-uppercase.el: Regenerate.
21499
21500 * loadup.el: Load international/charprop.el before
21501 international/characters.
21502
21503 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
21504
21505 * window.el (next-buffer, previous-buffer): Signal an error if
21506 called from a minibuffer window.
21507
21508 * bindings.el: Revert 2011-07-04 change.
21509
21510 2011-07-06 Richard Stallman <rms@gnu.org>
21511
21512 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
21513 (rmail-mime-insert-bulk, rmail-mime-insert-text):
21514 Treat markers like ints.
21515 (rmail-mime-entity): Doc fix.
21516
21517 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
21518
21519 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
21520 defcustom again for backwards compatibility.
21521
21522 * simple.el (shell-command-on-region): Fill.
21523
21524 * dired-aux.el (dired-kill-line): Add a doc string.
21525
21526 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
21527 to "\\sw\\|\\s_" (bug#358).
21528
21529 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
21530 (dired-unmark-backward): Ditto.
21531 (dired-flag-backup-files): Ditto.
21532
21533 * dired-x.el (dired-mark-sexp): Ditto.
21534
21535 2011-07-06 Richard Stallman <rms@gnu.org>
21536
21537 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
21538 (rmail-mime-entity): New arg TRUNCATED.
21539 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
21540 New functions.
21541 (rmail-mime-save): Warn if entity is truncated.
21542 (rmail-mime-toggle-hidden): Likewise, for showing.
21543 (rmail-mime-process-multipart): Record when an entity is truncated.
21544
21545 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
21546 if ENTITY is a string.
21547
21548 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
21549
21550 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
21551 of faces when `M-C-x'-ing their definitions (bug#8378).
21552 Also clean up the code slightly.
21553
21554 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
21555 because that makes the colors go away.
21556
21557 * mail/sendmail.el (send-mail-function): Change the default to
21558 `sendmail-query-once'.
21559 (sendmail-query-once): Add an autoload cookie.
21560
21561 * net/network-stream.el (network-stream-open-starttls): Try using
21562 a plain connection even if the server offered STARTTLS, and we
21563 kinda wanted to use it, if Emacs doesn't have any STARTTLS
21564 capability. This should make smtpmail.el work in slightly more
21565 configurations.
21566
21567 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
21568
21569 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
21570 New defun.
21571 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
21572
21573 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
21574
21575 * progmodes/sql.el: Version 3.0
21576 (sql-product-alist): Add product :completion-object,
21577 :completion-column, and :statement attributes.
21578 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
21579 (sql-mode-syntax-table): Mark all punctuation.
21580 (sql-font-lock-keywords-builder): Temporarily remove fallback on
21581 ansi keywords.
21582 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
21583 (sql-mode-oracle-font-lock-keywords): Improve.
21584 (sql-oracle-show-reserved-words): New function for development.
21585 (sql-product-font-lock): Simplify for source code buffers.
21586 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
21587 New functions.
21588 (sql-highlight-product): Set product specific syntax table.
21589 (sql-mode-map): Add statement movement functions.
21590 (sql-ansi-statement-starters, sql-oracle-statement-starters):
21591 New variable.
21592 (sql-statement-regexp, sql-beginning-of-statement)
21593 (sql-end-of-statement, sql-signum): New functions.
21594 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
21595 (sql-show-sqli-buffer): Bug fix.
21596 (sql-interactive-mode): Store connection data as buffer local.
21597 (sql-connect): Add NEW-NAME parameter. Redesign interaction
21598 with sql-interactive-mode.
21599 (sql-save-connection): Save buffer local settings.
21600 (sql-connection-menu-filter): Change menu entry name.
21601 (sql-product-interactive): Bug fix.
21602 (sql-preoutput-hold): New variable.
21603 (sql-interactive-remove-continuation-prompt): Bug fixes.
21604 (sql-debug-redirect): New variable.
21605 (sql-str-literal): New function.
21606 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
21607 Redesign.
21608 (sql-oracle-save-settings, sql-oracle-restore-settings)
21609 (sql-oracle-list-all, sql-oracle-list-table): New functions.
21610 (sql-completion-object, sql-completion-column)
21611 (sql-completion-sqlbuf): New variables.
21612 (sql-build-completions-1, sql-build-completions)
21613 (sql-try-completion): New functions.
21614 (sql-read-table-name): Use them.
21615 (sql-contains-names): New buffer local variable.
21616 (sql-list-all, sql-list-table): Use it.
21617 (sql-oracle-completion-types): New variable.
21618 (sql-oracle-completion-object, sql-sqlite-completion-object)
21619 (sql-postgres-completion-object): New functions.
21620
21621 2011-07-06 Glenn Morris <rgm@gnu.org>
21622
21623 * window.el (pop-to-buffer): Doc fix.
21624
21625 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
21626
21627 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
21628
21629 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
21630
21631 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
21632
21633 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
21634
21635 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
21636
21637 * button.el (button): Inherit from link face. Suggested by Dan
21638 Nicolaescu.
21639
21640 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
21641
21642 * progmodes/gdb-mi.el: Fit in 80 columns.
21643 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
21644 switch-to-buffer.
21645
21646 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
21647 if imenu is simply not configured (bug#8941).
21648
21649 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
21650
21651 * allout.el (allout-post-undo-hook): New allout outline-change
21652 event hook to signal undo activity.
21653 (allout-post-command-business): Run allout-post-undo-hook if an
21654 undo just occurred.
21655 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
21656 * allout-widgets.el (allout-widgets-after-undo-function):
21657 Ensure the integrity of the current item's decoration after it has been
21658 in the vicinity of an undo.
21659 (allout-widgets-mode): Include allout-widgets-after-undo-function
21660 on the new allout-post-undo-hook.
21661
21662 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
21663
21664 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
21665 Let define-derived-mode define it.
21666 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
21667 cycles of abbrev-table inheritance (bug#8998).
21668
21669 2011-07-05 Roland Winkler <winkler@gnu.org>
21670
21671 * textmodes/bibtex.el: Add support for biblatex.
21672 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
21673 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
21674 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
21675 (bibtex-entry-alist, bibtex-field-alist): New variables.
21676 (bibtex-entry-field-alist): Obsolete alias for
21677 bibtex-BibTeX-entry-alist.
21678 (bibtex-entry-alist, bibtex-field-alist): New widgets.
21679 (bibtex-set-dialect): New command.
21680 (bibtex-entry-type, bibtex-entry-head)
21681 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
21682 Bind via bibtex-set-dialect.
21683 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
21684 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
21685 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
21686 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
21687 Define via bibtex-set-dialect.
21688 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
21689 Obey bibtex-no-opt-remove-re.
21690 (bibtex-vec-push, bibtex-vec-incr): New functions.
21691 (bibtex-format-entry, bibtex-field-list)
21692 (bibtex-print-help-message, bibtex-validate)
21693 (bibtex-search-entries): Use new format of bibtex-entry-alist.
21694
21695 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
21696
21697 * progmodes/compile.el (compilation-goto-locus):
21698 * net/tramp-cmds.el (tramp-append-tramp-buffers):
21699 * bs.el (bs-cycle-next, bs-cycle-previous):
21700 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
21701 * bindings.el (mode-line-other-buffer):
21702 * autoinsert.el (auto-insert):
21703 * arc-mode.el (archive-extract):
21704 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
21705
21706 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
21707
21708 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
21709 Fix check of `emacs-lock-unlockable-modes'.
21710 Coerce true values of `emacs-lock--try-unlocking' to t.
21711
21712 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
21713
21714 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
21715 * emacs-lock.el: New file.
21716
21717 2011-07-05 Julien Danjou <julien@danjou.info>
21718
21719 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
21720 than `boundp' to check if face is set.
21721
21722 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
21723
21724 * register.el (registerv-make):
21725 * window.el (window-min-height): Fix typos in docstrings.
21726
21727 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
21728
21729 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
21730 Update doc string.
21731
21732 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
21733
21734 * server.el (server-execute): Catch quit and call
21735 `server-return-error' to pass the error back to emacsclient and
21736 close the connection (bug#8942).
21737
21738 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
21739
21740 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
21741 insecure exception for current topic. Also note that auto-saves
21742 are handled differently.
21743
21744 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
21745 State variables for tracking auto-save inhibition situation.
21746
21747 (allout-write-contents-hook-handler): Rename from
21748 'allout-write-file-hook-handler', and describe how it depends on
21749 write-contents-functions sensitivity to non-nil value to prevent
21750 file write.
21751
21752 (allout-auto-save-hook-handler): Remove. auto-save does not check
21753 this in individual buffers, only in the starting buffer, so this
21754 is not the right way for us to inhibit auto-save in a buffer
21755 according to its condition.
21756
21757 (allout-mode): Use new allout-write-contents-hook-handler, and
21758 only with write-contents-functions. Remove auto-save provisions -
21759 they're implemented elsewhere.
21760
21761 (allout-before-change-handler): If undo is in progress, note that
21762 for attention of allout-post-command-business.
21763
21764 (allout-post-command-business): If the command we're following was
21765 an undo, check for change in the status of encrypted items and
21766 adjust auto-save inhibitions accordingly.
21767
21768 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
21769 according to whether there are or aren't any plain-text topics
21770 pending encryption.
21771
21772 (allout-inhibit-auto-save-info-for-decryption):
21773 Adjust buffer-saved-size and some allout state to inhibit auto-saves
21774 if there are plain-text topics pending encryption.
21775
21776 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
21777 buffer-saved-size and some allout state to not inhibit auto-saves
21778 if there are no longer any plain-text topics pending encryption.
21779
21780 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
21781 No longer provide for exemption of the current topic.
21782
21783 2011-07-04 Juri Linkov <juri@jurta.org>
21784
21785 Add 7z operations to delete and save changed members (bug#8968).
21786 * arc-mode.el (archive-7z-expunge, archive-7z-update):
21787 New defcustoms.
21788 (archive-7z-write-file-member): New function.
21789 (archive-7z-summarize): Fix the number of dashes in the
21790 listing output.
21791
21792 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
21793
21794 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
21795 (bug#8958).
21796
21797 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
21798
21799 * bindings.el: Ignore next-buffer and previous-buffer in
21800 minibuffer-local-map.
21801
21802 * font-lock.el (font-lock-builtin-face): Change light background
21803 color to dark slate blue (Bug#6693).
21804
21805 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
21806
21807 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
21808
21809 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
21810
21811 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
21812 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
21813 Add switch-to-buffer.
21814
21815 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
21816
21817 * isearch.el (isearch-search-fun-function): Clarify further the
21818 meaning of the function returned.
21819
21820 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
21821
21822 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
21823
21824 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
21825 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
21826 Use it.
21827 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
21828 `tramp-default-remote-path' does not exist.
21829 (tramp-send-command-and-read): New optional argument NOERROR.
21830 (tramp-open-connection-setup-interactive-shell)
21831 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
21832 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
21833 (tramp-process-sentinel): Flush also process' connection property.
21834 (tramp-sh-handle-start-file-process): Do not set process
21835 sentinel. It is done now ...
21836 (tramp-maybe-open-connection): ... here. (Bug#8929)
21837
21838 2011-07-04 MON KEY <monkey@sandpframing.com>
21839
21840 * play/animate.el (animate-string): Doc fixes and allow changing
21841 the buffer name (bug#5417).
21842
21843 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
21844
21845 * play/animate.el (animation-buffer-name): Rename from *animate*.
21846
21847 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
21848
21849 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
21850 This is simpler and helps future-proof the code.
21851 (timer-until): Use time-subtract and float-time.
21852 (timer--time-less-p): Use time-less-p.
21853
21854 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
21855
21856 * type-break.el (timep): Use the value of `float-time' to avoid a
21857 byte-compiler warning.
21858
21859 * server.el (server-eval-and-print): Return any result, even nil.
21860
21861 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
21862
21863 * type-break.el: Accept time formats that the builtins accept.
21864 (timep, type-break-time-difference): Accept any format that
21865 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
21866 This is simpler and helps future-proof the code.
21867 (type-break-time-difference): Round rather than ignoring
21868 subseconds components.
21869
21870 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
21871
21872 * info.el (Info-apropos-matches): Make non-interactive, since it
21873 doesn't seem to do anything useful as a command (bug#8829).
21874
21875 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
21876
21877 * frame.el (frame-background-mode, frame-set-background-mode):
21878 Move from faces.el.
21879 (frame-default-terminal-background): New function.
21880
21881 * custom.el (custom-push-theme): Don't record faces in `changed'
21882 theme; this doesn't work correctly for per-frame face settings.
21883 (disable-theme): Use face-set-after-frame-default to reset faces.
21884 (custom--frame-color-default): New function.
21885
21886 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
21887
21888 * dired.el (dired-flagging-regexp): Remove unused variable
21889 (bug#8769).
21890
21891 2011-03-29 Kevin Ryde <user42@zip.com.au>
21892
21893 * progmodes/compile.el (compilation-error-regexp-alist-alist):
21894 `perl-Test2' extend to match possible "fail #N" rep count
21895 (bug#8377).
21896
21897 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
21898
21899 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
21900 `smtpmail-via-smtp' now returns the error instead of nil.
21901
21902 * isearch.el (isearch-search-fun-function): Clarify the doc string
21903 (bug#8101).
21904
21905 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
21906
21907 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
21908 unnecessary spaces (bug#8987).
21909
21910 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
21911
21912 * net/network-stream.el (open-network-stream): Use the
21913 :end-of-capability command thoughout.
21914
21915 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
21916
21917 * net/network-stream.el (open-network-stream): Add the
21918 :end-of-capability command parameter, used by pop3.el.
21919
21920 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
21921
21922 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
21923
21924 * fringe.el (fringe-query-style): Remove redundant text " (type ?
21925 for list)" (bug#6475).
21926
21927 * files.el (file-expand-wildcards): Ignore non-readable
21928 sub-directories while trying to find matches instead of signaling
21929 an error (bug#6297).
21930
21931 * man.el (Man-reference-regexp): Allow matching possible
21932 word-wrapped references (bug#6289).
21933
21934 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
21935 for consistency with the other vc buffers (bug#6197).
21936 (vc-checkin): Ditto.
21937
21938 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
21939
21940 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
21941
21942 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21943
21944 * custom.el (defcustom): Clarify that :set is only used in the
21945 Customize user interface (bug#6089).
21946
21947 * progmodes/flymake.el (flymake-mode): If the buffer isn't
21948 associated with a file, refuse to run instead of erroring out
21949 (bug#6084).
21950
21951 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
21952 the doc string, since it appears that using `fill-column' always
21953 controls the width (bug#7845).
21954
21955 * simple.el (shell-command-on-region): Say where the error output
21956 went if `shell-command-default-error-buffer' is set (bug#6857).
21957
21958 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
21959
21960 * allout.el (allout-yank-processing): Adjust cursor position for
21961 backwards-deleted space.
21962
21963 (allout-rebullet-heading): Register changes with
21964 allout-exposure-changed-hook, so the modified topic is properly
21965 decorated.
21966
21967 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21968
21969 * minibuffer.el (completion-in-region): Document PREDICATE
21970 (bug#7136).
21971
21972 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
21973 of keyword/argument pairs (bug#6904).
21974
21975 * replace.el (multi-occur):
21976 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
21977
21978 2011-07-02 Drew Adams <drew.adams@oracle.com>
21979
21980 * dired.el (dired-mark-if): Make the message about whether it's
21981 marking or unmarking clearer (bug#8523).
21982
21983 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21984
21985 * disp-table.el (display-table-print-array): New function.
21986 (describe-display-table): Use it to print the vectors more pretty
21987 (Bug#8859).
21988
21989 2011-07-02 Martin Rudalics <rudalics@gmx.at>
21990
21991 * window.el (window-state-get-1): Don't assign clone numbers.
21992 Add clone-of item to list of window parameters.
21993 (window-state-put-2): Don't process clone numbers.
21994 (display-buffer-alist): Fix doc-string.
21995
21996 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
21997
21998 * subr.el (remq): Don't allocate if it's not needed.
21999 (keymap--menu-item-binding, keymap--menu-item-with-binding)
22000 (keymap--merge-bindings): New functions.
22001 (keymap-canonicalize): Use them to refine the canonicalization.
22002 * minibuffer.el (minibuffer-local-completion-map)
22003 (minibuffer-local-must-match-map): Move initialization from C.
22004 (minibuffer-local-filename-completion-map): Move initialization from C;
22005 don't inherit from anything here.
22006 (minibuffer-local-filename-must-match-map): Make obsolete.
22007 (completing-read-default): Use make-composed-keymap to combine
22008 minibuffer-local-filename-completion-map with either
22009 minibuffer-local-must-match-map or
22010 minibuffer-local-filename-completion-map.
22011
22012 2011-07-01 Glenn Morris <rgm@gnu.org>
22013
22014 * type-break.el (type-break-time-sum): Use dolist.
22015
22016 * textmodes/flyspell.el (flyspell-word-search-backward):
22017 Replace CL function.
22018
22019 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
22020
22021 * mouse.el (mouse--strip-first-event): New function.
22022 (function-key-map): Use it to map fringe clicks to normal clicks
22023 by default.
22024
22025 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
22026 (vc-bzr-revision-completion-table): Add support for annotate and date.
22027
22028 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
22029 inherit from parent.
22030
22031 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
22032
22033 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
22034 (dired-show-file-type): Doc fixup (bug#8818).
22035
22036 * dired.el (dired-mode): Fix up the doc string as suggested by
22037 Drew Adams (bug#8817).
22038
22039 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
22040 cookie, since the manual says that it should be possible to add
22041 this function to `find-file-hook' (bug#8709).
22042
22043 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
22044
22045 * progmodes/cfengine.el: Moved all cfengine3.el functionality
22046 here. Noted Ted Zlatanov as the maintainer.
22047 (cfengine-common-settings, cfengine-common-syntax): New functions
22048 to set up common things between `cfengine-mode' and
22049 `cfengine3-mode'.
22050 (cfengine3-mode): New mode.
22051 (cfengine3-defuns cfengine3-defuns-regex
22052 (cfengine3-class-selector-regex cfengine3-category-regex)
22053 (cfengine3-vartypes cfengine3-font-lock-keywords)
22054 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
22055 (cfengine3-indent-line): Add from cfengine3.el.
22056
22057 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
22058
22059 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
22060
22061 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
22062
22063 2011-07-01 Martin Rudalics <rudalics@gmx.at>
22064
22065 * window.el (same-window-buffer-names, same-window-regexps)
22066 (same-window-p, special-display-frame-alist)
22067 (special-display-popup-frame, special-display-function)
22068 (special-display-buffer-names, special-display-regexps)
22069 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
22070 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
22071 (split-window-preferred-function, split-height-threshold)
22072 (split-width-threshold, even-window-heights)
22073 (display-buffer-mark-dedicated, window-splittable-p)
22074 (split-window-sensibly, window-safely-shrinkable-p):
22075 Un-obsolete.
22076 (display-buffer): Don't spread args with function specifier
22077 because special-display-popup-frame won't like it.
22078
22079 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
22080
22081 Time-stamp simplifications and fixes.
22082 These improve accuracy slightly, and future-proof the code
22083 against some potential changes to current-time format.
22084
22085 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
22086 by using time-since and float-time.
22087
22088 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
22089 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
22090 + NNN microseconds".
22091
22092 * type-break.el (type-break-time-sum): Rewrite using time-add.
22093
22094 * play/hanoi.el (hanoi-current-time-float): Remove.
22095 All uses replaced by float-time.
22096
22097 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
22098 This yields a more-accurate answer.
22099 (rng-time-to-float): Remove; no longer needed.
22100
22101 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
22102
22103 * calendar/timeclock.el (timeclock-seconds-to-time):
22104 Defalias to seconds-to-time, since they're the same thing.
22105
22106 * emacs-lisp/elp.el (elp-elapsed-time):
22107 * emacs-lisp/benchmark.el (benchmark-elapse):
22108 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
22109
22110 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
22111
22112 * window.el (bury-buffer): Don't iconify the only frame.
22113 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
22114 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
22115
22116 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
22117
22118 * eshell/em-smart.el (eshell-smart-display-navigate-list):
22119 Add mouse-yank-primary.
22120
22121 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
22122
22123 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
22124
22125 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
22126
22127 * emacs-lisp/find-func.el (find-library--load-name): New fun.
22128 (find-library-name): Use it to find relative load names when provided
22129 absolute file name (bug#8803).
22130
22131 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
22132
22133 * textmodes/flyspell.el (flyspell-word): Consider words that
22134 differ only in case as potential doublons (bug#5687).
22135
22136 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
22137 Remove two rather uninteresting debugging-like messages to make
22138 debbugs.el more silent.
22139
22140 * comint.el (comint-password-prompt-regexp): Accept "Response" as
22141 a password-like phrase.
22142
22143 2011-06-30 Masatake YAMATO <yamato@redhat.com>
22144
22145 * progmodes/cc-guess.el: New file.
22146
22147 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
22148
22149 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
22150 derived from `c-basic-common-init'.
22151
22152 * progmodes/cc-mode.el (top-level): Require cc-guess.
22153 (c-basic-common-init): Use `cc-choose-style-for-mode'.
22154
22155 2011-06-30 Lawrence Mitchell <wence@gmx.li>
22156
22157 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
22158
22159 2011-06-30 Alan Mackenzie <acm@muc.de>
22160
22161 * progmodes/cc-engine.el (c-guess-continued-construct):
22162 Correct the handling of template-args-cont, particularly for when font
22163 lock is disabled. Name this case as "CASE G".
22164
22165 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
22166
22167 * allout.el (allout-yank-processing): Fix injection of extra space
22168 between bullet and non-whitespace character in first topic when
22169 pasting, ensuring that the actual spacing in the pasted topic
22170 following the bullet char is preserved. This extra space was
22171 causing pasted encrypted topics to get a decrypted status even
22172 when the content was actually still encrypted. Now the decryption
22173 status from before the paste is preserved.
22174
22175 (allout-flag-region): Set all allout overlays so they evaporate
22176 when reduced to zero length (evanescent), to prevent overlay
22177 leakage.
22178
22179 2011-06-30 Glenn Morris <rgm@gnu.org>
22180
22181 * w32-fns.el (w32-charset-info-alist): Declare.
22182
22183 * find-dired.el (find-grep-options): Simplify.
22184
22185 * term/ns-win.el (ns-set-resource): Declare.
22186
22187 * ses.el (row, col): Declare dynamic variables honestly.
22188
22189 * textmodes/reftex-parse.el (index-tags): Declare.
22190
22191 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
22192
22193 * cus-edit.el (customize-push-and-save): New function.
22194
22195 * files.el (hack-local-variables-confirm): Use it.
22196
22197 * custom.el (load-theme): New arg NO-CONFIRM.
22198 Use customize-push-and-save (Bug#8720).
22199 (custom-enabled-themes): Doc fix.
22200
22201 * cus-theme.el (customize-create-theme)
22202 (custom-theme-merge-theme): Callers to load-theme changed.
22203
22204 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
22205
22206 * thingatpt.el (thing-at-point-short-url-regexp): Require that
22207 short URLs have at least one dot in them (bug #7614).
22208
22209 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
22210 nil, because using a pty is apparently too slow (bug #895).
22211
22212 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
22213
22214 * mail/sendmail.el (sendmail-query-once): New function.
22215 (sendmail-query-once-function): New variable.
22216
22217 2011-06-29 Glenn Morris <rgm@gnu.org>
22218
22219 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
22220
22221 * ses.el (top-level): Require cl when compiling.
22222 (ses-set-localvars): Fix error statement.
22223 Call it at compile time to silence a storm of warnings.
22224
22225 2011-06-29 Martin Rudalics <rudalics@gmx.at>
22226
22227 * window.el (normalize-live-buffer): Rename to
22228 window-normalize-buffer.
22229 (normalize-live-frame): Rename to window-normalize-frame.
22230 (normalize-any-window): Rename to window-normalize-any-window.
22231 (normalize-live-window): Rename to window-normalize-live-window.
22232 (make-window-atom): Rename to window-make-atom.
22233 (window-resize-reset): Rename to window--resize-reset.
22234 (window-resize-reset-1): Rename to window--resize-reset-1.
22235 (resize-mini-window): Rename to window--resize-mini-window.
22236 (resize-subwindows-skip-p): Rename to
22237 window--resize-subwindows-skip-p.
22238 (resize-subwindows-normal): Rename to
22239 window--resize-subwindows-normal.
22240 (resize-subwindows): Rename to window--resize-subwindows.
22241 (resize-other-windows): Rename to window--resize-siblings.
22242 (resize-this-window): Rename to window--resize-this-window.
22243 (resize-root-window): Rename to window--resize-root-window.
22244 (resize-root-window-vertically): Rename to
22245 window--resize-root-window-vertically.
22246 (normalize-buffer-to-display): Rename to
22247 window-normalize-buffer-to-display.
22248 (normalize-buffer-to-switch-to): Rename to
22249 window-normalize-buffer-to-switch-to.
22250 Correspondingly update all callers of the functions listed
22251 above.
22252 (display-buffer-alist, display-buffer-normalize-arguments)
22253 (display-buffer-normalize-options, display-buffer)
22254 (display-buffer-alist-set): Use "function" instead of
22255 "fun-with-args".
22256
22257 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
22258
22259 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
22260 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
22261 debbugs.gnu.org. Mention acknowledgment email.
22262
22263 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
22264
22265 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
22266 buffer multibyteness, since it shouldn't matter.
22267
22268 2011-06-28 Martin Rudalics <rudalics@gmx.at>
22269
22270 * window.el (display-buffer-in-side-window): Handle dedicated
22271 windows as in display-buffer-reuse-window.
22272 (display-buffer-normalize-alist): Use value of override
22273 specifier.
22274 (display-buffer-normalize-specifiers): Use value of
22275 other-window-means-other-frame specifier.
22276 (display-buffer-alist): Rewrite some texts in widgets.
22277 (display-buffer): Spread arguments when calling function
22278 specified by fun-with-args.
22279
22280 2011-06-28 Deniz Dogan <deniz@dogan.se>
22281
22282 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
22283 Unnest `let'.
22284
22285 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
22286 selectors (Bug#5732).
22287 (css-proprietary-nmstart-re): Use `regexp-opt'.
22288
22289 2011-06-27 Jari Aalto <jari.aalto@cante.net>
22290
22291 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
22292 (eshell-ls-date-format): New defcustom.
22293 (eshell-ls-file): Use it.
22294
22295 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
22296
22297 * help-fns.el (describe-variable): Fix message for terminal-local vars.
22298
22299 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
22300
22301 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
22302 (ange-ftp-make-tmp-name): New arg.
22303 (ange-ftp-file-local-copy): Use it.
22304
22305 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
22306
22307 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
22308 no-conversion (Bug#8870).
22309
22310 2011-06-27 Martin Rudalics <rudalics@gmx.at>
22311
22312 * window.el (window-right, window-left, window-child)
22313 (window-child-count, window-last-child)
22314 (window-iso-combination-p, walk-window-tree-1)
22315 (window-atom-check-1, window-tree-1, delete-window)
22316 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
22317 new naming conventions - window-vchild, window-hchild,
22318 window-next and window-prev are now called window-top-child,
22319 window-left-child, window-next-sibling and window-prev-sibling
22320 respectively.
22321 (resize-window-reset): Rename to window-resize-reset.
22322 (resize-window-reset-1): Rename to window-resize-reset-1.
22323 (resize-window): Rename to window-resize.
22324 (window-min-height, window-min-width)
22325 (resize-mini-window, resize-this-window, resize-root-window)
22326 (resize-root-window-vertically, adjust-window-trailing-edge)
22327 (enlarge-window, shrink-window, maximize-window)
22328 (minimize-window, delete-window, quit-restore-window)
22329 (split-window, balance-windows, balance-windows-area-adjust)
22330 (balance-windows-area, window-state-put-2)
22331 (display-buffer-even-window-sizes, display-buffer-set-height)
22332 (display-buffer-set-width, set-window-text-height)
22333 (fit-window-to-buffer): Rename all "resize-window" prefixed
22334 calls to use the "window-resize" prefix convention.
22335 (display-buffer-alist): Fix symbol for label specifier.
22336 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
22337 corresponding specifier.
22338 Reported by Juanma Barranquero <lekktu@gmail.com>.
22339
22340 2011-06-27 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
22341
22342 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
22343 convention.
22344 (ses-call-printer): Does not pass an empty string to formatter when the
22345 cell is empty to keep from barking printer Calc math-format-value.
22346
22347 2011-06-27 Richard Stallman <rms@gnu.org>
22348
22349 * battery.el (battery-mode-line-limit): New variable.
22350 (battery-update): Handle it.
22351
22352 * mail/rmailmm.el (rmail-mime-process-multipart):
22353 Handle truncated messages.
22354
22355 2011-06-27 Glenn Morris <rgm@gnu.org>
22356
22357 * progmodes/flymake.el (flymake-err-line-patterns):
22358 Allow for column numbers in the ant/javac pattern. (Bug#8866)
22359
22360 2011-06-27 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
22361
22362 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
22363 (ses--clean-!, ses--clean-_): New functions.
22364 (ses-range): Add configurability of readout order, and conversion
22365 to Calc vector.
22366
22367 * ses.el (ses-repair-cell-reference-all): New function.
22368 (ses-cell-symbol): Set macro as safe, so that it can be used in
22369 formulas.
22370
22371 * ses.el: Update cycle detection algorithm.
22372 (ses-localvars): Add ses--Dijkstra-attempt-nb and
22373 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
22374 (ses-set-localvars): New function.
22375 (ses-make-cell): Add property-list as a cell element.
22376 (ses-cell-property-get-fun, ses-cell-property-get)
22377 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
22378 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
22379 New functions.
22380 (ses-cell-property-set, ses-cell-property-pop)
22381 (ses-cell-property-get-handle): New macro.
22382 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
22383 New aliases, used for code readability.
22384 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
22385 cycle detection.
22386 (ses-self-reference-early-detection): New defcustom.
22387 (ses-formula-references): Robustify against self-referring cells.
22388 (ses-mode): Use ses-set-localvars.
22389 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
22390 before lauching the update processing.
22391 (ses-initialize-Dijkstra-attempt): New function.
22392 (ses-recalculate-cell): Update for cycle detection based on
22393 Dijkstra algorithm.
22394
22395 * ses.el: Fix commenting and indenting convention.
22396
22397 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
22398
22399 * bs.el (bs-cycle-next): Complete last change.
22400
22401 2011-06-27 Drew Adams <drew.adams@oracle.com>
22402
22403 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
22404
22405 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
22406
22407 * net/network-stream.el (network-stream-open-starttls):
22408 Don't re-get capabilities unless we've reestablished connection.
22409 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
22410
22411 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
22412 to binary to possibly avoid line encoding issues on Windows (among
22413 other things).
22414
22415 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
22416
22417 * net/network-stream.el (open-network-stream): Return an :error
22418 saying what the problem was, if possible.
22419
22420 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
22421 server.
22422
22423 * net/network-stream.el (network-stream-open-starttls): If we
22424 wanted to use STARTTLS, and the server offered it, but we weren't
22425 able to because we had no STARTTLS support, then close the connection.
22426 (open-network-stream): Return an :error element, if present.
22427
22428 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
22429
22430 * hl-line.el (hl-line-sticky-flag): Doc fix.
22431 (global-hl-line-sticky-flag): New option (Bug#8323).
22432 (global-hl-line-highlight): Obey it.
22433
22434 * vc/vc.el (vc-revert-show-diff): Default to t.
22435
22436 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
22437
22438 * allout-widgets.el (allout-widgets-post-command-business):
22439 Stop decorating intermediate isearch matches. They're not being
22440 undecorated when an isearch is continued past, and isearch
22441 automatically collapses them. This leads to "widget leaks", where
22442 decorated items accumulate in collapsed areas. Lines with lots of
22443 hidden widgets can slow down cursor travel, substantially.
22444 Too much complicated machinery would be needed to ensure undecoration,
22445 so we're doing without this nicety.
22446
22447 (allout-widgets-tally-string): Don't try to do a hash-table-count
22448 of allout-widgets-tally when it's nil. This eliminates spurious "Error
22449 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
22450 *Messages* when allout-widgets-maintain-tally is t.
22451
22452 2011-06-26 Martin Rudalics <rudalics@gmx.at>
22453
22454 * window.el (display-buffer-normalize-argument): Rename to
22455 display-buffer-normalize-arguments. Handle special meaning of
22456 LABEL argument. Respect special-display-function when popping up
22457 a new frame. Fix code searching for a window showing the buffer
22458 on another frame.
22459 (display-buffer-normalize-specifiers):
22460 Call display-buffer-normalize-arguments.
22461 (display-buffer-in-window): Don't undedicate the window if its
22462 buffer remains the same.
22463 Reported by Drew Adams <drew.adams@oracle.com>.
22464 (display-buffer-alist): Add choice for same-window macro
22465 specfier.
22466 (display-buffer): Mention special meaning of LABEL argument in
22467 doc-string. Fix quoting. Don't pop up a new frame even as
22468 fallback.
22469
22470 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
22471
22472 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
22473 avoid deleting the current window in some cases (bug#8911).
22474
22475 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
22476
22477 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
22478 (Bug#8934)
22479
22480 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
22481
22482 * net/network-stream.el (network-stream-open-starttls):
22483 Use built-in TLS support if `gnutls-available-p' is true.
22484 (network-stream-open-tls): Ditto.
22485
22486 2011-06-26 Leo Liu <sdl.web@gmail.com>
22487
22488 * register.el (registerv): New struct.
22489 (registerv-make): New function.
22490 (jump-to-register, describe-register-1, insert-register):
22491 Support the jump-func, print-func and insert-func slot of a registerv
22492 struct. (Bug#8415)
22493
22494 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
22495
22496 * vc/vc.el (vc-revert-show-diff): New defcustom.
22497 (vc-diff-internal): New arg specifying diff buffer.
22498 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
22499 reuse an existing *vc-diff* buffer (Bug#8927).
22500
22501 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
22502
22503 2011-06-26 Glenn Morris <rgm@gnu.org>
22504
22505 * progmodes/f90.el (f90-critical-indent): New option.
22506 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
22507 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
22508 (f90-mode): Doc fix.
22509 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
22510 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
22511 (f90-beginning-of-block, f90-next-block, f90-indent-region)
22512 (f90-match-end): Handle block, critical.
22513
22514 2011-06-25 Glenn Morris <rgm@gnu.org>
22515
22516 * calendar/diary-lib.el (diary-included-files): Doc fix.
22517 (diary-include-files): New function, extracted from
22518 diary-include-other-diary-files and diary-mark-included-diary-files.
22519 (diary-include-other-diary-files, diary-mark-included-diary-files):
22520 Just call diary-include-files.
22521 (diary-mark-entries): Reset diary-included-files on first call.
22522
22523 * calendar/diary-lib.el (diary-mark-entries)
22524 (diary-mark-included-diary-files):
22525 Visit included diary-files in temp buffers.
22526
22527 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
22528 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
22529 (f90-start-block-re, f90-imenu-generic-expression)
22530 (f90-looking-at-program-block-start, f90-no-block-limit):
22531 Add support for submodules.
22532
22533 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
22534 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
22535
22536 2011-06-25 Eli Zaretskii <eliz@gnu.org>
22537
22538 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
22539 buffer-file-type before setting its value, to avoid disastrous
22540 global effects on decoding files for DOS/Windows systems. (Bug#8780)
22541
22542 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
22543
22544 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
22545
22546 * ses.el (ses-unload-function):
22547 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
22548
22549 * proced.el (proced-unload-function):
22550 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
22551
22552 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
22553
22554 * server.el (server-create-window-system-frame): Add parameters arg.
22555 (server-process-filter): Doc fix. Handle frame-parameters.
22556
22557 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
22558
22559 Fix bug#8730, bug#8781.
22560
22561 * loadhist.el (unload--set-major-mode): New function.
22562 (unload-feature): Use it.
22563
22564 * progmodes/python.el (python-after-info-look): Add autoload cookie.
22565 (python-unload-function): New function.
22566
22567 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
22568
22569 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
22570
22571 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
22572
22573 * net/browse-url.el (browse-url-firefox-program): Add icecat to
22574 the candidates list.
22575
22576 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
22577
22578 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
22579
22580 2011-06-23 Richard Stallman <rms@gnu.org>
22581
22582 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
22583 (rmail-variables): Set next-error-move-function.
22584 (rmail-what-message): Take argument POS.
22585 (rmail-next-error-move): New function.
22586
22587 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
22588
22589 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
22590 messages for adjacent non-terminals.
22591
22592 2011-06-23 Richard Stallman <rms@gnu.org>
22593
22594 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
22595 (rmail-show-message-1): Preserve buffer modified flag.
22596 (rmail-start-mail): Don't specify use of rmail-mail-return;
22597 that's done by mail-bury now.
22598 (rmail-mail-return): Handle arg NEWBUF.
22599
22600 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
22601
22602 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
22603 SIZE is a number.
22604
22605 2011-06-23 Martin Rudalics <rudalics@gmx.at>
22606
22607 * window.el (get-lru-window, get-mru-window)
22608 (get-largest-window): Never return a minibuffer window.
22609 (display-buffer-pop-up-window): Fix a bug that could lead to
22610 reusing the minibuffer window.
22611 (display-buffer): Pass original specifier argument to
22612 display-buffer-function instead of the normalized one.
22613 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
22614
22615 2011-06-22 Leo Liu <sdl.web@gmail.com>
22616
22617 * minibuffer.el (completing-read-function)
22618 (completing-read-default): Move from minibuf.c.
22619
22620 2011-06-22 Richard Stallman <rms@gnu.org>
22621
22622 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
22623 to Rmail even if not started by a special Rmail command.
22624
22625 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
22626 Copy the buffer currently showing just one message.
22627
22628 2011-06-22 Roland Winkler <winkler@gnu.org>
22629
22630 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
22631 (bibtex-clean-entry): First delete the old key so that a
22632 customized algorithm for generating the new key does not get
22633 confused by the old key.
22634 (bibtex-url): Obey regexp of first step.
22635 (bibtex-search-entries): Do not use add-to-list with local
22636 list-var.
22637
22638 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
22639
22640 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
22641 stored a user name, then query for the password first, instead of
22642 waiting for SMTP to give an error message and the trying again.
22643
22644 2011-06-22 Lawrence Mitchell <wence@gmx.li>
22645
22646 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
22647 BUFFER in call-process.
22648
22649 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
22650
22651 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
22652 QUIT twice.
22653 (smtpmail-try-auth-methods): Require user name and password from
22654 auth-source.
22655
22656 2011-06-22 Martin Rudalics <rudalics@gmx.at>
22657
22658 * window.el (display-buffer-default-specifiers)
22659 (display-buffer-alist): Remove entries for pop-up-frame-alist.
22660 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
22661 (split-window): Normalize SIDE argument (Bug#8916).
22662
22663 * frame.el (pop-up-frame-alist, pop-up-frame-function)
22664 (special-display-frame-alist, special-display-popup-frame):
22665 Remove duplicate declarations. These are now in window.el.
22666
22667 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
22668
22669 * mail/smtpmail.el (smtpmail-via-smtp):
22670 Set :use-starttls-if-possible so that we always use STARTTLS if the
22671 server supports it. SMTP servers that support STARTTLS commonly
22672 require it.
22673
22674 * net/network-stream.el (network-stream-open-starttls): Support
22675 upgrading to STARTTLS always, even if we don't have built-in support.
22676 (open-network-stream): Add the :always-query-capabilities keyword.
22677
22678 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
22679 upgrades with `open-network-stream', and rely solely on
22680 auth-source for all credentials. Big changes throughout the file,
22681 but in particular:
22682 (smtpmail-auth-credentials): Remove.
22683 (smtpmail-starttls-credentials): Remove.
22684 (smtpmail-via-smtp): Check for servers saying they want AUTH after
22685 MAIL FROM, too.
22686
22687 * net/network-stream.el (network-stream-open-starttls):
22688 Provide support for client certificates both for external and built-in
22689 STARTTLS.
22690 (auth-source): Require.
22691 (open-network-stream): Document the :client-certificate keyword.
22692 (network-stream-certificate): Change cert-cert to cert and
22693 cert-key to key.
22694
22695 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
22696
22697 * net/tramp-cache.el (top): Don't load the persistency file when
22698 "emacs -Q" has been called.
22699
22700 2011-06-21 Tim Harper <timcharper@gmail.com>
22701
22702 * term/ns-win.el (ns-initialize-window-system):
22703 Set application-specific `ApplePressAndHoldEnabled' system
22704 resource to NO as it is not yet supported by the NS port.
22705
22706 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
22707
22708 * misc.el (list-dynamic-libraries--refresh): Compute header here...
22709 (list-dynamic-libraries): ...not here.
22710
22711 2011-06-21 Leo Liu <sdl.web@gmail.com>
22712
22713 * subr.el (sha1): Implement sha1 using secure-hash.
22714
22715 2011-06-21 Martin Rudalics <rudalics@gmx.at>
22716
22717 * window.el (display-buffer-alist): In default value do not
22718 enforce searching a window on any but the selected frame.
22719 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
22720 (display-buffer-select-window): Remove function.
22721 (display-buffer-in-window): When a window on another frame gets
22722 reused, do not select it any more but just raise its frame if
22723 necessary (Bug#8851) and (Bug#8856).
22724 (display-buffer-normalize-options): Handle pop-up-frames related
22725 options more faithfully.
22726 (pop-to-buffer): Don't rely on `display-buffer' selecting the
22727 window if it is on another frame.
22728 (display-buffer-alist, display-buffer-default-specifiers):
22729 Don't make new frame unsplittable by default.
22730 (display-buffer-normalize-argument): Fix doc-string typo and use
22731 'same-frame-other-window instead of 'other-window when associating
22732 with display-buffer-macro-specifiers.
22733
22734 2011-06-21 Vincent BelaĂ¯che <vincent.b.1@hotmail.fr>
22735
22736 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
22737 New functions.
22738 (5x5-mode-map, 5x5-mode-menu): Bind them.
22739 (5x5-draw-grid): Tweak the solver's rendering.
22740
22741 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
22742
22743 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
22744 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
22745
22746 2011-06-21 Drew Adams <drew.adams@oracle.com>
22747
22748 * menu-bar.el: Use function variable instead of switch-to-buffer.
22749 (menu-bar-select-buffer-function): New variable.
22750 (menu-bar-update-buffers): Use it (bug#8876).
22751
22752 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
22753
22754 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
22755 variable's status.
22756
22757 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
22758
22759 * x-dnd.el (x-dnd-version-from-flags)
22760 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
22761 and long as number (Bug#8899).
22762 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
22763
22764 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
22765
22766 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
22767 (completion-try-completion, completion-all-completions): Compute the
22768 metadata argument if it's missing; make it optional (bug#8795).
22769
22770 * wid-edit.el: Use lex-bind and move towards completion-at-point.
22771 (widget-complete): Use new :completion-function property.
22772 (widget-completions-at-point): New function.
22773 (default): Use :completion-function instead of :complete.
22774 (widget-default-completions): Rename from widget-default-complete;
22775 Rewrite.
22776 (widget-string-complete, widget-file-complete, widget-color-complete):
22777 Remove functions.
22778 (file, symbol, function, variable, coding-system, color):
22779 * international/mule-cmds.el (default-input-method, charset)
22780 (language-info-custom-alist):
22781 * cus-edit.el (face): Use new property :completions.
22782
22783 * progmodes/pascal.el (pascal-completions-at-point): New function.
22784 (pascal-mode): Use it.
22785 (pascal-mode-map): Use completion-at-point.
22786 (pascal-toggle-completions): Make obsolete.
22787 (pascal-complete-word, pascal-show-completions):
22788 * progmodes/octave-mod.el (octave-complete-symbol):
22789 Redefine as obsolete alias.
22790 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
22791 Signal absence of completion info for old Octave,
22792 (inferior-octave-complete): Redefine as obsolete alias.
22793 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
22794 (meta-completions-at-point): Rename from meta-complete-symbol and
22795 adapt it for use on completion-at-point-functions.
22796 (meta-common-mode): Use it.
22797 (meta-looking-at-backward, meta-match-buffer): Remove.
22798 (meta-complete-symbol): Redefine as obsolete alias.
22799 (meta-common-mode-map): Use completion-at-point.
22800 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
22801 (makefile-mode-map): Use completion-at-point.
22802 (makefile-completions-at-point): Rename from makefile-complete and
22803 adapt it for use on completion-at-point-functions.
22804 (makefile-mode): Use it.
22805 (makefile-complete): Redefine as obsolete alias.
22806
22807 2011-06-20 Deniz Dogan <deniz@dogan.se>
22808
22809 * net/rcirc.el: Delete trailing whitespaces once and for all.
22810
22811 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
22812
22813 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
22814
22815 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
22816
22817 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
22818
22819 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
22820
22821 2011-06-19 Martin Rudalics <rudalics@gmx.at>
22822
22823 * window.el (display-buffer-other-window-means-other-frame):
22824 Call display-buffer-normalize-alist.
22825 (display-buffer-normalize-specifiers-1): Rename to
22826 display-buffer-normalize-argument. New argument other-frame.
22827 Rewrite.
22828 (display-buffer-normalize-specifiers-2): Rename to
22829 display-buffer-normalize-options.
22830 (display-buffer-normalize-alist-1): New function.
22831 (display-buffer-normalize-specifiers-3): Rename to
22832 display-buffer-normalize-alist.
22833 Call display-buffer-normalize-alist-1.
22834 (display-buffer-normalize-options-inhibit): New variable.
22835 (display-buffer-normalize-specifiers): Rewrite calling
22836 display-buffer-normalize-alist,
22837 display-buffer-normalize-argument, and
22838 display-buffer-normalize-options. Don't call the latter if
22839 display-buffer-normalize-options-inhibit is non-nil.
22840 (frame-auto-delete): New option.
22841 (window-deletable-p): Use frame-auto-delete.
22842 (window-list-no-nils, window-state-ignored-parameters)
22843 (window-state-get-1, window-state-get, window-state-put-list)
22844 (window-state-put-1, window-state-put-2, window-state-put):
22845 New functions.
22846 (display-buffer-normalize-options): Move special-display-p group
22847 after pop-up-frame group (Bug#8851) and (Bug#8856).
22848
22849 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
22850
22851 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
22852 groups (Bug#8776).
22853 (rx-submatch-n): New function.
22854 (rx): Document it.
22855
22856 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
22857 (Bug#8768).
22858
22859 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
22860
22861 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
22862
22863 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
22864 anytime existing face settings are present (Bug#8889).
22865
22866 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
22867 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
22868 Remove unused argument.
22869
22870 2011-06-18 Martin Rudalics <rudalics@gmx.at>
22871
22872 * window.el (display-buffer-default-specifiers):
22873 Remove pop-up-frame. Add pop-up-window-min-height,
22874 pop-up-window-min-width, and another reuse-window specifier
22875 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
22876 (display-buffer-normalize-specifiers-2):
22877 Handle split-height-threshold and split-width-threshold also when
22878 pop-up-windows is unset. Add a reuse-window specifier for the
22879 case popping up a new window fails.
22880 (special-display-popup-frame): Remove double quoting.
22881 (display-buffer-normalize-specifiers-1): Fix thinko.
22882
22883 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
22884
22885 * shell.el (shell-completion-vars): Set pcomplete-termination-string
22886 according to comint-completion-addsuffix.
22887
22888 * pcomplete.el: Convert to lexical binding and fix bug#8819.
22889 (pcomplete-suffix-list): Mark as obsolete.
22890 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
22891 pcomplete-seen in the closure.
22892 (pcomplete-comint-setup): Setup completion-at-point as well.
22893 (pcomplete--entries): New function.
22894 (pcomplete--env-regexp): New var.
22895 (pcomplete-entries): Rewrite to work with partial-completion and
22896 without relying on pcomplete-suffix-list.
22897 (pcomplete-pare-list): Remove, unused.
22898
22899 2011-06-17 Martin Rudalics <rudalics@gmx.at>
22900
22901 * window.el (display-buffer-alist): Set pop-up-window-min-height
22902 and pop-up-window-min-width in default value. Reported by
22903 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
22904 other-window-means-other-frame.
22905 (display-buffer-macro-specifiers): Comment out entry for
22906 other-window specifier.
22907 (display-buffer-other-window-means-other-frame): New function.
22908 (display-buffer-normalize-specifiers-1): New arguments
22909 buffer-name and label. Treat other-window case specially.
22910 (display-buffer-normalize-specifiers-2): Treat other-window case
22911 specially.
22912 (display-buffer-normalize-specifiers-3): New function.
22913 (display-buffer-normalize-specifiers):
22914 Call display-buffer-normalize-specifiers-3.
22915
22916 2011-06-17 Martin Rudalics <rudalics@gmx.at>
22917
22918 * window.el (same-window-p): Fix two typos introduced when
22919 adding with-no-warnings.
22920 (display-buffer-normalize-specifiers-1): Don't check
22921 pop-up-frames for 'unset initialization.
22922 (display-buffer-normalize-specifiers-2): Major rewrite using
22923 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
22924 (pop-up-frames, display-buffer-reuse-frames)
22925 (display-buffer-mark-dedicated): Don't initialize to 'unset.
22926 Suggested by David Engster <deng@randomsample.de>.
22927 (even-window-heights): Initialize to 'unset.
22928 (display-buffer-alist-set): Handle new 'unset initializations.
22929 (display-buffer-macro-specifiers): Don't pop up a new frame in the
22930 other window case.
22931
22932 2011-06-16 Martin Rudalics <rudalics@gmx.at>
22933
22934 * window.el (display-buffer-normalize-specifiers-1):
22935 Respect current value of pop-up-frames for most reasonable values of
22936 second argument of display-buffer (Bug#8865).
22937 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
22938 (switch-to-buffer-other-window-same-frame)
22939 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
22940 Adams (Bug#8875).
22941 (display-buffer): Don't check noninteractive when calling
22942 display-buffer-pop-up-frame.
22943 (display-buffer-pop-up-frame): Never pop up a frame in
22944 noninteractive mode (Bug#8857).
22945 (enlarge-window, shrink-window): Don't report an error when the
22946 window can't be resized as requested (Bug#8862).
22947
22948 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
22949
22950 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
22951
22952 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
22953
22954 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
22955
22956 2011-06-15 Alan Mackenzie <acm@muc.de>
22957
22958 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
22959 for declarators, disable knr checking to speed up for normal files.
22960 2: Refactor, replacing a sequence of nested if forms by a cond form.
22961
22962 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
22963
22964 * net/network-stream.el (open-network-stream): Add the keyword
22965 :always-query-capabilities for the case where you want to force a
22966 `plain' network connection, but the protocol still requires the
22967 capabilitiy command (i.e., SMTP and EHLO).
22968
22969 * subr.el (process-live-p): Rename from `process-alive-p' for
22970 consistency with other `-live-p' functions.
22971
22972 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
22973
22974 * window.el (same-window-buffer-names, same-window-regexps)
22975 (special-display-frame-alist, special-display-popup-frame)
22976 (special-display-function, special-display-buffer-names)
22977 (special-display-regexps, pop-up-frame-alist)
22978 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
22979 (pop-up-windows, split-window-preferred-function)
22980 (split-height-threshold, split-width-threshold, even-window-heights)
22981 (display-buffer-mark-dedicated): Don't encourage the use of
22982 display-buffer-alist from Elisp code.
22983
22984 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
22985
22986 * progmodes/python.el (python-mode): Derive from prog-mode.
22987 * progmodes/ps-mode.el (ps-mode):
22988 * progmodes/mixal-mode.el (mixal-mode):
22989 * progmodes/cfengine.el (cfengine-mode):
22990 * progmodes/ld-script.el (ld-script-mode): Likewise.
22991
22992 2011-06-15 Martin Rudalics <rudalics@gmx.at>
22993
22994 * window.el (display-buffer-alist): Trim default value to avoid
22995 popping up a new frame (Bug#8857) or reusing an arbitrary window
22996 on another frame.
22997 (display-buffer): Do not fall back on popping up a new frame in
22998 batch mode (Bug#8857).
22999
23000 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
23001
23002 * cus-theme.el (describe-theme-1): Use custom-theme-p.
23003 (custom-theme-summary): New function.
23004 (customize-themes): Use it.
23005
23006 2011-06-13 Glenn Morris <rgm@gnu.org>
23007
23008 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
23009
23010 2011-06-13 Martin Rudalics <rudalics@gmx.at>
23011
23012 * help.el (help-window): Remove variable.
23013 (help-window-point-marker, temp-buffer-max-height)
23014 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
23015 (help-print-return-message): Don't set help-window.
23016 (resize-temp-buffer-window): Rewrite cod eand doc-string.
23017 (help-window-setup-finish): Remove.
23018 (help-window-display-message, help-window-setup)
23019 (with-help-window): Major rewrite based on new
23020 display-buffer-window variable.
23021
23022 * help-mode.el (help-mode-finish): Remove help-window related
23023 code.
23024
23025 * view.el (view-exits-all-viewing-windows): Remove reference to
23026 view-return-to-alist in doc-string.
23027 (view-return-to-alist): Make obsolete.
23028 (view-buffer): Call pop-to-buffer-same-window and remove
23029 undo-window code.
23030 (view-buffer-other-window): Call pop-to-buffer-other-window and
23031 simplify code. Ignore second argument.
23032 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
23033 simplify code. Ignore second argument.
23034 (view-return-to-alist-update): Make obsolete.
23035 (view-mode-enter): Rename second argument to QUIT-RESTORE.
23036 Rewrite using quit-restore window parameters.
23037 (view-mode-exit): Rename second argument to EXIT-ONLY.
23038 Rewrite using quit-restore-window.
23039 (View-exit, View-exit-and-edit, View-leave, View-quit)
23040 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
23041 appropriate arguments.
23042 (view-end-message): Use quit-restore window parameter.
23043
23044 * window.el (display-buffer-function): Rewrite doc-string.
23045 (display-buffer-window, display-buffer-alist): New variables.
23046 (display-buffer-split-specifiers)
23047 (display-buffer-side-specifiers)
23048 (display-buffer-macro-specifiers): New constants.
23049 (display-buffer-even-window-sizes, display-buffer-set-height)
23050 (display-buffer-set-width, display-buffer-select-window)
23051 (display-buffer-in-window, display-buffer-reuse-window)
23052 (display-buffer-split-window-1, display-buffer-split-window)
23053 (display-buffer-split-atom-window, display-buffer-pop-up-window)
23054 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
23055 (display-buffer-in-side-window, normalize-buffer-to-display)
23056 (display-buffer-normalize-specifiers-1)
23057 (display-buffer-normalize-specifiers-2)
23058 (display-buffer-normalize-specifiers, display-buffer-frame):
23059 New functions.
23060 (display-buffer): Major rewrite.
23061 (display-buffer-other-window, display-buffer-other-frame)
23062 (pop-to-buffer, switch-to-buffer-other-window)
23063 (switch-to-buffer-other-frame): Rewrite.
23064 (display-buffer-same-window, display-buffer-same-frame)
23065 (display-buffer-same-frame-other-window)
23066 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
23067 (pop-to-buffer-other-window)
23068 (pop-to-buffer-same-frame-other-window)
23069 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
23070 (switch-to-buffer-other-window-same-frame): New functions.
23071 (same-window-p, special-display-p): Rewrite disabling warnings.
23072 Make obsolete.
23073 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
23074 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
23075 Make obsolete
23076 (same-window-buffer-names, same-window-regexps)
23077 (special-display-frame-alist, special-display-popup-frame)
23078 (special-display-function, special-display-buffer-names)
23079 (special-display-regexps, pop-up-frame-alist)
23080 (pop-up-frame-function, split-window-preferred-function)
23081 (split-height-threshold, split-width-threshold)
23082 (even-window-heights): Make obsolete.
23083
23084 2011-06-12 Glenn Morris <rgm@gnu.org>
23085
23086 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
23087 Misc simplifications.
23088
23089 2011-06-12 Martin Rudalics <rudalics@gmx.at>
23090
23091 * window.el (window-safely-shrinkable-p): Restore function which
23092 was inadvertently removed in change from 2011-06-11. Declare as
23093 obsolete.
23094
23095 * calendar/calendar.el (calendar-generate-window):
23096 Use window-iso-combined-p instead of combination of one-window-p and
23097 window-safely-shrinkable-p.
23098
23099 2011-06-12 Glenn Morris <rgm@gnu.org>
23100
23101 * progmodes/fortran.el (fortran-mode-syntax-table):
23102 * progmodes/f90.el (f90-mode-syntax-table):
23103 Set % to punctuation. (Bug#8820)
23104 (f90-find-tag-default): Remove, no longer needed.
23105
23106 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
23107
23108 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
23109
23110 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
23111
23112 * image.el (image-animated-p): Return animation delay in seconds.
23113 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
23114 (image-animate-timeout): Remove DELAY argument. Don't assume
23115 every subimage has the same delay; get it from image-animated-p.
23116 (image-animate): Caller changed.
23117
23118 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
23119
23120 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
23121 to ignored backtrace functions.
23122
23123 2011-06-11 Glenn Morris <rgm@gnu.org>
23124
23125 * calendar/appt.el (appt-disp-window-function): Doc fix.
23126 (appt-check): Handle overlapping appointments. (Bug#8337)
23127
23128 2011-06-11 Martin Rudalics <rudalics@gmx.at>
23129
23130 * window.el (window-tree-1, window-tree): New functions, moving
23131 the latter to window.el.
23132 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
23133 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
23134 (bw-refresh-edges): Remove.
23135 (balance-windows-1, balance-windows-2): New functions.
23136 (balance-windows): Rewrite in terms of window tree functions,
23137 balance-windows-1 and balance-windows-2.
23138 (bw-adjust-window): Remove.
23139 (balance-windows-area-adjust): New function with functionality of
23140 bw-adjust-window but using resize-window.
23141 (set-window-text-height): Rewrite doc-string.
23142 Use normalize-live-window and resize-window.
23143 (enlarge-window-horizontally, shrink-window-horizontally):
23144 Rename argument to DELTA.
23145 (window-buffer-height): New function.
23146 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
23147 Rewrite using new window resize routines.
23148 (kill-buffer-and-window, mouse-autoselect-window-select):
23149 Use ignore-errors instead of condition-case.
23150 (quit-window): Call delete-frame instead of delete-windows-on
23151 for the only buffer on frame.
23152
23153 2011-06-10 Martin Rudalics <rudalics@gmx.at>
23154
23155 * loadup.el (top-level): Load window before files for the sake
23156 of replace-buffer-in-windows.
23157
23158 * files.el (read-buffer-to-switch)
23159 (switch-to-buffer-other-window)
23160 (switch-to-buffer-other-frame, display-buffer-other-frame):
23161 Move to window.el.
23162
23163 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
23164 (previous-buffer): Move to window.el.
23165
23166 * bindings.el (unbury-buffer): Move to window.el.
23167
23168 * window.el (delete-other-windows-vertically): Move after
23169 definition of delete-other-windows.
23170 (other-window, delete-windows-on, replace-buffer-in-windows):
23171 Move here from window.c.
23172 (record-window-buffer, unrecord-window-buffer)
23173 (set-window-buffer-start-and-point, switch-to-prev-buffer)
23174 (switch-to-next-buffer): New functions.
23175 (get-next-valid-buffer, last-buffer, next-buffer): Move here
23176 from simple.el. Call switch-to-next-buffer.
23177 (previous-buffer): Move here from simple.el.
23178 Call switch-to-prev-buffer.
23179 (bury-buffer): Move here from buffer.c. Switch to previous
23180 buffer when window cannot be deleted.
23181 (unbury-buffer): Move here from bindings.el.
23182 (ctl-x-map): Move binding for other-window from window.c to
23183 here.
23184 (read-buffer-to-switch, switch-to-buffer-other-window)
23185 (switch-to-buffer-other-frame): Move here from files.el.
23186 (normalize-buffer-to-switch-to): New functions.
23187 (switch-to-buffer): Move here from buffer.c.
23188 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
23189
23190 2011-06-10 Martin Rudalics <rudalics@gmx.at>
23191
23192 * window.el (window-min-height, window-min-width): Move here
23193 from window.c. Add defcustoms and rewrite doc-strings.
23194 (resize-mini-window, resize-window): New functions.
23195 (adjust-window-trailing-edge, enlarge-window, shrink-window):
23196 Move here from window.c.
23197 (maximize-window, minimize-window): New functions.
23198 (delete-window, delete-other-windows, split-window): Move here
23199 from window.c.
23200 (window-split-min-size): New function.
23201 (split-window-keep-point): Mention split-window-above-each-other
23202 instead of split-window-vertically.
23203 (split-window-above-each-other, split-window-vertically):
23204 Rename split-window-vertically to split-window-above-each-other
23205 and provide defalias for old definition.
23206 (split-window-side-by-side, split-window-horizontally):
23207 Rename split-window-horizontally to split-window-side-by-side
23208 and provide defalias for the old definition.
23209 (ctl-x-map): Move bindings for delete-window,
23210 delete-other-windows and enlarge-window here from window.c.
23211 Replace bindings for split-window-vertically and
23212 split-window-horizontally by bindings for
23213 split-window-above-each-other and split-window-side-by-side.
23214
23215 * cus-start.el (all): Remove entries for window-min-height and
23216 window-min-width. Add entries for window-splits and
23217 window-nest.
23218
23219 2011-06-09 Glenn Morris <rgm@gnu.org>
23220
23221 * calendar/appt.el (appt-mode-line): New function.
23222 (appt-check, appt-disp-window): Use it.
23223
23224 * files.el (hack-one-local-variable-eval-safep):
23225 Allow minor-modes with explicit +/-1 arguments.
23226
23227 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
23228
23229 * term/xterm.el (xterm): Add defgroup.
23230 (xterm-extra-capabilities): Add defcustom to supply known xterm
23231 capabilities, skip querying them, or query them (default).
23232 (terminal-init-xterm): Use it.
23233 (terminal-init-xterm-modify-other-keys): New function to set up
23234 modifyOtherKeys support to simplify `terminal-init-xterm'.
23235
23236 2011-06-09 Martin Rudalics <rudalics@gmx.at>
23237
23238 * window.el (resize-window-reset, resize-window-reset-1)
23239 (resize-subwindows-skip-p, resize-subwindows-normal)
23240 (resize-subwindows, resize-other-windows, resize-this-window)
23241 (resize-root-window, resize-root-window-vertically)
23242 (window-deletable-p, window-or-subwindow-p)
23243 (frame-root-window-p): New functions.
23244
23245 2011-06-09 Glenn Morris <rgm@gnu.org>
23246
23247 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
23248 (ange-ftp-get-files): Use it.
23249
23250 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
23251
23252 * mail/sendmail.el (mail-recover-1, mail-recover):
23253 * files.el (recover-file, recover-session):
23254 Handle dired-listing-switches not being just a single short option.
23255
23256 2011-06-09 Glenn Morris <rgm@gnu.org>
23257
23258 * calendar/appt.el (appt-display-message, appt-disp-window):
23259 Handle lists of appointments.
23260
23261 2011-06-08 Martin Rudalics <rudalics@gmx.at>
23262
23263 * window.el (one-window-p): Move down in code.
23264 Rewrite doc-string.
23265 (window-current-scroll-bars): Rewrite doc-string.
23266 Normalize live window argument.
23267 (walk-windows, get-window-with-predicate, count-windows):
23268 Rewrite doc-string. Use window-list-1.
23269 (window-in-direction-2, window-in-direction, get-mru-window):
23270 New functions.
23271
23272 2011-06-08 Reuben Thomas <rrt@sc3d.org>
23273
23274 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
23275 Doc fix (Bug#8713).
23276
23277 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
23278
23279 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
23280
23281 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
23282
23283 * loadhist.el (unload-feature-special-hooks):
23284 Add `comint-output-filter-functions'.
23285
23286 2011-06-08 Ivan Kanis <gnu@kanis.fr>
23287
23288 * calendar/appt.el (appt-check): Move some initializations into the let.
23289
23290 2011-06-08 Martin Rudalics <rudalics@gmx.at>
23291
23292 * window.el (window-height): Defalias to window-total-height.
23293 (window-width): Defalias to window-body-width.
23294
23295 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
23296
23297 * image-mode.el (image-toggle-animation): New command.
23298 (image-mode-map): Bind it to RET.
23299 (image-mode): Update message.
23300 (image-toggle-display-image): Avoid a spurious cache flush.
23301 (image-transform-rotation): Doc fix.
23302 (image-transform-properties): Return quickly in the normal case.
23303 (image-animate-loop): Rename from image-animate-max-time.
23304
23305 * image.el (image-animate-max-time): Move to image-mode.el.
23306 (create-animated-image): Remove unnecessary function.
23307 (image-animate): Rename from image-animate-start. New arg.
23308 (image-animate-stop): Remove; just use image-animate-timer.
23309 (image-animate-timer): Use car-safe.
23310 (image-animate-timeout): Rename argument.
23311
23312 2011-06-07 Martin Rudalics <rudalics@gmx.at>
23313
23314 * window.el (get-lru-window, get-largest-window): Move here from
23315 window.c. Rename first argument to ALL-FRAMES.
23316 Rephrase doc-strings.
23317 (get-buffer-window-list): Rewrite using window-list-1.
23318 Rephrase doc-string.
23319 (window-safe-min-height, window-safe-min-width): New constants.
23320 (window-size-ignore, window-min-size, window-min-size-1)
23321 (window-sizable, window-sizable-p, window-size-fixed-1)
23322 (window-size-fixed-p, window-min-delta-1, window-min-delta)
23323 (window-max-delta-1, window-max-delta, window-resizable)
23324 (window-resizable-p, window-total-height, window-total-width)
23325 (window-body-width): New functions.
23326 (window-full-height-p, window-full-width-p): Rewrite using
23327 window-total-size.
23328 (window-body-height): Rewrite using window-body-size.
23329
23330 2011-06-06 Martin Rudalics <rudalics@gmx.at>
23331
23332 * window.el (window-right, window-left, window-child)
23333 (window-child-count, window-last-child, window-any-p)
23334 (normalize-live-buffer, normalize-live-frame)
23335 (normalize-any-window, normalize-live-window)
23336 (window-iso-combination-p, window-iso-combined-p)
23337 (window-iso-combinations)
23338 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
23339 (windows-with-parameter, window-with-parameter)
23340 (window-atom-root, make-window-atom, window-atom-check-1)
23341 (window-atom-check, window-side-check, window-check):
23342 New functions.
23343 (ignore-window-parameters, window-sides, window-sides-vertical)
23344 (window-sides-slots): New variables.
23345 (window-size-fixed): Move down in code. Minor doc-string fix.
23346
23347 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
23348
23349 * comint.el (comint-dynamic-complete-as-filename)
23350 (comint-dynamic-complete-filename): Correctly call
23351 completion-in-region.
23352
23353 2011-06-05 Deniz Dogan <deniz@dogan.se>
23354
23355 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
23356 in last change.
23357
23358 2011-06-05 Deniz Dogan <deniz@dogan.se>
23359
23360 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
23361 (rcirc): Use it to prompt for encryption.
23362
23363 2011-06-05 Roland Winkler <winkler@gnu.org>
23364
23365 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
23366 (bibtex-search-entries): New command bound to C-c C-a.
23367 (bibtex-display-entries): New function.
23368
23369 2011-06-05 Roland Winkler <winkler@gnu.org>
23370
23371 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
23372 (bibtex-insert-kill): After yanking insert newline if necessary.
23373 (bibtex-initialize): Call bibtex-string-files-init only once.
23374 (bibtex-mode): Do not call easy-menu-add.
23375 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
23376 (bibtex-yank): Set arg properly if nil.
23377
23378 2011-06-05 Roland Winkler <winkler@gnu.org>
23379
23380 * textmodes/bibtex.el (bibtex-search-entry-globally):
23381 New variable.
23382 (bibtex-search-entry): Use it.
23383
23384 2011-06-05 Roland Winkler <winkler@gnu.org>
23385
23386 * textmodes/bibtex.el (bibtex-entry-format): New option
23387 sort-fields.
23388 (bibtex-format-entry, bibtex-reformat): Honor this option.
23389 (bibtex-parse-entry): Return fields in proper order.
23390
23391 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
23392
23393 * doc-view.el (doc-view-remove-if): Move computation of result out
23394 of `dolist' to silence misleading lexical-binding warning.
23395
23396 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
23397
23398 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
23399 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
23400
23401 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
23402
23403 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
23404 "SunOS 5.10".
23405
23406 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
23407
23408 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
23409 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
23410 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
23411 (tramp-parse-putty):
23412 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
23413 (tramp-completion-function-alist-ssh)
23414 (tramp-completion-function-alist-telnet)
23415 (tramp-completion-function-alist-su)
23416 (tramp-completion-function-alist-putty): Set `tramp-autoload'
23417 cookie.
23418
23419 * net/tramp-ftp.el:
23420 * net/tramp-sh.el:
23421 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
23422 load "tramp.el" `tramp-set-completion-function'.
23423
23424 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
23425
23426 * shell.el: Require and use pcomplete.
23427 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
23428 (shell-completion-vars): Set pcomplete-default-completion-function.
23429
23430 2011-06-04 Deniz Dogan <deniz@dogan.se>
23431
23432 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
23433 `memq' (Bug#8799).
23434
23435 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
23436
23437 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
23438
23439 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
23440
23441 * bs.el (bs--mark-unmark, bs--nth-wrapper):
23442 * mpc.el (mpc-select-extend, mpc-songpointer-context):
23443 * vc/log-view.el (log-view-beginning-of-defun):
23444 * vc/smerge-mode.el (smerge-apply-resolution-patch)
23445 (smerge-refine-forward, smerge-refine-chopup-region):
23446 Silence warning for unused `dotimes' counter variables.
23447
23448 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
23449
23450 * net/tramp.el (tramp-with-progress-reporter): Rename from
23451 with-progress-reporter. Use `declare'.
23452 * net/tramp-smb.el:
23453 * net/tramp-sh.el:
23454 * net/tramp-gvfs.el: Update all uses.
23455
23456 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
23457
23458 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
23459 buffer isn't killed before making it current.
23460
23461 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
23462
23463 Silence various byte-compiler warnings.
23464 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
23465 `access-type' and new obsolescence format.
23466 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
23467 new format.
23468 (byte-compile-check-variable): New `access-type' argument.
23469 Only warn if the access-type is obsolete.
23470 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
23471 (byte-compile-variable-set): Adjust callers.
23472 * help-fns.el (describe-variable): Adjust to new obsolescence format.
23473 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
23474 setting it as obsolete.
23475 * simple.el (minibuffer-completing-symbol):
23476 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
23477 access as obsolete.
23478 * minibuffer.el (minibuffer-completing-file-name): Don't make it
23479 obsolete yet.
23480 * international/quail.el (quail-mouse-choose-completion): Remove unused
23481 code referring to obsolete var.
23482 (quail-choose-completion-string): Remove.
23483 * server.el (server-clients-with, server-kill-buffer-query-function)
23484 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
23485 * proced.el (proced-send-signal):
23486 * emacs-lisp/lisp.el (lisp-complete-symbol):
23487 Replace completion-annotate-function with completion-extra-properties.
23488
23489 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
23490
23491 * simple.el (goto-line): Use read-number.
23492 (overriding-map-is-bound): Remove.
23493 (saved-overriding-map): Change default.
23494 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
23495 Take the map as argument.
23496 (universal-argument, negative-argument, digit-argument): Use it.
23497 (restore-overriding-map): Adjust.
23498 (do-auto-fill): Use fill-forward-paragraph.
23499 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
23500
23501 * minibuffer.el (minibuffer-inactive-mode-map): New var.
23502 (minibuffer-inactive-mode): New major mode.
23503 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
23504 the *Messages* buffer" hack.
23505 (mouse-popup-menubar): Don't burp if the event is a normal key.
23506
23507 Miscellaneous tweaks.
23508 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
23509 lexical scoping as in subr.el's dolist and dotimes.
23510 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
23511 Silence compiler warning.
23512 * thingatpt.el (forward-whitespace): Trivial coding style fix.
23513 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
23514 * international/ccl.el (ccl-compile): Trivial simplification.
23515 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
23516 * emacs-lisp/testcover.el (testcover-end): Remove spurious
23517 `printflag' argument.
23518 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
23519 Purecopy the whole obsolescence data.
23520
23521 2011-06-01 Leo Liu <sdl.web@gmail.com>
23522
23523 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
23524 improve doc-string as suggested by Marco Pessotto
23525 <melmothx@gmail.com>.
23526 (rcirc-print): Fix last change.
23527
23528 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
23529
23530 * minibuffer.el (complete-with-action): Return nil for the metadata and
23531 boundaries of non-functional tables.
23532 (completion-table-dynamic): Return nil for the metadata.
23533 (completion-table-with-terminator): Add default case, using
23534 complete-with-action.
23535 (completion--metadata): New function.
23536 (completion-all-sorted-completions, minibuffer-completion-help): Use it
23537 to try and avoid pathological performance problems.
23538 (completion--embedded-envvar-table): Return `category' metadata.
23539
23540 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
23541
23542 * subr.el (process-alive-p): New tiny convenience function.
23543
23544 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
23545
23546 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
23547 content but also its previous major mode.
23548
23549 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
23550
23551 * emacs-lisp/debug.el (debug): Restore the previous content of the
23552 *Backtrace* buffer when we exit with C-M-c.
23553
23554 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
23555
23556 * minibuffer.el: Add metadata method to completion tables.
23557 (completion-category-overrides): New defcustom.
23558 (completion-metadata, completion--field-metadata)
23559 (completion-metadata-get, completion--styles)
23560 (completion--cycle-threshold): New functions.
23561 (completion-try-completion, completion-all-completions):
23562 Add `metadata' argument to choose completion-styles.
23563 (completion--do-completion): Use metadata to choose cycling.
23564 (completion-all-sorted-completions): Use metadata for sorting.
23565 Remove :completion-cycle-penalty which is not needed any more.
23566 (completion--try-word-completion): Add `metadata' argument.
23567 (minibuffer-completion-help): Check metadata for annotation function
23568 and sorting.
23569 (completion-file-name-table): Return `category' metadata.
23570 (minibuffer-completing-file-name): Make obsolete.
23571 * simple.el (minibuffer-completing-symbol): Make obsolete.
23572 * icomplete.el (icomplete-completions): Pass new `metadata' param to
23573 completion-try-completion.
23574
23575 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
23576
23577 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
23578
23579 2011-05-30 Leo Liu <sdl.web@gmail.com>
23580
23581 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
23582 (rcirc-print): Decode all incoming messages (bug#8744).
23583 (rcirc-decode-coding-system): Allow value nil for automatic coding
23584 system detection.
23585
23586 2011-06-01 Glenn Morris <rgm@gnu.org>
23587
23588 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
23589
23590 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
23591
23592 * image.el (image-animate-max-time): Allow nil and t values.
23593 Default to nil.
23594 (create-animated-image): Doc fix.
23595 (image-animate-start): Remove second arg; just use
23596 image-animate-max-time.
23597 (image-animate-timeout): Doc fix. Args changed.
23598
23599 * image-mode.el (image-toggle-display-image): Ensure that the
23600 image spec passed to the animate timer is the same object as in
23601 the buffer's display property (Bug#6981).
23602 (image-transform-properties): Doc fix.
23603
23604 * image.el (image-animate-max-time): Default to nil.
23605
23606 2011-05-29 Martin Rudalics <rudalics@gmx.at>
23607
23608 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
23609 entire buffer list (Bug#8184).
23610
23611 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
23612
23613 * image.el (imagemagick-types-inhibit)
23614 (imagemagick-register-types): Doc fix.
23615
23616 2011-05-29 Deniz Dogan <deniz@dogan.se>
23617
23618 * net/rcirc.el (rcirc): Use the user's stored encryption method by
23619 default.
23620
23621 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
23622
23623 * select.el: Don't perform clipboard-manager saving in hooks;
23624 leave the hooks empty.
23625
23626 2011-05-28 Leo Liu <sdl.web@gmail.com>
23627
23628 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
23629 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
23630 (occur-edit-mode): New major mode (Bug#8463).
23631 (occur-after-change-function): New function.
23632 (occur-engine): Give Occur tags a read-only property.
23633
23634 2011-05-28 Kevin Ryde <user42@zip.com.au>
23635
23636 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
23637
23638 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
23639
23640 * bindings.el (help-echo): Make the initial non-indicator dash
23641 empty on graphical terminals (Bug#7295).
23642
23643 * files.el (auto-mode-alist): Move config rule after the
23644 in-stripping one (Bug#8547).
23645
23646 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
23647
23648 * startup.el (normal-splash-screen): Remove gratuitous mode-line
23649 setting (Bug#8740).
23650
23651 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
23652
23653 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
23654 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
23655 (Bug#8539).
23656
23657 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
23658
23659 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
23660
23661 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
23662
23663 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
23664 (hs-hide-block-at-point, hs-find-block-beginning)
23665 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
23666 (Bug#8279).
23667
23668 2011-05-28 Glenn Morris <rgm@gnu.org>
23669
23670 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
23671
23672 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
23673
23674 * help-fns.el (describe-function-1): If the function is a derived
23675 major mode, print the parent mode.
23676
23677 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
23678 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
23679
23680 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
23681
23682 * minibuffer.el (completion--capf-wrapper): Check applicability before
23683 returning non-nil for non-exclusive completion data.
23684 * progmodes/etags.el (tags-completion-at-point-function):
23685 * info-look.el (info-lookup-completions-at-point): Mark as
23686 non-exclusive.
23687 (info-complete): Adjust accordingly.
23688
23689 * info-look.el: Convert to lexical-binding and completion-at-point.
23690 (info-lookup-completions-at-point): New function.
23691 (info-complete): Use it and completion-in-region.
23692
23693 2011-05-28 Drew Adams <drew.adams@oracle.com>
23694
23695 * isearch.el: Let M-e start with point at the first mismatched char.
23696 (isearch-fail-pos): New function.
23697 (isearch-edit-string): Use it.
23698
23699 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
23700
23701 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
23702
23703 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
23704
23705 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
23706 traversal functions for avl-trees.
23707 (avl-tree--stack): New struct.
23708 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
23709 (avl-tree-enter): Add optional `updatefun' arg.
23710 (avl-tree--do-enter): Add optional `updatefun' arg.
23711 Change return value.
23712 (avl-tree-delete): Add optional `test' and `nilflag' args.
23713 (avl-tree--do-delete): Add `test' and `nilflag' args.
23714 Change return value.
23715 (avl-tree-member): Add optional `nilflag'
23716 (avl-tree-member-p): New function.
23717 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
23718 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
23719 (avl-tree-stack-empty-p): New functions.
23720
23721 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
23722 avl-tree--del-balance1 and make it work both ways.
23723 (avl-tree--del-balance2): Remove.
23724 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
23725 make it work both ways.
23726 (avl-tree--enter-balance2): Remove.
23727 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
23728 New macros.
23729 (avl-tree--mapc, avl-tree-map): Add direction argument.
23730
23731 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
23732
23733 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
23734
23735 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
23736
23737 * select.el: Support clipboard managers with built-in function
23738 x-clipboard-manager-save, via delete-frame-functions and
23739 kill-emacs-hook.
23740 (xselect-convert-to-targets): Add MULTIPLE target to list.
23741 (xselect-convert-to-save-targets): New function.
23742
23743 2011-05-27 Kenichi Handa <handa@m17n.org>
23744
23745 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
23746 let-binding rfc2047-encode-encoded-words to nil.
23747
23748 2011-05-27 Glenn Morris <rgm@gnu.org>
23749
23750 * mail/emacsbug.el: Don't require url-util.
23751
23752 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
23753
23754 * files.el (set-auto-mode):
23755 Also respect mode: entries at the end of the file. (Bug#8586)
23756
23757 2011-05-26 Glenn Morris <rgm@gnu.org>
23758
23759 * files.el (hack-local-variables-prop-line, hack-local-variables):
23760 Downcase mode names, as seems to be traditional.
23761 (hack-local-variables, hack-local-variables-apply): Doc fixes.
23762
23763 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
23764 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
23765
23766 2011-05-25 Julien Danjou <julien@danjou.info>
23767
23768 * textmodes/rst.el (rst-define-level-faces): Do not define face
23769 symbol if it is already defined.
23770
23771 2011-05-24 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
23772
23773 * play/5x5.el (5x5-new-game, 5x5-randomize):
23774 Reset 5x5-solver-output to nil when a new grid is cast.
23775 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
23776 these debugging traces, as defmacro breaks the compiled code.
23777
23778 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
23779
23780 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
23781
23782 2011-05-24 Leo Liu <sdl.web@gmail.com>
23783
23784 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
23785 (vc-bzr-sha1): Adapt.
23786
23787 * sha1.el: Remove. Function `sha1' is now builtin.
23788
23789 * bindings.el: Provide sha1 feature.
23790
23791 2011-05-24 Kenichi Handa <handa@m17n.org>
23792
23793 * mail/sendmail.el: Require `rfc2047'.
23794 (mail-insert-from-field): Do not perform RFC2047 encoding.
23795 (mail-encode-header): New function.
23796 (sendmail-send-it): Set buffer-file-coding-system of the work
23797 buffer to the return value of select-message-coding-system.
23798 Call mail-encode-header.
23799
23800 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
23801
23802 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
23803
23804 * mail/supercite.el (sc-default-cite-frame):
23805 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
23806
23807 2011-05-24 Glenn Morris <rgm@gnu.org>
23808
23809 * progmodes/python.el (brm-menu): Declare.
23810
23811 * emulation/viper.el (viper-set-hooks): Declare.
23812
23813 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
23814 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
23815 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
23816 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
23817 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
23818 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
23819
23820 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
23821
23822 Add an :exit-function for completion-at-point.
23823
23824 * minibuffer.el (completion--done): New fun.
23825 (completion--do-completion): Use it. New arg `expect-exact'.
23826 (minibuffer-complete, minibuffer-complete-word): Don't output message,
23827 since completion--do-completion does it for us now.
23828 (minibuffer-force-complete): Use completion--done and
23829 completion--replace. Handle sole-completion case with more care.
23830 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
23831 (completion-extra-properties): New var.
23832 (completion-annotate-function): Make obsolete.
23833 (minibuffer-completion-help): Adjust accordingly.
23834 Use completion-list-insert-choice-function.
23835 (completion-at-point, completion-help-at-point):
23836 Bind completion-extra-properties.
23837 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
23838 * simple.el (completion-list-insert-choice-function): New var.
23839 (completion-setup-function): Preserve it.
23840 (choose-completion): Pay attention to it, shuffle the code a bit.
23841 (choose-completion-string): New arg `insert-function'.
23842
23843 * textmodes/bibtex.el: Convert to lexical binding.
23844 (bibtex-mode-map): Use completion-at-point.
23845 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
23846 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
23847 (bibtex-complete): Define as obsolete alias.
23848 (bibtex-complete-internal): Remove.
23849 (bibtex-format-entry): Remove unused sub-group in regexp.
23850 * shell.el (shell--command-completion-data)
23851 (shell-environment-variable-completion):
23852 * pcomplete.el (pcomplete-completions-at-point):
23853 * comint.el (comint--complete-file-name-data): Use :exit-function
23854 instead of completion-table-with-terminator so it also works for
23855 choose-completion.
23856
23857 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
23858
23859 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
23860
23861 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
23862 (bug#8710).
23863
23864 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
23865
23866 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
23867
23868 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
23869 customization variable and implement: If non-nil, auto-fill will
23870 be inhibited while on topic's header line.
23871
23872 2011-05-23 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
23873
23874 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
23875 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
23876 always have a solution in grid size = 5 cases.
23877 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
23878 (5x5-solver-output, 5x5-log-buffer): New vars.
23879 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
23880 Make these variables buffer local to achieve 5x5 multi-session-ness.
23881 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
23882 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
23883 (5x5-solve-suggest): New funs.
23884 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
23885 randomize a grid so that we ensure that there is always a solution.
23886 (5x5-make-random-grid): Allow other movement than flipping.
23887
23888 2011-05-23 Kevin Ryde <user42@zip.com.au>
23889
23890 * emacs-lisp/advice.el (ad-read-advised-function):
23891 Use `function-called-at-point' as the default, if it has
23892 advice and passes PREDICATE.
23893
23894 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
23895
23896 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
23897 byte-compile-lambda if it's actually a lambda.
23898
23899 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
23900 Fix function quoting. Use backquote better.
23901
23902 2011-05-22 Yuanle Song <sylecn@gmail.com>
23903
23904 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
23905 matching (Bug#8516).
23906
23907 2011-05-22 Jari Aalto <jari.aalto@cante.net>
23908
23909 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
23910 different face (Bug#8178).
23911
23912 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
23913
23914 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
23915 defface (Bug#8144).
23916
23917 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
23918
23919 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
23920 funcall as well (bug#8712). Warn when performing those conversions.
23921 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
23922
23923 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
23924
23925 2011-05-22 Glenn Morris <rgm@gnu.org>
23926
23927 * files.el (hack-local-variables-prop-line): Small simplifications.
23928 (hack-local-variables, hack-local-variables-prop-line):
23929 If MODE-ONLY, return the mode, rather than just `t'.
23930
23931 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
23932
23933 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
23934
23935 2011-05-21 Glenn Morris <rgm@gnu.org>
23936
23937 * files.el (hack-local-variables-prop-line, hack-local-variables):
23938 If only interested in the mode, don't bother doing the other stuff.
23939
23940 * image-mode.el (image-after-revert-hook):
23941 Redraw all frames on which the image is visible. (Bug#8567)
23942
23943 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
23944
23945 * wid-edit.el (widget-checklist-match-inline):
23946 Fix 2011-04-19 change. (Bug#8649)
23947
23948 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
23949
23950 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
23951 Also allow singlespace after single-letter capitals followed by a dot.
23952
23953 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
23954 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
23955
23956 2011-05-20 Nix <nix@esperi.org.uk>
23957
23958 * files.el (basic-save-buffer-2):
23959 Fix handling of break-hardlink-on-save with non-existent files.
23960
23961 2011-05-19 Deniz Dogan <deniz@dogan.se>
23962
23963 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
23964 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
23965
23966 2011-05-19 Glenn Morris <rgm@gnu.org>
23967
23968 * progmodes/f90.el (f90-type-def-re):
23969 Handle "type, bind(c)". (Bug#8691)
23970
23971 * emacs-lisp/autoload.el (batch-update-autoloads):
23972 Set autoload-excludes by parsing loadup.el rather than Makefiles.
23973
23974 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
23975
23976 * net/tramp.el (tramp-process-actions): Set "first-password-request"
23977 property for the correct connection in case of multihops.
23978
23979 2011-05-18 Glenn Morris <rgm@gnu.org>
23980
23981 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
23982 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
23983
23984 Rationalize calendar handling of day and month abbrev-arrays.
23985 * calendar/calendar.el (calendar-customized-p): New function.
23986 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
23987 (calendar-day-name-array, calendar-month-name-array): Doc fix.
23988 Add :set function.
23989 (calendar-abbrev-length, calendar-day-abbrev-array)
23990 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
23991 (calendar-day-abbrev-array, calendar-month-abbrev-array):
23992 Elements may no longer be nil.
23993 (calendar-day-name, calendar-month-name):
23994 Update for changed nature of abbrev arrays.
23995 * calendar/diary-lib.el (diary-name-pattern):
23996 Update for changed nature of abbrev arrays.
23997 (diary-mark-entries-1): Update calendar-make-alist calls.
23998 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
23999 * calendar/cal-html.el (cal-html-day-abbrev-array):
24000 Simply inherit from calendar-day-abbrev-array.
24001
24002 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
24003
24004 * progmodes/grep.el (grep-mode): Disable default
24005 compilation-directory-matcher setting (bug#8684).
24006
24007 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
24008
24009 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
24010 instead of "head" and "tail". There were problems with SunOS 5.9,
24011 and it performs better.
24012
24013 2011-05-17 Glenn Morris <rgm@gnu.org>
24014
24015 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
24016
24017 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
24018 Replace obsolete function.
24019
24020 * shell.el (pcomplete-parse-arguments-function): Declare.
24021
24022 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
24023 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
24024 (appt-check): Doc fixes.
24025 (appt-disp-window-function, appt-delete-window-function):
24026 Remove needless special case in custom :type.
24027 (appt-display-count): Default to 0, not nil.
24028 (appt-check): Reset appt-display-count to 0, not nil.
24029
24030 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
24031
24032 * progmodes/python.el (python-font-lock-keywords):
24033 Add the Python 3.X keyword "nonlocal" (bug#8639).
24034
24035 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
24036
24037 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
24038
24039 2011-05-16 Kevin Ryde <user42@zip.com.au>
24040
24041 * info-look.el (makefile-automake-mode): New setups, looking in
24042 automake manual, then makefile-mode.
24043 (makefile-mode): Remove automake manual, have it just in
24044 makefile-automake-mode since there's various things different or
24045 not relevant to plain make.
24046 (makefile-mode): Remove "other-modes" non-existent automake-mode,
24047 believe a hypothetical automake-mode would go to makefile-mode,
24048 not the other way around.
24049
24050 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
24051
24052 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
24053 hunk-end tags (Bug#8672).
24054
24055 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
24056 vc-annotate-show-diff-revision-at-line (Bug#8671).
24057
24058 2011-05-14 Glenn Morris <rgm@gnu.org>
24059
24060 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
24061 in the middle of an existing one with multiple authors. (Bug#8645)
24062 (change-log-font-lock-keywords): Also handle multiple author lines
24063 with leading tabs. (Bug#8644)
24064
24065 * calendar/appt.el (appt-check): Rename some local variables.
24066 Some simplification/reordering.
24067
24068 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
24069 (feedmail-sendmail-f-doesnt-sell-me-out)
24070 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
24071 (feedmail-debug-sit-for, feedmail-queue-express-hook)
24072 (feedmail-queue-runner-message-sender): Set :version.
24073 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
24074 (bbdb-dwim-net-address, vm-mail): Declare.
24075 (feedmail-binmail-gnulinuxish-template):
24076 Rename from feedmail-binmail-linuxish-template.
24077 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
24078 Use insert-buffer-substring.
24079
24080 2011-05-14 Bill Carpenter <bill@carpenter.org>
24081
24082 * mail/feedmail.el (feedmail-patch-level): Increase.
24083 (feedmail-debug): New custom group.
24084 (feedmail-confirm-outgoing-timeout)
24085 (feedmail-sendmail-f-doesnt-sell-me-out)
24086 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
24087 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
24088 (feedmail-sender-line, feedmail-from-line)
24089 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
24090 (feedmail-spray-this-address)
24091 (feedmail-spray-address-fiddle-plex-list)
24092 (feedmail-queue-use-send-time-for-date)
24093 (feedmail-queue-use-send-time-for-message-id)
24094 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
24095 (feedmail-buffer-eating-function):
24096 Doc fixes.
24097 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
24098 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
24099 (feedmail-message-action-scroll-down): New functions.
24100 (feedmail-queue-directory, feedmail-queue-draft-directory):
24101 Use expand-file-name.
24102 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
24103 Remove C-v help entry.
24104 (feedmail-queue-buffer-file-name): New variable.
24105 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
24106 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
24107 (feedmail-message-action-send-strong, feedmail-message-action-edit)
24108 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
24109 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
24110 (feedmail-message-action-toggle-spray)
24111 (feedmail-run-the-queue-no-prompts)
24112 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
24113 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
24114 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
24115 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
24116 (feedmail-envelope-deducer, feedmail-fiddle-from)
24117 (feedmail-fiddle-sender, feedmail-default-date-generator)
24118 (feedmail-fiddle-date, feedmail-fiddle-message-id)
24119 (feedmail-fiddle-spray-address)
24120 (feedmail-fiddle-list-of-spray-fiddle-plexes)
24121 (feedmail-fiddle-list-of-fiddle-plexes)
24122 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
24123 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
24124 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
24125 Change default. Doc fix.
24126 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
24127 (feedmail-binmail-linuxish-template): New constant.
24128 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
24129 Respect feedmail-sendmail-f-doesnt-sell-me-out.
24130 (feedmail-send-it): Add debug call.
24131 Use feedmail-queue-buffer-file-name, and
24132 feedmail-send-it-immediately-wrapper.
24133 (feedmail-message-action-send): Add debug call.
24134 Use feedmail-send-it-immediately-wrapper.
24135 (feedmail-queue-express-to-queue): Add debug call.
24136 Run feedmail-queue-express-hook.
24137 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
24138 (feedmail-message-action-help-blat):
24139 Rename from feedmail-queue-send-edit-prompt-help-first.
24140 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
24141 Check line-endings. Handle errors better.
24142 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
24143 Doc fix. Add debug call.
24144 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
24145 Use feedmail-queue-send-edit-prompt-inner.
24146 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
24147 (feedmail-queue-send-edit-prompt-inner): New function, extracted
24148 from feedmail-queue-send-edit-prompt.
24149 (feedmail-queue-send-edit-prompt-help)
24150 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
24151 (feedmail-tidy-up-slug): Add debug call.
24152 Respect feedmail-queue-slug-suspect-regexp.
24153 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
24154 (feedmail-dump-message-to-queue): Add debug call.
24155 Expand queue-directory.
24156 (feedmail-dump-message-to-queue): Change message slightly.
24157 Use feedmail-say-chatter.
24158 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
24159 (feedmail-send-it-immediately-wrapper): New function.
24160 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
24161 Insert empty string rather than newline. Handle full-frame case.
24162 Use catch/throw. Use feedmail-say-chatter.
24163 (feedmail-fiddle-from): Try mail-host-address.
24164 (feedmail-default-message-id-generator): Doc fix.
24165 Bind system-time-locale. Handle missing end.
24166 (feedmail-fiddle-x-mailer): Add debug call.
24167 Handle feedmail-x-mailer-line being nil.
24168 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
24169 Add debug call. Use buffer-substring-no-properties.
24170 (feedmail-say-debug, feedmail-say-chatter): New functions.
24171 (feedmail-find-eoh): Give an explicit error.
24172
24173 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
24174
24175 * net/newst-treeview.el (newsticker-treeview-face): Change default
24176 family from helvetica to sans.
24177 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
24178 etc/images/newsticker.
24179
24180 * net/newst-reader.el (newsticker-feed-face): Change default
24181 family from helvetica to sans.
24182
24183 * net/newst-plainview.el (newsticker-new-item-face)
24184 (newsticker-old-item-face, newsticker-immortal-item-face)
24185 (newsticker-obsolete-item-face, newsticker-date-face)
24186 (newsticker-statistics-face): Change default family from
24187 helvetica to sans.
24188 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
24189 etc/images/newsticker.
24190
24191 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
24192 (newsticker--process-auto-mark-filter-match): Tell user about
24193 auto-marking.
24194
24195 2011-05-13 Didier Verna <didier@xemacs.org>
24196
24197 Common Lisp indentation improvements on defmethod and lambda-lists.
24198 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
24199 TODO entries.
24200 (lisp-lambda-list-keyword-parameter-indentation)
24201 (lisp-lambda-list-keyword-parameter-alignment)
24202 (lisp-lambda-list-keyword-alignment): New customizable user options.
24203 (lisp-indent-defun-method): Improve docstring.
24204 (extended-loop-p): Fix comment.
24205 (lisp-indent-lambda-list-keywords-regexp): New variable.
24206 (lisp-indent-lambda-list): New function.
24207 (lisp-indent-259): Use it.
24208 (lisp-indent-defmethod): Support for more than one
24209 method qualifier and properly indent methods lambda-lists.
24210 (defgeneric): Provide a missing common-lisp-indent-function property.
24211
24212 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
24213
24214 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
24215 bounds for the empty string (bug#8667).
24216
24217 2011-05-13 Glenn Morris <rgm@gnu.org>
24218
24219 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
24220
24221 * mail/sendmail.el (sendmail-program): Try executable-find first.
24222 (sendmail-send-it): `sendmail-program' cannot be unbound.
24223
24224 * calendar/appt.el (appt-make-list): Simplify.
24225 (appt-time-msg-list): Doc fix.
24226 (appt-check): Change mode-line message at the time of the appointment.
24227
24228 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
24229
24230 * progmodes/ld-script.el (ld-script-keywords)
24231 (ld-script-builtins): Update keywords list.
24232
24233 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
24234
24235 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
24236
24237 * shell.el (shell-completion-vars): New function.
24238 (shell-mode):
24239 * simple.el (read-shell-command): Use it.
24240 (blink-matching-open): No need for " [...]" in minibuffer-message.
24241
24242 2011-05-12 Glenn Morris <rgm@gnu.org>
24243
24244 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
24245 (appt-check): Simplify.
24246
24247 2011-05-12 Eli Zaretskii <eliz@gnu.org>
24248
24249 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
24250 literal "/dev/null".
24251
24252 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
24253
24254 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
24255 Fix typo.
24256
24257 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
24258
24259 * progmodes/which-func.el (which-function):
24260 Use add-log-current-defun instead of add-log-current-defun-function,
24261 which might not be defined (Bug#8260).
24262
24263 2011-05-12 Glenn Morris <rgm@gnu.org>
24264
24265 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
24266 Let byte-compile-initial-macro-environment always take precedence.
24267
24268 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
24269
24270 * net/rcirc.el: Add support for SSL/TLS connections.
24271 (rcirc-server-alist): New field `encryption'.
24272 (rcirc): Check `encryption' settings.
24273 (rcirc-connect): New arg `encryption'. Use open-network-stream.
24274 Merge make-local-variable into `set'.
24275 (rcirc--connection-open-p): New function.
24276 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
24277 the process is not a network process (e.g. running gnutls-cli).
24278 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
24279 Make rcirc-(en|de)code-coding-system local here.
24280 (rcirc-mode): Merge make-local-variable into `set'.
24281 (rcirc-parent-buffer): Make permanent buffer-local.
24282 (rcirc-multiline-minor-mode): Don't do it here.
24283 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
24284 there's no server buffer.
24285
24286 2011-05-11 Glenn Morris <rgm@gnu.org>
24287
24288 * newcomment.el (comment-kill): Prefix "unused" local.
24289
24290 * term/w32console.el (get-screen-color): Declare.
24291
24292 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
24293 Handle symbol elements of byte-compile-initial-macro-environment.
24294
24295 2011-05-10 Leo Liu <sdl.web@gmail.com>
24296
24297 * bookmark.el (bookmark-bmenu-mode-map):
24298 Bind bookmark-bmenu-search to `/'.
24299
24300 * mail/footnote.el: Convert to utf-8 encoding.
24301 (footnote-unicode-string, footnote-unicode-regexp): New variable.
24302 (Footnote-unicode): New function.
24303 (footnote-style-alist): Add unicode style to the list.
24304 (footnote-style): Doc fix.
24305
24306 2011-05-10 Jim Meyering <meyering@redhat.com>
24307
24308 Fix doubled-word typos.
24309 * international/quail.el (quail-insert-kbd-layout): and and -> and
24310 * kermit.el: and and -> and
24311 * net/ldap.el (ldap-search-internal): to to -> to
24312 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
24313 * progmodes/js.el (js-mode): and and -> and
24314 * textmodes/artist.el (artist-move-to-xy): at at -> at
24315 (artist-draw-region-trim-line-endings): if if -> if
24316 And Safetyc -> Safety.
24317 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
24318
24319 2011-05-10 Glenn Morris <rgm@gnu.org>
24320 Stefan Monnier <monnier@iro.umontreal.ca>
24321
24322 * files.el (hack-one-local-variable-eval-safep):
24323 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
24324
24325 2011-05-10 Glenn Morris <rgm@gnu.org>
24326
24327 * calendar/diary-lib.el (diary-list-entries-hook)
24328 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
24329 (diary-nongregorian-marking-hook, diary-list-entries)
24330 (diary-include-other-diary-files, diary-mark-entries)
24331 (diary-mark-included-diary-files): Doc fixes.
24332
24333 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
24334
24335 * misc.el: Require tabulated-list.el during compilation.
24336
24337 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
24338
24339 * progmodes/compile.el (compilation-start):
24340 Run compilation-filter-hook for the async case too.
24341 (compilation-filter-hook): Doc fix.
24342
24343 2011-05-09 Deniz Dogan <deniz@dogan.se>
24344
24345 * wdired.el: Remove outdated installation comment. Fix usage
24346 comment.
24347
24348 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
24349
24350 * misc.el: Implement new command `list-dynamic-libraries'.
24351 (list-dynamic-libraries--loaded-only-p): New variable.
24352 (list-dynamic-libraries--refresh): New function.
24353 (list-dynamic-libraries): New command.
24354
24355 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
24356
24357 * progmodes/compile.el (compilation-error-regexp-alist-alist):
24358 Fix the ant regexp to handle end-line and end-column info from jikes.
24359 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
24360 higher priority to avoid clobbering by gnu.
24361
24362 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
24363
24364 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
24365 if the face has existing theme settings (Bug#8454).
24366
24367 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
24368
24369 * progmodes/perl-mode.el (perl-imenu-generic-expression):
24370 Only match variables declared via `my' or `our' (Bug#8261).
24371
24372 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
24373 special file names `.' and `..' (Bug#8259).
24374
24375 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
24376
24377 * progmodes/grep.el (grep-mode-font-lock-keywords):
24378 Remove buffer-changing entries.
24379 (grep-filter): New function.
24380 (grep-mode): Add it to compilation-filter-hook.
24381
24382 * progmodes/compile.el (compilation-filter-hook)
24383 (compilation-filter-start): New defvars.
24384 (compilation-filter): Call compilation-filter-hook prior to
24385 updating the process mark.
24386
24387 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
24388
24389 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
24390
24391 2011-05-07 Eli Zaretskii <eliz@gnu.org>
24392
24393 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
24394 mailclient-send-it even if window-system is nil. (Bug#8595)
24395
24396 * term/w32console.el (terminal-init-w32console):
24397 Call get-screen-color and use its output to set the frame
24398 background-mode. (Bug#8597)
24399
24400 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
24401
24402 Make bytecomp.el understand that defmethod defines funs (bug#8631).
24403 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
24404 New functions.
24405 (defgeneric, eieio--defmethod): Use them.
24406 (eieio-defgeneric): Remove.
24407 (defmethod): Call defgeneric in a way visible to the byte-compiler.
24408
24409 2011-05-07 Glenn Morris <rgm@gnu.org>
24410
24411 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
24412 Use let rather than let*.
24413 (timeclock-find-discrep): Remove unused local.
24414
24415 * calendar/diary-lib.el (diary-comment-start): Doc fix.
24416
24417 * calendar/appt.el (appt-time-msg-list): Doc fix.
24418
24419 2011-05-06 Noah Friedman <friedman@splode.com>
24420
24421 * apropos.el (apropos-print-doc): Only use
24422 emacs-lisp-docstring-fill-column when it is bound to an integer,
24423 per that variable's documentation.
24424
24425 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
24426
24427 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
24428 and warnings are not silently discarded (e.g. use -d instead of -P).
24429
24430 2011-05-06 Glenn Morris <rgm@gnu.org>
24431
24432 * calendar/appt.el (appt-message-warning-time): Doc fix.
24433 (appt-warning-time-regexp): New option.
24434 (appt-make-list): Respect appt-message-warning-time.
24435
24436 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
24437 New options.
24438 (diary-add-to-list): Strip comments from the displayed string.
24439 (diary-mode): Set comment-start and comment-end.
24440
24441 * vc/diff-mode.el (smerge-refine-subst): Declare.
24442 (diff-refine-hunk): Don't require smerge-mode when compiling.
24443
24444 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
24445
24446 * simple.el (list-processes): Return nil as the docstring says.
24447
24448 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
24449
24450 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
24451 to "".
24452 (ange-ftp-write-region, ange-ftp-insert-file-contents)
24453 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
24454 determining of binary transfer. (Bug#7383)
24455
24456 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
24457
24458 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
24459 Fix port computation bug. (Bug#8618)
24460
24461 2011-05-05 Glenn Morris <rgm@gnu.org>
24462
24463 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
24464
24465 * simple.el (shell-dynamic-complete-functions)
24466 (comint-dynamic-complete-functions): Declare.
24467
24468 * net/network-stream.el (gnutls-negotiate):
24469 * simple.el (tabulated-list-print): Fix declarations.
24470
24471 * progmodes/gud.el (syntax-symbol, syntax-point):
24472 Remove unnecessary and incorrect declarations.
24473
24474 * emacs-lisp/check-declare.el (check-declare-scan):
24475 Handle byte-compile-initial-macro-environment in bytecomp.el.
24476
24477 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
24478
24479 Fix earlier half-done eieio-defmethod change (bug#8338).
24480 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
24481 Streamline and change calling convention.
24482 (defmethod): Adjust accordingly and simplify.
24483 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
24484 new eieio--defmethod.
24485 (slot-boundp): Minor CSE simplification.
24486
24487 2011-05-05 Milan Zamazal <pdm@zamazal.org>
24488
24489 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
24490 (glasses-make-readable): Use glasses-separate-capital-groups.
24491
24492 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
24493
24494 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
24495 (warning-series): Doc fix.
24496 (display-warning): Don't try to create the buffer if we just found it.
24497
24498 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
24499
24500 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
24501 (autoload-find-generated-file): New function.
24502 (generate-file-autoloads): Bind generated-autoload-file to
24503 buffer-file-name.
24504 (update-file-autoloads, update-directory-autoloads):
24505 Use autoload-find-generated-file. If called interactively, prompt for
24506 output file (Bug#7989).
24507 (batch-update-autoloads): Doc fix.
24508
24509 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
24510
24511 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
24512
24513 2011-05-04 Glenn Morris <rgm@gnu.org>
24514
24515 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
24516 function, so it follows changes in calendar-date-style.
24517 (diary-fancy-date-matcher): New function.
24518 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
24519 (diary-fancy-font-lock-fontify-region-function):
24520 Use diary-fancy-date-pattern as a function.
24521
24522 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
24523 non-numbers for `year' etc pseudo-variables. (Bug#8583)
24524
24525 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
24526
24527 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
24528 instead of positional arguments. Allow :keylist and :crlfiles
24529 arguments.
24530 (open-gnutls-stream): Call it.
24531
24532 * net/network-stream.el (network-stream-open-starttls): Adjust to
24533 call `gnutls-negotiate' with :process and :hostname arguments.
24534
24535 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
24536
24537 * minibuffer.el (completion--message): New function.
24538 (completion--do-completion, minibuffer-complete)
24539 (minibuffer-force-complete, minibuffer-complete-word): Use it.
24540 (completion--do-completion): Don't ignore completion-auto-help when in
24541 icomplete-mode.
24542
24543 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
24544 internal encoding (e.g. tibetan zero is not whitespace).
24545 (global-whitespace-mode): Prefer save-current-buffer.
24546 (whitespace-trailing-regexp): Remove useless save-match-data.
24547 (whitespace-empty-at-bob-regexp): Minor simplification.
24548
24549 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
24550
24551 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
24552
24553 2011-05-03 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
24554
24555 * textmodes/ispell.el (ispell-add-per-file-word-list):
24556 Use `concat' to create string for insertion.
24557
24558 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
24559
24560 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
24561 Avoid open-line which runs post-self-insert-hook.
24562 (bibtex-fill-entry): Remove unused `end' var.
24563
24564 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
24565
24566 * textmodes/ispell.el (ispell-add-per-file-word-list):
24567 Protect against `nil' value of `comment-start' (Bug#8579).
24568
24569 2011-05-03 Leo Liu <sdl.web@gmail.com>
24570
24571 * isearch.el (isearch-yank-pop): New command.
24572 (isearch-mode-map): Bind it to `M-y'.
24573 (isearch-forward): Mention it.
24574
24575 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
24576
24577 * simple.el (minibuffer-complete-shell-command): Remove.
24578 (minibuffer-local-shell-command-map): Use completion-at-point.
24579 (read-shell-command): Setup completion vars here instead.
24580 (read-expression-map): Bind TAB to symbol completion.
24581
24582 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
24583 error directly rather via storing it into `results'.
24584
24585 2011-05-02 Leo Liu <sdl.web@gmail.com>
24586
24587 * vc/diff.el: Fix description.
24588
24589 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
24590
24591 * server.el (server-eval-at): New function.
24592
24593 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
24594
24595 * net/network-stream.el (open-network-stream): Take a :nowait
24596 parameter and pass it on to `make-network-process'.
24597 (network-stream-open-plain): Ditto.
24598
24599 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
24600
24601 * faces.el (face-spec-set-match-display): Don't match toolkit
24602 options on terminal frames.
24603
24604 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
24605
24606 * progmodes/pascal.el: Use lexical binding.
24607 (pascal-mode-map): Remove author preferences.
24608
24609 * pcomplete.el (pcomplete-std-complete): Don't abuse
24610 completion-at-point.
24611
24612 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
24613
24614 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
24615 removing code that has been dead since 1991 or so.
24616
24617 * startup.el (command-line): When warning about "_emacs", use a
24618 delayed warning to allow the user to filter it out.
24619
24620 2011-04-28 Deniz Dogan <deniz@dogan.se>
24621
24622 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
24623 user has not joined.
24624
24625 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
24626
24627 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
24628 aren't any completions at point.
24629
24630 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
24631
24632 * subr.el (display-delayed-warnings): New function.
24633 (delayed-warnings-hook): New variable.
24634
24635 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
24636
24637 * minibuffer.el (completion-at-point, completion-help-at-point):
24638 Don't presume that a given completion-at-point-function will always
24639 use the same calling convention.
24640
24641 * pcomplete.el (pcomplete-completions-at-point):
24642 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
24643 pcomplete-seen is non-nil.
24644 (pcomplete-comint-setup): Also recognize the new comint/shell
24645 completion functions.
24646 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
24647 pcomplete-seen is non-nil.
24648
24649 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
24650
24651 * calendar/icalendar.el (diary-lib): Add require statement.
24652 (icalendar--create-uid): Read out a uid from a text-property on
24653 the first character in the entry. This allows for code to add its
24654 own uid to the entry.
24655 (icalendar--convert-float-to-ical): Add export of
24656 `diary-float'-entries save for those with the optional DAY
24657 argument.
24658
24659 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
24660
24661 * subr.el (shell-quote-argument): Use alternate escaping strategy
24662 when we spot a variable reference in a string.
24663
24664 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
24665
24666 * cus-start.el (all): Define customization for debug-on-event.
24667
24668 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
24669
24670 * subr.el (shell-quote-argument): Escape correctly under Windows.
24671
24672 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
24673
24674 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
24675
24676 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
24677
24678 * net/tramp.el (tramp-process-actions): Add POS argument.
24679 Delete region between POS and (pos).
24680
24681 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
24682 Use `nil' position in `tramp-process-actions' call.
24683 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
24684
24685 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
24686 position in `tramp-process-actions' call.
24687
24688 * net/trampver.el: Update release number.
24689
24690 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
24691
24692 * custom.el (defcustom): Obey lexical-binding.
24693
24694 Fix octave-inf completion problems reported by Alexander Klimov.
24695 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
24696 Inherit from octave-mode-syntax-table.
24697 (inferior-octave-mode): Set info-lookup-mode.
24698 (inferior-octave-completion-at-point): New function.
24699 (inferior-octave-complete): Use it and completion-in-region.
24700 (inferior-octave-dynamic-complete-functions): Use it as well, and use
24701 comint-filename-completion.
24702 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
24703 symbol elements which shouldn't be word elements.
24704 (octave-font-lock-keywords, octave-beginning-of-defun)
24705 (octave-function-header-regexp): Adjust regexps accordingly.
24706 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
24707
24708 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
24709
24710 * net/gnutls.el (gnutls-errorp): Declare before first use.
24711
24712 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
24713
24714 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
24715 verify-error, and verify-hostname-error parameters. Check whether
24716 default trustfile exists before going to use it. Add missing
24717 argument to gnutls-message-maybe call. Return value.
24718 Reported by Claudio Bley <claudio.bley@gmail.com>.
24719 (open-gnutls-stream): Add usage example.
24720
24721 * net/network-stream.el (network-stream-open-starttls): Give host
24722 parameter to `gnutls-negotiate'.
24723 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
24724 * subr.el (shell-quote-argument): Escape correctly under Windows.
24725
24726 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
24727
24728 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
24729 Use correct match group (bug#8438).
24730
24731 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
24732
24733 * emacs-lisp/package.el (package-built-in-p): Fix typo.
24734 (package-menu--generate): New arg specifying packages to show.
24735 (package-menu-refresh, package-menu-execute, list-packages):
24736 Callers changed.
24737 (package-show-package-list): New function, replacing deleted
24738 package--list-packages (renamed because it is non-internal).
24739
24740 * finder.el (finder-list-matches): Use package-show-package-list
24741 instead of deleted package--list-packages.
24742
24743 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
24744 Based on a previous implementation by Juanma Barranquero (Bug#8366).
24745 (vc-annotate-mode-map): Bind it to RET.
24746
24747 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
24748
24749 * progmodes/etags.el (next-file): Don't use set-buffer to change
24750 buffers (Bug#8478).
24751
24752 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
24753
24754 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
24755
24756 * apropos.el (apropos-label-face): Avoid variable-pitch face.
24757 (apropos-accumulator): Doc fix.
24758 (apropos-function, apropos-macro, apropos-command)
24759 (apropos-variable, apropos-face, apropos-group, apropos-widget)
24760 (apropos-plist): Add face property.
24761 (apropos-symbols-internal): Fix indentation.
24762 (apropos-print): Simplify help, and recognize apropos-multi-type.
24763 (apropos-print-doc): Use button-type-get to extract the button's
24764 face property. Fill docstring (Bug#8352).
24765
24766 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
24767
24768 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
24769
24770 * play/mpuz.el (mpuz-silent): Doc fix.
24771 (mpuz-mode-map): Use mapc.
24772 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
24773 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
24774 Fix typos in docstrings.
24775
24776 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
24777 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
24778
24779 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
24780
24781 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
24782
24783 * minibuffer.el (completion--do-completion): Avoid the "Next char
24784 not unique" prompt if icomplete-mode is enabled (Bug#5849).
24785
24786 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
24787 mouse-2 into unread-command-events, it is interpreted correctly.
24788
24789 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
24790 (image-toggle-display): Doc fix.
24791
24792 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
24793
24794 * textmodes/page.el (what-page): Use line-number-at-pos to
24795 calculate line number (Bug#6825).
24796
24797 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
24798
24799 * eshell/esh-mode.el (find-tag-interactive): Declare function.
24800 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
24801 Pass argument NO-DEFAULT to `find-tag-interactive'.
24802
24803 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
24804
24805 Lexical-binding cleanup.
24806
24807 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
24808 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
24809 * progmodes/ada-prj.el (ada-prj-initialize-values)
24810 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
24811 (ada-prj-show-value):
24812 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
24813 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
24814 (antlr-invalidate-context-cache, antlr-options-menu-filter)
24815 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
24816 * progmodes/bug-reference.el (bug-reference-push-button):
24817 * progmodes/fortran.el (fortran-line-length):
24818 * progmodes/glasses.el (glasses-change):
24819 * progmodes/octave-mod.el (octave-fill-paragraph):
24820 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
24821 (python-pdbtrack-grub-for-buffer, python-sentinel):
24822 * progmodes/sql.el (sql-save-connection):
24823 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
24824 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
24825 Mark unused parameters.
24826
24827 * progmodes/compile.el (compilation--flush-directory-cache)
24828 (compilation--flush-parse, compile-internal): Mark unused parameters.
24829 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
24830 (compilation-next-error-function): Remove unused variable `timestamp'.
24831
24832 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
24833 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
24834
24835 * progmodes/dcl-mode.el (dcl-end-of-command):
24836 Remove unused variable `start'.
24837 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
24838 (dcl-option-value-basic, dcl-option-value-offset)
24839 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
24840 Mark unused parameters.
24841 (dcl-save-local-variable): Remove unused variable `val'.
24842 (mode): Declare.
24843
24844 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
24845 Mark unused parameters.
24846 (delphi-ignore-changes): Move before first use.
24847 (delphi-charset-token-at): Remove unused variable `start'.
24848 (delphi-else-start): Remove unused variable `if-count'.
24849 (delphi-comment-block-start, delphi-comment-block-end):
24850 Remove unused variable `kind'.
24851 (delphi-indent-line): Remove unused variable `new-point'.
24852
24853 * progmodes/ebrowse.el (ebrowse-files-list)
24854 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
24855 Mark unused parameters. Don't quote `lambda'.
24856 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
24857 Don't quote `lambda'.
24858 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
24859 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
24860 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
24861 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
24862 Use `ignore-errors'.
24863 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
24864 (ebrowse-view/find-file-and-search-pattern)
24865 (ebrowse-view/find-member-declaration/definition):
24866 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
24867 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
24868 Rename parameter PREFIX-ARG to PREFIX.
24869 (ebrowse-tags-read-name): Remove unused variables `start' and
24870 `member-info'.
24871 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
24872 to `tags-file'.
24873
24874 * progmodes/etags.el (local-find-tag-hook): Declare.
24875 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
24876 Mark unused parameters.
24877
24878 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
24879 (executable-interpret): Mark unused parameter.
24880
24881 * progmodes/flymake.el (flymake-process-sentinel)
24882 (flymake-after-change-function)
24883 (flymake-create-temp-with-folder-structure)
24884 (flymake-get-include-dirs-dot): Mark unused parameters.
24885 (flymake-safe-delete-directory): Remove unused variable `err'.
24886
24887 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
24888 (speedbar-timer-fn, speedbar-line-text)
24889 (speedbar-change-expand-button-char, speedbar-delete-subblock)
24890 (speedbar-center-buffer-smartly): Declare functions.
24891 (gdb-find-watch-expression): Remove unused variable `array'.
24892 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
24893 (gdb-starting): Mark unused parameters.
24894 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
24895 (gdb-table-string): Remove unused variable `res'.
24896 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
24897 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
24898 (gdb-display-buffer): Remove unused variable `cur-size'.
24899
24900 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
24901 allow lexical-binding compilation.
24902 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
24903 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
24904 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
24905 Mark unused parameters.
24906 (gud-gdb-marker-filter): Remove unused variable `match'.
24907 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
24908 lambda expressions and funcall them, instead of using `fset'.
24909
24910 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
24911 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
24912
24913 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
24914 variable `header-beg'; use `let'.
24915
24916 * progmodes/icon.el (indent-icon-exp): Remove unused variables
24917 `restart', `last-sexp' and `at-do'.
24918
24919 * progmodes/js.el (js--debug): Mark unused parameter.
24920 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
24921 (js--splice-into-items): Remove unused variable `item'.
24922 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
24923
24924 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
24925 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
24926 (makefile-complete): Remove unused variable `try'.
24927 (makefile-fill-paragraph, makefile-match-function-end):
24928 Mark unused parameters.
24929
24930 * progmodes/octave-inf.el (inferior-octave-complete):
24931 Remove unused variable `proc'.
24932 (inferior-octave-output-digest): Mark unused parameter.
24933
24934 * progmodes/perl-mode.el (perl-calculate-indent):
24935 Remove unused variable `err'.
24936
24937 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
24938 (prolog-indent-line): Mark unused parameters.
24939 (prolog-indent-line): Remove unused variable `beg'.
24940
24941 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
24942 (reporter-dont-compact-list): Declare.
24943
24944 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
24945 Remove unused variable `char'.
24946 (sh-debug): Mark unused parameter.
24947 (sh-get-indent-info): Remove unused variable `start'.
24948 (sh-calculate-indent): Remove unused variable `var'.
24949
24950 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
24951 (simula-electric-keyword): Remove unused variable `null'.
24952 (simula-search-backward, simula-search-forward): Remove unused
24953 variables `begin' and `end'.
24954
24955 * progmodes/vera-mode.el (vera-guess-basic-syntax):
24956 Remove unused variable `pos'.
24957 (vera-electric-tab, vera-comment-uncomment-region):
24958 Mark unused parameters.
24959 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
24960
24961 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
24962
24963 * emacs-lisp/package.el (package--builtins, package-alist)
24964 (package-load-descriptor, package-built-in-p, package-activate)
24965 (define-package, package-installed-p)
24966 (package-compute-transaction, package-buffer-info)
24967 (package--push): Doc fix. Distinguish more clearly between
24968 version strings and version lists.
24969
24970 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
24971
24972 Lexical-binding cleanup.
24973
24974 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
24975 (5x5-make-mutate-best):
24976 * play/fortune.el (fortune-in-buffer):
24977 * play/gomoku.el (gomoku-init-display):
24978 * play/solitaire.el (solitaire, solitaire-do-check):
24979 * play/tetris.el (tetris-default-update-speed-function):
24980 Mark unused parameters.
24981
24982 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
24983 (bubbles--shift): Remove unused variable `char-org'.
24984 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
24985 (bubbles--show-images): Remove unused variable `char'.
24986
24987 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
24988 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
24989 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
24990 (decipher-analyze-buffer): Use ?\s.
24991 (decipher-make-checkpoint): Remove unused variable `mapping'.
24992
24993 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
24994
24995 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
24996 Remove unused variable `result'; use `let'.
24997
24998 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
24999 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
25000 (gametree-children-shown-p, gametree-compute-reduced-score):
25001 Use `ignore-errors'.
25002
25003 * play/handwrite.el (ps-lpr-switches): Declare.
25004 (handwrite): Remove unused variables `pmin' and `lastp'.
25005
25006 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
25007
25008 * play/landmark.el (landmark-init-display)
25009 (landmark-update-naught-weights): Mark unused parameters.
25010 (landmark-y): Remove unused variable `noise'. Simplify.
25011 (landmark-human-plays): Remove unused variable `score'.
25012
25013 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
25014 (mpuz-try-proposal): Remove unused variable `game'.
25015
25016 * play/zone.el (life-patterns): Declare.
25017
25018 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
25019
25020 * vc/vc.el (ediff-vc-internal): Declare function.
25021
25022 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
25023
25024 * shell.el: Use lexical-binding and std completion UI.
25025 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
25026 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
25027 comint-preoutput-filter-functions rather than on
25028 comint-output-filter-functions.
25029 (shell-command-completion, shell--command-completion-data)
25030 (shell-filename-completion, shell-environment-variable-completion)
25031 (shell-c-a-p-replace-by-expanded-directory): New functions.
25032 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
25033 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
25034 (shell-dynamic-complete-environment-variable): Use them.
25035 (shell-dynamic-complete-as-environment-variable)
25036 (shell-dynamic-complete-as-command): Remove.
25037 (shell-match-partial-variable): Match past point.
25038 * comint.el: Clean up use of completion-at-point-functions.
25039 (comint-completion-at-point): New function.
25040 (comint-mode): Use it completion-at-point-functions.
25041 (comint-dynamic-complete): Make it obsolete.
25042 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
25043 (comint-c-a-p-replace-by-expanded-history): New function.
25044 (comint-dynamic-complete-functions)
25045 (comint-replace-by-expanded-history): Use it.
25046 * minibuffer.el (completion-table-with-terminator): Allow dynamic
25047 termination strings. Try harder to avoid second try-completion.
25048 (completion-in-region-mode-map): Disable bindings that don't work yet.
25049
25050 * comint.el: Use lexical-binding. Require CL.
25051 (comint-dynamic-complete-functions): Use comint-filename-completion.
25052 (comint-completion-addsuffix): Tweak custom type.
25053 (comint-filename-completion, comint--common-suffix)
25054 (comint--common-quoted-suffix, comint--table-subvert)
25055 (comint--complete-file-name-data): New functions.
25056 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
25057 (comint-dynamic-list-filename-completions): Use them.
25058 (comint-dynamic-simple-complete): Make obsolete.
25059
25060 * minibuffer.el (completion-in-region-mode):
25061 Keep completion-in-region-mode--predicate global.
25062 (completion-in-region--postch):
25063 Assume completion-in-region-mode--predicate is not null.
25064
25065 * progmodes/flymake.el (flymake-start-syntax-check-process):
25066 Obey `dir'. Simplify.
25067
25068 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
25069 we're in VC after all.
25070
25071 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
25072
25073 * vc/vc.el (vc-diff-build-argument-list-internal)
25074 (vc-version-ediff, vc-ediff): New commands.
25075 (vc-version-diff): Use vc-diff-build-argument-list-internal.
25076
25077 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
25078
25079 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
25080 add sanity check.
25081
25082 * obsolete/erc-hecomplete.el: Make obsolete.
25083 * obsolete/: Standardize obsolescence info in the header.
25084
25085 2011-04-20 Glenn Morris <rgm@gnu.org>
25086
25087 * calendar/solar.el (solar-horizontal-coordinates):
25088 Use the longitude argument rather than `calendar-longitude'.
25089 (solar-date-next-longitude): Remove unused locals.
25090
25091 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
25092
25093 * whitespace.el: New version 13.2.1.
25094
25095 2011-04-20 felix <EmacsWiki> (tiny change)
25096
25097 * whitespace.el (global-whitespace-mode): Keep highlight when
25098 switching between major modes on a file.
25099
25100 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
25101
25102 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
25103 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
25104 multi-line comments as well.
25105
25106 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
25107
25108 Lexical-binding cleanup.
25109
25110 * arc-mode.el (archive-mode-revert):
25111 * cmuscheme.el (scheme-interactively-start-process):
25112 * custom.el (custom-initialize-delay):
25113 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
25114 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
25115 * emacs-lock.el (emacs-lock-clear-sentinel):
25116 * ezimage.el (defezimage):
25117 * follow.el (follow-avoid-tail-recenter):
25118 * fringe.el (set-fringe-mode-1):
25119 * generic-x.el (bat-generic-mode-compile):
25120 * help-mode.el (help-info-variable, help-do-xref)
25121 (help-mode-revert-buffer):
25122 * help.el (view-emacs-todo):
25123 * iswitchb.el (iswitchb-completion-help):
25124 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
25125 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
25126 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
25127 * locate.el (locate-update):
25128 * longlines.el (longlines-encode-region)
25129 (longlines-after-change-function):
25130 * outline.el (outline-isearch-open-invisible):
25131 * ps-def.el (declare-function, charset-dimension, char-width)
25132 (encode-char):
25133 * ps-mule.el (ps-mule-plot-string):
25134 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
25135 (recentf-edit-list-select, recentf-edit-list-validate)
25136 (recentf-open-files-action):
25137 * rect.el (delete-whitespace-rectangle-line)
25138 (rectangle-number-line-callback):
25139 * register.el (window-configuration-to-register)
25140 (frame-configuration-to-register):
25141 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
25142 * select.el (xselect-convert-to-string, xselect-convert-to-length)
25143 (xselect-convert-to-targets, xselect-convert-to-delete)
25144 (xselect-convert-to-filename, xselect-convert-to-charpos)
25145 (xselect-convert-to-lineno, xselect-convert-to-colno)
25146 (xselect-convert-to-os, xselect-convert-to-host)
25147 (xselect-convert-to-user, xselect-convert-to-class)
25148 (xselect-convert-to-name, xselect-convert-to-integer)
25149 (xselect-convert-to-atom, xselect-convert-to-identity):
25150 * subr.el (declare, ignore, process-kill-without-query)
25151 (text-clone-maintain):
25152 * terminal.el (te-get-char, te-tic-sentinel):
25153 * tool-bar.el (tool-bar-make-keymap):
25154 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
25155 * type-break.el (type-break-mode, type-break-noninteractive-query):
25156 * view.el (View-back-to-mark):
25157 * wid-browse.el (widget-browse-action, widget-browse-widget)
25158 (widget-browse-widgets, widget-browse-sexp):
25159 * widget.el (define-widget-keywords):
25160 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
25161 Mark unused parameters.
25162
25163 * align.el (align-adjust-col-for-rule): Mark unused parameter.
25164 (align-areas): Remove unused variable `look'.
25165 (align-region): Remove unused variables `real-end' and `pos-list'.
25166
25167 * apropos.el (apropos-score-doc): Remove unused variable `i'.
25168
25169 * bindings.el (mode-line-modified, mode-line-remote):
25170 Mark unused parameters.
25171 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
25172
25173 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
25174 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
25175
25176 * comint.el (comint-history-isearch-pop-state)
25177 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
25178 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
25179 (comint-substitute-in-file-name): Doc fix.
25180
25181 * completion.el (cmpl-statistics-block): Mark unused parameter.
25182 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
25183 (save-completions-to-file, load-completions-from-file):
25184 Remove unused local variable `e'.
25185
25186 * composite.el (compose-chars): Remove unused variable `len'.
25187 (lgstring-insert-glyph): Remove unused variable `g'.
25188 (compose-glyph-string): Remove unused variables `ascent',
25189 `descent', `lbearing' and `rbearing'.
25190 (compose-glyph-string-relative): Remove unused variables
25191 `lbearing', `rbearing' and `wadjust'.
25192 (compose-gstring-for-graphic): Remove unused variables `header',
25193 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
25194 (compose-gstring-for-terminal): Remove unused variables `header'
25195 and `nchars'. Use `let', not `let*'.
25196
25197 * cus-edit.el (Custom-set, Custom-save, custom-reset)
25198 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
25199 (Custom-buffer-done, custom-buffer-create-internal)
25200 (custom-browse-visibility-action, custom-browse-group-tag-action)
25201 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
25202 (widget-magic-mouse-down-action, custom-toggle-parent)
25203 (custom-add-parent-links, custom-toggle-hide-variable)
25204 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
25205 (custom-toggle-hide-face, face, hook, custom-group-link-action)
25206 (custom-face-menu-create, custom-variable-menu-create, get)
25207 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
25208 (custom-reset-standard-save-and-update): Remove unused variable `value'.
25209 (customize-apropos): Remove unused variable `tests'.
25210 (custom-group-value-create): Remove unused variable `hidden-p'.
25211 (sort-fold-case): Declare.
25212
25213 * cus-theme.el (custom-reset-standard-faces-list)
25214 (custom-reset-standard-variables-list): Declare.
25215 (customize-create-theme, custom-theme-revert, custom-theme-write)
25216 (custom-theme-choose-mode, customize-themes, custom-theme-save):
25217 Mark unused parameters.
25218
25219 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
25220
25221 * delim-col.el (delimit-columns-max): Move defvar before first use.
25222
25223 * descr-text.el (describe-char-categories): Don't quote `lambda'.
25224 (describe-char): Don't quote `lambda'. Mark unused parameter.
25225
25226 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
25227 (auto-insert): Declare.
25228 (desktop-restore-file-buffer): Rename desktop-* parameters;
25229 mark unused ones.
25230 (desktop-create-buffer): Rename desktop-* parameters and bind them.
25231 (desktop-buffer): Rename desktop-* parameters.
25232
25233 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
25234 (dframe-reposition-frame-xemacs, dframe-help-echo)
25235 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
25236 Mark unused parameters.
25237
25238 * dired-aux.el (backup-extract-version-start, overwrite-query)
25239 (overwrite-backup-query, rename-regexp-query)
25240 (rename-non-directory-query): Declare.
25241 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
25242 (dired-add-entry): Remove unused variable `orig-file-name'.
25243 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
25244 Use parameter PRESERVE-TIME instead of accessing dynamic variable
25245 `dired-copy-preserve-time' directly.
25246 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
25247 (dired-insert-subdir-newpos): Rename unused variable `pos'.
25248
25249 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
25250 (dired-virtual-revert, dired-make-relative-symlink):
25251 Mark unused parameters.
25252 (manual-program): Declare.
25253 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
25254 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
25255 wrapped in `with-no-warnings' to avoid replacing one warning by another.
25256
25257 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
25258
25259 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
25260
25261 * echistory.el (electric-history-in-progress, Helper-return-blurb):
25262 Declare.
25263
25264 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
25265
25266 * electric.el (Electric-command-loop): Rename parameter
25267 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
25268
25269 * expand.el (expand-in-literal): Remove unused variable `here'.
25270
25271 * facemenu.el (facemenu-add-new-color):
25272 Remove unused variable `docstring'.
25273
25274 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
25275 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
25276 (face-attr-construct): Mark unused parameter. Doc fix.
25277 (read-color): Remove unused variable `hex-string'.
25278
25279 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
25280 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
25281 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
25282 (display-buffer-other-frame): Remove unused variable `old-window'.
25283 (kill-buffer-hook): Declare.
25284 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
25285 Mark unused parameters.
25286 (after-find-file): Pass 1 to `auto-save-mode', not t.
25287
25288 * files-x.el (auto-insert): Declare.
25289 (modify-file-local-variable-prop-line): Remove unused variable `val'.
25290
25291 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
25292 variable `buf'. Mark unused parameter.
25293 (find-lisp-insert-directory): Mark unused parameter.
25294
25295 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
25296 (format-encode-region): Remove unused variables `cur-buf' and `result'.
25297 (format-common-tail): Remove, unused.
25298 (format-deannotate-region): Remove unused variable `loc'.
25299 (format-annotate-region): Remove unused variable `p'.
25300 (format-annotate-single-property-change): Remove unused variables
25301 `default' and `tail'.
25302
25303 * forms.el (read-file-filter): Declare.
25304 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
25305
25306 * frame.el (frame-creation-function-alist): Mark unused parameter.
25307 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
25308
25309 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
25310 Remove unused parameters.
25311 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
25312 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
25313
25314 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
25315 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
25316 (hfy-prepare-tag-map): Mark unused parameters.
25317 (htmlfontify-buffer): Use `called-interactively-p'.
25318
25319 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
25320 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
25321 (ibuffer-do-occur): Mark unused parameters.
25322 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
25323 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
25324
25325 * ibuffer.el: Don't quote `lambda'.
25326 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
25327 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
25328 Mark unused parameters.
25329
25330 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
25331 (ido-completing-read): Mark unused parameters.
25332 (ido-copy-current-word): Mark unused parameters;
25333 remove unused variable `name'.
25334 (ido-sort-merged-list): Remove unused parameter `dirs'.
25335
25336 * ielm.el (ielm-input-sender): Mark unused parameter.
25337 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
25338 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
25339 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
25340 `ielm-string' as a dynamic variable accessible from the IELM prompt.
25341 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
25342
25343 * image-dired.el (image-dired-display-thumbs): Remove unused
25344 variables `curr-file' and `count'.
25345 (image-dired-remove-tag): Remove unused variable `start'.
25346 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
25347 variable `curr-file'
25348 (image-dired-rotate-original): Remove unused variable `temp-file'.
25349 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
25350 Remove unused variable `file'.
25351 (image-dired-gallery-generate): Remove unused variable `curr'.
25352 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
25353
25354 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
25355
25356 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
25357
25358 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
25359
25360 * isearch.el (minibuffer-history-symbol): Declare.
25361 (isearch-edit-string): Remove unused variable `err'.
25362 (isearch-message-prefix, isearch-message-suffix):
25363 Mark unused parameters.
25364
25365 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
25366
25367 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
25368
25369 * makesum.el (double-column): Remove unused variable `cnt'.
25370
25371 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
25372 (ido-ignore-item-temp-list): Declare.
25373
25374 * mouse-drag.el (mouse-drag-throw): Remove unused variables
25375 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
25376 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
25377 (mouse-drag-drag): Remove unused variables `mouse-delta' and
25378 `mouse-col-delta'.
25379
25380 * mouse-sel.el (mouse-extend-internal):
25381 Remove unused variable `orig-window-frame'.
25382
25383 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
25384 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
25385 Move declarations before first use.
25386 (pcomplete-opt): Mark unused parameters; doc fix.
25387
25388 * proced.el (proced-revert): Mark unused parameter.
25389 (proced-send-signal): Remove unused variable `err'.
25390
25391 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
25392 Rename parameter PREFIX-ARG to ARG.
25393 (ps-basic-plot-string, ps-basic-plot-whitespace):
25394 Mark unused parameters.
25395
25396 * replace.el (replace-count): Define.
25397 (occur-revert-function): Mark unused parameters.
25398 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
25399 (isearch-case-fold-search, isearch-string): Declare.
25400 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
25401 bind `case-fold-search'. Remove unused variables `beg' and `end',
25402 and simplify.
25403 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
25404 COUNT and bind `replace-count'.
25405 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
25406 to COUNT.
25407
25408 * savehist.el (print-readably, print-string-length): Declare.
25409
25410 * shadowfile.el (shadow-expand-cluster-in-file-name):
25411 Remove unused variable `cluster'.
25412 (shadow-copy-file): Remove unused variable `i'.
25413 (shadow-noquery, shadow-clusters, shadow-site-cluster)
25414 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
25415 (shadow-define-literal-group, shadow-define-regexp-group)
25416 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
25417
25418 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
25419 (shell): Use `called-interactively-p'.
25420 (shell-directory-tracker): Remove unused variable `chdir-failure'.
25421
25422 * simple.el (compilation-context-lines, comint-file-name-quote-list)
25423 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
25424 (delete-backward-char): Remove unused variable `ocol'.
25425 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
25426 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
25427 (event-apply-hyper-modifier, event-apply-shift-modifier)
25428 (event-apply-control-modifier, event-apply-meta-modifier):
25429 Mark unused parameters.
25430 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
25431 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
25432
25433 * speedbar.el (speedbar-ignored-directory-expressions)
25434 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
25435 (speedbar-find-file, speedbar-dir-follow)
25436 (speedbar-directory-buttons-follow, speedbar-tag-find)
25437 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
25438 (speedbar-buffers-line-directory, speedbar-buffer-click):
25439 Mark unused parameters.
25440 (speedbar-tag-file): Remove unused variable `mode'.
25441 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
25442
25443 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
25444
25445 * talk.el (talk): Remove unused variable `display'.
25446
25447 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
25448 (tar-write-region-annotate): Mark unused parameter.
25449
25450 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
25451 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
25452 Declare them, wrapped in `with-no-warnings' to avoid replacing one
25453 warning by another.
25454
25455 * time-stamp.el (time-stamp-string-preprocess):
25456 Remove unused variable `require-padding'.
25457
25458 * tree-widget.el (widget-glyph-enable): Declare.
25459 (tree-widget-action): Mark unused parameter.
25460
25461 * w32-fns.el (x-get-selection): Mark unused parameter.
25462 (autoload-make-program, generated-autoload-file): Declare.
25463
25464 * wdired.el (wdired-revert): Mark unused parameters.
25465 (wdired-xcase-word): Remove unused variable `err'.
25466
25467 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
25468 (whitespace-help-scroll): Remove unused variable `data-help'.
25469
25470 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
25471 (widget-image-insert, widget-after-change, default)
25472 (widget-default-format-handler, widget-default-notify)
25473 (widget-default-prompt-value, widget-info-link-action)
25474 (widget-url-link-action, widget-function-link-action)
25475 (widget-variable-link-action, widget-file-link-action)
25476 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
25477 (widget-field-prompt-internal, widget-field-action, widget-field-match)
25478 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
25479 (widget-insert-button-action, widget-delete-button-action, visibility)
25480 (widget-documentation-link-action, widget-documentation-string-action)
25481 (widget-const-prompt-value, widget-regexp-match, symbol)
25482 (widget-coding-system-prompt-value)
25483 (widget-key-sequence-value-to-external, sexp)
25484 (widget-sexp-value-to-internal, character, vector, cons)
25485 (widget-choice-prompt-value, widget-boolean-prompt-value)
25486 (widget-color--choose-action): Mark unused parameters.
25487 (widget-item-match-inline, widget-choice-match-inline)
25488 (widget-checklist-match, widget-checklist-match-inline)
25489 (widget-group-match): Rename parameter VALUES to VALS.
25490 (widget-field-value-set): Remove unused variable `size'.
25491 (widget-color-action): Remove unused variables `value' and `start'.
25492
25493 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
25494 variable `dir'. Doc fix.
25495 (windmove-find-other-window): Don't pass it.
25496
25497 * window.el (count-windows): Mark unused parameter.
25498 (bw-adjust-window): Remove unused variable `err'.
25499
25500 * woman.el (woman-file-name): Remove unused variable `default'.
25501 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
25502 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
25503 (global-font-lock-mode): Declare.
25504 (woman-decode-region): Mark unused parameter.
25505 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
25506
25507 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
25508 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
25509 (x-dnd-handle-moz-url): Remove unused variable `title'.
25510 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
25511
25512 * xml.el (xml-parse-tag, xml-parse-attlist):
25513 Remove unused variable `pos'.
25514
25515 2011-04-19 Glenn Morris <rgm@gnu.org>
25516
25517 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
25518 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
25519 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
25520 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
25521 * calendar/cal-html.el (cal-html-insert-minical):
25522 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
25523 (calendar-mark-date-pattern):
25524 Prefix "unused" locals.
25525
25526 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
25527 optional argument `style'.
25528
25529 * calendar/appt.el (appt-make-list):
25530 * calendar/cal-china.el (calendar-chinese-date-string):
25531 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
25532 (diary-hebrew-yahrzeit):
25533 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
25534 * calendar/calendar.el (calendar-generate-window):
25535 * calendar/time-date.el (time-to-days):
25536 Remove unused local variables.
25537
25538 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
25539
25540 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
25541 glyphless-char-display table.
25542 (tabulated-list-glyphless-char-display): New var.
25543
25544 2011-04-18 Sam Steingold <sds@gnu.org>
25545
25546 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
25547 to acknowledgments.
25548
25549 2011-04-17 Glenn Morris <rgm@gnu.org>
25550
25551 * calendar/diary-lib.el (diary-sexp-entry):
25552 * calendar/holidays.el (holiday-sexp):
25553 Set debug-on-error rather than the removed stack-trace-on-error.
25554
25555 2011-04-16 Glenn Morris <rgm@gnu.org>
25556
25557 * progmodes/f90.el: Use lexical-binding.
25558 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
25559
25560 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
25561
25562 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
25563 (mail-mode): Setup mailalias completion here instead.
25564 * mail/mailalias.el: Use lexical-binding.
25565 (pattern, mailalias-done): Declare dynamic.
25566 (mail-completion-at-point-function): New function, from mail-complete.
25567 (mail-complete): Use it.
25568 (mail-completion-expand): New function.
25569 (mail-get-names): Use it.
25570 (mail-directory, mail-directory-process, mail-directory-stream):
25571 Don't use `pattern' for lexically bound arg.
25572
25573 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
25574
25575 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
25576 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
25577 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
25578
25579 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
25580 (byte-save-window-excursion, byte-temp-output-buffer-setup)
25581 (byte-interactive-p): Define them again, for use when inlining
25582 old code.
25583
25584 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
25585
25586 * loadup.el: Use `string-to-number', not `string-to-int'.
25587
25588 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
25589
25590 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
25591 gud-gdb-complete-command.
25592 (gud-gdb-completions): New function, from gud-gdb-complete-command.
25593 (gud-gdb-completion-at-point): New function.
25594 (gud-gdb-completions): Remove.
25595
25596 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
25597
25598 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
25599 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
25600 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
25601 whether `executable-find' is bound.
25602
25603 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
25604
25605 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
25606
25607 * minibuffer.el (completion-in-region-mode-predicate)
25608 (completion-in-region-mode--predicate): New vars.
25609 (completion-in-region, completion-in-region--postch)
25610 (completion-in-region-mode): Use them.
25611 (completion--capf-wrapper): Also return the hook function.
25612 (completion-at-point, completion-help-at-point):
25613 Adjust and provide a predicate.
25614
25615 Preserve arg names for advice of subr and lexical functions (bug#8457).
25616 * help-fns.el (help-function-arglist): Consolidate the subr and
25617 new-byte-code cases. Add argument `preserve-names' to extract names
25618 from the docstring when needed.
25619 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
25620 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
25621 (ad-arglist): Use help-function-arglist's new arg.
25622 (ad-definition-type): Use cond.
25623
25624 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
25625
25626 * autorevert.el (auto-revert-handler):
25627 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
25628 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
25629 Don't quote lambda.
25630
25631 * image-mode.el (image-transform-set-scale):
25632 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
25633
25634 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
25635
25636 * net/network-stream.el (network-stream-open-starttls): Only do
25637 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
25638 Upgrades via gnutls-cli are too slow to be done opportunistically.
25639
25640 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
25641
25642 * dframe.el (dframe-current-frame): Remove spurious quote.
25643
25644 2011-04-12 Glenn Morris <rgm@gnu.org>
25645
25646 * calendar/cal-tex.el (cal-tex-end-document):
25647 Try to automatically use latin1 input if needed.
25648
25649 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
25650 Don't try to cons a mark onto an empty element.
25651
25652 2011-04-11 Leo Liu <sdl.web@gmail.com>
25653
25654 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
25655 buffers.
25656 (ido-kill-buffer-at-head): Support killing virtual buffers.
25657
25658 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
25659
25660 * minibuffer.el (completion-show-inline-help): New var.
25661 (completion--do-completion, minibuffer-complete)
25662 (minibuffer-force-complete, minibuffer-complete-word):
25663 Inhibit minibuffer messages if completion-show-inline-help is nil.
25664
25665 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
25666 to avoid interference from inline help (Bug#5849).
25667
25668 2011-04-10 Leo Liu <sdl.web@gmail.com>
25669
25670 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
25671 Fix typo.
25672
25673 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
25674
25675 * image-mode.el (image-toggle-display-image): Signal an error if
25676 not in Image mode.
25677 (image-transform-mode, image-transform-resize)
25678 (image-transform-set-rotation): Doc fix.
25679 (image-transform-set-resize): Delete.
25680 (image-transform-set-scale, image-transform-fit-to-height)
25681 (image-transform-fit-to-width): Handle image-toggle-display-image
25682 and image-transform-resize directly.
25683
25684 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
25685
25686 * doc-view.el (doc-view-fit-width-to-window)
25687 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
25688 New functions for fitting the shown image to the Emacs window size.
25689 (doc-view-mode-map): Add bindings for the new functions.
25690
25691 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
25692
25693 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
25694 Fix typo in docstring.
25695
25696 2011-04-08 Eli Zaretskii <eliz@gnu.org>
25697
25698 * files.el (file-size-human-readable): Produce one digit after
25699 decimal, like "ls -lh" does.
25700
25701 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
25702 the file size representation.
25703
25704 * simple.el (list-processes): If async subprocesses are not
25705 available, error out with a clear error message.
25706
25707 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
25708
25709 * help.el (help-form-show): New function, to be called from C.
25710 Put help-form output in a buffer named differently than *Help*.
25711
25712 2011-04-08 Eli Zaretskii <eliz@gnu.org>
25713
25714 * files.el (file-size-human-readable): New function.
25715
25716 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
25717 computing the representation inline. Don't require `cl'.
25718
25719 2011-04-08 Glenn Morris <rgm@gnu.org>
25720
25721 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
25722
25723 * net/browse-url.el (browse-url-firefox):
25724 Test system-type, not system-configuration.
25725
25726 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
25727 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
25728 Use log-edit-empty-buffer-p. (Bug#7598)
25729
25730 * net/rlogin.el (rlogin-process-connection-type): Simplify.
25731 (rlogin-mode-map): Initialize in the defvar.
25732 (rlogin): Use ignore-errors.
25733
25734 * replace.el (occur-mode-map): Some fixes for menu items.
25735
25736 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
25737
25738 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
25739
25740 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
25741
25742 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
25743 issuing unused warnings.
25744
25745 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
25746 macro directly.
25747
25748 * simple.el: Lisp reimplement of list-processes. Based on an
25749 earlier reimplementation by Leo Liu, but using tabulated-list.el.
25750 (process-menu-mode): New major mode.
25751 (list-processes--refresh, list-processes):
25752 (process-menu-visit-buffer): New functions.
25753
25754 * files.el (save-buffers-kill-emacs): Don't assume any return
25755 value of list-processes, which is undocumented anyway.
25756
25757 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
25758
25759 * emacs-lisp/tabulated-list.el: New file.
25760
25761 * emacs-lisp/package.el: Use Tabulated List mode.
25762 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
25763 (package-menu-mode): Derive from tabulated-list-mode. Set up the
25764 table format using Tabulated List mode variables.
25765 (package--push): New macro, replacing package-list-maybe-add.
25766 (package-menu--generate): Use package--push. Renamed from
25767 package--generate-package-list.
25768 (package-menu-refresh, list-packages): Use it.
25769 (package-menu--print-info): Rename from package-print-package.
25770 Return insertion data instead of inserting it directly.
25771 (package-menu-describe-package, package-menu-execute):
25772 Use tabulated-list-get-id.
25773 (package-menu-mark-delete, package-menu-mark-install)
25774 (package-menu-mark-unmark, package-menu-backup-unmark)
25775 (package-menu-mark-obsolete-for-deletion):
25776 Use tabulated-list-put-tag.
25777 (package--list-packages, package-menu-revert)
25778 (package-menu-get-package, package-menu-get-version)
25779 (package-menu-sort-by-column): Functions deleted.
25780 (package-menu-package-list, package-menu-sort-key): Vars deleted.
25781 (package-menu--status-predicate, package-menu--version-predicate)
25782 (package-menu--name-predicate)
25783 (package-menu--description-predicate): Handle arguments in the
25784 Tabulated List format.
25785 (package-list-packages-no-fetch): Call list-packages.
25786
25787 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
25788
25789 * files.el (after-find-file-from-revert-buffer): Remove variable.
25790 (after-find-file): Don't bind it.
25791 (revert-buffer-in-progress-p): New variable.
25792 (revert-buffer): Bind it.
25793 Pass nil for `after-find-file-from-revert-buffer'.
25794
25795 * saveplace.el (save-place-find-file-hook): Use new variable
25796 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
25797
25798 2011-04-06 Glenn Morris <rgm@gnu.org>
25799
25800 * Makefile.in (AUTOGEN_VCS): New variable.
25801 (autoloads): Use $AUTOGEN_VCS.
25802
25803 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
25804 * calendar/calendar.el (calendar-mode-map):
25805 Check for toolkit scroll bars. (Bug#8305)
25806
25807 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
25808
25809 * minibuffer.el (completion-in-region--postch)
25810 (completion-in-region-mode): Remove unnecessary messages.
25811
25812 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
25813
25814 * font-lock.el (font-lock-refresh-defaults):
25815 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
25816 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
25817
25818 * info.el (Info-directory-list, Info-read-node-name-2)
25819 (Info-split-parameter-string): Doc fixes.
25820 (Info-virtual-nodes): Reflow docstring.
25821 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
25822 (Info-apropos-toc-nodes, info-finder, Info-get-token)
25823 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
25824 Fix typos in docstrings.
25825 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
25826 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
25827 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
25828 (Info-restore-desktop-buffer): Mark unused parameters.
25829 (Info-directory-find-file, Info-directory-find-node)
25830 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
25831 (Info-virtual-index-find-node, Info-apropos-find-file)
25832 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
25833 Mark unused parameters; fix typos in docstrings.
25834 (Info-virtual-index): Remove unused local variable `nodename'.
25835
25836 2011-04-05 Deniz Dogan <deniz@dogan.se>
25837
25838 * net/rcirc.el: Update my e-mail address.
25839 (rcirc-mode-map): Remove M-o binding.
25840
25841 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
25842
25843 * startup.el (command-line): Save the cursor's theme-face
25844 directly, instead of using face-override-spec.
25845
25846 * custom.el (load-theme): Minor optimization in assigning faces.
25847
25848 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
25849
25850 * help-fns.el (describe-variable): Complete all variables having
25851 documentation, including keywords.
25852 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
25853
25854 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
25855
25856 Convert to lexical-binding.
25857
25858 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
25859 (bs--get-marked-string, bs--get-modified-string)
25860 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
25861 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
25862 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
25863
25864 * ehelp.el (electric-help-execute-extended)
25865 (electric-help-ctrl-x-prefix):
25866 * hexl.el (hexl-revert-buffer-function):
25867 * linum.el (linum-after-change, linum-after-scroll):
25868 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
25869
25870 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
25871
25872 2011-04-04 Daiki Ueno <ueno@unixuser.org>
25873
25874 * epa-dired.el:
25875 * epa-mail.el:
25876 * epa-hook.el:
25877 * epa-file.el:
25878 * epa.el:
25879 * epg.el: Use lexical binding.
25880
25881 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
25882
25883 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
25884
25885 * textmodes/flyspell.el (flyspell-word): Recognize default
25886 dictionary case for flyspell-mark-duplications-exceptions.
25887 Use regexp matching for languages.
25888 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
25889 default dictionary (Bug#7926).
25890
25891 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
25892
25893 * emacs-lisp/package.el (package--with-work-buffer):
25894 Recognize https URLs.
25895
25896 * net/network-stream.el: Move from gnus/proto-stream.el.
25897 Change prefix to network-stream throughout.
25898 (open-protocol-stream): Merge into open-network-stream, leaving
25899 open-protocol-stream as an alias. Handle nil BUFFER args.
25900
25901 * subr.el (open-network-stream): Move to net/network-stream.el.
25902
25903 2011-04-02 Glenn Morris <rgm@gnu.org>
25904
25905 * find-dired.el (find-exec-terminator): New option.
25906 (find-ls-option): Test for -ls support.
25907 (find-ls-subdir-switches): Test for -b in find-ls-option.
25908 (find-dired, find-grep-dired): Doc fixes.
25909 (find-dired): Use find-exec-terminator.
25910
25911 * find-dired.el (find-ls-option, find-ls-subdir-switches)
25912 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
25913 (find-name-arg): Remove purecopy.
25914
25915 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
25916 (grep-compute-defaults): Check for `-exec COMMAND +' support.
25917 Set grep-find-use-xargs, grep-find-command, and grep-find-template
25918 accordingly. Don't add the null-device if not needed.
25919
25920 * files.el (save-some-buffers): Doc fix.
25921
25922 2011-04-02 Eli Zaretskii <eliz@gnu.org>
25923
25924 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
25925
25926 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
25927
25928 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
25929 Use `dolist' rather than `mapcar'.
25930
25931 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
25932
25933 Add lexical binding.
25934
25935 * subr.el (apply-partially): Use new closures rather than CL.
25936 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
25937 (dolist, dotimes): Use slightly different expansion for lexical code.
25938 (functionp): Move to C.
25939 (letrec): New macro.
25940 (with-wrapper-hook): Use it and apply-partially instead of CL.
25941 (eval-after-load): Preserve lexical-binding.
25942 (save-window-excursion, with-output-to-temp-buffer): Turn them
25943 into macros.
25944
25945 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
25946
25947 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
25948 than the arglist.
25949 (help-add-fundoc-usage): Don't add `Not documented'.
25950 (help-function-arglist): Handle closures, subroutines, and new
25951 byte-code-functions.
25952 (help-make-usage): Remove leading underscores.
25953 (describe-function-1): Handle closures.
25954 (describe-variable): Use special-variable-p for completion.
25955
25956 * files.el (lexical-binding): Declare safe.
25957
25958 * emacs-lisp/pcase.el: Don't use destructuring-bind.
25959 (pcase--memoize): Rename from pcase-memoize. Change weakness.
25960 (pcase): Add `let' pattern.
25961 Change memoization so it actually works.
25962 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
25963 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
25964 <let>: New case.
25965
25966 * emacs-lisp/macroexp.el: Use lexical binding.
25967 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
25968 Don't convert ' to #' without checking that it's indeed quoting
25969 a lambda.
25970
25971 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
25972 Use eval-sexp-add-defvars.
25973 (eval-sexp-add-defvars): New fun.
25974
25975 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
25976
25977 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
25978 Don't autoload.
25979 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
25980 than the internal `byte-compile-lambda'.
25981 (defmethod): Don't hide code under quotes.
25982 (eieio-defmethod): New `code' argument.
25983
25984 * emacs-lisp/eieio-comp.el: Remove.
25985
25986 * emacs-lisp/edebug.el (edebug-eval-defun)
25987 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
25988 (edebug-toggle): Avoid `eval'.
25989
25990 * emacs-lisp/disass.el (disassemble-internal): Handle new
25991 `closure' objects.
25992 (disassemble-1): Handle new byte codes.
25993
25994 * emacs-lisp/cl.el (pushnew): Silence warning.
25995
25996 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
25997 (cl-byte-compile-throw): Remove.
25998 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
25999
26000 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
26001 closures.
26002
26003 * emacs-lisp/cconv.el: New file.
26004
26005 * emacs-lisp/bytecomp.el: Use lexical binding instead of
26006 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
26007 (byte-compile-initial-macro-environment):
26008 Handle declare-function here.
26009 (byte-compile--lexical-environment): New var.
26010 (byte-stack-ref, byte-stack-set, byte-discardN)
26011 (byte-discardN-preserve-tos): New lap codes.
26012 (byte-interactive-p): Don't use any more.
26013 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
26014 New macros.
26015 (byte-compile-lapcode): Use them and handle new lap codes.
26016 (byte-compile-obsolete): Remove.
26017 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
26018 (byte-compile-arglist-warn): Check late def of inlinable funs.
26019 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
26020 since they should have been expanded by now.
26021 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
26022 (byte-compile-from-buffer): Remove unused second arg.
26023 (byte-compile-preprocess): New function.
26024 (byte-compile-toplevel-file-form): New function to distinguish
26025 file-form calls from outside from file-form calls from hunk-handlers.
26026 (byte-compile-file-form): Simplify.
26027 (byte-compile-file-form-defsubst): Remove.
26028 (byte-compile-file-form-defmumble): Simplify now that
26029 byte-compile-lambda always returns a byte-code-function.
26030 (byte-compile): Preprocess.
26031 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
26032 Remove, not used any more.
26033 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
26034 (byte-compile-make-args-desc): New funs.
26035 (byte-compile-lambda): Handle lexical functions. Always return
26036 a byte-code-function.
26037 (byte-compile-reserved-constants): New var, to make up room for
26038 closed-over variables.
26039 (byte-compile-constants-vector): Obey it.
26040 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
26041 (byte-compile-macroexpand-declare-function): New function.
26042 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
26043 byte-code-functions.
26044 (byte-compile-form): Check obsolescence here.
26045 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
26046 (byte-compile-variable-ref): Remove.
26047 (byte-compile-dynamic-variable-op): New fun.
26048 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
26049 (byte-compile-variable-set): New funs.
26050 (byte-compile-discard): Add 2 args.
26051 (byte-compile-stack-ref, byte-compile-stack-set)
26052 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
26053 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
26054 macroexpand-all instead.
26055 (byte-compile-quote-form): Remove.
26056 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
26057 (byte-compile-bind, byte-compile-unbind): New funs.
26058 (byte-compile-let): Handle let* and lexical binding.
26059 (byte-compile-let*): Remove.
26060 (byte-compile-catch, byte-compile-unwind-protect)
26061 (byte-compile-track-mouse, byte-compile-condition-case):
26062 Handle a new :fun-body form, used for lexical scoping.
26063 (byte-compile-save-window-excursion)
26064 (byte-compile-with-output-to-temp-buffer): Remove.
26065 (byte-compile-defun): Simplify.
26066 (byte-compile-stack-adjustment): New fun.
26067 (byte-compile-out): Use it.
26068 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
26069
26070 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
26071 handler any more.
26072
26073 * emacs-lisp/byte-opt.el: Use lexical binding.
26074 (byte-inline-lapcode): Remove (to bytecomp).
26075 (byte-compile-inline-expand): Pay attention to inlining to/from
26076 lexically bound code.
26077 (byte-compile-unfold-lambda): Don't handle byte-code-functions
26078 any more.
26079 (byte-optimize-form-code-walker): Don't handle save-window-excursion
26080 any more and don't call compiler-macros.
26081 (byte-compile-splice-in-already-compiled-code): Remove.
26082 (byte-code): Don't inline any more.
26083 (disassemble-offset): Receive `bytes' as argument rather than via
26084 dynamic scoping.
26085 (byte-compile-tag-number): Declare before first use.
26086 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
26087 `return' even if make-spliceable.
26088 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
26089 obsolete interactive-p.
26090 (byte-optimize-lapcode): Optimize new lap-codes.
26091 Don't trip up on new form of `byte-constant' lap code.
26092
26093 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
26094
26095 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
26096
26097 * custom.el (custom-initialize-default, custom-declare-variable):
26098 Use `defvar'.
26099
26100 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
26101 New variables.
26102 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
26103 (COMPILE_FIRST): Add macroexp and cconv.
26104 * makefile.w32-in: Mirror changes in Makefile.in.
26105
26106 * vc/cvs-status.el:
26107 * vc/diff-mode.el:
26108 * vc/log-edit.el:
26109 * vc/log-view.el:
26110 * vc/smerge-mode.el:
26111 * textmodes/bibtex-style.el:
26112 * textmodes/css-mode.el:
26113 * startup.el:
26114 * uniquify.el:
26115 * minibuffer.el:
26116 * newcomment.el:
26117 * reveal.el:
26118 * server.el:
26119 * mpc.el:
26120 * emacs-lisp/smie.el:
26121 * doc-view.el:
26122 * dired.el:
26123 * abbrev.el: Use lexical binding.
26124
26125 2011-04-01 Eli Zaretskii <eliz@gnu.org>
26126
26127 * info.el (info-display-manual): New function.
26128
26129 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
26130
26131 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
26132
26133 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
26134
26135 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
26136 an entry for that server in rcirc-authinfo. (Bug#8385)
26137
26138 2011-03-31 Glenn Morris <rgm@gnu.org>
26139
26140 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
26141
26142 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
26143
26144 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
26145
26146 * progmodes/python.el (python-default-interpreter)
26147 (python-python-command-args, python-jython-command-args)
26148 (python-which-shell, python-which-args, python-which-bufname)
26149 (python-file-queue, python-comint-output-filter-function)
26150 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
26151 variables and functions.
26152
26153 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
26154
26155 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
26156 (completion-in-region-mode): New minor mode.
26157 (completion-in-region): Use it.
26158 (completion-in-region--data, completion-in-region-mode-map): New vars.
26159 (completion-in-region--postch): New function.
26160 (completion--capf-misbehave-funs, completion--capf-safe-funs):
26161 New vars.
26162 (completion--capf-wrapper): New function.
26163 (completion-at-point): Use it to track well-behavedness of
26164 hook functions.
26165 (completion-help-at-point): New command.
26166
26167 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
26168
26169 * vc/add-log.el (add-change-log-entry): Don't use whitespace
26170 syntax class to search for whitespace on a single line
26171 (Message-ID: <4D938140.4030905@redhat.com>).
26172
26173 2011-03-30 Leo Liu <sdl.web@gmail.com>
26174
26175 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
26176 New commands.
26177 (edit-abbrevs-map): Bind them here.
26178 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
26179
26180 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
26181
26182 * allout.el (allout-hide-by-annotation, allout-flag-region):
26183 Reduce possibility of overlay leakage by making them volatile.
26184
26185 * allout-widgets.el (allout-widgets-tally): Define as nil so the
26186 hash is not shared between buffers. Mode initialization is
26187 responsible for giving it a useful starting value.
26188 (allout-item-span): Reduce possibility of overlay leakage by
26189 making them volatile.
26190 (allout-widgets-count-buttons-in-region): Add diagnostic function
26191 for tracking down button overlay leaks.
26192
26193 2011-03-29 Leo Liu <sdl.web@gmail.com>
26194
26195 * ido.el (ido-read-internal): Use the default history var
26196 minibuffer-history if no HISTORY is specified.
26197
26198 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
26199
26200 * net/imap.el (imap-shell-open, imap-process-connection-type):
26201 Use imap-process-connection-type for 'shell' streams as well as
26202 Kerberos, SSL, other subprocesses.
26203
26204 2011-03-28 Leo Liu <sdl.web@gmail.com>
26205
26206 * abbrev.el (abbrev-table-empty-p): New function.
26207 (prepare-abbrev-list-buffer): Place empty abbrev tables after
26208 nonempty ones. (Bug#5937)
26209
26210 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
26211
26212 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
26213
26214 2011-03-27 Leo Liu <sdl.web@gmail.com>
26215
26216 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
26217 for foreground and background colors.
26218 (ansi-color-make-color-map): Adapt.
26219
26220 2011-03-25 Leo Liu <sdl.web@gmail.com>
26221
26222 * midnight.el (midnight-time-float): Remove. Note it calculates
26223 the microsecond component incorrectly and seconds-to-time does the
26224 same job.
26225 Remove redundant (require 'timer).
26226
26227 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
26228 (ido-completions): Remove unused arguments. (Bug#8329)
26229
26230 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
26231
26232 * minibuffer.el (completion--flush-all-sorted-completions):
26233 Remove itself from hook.
26234 (completion-at-point): Let the functions perform the completion
26235 immediately and return nil or t.
26236 * comint.el (comint-dynamic-complete-functions): Now identical to
26237 completion-at-point-functions.
26238 (comint-dynamic-list-input-ring): Remove unused var `index'.
26239 (comint--match-partial-filename, comint--unquote&expand-filename):
26240 New funs, split from comint-match-partial-filename.
26241 (comint-dynamic-complete): Use completion-at-point.
26242 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
26243
26244 2011-03-24 Drew Adams <drew.adams@oracle.com>
26245
26246 * thingatpt.el: Support `defun'.
26247
26248 2011-03-23 Leo Liu <sdl.web@gmail.com>
26249
26250 * abbrevlist.el: Move to obsolete/abbrevlist.el.
26251
26252 * help-mode.el (help-mode-finish): Tweak regexp.
26253
26254 2011-03-23 Glenn Morris <rgm@gnu.org>
26255
26256 * eshell/esh-opt.el (eshell-eval-using-options):
26257 Do not bind unused local variable `eshell-option-stub'.
26258
26259 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
26260
26261 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
26262
26263 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
26264 keymap variable in `with-no-warnings' to avoid a warning when the
26265 keymap has been already `defconst'ed.
26266
26267 2011-03-22 Leo Liu <sdl.web@gmail.com>
26268
26269 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
26270 encode all chars in abbrevs; otherwise use emacs-mule or
26271 utf-8-emacs. (Bug#8308)
26272
26273 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
26274
26275 * simple.el (backward-delete-char-untabify):
26276 Avoid warning about using `delete-backward-char'.
26277
26278 * image.el (image-type-file-name-regexps): Make it variable.
26279 `imagemagick-register-types' modifies it, and the user may want
26280 to add new extensions for known image types.
26281 (imagemagick-register-types): Throw error if not using ImageMagick.
26282
26283 2011-03-22 Leo Liu <sdl.web@gmail.com>
26284
26285 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
26286 located before rcirc-prompt-end-marker.
26287 (rcirc-complete): Error if point is not after rcirc prompt.
26288 Handle the case when table is nil.
26289 (rcirc-user-authenticated): Define to fix compiler warning.
26290
26291 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
26292
26293 * custom.el (custom--inhibit-theme-enable): Make it affect only
26294 custom-theme-set-variables and custom-theme-set-faces.
26295 (provide-theme): Ignore custom--inhibit-theme-enable.
26296 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
26297 (custom-enabling-themes): Delete variable.
26298 (enable-theme): Accept only loaded themes as arguments.
26299 Ignore the special custom-enabled-themes variable.
26300 (custom-enabled-themes): Forbid themes from setting this.
26301 Eliminate use of custom-enabling-themes.
26302 (custom-push-theme): Quote "changed" custom var entry.
26303
26304 2011-03-21 Leo Liu <sdl.web@gmail.com>
26305
26306 * ido.el (ido-read-internal): Add ido-selected to history instead
26307 of user input.
26308
26309 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
26310
26311 * subr.el (deferred-action-list, deferred-action-function):
26312 Mark obsolete.
26313
26314 2011-03-21 Leo Liu <sdl.web@gmail.com>
26315
26316 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
26317 change on 2011-02-13 (bug#8309).
26318
26319 * minibuffer.el (read-file-name-function): Change default value.
26320 (read-file-name--defaults): Rename from read-file-name-defaults.
26321 (read-file-name-default): Rename from read-file-name.
26322 (read-file-name): Call read-file-name-function.
26323
26324 2011-03-21 Glenn Morris <rgm@gnu.org>
26325
26326 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
26327 Doc fixes.
26328
26329 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
26330
26331 * cus-theme.el: Add missing provide statement.
26332 (customize-create-theme): Extract theme value correctly.
26333 (custom-theme-visit-theme): Autoload.
26334 (customize-create-theme): Prompt before inserting default faces.
26335
26336 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
26337
26338 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
26339 units and musical notes.
26340
26341 2011-03-20 Leo Liu <sdl.web@gmail.com>
26342
26343 * ido.el (ido-read-internal): Use completing-read-default.
26344 (ido-completing-read): Fix compatibility with completing-read.
26345
26346 2011-03-20 Christian Ohler <ohler@gnu.org>
26347
26348 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
26349 (ert-delete-all-tests): Use `called-interactively-p' rather than
26350 `interactive-p'.
26351 (ert--make-xrefs-region): Respect END.
26352
26353 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
26354
26355 * dired-aux.el (dired-create-directory): Signal an error if the
26356 directory already exists (Bug#8246).
26357
26358 * facemenu.el (list-colors-display): Call list-faces-display
26359 inside with-help-window.
26360 (list-colors-print): Use display property to align the final
26361 column, instead of checking window-width.
26362
26363 2011-03-19 Eli Zaretskii <eliz@gnu.org>
26364
26365 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
26366 windows-nt systems.
26367 (emerge-protect-metachars): Quote correctly for ms-dos and
26368 windows-nt systems.
26369
26370 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
26371
26372 * info.el (info-initialize): Replace all uses of `:' with
26373 path-separator for compatibility with non-Unix systems.
26374 Cache quoting of path-separator. (Bug#8258)
26375
26376 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
26377
26378 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
26379 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
26380 (mouse-avoidance-mode): Fix typos in docstrings.
26381
26382 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
26383
26384 * startup.el (package-subdirectory-regexp): Move from package.el.
26385 Omit \\` and \\', and let callers add them.
26386
26387 * emacs-lisp/package.el (package-strip-version)
26388 (package-load-all-descriptors): Add \\` and \\' to
26389 package-subdirectory-regexp before using it.
26390 (package-untar-buffer): New arg DIR; ensure that file untars only
26391 into this expected directory. Remove superfluous delete-region.
26392 (package-unpack): Caller changed.
26393 (package-tar-file-info): Use package-subdirectory-regexp.
26394
26395 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
26396
26397 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
26398 diff-mode-shared-map (bug#8284).
26399 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
26400
26401 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
26402
26403 * calendar/time-date.el (format-seconds): Use assoc instead of
26404 assoc-string, since assoc-string doesn't exist in XEmacs.
26405
26406 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
26407
26408 * custom.el (custom-known-themes): Reflow docstring.
26409 (custom-theme-load-path): Fix typo in docstring.
26410 (load-theme): Fix typo in error message.
26411 (custom-available-themes, custom-variable-theme-value):
26412 Use `let', not `let*'.
26413
26414 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
26415
26416 * calc/README: Mention inclusion of musical notes.
26417
26418 * calc/calc-units.el (calc-lu-quant): Rename from
26419 `calc-logunits-quantity'.
26420 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
26421 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
26422 (calc-db): Rename from `calc-dblevel'.
26423 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
26424 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
26425 (calc-np): Rename from `calc-nplevel'.
26426 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
26427 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
26428 (calc-lu-plus): Rename from `calc-logunits-add'.
26429 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
26430 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
26431 (calc-lu-minus): Rename from `calc-logunits-sub'.
26432 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
26433 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
26434 (calc-lu-times): Rename from `calc-logunits-mul'.
26435 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
26436 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
26437 (calc-lu-divide): Rename from `calc-logunits-div'.
26438 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
26439 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
26440
26441 * calc/calc-ext.el (calc-init-extensions): Update the names of the
26442 functions being autoloaded.
26443
26444 * calc/calc.el (calc-lu-power-reference): Rename from
26445 `calc-logunits-power-reference'.
26446 (calc-lu-field-reference): Rename from
26447 `calc-logunits-field-reference'.
26448
26449 * calc/calc-help.el (calc-l-prefix-help):
26450 Mention musical note functions.
26451
26452 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
26453
26454 * minibuffer.el (completion-all-sorted-completions):
26455 Use :completion-cycle-penalty text property if present.
26456
26457 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
26458
26459 * allout.el (allout-yank-processing): Adjust for new rebulleting
26460 regime so bullet being yanked is used without prompting the user
26461 for a choice.
26462
26463 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
26464
26465 * startup.el (command-line): Warn the user that _emacs is deprecated.
26466
26467 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
26468
26469 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
26470 (delphi-verbose, delphi-comment-face, delphi-string-face)
26471 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
26472 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
26473 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
26474 (delphi-new-comment-line, delphi-font-lock-defaults)
26475 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
26476 Fix typos in docstrings.
26477
26478 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
26479
26480 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
26481 Invert the roles of character and string values for INSTEAD, so a
26482 string is used for the more common case of a defaulting prompt.
26483
26484 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
26485
26486 * progmodes/ruby-mode.el (ruby-backward-sexp):
26487 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
26488 * play/gamegrid.el (gamegrid-make-face):
26489 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
26490 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
26491 * notifications.el (notifications-notify):
26492 * net/xesam.el (xesam-search-engines):
26493 * net/quickurl.el (quickurl-list-insert):
26494 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
26495
26496 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
26497
26498 * startup.el (command-line): Update package subdirectory regexp.
26499
26500 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
26501
26502 * allout.el (allout-abbreviate-flattened-numbering)
26503 (allout-mode-deactivate-hook): Fix up obsolescence "date".
26504
26505 * subr.el (read-char-choice): Only show the cursor after the prompt,
26506 not after the answer.
26507
26508 2011-03-15 Kevin Ryde <user42@zip.com.au>
26509
26510 * help-fns.el (variable-at-point): Skip leading quotes, if any
26511 (bug#8253).
26512
26513 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
26514
26515 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
26516 warning message.
26517
26518 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
26519
26520 * shell.el (shell): When called interactively, offer to change the
26521 shell file name on remote hosts.
26522
26523 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
26524
26525 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
26526 integration for LDAP parameters. The host, base, user or binddn,
26527 and secret tokens can be specified in a netrc file, for instance.
26528 This is optional because an `auth-source' parameter must be
26529 specified in the search attributes.
26530
26531 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
26532
26533 * help.el (describe-mode): Link to the mode's definition (bug#8185).
26534
26535 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
26536
26537 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
26538 into declaration. Remove redundant and harmful binding.
26539
26540 2011-03-12 Eli Zaretskii <eliz@gnu.org>
26541
26542 * files.el (file-ownership-preserved-p): Pass `integer' as an
26543 explicit 2nd argument to `file-attributes'. If the file's owner
26544 is the Administrators group on Windows, and the current user is
26545 Administrator, consider that a match.
26546
26547 * server.el (server-ensure-safe-dir): Consider server directory
26548 safe on MS-Windows if its owner is the Administrators group while
26549 the current Emacs user is Administrator. Use `=' to compare
26550 numerical UIDs, since they could be integers or floats.
26551
26552 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
26553
26554 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
26555
26556 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
26557
26558 Sync with Tramp 2.2.1.
26559
26560 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
26561
26562 * net/trampver.el: Update release number.
26563
26564 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
26565
26566 * progmodes/compile.el (compilation--previous-directory): Fix up
26567 various nil/dead-marker mismatches (bug#8014).
26568 (compilation-directory-properties, compilation-error-properties):
26569 Don't call it at a position past the one we're about to change.
26570
26571 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
26572 Disable obsolescence warnings in the file that declares it.
26573
26574 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
26575
26576 * allout-widgets.el (allout-widgets-tally):
26577 Initialize allout-widgets-tally as a hash table rather than nil to
26578 prevent mode-line redisplay warnings. Also, clarify the module
26579 description and fix a comment typo.
26580
26581 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
26582
26583 * help-fns.el (describe-variable): Don't complete keywords.
26584 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
26585
26586 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
26587
26588 * emacs-lisp/package.el (package-version-join): Impose a standard
26589 string representation for pre/alpha/beta version lists.
26590 (package-unpack-single): Standardize the directory name by passing
26591 it through package-version-join.
26592 (package-strip-rcs-id): Accept any version string that does not
26593 signal an error in version-to-list.
26594
26595 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
26596
26597 * simple.el (delete-trailing-whitespace): Return nil for the
26598 benefit of `write-file-functions'.
26599
26600 2011-03-10 Glenn Morris <rgm@gnu.org>
26601
26602 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
26603
26604 * vc/vc-git.el (vc-git-program): New option.
26605 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
26606 (vc-git--call): Use it.
26607
26608 * eshell/esh-util.el (eshell-condition-case): Doc fix.
26609
26610 * cus-edit.el (Custom-newline): If no button at point, look
26611 for a subgroup button at start-of-line. (Bug#2298)
26612
26613 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
26614
26615 2011-03-10 Julien Danjou <julien@danjou.info>
26616
26617 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
26618 `cursor-type' is nil.
26619
26620 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
26621
26622 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
26623
26624 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
26625
26626 * allout.el: Change so yank of distinctive-bullet items
26627 preserves the existing header prefix, rebulleting it if necessary,
26628 rather than replacing it. This is necessary for proper operation
26629 of cooperative addons like allout-widgets.
26630 (allout-make-topic-prefix, allout-rebullet-heading):
26631 Change SOLICIT arg to INSTEAD, and interpret additionally a string
26632 value as alternate bullet to be used, instead of prompting the user
26633 for a bullet character.
26634
26635 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
26636
26637 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
26638 Do not use `tramp-file-name-port', because this returns also
26639 `tramp-default-port'.
26640
26641 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
26642
26643 * net/rcirc.el (rcirc-handler-001): Remove useless
26644 with-rcirc-process-buffer.
26645 (rcirc-check-auth-status): Swap arguments to string-match.
26646
26647 2011-03-09 Glenn Morris <rgm@gnu.org>
26648
26649 * shell.el (shell-mode):
26650 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
26651
26652 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
26653 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
26654
26655 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
26656
26657 * emacs-lisp/package.el (package-refresh-contents)
26658 (package-menu-execute): Use condition-case-no-debug.
26659
26660 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
26661
26662 * simple.el (shell-command-to-string): Use `process-file'.
26663
26664 * emacs-lisp/package.el (package-tar-file-info): Handle also
26665 remote files.
26666
26667 * emacs-lisp/package-x.el (package-upload-buffer-internal):
26668 Use `equal' for upload base check.
26669
26670 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
26671
26672 * textmodes/texinfo.el (texinfo-environments):
26673 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
26674
26675 2011-03-08 Glenn Morris <rgm@gnu.org>
26676
26677 * cus-start.el (cursor-in-non-selected-windows):
26678 Fix :set quoting oddness. (Bug#8192)
26679
26680 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
26681 in some setf expressions. (Bug#2159)
26682
26683 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
26684
26685 * custom.el (custom-available-themes): Return themes in
26686 alphabetical order.
26687
26688 See ChangeLog.15 for earlier changes.
26689
26690 ;; Local Variables:
26691 ;; coding: utf-8
26692 ;; End:
26693
26694 Copyright (C) 2011-2013 Free Software Foundation, Inc.
26695
26696 This file is part of GNU Emacs.
26697
26698 GNU Emacs is free software: you can redistribute it and/or modify
26699 it under the terms of the GNU General Public License as published by
26700 the Free Software Foundation, either version 3 of the License, or
26701 (at your option) any later version.
26702
26703 GNU Emacs is distributed in the hope that it will be useful,
26704 but WITHOUT ANY WARRANTY; without even the implied warranty of
26705 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
26706 GNU General Public License for more details.
26707
26708 You should have received a copy of the GNU General Public License
26709 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.