88bc79ad707862f324037734505d909ef64bc99f
[bpt/emacs.git] / lisp / ChangeLog
1 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
4 Move the declaration from C.
5 (read-minibuffer, eval-minibuffer): Move from C.
6 (completion-setup-function): Avoid minibuffer-completion-contents.
7
8 2013-05-03 Leo Liu <sdl.web@gmail.com>
9
10 * progmodes/octave.el (octave-font-lock-keywords): Do not
11 dehighlight 'end' in comments or strings.
12 (octave-completing-read, octave-goto-function-definition):
13 New helpers.
14 (octave-help-buffer): New user variable.
15 (octave-help-file, octave-help-function): New button types.
16 (octave-help): New command and bind it to C-h ;.
17 (octave-find-definition): New command and bind it to M-.
18 (user-error): Alias to error if not defined.
19
20 2013-05-02 Leo Liu <sdl.web@gmail.com>
21
22 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
23 for \. (bug#14332)
24 (octave-font-lock-keywords): Include [ and {.
25
26 2013-05-02 Leo Liu <sdl.web@gmail.com>
27
28 * progmodes/octave.el (inferior-octave-startup-file): Change default.
29 (inferior-octave): Remove calling comint-mode and return the buffer.
30 (inferior-octave-startup): Cosmetic changes.
31
32 2013-05-02 Leo Liu <sdl.web@gmail.com>
33
34 * progmodes/octave.el (octave-syntax-propertize-function):
35 Include the case when ' is at line beginning. (Bug#14336)
36
37 2013-05-02 Glenn Morris <rgm@gnu.org>
38
39 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
40 * desktop.el (vc-dir-mode): Just autoload it here.
41
42 2013-05-02 Alan Mackenzie <acm@muc.de>
43
44 Eliminate variable c-standard-font-lock-fontify-region-function.
45 * progmodes/cc-mode.el
46 (c-standard-font-lock-fontify-region-function): Remove.
47 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
48
49 2013-05-01 Leo Liu <sdl.web@gmail.com>
50
51 * progmodes/octave.el: Compatible with older emacs-24 releases.
52 (inferior-octave-has-built-in-variables): Remove. Built-in
53 variables were removed from Octave in 2007.
54 (inferior-octave-startup): Fix uses.
55 (comint-line-beginning-position): Remove compatibility code for
56 emacs 21.
57
58 2013-05-01 Juri Linkov <juri@jurta.org>
59
60 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
61
62 2013-05-01 Juri Linkov <juri@jurta.org>
63
64 * comint.el (comint-previous-matching-input): Don't print message
65 "History item: %d" when `isearch-mode' is active.
66 (comint-history-isearch-message): Print message "History item: %d"
67 when `comint-input-ring-index' is not empty and this function is
68 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
69
70 2013-05-01 Leo Liu <sdl.web@gmail.com>
71
72 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
73 definitions. Use completion-at-point to insert keywords.
74 (octave-abbrev-start): Remove.
75 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
76
77 2013-04-30 Leo Liu <sdl.web@gmail.com>
78
79 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
80 change.
81
82 2013-04-30 Alan Mackenzie <acm@muc.de>
83
84 Handle arbitrarily long C++ member initialisation lists.
85 * progmodes/cc-engine.el (c-back-over-member-initializers):
86 new function.
87 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
88 (most) member init lists.
89
90 2013-04-30 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
91
92 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
93 variable.
94
95 2013-04-30 Leo Liu <sdl.web@gmail.com>
96
97 * progmodes/octave.el (octave-variables): Remove. No builtin
98 variables any more. All converted to functions.
99 (octave-font-lock-keywords, octave-completion-at-point-function):
100 Fix uses.
101 (octave-font-lock-texinfo-comment): New user variable.
102 (octave-texinfo-font-lock-keywords): New variable for texinfo
103 comment block.
104 (octave-function-comment-block): New face.
105 (octave-font-lock-texinfo-comment): New function.
106 (octave-mode): Font lock texinfo comment block.
107
108 2013-04-29 Leo Liu <sdl.web@gmail.com>
109
110 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
111 indexing expression.
112 (octave-continuation-string): Do not use \.
113 (inferior-octave-complete-impossible): Remove.
114 (inferior-octave-completion-table)
115 (inferior-octave-completion-at-point): Remove its uses.
116 (inferior-octave-startup): completion_matches was introduced to
117 Octave in 1996 so safe to assume it.
118 (octave-function-file-comment): Improve to follow how Octave does it.
119 (octave-update-function-file-comment): Tweak.
120
121 2013-04-29 Leo Liu <sdl.web@gmail.com>
122
123 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
124 (inferior-octave-startup): Remove inferior-octave-startup-hook.
125 (octave-function-file-comment): Fix typo.
126 (octave-sync-function-file-names): Use read-char-choice.
127
128 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
129
130 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
131 to t for the less important warnings.
132
133 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
134
135 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
136
137 2013-04-27 Glenn Morris <rgm@gnu.org>
138
139 * vc/log-view.el (log-view-current-entry):
140 Treat "---" separator lines as part of the following rev. (Bug#14169)
141
142 2013-04-27 Juri Linkov <juri@jurta.org>
143
144 * subr.el (read-number): Doc fix about using it by interactive
145 code letter `n'. (Bug#14254)
146
147 2013-04-27 Juri Linkov <juri@jurta.org>
148
149 * desktop.el (desktop-auto-save-timeout): New option.
150 (desktop-file-checksum): New variable.
151 (desktop-save): Add optional arg `auto-save' and don't auto-save
152 if nothing changed.
153 (desktop-auto-save-timer): New variable.
154 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
155 (after-init-hook): Call `desktop-auto-save-set-timer'.
156 Suggested by Reuben Thomas <rrt@sc3d.org> in
157 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
158
159 2013-04-27 Leo Liu <sdl.web@gmail.com>
160
161 * progmodes/octave.el (octave-function-file-p)
162 (octave-skip-comment-forward, octave-function-file-comment)
163 (octave-update-function-file-comment): New functions.
164 (octave-mode-map): Bind C-c ; to
165 octave-update-function-file-comment.
166 (octave-mode-menu): Add octave-update-function-file-comment.
167 (octave-mode, inferior-octave-mode): Fix doc-string.
168 (octave-insert-defun): Conform to Octave's coding convention.
169 (Bug#14285)
170
171 * files.el (basic-save-buffer): Don't let errors in
172 before-save-hook prevent saving buffer.
173
174 2013-04-20 Roland Winkler <winkler@gnu.org>
175
176 * faces.el (read-face-name): Use completing-read if arg multiple
177 is nil.
178
179 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
180
181 * ls-lisp.el (ls-lisp-insert-directory): If no files are
182 displayed, move point to after the totals line.
183 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
184 for the details.
185
186 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
187
188 * emacs-lisp/package.el (package-autoload-ensure-default-file):
189 Add current dir to the load-path.
190 (package-generate-autoloads): Don't rely on
191 autoload-ensure-default-file.
192
193 2013-04-26 Reuben Thomas <rrt@sc3d.org>
194
195 * textmodes/remember.el (remember-store-in-files): Document that
196 the file name format is passed to `format-time-string'.
197
198 2013-04-26 Leo Liu <sdl.web@gmail.com>
199
200 * progmodes/octave.el (octave-sync-function-file-names): New function.
201 (octave-mode): Use it in before-save-hook.
202
203 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
204
205 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
206 (bug#14274).
207
208 * progmodes/octave.el (octave-smie-forward-token): Properly skip
209 \n and comment, even if it's not an implicit ; (bug#14218).
210
211 2013-04-26 Glenn Morris <rgm@gnu.org>
212
213 * subr.el (read-number): Once more use `read' rather than
214 `string-to-number', to trap non-numeric input. (Bug#14254)
215
216 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
217
218 * emacs-lisp/syntax.el (syntax-propertize-multiline):
219 Use `syntax-multiline' text property consistently instead of
220 `font-lock-multiline'. (bug#14237).
221
222 2013-04-26 Glenn Morris <rgm@gnu.org>
223
224 * emacs-lisp/shadow.el (list-load-path-shadows):
225 No longer necessary to check for duplicate simple.el, since
226 2012-07-07 change to init_lread to not include installation lisp
227 directories in load-path when running uninstalled. (Bug#14270)
228
229 2013-04-26 Leo Liu <sdl.web@gmail.com>
230
231 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
232 (octave-mode, inferior-octave-mode): Use setq-local.
233 (octave-not-in-string-or-comment-p): Rename to
234 octave-in-string-or-comment-p.
235 (octave-in-comment-p, octave-in-string-p)
236 (octave-in-string-or-comment-p): Replace defsubst with defun.
237
238 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
239
240 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
241
242 2013-04-25 Bastien Guerry <bzg@gnu.org>
243
244 * textmodes/remember.el (remember-data-directory)
245 (remember-directory-file-name-format): Fix custom types.
246
247 2013-04-25 Leo Liu <sdl.web@gmail.com>
248
249 * progmodes/octave.el (octave-completion-at-point-function):
250 Make use of inferior octave process.
251 (octave-initialize-completions): Remove.
252 (inferior-octave-completion-table): New function.
253 (inferior-octave-completion-at-point): Use it.
254 (octave-completion-alist): Remove.
255
256 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
257
258 * progmodes/opascal.el: Use font-lock and syntax-propertize.
259 (opascal-mode-syntax-table): New var.
260 (opascal-literal-kind, opascal-is-literal-end)
261 (opascal-literal-token-at): Rewrite.
262 (opascal--literal-start-re, opascal-font-lock-keywords)
263 (opascal--syntax-propertize): New constants.
264 (opascal-font-lock-defaults): Adjust.
265 (opascal-mode): Use them. Set comment-<foo> variables as well.
266 (delphi-comment-face, opascal-comment-face, delphi-string-face)
267 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
268 (delphi-other-face, opascal-other-face): Remove face variables.
269 (opascal-save-state): Remove macro.
270 (opascal-fontifying-progress-step): Remove constant.
271 (opascal--ignore-changes): Remove var.
272 (opascal-set-token-property, opascal-parse-next-literal)
273 (opascal-is-stable-literal, opascal-complete-literal)
274 (opascal-is-literal-start, opascal-face-of)
275 (opascal-parse-region, opascal-parse-region-until-stable)
276 (opascal-fontify-region, opascal-after-change)
277 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
278 (opascal-debug-parse-region, opascal-debug-parse-window)
279 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
280 (opascal-debug-fontify-buffer): Remove.
281 (opascal-debug-mode-map): Adjust accordingly.
282
283 2013-04-25 Leo Liu <sdl.web@gmail.com>
284
285 Merge octave-mod.el and octave-inf.el into octave.el with some
286 cleanups.
287 * progmodes/octave.el: New file renamed from octave-mod.el.
288 * progmodes/octave-inf.el: Merged into octave.el.
289 * progmodes/octave-mod.el: Renamed to octave.el.
290
291 2013-04-25 Tassilo Horn <tsdh@gnu.org>
292
293 * textmodes/reftex-vars.el
294 (reftex-label-ignored-macros-and-environments): New defcustom.
295
296 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
297
298 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
299
300 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
301 (smie-indent-keyword): Improve the check to ensure that the next
302 comment is really on the same line.
303 (smie-indent-comment): Don't align with a subsequent closer (or eob).
304
305 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
306 semi-colons if the line is not otherwise empty (bug#14218).
307
308 2013-04-25 Glenn Morris <rgm@gnu.org>
309
310 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
311
312 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
313
314 * progmodes/opascal.el (opascal-set-token-property): Rename from
315 opascal-set-text-properties and only set `token' (bug#14134).
316 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
317 (opascal-literal-text-properties): Remove.
318 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
319 Adjust callers.
320
321 2013-04-24 Reuben Thomas <rrt@sc3d.org>
322
323 * textmodes/remember.el (remember-handler-functions): Add an
324 option for a new handler `remember-store-in-files'.
325 (remember-data-directory, remember-directory-file-name-format):
326 New options.
327 (remember-store-in-files): New function to store remember notes
328 as separate files within a directory.
329
330 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
331
332 * progmodes/compile.el (compilation-next-error-function):
333 Pass "formats" to compilation-find-file (bug#11777).
334
335 2013-04-24 Glenn Morris <rgm@gnu.org>
336
337 * vc/vc-bzr.el (vc-bzr-print-log):
338 * vc/vc-hg.el (vc-hg-print-log):
339 * vc/vc-svn.el (vc-svn-print-log):
340 Fix START-REVISION with LIMIT != 1. (Bug#14168)
341
342 * vc/vc-bzr.el (vc-bzr-print-log):
343 * vc/vc-cvs.el (vc-cvs-print-log):
344 * vc/vc-git.el (vc-git-print-log):
345 * vc/vc-hg.el (vc-hg-print-log):
346 * vc/vc-mtn.el (vc-mtn-print-log):
347 * vc/vc-rcs.el (vc-rcs-print-log):
348 * vc/vc-sccs.el (vc-sccs-print-log):
349 * vc/vc-svn.el (vc-svn-print-log):
350 * vc/vc.el (vc-print-log-internal): Doc fixes.
351
352 2013-04-23 Glenn Morris <rgm@gnu.org>
353
354 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
355 Remove venerable code attempting to avoid substitute-command-keys.
356
357 2013-04-23 Tassilo Horn <tsdh@gnu.org>
358
359 * textmodes/reftex-vars.el (reftex-label-regexps):
360 Call `reftex-compile-variables' after changes to this variable.
361
362 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
363
364 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
365 Use lexical-binding.
366 (jit-lock-force-redisplay): Use markers, check buffer's continued
367 existence and beware narrowed buffers.
368 (jit-lock-fontify-now): Adjust call accordingly.
369
370 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
371
372 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
373 to avoid misleading the user.
374
375 2013-04-22 Leo Liu <sdl.web@gmail.com>
376
377 * info-look.el: Prefer latex2e.info. (Bug#14240)
378
379 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
380
381 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
382
383 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
384 * net/tramp.el (tramp-call-process): ... here
385 (tramp-set-completion-function, tramp-parse-putty):
386 * net/tramp-adb.el (tramp-adb-execute-adb-command):
387 * net/tramp-gvfs.el (tramp-gvfs-send-command):
388 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
389 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
390 (tramp-call-local-coding-command): Use `tramp-call-process'
391 instead of `tramp-compat-call-process'.
392
393 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
394 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
395 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
396 (tramp-find-inline-compress):Improve traces.
397 (tramp-maybe-send-script): Check for Perl binary.
398 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
399
400 2013-04-22 Daiki Ueno <ueno@gnu.org>
401
402 * epg.el (epg-context-pinentry-mode): New function.
403 (epg-context-set-pinentry-mode): New function.
404 (epg--start): Pass --pinentry-mode option to gpg command.
405
406 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
407
408 * comint.el: (comint-dynamic-complete-functions, comint-mode-map):
409 `comint-dynamic-complete' is obsolete since 24.1, replaced by
410 `completion-at-point'. (Bug#13774)
411
412 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
413 default key binding for `describe-distribution' has been moved to
414 `C-h C-o'. (Bug#13970)
415
416 2013-04-21 Glenn Morris <rgm@gnu.org>
417
418 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
419 Add doc strings.
420 (vc-print-log): Clarify interactive prompt.
421
422 2013-04-20 Glenn Morris <rgm@gnu.org>
423
424 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
425 No longer include timestamp etc information.
426
427 2013-04-20 Roland Winkler <winkler@gnu.org>
428
429 * faces.el (read-face-name): Bug fix, return just one face if arg
430 multiple is nil. (Bug#14209)
431
432 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
433
434 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
435 (remove-function): Autoload.
436
437 * comint.el (comint-redirect-original-filter-function): Remove.
438 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
439 * vc/vc-cvs.el (vc-cvs-annotate-process-filter,vc-cvs-annotate-command):
440 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
441 * progmodes/prolog.el (prolog-consult-compile):
442 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
443 Use add/remove-function instead.
444 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
445 (gud-tooltip-process-output, gud-tooltip-tips):
446 Use add/remove-function instead.
447 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
448 (scheme-interaction-mode, exit-scheme-interaction-mode):
449 Use add/remove-function instead.
450
451 * vc/vc-dispatcher.el: Use lexical-binding.
452 (vc--process-sentinel): Rename from vc-process-sentinel.
453 Change last arg to be the code to run. Don't use vc-previous-sentinel
454 and vc-sentinel-commands any more.
455 (vc-exec-after): Allow code to be a function. Use add/remove-function.
456 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
457
458 2013-04-19 Masatake YAMATO <yamato@redhat.com>
459
460 * progmodes/sh-script.el (sh-imenu-generic-expression):
461 Handle function names with a single character. (Bug#14111)
462
463 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
464
465 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
466 for subroutines defined in an eval (bug#14182).
467
468 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
469
470 * bookmark.el (bookmark-completing-read): Improve handling of empty
471 string (bug#14176).
472
473 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
474
475 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
476
477 2013-04-19 FabiĂ¡n Ezequiel Gallina <fgallina@gnu.org>
478
479 New faster Imenu implementation (bug#14058).
480 * progmodes/python.el:
481 (python-imenu-prev-index-position):
482 (python-imenu-format-item-label-function)
483 (python-imenu-format-parent-item-label-function)
484 (python-imenu-format-parent-item-jump-label-function):
485 New vars.
486 (python-imenu-format-item-label)
487 (python-imenu-format-parent-item-label)
488 (python-imenu-format-parent-item-jump-label)
489 (python-imenu--put-parent, python-imenu--build-tree)
490 (python-imenu-create-index, python-imenu-create-flat-index)
491 (python-util-popn): New functions.
492 (python-mode): Set imenu-create-index-function to
493 python-imenu-create-index.
494
495 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
496
497 * winner.el (winner-active-region): Use region-active-p, activate-mark
498 and deactivate-mark (bug#14225).
499
500 * simple.el (deactivate-mark): Don't inline it.
501
502 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
503
504 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
505
506 2013-04-18 Tassilo Horn <tsdh@gnu.org>
507
508 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
509 file extensions from the archive-mode entry in order to prefer
510 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
511
512 2013-04-18 Leo Liu <sdl.web@gmail.com>
513
514 * bindings.el (help-event-list): Add ?\?.
515
516 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
517
518 * subr.el (with-wrapper-hook): Declare obsolete.
519 * simple.el (filter-buffer-substring-function): New hook.
520 (filter-buffer-substring): Use it.
521 (filter-buffer-substring-functions): Mark obsolete.
522 * minibuffer.el (completion-in-region-function): New hook.
523 (completion-in-region): Use it.
524 (completion-in-region-functions): Mark obsolete.
525 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
526 * abbrev.el (abbrev-expand-function): New hook.
527 (expand-abbrev): Use it.
528 (abbrev-expand-functions): Mark obsolete.
529 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
530 and :filter-return.
531
532 2013-04-17 FabiĂ¡n Ezequiel Gallina <fgallina@gnu.org>
533
534 * progmodes/python.el (python-nav--syntactically): Fix cornercases
535 and do not care about match data.
536
537 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
538
539 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
540 completion tables when completing error conditions and
541 `declare' arguments.
542 (lisp-complete-symbol, field-complete): Mark as obsolete.
543 (check-parens): Unmatched parens are user errors.
544 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
545
546 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
547
548 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
549 command changed buffer (ie. `flyspell-pre-buffer' is not current
550 buffer), which prevents making decisions based on invalid value of
551 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
552 cause an error when `flyspell-pre-point' was nil after switching
553 buffers.
554 (flyspell-post-command-hook): No longer needs to change buffers when
555 checking pre-word. While at it remove unnecessary progn.
556
557 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
558
559 * textmodes/ispell.el (ispell-add-per-file-word-list):
560 Fix `flyspell-correct-word-before-point' error when accepting
561 words and `coment-padding' is an integer by using
562 `comment-normalize-vars' (Bug #14214).
563
564 2013-04-17 FabiĂ¡n Ezequiel Gallina <fgallina@gnu.org>
565
566 New defun movement commands.
567 * progmodes/python.el (python-nav--syntactically)
568 (python-nav--forward-defun, python-nav-backward-defun)
569 (python-nav-forward-defun): New functions.
570
571 2013-04-17 FabiĂ¡n Ezequiel Gallina <fgallina@gnu.org>
572
573 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
574 (python-syntax-context): Use named compiler-macro for backwards
575 compatibility with Emacs 24.x.
576
577 2013-04-17 Leo Liu <sdl.web@gmail.com>
578
579 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
580 octave-hide-process-buffer.
581
582 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
583
584 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
585 (bug#14216).
586
587 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
588
589 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
590 Fix adjustment of offset when receiving incomplete responses from GDB
591 (bug#14129).
592
593 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
594
595 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
596 python-mode-abbrev-table.
597 (python-skeleton-define): Adjust accordingly.
598 (python-mode-abbrev-table): New table that inherits from it so that
599 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
600
601 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
602 (abbrev-symbol): Use it.
603 (abbrev--before-point): Use it since we already handle inheritance.
604
605 2013-04-16 Leo Liu <sdl.web@gmail.com>
606
607 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
608 binding to info-lookup-symbol.
609
610 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
611
612 * minibuffer.el (completion--twq-all):
613 * term/ns-win.el (ns-initialize-window-system):
614 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
615
616 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
617
618 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
619 global bindings.
620
621 * doc-view.el (doc-view-start-process): Handle url-handler directories.
622
623 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
624
625 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
626 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
627 to nil.
628 (ruby-end-of-defun): Remove the unused arg, change the docstring
629 to reflect that this function is only used as the value of
630 `end-of-defun-function'.
631 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
632 to reflect an earlier change that beginning/end-of-defun functions
633 jump between methods in a class definition, as well as top-level
634 functions.
635
636 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
637
638 * minibuffer.el (minibuffer-complete): Don't just scroll
639 a *Completions* that's been iconified.
640 (minibuffer-force-complete): Make sure repetitions do cycle when going
641 through completion-in-region -> minibuffer-complete.
642
643 2013-04-15 Alan Mackenzie <acm@muc.de>
644
645 Correct the placement of c-cpp-delimiters when there're #s not at
646 col 0.
647
648 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
649 place a submatch around the #.
650 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
651 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
652 on the #, not BOL.
653
654 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
655
656 * emacs-lisp/nadvice.el: Properly test names when adding advice.
657 (advice--member-p): New arg `name'.
658 (advice--add-function, advice-member-p): Use it (bug#14202).
659
660 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
661
662 Reformulate java imenu-generic-expression.
663 The old expression contained ill formed regexps.
664
665 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
666 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
667 (cc-imenu-java-method-arg-regexp): New defconsts.
668 (cc-imenu-java-build-type-args-regex): New defun.
669 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
670 handling of spaces in the regexp.
671
672 2013-03-15 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
673
674 * textmodes/ispell.el (ispell-command-loop): Remove
675 flyspell highlight of a word when ispell accepts it (bug #14178).
676
677 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
678
679 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
680 uses code from the previous `ange-ftp-run-real-handler'.
681 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
682 only in case that function exist. This is needed for proper
683 unloading of Tramp.
684
685 2013-04-15 Tassilo Horn <tsdh@gnu.org>
686
687 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
688
689 * textmodes/reftex.el (reftex-compile-variables): Use it.
690
691 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
692
693 * files.el (normal-mode): Only use default major-mode if no other mode
694 was specified.
695
696 * emacs-lisp/trace.el (trace-values): New function.
697
698 * files.el: Allow : in local variables (bug#14089).
699 (hack-local-variable-regexp): New var.
700 (hack-local-variables-prop-line, hack-local-variables): Use it.
701
702 2013-04-13 Roland Winkler <winkler@gnu.org>
703
704 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
705 data before it gets modified by bibtex-beginning-of-entry.
706
707 2013-04-13 Roland Winkler <winkler@gnu.org>
708
709 * textmodes/bibtex.el (bibtex-url): Doc fix.
710
711 2013-04-13 Roland Winkler <winkler@gnu.org>
712
713 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
714 does not visit a BibTeX file, exclude it from the list of buffers
715 returned by bibtex-initialize.
716
717 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
718
719 * window.el (split-window): Remove interactive form, since as a
720 command this function is a special case of split-window-below.
721 Correct doc string.
722
723 2013-04-12 Roland Winkler <winkler@gnu.org>
724
725 * faces.el (read-face-name): Do not override value of arg default.
726 Allow single faces and strings as default values. Remove those
727 elements from return value that are not faces.
728 (describe-face): Simplify.
729 (face-at-point): New optional args thing and multiple so that this
730 function can provide the same functionality previously provided by
731 read-face-name.
732 (make-face-bold, make-face-unbold, make-face-italic)
733 (make-face-unitalic, make-face-bold-italic, invert-face)
734 (modify-face, read-face-and-attribute): Use face-at-point.
735
736 * cus-edit.el (customize-face, customize-face-other-window)
737 * cus-theme.el (custom-theme-add-face)
738 * face-remap.el (buffer-face-set)
739 * facemenu.el (facemenu-set-face): Use face-at-point.
740
741 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
742
743 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
744
745 2013-04-10 Tassilo Horn <tsdh@gnu.org>
746
747 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
748 off leading { and trailing } from field values.
749
750 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
751
752 * emacs-lisp/timer.el (timer--check): New function.
753 (timer--time, timer-set-function, timer-event-handler): Use it.
754 (timer-set-idle-time): Simplify.
755 (timer--activate): CSE.
756 (timer-event-handler): Give more info in error message.
757 (internal-timer-start-idle): New function, moved from C.
758
759 * mpc.el (mpc-proc): Add `restart' argument.
760 (mpc-proc-cmd): Use it.
761 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
762 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
763 less often.
764
765 2013-04-10 Masatake YAMATO <yamato@redhat.com>
766
767 * progmodes/sh-script.el: Implement `sh-mode' own
768 `add-log-current-defun-function' (bug#14112).
769 (sh-current-defun-name): New function.
770 (sh-mode): Use the function.
771
772 2013-04-09 Bastien Guerry <bzg@gnu.org>
773
774 * simple.el (choose-completion-string): Fix docstring (bug#14163).
775
776 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
777
778 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
779
780 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
781 timer (bug#14156).
782
783 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
784
785 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
786 declaration.
787
788 2013-04-07 Leo Liu <sdl.web@gmail.com>
789
790 * pcmpl-x.el: New file.
791
792 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
793
794 Do not set x-display-name until X connection is established.
795 This is needed to prevent from weird situation described at
796 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
797 * frame.el (make-frame): Set x-display-name after call to
798 window system initialization function, not before.
799 * term/x-win.el (x-initialize-window-system): Add optional
800 display argument and use it.
801 * term/w32-win.el (w32-initialize-window-system):
802 * term/ns-win.el (ns-initialize-window-system):
803 * term/pc-win.el (msdos-initialize-window-system):
804 Add compatible optional display argument.
805
806 2013-04-06 Eli Zaretskii <eliz@gnu.org>
807
808 * files.el (normal-backup-enable-predicate): On MS-Windows and
809 MS-DOS compare truenames of temporary-file-directory and of the
810 file, so that 8+3 aliases (usually found in $TEMP on Windows)
811 don't fail comparison by compare-strings. Also, compare file
812 names case-insensitively on MS-Windows and MS-DOS.
813
814 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
815
816 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
817 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
818
819 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
820
821 * whitespace.el (whitespace-color-on, whitespace-color-off):
822 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
823
824 2013-04-05 Jacek ChrzÄ…szcz <chrzaszcz@mimuw.edu.pl> (tiny change)
825
826 * ispell.el (ispell-set-spellchecker-params):
827 Really set `ispell-args' for all equivs.
828
829 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
830
831 * ido.el (ido-completions): Use extra elements of ido-decorations
832 (bug#14143).
833 (ido-decorations): Update docstring.
834
835 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
836
837 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
838 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
839 nil during initialization, in order not to miss changes since the
840 file was opened. (Bug#14140)
841
842 2013-04-05 Leo Liu <sdl.web@gmail.com>
843
844 * kmacro.el (kmacro-call-macro): Fix bug#14135.
845
846 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
847
848 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
849
850 2013-04-04 Glenn Morris <rgm@gnu.org>
851
852 * electric.el (electric-pair-inhibit-predicate): Add :version.
853
854 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
855
856 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
857 when a package is required several times (bug#14082).
858
859 2013-04-04 Roland Winkler <winkler@gnu.org>
860
861 * faces.el (read-face-name): Behave as promised by the docstring.
862 Assume that arg default is a list of faces.
863 (describe-face): Call read-face-name with list of default faces.
864
865 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
866
867 * bookmark.el: Fix deletion of bookmarks (bug#13972).
868 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
869 (bookmark-bmenu-execute-deletions): Only skip first line if it's
870 the header.
871 (bookmark-exit-hook-internal): Save even if list is empty.
872
873 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
874
875 * emacs-lisp/package.el (package-pinned-packages): New var.
876 (package--add-to-archive-contents): Obey it (bug#14118).
877
878 2013-04-03 Alan Mackenzie <acm@muc.de>
879
880 Handle `parse-partial-sexp' landing inside a comment opener
881 (Bug#13244). Also adapt to the new values of element 7 of a parse
882 state.
883
884 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
885 parameter `not-in-delimiter'. Handle being inside comment opener.
886 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
887 character in case we're typing a '*' after a '/'.
888 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
889 instead by passing the parameter to c-state-pp-to-literal.
890
891 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
892 for elt. 7 of a parse state.
893
894 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
895
896 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
897 * international/latin1-disp.el, international/mule-util.el:
898 * language/cyril-util.el, language/european.el, language/ind-util.el:
899 * language/lao-util.el, language/thai.el, language/tibet-util.el:
900 * language/tibetan.el, language/viet-util.el:
901 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
902
903 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
904
905 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
906 (electric-pair-post-self-insert-function): Use it.
907 (electric-pair-default-inhibit): New function, extracted from
908 electric-pair-post-self-insert-function.
909
910 2013-03-31 Roland Winkler <winkler@gnu.org>
911
912 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
913
914 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
915
916 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
917
918 2013-03-30 FabiĂ¡n Ezequiel Gallina <fabian@anue.biz>
919
920 Un-indent after "pass" and "return" statements (Bug#13888)
921 * progmodes/python.el (python-indent-block-enders): New var.
922 (python-indent-calculate-indentation): Use it.
923
924 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
925
926 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
927 defun. Defining it as defalias could introduce too eager
928 byte-compiler optimization. (Bug#14030)
929
930 2013-03-30 Chong Yidong <cyd@gnu.org>
931
932 * iswitchb.el (iswitchb-read-buffer): Fix typo.
933
934 2013-03-30 Leo Liu <sdl.web@gmail.com>
935
936 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
937 (kmacro-execute-from-register): Pass the keyboard macro to
938 kmacro-call-macro or repeating won't work correctly.
939
940 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
941
942 * progmodes/subword.el: Back to using `forward-symbol'.
943
944 * subr.el (forward-whitespace, forward-symbol)
945 (forward-same-syntax): Move from thingatpt.el.
946
947 2013-03-29 Leo Liu <sdl.web@gmail.com>
948
949 * kmacro.el (kmacro-to-register): New command.
950 (kmacro-execute-from-register): New function.
951 (kmacro-keymap): Bind to 'x'. (Bug#14071)
952
953 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
954
955 * mpc.el: Use defvar-local and setq-local.
956 (mpc--proc-connect): Connection failures are not bugs.
957 (mpc-mode-map): `follow-link' only applies to the buffer's content.
958 (mpc-volume-map): Bind to the up-events.
959
960 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
961
962 * progmodes/subword.el (superword-mode): Use `forward-sexp'
963 instead of `forward-symbol'.
964
965 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
966
967 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
968 (edebug--recursive-edit): Use it.
969 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
970 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
971
972 2013-03-28 Leo Liu <sdl.web@gmail.com>
973
974 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
975
976 2013-03-27 Eli Zaretskii <eliz@gnu.org>
977
978 * facemenu.el (list-colors-callback): New defvar.
979 (list-colors-redisplay): New function.
980 (list-colors-display): Install list-colors-redisplay as the
981 revert-buffer-function. (Bug#14063)
982
983 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
984
985 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
986 and suffixes don't overlap (bug#14061).
987
988 * case-table.el: Use lexical-binding.
989 (case-table-get-table): New function.
990 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
991
992 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
993
994 * progmodes/subword.el: Add `superword-mode' to do word motion
995 over symbol_words (parallels and leverages `subword-mode' which
996 does word motion inside MixedCaseWords).
997
998 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
999
1000 * eshell/em-unix.el: Move su and sudo to...
1001 * eshell/em-tramp.el: ...Eshell tramp module.
1002
1003 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
1004
1005 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
1006 Change return value to be a sexp. Delay `get-buffer' to after
1007 restoring the desktop (bug#13951).
1008
1009 2013-03-26 Leo Liu <sdl.web@gmail.com>
1010
1011 * register.el: Move semantic tag handling back to
1012 cedet/semantic/senator.el. (Bug#14052)
1013
1014 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
1015
1016 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
1017 into the prompt either (bug#13963).
1018
1019 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
1020
1021 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
1022 part of "(error-foo)".
1023
1024 2013-03-24 Juri Linkov <juri@jurta.org>
1025
1026 * replace.el (list-matching-lines-prefix-face): New defcustom.
1027 (occur-1): Pass `list-matching-lines-prefix-face' to the function
1028 `occur-engine' if `face-differs-from-default-p' returns t.
1029 (occur-engine): Add `,' inside backquote construct to evaluate
1030 `prefix-face'. Propertize the prefix with the `prefix-face' face.
1031 Pass `prefix-face' to the functions `occur-context-lines' and
1032 `occur-engine-add-prefix'.
1033 (occur-engine-add-prefix, occur-context-lines): Add optional arg
1034 `prefix-face' and propertize the prefix with `prefix-face'.
1035 (Bug#14017)
1036
1037 2013-03-24 Leo Liu <sdl.web@gmail.com>
1038
1039 * nxml/rng-valid.el (rng-validate-while-idle)
1040 (rng-validate-quick-while-idle): Guard against deleted buffer.
1041 (Bug#13999)
1042
1043 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
1044 is the last entry in kill-buffer-hook.
1045
1046 * files.el (kill-buffer-hook): Doc fix.
1047
1048 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
1049
1050 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
1051 Make it safe-local.
1052
1053 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
1054
1055 2013-03-23 Leo Liu <sdl.web@gmail.com>
1056
1057 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
1058 Remove.
1059
1060 * nxml/rng-valid.el (rng-validate-mode)
1061 (rng-after-change-function, rng-do-some-validation):
1062 * nxml/rng-maint.el (rng-validate-buffer):
1063 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
1064 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
1065 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
1066 (nxml-extend-after-change-region): Use with-silent-modifications.
1067
1068 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
1069 timer-idle-list.
1070
1071 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
1072 (rng-next-error-1, rng-previous-error-1): Do not let-bind
1073 timer-idle-list. (Bug#13999)
1074
1075 2013-03-23 Juri Linkov <juri@jurta.org>
1076
1077 * info.el (info-index-match): New face.
1078 (Info-index, Info-apropos-matches): Add a nested subgroup to the
1079 main pattern and add text properties with the new face to matches
1080 in index entries relative to the beginning of the index entry.
1081 (Bug#14015)
1082
1083 2013-03-21 Eric Ludlam <zappo@gnu.org>
1084
1085 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
1086 Inhibit read only while inserting objects.
1087
1088 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
1089
1090 * progmodes/cfengine.el: Update docs to mention
1091 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
1092 symbol motion. Remove "_" from the word syntax.
1093
1094 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
1095
1096 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
1097 syntax for both `cfengine2-mode' and `cfengine3-mode'.
1098
1099 2013-03-20 Juri Linkov <juri@jurta.org>
1100
1101 * info.el (Info-next-reference-or-link)
1102 (Info-prev-reference-or-link): New functions.
1103 (Info-next-reference, Info-prev-reference): Use them.
1104 (Info-try-follow-nearest-node): Handle footnote navigation.
1105 (Info-fontify-node): Fontify footnotes. (Bug#13989)
1106
1107 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
1108
1109 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
1110 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
1111
1112 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
1113
1114 Suppress unnecessary non-ASCII chatter during build process.
1115 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
1116 (batch-skkdic-convert): Suppress most of the chatter.
1117 It's not needed so much now that machines are faster,
1118 and its non-ASCII component was confusing; see Dmitry Gutov in
1119 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
1120
1121 2013-03-20 Leo Liu <sdl.web@gmail.com>
1122
1123 * ido.el (ido-chop): Fix bug#10994.
1124
1125 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
1126
1127 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
1128 Remove vars.
1129 (whitespace-color-on, whitespace-color-off):
1130 Use `font-lock-fontify-buffer' (Bug#13817).
1131
1132 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
1133
1134 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
1135 remapping in mode-line.
1136 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
1137
1138 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
1139
1140 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
1141 value for `whitespace-line' face (Bug#13875).
1142 (whitespace-font-lock-keywords): Change description.
1143 (whitespace-color-on): Don't save `font-lock-keywords' value, save
1144 the constructed keywords instead.
1145 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
1146
1147 2013-03-19 Leo Liu <sdl.web@gmail.com>
1148
1149 * progmodes/compile.el (compilation-display-error): New command.
1150 (compilation-mode-map, compilation-minor-mode-map): Bind it to
1151 C-o. (Bug#13992)
1152
1153 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
1154
1155 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
1156
1157 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
1158
1159 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
1160
1161 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
1162
1163 * net/tramp-compat.el (tramp-compat-user-error): New defun.
1164
1165 * net/tramp-adb.el (tramp-adb-handle-shell-command):
1166 * net/tramp-gvfs.el (top):
1167 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
1168 (tramp-handle-shell-command): Use it.
1169 (tramp-dissect-file-name): Raise an error when hostname is a
1170 method name, and neither method nor user is specified.
1171
1172 * net/trampver.el: Update release number.
1173
1174 2013-03-18 Leo Liu <sdl.web@gmail.com>
1175
1176 Make sure eldoc can be turned off properly.
1177 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
1178 eldoc-mode.
1179 (eldoc-display-message-p): Revert last change.
1180 (eldoc-display-message-no-interference-p)
1181 (eldoc-print-current-symbol-info): Tweak.
1182
1183 2013-03-18 Tassilo Horn <tsdh@gnu.org>
1184
1185 * doc-view.el (doc-view-new-window-function): Check the new window
1186 overlay's display property instead the char property of the
1187 buffer's first char. Use `with-selected-window' instead of
1188 `save-window-excursion' with `select-window'.
1189 (doc-view-document->bitmap): Check the current doc-view overlay's
1190 display property instead the char property of the buffer's first char.
1191
1192 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
1193
1194 Automate the build of ja-dic.el (Bug#13984).
1195 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
1196 from the input, rather than assume that it's been done for us by the
1197 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
1198 the current date into a ja-dic.el comment, as that complicates
1199 regression testing.
1200
1201 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1202
1203 * whitespace.el: Fix double evaluation.
1204 (whitespace-space, whitespace-hspace, whitespace-tab)
1205 (whitespace-newline, whitespace-trailing, whitespace-line)
1206 (whitespace-space-before-tab, whitespace-indentation)
1207 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
1208 obsolete defvars.
1209 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
1210 (whitespace-color-on): Use a single font-lock-add-keywords call.
1211 Fix double-evaluation of face variables.
1212
1213 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
1214
1215 * net/tramp-adb.el (tramp-adb-parse-device-names):
1216 Use `start-process' instead of `call-process'. Otherwise, the
1217 function might be blocked under MS Windows. (Bug#13299)
1218
1219 2013-03-17 Leo Liu <sdl.web@gmail.com>
1220
1221 Extend eldoc to display info in the mode-line. (Bug#13978)
1222 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
1223 (eldoc-mode-line-string): New variable.
1224 (eldoc-minibuffer-message): New function.
1225 (eldoc-message-function): New variable.
1226 (eldoc-message): Use it.
1227 (eldoc-display-message-p)
1228 (eldoc-display-message-no-interference-p):
1229 Support eldoc-post-insert-mode.
1230
1231 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
1232 (eval-expression): Run it.
1233
1234 2013-03-17 Roland Winkler <winkler@gnu.org>
1235
1236 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
1237 strings in the list of return values.
1238
1239 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
1240
1241 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
1242 radix before checking for HMS forms.
1243
1244 2013-03-16 Leo Liu <sdl.web@gmail.com>
1245
1246 * progmodes/scheme.el: Add indentation and font-locking for λ.
1247 (Bug#13975)
1248
1249 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
1250
1251 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
1252 token before point (bug#13942).
1253
1254 2013-03-16 Leo Liu <sdl.web@gmail.com>
1255
1256 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
1257
1258 2013-03-16 Eli Zaretskii <eliz@gnu.org>
1259
1260 * startup.el (command-line-normalize-file-name): Fix handling of
1261 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
1262 <xfq.free@gmail.com> in
1263 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
1264
1265 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
1266
1267 Sync with Tramp 2.2.7.
1268
1269 * net/trampver.el: Update release number.
1270
1271 2013-03-14 Tassilo Horn <tsdh@gnu.org>
1272
1273 * doc-view.el Fix bug#13887.
1274 (doc-view-insert-image): Don't modify overlay associated to
1275 non-live windows, and implement horizontal centering of image in
1276 case it's smaller than the window.
1277 (doc-view-new-window-function): Force redisplay of new windows on
1278 doc-view buffers.
1279
1280 2013-03-13 Karl Fogel <kfogel@red-bean.com>
1281
1282 * saveplace.el (save-place-alist-to-file): Don't sort
1283 `save-place-alist', just pretty-print it (bug#13882).
1284
1285 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
1286
1287 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Check,
1288 whether `default-file-name-coding-system' is bound. It isn't in
1289 XEmacs.
1290
1291 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
1292
1293 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
1294 backquotes for `obsolete' (bug#13929).
1295
1296 * international/mule.el (find-auto-coding): Include file name in
1297 obsolescence warning (bug#13922).
1298
1299 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
1300
1301 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
1302 for CFEngine 3-specific indentation.
1303 (cfengine3-indent-line): Use it. Fix up category regex.
1304 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
1305
1306 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1307
1308 * type-break.el (type-break-file-name):
1309 * textmodes/remember.el (remember-data-file):
1310 * strokes.el (strokes-file):
1311 * shadowfile.el (shadow-initialize):
1312 * saveplace.el (save-place-file):
1313 * ps-bdf.el (bdf-cache-file):
1314 * progmodes/idlwave.el (idlwave-config-directory):
1315 * net/quickurl.el (quickurl-url-file):
1316 * international/kkc.el (kkc-init-file-name):
1317 * ido.el (ido-save-directory-list-file):
1318 * emulation/viper.el (viper-custom-file-name):
1319 * emulation/vip.el (vip-startup-file):
1320 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
1321 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
1322
1323 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
1324
1325 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
1326 * language/thai-word.el: Switch to UTF-8.
1327
1328 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
1329
1330 * recentf.el (recentf-save-file): Use locate-user-emacs-file (bug#13870).
1331
1332 2013-03-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1333
1334 * net/net-utils.el (net-utils-remove-ctrl-m-filter):
1335 Use with-current-buffer and don't move point.
1336 (net-utils-run-simple): Remove useless code.
1337 (net-utils-remove-ctl-m): Remove unused custom.
1338
1339 2013-03-11 Per Starbäck <starback@stp.lingfil.uu.se>
1340
1341 * international/characters.el (glyphless-set-char-table-range): New fun.
1342 (update-glyphless-char-display): Use it (bug#13744).
1343
1344 2013-03-11 Teodor Zlatanov <tzz@lifelogs.com>
1345
1346 * progmodes/cfengine.el: Update for CFEngine 3.4.2 and higher:
1347 namespaces in the syntax, indent closer for hanging brace
1348 correctly, allow single-quote delimited 'strings', and make
1349 `cfengine3-mode' the default.
1350
1351 2013-03-11 Jean-Philippe Gravel <jpgravel@gmail.com>
1352
1353 * progmodes/gdb-mi.el: Speed up initialization (bug#10580).
1354 Use lexical-binding. Fix up docstring according to conventions.
1355 (gdbmi-debug-mode): New var.
1356 (gdbmi-start-with, gdbmi-same-start, gdbmi-is-number, gdbmi-bnf-init)
1357 (gdbmi-bnf-output, gdbmi-bnf-skip-unrecognized, gdbmi-bnf-gdb-prompt)
1358 (gdbmi-bnf-result-record, gdbmi-bnf-out-of-band-record)
1359 (gdbmi-bnf-async-record, gdbmi-bnf-stream-record)
1360 (gdbmi-bnf-console-stream-output, gdbmi-bnf-target-stream-output)
1361 (gdbmi-bnf-log-stream-output, gdbmi-bnf-result-and-async-record-impl)
1362 (gdbmi-bnf-incomplete-record-result): New functions.
1363 (gdb-car<): Remove function.
1364 (gdbmi-record-list): Remove variable.
1365 (gdbmi-bnf-state, gdbmi-bnf-offset): New vars.
1366 (gdbmi-bnf-result-state-configs): New const.
1367 (gud-gdbmi-marker-filter): Rewrite.
1368 (gdb-ignored-notification, gdb-thread-created, gdb-thread-exited)
1369 (gdb-thread-selected, gdb-running, gdb-starting, gdb-stopped):
1370 Add `token' argument.
1371 (gdb-done, gdb-error): New functions.
1372 (gdb-done-or-error): Add `is-complete' argument. Change arg order.
1373
1374 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
1375
1376 * term/xterm.el (xterm--report-background-handler): Don't burp
1377 upon timeout.
1378 (xterm--version-handler): Extract from terminal-init-xterm.
1379 (xterm--query): Don't mishandle timeout. Remove debugging messages.
1380 Allow multiple handlers.
1381 (terminal-init-xterm): Handle OSX's Terminal.app's incorrect answer.
1382
1383 * term/xterm.el: Don't discard input (bug#6758). Use lexical-binding.
1384 (xterm--report-background-handler, xterm--query): New functions.
1385 (terminal-init-xterm): Use them.
1386
1387 2013-03-11 Michael R. Mauger <michael@mauger.com>
1388
1389 * progmodes/sql.el Version 3.2
1390 Please note that my address changed to <michael@mauger.com>;
1391 the <mmaug@yahoo.com> address remains active.
1392 (sql-connection-alist): Updates documentation to fix bug#13715.
1393 (sql-connect): Handle missing `sql-connection-alist' correctly.
1394 (sql-mode-oracle-font-lock-keywords): Add missing keywords.
1395 (sql-magic-go, sql-magic-semicolon): Mark with `delete-selection'
1396 property.
1397 (sql-default-value): New function.
1398 (sql-get-login-ext, sql-get-login): Fixes bug where buffer-local
1399 values were not used.
1400 (sql-rename-buffer): Make sure alternate buffer name has no text
1401 properties.
1402 (sql-input-sender, sql-execute-feature): Fetch variable with
1403 `buffer-local-value' rather than `with-current-buffer'.
1404 (sql-*): Use #' function syntax consistently.
1405 (sql-*): Use message/error/user-error consistently.
1406
1407 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
1408
1409 * xt-mouse.el (xterm-mouse-event-read): Remove.
1410 (xterm-mouse--read-event-sequence-1000)
1411 (xterm-mouse--read-event-sequence-1006): Use read-event instead.
1412
1413 2013-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
1414
1415 * term/xterm.el (xterm-function-map): Support format used with
1416 formatOtherKeys=1 (bug#13839).
1417
1418 * emacs-lisp/byte-run.el (dont-compile): Declare obsolete.
1419 (with-no-warnings): Use `declare'.
1420
1421 * whitespace.el (whitespace-enable-predicate): New variable.
1422 (whitespace-enable-predicate): Use it.
1423
1424 * comint.el (comint-send-input, comint-snapshot-last-prompt)
1425 (comint-output-filter, comint-update-fence):
1426 Use with-silent-modifications.
1427
1428 2013-03-10 Jambunathan K <kjambunathan@gmail.com>
1429
1430 * replace.el (occur-read-regexp-defaults-function): New var.
1431 (occur-read-regexp-defaults): New defun.
1432 (occur-read-primary-args): Propagate above change (bug#13892).
1433
1434 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
1435
1436 * mouse.el (mouse-drag-track): Remove left-over debugging code.
1437
1438 2013-03-09 Michael Albinus <michael.albinus@gmx.de>
1439
1440 Major rewrite due to changed D-Bus interface of GVFS 1.14.
1441
1442 * net/tramp-gvfs.el (top): Extend check for gvfs availability.
1443 (tramp-gvfs-methods-mounttracker, tramp-gvfs-listmounts)
1444 (tramp-gvfs-mountlocation, tramp-gvfs-mountlocation-signature):
1445 New defconst.
1446 (tramp-gvfs-file-name-handler-alist) [directory-files]
1447 [directory-files-and-attributes, file-exists-p, file-modes]:
1448 Use Tramp default handler.
1449 [file-acl, file-selinux-context, process-file, set-file-acl]:
1450 [set-file-modes, set-file-selinux-context, shell-command]:
1451 [start-file-process]: Remove handler.
1452 [verify-visited-file-modtime]: New handler.
1453 (tramp-gvfs-dbus-string-to-byte-array)
1454 (tramp-gvfs-dbus-byte-array-to-string): New defuns. Replace all
1455 calls of `dbus-string-to-byte-array' and
1456 `tramp-gvfs-dbus-byte-array-to-string'.
1457 (tramp-gvfs-handle-copy-file)
1458 (tramp-gvfs-handle-delete-directory)
1459 (tramp-gvfs-handle-delete-file, tramp-gvfs-handle-file-attributes)
1460 (tramp-gvfs-handle-file-directory-p)
1461 (tramp-gvfs-handle-file-executable-p)
1462 (tramp-gvfs-handle-file-name-all-completions)
1463 (tramp-gvfs-handle-file-readable-p)
1464 (tramp-gvfs-handle-file-writable-p)
1465 (tramp-gvfs-handle-insert-directory)
1466 (tramp-gvfs-handle-insert-file-contents)
1467 (tramp-gvfs-handle-make-directory, tramp-gvfs-handle-rename-file)
1468 (tramp-gvfs-handle-set-visited-file-modtime)
1469 (tramp-gvfs-handle-write-region): Rewrite.
1470 (tramp-gvfs-handle-file-acl)
1471 (tramp-gvfs-handle-file-selinux-context)
1472 (tramp-gvfs-handle-process-file, tramp-gvfs-handle-set-file-acl)
1473 (tramp-gvfs-handle-set-file-modes)
1474 (tramp-gvfs-handle-set-file-selinux-context)
1475 (tramp-gvfs-handle-shell-command)
1476 (tramp-gvfs-handle-start-file-process)
1477 (tramp-gvfs-handle-verify-visited-file-modtime): Remove defuns.
1478 (tramp-gvfs-url-file-name): Do not use `file-truename', we work
1479 over the symlinks. Fix user handling.
1480 (top, tramp-gvfs-handler-mounted-unmounted): Handle different names
1481 of the D-Bus signals.
1482 (tramp-gvfs-connection-mounted-p): Handle different names of the
1483 D-Bus methods.
1484 (tramp-gvfs-mount-spec-entry): New defun.
1485 (tramp-gvfs-mount-spec): Use it.
1486 (tramp-gvfs-maybe-open-connection): Check, that in case of "smb"
1487 there is a share name. Handle different names of the D-Bus
1488 signals and methods. Set connection properties needed for
1489 `tramp-check-cached-permissions'.
1490 (tramp-gvfs-send-command): Apply `tramp-gvfs-maybe-open-connection'.
1491 Return t or nil.
1492
1493 * net/tramp.el (tramp-backtrace): Move up.
1494 (tramp-error): Dump a backtrace into the debug buffer when
1495 `tramp-verbose > 9.
1496 (tramp-file-mode-type-map, tramp-file-mode-from-int)
1497 (tramp-file-mode-permissions, tramp-get-local-uid)
1498 (tramp-get-local-gid, tramp-check-cached-permissions): Move from
1499 tramp-sh.el.
1500
1501 * net/tramp-sh.el (tramp-file-mode-type-map)
1502 (tramp-check-cached-permissions, tramp-file-mode-from-int)
1503 (tramp-file-mode-permissions, tramp-get-local-uid)
1504 (tramp-get-local-gid): Move to tramp.el.
1505
1506 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
1507
1508 Separate mouse-1-click-follows-link from mouse-drag-region.
1509 * mouse.el (mouse--down-1-maybe-follows-link): New function.
1510 (key-translation-map): Use it to implement mouse-1-click-follows-link.
1511 (mouse-drag-line, mouse-drag-track):
1512 Remove mouse-1-click-follows-link code.
1513 (mouse--remap-link-click-p): Remove.
1514
1515 2013-03-08 Jambunathan K <kjambunathan@gmail.com>
1516
1517 * hi-lock.el (hi-lock-read-regexp-defaults-function): New var.
1518 (hi-lock-read-regexp-defaults): New defun.
1519 (hi-lock-line-face-buffer, hi-lock-face-buffer)
1520 (hi-lock-face-phrase-buffer): Propagate above change.
1521 Update docstring (bug#13892).
1522
1523 * subr.el (find-tag-default-as-regexp): New defun.
1524 * replace.el (read-regexp): Propagate above change.
1525
1526 2013-03-08 Jay Belanger <jay.p.belanger@gmail.com>
1527
1528 * calc/calc-units.el (calc-convert-units): Fix the way that default
1529 new units are stored.
1530
1531 2013-03-07 Matthias Meulien <orontee@gmail.com>
1532
1533 * bookmark.el: Define a face to highlight bookmark names in
1534 bookmark menu buffers, where the default is a bold face similarly
1535 to buffer names in buffer menu buffers.
1536 (bookmark-menu-bookmark): New face to highlight bookmark names.
1537 (bookmark-insert-location): Remove duplicated text property to
1538 conform to buffer list (see `list-buffers').
1539 (bookmark-bmenu-list, bookmark-bmenu-hide-filenames): Apply face
1540 `bookmark-menu-bookmark' to bookmark names.
1541
1542 2013-03-07 Matthias Meulien <orontee@gmail.com>
1543 Karl Fogel <kfogel@red-bean.com>
1544
1545 * bookmark.el: Display the bookmark list header similarly to the
1546 buffer list header (see `list-buffers'), where the default is now
1547 an immovable/immutable header line.
1548 (bookmark-bmenu-use-header-line): New variable.
1549 (bookmark-bmenu-inline-header-height): New name for
1550 `bookmark-bmenu-header-height', to avoid confusion with the code
1551 for the new immovable header. All references changed.
1552 (bookmark-bmenu-set-header): New function.
1553 (bookmark-bmenu-list, bookmark-bmenu-toggle-filenames):
1554 Conditionalize header construction accordingly.
1555 (bookmark-bmenu-ensure-position): Conditionalize the skipping of
1556 the inline header height.
1557 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
1558 Conditionalize the skipping of the inline header height.
1559
1560 2013-03-07 Dmitry Gutov <dgutov@yandex.ru>
1561
1562 * progmodes/js.el (js--multi-line-declaration-indentation):
1563 Merge from js2-mode (https://github.com/mooz/js2-mode/issues/89).
1564
1565 2013-03-06 Dmitry Gutov <dgutov@yandex.ru>
1566
1567 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1568 Only propertize regexp when not inside a string (Bug#13885).
1569
1570 2013-03-06 Alan Mackenzie <acm@muc.de>
1571
1572 Correct the position of point in some line-up functions.
1573 * progmodes/cc-align.el (c-lineup-whitesmith-in-block)
1574 (c-lineup-assignments, c-lineup-gcc-asm-reg ): take position of
1575 point at column 0 rather than at a random place in the line.
1576
1577 2013-03-05 Michael Albinus <michael.albinus@gmx.de>
1578
1579 * net/tramp-compat.el (tramp-compat-delete-directory):
1580 Implement TRASH argument.
1581
1582 2013-03-05 Dmitry Gutov <dgutov@yandex.ru>
1583
1584 Keep pre-existing highlighting in completion candidates (Bug#13250).
1585 * minibuffer.el (completions-first-difference): State that the
1586 face is "added" in the docstring.
1587 (completions-common-part): Same. And don't inherit from default.
1588 (completion-hilit-commonality): Prepend 'completions-common-part
1589 and 'completion-first-difference faces to the 'face property,
1590 instead of replacing the value(s).
1591 (completion--insert-strings): Same with 'completions-annotations face.
1592 (completion-hilit-commonality): Use 'face instead of
1593 'font-lock-face, because it gets priority if the completion
1594 strings already have 'face set.
1595
1596 2013-03-04 Alan Mackenzie <acm@muc.de>
1597
1598 Replace `last-command-event' by `last-command-char' in XEmacs.
1599 * progmodes/cc-defs.el (c-last-command-char): New macro.
1600 * progmodes/cc-align.el (c-semi&comma-inside-parenlist)
1601 (c-semi&comma-no-newlines-before-nonblanks)
1602 (c-semi&comma-no-newlines-for-oneline-inliners): Use the new macro
1603 in place of `last-command-event'.
1604 * progmodes/cc-cmds.el (c-electric-pound, c-electric-brace)
1605 (c-electric-slash, c-electric-semi&comma, c-electric-lt-gt)
1606 (c-electric-paren, c-electric-continued-statement): Use the new
1607 macro in place of `last-command-event'.
1608
1609 2013-03-04 Glenn Morris <rgm@gnu.org>
1610
1611 * files.el (inhibit-local-variables-regexps):
1612 Add .diff and .patch. (Bug#13862)
1613
1614 2013-03-03 Michael Albinus <michael.albinus@gmx.de>
1615
1616 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Cache,
1617 whether the "su" command is available on the device.
1618
1619 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
1620
1621 * net/tramp-adb.el (tramp-adb-prompt): Extend regexp.
1622 (tramp-adb-handle-process-file): Remove superfluous setting.
1623 (tramp-adb-command-exit-status): Handle case that COMMAND is nil.
1624 (tramp-adb-barf-unless-okay): Use `tramp-adb-command-exit-status'.
1625 (tramp-adb-maybe-open-connection): Apply "su" if user is defined.
1626
1627 2013-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
1628
1629 * textmodes/ispell.el: Fix nitpicks and byte-compiler warnings.
1630 (ispell-print-if-debug): Build `format' in. Avoid end-of-buffer.
1631 (ispell-parse-hunspell-affix-file): Avoid beginning-of-buffer.
1632 Use dict-key rather than dict-name for the error message.
1633
1634 2013-03-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1635
1636 * net/net-utils.el (net-utils-run-simple): Don't display-buffer
1637 when reverting (bug#13831).
1638
1639 2013-03-01 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
1640
1641 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
1642 Always expand affix-file before storing to protect against changed
1643 `default-directory'.
1644 (ispell-print-if-debug): Make sure message is printed at the end
1645 of the debug buffer.
1646
1647 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
1648
1649 * net/tramp.el (tramp-obsolete-methods): New defconst.
1650 (tramp-warned-obsolete-methods): New defvar.
1651 (tramp-find-method): Check for obsolete methods. Map them to a
1652 replacement method if appropriate.
1653
1654 * net/tramp-sh.el (tramp-methods) [scp1, scp2, ssh1, ssh2, plink1]:
1655 Remove methods.
1656 (top): Remove completion functions for "scp1", "scp2", "ssh1",
1657 "ssh2" and "plink1".
1658
1659 2013-02-28 Dale Sedivec <dale@codefu.org>
1660
1661 * textmodes/sgml-mode.el (sgml-syntax-propertize-function):
1662 Return valid syntax-table property value when converting
1663 quotes within text from string syntax to punctuation syntax (bug#13844).
1664
1665 2013-02-28 Juri Linkov <juri@jurta.org>
1666
1667 * dired-aux.el (dired-diff): If file at point is a backup file,
1668 use its original as the default value, and reverse the order
1669 of arguments to the `diff' call. Doc fix. (Bug#13772)
1670
1671 2013-02-28 Michael Albinus <michael.albinus@gmx.de>
1672
1673 * net/tramp-adb.el (tramp-adb-sdk-dir): Remove. Replaced by ...
1674 (tramp-adb-program): New defcustom. Remove function. Adapt calls.
1675
1676 2013-02-28 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
1677
1678 Initial support for hunspell dictionaries auto-detection (Bug#13639)
1679
1680 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
1681 Ask hunspell about available and default dictionaries.
1682 (ispell-parse-hunspell-affix-file): Extract relevant info from
1683 hunspell affix file.
1684 (ispell-hunspell-fill-dictionary-entry): Fill non-initialized
1685 `ispell-dictionary-alist' entry for given dictionary after info
1686 provided by `ispell-parse-hunspell-affix-file'.
1687 (ispell-hunspell-dict-paths-alist): New defvar to contain an alist
1688 of parsed hunspell dicts and associated affix files.
1689 (ispell-hunspell-dictionary-alist): New defvar to contain an alist
1690 of parsed hunspell dicts and associated parameters.
1691 (ispell-set-spellchecker-params):
1692 Call `ispell-find-hunspell-dictionaries' if hunspell and not
1693 previously done.
1694 (ispell-start-process):
1695 Call `ispell-hunspell-fill-dictionary-entry' for current
1696 dictionary if it is not initialized.
1697
1698 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
1699
1700 * imenu.el: Comment nitpicks.
1701
1702 2013-02-28 Sam Steingold <sds@gnu.org>
1703
1704 * vc/diff-mode.el (diff-hunk-file-names): Handle filenames with spaces.
1705 See <http://stackoverflow.com/questions/14720205>.
1706
1707 2013-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1708
1709 * net/net-utils.el (net-utils--revert-function): New fun (bug#13831).
1710 (net-utils-mode): Use it.
1711 (net-utils--revert-cmd): New var.
1712 (net-utils-run-simple): Set it, and remove bogus interactive spec.
1713 (traceroute): Use net-utils-run-simple.
1714
1715 2013-02-28 Glenn Morris <rgm@gnu.org>
1716
1717 * textmodes/paragraphs.el (mark-paragraph): Doc fix.
1718
1719 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
1720
1721 * doc-view.el: Preserve h&v scroll across C-c C-c C-c C-c.
1722 (doc-view-fallback-mode): Remove overlays here.
1723 (doc-view-toggle-display): Instead of here. Don't throw away
1724 image-mode-winprops-alist.
1725 (doc-view-goto-page): Don't mess with hscroll.
1726
1727 2013-02-27 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1728
1729 * font-lock.el (lisp-font-lock-keywords-2): Fix highlighting of
1730 &optional (bug#13819).
1731
1732 2013-02-27 Michael Albinus <michael.albinus@gmx.de>
1733
1734 * net/tramp-adb.el (tramp-adb-parse-device-names)
1735 (tramp-adb-maybe-open-connection): Add timeouts. (Bug#13299)
1736
1737 2013-02-26 Michael Albinus <michael.albinus@gmx.de>
1738
1739 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1740 Add "2>/dev/null" to the ls command, in case "en_US.utf8" is not
1741 defined. POSIX environments fall back to the "C" locale then and
1742 emit a warning, which shall be suppressed.
1743
1744 2013-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
1745
1746 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Tweak logic.
1747 (easy-mmode-set-keymap-parents): Use make-composed-keymap.
1748
1749 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
1750
1751 * emacs-lisp/bytecomp.el (byte-compile-file): Use let.
1752
1753 2013-02-25 Juri Linkov <juri@jurta.org>
1754
1755 * replace.el (read-regexp): Let-bind `default' to the first
1756 element of `defaults' if it's a list, otherwise it should be
1757 a string or nil. Let-bind `suggestions' to `defaults' if it's
1758 a list, otherwise make a list with the string value. Doc fix.
1759 (Bug#13805)
1760
1761 2013-02-25 Eli Zaretskii <eliz@gnu.org>
1762
1763 * emacs-lisp/bytecomp.el (byte-recompile-directory): Reject files
1764 that match "\`\.#", to avoid compiling lock files, even if they
1765 are readable (as they are on MS-Windows).
1766
1767 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
1768
1769 * files.el (basic-save-buffer): Remove redundant directory-creation.
1770
1771 2013-02-24 Jay Belanger <jay.p.belanger@gmail.com>
1772
1773 * calc/calc-ext.el (math-to-radians-2, math-from-radians-2):
1774 Add option to force `pi' to remain symbolic.
1775 * calc/calcalg2.el (calcFunc-sin, calcFunc-cos, calcFunc-tan)
1776 (calcFunc-cot, calcFunc-csc, calcFunc-sec, calcFunc-arcsin)
1777 (calcFunc-arccos, calcFunc-arctan): Use symbolic `pi' in the
1778 derivatives, when necessary.
1779
1780 2013-02-23 Peter Kleiweg <p.c.j.kleiweg@rug.nl>
1781
1782 * progmodes/ps-mode.el (ps-mode-version): Bump to 1.1i.
1783 (ps-mode-octal-region): Use string-make-unibyte.
1784
1785 2013-02-23 Glenn Morris <rgm@gnu.org>
1786
1787 * emulation/viper-cmd.el (viper-submit-report):
1788 * progmodes/ps-mode.el (ps-mode-maintainer-address):
1789 * progmodes/vera-mode.el (vera-mode-help-address):
1790 * textmodes/artist.el (artist-maintainer-address):
1791 * textmodes/reftex.el (reftex-report-bug):
1792 * vc/ediff-util.el (ediff-submit-report):
1793 Add bug-gnu-emacs to bug report address.
1794
1795 * progmodes/simula.el (simula-mode-menu, simula-mode-map):
1796 Remove bug report entries.
1797 (simula-mode-help-address, simula-submit-bug-report): Make obsolete.
1798
1799 * emacs-lisp/bytecomp.el (byte-compile-level): New.
1800 (byte-compile-file, byte-compile-from-buffer):
1801 Use separate input/output buffers for each level of recursive
1802 byte-compile-file calls. (Bug#13787)
1803
1804 2013-02-23 Michael Albinus <michael.albinus@gmx.de>
1805
1806 * net/tramp.el (tramp-methods): Fix docstring.
1807 (tramp-ssh-controlmaster-options): Rename it from
1808 `tramp-ssh-controlmaster-template'. Return a string.
1809 (tramp-default-method): Adapt check for
1810 `tramp-ssh-controlmaster-options'.
1811
1812 * net/tramp-sh.el (tramp-methods):
1813 Replace `tramp-ssh-controlmaster-template' by "%c".
1814 (tramp-do-copy-or-rename-file-out-of-band)
1815 (tramp-maybe-open-connection): Use it in format spec. Ensure,
1816 that it is applied for the first hop only.
1817
1818 2013-02-22 Juri Linkov <juri@jurta.org>
1819
1820 * isearch.el (isearch-lazy-highlight-new-loop):
1821 Set `isearch-lazy-highlight-start' and `isearch-lazy-highlight-end'
1822 to `isearch-other-end' if it is not nil. (Bug#13402)
1823
1824 * replace.el (replace-highlight): Let-bind `isearch-other-end'
1825 to `match-beg'.
1826
1827 * textmodes/ispell.el (ispell-highlight-spelling-error-overlay):
1828 Let-bind `isearch-other-end' to `start', `isearch-forward' to t
1829 and `isearch-error' to nil.
1830
1831 2013-03-16 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
1832
1833 * progmodes/python.el (python-info-current-defun):
1834 Enhance match-data cluttering prevention.
1835
1836 2013-02-22 Michael Albinus <michael.albinus@gmx.de>
1837
1838 * net/tramp.el (tramp-tramp-file-p): Fix docstring.
1839
1840 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1841 Handle multibyte file names.
1842
1843 2013-02-22 Glenn Morris <rgm@gnu.org>
1844
1845 * textmodes/sgml-mode.el (sgml-xml-mode): Move before use.
1846 (sgml-transformation-function): Give it a :set function.
1847 (sgml-tag): Doc fix.
1848
1849 * cmuscheme.el (scheme-buffer):
1850 * progmodes/inf-lisp.el (inferior-lisp-buffer):
1851 * progmodes/tcl.el (inferior-tcl-buffer):
1852 * textmodes/tex-mode.el (tex-command): Doc fixes.
1853
1854 * image-mode.el (image-mode): Add mouse bindings for mode-line-process.
1855
1856 * htmlfontify.el (hfy-default-header): Encode title string. (Bug#7457)
1857
1858 2013-02-21 Bastien Guerry <bzg@gnu.org>
1859
1860 * cmuscheme.el (scheme-buffer): Fix docstring. (Bug#13778)
1861
1862 2013-02-21 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
1863
1864 * progmodes/python.el (python-info-current-defun):
1865 Enhance match-data cluttering prevention.
1866
1867 2013-02-21 Glenn Morris <rgm@gnu.org>
1868
1869 * net/tramp.el (tramp-get-debug-buffer): Ensure outline.el is not
1870 loaded while outline-regexp is let bound. (Bug#9584)
1871
1872 2013-02-21 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
1873
1874 * progmodes/python.el (python-info-current-defun): Fix failed
1875 defun name retrieval because of unwanted match-data cluttering.
1876
1877 2013-02-21 Michael Albinus <michael.albinus@gmx.de>
1878
1879 * net/tramp.el (tramp-ssh-controlmaster-template): Make it a
1880 defconst. Apply independent check for ControlPersist.
1881
1882 * net/tramp-sh.el (tramp-sh-handle-set-file-times): Set $UTC only
1883 temporarily, via "env".
1884
1885 2013-02-21 Glenn Morris <rgm@gnu.org>
1886
1887 * info.el (Info-enable-edit): Remove.
1888 (Info-edit): Disable it rather than using Info-enable.
1889 (Info-edit-mode-hook, Info-edit-map, Info-edit-mode, Info-edit)
1890 (Info-cease-edit): Make editing of Info files obsolete.
1891
1892 * informat.el (Info-tagify):
1893 Handle buffers not visiting files. (Bug#13763)
1894
1895 2013-02-21 Juanma Barranquero <lekktu@gmail.com>
1896
1897 * calc/calc-graph.el (calc-graph-show-dumb): Fix typo.
1898
1899 2013-02-21 Glenn Morris <rgm@gnu.org>
1900
1901 * files.el (basic-save-buffer): Move check for existing parent
1902 directory after hooks. (Bug#13773)
1903
1904 2013-02-20 Stefan Monnier <monnier@iro.umontreal.ca>
1905
1906 * simple.el (command-execute): Move from C. Add obsolete check.
1907 (extended-command-history): Move from C.
1908
1909 2013-02-20 Ulrich MĂ¼ller <ulm@gentoo.org>
1910
1911 * jka-cmpr-hook.el (jka-compr-compression-info-list)
1912 (jka-compr-mode-alist-additions): Handle .txz suffix for
1913 XZ-compressed tar archives (bug#13770).
1914
1915 2013-02-20 Bastien Guerry <bzg@gnu.org>
1916
1917 * outline.el (outline-regexp, outline-heading-end-regexp):
1918 Make variables, not options (bug#13731).
1919
1920 2013-02-20 Glenn Morris <rgm@gnu.org>
1921
1922 * image.el (image-current-frame): Change from variable to function.
1923 (image-show-frame): Rename from image-nth-frame. Update callers.
1924 * image-mode.el (image-multi-frame): New variable.
1925 (image-mode-map, image-mode, image-goto-frame):
1926 Use image-multi-frame rather than image-current-frame.
1927 (image-mode, image-goto-frame): Use image-current-frame as
1928 function rather than as variable.
1929
1930 * emacs-lisp/cl-lib.el (cl-floatp-safe): Make it an alias for floatp.
1931 * emacs-lisp/cl-macs.el (cl--make-type-test)
1932 (cl--compiler-macro-assoc): Use floatp rather than cl-floatp-safe.
1933
1934 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
1935
1936 * net/tramp-cache.el (tramp-get-hash-table): New defun.
1937 (tramp-get-file-property, tramp-set-file-property)
1938 (tramp-get-connection-property, tramp-set-connection-property): Use it.
1939 (tramp-flush-file-property, tramp-flush-directory-property):
1940 Rename argument to KEY.
1941 (tramp-flush-connection-property): Simplify a little bit.
1942 (tramp-connection-property-p): New defun.
1943 (top): Reapply saved values only if there isn't a corresponding
1944 entry in `tramp-connection-properties'.
1945
1946 2013-02-19 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
1947
1948 * progmodes/python.el (python-indent-context):
1949 Fix python-info-line-ends-backslash-p call.
1950 (python-info-line-ends-backslash-p)
1951 (python-info-beginning-of-backslash): Respect line-number argument.
1952 (python-info-current-line-comment-p):
1953 Fix behavior when not at beginning-of-line.
1954 (python-util-position): Remove function.
1955 (python-util-goto-line): New function.
1956
1957 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
1958
1959 * eshell/em-unix.el (eshell/su): Require tramp.
1960 (eshell/sudo): Require tramp. Remove now unnecessary check.
1961
1962 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Let-bind
1963 `tramp-current-connection' in order to avoid an error when several
1964 commands are invoked in a short time in eshell and friends.
1965
1966 2013-02-19 Stefan Monnier <monnier@iro.umontreal.ca>
1967
1968 Cleanup some of EIEIO's namespace.
1969 * emacs-lisp/eieio.el (eieio--define-field-accessors): New macro.
1970 Use it to define all the class-* and object-* field accessors (renamed
1971 to eieio--class-* and eieio--object-*). Update all uses.
1972 (eieio--class-num-slots, eieio--object-num-slots): Rename from
1973 class-num-slots and object-num-slots.
1974 (eieio--check-type): New macro.
1975 (eieio-defclass, eieio-oref, eieio-oref-default, same-class-p)
1976 (object-of-class-p, child-of-class-p, object-slots, class-slot-initarg)
1977 (eieio-oset, eieio-oset-default, object-assoc, object-assoc-list)
1978 (object-assoc-list-safe): Use it.
1979 (eieio-defclass): Tighten regexp.
1980 (eieio--defmethod): Use `memq'. Signal an error for unknown method kind.
1981 Remove unreachable code.
1982 (object-class-fast): Declare obsolete.
1983 (eieio-class-name, eieio-object-name, eieio-object-set-name-string)
1984 (eieio-object-class, eieio-object-class-name, eieio-class-parents)
1985 (eieio-class-children, eieio-class-precedence-list, eieio-class-parent):
1986 Rename from class-name, object-name, object-set-name-string,
1987 object-class, object-class-name, class-parents, class-children,
1988 class-precedence-list, class-parent; with obsolete alias.
1989 (class-of, class-direct-superclasses, class-direct-subclasses):
1990 Declare obsolete.
1991 (eieio-defmethod): Use `memq'; remove unreachable code.
1992 * emacs-lisp/eieio-base.el (eieio-persistent-read):
1993 * emacs-lisp/eieio-opt.el (eieio-class-button, eieio-describe-generic)
1994 (eieio-browse-tree, eieio-browse): Use eieio--check-type.
1995
1996 2013-02-18 Aidan Gauland <aidalgol@no8wireless.co.nz>
1997
1998 * eshell/em-cmpl.el: Correct "context-related help" keybinding in
1999 commentary.
2000
2001 2013-02-18 Michael Heerdegen <michael_heerdegen@web.de>
2002
2003 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument):
2004 Use font-lock-keyword-face for macros and special forms (bug#8345).
2005
2006 2013-02-17 Didier Verna <didier@didierverna.net>
2007
2008 * net/network-stream.el (network-stream-open-starttls):
2009 Check that response to the starttls-command is non-nil. (Bug#13706)
2010
2011 2013-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
2012
2013 * font-lock.el (lisp-font-lock-keywords-1, lisp-font-lock-keywords-2):
2014 Don't assume all identifier chars have syntax word.
2015 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2016 Remove bar-not-symbol. Adjust callers.
2017 (lisp-mode-variables): Don't set a font-lock-syntax-table.
2018
2019 2013-02-17 Leo Liu <sdl.web@gmail.com>
2020
2021 * net/rcirc.el (rcirc-keepalive): Fix invalid timer error.
2022
2023 2013-02-17 Glenn Morris <rgm@gnu.org>
2024
2025 * menu-bar.el (menu-bar-tools-menu): Fix case of EDE entry.
2026
2027 * image-mode.el (image-mode-map): Add image-dired menu entry.
2028
2029 * image-dired.el (tumme): Make this alias obsolete.
2030
2031 2013-02-16 Glenn Morris <rgm@gnu.org>
2032
2033 * image.el (image-animated-types): Remove.
2034 (image-multi-frame-p): Rename from image-animated-p, and generalize.
2035 (image-animated-p): Make obsolete alias.
2036 (image-animate, image-nth-frame, image-animate-timeout):
2037 Use image-multi-frame-p.
2038 (image-animate-timeout): If no delay, use image-default-frame-delay.
2039 * image-mode.el (image-mode, image-toggle-animation):
2040 Use image-multi-frame-p. (Bug#763, bug#10739)
2041 (image-mode): Adjust startup message for a multi-frame image.
2042
2043 * image-mode.el (image-mode-map): Give it a menu.
2044
2045 2013-02-16 Michael Albinus <michael.albinus@gmx.de>
2046
2047 * net/tramp-cache.el (tramp-connection-properties): New customer
2048 option.
2049 (tramp-get-connection-property): Use it.
2050
2051 * net/tramp-compat.el (top): Require 'trampver.
2052
2053 * net/tramp-sh.el (tramp-remote-process-environment):
2054 Set tramp-autoload cookie.
2055
2056 2013-02-16 Kevin Ryde <user42@zip.com.au>
2057
2058 * info-look.el (info-lookup-select-mode): If major-mode has no
2059 info-lookup-alist entry then search up derived-mode-parent (bug#8660).
2060
2061 2013-02-16 Jambunathan K <kjambunathan@gmail.com>
2062
2063 * replace.el (read-regexp): Tighten the regexp that matches tag.
2064 When tag is retrieved with `find-tag-default', use regexp that
2065 matches tag at point. Also update docstring (Bug#13687).
2066
2067 2013-02-16 Eli Zaretskii <eliz@gnu.org>
2068
2069 * autorevert.el (auto-revert-notify-add-watch): With 'w32notify',
2070 add watch for the file, not its parent directory, since w32notify
2071 sets up the watch for the directory internally. (Bug#13725)
2072
2073 2013-02-16 Glenn Morris <rgm@gnu.org>
2074
2075 * image.el (image-default-frame-delay): New variable.
2076 (image-animated-p): Use image-default-frame-delay.
2077 (image-minimum-frame-delay): New constant.
2078 (image-animate-timeout): Use image-minimum-frame-delay.
2079
2080 * image.el (image-nth-frame): New, split from image-animate-timeout.
2081 (image-animate-timeout): Use image-nth-frame.
2082 * image-mode.el (image-goto-frame, image-next-frame)
2083 (image-previous-frame): New commands.
2084 (image-mode-map): Add new frame commands.
2085
2086 2013-02-16 Jonas Bernoulli <jonas@bernoul.li>
2087
2088 * emacs-lisp/tabulated-list.el (tabulated-list-print-col):
2089 If col-desc already has help-echo, use it. (Bug#13563)
2090
2091 2013-02-16 Glenn Morris <rgm@gnu.org>
2092
2093 * image.el (image-current-frame): New variable.
2094 (image-animate-timeout): Set image-current-frame.
2095 * image-mode.el (image-mode): For animated images,
2096 display a frame counter via mode-line-process.
2097
2098 * font-lock.el (lisp-font-lock-keywords-1): Add defvar-local.
2099
2100 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
2101
2102 * simple.el (eval-expression): Let `exp' set the mark (bug#13724).
2103
2104 2013-02-15 Alan Mackenzie <acm@muc.de>
2105
2106 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): When a
2107 global minor mode has been enabled, call the minor mode function
2108 for a new buffer once only, after the major mode hook, whilst
2109 allowing that hook explicitly to disable the minor mode.
2110 (MODE-disable-in-buffer): New (generated) function.
2111 (disable-MODE): New (generated) buffer local variable.
2112
2113 2013-02-15 Jambunathan K <kjambunathan@gmail.com>
2114
2115 * iswitchb.el (iswitchb-read-buffer): Bind `C-.' and `C-,' to
2116 `iswitchb-next-match' and `iswitchb-prev-match' resply.
2117 * ido.el (ido-init-completion-maps): Bind `C-.' and `C-,' to
2118 `ido-next-match' and `ido-prev-match' resply.
2119 * icomplete.el (icomplete-minibuffer-map): Unbind `C-s' and `C-r'.
2120 Bind `C-.' and `C-,' to `icomplete-forward-completions' and
2121 `icomplete-backward-completions' (Bug#13708).
2122
2123 2013-02-15 Glenn Morris <rgm@gnu.org>
2124
2125 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
2126
2127 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
2128
2129 * net/goto-addr.el (goto-address-fontify): Add start and end args.
2130 (goto-address-fontify-region): Use them instead of narrowing, so
2131 syntax-ppss has access to the whole buffer.
2132
2133 2013-02-15 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
2134
2135 * progmodes/python.el: Explain how to restore "cc-mode"-like
2136 forward-sexp movement in header documentation (Bug#13642).
2137 (python-nav--forward-sexp): Behave like emacs-lisp-mode in
2138 comments and strings (GH bug 114).
2139
2140 2013-02-15 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
2141
2142 * progmodes/python.el (python-info-current-defun): Fix current
2143 defun detection (Bug#13618).
2144
2145 2013-02-15 Chong Yidong <cyd@gnu.org>
2146
2147 * xml.el (xml-parse-string): Fix typo in handling of bad character
2148 references.
2149
2150 2013-02-15 Glenn Morris <rgm@gnu.org>
2151
2152 * play/fortune.el (fortune-compile): Simplify and fix previous change.
2153
2154 2013-02-14 Michael Albinus <michael.albinus@gmx.de>
2155
2156 * net/tramp.el (tramp-debug-message):
2157 Add `tramp-condition-case-unless-debug'.
2158 (tramp-debug-on-error): New defvar.
2159 (tramp-condition-case-unless-debug): New defun.
2160 (tramp-file-name-handler): Use it.
2161
2162 2013-02-14 Juri Linkov <juri@jurta.org>
2163
2164 * info.el (Info-isearch-filter): Treat non-nil values of
2165 `search-invisible' including its default value `open'
2166 like the value `t' to match hidden text. (Bug#13402)
2167
2168 2013-02-14 Glenn Morris <rgm@gnu.org>
2169
2170 * help-fns.el (find-lisp-object-file-name): Give special treatment
2171 to all ~/.foo.elc files, not just ~/.emacs. (Bug#9007)
2172
2173 2013-02-14 David Biesack <sasdjb@d72933.na.sas.com> (tiny change)
2174
2175 * net/quickurl.el (quickurl-save-urls):
2176 Ensure quickurl-urls is not truncated on printing. (Bug#9276)
2177
2178 2013-02-14 Dmitry Gutov <dgutov@yandex.ru>
2179
2180 * progmodes/ruby-mode.el (ruby-parse-partial): Don't increase
2181 depth for unfinished percent literal. Not using it in the caller.
2182 (ruby-move-to-block): Jump over multiline literals of all types,
2183 ignoring code-looking contents inside them.
2184 (ruby-add-log-current-method): Improve performance at the expense
2185 of accuracy. `ruby-block-contains-point' is relatively slow, so
2186 only use it for method and singleton class blocks.
2187
2188 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
2189
2190 Use ControlMaster where applicable. (Bug#13677)
2191
2192 * net/tramp.el (tramp-ssh-controlmaster-template): New defvar,
2193 replacing `tramp-detect-ssh-controlmaster'.
2194 (tramp-default-method): Use it.
2195
2196 * net/tramp-sh.el (tramp-methods) [scp, scp1, scp2, scpx, sftp]:
2197 [rsync, ssh, ssh1, ssh2, sshx]: Add ControlPath and ControlMaster
2198 arguments.
2199 [scpc, rsyncc]: Remove methods.
2200 (top): Remove completion functions for "scpc", "rsyncc", "ssh1_old"
2201 and "ssh2_old".
2202 (tramp-do-copy-or-rename-file-out-of-band): Change trace level.
2203 (tramp-maybe-open-connection): Reuse tmpfile for ControlPath.
2204
2205 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
2206
2207 * emacs-lisp/package.el (package--initialized): Move before first use.
2208
2209 2013-02-13 Jambunathan K <kjambunathan@gmail.com>
2210
2211 * icomplete.el (icomplete-hide-common-prefix): New user option.
2212 (icomplete-first-match): New face.
2213 (icomplete-completions): Correct handling of "complete but not
2214 unique" (Bug#12638).
2215
2216 2013-02-13 YE Qianchuan <stool.ye@gmail.com> (tiny change)
2217
2218 * descr-text.el (describe-char): Display the script (bug#13698).
2219
2220 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
2221
2222 * tmm.el: Use lexical-binding and current-active-maps.
2223 (tmm-menubar): Use map-keymap and pcase.
2224 (tmm--completion-table): New function.
2225 (tmm-prompt): Use it to fix the menu order.
2226 (tmm-get-keybind): Use current-active-maps.
2227
2228 2013-02-12 Christopher Schmidt <christopher@ch.ristopher.com>
2229
2230 Add dired-hide-details-mode. (Bug#6799)
2231
2232 * locate.el (locate-mode): Set parent mode property to dired-mode.
2233
2234 * find-dired.el (find-dired): Call dired-insert-set-properties on
2235 initial information line. Set process mark on end of buffer.
2236 (find-dired-sentinel):
2237 Call dired-insert-set-properties on summary.
2238
2239 * dired.el (dired-hide-details-hide-symlink-targets)
2240 (dired-hide-details-hide-information-lines): New options.
2241 (dired-insert-directory):
2242 Set properties after final treatment of output.
2243 (dired-insert-set-properties):
2244 Set dired-hide-details-* properties.
2245 (dired-mode-map): Bind dired-hide-details-mode.
2246 (dired-mode): Set buffer-invisibility-spec to a list.
2247 (dired-next-line): Skip hidden lines.
2248 (dired-previous-line): Use dired-next-line.
2249 (dired-hide-details-mode): New minor mode.
2250 (dired-hide-details-update-invisibility-spec): New function.
2251
2252 2013-02-13 Glenn Morris <rgm@gnu.org>
2253
2254 * play/yow.el: Move to obsolete/. (Bug#9384)
2255
2256 2013-02-13 Juri Linkov <juri@jurta.org>
2257
2258 * vc/ediff-util.el (ediff-recenter): Use `select-frame-set-input-focus'
2259 to select `ediff-control-frame' and set input focus correctly on Xfce.
2260 (Bug#12218)
2261
2262 2013-02-13 Juri Linkov <juri@jurta.org>
2263
2264 * image-mode.el (image-mode-map):
2265 * doc-view.el (doc-view-mode-map):
2266 * vc/ediff-util.el (ediff-setup-keymap):
2267 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
2268
2269 2013-02-13 Dmitry Gutov <dgutov@yandex.ru>
2270
2271 * progmodes/ruby-mode.el (ruby-move-to-block): Improve
2272 performance. Instead of recalculating indentation fully for each
2273 line, sum up indentation depth based only on visited lines.
2274 (ruby-parse-partial): Increase the depth after "do" even when END
2275 is right after it.
2276 (ruby-parse-partial): When END is in the middle of a percent
2277 literal, increase the depth if the delimiter chars belong to the
2278 paren syntax class.
2279
2280 2013-02-13 Kirill A. Korinskiy <catap@catap.ru>
2281
2282 * play/fortune.el (fortune-compile): Also make the compiled file
2283 if it does not exist at all, not just if it is old. (Bug#5338)
2284
2285 2013-02-13 Glenn Morris <rgm@gnu.org>
2286
2287 * emacs-lisp/package.el (package-menu-execute): Doc fix.
2288
2289 2013-02-13 Yves Baumes <ybaumes@gmail.com> (tiny change)
2290
2291 * lisp/emacs-lisp/package.el (package-menu-execute):
2292 Add optional noquery argument. (Bug#13625)
2293
2294 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
2295
2296 * net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error,
2297 if DIR exists and PARENTS is non-nil.
2298
2299 2013-02-13 Juanma Barranquero <lekktu@gmail.com>
2300
2301 * progmodes/js.el (js--multi-line-declaration-indentation):
2302 Silence byte-compiler warning.
2303
2304 2013-02-12 Michael Albinus <michael.albinus@gmx.de>
2305
2306 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Rewrite.
2307
2308 * net/tramp-compat.el (top): Declare `remote-file-name-inhibit-cache'
2309 only if it doesn't exist.
2310
2311 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2312 Set process marker.
2313
2314 2013-02-12 Tassilo Horn <tsdh@gnu.org>
2315
2316 * doc-view.el (doc-view-odf->pdf-converter-soffice): Use separate
2317 UserInstallation when calling soffice to work around LibreOffice
2318 bug 37531.
2319
2320 2013-02-12 Glenn Morris <rgm@gnu.org>
2321
2322 * files.el (basic-save-buffer):
2323 Offer to create a non-existing directory. (Bug#3016)
2324
2325 * calc/calc-graph.el (calc-graph-show-dumb):
2326 * calendar/calendar.el (calendar-mode-map):
2327 * cus-edit.el (custom-mode-map):
2328 * ehelp.el (electric-help-map):
2329 * emulation/vip.el (vip-mode-map):
2330 * epa.el (epa-key-list-mode-map):
2331 * info.el (Info-mode-map):
2332 * mail/rmail.el (rmail-mode-map):
2333 * mail/rmailsum.el (rmail-summary-mode-map):
2334 * man.el (Man-mode-map):
2335 * net/newst-plainview.el (newsticker-mode-map):
2336 * progmodes/cpp.el (cpp-edit-mode-map):
2337 * progmodes/grep.el (grep-mode-map):
2338 * progmodes/idlw-help.el (idlwave-help-mode-map):
2339 * simple.el (special-mode-map):
2340 * startup.el (splash-screen-keymap):
2341 * view.el (view-mode-map):
2342 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
2343
2344 2013-02-11 Elias Pipping <pipping@lavabit.com>
2345
2346 * doc-view.el (doc-view-current-cache-dir): Beware % escapes
2347 (bug#13679).
2348
2349 2013-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
2350
2351 * cus-start.el (all): Remove inhibit-local-menu-bar-menus.
2352
2353 2013-02-11 Glenn Morris <rgm@gnu.org>
2354
2355 * vc/diff.el (diff-use-labels): New variable.
2356 (diff-no-select): Use --label rather than -L, and first
2357 check that it is supported. (Bug#11067)
2358
2359 * files.el (enable-dir-local-variables): New variable.
2360 (hack-dir-local-variables): Respect enable-dir-local-variables.
2361 * tutorial.el (help-with-tutorial):
2362 Ignore directory-local variables. (Bug#11127)
2363
2364 * vc/vc-svn.el (vc-svn-command): Move --non-interactive from here...
2365 (vc-svn-global-switches): ... to here. (Bug#13513)
2366
2367 2013-02-10 Christopher Schmidt <christopher@ch.ristopher.com>
2368
2369 * minibuf-eldef.el (minibuffer-default--in-prompt-regexps):
2370 Handle "foo (bar, default: xxx): " prompts.
2371
2372 2013-02-10 Chong Yidong <cyd@gnu.org>
2373
2374 * files.el (basic-save-buffer-1): Do not set
2375 buffer-file-coding-system-explicit (Bug#4533).
2376
2377 * mail/emacsbug.el (report-emacs-bug): Change binding of
2378 report-emacs-bug-insert-to-mailer to C-c M-i (Bug#13510).
2379
2380 2013-02-09 Jay Belanger <jay.p.belanger@gmail.com>
2381
2382 * calc/calc.el (calc-allow-units-as-numbers): New variable.
2383 * calc/calc-units.el (calc-convert-units): Use new variable.
2384
2385 2013-02-09 Eli Zaretskii <eliz@gnu.org>
2386
2387 * subr.el (buffer-file-type, default-buffer-file-type): Remove.
2388
2389 * net/ange-ftp.el (ange-ftp-insert-file-contents): Don't reference
2390 buffer-file-type.
2391
2392 * mail/feedmail.el (feedmail-force-binary-write): Doc fix.
2393 (feedmail-run-the-queue, feedmail-dump-message-to-queue)
2394 (feedmail-send-it-immediately): Don't bind buffer-file-type, bind
2395 coding-system-for-write instead.
2396
2397 * jka-compr.el (jka-compr-write-region): Don't bind
2398 buffer-file-type.
2399
2400 * emacs-lisp/bytecomp.el (byte-compile-file): Don't bind
2401 buffer-file-type.
2402
2403 * files.el (file-name-buffer-file-type-alist): Remove defvar.
2404 (insert-file-contents-literally): Remove reference to
2405 file-name-buffer-file-type-alist.
2406
2407 * dos-w32.el (file-name-buffer-file-type-alist): Deprecate and
2408 make-obsolete.
2409 (find-buffer-file-type-match, find-buffer-file-type): Remove.
2410 (find-buffer-file-type-coding-system): Remove references to
2411 find-buffer-file-type-match, find-buffer-file-type, and
2412 buffer-file-type.
2413 Don't put find-buffer-file-type-coding-system into
2414 file-coding-system-alist.
2415 (find-file-binary, find-file-text): Bind coding-system-for-read
2416 instead of file-name-buffer-file-type-alist.
2417
2418 2013-02-09 Jambunathan K <kjambunathan@gmail.com>
2419
2420 * doc-view.el: Use (and prefer) soffice as default ODF->PDF
2421 converter (Bug#13622).
2422 (doc-view-unoconv-program): Make obsolete alias.
2423 (doc-view-odf->pdf-converter-program): New variable.
2424 (doc-view-odf->pdf-converter-function): New variable.
2425 (doc-view-mode-p): Use it.
2426 (doc-view-odf->pdf-converter-unoconv):
2427 Rename from `doc-view-odf->pdf-converter-unoconv'.
2428 (doc-view-odf->pdf-converter-soffice): New function.
2429 (doc-view-convert-current-doc):
2430 Use `doc-view-odf->pdf-converter-function'.
2431
2432 2013-02-09 Chong Yidong <cyd@gnu.org>
2433
2434 * minibuffer.el (minibuffer-inactive-mode-map): Bind mouse-1 to
2435 view-echo-area-messages (Bug#13340).
2436
2437 * help.el (view-echo-area-messages): Use display-buffer.
2438
2439 * dired-x.el (dired-do-run-mail): Prompt for confirmation
2440 (Bug#13561).
2441
2442 2013-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
2443
2444 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
2445 Eval body right away, now that we do eager macroexpansion (bug#13605).
2446
2447 * simple.el (end-of-buffer): Don't touch unrelated windows (bug#13466).
2448 (fundamental-mode): Use run-mode-hooks.
2449
2450 * eshell/esh-proc.el (eshell/kill): Fix last change.
2451 * eshell/em-ls.el (eshell-ls-dir): Fix use of CL in last change.
2452
2453 2013-02-08 Aidan Gauland <aidalgol@no8wireless.co.nz>
2454
2455 * eshell/esh-proc.el (eshell/kill): Rewrite.
2456
2457 * eshell/em-ls.el (show-almost-all): Declare.
2458 (eshell-do-ls): Add support for -A argument.
2459
2460 2013-02-08 Jambunathan K <kjambunathan@gmail.com>
2461
2462 * icomplete.el (icomplete-forward-completions)
2463 (icomplete-backward-completions): Handle corner case (bug#13602).
2464
2465 2013-02-07 Michael Albinus <michael.albinus@gmx.de>
2466
2467 * vc/vc-hooks.el (vc-find-file-hook): `buffer-file-truename' can
2468 be nil. Handle this. (Bug#13636)
2469
2470 2013-02-07 Richard Stallman <rms@gnu.org>
2471
2472 * mail/rmail.el (rmail-variables): Specify `no-conversion' for
2473 `save-buffer-coding-system'.
2474
2475 2013-02-07 Alan Mackenzie <acm@muc.de>
2476
2477 Fix bug in state cache mechanism. Remove 'BOD "strategy". Refactor.
2478 * progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove.
2479 (c-parse-state-get-strategy): Don't return 'BOD any more.
2480 (c-append-lower-brace-pair-to-state-cache):
2481 Extra parameter HERE instead of narrowing.
2482 Widen to top of buffer before searching backwards for a brace pair.
2483 (c-state-push-any-brace-pair): Add HERE parameter to function call.
2484 (c-append-to-state-cache): Extra parameter HERE in place of narrowing.
2485 Narrow to parameter HERE, in place of being called narrowed.
2486 (c-remove-stale-state-cache): Extra parameter HERE in place of
2487 narrowing. Check there's an open brace in the cache before
2488 searching for its match.
2489 (c-invalidate-state-cache-1): Add HERE parameter to function call.
2490 (c-parse-state-1): Don't narrow here for 'forward strategy,
2491 instead passing extra parameter HERE to several functions.
2492 Remove 'BOD strategy.
2493
2494 2013-02-06 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
2495
2496 * emacs-lisp/package.el (describe-package-1): Tell what archive is
2497 used to install the package.
2498
2499 2013-02-06 Glenn Morris <rgm@gnu.org>
2500
2501 * vc/vc-hooks.el (vc-find-file-hook): Don't ask about following links
2502 if we can't get user input. (Bug#6567)
2503
2504 * startup.el (command-line): If simple.el is missing,
2505 test and warn about for some possible causes.
2506
2507 2013-02-05 Jan Djärv <jan.h.d@swipnet.se>
2508
2509 * cus-start.el (all): Add ns-use-native-fullscreen.
2510
2511 2013-02-05 Glenn Morris <rgm@gnu.org>
2512
2513 * profiler.el (profiler-report-mode-map): Add a restart menu entry.
2514
2515 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
2516 Fix directory creation in fallback case.
2517
2518 2013-02-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2519
2520 * vc/vc.el (vc-next-action): Fix inf-loop (bug#13610).
2521 (vc-update-change-log): Use dolist.
2522
2523 2013-02-04 Chong Yidong <cyd@gnu.org>
2524
2525 * thingatpt.el: Rewrite the URL detection routines, absorbing some
2526 code from ffap.el.
2527 (thing-at-point-beginning-of-url-regexp): New var.
2528 (thing-at-point-uri-schemes): Update list of URI schemes.
2529 (thing-at-point-url-regexp): Variable deleted.
2530 (thing-at-point-markedup-url-regexp): Disallow newlines.
2531 (thing-at-point-newsgroup-regexp)
2532 (thing-at-point-newsgroup-heads)
2533 (thing-at-point-default-mail-uri-scheme): New variables.
2534 (thing-at-point-bounds-of-url-at-point): Rewrite. Use ffap's
2535 method to find the possible bounds of the URI at point.
2536 New optional argument to find ill-formed URIs.
2537 (thing-at-point-url-at-point): Rewrite. New arguments for finding
2538 ill-formed URIs. Use thing-at-point-bounds-of-url-at-point, and
2539 the scheme-adding heuristics from ffap-url-at-point.
2540 (thing-at-point--bounds-of-well-formed-url): New function.
2541 Do parens matching to decide whether to include parens in the URI
2542 (Bug#9153).
2543
2544 * ffap.el: Require thingatpt.
2545 (ffap-url-at-point): Delegate URI detection to thing-at-point.
2546 All URI-valid characters are now recognized (Bug#5673).
2547 (ffap-string-at-point): Use use-region-p.
2548 (ffap-url-regexp): Extra character is handled by thing-at-point.
2549 (ffap-string-at-point-mode-alist): Allow parentheses.
2550 (ffap-newsgroup-regexp, ffap-newsgroup-heads, ffap-newsgroup-p):
2551 Convert to aliases; code moved to thingatpt.el.
2552 (ffap-gnus-hook): Use setq-local.
2553
2554 2013-02-04 Glenn Morris <rgm@gnu.org>
2555
2556 * emacs-lisp/ert.el (ert--explain-format-atom):
2557 Don't try to print non-characters as characters. (Bug#13543)
2558
2559 2013-02-03 Michael Albinus <michael.albinus@gmx.de>
2560
2561 * net/tramp.el (tramp-debug-message): Extend function exclude list.
2562 (tramp-backtrace): New defun.
2563 (tramp-handle-insert-file-contents): Use `visit' when inserting
2564 the local copy.
2565
2566 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime):
2567 Use `remote-file-name-inhibit-cache'.
2568
2569 2013-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
2570
2571 * progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning
2572 (bug#13614).
2573
2574 * subr.el (internal--called-interactively-p--get-frame): Avoid filling
2575 current-load-list (bug#13366).
2576
2577 2013-02-02 Christopher Schmidt <christopher@ch.ristopher.com>
2578
2579 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2580 Identify g++ template instantiation trace. (Bug#12287)
2581 (compilation-mode-hook, compilation-start-hook)
2582 (compilation-window-height): Simplify docstrings. (Bug#13379)
2583
2584 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
2585
2586 * mouse.el (mouse-drag-track): Always deactivate the mark before
2587 running the final event's command since that command is in charge of
2588 activating the mark if needed (bug#13523).
2589
2590 2013-02-02 Juri Linkov <juri@jurta.org>
2591
2592 * replace.el (perform-replace): Move let-bindings of isearch-*
2593 variables deeper to the loop that searches for the next match.
2594 Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
2595 Use `isearch-search-fun-default' instead of `isearch-search-fun'.
2596 (Bug#13579)
2597
2598 * isearch.el (isearch-search-fun-default): Check for null
2599 first element of isearch-cmds as a precaution when it's used
2600 with inactive isearch.
2601
2602 2013-02-02 Andrew W. Nosenko <andrew.w.nosenko@gmail.com> (tiny change)
2603
2604 * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
2605 error when buffer in question is narrowed so position 1 is out of
2606 visible part.
2607
2608 2013-02-02 Glenn Morris <rgm@gnu.org>
2609
2610 * textmodes/remember.el (remember-clipboard): Doc fix.
2611
2612 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
2613
2614 * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
2615 properties (bug#13179).
2616
2617 2013-02-02 Juri Linkov <juri@jurta.org>
2618
2619 * progmodes/grep.el (grep-regexp-alist): Use variable grep-match-face
2620 instead of hard-coded default face `match'. (Bug#9438)
2621
2622 2012-02-01 Christopher Schmidt <christopher@ch.ristopher.com>
2623
2624 * vc/vc-arch.el (vc-arch-registered):
2625 * vc/vc-bzr.el (vc-bzr-registered):
2626 * vc/vc-cvs.el (vc-cvs-registered):
2627 * vc/vc-git.el (vc-git-registered):
2628 * vc/vc-hg.el (vc-hg-registered):
2629 * vc/vc-mtn.el (vc-mtn-registered):
2630 * vc/vc-svn.el (vc-svn-registered): Suppress load messages.
2631 (Bug#13139)
2632
2633 * info.el (Info-next-reference, Info-prev-reference): Add numeric
2634 prefix argument. (Bug#11656)
2635
2636 2013-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
2637
2638 * help-fns.el (help-split-fundoc): Don't insert byte-compiled body.
2639
2640 2013-02-01 Glenn Morris <rgm@gnu.org>
2641
2642 * vc/vc-hooks.el (vc-menu-map): Disable vc-rollback menu item
2643 if the backend is known not to support it.
2644
2645 * imenu.el (imenu-default-create-index-function):
2646 Tweak infinite loop test to check for forward motion as well as none.
2647
2648 2013-02-01 Alex Harsanyi <AlexHarsanyi@gmail.com>
2649
2650 * net/soap-client.el (soap-invoke): Encode the string for
2651 `url-request-data' as UTF-8.
2652 Fixes <http://code.google.com/p/emacs-soap-client/issues/detail?id=16>.
2653
2654 2013-02-01 Glenn Morris <rgm@gnu.org>
2655
2656 * calc/calc-help.el (calc-view-news): Use view-emacs-news.
2657
2658 * calc/README, calc/README.prev: Rename/merge to etc/CALC-NEWS.
2659
2660 2013-01-31 Michael Albinus <michael.albinus@gmx.de>
2661
2662 * net/tramp.el (tramp-tramp-file-p): Comment check for
2663 `string-as-unibyte'. The function does not exist on XEmacs, and
2664 likely we need another approach.
2665
2666 * net/tramp-sh.el (tramp-compute-multi-hops): Check, whether
2667 `tramp-gw-*' variables are bound.
2668
2669 2013-01-31 Glenn Morris <rgm@gnu.org>
2670
2671 * files.el (basic-save-buffer-2): Choose coding system for
2672 writing the file before backing it up, to reduce delay between
2673 backing up and writing the new version. (Bug#13522)
2674
2675 2013-01-31 Michal Nazarewicz <mina86@mina86.com>
2676
2677 * simple.el (cycle-spacing): New command.
2678 (just-one-space): Use it.
2679
2680 2013-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
2681
2682 * progmodes/opascal.el: Rename from delphi.el. Use lexical-binding.
2683 (opascal-newline-always-indents): Remove custom.
2684 (opascal-tab, opascal-newline): Remove commands.
2685 (opascal-new-comment-line): Insert "\n" instead of calling newline.
2686 (opascal-mode-map): Keep default bindings for RET and TAB and DEL.
2687 (opascal-save-match-data): Remove, use save-match-data instead.
2688 (opascal-save-state): Use with-silent-modifications.
2689
2690 * progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments
2691 (bug#13585).
2692
2693 2013-01-30 Juri Linkov <juri@jurta.org>
2694
2695 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
2696 Use fullboth as an alias for fullscreen. Suggested by Jan Djärv in
2697 <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00203.html>.
2698
2699 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
2700
2701 * progmodes/make-mode.el (makefile-backslash-region): Don't compute
2702 column if we're just deleting the backslashes.
2703 (makefile-fill-paragraph): Use eolp.
2704
2705 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
2706
2707 * autorevert.el (auto-revert-use-notify): Fix docstring.
2708
2709 2013-01-30 Leo Liu <sdl.web@gmail.com>
2710
2711 * imenu.el (imenu--truncate-items): Fix subalist checking (bug#13576).
2712
2713 2013-01-30 Glenn Morris <rgm@gnu.org>
2714
2715 * mouse.el (mouse-drag-line): Avoid pushing same event onto
2716 unread-command-events twice in some cases. This tries to implement
2717 the 2012-07-26 changes in a different way. (Bug#13560)
2718
2719 2013-01-30 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
2720
2721 * progmodes/python.el
2722 (python-pdbtrack-comint-output-filter-function): Enhancements on
2723 stacktrace detection. (thanks @gnovak)
2724
2725 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
2726
2727 * jit-lock.el (jit-lock-stealth-chunk-start): Don't widen (bug#13542).
2728 (jit-lock-mode, jit-lock-functions, jit-lock-context-unfontify-pos):
2729 Use defvar-local.
2730 (jit-lock-register): Use setq-local.
2731
2732 2013-01-30 Jay Belanger <jay.p.belanger@gmail.com>
2733
2734 * calc-units.el (math-default-units-table): Remove initial value.
2735 (calc-convert-units): Treat expressions where all the units cancel as
2736 if they didn't have units.
2737
2738 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
2739
2740 * net/tramp.el (tramp-process-connection-type): Fix docstring.
2741 (tramp-completion-reread-directory-timeout): Fix type.
2742 (tramp-connection-min-time-diff): New defcustom.
2743
2744 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
2745
2746 2013-01-30 Glenn Morris <rgm@gnu.org>
2747
2748 * imenu.el (imenu-default-create-index-function):
2749 Put back a version of the infinite loop test removed 2013-01-23.
2750
2751 2013-01-30 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
2752
2753 * progmodes/python.el (python-shell-parse-command):
2754 Find python-shell-interpreter with modified environment.
2755
2756 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
2757
2758 * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
2759
2760 2013-01-29 Alan Mackenzie <acm@muc.de>
2761
2762 Amend to fontify /regexp/s in actions correctly.
2763 * cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re):
2764 (c-awk-harmless-string*-here-re): Braces, parens and semicolons
2765 are no longer included.
2766 (c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re):
2767 What used to be these variables without "-line" in the name.
2768 (c-awk-neutral-re): { is no longer neutral. Escaped newlines now are.
2769 (c-awk-non-arith-op-bra-re): Now also matches {.
2770 (c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print",
2771 "return", and "case".
2772 (c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed
2773 by /.
2774 (c-awk-syntax-tablify-/): Check special cases "print /re/", etc.
2775 (c-awk-set-syntax-table-properties): Extend FSM to handle {,},(,),;.
2776
2777 2013-01-29 Michael Albinus <michael.albinus@gmx.de>
2778
2779 * autorevert.el (auto-revert-use-notify):
2780 Use `custom-initialize-default' for initialization. (Bug#13583)
2781
2782 * net/ange-ftp.el (ange-ftp-skip-msgs): Add another message.
2783
2784 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2785 Catch `suppress'. Otherwise, `tramp-run-real-handler' might be called
2786 in `tramp-file-name-handler'.
2787 (tramp-gw-tunnel-method, tramp-gw-socks-method): Declare for
2788 compatibility.
2789 (tramp-compute-multi-hops): Check, whether
2790 `tramp-gw-tunnel-method' and `tramp-gw-socks-method' are non-nil.
2791
2792 2013-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
2793
2794 * hi-lock.el (hi-lock-unface-buffer): Don't assume `face' is a symbol
2795 (bug#13297).
2796
2797 2013-01-27 Dmitry Gutov <dgutov@yandex.ru>
2798
2799 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove some
2800 checks made superfluous by the \_< operator.
2801 * progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe
2802 temporarily) broken indentation.
2803 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2804 Highlight nested constants, too. \_< broke that.
2805
2806 2013-01-27 Nobuyoshi Nakada <nobu@ruby-lang.org>
2807
2808 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<"
2809 instead of "\\b".
2810
2811 2013-01-27 Michael Albinus <michael.albinus@gmx.de>
2812
2813 * autorevert.el (auto-revert-handler): Notifications which result
2814 from a saved file shall not be taken into account. (Bug#13557)
2815
2816 2013-01-26 Andreas Schwab <schwab@linux-m68k.org>
2817
2818 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional
2819 parameter BAR-NOT-SYMBOL to control syntax of | for font-lock.
2820 (lisp-mode): Pass t for it. (Bug#13556)
2821
2822 2013-01-25 Alan Mackenzie <acm@muc.de>
2823
2824 AWK Mode: Fix indentation bug at top level. Bug #12274.
2825
2826 * progmodes/cc-engine.el (c-guess-basic-syntax): Move CASE 5P to
2827 just before CASE 5D.
2828
2829 2013-01-25 Dmitry Antipov <dmantipov@yandex.ru>
2830
2831 * net/socks.el (socks-nslookup-host): Use string-to-number.
2832
2833 2013-01-25 Michael Albinus <michael.albinus@gmx.de>
2834
2835 * autorevert.el (auto-revert-remote-files)
2836 (auto-revert-notify-exclude-dir-regexp): New defcustoms.
2837 (auto-revert-notify-enabled, auto-revert-use-notify)
2838 (auto-revert-notify-watch-descriptor-hash-list)
2839 (auto-revert-notify-modified-p, auto-revert-notify-event-p)
2840 (auto-revert-notify-event-descriptor)
2841 (auto-revert-notify-event-action)
2842 (auto-revert-notify-event-file-name): Doc fix.
2843 (global-auto-revert-mode): Reorder checks.
2844 (auto-revert-notify-rm-watch): Respect changed values of
2845 `auto-revert-notify-watch-descriptor-hash-list'.
2846 (auto-revert-notify-add-watch): Check for
2847 `auto-revert-notify-exclude-dir-regexp'. Adapt filters for
2848 `inotify-add-watch'. Watch `default-directory' instead of
2849 `buffer-file-name'. `auto-revert-notify-watch-descriptor-hash-list'
2850 has a changed meaning now. (Bug#13540)
2851 (auto-revert-notify-handler): Change implementation wrt events
2852 returning from a directory.
2853 (auto-revert-handler): Reorder implementation for checks of remote
2854 files.
2855 (auto-revert-buffers): Fix parentheses error.
2856
2857 2013-01-25 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
2858
2859 * progmodes/python.el: Enhancements to header documentation about
2860 skeletons. (Bug#5716)
2861
2862 * imenu.el (imenu-default-create-index-function): Remove useless
2863 infinite loop check. (Bug#13438)
2864
2865 2013-01-25 Alan Mackenzie <acm@muc.de>
2866
2867 Fix a bug in the state cache mechanism. Refactor this a bit.
2868
2869 * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
2870 `cache-pos' element from the return value.
2871 (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
2872 buffer to enable proper searching from beyond HERE. Amend the
2873 test for detecting the sought brace pair. Amend the value written
2874 to the "brace desert cache" when the brace isn't found.
2875 (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
2876 and several other variables analogously.
2877 (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
2878 parameter to a locally calculated variable.
2879 (c-parse-state-1): Change the calling conventions to the two
2880 defuns involving `cache-pos'.
2881
2882 2013-01-25 Chong Yidong <cyd@gnu.org>
2883
2884 * xml.el (xml-entity-or-char-ref-re): Fix regexp.
2885
2886 2013-01-24 Aaron Ecay <aaronecay@gmail.com> (tiny change)
2887
2888 * paren.el (show-paren-function): Make sure to set 'priority and
2889 'face only if the overlay does exist.
2890
2891 2013-01-24 Michael Albinus <michael.albinus@gmx.de>
2892
2893 * net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte.
2894
2895 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress
2896 basic attributes.
2897 (tramp-sh-handle-set-file-acl): Improve error checking.
2898
2899 2013-01-24 Dmitry Antipov <dmantipov@yandex.ru>
2900
2901 * doc-view.el (doc-view-display): Force mode line update until all
2902 document is converted. Suggested by Stefan Monnier (Bug#13164).
2903
2904 2013-01-23 Bastien Guerry <bzg@gnu.org>
2905
2906 * paren.el (show-paren-function): Make sure an overlay exists
2907 before trying to delete it. Also use `pos' as a position only
2908 when it is an integer.
2909
2910 2013-01-23 Dmitry Antipov <dmantipov@yandex.ru>
2911
2912 * play/gametree.el (gametree-break-line-here): Use point-marker.
2913
2914 2013-01-22 Michael Albinus <michael.albinus@gmx.de>
2915
2916 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
2917 Mark descriptive parts with `display' property.
2918
2919 2013-01-21 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
2920
2921 * textmodes/ispell.el (ispell-hunspell-dictionary-equivs-alist):
2922 New variable to map standard dict names to hunspell ones.
2923 (ispell-set-spellchecker-params): Make sure specific dict names
2924 are used for standard dicts with hunspell.
2925
2926 2013-01-21 Tassilo Horn <tsdh@gnu.org>
2927
2928 * textmodes/reftex-cite.el (reftex-format-citation): Add format
2929 chars for note (%N) and url (%U).
2930 * textmodes/reftex-vars.el (reftex-cite-format): Document them.
2931
2932 2013-01-21 Juri Linkov <juri@jurta.org>
2933
2934 * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
2935 in addition to existing separate binding `meta f10' in `global-map'.
2936 (Bug#13484)
2937
2938 2013-01-21 Michael Albinus <michael.albinus@gmx.de>
2939
2940 Improve XEmacs compatibility.
2941
2942 * net/tramp.el (tramp-replace-environment-variables): Make it a defun.
2943
2944 * net/tramp-adb.el (top): Require `time-date'.
2945 (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'.
2946 (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file):
2947 Use `tramp-file-name-handler'.
2948 (tramp-adb-maybe-open-connection):
2949 Use `tramp-compat-set-process-query-on-exit-flag'.
2950
2951 * net/tramp-sh.el (tramp-sh-handle-file-acl):
2952 Use `tramp-compat-funcall'.
2953
2954 * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and
2955 `tramp-compat-funcall'.
2956
2957 2013-01-21 JĂ¼rgen Hötzel <juergen@archlinux.org>
2958
2959 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete
2960 reimplementation using "adb shell command ..." instead of running
2961 remote shell interactively.
2962
2963 2013-01-20 Glenn Morris <rgm@gnu.org>
2964
2965 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
2966 Add native profiler menu entries.
2967
2968 * profiler.el (profiler-running-p): New function.
2969 (profiler-cpu-profile): Use profiler-running-p.
2970 (profiler-report-mode-map): Add some more menu entries.
2971
2972 2013-01-19 Glenn Morris <rgm@gnu.org>
2973
2974 * mail/unrmail.el (unrmail): Do not mangle the mbox From line;
2975 fixes 2012-12-07 change. (Bug#13499)
2976
2977 2013-01-19 Leo Liu <sdl.web@gmail.com>
2978
2979 * dired.el (dired-get-marked-files): Prune erroneous values due to
2980 last change. (Bug#13152)
2981
2982 2013-01-19 Glenn Morris <rgm@gnu.org>
2983
2984 * progmodes/etags.el (tags-table-check-computed-list):
2985 Preserve point in tags buffer. (Bug#13412)
2986
2987 * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
2988
2989 2013-01-19 Christian Wittern <cwittern@gmail.com> (tiny change)
2990 Chong Yidong <cyd@gnu.org>
2991
2992 * image-mode.el (image-next-file, image-previous-file):
2993 New commands (Bug#8453).
2994 (image-mode-map): Bind them to n and p.
2995 (image-mode--images-in-directory): New helper function.
2996
2997 2013-01-19 Chong Yidong <cyd@gnu.org>
2998
2999 * image-mode.el (image-mode-fit-frame): Add a frame argument.
3000 Suggested by Drew Adams (Bug#7730). Handle window decorations;
3001 save and restore the old window configuration.
3002
3003 2013-01-18 Leo Liu <sdl.web@gmail.com>
3004
3005 * progmodes/js.el: Tweak autoload cookie for alias.
3006
3007 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
3008
3009 * autorevert.el (auto-revert-notify-watch-descriptor): Make it
3010 buffer local, again. This was lost with the fix on 2013-01-12.
3011
3012 2013-01-17 JĂ¼rgen Hötzel <juergen@archlinux.org>
3013
3014 * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
3015 order to support several eshell buffers in parallel.
3016
3017 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
3018
3019 * autorevert.el (auto-revert-use-notify): In the :set function, do
3020 not modify `kill-buffer-hook'.
3021 (auto-revert-notify-rm-watch):
3022 Remove `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
3023 (auto-revert-notify-add-watch): Do not call
3024 `auto-revert-notify-rm-watch', but add it to a buffer local
3025 `kill-buffer-hook'.
3026
3027 2013-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
3028
3029 * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
3030 call to `eval' rather than a backquoted lambda.
3031
3032 2013-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
3033
3034 * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
3035 to return an explicit nil.
3036 (advice--remove-function): Change accordingly.
3037
3038 * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
3039 the use of nadvice.el.
3040
3041 * progmodes/which-func.el (which-function): Silence imenu errors
3042 (bug#13433).
3043
3044 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
3045
3046 * progmodes/sql.el (sql-imenu-generic-expression):
3047 (sql-mode-font-lock-object-name): Match schema qualified names.
3048 (sql-connect): Use string keys.
3049 (sql-product-interactive): Wait for interpreter prompt.
3050 (sql-comint-oracle): Set process coding based on NLS_LANG.
3051
3052 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
3053
3054 * progmodes/sql.el (sql-output-to-send): Remove, unused.
3055 (sql-interactive-remove-continuation-prompt):
3056 (sql-send-magic-terminator, sql-interactive-mode): Remove references.
3057
3058 2013-01-14 Leo Liu <sdl.web@gmail.com>
3059
3060 * calendar/calendar.el (calendar-redraw): Sync window-point and point.
3061 (Bug#13420)
3062
3063 2013-01-14 Glenn Morris <rgm@gnu.org>
3064
3065 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3066 Fix interpretation of gnu line.col1-col2 format. (Bug#13335)
3067
3068 2013-01-13 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3069
3070 * progmodes/python.el (python-nav-end-of-statement):
3071 Fix cornercase when handling multiline strings.
3072
3073 2013-01-13 Richard Stallman <rms@gnu.org>
3074
3075 * mail/sendmail.el (mail-position-on-field): Add doc string.
3076
3077 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
3078 Get current message boundaries and pass them to
3079 message-forward-make-body-mime. Minor style changes.
3080
3081 2013-01-13 Eli Zaretskii <eliz@gnu.org>
3082
3083 * cus-start.el (all): Avoid warnings about
3084 scroll-bar-adjust-thumb-portion on platforms where it is not defined.
3085
3086 2013-01-11 Jan Djärv <jan.h.d@swipnet.se>
3087
3088 * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
3089
3090 2013-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
3091
3092 * jit-lock.el (jit-lock-debug-mode): New minor mode.
3093 (jit-lock--debug-fontifying): New var.
3094 (jit-lock--debug-fontify): New function.
3095 * subr.el (condition-case-unless-debug): Don't prevent catching the
3096 error, just let the debbugger run.
3097 * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
3098 timer code and don't drop errors silently.
3099
3100 2013-01-12 Michael Albinus <michael.albinus@gmx.de>
3101
3102 * autorevert.el (auto-revert-notify-watch-descriptor): Give it
3103 `permanent-local' property.
3104 (auto-revert-notify-handler): Use `file-equal-p'.
3105
3106 2013-01-12 Eli Zaretskii <eliz@gnu.org>
3107
3108 * autorevert.el (auto-revert-notify-handler): Fix filtering of
3109 file notification by ACTION. For filtering by file name, compare
3110 only the non-directory part of the file name.
3111
3112 2013-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
3113
3114 * autorevert.el: Use cl-lib instead of cl.
3115
3116 * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
3117 (vc-bzr-checkin): Use it.
3118 * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
3119 will preserve match-data.
3120
3121 2013-01-11 Felix H. Dahlke <fhd@ubercode.de>
3122
3123 * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
3124 (js--declaration-keyword-re): New var.
3125 (js--multi-line-declaration-indentation): New function.
3126 (js--proper-indentation): Use it.
3127
3128 2013-01-11 Aaron S. Hawley <Aaron.Hawley@vtinfo.com>
3129
3130 * calc/calc.el (calc-highlight-selections-with-faces)
3131 (calc-dispatch):
3132 * comint.el (comint-history-isearch-message):
3133 * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
3134 * ffap.el (ffap-string-at-point-region, ffap-next)
3135 (ffap-string-at-point, ffap-string-around)
3136 (ffap-copy-string-as-kill, ffap-highlight-overlay)
3137 (ffap-literally):
3138 * font-lock.el (font-lock-keywords-alist)
3139 (font-lock-removed-keywords-alist):
3140 * help-mode.el (help-xref-symbol-regexp):
3141 * info.el (Info-find-emacs-command-nodes):
3142 * international/mule.el (add-to-coding-system-list):
3143 * isearch.el (isearch-message-function, isearch-fail-pos):
3144 * misearch.el (multi-isearch-next-buffer-function):
3145 * newcomment.el (comment-box):
3146 * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
3147 (pr-setting-database):
3148 * progmodes/cc-fonts.el (c-font-lock-keywords-3)
3149 (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
3150 (java-font-lock-keywords-3, idl-font-lock-keywords-3)
3151 (pike-font-lock-keywords-3):
3152 * progmodes/compile.el (compile):
3153 * progmodes/etags.el (tags-table-files)
3154 (tags-table-files-function, tags-included-tables-function):
3155 * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
3156 (gdb-restore-windows):
3157 * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
3158 (ps-n-up-filling-database):
3159 * server.el (server-buffer, server-log):
3160 * simple.el (newline, delete-backward-char, delete-forward-char)
3161 (minibuffer-history-isearch-message, kill-line, track-eol)
3162 (temporary-goal-column):
3163 * textmodes/flyspell.el (flyspell-mark-duplications-flag)
3164 (flyspell-default-deplacement-commands):
3165 * textmodes/ispell.el (ispell-accept-output):
3166 * textmodes/sgml-mode.el (html-tag-help):
3167 * vc/compare-w.el (compare-ignore-whitespace)
3168 (compare-ignore-case, compare-windows-dehighlight):
3169 * vc/diff.el (diff):
3170 * whitespace.el (whitespace-point)
3171 (whitespace-font-lock-refontify, whitespace-bob-marker)
3172 (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
3173
3174 2013-01-11 Michael Albinus <michael.albinus@gmx.de>
3175
3176 * autorevert.el (top): Require 'cl in order to pacify byte compiler.
3177 (auto-revert-notify-rm-watch): Ignore errors.
3178 (auto-revert-notify-add-watch): Ignore errors. Use '(modify) for
3179 inotify, and '(size last-write-time) for w32notify.
3180 Set buffer-local `auto-revert-use-notify' to nil when adding a file
3181 watch fails - this is a fallback to the file modification check.
3182 (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
3183 (auto-revert-notify-event-action)
3184 (auto-revert-notify-event-file-name): New defuns.
3185 (auto-revert-notify-handler): Use them. Implement first
3186 plausibility checks.
3187 (auto-revert-handler): Handle also `auto-revert-tail-mode'.
3188
3189 2013-01-11 Julien Danjou <julien@danjou.info>
3190
3191 * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
3192 max are almost equal. Also return the correct value for V which is
3193 already between 0 and 1.
3194
3195 2013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
3196
3197 * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
3198
3199 2013-01-11 Eli Zaretskii <eliz@gnu.org>
3200
3201 * autorevert.el (auto-revert-notify-rm-watch)
3202 (auto-revert-notify-add-watch): Fix typos in w32notify function
3203 names.
3204
3205 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
3206
3207 * autorevert.el (auto-revert-notify-enabled): Move up.
3208 (auto-revert-use-notify): New defcustom.
3209 (auto-revert-mode, global-auto-revert-mode)
3210 (auto-revert-notify-add-watch, auto-revert-handler)
3211 (auto-revert-buffers): Use `auto-revert-use-notify' instead of
3212 `auto-revert-notify-enabled'.
3213
3214 2013-01-10 Elias Pipping <pipping@exherbo.org>
3215
3216 * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
3217 * doc-view.el (doc-view-document->bitmap):
3218 Use doc-view-single-page-converter-function instead of
3219 single-page-converter arg; adjust callers.
3220
3221 2013-01-10 Feng Li <fengli@gmail.com> (tiny change)
3222
3223 * progmodes/which-func.el (which-function): Understand Semantic's use
3224 of overlays in imenu--index-alist.
3225
3226 2013-01-10 Wolfgang Jenkner <wjenkner@inode.at>
3227
3228 * man.el: Handle different "man -k" behaviors (bug#13160). Use utf-8.
3229 (Man-man-k-use-anchor): New var.
3230 (Man-parse-man-k): New function.
3231 (Man-completion-table): Use it.
3232 (man): Flush the completion cache between uses.
3233
3234 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
3235
3236 * autorevert.el: Add file watch support.
3237 (auto-revert-notify-enabled): New defconst.
3238 (auto-revert-notify-watch-descriptor-hash-list)
3239 (auto-revert-notify-watch-descriptor)
3240 (auto-revert-notify-modified-p): New defvars.
3241 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
3242 (auto-revert-notify-handler): New defuns.
3243 (auto-revert-mode, global-auto-revert-mode): Remove file watches
3244 when mode is disabled.
3245 (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
3246 (auto-revert-buffers): Add file watches for active buffers.
3247
3248 2013-01-10 Dmitry Antipov <dmantipov@yandex.ru>
3249
3250 * cus-start.el (toplevel): Only allow float values for
3251 scroll-up-aggressively and scroll-down-aggressively.
3252 Allow any number for line-spacing.
3253
3254 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
3255
3256 * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
3257 (doc-view-pdf->png-converter-function): Use mupdf if available.
3258 (doc-view-djvu->png-converter-function)
3259 (doc-view-ps->png-converter-function): Remove.
3260 (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
3261 (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
3262 (doc-view-already-converted-p): Adjust accordingly.
3263 (doc-view-mode-p): Simplify.
3264 (doc-view-enlarge): Use setq-local.
3265 (doc-view-pdf->png-converter-ghostscript)
3266 (doc-view-djvu->png-converter-ddjvu)
3267 (doc-view-pdf->png-converter-mupdf): Rework to call
3268 doc-view-start-process directly.
3269 (doc-view-pdf/ps->png): Simplify accordingly.
3270 (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
3271 (doc-view-document->bitmap): Rename from doc-view-document->png.
3272 (doc-view-convert-current-doc): Merge pdf and djvu cases.
3273 (doc-view-set-slice-from-bounding-box): Fix completion table.
3274 (doc-view-mode): Use add-hook for after-revert-hook.
3275
3276 2013-01-10 Glenn Morris <rgm@gnu.org>
3277
3278 * emacs-lisp/authors.el (authors-ignored-files)
3279 (authors-valid-file-names, authors-renamed-files-alist):
3280 Add some more entries.
3281
3282 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
3283
3284 * image-mode.el (image-mode-winprops): Don't throw away the fallback
3285 `t' pseudo-window entry.
3286
3287 2013-01-10 Alan Mackenzie <acm@muc.de>
3288
3289 Fix bugs in the c-parse-state mechanism. Reuse some markers
3290 instead of continually generating new ones.
3291
3292 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
3293 (c-state-old-cpp-end-marker): New variables.
3294 (c-append-lower-brace-pair-to-state-cache): Start a backward
3295 search for "}" definitively outside CPP constructs.
3296 (c-remove-stale-state-cache): Inform the caller of a need to
3297 search back for a brace pair in certain circumstances.
3298 (c-state-maybe-marker): New macro.
3299 (c-parse-state): Reuse markers when appropriate.
3300
3301 2013-01-10 Glenn Morris <rgm@gnu.org>
3302
3303 * simple.el (execute-extended-command): Doc fix.
3304 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
3305
3306 2013-01-10 Chong Yidong <cyd@gnu.org>
3307
3308 * faces.el (read-face-name): Doc fix.
3309
3310 2013-01-10 Roland Winkler <winkler@gnu.org>
3311
3312 * emacs-lisp/crm.el: Allow any regexp for separators.
3313 (crm-default-separator): All spaces around the default comma separator.
3314 (crm--completion-command): New macro.
3315 (crm-completion-help, crm-complete, crm-complete-word): Use it.
3316 (crm-complete-and-exit): Handle non-single-char separators.
3317
3318 2013-01-09 Elias Pipping <pipping@lavabit.com>
3319
3320 * doc-view.el: Add support for DjVu (bug#13164).
3321 (doc-view-djvu->png-converter-function): New config var.
3322 (doc-view-single-page-converter-function, doc-view--image-type)
3323 (doc-view--image-file-extension): New vars.
3324 (doc-view-mode): Initialize them.
3325 (doc-view-goto-page): Use them.
3326 (doc-view-mode-p): Add support for ddjvu.
3327 (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
3328 (doc-view-set-up-single-converter): New funs.
3329 (doc-view-pdf/ps->png): Extend for djvu.
3330 (doc-view-document->png): Rename from doc-view-pdf->png.
3331 (doc-view-convert-current-doc): Handle djvu.
3332 (doc-view-insert-image, doc-view-display)
3333 (doc-view-already-converted-p): Don't hardcode png.
3334 (doc-view-set-doc-type): Recognize djvu docs.
3335
3336 2013-01-09 Elias Pipping <pipping@lavabit.com>
3337
3338 * doc-view.el: Add support for mupdf converter (bug#13164).
3339 (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
3340 (doc-view-ps->png-converter-function): New config vars.
3341 (doc-view-pdf->png-converter-ghostscript)
3342 (doc-view-ps->png-converter-ghostscript)
3343 (doc-view-pdf->png-converter-mupdf): New functions.
3344 (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
3345
3346 2013-01-09 JĂ¼rgen Hötzel <juergen@archlinux.org>
3347
3348 * net/tramp.el (tramp-eshell-directory-change): Check remote-path
3349 first in session cache: When `tramp-own-remote-path' is in
3350 `tramp-remote-path', the remote path is only set in the session
3351 cache.
3352
3353 2013-01-09 Glenn Morris <rgm@gnu.org>
3354
3355 * emacs-lisp/trace.el (trace-function-foreground)
3356 (trace-function-background): Doc fix.
3357
3358 2013-01-09 Juri Linkov <juri@jurta.org>
3359
3360 * international/mule-cmds.el (read-char-by-name): Move let-binding
3361 of completion-ignore-case around completing-read to fix regression
3362 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
3363 `string-match-p' using the nil value of `case-fold-search' and
3364 `completion-ignore-case' in `completion-pcm--all-completions'.
3365 (Bug#12615).
3366
3367 2013-01-09 Glenn Morris <rgm@gnu.org>
3368
3369 * progmodes/compile.el (compilation-parse-errors):
3370 Fix typo. (Bug#13369)
3371
3372 2013-01-09 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
3373
3374 * comint.el (comint-send-input): Check size of buffer before
3375 waiting for process output, in case already accepted. (Bug#13290)
3376
3377 2013-01-09 Paul Eggert <eggert@cs.ucla.edu>
3378
3379 Spelling fixes.
3380 * net/tramp-adb.el (tramp-adb-get-toolbox):
3381 Fix misspelling of 'unknown'.
3382
3383 2013-01-08 Juri Linkov <juri@jurta.org>
3384
3385 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
3386 * progmodes/flymake.el (flymake-errline, flymake-warnline):
3387 Use underline style wave on terminals that support it. (Bug#13000)
3388
3389 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
3390
3391 * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
3392 the predicate returns nil.
3393
3394 * simple.el: Use lexical-binding.
3395 (primitive-undo): Use pcase.
3396 (minibuffer-history-isearch-push-state): Use a closure.
3397
3398 2013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3399
3400 * simple.el (primitive-undo): Move from undo.c.
3401
3402 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
3403
3404 * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
3405 (cvs-mode-remove-handled): Use it (bug#13380).
3406
3407 * emacs-lisp/nadvice.el (advice--tweak): New function.
3408 (advice--remove-function, advice--subst-main): Use it.
3409
3410 * emacs-lisp/advice.el: Update commentary.
3411
3412 2013-01-08 Michael Albinus <michael.albinus@gmx.de>
3413
3414 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3415 Remove spurious entry.
3416
3417 2013-01-08 Glenn Morris <rgm@gnu.org>
3418
3419 * net/tramp.el (tramp-default-host-alist): Add :version.
3420
3421 2013-01-08 Juri Linkov <juri@jurta.org>
3422
3423 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
3424 single completion. (Bug#12456)
3425 (info--manual-names): Expand node completions into an explicit list
3426 before appending it to another list. Filter out internal buffers
3427 with the leading space in the buffer name. (Bug#10771)
3428
3429 2013-01-08 Juri Linkov <juri@jurta.org>
3430
3431 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
3432 that defaults to the Top node.
3433 (Info-goto-node, Info-read-node-name): Doc fix to mention that
3434 the short format (FILENAME) goes to the Top node.
3435 (Info-build-node-completions): Rename arg `file' to `filename'.
3436 (Bug#13365)
3437
3438 2013-01-07 Bastien Guerry <bzg@gnu.org>
3439
3440 * menu-bar.el (menu-bar-search-documentation-menu):
3441 Use `apropos-user-option' and fix the help message.
3442
3443 2013-01-07 Bastien Guerry <bzg@gnu.org>
3444
3445 * apropos.el (apropos-do-all): Update docstring.
3446 (apropos-user-option-button): New face.
3447 (apropos-user-option): Rename from `apropos-variable' and update
3448 docstring.
3449 (apropos-variable): Rewrite, now show all variables by default.
3450 (apropos-print): Mention "User option" instead of "Variable" when
3451 printing doc for user options. (Bug#13276)
3452
3453 2013-01-07 JĂ¼rgen Hötzel <juergen@archlinux.org>
3454
3455 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
3456 Handle filename correctly, when parsing "source -> target" symlink
3457 output.
3458 (tramp-adb-handle-set-file-times): New defun.
3459
3460 2013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
3461
3462 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
3463 advice list when the interactive-spec of ad-Advice-* changes.
3464
3465 2013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
3466
3467 * wid-edit.el (widget-default-get): Work for inlined elements.
3468 (Bug#12670)
3469
3470 2013-01-07 Michael Albinus <michael.albinus@gmx.de>
3471
3472 * net/tramp.el (tramp-default-host-alist): New defcustom.
3473 (tramp-find-host): Use it.
3474 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
3475 `eshell-directory-change-hook'.
3476
3477 * net/tramp-adb.el (top): Add adb specific entry in
3478 `tramp-default-host-alist'.
3479 (tramp-adb-file-name-host): Remove function.
3480 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
3481 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
3482
3483 * net/tramp-sh.el: Move eshell integration code to tramp.el.
3484
3485 2013-01-06 JĂ¼rgen Hötzel <juergen@archlinux.org>
3486
3487 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
3488
3489 2013-01-06 Michael Albinus <michael.albinus@gmx.de>
3490
3491 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
3492 consist of more than one digit.
3493 (tramp-adb-file-name-handler-alist):
3494 Use `tramp-handle-file-exists-p' consistently.
3495 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
3496 (tramp-adb-handle-file-exists-p): Remove function.
3497 (tramp-adb-file-name-host): New defun.
3498 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
3499 Use it.
3500 (tramp-adb-maybe-open-connection): Set "remote-path" property.
3501
3502 2013-01-06 Chong Yidong <cyd@gnu.org>
3503
3504 * vc/vc.el (vc-next-action): Detect buffer modifications
3505 conflicting with locking VCS operation (Bug#11490).
3506
3507 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
3508
3509 2013-01-05 Michael Albinus <michael.albinus@gmx.de>
3510
3511 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
3512 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
3513
3514 2013-01-05 JĂ¼rgen Hötzel <juergen@archlinux.org>
3515
3516 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
3517 parsing of ls output using regular expression (handle filenames
3518 with spaces). Use virtual device number.
3519 (tramp-do-parse-file-attributes-with-ls): New defun (Code
3520 cleanup).
3521
3522 2013-01-04 Daiki Ueno <ueno@gnu.org>
3523
3524 * epg.el: Silence byte-compiler warnings.
3525 (epg--start): Use delete-char instead of delete-backward-char.
3526 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
3527
3528 2013-01-04 Daiki Ueno <ueno@gnu.org>
3529
3530 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
3531 Suggested by Eli Zaretskii <eliz@gnu.org>.
3532
3533 2013-01-04 Michael Albinus <michael.albinus@gmx.de>
3534
3535 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
3536 non-negative integers. Otherwise, the default values are used.
3537 (tramp-convert-file-attributes): Convert uid and gid to integers.
3538
3539 2013-01-04 Glenn Morris <rgm@gnu.org>
3540
3541 * term.el (term-handle-colors-array): Ensure face attributes
3542 are fully specified, not nil. (Bug#13337)
3543
3544 * term.el (term-default-fg-color, term-default-bg-color):
3545 Fix custom type.
3546
3547 * progmodes/etags.el (tags-compression-info-list): Doc fix.
3548 (tag-find-file-of-tag-noselect): Check auto-compression-mode
3549 rather than 'jka-compr being loaded. (Bug#13338)
3550
3551 2013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
3552
3553 * icomplete.el (icomplete-completions):
3554 Honor icomplete-prospects-height once more following
3555 2012-11-29 changes. (Bug#13224)
3556
3557 2013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
3558
3559 * subr.el (internal--called-interactively-p--get-frame): Find aliases
3560 of called-interactively-p as well (bug#13237).
3561
3562 * view.el (view--enable, view--disable): Rename from view-mode-enable
3563 and view-mode-disable and assume it's called from view-mode.
3564 (view-mode-enable, view-mode-disable): Redefine as obsolete
3565 compatibility layer above view-mode.
3566 (view-mode-enter): Call `view-mode'.
3567
3568 * files.el (after-find-file): Call `view-mode'.
3569
3570 * doc-view.el (doc-view-scale-internally): New var.
3571 (doc-view-enlarge, doc-view-insert-image): Obey it.
3572
3573 2013-01-03 Daiki Ueno <ueno@gnu.org>
3574
3575 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
3576 exist. (Bug#13344)
3577
3578 2013-01-03 Glenn Morris <rgm@gnu.org>
3579
3580 * mail/rmail.el (rmail-set-header-1): Ignore case.
3581 Handle multi-line headers. (Bug#13330)
3582
3583 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
3584 Handle paragraph starting at beginning of buffer.
3585
3586 * subr.el (eval-after-load): Don't purecopy the form, so that it
3587 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
3588
3589 * emacs-lisp/byte-run.el (defun): Place cl declarations
3590 after any interactive spec. (Bug#13265)
3591
3592 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
3593
3594 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
3595 defun. Don't check for DECL if DOCSTRING isn't a string.
3596 (defun): Likewise.
3597
3598 2013-01-02 Glenn Morris <rgm@gnu.org>
3599
3600 * eshell/em-cmpl.el (eshell-pcomplete):
3601 More thoroughly imitate pcomplete. (Bug#13293)
3602
3603 * files.el (parse-colon-path): Doc fix. (Bug#12351)
3604 Return nil for empty path elements. (Bug#13296)
3605
3606 2013-01-02 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3607
3608 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
3609 order to improve efficiency (Based on Daniel Colascione's
3610 <dancol@dancol.org> patch). (Bug#13182)
3611
3612 2013-01-02 Glenn Morris <rgm@gnu.org>
3613
3614 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
3615
3616 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
3617
3618 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
3619 neither DOCSTRING nor DECL was given. (Bug#13316)
3620
3621 2013-01-02 Michael Albinus <michael.albinus@gmx.de>
3622
3623 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
3624 `error' call.
3625 (tramp-do-copy-or-rename-file): Ignore errors when calling
3626 `set-file-extended-attributes'.
3627
3628 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3629 Add handler for `file-acl'.
3630 (tramp-smb-handle-file-acl): New defun.
3631
3632 2013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
3633
3634 * calc/README: Mention ISO 8601 week-numbering dates.
3635
3636 2013-01-01 Martin Rudalics <rudalics@gmx.at>
3637
3638 * view.el (view-mode-enable): New argument run-view-mode-hook.
3639 Run view-mode-hook only when it's non-nil (Bug#13315).
3640 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
3641 argument t.
3642
3643 2012-12-31 JĂ¼rgen Hötzel <juergen@archlinux.org>
3644
3645 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
3646 (No device connected, invalid device name). (Bug #13299)
3647
3648 2012-12-31 Martin Rudalics <rudalics@gmx.at>
3649
3650 * window.el (window-resizable--p): Rename to window-resizable-p.
3651 (window-resize-no-error): New function.
3652
3653 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
3654 broken in fix from 2012-12-28.
3655
3656 2012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
3657
3658 * subr.el (special-form-p): Don't signal errors on undef aliases.
3659
3660 2012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
3661
3662 * calc/calc-forms.el (math-parse-date): Try using
3663 `math-parse-iso-date' when it looks like it might be needed.
3664 Allow times of 24:00.
3665 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
3666 of 24:00.
3667
3668 2012-12-30 Glenn Morris <rgm@gnu.org>
3669
3670 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
3671 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
3672 (rmail-summary-displayed, rmail-summary): Declare.
3673 (mairix-rmail-display): Just require rmail.
3674
3675 2012-12-30 Chong Yidong <cyd@gnu.org>
3676
3677 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
3678 check for the tarball contents.
3679
3680 2012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
3681
3682 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
3683 tarfile content listings (Bug#13136).
3684
3685 2012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
3686
3687 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
3688 Insert the undecoded text of the message being forwarded. (Bug#9521)
3689
3690 2012-12-30 Michael Albinus <michael.albinus@gmx.de>
3691
3692 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
3693 integers, if they are real numbers. (Bug#13282)
3694
3695 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
3696 Return `t' on success.
3697
3698 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3699 Add handler for `set-file-selinux-context'.
3700
3701 2012-12-29 Michael Albinus <michael.albinus@gmx.de>
3702
3703 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
3704 (tramp-sh-handle-set-file-acl): Return `t' on success.
3705
3706 2012-12-29 Eli Zaretskii <eliz@gnu.org>
3707
3708 * files.el (backup-buffer-copy, basic-save-buffer-2):
3709 If set-file-extended-attributes fails, fall back on set-file-modes
3710 instead of signaling an error. (Bug#13298)
3711 (basic-save-buffer): Likewise.
3712
3713 2012-12-29 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3714
3715 * progmodes/python.el: Support other commands triggering
3716 python-indent-line so indentation cycling continues to work.
3717 (python-indent-trigger-commands): New defcustom.
3718 (python-indent-line): Use it.
3719
3720 2012-12-29 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3721
3722 * progmodes/python.el (python-shell-send-region): Add blank lines
3723 for non sent code so backtraces remain correct.
3724
3725 2012-12-29 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3726
3727 * progmodes/python.el: Remove cl dependency.
3728 (python-syntax-count-quotes): Replace incf call.
3729 (python-fill-string): Replace setf call.
3730
3731 2012-12-29 Damien Cassou <damien.cassou@gmail.com>
3732
3733 * info.el (info-other-window): New arg, for consistency with info.
3734
3735 2012-12-28 Martin Rudalics <rudalics@gmx.at>
3736
3737 * mail/rmail.el (rmail-maybe-display-summary):
3738 Rewrite (Bug#13066).
3739
3740 2012-12-28 Andreas Schwab <schwab@linux-m68k.org>
3741
3742 * epg.el (epg--start): Modify process-environment locally.
3743
3744 2012-12-28 Daiki Ueno <ueno@gnu.org>
3745
3746 * epg.el: Support pinentry-curses.
3747 Suggested by Werner Koch in
3748 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
3749 (epg-agent-file, epg-agent-mtime): New variable.
3750 (epg--start): Record the modified time of gpg-agent socket file,
3751 to restore Emacs frame after pinentry-curses termination.
3752 (epg-wait-for-completion): Restore Emacs frame here.
3753
3754 2012-12-27 Juri Linkov <juri@jurta.org>
3755
3756 * info.el (Info-file-completions): New variable.
3757 (Info-read-node-name-1): Complete node names in the Info file
3758 when a file name is given. Call `Info-build-node-completions'
3759 with a file name.
3760 (Info-build-node-completions): Add new arg `file'. When it is
3761 non-nil, visit it in a temporary buffer and cache its completions in
3762 `Info-current-file-completions'. Move most of the function body to
3763 `Info-build-node-completions-1'.
3764 (Info-build-node-completions-1): New function with the body from
3765 `Info-build-node-completions'. (Bug#12456)
3766
3767 2012-12-27 Juri Linkov <juri@jurta.org>
3768
3769 * frame.el (frame-maximization-style): Remove user option.
3770 (cycle-frame-maximized): Remove function.
3771 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
3772 (toggle-frame-fullscreen): New command bound to <f11> instead of
3773 `toggle-frame-maximized'.
3774 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
3775
3776 2012-12-27 Michael Albinus <michael.albinus@gmx.de>
3777
3778 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
3779
3780 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3781 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3782 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
3783 for `file-accessible-directory-p'. (Bug#13275)
3784
3785 2012-12-27 Sam Steingold <sds@gnu.org>
3786
3787 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
3788 continuations, see <http://stackoverflow.com/questions/3582436>.
3789
3790 2012-12-27 Dmitry Gutov <dgutov@yandex.ru>
3791
3792 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
3793 "module" and "def" to have indentation before them.
3794 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
3795
3796 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
3797
3798 2012-12-27 Alan Mackenzie <acm@muc.de>
3799
3800 Speed up fontification where there's large brace blocks.
3801 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
3802 to a call of c-beginning-of-decl-1.
3803
3804 2012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
3805
3806 * comint.el (comint-adjust-window-point): New function.
3807 (comint-postoutput-scroll-to-bottom):
3808 Call comint-adjust-window-point (Bug#13248).
3809
3810 2012-12-26 Dmitry Gutov <dgutov@yandex.ru>
3811
3812 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
3813 Rakefile regexp.
3814 (auto-mode-alist): Associate .gemspec files with ruby-mode
3815 (https://bugs.ruby-lang.org/issues/5453).
3816
3817 2012-12-26 JĂ¼rgen Hötzel <juergen@archlinux.org>
3818
3819 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
3820 Suppress coloring, if possible (required for BusyBox based systems like
3821 CyanogenMod).
3822 (tramp-adb-handle-file-attributes)
3823 (tramp-adb-handle-insert-directory)
3824 (tramp-adb-handle-file-name-all-completions): Use it.
3825 (tramp-adb-get-toolbox): New defun. Check for remote shell
3826 implementation (BusyBox or Toolbox).
3827
3828 2012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
3829
3830 * startup.el (initial-buffer-choice): Allow function as value
3831 (Bug#13251).
3832 (command-line-1): Handle case where initial-buffer-choice
3833 specifies a function.
3834 * server.el (server-execute): Handle case where
3835 initial-buffer-choice specifies a function.
3836
3837 2012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
3838
3839 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
3840 its own function.
3841 (smtpmail-try-auth-methods): Forget the user name/password if the
3842 login is unsuccessful (bug#12424).
3843
3844 2012-12-22 Michael Albinus <michael.albinus@gmx.de>
3845
3846 * notifications.el (notifications-notify): Protect body with
3847 `with-demoted-errors'.
3848
3849 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3850 Check properties of remote device. Restart connection, if there is a
3851 change.
3852
3853 2012-12-21 Chong Yidong <cyd@gnu.org>
3854
3855 * sort.el (sort-subr): Doc fix (Bug#13056).
3856
3857 2012-12-21 Bastien Guerry <bzg@gnu.org>
3858
3859 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
3860
3861 2012-12-21 Michael Albinus <michael.albinus@gmx.de>
3862
3863 * simple.el (process-file): Overwrite stderr file, if exists.
3864
3865 2012-12-21 Daiki Ueno <ueno@gnu.org>
3866
3867 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
3868 (epg-error): Set `error-message' property.
3869
3870 2012-12-21 Chong Yidong <cyd@gnu.org>
3871
3872 * international/mule-cmds.el (read-char-by-name): Signal an error
3873 if the user does not supply a valid character (Bug#13177).
3874
3875 * simple.el (transpose-subr-1): Preserve marker positions by
3876 changing the insertion sequence (Bug#13122).
3877
3878 2012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
3879
3880 * simple.el (kill-region): Deactivate mark even for empty regions
3881 (Bug#13169).
3882
3883 2012-12-21 Chong Yidong <cyd@gnu.org>
3884
3885 * help-fns.el (describe-variable): Make sure we get the right
3886 buffer name (Bug#13105). Suggested by Kelly Dean.
3887
3888 2012-12-20 Michael R. Mauger <mmaug@yahoo.com>
3889
3890 * comint.el (comint-redirect-previous-input-string): New variable.
3891 (comint-redirect-setup, comint-redirect-cleanup)
3892 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
3893 (comint-redirect-preoutput-filter): Fix verbose message.
3894
3895 2012-12-20 Michael Albinus <michael.albinus@gmx.de>
3896
3897 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
3898 is too long for Tramp. See discussion in
3899 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
3900
3901 * progmodes/compile.el (compilation-start): Remove line escape
3902 template.
3903
3904 2012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
3905
3906 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
3907 Adjust comment.
3908
3909 2012-12-19 Jonas Bernoulli <jonas@bernoul.li>
3910
3911 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
3912 following non-comment text (bug#13207).
3913 (lm-header-multiline): Continuation lines need to be indented more than
3914 the first line.
3915 (lm-homepage): New function.
3916 (lm-with-file): Don't be confused if narrowing is in effect.
3917
3918 2012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
3919
3920 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
3921 very beginning of a hunk (e.g. killing the first line).
3922
3923 2012-12-19 Michael Albinus <michael.albinus@gmx.de>
3924
3925 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
3926 and text properties from returned ACL string.
3927 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
3928 for "setfacl" command.
3929
3930 2012-12-18 Michael Albinus <michael.albinus@gmx.de>
3931
3932 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
3933 `tramp-cleanup-this-connection', when the process has died.
3934 (Bug#13151)
3935
3936 2012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
3937
3938 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
3939
3940 2012-12-17 Kevin Ryde <user42@zip.com.au>
3941
3942 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
3943
3944 2012-12-17 Michael Albinus <michael.albinus@gmx.de>
3945
3946 Add support for preserving ACL entries of files.
3947
3948 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
3949 `set-file-acl' handlers.
3950
3951 * net/tramp-adb.el (tramp-adb-handle-copy-file):
3952 Handle PRESERVE-EXTENDED-ATTRIBUTES.
3953
3954 * net/tramp-compat.el (tramp-compat-copy-file):
3955 Handle PRESERVE-EXTENDED-ATTRIBUTES.
3956
3957 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3958 Add `file-acl' and `set-file-acl' handlers.
3959 (tramp-gvfs-handle-copy-file):
3960 Handle PRESERVE-EXTENDED-ATTRIBUTES.
3961 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
3962 New defuns.
3963
3964 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3965 Add `file-acl' and `set-file-acl' handlers.
3966 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
3967 (tramp-sh-handle-set-file-acl): New defuns.
3968 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
3969 Handle PRESERVE-EXTENDED-ATTRIBUTES.
3970
3971 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3972 Add `file-acl' and `set-file-acl' handlers.
3973 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
3974
3975 2012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
3976
3977 * help-macro.el (make-help-screen): Instead of switch-to-buffer
3978 use pop-to-buffer with NORECORD argument t. As buffer name, use
3979 *Metahelp* with a leading space (Bug#13190).
3980
3981 2012-12-16 Romain Francoise <romain@orebokech.com>
3982
3983 * files.el (file-extended-attributes)
3984 (set-file-extended-attributes): New functions.
3985 (backup-buffer): Use them to handle both SELinux context and ACL
3986 entries.
3987 (backup-buffer-copy): Work with an alist of extended attributes,
3988 rather than an SELinux context.
3989 (basic-save-buffer-2): Ditto.
3990
3991 2012-12-16 Timo Myyrä <timo.myyra@gmail.com>
3992
3993 * battery.el (battery-bsd-apm): New function.
3994
3995 2012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
3996
3997 * calc/calc.el (calc-standard-date-formats): Adjust one of the
3998 standard date formats.
3999
4000 2012-12-15 Juri Linkov <juri@jurta.org>
4001
4002 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
4003 `isearch-insert-char-by-name'.
4004 (with-isearch-suspended): New defmacro with body mostly from
4005 `isearch-edit-string' except the part that sets
4006 `isearch-new-string' and `isearch-new-message'.
4007 (isearch-edit-string): Use new macro `with-isearch-suspended' with
4008 body that sets `isearch-new-string' and `isearch-new-message'.
4009 (isearch-insert-char-by-name): New command.
4010 * international/mule-cmds.el (read-char-by-name): Let-bind
4011 `enable-recursive-minibuffers' to t.
4012 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
4013
4014 2012-12-15 Juri Linkov <juri@jurta.org>
4015
4016 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
4017 (Bug#13175)
4018
4019 2012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
4020
4021 * dired-x.el (dired-guess-shell-command): Put colon at the end of
4022 the prompt. (Bug#13045)
4023
4024 2012-12-14 Glenn Morris <rgm@gnu.org>
4025
4026 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
4027 Try to include filename in non-bytecomp warning. (Bug#13132)
4028
4029 2012-12-14 Paul Eggert <eggert@cs.ucla.edu>
4030
4031 Fix permissions bugs with setgid directories etc. (Bug#13125)
4032 * files.el (backup-buffer): Don't rely on 9th output of
4033 file-attributes, as it's now a placeholder. Instead, use the new
4034 optional arg of file-ownership-preserved-p.
4035 (file-ownership-preserved-p): New optional arg GROUP.
4036 Fix mishandling of setuid directories that would cause this
4037 function to return t when it should have returned nil.
4038 Document what happens if the file does not exist, and when
4039 it's not known whether the ownership will be preserved.
4040 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
4041 Likewise.
4042 (tramp-get-local-gid): Use group-gid for integer, as that's
4043 faster and more reliable.
4044
4045 2012-12-14 Julien Danjou <julien@danjou.info>
4046
4047 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
4048 Update keywords list, data type and PL/pgSQL.
4049
4050 2012-12-14 Dave Abrahams <dave@boostpro.com>
4051
4052 * vc/ediff-util.el (ediff-buffer-type): New function.
4053 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
4054 rather than taking it as as argument.
4055 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
4056
4057 2012-12-14 Ryan Crum <ryan.crum@eleostech.com>
4058
4059 * json.el: Add pretty-print option (bug#12634).
4060 (json-encoding-separator, json-encoding-default-indentation)
4061 (json--encoding-current-indentation, json-encoding-pretty-print)
4062 (json-encoding-lisp-style-closings): New vars.
4063 (json--with-indentation): New macro.
4064 (json-encode-hash-table, json-encode-alist, json-encode-plist)
4065 (json-encode-array): Use it to obey json-encoding-pretty-print.
4066 (json-pretty-print-buffer, json-pretty-print): New commands.
4067
4068 2012-12-14 Dmitry Gutov <dgutov@yandex.ru>
4069
4070 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
4071 Extract `ruby-syntax-propertize-expansions'.
4072 (ruby-syntax-propertize-expansions): Only change syntax on
4073 certain string delimiters, to punctuation. This way the common
4074 functions like forward-word and thing-at-point still work.
4075 (ruby-match-expression-expansion): Improve readability.
4076 (ruby-block-contains-point): New function.
4077 (ruby-add-log-current-method): Handle several edge cases.
4078
4079 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
4080
4081 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
4082 unload-feature finishes even when aborting an ongoing edebug session.
4083 Also, do not worry about edebug-mode, unload-feature takes care of it.
4084
4085 2012-12-13 Andreas Schwab <schwab@suse.de>
4086
4087 * net/tls.el (tls-program): Update customize type.
4088
4089 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
4090
4091 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
4092 (edebug-setup-hook, cl-read-load-hooks): Use it.
4093 (edebug-unload-function): New function. (Bug#13163)
4094
4095 2012-12-13 Michael Albinus <michael.albinus@gmx.de>
4096
4097 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
4098 Otherwise, there could be errors in autoloading. (Bug#13151)
4099
4100 2012-12-13 JĂ¼rgen Hötzel <juergen@archlinux.org>
4101
4102 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
4103 sequences.
4104
4105 2012-12-13 Alan Mackenzie <acm@muc.de>
4106
4107 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
4108 * progmodes/cc-engine.el (c-backward-comments): Add code to work
4109 around `forward-comment' not recognizing ^M as whitespace.
4110
4111 2012-12-13 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
4112
4113 * progmodes/python.el (python-skeleton-class)
4114 (python-skeleton-def): Do not add space after defun name.
4115
4116 2012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
4117
4118 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
4119 (cl--symbol-function): Remove (now that funbound is like nil).
4120
4121 2012-12-12 Glenn Morris <rgm@gnu.org>
4122
4123 * button.el (button--area-button-p): Fix typo.
4124
4125 2012-12-12 Sam Steingold <sds@gnu.org>
4126
4127 * frame.el (frame-maximization-style): New user option.
4128 (toggle-frame-maximized): Toggle frame maximization according to
4129 `frame-maximization-style', bound to <f11>.
4130 (cycle-frame-maximized): Cycle between all maximization styles and
4131 non-maximized frame, bound to shift-<f11>.
4132
4133 2012-12-12 David Cadé <codename68@gmail.com>
4134
4135 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
4136
4137 2012-12-12 Jonas Bernoulli <jonas@bernoul.li>
4138
4139 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
4140 (eieio-override-prin1): Don't quote kewords and booleans.
4141 (object-write) <eieio-default-superclass>: Don't put closing parens
4142 on new line, avoid needless empty lines, align values that are objects
4143 with the slot keyword (instead of beginning on the same line).
4144 (eieio-list-prin1): Align value with slot keyword; increase
4145 eieio-print-depth before printing members of the list.
4146
4147 2012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
4148
4149 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
4150 a display text-property.
4151 (report-emacs-bug-hook): Don't bother deleting it any more.
4152
4153 * hilit-chg.el (highlight-save-buffer-state): Delete.
4154 Use with-silent-modifications instead.
4155 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
4156
4157 * button.el: Handle buttons in display text-properties.
4158 (button--area-button-p, button--area-button-string):
4159 Use (STRING . STRING-POS) representation instead of just STRING.
4160
4161 2012-12-11 Eli Zaretskii <eliz@gnu.org>
4162
4163 * makefile.w32-in (compile4-SH): Fix a typo that caused term
4164 subdirectory be skipped.
4165
4166 2012-12-11 Glenn Morris <rgm@gnu.org>
4167
4168 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
4169
4170 * progmodes/f90.el (f90-line-continued, f90-indent-region):
4171 Treat preprocessor lines embedded in continuations like comments.
4172 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
4173
4174 2012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
4175
4176 * calc/calc.el (calc-standard-date-formats): Add more date
4177 formats.
4178 * calc/calc-forms.el (math-parse-iso-date): New function.
4179 (math-parse-date): Use `math-parse-iso-date' when appropriate.
4180 (math-parse-iso-date-validate): Add extra error checking.
4181 (calc-date-notation): Add ability to access new date formats.
4182
4183 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
4184
4185 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
4186 font-lock as well as when there's no text-property.
4187
4188 2012-12-10 Jambunathan K <kjambunathan@gmail.com>
4189
4190 * hi-lock.el: Refine the choice of default face.
4191 (hi-lock-keyword->face): New function. Use it wherever we used
4192 cadadadr instead.
4193 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
4194 (hi-lock--last-face): Remove var.
4195 (hi-lock--unused-faces): New var to replace it.
4196 (hi-lock-read-face-name): Use/maintain it.
4197 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
4198 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
4199 if it has another face.
4200
4201 2012-12-10 Eli Zaretskii <eliz@gnu.org>
4202
4203 * subr.el (w32notify-handle-event): New function.
4204 (inotify-handle-event): Doc fix.
4205
4206 2012-12-10 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
4207
4208 * subr.el (inotify-event-p, inotify-handle-event): New functions.
4209
4210 2012-12-10 Dani Moncayo <dmoncayo@gmail.com>
4211
4212 * simple.el (just-one-space): Doc fix.
4213
4214 2012-12-10 Eli Zaretskii <eliz@gnu.org>
4215
4216 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
4217
4218 2012-12-10 Le Wang <l26wang@gmail.com>
4219
4220 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
4221 narrowed buffer (bug#12361).
4222
4223 2012-12-10 Juanma Barranquero <lekktu@gmail.com>
4224
4225 * vc/vc-hooks.el (vc-state): Doc fix.
4226
4227 2012-12-10 Glenn Morris <rgm@gnu.org>
4228
4229 * mail/rmail.el (rmail-maybe-display-summary):
4230 Preserve buffer, in case select-window changes it. (Bug#13066)
4231
4232 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
4233
4234 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
4235 cl-load-hook where they belong.
4236
4237 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
4238
4239 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
4240
4241 2012-12-09 Eli Zaretskii <eliz@gnu.org>
4242
4243 Parallelize byte compilation on MS-Windows.
4244 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
4245 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
4246 (WINS_BASIC): Define as concatenation of the above.
4247 (compile): Subdivide into 4 separate and independent jobs that can
4248 be run in parallel.
4249 (compile0-CMD, compile0-SH): New targets for compiling
4250 COMPILE_FIRST files, which are prerequisites for the rest of the
4251 byte-compilation.
4252 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
4253 New targets for parallel compilation with cmd.exe.
4254 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
4255 compiling under a Unixy shell.
4256
4257 2012-12-09 Chong Yidong <cyd@gnu.org>
4258
4259 * simple.el (set-mark-default-inactive): Delete this
4260 accidentally-introduced option.
4261 (set-mark-command, exchange-point-and-mark): Remove calls.
4262
4263 2012-12-09 Glenn Morris <rgm@gnu.org>
4264
4265 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
4266 Respect a defcustom's :set function, if appropriate. (Bug#109)
4267 (eval-defun): Doc fix.
4268
4269 2012-12-08 Juri Linkov <juri@jurta.org>
4270
4271 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
4272 (Info-fontify-node, Info-bookmark-make-record): Remove the
4273 file extension from Info-current-file (Bug#13016).
4274
4275 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
4276
4277 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
4278 point, still provide some default.
4279 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
4280 names, since we don't use it right now. Actually return the list.
4281 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
4282
4283 2012-12-07 Chong Yidong <cyd@gnu.org>
4284
4285 * novice.el (disabled-command-function): Remove a spurious help
4286 xref (Bug#13043). Suggested by Kelly Dean.
4287
4288 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
4289 syntax is specified (Bug#13025).
4290
4291 * info.el (Info-set-mode-line): Remove the file extension from
4292 Info-current-file if there is one (Bug#13016).
4293
4294 2012-12-07 Glenn Morris <rgm@gnu.org>
4295
4296 * mail/rmail.el (rmail-mime-decoded): New permanent local.
4297 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
4298 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
4299 and rmail-mime-decoded. (Bug#9841)
4300
4301 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
4302 (batch-unrmail, unrmail): Doc fixes.
4303 (unrmail): Respect unrmail-mbox-format.
4304 * mail/rmail.el (rmail-mbox-format): New option.
4305 (rmail-show-message-1): Respect rmail-mbox-format.
4306
4307 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
4308
4309 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
4310
4311 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4312
4313 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
4314 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
4315 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
4316 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
4317 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
4318 (cl-progv): Don't rely on dynamic scoping to find the body.
4319 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
4320 (cl--proclaims-deferred): Rename from the "cl-" prefix.
4321 (cl-declaim): Use backquotes.
4322 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
4323 Use "cl--" prefix for the object's tag.
4324
4325 * ses.el: Use advice-add/remove.
4326 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
4327 (copy-region-as-kill, yank): Use advice-add.
4328 (ses-unload-function): Use advice-remove.
4329
4330 2012-12-06 Jonas Bernoulli <jonas@bernoul.li>
4331
4332 * button.el: Make them work in header-lines (bug#12817).
4333 (button-map): Add bindings for header-line and mode-line use.
4334 (button-get, button-put, button-label): `button' may now be a string.
4335 (button-activate): Don't make it a defsubst.
4336 (button--area-button-p, button--area-button-string): New functions.
4337 (make-text-button): Fix the return value when `beg' was a string.
4338 (push-button): Handle the mode-line case.
4339
4340 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4341
4342 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
4343 (sql-signum): Remove. Use `cl-signum' instead.
4344 (sql-read-passwd): Remove; use read-passwd instread.
4345 (sql-get-login-ext): Use read-string.
4346 (sql-get-login): Use dolist and pcase.
4347 (sql--completion-table): Rename from sql-try-completion.
4348 Use complete-with-action.
4349 (sql-mode): Don't change abbrev-all-caps globally.
4350 (sql-connect): Don't rely on dynamic scoping for `new-name'.
4351 (sql-postgres-completion-object): Initialize vars in their `let'.
4352 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
4353 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
4354 (sql-comint-interbase): Use a single append, without setq.
4355 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
4356
4357 * hi-lock.el: Rework the default face and the serialize regexp code.
4358 (hi-lock--auto-select-face-defaults): Remove.
4359 (hi-lock-string-serialize-serial): Remove.
4360 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
4361 make weak.
4362 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
4363 equal string.
4364 (hi-lock-set-pattern): Adjust accordingly.
4365 (hi-lock--regexps-at-point): Simplify accordingly.
4366 (hi-lock--auto-select-face-defaults): Remove.
4367 (hi-lock--last-face): New var to replace it.
4368 (hi-lock-read-face-name): Rewrite (bug#11095).
4369 (hi-lock-unface-buffer): Arrange for the face to be the next default.
4370
4371 2012-12-06 Michael Albinus <michael.albinus@gmx.de>
4372
4373 * net/tramp.el (tramp-replace-environment-variables):
4374 Hide compiler warning.
4375 (tramp-file-name-for-operation): Remove `executable-find',
4376 `start-process', `call-process' and `call-process-region'.
4377
4378 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
4379
4380 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
4381 compatibility.
4382
4383 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
4384
4385 2012-12-06 Chong Yidong <cyd@gnu.org>
4386
4387 * ffap.el (ffap-replace-file-component): Fix typo.
4388
4389 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4390
4391 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
4392 fix open-paren-like token test (bug#12785).
4393
4394 2012-12-06 Glenn Morris <rgm@gnu.org>
4395
4396 * mail/rmailsum.el (rmail-new-summary): Tweak for
4397 rmail-maybe-display-summary changing buffer. (Bug#13066)
4398
4399 2012-12-06 Juri Linkov <juri@jurta.org>
4400
4401 * info.el (Info-fontify-node): Don't hide the last newline.
4402 (Bug#12272)
4403
4404 2012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
4405
4406 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
4407 so as to enable message-read-from-minibuffer to expand mail aliases.
4408
4409 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4410
4411 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
4412 the `intangible' property.
4413 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
4414
4415 2012-12-05 Deniz Dogan <deniz@dogan.se>
4416
4417 * net/rcirc.el (rcirc-urls): Update documentation.
4418 (rcirc-condition-filter): New function.
4419 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
4420 and exclude consecutive duplicate URLs (Bug#6082).
4421
4422 2012-12-05 Michael Albinus <michael.albinus@gmx.de>
4423
4424 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
4425 Check return code of copy command.
4426
4427 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
4428 Use group `tramp'. Add version.
4429
4430 2012-12-05 Chong Yidong <cyd@gnu.org>
4431
4432 * ffap.el (ffap-url-regexp): Don't require matching at front of
4433 string (Bug#4952).
4434 (ffap-url-p): If only a substring matches, return that.
4435 (ffap-url-at-point): Use the return value of ffap-url-p.
4436 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
4437 (find-file-at-point, dired-at-point, dired-at-point-prompter)
4438 (ffap-guess-file-name-at-point): Likewise.
4439 (ffap-replace-file-component): Fix typo.
4440
4441 * info.el (info-display-manual): Add existing Info buffers, whose
4442 files may not be in Info-directory-list, to the completion.
4443 (info--manual-names): New helper function.
4444
4445 2012-12-05 Glenn Morris <rgm@gnu.org>
4446
4447 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
4448 New functions, for detecting and resolving conflicts. (Bug#10709)
4449
4450 2012-12-04 Jambunathan K <kjambunathan@gmail.com>
4451
4452 * hi-lock.el (hi-lock-auto-select-face): New user variable.
4453 (hi-lock-auto-select-face-defaults): New buffer local variable.
4454 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
4455 (hi-lock-unface-buffer): Prompt user with useful defaults.
4456 With prefix arg, unhighlight all hi-lock patterns in buffer.
4457
4458 2012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
4459
4460 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
4461
4462 2012-12-04 Michael Albinus <michael.albinus@gmx.de>
4463
4464 * Makefile.in (TRAMP_SRC):
4465 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
4466
4467 2012-12-04 Juergen Hoetzel <juergen@archlinux.org>
4468
4469 * net/tramp-adb.el: New package.
4470
4471 2012-12-04 Chong Yidong <cyd@gnu.org>
4472
4473 * terminal.el: Move to obsolete/.
4474
4475 * longlines.el: Move to obsolete/.
4476
4477 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
4478 Remove code referring to longlines mode.
4479
4480 2012-12-03 Juri Linkov <juri@jurta.org>
4481
4482 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
4483
4484 2012-12-03 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
4485
4486 * textmodes/ispell.el (ispell-init-process)
4487 (ispell-start-process, ispell-internal-change-dictionary):
4488 Make sure personal dictionary name is expanded after initial
4489 `default-directory' value. Use expanded strings for
4490 keep/restart checks and for value (Bug#13019).
4491
4492 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
4493
4494 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
4495
4496 2012-12-03 Leo Liu <sdl.web@gmail.com>
4497
4498 * files.el (dir-locals-read-from-file): Check file non-empty
4499 before reading. (Bug#13038)
4500
4501 2012-12-03 Glenn Morris <rgm@gnu.org>
4502
4503 * jka-cmpr-hook.el (jka-compr-get-compression-info):
4504 Remove any version extension before checking filename. (Bug#13006)
4505 (jka-compr-compression-info-list): Belated :version bump.
4506
4507 2012-12-03 Chong Yidong <cyd@gnu.org>
4508
4509 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
4510
4511 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
4512 (buffer-menu): Doc fix (Bug#12294).
4513
4514 2012-12-03 Roland Winkler <winkler@gnu.org>
4515
4516 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
4517 of diary-show-all-entries in the diary buffer (Bug#12994).
4518
4519 2012-12-03 Michael Albinus <michael.albinus@gmx.de>
4520
4521 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
4522 "<STDIN>". This is binary safe.
4523
4524 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
4525
4526 * calc/calc-forms.el (math-absolute-from-iso-dt)
4527 (math-date-to-iso-dt, math-parse-iso-date-validate)
4528 (math-iso-dt-to-date): New functions.
4529 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
4530 (math-fd-isoweekday): New variables.
4531 (calc-date-notation, math-parse-standard-date, math-format-date)
4532 (math-format-date-part): Add support for more formatting codes.
4533
4534 2012-12-02 Dmitry Gutov <dgutov@yandex.ru>
4535
4536 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
4537 current buffer's file name when called interactively (Bug#12488).
4538
4539 2012-12-02 Juri Linkov <juri@jurta.org>
4540
4541 * info.el (info-display-manual): Don't clobber an existing Info
4542 buffer (Bug#10770). Add completion (Bug#10771).
4543
4544 2012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
4545
4546 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
4547 before using it for comparison (Bug#5297).
4548
4549 2012-12-01 Jari Aalto <jari.aalto@cante.net>
4550
4551 * textmodes/css-mode.el (css-current-defun-name): New function.
4552 (css-mode): Use it.
4553
4554 * textmodes/sgml-mode.el (html-current-defun-name): New function.
4555 (html-mode): Use it.
4556
4557 2012-12-01 Chong Yidong <cyd@gnu.org>
4558
4559 Modularize add-log-current-defun (Bug#2224).
4560 Suggested by Jari Aalto.
4561
4562 * vc/add-log.el (add-log-current-defun-function): Doc fix.
4563 (add-log-current-defun): Move mode-specific code to other files.
4564 (add-log-lisp-like-modes, add-log-c-like-modes)
4565 (add-log-tex-like-modes): Variables deleted.
4566
4567 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
4568 (lisp-mode-variables): Use it.
4569
4570 * progmodes/cc-mode.el (c-common-init):
4571 * progmodes/cperl-mode.el (cperl-mode): Set a value for
4572 add-log-current-defun-function.
4573
4574 * progmodes/m4-mode.el (m4-current-defun-name): New function.
4575 (m4-mode): Use it.
4576
4577 * progmodes/perl-mode.el (perl-current-defun-name): New.
4578 (perl-mode): Use it.
4579
4580 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
4581 Use lisp-current-defun-name.
4582
4583 * textmodes/tex-mode.el (tex-current-defun-name): New.
4584 (tex-common-initialization): Use it.
4585
4586 * textmodes/texinfo.el (texinfo-current-defun-name): New.
4587 (texinfo-mode): Use it.
4588
4589 2012-12-01 Chong Yidong <cyd@gnu.org>
4590
4591 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
4592 * progmodes/autoconf.el (autoconf-mode):
4593 * progmodes/js.el (js-mode):
4594 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
4595 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
4596 * progmodes/perl-mode.el (perl-mode):
4597 * progmodes/sh-script.el (sh-mode, sh-set-shell):
4598 * textmodes/css-mode.el (css-mode):
4599 * textmodes/sgml-mode.el (html-mode, sgml-mode)
4600 (sgml-tags-invisible, sgml-guess-indent):
4601 * textmodes/tex-mode.el (tex-common-initialization)
4602 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
4603 (doctex-mode, plain-tex-mode, latex-mode):
4604 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
4605
4606 2012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
4607
4608 * vc/vc-hg.el (vc-hg-next-revision):
4609 Ensure use of default "tip" output format. (Bug#6968)
4610
4611 2012-12-01 Kim F. Storm <storm@cua.dk>
4612
4613 * startup.el (fancy-startup-tail): Add a clickable link
4614 (Bug#2176).
4615
4616 2012-12-01 Chong Yidong <cyd@gnu.org>
4617
4618 * startup.el (fancy-startup-tail): Improve the message about
4619 auto-save files (Bug#2176).
4620
4621 * files.el (recover-session): Improve the descriptive message, and
4622 use substitute-command-keys.
4623
4624 2012-12-01 Glenn Morris <rgm@gnu.org>
4625
4626 * ido.el (ido-file-internal):
4627 Handle other-window, other-frame for dired. (Bug#13036)
4628
4629 2012-11-30 Glenn Morris <rgm@gnu.org>
4630
4631 * icomplete.el (icomplete-separator): Fix :version.
4632
4633 2012-11-30 Chong Yidong <cyd@gnu.org>
4634
4635 * shell.el (shell): For C-u M-x shell, use an inactive shell
4636 buffer as the default (Bug#1975).
4637 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
4638 (shell-mode): Use them to reapply ansi colorization if Shell mode
4639 is re-enabled.
4640
4641 2012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
4642
4643 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
4644
4645 2012-11-30 Samuel Bronson <naesten@gmail.com>
4646
4647 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
4648 flag to xargs, for compatibility with BSD xargs (Bug#11703).
4649
4650 2012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
4651
4652 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
4653 by move-to-column (Bug#3234).
4654
4655 2012-11-30 Chong Yidong <cyd@gnu.org>
4656
4657 * longlines.el (longlines-wrap-line, longlines-encode-region):
4658 Preserve text properties (Bug#1425).
4659
4660 2012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
4661
4662 * vc/vc.el (vc-register): Allow registering a file which is
4663 already registered with a different backend (Bug#10589).
4664
4665 2012-11-29 Jambunathan K <kjambunathan@gmail.com>
4666 Stefan Monnier <monnier@iro.umontreal.ca>
4667
4668 * icomplete.el: Change separator; add ido-style commands.
4669 (icomplete-show-key-bindings): Remove custom var.
4670 (icomplete-get-keys): Remove function.
4671 (icomplete-forward-completions, icomplete-backward-completions):
4672 New commands.
4673 (icomplete-minibuffer-map): New var.
4674 (icomplete-minibuffer-setup): Use it.
4675 (icomplete-exhibit): Don't delay if the list of completions is known.
4676 (icomplete-separator): New custom.
4677 (icomplete-completions): Use it.
4678 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
4679 (minibuffer-force-complete-and-exit): New command.
4680 (minibuffer--complete-and-exit): New function extracted from
4681 minibuffer-complete-and-exit.
4682 (minibuffer-complete-and-exit): Use it.
4683
4684 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
4685 error message when the file doesn't exist (bug#12974).
4686
4687 2012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
4688
4689 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
4690
4691 2012-11-29 Glenn Morris <rgm@gnu.org>
4692
4693 * files.el (hack-dir-local-variables): Warn if try to set
4694 coding via dir-locals, since it doesn't work. (Bug#7169)
4695
4696 Add desktop support for restoring vc-dir buffers. (Bug#10606)
4697 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
4698 Set buffer-local value of desktop-save-buffer.
4699 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
4700 New functions.
4701 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
4702 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
4703
4704 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
4705 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
4706 Doc fix.
4707 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
4708 Doc fixes.
4709
4710 2012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
4711
4712 * calc/calc-forms.el (calc-date-notation): Fix regexp
4713 used to find time codes. Fix symbol for seconds.
4714
4715 2012-11-27 Glenn Morris <rgm@gnu.org>
4716
4717 * emacs-lisp/derived.el (derived-mode-make-docstring):
4718 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
4719
4720 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
4721
4722 * textmodes/table.el (table-insert): Don't use `symbol-name' on
4723 lexically scoped variables (bug#13005).
4724
4725 2012-11-27 Glenn Morris <rgm@gnu.org>
4726
4727 * vc/vc-hooks.el (vc-mistrust-permissions):
4728 Default to t, to avoid data-loss. (Bug#11490)
4729
4730 2012-11-27 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
4731
4732 * progmodes/python.el (python-indent-guess-indent-offset):
4733 If indentation is guessed make python-indent-offset buffer-local.
4734
4735 Fix Imenu regression.
4736 * progmodes/python.el (python-nav-beginning-of-defun):
4737 Fix forward movement when statement(s) separates point from defun.
4738 (python-imenu-prev-index-position): New function.
4739
4740 2012-11-27 Eli Zaretskii <eliz@gnu.org>
4741
4742 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
4743
4744 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
4745 Don't set buffer-file-type. Return nil. (Bug#12989)
4746
4747 2012-11-27 Glenn Morris <rgm@gnu.org>
4748
4749 * hippie-exp.el (hippie-expand-try-functions-list):
4750 Re-autoload it. (Bug#12982)
4751
4752 2012-11-27 Eli Zaretskii <eliz@gnu.org>
4753
4754 * descr-text.el (describe-char-padded-string):
4755 Call internal-char-font only on GUI frames. (Bug#11964)
4756
4757 2012-11-27 Andreas Schwab <schwab@linux-m68k.org>
4758
4759 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
4760 and obsoletion message.
4761
4762 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
4763
4764 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
4765 the constructs to keep outside of the `cl-block' (bug#12977).
4766
4767 2012-11-27 Chong Yidong <cyd@gnu.org>
4768
4769 * mouse.el (mouse-drag-line): Even if the line is not draggable,
4770 keep reading until we get the up-event anyway, in order to process
4771 the up-event for mouse-1-click-follows-link (Bug#12971).
4772
4773 2012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
4774
4775 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
4776 base function is not yet defined (bug#12965).
4777 (ad-activate-advised-definition): Use ad-compile-function.
4778 (ad-activate): Use cond.
4779
4780 2012-11-25 Leo Liu <sdl.web@gmail.com>
4781
4782 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
4783 (Bug#12979)
4784
4785 2012-11-24 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
4786
4787 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
4788 reftex-section-info-function in order to be compatible with
4789 Texinfo integration.
4790
4791 * textmodes/reftex.el (reftex-section-pre-regexp)
4792 (reftex-section-post-regexp, reftex-section-info-function):
4793 New variable.
4794 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
4795 reftex-section-post-regexp, and reftex-section-info-function in order
4796 to be compatible with Texinfo integration.
4797
4798 * textmodes/reftex-toc.el (reftex-toc-promote-action):
4799 use reftex-section-pre-regexp variable in order to be compatible with
4800 Texinfo integration.
4801
4802 2012-11-25 Chong Yidong <cyd@gnu.org>
4803
4804 * faces.el: Make face-spec-set more analogous to setq.
4805 (face-spec-set): Change the third arg to specify whether this
4806 function is being called via defface, customize, or a third party.
4807 Set the appropriate symbol properties. Clear the override spec if
4808 setting via Custom. Initialize face if necessary. (Bug#4988)
4809 (face-spec-recalc): Allow theme faces to completely replace the
4810 defface spec, in the same way as custom faces (Bug#8454).
4811
4812 * cus-face.el (custom-declare-face): Move face initialization to
4813 face-spec-set.
4814 (custom-theme-set-faces): Don't initialize the face name here, as
4815 that is now done in face-spec-set.
4816
4817 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
4818 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
4819 Simplify by using the new arg to face-spec-set.
4820
4821 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
4822 reset face-override-spec too, and use custom-declare-face.
4823
4824 2012-11-24 Jan Djärv <jan.h.d@swipnet.se>
4825
4826 * term/ns-win.el (ns-initialize-window-system): Move creation of
4827 fontsets here (Bug#11964).
4828
4829 2012-11-24 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
4830
4831 * ses.el (ses-rename-cell): Correct bug on mode-line update after
4832 cell renaming.
4833
4834 2012-11-24 Chong Yidong <cyd@gnu.org>
4835
4836 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
4837 obsolete.
4838
4839 * custom.el (custom-theme-set-variables): Use a topological sort
4840 for ordering by custom dependencies (Bug#12952).
4841 (custom--sort-vars, custom--sort-vars-1): New functions.
4842
4843 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
4844
4845 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
4846 lexical-binding (bug#12938).
4847
4848 2012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
4849
4850 * image-mode.el (image-transform-check-size): Use assertions only
4851 for images of type imagemagick.
4852
4853 Otherwise no error, image-transform-fit-to-{width,height} is
4854 silently ignored, as before. Doc fix.
4855
4856 2012-11-24 Chong Yidong <cyd@gnu.org>
4857
4858 * faces.el (color-defined-p): Doc fix (Bug#12853).
4859
4860 2012-11-24 Juri Linkov <juri@jurta.org>
4861
4862 * dired.el (dired-mark): Add optional arg `interactive'.
4863 Check for `use-region-p' if `interactive' is non-nil.
4864 (dired-unmark, dired-flag-file-deletion): Add optional arg
4865 `interactive'. Call `dired-mark' with the arg `interactive'.
4866 (Bug#10624)
4867
4868 * wdired.el: Revert 2012-10-17 change partly and replace it with
4869 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
4870 (wdired-finish-edit): Add marks for new file names to
4871 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
4872 after `revert-buffer'.
4873 (wdired-do-renames): Remove calls to `dired-remove-file',
4874 `dired-add-file', `dired-add-entry'. (Bug#11795)
4875
4876 2012-11-24 Alan Mackenzie <acm@muc.de>
4877
4878 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
4879
4880 Fix bugs in the state cache. Enhance a debugging mechanism.
4881 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
4882 "brace at column zero" strategy for C++.
4883 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
4884 (c-parse-state-point): New variable.
4885 (c-record-parse-state-state): Record old parse state with
4886 `copy-tree'. Record previous value of point.
4887 (c-debug-parse-state-double-cons): New debugging function.
4888 (c-debug-parse-state): Call the above new function.
4889 (c-toggle-parse-state-debug): Output a confirmatory message.
4890
4891 * progmodes/cc-mode.el (c-before-change, c-after-change):
4892 Call c-invalidate-state-cache from `c-before-change' instead of
4893 `c-after-change'.
4894
4895 2012-11-23 Chong Yidong <cyd@gnu.org>
4896
4897 * find-cmd.el (find-constituents): Add executable, ipath,
4898 readable, samefile, writable, daystart, regextype (Bug#12856).
4899
4900 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
4901
4902 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
4903
4904 2012-11-22 Paul Eggert <eggert@cs.ucla.edu>
4905
4906 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
4907 definition. This fixes a bootstrap failure.
4908 (calc-gregorian-switch): In menu, put dates before regions.
4909 This is easier to follow, lines up better in the menu, and lets us
4910 coalesce regions that switch at the same time. Give country
4911 names, not "Vatican", as that's better for non-expert users.
4912 Use names that are stable between the date of switch and now, e.g.,
4913 Bohemia and Moravia (which existed then and now) and not
4914 Czechoslovakia (which didn't exist then and doesn't exist now).
4915 What is now the U.S. mostly did not switch at the same time as
4916 Britain, so omit the U.S. Correct spelling of "Britain".
4917 Catholic Switzerland was too much of a mess, so omit it.
4918
4919 2012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
4920
4921 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
4922 after the variable is changed.
4923
4924 2012-11-21 Daniel Colascione <dancol@dancol.org>
4925
4926 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
4927 in SQL declarations for font-lock.
4928 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
4929
4930 2012-11-21 Glenn Morris <rgm@gnu.org>
4931
4932 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
4933 (face-italic-p): Add optional argument "inherit".
4934
4935 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
4936 Remove -p suffix from names, for consistency with other set-face-*.
4937 (set-face-inverse-video): Fix interactive spec.
4938 * play/gamegrid.el (gamegrid-make-mono-tty-face):
4939 * textmodes/table.el (table--update-cell-face):
4940 Use set-face-inverse-video rather than now obsolete alias.
4941
4942 2012-11-21 Eli Zaretskii <eliz@gnu.org>
4943
4944 * simple.el (line-move): Don't call line-move-partial if
4945 scroll-conservatively is in effect. (Bug#12927)
4946
4947 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4948
4949 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
4950 Fallback on completion-at-point rather than
4951 pcomplete-expand-and-complete, and only if pcomplete actually failed.
4952 (eshell-cmpl-initialize): Setup completion-at-point.
4953
4954 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
4955
4956 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
4957
4958 2012-11-21 Michael Albinus <michael.albinus@gmx.de>
4959
4960 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
4961 are remote, check out-of-band property for both.
4962
4963 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4964
4965 * window.el (switch-to-buffer): Re-add the warning that was lost in the
4966 code rewrite.
4967
4968 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
4969
4970 More minor time fixes.
4971 * calendar/time-date.el: Commentary fix.
4972 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
4973 too much other code depends on (0 0) time stamps.
4974 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
4975 Add a couple of FIXME comments.
4976
4977 Minor cleanup for times as lists of four integers.
4978 * files.el (dir-locals-directory-cache):
4979 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
4980 Doc fixes.
4981 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
4982 * ps-bdf.el (bdf-file-newer-than-time):
4983 Process four-integers time stamps, not two. Doc fixes.
4984
4985 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
4986
4987 * uniquify.el (uniquify-managed): Use defvar-local.
4988 (rename-buffer, create-file-buffer): Advise with advice-add.
4989 (uniquify-unload-function): Unadvise accordingly.
4990
4991 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
4992 (trace-buffer): Don't purecopy.
4993 (trace-entry-message, trace-exit-message): Add `context' arg.
4994 (trace--timer): New var.
4995 (trace-make-advice): Adjust for use in nadvice.
4996 Add `context' argument. Delay `display-buffer' via a timer.
4997 (trace-function-internal): Use advice-add.
4998 (trace--read-args): New function.
4999 (trace-function-foreground, trace-function-background): Use it.
5000 (trace-function): Rename to trace-function-foreground and redefine as
5001 an alias to that new name.
5002 (untrace-function, untrace-all): Adjust to the use of nadvice.
5003
5004 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
5005
5006 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
5007
5008 * subr.el (called-interactively-p-functions): New var.
5009 (internal--called-interactively-p--get-frame): New macro.
5010 (called-interactively-p, interactive-p): Rewrite in Lisp.
5011 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
5012 (called-interactively-p-functions): Use it.
5013 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
5014 (called-interactively-p-functions): Use it.
5015 * allout.el (allout-called-interactively-p): Don't assume
5016 called-interactively-p is a subr.
5017
5018 2012-11-20 Glenn Morris <rgm@gnu.org>
5019
5020 * profiler.el (profiler-report-mode-map): Add a menu.
5021 No need to bind `q' because we derive from special-mode.
5022 (profiler-report-find-entry): Handle calls from the menu-bar.
5023
5024 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
5025
5026 * emacs-lisp/byte-run.el (defun-declarations-alist):
5027 Allow a compiler-macro to be a lambda expression.
5028
5029 * progmodes/python.el: Use cl-lib. Move var declarations outside of
5030 eval-when-compile.
5031 (python-syntax-context): Add compiler-macro.
5032 (python-font-lock-keywords): Simplify with De Morgan.
5033
5034 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
5035
5036 * files.el (load-file): Require match in minibuffer selection, as was
5037 the case in Emacs-20 before we changed the spec to allow .elc files
5038 (bug#12935).
5039
5040 * json.el: Don't require cl since we don't use it.
5041 * color.el: Don't require cl.
5042 (color-complement): `caddr' -> `nth 2'.
5043
5044 * calendar/time-date.el (time-to-seconds): De-obsolete.
5045
5046 2012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
5047
5048 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
5049 year numbers.
5050 (math-date-to-julian-dt): Adjust the initial approximation for the
5051 year to deal with the new definition of the DATE.
5052
5053 2012-11-19 Daniel Colascione <dancol@dancol.org>
5054
5055 * term/w32-win.el (cygwin-convert-path-from-windows):
5056 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
5057
5058 2012-11-18 Chong Yidong <cyd@gnu.org>
5059
5060 * filecache.el (file-cache--read-list): New function.
5061 (file-cache-add-directory-list, file-cache-add-file-list)
5062 (file-cache-delete-file-list, file-cache-delete-directory-list):
5063 Use it to read a list of files or directories (Bug#12846).
5064 (file-cache-add-file, file-cache-add-directory)
5065 (file-cache-delete-file-list, file-cache-delete-file-regexp)
5066 (file-cache-delete-directory): Print an message.
5067
5068 2012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
5069
5070 * calc/calc-forms.el (math-date-to-dt): Use integer date when
5071 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
5072
5073 2012-11-18 Glenn Morris <rgm@gnu.org>
5074
5075 * image.el (insert-image, insert-sliced-image): Doc fix.
5076
5077 2012-11-18 Chong Yidong <cyd@gnu.org>
5078
5079 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
5080 (Bug#12810).
5081
5082 2012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
5083
5084 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
5085 response when the target file is in a subdirectory (Bug#12757).
5086
5087 2012-11-18 Chong Yidong <cyd@gnu.org>
5088
5089 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
5090
5091 2012-11-18 Glenn Morris <rgm@gnu.org>
5092
5093 * emacs-lisp/cl-lib.el (face-underline-p):
5094 Use set-face-underline rather than the alias set-face-underline-p.
5095
5096 * window.el (with-temp-buffer-window): Doc fix.
5097 * subr.el (with-output-to-temp-buffer):
5098 Add doc xref to with-temp-buffer-window.
5099
5100 2012-11-18 Juanma Barranquero <lekktu@gmail.com>
5101
5102 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
5103 * calc/calc.el (math-format-date-cache): Declare.
5104
5105 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
5106
5107 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
5108 It also uses January 1, 1 AD as its day number 1.
5109 * calc/calc-forms.el (math-julian-date-beginning)
5110 (math-julian-date-beginning-int): Implement this.
5111
5112 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
5113
5114 * descr-text.el (quail-find-key):
5115 * dired.el (desktop-file-name):
5116 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
5117 * generic-x.el (comint-mode, comint-exec):
5118 * image-dired.el (widget-forward):
5119 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
5120 (speedbar-change-expand-button-char)
5121 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
5122 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
5123 * printing.el (easy-menu-add-item, easy-menu-remove-item)
5124 (widget-field-action, widget-value-set):
5125 * speedbar.el (imenu--make-index-alist):
5126 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
5127 (ring-length, ring-insert):
5128 * vcursor.el (compare-windows-skip-whitespace):
5129 * woman.el (dired-get-filename):
5130 Declare functions.
5131
5132 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
5133
5134 2012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
5135
5136 * calc/calc.el (calc-gregorian-switch): New variable.
5137
5138 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
5139 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
5140 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
5141 (math-leap-year-p): Add option to distinguish between Julian
5142 and Gregorian calendars.
5143 (math-day-number): Use `math-day-in-year' to do the computations.
5144 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
5145 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
5146 to do the computations.
5147 (math-date-to-dt): Use `math-date-to-julian-dt' and
5148 `math-date-to-gregorian-dt' to do the computations.
5149 (calcFunc-weekday, math-format-date-part): Use the new version of
5150 the DATE to determine the weekday.
5151 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
5152 when necessary.
5153
5154 2012-11-17 Eli Zaretskii <eliz@gnu.org>
5155
5156 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
5157 Cygwin; otherwise use 'file:'. (Bug#12914)
5158 (cygwin-convert-path-from-windows): Declare, to avoid
5159 byte-compiler warnings.
5160
5161 2012-11-17 Andreas Politz <politza@fh-trier.de>
5162
5163 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
5164 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
5165 prefix and negative numeric prefix args (Bug#12795).
5166
5167 2012-11-17 Stephen Berman <stephen.berman@gmx.net>
5168
5169 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
5170 Don't signal an error with a score that is too low to add to the
5171 list of top scores. (Bug#12779)
5172
5173 2012-11-17 Chong Yidong <cyd@gnu.org>
5174
5175 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
5176
5177 * filecache.el (file-cache-add-file): Handle relative file name in
5178 the argument (Bug#12694).
5179
5180 2012-11-16 JĂ¼rgen Hötzel <juergen@archlinux.org> (tiny change)
5181
5182 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
5183
5184 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
5185
5186 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
5187
5188 * emacs-lisp/cl-lib.el: Set more meaningful version number.
5189
5190 2012-11-16 Martin Rudalics <rudalics@gmx.at>
5191
5192 * window.el (enlarge-window, shrink-window): Don't mention return
5193 value in doc-string (Bug#12896).
5194 (window--display-buffer): Don't resize frames - it won't work
5195 with all window managers and defeat pop-up-frame-alist.
5196 (display-buffer-alist): In doc-string explain that CONDITION can
5197 be a function and which arguments are passed to it (Bug#12854).
5198 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
5199 expressions (Bug#12854).
5200 (display-buffer): Pass ACTION argument to
5201 display-buffer-assq-regexp.
5202
5203 2012-11-16 Glenn Morris <rgm@gnu.org>
5204
5205 * window.el (fit-frame-to-buffer-bottom-margin)
5206 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
5207
5208 * faces.el (face-underline-p): Use face-attribute-specified-or.
5209
5210 2012-11-16 Juanma Barranquero <lekktu@gmail.com>
5211
5212 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
5213
5214 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
5215
5216 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
5217
5218 2012-11-16 Glenn Morris <rgm@gnu.org>
5219
5220 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
5221 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
5222
5223 * faces.el (face-underline-p): Doc fix. Handle :underline being
5224 things other than `t' (a string, a list).
5225 (face-inverse-video-p): Doc fix.
5226 (set-face-underline): Rename it back from set-face-underline-p.
5227 Doc fix. Allow interactive input of values other than t.
5228 (read-face-attribute): Apply formatting to :underline,
5229 since like :box and :stipple it can take list values.
5230
5231 * term.el (ansi-term): Don't let C-x escape-char binding
5232 clobber the more standard C-c binding. (Bug#12842)
5233
5234 * subr.el (set-temporary-overlay-map): Doc fix.
5235
5236 2012-11-16 Martin Rudalics <rudalics@gmx.at>
5237
5238 * window.el (record-window-buffer)
5239 (display-buffer-record-window): When copying the markers to
5240 window-point preserve window-point-insertion-type. (Bug#12588)
5241
5242 2012-11-16 Glenn Morris <rgm@gnu.org>
5243
5244 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
5245 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
5246 Use new names for hooks rather than obsolete aliases.
5247
5248 2012-11-15 Daniel Colascione <dancol@dancol.org>
5249
5250 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
5251 prefix instead of "file:" so that when FILE-NAME begins with "//",
5252 as it does when the target file is on a network share, url-handler
5253 isn't confused.
5254
5255 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
5256
5257 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
5258 a preactivated advice from an old advice.el; they're not compatible!
5259
5260 2012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
5261
5262 * emacs-lisp/nadvice.el (advice--make-interactive-form):
5263 Fix string-spec case.
5264
5265 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
5266
5267 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
5268
5269 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
5270 (advice--buffer-local-function-sample): New var.
5271 (advice--set-buffer-local, advice--buffer-local): New functions.
5272 (add-function, remove-function): Use them.
5273
5274 2012-11-15 Drew Adams <drew.adams@oracle.com>
5275
5276 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
5277
5278 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
5279
5280 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
5281 potential binding of print-gensym to t, and prettify (back)quotes in
5282 case they appear in args's default values (bug#12884).
5283
5284 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
5285
5286 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
5287 (advice-eval-interactive-spec): New function.
5288 (advice--make-interactive-form): Support around advice (bug#12844).
5289
5290 2012-11-14 Dmitry Gutov <dgutov@yandex.ru>
5291
5292 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
5293 more strict. Add docstring.
5294 (ruby-expression-expansion-re): Extract from
5295 `ruby-match-expression-expansion'.
5296 (ruby-syntax-propertize-function): After everything else, search
5297 for expansions in string literals, mark their insides as
5298 whitespace syntax and save match data for font-lock.
5299 (ruby-font-lock-keywords): Use the 2nd group from expression
5300 expansion matches.
5301 (ruby-match-expression-expansion): Use the match data saved to the
5302 text property in ruby-syntax-propertize-function.
5303
5304 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
5305
5306 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
5307 (bug#12879).
5308
5309 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
5310
5311 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
5312 start/end keyword a bit harder. Works with different values of N.
5313 Add more comments.
5314 (ruby-end-of-block): Update accordingly.
5315
5316 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
5317
5318 * woman.el (woman-file-name): Don't mess with unread-command-events
5319 (bug#12861).
5320
5321 * emacs-lisp/advice.el: Layer on top of nadvice.el.
5322 Remove out of date self-require hack.
5323 (ad-do-advised-functions): Use simple `dolist'.
5324 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
5325 (ad-advice-definition): Redefine as functions.
5326 (ad-advice-classes): Move before first use.
5327 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
5328 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
5329 (ad--defalias-fset): Remove functions.
5330 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
5331 (ad-get-orig-definition): Rewrite.
5332 (ad-make-advised-definition-docstring): Change base docstring.
5333 (ad-real-orig-definition): Rewrite.
5334 (ad-map-arglists): Change name of called function.
5335 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
5336 (ad-make-advised-definition): Simplify.
5337 (ad-assemble-advised-definition): Tweak for new calling context.
5338 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
5339 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
5340 function and call ad-activate if needed.
5341 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
5342 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
5343 (ad-compile-function): Compile ad-Advice-*.
5344 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
5345 (ad-start-advice, ad-stop-advice): Remove.
5346
5347 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
5348
5349 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
5350 period before class method names, not after. Remove handling of
5351 one impossible case. Add comments.
5352
5353 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
5354
5355 * emacs-lisp/advice.el: Remove support for freezing.
5356 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
5357 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
5358 Remove support for `freeze'.
5359
5360 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
5361 override the default.
5362 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
5363 cl--dotimes/dolist.
5364 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
5365 `cl' is loaded.
5366
5367 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
5368 from add-advice.
5369 (advice--strip-macro): New function.
5370 (advice--defalias-fset): Use them to handle macros.
5371 (advice-add): Use them.
5372 (advice-member-p): Correctly handle macros.
5373
5374 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
5375
5376 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5377 Never font-lock the beginning of singleton class as heredoc.
5378
5379 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
5380
5381 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
5382
5383 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
5384
5385 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
5386 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
5387 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
5388
5389 2012-11-13 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
5390
5391 Fix end-of-defun misbehavior.
5392 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
5393 python-beginning-of-defun-function. Handle nested defuns
5394 correctly.
5395 (python-nav-end-of-defun): Rename from
5396 python-end-of-defun-function. Ensure forward movement.
5397 (python-info-current-defun): Reimplement to work as intended
5398 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
5399 parent defuns as soon as possible.
5400
5401 2012-11-13 Glenn Morris <rgm@gnu.org>
5402
5403 * progmodes/flymake.el (flymake-error-bitmap)
5404 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
5405 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
5406
5407 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
5408
5409 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
5410 backward, always stop at indentation. Reverts the change from
5411 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
5412
5413 2012-11-13 Glenn Morris <rgm@gnu.org>
5414
5415 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
5416 Add ibuffer-filter-by-derived-mode.
5417
5418 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
5419 the same name shadowing each other.
5420
5421 * window.el (with-temp-buffer-window): Doc tweak.
5422
5423 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
5424
5425 * help.el (temp-buffer-max-height):
5426 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
5427 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
5428
5429 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
5430
5431 * emacs-lisp/nadvice.el: New package.
5432 * subr.el (special-form-p): New function.
5433 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
5434 (elp-all-instrumented-list): Remove var.
5435 (elp-not-profilable): Remove elp-wrapper.
5436 (elp-profilable-p): Use autoloadp and special-form-p.
5437 (elp--advice-name): New const.
5438 (elp-instrument-function): Use advice-add.
5439 (elp--instrumented-p): New predicate.
5440 (elp-restore-function): Use advice-remove.
5441 (elp-restore-all, elp-reset-all): Use mapatoms.
5442 (elp-set-master): Use elp--instrumented-p.
5443 (elp--make-wrapper): Rename from elp-wrapper, return a function
5444 suitable for advice-add. Use cl-inf.
5445 (elp-results): Use mapatoms+elp--instrumented-p.
5446 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
5447 (debug-function-list): Remove var.
5448 (debug): Rename arg, and then let-bind it explicitly inside.
5449 (debugger-setup-buffer): Rename arg.
5450 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
5451 (debugger-frame-number): Adjust to new debug-on-entry setup.
5452 (debug--implement-debug-on-entry): Rename from
5453 implement-debug-on-entry, add argument.
5454 (debugger-special-form-p): Remove, use special-form-p instead.
5455 (debug-on-entry): Use advice-add.
5456 (debug--function-list): New function.
5457 (cancel-debug-on-entry): Use it, along with advice-remove.
5458 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
5459 (debugger-list-functions): Use debug--function-list instead of
5460 debug-function-list.
5461 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
5462 (ad-special-form-p): Remove, use special-form-p instead.
5463 (ad-set-advice-info): Use add-function and remove-function.
5464 (ad--defalias-fset): Adjust accordingly.
5465
5466 2012-11-10 Glenn Morris <rgm@gnu.org>
5467
5468 * mail/emacsbug.el (report-emacs-bug-tracker-url)
5469 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
5470 (report-emacs-bug-create-existing-bugs-buffer)
5471 (report-emacs-bug-parse-query-results)
5472 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
5473
5474 * term.el (term-default-fg-color, term-default-bg-color):
5475 Make obsolete, rather than just saying "deprecated" in the doc.
5476
5477 * term.el (term): Rename from `term-face'.
5478 (term-current-face, ansi-term-color-vector)
5479 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
5480 Update all users.
5481
5482 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
5483
5484 * server.el (server-create-window-system-frame): Handle Nextstep
5485 specially (Bug#12780).
5486
5487 2012-11-10 Glenn Morris <rgm@gnu.org>
5488
5489 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
5490 Unautoload, and make obsolete. (Bug#7449)
5491
5492 2012-11-10 Chong Yidong <cyd@gnu.org>
5493
5494 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
5495 rename from diff-remove-trailing-whitespace (Bug#12831).
5496
5497 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
5498
5499 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
5500 miscompilation of trace.el.
5501
5502 2012-11-10 Glenn Morris <rgm@gnu.org>
5503
5504 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
5505
5506 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
5507
5508 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
5509 (bug#12812).
5510
5511 2012-11-10 Chong Yidong <cyd@gnu.org>
5512
5513 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
5514 a defcustom with an appropriate :set function.
5515 (minibuffer-default--in-prompt-regexps): New function.
5516
5517 2012-11-10 Glenn Morris <rgm@gnu.org>
5518
5519 * emacs-lisp/cl.el (define-setf-expander, defsetf)
5520 (define-modify-macro): Doc fixes.
5521
5522 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
5523 (gv-define-simple-setter): Update doc of `fix-return'.
5524
5525 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
5526
5527 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
5528 twice when `fix-return' is set (bug#12813).
5529
5530 * emacs-lisp/cl.el (defsetf): Pass the third arg to
5531 gv-define-simple-setter (bug#12812).
5532
5533 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
5534 (bug#12756).
5535
5536 2012-11-10 Glenn Morris <rgm@gnu.org>
5537
5538 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
5539
5540 * emacs-lisp/cl-extra.el (cl-prettyexpand):
5541 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
5542 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
5543 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
5544
5545 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
5546
5547 2012-11-10 Leo Liu <sdl.web@gmail.com>
5548
5549 * ido.el (ido-set-matches-1): Improve flex matching performance by
5550 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
5551
5552 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5553
5554 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
5555 (ad--defalias-fset): New function.
5556 (ad-safe-fset): Remove.
5557 (ad-make-freeze-definition): Use cl-letf*.
5558
5559 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5560
5561 * subr.el (dolist): Don't bind VAR in RESULT.
5562
5563 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
5564 (fset, documentation): Don't save real def since we don't advise.
5565 (ad-do-advised-functions): Remove problematic `result-form'.
5566 (ad-safe-fset): `ad-real-fset' => `fset'.
5567 (ad-read-advised-function): Don't assume that ad-do-advised-functions
5568 uses CL's dolist internally.
5569 (ad-arglist): Remove unused arg `name'.
5570 (ad-docstring, ad-make-advised-docstring):
5571 `ad-real-documentation' => `documentation'.
5572 (warning-suppress-types): Declare.
5573 (ad-set-arguments): Simple CSE.
5574 (ad-recover-normality): Sanity check.
5575
5576 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
5577 (funcall '(lambda ..) ..) into ((lambda ..) ..).
5578
5579 2012-11-09 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
5580
5581 * ses.el: symbol to coordinate mapping is made by symbol property
5582 `ses-cell'. This means that the same mapping is done for all SES
5583 sheets. That is good enough for cells with standard A1 names, but
5584 not for named cell. So a hash map is added for the latter.
5585 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
5586 (ses-sym-rowcol): Use hashmap for named cell.
5587 (ses-is-cell-sym-p): New defun.
5588 (ses-decode-cell-symbol): New defun.
5589 (ses-create-cell-variable): Add cell to hashmap when name is not
5590 A1-like.
5591 (ses-rename-cell): Check that cell new name is not already in
5592 spreadsheet with the use of ses-is-cell-sym-p
5593 (ses-rename-cell): Use hash map for named cells, but accept also
5594 renaming back to A1-like.
5595
5596 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5597
5598 * emacs-lisp/advice.el: Use new dynamic docstrings.
5599 (ad-make-advised-definition-docstring, ad-advised-definition-p):
5600 Use dynamic-docstring-function instead of ad-advice-info.
5601 (ad--make-advised-docstring): New function extracted from
5602 ad-make-advised-docstring.
5603 (ad-make-advised-docstring): Use it.
5604 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
5605 from sql-help.
5606 (sql-help): Use it with dynamic-docstring-function.
5607
5608 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
5609
5610 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5611
5612 * files.el (hack-one-local-variable--obsolete): New function.
5613 (hack-one-local-variable): Use it for obsolete settings.
5614
5615 * subr.el (locate-user-emacs-file): If both old and new name exist, use
5616 the new name.
5617
5618 * progmodes/js.el (js--filling-paragraph): New var.
5619 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
5620 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
5621 less sneaky.
5622
5623 2012-11-08 Julien Danjou <julien@danjou.info>
5624
5625 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
5626 `auto-mode-alist' (Bug#12835).
5627
5628 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5629
5630 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
5631 (perl--prettify-symbols-alist): New const.
5632 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
5633 New functions.
5634 (perl-font-lock-keywords-2): Use them.
5635 (perl-electric-noindent-p): New function.
5636 (perl-mode): Use it to set up electric-indent-mode.
5637 (perl-electric-terminator, perl-indent-command): Mark obsolete.
5638 (perl-mode-map): Remove bindings for them.
5639 (perl-imenu-generic-expression, perl-outline-level):
5640 Match functions&packages in column>0.
5641
5642 * env.el (env--substitute-vars-regexp): New const.
5643 (substitute-env-vars): Use it. Add `only-defined' arg.
5644 * net/tramp.el (tramp-replace-environment-variables): Use it.
5645
5646 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
5647 Byte-compile *before* eval in eval-and-compile.
5648 (byte-compile-log-warning): Remove redundant inhibit-read-only.
5649 (byte-compile-file-form-autoload): Don't hide actual definition.
5650 (byte-compile-maybe-guarded): Accept `functionp' as well.
5651
5652 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
5653
5654 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
5655
5656 * notifications.el (notifications-get-server-information-method):
5657 New defconst.
5658 (notifications-get-capabilities): Fix docstring.
5659 (notifications-get-server-information): New defun.
5660
5661 2012-11-06 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
5662
5663 * textmodes/ispell.el (ispell-region): Standard re-indent for better
5664 readability.
5665
5666 * textmodes/ispell.el: Experimental support for support debugging.
5667 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
5668 buffer for ispell.
5669 (ispell-print-if-debug): New function to print stuff to
5670 `ispell-debug-buffer' if debugging is enabled.
5671 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
5672 show some debugging info.
5673 (ispell-buffer-with-debug): New function that creates a debugging
5674 buffer and calls `ispell-buffer' with debugging enabled.
5675
5676 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
5677 comment in autoconf mode. (Bug#12768)
5678
5679 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
5680
5681 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
5682 frame-first-window, frame-root-window, frame-selected-window,
5683 minibuffer-selected-window, minibuffer-window,
5684 window-absolute-pixel-edges, window-at, window-body-height,
5685 window-body-width, window-display-table, window-combination-limit,
5686 window-frame, window-fringes, window-inside-absolute-pixel-edges,
5687 window-inside-edges, window-inside-pixel-edges, window-left-child,
5688 window-left-column, window-margins, window-next-buffers,
5689 window-next-sibling, window-new-normal, window-new-total,
5690 window-normal-size, window-parameter, window-parameters, window-parent,
5691 window-pixel-edges, window-point, window-prev-buffers,
5692 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
5693 window-start, window-text-height, window-top-child, window-top-line,
5694 window-total-height, window-total-width and window-use-time to the list
5695 of functions without side-effects.
5696 (toplevel): Add window-valid-p to the list of error-free functions
5697 without side-effects.
5698
5699 2012-11-05 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
5700
5701 * textmodes/ispell.el (ispell-program-name):
5702 Update spellchecker parameters when customized.
5703
5704 2012-11-04 Glenn Morris <rgm@gnu.org>
5705
5706 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
5707
5708 2012-11-04 Chong Yidong <cyd@gnu.org>
5709
5710 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
5711 same-window-* variables.
5712
5713 2012-11-04 Juri Linkov <juri@jurta.org>
5714
5715 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
5716 (isearch-describe-key, isearch-describe-mode): Use a display
5717 action instead of binding same-window-* variables (Bug#10040).
5718
5719 2012-11-03 Glenn Morris <rgm@gnu.org>
5720
5721 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
5722 Rename handler properties back from cl-- to cl-. (Bug#12788)
5723
5724 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
5725
5726 2012-11-03 Eli Zaretskii <eliz@gnu.org>
5727
5728 * term/pc-win.el: Don't load term/internal from here.
5729
5730 * loadup.el: Load term/internal from here.
5731
5732 2012-11-03 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
5733
5734 * progmodes/python.el (inferior-python-mode): Fix hang in
5735 jit-lock (Bug#12645).
5736
5737 2012-11-03 Martin Rudalics <rudalics@gmx.at>
5738
5739 * window.el (switch-to-visible-buffer)
5740 (switch-to-buffer-preserve-window-point): Fix doc-strings.
5741
5742 2012-11-03 Glenn Morris <rgm@gnu.org>
5743
5744 * emacs-lisp/cl-lib.el (cl--random-time):
5745 Rename from cl-random-time. (Bug#12773)
5746 (cl--gensym-counter, cl--random-state): Update callers.
5747 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
5748
5749 2012-11-03 Chong Yidong <cyd@gnu.org>
5750
5751 * cus-start.el: Make cursor-type customizable (Bug#11633).
5752
5753 2012-11-02 Glenn Morris <rgm@gnu.org>
5754
5755 * filecache.el: No need to load find-lisp when compiling.
5756 (find-lisp-find-files): Autoload it.
5757 (file-cache-add-directory-recursively): Don't require find-lisp.
5758
5759 * image.el (image-type-from-file-name): Trivial simplification.
5760
5761 * emacs-lisp/bytecomp.el (byte-compile-eval):
5762 Decouple "noruntime" and "cl-functions" warnings.
5763
5764 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
5765
5766 * play/gomoku.el (gomoku-display-statistics): Update mode line
5767 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
5768
5769 2012-10-31 Martin Rudalics <rudalics@gmx.at>
5770
5771 * window.el (quit-restore-window): If the window has been
5772 created on an existing frame and ended up as the sole window on
5773 that frame, do not delete it (Bug#12764).
5774
5775 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
5776
5777 * progmodes/sh-script.el (sh--inside-noncommand-expression):
5778 Rename from sh--inside-arithmetic-expression, handle more cases
5779 (bug#11263).
5780
5781 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
5782 (sh-font-lock-open-heredoc): Use it (bug#12770).
5783
5784 2012-10-30 Glenn Morris <rgm@gnu.org>
5785
5786 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
5787
5788 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
5789
5790 2012-10-29 Chong Yidong <cyd@gnu.org>
5791
5792 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
5793 function key is stored in a keyboard macro (Bug#4894).
5794
5795 * thingatpt.el (number-at-point): Apply a thing-at-point property.
5796
5797 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5798
5799 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
5800 header comments".
5801 (diff-unified->context, diff-context->unified)
5802 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
5803
5804 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
5805
5806 * files.el (find-alternate-file): Only ask one question (bug#12487).
5807
5808 2012-10-29 Chong Yidong <cyd@gnu.org>
5809
5810 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
5811 Suggested by Dan Nicolaescu (Bug#6326).
5812
5813 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
5814
5815 * startup.el (fancy-about-screen): Don't message (Bug#12680).
5816
5817 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
5818
5819 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
5820
5821 * face-remap.el (face-remap-add-relative): Handle the case where a
5822 face-remapping-alist entry is a cons cell (Bug#12762).
5823
5824 2012-10-29 Kevin Ryde <user42@zip.com.au>
5825
5826 * woman.el (woman-parse-numeric-value): Handle picas correctly
5827 (Bug#12639).
5828
5829 2012-10-29 Glenn Morris <rgm@gnu.org>
5830
5831 * emacs-lisp/cl.el (defsetf): Doc fix.
5832
5833 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5834
5835 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
5836 syntax to the matching opener, if any (bug#12547).
5837 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
5838 matching open as a "case-(".
5839 (sh-smie-rc-grammar): Add a corresponding rule for it.
5840
5841 2012-10-28 Daniel Hackney <dan@haxney.org>
5842
5843 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
5844 "PKGNAME-autoloads.el" in case we created it.
5845
5846 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5847
5848 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
5849 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
5850 (completion--twq-all): Disable too-strict assertions.
5851
5852 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
5853
5854 2012-10-27 Eli Zaretskii <eliz@gnu.org>
5855
5856 * profiler.el (profiler-report-make-entry-part): Fix help-echo
5857 text to match the real keybindings.
5858
5859 2012-10-27 Juri Linkov <juri@jurta.org>
5860
5861 * wdired.el (wdired-keep-marker-rename): New defcustom.
5862 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
5863 (Bug#11795)
5864
5865 * dired.el (dired-keep-marker-rename): Add reference to
5866 `wdired-keep-marker-rename' in the docstring.
5867 Add default character value ?R to display initially in
5868 Customization UI instead of ?@.
5869
5870 2012-10-27 Martin Rudalics <rudalics@gmx.at>
5871
5872 * window.el (display-buffer): In doc-string describe
5873 window-height and window-width alist entries.
5874
5875 * time.el (display-time-world): Restore fit-window-to-buffer
5876 behavior.
5877
5878 2012-10-27 Chong Yidong <cyd@gnu.org>
5879
5880 * subr.el (insert-buffer-substring-as-yank): Doc fix.
5881
5882 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
5883
5884 * minibuffer.el (completion-category-overrides): New completion
5885 category `bookmark' (bug#11131).
5886
5887 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
5888
5889 * emacs-lisp/advice.el (ad-assemble-advised-definition):
5890 Silence bogus compiler warnings for ad-do-it.
5891
5892 * bookmark.el (bookmark-completing-read): Set the completion category
5893 to `bookmark' (bug#11131).
5894
5895 2012-10-26 Bastien <bzg@altern.org>
5896 Stefan Monnier <monnier@iro.umontreal.ca>
5897
5898 * face-remap.el: Use lexical-binding.
5899 (text-scale-adjust): Improve docstring. Use itself for the temporary
5900 overlay-map bindings, so as to repeat the "Use..." message each time.
5901
5902 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
5903
5904 * emacs-lisp/macroexp.el (macroexp--expand-all):
5905 Obey byte-compile-warning-enabled-p (bug#12486).
5906
5907 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
5908 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
5909
5910 2012-10-26 Martin Rudalics <rudalics@gmx.at>
5911
5912 * mouse.el (mouse-drag-line): Move last form into preceding when
5913 clause (Bug#12731).
5914
5915 * help.el (resize-temp-buffer-window): Fix doc-string.
5916
5917 2012-10-25 David Engster <deng@randomsample.de>
5918
5919 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
5920 Remove. This feature is already integrated in imenu.
5921
5922 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
5923 always loaded. Require `speedbar' unconditionally.
5924
5925 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5926
5927 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
5928
5929 * minibuffer.el (minibuffer-force-complete): Fix thinko.
5930
5931 * net/ldap.el (ldap-search-internal): The official ldif format starts
5932 with a "version: 1" header (bug#12724).
5933
5934 * emacs-lisp/package.el (package-installed-p): Warn if not ready
5935 (bug#12721).
5936
5937 2012-10-25 Glenn Morris <rgm@gnu.org>
5938
5939 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
5940
5941 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5942
5943 * minibuffer.el (minibuffer-force-complete): Use one more marker
5944 for the temporary-overlay-map command (bug#12619).
5945
5946 2012-10-24 Chong Yidong <cyd@gnu.org>
5947
5948 * time.el (display-time-world-mode): Derive from special-mode.
5949 (display-time-world): Use display-buffer (Bug#12708).
5950 (display-time-world-mode-map): Variable deleted.
5951 (display-time-world-display): Wrap the final delete-char inside
5952 inhibit-read-only.
5953
5954 2012-10-24 Chong Yidong <cyd@gnu.org>
5955
5956 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
5957 Doc fix.
5958
5959 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
5960
5961 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5962
5963 * minibuffer.el (completion--all-sorted-completions-location): New var.
5964 (completion--cache-all-sorted-completions)
5965 (completion--flush-all-sorted-completions): Use it.
5966 (completion-in-region, completion-in-region--postch)
5967 (completion-at-point, completion-help-at-point): Use markers in
5968 completion-in-region--data (bug#12619).
5969
5970 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5971
5972 * progmodes/compile.el (compilation-start): Try to handle common
5973 quoting of `cd' argument (bug#12640).
5974
5975 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
5976 (bug#12671).
5977
5978 2012-10-23 Glenn Morris <rgm@gnu.org>
5979
5980 * progmodes/gud.el (gud-menu-map):
5981 Check gdb-active-process is bound. (Bug#12358)
5982
5983 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5984
5985 * repeat.el (repeat): Set real-this-command (bug#12232).
5986
5987 * htmlfontify.el (hfy-post-html-hook):
5988 * filesets.el (filesets-cache-fill-content-hook):
5989 * arc-mode.el (archive-extract-hook):
5990 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
5991 * net/rcirc.el (rcirc-sentinel-functions)
5992 (rcirc-receive-message-functions, rcirc-activity-functions)
5993 (rcirc-print-functions):
5994 * net/dbus.el (dbus-event-error-functions):
5995 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
5996 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
5997 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
5998 * term/sun.el (sun-raw-prefix-hooks):
5999 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
6000
6001 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
6002
6003 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
6004 Set `tramp-chunksize' to 1. This improves the performance.
6005 (tramp-smb-wait-for-output): Add timeout to
6006 `tramp-accept-process-output' calls.
6007
6008 2012-10-23 Chong Yidong <cyd@gnu.org>
6009
6010 * faces.el (font-list-limit): Define as an obsolete variable.
6011
6012 * startup.el (command-line):
6013 * cus-start.el: Don't refer to font-list-limit.
6014
6015 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
6016
6017 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
6018
6019 * subr.el (internal-temp-output-buffer-show): Rename from
6020 temp-output-buffer-show, since previously compiled files expect this name.
6021
6022 2012-10-23 Glenn Morris <rgm@gnu.org>
6023
6024 * image.el (image-type-from-file-name): If multiple types match,
6025 return the first one that is supported. (Bug#9045)
6026
6027 2012-10-22 Glenn Morris <rgm@gnu.org>
6028
6029 * image.el (imagemagick-enabled-types): Doc fix.
6030
6031 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
6032
6033 * progmodes/which-func.el (which-func-current): The hash-table may have
6034 an explicit nil (bug#12338).
6035
6036 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
6037
6038 * electric.el (electric-pair-delete-selection-self-insert-function):
6039 Rename to electric-pair-will-use-region, return a boolean.
6040 (electric-pair-mode): Adjust accordingly. Don't require delsel.
6041
6042 * delsel.el (delete-selection-helper): Use a function instead of a hook.
6043 (delete-selection-pre-hook): Use use-region-p.
6044 (delete-selection-self-insert-function): Remove.
6045 (self-insert-command): Obey self-insert-uses-region-functions.
6046 (self-insert-iso): Revert to previous setting, since we don't actually
6047 know what that command does.
6048 (delete-selection-self-insert-hooks): Remove.
6049
6050 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
6051
6052 * delsel.el (delete-selection-helper): New function, extracted from
6053 delete-selection-pre-hook.
6054 (delete-selection-pre-hook): Use it.
6055 (delete-selection-self-insert-function): New function.
6056 (delete-selection-self-insert-hooks): New hook.
6057 (self-insert-command, self-insert-iso): Use it.
6058 * electric.el (electric-pair-syntax): New function, extracted from
6059 electric-pair-post-self-insert-function.
6060 (electric-pair-post-self-insert-function): Use it.
6061 (electric-pair-delete-selection-self-insert-function): New function.
6062 (electric-pair-mode): Require delsel and setup
6063 delete-selection-self-insert-hooks (bug#11520).
6064
6065 2012-10-20 Chong Yidong <cyd@gnu.org>
6066
6067 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
6068 no changes to show (Bug#12586).
6069
6070 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
6071 list explicitly (Bug#12571).
6072
6073 2012-10-20 Arne Jørgensen <arne@arnested.dk>
6074
6075 * progmodes/flymake.el (flymake-create-temp-inplace):
6076 Use file-truename.
6077
6078 2012-10-20 Eli Zaretskii <eliz@gnu.org>
6079
6080 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
6081
6082 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
6083
6084 * calc/calc-units.el (math-extract-units): Properly extract powers
6085 of units.
6086
6087 2012-10-20 Daniel Colascione <dancol@dancol.org>
6088
6089 * frame.el (make-frame): Set x-display-name as we used to in order
6090 to unbreak creating an X11 frame from an Emacs daemon started
6091 without a display.
6092
6093 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
6094
6095 * minibuffer.el (minibuffer-force-complete): Make the next completion use
6096 the same completion-field (bug#12221).
6097
6098 2012-10-19 Martin Rudalics <rudalics@gmx.at>
6099
6100 * emacs-lisp/debug.el (debug): Record height of debugger window
6101 also when debugger will be back (Bug#8789).
6102
6103 2012-10-18 Chong Yidong <cyd@gnu.org>
6104
6105 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
6106 Convert to defcustom.
6107 (gdb-get-source-file): Don't bind pop-up-windows.
6108
6109 * progmodes/gud.el (gud-display-line): Don't specially re-use
6110 other frames for the gdb-mi case (Bug#12648).
6111
6112 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
6113
6114 * emacs-lisp/advice.el: Clean up commentary a bit.
6115 (ad-do-advised-functions, ad-with-originals): Use `declare'.
6116 (byte-code-function-p): Never redefine.
6117
6118 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
6119
6120 2012-10-18 Glenn Morris <rgm@gnu.org>
6121
6122 * dired.el (dired-sort-toggle): Some ls implementations only allow
6123 a single option string. (Bug#12666)
6124
6125 * minibuffer.el (completion-cycle-threshold): Doc fix.
6126
6127 2012-10-17 Kenichi Handa <handa@gnu.org>
6128
6129 * international/mule.el (set-keyboard-coding-system):
6130 Recover input meta mode when the new coding system doesn not use 8-bit.
6131 Supply TERMINAL arg to set-input-meta-mode.
6132
6133 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
6134
6135 * wdired.el (wdired-old-marks): New variable.
6136 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
6137 (wdired-do-renames): Move point with renamed file and don't lose
6138 mark status (Bug#11795).
6139
6140 2012-10-16 Juri Linkov <juri@jurta.org>
6141
6142 * replace.el (query-replace-help): Mention multi-buffer replacement
6143 keys in the Help message. (Bug#12655)
6144
6145 2012-10-15 Chong Yidong <cyd@gnu.org>
6146
6147 * emacs-lisp/byte-run.el (defsubst): Doc fix.
6148
6149 2012-10-14 Eli Zaretskii <eliz@gnu.org>
6150
6151 * window.el (display-buffer): Doc fix.
6152
6153 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6154 Adjust the msft regexp to the output of Studio 2010, and move msft
6155 before edg-1. See the discussion on emacs-devel,
6156 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
6157 for the details.
6158
6159 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
6160
6161 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
6162 (oset): Move uses of object-class-fast macro after its definition.
6163
6164 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
6165
6166 2012-10-13 Chong Yidong <cyd@gnu.org>
6167
6168 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
6169 enabled, re-enable it (Bug#11963).
6170
6171 2012-10-13 Martin Rudalics <rudalics@gmx.at>
6172
6173 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
6174 non-nil, restore window configuration (Bug#12623).
6175
6176 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
6177
6178 * help-fns.el (describe-variable, describe-function-1):
6179 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
6180
6181 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
6182
6183 2012-10-12 Glenn Morris <rgm@gnu.org>
6184
6185 * mail/rmailsum.el (rmail-header-summary):
6186 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
6187
6188 2012-10-12 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
6189
6190 * progmodes/python.el (python-mode-map):
6191 Replace subtitute-key-definition with proper command remapping.
6192 (python-nav--up-list): Fix behavior for blocks on the same level.
6193
6194 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
6195
6196 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
6197
6198 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
6199 changes to the format of load-history.
6200
6201 * international/mule-cmds.el (read-char-by-name): Move let-binding of
6202 completion-ignore-case in case that var is buffer-local (bug#12615).
6203
6204 2012-10-11 Kenichi Handa <handa@gnu.org>
6205
6206 * international/eucjp-ms.el: Re-generated.
6207
6208 2012-10-10 Kenichi Handa <handa@gnu.org>
6209
6210 * select.el (xselect--encode-string): If a coding is specified for
6211 selection, and that is compatible with COMPOUND_TEXT, use it.
6212
6213 2012-10-10 Martin Rudalics <rudalics@gmx.at>
6214
6215 * window.el (switch-to-buffer-preserve-window-point): New option.
6216 (switch-to-buffer):
6217 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
6218
6219 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
6220
6221 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
6222 Don't document nil as a useful value (bug#12583).
6223
6224 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
6225
6226 * net/tramp.el (tramp-debug-message):
6227 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
6228 (with-tramp-progress-reporter): Rename from
6229 `tramp-with-progress-reporter'.
6230 (with-tramp-file-property, with-tramp-connection-property):
6231 Move from tramp-cache.el, rename from `with-file-property' and
6232 `with-connection-property', respectively.
6233
6234 * net/tramp-cache.el: Remove `with-file-property' and
6235 `with-connection-property'.
6236
6237 * net/tramp.el:
6238 * net/tramp-gvfs.el:
6239 * net/tramp-sh.el:
6240 * net/tramp-smb.el: Adapt callees.
6241
6242 * net/trampver.el: Update release number.
6243
6244 2012-10-09 Glenn Morris <rgm@gnu.org>
6245
6246 * w32-fns.el (set-message-beep):
6247 * term/w32-win.el (set-message-beep): Update declarations.
6248
6249 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
6250
6251 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
6252 (mode-line-widen, mode-line-input-method-map)
6253 (mode-line-coding-system-map, mode-line-remote)
6254 (mode-line-unbury-buffer, mode-line-bury-buffer)
6255 (mode-line-next-buffer, mode-line-previous-buffer):
6256 Replace save-selected-window+select-window => with-selected-window.
6257
6258 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
6259 * progmodes/cc-vars.el (bq-process): Remove, unused.
6260
6261 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
6262
6263 2012-10-09 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
6264
6265 Implemented `backward-up-list'-like navigation.
6266 * progmodes/python.el (python-nav-up-list)
6267 (python-nav-backward-up-list): New functions.
6268 (python-mode-map): Define substitute key for backward-up-list to
6269 python-nav-backward-up-list.
6270
6271 2012-10-08 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
6272
6273 * progmodes/python.el (python-fill-paragraph): Rename from
6274 python-fill-paragraph-function. Fixed fill-paragraph for
6275 decorators (Bug#12605).
6276
6277 2012-10-08 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
6278
6279 * progmodes/python.el (python-shell-output-filter): Handle extra
6280 carriage return in OSX (Bug#12409).
6281
6282 2012-10-08 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
6283
6284 Fix shell handling of unbalanced quotes and parens in output.
6285 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
6286 (python-syntax-propertize-function): Use it.
6287 (python-shell-output-syntax-table): New var.
6288 (inferior-python-mode): Prevent unbalanced parens/quotes from
6289 previous output mess with current input context.
6290
6291 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
6292
6293 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
6294 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
6295
6296 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
6297
6298 * ffap.el (ffap-replace-file-component): Support Tramp file name
6299 syntax, not only ange-ftp's one.
6300
6301 2012-10-08 Glenn Morris <rgm@gnu.org>
6302
6303 * cus-start.el (message-log-max): Set :version.
6304
6305 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
6306
6307 2012-10-08 Martin Rudalics <rudalics@gmx.at>
6308
6309 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
6310 the minibuffer window (Bug#10851).
6311
6312 2012-10-08 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
6313
6314 Enhancements on forward-sexp movement.
6315 * progmodes/python.el (python-nav-beginning-of-statement)
6316 (python-nav-end-of-statement): Return point-marker.
6317 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
6318 (python-info-current-symbol)
6319 (python-info-statement-starts-block-p): Rename from
6320 python-info-beginning-of-block-p.
6321 (python-info-statement-ends-block-p): Rename from
6322 python-info-end-of-block-p.
6323 (python-info-beginning-of-statement-p)
6324 (python-info-end-of-statement-p)
6325 (python-info-beginning-of-block-p, python-info-end-of-block-p):
6326 New functions.
6327
6328 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
6329
6330 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
6331 frame-selected-windows.
6332
6333 2012-10-08 Daniel Colascione <dancol@dancol.org>
6334
6335 * battery.el (battery-status-function): Check for
6336 w32-battery-status itself, not system-time windows-nt.
6337
6338 * frame.el: Require cl-lib.
6339 (display-format-alist): New variable mapping frame types to
6340 functions that initialize them.
6341 (window-system-for-display): New function: interprets
6342 display-format-alist.
6343 (make-frame-on-display): Remove existing display-selection logic
6344 and just forward to make-frame, which will now DTRT.
6345 (make-frame): Restructure to use window-system-for-display to
6346 figure out how to create a frame on a given display.
6347 (display-mouse-p): Look for frame-type w32, not a particular
6348 system-type.
6349
6350 * loadup.el: Load w32 lisp code when we have the w32 feature.
6351
6352 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
6353 system-type windows-nt.
6354
6355 * server.el (server-create-window-system-frame): Look for window
6356 type.
6357 (server-proces-filter): Only force a window system when windows-nt
6358 _and_ w32. Explain why.
6359
6360 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
6361 of window systems we configure for the mode.
6362
6363 * startup.el (command-line): Mark window system is initialized
6364 after we've done it.
6365
6366 * common-win.el (x-select-text): Look for w32, not windows-nt.
6367
6368 * ns-win.el: Require cl-lib. Add ourselves to
6369 display-format-alist.
6370 (ns-initialize-window-system): Assert we're not initialized twice.
6371
6372 * w32-win.el: Enable lexical binding; require cl-lib; add
6373 ourselves to display-format-alist.
6374 (w32-handle-dropped-file): Convert incoming dropped files from
6375 Windows paths to Cygwin ones before passing them on to the rest of
6376 Emacs.
6377 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
6378 (w32-initialize-window-system): Assert we're not initialized twice.
6379
6380 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
6381 (x-initialize-window-system): Assert we're not initialized twice.
6382
6383 * w32-common-fns.el: New File.
6384 (w32-version, w32-using-nt, w32-get-clipboard-data)
6385 (w32-set-clipboard-data, x-set-selection, x-get-selection)
6386 (w32-charset-info-alist, x-last-selected, text)
6387 (x-get-selection-value, x-selection-value): Move here.
6388
6389 * w32-fns.el: Require w32-common-fns.
6390 (w32-version, w32-using-nt, w32-get-clipboard-data)
6391 (w32-set-clipboard-data, x-set-selection, x-get-selection)
6392 (w32-charset-info-alist, x-last-selected, text)
6393 (x-get-selection-value, x-selection-value): Move to
6394 w32-common-fns.
6395
6396 * w32-vars.el:
6397 (w32-allow-system-shell, w32-system-shells): Define only in
6398 non-cygwin case.
6399
6400 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6401
6402 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
6403 (read-passwd): Remove a few more potential sources of leaks.
6404
6405 2012-10-07 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
6406
6407 * progmodes/python.el (inferior-python-mode)
6408 (python-shell-make-comint): Fix initialization of local
6409 variables copied from parent buffer.
6410
6411 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
6412
6413 * term/ns-win.el (ns-read-file-name): Update declaration to match
6414 nsfns.m.
6415 (ns-respond-to-change-font): Change fontsize separately so we are sure
6416 it is set when font is acted upon.
6417
6418 2012-10-07 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
6419
6420 Enhancements to indentation.
6421 * progmodes/python.el (python-indent-context): Give priority to
6422 inside-string context. Make comments indentation markers.
6423 (python-indent-region): Do not mess with strings, unless it's the
6424 enclosing set of quotes.
6425
6426 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6427
6428 * window.el (internal--before-save-selected-window)
6429 (internal--after-save-selected-window): New functions extracted from
6430 save-selected-window. Make sure we return the `alist' we construct.
6431 (save-selected-window): Use them.
6432
6433 * textmodes/tex-mode.el (tex-recenter-output-buffer):
6434 Use with-selected-window.
6435
6436 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
6437 forms that define macros (bug#12593).
6438
6439 2012-10-07 Kenichi Handa <handa@gnu.org>
6440
6441 * international/mule-conf.el (compound-text-with-extensions):
6442 Add :mime-charset property as x-ctext.
6443
6444 2012-10-07 Stefan Merten <smerten@oekonux.de>
6445
6446 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
6447 (rst-indent-literal-normal, rst-indent-literal-minimized)
6448 (rst-indent-comment): Correct :version tag.
6449 (rst-official-cvs-rev): Correct version string.
6450
6451 2012-10-07 Glenn Morris <rgm@gnu.org>
6452
6453 * mail/rmailmm.el (rmail-mime-process-multipart):
6454 Do not confuse a multipart message with an epilogue
6455 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
6456
6457 2012-10-07 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
6458
6459 Fix shell output retrieval and comint-prompt-regexp init.
6460 * progmodes/python.el (inferior-python-mode):
6461 (python-shell-make-comint): Fix initialization of
6462 comint-prompt-regexp from copied file local variables.
6463 (python-shell-fetched-lines): Remove var.
6464 (python-shell-output-filter-in-progress): Rename from
6465 python-shell-fetch-lines-in-progress.
6466 (python-shell-output-filter-buffer): Rename from
6467 python-shell-fetch-lines-string.
6468 (python-shell-fetch-lines-filter): Delete function.
6469 (python-shell-output-filter): New function.
6470 (python-shell-send-string-no-output): Use them.
6471
6472 2012-10-07 Glenn Morris <rgm@gnu.org>
6473
6474 * hi-lock.el (hi-lock-process-phrase):
6475 Try to make it less fragile. (Bug#7161)
6476
6477 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
6478
6479 2012-10-06 Glenn Morris <rgm@gnu.org>
6480
6481 * ehelp.el (electric-help-mode): Use help-mode rather than
6482 non-existent mode `help'.
6483 (electric-help-map): Use button-buffer-map. (Bug#10917)
6484
6485 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
6486 (reftex-create-bibtex-footer): Fix custom types.
6487
6488 * progmodes/sh-script.el (sh-indent-after-continuation):
6489 Add explicit :group.
6490
6491 * textmodes/rst.el (rst-preferred-decorations)
6492 (rst-shift-basic-offset): Clarify obsolescence versions.
6493
6494 * profiler.el (profiler): Add missing group :version tag.
6495 * avoid.el (mouse-avoidance-banish-position):
6496 * proced.el (proced-renice-command):
6497 * calc/calc.el (calc-ensure-consistent-units):
6498 * calendar/icalendar.el (icalendar-import-format-uid):
6499 * net/tramp.el (tramp-save-ad-hoc-proxies):
6500 * progmodes/bug-reference.el (bug-reference-bug-regexp):
6501 * progmodes/flymake.el (flymake-error-bitmap)
6502 (flymake-warning-bitmap, flymake-fringe-indicator-position):
6503 * progmodes/sh-script.el (sh-indent-after-continuation):
6504 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
6505 (verilog-before-save-font-hook, verilog-after-save-font-hook):
6506 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
6507 (vhdl-array-index-record-field-in-sensitivity-list)
6508 (vhdl-indent-comment-like-next-code-line):
6509 * textmodes/reftex-vars.el (reftex-ref-style-alist)
6510 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
6511 (reftex-cite-key-separator, reftex-create-bibtex-header)
6512 (reftex-create-bibtex-footer):
6513 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
6514 (rst-indent-literal-normal, rst-indent-literal-minimized)
6515 (rst-indent-comment): Add missing custom :version tags.
6516
6517 * calendar/timeclock.el (timeclock-modeline-display):
6518 Add missing obsolete alias for renamed user option.
6519
6520 * strokes.el (strokes-modeline-string):
6521 * emulation/crisp.el (crisp-mode-modeline-string):
6522 * eshell/esh-mode.el (eshell-status-in-modeline):
6523 Aliases to defcustoms must come before the defcustom.
6524
6525 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
6526 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
6527 (cal-tex-cursor-week-monday): Doc fixes.
6528 (cal-tex-cursor-week2-summary): Doc fix.
6529 Rename from cal-tex-cursor-week-at-a-glance.
6530
6531 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
6532 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
6533
6534 * calendar/calendar.el (calendar-mode-map):
6535 Add cal-tex-cursor-week2-summary.
6536
6537 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
6538
6539 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
6540
6541 * subr.el (read-passwd-map): New var.
6542 (read-passwd): Use `read-string' again.
6543 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
6544
6545 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
6546
6547 * register.el (append-to-register, prepend-to-register):
6548 Deactivate mark, as does `copy-to-register' (bug#12389).
6549
6550 2012-10-06 Chong Yidong <cyd@gnu.org>
6551
6552 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
6553
6554 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
6555
6556 * international/characters.el: Fix simple mistake ((car chars) ->
6557 elt), delete duplicated code.
6558
6559 2012-10-06 Glenn Morris <rgm@gnu.org>
6560
6561 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
6562
6563 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
6564
6565 * color.el (color-hsl-to-rgb): Fix incorrect results for
6566 small and large hue values. (Bug#12559)
6567
6568 2012-10-05 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
6569
6570 Enhancements to docstring formatting when filling paragraphs.
6571 * progmodes/python.el (python-fill-docstring-style): Rename from
6572 python-fill-string-style. Added new style.
6573 (python-fill-string): Use new style. Better checks for
6574 docstrings.
6575
6576 2012-10-05 Glenn Morris <rgm@gnu.org>
6577
6578 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
6579
6580 * color.el (color-name-to-rgb, color-rgb-to-hex)
6581 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
6582 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
6583 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
6584 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
6585
6586 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
6587
6588 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
6589
6590 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
6591 to get the correct size across symlinks.
6592
6593 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
6594
6595 2012-10-04 Juri Linkov <juri@jurta.org>
6596
6597 * replace.el (query-replace-interactive): Declare obsolete.
6598 (query-replace-read-from): Add the last incremental search string
6599 to the list of default values accessible via M-n.
6600 (map-query-replace-regexp): Use `read-regexp'.
6601 (query-replace, query-replace-regexp, query-replace-regexp-eval)
6602 (map-query-replace-regexp, replace-string, replace-regexp):
6603 Fix docstrings to replace mentions of `query-replace-interactive'
6604 with alternatives. (Bug#12526)
6605
6606 2012-10-04 Juri Linkov <juri@jurta.org>
6607
6608 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
6609 (dired-pop-to-buffer): Declare obsolete.
6610 (dired-mark-pop-up): Doc fix.
6611
6612 2012-10-04 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
6613
6614 Allow user to set docstring style for fill-paragraph.
6615 * progmodes/python.el
6616 (python-fill-comment-function, python-fill-string-function)
6617 (python-fill-decorator-function, python-fill-paren-function):
6618 Remove :safe for defcustoms.
6619 (python-fill-string-style): New defcustom
6620 (python-fill-paragraph-function): Enhance context detection.
6621 (python-fill-string): Honor python-fill-string-style settings.
6622
6623 2012-10-04 Martin Rudalics <rudalics@gmx.at>
6624
6625 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
6626 after setting its buffer (Bug#10805).
6627
6628 2012-10-03 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
6629
6630 Fix cornercase for string syntax.
6631 * progmodes/python.el (python-syntax-propertize-function):
6632 Simplify and enhance the regexp for unescaped quotes. Now it also
6633 matches quotes in weird situations like the single quote in
6634 "something\"'".
6635 (python-syntax-stringify): Simplify num-quotes detecting code.
6636
6637 2012-10-03 Glenn Morris <rgm@gnu.org>
6638
6639 * help-macro.el (three-step-help):
6640 Revert 2012-09-29 change. (Bug#12567)
6641
6642 2012-10-03 Martin Rudalics <rudalics@gmx.at>
6643
6644 * menu-bar.el (kill-this-buffer): Don't do anything when
6645 `menu-frame' is not alive or visible (Bug#8184).
6646
6647 * emacs-lisp/debug.el (debug): When quitting the debugger window
6648 restore current buffer (Bug#12502).
6649
6650 2012-10-02 Chong Yidong <cyd@gnu.org>
6651
6652 * progmodes/hideif.el (hif-lookup, hif-defined):
6653 Handle semantic-c-takeover-hideif.
6654
6655 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
6656
6657 Change sampling interval units from ms to ns.
6658 * profiler.el (profiler-sampling-interval): Change units
6659 from ms to ns, multiplying the default by 1000000 so that
6660 it remains 1 ms.
6661 (profiler-report-cpu-line-format): Give enough room for
6662 the maximum counters on 64-bit hosts.
6663 (profiler-report-render-calltree-1): Call them "CPU samples",
6664 not "Time (ms)", since they are not milliseconds now (and
6665 never really were).
6666
6667 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
6668
6669 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
6670 Fix querying BBDB for entries without a last name (Bug#11580).
6671
6672 2012-10-02 Chong Yidong <cyd@gnu.org>
6673
6674 * emacs-lisp/eieio.el: Restore Version header.
6675
6676 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
6677
6678 * vc/diff-mode.el (diff--auto-refine-data): New var.
6679 (diff-hunk): Use it to delay refinement.
6680 (diff-mode): Remove overlays when we turn off font-lock.
6681
6682 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
6683 (table-initialize-table-fixed-width-mode)
6684 (table-set-table-fixed-width-mode): Remove functions.
6685 (table-command-list): Move initialization into declaration.
6686 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
6687 (table-with-cache-buffer): Use `declare'.
6688 (table-span-cell): Simplify via CSE.
6689 (table-fixed-width-mode): Use define-minor-mode.
6690 (table-call-interactively, table-funcall, table-apply): Remove.
6691 (table-function): New function, to replace them.
6692
6693 * bookmark.el (bookmark-search-pattern): Remove var.
6694 (bookmark-read-search-input): Remove function.
6695 (bookmark-bmenu-search): Reimplement using a minibuffer.
6696
6697 * faces.el (modeline): Remove obsolete face name.
6698
6699 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
6700 and give a non-nil default value.
6701 (add-change-log-entry): Simplify accordingly.
6702
6703 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
6704
6705 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
6706 (vc-git-log-edit-toggle-amend): New function.
6707 (vc-git-log-edit-toggle-signoff): New function.
6708 (vc-git-log-edit-mode): New major mode.
6709 (vc-git-log-edit-mode-map): Keymap for it.
6710 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
6711
6712 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
6713 header names.
6714 (log-edit-toggle-header): New function.
6715 (log-edit-extract-headers): Accept function values in HEADERS alist.
6716
6717 2012-10-01 David Engster <deng@randomsample.de>
6718
6719 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
6720 from symbol property and change message to be more consistent with
6721 Emacs proper.
6722 (eieio-describe-generic): Add filename for each implementation.
6723 Fix indices for generic and normal methods.
6724 (eieio-method-def, eieio-class-def): New buttons.
6725 (eieio-help-find-method-definition)
6726 (eieio-help-find-class-definition): New functions.
6727 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
6728 class, constructor and method definitions.
6729
6730 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
6731 information in symbol property.
6732 (scoped-class): Remove.
6733 (eieio-slot-name-index, call-next-method): Check if it is bound.
6734
6735 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
6736
6737 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
6738 (eieio-custom-mode): New major mode.
6739 (eieio-customize-object): Use it.
6740
6741 2012-10-01 Eric Ludlam <zappo@gnu.org>
6742
6743 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
6744 specifying the expected class, and whether subclassing is allowed.
6745 (eieio-persistent-convert-list-to-object):
6746 (eieio-persistent-validate/fix-slot-value)
6747 (eieio-persistent-slot-type-is-class-p): New functions.
6748 (eieio-named::slot-missing): Doc fix.
6749
6750 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
6751 Stop using unused publd variable.
6752
6753 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
6754 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
6755 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
6756 (eieio-speedbar-handle-click): Do not specify a class for the
6757 method. Fixes method invocation order problems with EDE.
6758
6759 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
6760
6761 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
6762 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
6763
6764 2012-10-01 Karl Fogel <kfogel@red-bean.com>
6765
6766 * bookmark.el (bookmark-version-control): Give tags in the
6767 :type choices (Bug#12309), and improve doc string.
6768 (bookmark-write-file): Bind `print-circle' to `t' to allow
6769 circular custom bookmark types. (Bug#12503)
6770
6771 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
6772
6773 Revert the FOLLOW-SYMLINKS change for file-attributes.
6774 * files.el (remote-file-name-inhibit-cache, after-find-file):
6775 * time.el (display-time-file-nonempty-p): Undo last change.
6776
6777 * profiler.el (profiler-sampling-interval): Change default back to 1.
6778 See Stefan Monnier in
6779 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
6780
6781 2012-10-01 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
6782
6783 Shell output catching a la gud-gdb.
6784 * progmodes/python.el (python-shell-fetch-lines-in-progress)
6785 (python-shell-fetch-lines-string, python-shell-fetched-lines):
6786 New Vars.
6787 (python-shell-fetch-lines-filter): New function.
6788 (python-shell-send-string-no-output): Use them.
6789
6790 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
6791
6792 * profiler.el (profiler-sampling-interval): Rename from
6793 profiler-sample-interval.
6794 (profiler-sampling-interval): Default to 10.
6795 (profiler-find-profile): New command (was profiler-find-log).
6796 (profiler-find-profile-other-window): New command.
6797 (profiler-find-profile-other-frame): New command.
6798 (profiler-profile): Introduce API-level data structure.
6799
6800 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
6801
6802 file-attributes has a new optional arg FOLLOW-SYMLINKS.
6803 * files.el (remote-file-name-inhibit-cache):
6804 * time.el (display-time-file-nonempty-p): Use it.
6805 * files.el (after-find-file): Don't chase links before calling
6806 file-exists-p, as file-exists-p already does the right thing.
6807
6808 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
6809
6810 Merge from standalone RefTeX repository.
6811
6812 The following ChangeLog entries are shortened versions of the
6813 original ones with file paths adapted. A not so strongly edited
6814 version of the original ChangeLog can be found in the commit log.
6815
6816 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
6817 (reftex-arg-cite): Use `reftex-cite-key-separator'.
6818 Correctly handle new value type returned by `reftex-citation'.
6819
6820 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
6821 that entries with whitespace at various places are found.
6822 Doc fix. Include entries that are cross-referenced from cited entries.
6823 Include @String definitions in the resulting bib file. Add header
6824 and footer defined in `reftex-create-bibtex-header' and
6825 `reftex-create-bibtex-footer'.
6826 (reftex-do-citation): Make it possible again to insert
6827 non-existent entries. Save match data when asking for optional
6828 arguments. Return all keys, not just the first one.
6829 (reftex-all-used-citation-keys): Fix regexp to correctly extract
6830 all citations in the same line.
6831 (reftex-parse-bibtex-entry): Accept additional optional argument
6832 `raw' and keep quotes or braces if it is non-nil. Match fields
6833 containing hyphens besides word constituents.
6834 (reftex-get-string-refs): New function.
6835 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
6836 and ask if it should be reread in case it did.
6837 (reftex-pop-to-bibtex-entry)
6838 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
6839 entries with spaces or tabs in front of arguments.
6840 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
6841 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
6842 Match entries containing numbers and symbol constituents.
6843 (reftex-do-citation, reftex-figure-out-cite-format):
6844 Use `reftex-cite-key-separator'.
6845
6846 * textmodes/reftex-dcr.el: Move provide statement to end of file.
6847 (reftex-mouse-view-crossref): Explain why point is set.
6848
6849 * textmodes/reftex-global.el: Whitespace changes.
6850
6851 * textmodes/reftex-index.el: Move provide statement to end of
6852 file.
6853 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
6854 (reftex-index-visit-phrases-buffer): Set marker when visiting
6855 buffer. This allows for returning from the phrases file to the
6856 file one was just editing instead of the file where the last
6857 phrases was added from.
6858 (reftex-index-phrases-syntax-table): New variable. Give ?\"
6859 punctuation syntax as it usually is not used as string quote in
6860 TeX-related modes and may occur unmatched. The change also
6861 prevents fontification of quoted content.
6862 (reftex-index-phrases-mode): Use it.
6863
6864 * textmodes/reftex-parse.el (reftex-parse-from-file):
6865 Move backward one char if a `\' was matched after a section macro.
6866 (reftex-parse-from-file): Use beginning of match instead of end as
6867 bound.
6868
6869 * textmodes/reftex-ref.el: Adapt creation of
6870 `reftex-<package>-<macro>' functions to new structure of
6871 `reftex-ref-style-alist'.
6872 (reftex-reference): Use `reftex-ref-style-list' function.
6873 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
6874 reference macro if `reftex-ref-macro-prompt' is non-nil.
6875 (reftex-reference): Pass refstyle to `reftex-format-special'.
6876 Determine reference macro by looking at
6877 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
6878 Use only one special format function.
6879 (reftex-varioref-vref, reftex-fancyref-fref)
6880 (reftex-fancyref-Fref): Remove definitions. The functions are now
6881 generated from `reftex-ref-style-alist'.
6882 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
6883 Remove.
6884 (reftex-format-special): New function.
6885
6886 * textmodes/reftex-sel.el
6887 (reftex-select-cycle-ref-style-internal): Adapt to new structure
6888 of `reftex-ref-style-alist'. Remove code for testing macro type.
6889 (reftex-select-toggle-varioref)
6890 (reftex-select-toggle-fancyref): Remove.
6891 (reftex-select-cycle-ref-style-internal)
6892 (reftex-select-cycle-ref-style-forward)
6893 (reftex-select-cycle-ref-style-backward): New functions.
6894 (reftex-select-label-map): Use `v' and `V' for general cycling
6895 through reference styles. Add `p' for switching between number
6896 and page reference types.
6897
6898 * textmodes/reftex-toc.el (reftex-re-enlarge):
6899 Call `enlarge-window' only if there is something to do because in Emacs
6900 the horizontal version throws an error even if the parameter is 0.
6901
6902 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
6903 (reftex-plug-into-AUCTeX): Doc fix.
6904 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
6905 string. Adapt to new name.
6906 (reftex-ref-style-alist): Change structure so that it is not
6907 possible to use multiple different package names within a style.
6908 Remove the symbols for symbols for macro type distinction.
6909 Add characters for macro selection.
6910 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
6911 (reftex-create-bibtex-footer): New variables.
6912 (reftex-format-ref-function): Mention third argument of special
6913 format function.
6914 (reftex-ref-style-alist, reftex-ref-style-default-list):
6915 New variables.
6916 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
6917 to new implementation. Mark as obsolete. Add compatibility code
6918 for honoring the variable values in case they are set.
6919 (reftex-cite-format-builtin, reftex-bibliography-commands):
6920 Add support for ConTeXt.
6921 (reftex-format-ref-function, reftex-format-cite-function):
6922 Fix custom type.
6923 (reftex-cite-key-separator): New variable.
6924
6925 * textmodes/reftex.el (reftex-syntax-table-for-bib)
6926 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
6927 `reftex-syntax-table' because parens have to retain their paren
6928 syntax in order for parsing of BibTeX entries like @book(...) to
6929 work.
6930 (reftex-in-comment): Do not error out if `comment-start-skip' is
6931 not set. Deal correctly with escaped comment characters.
6932 (reftex-tie-multifile-symbols): Add doc string.
6933 Initialize `reftex-ref-style-list'.
6934 (reftex-untie-multifile-symbols): Add doc string.
6935 (reftex-add-index-macros): Doc fix.
6936 (reftex-ref-style-activate, reftex-ref-style-toggle)
6937 (reftex-ref-style-list): New functions.
6938 (reftex-mode-menu): Use them. Adapt to new structure of
6939 `reftex-ref-style-alist'.
6940 (reftex-select-with-char): Kill the RefTeX Select buffer when
6941 done.
6942 (reftex-remove-if): New function.
6943 (reftex-erase-all-selection-and-index-buffers)
6944 (reftex-mode-menu): Reference styles are now computed from
6945 `reftex-ref-style-alist'. Fix typo.
6946 (reftex-report-bug): New function.
6947 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
6948 algorithms with O(n log n). Introduce optional argument SORT (not
6949 yet used).
6950
6951 2012-09-30 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
6952
6953 Enhancements for triple-quote string syntax.
6954 * progmodes/python.el (python-syntax-propertize-function):
6955 Match both quote cases in one regexp.
6956 (python-syntax-stringify): Handle matches properly.
6957
6958 2012-09-30 Juri Linkov <juri@jurta.org>
6959
6960 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
6961 to nil around the call to `insert' to prevent
6962 directory time modification by lock_file. (Bug#2295)
6963 * tar-mode.el (tar-summarize-buffer): Idem.
6964
6965 2012-09-30 Juri Linkov <juri@jurta.org>
6966
6967 * facemenu.el (list-colors-sort): Add option "Luminance".
6968 (list-colors-sort-key): Implement it.
6969
6970 * vc/diff-mode.el (diff-refine-removed):
6971 * vc/ediff-init.el (ediff-fine-diff-A):
6972 * vc/smerge-mode.el (smerge-refined-removed):
6973 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
6974
6975 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
6976
6977 * term/ns-win.el (x-file-dialog): New function.
6978
6979 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
6980
6981 * ido.el (ido-max-directory-size): Default to nil; the current
6982 default is small for POSIX systems, and impractical on Windows 7
6983 now that lstat returns directory sizes for NTFS.
6984
6985 2012-09-30 Martin Rudalics <rudalics@gmx.at>
6986
6987 In buffer display functions handle window-height/window-width
6988 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
6989 * window.el (window--display-buffer): New argument ALIST.
6990 Obey window-height and window-width alist entries.
6991 (window--try-to-split-window): New argument ALIST.
6992 Bind window-combination-limit to t when the window's size shall be
6993 changed and window-combination-limit equals `window-size'.
6994 (display-buffer-in-atom-window)
6995 (display-buffer-in-major-side-window)
6996 (display-buffer-in-side-window, display-buffer-same-window)
6997 (display-buffer-reuse-window, display-buffer-pop-up-frame)
6998 (display-buffer-pop-up-window, display-buffer-below-selected)
6999 (display-buffer-at-bottom, display-buffer-in-previous-window)
7000 (display-buffer-use-some-window): Adjust all callers of
7001 window--display-buffer and window--try-to-split-window.
7002 (fit-frame-to-buffer): New option.
7003 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
7004 is non-nil.
7005 (display-buffer-in-major-side-window): Evaluate window-height /
7006 window-width alist entries.
7007
7008 * help.el (temp-buffer-resize-frames)
7009 (temp-buffer-resize-regexps): Remove options.
7010 (temp-buffer-resize-mode): Adjust doc-string.
7011 (resize-temp-buffer-window): Don't consult
7012 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
7013 temp-buffer-resize-frames.
7014
7015 * dired.el (dired-mark-pop-up):
7016 Call display-buffer-below-selected with a fit-window-to-buffer alist
7017 entry.
7018
7019 2012-09-30 Chong Yidong <cyd@gnu.org>
7020
7021 * server.el (server-host): Document the security implications.
7022 (server-auth-key): Doc fix.
7023
7024 * startup.el (initial-buffer-choice): Doc fix.
7025
7026 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
7027
7028 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
7029 restriction change.
7030
7031 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
7032
7033 * help-fns.el (help-fns--obsolete): Fix last change.
7034
7035 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
7036
7037 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
7038 (minor-mode-map-alist): Remove redundant code.
7039
7040 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
7041 visited in a buffer.
7042 (cvs-insert-visited-file): New function.
7043 (find-file-hook): Use it.
7044
7045 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
7046
7047 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
7048 chose face.
7049 (log-edit-empty-buffer-p): Don't require a space after a header.
7050
7051 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
7052
7053 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
7054
7055 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
7056 a proper minor-mode.
7057
7058 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
7059
7060 2012-09-29 Glenn Morris <rgm@gnu.org>
7061
7062 * winner.el (winner-mode): Remove variable (let define-minor-mode
7063 handle it).
7064 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
7065 Doc fixes.
7066 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
7067 (winner-mode): Use define-minor-mode.
7068
7069 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
7070 the full definition in loaddefs, rather than duplicating it.
7071
7072 * help-macro.el (three-step-help): No need to autoload defcustom.
7073
7074 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
7075 (inferior-lisp-program, inferior-lisp-load-command)
7076 (inferior-lisp-prompt, inferior-lisp-mode-hook):
7077 No need to autoload defcustoms.
7078
7079 * hippie-exp.el (hippie-expand-try-functions-list)
7080 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
7081 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
7082 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
7083 (hippie-expand-only-buffers): No need to autoload defcustoms.
7084 * progmodes/vhdl-mode.el (vhdl-line-expand):
7085 Explicitly load hippie-exp, so it does not get autoloaded
7086 while hippie-expand-try-functions-list is let-bound.
7087
7088 2012-09-28 Glenn Morris <rgm@gnu.org>
7089
7090 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
7091
7092 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
7093 Only "cl.el" counts as cl these days.
7094
7095 2012-09-28 Juri Linkov <juri@jurta.org>
7096
7097 Display archive errors in the echo area instead of inserting
7098 to the file buffer.
7099
7100 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
7101 to STDERR-TEST that can be a regexp matching a successful output.
7102 Create a temporary file and redirect stderr to it. Search for
7103 STDERR-TEST in the stderr output and display it in the echo area
7104 if no match is found.
7105 (archive-extract-by-file): New function like
7106 `archive-extract-by-stdout' but extracting archives to files
7107 and looking for successful matches in stdout. Function body is
7108 mostly copied from `archive-rar-extract'.
7109 (archive-rar-extract): Use `archive-extract-by-file'.
7110 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
7111
7112 2012-09-28 Leo Liu <sdl.web@gmail.com>
7113
7114 * pcomplete.el (pcomplete-show-completions):
7115 Use minibuffer-message to make pcomplete usable in minibuffer.
7116
7117 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
7118
7119 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
7120
7121 * type-break.el: Use lexical-binding.
7122 (type-break-mode): Use define-minor-mode.
7123
7124 * emacs-lisp/pcase.el (pcase--mark-used): New.
7125 (pcase--u1): Use it (bug#12512).
7126
7127 * custom.el (load-theme): Set buffer-file-name so the load is recorded
7128 in load-history with the right file name.
7129
7130 2012-09-28 Tassilo Horn <tsdh@gnu.org>
7131
7132 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
7133 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
7134 (doc-view-get-bounding-box): Make bounding box slicing work for
7135 ODF and DVI documents.
7136
7137 2012-09-28 Glenn Morris <rgm@gnu.org>
7138
7139 * type-break.el (type-break-mode, type-break-interval)
7140 (type-break-good-rest-interval, type-break-keystroke-threshold):
7141 No need to autoload.
7142 (type-break-good-rest-interval, type-break-keystroke-threshold):
7143 Add :set-after.
7144
7145 2012-09-28 Chong Yidong <cyd@gnu.org>
7146
7147 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
7148 Add :version tag.
7149
7150 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
7151
7152 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
7153
7154 2012-09-27 Glenn Morris <rgm@gnu.org>
7155
7156 * faces.el (x-display-name): Declare (for without-x builds).
7157
7158 * linum.el (linum-format): Don't autoload it. Improve :type.
7159
7160 * progmodes/tcl.el: Don't require outline when compiling.
7161 (outline-regexp, outline-level): Declare.
7162 * textmodes/sgml-mode.el: Don't require outline when compiling.
7163 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
7164
7165 * term.el (term-ansi-reset):
7166 Try setting term-ansi-face-already-done to nil. (Bug#11785)
7167
7168 * vc/vc.el (vc-next-action): Only gripe about committing read-only
7169 files for RCS and SCCS. (Bug#9781)
7170
7171 2012-09-27 Chong Yidong <cyd@gnu.org>
7172
7173 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
7174 change; value should be t.
7175
7176 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
7177
7178 * image-mode.el: Use lexical-binding.
7179 (image-mode-winprops): Use t to stand for the window of
7180 a buffer that's not displayed.
7181 * doc-view.el (doc-view-new-window-function): Handle the new
7182 t in winprops.
7183 (doc-view-enlarge): Make it a real nop if the size is not changed.
7184 (doc-view-display): Handle the case where the buffer is not (yet?)
7185 displayed in any window.
7186 (doc-view-saved-settings): New var.
7187 (doc-view-mode): Use it.
7188 (doc-view-fallback-mode): Set it.
7189
7190 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
7191 Set lexical-binding.
7192 (minibuffer-eldef-shorten-default): New var.
7193 (minibuffer-default-in-prompt-regexps): Use it for new default.
7194 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
7195
7196 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
7197
7198 * international/uni-bidi.el:
7199 * international/uni-category.el:
7200 * international/uni-name.el:
7201 * international/uni-numeric.el: Regenerate.
7202
7203 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
7204 Stefan Monnier <monnier@iro.umontreal.ca>
7205
7206 * profiler.el: New file.
7207
7208 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
7209
7210 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
7211 (testcover-reinstrument): Simplify with CSE.
7212
7213 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
7214
7215 * window.el (temp-buffer-window-setup): Fix typo in docstring.
7216
7217 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
7218
7219 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
7220 (verilog-auto-input, verilog-auto-insert-lisp)
7221 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
7222 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
7223 (verilog-auto-unused, verilog-auto-wire)
7224 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
7225 newline. Reported by Andrew Jones.
7226 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
7227 Reported by Brad Dobbie.
7228 (verilog-batch-delete-trailing-whitespace):
7229 Create verilog-batch-delete-trailing-whitespace.
7230 Reported by Brad Dobbie.
7231 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
7232 parameters from another module. Reported by Dan Katz.
7233 (verilog-auto, verilog-auto-assign-modport)
7234 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
7235 AUTOINOUTMODPORT for UVM interface module shell generation.
7236 Reported by Brad Dobbie.
7237 (verilog-auto-inst-interfaced-ports): Make default nil, as more
7238 standard behavior.
7239 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
7240 Reported by Matt Martin.
7241
7242 2012-09-25 Martin Rudalics <rudalics@gmx.at>
7243
7244 * window.el (window--resize-child-windows): When resizing child
7245 windows proportionally, process them in reverse order to
7246 preserve the "when splitting a window the new one gets the odd
7247 line" behavior.
7248 (window--resize-root-window-vertically): When resizing the
7249 minibuffer window try to affect only windows at the bottom of the
7250 frame. (Bug#12419)
7251
7252 2012-09-25 Chong Yidong <cyd@gnu.org>
7253
7254 * subr.el (declare): Doc fix.
7255
7256 * help-fns.el (help-fns--obsolete): Handle macros properly.
7257
7258 2012-09-25 Chong Yidong <cyd@gnu.org>
7259
7260 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
7261 this function obsolete.
7262
7263 * calendar/cal-x.el (calendar-two-frame-setup)
7264 (calendar-only-one-frame-setup, calendar-one-frame-setup):
7265 * calendar/calendar.el (american-calendar, european-calendar)
7266 (calendar-for-loop):
7267 * comint.el (comint-dynamic-simple-complete)
7268 (comint-dynamic-complete-as-filename, comint-unquote-filename):
7269 * desktop.el (desktop-load-default):
7270 * dired-x.el (dired-omit-here-always)
7271 (dired-hack-local-variables, dired-default-directory):
7272 * emacs-lisp/derived.el (derived-mode-class):
7273 * emacs-lisp/timer.el (timer-set-time-with-usecs):
7274 * emacs-lock.el (toggle-emacs-lock):
7275 * epa.el (epa-display-verify-result):
7276 * epg.el (epg-sign-keys, epg-start-sign-keys)
7277 (epg-passphrase-callback-function):
7278 * eshell/esh-util.el (eshell-for):
7279 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
7280 (eshell-add-to-window-buffer-names):
7281 * files.el (locate-file-completion):
7282 * imenu.el (imenu-example--create-c-index)
7283 (imenu-example--create-lisp-index)
7284 (imenu-example--lisp-extract-index-name)
7285 (imenu-example--name-and-position):
7286 * international/mule-cmds.el (princ-list):
7287 * international/mule-diag.el (decode-codepage-char):
7288 * international/mule-util.el (detect-coding-with-priority):
7289 * iswitchb.el (iswitchb-read-buffer):
7290 * mail/mailalias.el (mail-complete):
7291 * mail/sendmail.el (mail-sent-via):
7292 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
7293 (mouse-major-mode-menu):
7294 * password-cache.el (password-read-and-add):
7295 * pcomplete.el (pcomplete-parse-comint-arguments):
7296 * progmodes/sh-script.el (sh-maybe-here-document):
7297 * replace.el (query-replace-regexp-eval):
7298 * savehist.el (savehist-load):
7299 * simple.el (choose-completion-delete-max-match):
7300 * term.el (term-dynamic-simple-complete):
7301 * vc/ediff-init.el (ediff-check-version):
7302 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
7303 * vc/vc.el (vc-diff-switches-list):
7304 * view.el (view-return-to-alist-update): Likewise.
7305
7306 * subr.el (eval-next-after-load, makehash, insert-string)
7307 (assoc-ignore-representation, assoc-ignore-case): Use declare to
7308 mark obsolete.
7309 (mode-line-inverse-video): Variable deleted.
7310
7311 * international/mule-util.el (string-to-sequence): Remove.
7312
7313 * calendar/calendar.el (calendar-version):
7314 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
7315 (icalendar-convert-diary-to-ical):
7316 * cus-edit.el (custom-mode):
7317 * ansi-color.el (ansi-color-unfontify-region):
7318 * international/latin1-disp.el (latin1-char-displayable-p):
7319 * progmodes/cwarn.el (turn-on-cwarn-mode):
7320 * progmodes/which-func.el (which-func-update-1):
7321 Use define-obsolete-function-alias.
7322
7323 * net/newst-backend.el (newsticker-cache-filename):
7324 * net/newst-treeview.el (newsticker-groups-filename):
7325 Fix incorrect obsolescence declaration.
7326
7327 * allout.el (allout-passphrase-hint-string): Likewise.
7328 (allout-init): Use a declare form to mark obsolete.
7329
7330 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
7331 this applies to functions.
7332
7333 * iswitchb.el (iswitchb-read-buffer): Move code of
7334 iswitchb-define-mode-map here, and delete that obsolete function.
7335
7336 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
7337 font-lock-reference-face.
7338
7339 2012-09-25 Glenn Morris <rgm@gnu.org>
7340
7341 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
7342 Doc fixes.
7343
7344 * eshell/em-term.el (eshell-term-name):
7345 Default to term-term-name. (Bug#12485)
7346
7347 2012-09-24 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7348
7349 * progmodes/python.el (python-shell-send-buffer): Better handling
7350 of "if __name__ == '__main__':" conditionals when sending the buffer.
7351
7352 2012-09-24 Glenn Morris <rgm@gnu.org>
7353
7354 * eshell/esh-cmd.el (eshell-find-alias-function):
7355 Tighten up file-name regexp. (Bug#12499)
7356
7357 2012-09-24 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7358
7359 Enhancements for triple-quote string syntax.
7360 * progmodes/python.el (python-quote-syntax): Remove.
7361 (python-syntax-propertize-function): New value.
7362 (python-syntax-count-quotes, python-syntax-stringify):
7363 New functions.
7364
7365 2012-09-24 Chong Yidong <cyd@gnu.org>
7366
7367 * mail/supercite.el (sc-version): Remove obsolete function.
7368 (sc-describe): Don't mark as obsolete, since it is bound.
7369 (sc-submit-bug-report): Remove.
7370
7371 * vc/log-edit.el (cvs-changelog-full-paragraphs)
7372 (cvs-commit-buffer-require-final-newline): Remove.
7373 (log-edit-require-final-newline)
7374 (log-edit-changelog-full-paragraphs): Default to t.
7375
7376 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
7377 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
7378 * vc/vc.el (vc-checkout-carefully): Likewise.
7379
7380 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
7381 (emerge-version): Remove.
7382
7383 * progmodes/compile.el (compile-internal): Remove.
7384 (compilation-parse-errors-function): Fix typo.
7385
7386 * international/mule.el (set-char-table-default): Remove.
7387 (set-coding-priority, make-coding-system, generic-char-p)
7388 (charset-list, charset-bytes, charset-id): Use declare to mark
7389 functions as obsolete.
7390
7391 * vc/pcvs-defs.el (cvs-buffer-name-alist)
7392 (cvs-invert-ignore-marks): Remove references to obsolete vars.
7393 * vc/vc-hooks.el (vc-default-registered): Don't use
7394 vc-master-templates.
7395
7396 * font-lock.el (font-lock-reference-face):
7397 Use define-obsolete-variable-alias.
7398
7399 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
7400 * calendar/calendar.el (calendar-font-lock-keywords):
7401 * calendar/diary-lib.el (diary-font-lock-keywords)
7402 (diary-fancy-font-lock-keywords):
7403 * textmodes/reftex-sel.el (reftex-insert-docstruct):
7404 * textmodes/reftex-index.el (reftex-insert-index):
7405 * textmodes/reftex-cite.el (reftex-format-bib-entry):
7406 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7407 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
7408 * progmodes/prolog.el (prolog-font-lock-keywords):
7409 * progmodes/idlwave.el (idlwave-idl-keywords):
7410 * progmodes/ada-mode.el (ada-font-lock-keywords):
7411 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
7412
7413 2012-09-24 Glenn Morris <rgm@gnu.org>
7414
7415 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
7416
7417 2012-09-23 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7418
7419 * progmodes/python.el (python-indent-line): More consistent cursor
7420 movement behavior.
7421
7422 2012-09-23 Stefan Merten <smerten@oekonux.de>
7423
7424 * textmodes/rst.el: Fix compiler warning.
7425
7426 2012-09-23 Roland Winkler <winkler@gnu.org>
7427
7428 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
7429 Transcribe also LaTeX hyphenation.
7430 (bibtex-reformat): Bug fix. Do not quote twice the elements of
7431 bibtex-reformat-previous-options.
7432
7433 2012-09-23 Roland Winkler <winkler@gnu.org>
7434
7435 * proced.el (proced-renice-command): New variable.
7436 (proced-marked-processes): New function.
7437 (proced-with-processes-buffer): New macro.
7438 (proced-send-signal): Use them.
7439 (proced-renice): New command bound to r.
7440
7441 2012-09-23 Roland Winkler <winkler@gnu.org>
7442
7443 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
7444 ibuffer-saved-filter-groups has one element, shortcut the call of
7445 completing-read. (Bug#12331)
7446
7447 2012-09-23 Chong Yidong <cyd@gnu.org>
7448
7449 * bindings.el (mode-line-toggle-read-only):
7450 * bs.el (bs-toggle-readonly):
7451 * buff-menu.el (Buffer-menu-toggle-read-only):
7452 * dired.el (dired-toggle-read-only):
7453 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
7454
7455 2012-09-23 Chong Yidong <cyd@gnu.org>
7456
7457 * image.el (image-type-available-p): Adapt to init-image-library
7458 argument changes.
7459
7460 2012-09-22 Juri Linkov <juri@jurta.org>
7461
7462 * dired.el (dired-mode-map): Add [remap read-only-mode] for
7463 `dired-toggle-read-only'. (Bug#12462)
7464
7465 2012-09-22 Martin Rudalics <rudalics@gmx.at>
7466
7467 * subr.el (temp-output-buffer-show): New function.
7468 (with-output-to-temp-buffer): Call temp-output-buffer-show
7469 instead of internal-temp-output-buffer-show.
7470
7471 2012-09-22 Chong Yidong <cyd@gnu.org>
7472
7473 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
7474 (Bug#12462).
7475
7476 * repeat.el (repeat): Doc fix (Bug#12348).
7477
7478 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
7479 (Bug#10909).
7480
7481 * simple.el (shell-command-on-region): Doc fix.
7482 (read-only-mode): Doc fix.
7483
7484 2012-09-22 Eli Zaretskii <eliz@gnu.org>
7485
7486 * emacs-lisp/timer.el (run-with-idle-timer)
7487 (timer-activate-when-idle): Warn against reinvoking an idle timer
7488 from within its own timer action. (Bug#12447)
7489
7490 2012-09-22 Martin Rudalics <rudalics@gmx.at>
7491
7492 * cus-start.el (window-combination-limit): Add new optional
7493 values.
7494 * window.el (temp-buffer-window-show)
7495 (window--try-to-split-window): Handle new values of
7496 window-combination-limit (Bug#1806).
7497 (split-window): Test window-combination-limit for t instead of
7498 non-nil.
7499 (display-buffer-at-bottom): New buffer display action function.
7500 * help.el (temp-buffer-resize-regexps): New option.
7501 (temp-buffer-resize-mode): Rewrite doc-string.
7502 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
7503 Don't resize reused window. Suggested by Glenn Morris.
7504
7505 2012-09-22 Stefan Merten <smerten@oekonux.de>
7506
7507 * textmodes/rst.el: Revamp section title faces.
7508 (rst-official-version)
7509 (rst-package-emacs-version-alist): Sync with official version
7510 V1.4.0.
7511 (rst-faces-defaults, rst-set-level-default)
7512 (rst-level-face-max, rst-level-face-base-color)
7513 (rst-level-face-base-light, rst-level-face-format-light)
7514 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
7515 (rst-adornment-faces-alist): Match new setup.
7516 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
7517 (rst-level-5, rst-level-6): New faces.
7518
7519 2012-09-22 Chong Yidong <cyd@gnu.org>
7520
7521 * simple.el (undo): Handle indirect buffers (Bug#8207).
7522
7523 2012-09-21 Leo Liu <sdl.web@gmail.com>
7524
7525 IDO: Disable match re-ordering for buffer switching.
7526 * ido.el (ido-buffer-disable-smart-matches): New variable.
7527 (ido-set-matches-1): Use it. (Bug#2042)
7528
7529 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
7530
7531 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
7532 Fix 2011-05-17 change. (Bug#12418)
7533
7534 2012-09-21 Leo Liu <sdl.web@gmail.com>
7535
7536 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
7537
7538 2012-09-21 Glenn Morris <rgm@gnu.org>
7539
7540 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
7541 Be more robust about locating simple.el.
7542
7543 2012-09-21 Glenn Morris <rgm@gnu.org>
7544
7545 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
7546
7547 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
7548
7549 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
7550
7551 2012-09-20 Juri Linkov <juri@jurta.org>
7552
7553 * replace.el (query-replace-read-from): Use `read-regexp' instead
7554 of `read-from-minibuffer' when `regexp-flag' is non-nil.
7555 (occur-read-primary-args): Use `read-regexp' instead of
7556 `read-string'.
7557 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
7558 `read-from-minibuffer'.
7559 * isearch.el (isearch-occur): Use `read-regexp' instead of
7560 `read-string'.
7561 * dired.el (dired-read-regexp): Use `read-regexp' instead of
7562 `read-from-minibuffer'.
7563 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
7564 of `read-string'. (Bug#7567)
7565
7566 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
7567 and allow accepting a list of strings prepended to a list of
7568 standard default values. Doc fix. (Bug#12321)
7569
7570 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
7571
7572 * replace.el (read-regexp): Don't add ": " when PROMPT already
7573 ends with a colon and space. (Bug#12321)
7574
7575 2012-09-20 Tassilo Horn <tsdh@gnu.org>
7576
7577 * doc-view.el (doc-view-display): Better fix for the cl-assertion
7578 error.
7579
7580 2012-09-20 Stefan Merten <smerten@oekonux.de>
7581
7582 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
7583 Fixes feature request bug#11711.
7584 (rst-mode): Create `imenu-create-index-function'.
7585 (rst-get-stripped-line): Delete after refactoring.
7586 (rst-section-tree, rst-section-tree-rec)
7587 (rst-section-tree-point): Refactor and document properly.
7588 (rst-imenu-find-adornments-for-position)
7589 (rst-imenu-convert-cell, rst-imenu-create-index):
7590 New function.
7591
7592 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
7593
7594 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
7595 (macroexp--expand-all): Use it.
7596 (macroexp--funcall-and-return): Remove by folding it into its sole
7597 caller (macroexp--warn-and-return).
7598 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
7599 Use macroexp--obsolete-warning.
7600
7601 * calc/calc.el: Fix last change by removing the whole chunk, since it
7602 was only needed back when Calc was not bundled.
7603
7604 2012-09-20 Martin Rudalics <rudalics@gmx.at>
7605
7606 * emacs-lisp/debug.el (debug): Restore assignment to
7607 debugger-old-buffer removed on 2012-09-08.
7608
7609 2012-09-20 Juri Linkov <juri@jurta.org>
7610
7611 * dired-aux.el (dired-diff): Remove (require 'diff) since
7612 `diff-latest-backup-file' is now autoloaded.
7613
7614 2012-09-20 Chong Yidong <cyd@gnu.org>
7615
7616 * vc/diff.el (diff-latest-backup-file): Autoload.
7617
7618 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
7619
7620 * calc/calc.el: Remove redundant autoload shape check.
7621 (sel-mode): Don't defvar.
7622 (calc-get-stack-element): Add `sel-mode' arg instead.
7623 (calc-top, calc-top-list): Pass it this additional argument.
7624 * calc/calc-store.el (calc-store-map):
7625 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
7626 (calc-map-equation, calc-outer-product, calc-inner-product):
7627 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
7628
7629 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
7630
7631 2012-09-19 Juri Linkov <juri@jurta.org>
7632
7633 * dired-aux.el (dired-diff): Add (require 'diff) because
7634 `diff-latest-backup-file' is not autoloaded.
7635 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
7636 of `dired-get-filename' to t to not report error when there is
7637 no default file on the current line.
7638
7639 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7640
7641 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
7642 macroexp--eval-if-compile.
7643 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
7644 (macroexp--expand-all): Use them (bug#12371).
7645
7646 * doc-view.el (doc-view-guess-paper-size)
7647 (doc-view-scale-bounding-box): Fix unbound `caddr'.
7648
7649 2012-09-19 Tassilo Horn <tsdh@gnu.org>
7650
7651 New feature: set optimal slice from BoundingBox information.
7652 * doc-view.el (doc-view-mode-map): Add keybinding.
7653 (doc-view-menu): Add menu entry.
7654 (doc-view-set-slice): Adapt docstring.
7655 (doc-view-get-bounding-box, doc-view-guess-paper-size)
7656 (doc-view-scale-bounding-box)
7657 (doc-view-set-slice-from-bounding-box): New functions.
7658 (doc-view-paper-sizes): New defvar.
7659
7660 2012-09-19 Glenn Morris <rgm@gnu.org>
7661
7662 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
7663 (byte-compile-log-warning): Autoload. (Bug#12371)
7664
7665 * calendar/calendar.el (calendar-american-month-header)
7666 (calendar-european-month-header, calendar-iso-month-header)
7667 (calendar-month-header): New options.
7668 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
7669 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
7670
7671 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
7672
7673 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
7674
7675 2012-09-18 Juri Linkov <juri@jurta.org>
7676
7677 * dired-aux.el (dired-diff): Restore original functionality of
7678 getting the default value, but keep new feature of using the
7679 latest existing backup file (`diff-latest-backup-file').
7680
7681 2012-09-18 Juri Linkov <juri@jurta.org>
7682
7683 * dired.el (dired-mark): If the region is active in Transient Mark
7684 mode, mark all files in the active region. Doc fix.
7685 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
7686 Doc fix. (Bug#10624)
7687
7688 2012-09-18 Juri Linkov <juri@jurta.org>
7689
7690 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
7691 attributes for M-n are pulled from the file at point.
7692 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
7693 Suggested by Drew Adams. (Bug#10624)
7694
7695 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
7696
7697 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
7698 whitespace after "end".
7699 (ruby-do-end-to-brace): Collapse block to one line if it fits
7700 within fill-column.
7701
7702 2012-09-18 Martin Rudalics <rudalics@gmx.at>
7703
7704 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
7705 value.
7706 (debug): Don't remove debugger window when debugger is expected
7707 to be back.
7708
7709 2012-09-18 Chong Yidong <cyd@gnu.org>
7710
7711 * custom.el (defface): Doc fix.
7712
7713 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
7714
7715 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
7716
7717 * progmodes/compile.el (compilation-start): Use compilation-always-kill
7718 to initialize query-on-exit; then test that instead (bug#12288).
7719
7720 2012-09-17 Stefan Merten <smerten@oekonux.de>
7721
7722 * textmodes/rst.el: Add support for `testcover'.
7723 (rst-defcustom-testcover, rst-testcover-add-compose)
7724 (rst-testcover-add-1value): New functions.
7725 (rst-portable-mark-active-p): Replace by `use-region-p'.
7726 (rst-update-section, rst-classify-adornment)
7727 (rst-find-title-line): Mark `1value' forms.
7728 (rst-classify-adornment): Remove superfluous form.
7729 (rst-update-section, rst-get-adornments-around)
7730 (rst-adornment-complete-p, rst-get-next-adornment)
7731 (rst-adjust, rst-promote-region)
7732 (rst-display-adornments-hierarchy, rst-straighten-adornments)
7733 (rst-find-pfx-in-region, rst-section-tree-rec)
7734 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
7735 (rst-toc-node, rst-toc, rst-forward-section)
7736 (rst-iterate-leftmost-paragraphs)
7737 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
7738 (rst-bullet-list-region)
7739 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
7740 (rst-compile-find-conf, rst-compile)
7741 (rst-repeat-last-character): Fix style.
7742
7743 2012-09-17 Chong Yidong <cyd@gnu.org>
7744
7745 * comint.el (comint--complete-file-name-data): Don't add a space
7746 if the status is `sole'; that adds a gratuitous space in the
7747 completion-cycling case (Bug#12092).
7748
7749 * pcomplete.el (pcomplete-completions-at-point): Likewise.
7750
7751 2012-09-17 Richard Stallman <rms@gnu.org>
7752
7753 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
7754 only in the mime-shown mode, not in raw mode.
7755 (rmail-mime): Toggle off mime by displaying the message without
7756 mime processing. (Bug#12305)
7757
7758 * mail/rmail.el (rmail-retry-failure):
7759 Turn off mime processing first. (Bug#12037)
7760
7761 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
7762
7763 2012-09-17 Chong Yidong <cyd@gnu.org>
7764
7765 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
7766 (shell-dynamic-complete-functions): Convert to defcustom.
7767 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
7768
7769 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
7770 * comint.el (comint-prompt-read-only):
7771 * custom.el (defcustom):
7772 * hi-lock.el (hi-lock-mode):
7773 * ibuffer.el (ibuffer-formats):
7774 * ielm.el (ielm-prompt-read-only):
7775 * novice.el (disable-command):
7776 * saveplace.el (toggle-save-place):
7777 * speedbar.el (speedbar-supported-extension-expressions):
7778 * startup.el (auto-save-list-file-prefix, init-file-user)
7779 (after-init-hook, inhibit-startup-echo-area-message):
7780 * strokes.el (strokes-help):
7781 * time-stamp.el (time-stamp):
7782 * calendar/calendar.el (calendar, diary-file):
7783 * calendar/diary-lib.el (diary-mail-entries, diary)
7784 (diary-list-entries-hook):
7785 * calendar/holidays.el (holidays, calendar-holidays):
7786 * calendar/lunar.el (lunar-phases):
7787 * calendar/solar.el (sunrise-sunset):
7788 * emulation/edt.el (edt-load-keys):
7789 * emulation/viper.el (viper-mode):
7790 * eshell/em-alias.el (eshell-command-aliases-list):
7791 * eshell/esh-util.el (eshell-convert-numeric-arguments):
7792 * international/ogonek.el (ogonek-information):
7793 * net/tramp-cmds.el (tramp-bug):
7794 * net/quickurl.el (quickurl-reread-hook-postfix):
7795 * play/decipher.el (decipher-font-lock-keywords):
7796 * progmodes/cc-styles.el (c-set-style):
7797 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
7798 * progmodes/inf-lisp.el (inferior-lisp-prompt):
7799 * progmodes/octave-mod.el (octave-mode):
7800 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
7801 * progmodes/verilog-mode.el (verilog-read-defines):
7802 * textmodes/two-column.el (2C-mode): Likewise.
7803
7804 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
7805
7806 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
7807 that holds many addresses.
7808
7809 2012-09-16 Chong Yidong <cyd@gnu.org>
7810
7811 * align.el (align-areas): Call the indication function with
7812 positions instead of markers for arguments (Bug#12343).
7813
7814 * files.el (parse-colon-path): Use split-string (Bug#12351).
7815
7816 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
7817 (display-buffer-function): Mark as obsolete.
7818
7819 * progmodes/compile.el (compilation-parse-errors): Accept list
7820 values similar to font-lock-keywords (Bug#12136).
7821 Suggested by Oleksandr Manzyuk.
7822 (compilation-error-regexp-alist): Doc fix.
7823
7824 2012-09-15 Glenn Morris <rgm@gnu.org>
7825
7826 * version.el (emacs-bzr-version-bzr): New function.
7827 (emacs-bzr-get-version): Add optional EXTERNAL argument.
7828
7829 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
7830 checkouts, check the parent dirstate matches the branch.
7831 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
7832 empty string.
7833
7834 * version.el (emacs-bzr-version): Doc fix.
7835 (emacs-bzr-version-dirstate): New function.
7836 (emacs-bzr-get-version): For lightweight checkouts, if the parent
7837 is local try and check that it matches the branch. If not, just
7838 use dirstate information. (Bug#12441)
7839
7840 2012-09-14 Juri Linkov <juri@jurta.org>
7841
7842 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
7843 (Bug#12399)
7844
7845 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7846
7847 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
7848
7849 * emacs-lisp/edebug.el: Miscellaneous cleanup.
7850 Remove obsolete byte-compiler hack that tried to silence some warnings.
7851 (edebug-submit-bug-report): Remove.
7852 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
7853 Remove aliases, use the un-prefixed name instead.
7854 (edebug-pop-to-buffer): Consider other frames.
7855 (edebug-original-read):: Make it more obvious that it's always defined.
7856 (edebug--make-form-data-entry, edebug--form-data-name)
7857 (edebug--form-data-begin, edebug--form-data-end): Rename from the
7858 single-dashed name, and implement with cl-defstruct.
7859 (edebug-set-form-data-entry): Use the standard accessors.
7860 (edebug-make-top-form-data-entry): Use push.
7861 (edebug-no-match): Drop useless `funcall'.
7862 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
7863 to functions.
7864 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
7865 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
7866 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
7867 (easy-menu-define, with-custom-print): Remove redundant specs.
7868 (edebug-outside-overriding-local-map)
7869 (edebug-outside-overriding-terminal-local-map): Remove, unused.
7870 (edebug--display): Bind unread-command-events directly to nil rather
7871 than binding it to unread-command-events and later setting it to nil.
7872 (edebug--display): Kill edebug-eval-buffer here...
7873 (edebug--recursive-edit): ...rather than here.
7874 Bind standard-output and standard-input.
7875 (edebug-eval): Check cl-macroexpand-all is fboundp.
7876 (edebug-temp-display-freq-count): Fix last change.
7877
7878 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
7879 * subr.el (noreturn, 1value): Add `debug' spec.
7880 * emacs-lisp/advice.el: Require cl-lib.
7881 (ad-copy-tree): Remove, use copy-tree instead.
7882 (ad-dolist): Remove use dolist or cl-dolist instead.
7883 (ad-do-return): Remove, use cl-return instead.
7884 (defadvice): Add `debug' spec.
7885
7886 2012-09-13 Juri Linkov <juri@jurta.org>
7887
7888 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
7889 (Bug#12399)
7890
7891 2012-09-13 Glenn Morris <rgm@gnu.org>
7892
7893 * calc/calc.el (math-compose-expr):
7894 * calc/calc-ext.el (math-compose-expr):
7895 * progmodes/cc-defs.el (cl-macroexpand-all):
7896 * progmodes/cc-langs.el (delete-duplicates, mapcan)
7897 (cl-macroexpand-all): Update declarations.
7898
7899 * vc/vc.el: No need to require ediff.
7900 (ediff-load-version-control): Declare.
7901 (ediff-vc-internal): Fix declaration.
7902 (vc-version-ediff): Require ediff.
7903
7904 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
7905
7906 Use a more backwards-compatible timer format (Bug#12430).
7907 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
7908 being right after USECS, as that better supports old code that
7909 inadvisedly looked directly at the timer vector.
7910
7911 2012-09-13 Kenichi Handa <handa@gnu.org>
7912
7913 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
7914 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
7915 `coding-priority' property of these language environment.
7916
7917 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
7918
7919 Fix glitches caused by addition of psec to timers (Bug#12430).
7920 * image.el (image-animate-timer):
7921 * time.el (display-time-world-timer):
7922 Use timer--function and timer--args rather than raw access to
7923 timer vector.
7924
7925 2012-09-13 Glenn Morris <rgm@gnu.org>
7926
7927 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
7928 If not compiling a file, try using load-file-name.
7929
7930 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
7931
7932 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
7933 Fix last change.
7934 (edebug-update-eval-list): Use `push'.
7935
7936 * emacs-lisp/edebug.el: Use lexical-binding.
7937 Remove the "edebug-" prefix from non-dynamically-scoped variables.
7938 Mark unused args with underscore.
7939 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
7940 (edebug-form-data): Use defvar-local.
7941 (edebug-make-before-and-after-form, edebug-make-after-form):
7942 Use backquote.
7943 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
7944 Not dynamically scoped any more.
7945 (edebug--enter-trace): Add arguments `function' and `args'.
7946 Rename from edebug-enter-trace.
7947 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
7948 (edebug--update-coverage): Add `after-index' and `value' args.
7949 Rename from edebug-update-coverage.
7950 (edebug-slow-after): Call it accordingly.
7951 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
7952 edebug-recursive-edit.
7953 (edebug--display): Call it accordingly. Add args `value',
7954 `offset-index', and `arg-mode'. Rename from edebug-display.
7955 (edebug-debugger, edebug): Call it accordingly.
7956 (edebug-eval-display-list): Use dolist.
7957
7958 2012-09-12 Juri Linkov <juri@jurta.org>
7959
7960 * info.el (Info-search): Don't check for isearch-mode and
7961 isearch-regexp before let-binding search-spaces-regexp to
7962 Info-search-whitespace-regexp.
7963 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
7964 search-whitespace-regexp if isearch-lax-whitespace or
7965 isearch-regexp-lax-whitespace is non-nil.
7966 (Info-mode): Don't set local variable search-whitespace-regexp.
7967 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
7968
7969 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7970
7971 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
7972 (debugger-env-macro): Remove support for unread-command-char.
7973
7974 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
7975 the temporary map re-appearing on emulation-mode-map-alists.
7976
7977 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
7978 since 22.1.
7979
7980 * ehelp.el (with-electric-help): Accept functions in
7981 electric-help-form-to-execute.
7982 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
7983 And replace unread-command-char -> unread-command-events.
7984
7985 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
7986
7987 Sync with Tramp 2.2.6.
7988
7989 * net/tramp.el (tramp-accept-process-output): Don't use
7990 JUST-THIS-ONE in the XEmacs case.
7991
7992 * net/trampver.el: Update release number.
7993
7994 2012-09-12 Martin Rudalics <rudalics@gmx.at>
7995
7996 * emacs-lisp/debug.el (debugger-previous-window-height):
7997 New variable.
7998 (debug): When debugger-jumping-flag is non-nil try to restore
7999 height of debugger window. (Bug#8789)
8000
8001 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8002
8003 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
8004 overriding-local-map and pre/post-command-hook here.
8005 (edebug-recursive-edit): Do it here instead (bug#12345).
8006 (edebug-outside-unread-command-char): Remove all uses of
8007 unread-command-char.
8008
8009 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
8010 inhibit-debugger is bound instead.
8011
8012 2012-09-11 Bastien Guerry <bzg@gnu.org>
8013
8014 * subr.el (set-temporary-overlay-map): Add a docstring.
8015 (Bug#12346)
8016
8017 2012-09-11 Bastien Guerry <bzg@gnu.org>
8018
8019 * minibuffer.el (completion-table-subvert): Fix docstring.
8020 (Bug#12347)
8021
8022 2012-09-11 Bastien Guerry <bzg@gnu.org>
8023
8024 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
8025
8026 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
8027
8028 * progmodes/sql.el: Version 3.1
8029 (sql-db2-escape-newlines): New variable.
8030 (sql-escape-newlines-filter): Use it.
8031
8032 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
8033
8034 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
8035
8036 2012-09-10 Dan Nicolaescu <dann@gnu.org>
8037
8038 * vc/diff-mode.el (diff-mode-menu):
8039 Bind diff-remove-trailing-whitespace.
8040
8041 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
8042
8043 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
8044 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
8045 (emacs-lisp-byte-code-mode): New functions.
8046 (eval-sexp-add-defvars): Don't skip defvars in column >0.
8047 (eval-defun-2): Remove bogus interactive spec.
8048 (lisp-indent-line): Remove redundant whole-exp code, now done in
8049 indent-according-to-mode.
8050 (save-match-data): Remove redundant indent data.
8051
8052 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
8053 Use `declare'.
8054
8055 2012-09-09 Juri Linkov <juri@jurta.org>
8056
8057 * replace.el (replace-regexp-lax-whitespace): New defcustom.
8058 (replace-lax-whitespace, query-replace-regexp)
8059 (query-replace-regexp-eval, replace-regexp): Doc fix.
8060 (perform-replace, replace-highlight): Let-bind
8061 isearch-lax-whitespace to replace-lax-whitespace and
8062 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
8063
8064 * isearch.el (isearch-query-replace): Let-bind
8065 replace-lax-whitespace to isearch-lax-whitespace and
8066 replace-regexp-lax-whitespace to
8067 isearch-regexp-lax-whitespace. (Bug#10885)
8068
8069 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
8070
8071 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
8072
8073 2012-09-09 Alan Mackenzie <acm@muc.de>
8074
8075 * progmodes/cc-engine.el (c-state-cache-init):
8076 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
8077 (c-record-parse-state-state):
8078 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
8079
8080 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
8081
8082 * register.el (register-separator): Rename from
8083 separator-register. All uses changed. Doc fix.
8084 (register): Fix version.
8085
8086 2012-09-09 Chong Yidong <cyd@gnu.org>
8087
8088 * replace.el (query-replace-map): Bind four new symbols for
8089 requesting window scrolling.
8090
8091 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
8092 query-replace-map (Bug#8948).
8093
8094 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
8095
8096 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
8097 since they are now in query-replace-map.
8098
8099 * window.el (scroll-other-window-down): Make the arg optional.
8100
8101 2012-09-09 Chong Yidong <cyd@gnu.org>
8102
8103 * files.el (hack-local-variables-confirm): Use quit-window to kill
8104 the *Local Variables* buffer.
8105
8106 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
8107
8108 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
8109 not just expect to be at its beginning. Adjust callees.
8110 Succeed when do-end block has no space before the pipe character.
8111 (ruby-brace-to-do-end): When the original block is one-liner,
8112 convert to multiline. Reindent the result.
8113
8114 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
8115
8116 * register.el (register): New group.
8117 (separator-register): New user option.
8118 (increment-register): Route it to `append-to-register', if
8119 register contains text. Implication is that `C-x r +' can now be
8120 used for appending to a text register (bug#12217).
8121 (append-to-register, prepend-to-register): Add separator based on
8122 `separator-register'.
8123
8124 2012-09-08 Alan Mackenzie <acm@muc.de>
8125
8126 AWK Mode: make auto-newline work when there's "==" in the pattern.
8127 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
8128 correctly.
8129 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
8130 Test more rigorously for "=" token.
8131
8132 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
8133
8134 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
8135 Only fail when reached LIMIT.
8136
8137 2012-09-08 Chong Yidong <cyd@gnu.org>
8138
8139 * dired.el (dired-mode-map): Don't bind M-=.
8140
8141 * dired-aux.el (dired-diff): Use backup file as default.
8142
8143 2012-09-08 Drew Adams <drew.adams@oracle.com>
8144
8145 * subr.el (add-to-history): Fix delete usage (Bug#12314).
8146
8147 2012-09-08 Chong Yidong <cyd@gnu.org>
8148
8149 * subr.el (syntax-after, syntax-class): Doc fix.
8150
8151 2012-09-08 Martin Rudalics <rudalics@gmx.at>
8152
8153 * window.el (display-buffer-in-previous-window): New buffer
8154 display action function.
8155
8156 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
8157 (debugger-previous-window): New variable.
8158 (debug): Rewrite using display-buffer-in-previous-window,
8159 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
8160
8161 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
8162
8163 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
8164
8165 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
8166
8167 * progmodes/python.el (python-shell-send-string):
8168 When default-directory is remote, create temp file on remote
8169 filesystem.
8170 (python-shell-send-file): When file is remote, pass local view of
8171 file paths to remote Python interpreter. (Bug#12340)
8172
8173 2012-09-07 Chong Yidong <cyd@gnu.org>
8174
8175 * window.el (switch-to-buffer): Doc fix (Bug#12181).
8176
8177 * files.el (after-find-file): Don't fail on a read-only buffer if
8178 require-final-newline is `visit' or `visit-save' (Bug#11156).
8179
8180 * subr.el (read-char-choice): Allow quitting via ESC ESC.
8181
8182 * userlock.el (ask-user-about-supersession-threat):
8183 Use read-char-choice (Bug#12093).
8184
8185 2012-09-07 Chong Yidong <cyd@gnu.org>
8186
8187 * subr.el (buffer-narrowed-p): New function.
8188
8189 * ses.el (ses-widen):
8190 * simple.el (count-words--buffer-message):
8191 * net/browse-url.el (browse-url-of-buffer): Use it.
8192
8193 * simple.el (count-words-region): Don't signal an error if there
8194 is a non-nil prefix arg and the mark is not set.
8195
8196 * help.el (describe-key-briefly): Allow the message to be seen
8197 when invoked from the minibuffer (Bug#7014).
8198
8199 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
8200
8201 * progmodes/ruby-mode.el (ruby-end-of-defun)
8202 (ruby-beginning-of-defun): Simplify, allow indentation before
8203 block beginning and end keywords.
8204 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
8205 (ruby-end-of-defun): Expect that the point is at the beginning of
8206 the defun.
8207
8208 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
8209
8210 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
8211 (bug#12367).
8212 (cl--make-usage-args): Strip _ from argument names.
8213
8214 2012-09-06 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
8215
8216 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
8217 obsolete alias speedbar-key-map.
8218 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
8219 (vhdl-index-menu-init): Don't use obsolete variable
8220 font-lock-maximum-size.
8221
8222 2012-09-06 Chong Yidong <cyd@gnu.org>
8223
8224 * frame.el (window-system-version): Mark as obsolete.
8225
8226 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
8227 of obsolete variable speedbar-key-map.
8228
8229 2012-09-06 Juri Linkov <juri@jurta.org>
8230
8231 * replace.el (replace-lax-whitespace): New defcustom.
8232 (query-replace, query-replace-regexp, query-replace-regexp-eval)
8233 (replace-string, replace-regexp): Mention it in docstrings.
8234 (perform-replace, replace-highlight): Let-bind
8235 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
8236 to the values of replace-lax-whitespace and regexp-flag.
8237 Don't let-bind search-whitespace-regexp. (Bug#10885)
8238
8239 * isearch.el (isearch-query-replace): Let-bind
8240 replace-lax-whitespace instead of let-binding
8241 replace-search-function and replace-re-search-function.
8242 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
8243 and isearch-regexp-lax-whitespace to lazy-highlight variables.
8244 (isearch-toggle-symbol): Set isearch-regexp to nil
8245 in isearch-word mode (like in isearch-toggle-word).
8246
8247 2012-09-06 Juri Linkov <juri@jurta.org>
8248
8249 * replace.el (replace-search-function)
8250 (replace-re-search-function): Set default values to nil.
8251 (perform-replace): Let-bind isearch-related variables based on
8252 replace-related values, call `isearch-search-fun' and let-bind
8253 the result to `search-function'. Remove code that sets
8254 `search-function' and `search-string' separately for
8255 `delimited-flag'.
8256 (replace-highlight): Add new argument `delimited-flag' and
8257 rename other arguments to the names used in `perform-replace'.
8258 Let-bind `isearch-word' to the argument `delimited-flag'.
8259 (Bug#10885, bug#10887)
8260
8261 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
8262
8263 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
8264 ruby-beginning-of-indent, simplify, allow all keywords to have
8265 indentation before them.
8266 (ruby-beginning-of-indent): Adjust for above. Search until the
8267 found point is not inside a string or comment.
8268 (ruby-font-lock-keywords): Allow symbols to start with "@"
8269 character, give them higher priority than variables.
8270 (ruby-syntax-propertize-function)
8271 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
8272 matchers. Expression expansions are not comments when inside a
8273 string, and there comment syntax status is irrelevant.
8274 (ruby-match-expression-expansion): New function. Check that
8275 expression expansion is inside a string, and it's not escaped.
8276 (ruby-font-lock-keywords): Use it.
8277
8278 2012-09-05 Martin Rudalics <rudalics@gmx.at>
8279
8280 * help.el (temp-buffer-max-height): New default value.
8281 (temp-buffer-resize-frames): New option.
8282 (resize-temp-buffer-window): Optionally resize frame.
8283
8284 * window.el (fit-frame-to-buffer-bottom-margin): New option.
8285 (fit-frame-to-buffer): New function.
8286
8287 2012-09-05 Glenn Morris <rgm@gnu.org>
8288
8289 * emulation/cua-rect.el (cua--init-rectangles):
8290 * textmodes/picture.el (picture-mode-map):
8291 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
8292 like forward-char and backward-char. (Bug#12317)
8293
8294 2012-09-05 Leo Liu <sdl.web@gmail.com>
8295
8296 * progmodes/flymake.el (flymake-warning-re): New variable.
8297 (flymake-parse-line): Use it.
8298
8299 2012-09-05 Glenn Morris <rgm@gnu.org>
8300
8301 * calendar/holidays.el (holiday-christian-holidays):
8302 Rename an entry. (Bug#12289)
8303
8304 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
8305
8306 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
8307 (bug#12222).
8308
8309 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
8310
8311 * loadup.el: Load macroexp. Remove hack.
8312 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
8313 (macroexp--expand-all): Use it to get better warnings.
8314 (macroexp--backtrace, macroexp--trim-backtrace-frame)
8315 (internal-macroexpand-for-load): New functions.
8316 (macroexp--pending-eager-loads): New var.
8317 (emacs-startup-hook): New hack to replace one in loadup.el.
8318 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
8319 (cl--compiler-macro-cXXr): Move to top, before they can be used.
8320 (cl-psetf): Simplify.
8321 (cl-defstruct): Add indent rule.
8322
8323 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
8324
8325 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
8326 over `user-mail-address' for the SMTP MAIL FROM envelope.
8327 (smtpmail-via-smtp): Ditto.
8328
8329 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
8330
8331 * progmodes/ruby-mode.el: Clean up keybindings.
8332 (ruby-mode-map): Don't bind ruby-electric-brace,
8333 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
8334 backward-kill-word, reindent-then-newline-and-indent.
8335 (ruby-mark-defun): Remove.
8336 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
8337 (ruby-mode): Set local beginning-of-defun-function and
8338 end-of-defun-function values.
8339
8340 2012-09-03 Martin Rudalics <rudalics@gmx.at>
8341
8342 * window.el (temp-buffer-window-setup-hook)
8343 (temp-buffer-window-show-hook): New hooks.
8344 (temp-buffer-window-setup, temp-buffer-window-show)
8345 (with-temp-buffer-window): New functions.
8346 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
8347 (special-display-popup-frame): Make sure the window used shows BUFFER.
8348
8349 * help.el (temp-buffer-resize-mode): Fix doc-string.
8350 (resize-temp-buffer-window): New optional argument WINDOW.
8351
8352 * files.el (recover-file, save-buffers-kill-emacs):
8353 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
8354
8355 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
8356
8357 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
8358 remote definition of `default-directory', ensure we can connect.
8359
8360 2012-09-02 Juri Linkov <juri@jurta.org>
8361
8362 Toggle whitespace matching mode with M-s SPC.
8363 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
8364
8365 * isearch.el (search-whitespace-regexp): Doc fix.
8366 Remove cons cell customization.
8367 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
8368 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
8369 New variables.
8370 (isearch-forward, isearch-forward-regexp): Doc fix.
8371 (isearch-toggle-lax-whitespace): New command.
8372 (search-forward-lax-whitespace, search-backward-lax-whitespace)
8373 (re-search-forward-lax-whitespace)
8374 (re-search-backward-lax-whitespace): New functions.
8375 (isearch-whitespace-regexp): Remove function.
8376 (isearch-query-replace): Let-bind replace-search-function and
8377 replace-re-search-function.
8378 (isearch-occur): Let-bind search-spaces-regexp according to the
8379 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
8380 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
8381 condition for C-q SPC.
8382 (isearch-search-fun-default): Use new functions mentioned above.
8383 (isearch-search-forward, isearch-search-backward): Remove functions.
8384 (isearch-search): Don't let-bind search-spaces-regexp.
8385 (isearch-lazy-highlight-space-regexp): Remove variable.
8386 (isearch-lazy-highlight-lax-whitespace)
8387 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
8388 (isearch-lazy-highlight-new-loop): Use them.
8389 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
8390
8391 2012-09-02 Chong Yidong <cyd@gnu.org>
8392
8393 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
8394
8395 2012-09-02 Glenn Morris <rgm@gnu.org>
8396
8397 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
8398
8399 2012-09-01 Glenn Morris <rgm@gnu.org>
8400
8401 * term.el: Tidy up menu definitions.
8402 (term-mode-map): Use easymenu for In/Out, Complete menus.
8403 (term-pager-break-map): Initialize in the defvar.
8404 (term-terminal-menu, term-signals-menu): Define with easymenu.
8405 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
8406 (term-pager-menu): New, extracted from term-process-pager.
8407 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
8408 (term-update-mode-line): Propertize line/char and page items.
8409 (term-process-pager): Move keymap initialization elsewhere.
8410
8411 2012-09-01 Martin Rudalics <rudalics@gmx.at>
8412
8413 * window.el (switch-to-prev-buffer): Handle additional values of
8414 BURY-OR-KILL argument. Don't switch in minibuffer window.
8415 (switch-to-next-buffer): Don't switch in minibuffer window.
8416 (quit-restore-window): New function based on quit-window.
8417 Handle additional values of former KILL argument.
8418 (quit-window): Call quit-restore-window with appropriate
8419 interpretation of KILL argument.
8420 (display-buffer-below-selected): New buffer display action
8421 function.
8422
8423 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
8424
8425 * minibuffer.el (completion-at-point-functions): Complete docstring
8426 (bug#12254).
8427
8428 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
8429
8430 Better seed support for (random).
8431 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
8432 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
8433 * play/mpuz.el, play/tetris.el, play/zone.el:
8434 * calc/calc-comb.el (math-init-random-base):
8435 * play/blackbox.el (bb-init-board):
8436 * play/life.el (life):
8437 * server.el (server-use-tcp):
8438 * type-break.el (type-break):
8439 Remove unnecessary call to (random t).
8440 * net/sasl.el (sasl-unique-id-function):
8441 Change (random t) to (random), now that the latter is more random.
8442 * play/life.el (life-initialized): Remove no-longer-needed var.
8443
8444 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
8445
8446 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
8447 Consider frame's buffer predicate when choosing the buffer.
8448 (Bug#12081)
8449
8450 2012-08-30 Richard Stallman <rms@gnu.org>
8451
8452 * simple.el (special-mode-map): Delete binding for `z'.
8453
8454 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
8455
8456 * progmodes/compile.el (compilation-always-kill): Doc fix.
8457
8458 2012-08-30 Chong Yidong <cyd@gnu.org>
8459
8460 * window.el (display-buffer-reuse-frames): Make the obsolescence
8461 message more informative.
8462
8463 2012-08-30 Glenn Morris <rgm@gnu.org>
8464
8465 * paren.el (show-paren-delay):
8466 Add a :set function. Doc fix. (Bug#12297)
8467
8468 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
8469
8470 * progmodes/compile.el (compilation-always-kill): New var.
8471 (compilation-start): Use it.
8472
8473 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
8474
8475 * simple.el (read-only-mode): Move from files.el for bootstrapping.
8476 * files.el (read-only-mode): Move to simple.el.
8477
8478 * files.el (read-only-mode): New minor mode.
8479 (toggle-read-only): Use it and mark obsolete.
8480 (find-file--read-only):
8481 * vc/vc.el (vc-next-action, vc-checkout):
8482 * vc/vc-cvs.el (vc-cvs-checkout):
8483 * obsolete/vc-mcvs.el (vc-mcvs-update):
8484 * ffap.el (ffap--toggle-read-only): Update callers.
8485
8486 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
8487
8488 * eshell/esh-ext.el (eshell-external-command): Do not examine
8489 remote shell scripts.
8490 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
8491
8492 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
8493 "/usr/local/sbin".
8494
8495 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8496
8497 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
8498
8499 2012-08-28 Leo Liu <sdl.web@gmail.com>
8500
8501 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
8502 completion-at-point. (Bug#12220)
8503
8504 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
8505
8506 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
8507
8508 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8509
8510 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
8511 be buffer-local; add delete-trailing-whitespace (bug#12259).
8512
8513 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
8514
8515 * progmodes/hideif.el (hif-compress-define-list):
8516 Fix typo. (Bug#11951)
8517
8518 2012-08-28 Dan Nicolaescu <dann@gnu.org>
8519
8520 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
8521 buffer local setting.
8522
8523 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
8524 rcirc-encode-coding-system.
8525
8526 2012-08-28 Leo Liu <sdl.web@gmail.com>
8527
8528 * net/rcirc.el (rcirc-split-message): New function.
8529 (rcirc-send-message): Use it. (Bug#12051)
8530
8531 2012-08-28 Juri Linkov <juri@jurta.org>
8532
8533 * info.el (Info-fontify-node): Hide empty lines at the end of
8534 the node. (Bug#12272)
8535
8536 2012-08-27 Drew Adams <drew.adams@oracle.com>
8537
8538 * dired.el (dired-pop-to-buffer): Make window start at beginning
8539 of buffer (Bug#12281).
8540
8541 2012-08-26 Chong Yidong <cyd@gnu.org>
8542
8543 * window.el (special-display-regexps, special-display-frame-alist)
8544 (special-display-buffer-names, special-display-function)
8545 (display-buffer-reuse-frames): Mark as obsolete.
8546
8547 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
8548
8549 * help.el (help-print-return-message): Don't treat
8550 display-buffer-reuse-frames specially.
8551
8552 2012-08-26 Chong Yidong <cyd@gnu.org>
8553
8554 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
8555 New variable, replacing gdb-frame-parameters.
8556 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
8557 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
8558 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
8559 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
8560 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
8561 the functions directly with gdb-display-buffer-other-frame-action.
8562 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
8563 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
8564 (gdb-display-stack-buffer, gdb-display-locals-buffer)
8565 (gdb-display-registers-buffer): Define directly.
8566 (def-gdb-display-buffer): Macro deleted.
8567 (gdb-display-buffer): Remove second and third args, callers don't
8568 use them. Defer to the default display-buffer behavior, apart
8569 from making windows dedicated.
8570 (gdb-setup-windows): Don't call display-buffer unnecessarily.
8571
8572 * progmodes/gud.el (gud-display-line): Just use display-buffer.
8573
8574 * window.el (display-buffer-pop-up-frame): Handle a
8575 pop-up-frame-parameters alist entry.
8576 (display-buffer): Document it.
8577
8578 2012-08-26 Chong Yidong <cyd@gnu.org>
8579
8580 * isearch.el (search-whitespace-regexp): Make string and nil
8581 values apply to both ordinary and regexp search. Allow a cons
8582 cell value to distinguish between the two.
8583 (isearch-whitespace-regexp, isearch-search-forward)
8584 (isearch-search-backward): New functions.
8585 (isearch-occur, isearch-search-fun-default, isearch-search)
8586 (isearch-lazy-highlight-new-loop): Use them.
8587 (isearch-forward, isearch-forward-regexp): Doc fix.
8588
8589 2012-08-26 Chong Yidong <cyd@gnu.org>
8590
8591 * faces.el (help-argument-name): Always inherit from italic
8592 (Bug#12213).
8593
8594 2012-08-25 Martin Rudalics <rudalics@gmx.at>
8595
8596 * window.el (window--even-window-heights): Even heights when
8597 WINDOW and the selected window form a vertical combination.
8598 (display-buffer-use-some-window): Provide that window used gets
8599 sized back by quit-window. (Bug#11880) and (Bug#12091)
8600
8601 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
8602
8603 Fix file time stamp problem with bzr and CVS (Bug#12001).
8604 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
8605 in the file's time stamp, since the version control system loses
8606 that information.
8607
8608 2012-08-22 Juri Linkov <juri@jurta.org>
8609
8610 * info.el (Info-fontify-node): Hide the suffix of the
8611 Info file name in the header line. (Bug#12187)
8612
8613 2012-08-22 Glenn Morris <rgm@gnu.org>
8614
8615 * calendar/cal-tex.el (cal-tex-weekly-common):
8616 Restore leading blank page.
8617
8618 2012-08-22 Le Wang <l26wang@gmail.com>
8619
8620 * misc.el (forward-to-word, backward-to-word): Activate or extend
8621 the region under `shift-select-mode'. (Bug#12231)
8622
8623 2012-08-22 Bastien Guerry <bzg@gnu.org>
8624
8625 * progmodes/executable.el (executable-prefix): Set to "#!" instead
8626 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
8627 gives details on why the space is never needed.
8628
8629 2012-08-22 Martin Rudalics <rudalics@gmx.at>
8630
8631 * window.el (walk-window-tree, window-with-parameter):
8632 New optional argument MINIBUF to control whether these functions
8633 should run on the minibuffer window.
8634 (window-at-side-list): Don't operate on minibuffer window.
8635 (window-in-direction): Simplify and rewrite doc-string.
8636 (window--size-ignore): Rename to window--size-ignore-p.
8637 Update callers.
8638 (display-buffer-in-atom-window, window--major-non-side-window)
8639 (window--major-side-window, display-buffer-in-major-side-window)
8640 (delete-side-window, display-buffer-in-side-window):
8641 New functions.
8642 (window--side-check, window-deletable-p, delete-window)
8643 (delete-other-windows, split-window): Handle side windows and
8644 atomic windows appropriately.
8645 (window--display-buffer): Call display-buffer-record-window also
8646 when the window buffer did not change.
8647
8648 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
8649
8650 * help-fns.el (help-fns--key-bindings):
8651 Abbreviate non-symbol remap targets. (Bug#12174)
8652
8653 2012-08-22 Martin Rudalics <rudalics@gmx.at>
8654
8655 * dired.el (dired-mark-remembered): Don't clobber point.
8656 (Bug#11795)
8657
8658 2012-08-22 Glenn Morris <rgm@gnu.org>
8659
8660 * progmodes/bug-reference.el (bug-reference): New custom group.
8661 (bug-reference-bug-regexp): Make it a defcustom.
8662
8663 2012-08-22 Daiki Ueno <ueno@unixuser.org>
8664
8665 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
8666 (js-paren-indent-offset, js-square-indent-offset)
8667 (js-curly-indent-offset): Add :safe (Bug#12257).
8668
8669 2012-08-22 Edward O'Connor <hober0@gmail.com>
8670
8671 * json.el (json-key-format): Add error properties.
8672 (json-encode-key): New function.
8673 (json-encode-hash-table, json-encode-alist, json-encode-plist):
8674 Use json-encode-key.
8675
8676 2012-08-22 Glenn Morris <rgm@gnu.org>
8677
8678 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
8679 (cal-tex-leftday, cal-tex-rightday): Remove functions.
8680 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
8681 Update for above change.
8682
8683 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
8684
8685 * cus-face.el (custom-face-attributes): Fix customize type for the
8686 :underline attribute. (Bug#11805)
8687
8688 2012-08-21 Martin Rudalics <rudalics@gmx.at>
8689
8690 * window.el (window-point-1, set-window-point-1): Remove.
8691 (window-in-direction, record-window-buffer)
8692 (set-window-buffer-start-and-point, split-window-below)
8693 (window--state-get-1, display-buffer-record-window):
8694 Replace calls to window-point-1 and set-window-point-1 by calls to
8695 window-point and set-window-point respectively.
8696
8697 2012-08-21 Glenn Morris <rgm@gnu.org>
8698
8699 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
8700 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
8701 Use it.
8702
8703 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
8704 (cal-tex-shortday): New function.
8705 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
8706 (cal-tex-cursor-filofax-daily): Use the above.
8707
8708 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
8709 New functions.
8710 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
8711 (cal-tex-cursor-filofax-week): Use them.
8712
8713 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
8714 New constants.
8715 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
8716 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
8717
8718 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
8719 (cal-tex-end-document): Don't rely on buffer name.
8720
8721 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
8722 Use cal-tex-vspace.
8723 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
8724 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
8725 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
8726 Use cal-tex-arg.
8727
8728 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
8729 (cal-tex-cursor-week, cal-tex-cursor-week2)
8730 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
8731 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
8732 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
8733 (cal-tex-insert-preamble, cal-tex-b-document)
8734 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
8735 Improve cal-tex-cmd usage.
8736
8737 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
8738 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
8739 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
8740 (cal-tex-weekly-paper): New function.
8741 (cal-tex-cursor-week, cal-tex-cursor-week2)
8742 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
8743 (cal-tex-cursor-day): Use it.
8744
8745 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
8746 (cal-tex-cursor-filofax-week): Remove leading blank page.
8747
8748 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
8749 Add autoload cookie. For now at least, don't use color, since
8750 no other cal-tex function does.
8751
8752 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
8753 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
8754 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
8755
8756 2012-08-21 Juri Linkov <juri@jurta.org>
8757
8758 * info.el (Info-file-attributes): New variable.
8759 (info-insert-file-contents): Add file attributes to
8760 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
8761 `Info-toc-nodes' when previous modtime of the Info file is less
8762 than new modtime.
8763 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
8764 of info.el. (Bug#12230)
8765
8766 2012-08-20 Glenn Morris <rgm@gnu.org>
8767
8768 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
8769 * calendar/holidays.el (calendar-holiday-list):
8770 Report errors with display-warning rather than beep'n'sleep.
8771
8772 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
8773
8774 * net/tramp.el (tramp-accept-process-output): Accept only output
8775 from PROC. Otherwise, process filters and sentinels might be
8776 confused. (Bug#12145)
8777
8778 2012-08-20 Chong Yidong <cyd@gnu.org>
8779
8780 * descr-text.el (describe-text-properties-1): Use overlays-in to
8781 report on empty overlays (Bug#3322).
8782
8783 2012-08-20 Glenn Morris <rgm@gnu.org>
8784
8785 * mail/rmailout.el (rmail-output-read-file-name):
8786 Trap and report errors in rmail-output-file-alist elements.
8787
8788 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
8789 since most non-font-lock faces are not also variables).
8790
8791 2012-08-20 Edward Reingold <reingold@iit.edu>
8792
8793 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
8794 New function. (Bug12160)
8795
8796 2012-08-19 Glenn Morris <rgm@gnu.org>
8797
8798 * mail/rmailout.el (rmail-output-read-file-name):
8799 Fix previous change (when the alist is nil or does not match).
8800
8801 2012-08-19 Chong Yidong <cyd@gnu.org>
8802
8803 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
8804 (Bug#12228).
8805
8806 2012-08-18 Chong Yidong <cyd@gnu.org>
8807
8808 * simple.el (yank-handled-properties): New defcustom.
8809 (yank-excluded-properties): Add font-lock-face and category.
8810 (yank): Doc fix.
8811
8812 * subr.el (remove-yank-excluded-properties):
8813 Obey yank-handled-properties. The special handling of font-lock-face
8814 and category is now done this way, instead of being hard-coded.
8815 (insert-for-yank-1): Remove font-lock-face handling.
8816 (yank-handle-font-lock-face-property)
8817 (yank-handle-category-property): New function.
8818
8819 2012-08-17 Glenn Morris <rgm@gnu.org>
8820
8821 * mail/rmailout.el (rmail-output-read-file-name):
8822 Check rmail-output-file-alist against the full message body
8823 in the correct rmail buffer. (Bug#12214)
8824
8825 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
8826
8827 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
8828 Eliminate superfluous prompt. (Bug#12203)
8829
8830 2012-08-17 Chong Yidong <cyd@gnu.org>
8831
8832 * mouse.el (mouse-appearance-menu): If x-select-font returns a
8833 font spec, set the font directly (Bug#3228).
8834
8835 2012-08-17 Martin Rudalics <rudalics@gmx.at>
8836
8837 * window.el (delete-window): Fix last fix.
8838
8839 2012-08-16 Martin Rudalics <rudalics@gmx.at>
8840
8841 * window.el (window-valid-p): Move to window.c.
8842 (window-child, window-child-count, window-last-child)
8843 (window-normalize-window, window-combined-p)
8844 (window-combinations, window-atom-root, window-min-size)
8845 (window-sizable, window-sizable-p, window-size-fixed-p)
8846 (window-min-delta, window-max-delta, window--resizable)
8847 (window--resizable-p, window-resizable, window-total-size)
8848 (window-full-height-p, window-full-width-p, window-body-size)
8849 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
8850 (minimize-window, window-deletable-p, delete-window)
8851 (delete-other-windows, set-window-buffer-start-and-point)
8852 (next-buffer, previous-buffer, split-window, balance-windows-2)
8853 (set-window-text-height, window-buffer-height)
8854 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
8855 (truncated-partial-width-window-p): Minor code adjustments.
8856 In doc-strings state whether the argument window has to denote a
8857 live, valid or any window.
8858
8859 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
8860
8861 * progmodes/subword.el (subword-forward-function)
8862 (subword-backward-function, subword-forward-regexp)
8863 (subword-backward-regexp): New variables.
8864 (subword-forward, subword-forward-internal, subword-backward-internal):
8865 Use new variables, eg so that different "word" definitions
8866 can be easily used. (Bug#11411)
8867
8868 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
8869
8870 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
8871 for composite selectors.
8872 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
8873 operation just because we can't find a previous revision.
8874
8875 2012-08-15 Chong Yidong <cyd@gnu.org>
8876
8877 * frame.el (set-frame-font): Accept font objects.
8878
8879 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
8880
8881 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
8882
8883 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
8884
8885 * man.el (Man-overstrike-face, Man-underline-face)
8886 (Man-reverse-face): Remove variables.
8887 (Man-overstrike, Man-underline, Man-reverse): New faces.
8888 (Man-fontify-manpage): Use them instead of the variables.
8889 (Man-cleanup-manpage): Comment change.
8890 (Man-ansi-color-map): New variable.
8891 (Man-fontify-manpage): Use it.
8892 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
8893
8894 Implement ANSI SGR parameters 22-27 (bug#12146).
8895 * ansi-color.el (ansi-colors): Doc fix.
8896 (ansi-color-context, ansi-color-context-region): Doc fix.
8897 (ansi-color--find-face): New function.
8898 (ansi-color-apply, ansi-color-apply-on-region): Use it.
8899 Rename the local variable `face' to `codes' since it is now a list of
8900 ansi codes. Doc fix.
8901 (ansi-color-get-face): Remove.
8902 (ansi-color-parse-sequence): New function, derived from
8903 ansi-color-get-face.
8904 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
8905 codes 22-27.
8906
8907 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
8908
8909 * subr.el (read-passwd): Allow use from a minibuffer.
8910
8911 2012-08-14 Eli Zaretskii <eliz@gnu.org>
8912
8913 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
8914 inside comments and strings as identifiers.
8915
8916 * progmodes/gud.el (gud-tooltip-print-command): Quote the
8917 expression to evaluate. This allows to evaluate expressions with
8918 embedded whitespace.
8919 (gud-tooltip-tips): Add a blank before the newline in the
8920 message-box text, for the benefit of message-box emulation on
8921 MS-Windows.
8922
8923 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
8924 messages from GDB, pop them up in a tooltip to give feedback to
8925 user.
8926 (gdb-tooltip-print-1): Quote the expression to evaluate.
8927 This allows to evaluate expressions with embedded whitespace.
8928 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
8929 if the TTY name is nil or empty (which happens when communicating
8930 with the inferior via pipes, e.g. on MS-Windows).
8931 (gdb-internals): If GDB sends a "&\n" empty debugging message,
8932 don't send that to the GUD buffer.
8933
8934 2012-08-14 Glenn Morris <rgm@gnu.org>
8935
8936 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
8937 Optimize away setq-default with no args, as for setq. (Bug#12195)
8938
8939 2012-08-14 Chong Yidong <cyd@gnu.org>
8940
8941 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
8942
8943 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
8944 (Bug#12085).
8945
8946 2012-08-14 Glenn Morris <rgm@gnu.org>
8947
8948 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
8949
8950 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
8951
8952 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
8953 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
8954 Use cached shell name.
8955
8956 2012-08-14 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
8957
8958 * progmodes/python.el (python-shell-send-string):
8959 (python-shell-send-setup-code): Do not use `format' with `message'.
8960
8961 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
8962
8963 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
8964 (ruby-percent-literal-beg-re): New constant.
8965 (ruby-syntax-general-delimiters-goto-beg): Rename to
8966 `ruby-syntax-enclosing-percent-literal', improve literal type check.
8967 (ruby-syntax-propertize-general-delimiters): Rename to
8968 `ruby-syntax-propertize-percent-literal', it's a shorter and more
8969 popular term. Adjust comments everywhere.
8970 (ruby-syntax-propertize-percent-literal): Only propertize when not
8971 inside a simple string or comment. When the literal is unclosed,
8972 leave the text after it unpropertized.
8973 (ruby-syntax-methods-before-regexp): New constant.
8974 (ruby-syntax-propertize-function): Use it to recognize regexps.
8975 Don't look at the text after regexp, just use the whitelist.
8976
8977 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
8978
8979 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
8980 non-nil always load the compiled file if it exists. (Bug#12197)
8981
8982 2012-08-14 Chong Yidong <cyd@gnu.org>
8983
8984 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
8985 (hi-lock-set-pattern): When deciding whether to use font lock or
8986 overlays, look at font-lock-mode instead of font-lock-fontified
8987 (Bug#12168).
8988 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
8989 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
8990
8991 2012-08-14 Daiki Ueno <ueno@unixuser.org>
8992
8993 * subr.el (internal--after-with-selected-window): Fix typo
8994 (Bug#12193).
8995
8996 2012-08-14 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
8997
8998 Use `completion-table-dynamic' for completion functions.
8999 * progmodes/python.el
9000 (python-shell-completion--do-completion-at-point)
9001 (python-shell-completion--get-completions):
9002 Remove functions.
9003 (python-shell-completion-complete-at-point): New function.
9004 (python-completion-complete-at-point): Use it.
9005
9006 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
9007
9008 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
9009 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
9010
9011 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
9012
9013 * subr.el (function-get): Refine `autoload' arg so it can also
9014 autoload functions for gv.el (bug#12191).
9015 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
9016 autoloads macros.
9017
9018 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
9019 Prefer pcase-let over destructuring-bind.
9020 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
9021 Also, remove whitespace as we go, rather than after accumulating the
9022 various places.
9023
9024 * subr.el (internal--before-with-selected-window)
9025 (internal--after-with-selected-window): Fix typo seleted->selected.
9026 (with-selected-window): Adjust callers.
9027 Reported by Dmitry Gutov <dgutov@yandex.ru>.
9028
9029 2012-08-13 Bastien Guerry <bzg@gnu.org>
9030
9031 * window.el (special-display-popup-frame): Minor docstring
9032 enhancement. (Bug#12172)
9033
9034 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
9035
9036 * tar-mode.el (tar-header-data-end): Only ignore size for files of
9037 type 1-6.
9038 (tar-header-block-summarize, tar-get-descriptor): Handle pax
9039 extended headers.
9040
9041 * files.el (hack-local-variables-filter): Remove useless eval.
9042
9043 2012-08-13 Martin Rudalics <rudalics@gmx.at>
9044
9045 * subr.el (with-selected-window): Fix last change.
9046
9047 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
9048
9049 * subr.el (internal--before-with-seleted-window)
9050 (internal--after-with-seleted-window): New functions.
9051 (with-selected-window): Use them, to replace dependency on
9052 tty-top-frame.
9053
9054 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
9055
9056 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
9057 binding for `newline'.
9058 (ruby-move-to-block): When moving backward, stop at block opening,
9059 not indentation.
9060 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
9061 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
9062 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
9063 `ruby-toggle-block'.
9064
9065 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
9066
9067 * ibuffer.el (ibuffer-do-toggle-read-only):
9068 * dired.el (dired-toggle-read-only):
9069 * buff-menu.el (Buffer-menu-toggle-read-only):
9070 * bindings.el (mode-line-toggle-read-only):
9071 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
9072
9073 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
9074
9075 * descr-text.el (describe-char): Put the overlays over the
9076 "displayed as" character.
9077
9078 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
9079
9080 * calc/calc-units.el (math-default-units-table): Give an
9081 initial value.
9082 (math-put-default-units): Add options to put composite units and
9083 unit systems in the default units table.
9084 (calc-convert-units): Send composite units to
9085 `math-put-default-units' when appropriate.
9086
9087 2012-08-11 Glenn Morris <rgm@gnu.org>
9088
9089 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
9090
9091 * tutorial.el (help-with-tutorial):
9092 * emacs-lisp/copyright.el (copyright-update-directory):
9093 * emacs-lisp/autoload.el (autoload-find-generated-file)
9094 (autoload-find-file): Disable local eval: (for insurance).
9095
9096 * files.el (hack-local-variables-filter): If an eval: form is not
9097 known to be safe, and enable-local-variables is :safe, then ignore
9098 the form totally, as is done for non-eval forms. (Bug#12155)
9099 This is CVE-2012-3479.
9100
9101 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
9102
9103 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
9104 (rx-form): Simplify.
9105
9106 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
9107
9108 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
9109 ?, _, and : are symbol constituents, ! is not (but kinda should be).
9110 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
9111 (ruby-syntax-propertize-function): Adjust for changes in
9112 `ruby-syntax-propertize-heredoc'.
9113
9114 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
9115
9116 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
9117 binding (use `M-;' instead).
9118 (ruby-singleton-class-p): New function.
9119 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9120
9121 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
9122
9123 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
9124
9125 2012-08-10 Chong Yidong <cyd@gnu.org>
9126
9127 * progmodes/python.el (python-shell-get-process-name): Don't mess
9128 with same-window-buffer-names.
9129
9130 * eshell/eshell.el (eshell-add-to-window-buffer-names)
9131 (eshell-remove-from-window-buffer-names): Make obsolete.
9132 (eshell-buffer-name, eshell-unload-hook): Don't use them.
9133 (eshell): Just use pop-to-buffer-same-window instead.
9134
9135 2012-08-10 Chong Yidong <cyd@gnu.org>
9136
9137 * bindings.el: Bind M-= back to count-words-region.
9138
9139 * simple.el (count-words-region): Accept a prefix arg for acting
9140 on the entire buffer.
9141 (count-words--buffer-message): New helper function.
9142
9143 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
9144
9145 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
9146 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
9147 (event-start, event-end): Use posn-at-point to return a more
9148 informative posn.
9149 (posnp): New function.
9150 * mouse.el (popup-menu-normalize-position): Use it.
9151
9152 2012-08-10 Masatake YAMATO <yamato@redhat.com>
9153
9154 * mouse.el (popup-menu-normalize-position): New function.
9155 (popup-menu): Use `popup-menu-normalize-position' to normalize
9156 the form for POSITION argument.
9157
9158 * term/x-win.el (x-menu-bar-open):
9159 Use the value returend from (posn-at-point) as position
9160 passed to `popup-menu'.
9161
9162 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
9163
9164 * calc/calccomp.el (math-compose-expr): Add extra argument
9165 indicating that parentheses should be put around products in
9166 denominators. Give multiplication precedence over division during
9167 composition.
9168
9169 2012-08-09 Chong Yidong <cyd@gnu.org>
9170
9171 * man.el (Man-switches, Man-sed-command, Man-awk-command)
9172 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
9173 (Man-untabify-command, manual-program): Convert to defcustom
9174 (Bug#10429).
9175
9176 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
9177
9178 * descr-text.el (describe-char): Don't insert extra newlines
9179 (Bug#10127).
9180
9181 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
9182 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
9183
9184 * align.el (align-region): Delete temporary markers (Bug#10047).
9185 Plus some code cleanups.
9186
9187 2012-08-09 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
9188
9189 * progmodes/python.el (python-pdbtrack-tracked-buffer)
9190 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
9191 (python-shell-internal-last-output): Use make-local-variable
9192 instead of make-variable-buffer-local.
9193
9194 2012-08-09 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
9195
9196 * progmodes/python.el: Enhancements to forward-sexp.
9197 (python-nav-forward-sexp): Rename from
9198 python-nav-forward-sexp-function.
9199 (python-nav--forward-sexp, python-nav--backward-sexp):
9200 New functions.
9201
9202 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
9203
9204 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
9205 modes and simplification modes.
9206
9207 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
9208
9209 * delsel.el (delete-selection-pre-hook): Don't propagate the
9210 file-supersession signals (bug#12161).
9211
9212 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
9213
9214 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
9215 (cl-map-extents): Add compatibility aliases (bug#12135).
9216
9217 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
9218
9219 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
9220 tests by `ignore-error'.
9221 (tramp-find-shell): Open also a new shell, when cache is already
9222 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
9223
9224 2012-08-08 Juri Linkov <juri@jurta.org>
9225
9226 * bookmark.el: Add `defaults' property to the bookmark record.
9227 (bookmark-current-buffer): Doc fix.
9228 (bookmark-make-record): Add `defaults' property with default values
9229 to the bookmark record.
9230 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
9231 with `bookmark-insert-current-bookmark'.
9232 (bookmark-set): Get `defaults' property from the bookmark record
9233 and use it in `read-from-minibuffer'.
9234 (bookmark-insert-current-bookmark): Remove function.
9235
9236 * info.el (Info-bookmark-make-record): Add `defaults' property
9237 with values of canonical Info node name, the current Info file
9238 name and the current Info node name. (Bug#12107)
9239
9240 2012-08-08 Juri Linkov <juri@jurta.org>
9241
9242 * files.el (basic-save-buffer): Use `buffer-name' as the default
9243 of `read-file-name' when buffer is not visiting a file (bug#12128).
9244
9245 2012-08-08 Juri Linkov <juri@jurta.org>
9246
9247 * info.el (Info-isearch-search): Doc fix.
9248 (Info-search): Change search-failed message from "initial node" to
9249 "end of node" (bug#12078).
9250 (Info-isearch-search): Change `isearch-string-state' to
9251 `isearch--state-string'.
9252
9253 2012-08-08 Glenn Morris <rgm@gnu.org>
9254
9255 * language/persian.el: Remove file.
9256 * language/misc-lang.el: Move unique part of persian.el here.
9257 * loadup.el: Remove language/persian.
9258
9259 2012-08-08 Ă“scar Fuentes <ofv@wanadoo.es>
9260
9261 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
9262
9263 2012-08-08 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
9264
9265 * progmodes/python.el: Fix defsubst warning.
9266 (python-syntax-context) Rename from python-info-ppss-context.
9267 (python-syntax-context-type): Rename from
9268 python-info-ppss-context-type.
9269 (python-syntax-comment-or-string-p): Rename from
9270 python-info-ppss-comment-or-string-p.
9271
9272 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
9273
9274 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
9275
9276 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
9277
9278 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
9279 a defcustom that is quoted with backquote.
9280
9281 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
9282 Fix handling of interactive spec when the body uses return.
9283 (math-do-arg-check, math-define-function-body): Use backquote forms.
9284 * calc/calc-ext.el (math-defcache): Likewise.
9285 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
9286 * allout.el (allout-new-exposure): Likewise.
9287 * calc/calcalg2.el (math-tracing-integral): Likewise.
9288 * info.el (Info-last-menu-item): Likewise.
9289 * emulation/vip.el (vip-loop): Likewise.
9290 * textmodes/artist.el (artist-funcall): Likewise.
9291 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
9292 Construct menu-item directly.
9293
9294 * progmodes/autoconf.el (font-lock-syntactic-keywords):
9295 Don't declare.
9296
9297 2012-08-07 Chong Yidong <cyd@gnu.org>
9298
9299 * simple.el (deactivate-mark): Preserve text properties when
9300 saving the primary selection (Bug#8384).
9301
9302 2012-08-07 Kevin Ryde <user42@zip.com.au>
9303
9304 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
9305 (woman-parse-numeric-value): On a bad .IP line, issue a warning
9306 and continue processing (Bug#12110).
9307
9308 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
9309
9310 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
9311 syntax-propertize-function (bug#10095).
9312
9313 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
9314
9315 * help-fns.el (help-fns--key-bindings, help-fns--signature)
9316 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
9317 describe-function-1.
9318 (describe-function-1): Use them. Move compiler macro after sig.
9319 (help-fns--compiler-macro): Use function-get. Assume we're already in
9320 standard-output. Adjust layout to new call order.
9321
9322 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
9323 re-binding a symbol that has a symbol-macro (bug#12119).
9324
9325 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
9326
9327 * language/persian.el: New file. (Bug#11812)
9328 * loadup.el: Add language/persian.el.
9329
9330 2012-08-06 Chong Yidong <cyd@gnu.org>
9331
9332 * window.el (window--maybe-raise-frame): New function.
9333 (window--display-buffer): Split off from here.
9334 (display-buffer-reuse-window, display-buffer-pop-up-frame)
9335 (display-buffer-pop-up-window, display-buffer-use-some-window):
9336 Obey an inhibit-switch-frame action alist entry.
9337 (display-buffer): Update doc.
9338
9339 * replace.el (occur-after-change-function): Avoid losing focus by
9340 using the inhibit-switch-frame display parameter (Bug#12139).
9341
9342 2012-08-06 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
9343
9344 Make internal shell process buffer names start with space.
9345 * progmodes/python.el (python-shell-make-comint): Add optional
9346 argument INTERNAL.
9347 (run-python-internal): Use it.
9348 (python-shell-internal-get-or-create-process): Check for new
9349 internal buffer names.
9350
9351 2012-08-06 Glenn Morris <rgm@gnu.org>
9352
9353 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
9354 Do less getting and setting of environment variables.
9355
9356 2012-08-05 Chong Yidong <cyd@gnu.org>
9357
9358 * proced.el (proced): Add substitution string to docstring to
9359 trigger autoloading of the proced library on C-h f (Bug#1768).
9360
9361 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
9362 Don't show defvars which have no second argument (Bug#8638).
9363
9364 * imenu.el (imenu-generic-expression): Move documentation here
9365 from imenu--generic-function.
9366 (imenu--generic-function): Refer to imenu-generic-expression.
9367
9368 2012-08-05 Vegard Ă˜ye <vegard_oye@hotmail.com> (tiny change)
9369
9370 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
9371 indentation declaration.
9372 (viper-loop): Add indentation declaration (Bug#7025).
9373
9374 2012-08-05 Chong Yidong <cyd@gnu.org>
9375
9376 * help-fns.el (describe-variable): Add hyperlink for
9377 directory-local variables files. Improve buffer-local and
9378 permanent-local reporting; suggested by MON KEY (Bug#6644).
9379
9380 * help-mode.el (help-dir-local-var-def): New button type.
9381
9382 * files.el (kill-buffer-hook): Provide a defvar.
9383
9384 2012-08-05 Glenn Morris <rgm@gnu.org>
9385
9386 * eshell/esh-ext.el (eshell/addpath):
9387 Also update eshell-path-env. (Bug#12013)
9388
9389 2012-08-05 Chong Yidong <cyd@gnu.org>
9390
9391 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
9392
9393 * fringe.el (fringe-styles): Add docstring.
9394 (fringe--check-mode): New function.
9395 (set-fringe-mode, set-fringe-style): Use it.
9396 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
9397
9398 * files.el (set-auto-mode): Fix invalid setq call.
9399
9400 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
9401
9402 * isearch.el: Misc simplification; use defstruct.
9403 (isearch-mode-map): Dense maps now work like sparse ones.
9404 (isearch--state): New defstruct.
9405 (isearch-string-state, isearch-message-state, isearch-point-state)
9406 (isearch-success-state, isearch-forward-state)
9407 (isearch-other-end-state, isearch-word-state, isearch-error-state)
9408 (isearch-wrapped-state, isearch-barrier-state)
9409 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
9410 replaced by defstruct's accessors.
9411 (isearch--set-state): Rename from isearch-top-state and change
9412 calling convention.
9413 (isearch-push-state): Use new isearch--get-state.
9414 (isearch-toggle-word): Disable regexp when enabling word.
9415 (isearch-message-prefix): Remove unused arg _c-q-hack.
9416 (isearch-message-suffix): Remove unused arg _ellipsis.
9417
9418 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
9419
9420 * simple.el (list-processes--refresh): For a server use :host or
9421 :local as the address.
9422 (list-processes): Doc fix.
9423
9424 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
9425
9426 * lisp/mpc.el: Support password in host argument.
9427 (mpc--proc-connect): Parse and use new password element.
9428 Set mpc-proc variable instead of returning process.
9429 (mpc-proc): Adjust accordingly.
9430
9431 2012-08-03 Eli Zaretskii <eliz@gnu.org>
9432
9433 * whitespace.el (whitespace-display-mappings): Use Unicode
9434 codepoints, instead of emacs-mule codepoints. See
9435 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
9436 for the details.
9437
9438 * files.el (file-truename): Don't skip symlink-chasing part on
9439 windows-nt. Incorporate the resolution of 8+3 short aliases on
9440 Windows into the loop that recursively chases symlinks.
9441 Compare directory and its parent case-insensitively on MS-Windows and
9442 MS-DOS.
9443
9444 2012-08-03 Chong Yidong <cyd@gnu.org>
9445
9446 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
9447
9448 * sort.el (sort-regexp-fields): Doc fix.
9449
9450 2012-08-03 Tassilo Horn <tsdh@gnu.org>
9451
9452 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
9453 labels regex position point at the expected place.
9454
9455 2012-08-03 MON KEY <monkey@sandpframing.com>
9456
9457 * net/imap.el (imap-interactive-login, imap-authenticate)
9458 (imap-mailbox-lsub, imap-mailbox-list)
9459 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
9460 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
9461 (imap-parse-response): Doc fix.
9462
9463 2012-08-03 JoĂ£o TĂ¡vora <joaotavora@gmail.com>
9464
9465 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
9466 if sexp scanning does not move point (Bug#5734).
9467
9468 2012-08-02 Tassilo Horn <tsdh@gnu.org>
9469
9470 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
9471 Add listings, minted, and ctable packages.
9472 (reftex-label-alist-builtin): Move listings, minted, and ctable
9473 entries before LaTeX.
9474 (reftex-label-alist): Docfix.
9475
9476 2012-08-02 Bastien Guerry <bzg@gnu.org>
9477
9478 * replace.el (occur): Fix docstring (bug#12122).
9479
9480 2012-08-02 Glenn Morris <rgm@gnu.org>
9481
9482 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
9483
9484 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
9485
9486 Obsolete alias inactivate-current-input-method-function (Bug#10150).
9487 * international/mule-cmds.el: Create
9488 inactivate-current-input-method-function as an obsolete alias for
9489 deactivate-current-input-method-function. See Katsumi Yamaoka in
9490 <http://bugs.gnu.org/10150#46>.
9491
9492 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
9493
9494 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
9495 of nested `if's.
9496
9497 2012-08-01 Glenn Morris <rgm@gnu.org>
9498
9499 * progmodes/autoconf.el (autoconf-definition-regexp):
9500 Add AH_TEMPLATE, adjust submatch numbering.
9501 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
9502 (autoconf-current-defun-function): Update for above change.
9503 (autoconf-current-defun-function): First skip to end of current word.
9504
9505 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
9506
9507 * calendar/cal-html.el (cal-html-insert-agenda-days):
9508 Fix typo. (Bug#12018)
9509
9510 2012-07-31 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
9511
9512 Shell processes: enhancements to startup and CEDET compatibility.
9513 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
9514 (python-shell-make-comint): accept-process-output at startup.
9515 (run-python-internal): Set inferior-python-mode-hook to nil.
9516 (python-shell-internal-get-or-create-process): call sit-for.
9517 (python-preoutput-result): Add obsolete alias.
9518 (python-shell-internal-send-string): Use it.
9519 (python-shell-send-setup-code): Remove call to
9520 accept-process-output.
9521
9522 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
9523
9524 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
9525 (Bug#12108)
9526
9527 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
9528
9529 * calc-mode.el (calc-basic-simplification-mode): Rename from
9530 `calc-limited-simplification-mode'.
9531 (calc-alg-simplification-mode): New function.
9532 (calc-set-simplify-mode): Adjust message.
9533
9534 * calc.el (calc-set-mode-line): Adjust mode line display for
9535 basic simplification mode.
9536
9537 * calc-help.el (calc-m-prefix-help): Update help message.
9538
9539 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
9540 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
9541
9542 2012-07-31 Bastien Guerry <bzg@gnu.org>
9543
9544 * man.el (man): Fix comment. (bug#12101)
9545
9546 2012-07-31 Martin Rudalics <rudalics@gmx.at>
9547
9548 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
9549 Don't return a non-nil value when no suitable buffer was found.
9550
9551 2012-07-31 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
9552
9553 * progmodes/python.el (run-python-internal): Disable font lock for
9554 internal shells.
9555
9556 2012-07-30 Stefan Merten <smerten@oekonux.de>
9557
9558 * textmodes/rst.el: Silence `checkdoc-ispell'.
9559 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
9560 (rst-official-version, rst-official-cvs-rev)
9561 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
9562 (rst-mode-map): New key binding.
9563
9564 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
9565
9566 Update .PHONY listings in makefiles.
9567 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
9568 autoloads, update-subdirs, updates, bzr-update, update-authors,
9569 compile-onefile, compile-calc, backup-compiled-files,
9570 compile-after-backup, compile-one-process, mh-autoloads,
9571 bootstrap-clean, distclean, maintainer-clean.
9572
9573 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
9574
9575 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
9576 (calc-set-mode-line): Don't display "AlgSimp ".
9577
9578 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
9579 (calc-lim-simplify-mode): New function.
9580 (calc-set-simplify-mode): Default to 'alg.
9581 (calc-default-simplify-mode): Make algebraic simplifications
9582 the default.
9583
9584 * calc/calc-ext.el (calc-init-extensions): Remove binding for
9585 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
9586
9587 * calc/calc-help.el (calc-m-prefix-help): Change messages to
9588 indicate new simplification modes.
9589
9590 * calc/README: Mention new default simplification mode.
9591
9592 * calc/calc.el (math-normalize-error): New variable.
9593 (math-normalize): Set `math-normalize-error' to t
9594 when there's an error.
9595
9596 * calc/calc-alg.el (math-simplify): Don't simplify when
9597 `math-normalize' returns an error.
9598
9599 2012-07-29 Eli Zaretskii <eliz@gnu.org>
9600
9601 * international/mule-cmds.el (set-locale-environment): Revert last
9602 change, since display-graphic-p returns nil when this function is
9603 called during startup. Instead...
9604
9605 * term/w32console.el (terminal-init-w32console): ...setup the
9606 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
9607
9608 2012-07-29 Juri Linkov <juri@jurta.org>
9609
9610 * simple.el (goto-line): Don't display default line number in the
9611 prompt because it should be displayed by `read-number' (bug#9952).
9612 Add the current line number to the defaults of `goto-line' to
9613 allow its easier modification by users with `M-n' (bug#9201).
9614
9615 * subr.el (read-number): Support multiple default values like in
9616 other minibuffer reading functions. Replace `read' with
9617 `string-to-number' for consistency with `number-to-string'.
9618
9619 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
9620
9621 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
9622 * emulation/viper-init.el (viper-deactivate-input-method-action):
9623 Rename from viper-inactivate-input-method-action.
9624 (viper-deactivate-input-method):
9625 Rename from viper-inactivate-input-method.
9626 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
9627 * international/mule-cmds.el (deactivate-input-method):
9628 Rename from inactivate-input-method.
9629 Also run input-method-deactivate-hook.
9630 (deactivate-current-input-method-function):
9631 Rename from inactivate-current-input-method-function.
9632 (input-method-deactivate-hook): New hook.
9633 (input-method-inactivate-hook): Mark obsolete.
9634 (inactivate-input-method): Mark obsolete.
9635
9636 * international/quail.el (quail-activate):
9637 Also run quail-deactivate-hook.
9638 (quail-deactivate): Rename from quail-inactivate.
9639 * international/robin.el (robin-activate):
9640 Also run robin-deactivate-hook.
9641 (robin-deactivate): Rename from robin-inactivate.
9642
9643 2012-07-29 Chong Yidong <cyd@gnu.org>
9644
9645 * simple.el (indicate-copied-region): New function.
9646 (kill-ring-save): Split off from here.
9647
9648 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
9649 (kill-rectangle): Set deactivate-mark to t on read-only error.
9650
9651 * register.el (copy-to-register, copy-rectangle-to-register):
9652 Deactivate the mark, and use indicate-copied-region (Bug#10056).
9653 (append-to-register, prepend-to-register): Call indicate-copied-region.
9654
9655 2012-07-29 Juri Linkov <juri@jurta.org>
9656
9657 * simple.el (async-shell-command-buffer): New defcustom.
9658 (shell-command): Use it. (Bug#4719)
9659
9660 2012-07-28 Eli Zaretskii <eliz@gnu.org>
9661
9662 * international/mule-cmds.el (set-locale-environment): In a
9663 console session on MS-Windows, set up keyboard and terminal
9664 encoding from the OEM codepage, not the ANSI codepage.
9665 (Bug#12055)
9666
9667 2012-07-28 Chong Yidong <cyd@gnu.org>
9668
9669 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
9670 gdb-get-location.
9671
9672 2012-07-28 Leo Liu <sdl.web@gmail.com>
9673
9674 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
9675 the alist (bug#12029).
9676
9677 2012-07-28 Eli Zaretskii <eliz@gnu.org>
9678
9679 * makefile.w32-in (custom-deps, finder-data, updates, compile)
9680 (compile-always, compile-first)
9681 ($(lisp)/calendar/cal-loaddefs.el)
9682 ($(lisp)/calendar/diary-loaddefs.el)
9683 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
9684 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
9685 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
9686 instead of on update-subdirs.
9687 (bootstrap-clean): Delete $(lisp)/subdirs.el.
9688
9689 2012-07-28 Chong Yidong <cyd@gnu.org>
9690
9691 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
9692 directory if vc-deduce-backend returns nil (Bug#7350).
9693
9694 * simple.el (delete-trailing-lines): New option.
9695 (delete-trailing-whitespace): Obey it (Bug#11879).
9696
9697 2012-07-28 David Engster <deng@randomsample.de>
9698
9699 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
9700 Explanation of new 'symbol-qnames feature in doc-strings.
9701 (xml-maybe-do-ns): Return expanded names as plain symbols if
9702 'symbol-qnames was provided in XML-NS argument (Bug#11916).
9703 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
9704
9705 2012-07-27 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
9706
9707 Consistent completion in inferior python with emacs -nw.
9708 * progmodes/python.el (inferior-python-mode): replace "<tab>"
9709 binding in inferior-python-mode-map with "\t".
9710 (python-shell-completion-complete-at-point)
9711 (python-completion-complete-at-point): Remove interactive spec.
9712
9713 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
9714
9715 * calc/calccomp.el (math-compose-expr): Undo previous change.
9716
9717 2012-07-27 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
9718
9719 * progmodes/python.el (python-mode-map): Add keybinding for
9720 run-python.
9721 (python-shell-make-comint): Fix pop-to-buffer call.
9722 (run-python): Autoload. New arg SHOW.
9723 (python-shell-get-or-create-process): Do not pop python process
9724 buffer.
9725
9726 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
9727
9728 * notifications.el (notifications-on-action-signal)
9729 (notifications-on-closed-signal): Use also the bus address for the map.
9730 (notifications-notify, notifications-close-notification)
9731 (notifications-get-capabilities): Add optional argument BUS.
9732
9733 2012-07-27 Tassilo Horn <tsdh@gnu.org>
9734
9735 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
9736 Add support for the lstlisting and minted environments, and for the
9737 ctable macro.
9738 * textmodes/reftex.el (reftex-compile-variables): Also recognize
9739 labels written in keyvals syntax.
9740
9741 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
9742
9743 * calc/calccomp.el (math-compose-expr): Use parentheses when
9744 there is a product in the denominator of a fraction.
9745
9746 2012-07-26 Eli Zaretskii <eliz@gnu.org>
9747
9748 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
9749 ($(lisp)/calendar/diary-loaddefs.el)
9750 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
9751 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
9752 Fixes failures in parallel bootstrap because subdirs.el is being
9753 rewritten while the autoload files are built at the same time,
9754 which needs to load subdirs.el.
9755
9756 2012-07-26 Martin Rudalics <rudalics@gmx.at>
9757
9758 * mouse.el (popup-menu): Fix doc-string and re-indent code.
9759 (mouse-drag-line): Don't exit tracking when a switch-frame or
9760 switch-window event occurs (Bug#12006).
9761
9762 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
9763
9764 * mouse.el (popup-menu): Fix last change.
9765
9766 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
9767
9768 Autoload from Lisp with more care. Follow aliases when looking for
9769 function properties.
9770 * subr.el (autoloadp): New function.
9771 (symbol-file): Use it.
9772 (function-get): New function.
9773 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
9774 autoload-do-load.
9775 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
9776 (lisp-indent-function):
9777 * emacs-lisp/gv.el (gv-get):
9778 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
9779 * emacs-lisp/byte-opt.el (byte-optimize-form):
9780 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
9781 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
9782 Use function-get.
9783 * emacs-lisp/cl.el: Don't propagate function properties any more.
9784
9785 * speedbar.el (speedbar-add-localized-speedbar-support):
9786 * emacs-lisp/disass.el (disassemble-internal):
9787 * desktop.el (desktop-load-file):
9788 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
9789 (describe-function-1):
9790 * emacs-lisp/find-func.el (find-function-noselect):
9791 * emacs-lisp/elp.el (elp-instrument-function):
9792 * emacs-lisp/advice.el (ad-has-proper-definition):
9793 * apropos.el (apropos-safe-documentation, apropos-macrop):
9794 * emacs-lisp/debug.el (debug-on-entry):
9795 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
9796 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
9797 * calc/calc.el (name): Use autoloadp & autoload-do-load.
9798
9799 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
9800
9801 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
9802 function, not an obsolete variable (Bug#12046).
9803
9804 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
9805
9806 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
9807
9808 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
9809
9810 * emacs-lisp/pp.el (pp-display-expression): Select old selected
9811 window only if it is still live (Bug#12034).
9812
9813 2012-07-25 Martin Rudalics <rudalics@gmx.at>
9814
9815 * subr.el (redirect-frame-focus): Add advertised calling
9816 convention (Bug#12030).
9817
9818 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
9819
9820 Prefer typical American spelling for "acknowledgment".
9821 * vc/add-log.el (change-log-acknowledgment): Rename from
9822 change-log-acknowledgement, with an alias for the old name.
9823
9824 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
9825
9826 * calc-alg.el (math-simplify-divide): Don't cross multiply
9827 in an equation when the lhs is a variable.
9828
9829 2012-07-24 Julien Danjou <julien@danjou.info>
9830
9831 * net/netrc.el (netrc-find-service-number, netrc-store-data):
9832 Remove, unused.
9833
9834 2012-07-23 Eli Zaretskii <eliz@gnu.org>
9835
9836 * startup.el (command-line): Don't display an empty user name in
9837 the error message about non-existent home directory, when
9838 init-file-user was set to an empty string. See
9839 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
9840 for the details and context.
9841
9842 2012-07-22 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
9843
9844 * ses.el (ses-cell-formula-aset): New macro.
9845 (ses-cell-references-aset): New macro.
9846 (ses-cell-p): New function.
9847 (ses-rename-cell): Do no longer rely on complex operations like
9848 ses-cell-set-formula or ses-set-cell to change the cell and handle
9849 the undo at the same time, but rather use lower level new macros
9850 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
9851 the undo directly. Refresh the mode line.
9852
9853 2012-07-21 Leo Liu <sdl.web@gmail.com>
9854
9855 * progmodes/cc-cmds.el (c-defun-name):
9856 Use match-string-no-properties instead for consistency.
9857
9858 2012-07-20 Leo Liu <sdl.web@gmail.com>
9859
9860 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
9861 (Bug#7879)
9862
9863 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
9864
9865 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
9866
9867 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
9868 * progmodes/bug-reference.el, misearch.el: Provide themselves
9869 (bug#11915).
9870
9871 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
9872 of narrowed buffer (bug#11966).
9873
9874 2012-07-20 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
9875
9876 * ses.el (ses-rename-cell): Set new name also in reference list of
9877 cells of which the renamed cell depends.
9878
9879 2012-07-20 Masatake YAMATO <yamato@redhat.com>
9880
9881 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
9882 to check whether menu-bar is shown or not. If not shown,
9883 show the menu-bar as a popup menu instead of using tmm.
9884 * mouse.el (popup-menu): Accept `point' as `position' argument.
9885
9886 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
9887
9888 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
9889 up inside string symbol literal (bug#11923).
9890
9891 2012-07-20 Eli Zaretskii <eliz@gnu.org>
9892
9893 * startup.el (fancy-startup-text): Read the whole tutorial, not
9894 just its first 256 bytes. Prevents gibberish in display of the
9895 tutorial title.
9896
9897 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
9898
9899 Drop idle buffer compaction due to an absence of the
9900 proved efficiency.
9901 * compact.el: Remove.
9902
9903 2012-07-19 Sam Steingold <sds@gnu.org>
9904
9905 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
9906 vc-bzr-pull & vc-bzr-merge-branch.
9907 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
9908 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
9909 for consistency with compilation-error-regexp-alist.
9910 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
9911 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
9912 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
9913 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
9914
9915 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
9916
9917 * emacs-lisp/chart.el: Use lexical-binding.
9918 (chart-emacs-storage): Don't hardcode the list of entries.
9919
9920 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
9921
9922 Next round of tweaks caused by Fgarbage_collect changes.
9923 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
9924
9925 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
9926
9927 Compact buffers when idle.
9928 * compact.el: New file.
9929
9930 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
9931
9932 * subr.el (eventp): Presume that if it looks vaguely like an event,
9933 it's an event (bug#10190).
9934
9935 2012-07-19 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
9936
9937 Enhancements to ppss related code (thanks Stefan).
9938 * progmodes/python.el (python-indent-context)
9939 (python-indent-calculate-indentation, python-indent-dedent-line)
9940 (python-indent-electric-colon, python-nav-forward-block)
9941 (python-mode-abbrev-table)
9942 (python-info-assignment-continuation-line-p): Simplify checks
9943 for ppss context.
9944 (python-info-continuation-line-p): Cleanup.
9945 (python-info-ppss-context): Do not catch 'quote.
9946 (python-info-ppss-context-type)
9947 (python-info-ppss-comment-or-string-p): Simplify.
9948
9949 2012-07-18 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
9950
9951 * progmodes/python.el: Enhancements to eldoc support.
9952 (python-info-current-symbol): New function.
9953 (python-eldoc-at-point): Use python-info-current-symbol.
9954 (python-info-current-defun): Fix cornercase on first defun scan.
9955 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
9956 and signal error when no inferior python process is available.
9957
9958 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
9959
9960 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
9961 assume it's always t.
9962 (vc-git-registered): Remove caching, the function is only called
9963 once.
9964 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
9965
9966 2012-07-18 Chong Yidong <cyd@gnu.org>
9967
9968 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
9969
9970 * simple.el (count-words): Report on narrowing (Bug#9959).
9971
9972 * bindings.el: Bind M-= to count-words.
9973
9974 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
9975
9976 2012-07-18 Masatake YAMATO <yamato@redhat.com>
9977
9978 * progmodes/sh-script.el (sh-imenu-generic-expression):
9979 Capture a function with `function' keyword and without parentheses
9980 like "function FOO" (bug#11856).
9981
9982 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
9983
9984 * window.el (split-window-sensibly): Make WINDOW argument
9985 optional.
9986
9987 2012-07-18 Chong Yidong <cyd@gnu.org>
9988
9989 * subr.el (keyboard-translate): Doc fix (Bug#7261).
9990
9991 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
9992 and make C-x 8 RET exit isearch (Bug#11439).
9993
9994 * international/iso-transl.el: Move isearch-mode-map key
9995 definitions to isearch.el.
9996
9997 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
9998
9999 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
10000 (eieio-defclass): Use gv-define-setter when possible.
10001
10002 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
10003
10004 Reflect recent changes in Fgarbage_collect.
10005 * emacs-lisp/chart.el (chart-emacs-storage): Change to
10006 reflect new format of data returned by Fgarbage_collect.
10007
10008 2012-07-17 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10009
10010 New utility functions + python-info-ppss-context fix (Bug#11910).
10011 * progmodes/python.el (python-info-beginning-of-block-statement-p)
10012 (python-info-ppss-comment-or-string-p): New functions.
10013 (python-info-ppss-context): Small fix for string check.
10014
10015 2012-07-17 Juri Linkov <juri@jurta.org>
10016
10017 * dired-aux.el (dired-do-async-shell-command): Doc fix.
10018 (dired-do-async-shell-command): Don't add `*' at the end of the
10019 command (Bug#11815).
10020 (dired-do-shell-command): Doc fix.
10021 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
10022 Join the individual commands using either "&" or ";" as the
10023 separator depending on the values of these trailing characters.
10024 At the end re-add the trailing "&". (Bug#10598)
10025
10026 * simple.el (async-shell-command): Sync the interactive spec with
10027 `shell-command'. Doc fix.
10028 (shell-command): Doc fix.
10029
10030 2012-07-17 Juri Linkov <juri@jurta.org>
10031
10032 * descr-text.el (describe-char): Fix format args. (Bug#10129)
10033
10034 2012-07-17 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10035
10036 Final renames and doc fixes for movement commands (bug#11899).
10037 * progmodes/python.el (python-nav-beginning-of-statement):
10038 Rename from python-nav-statement-start.
10039 (python-nav-end-of-statement): Rename from
10040 python-nav-statement-end.
10041 (python-nav-beginning-of-block): Rename from
10042 python-nav-block-start.
10043 (python-nav-end-of-block): Rename from python-nav-block-end.
10044
10045 2012-07-17 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10046
10047 * progmodes/python.el (python-shell-send-string-no-output):
10048 Allow accept-process-output to quit, keeping shell process ready for
10049 future interactions (Bug#11868).
10050
10051 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
10052
10053 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
10054
10055 * emacs-lisp/elint.el (elint-find-args-in-code):
10056 Use help-function-arglist, so as to handle lexical byte-code.
10057
10058 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
10059 change (bug#11826).
10060
10061 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
10062
10063 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
10064 Avoid spuriously marking the buffer as modified because of c-is-sws.
10065
10066 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
10067 as not-a-comment (bug#11946).
10068
10069 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
10070 for uninterned vars.
10071
10072 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
10073 Use read-event since we don't really want to read chars but bytes.
10074
10075 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
10076 $$..$$ but also $..$ using regexps (bug#11953).
10077 Use tex-verbatim for \url and \path.
10078 (tex-font-lock-keywords): Define as defconst like the others.
10079 (tex-common-initialization): Don't use font-lock-syntax-table any more.
10080
10081 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
10082
10083 * international/mule-cmds.el (ucs-insert): Make it an obsolete
10084 alias for insert-char.
10085
10086 2012-07-16 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10087
10088 * progmodes/python.el: Simplified imenu implementation.
10089 (python-nav-jump-to-defun): Remove command.
10090 (python-mode-map): Use `imenu' instead.
10091 (python-nav-list-defun-positions-cache)
10092 (python-imenu-include-defun-type, python-imenu-make-tree)
10093 (python-imenu-subtree-root-label, python-imenu-index-alist):
10094 Remove vars.
10095 (python-nav-list-defun-positions, python-nav-read-defun)
10096 (python-imenu-tree-assoc, python-imenu-make-element-tree)
10097 (python-imenu-make-tree, python-imenu-create-index):
10098 Remove functions.
10099 (python-mode): Update to interact with imenu by setting
10100 `imenu-extract-index-name-function' only.
10101
10102 2012-07-16 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10103
10104 * progmodes/python.el: Enhancements to navigation commands.
10105 (python-nav-backward-sentence)
10106 (python-nav-forward-sentence): Remove.
10107 (python-nav-backward-statement, python-nav-forward-statement)
10108 (python-nav-statement-start, python-nav-statement-end)
10109 (python-nav-backward-block, python-nav-forward-block)
10110 (python-nav-block-start, python-nav-block-end)
10111 (python-nav-forward-sexp-function)
10112 (python-info-current-line-comment-p)
10113 (python-info-current-line-empty-p): New functions.
10114 (python-indent-context): Use `python-nav-statement-start'.
10115
10116 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
10117
10118 * eshell/em-ls.el (eshell/ls): Use `apply'.
10119
10120 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
10121 multi-hops, instead of Tramp internals.
10122
10123 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
10124
10125 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
10126 when F1 and F2 are located on different hosts.
10127
10128 2012-07-14 Chong Yidong <cyd@gnu.org>
10129
10130 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
10131 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
10132 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
10133 (xterm-mouse--read-event-sequence-1000)
10134 (xterm-mouse--read-event-sequence-1006): New functions. For old
10135 mouse protocol, handle M-mouse-X events correctly.
10136 (xterm-mouse-event): New arg specifying mouse protocol.
10137 (turn-on-xterm-mouse-tracking-on-terminal)
10138 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
10139 sequence to toggle extended coordinates on newer XTerms.
10140 This appears to be harmless on terminals which do not support this.
10141
10142 2012-07-14 Leo Liu <sdl.web@gmail.com>
10143
10144 Add fringe bitmap indicators for flymake. (Bug#11253)
10145 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
10146 (flymake-make-overlay): New arg BITMAP.
10147 (flymake-error-bitmap, flymake-warning-bitmap)
10148 (flymake-fringe-indicator-position): New user variables.
10149
10150 * fringe.el: New bitmap exclamation-mark.
10151
10152 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
10153
10154 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
10155 also (Bug#7879).
10156
10157 2012-07-14 Chong Yidong <cyd@gnu.org>
10158
10159 * electric.el (electric-pair-post-self-insert-function): Fix pair
10160 insertion in empty-region case (Bug#11520).
10161
10162 2012-07-14 Chong Yidong <cyd@gnu.org>
10163
10164 * bindings.el: Consolidate ctl-x-r-map bindings.
10165 Bind copy-rectangle-as-kill to C-x r w.
10166
10167 * rect.el, register.el: Move bindings to bindings.el.
10168
10169 2012-07-14 Reuben Thomas <rrt@sc3d.org>
10170
10171 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
10172
10173 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
10174
10175 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
10176
10177 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
10178
10179 * bindings.el (top): Use `mapc' instead of `mapcar'.
10180
10181 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
10182
10183 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
10184
10185 * progmodes/sql.el (sql-comint): Suppress the check for program on
10186 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
10187 (Bug#11908)
10188
10189 2012-07-13 Chong Yidong <cyd@gnu.org>
10190
10191 * bindings.el: Assign a non-nil permanent-local property to
10192 per-buffer variables which lack a default value (Bug#11930).
10193
10194 * help-fns.el (describe-variable): In the "automatically becomes
10195 local" notice, take note of permanent-local variables.
10196
10197 2012-07-13 Chong Yidong <cyd@gnu.org>
10198
10199 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
10200 to allow printing the message when called from Lisp.
10201
10202 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
10203 Remove toggle-read-only.
10204
10205 * bs.el (bs-toggle-readonly):
10206 * buff-menu.el (Buffer-menu-toggle-read-only):
10207 Remove with-no-warnings around toggle-read-only.
10208
10209 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
10210 Remove with-no-warnings around toggle-read-only.
10211 (ffap-read-only, ffap-read-only-other-window)
10212 (ffap-read-only-other-frame): Callers changed.
10213
10214 * help-mode.el: Don't require view package.
10215 (help-mode-finish): Set buffer-read-only instead of calling
10216 toggle-read-only.
10217
10218 * bindings.el (mode-line-toggle-read-only):
10219 * dired.el (dired-toggle-read-only):
10220 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
10221 with non-nil second arg.
10222
10223 * emacs-lisp/eieio-custom.el (eieio-customize-object):
10224 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
10225 directly.
10226
10227 2012-07-12 Eli Zaretskii <eliz@gnu.org>
10228
10229 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
10230 not incf.
10231
10232 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
10233
10234 More CL cleanups and reduction of use of cl.el.
10235 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
10236 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
10237 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
10238 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
10239 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
10240 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
10241 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
10242 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
10243 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
10244 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
10245 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
10246 * eshell/em-cmpl.el, eshell/em-banner.el:
10247 * calendar/parse-time.el: Use cl-lib.
10248 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
10249 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
10250 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
10251 * term/ns-win.el, term.el, shell.el, ps-samp.el:
10252 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
10253 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
10254 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
10255 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
10256 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
10257 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
10258 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
10259 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
10260 `lambda' rather than with `quote'.
10261 (eshell-do-opt): Adjust accordingly.
10262 (eshell-process-option): Simplify.
10263 * eshell/esh-var.el:
10264 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
10265 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
10266 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
10267 to `pcase--dontcare'.
10268 * emacs-lisp/cl.el (labels): Mark obsolete.
10269 (cl--letf, letf): Move to cl-lib.
10270 (cl--letf*, letf*): Remove.
10271 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
10272 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
10273 (cl-progv): Rewrite.
10274 (cl--letf, cl-letf): Move from cl.el.
10275 (cl-letf*): New macro.
10276 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
10277
10278 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
10279
10280 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
10281
10282 2012-07-11 Chong Yidong <cyd@gnu.org>
10283
10284 * vc/log-edit.el (log-edit-vc-backend): New variable.
10285 (log-edit): Doc fix.
10286
10287 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
10288 argument of log-edit to set up all local variables.
10289 (vc-start-logentry): New optional arg specifying VC backend.
10290
10291 * vc/vc.el (vc-checkin): Use it.
10292 (vc-deduce-fileset): Handle Log Edit buffers.
10293 (vc-diff): Make first argument optional too.
10294
10295 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
10296
10297 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
10298
10299 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
10300 command, just in case. The function is not needed anymore.
10301 (eshell-external-command): Do not call `eshell-remote-command'.
10302
10303 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
10304
10305 Reduce use of (require 'cl).
10306 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
10307 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
10308 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
10309 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
10310 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
10311 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
10312 * battery.el, avoid.el, abbrev.el: Use cl-lib.
10313 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
10314 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
10315 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
10316 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
10317 * calculator.el, autorevert.el, apropos.el: Don't require CL.
10318 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
10319 (byte-compile-unfold-bcf, byte-compile-check-variable):
10320 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
10321 (byte-compile-nilconstp):
10322 * emacs-lisp/autoload.el (make-autoload): Use pcase.
10323 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
10324
10325 * emacs-lisp/gv.el (cond): Make it a valid place.
10326 (if): Simplify slightly.
10327
10328 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
10329 (pcase--self-quoting-p): New function.
10330 (pcase--u1): Use it.
10331
10332 2012-07-10 Glenn Morris <rgm@gnu.org>
10333
10334 * emacs-lisp/authors.el (authors-fixed-entries):
10335 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
10336
10337 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
10338
10339 Rename configure.in to configure.ac (Bug#11603).
10340 * emacs-lisp/authors.el (authors-canonical-file-name):
10341 * progmodes/autoconf.el (autoconf-mode):
10342 Prefer configure.ac to configure.in.
10343
10344 2012-07-08 Chong Yidong <cyd@gnu.org>
10345
10346 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
10347 Implement the mouse-1-click-follows-link handling properly.
10348
10349 * info.el (Info-link-keymap): Use follow-link mechanism for
10350 header-line links (Bug#374).
10351
10352 * simple.el (deactivate-mark): Do not set the primary selection
10353 if another program has acquired it (Bug#11772).
10354
10355 2012-07-07 Kevin Ryde <user42@zip.com.au>
10356
10357 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
10358 (woman-decode-region): Replace escaped-escapes without destroying
10359 bold or underline (Bug#11552).
10360 (woman2-process-escapes): Handle nofill regions (Bug#11591).
10361
10362 2012-07-07 Chong Yidong <cyd@gnu.org>
10363
10364 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
10365 (interprogram-cut-function, interprogram-paste-function):
10366 Mention that we typically mean the clipboard.
10367
10368 2012-07-06 Glenn Morris <rgm@gnu.org>
10369
10370 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
10371
10372 * files.el (toggle-read-only): Restrict message to interactive use.
10373
10374 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
10375
10376 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
10377
10378 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
10379
10380 2012-07-06 Glenn Morris <rgm@gnu.org>
10381
10382 * Makefile.in (compile-one-process): Rename from "recompile".
10383
10384 * Makefile.in (bzr-update): "compile" is the same as "recompile
10385 autoloads", but parallelizable, so use that instead.
10386
10387 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
10388
10389 * window.el (quit-window): Always restore window height when
10390 it's saved in quit-restore parameter (Bug#11810).
10391
10392 2012-07-06 Glenn Morris <rgm@gnu.org>
10393
10394 * simple.el (kill-whole-line): Doc tweak.
10395
10396 2012-07-06 Eli Zaretskii <eliz@gnu.org>
10397
10398 * files.el (file-relative-name): Compare file names
10399 case-insensitively if on MS-Windows or MS-DOS, or if
10400 read-file-name-completion-ignore-case is non-nil. Don't use
10401 case-fold-search for this purpose. (Bug#11827)
10402
10403 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
10404
10405 * calendar/cal-dst.el (calendar-current-time-zone):
10406 Return calendar-current-time-zone-cache if non-nil.
10407
10408 2012-07-17 Masatake YAMATO <yamato@redhat.com>
10409 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
10410
10411 * calendar/cal-dst.el (calendar-current-time-zone):
10412 Return calendar-current-time-zone-cache if non-nil.
10413
10414 2012-07-06 Glenn Morris <rgm@gnu.org>
10415
10416 * Makefile.in (cvs-update): Remove old alias.
10417
10418 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
10419
10420 Sync with Tramp 2.2.6-pre.
10421
10422 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
10423 compatible declaration.
10424
10425 * net/tramp-cmds.el (tramp-append-tramp-buffers):
10426 Protect `list-load-path-shadows' call.
10427
10428 * net/tramp-compat.el (top): Require packages, which aren't
10429 autoloaded anymore for XEmacs. Protect call of
10430 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
10431 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
10432 it hurts at least for SXEmacs.
10433 (tramp-compat-temporary-file-directory): In XEmacs, there is no
10434 standard-value for `temporary-file-directory'.
10435
10436 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
10437 Redirect stderr to /dev/null.
10438 (tramp-sh-handle-write-region): uid and gid can be floats.
10439 Reported by Russell Sim <russell.sim@gmail.com>.
10440 (tramp-sh-handle-vc-registered): Hide errors.
10441 (tramp-vc-file-name-handler): Use dummy results for `process-file'
10442 and `start-file-process'.
10443 (tramp-maybe-open-connection): Check also whether `non-essential'
10444 is bound.
10445
10446 2012-07-04 Chong Yidong <cyd@gnu.org>
10447
10448 * xml.el (xml--parse-buffer): Use xml-syntax-table.
10449 (xml-parse-tag): Likewise, and avoid changing entity tables.
10450 (xml-syntax-table): Define from scratch, making sure not to give
10451 x2000 and other Unicode spaces whitespace syntax, since those are
10452 not spaces in XML.
10453 (xml-parse-fragment): Delete unused function.
10454 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
10455 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
10456 (xml-entity-ref, xml-pe-reference-re)
10457 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
10458 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
10459 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
10460 (xml-entity-value-re): Use syntax references in regexps where
10461 possible; no need to define inside a let-binding.
10462 (xml-parse-dtd): Use xml-pe-reference-re.
10463 (xml-entity-or-char-ref-re): New defconst.
10464 (xml-parse-string, xml-substitute-special): Use it.
10465
10466 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
10467
10468 * files.el (locate-dominating-file): Allow `name' to be a predicate.
10469 (find-file--read-only): New function.
10470 (find-file-read-only, find-file-read-only-other-window)
10471 (find-file-read-only-other-frame): Use it.
10472 (insert-file-contents-literally): Don't `fset'.
10473 (get-free-disk-space): Use locate-dominating-file.
10474
10475 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
10476 function is already compiled.
10477
10478 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
10479
10480 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
10481
10482 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
10483 files on the same host.
10484
10485 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
10486
10487 * help-fns.el (describe-function-1): Only call
10488 help-fns--autoloaded-p when we have a file name. (Bug#11848)
10489
10490 2012-07-03 Chong Yidong <cyd@gnu.org>
10491
10492 * xml.el: Protect parser against XML bombs.
10493 (xml-entity-expansion-limit): New variable.
10494 (xml-parse-string, xml-substitute-special): Use it.
10495 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
10496
10497 2012-07-03 Glenn Morris <rgm@gnu.org>
10498
10499 * progmodes/bug-reference.el (bug-reference-bug-regexp):
10500 Allow linking to specific messages in debbugs reports (eg 123#5).
10501
10502 2012-07-02 Chong Yidong <cyd@gnu.org>
10503
10504 * xml.el: Fix entity and character reference expansion, allowing
10505 them to expand into markup as per XML spec.
10506 (xml-default-ns): New variable.
10507 (xml-entity-alist): Use XML spec definitions for lt and amp.
10508 (xml-parse-region): Make first two arguments optional.
10509 Discard text properties.
10510 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
10511 All callers changed.
10512 (xml-parse-tag): Call xml-parse-tag-1. For backward
10513 compatibility, this function should not modify buffer contents.
10514 (xml-parse-tag-1): Fix opening-tag regexp.
10515 (xml-parse-string): Rewrite, handling entity and character
10516 references properly.
10517 (xml--entity-replacement-text): Signal an error if a parameter
10518 entity is undefined.
10519
10520 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
10521
10522 * comint.el (comint-output-filter): Filter out repeated prompts.
10523
10524 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
10525 and file-name-absolute-p.
10526 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
10527 internal calls.
10528
10529 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
10530
10531 Spelling fixes.
10532 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
10533 Rename from byte-compile--refiy-function. All uses changed.
10534
10535 2012-07-01 Chong Yidong <cyd@gnu.org>
10536
10537 * xml.el (xml--parse-buffer): New function. Move most of
10538 xml-parse-region here.
10539 (xml-parse-region): Copy region into a temporary buffer, since
10540 parameter entity substitution requires changing buffer contents.
10541 Use xml--parse-buffer.
10542 (xml-parse-file): Use xml--parse-buffer.
10543 (xml-parse-dtd): Make parameter entity substitution work right.
10544 Use proper regexps for ELEMENT declarations (Bug#7172).
10545
10546 2012-06-30 Glenn Morris <rgm@gnu.org>
10547
10548 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
10549
10550 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
10551 Remove outdated and unnecessary dbus declarations.
10552
10553 2012-06-30 Eli Zaretskii <eliz@gnu.org>
10554
10555 * emacs-lisp/timer.el (timer-until): Subtract results of
10556 float-time, instead of taking float-time of the result of
10557 time-subtract, since float-time signals an error for negative time
10558 arguments.
10559
10560 2012-06-30 Chong Yidong <cyd@gnu.org>
10561
10562 * xml.el (xml-*-re): Convert defvars into defconsts, and
10563 eval-and-compile them so eval-and-compile works on derivatives.
10564 (xml--entity-replacement-text): Use eval-and-comple.
10565
10566 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
10567
10568 * vc/vc-git.el (vc-git-registered): Use cache property
10569 `git-registered'.
10570 (vc-git-mode-line-string): Call `vc-working-revision' instead of
10571 `vc-git-working-revision' in order to benefit from the cache.
10572 (vc-git-root): Use cache property `git-root'. (Bug#11757)
10573
10574 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
10575
10576 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
10577 removed (likely outside Emacs). (Bug#11757)
10578
10579 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
10580
10581 * emacs-lisp/cl-lib.el: Require macroexp.
10582
10583 2012-06-30 Chong Yidong <cyd@gnu.org>
10584
10585 * xml.el: Implement XML parameter entities.
10586 (xml-parameter-entity-alist): New variable.
10587 (xml-parse-region, xml-parse-fragment): Preserve previous values
10588 of xml-entity-alist and xml-parameter-entity-alist, so that
10589 repeated calls on different documents do not change them.
10590 (xml-parse-tag): Fix doctype regexp.
10591 (xml--entity-replacement-text): New function.
10592 (xml-parse-dtd): Use it. Don't handle system entities; doing that
10593 properly requires url retrieval which is unimplemented.
10594 (xml-escape-string): Doc fix.
10595
10596 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
10597
10598 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
10599
10600 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
10601
10602 * fringe.el (fringe-mode): Doc fix.
10603
10604 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
10605
10606 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
10607 is non-nil.
10608 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
10609 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
10610
10611 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
10612
10613 * calendar/cal-dst.el (calendar-current-time-zone):
10614 Return calendar-current-time-zone-cache if non-nil.
10615
10616 2012-06-29 Masatake YAMATO <yamato@redhat.com>
10617
10618 * progmodes/which-func.el (which-func-format):
10619 Add mouse-face. (Bug#11698)
10620
10621 2012-06-29 Leo Liu <sdl.web@gmail.com>
10622
10623 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
10624
10625 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
10626
10627 * minibuffer.el (minibuffer-confirm-exit-commands):
10628 Add completion-at-point (bug#11725).
10629
10630 2012-06-29 Glenn Morris <rgm@gnu.org>
10631
10632 * progmodes/f90.el (f90-font-lock-keywords-2):
10633 Add some preprocessor elements. (Bug#10499)
10634
10635 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
10636
10637 * progmodes/cperl-mode.el (cperl-update-syntaxification):
10638 Use syntax-propertize (bug#11739).
10639
10640 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
10641
10642 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
10643
10644 2012-06-28 Julien Danjou <julien@danjou.info>
10645
10646 * term.el (term-handle-colors-array): Use a set of new faces to
10647 color the terminal. Also uses :inverse-video property.
10648 (term-default-fg-color): Set to nil by default, deprecate in favor
10649 of `term-face'.
10650 (term-default-bg-color): Set to nil by default, deprecate in favor
10651 of `term-face'.
10652 (term-current-face): Use `term-face' by default.
10653 (term-bold-attribute): Variable deleted.
10654
10655 2012-06-28 Glenn Morris <rgm@gnu.org>
10656
10657 * simple.el (completion-list-mode-finish):
10658 Don't use toggle-read-only. (Since completion-list-mode has
10659 a special mode-class, it wasn't doing anything extra anyway.)
10660
10661 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
10662
10663 Make inlining of other-mode interpreted functions work (bug#11799).
10664 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
10665 (byte-compile): Use it to fix compilation of lexical-binding closures.
10666 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
10667 function, if needed.
10668
10669 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
10670
10671 * help-mode.el (help-make-xrefs): Don't just withstand
10672 cyclic-variable-indirection but any error in documentation-property.
10673
10674 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
10675 memory use.
10676 * bindings.el (bindings--define-key): New function.
10677 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
10678 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
10679 * bindings.el: Use it to purecopy define-key bindings.
10680
10681 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
10682
10683 * emacs-lisp/cl.el (flet): Mark obsolete.
10684 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
10685 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
10686 * progmodes/js.el (js-c-fill-paragraph):
10687 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
10688 (ebrowse-switch-member-buffer-to-derived-class):
10689 * play/5x5.el (5x5-solver): Use cl-flet.
10690
10691 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
10692 (cl--symbol-function): New macro.
10693 (cl--letf, cl--letf*): Use it.
10694
10695 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
10696 Strip "toggle-" if any.
10697
10698 2012-06-27 Glenn Morris <rgm@gnu.org>
10699
10700 * info.el (Info-default-directory-list): Move here from paths.el.
10701 * paths.el: Remove file, which is now empty.
10702 * loadup.el: No longer load "paths".
10703
10704 * custom.el (custom-initialize-delay): Doc fix.
10705
10706 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
10707 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
10708 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
10709 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
10710 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
10711 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
10712 * eshell/eshell.el (eshell-defgroup): Remove alias.
10713
10714 2012-06-27 Chong Yidong <cyd@gnu.org>
10715
10716 * help.el (help-enable-auto-load): New variable.
10717
10718 * help-fns.el (help-fns--autoloaded-p): New function.
10719 (describe-function-1): Refer to a function as "autoloaded" if it
10720 was autoloaded at any time in the past. Perform autoloading if
10721 help-enable-auto-load is non-nil.
10722
10723 2012-06-26 Eli Zaretskii <eliz@gnu.org>
10724
10725 * makefile.w32-in (compile, compile-always): Depend on
10726 update-subdirs, not on subdirs.el. Otherwise, several different
10727 sub-targets of 'bootstrap' running in parallel could
10728 simultaneously write to subdirs.el, producing a garbled file.
10729
10730 2012-06-26 Sam Steingold <sds@gnu.org>
10731
10732 * files.el (file-name-base): New convenience function.
10733 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
10734 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
10735 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
10736 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
10737 * textmodes/ispell.el, textmodes/reftex-ref.el:
10738 * textmodes/tex-mode.el: Use it.
10739 Did not touch cedet and org because they are maintained elsewhere.
10740
10741 2012-06-26 Martin Rudalics <rudalics@gmx.at>
10742
10743 * calendar/calendar.el (calendar-exit): Don't try to delete or
10744 iconify last frame. See:
10745 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
10746
10747 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
10748
10749 * server.el (server-process-filter): Remember dir in the
10750 process's `server-client-directory' properties.
10751
10752 2012-06-24 Chong Yidong <cyd@gnu.org>
10753
10754 * xml.el (xml-parse-tag): Correctly handle comment embedded in
10755 non-tag text.
10756
10757 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
10758
10759 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
10760
10761 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
10762
10763 * help-fns.el (describe-variable): Don't croak when doc is not found.
10764 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
10765 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
10766 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
10767 * emacs-lisp/smie.el (smie-next-sexp): CSE.
10768 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
10769 ((lambda ..) ..).
10770 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
10771
10772 2012-06-23 Chong Yidong <cyd@gnu.org>
10773
10774 * info.el (Info-mouse-follow-link): Accept symbol values of
10775 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
10776 (Info-fontify-node): Use Info-link-keymap for all navigation
10777 buttons, with link-args property to perform the desired action.
10778 (Info-link-keymap): Doc fix.
10779 (Info-next-link-keymap, Info-prev-link-keymap)
10780 (Info-up-link-keymap): Delete now-unused keymaps.
10781
10782 2012-06-23 Chong Yidong <cyd@gnu.org>
10783
10784 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
10785
10786 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
10787 system abbrevs.
10788
10789 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
10790
10791 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
10792
10793 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
10794 (bug#11719).
10795
10796 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
10797 the requote function doesn't work properly (bug#11714).
10798
10799 2012-06-23 Glenn Morris <rgm@gnu.org>
10800
10801 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
10802
10803 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
10804
10805 Further GV/CL cleanups.
10806 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
10807 gv-expander.
10808 (gv--defun-declaration): New function.
10809 (defun-declarations-alist): Use it.
10810 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
10811 (gv-place): Autoload.
10812 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
10813 original definition of dotimes and dolist.
10814 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
10815 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
10816 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
10817 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
10818 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
10819 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
10820 to the function's definition.
10821 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
10822 * window.el:
10823 * files.el:
10824 * faces.el:
10825 * env.el: Don't use CL.
10826
10827 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
10828
10829 Support higher-resolution time stamps (Bug#9000).
10830
10831 * calendar/time-date.el (with-decoded-time-value): New arg
10832 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
10833 (encode-time-value): New optional arg PICO. New type 3.
10834 (time-to-seconds) [!float-time]: Support the new picoseconds
10835 component if it's used.
10836 (seconds-to-time, time-subtract, time-add):
10837 Support ps-resolution time stamps as well.
10838
10839 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
10840 (timerp): Timer vectors now have length 9, not 8.
10841 (timer--time): Support new-style (4-part) time stamps.
10842 (timer-next-integral-multiple-of-time): Time stamps now have
10843 picosecond resolution, so take a bit more care about rounding.
10844 (timer-relative-time, timer-inc-time): New optional arg psecs.
10845 (timer-set-time-with-usecs): Set psecs to 0.
10846 (timer--activate): Check psecs component, too.
10847
10848 * proced.el (proced-time-lessp): Support ps-resolution stamps.
10849
10850 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
10851
10852 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
10853 Move the non-essential binding to the post/pre-command-hook where it is
10854 more obviously correct.
10855
10856 * subr.el (read-passwd): Don't use a history at all.
10857 * savehist.el (savehist-save): Remove password saved accidentally
10858 because of the above bug.
10859
10860 2012-06-22 Bastien Guerry <bzg@gnu.org>
10861
10862 * files.el (toggle-read-only): Display a message telling whether
10863 the buffer is read-only or not (bug#11726).
10864
10865 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
10866
10867 * emacs-lisp/gv.el: New file.
10868 * subr.el (push, pop): Extend to generalized variables.
10869 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
10870 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
10871 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
10872 gv-define-simple-setter, and gv-define-expander.
10873 Remove setf-methods defined in gv. Rename cl-setf -> setf.
10874 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
10875 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
10876 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
10877 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
10878 gv-letplace.
10879 (cl-defstruct): Don't define setf-method any more.
10880 * emacs-lisp/cl.el (flet): Don't autoload.
10881 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
10882 (define-setf-expander, defsetf, define-modify-macro)
10883 (cl-struct-setf-expander): Move from cl-lib.el.
10884 * emacs-lisp/syntax.el:
10885 * emacs-lisp/ewoc.el:
10886 * emacs-lisp/smie.el:
10887 * emacs-lisp/cconv.el:
10888 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
10889 (timer--time): Use gv-define-simple-setter.
10890 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
10891 to avoid coding-system problems in subr.el. Adjust all users.
10892 (macroexp--maxsize, macroexp-small-p): New functions.
10893 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
10894 * scroll-bar.el (scroll-bar-mode):
10895 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
10896 (normal-erase-is-backspace-mode): Don't use the `eq' place.
10897 * winner.el (winner-configuration, winner-make-point-alist)
10898 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
10899 * files.el (locate-file-completion-table): Avoid list*.
10900
10901 2012-06-22 Chong Yidong <cyd@gnu.org>
10902
10903 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
10904 (dired-create-files): Doc fix (Bug#11329).
10905 (dired-do-copy): Doc fix (Bug#11334).
10906 (dired-mark-read-string): Doc fix (Bug#11553).
10907
10908 * dired.el (dired-recursive-copies, dired-recursive-deletes):
10909 Doc fix (Bug#11326).
10910 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
10911 (dired-dwim-target): Doc fix.
10912
10913 * wdired.el (wdired-mode): Doc fix.
10914
10915 2012-06-22 Glenn Morris <rgm@gnu.org>
10916
10917 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
10918 (pcmpl-rpm-cache-stamp-file): New constant.
10919 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
10920 (pcmpl-rpm-packages): Optionally cache list of packages.
10921
10922 * pcmpl-rpm.el (pcmpl-rpm): New group.
10923 (pcmpl-rpm-query-options): New option.
10924 (pcmpl-rpm-packages): No need to inline it.
10925 Use pcmpl-rpm-query-options.
10926
10927 * calendar/calendar.el (calendar-in-read-only-buffer):
10928 Avoid some needless mode changes.
10929
10930 2012-06-21 Chong Yidong <cyd@gnu.org>
10931
10932 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
10933 (desktop-path): Remove . from the default value (Bug#10977).
10934 (desktop-read): Use user-emacs-directory if desktop-path is nil.
10935
10936 2012-06-20 Chong Yidong <cyd@gnu.org>
10937
10938 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
10939
10940 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
10941
10942 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
10943 (bug#11201).
10944
10945 2012-06-20 Chong Yidong <cyd@gnu.org>
10946
10947 * term.el (term-window-width): Handle the case of a missing right
10948 fringe (Bug#8837).
10949 (term-check-size): Use window-text-height (Bug#5445).
10950 (term-mode): Use define-derived-mode. Minor cleanups.
10951 Set font-lock-defaults (Bug#7692).
10952 (term-move-columns, term-insert-char, term-emulate-terminal)
10953 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
10954
10955 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
10956
10957 * net/ange-ftp.el (ange-ftp-get-passwd):
10958 Bind `enable-recursive-minibuffers'.
10959 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
10960
10961 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
10962
10963 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
10964
10965 2012-06-19 Glenn Morris <rgm@gnu.org>
10966
10967 * progmodes/python.el (python-mode): Derive from prog-mode.
10968
10969 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
10970
10971 * emulation/edt.el (edt-default-menu-bar-update-buffers)
10972 (edt-user-menu-bar-update-buffers): New functions.
10973 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
10974
10975 2012-06-19 Chong Yidong <cyd@gnu.org>
10976
10977 * subr.el (with-selected-window): Preserve the selected window's
10978 terminal's top-frame (Bug#4702).
10979
10980 * window.el (save-selected-window): Likewise.
10981
10982 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10983
10984 * progmodes/python.el (python-rx-constituents): Move backquote.
10985 (python-skeleton-define, python-define-auxiliary-skeleton):
10986 Use `declare'.
10987
10988 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
10989
10990 * minibuffer.el (read-file-name-default): Revert the patch from
10991 2012-06-17.
10992
10993 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10994
10995 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
10996 (pcase--u1, pcase--q1): Don't use apply-partially.
10997
10998 2012-06-18 Glenn Morris <rgm@gnu.org>
10999
11000 * progmodes/python.el (python-proc, python-buffer)
11001 (python-send-receive, python-send-string): Fix obsolete versions.
11002
11003 2012-06-18 Martin Rudalics <rudalics@gmx.at>
11004
11005 * window.el (special-display-p): Completely remove stringp
11006 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
11007
11008 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
11009
11010 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
11011
11012 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
11013
11014 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
11015 * net/tramp-sh.el (tramp-maybe-open-connection):
11016 Throw if `non-essential' is non-nil.
11017
11018 2012-06-17 Martin Rudalics <rudalics@gmx.at>
11019
11020 * window.el (special-display-p): Signal an error if BUFFER-NAME
11021 is not a string (Bug#11713).
11022
11023 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
11024
11025 * progmodes/python.el (python-info-beginning-of-backslash):
11026 Rename from python-info-beginning-of-backlash, as a spelling fix.
11027
11028 2012-06-17 Chong Yidong <cyd@gnu.org>
11029
11030 * term.el (term-emulate-terminal): If term-check-size is called,
11031 move point to the process mark without resetting point (Bug#4635).
11032
11033 2012-06-17 Glenn Morris <rgm@gnu.org>
11034
11035 * international/mule-cmds.el (mule-menu-keymap)
11036 (set-language-environment, set-locale-environment): Doc tweaks.
11037
11038 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
11039
11040 * cus-face.el (custom-face-attributes): Add wave-style underline
11041 attribute.
11042 * faces.el (set-face-attribute): Update docstring to describe
11043 wave-style underline attribute.
11044
11045 2012-06-16 Chong Yidong <cyd@gnu.org>
11046
11047 * term/xterm.el (terminal-init-xterm): Discard input before
11048 querying background mode (Bug#10959).
11049
11050 2012-06-16 Stefan Merten <smerten@oekonux.de>
11051
11052 * textmodes/rst.el: Added and corrected some comments.
11053 (rst-re-alist-def): Improve symbol syntax.
11054 (rst-mode-syntax-table): Correct syntax entries.
11055 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
11056 (rst-official-version, rst-official-cvs-rev): Update version
11057 information.
11058
11059 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
11060
11061 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
11062 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
11063
11064 2012-06-15 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11065
11066 * progmodes/python.el: New python.el merge.
11067 (python-guess-indent): Obsolete var.
11068 (python-indent-guess-indent-offset): New defcustom.
11069 (python-indent): Obsolete var.
11070 (python-indent-offset): New defcustom.
11071 (python-python-command, python-jython-command): Delete var.
11072 (python-shell-interpreter): New defcustom.
11073 (python-pdbtrack-do-tracking-p): Delete var.
11074 (python-pdbtrack-activate): New defcustom.
11075 (python-use-skeletons): Obsolete var.
11076 (python-skeleton-autoinsert): New defcustom.
11077 (inferior-python-filter-regexp, python-continuation-offset)
11078 (python-honour-comment-indentation, python-indent-string-contents)
11079 (python-jython-packages, python-mode-hook)
11080 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
11081 (python-shell-prompt-alist)
11082 (python-source-modes): Delete defcustoms.
11083 (python-check-buffer-name, python-eldoc-setup-code)
11084 (python-eldoc-string-code, python-ffap-setup-code)
11085 (python-ffap-string-code, python-fill-comment-function)
11086 (python-fill-decorator-function, python-fill-paren-function)
11087 (python-fill-string-function, python-imenu-include-defun-type)
11088 (python-imenu-make-tree, python-imenu-subtree-root-label)
11089 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
11090 (python-shell-compilation-regexp-alist)
11091 (python-shell-completion-module-string-code)
11092 (python-shell-completion-pdb-string-code)
11093 (python-shell-completion-setup-code)
11094 (python-shell-completion-string-code)
11095 (python-shell-enable-font-lock, python-shell-exec-path)
11096 (python-shell-extra-pythonpaths)
11097 (python-shell-internal-buffer-name, python-shell-interpreter-args)
11098 (python-shell-process-environment)
11099 (python-shell-prompt-block-regexp)
11100 (python-shell-prompt-output-regexp)
11101 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
11102 (python-shell-send-setup-max-wait, python-shell-setup-codes)
11103 (python-shell-virtualenv-path): New defcustoms.
11104 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
11105 (inferior-python-mode-syntax-table, python--prompt-regexp)
11106 (python-buffer, python-command python-python-command)
11107 (python-default-template, python-imports, python-indent-index)
11108 (python-indent-list, python-indent-list-length)
11109 (python-mode-running, python-pdbtrack-is-tracking-p)
11110 (python-preoutput-continuation, python-preoutput-leftover)
11111 (python-preoutput-result, python-preoutput-skip-next-prompt)
11112 (python-prev-dir/file, python-recursing)
11113 (python-saved-check-command, python-version-checked)
11114 (python-which-func-length-limit)
11115 (view-return-to-alist): Delete vars.
11116 (python-check-custom-command, python-dotty-syntax-table)
11117 (python-imenu-index-alist, python-indent-current-level)
11118 (python-indent-dedenters, python-indent-levels)
11119 (python-nav-beginning-of-defun-regexp)
11120 (python-nav-list-defun-positions-cache)
11121 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
11122 (python-shell-internal-buffer)
11123 (python-skeleton-available): New vars.
11124 (def-python-skeleton): Delete macro.
11125 (python-skeleton-define): New macro.
11126 (python-define-auxiliary-skeleton, python-rx): New macros.
11127 (python-insert-class): Delete command.
11128 (python-skeleton-class): New command.
11129 (python-insert-def): Delete command.
11130 (python-skeleton-def): New command.
11131 (python-insert-for): Delete command.
11132 (python-skeleton-for): New command.
11133 (python-insert-if): Delete command.
11134 (python-skeleton-if): New command.
11135 (python-insert-try/except, python-insert-try/finally): Delete commands.
11136 (python-skeleton-try): New command.
11137 (python-insert-while): Delete command.
11138 (python-skeleton-while): New command.
11139 (python-backspace): Delete command.
11140 (python-indent-dedent-line-backspace): New command.
11141 (python-electric-colon): Delete command.
11142 (python-indent-electric-colon): New command.
11143 (python-guess-indent): Delete command.
11144 (python-indent-guess-indent-offset): New command.
11145 (python-shift-left): Delete command.
11146 (python-indent-shift-left): New command.
11147 (python-shift-right): Delete command.
11148 (python-indent-shift-right): New command.
11149 (python-find-function): Delete command.
11150 (python-nav-jump-to-defun): New command.
11151 (python-next-statement): Delete command.
11152 (python-nav-forward-sentence): New command.
11153 (python-previous-statement): Delete command.
11154 (python-nav-backward-sentence): New command.
11155 (python-fill-paragraph): Delete command.
11156 (python-fill-paragraph-function): New command.
11157 (python-send-buffer): Delete command.
11158 (python-shell-send-buffer): New command.
11159 (python-send-defun): Delete command.
11160 (python-shell-send-defun): New command.
11161 (python-send-region, python-send-region-and-go): Delete commands.
11162 (python-shell-send-region)
11163 (python-shell-switch-to-shell): New commands.
11164 (python-send-string): Delete command.
11165 (python-shell-send-string): New command.
11166 (python-switch-to-python): Delete command.
11167 (python-shell-switch-to-shell): New command.
11168 (python-describe-symbol): Delete command.
11169 (python-eldoc-at-point): New command.
11170 (python--set-prompt-regexp, python-args-to-list)
11171 (python-after-info-look, python-check-version)
11172 (python-check-comint-prompt, python-find-imports)
11173 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
11174 (python-unload-function, python-expand-template)
11175 (python-maybe-jython, python-preoutput-filter)
11176 (python-pdbtrack-get-source-buffer)
11177 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
11178 (python-pdbtrack-toggle-stack-tracking)
11179 (python-pdbtrack-track-stack-file, python-initial-text)
11180 (python-first-word, python-comment-line-p, python-send-command)
11181 (python-setup-brm, python-sentinel, python-set-proc)
11182 (python-skip-out, python-input-filter, python-outdent-p)
11183 (python-outline-level, python-backslash-continuation-line-p)
11184 (python-end-of-block, python-end-of-statement, python-mark-block)
11185 (python-beginning-of-block, python-beginning-of-statement)
11186 (python-blank-line-p, python-beginning-of-string)
11187 (python-open-block-statement-p): Delete functions.
11188 (python-indent-line, python-indent-line-1): Delete functions.
11189 (python-indent-line): New function.
11190 (python-indentation-levels): Delete function.
11191 (python-indent-calculate-levels): New function.
11192 (python-proc): Delete function.
11193 (python-shell-get-process): New function.
11194 (python-send-receive): Delete function.
11195 (python-shell-send-string-no-output): New function.
11196 (python-module-path): Delete function.
11197 (python-ffap-module-path): New function.
11198 (python-completion-at-point)
11199 (python-symbol-completions): Delete functions.
11200 (python-completion-complete-at-point): New function.
11201 (python-load-file): Delete function.
11202 (python-shell-send-file): New function.
11203 (python-calculate-indentation): Delete function.
11204 (python-indent-calculate-indentation): New function.
11205 (python-skip-comments/blanks): Delete function.
11206 (python-util-forward-comment): New function.
11207 (python-continuation-line-p): Delete function.
11208 (python-info-continuation-line-p): New function.
11209 (python-which-func, python-current-defun): Delete function.
11210 (python-info-current-defun): New function.
11211 (python-beginning-of-defun): Delete function.
11212 (python-nav-beginning-of-defun): New function.
11213 (python-close-block-statement-p)
11214 (python-block-end-p): Delete function.
11215 (python-info-closing-block): New function.
11216 (python-comint-output-filter-function)
11217 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
11218 (python-fill-comment, python-fill-decorator, python-fill-paren)
11219 (python-fill-string, python-imenu-make-element-tree)
11220 (python-imenu-make-tree, python-imenu-tree-assoc)
11221 (python-indent-context, python-indent-dedent-line)
11222 (python-indent-line-function)
11223 (python-indent-post-self-insert-function)
11224 (python-indent-toggle-levels)
11225 (python-info-assignment-continuation-line-p)
11226 (python-info-beginning-of-backlash)
11227 (python-info-block-continuation-line-p)
11228 (python-info-closing-block-message)
11229 (python-info-line-ends-backslash-p)
11230 (python-info-looking-at-beginning-of-defun)
11231 (python-info-ppss-context, python-info-ppss-context-type)
11232 (python-nav-list-defun-positions, python-nav-read-defun)
11233 (python-nav-sentence-end, python-nav-sentence-start)
11234 (python-pdbtrack-comint-output-filter-function)
11235 (python-pdbtrack-set-tracked-buffer)
11236 (python-shell-calculate-exec-path)
11237 (python-shell-calculate-process-environment)
11238 (python-shell-completion--do-completion-at-point)
11239 (python-shell-completion--get-completions)
11240 (python-shell-completion-complete-at-point)
11241 (python-shell-completion-complete-or-indent)
11242 (python-shell-get-or-create-process)
11243 (python-shell-get-process-name)
11244 (python-shell-internal-get-or-create-process)
11245 (python-shell-internal-get-process-name)
11246 (python-shell-internal-send-string, python-shell-make-comint)
11247 (python-shell-parse-command, python-shell-send-setup-code)
11248 (python-skeleton-add-menu-items)
11249 (python-util-clone-local-variables, python-util-position)
11250 (run-python-internal, python-indentation-levels)
11251 (python-nav-beginning-of-defun)
11252 (python-completion-complete-at-point): New functions.
11253 (run-python): Change arguments. New API requirements.
11254
11255 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
11256
11257 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
11258 (bug#11649).
11259
11260 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
11261 (macroexp--expand-all): Use it.
11262
11263 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
11264 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
11265 Use `cl-function' instead.
11266
11267 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
11268
11269 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
11270 Suggested by Stefan Monnier while discussing bug#11657.
11271
11272 2012-06-14 Sam Steingold <sds@gnu.org>
11273
11274 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
11275
11276 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
11277
11278 * play/doctor.el (doctor-doc): Remove parameter and use
11279 doctor-sent instead of sent.
11280 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
11281
11282 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
11283
11284 * files.el: Require cl-lib.
11285 (file-name-non-special): Replace case -> cl-case.
11286
11287 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
11288
11289 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
11290 mapping from #' to function*.
11291
11292 2012-06-13 Chong Yidong <cyd@gnu.org>
11293
11294 * mouse.el (mouse-drag-track): Do not set the mark if the user
11295 releases the mouse without selecting anything (Bug#11588).
11296
11297 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
11298
11299 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
11300 as well (bug#11646).
11301
11302 * loadup.el: Count byte-code functions as well.
11303
11304 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
11305 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
11306
11307 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
11308 (bug#11649). Add cl-defun and cl-defmacro.
11309
11310 2012-06-13 Drew Adams <drew.adams@oracle.com>
11311
11312 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
11313 Fix last change.
11314
11315 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
11316
11317 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
11318 Otherwise, it blocks in batch mode.
11319
11320 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
11321
11322 * help-mode.el (bookmark-make-record-default): Declare.
11323
11324 2012-06-13 Chong Yidong <cyd@gnu.org>
11325
11326 * emacs-lisp/package.el (list-packages): Compute a list of
11327 packages that are newly-available since the last list-packages
11328 invocation.
11329 (package-menu--new-package-list): New var.
11330 (package-menu--generate, package-menu--print-info)
11331 (package-menu--status-predicate, package-menu-mark-install):
11332 Handle new status label "new".
11333
11334 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
11335
11336 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
11337 conversion to backquotes.
11338
11339 2012-06-12 Chong Yidong <cyd@gnu.org>
11340
11341 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
11342 Rename from gud-inhibit-global-bindings.
11343
11344 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
11345
11346 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
11347 hook from nxml-glyph-set-hook.
11348
11349 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
11350 declaration.
11351
11352 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
11353
11354 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
11355 Convert to defcustom.
11356
11357 2012-06-12 Drew Adams <drew.adams@oracle.com>
11358
11359 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
11360 New functions.
11361 (help-mode): Use them.
11362
11363 2012-06-11 Glenn Morris <rgm@gnu.org>
11364
11365 * progmodes/fortran.el (fortran-font-lock-keywords-3):
11366 Use preprocessor face for directives.
11367 (fortran-directive-re): Doc fix.
11368
11369 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
11370
11371 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
11372 conversion to backquotes (bug#11652).
11373
11374 Fix compiler-expansion of CL's cXXr functions (bug#11673).
11375 * emacs-lisp/cl-lib.el (cl--defalias): New function.
11376 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
11377 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
11378 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
11379 (cl-ninth, cl-tenth): Mark them as inlinable.
11380 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
11381 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
11382 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
11383 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
11384 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
11385 (cl-list*, cl-adjoin): Don't put an autoload manually.
11386 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
11387 (cl--compiler-macro-list*): Add autoload cookie.
11388 (cl--compiler-macro-cXXr): New function.
11389
11390 * help-fns.el (help-fns--compiler-macro): New function extracted from
11391 describe-function-1; follow aliases and use `compiler-macro' property.
11392 (describe-function-1): Use it.
11393
11394 2012-06-11 Chong Yidong <cyd@gnu.org>
11395
11396 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
11397 is uninstalled, if imagemagick is installed.
11398
11399 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
11400
11401 * emacs-lisp/cl-lib.el: Use lexical-binding.
11402 (cl-map-extents, cl-maclisp-member): Remove.
11403 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
11404 (cl--set-substring, cl--block-wrapper, cl--block-throw)
11405 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
11406 * emacs-lisp/cl-extra.el: Use lexical-binding.
11407 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
11408 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
11409 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
11410 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
11411 * emacs-lisp/cl-seq.el: Use lexical-binding.
11412 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
11413 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
11414 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
11415 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
11416 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
11417 CL's internals.
11418
11419 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
11420
11421 Sync with Tramp 2.2.6-pre.
11422
11423 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
11424 `print-length' and `print-level' to nil, in order to avoid
11425 truncation. Reported by Christopher Schmidt
11426 <christopher@ristopher.com>.
11427
11428 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
11429
11430 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
11431 New defmacro.
11432 (tramp-compat-copy-directory): Add optional argument
11433 COPY-CONTENTS. It is not handled yet.
11434
11435 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
11436 (tramp-ftp-file-name-p): Simplify.
11437
11438 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
11439 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
11440 connection vector.
11441
11442 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
11443 (tramp-methods): Do not use `tramp-password-end-of-line'.
11444 (tramp-completion-function-alist-putty): Handle UNIX case.
11445 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
11446 (tramp-do-file-attributes-with-stat)
11447 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
11448 gid as real numbers. They could run out of integer range on cygwin.
11449 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
11450 (tramp-sh-handle-expand-file-name): Handle hops.
11451 (tramp-open-connection-setup-interactive-shell):
11452 Use `tramp-cleanup'. Move check for busyboxes ...
11453 (tramp-find-shell): ... here. Simplify implementation.
11454 Set "remote-shell" property also for alternative shells.
11455 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
11456 If failing, a regular file would be written otherwise.
11457 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
11458 (tramp-find-inline-encoding): Cache the coding commands in the
11459 process cache. Apply test command on the remote side, if defined.
11460 (tramp-find-inline-compress): Cache the compress commands in the
11461 process cache.
11462 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
11463 when requested. Handle hops.
11464 (tramp-current-connection): New defvar.
11465 (tramp-maybe-open-connection): Use `tramp-cleanup'.
11466 Throw `suppress', if there was a failed connection shortly before.
11467 Handle user interrupt. (Bug#10187)
11468 (tramp-get-inline-compress, tramp-get-inline-coding):
11469 Read connection properties from the process cache.
11470
11471 * net/tramp-smb.el (tramp-smb-server-version)
11472 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
11473 New defconsts.
11474 (tramp-smb-prompt): Extend for powershell prompt.
11475 (tramp-smb-file-name-handler-alist): Add handlers for
11476 `process-file', `shell-command' and `start-file-process'.
11477 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
11478 (tramp-smb-winexe-shell-command-switch): New defcustoms.
11479 (tramp-smb-file-name-p): Simplify.
11480 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
11481 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
11482 (tramp-smb-shell-quote-argument): New defuns.
11483 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
11484 Implement using "tar". By this, time-stamps are preserved.
11485 (tramp-smb-handle-copy-file): Handle also the case of directories.
11486 (tramp-smb-do-file-attributes-with-stat)
11487 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
11488 Use `tramp-get-connection-buffer').
11489 (tramp-smb-handle-rename-file): Use "rename", when source and
11490 target are on the same share.
11491 (tramp-smb-maybe-open-connection): Handle wrong passwords.
11492 Use `tramp-smb-server-version'.
11493 (tramp-smb-wait-for-output): Remove prompt.
11494
11495 * net/tramp.el (top): Require 'cl.
11496 (tramp-methods, tramp-rsh-end-of-line):
11497 Remove `tramp-password-end-of-line' from docstring.
11498 (tramp-save-ad-hoc-proxies): New defcustom.
11499 (tramp-completion-function-alist): Adapt docstring.
11500 (tramp-default-password-end-of-line): Remove defcustom.
11501 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
11502 (tramp-user-regexp, tramp-file-name-regexp-unified)
11503 (tramp-file-name-regexp-url): Extend regexp by hop separator.
11504 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
11505 (tramp-remote-file-name-spec-regexp): New defconst.
11506 (tramp-file-name-structure): Extend structure for hops.
11507 (tramp-get-method-parameter): Move up.
11508 (tramp-file-name-p, tramp-dissect-file-name)
11509 (with-parsed-tramp-file-name): Handle hops.
11510 (tramp-file-name-hop): New defun.
11511 (tramp-make-tramp-file-name): New optional arg HOP.
11512 (tramp-message-show-progress-reporter-message): New defvar.
11513 (tramp-with-progress-reporter): Use it. We cannot use
11514 `tramp-message-show-message' here, because this suppresses also
11515 error buffers.
11516 (tramp-error-with-buffer): Suppress buffer view, if
11517 `tramp-message-show-message' is nil.
11518 Use `tramp-get-connection-buffer'.
11519 (tramp-cleanup): New defun.
11520 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
11521 (tramp-file-name-handler): If `debug-on-error' is set, propagate
11522 an error unchanged.
11523 (tramp-completion-handle-file-name-all-completions): Handle hops.
11524 Fix an error when called from ido.
11525 (tramp-completion-dissect-file-name): Use better local variable
11526 name. Add hop to the vector.
11527 (tramp-handle-insert-file-contents): Use progress-reporter for the
11528 whole scenario.
11529 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
11530 to `t'.
11531 (tramp-check-for-regexp): Simplify search.
11532 (tramp-enter-password): Remove it. Move implementation ...
11533 (tramp-action-password): ... here.
11534 (tramp-mode-string-to-int, tramp-local-host-p)
11535 (tramp-make-tramp-temp-file, tramp-read-passwd)
11536 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
11537 Set tramp-autoload cookie.
11538
11539 * net/trampver.el: Update release number.
11540
11541 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11542 Michael Albinus <michael.albinus@gmx.de>
11543
11544 * net/tramp.el (tramp-set-completion-function): Fix docstring.
11545 (tramp-parse-group, tramp-parse-file)
11546 (tramp-parse-shostkeys-sknownhosts): New defuns.
11547 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
11548 (tramp-parse-shosts-group, tramp-parse-sconfig)
11549 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
11550 (tramp-parse-sknownhosts, tramp-parse-hosts)
11551 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
11552 Use them.
11553 (tramp-parse-passwd-group, tramp-parse-netrc-group)
11554 (tramp-parse-putty-group): Don't narrow.
11555 (tramp-parse-putty): Make a loop.
11556 (tramp-file-name-handler): Catch the `suppress' signal.
11557
11558 2012-06-11 Chong Yidong <cyd@gnu.org>
11559
11560 * image.el (imagemagick-register-types): Put the ImageMagick entry
11561 at the end of image-type-file-name-regexps.
11562
11563 2012-06-11 Johan BockgĂ¥rd <bojohan@gnu.org>
11564
11565 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
11566 (pcase, pcase-let*, pcase-dolist): Use them.
11567
11568 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
11569
11570 * emacs-lisp/pcase.el (pcase--let*): New function.
11571 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
11572 (pcase--expand): Use macroexp-let².
11573
11574 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
11575
11576 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
11577 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
11578 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
11579 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
11580 * emacs-lisp/derived.el: Use pcase instead of `cl'.
11581 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
11582
11583 2012-06-10 Glenn Morris <rgm@gnu.org>
11584
11585 * mail/rmail.el (rmail-yank-current-message): Leave point at
11586 correct position. (Bug#11660)
11587
11588 2012-06-10 Chong Yidong <cyd@gnu.org>
11589
11590 * allout-widgets.el: Fix code header.
11591
11592 2012-06-10 Chong Yidong <cyd@gnu.org>
11593
11594 * cus-edit.el (customize-changed-options-previous-release):
11595 Bump to 24.1.
11596
11597 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
11598
11599 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
11600
11601 2012-06-09 Chong Yidong <cyd@gnu.org>
11602
11603 * ebuff-menu.el (electric-buffer-list): Preserve header line.
11604
11605 2012-06-09 Martin Rudalics <rudalics@gmx.at>
11606
11607 * window.el (special-display-popup-frame): Don't use
11608 window--display-buffer (Bug#11651).
11609
11610 2012-06-09 Eli Zaretskii <eliz@gnu.org>
11611
11612 Fix parallel builds: make sure loaddefs.el is not being written
11613 while Lisp files are compiled.
11614 (compile): Don't depend on 'mh-autoloads'.
11615 (compile-CMD, compile-SH): Depend on 'autoloads'.
11616 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
11617
11618 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
11619
11620 2012-06-09 Chong Yidong <cyd@gnu.org>
11621
11622 * face-remap.el (face-remap-add-relative, face-remap-set-base)
11623 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
11624 Doc fixes (Bug#11225).
11625
11626 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
11627
11628 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
11629 a function if there's a clear indication that it has a compiler-macro.
11630 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
11631 (macro-declarations-alist): Add arglist to declaration functions.
11632 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
11633 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
11634 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
11635 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
11636 Also add autoload to find the compiler macro.
11637 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
11638 (cl--compiler-macro-member, cl--compiler-macro-assoc)
11639 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
11640 (cl--compiler-macro-get): New functions, replacing calls to
11641 cl-define-compiler-macro.
11642 (cl-typep) [compiler-macro]: Use macroexp-let².
11643
11644 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
11645
11646 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
11647 string properly, fixes Bug#11473.
11648
11649 2012-06-08 Chong Yidong <cyd@gnu.org>
11650
11651 * faces.el (set-face-attribute): Doc fix.
11652 (modify-face): Don't use :bold and :italic.
11653 (error, warning, success): Tweak definitions.
11654
11655 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
11656 (custom-modified, custom-set, custom-changed, custom-themed)
11657 (custom-saved, custom-button, custom-button-mouse)
11658 (custom-button-pressed, custom-state, custom-comment-tag)
11659 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
11660 (custom-group-subtitle): Use new-style face specs.
11661 (custom-invalid-face, custom-rogue-face, custom-modified-face)
11662 (custom-set-face, custom-changed-face, custom-saved-face)
11663 (custom-button-face, custom-button-pressed-face)
11664 (custom-documentation-face, custom-state-face)
11665 (custom-comment-face, custom-comment-tag-face)
11666 (custom-variable-tag-face, custom-variable-button-face)
11667 (custom-face-tag-face, custom-group-tag-face-1)
11668 (custom-group-tag-face): Remove obsolete face alias.
11669
11670 * epa.el (epa-validity-high, epa-validity-medium)
11671 (epa-validity-low, epa-mark, epa-field-name, epa-string)
11672 (epa-field-name, epa-field-body):
11673 * font-lock.el (font-lock-comment-face, font-lock-string-face)
11674 (font-lock-keyword-face, font-lock-builtin-face)
11675 (font-lock-function-name-face, font-lock-variable-name-face)
11676 (font-lock-type-face, font-lock-constant-face):
11677 * ido.el (ido-first-match, ido-only-match, ido-subdir)
11678 (ido-virtual, ido-indicator, ido-incomplete-regexp):
11679 * speedbar.el (speedbar-button-face, speedbar-file-face)
11680 (speedbar-directory-face, speedbar-tag-face)
11681 (speedbar-selected-face, speedbar-highlight-face)
11682 (speedbar-separator-face):
11683 * whitespace.el (whitespace-newline, whitespace-space)
11684 (whitespace-hspace, whitespace-tab, whitespace-trailing)
11685 (whitespace-line, whitespace-space-before-tab)
11686 (whitespace-space-after-tab, whitespace-indentation)
11687 (whitespace-empty):
11688 * emulation/cua-base.el (cua-global-mark):
11689 * eshell/em-prompt.el (eshell-prompt):
11690 * net/newst-plainview.el (newsticker-new-item-face)
11691 (newsticker-old-item-face, newsticker-immortal-item-face)
11692 (newsticker-obsolete-item-face, newsticker-date-face)
11693 (newsticker-statistics-face, newsticker-default-face):
11694 * net/newst-reader.el (newsticker-feed-face)
11695 (newsticker-extra-face, newsticker-enclosure-face):
11696 * net/newst-treeview.el (newsticker-treeview-face)
11697 (newsticker-treeview-new-face, newsticker-treeview-old-face)
11698 (newsticker-treeview-immortal-face)
11699 (newsticker-treeview-obsolete-face)
11700 (newsticker-treeview-selection-face):
11701 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
11702 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
11703 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
11704 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
11705 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
11706 (nxml-outline-active-indicator, nxml-outline-ellipsis):
11707 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
11708 (mpuz-text):
11709 * progmodes/vera-mode.el (vera-font-lock-number)
11710 (vera-font-lock-function, vera-font-lock-interface):
11711 * textmodes/table.el (table-cell): Use new-style face specs, and
11712 don't use the old :bold and :italic attributes.
11713
11714 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
11715 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
11716 (ebrowse-member-class, ebrowse-progress): Likewise.
11717 (ebrowse-tree-mark-face, ebrowse-root-class-face)
11718 (ebrowse-file-name-face, ebrowse-default-face)
11719 (ebrowse-member-attribute-face, ebrowse-member-class-face)
11720 (ebrowse-progress-face): Remove obsolete faces.
11721
11722 * progmodes/flymake.el (flymake-errline, flymake-warnline):
11723 Inherit from error and warning faces respectively.
11724
11725 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
11726 Likewise.
11727 (flyspell-incorrect-face, flyspell-duplicate-face):
11728 Remove obsolete aliases.
11729
11730 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
11731
11732 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
11733 Avoid infloop.
11734
11735 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
11736
11737 * startup.el (argv, argi): Make lexically scoped.
11738 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
11739 * emacs-lisp/cl-macs.el: Use lexical-binding.
11740 Rename cl-bind-* to cl--bind-*.
11741 * files.el: Don't require `cl' since it doesn't use it.
11742 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
11743
11744 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
11745
11746 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
11747 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
11748 instead of calling external sort utility.
11749 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
11750
11751 2012-06-08 Eli Zaretskii <eliz@gnu.org>
11752
11753 * descr-text.el (describe-char): Mention how to insert the
11754 character, if the current input method doesn't support it.
11755 See the discussion in this thread for the details:
11756 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
11757
11758 2012-06-08 Sam Steingold <sds@gnu.org>
11759
11760 * bindings.el (global-map): Bind XF86Forward to next-buffer and
11761 XF86Back to previous-buffer.
11762 (minibuffer-local-map): Bind them to next-history-element and
11763 previous-history-element respectively.
11764 * help-mode.el (help-mode-map): Bind them to help-go-forward and
11765 help-go-back respectively.
11766 * info.el (Info-mode-map): Bind them to Info-history-forward and
11767 Info-history-back respectively.
11768 These are the keys next to Up on the ThinkPad keyboard.
11769
11770 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
11771
11772 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
11773 * emacs-lisp/cl-macs.el: Provide itself.
11774 (cl--labels-convert-cache): New var.
11775 (cl--labels-convert): New function.
11776 (cl-flet, cl-labels): New implementation with new semantics, relying on
11777 lexical-binding.
11778 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
11779 (cl-closure-vars, cl--function-convert-cache)
11780 (cl--function-convert): Move from cl-macs.el.
11781 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
11782 rename by removing the "cl-" prefix.
11783 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
11784
11785 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
11786
11787 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
11788 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
11789 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
11790 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
11791 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
11792 (cl-hash-table-count): Add old compatibility aliases.
11793
11794 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
11795 Use macroexpand-all-environment instead.
11796 (cl--old-macroexpand): New var.
11797 (cl--sm-macroexpand): New function.
11798 (cl-symbol-macrolet): Use it during macro expansion.
11799 (cl--function-convert-cache): New var.
11800 (cl--function-convert): New function, extracted from
11801 cl-macroexpand-all.
11802 (cl-lexical-let): Use it.
11803
11804 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
11805 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
11806 (cl-member): Remove old alias.
11807
11808 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
11809 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
11810 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
11811 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
11812 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
11813 (cl-macroexpand-cmacs): Remove var.
11814 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
11815 Use macroexpand-all instead.
11816
11817 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
11818
11819 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
11820 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
11821 (macroexp-copyable-p): New functions and macros.
11822 * emacs-lisp/edebug.el (edebug-unwrap):
11823 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
11824 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
11825 (pcase--let*): Remove.
11826 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
11827 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
11828 macroexp-const-p instead.
11829 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
11830
11831 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
11832 instead of "cl-" for internal definitions. Use macroexp-const-p.
11833 (cl-old-bc-file-form): Remove var.
11834 (cl-const-exprs-p): Remove fun.
11835 (cl-labels, cl-macrolet): Use backquote.
11836 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
11837 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
11838 (cl-define-setf-expander): Rename from cl-define-setf-method.
11839 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
11840
11841 * international/mule-cmds.el: Don't require CL.
11842 (view-hello-file): Don't use `letf'.
11843
11844 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
11845
11846 * tmm.el (tmm-prompt): Use string-prefix-p.
11847 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
11848 (tmm-add-prompt): Use minibuffer-completion-help.
11849 (tmm-delete-map): Remove.
11850
11851 * subr.el (kbd): Make it its own function.
11852
11853 2012-06-07 Stefan Merten <smerten@oekonux.de>
11854
11855 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
11856 Silence compiler warnings. Fix versions.
11857 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
11858 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
11859 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
11860 (rst-package-emacs-version-alist): Correct Emacs version to
11861 represent major merge with upstream.
11862 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
11863
11864 2012-06-06 Glenn Morris <rgm@gnu.org>
11865
11866 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
11867 Only print environment variables if set.
11868
11869 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
11870
11871 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
11872 (macroexp--cons): Rename from maybe-cons.
11873 (macroexp--accumulate): Rename from macroexp-accumulate.
11874 (macroexp--all-forms): Rename from macroexpand-all-forms.
11875 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
11876 (macroexp--expand-all): Rename from macroexpand-all-1.
11877
11878 2012-06-06 Sam Steingold <sds@gnu.org>
11879
11880 * calendar/calendar.el (calendar-in-read-only-buffer):
11881 Call `special-mode' to enable the standard read-only keybindings.
11882
11883 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
11884
11885 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
11886 with "loading" messages (bug#11635).
11887
11888 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
11889
11890 * files.el (enable-remote-dir-locals): New option.
11891 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
11892
11893 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
11894 Ensure, that the temp directory is local.
11895
11896 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
11897 `temporary-file-directory'.
11898
11899 * progmodes/python.el (python-send-region): Ensure, that the
11900 temporary file is created also in the remote case.
11901
11902 2012-06-06 Glenn Morris <rgm@gnu.org>
11903
11904 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
11905 (vc-rcs-update-changelog): Use it.
11906
11907 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
11908
11909 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
11910 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
11911 (vc-sccs-diff): Replace use of the external vcdiff script.
11912
11913 2012-06-05 Glenn Morris <rgm@gnu.org>
11914
11915 * ledit.el: Move to obsolete/.
11916
11917 2012-06-05 Sam Steingold <sds@gnu.org>
11918
11919 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
11920 patch (Bug#11140).
11921
11922 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11923
11924 * emacs-lisp/cust-print.el: Move to obsolete.
11925
11926 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
11927 compiler-macro expansion.
11928
11929 Add native compiler-macro support.
11930 * emacs-lisp/macroexp.el (macroexpand-all-1):
11931 Support compiler-macros directly. Properly follow aliases and apply
11932 the compiler macros more thoroughly.
11933 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
11934 macroexpand now properly follows aliases.
11935 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
11936 (cl-compiler-macroexpand): Use new prop.
11937 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
11938
11939 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
11940
11941 2012-06-05 Martin Rudalics <rudalics@gmx.at>
11942
11943 * window.el (get-lru-window, get-mru-window, get-largest-window):
11944 New argument NOT-SELECTED to avoid picking the selected window.
11945 (window--display-buffer-1, window--display-buffer-2): Replace by
11946 new function window--display-buffer
11947 (display-buffer-same-window, display-buffer-reuse-window)
11948 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
11949 Use window--display-buffer.
11950 (display-buffer-use-some-window): Remove temporary dedication
11951 hack by calling get-lru-window and get-largest-window with
11952 NOT-SELECTED argument non-nil. Call window--display-buffer.
11953
11954 2012-06-05 Glenn Morris <rgm@gnu.org>
11955
11956 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
11957 Replace external vcdiff script.
11958
11959 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
11960
11961 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
11962
11963 2012-06-04 Chong Yidong <cyd@gnu.org>
11964
11965 * image.el (imagemagick-types-inhibit): Revert last change.
11966 Add INFO and M.
11967 (imagemagick-enabled-types): Remove CIN and EPS*.
11968
11969 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
11970
11971 * emacs-lisp/cl-lib.el: Rename from cl.el.
11972 * emacs-lisp/cl.el: New compatibility file.
11973 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
11974 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
11975 to obey the "cl-" prefix.
11976 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
11977
11978 2012-06-03 Glenn Morris <rgm@gnu.org>
11979
11980 * emacs-lisp/authors.el (authors-aliases): Addition.
11981
11982 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
11983 Fix :version.
11984
11985 2012-06-03 Stefan Merten <smerten@oekonux.de>
11986
11987 * textmodes/rst.el: Add comments.
11988 (rst-transition, rst-adornment): New faces.
11989 (rst-adornment-faces-alist): Make default safe to reevaluate.
11990 Fixes
11991 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
11992 Improve customization tags.
11993 (rst-define-level-faces): Clarify meaning.
11994
11995 2012-06-03 Chong Yidong <cyd@gnu.org>
11996
11997 * progmodes/compile.el (compilation-mode-line-fail)
11998 (compilation-mode-line-run, compilation-mode-line-exit):
11999 New faces.
12000 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
12001
12002 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
12003
12004 * progmodes/which-func.el (which-func-update-ediff-windows):
12005 New function. Use it in ediff-select-hook (Bug#11478).
12006
12007 2012-06-03 Chong Yidong <cyd@gnu.org>
12008
12009 * bindings.el: Remove explicit help text from format-mode-line.
12010 It is now supplied by mode-line-default-help-echo.
12011 (mode-line-front-space, mode-line-end-spaces)
12012 (mode-line-misc-info): New variables.
12013 (mode-line-modes, mode-line-position): Move the default value to
12014 the variable definition.
12015 (mode-line-default-help-echo): New defcustom.
12016 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
12017 (mode-line-modified-help-echo): New functions.
12018 (mode-line-mule-info, mode-line-modified): Use them.
12019 (mode-line-eol-desc, propertized-buffer-identification):
12020 Consistency fixes for help text.
12021 (mode-line-coding-system-map): Allow using mouse-3 to invoke
12022 set-buffer-file-coding-system (Bug#289).
12023 (mode-line-mule-info-help-echo): Update help text.
12024
12025 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
12026
12027 * simple.el (execute-extended-command): Set real-this-command
12028 (bug#11506).
12029
12030 2012-06-02 Chong Yidong <cyd@gnu.org>
12031
12032 Remove incorrect uses of "modeline" in comments, docstrings, and
12033 function/variable names (Bug#10329).
12034
12035 * cus-edit.el (mode-line):
12036 * dframe.el (dframe-mouse-hscroll):
12037 * emacs-lisp/re-builder.el:
12038 * emacs-lisp/easy-mmode.el (define-minor-mode):
12039 * frame.el (set-frame-name):
12040 * help.el (lookup-minor-mode-from-indicator):
12041 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
12042 * progmodes/cc-cmds.el (c-toggle-auto-newline)
12043 (c-toggle-hungry-state):
12044 * progmodes/antlr-mode.el (antlr-language-alist):
12045 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
12046 * progmodes/vhdl-mode.el (vhdl-mode):
12047 * progmodes/which-func.el (which-func, which-func-cleanup-function):
12048 * term/ns-win.el (ns-face-at-pos):
12049 * term/sup-mouse.el (sup-mouse-report):
12050 * textmodes/flyspell.el (flyspell-mode-line-string):
12051 * textmodes/ispell.el (ispell-highlight-face):
12052 * textmodes/reftex-global.el:
12053 * vc/vc-arch.el (vc-arch-mode-line-string):
12054 * vc/vc-cvs.el (vc-cvs-mode-line-string):
12055 * vc/vc-git.el (vc-git-mode-line-string):
12056 * vc/vc-hooks.el (vc-display-status)
12057 (vc-default-mode-line-string):
12058 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
12059
12060 * ansi-color.el (ansi-color-faces-vector): Change default faces.
12061
12062 * dired.el (dired-sort-set-mode-line): Rename from
12063 dired-sort-set-modeline. All callers changed.
12064
12065 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
12066 eshell-status-in-modeline.
12067
12068 * foldout.el (foldout-mode-line-string): Rename from
12069 foldout-modeline-string. All callers changed.
12070 (foldout-update-mode-line): Rename from foldout-update-modeline.
12071
12072 * subr.el (redraw-modeline): Make into obsolete alias.
12073
12074 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
12075 timeclock-modeline-display. Make old name an alias.
12076 (timeclock-update-mode-line): Likewise. All callers changed.
12077 (timeclock-mode-line-display): No need to check before using
12078 add-hook.
12079 (timeclock-relative, timeclock-day-over-hook)
12080 (timeclock-use-elapsed, timeclock-mode-string)
12081 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
12082
12083 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
12084 crisp-mode-modeline-string.
12085
12086 * play/solitaire.el (solitaire-build-mode-line): Rename from
12087 solitaire-build-modeline. All callers changed.
12088
12089 * play/zone.el (zone-hiding-mode-line): Rename from
12090 zone-hiding-modeline. All callers changed.
12091 (zone): Remove unusued `modeline-hidden-level' property.
12092
12093 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
12094 xscheme-modeline-initialize. All callers changed.
12095
12096 * strokes.el (strokes-lighter): Rename from
12097 strokes-modeline-string.
12098
12099 * textmodes/sgml-mode.el (html-face-tag-alist)
12100 (html-tag-face-alist): Use mode-line face instead of obsolete
12101 alias modeline.
12102
12103 2012-06-02 Stefan Merten <smerten@oekonux.de>
12104
12105 * textmodes/rst.el: Always require `cl'.
12106 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
12107
12108 2012-06-02 Chong Yidong <cyd@gnu.org>
12109
12110 * image.el (imagemagick-enabled-types): Rename from
12111 imagemagick-types-enable. Add many more types.
12112 (imagemagick-types-inhibit): Change default to nil.
12113 (imagemagick-filter-types): Caller changed.
12114
12115 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
12116
12117 * emacs-lisp/cl-macs.el: Use backquotes.
12118 (cl-transform-function-property): Use eval-and-compile rather than
12119 abusing `require'.
12120 (defstruct): Use declare-function instead of with-no-warnings.
12121
12122 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
12123 (byte-compile-output-docform): Re-add the print-circle bindings.
12124 (byte-compile-fix-header): Use #$ just because it's shorter.
12125 (byte-compile-output-file-form): Remove defun/defmacro.
12126
12127 2012-06-01 Martin Rudalics <rudalics@gmx.at>
12128
12129 * simple.el (choose-completion): Remove now obsolete binding for
12130 owindow.
12131
12132 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
12133
12134 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
12135 in order to avoid "Stack overflow in regexp matcher".
12136
12137 2012-05-31 Glenn Morris <rgm@gnu.org>
12138
12139 * image.el: For clarity, call imagemagick-register-types at
12140 top-level, rather than relying on a custom :initialize.
12141 (imagemagick-types-enable): New option. (Bug#11557)
12142 (imagemagick-filter-types): New function. (Bug#7406)
12143 (imagemagick-register-types): Use imagemagick-filter-types.
12144 If disabling support, remove elements altogether rather
12145 than using an impossible regexp.
12146 (imagemagick-types-inhibit): Give it the default init function.
12147
12148 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
12149
12150 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
12151 Handle arbitrary file name lengths (Bug#11585).
12152
12153 2012-05-31 Martin Rudalics <rudalics@gmx.at>
12154
12155 * desktop.el (desktop-read): Clear previous and next buffers for
12156 all windows and bury *Messages* buffer (bug#11556).
12157
12158 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
12159
12160 Add `declare' for `defun'. Align `defmacro's with it.
12161 * emacs-lisp/easy-mmode.el (define-minor-mode)
12162 (define-globalized-minor-mode): Don't autoload the var definitions.
12163 * emacs-lisp/byte-run.el: Use lexical-binding.
12164 (defun-declarations-alist, macro-declarations-alist): New vars.
12165 (defmacro, defun): Use them.
12166 (make-obsolete, define-obsolete-function-alias)
12167 (make-obsolete-variable, define-obsolete-variable-alias):
12168 Use `declare'.
12169 (macro-declaration-function): Mark obsolete.
12170 * emacs-lisp/autoload.el: Use lexical-binding.
12171 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
12172
12173 2012-05-30 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
12174
12175 * textmodes/ispell.el (ispell-with-no-warnings):
12176 Define as a macro.
12177 (ispell-kill-ispell, ispell-change-dictionary):
12178 Use `called-interactively-p' for Emacs instead of obsolete
12179 `interactive-p'.
12180
12181 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
12182
12183 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
12184 (macro-declaration-function): Move var from C code.
12185 (macro-declaration-function): Define function with defalias.
12186 * emacs-lisp/macroexp.el (macroexpand-all-1):
12187 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
12188 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
12189 defun/defmacro any more.
12190 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
12191 Provide fallback for unknown arglist.
12192 (byte-compile-arglist-warn): Change calling convention.
12193 (byte-compile-output-file-form): Move print-vars binding.
12194 (byte-compile-output-docform): Simplify accordingly.
12195 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
12196 (byte-compile-defmacro-declaration): Remove.
12197 (byte-compile-file-form-defmumble): Generalize to defalias.
12198 (byte-compile-output-as-comment): Return byte-positions.
12199 Simplify callers accordingly.
12200 (byte-compile-lambda): Use `assert'.
12201 (byte-compile-defun, byte-compile-defmacro): Remove.
12202 (byte-compile-file-form-defalias):
12203 Use byte-compile-file-form-defmumble.
12204 (byte-compile-defalias-warn): Remove.
12205
12206 2012-05-29 Stefan Merten <smerten@oekonux.de>
12207
12208 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
12209 possible. Fix authors. Improve comments. Improve loading of `cl'.
12210
12211 (rst-mode-abbrev-table): Merge definition.
12212 (rst-mode): Make sure `font-lock-defaults' is buffer local.
12213 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
12214
12215 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
12216
12217 * calendar/icalendar.el
12218 (icalendar-export-region): Export UID properly.
12219
12220 2012-05-29 Leo Liu <sdl.web@gmail.com>
12221 * calendar/icalendar.el (icalendar-import-format):
12222 Add `icalendar-import-format-uid' (Bug#11525).
12223 (icalendar-import-format-uid): New.
12224 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
12225 Export UID.
12226
12227 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
12228
12229 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
12230 different alternative patterns.
12231 (pcase-codegen): Be more careful to preserve identity.
12232 (pcase--u1): Don't forget to mark vars as used.
12233
12234 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
12235 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
12236 (byte-compile-from-buffer): ...rather than here.
12237
12238 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
12239 functions from byte-compile-function-environment.
12240
12241 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
12242
12243 * window.el (window-deletable-p): Avoid deleting the root window
12244 of a frame with an active minibuffer.
12245
12246 2012-05-29 Martin Rudalics <rudalics@gmx.at>
12247
12248 * simple.el (choose-completion): Use quit-window (Bug#11567).
12249
12250 2012-05-29 Chong Yidong <cyd@gnu.org>
12251
12252 * whitespace.el (whitespace-cleanup): Fix usage of
12253 whitespace-empty-at-bob-regexp (Bug#11492).
12254
12255 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12256
12257 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
12258 revert (Bug#11488).
12259
12260 2012-05-29 Juri Linkov <juri@jurta.org>
12261
12262 * isearch.el (isearch-mode-map): Bind `M-s _' to
12263 `isearch-toggle-symbol'. Bind `M-s c' to
12264 `isearch-toggle-case-fold'.
12265 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
12266 (isearch-forward): Add `M-s _' to the docstring.
12267 (isearch-forward-symbol, isearch-toggle-case-fold)
12268 (isearch-symbol-regexp): New functions. (Bug#11381)
12269
12270 2012-05-29 Juri Linkov <juri@jurta.org>
12271
12272 * isearch.el (isearch-word): Add docstring. (Bug#11381)
12273 (isearch-occur, isearch-search-and-update): If `isearch-word' is
12274 a function, call it to get the regexp.
12275 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
12276 property `isearch-message-prefix' instead of the string "word ".
12277 (isearch-search-fun-default): For the case of `isearch-word',
12278 return a lambda that calls re-search-forward/re-search-backward
12279 with a regexp returned by `word-search-regexp' or by the function
12280 in `isearch-word'.
12281
12282 2012-05-29 Juri Linkov <juri@jurta.org>
12283
12284 * isearch.el (isearch-search-fun-default): New function.
12285 (isearch-search-fun): Move default part to the new function
12286 `isearch-search-fun-default'.
12287 (isearch-search-fun-function): Set the default value to
12288 `isearch-search-fun-default'. (Bug#11381)
12289
12290 * comint.el (comint-history-isearch-end):
12291 Use `isearch-search-fun-default'.
12292 (comint-history-isearch-search): Use `isearch-search-fun-default'
12293 and remove spacial case for `isearch-word'.
12294 (comint-history-isearch-wrap): Remove spacial case for
12295 `isearch-word'.
12296
12297 * hexl.el (hexl-isearch-search-function):
12298 Use `isearch-search-fun-default'.
12299
12300 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
12301 Use `word-search-regexp' for `isearch-word'.
12302
12303 * misearch.el (multi-isearch-search-fun):
12304 Use `isearch-search-fun-default'.
12305
12306 * simple.el (minibuffer-history-isearch-search):
12307 Use `isearch-search-fun-default' and remove spacial case for
12308 `isearch-word'.
12309 (minibuffer-history-isearch-wrap): Remove spacial case for
12310 `isearch-word'.
12311
12312 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
12313 Remove spacial case for `isearch-word'.
12314 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
12315
12316 2012-05-28 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
12317
12318 Decrease XEmacs incompatibilities.
12319 * textmodes/flyspell.el (flyspell-check-pre-word-p):
12320 Use `string-match'.
12321 (flyspell-delete-region-overlays): Use alternative definition for
12322 XEmacs.
12323 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
12324 (flyspell-word): Use `process-kill-without-query' if XEmacs.
12325 (flyspell-mode-on): Use `interactive-p' if XEmacs.
12326 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
12327 `define-obsolete-face-alias' under XEmacs, but old method.
12328
12329 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
12330 `with-no-warnings' definition or Emacs alias.
12331 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
12332 (ispell-word): Do not use `region-p' if XEmacs.
12333
12334 2012-05-28 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
12335
12336 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
12337 Check for `ispell-dictionary-base-alist' instead of full
12338 `ispell-dictionary-alist'.
12339 (ispell-init-process): Show spellchecker when starting new Ispell
12340 process.
12341
12342 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
12343
12344 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
12345 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
12346
12347 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
12348
12349 * version.el (motif-version-string, gtk-version-string)
12350 (ns-version-string): Declare.
12351
12352 2012-05-27 Juri Linkov <juri@jurta.org>
12353
12354 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
12355 after the `eval-defun-1' specialcaseing
12356 like in `edebug-eval-defun' (bug#10181).
12357
12358 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
12359 like in `eval-defun-1'.
12360
12361 2012-05-27 Eli Zaretskii <eliz@gnu.org>
12362
12363 * mail/sendmail.el (mail-yank-region):
12364 Recognize rmail-yank-current-message in addition to insert-buffer.
12365 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
12366 a *mail* buffer created through rmail-start-mail with sendmail as
12367 mail-user-agent.
12368
12369 2012-05-27 Chong Yidong <cyd@gnu.org>
12370
12371 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
12372 Default to 256 (Bug#11267).
12373
12374 * help.el (describe-mode): Doc fix.
12375
12376 2012-05-26 Glenn Morris <rgm@gnu.org>
12377
12378 * w32-fns.el (w32-init-info): Remove.
12379 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
12380
12381 * info.el (info-initialize): For self-contained NS builds, put the
12382 included info/ directory at the front. (Bug#2791)
12383
12384 * paths.el (Info-default-directory-list): Make it a defcustom,
12385 mainly so that we can use custom-initialize-delay.
12386
12387 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
12388
12389 * subr.el (buffer-has-markers-at): Mark obsolete.
12390
12391 * subr.el (lambda): Use declare.
12392
12393 * emacs-lisp/lisp-mode.el (lambda):
12394 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
12395
12396 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12397
12398 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
12399
12400 2012-05-26 Glenn Morris <rgm@gnu.org>
12401
12402 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
12403
12404 2012-05-25 Glenn Morris <rgm@gnu.org>
12405
12406 * paths.el: Remove no-byte-compile.
12407 * loadup.el: No need to load paths.el uncompiled.
12408
12409 * image.el (imagemagick-types-inhibit): Doc fix.
12410
12411 * version.el: Remove no-byte-compile and associated formatting.
12412 * loadup.el: No need to load version.el uncompiled. AFAICS, this
12413 is ancient code from when there was an "inc-vers.el".
12414
12415 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
12416
12417 * progmodes/gdb-mi.el: Minor style changes.
12418 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
12419 Turn into minor modes.
12420 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
12421 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
12422 (gdb-shell): Remove unneeded let-binding.
12423 (gdb-get-many-fields): Eliminate O(n²) behavior.
12424
12425 2012-05-25 Eli Zaretskii <eliz@gnu.org>
12426
12427 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
12428 platforms that don't link in fontset.c.
12429
12430 2012-05-25 Juri Linkov <juri@jurta.org>
12431
12432 Use the same diff color scheme as in modern VCSes (bug#10181).
12433
12434 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
12435 to avoid confusion with `diff-added' that now uses green colors.
12436 (diff-removed): Use shades of red.
12437 (diff-added): Use shades of green.
12438 (diff-changed): Leave just the yellow color.
12439 (diff-use-changed-face): New variable.
12440 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
12441 how to highlight context diff changes.
12442 (diff-refine-change): Use shades of yellow.
12443 (diff-refine-removed): New face that uses shades of red.
12444 (diff-refine-added): New face that uses shades of green.
12445 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
12446 `diff-refine-removed' in the call to `smerge-refine-subst'
12447 depending on the value of `diff-use-changed-face'.
12448
12449 * vc/smerge-mode.el (smerge-mine): Use shades of red.
12450 (smerge-other): Use shades of green.
12451 (smerge-base): Use shades of yellow.
12452 (smerge-refined-change): Empty face.
12453 (smerge-refined-removed): New face that uses shades of red.
12454 (smerge-refined-added): New face that uses shades of green.
12455 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
12456 args `props-r' and `props-a', and use them. Doc fix.
12457 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
12458 on its value use different faces `smerge-refined-change',
12459 `smerge-refined-removed', `smerge-refined-added' in the call to
12460 `smerge-refine-subst'.
12461
12462 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
12463 Add face condition `min-colors 88' with shades of red.
12464 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
12465 `min-colors 88' with shades of green.
12466 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
12467 `min-colors 88' with shades of yellow.
12468
12469 2012-05-24 Glenn Morris <rgm@gnu.org>
12470
12471 * paths.el (prune-directory-list, remote-shell-program): Move to...
12472 * files.el (prune-directory-list, remote-shell-program): ...here.
12473 For the latter, delay initialization, prefer ssh, just search PATH.
12474
12475 * paths.el (term-file-prefix): Move to faces.el (the only user).
12476 * faces.el (term-file-prefix): Move here, make it a defcustom.
12477
12478 * paths.el (news-directory, news-path, news-inews-program):
12479 Move to gnus/nnspool.el.
12480
12481 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
12482
12483 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
12484 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
12485 Make the latter a defcustom, with a delayed initialization.
12486
12487 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
12488 These were deleted from Gnus itself late 2010.
12489
12490 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
12491
12492 * progmodes/which-func.el (which-func-ff-hook):
12493 Check against user-error, not error.
12494
12495 * emacs-lisp/edebug.el (top): Do not load or set up loading of
12496 cl-specs.el, which no longer exists.
12497
12498 2012-05-22 Glenn Morris <rgm@gnu.org>
12499
12500 * info.el (info-emacs-bug): New command.
12501 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
12502 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
12503
12504 2012-05-21 Glenn Morris <rgm@gnu.org>
12505
12506 * makefile.w32-in (update-subdirs-SH):
12507 * Makefile.in (update-subdirs): Update for moved update-subdirs.
12508
12509 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
12510
12511 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
12512
12513 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12514 Simplify Maven regexp, and make sure the file can't start with a space
12515 (bug#11517).
12516
12517 2012-05-21 Glenn Morris <rgm@gnu.org>
12518
12519 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
12520 Scrap superfluous subshells.
12521
12522 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
12523
12524 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
12525 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
12526
12527 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
12528
12529 * calc/calc.el (calc-ensure-consistent-units): New variable.
12530
12531 * calc/calc-units.el (math-consistent-units-p)
12532 (math-check-unit-consistency): New functions.
12533 (calc-quick-units, calc-convert-units):
12534 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
12535 is non-nil.
12536 (calc-extract-units): Fix typo.
12537
12538 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
12539
12540 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
12541
12542 * textmodes/flyspell.el: Commenting style, plus code simplifications.
12543 (flyspell-default-deplacement-commands): Don't spell check after
12544 repeated window/frame switches (e.g. triggered by mouse-movement).
12545 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
12546 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
12547 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
12548 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
12549 Remove unused vars.
12550 (flyspell-get-casechars, flyspell-get-not-casechars):
12551 Simplify; Don't bother removing a ] just to add it back.
12552 * textmodes/ispell.el (ispell-program-name): Use executable-find.
12553
12554 2012-05-18 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
12555
12556 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
12557 New functions.
12558 (math-function-table): Add support for more C functions.
12559
12560 2012-05-18 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
12561
12562 * textmodes/flyspell.el (flyspell-check-pre-word-p)
12563 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
12564 Protect delay handling for otherchars against empty otherchars.
12565
12566 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
12567
12568 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
12569 their respective macro declarations.
12570 * skeleton.el (define-skeleton):
12571 * progmodes/compile.el (define-compilation-mode):
12572 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
12573 (define-ibuffer-filter):
12574 * emacs-lisp/generic.el (define-generic-mode):
12575 * emacs-lisp/easy-mmode.el (define-minor-mode)
12576 (define-globalized-minor-mode):
12577 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
12578 * emacs-lisp/byte-run.el (defsubst):
12579 * custom.el (deftheme): Add doc-string metadata.
12580
12581 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12582
12583 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
12584
12585 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12586
12587 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
12588
12589 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
12590 * emacs-lisp/cl-macs.el: Idem.
12591 * emacs-lisp/cl-specs.el: Remove.
12592
12593 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12594
12595 Minor renaming of internal CL functions and variables.
12596 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
12597 (cl--position): Rename from cl-position.
12598 (cl--delete-duplicates): Rename from cl-delete-duplicates.
12599 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
12600 (cl--random-state): Rename from *random-state*.
12601
12602 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12603
12604 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
12605 parens around the arg list (bug#11499).
12606
12607 2012-05-17 Juri Linkov <juri@jurta.org>
12608
12609 * isearch.el (word-search-regexp, word-search-backward)
12610 (word-search-forward, word-search-backward-lax)
12611 (word-search-forward-lax): Move functions from search.c
12612 (bug#10145, bug#11381).
12613
12614 2012-05-16 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
12615
12616 * textmodes/flyspell.el (flyspell-check-pre-word-p)
12617 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
12618 Delay for otherchars as for normal word components.
12619
12620 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
12621
12622 * minibuffer.el (completion--sifn-requote): Fix last change.
12623 (minibuffer-local-must-match-filename-map):
12624 Move define-obsolete-variable-alias before its var.
12625
12626 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
12627
12628 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
12629
12630 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
12631 behavior.
12632 (completion--string-equal-p): New function.
12633 (completion--twq-all): Use it to get better assertion failure data.
12634
12635 Only handle ".." and '..' quoting in shell-mode (bug#11466).
12636 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
12637 (shell--requote-argument): New functions.
12638 (shell-completion-vars): Use them.
12639 (shell--parse-pcomplete-arguments): Rename from
12640 shell-parse-pcomplete-arguments.
12641 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
12642 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
12643 Obey comint-file-name-quote-list.
12644
12645 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
12646 (smie-indent-keyword): Use it.
12647
12648 2012-05-14 Stefan Merten <smerten@oekonux.de>
12649
12650 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
12651
12652 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
12653
12654 * net/rlogin.el (rlogin-mode-map): Fix last change.
12655
12656 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
12657
12658 * mail/smtpmail.el (smtpmail-send-command): Send the command and
12659 the following \r\n using a single `process-send-string', since the
12660 Lotus SMTP server refuses to accept any commands if they are sent
12661 with two `process-send-string's (Bug#11444).
12662
12663 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
12664
12665 * shell.el (shell-parse-pcomplete-arguments):
12666 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
12667
12668 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
12669
12670 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
12671 (image-transform-scale, image-transform-right-angle-fudge): New vars.
12672 (image-transform-width, image-transform-fit-width): New functions.
12673 (image-transform-properties): Use them.
12674 (image-transform-check-size): New function.
12675 (image-toggle-display-image): Use it (for testing).
12676 (image-transform-set-rotation): Reduce angle mod 360.
12677 Delete obsolete comment.
12678
12679 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
12680
12681 * image-mode.el: Fix scaling (bug#11399).
12682 (image-transform-resize): Doc fix.
12683 (image-transform-properties): Default scale is 1 and height should
12684 be an integer.
12685
12686 2012-05-13 Johan BockgĂ¥rd <bojohan@gnu.org>
12687
12688 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
12689 than hard-coding `car', to fix misbehavior when moving forward.
12690
12691 2012-05-13 Chong Yidong <cyd@gnu.org>
12692
12693 * emacs-lisp/tabulated-list.el (tabulated-list-format)
12694 (tabulated-list-entries, tabulated-list-padding)
12695 (tabulated-list-sort-key): Make permanent-local.
12696
12697 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
12698 (electric-buffer-list): Put electric buffer menu
12699 command descriptions in this docstring, instead of the docstring
12700 of electric-buffer-menu-mode. Code cleanups.
12701 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
12702 Electric-buffer-menu-mode.
12703 (electric-buffer-update-highlight): Minor code cleanup.
12704
12705 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
12706
12707 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
12708 (Bug#11447)
12709
12710 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
12711
12712 Move define-obsolete-variable-alias before the var's definition.
12713 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
12714 * tooltip.el (tooltip-hook):
12715 * textmodes/reftex-toc.el (reftex-toc-map):
12716 * textmodes/reftex-sel.el (reftex-select-label-map)
12717 (reftex-select-bib-map):
12718 * textmodes/reftex-index.el (reftex-index-map)
12719 (reftex-index-phrases-map):
12720 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
12721 * progmodes/meta-mode.el (meta-mode-map):
12722 * novice.el (disabled-command-hook):
12723 * loadhist.el (unload-hook-features-list):
12724 * frame.el (blink-cursor):
12725 * files.el (find-file-not-found-hooks, write-file-hooks)
12726 (write-contents-hooks):
12727 * emulation/tpu-edt.el (GOLD-map):
12728 * emacs-lock.el (emacs-lock-from-exiting):
12729 * emacs-lisp/generic.el (generic-font-lock-defaults):
12730 * emacs-lisp/chart.el (chart-map):
12731 * dos-fns.el (register-name-alist):
12732 * dired-x.el (dired-omit-files-p):
12733 * desktop.el (desktop-enable):
12734 * cus-edit.el (custom-mode-hook):
12735 * buff-menu.el (buffer-menu-mode-hook):
12736 * bookmark.el (bookmark-read-annotation-text-func)
12737 (bookmark-exit-hooks):
12738 * allout.el (allout-mode-deactivate-hook)
12739 (allout-exposure-change-hook, allout-structure-added-hook)
12740 (allout-structure-deleted-hook, allout-structure-shifted-hook):
12741 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
12742 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
12743 comes before the corresponding variable's definition.
12744
12745 2012-05-12 Chong Yidong <cyd@gnu.org>
12746
12747 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
12748 (Buffer-menu-mouse-select): Restore function (Bug#11459).
12749 (Buffer-menu-mode-map): Bind it.
12750 (Buffer-menu--pretty-name): Add a mouse-face property.
12751
12752 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
12753
12754 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
12755 (prolog-upper-case-string, prolog-lower-case-string)
12756 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
12757 (prolog-use-smie, prolog-smie-grammar): New vars.
12758 (prolog-smie-forward-token, prolog-smie-backward-token)
12759 (prolog-smie-rules): New funs.
12760 (prolog-comment-indent): Remove.
12761 (prolog-mode-variables): Use default comment indentation instead.
12762 Setup SMIE.
12763 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
12764 (prolog-mode): Don't call them any more.
12765 (prolog-electric-colon, prolog-electric-dash)
12766 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
12767
12768 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
12769
12770 * minibuffer.el (completion--twq-all): Again, allow case differences.
12771
12772 * term.el: Move keymap initialization code to be more idiomatic.
12773 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
12774 (term-terminal-menu): Move initialization into declaration.
12775 (term-escape-char): Let the user set it in her .emacs.
12776
12777 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
12778 Provide SMIE-based indentation (not enabled by default yet).
12779 (sh-mode-map): Don't bind electric keys.
12780 Use electric-pair-mode instead of skeleton-pair.
12781 (sh-assignment-regexp): Fit within 80 columns.
12782 (sh-indent-supported): Specify actual shell name instead of boolean.
12783 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
12784 (sh-maybe-here-document): Use it. Make obsolete.
12785 (sh-electric-here-document-mode) New minor mode.
12786 (sh-mode): Use it. Don't set sh-indent-supported-here here.
12787 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
12788 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
12789 (sh-smie-rc-grammar, sh-use-smie): New vars.
12790 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
12791 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
12792 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
12793 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
12794 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
12795 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
12796 (sh-set-shell): Use smie-setup if requested.
12797
12798 * term.el (term-set-escape-char): Properly set term-escape-char.
12799 See http://stackoverflow.com/questions/10524656.
12800
12801 2012-05-10 Chong Yidong <cyd@gnu.org>
12802
12803 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
12804 Use url-generic-parse-url, and handle host names and Windows
12805 filenames properly.
12806 (ffap-url-unwrap-remote): Use url-generic-parse-url.
12807 (ffap-url-unwrap-remote): Accept list values, specifying a list of
12808 URL schemes to work on.
12809 (ffap--toggle-read-only): New function.
12810 (ffap-read-only, ffap-read-only-other-window)
12811 (ffap-read-only-other-frame): Use it.
12812 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
12813 necessary for ffap-url-unwrap-remote.
12814
12815 2012-05-10 Dave Abrahams <dave@boostpro.com>
12816
12817 * cus-start.el (create-lockfiles): Add it.
12818
12819 2012-05-09 Chong Yidong <cyd@gnu.org>
12820
12821 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
12822 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
12823
12824 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
12825
12826 * shell.el (shell-completion-vars): Fix last change (bug#11348).
12827
12828 2012-05-09 Chong Yidong <cyd@gnu.org>
12829
12830 * ansi-color.el (ansi-color-process-output): Check for validity of
12831 comint-last-output-start before using it. This avoids a bad
12832 interaction with gdb-mi's input/output buffer.
12833
12834 2012-05-09 Glenn Morris <rgm@gnu.org>
12835
12836 * files.el (dir-locals-read-from-file):
12837 Mention dir-locals in any error message.
12838
12839 2012-05-09 Chong Yidong <cyd@gnu.org>
12840
12841 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
12842 package (Bug#11410).
12843
12844 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
12845 variables into description.
12846
12847 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
12848
12849 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
12850 shell-delimiter-argument-list (bug#11348).
12851 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
12852
12853 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
12854
12855 * textmodes/rst.el: Silence byte-compiler warnings.
12856 (rst-re-alist, rst-reset-section-caches): Move around.
12857 (rst-re): Use `characterp', not `char-valid-p'.
12858 (font-lock-beg, font-lock-end): Declare.
12859
12860 * progmodes/idlw-shell.el (specs): Remove reference to deleted
12861 variable `idlwave-shell-activate-alt-keybindings' and simplify.
12862
12863 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
12864
12865 2012-05-08 Glenn Morris <rgm@gnu.org>
12866
12867 * files.el (auto-mode-alist): Treat ".make" like ".mk".
12868
12869 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12870
12871 * vc/log-edit.el: Add GNU coding standards highlighting.
12872 (log-edit-font-lock-gnu-style)
12873 (log-edit-font-lock-gnu-keywords): New vars.
12874 (log-edit-font-lock-keywords): New fun.
12875 (log-edit-mode): Don't fold case in font-lock.
12876 (log-edit-font-lock-keywords): Do not assume case-folding.
12877
12878 * imenu.el: Misc cleanup. Make docstrings out of comments.
12879 Use lexical-binding.
12880 (imenu--index-alist, imenu--last-menubar-index-alist)
12881 (imenu-menubar-modified-tick): Use defvar-local.
12882 (imenu--split-menu): Remove unused var.
12883 (imenu--cleanup-seen): Declare as global.
12884 (imenu--cleanup): Use dolist.
12885
12886 * subr.el (defvar-local): Add debug spec and doc-string position.
12887
12888 2012-05-08 Glenn Morris <rgm@gnu.org>
12889
12890 * language/burmese.el, language/cham.el, language/czech.el:
12891 * language/english.el, language/georgian.el, language/greek.el:
12892 * language/japanese.el, language/khmer.el, language/korean.el:
12893 * language/lao.el, language/misc-lang.el, language/romanian.el:
12894 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
12895 * language/thai.el, language/utf-8-lang.el:
12896 Remove no-byte-compile setting.
12897
12898 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
12899
12900 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12901
12902 * progmodes/make-mode.el (makefile-browse):
12903 Remove unnecessary interactive. (Bug#11324)
12904
12905 2012-05-07 Glenn Morris <rgm@gnu.org>
12906
12907 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
12908
12909 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
12910
12911 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
12912
12913 * loadup.el: Preload newcomment.el.
12914 * newcomment.el: Move autoload-only code to toplevel.
12915
12916 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
12917 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
12918 Handle new :right-align column property.
12919 (tabulated-list-print-col): Idem, plus use `display' text-property to
12920 try and preserve alignment for variable pitch fonts.
12921
12922 2012-05-07 Chong Yidong <cyd@gnu.org>
12923
12924 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
12925 (tabulated-list-use-header-line): New var.
12926 (tabulated-list-init-header): Use it.
12927 (tabulated-list-print-fake-header): New function.
12928 (tabulated-list-print): Use it.
12929 (tabulated-list-sort-button-map): Add non-header-line commands.
12930 (tabulated-list-init-header): Add column name property to basic
12931 labels as well.
12932 (tabulated-list-col-sort): Handle non-header-line button case.
12933 (tabulated-list--sort-by-column-name): Fix a corner case.
12934
12935 * buff-menu.el (list-buffers--refresh):
12936 Handle Buffer-menu-use-header-line.
12937
12938 2012-05-06 Chong Yidong <cyd@gnu.org>
12939
12940 * buff-menu.el: Convert to Tabulated List mode.
12941 (Buffer-menu-buffer+size-width): Make obsolete.
12942 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
12943 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
12944 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
12945 documentation into docstring of buffer-menu.
12946 (Buffer-menu-toggle-files-only): Add an informative message.
12947 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
12948 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
12949 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
12950 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
12951 (Buffer-menu-execute, Buffer-menu-select)
12952 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
12953 (Buffer-menu-bury): Use Tabulated List machinery.
12954 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
12955 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
12956 Delete.
12957 (list-buffers--refresh): New function.
12958 (list-buffers-noselect): Use it.
12959 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
12960 (Buffer-menu--pretty-file-name): New helper functions.
12961
12962 * loadup.el: Preload tabulated-list.
12963
12964 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
12965 tabulated-list-sort-column.
12966 (tabulated-list-init-header): Add the initial aligning space even
12967 if tabulated-list-padding is zero.
12968
12969 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
12970
12971 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
12972 whose cdr is not a cons cell correctly (bug#11038).
12973
12974 2012-05-06 Chong Yidong <cyd@gnu.org>
12975
12976 * emacs-lisp/tabulated-list.el (tabulated-list-format):
12977 Accept additional plist in column descriptors.
12978 (tabulated-list-init-header): Obey it.
12979 (tabulated-list-get-entry): New function.
12980 (tabulated-list-put-tag): Use it. Use string-width instead of
12981 length.
12982 (tabulated-list--column-number): New function.
12983 (tabulated-list-print): Use it.
12984 (tabulated-list-print-col): New function.
12985 Set `tabulated-list-column-name' property on each column's text.
12986 (tabulated-list-print-entry): Use it.
12987 (tabulated-list-delete-entry, tabulated-list-set-col):
12988 New functions.
12989 (tabulated-list-sort-column): New command (Bug#11337).
12990
12991 * buff-menu.el (list-buffers): Move C-x C-b binding from
12992 buff-menu.el to bindings.el.
12993
12994 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
12995 :advertised-binding feature.
12996
12997 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
12998
12999 * progmodes/compile.el (compilation-internal-error-properties):
13000 Calculate start position correctly when end-col is set but
13001 end-line is not (Bug#11382).
13002
13003 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
13004
13005 * man.el (Man-unindent): Use text-property-default-nonsticky to
13006 prevent untabify from inheriting face properties (Bug#11408).
13007
13008 2012-05-05 Stefan Merten <smerten@oekonux.de>
13009
13010 * textmodes/rst.el: Major merge with upstream development up to
13011 Docutils SVN r7399 / rst.el V1.2.1.
13012
13013 Clarify maintainership and authors.
13014
13015 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
13016 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
13017 (rst-official-version, rst-official-cvs-rev, rst-version)
13018 (rst-package-emacs-version-alist): New functions and variables
13019 for version information.
13020
13021 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
13022 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
13023 (rst-mode-syntax-table, rst-mode): New and corrected functions
13024 and variables representing reStructuredText features.
13025
13026 (rst-re): New function for reStructuredText regexes. Use in
13027 many places.
13028
13029 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
13030 (rst-mode-map): Rebind keys.
13031
13032 (rst-mode-lazy, rst-font-lock-keywords)
13033 (rst-font-lock-extend-region)
13034 (rst-font-lock-extend-region-internal)
13035 (rst-font-lock-extend-region-extend)
13036 (rst-font-lock-find-unindented-line-limit)
13037 (rst-font-lock-find-unindented-line-match)
13038 (rst-adornment-level, rst-font-lock-adornment-level)
13039 (rst-font-lock-adornment-match)
13040 (rst-font-lock-handle-adornment-pre-match-form)
13041 (rst-font-lock-handle-adornment-matcher): Major revision of
13042 font-locking. Integrate with other code. Use `jit-lock-mode'.
13043
13044 (rst-preferred-adornments, rst-adjust-hook)
13045 (rst-new-adornment-down, rst-preferred-bullets)
13046 (rst-preferred-bullets, rst-indent, rst-indent-width)
13047 (rst-indent-field, rst-indent-literal-normal)
13048 (rst-indent-literal-minimized, rst-indent-comment): Change,
13049 extend and improve customization.
13050
13051 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
13052 (rst-normalize-cursor-position, rst-get-decoration)
13053 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
13054 (rst-rstrip, rst-toc-insert-find-delete-contents)
13055 (rst-shift-fill-region, rst-compute-bullet-tabs)
13056 (rst-debug-print-tabs, rst-debug-mark-found)
13057 (rst-shift-region-guts, rst-shift-region-right)
13058 (rst-shift-region-left, rst-use-char-classes)
13059 (rst-font-lock-keywords-function)
13060 (rst-font-lock-indentation-point)
13061 (rst-font-lock-find-unindented-line-begin)
13062 (rst-font-lock-find-unindented-line-end)
13063 (rst-font-lock-find-unindented-line)
13064 (rst-font-lock-adornment-point, rst-font-lock-level)
13065 (rst-adornment-level-alist): Remove functions and variables.
13066
13067 (rst-compare-adornments, rst-get-adornment-match)
13068 (rst-suggest-new-adornment, rst-get-adornments-around)
13069 (rst-adornment-complete-p, rst-get-next-adornment)
13070 (rst-adjust-adornment, rst-display-adornments-hierarchy)
13071 (rst-straighten-adornments): Standardize function names to
13072 use "adornment" instead of "decoration". Correct callers.
13073 Similar standardizing in many places.
13074
13075 (rst-update-section, rst-adjust, rst-promote-region)
13076 (rst-enumerate-region, rst-bullet-list-region)
13077 (rst-repeat-last-character): Correct use of `interactive'.
13078
13079 (rst-classify-adornment, rst-find-all-adornments)
13080 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
13081 (rst-find-leftmost-column, rst-repeat-last-character):
13082 Refactor functions.
13083
13084 (rst-find-title-line, rst-reset-section-caches)
13085 (rst-get-adornments-around, rst-adjust-adornment-work)
13086 (rst-arabic-to-roman, rst-roman-to-arabic)
13087 (rst-insert-list-pos, rst-insert-list-new-item)
13088 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
13089 New functions.
13090
13091 (rst-all-sections, rst-section-hierarchy)
13092 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
13093 New variables.
13094
13095 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
13096 configuration instead of only buffer. Change where necessary.
13097
13098 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
13099 (rst-shift-region, rst-adaptive-fill): New functions for
13100 indentation and filling.
13101
13102 (rst-comment-line-break, rst-comment-indent)
13103 (rst-comment-insert-comment, rst-comment-region)
13104 (rst-uncomment-region): New functions for handling comments.
13105
13106 (rst-compile): Quote shell arguments.
13107
13108 (rst-compile-pdf-preview, rst-compile-slides-preview):
13109 Delete temporary files after use.
13110
13111 2012-05-05 Glenn Morris <rgm@gnu.org>
13112
13113 * calendar/cal-html.el: Optionally include holidays in the output.
13114 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
13115 (cal-html-holidays): New option.
13116 (cal-html-css-default): Add holiday entry.
13117 (holiday-in-range): Autoload it.
13118 (cal-html-htmlify-entry): Add optional class argument.
13119 (cal-html-htmlify-list): Add optional holidays argument.
13120 (cal-html-insert-agenda-days): Include holidays in the output.
13121 (cal-html-one-month): Maybe include holidays.
13122
13123 * calendar/holidays.el (holiday-in-range):
13124 Move here from cal-tex-list-holidays.
13125 * calendar/cal-tex.el (cal-tex-list-holidays):
13126 Make it an obsolete alias for holiday-in-range. Update all callers.
13127
13128 2012-05-05 Chong Yidong <cyd@gnu.org>
13129
13130 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
13131 Nextstep.
13132
13133 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
13134
13135 * files.el (file-auto-mode-skip): New var.
13136 (set-auto-mode-1): Use it.
13137
13138 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
13139
13140 * repeat.el: Use lexical-binding.
13141 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
13142 (repeat-undo-count): Remove.
13143 (repeat):
13144 * progmodes/octave-mod.el (octave-abbrev-start):
13145 * progmodes/f90.el (f90-abbrev-start):
13146 * face-remap.el (text-scale-adjust):
13147 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
13148
13149 * emacs-lisp/pcase.el (pcase--let*): New function.
13150 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
13151 a bit more.
13152 (pcase--split-pred): Be more clever about ruling out overlap between
13153 a predicate and some constant pattern.
13154 (pcase--q1): Use `null' instead of (eq foo nil).
13155
13156 * subr.el (setq-local, defvar-local): New macros.
13157 (kbd): Redefine as an alias.
13158 (with-selected-window): Leave unrelated frames alone.
13159 (set-temporary-overlay-map): New function.
13160
13161 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
13162
13163 * subr.el (user-error): New function.
13164 * window.el (switch-to-buffer):
13165 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
13166 (smerge-match-conflict):
13167 * simple.el (previous-matching-history-element)
13168 (next-matching-history-element, goto-history-element, undo-more)
13169 (undo-start):
13170 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
13171 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
13172 (next-file, tags-loop-scan, list-tags, complete-tag):
13173 * progmodes/compile.el (compilation-loop):
13174 * mouse.el (mouse-minibuffer-check):
13175 * man.el (Man-bgproc-sentinel, Man-goto-page):
13176 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
13177 (Info-history-forward, Info-follow-reference, Info-menu)
13178 (Info-extract-menu-item, Info-extract-menu-counting)
13179 (Info-forward-node, Info-backward-node, Info-next-menu-item)
13180 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
13181 (Info-next-reference, Info-prev-reference, Info-index)
13182 (Info-index-next, Info-follow-nearest-node)
13183 (Info-copy-current-node-name):
13184 * imenu.el (imenu--make-index-alist)
13185 (imenu-default-create-index-function, imenu-add-to-menubar):
13186 * files.el (basic-save-buffer, recover-file):
13187 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
13188 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
13189 (checkdoc-message-text, checkdoc-defun):
13190 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
13191 * cus-edit.el (customize-changed-options, customize-rogue)
13192 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
13193 (custom-variable-mark-to-reset-standard)
13194 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
13195 (custom-file):
13196 * completion.el (check-completion-length):
13197 * comint.el (comint-search-arg)
13198 (comint-previous-matching-input-string-position)
13199 (comint-previous-matching-input)
13200 (comint-replace-by-expanded-history-before-point, comint-send-input)
13201 (comint-copy-old-input, comint-backward-matching-input)
13202 (comint-goto-process-mark, comint-set-process-mark):
13203 * calendar/calendar.el (calendar-cursor-to-date): Use it.
13204 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
13205
13206 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
13207
13208 * dabbrev.el (dabbrev--ignore-case-p): New function.
13209 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
13210 Use it.
13211
13212 * files.el (automount-dir-prefix): Mark as obsolete.
13213
13214 2012-05-04 Glenn Morris <rgm@gnu.org>
13215
13216 * patcomp.el, play/bruce.el: Move to obsolete/.
13217
13218 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
13219
13220 Fix minor Y10k bugs.
13221 * arc-mode.el (archive-unixdate):
13222 * autoinsert.el (auto-insert-alist):
13223 * calc/calc-forms.el (math-this-year):
13224 * emacs-lisp/copyright.el (copyright-current-year)
13225 (copyright-update-year, copyright):
13226 * tar-mode.el (tar-clip-time-string):
13227 * time.el (display-time-update):
13228 Don't assume years have 4 digits.
13229
13230 2012-05-04 Chong Yidong <cyd@gnu.org>
13231
13232 * dos-w32.el (file-name-buffer-file-type-alist)
13233 (direct-print-region-use-command-dot-com):
13234 * ffap.el (ffap-menu-regexp):
13235 * find-file.el (ff-special-constructs):
13236 * follow.el (follow-debug):
13237 * forms.el (forms--debug):
13238 * iswitchb.el (iswitchb-all-frames):
13239 * ido.el (ido-all-frames):
13240 * emacs-lisp/timer.el (timer-max-repeats):
13241 * mail/feedmail.el (feedmail-mail-send-hook)
13242 (feedmail-mail-send-hook-queued):
13243 * mail/footnote.el (footnote-signature-separator):
13244 * mail/mailabbrev.el (mail-alias-separator-string)
13245 (mail-abbrev-mode-regexp):
13246 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
13247 * progmodes/idlwave.el (idlwave-libinfo-file)
13248 (idlwave-default-completion-case-is-down)
13249 (idlwave-library-routines): Convert defvars to defcustoms.
13250
13251 * mail/rmail.el (rmail-decode-mime-charset):
13252 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
13253 (idlwave-shell-fix-inserted-breaks)
13254 (idlwave-shell-activate-alt-keybindings)
13255 (idlwave-shell-use-breakpoint-glyph):
13256 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
13257
13258 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
13259
13260 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
13261
13262 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
13263
13264 * progmodes/verilog-mode.el (font-lock-keywords):
13265 Fix mis-highligting auto. Reported by Craig Barner.
13266 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
13267 defines from global name space. Reported by Dan Dever.
13268 (verilog-auto-reset, verilog-auto-reset-widths)
13269 (verilog-auto-tieoff): Support using unbased numbers for
13270 AUTORESET and AUTOTIEOFF.
13271 (verilog-submit-bug-report): Update variable list.
13272 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
13273 parenthesis from not matching. Reported by Michael Rytting.
13274 (verilog-auto-template-lint): Fix hash error when linting modules
13275 with no used templates.
13276 (verilog-warn, verilog-warn-error)
13277 (verilog-warn-fatal): When non-interactive report multiple
13278 warnings before exiting. Suggested by Brad Dobbie.
13279 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
13280 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
13281 to report unused template errors. Reported by Brad Dobbie.
13282 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
13283 nets, bug438. Reported by Vns Blore.
13284 (verilog-auto-inout-module, verilog-auto-reg)
13285 (verilog-read-decls, verilog-read-sub-decls-sig)
13286 (verilog-signals-edit-wire-reg, verilog-signals-with):
13287 Fix passing of Verilog data types in ANSI input/output ports
13288 such as "output logic" into the AUTOs. Special case "wire" and
13289 "reg" for backwards compatibility presuming Verilog 2001.
13290 (verilog-auto-ascii-enum): Add "auto enum" as alias.
13291 (verilog-preprocess): Fix replication of preprocess output.
13292 Reported by Brad Dobbie.
13293 (verilog-auto-inst-interfaced-ports):
13294 Create verilog-auto-inst-interfaced-ports, bug429.
13295 Reported by Julian Gorfajn.
13296 (verilog-after-save-font-hook)
13297 (verilog-before-save-font-hook): New variable.
13298 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
13299 (verilog-save-font-mods): Wrap disabling fontification, reported
13300 by David Rogoff.
13301 (verilog-do-indent, verilog-pretty-declarations-auto)
13302 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
13303 Reported by Pierre-David Pfister.
13304 (verilog-set-auto-endcomments): Fix endtask auto comments outside
13305 of class declarations, bug292. Reported by Kevin Heilman.
13306 (verilog-read-decls): Fix 'parameter type' not appearing in
13307 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
13308 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
13309 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
13310 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
13311 Reported by David Kravitz.
13312
13313 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
13314
13315 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
13316 assignment with tests in ifs and for loops.
13317 (verilog-extended-complete-re, verilog-complete-reg): Change so
13318 that DPI inport functions don't look like fuction declarations.
13319 (verilog-pretty-expr): Don't line up assignment
13320 operations to the test and increment in if and for loops
13321 (verilog-extended-complete-re, verilog-complete-reg): Change so
13322 that DPI inport functions don't look like fuction declarations.
13323
13324 2012-05-03 Kenichi Handa <handa@m17n.org>
13325
13326 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
13327 decoding, and show a warning message without signaling an error
13328 (Bug#11282).
13329
13330 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
13331
13332 * emacs-lisp/bytecomp.el
13333 (byte-compile-file-form-custom-declare-variable): Compile all elements,
13334 since cconv.el might have introduced :fun-body, internal-make-closure,
13335 and friends for bytecomp to handle (bug#11391).
13336 * custom.el (defcustom): Avoid ((λ ..) ..).
13337
13338 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
13339
13340 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
13341
13342 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
13343
13344 * notifications.el (dbus-debug):
13345 * term/linux.el (gpm-mouse-enable):
13346 * term/screen.el (xterm-register-default-colors): Declare.
13347
13348 2012-05-02 Chong Yidong <cyd@gnu.org>
13349
13350 * cus-start.el (gc-cons-percentage, exec-suffixes)
13351 (dos-display-scancodes, dos-hyper-key, dos-super-key)
13352 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
13353 (make-cursor-line-fully-visible, void-text-area-pointer)
13354 (font-list-limit): Add customization data.
13355
13356 * allout.el (allout-exposure-change-functions)
13357 (allout-structure-added-functions)
13358 (allout-structure-deleted-functions)
13359 (allout-structure-shifted-functions): Rename abnormal hooks from
13360 *-hook, and convert to defcustoms.
13361 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
13362 Convert to defcustoms.
13363 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
13364
13365 * allout-widgets.el: Hook callers changed.
13366
13367 2012-05-02 Eli Zaretskii <eliz@gnu.org>
13368
13369 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
13370 the yanked message in preference to the default value of
13371 buffer-file-coding-system.
13372
13373 2012-05-02 Martin Rudalics <rudalics@gmx.at>
13374
13375 * window.el (display-buffer--action-function-custom-type):
13376 Fix entry.
13377
13378 2012-05-02 Alan Mackenzie <acm@muc.de>
13379
13380 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
13381
13382 2012-05-01 Glenn Morris <rgm@gnu.org>
13383
13384 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
13385
13386 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
13387
13388 * cus-edit.el (custom-variable-documentation): Simplify with format.
13389
13390 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13391 Stefan Monnier <monnier@iro.umontreal.ca>
13392
13393 * simple.el (suggest-key-bindings, execute-extended-command):
13394 Move from keyboard.c.
13395
13396 2012-05-01 Chong Yidong <cyd@gnu.org>
13397
13398 * follow.el: Eliminate advice.
13399 (set-process-filter, process-filter, sit-for): Advice deleted.
13400 (follow-mode-off-hook): Obsolete hook removed.
13401 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
13402 Vars deleted.
13403 (follow-auto): Use a :set function.
13404 (follow-mode): Rewritten. Don't advise process filters.
13405 (follow-switch-to-current-buffer-all, follow-scroll-up)
13406 (follow-scroll-down): Assume follow-mode is bound.
13407 (follow-comint-scroll-to-bottom)
13408 (follow-align-compilation-windows): New functions.
13409 (follow--window-sorter): New function.
13410 (follow-all-followers): Use it to explicitly sort windows by their
13411 positions; don't make assumptions about next-window order.
13412 (follow-windows-start-end, follow-delete-other-windows-and-split)
13413 (follow-calc-win-start): Doc fix.
13414 (follow-windows-aligned-p, follow-select-if-visible): Don't call
13415 vertical-motion unnecessarily.
13416 (follow-adjust-window): New function.
13417 (follow-post-command-hook): Use it.
13418 (follow-call-set-process-filter, follow-call-process-filter)
13419 (follow-intercept-process-output, follow-tidy-process-filter-alist)
13420 (follow-stop-intercept-process-output, follow-generic-filter):
13421 Functions deleted.
13422 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
13423 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
13424 New functions, replacing advice on scroll-bar-* commands.
13425 (follow-mwheel-scroll): New function (Bug#4112).
13426
13427 * comint.el (comint-adjust-point): New function.
13428 (comint-postoutput-scroll-to-bottom): Use it.
13429 Call follow-comint-scroll-to-bottom for Follow mode buffers.
13430
13431 2012-05-01 Glenn Morris <rgm@gnu.org>
13432
13433 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
13434 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
13435 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
13436 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
13437 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
13438 Remove no-byte-compile setting.
13439
13440 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
13441
13442 * minibuffer.el (completion-table-with-quoting): Fix compatibility
13443 all-completions code to not return a number in the last cdr.
13444
13445 2012-04-30 Leo Liu <sdl.web@gmail.com>
13446
13447 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
13448 read-only error.
13449
13450 2012-04-29 Chong Yidong <cyd@gnu.org>
13451
13452 * follow.el (follow-calc-win-end): Rewrite to handle partial
13453 screen lines correctly (Bug#8390).
13454 (follow-avoid-tail-recenter): Minor cleanup.
13455
13456 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
13457
13458 Avoid the obsolete `assoc' package.
13459 * speedbar.el (speedbar-refresh): Avoid adelete.
13460 (speedbar-file-lists): Simplify and avoid aput.
13461 * man.el (Man--sections, Man--refpages): New vars, replacing
13462 Man-sections-alist and Man-refpages-alist.
13463 (Man-build-section-alist, Man-build-references-alist):
13464 Use them; avoid aput.
13465 (Man--last-section, Man--last-refpage): New vars.
13466 (Man-follow-manual-reference): Use them.
13467 Use the `default' arg of completing-read.
13468 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
13469
13470 2012-04-27 Chong Yidong <cyd@gnu.org>
13471
13472 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
13473
13474 * startup.el (x-apply-session-resources): New function.
13475
13476 * term/ns-win.el (ns-initialize-window-system):
13477 * term/w32-win.el (w32-initialize-window-system):
13478 * term/x-win.el (x-initialize-window-system): Use it to properly
13479 set menu-bar-mode and other vars from X resources, even if the
13480 initial frame is not a window-system frame (Bug#2299).
13481
13482 * subr.el (read-key): Avoid running filter function when setting
13483 up temporary tool bar entries (Bug#9922).
13484
13485 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
13486
13487 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
13488 (Bug#11344)
13489
13490 2012-04-27 Chong Yidong <cyd@gnu.org>
13491
13492 * select.el (xselect--encode-string): New function, split from
13493 xselect-convert-to-string.
13494 (xselect-convert-to-string): Use it.
13495 (xselect-convert-to-filename, xselect-convert-to-os)
13496 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
13497 returned strings are properly encoded (Bug#11315).
13498
13499 2012-04-27 Chong Yidong <cyd@gnu.org>
13500
13501 * simple.el (delete-active-region): Move to killing custom group.
13502
13503 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
13504
13505 * progmodes/which-func.el (which-func-current): Quote %
13506 characters for mode-line processing.
13507
13508 2012-04-27 Chong Yidong <cyd@gnu.org>
13509
13510 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
13511 reaching eob (Bug#11286).
13512
13513 2012-04-27 Eli Zaretskii <eliz@gnu.org>
13514
13515 * progmodes/gdb-mi.el (gdb-control-level): New variable.
13516 (gdb): Make it buffer-local and init to zero.
13517 (gdb-control-commands-regexp): New variable.
13518 (gdb-send): Don't wrap in "-interpreter-exec console" if
13519 gdb-control-level is positive. Increment gdb-control-level
13520 whenever the command matches gdb-control-commands-regexp, and
13521 decrement it each time the command is "end". (Bug#11279)
13522
13523 2012-04-27 Martin Rudalics <rudalics@gmx.at>
13524
13525 * window.el (adjust-window-trailing-edge, enlarge-window)
13526 (shrink-window, window-resize):
13527 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
13528 windows (Bug#11276).
13529
13530 2012-04-27 Chong Yidong <cyd@gnu.org>
13531
13532 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
13533 fix "missing prefix" warning. All callers changed.
13534
13535 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
13536
13537 * emacs-lisp/assoc.el: Move to obsolete/.
13538
13539 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
13540
13541 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
13542
13543 * term/ns-win.el (ns-define-service):
13544 * progmodes/pascal.el (pascal-goto-defun):
13545 * progmodes/js.el (js--read-tab):
13546 * progmodes/etags.el (tags-lazy-completion-table):
13547 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
13548 * emacs-lisp/ewoc.el (ewoc--wrap):
13549 * emacs-lisp/assoc.el (aput, adelete, amake):
13550 * doc-view.el (doc-view-convert-current-doc):
13551 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
13552
13553 2012-04-26 Chong Yidong <cyd@gnu.org>
13554
13555 * image.el (image-type-from-buffer): Only return supported image
13556 type (Bug#9045).
13557
13558 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
13559 value, for symmetry with diff-end-of-hunk.
13560 (diff-split-hunk, diff-find-source-location)
13561 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
13562 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
13563 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
13564 compute the relevant hunk or file properly (Bug#6005).
13565 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
13566
13567 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
13568
13569 * vc/vc-mtn.el:
13570 * vc/vc-hg.el:
13571 * vc/vc-git.el:
13572 * vc/vc-dir.el:
13573 * vc/vc-cvs.el:
13574 * vc/vc-bzr.el:
13575 * vc/vc-arch.el:
13576 * vc/vc.el: Replace lexical-let by lexical-binding.
13577 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
13578 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
13579 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
13580
13581 2012-04-26 Chong Yidong <cyd@gnu.org>
13582
13583 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
13584 (diff-mode-shared-map): Bind it to / and [remap undo].
13585
13586 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
13587 (ediff-window-setup-function): Use it as the default, to set up
13588 windows based on whether the current frame is graphical (Bug#2138).
13589 (ediff-choose-window-setup-function-automatically): Make obsolete.
13590
13591 * vc/ediff-init.el: Always define ediff-pixel-width/height.
13592
13593 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13594
13595 * ffap.el: Remove old code for obsolete package.
13596 (ffap-complete-as-file-p): Remove.
13597
13598 Use completion-table-with-quoting for comint and pcomplete.
13599 * comint.el (comint--unquote&requote-argument)
13600 (comint--unquote-argument, comint--requote-argument): New functions.
13601 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
13602 (comint-quote-filename): Use regexp-opt-charset.
13603 (comint--common-suffix, comint--common-quoted-suffix)
13604 (comint--table-subvert): Remove.
13605 (comint-unquote-function, comint-requote-function): New vars.
13606 (comint--complete-file-name-data): Use them with
13607 completion-table-with-quoting.
13608 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
13609 * pcomplete.el (pcomplete-arg-quote-list)
13610 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
13611 (pcomplete-unquote-argument-function): Default to non-nil.
13612 (pcomplete-unquote-argument): Simplify.
13613 (pcomplete--common-quoted-suffix): Remove.
13614 (pcomplete-requote-argument-function): New var.
13615 (pcomplete--common-suffix): New function.
13616 (pcomplete-completions-at-point): Use completion-table-with-quoting
13617 and completion-table-subvert.
13618
13619 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
13620 (minibuffer--double-dollars): Preserve properties.
13621 (completion--sifn-requote): New function.
13622 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
13623
13624 * minibuffer.el: Add support for completion of quoted/escaped data.
13625 (completion-table-with-quoting, completion-table-subvert): New funs.
13626 (completion--twq-try, completion--twq-all): New functions.
13627 (completion--nth-completion): New function.
13628 (completion-try-completion, completion-all-completions): Use it.
13629
13630 2012-04-25 Leo Liu <sdl.web@gmail.com>
13631
13632 * progmodes/python.el (python-pdbtrack-get-source-buffer):
13633 Use compilation-message if available to find real filename.
13634
13635 2012-04-25 Chong Yidong <cyd@gnu.org>
13636
13637 * vc/diff-mode.el (diff-setup-whitespace): New function.
13638 (diff-mode): Use it.
13639
13640 * vc/diff.el (diff-sentinel):
13641 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
13642 Whitespace mode variables based on diff style (Bug#8612).
13643
13644 2012-04-25 Leo Liu <sdl.web@gmail.com>
13645
13646 * progmodes/python.el (python-send-region): Add suffix .py to the
13647 temp file.
13648
13649 * files.el (auto-mode-alist): Use javascript-mode instead.
13650
13651 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
13652
13653 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
13654
13655 * net/soap-client.el (soap-resolve-references-for-sequence-type)
13656 (soap-resolve-references-for-array-type): Hack to prevent self
13657 references, see Bug#9.
13658 (soap-parse-envelope): Report the contents of the 'detail' node
13659 when receiving a fault reply.
13660 (soap-parse-envelope): Report the contents of the entire 'detail' node.
13661
13662 * net/soap-inspect.el (soap-sample-value-for-simple-type)
13663 (soap-inspect-simple-type): New function.
13664
13665 * net/soap-client.el (soap-simple-type): New struct.
13666 (soap-default-xsd-types, soap-default-soapenc-types)
13667 (soap-decode-basic-type, soap-encode-basic-type):
13668 support unsignedInt and double basic types.
13669 (soap-resolve-references-for-simple-type)
13670 (soap-parse-simple-type, soap-encode-simple-type): New function.
13671 (soap-parse-schema): Parse xsd:simpleType declarations.
13672
13673 * net/soap-client.el (soap-default-xsd-types)
13674 (soap-default-soapenc-types): Add integer, byte and anyURI types.
13675 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
13676 the local name of "soapenc:Array".
13677 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
13678 decoding integer, byte and anyURI xsd types.
13679
13680 2012-04-25 Chong Yidong <cyd@gnu.org>
13681
13682 * cus-edit.el (custom-buffer-create-internal): Update header text.
13683
13684 2012-04-25 Eli Zaretskii <eliz@gnu.org>
13685
13686 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
13687 settings on 'system-type', not on 'window-system'. On MS-Windows,
13688 set interactive-mode on in GDB.
13689
13690 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
13691
13692 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
13693 (ruby-syntax-propertize-regexp): Remove.
13694 (ruby-syntax-propertize-function): Split regexp into chunks.
13695 Match following code directly.
13696
13697 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
13698
13699 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
13700 (ruby-syntax-propertize-regexp): New function.
13701 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
13702 by a special keyword.
13703
13704 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
13705 (ruby-syntax-general-delimiters-goto-beg)
13706 (ruby-syntax-propertize-general-delimiters): New functions.
13707 (ruby-syntax-propertize-function): Use them to handle GDL.
13708 (ruby-font-lock-keywords): Move old handling of GDL...
13709 (ruby-font-lock-syntactic-keywords): .. to here.
13710 (ruby-calculate-indent): Adjust indentation for GDL.
13711
13712 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
13713
13714 * notifications.el (top): Remove unneeded declarations.
13715 (notifications-specification-version): Change to "1.2".
13716 (notifications-interface, notifications-notify-method)
13717 (notifications-close-notification-method): Fix docstring.
13718 (notifications-get-capabilities-method): New defconst.
13719 (notifications-notify): Add :action-items, :resident and
13720 :transient hints. Change "image_data" to "image-data" and
13721 "image_path" to "image-path".
13722 (notifications-get-capabilities): New defun.
13723
13724 2012-04-24 Leo Liu <sdl.web@gmail.com>
13725
13726 * progmodes/python.el: Move hideshow setup to the end.
13727
13728 2012-04-24 Martin Rudalics <rudalics@gmx.at>
13729
13730 * window.el (handle-select-window): Clear echo area since this is
13731 no more done by read_char (Bug#11304).
13732
13733 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
13734
13735 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
13736 and `/ M' to filter-derived-mode.
13737 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
13738 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
13739 (ibuffer-mark-by-mode): Use default rather than initial-input.
13740 (ibuffer-filter-by-derived-mode): Autoload and require-match.
13741
13742 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
13743
13744 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
13745 (ibuffer-filter-by-derived-mode): New filter.
13746 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
13747
13748 2012-04-23 Andreas Politz <politza@fh-trier.de>
13749
13750 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
13751
13752 2012-04-23 Chong Yidong <cyd@gnu.org>
13753
13754 * cus-edit.el (customize-apropos, customize-apropos-options):
13755 Disable matching of non-option variables (Bug#11176).
13756 (customize-option, customize-option-other-window)
13757 (customize-changed-options): Doc fix.
13758 (customize-apropos-options, customize-apropos-faces)
13759 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
13760
13761 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
13762 Fix word list splitting (Bug#11132).
13763 (apropos-symbol, apropos-keybinding, apropos-label)
13764 (apropos-property, apropos-function-button)
13765 (apropos-variable-button, apropos-misc-button): New faces.
13766 (apropos-symbol-face, apropos-keybinding-face)
13767 (apropos-label-face, apropos-property-face, apropos-match-face):
13768 Variables removed (Bug#8396).
13769 (apropos-library-button, apropos-format-plist, apropos-print)
13770 (apropos-print-doc, apropos-describe-plist): Callers changed.
13771
13772 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
13773
13774 * net/xesam.el (xesam-mode-map): Use let-bound map in
13775 initialization. (Bug#11292)
13776
13777 2012-04-23 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
13778
13779 Preserve ispell session localwords when switching back to
13780 original buffer.
13781
13782 * textmodes/ispell.el (ispell-buffer-session-localwords):
13783 New buffer-local variable to hold buffer session localwords.
13784 (ispell-kill-ispell): Add option 'clear to delete session
13785 localwords.
13786 (ispell-command-loop, ispell-change-dictionary)
13787 (ispell-buffer-local-words): Preserve session localwords when
13788 needed.
13789
13790 * textmodes/flyspell.el (flyspell-process-localwords)
13791 (flyspell-do-correct): Preserve session localwords when needed.
13792
13793 2012-04-23 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
13794
13795 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
13796 using obsolete `translation-table-for-input'.
13797 (ispell-word, ispell-process-line, ispell-complete-word):
13798 Use plain `insert' instead of removed `ispell-insert-word'.
13799
13800 2012-04-22 Chong Yidong <cyd@gnu.org>
13801
13802 * cus-edit.el (custom-variable-menu)
13803 (custom-variable-reset-saved, custom-face-menu)
13804 (custom-face-reset-saved): If there is no saved value, make the
13805 "reset-saved" operation bring back the default (Bug#9509).
13806 (custom-face-state): Properly detect themed faces.
13807
13808 * faces.el (face-spec-set): Stop supporting deprecated form of
13809 third arg.
13810
13811 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
13812
13813 Move functions from C to Lisp. Make non-blocking method calls
13814 the default. Implement further D-Bus standard interfaces.
13815
13816 * net/dbus.el (dbus-message-internal): Declare function.
13817 Remove unneeded function declarations.
13818 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
13819 (dbus-message-type-method-return, dbus-message-type-error)
13820 (dbus-message-type-signal): Declare variables. Remove local
13821 definitions.
13822 (dbus-interface-dbus, dbus-interface-peer)
13823 (dbus-interface-introspectable, dbus-interface-properties)
13824 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
13825 Adapt docstring.
13826 (dbus-interface-objectmanager): New defconst.
13827 (dbus-call-method, dbus-call-method-asynchronously)
13828 (dbus-send-signal, dbus-method-return-internal)
13829 (dbus-method-error-internal, dbus-register-service)
13830 (dbus-register-signal, dbus-register-method): New defuns, moved
13831 from dbusbind.c
13832 (dbus-call-method-handler, dbus-setenv)
13833 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
13834 New defuns.
13835 (dbus-call-method-non-blocking): Make it an obsolete function.
13836 (dbus-unregister-object, dbus-unregister-service)
13837 (dbus-handle-event, dbus-register-property)
13838 (dbus-property-handler): Obey the new structure of
13839 `bus-registered-objects'.
13840 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
13841 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
13842 Use `dbus-call-method'.
13843
13844 2012-04-22 Chong Yidong <cyd@gnu.org>
13845
13846 * cus-edit.el (custom-commands, custom-reset-menu)
13847 (Custom-reset-standard): Tweak labels.
13848 (custom-reset-button-menu): Change default to t.
13849 (custom-buffer-create-internal): For the custom-reset-button-menu
13850 case, put the revert button first.
13851 (custom-group-subtitle): New face.
13852 (custom-group-value-create): Align docstring to a specific column.
13853
13854 * wid-edit.el (widget-documentation-link-add): Don't handle
13855 indentation in this function.
13856 (widget-documentation-string-indent-to): New function.
13857 (widget-documentation-string-value-create): Use it.
13858
13859 * autorevert.el (auto-revert):
13860 * epg-config.el (epg):
13861 * ibuffer.el (ibuffer):
13862 * mpc.el (mpc):
13863 * ses.el (ses):
13864 * eshell/eshell.el (eshell):
13865 * net/ange-ftp.el (ange-ftp):
13866 * progmodes/ebnf2ps.el (postscript):
13867 * progmodes/flymake.el (flymake):
13868 * progmodes/prolog.el (prolog):
13869 * progmodes/verilog-mode.el (verilog-mode):
13870 * progmodes/which-func.el (which-func):
13871 * term/xterm.el (xterm):
13872 * textmodes/picture.el (picture):
13873 * textmodes/tildify.el (tildify):
13874 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
13875 customization buffers.
13876
13877 2012-04-22 Alan Mackenzie <acm@muc.de>
13878
13879 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
13880 Adding a ) can hide the resulting (..) from searches. Fix it.
13881 Bound the backward search to the position of the existing (.
13882
13883 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
13884
13885 * progmodes/verilog-mode.el (verilog-mode): Check whether
13886 which-func-modes is t before adding verilog-mode.
13887 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
13888
13889 2012-04-21 Leo Liu <sdl.web@gmail.com>
13890
13891 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
13892
13893 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
13894
13895 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
13896 filling of the last column of a table (Bug#5635).
13897 (woman-find-next-control-line): New arg, specifying an additional
13898 regexp component for the control line.
13899 (woman2-roff-buffer): Use it.
13900 (woman-break-table): New function.
13901 (woman2-TS): Use it.
13902
13903 2012-04-21 Chong Yidong <cyd@gnu.org>
13904
13905 * woman.el (woman-set-buffer-display-table, woman-decode-region)
13906 (woman-horizontal-escapes, woman-negative-vertical-space)
13907 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
13908 (WoMan-warn-ignored): Use ?\s instead of ?\ .
13909
13910 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13911
13912 * minibuffer.el (completion-file-name-table): Complete user names.
13913
13914 2012-04-20 Leo Liu <sdl.web@gmail.com>
13915
13916 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
13917 and pcase-let*.
13918
13919 2012-04-20 Chong Yidong <cyd@gnu.org>
13920
13921 * server.el (server-execute): Respect initial-buffer-choice if it
13922 is a string and there are no files to open (Bug#2825).
13923 (server-create-window-system-frame, server-create-tty-frame):
13924 Don't switch buffers here.
13925 (server-process-filter): Only try to open a window system frame if
13926 compiled with graphical support (Bug#8314).
13927
13928 2012-04-20 Dan Nicolaescu <dann@gnu.org>
13929
13930 * battery.el (battery-echo-area-format): Display remaining time
13931 for sysfs backend too (Bug#11269).
13932 (battery-linux-sysfs): Fix conditional for the charge.
13933
13934 2012-04-20 Chong Yidong <cyd@gnu.org>
13935
13936 * progmodes/gdb-mi.el (gdb): Revert previous change.
13937 (gdb-inferior-io--init-proc): New function.
13938 (gdb-init-1): Use it.
13939 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
13940 responsible for allocating a new pty and hooking it to gdb when
13941 the old pty gets an EIO due to process exit.
13942 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
13943 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
13944 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
13945
13946 2012-04-20 Eli Zaretskii <eliz@gnu.org>
13947
13948 * window.el (window-min-size, window-sizable, window-min-delta)
13949 (window-max-delta, window--resizable, window-resizable)
13950 (window-total-size, window-full-height-p, window-full-width-p)
13951 (window-in-direction, window--resize-mini-window, window-resize)
13952 (window--resize-child-windows-normal)
13953 (window--resize-child-windows, window--resize-siblings)
13954 (window--resize-this-window, adjust-window-trailing-edge)
13955 (enlarge-window, shrink-window): Doc fixes.
13956
13957 2012-04-20 Chong Yidong <cyd@gnu.org>
13958
13959 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
13960 New function to call delete-process on the gdb-inferior buffer's pty.
13961 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
13962 pty process (Bug#11273).
13963 (gdb-update): New arg to suppress talking to the gdb process.
13964 (gdb-done-or-error): Use it.
13965 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
13966 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
13967 sentinel not being called.
13968
13969 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
13970
13971 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
13972
13973 2012-04-20 Glenn Morris <rgm@gnu.org>
13974
13975 * net/network-stream.el (open-network-stream): Doc fix.
13976
13977 2012-04-20 Chong Yidong <cyd@gnu.org>
13978
13979 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
13980
13981 2012-04-20 Alan Mackenzie <acm@muc.de>
13982
13983 Ensure searching for keywords is case sensitive.
13984
13985 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
13986 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
13987 (c-defun-name, c-mark-function, c-cpp-define-name)
13988 (c-comment-indent, c-scan-conditionals, c-indent-defun)
13989 (c-context-line-break): Bind case-fold-search to nil.
13990
13991 * progmodes/cc-mode.el (c-font-lock-fontify-region):
13992 Bind case-fold-search to nil.
13993
13994 2012-04-20 Chong Yidong <cyd@gnu.org>
13995
13996 * mail/sendmail.el (mail-bury): Call return action with the right
13997 Rmail buffer (Bug#11242).
13998
13999 * server.el (server-process-filter): Handle corner case where both
14000 tty and nowait options are present (Bug#11102).
14001
14002 2012-04-20 Eli Zaretskii <eliz@gnu.org>
14003
14004 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
14005 (top level): Put into the executable the ident-style '$Id:' tag on
14006 windows-nt as well.
14007
14008 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
14009
14010 * electric.el (electric-indent-post-self-insert-function): Check that
14011 electric-indent-mode is enabled in current buffer.
14012
14013 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
14014
14015 * imenu.el (imenu-progress-message): Restore; it is "used" in
14016 erc/erc-imenu.el and net/snmp-mode.el.
14017
14018 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
14019
14020 * avoid.el (mouse-avoidance-mode): Mark unused arg.
14021 (mouse-avoidance-nudge-mouse): Remove unused binding.
14022
14023 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
14024
14025 * descr-text.el (describe-char):
14026 * progmodes/python.el (python-describe-symbol):
14027 Don't call `toggle-read-only', set `buffer-read-only'.
14028
14029 * imenu.el (imenu-default-goto-function): Mark unused args.
14030 (imenu-progress-message): Remove obsolete macro; all callers changed.
14031
14032 * subr.el (keymap-canonicalize): Remove unused binding.
14033 (read-passwd): Mark unused arg.
14034
14035 * tutorial.el (tutorial--display-changes): Remove unused binding.
14036 (tutorial--save-tutorial-to): Remove unused variable.
14037
14038 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
14039 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
14040 (package-generate-autoloads, package-menu--generate)
14041 (package-menu--find-upgrades): Remove unused bindings.
14042
14043 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
14044 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
14045 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
14046 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
14047 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
14048 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
14049 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
14050 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
14051 (cua-delete-char-rectangle): Mark unused args.
14052 (cua-align-rectangle): Remove unused binding.
14053
14054 * mail/rmail.el (compilation--message->loc)
14055 (epa--find-coding-system-for-mime-charset): Declare.
14056
14057 * net/dbus.el (dbus-register-service): Declare.
14058 (dbus-name-owner-changed-handler): Remove unused binding.
14059
14060 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
14061 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
14062 (nxml-scan-backward-within): Mark unused arg.
14063 (nxml-dynamic-markup-word): Remove unused binding.
14064
14065 * mouse.el (mouse-menu-major-mode-map):
14066 * emacs-lisp/authors.el (authors-scan-change-log)
14067 (authors-add-to-author-list):
14068 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
14069 * emacs-lisp/smie.el (smie-auto-fill):
14070 * mail/sendmail.el (mail-bury):
14071 * mail/unrmail.el (unrmail):
14072 * net/tls.el (open-tls-stream):
14073 * textmodes/picture.el (picture-mouse-set-point):
14074 Remove unused bindings.
14075
14076 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
14077
14078 * net/tramp.el (tramp-action-password): Let-bind
14079 `enable-recursive-minibuffers' to t.
14080
14081 2012-04-18 Sam Steingold <sds@gnu.org>
14082
14083 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
14084 instead of 'string to accommodate values like [f11].
14085 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
14086 * progmodes/gdb-mi.el: Likewise.
14087
14088 2012-04-18 Leo Liu <sdl.web@gmail.com>
14089
14090 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
14091 current buffer.
14092 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
14093 LOCAL is nil.
14094
14095 2012-04-18 Chong Yidong <cyd@gnu.org>
14096
14097 * simple.el (line-move): Use forward-line if in batch mode
14098 (Bug#11053).
14099
14100 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
14101
14102 * files.el (after-find-file): Do not try to add a final newline if
14103 the buffer is read-only (Bug#11156).
14104
14105 2012-04-17 Richard Stallman <rms@gnu.org>
14106
14107 * mail/rmail.el (rmail-start-mail):
14108 Pass (rmail-mail-return...) for the return-action.
14109 Pass (rmail-yank-current-message...) for the yank-action.
14110 (rmail-yank-current-message): New function.
14111 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
14112 (rmail-reply): Likewise.
14113 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
14114
14115 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
14116 buffer, not the last. Reject temp buffers. Use the rmail-mode
14117 buffer, not newbuf.
14118
14119 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
14120
14121 * server.el (server-ensure-safe-dir): Simplify.
14122
14123 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
14124
14125 * emacs-lisp/smie.el: Provide smarter auto-filling.
14126 (smie-auto-fill): New function.
14127 (smie-setup): Use it.
14128
14129 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
14130
14131 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
14132
14133 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
14134 (comment-indent): Use it.
14135
14136 2012-04-17 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
14137
14138 * ses.el: The overall change is to add cell renaming, that is
14139 setting fancy names for cell symbols other than name matching
14140 "\\`[A-Z]+[0-9]+\\'" regexp .
14141 (ses-localvars): Add ses--renamed-cell-symb-list.
14142 (ses-create-cell-variable): New defun.
14143 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
14144 (ses-relocate-formula): Relocate formulas only for cells the
14145 symbols of which are not renamed, i.e. symbols whose names do not
14146 match regexp "\\`[A-Z]+[0-9]+\\'".
14147 (ses-relocate-all): Relocate values only for cells the symbols of
14148 which are not renamed.
14149 (ses-load): Create cells variables as the (ses-cell ...) are read,
14150 in order to check row col consistency with cell symbol name only
14151 for cells that are not renamed.
14152 (ses-replace-name-in-formula): New defun.
14153 (ses-rename-cell): New defun.
14154
14155 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
14156
14157 * progmodes/perl-mode.el (perl-indent-parens-as-block):
14158 New option (bug#11118).
14159 (perl-calculate-indent): Respect it.
14160
14161 2012-04-17 Glenn Morris <rgm@gnu.org>
14162
14163 * dired-aux.el (dired-mark-read-string): Doc fix.
14164
14165 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
14166
14167 * dired-aux.el (dired-mark-read-string): Offer optional completion.
14168 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
14169
14170 2012-04-17 Glenn Morris <rgm@gnu.org>
14171
14172 * mouse.el (mouse-drag-track):
14173 * speedbar.el (speedbar-frame-mode):
14174 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
14175
14176 2012-04-16 Leo Liu <sdl.web@gmail.com>
14177
14178 * progmodes/python.el: Trivial cleanup.
14179
14180 2012-04-16 Glenn Morris <rgm@gnu.org>
14181
14182 * vc/vc.el (vc-string-prefix-p):
14183 * vc/pcvs-util.el (cvs-string-prefix-p):
14184 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
14185 * mpc.el (mpc-string-prefix-p):
14186 Make all of these into obsolete aliases for string-prefix-p.
14187 Update callers.
14188 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
14189
14190 * textmodes/two-column.el: Move custom options to the start.
14191 (frame-width): Remove compat definition.
14192 (2C-associate-buffer, 2C-dissociate):
14193 Use with-current-buffer rather than save-excursion.
14194 (2C-dissociate): Force a mode-line update.
14195 (2C-autoscroll): Use ignore-errors.
14196
14197 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
14198 Autoload trivia.
14199
14200 * emacs-lisp/cl-extra.el (*random-state*):
14201 Remove unnecessary declaration.
14202
14203 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
14204
14205 * play/cookie1.el (cookie-snarf):
14206 Give an explicit error if input file cannot be read.
14207
14208 * play/yow.el (yow-file): Use expand-file-name rather than concat.
14209
14210 * progmodes/perl-mode.el (c-macro-expand):
14211 Remove unnecessary autoload (it is in loaddefs.el).
14212
14213 * textmodes/picture.el (picture-desired-column)
14214 (picture-update-desired-column): Convert comments to doc-strings.
14215 (picture-substitute): Remove function.
14216 (picture-mode-map): Initialize in the defvar.
14217
14218 * woman.el: Remove eval-after-load for tar-mode.
14219 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
14220 (woman-tar-extract-file): Autoload it.
14221
14222 * frame.el (automatic-hscrolling): Make this alias obsolete.
14223
14224 2012-04-12 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
14225
14226 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
14227 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
14228 (ispell-dictionary-base-alist): Revert to original XEmacs
14229 friendly version for default. [:alpha:] will be added in
14230 `ispell-set-spellchecker-params' if needed.
14231
14232 2012-04-16 Chong Yidong <cyd@gnu.org>
14233
14234 * image.el (imagemagick--file-regexp): New variable.
14235 (imagemagick-register-types): Use it.
14236 (imagemagick-types-inhibit): Add :set function. Allow new value
14237 of t to inhibit all types.
14238
14239 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
14240 so we can preload it.
14241
14242 * loadup.el (fboundp): Preload regexp-opt, needed by
14243 imagemagick-register-types.
14244
14245 2012-04-15 Chong Yidong <cyd@gnu.org>
14246
14247 * frame.el (scrolling): Remove nearly unused customization group.
14248
14249 * scroll-all.el (scroll-all-mode): Move to windows group.
14250
14251 2012-04-15 Chong Yidong <cyd@gnu.org>
14252
14253 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
14254
14255 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
14256
14257 Avoid the use of ((lambda ...) ...) in lexical-binding code.
14258 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
14259
14260 2012-04-15 Glenn Morris <rgm@gnu.org>
14261
14262 * simple.el (process-file-side-effects): Doc fix.
14263
14264 2012-04-15 Glenn Morris <rgm@gnu.org>
14265
14266 * international/mule-cmds.el (set-language-environment): Doc fix.
14267
14268 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
14269
14270 * server.el (server-auth-key, server-generate-key): Doc fixes.
14271 (server-get-auth-key): Doc fix. Use `string-match-p'.
14272 (server-start): Reflow docstring.
14273
14274 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
14275
14276 * server.el (server-generate-key): `called-interactively-p'
14277 requires a parameter.
14278
14279 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
14280
14281 * server.el (server-auth-key): New variable.
14282 (server-generate-key, server-get-auth-key): New function.
14283 (server-start): Use the new variable and functions to allow
14284 setting a permanent server key (bug#9423).
14285
14286 2012-04-14 Leo Liu <sdl.web@gmail.com>
14287
14288 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
14289
14290 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
14291
14292 Spelling fixes.
14293 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
14294 Emacs uses American spelling.
14295
14296 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
14297
14298 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
14299 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
14300 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
14301 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
14302
14303 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
14304
14305 * progmodes/which-func.el (which-func-modes): Change default.
14306
14307 2012-04-14 Kim F. Storm <storm@cua.dk>
14308
14309 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
14310 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
14311
14312 2012-04-14 Chong Yidong <cyd@gnu.org>
14313
14314 * custom.el (custom-theme-set-variables): Doc fix.
14315
14316 2012-04-14 Glenn Morris <rgm@gnu.org>
14317
14318 * international/mule.el (set-auto-coding-for-load): Doc fix.
14319
14320 2012-04-14 Alan Mackenzie <acm@muc.de>
14321
14322 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
14323 imenu work again for Objective C Mode. Correct the *-index values,
14324 these having been disturbed by a previous change in 2011-08.
14325
14326 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
14327 Correct two search limits.
14328
14329 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
14330
14331 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
14332
14333 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
14334
14335 * international/characters.el: Fix sorting.
14336
14337 2012-04-14 Eli Zaretskii <eliz@gnu.org>
14338
14339 * international/characters.el: Add more missing Latin case pairs.
14340
14341 2012-04-14 Glenn Morris <rgm@gnu.org>
14342
14343 * files.el (dir-locals-set-class-variables): Doc fix.
14344
14345 2012-04-14 Eli Zaretskii <eliz@gnu.org>
14346
14347 * international/characters.el: Add set-case-syntax-pair call for
14348 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
14349 counterpart. (Bug#11209)
14350
14351 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
14352
14353 2012-04-14 Glenn Morris <rgm@gnu.org>
14354
14355 * calendar/holidays.el (calendar-check-holidays): Doc fix.
14356
14357 2012-04-14 Eli Zaretskii <eliz@gnu.org>
14358
14359 * textmodes/ispell.el (ispell-dictionary-base-alist):
14360 Add data for Hebrew.
14361
14362 2012-04-14 Chong Yidong <cyd@gnu.org>
14363
14364 * net/rcirc.el (rcirc-cmd-quit):
14365 Revert 2012-03-18 change (Bug#11192).
14366
14367 2012-04-14 Glenn Morris <rgm@gnu.org>
14368
14369 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
14370
14371 2012-04-14 Eli Zaretskii <eliz@gnu.org>
14372
14373 * minibuffer.el (completion-in-region-mode-map):
14374 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
14375
14376 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
14377
14378 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
14379
14380 2012-04-13 Masatake YAMATO <yamato@redhat.com>
14381
14382 * minibuffer.el (minibuffer-local-filename-syntax): New variable
14383 to allow `C-M-f' and `C-M-b' to move to the nearest path
14384 separator (bug#9511).
14385
14386 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
14387
14388 * avoid.el: Require cl when compiling. And also move the
14389 `provide' to the end.
14390
14391 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14392
14393 * avoid.el (mouse-avoidance-banish-position): New variable.
14394 (mouse-avoidance-banish-destination): Use it (bug#10165).
14395
14396 2012-04-13 Leo Liu <sdl.web@gmail.com>
14397
14398 * progmodes/which-func.el (which-func-modes): Add objc-mode.
14399
14400 2012-04-13 Ken Brown <kbrown@cornell.edu>
14401
14402 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
14403 this is no longer needed now that cygstart understands file:// URLs.
14404 (browse-url-filename-alist): For the same reason, don't modify
14405 file:// URLs on Cygwin.
14406
14407 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
14408
14409 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
14410 the region on shift if the binding is already shifted (bug#11221).
14411
14412 2012-04-12 Glenn Morris <rgm@gnu.org>
14413
14414 * mail/mailpost.el: Move to obsolete/.
14415
14416 2012-04-12 Drew Adams <drew.adams@oracle.com>
14417
14418 * imenu.el (imenu--generic-function): Ignore invisible definitions
14419 (bug#10123).
14420
14421 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
14422
14423 * hexl.el (hexl-bits): New variable.
14424 (hexl-options): Mention the variable in the doc string.
14425 (hexl-rulerise, hexl-line-displen): New functions.
14426 (hexl-mode): Mention the new variable.
14427 (hexl-mode, hexl-current-address, hexl-current-address):
14428 Use the displen.
14429 (hexl-ascii-start-column): New function.
14430 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
14431 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
14432
14433 2012-04-12 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
14434
14435 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
14436 '("-i" ENCODING), in 2 separate command-line arguments, to specify
14437 the encoding, as expected by hunspell.
14438
14439 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
14440
14441 * battery.el (battery--linux-sysfs-regexp): New const.
14442 (battery-status-function): Use it. Remove yeeloong special case.
14443 (battery-yeeloong-sysfs): Remove.
14444 (battery-echo-area-format): Remove yeeloong special case.
14445
14446 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
14447
14448 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
14449 Reported by Noah Friedman.
14450
14451 * subr.el (read-passwd): Use read-string.
14452
14453 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14454
14455 * vcursor.el (vcursor-move): Increase the priority of the overlay
14456 (bug#9663).
14457
14458 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
14459
14460 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
14461 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
14462
14463 2012-04-11 William Stevenson <yhvh2000@gmail.com>
14464
14465 * textmodes/artist.el (artist-mode): Convert artist-mode to use
14466 define-minor-mode (bug#10760).
14467
14468 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
14469
14470 * progmodes/grep.el (rgrep): Tweak the find command line so
14471 that directories matching `grep-find-ignored-files' won't be
14472 pruned (bug#10351).
14473
14474 2012-04-11 Chong Yidong <cyd@gnu.org>
14475
14476 * startup.el (command-line): Remove support for long-obsolete
14477 variable font-lock-face-attributes.
14478
14479 2012-04-11 Glenn Morris <rgm@gnu.org>
14480
14481 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
14482
14483 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
14484
14485 * window.el (window--state-get-1): Obey window-point-insertion-type.
14486
14487 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
14488
14489 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
14490 to previous function when point is on the first character of a
14491 function. Take care of that in `narrow-to-defun' (bug#6157).
14492
14493 2012-04-11 Glenn Morris <rgm@gnu.org>
14494
14495 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
14496 not just file-errors.
14497
14498 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
14499 (vc-bzr-sha1): Use internal sha1.
14500
14501 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
14502
14503 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
14504
14505 2012-04-10 SĂ©bastien Gross <seb@chezwam.org> (tiny change)
14506
14507 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
14508 that start in the middle of the line (bug#10496).
14509
14510 2012-04-10 Dan Nicolaescu <dann@gnu.org>
14511
14512 * battery.el (battery-linux-proc-acpi): Only one battery is
14513 discharged at a time, but that seems to confuse battery.el when
14514 computing `rate-type' for the battery not being discharged
14515 (bug#10332).
14516
14517 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
14518
14519 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
14520
14521 * international/quail.el: Use dolist and simplify.
14522 (quail-define-package, quail-update-keyboard-layout)
14523 (quail-define-rules): Use dolist.
14524 (quail-insert-kbd-layout, quail-get-translation): CSE.
14525
14526 * tmm.el: Use dolist, remove left over hook.
14527 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
14528 Use dolist.
14529 (calendar-load-hook): Don't mess with it.
14530
14531 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
14532 Use derived-mode-p. Run the diff asynchronously.
14533
14534 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
14535
14536 * obsolete/mouse-sel.el: Add an Obsolete-since header.
14537
14538 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
14539
14540 * misc.el: Display absolute path of loaded DLLs (bug#10424).
14541 (list-dynamic-libraries--loaded): New function.
14542 (list-dynamic-libraries--refresh): Use it.
14543
14544 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
14545
14546 * progmodes/python.el (python-fill-paragraph):
14547 Make python-fill-region in a multiline string work when font-lock is
14548 disabled (bug#7018).
14549
14550 2012-04-10 Laimonas VÄ—bra <laimonas.vebra@gmail.com> (tiny change)
14551
14552 * language/european.el (cp775): Add oem/legacy (en)coding on
14553 DOS/MS Windows for the Baltic languages. There are still plenty
14554 of texts written in this encoding/codepage (bug#6519).
14555
14556 2012-04-10 Glenn Morris <rgm@gnu.org>
14557
14558 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
14559 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
14560
14561 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
14562
14563 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
14564 next-line "n" and previous-line "p" in order to make recentf more
14565 consistent with ibuffer, dired or org-mode (bug#9387).
14566
14567 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
14568
14569 * image.el (put-image): Return the overlay created instead of the
14570 optional input string (bug#7834). Note that this may break code
14571 that is (for some reason or other) depending on `put-image'
14572 returning the string.
14573
14574 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
14575
14576 * simple.el (zap-to-char): Allow zapping using input methods
14577 (bug#1580).
14578
14579 * textmodes/fill.el (fill-region): Leave point and mark where they
14580 were before filling (bug#5399).
14581
14582 2012-04-09 Glenn Morris <rgm@gnu.org>
14583
14584 * version.el (emacs-bzr-get-version):
14585 Handle lightweight checkouts of local branches.
14586
14587 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
14588
14589 * international/characters.el: Recover lost case pairs. (Bug#11209)
14590
14591 2012-04-09 Chong Yidong <cyd@gnu.org>
14592
14593 * custom.el (custom-variable-p): Return nil for non-symbol
14594 arguments instead of signaling an error.
14595 (user-variable-p): Obsolete alias for custom-variable-p.
14596
14597 * apropos.el (apropos-variable):
14598 * files-x.el (read-file-local-variable):
14599 * simple.el (set-variable):
14600 * woman.el (woman-mini-help):
14601 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
14602
14603 2012-04-09 Glenn Morris <rgm@gnu.org>
14604
14605 * startup.el (normal-top-level): Don't look for leim-list.el
14606 in places where it will not be found. (Bug#910)
14607
14608 * international/mule-cmds.el (set-default-coding-systems):
14609 * files.el (normal-mode):
14610 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
14611 This function was removed with ucs-tables.el in 2008.
14612
14613 2012-04-08 Eli Zaretskii <eliz@gnu.org>
14614
14615 * textmodes/ispell.el (ispell-check-version): For hunspell, set
14616 ispell-encoding8-command to "-i", without a trailing space.
14617 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
14618 separate command-line arguments, to specify the encoding, since
14619 that's how hunspell expects it.
14620
14621 2012-04-08 Glenn Morris <rgm@gnu.org>
14622
14623 * loadup.el: Load bindings before cus-start.
14624 This reduces somewhat the number of "rogue" settings in emacs -Q.
14625
14626 2012-04-07 Glenn Morris <rgm@gnu.org>
14627
14628 * version.el (emacs-bzr-get-version): New function.
14629 (emacs-bzr-version): New variable.
14630 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
14631 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
14632
14633 2012-04-07 Eli Zaretskii <eliz@gnu.org>
14634
14635 * international/uni-bidi.el, international/uni-category.el:
14636 * international/uni-combining.el, international/uni-decimal.el:
14637 * international/uni-decomposition.el, international/uni-digit.el:
14638 * international/uni-lowercase.el, international/uni-mirrored.el:
14639 * international/uni-name.el, international/uni-numeric.el:
14640 * international/uni-titlecase.el, international/uni-uppercase.el:
14641 Update for Unicode 6.1.
14642
14643 2012-04-07 Eli Zaretskii <eliz@gnu.org>
14644
14645 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
14646
14647 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
14648
14649 * window.el (shrink-window): Mention the `window-min-height'
14650 variable in the doc string.
14651
14652 2012-04-05 Bastien Guerry <bzg@altern.org>
14653
14654 * color.el (color-lighten-name): Fix typo.
14655
14656 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
14657
14658 * server.el (server--on-display-p): New function.
14659 (server--on-display-p): Use it.
14660
14661 2012-04-04 GĂ¡bor Vida <vidagabor@gmail.com> (tiny change)
14662
14663 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
14664 (bug#11145).
14665
14666 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
14667
14668 * comint.el (comint--common-quoted-suffix): Check string boundary
14669 before comparing (bug#11158).
14670 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
14671
14672 2012-04-04 Chong Yidong <cyd@gnu.org>
14673
14674 * minibuffer.el (completion-extra-properties): Doc fix.
14675
14676 * subr.el (delayed-warnings-hook): Doc fix.
14677
14678 2012-04-04 Daiki Ueno <ueno@unixuser.org>
14679
14680 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
14681 selection (Bug#11159).
14682 (epa-insert-keys): Inform that the default public key will be
14683 exported if no key is selected.
14684
14685 2012-04-04 Richard Stallman <rms@gnu.org>
14686
14687 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
14688
14689 2012-04-03 Chong Yidong <cyd@gnu.org>
14690
14691 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
14692 mail-insert-file, not its obsolete alias mail-attach-file.
14693
14694 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
14695
14696 * notifications.el (notifications-notify): Fix docstring.
14697
14698 2012-04-02 Glenn Morris <rgm@gnu.org>
14699
14700 * emacs-lisp/authors.el (authors-aliases): Another addition.
14701
14702 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
14703
14704 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
14705 `tramp-compat-call-process' instead of `tramp-local-call-process'.
14706 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
14707
14708 2012-04-01 Chong Yidong <cyd@gnu.org>
14709
14710 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
14711 Handle root directory properly.
14712 (copy-directory): Caller changed.
14713
14714 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
14715 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
14716
14717 2012-03-31 Glenn Morris <rgm@gnu.org>
14718
14719 * term/xterm.el (xterm-extra-capabilities): Doc fix.
14720
14721 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
14722
14723 * calendar/calendar.el (calendar-window-list)
14724 (calendar-hide-window): Restore. (Bug#11140)
14725 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
14726
14727 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
14728
14729 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14730
14731 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
14732 Check if file is a symlink (Bug#10489).
14733
14734 * files.el (copy-directory): Likewise.
14735
14736 2012-03-30 Chong Yidong <cyd@gnu.org>
14737
14738 * image.el (imagemagick-types-inhibit)
14739 (imagemagick-register-types): Doc fix.
14740
14741 2012-03-30 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
14742
14743 * textmodes/ispell.el (ispell-get-extended-character-mode):
14744 Disable extended-char-mode for hunspell. hunspell does not support it
14745 and treats ~word as ordinary words in pipe mode.
14746
14747 2012-03-30 Glenn Morris <rgm@gnu.org>
14748
14749 * tutorial.el (help-with-tutorial): Ensure local variables don't
14750 happen to make the buffer read-only. (Bug#11127)
14751
14752 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
14753
14754 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
14755 (perl-calculate-indent): Return `noindent' in strings.
14756
14757 2012-03-28 Sam Steingold <sds@gnu.org>
14758
14759 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
14760 instead of the broken adhockery which does not prevent calendar
14761 buffers from being displayed at random after exit.
14762 (calendar-window-list, calendar-hide-window): Remove the broken
14763 adhockery.
14764
14765 2012-03-28 Glenn Morris <rgm@gnu.org>
14766
14767 * replace.el (query-replace-map): Doc fix.
14768
14769 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
14770
14771 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
14772 contents. (Bug#11109)
14773
14774 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
14775
14776 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
14777 (bug#11077).
14778 (avl-tree--check, avl-tree--check-node): New funs.
14779
14780 2012-03-27 Martin Rudalics <rudalics@gmx.at>
14781
14782 * window.el (switch-to-visible-buffer): New option.
14783 (switch-to-prev-buffer, switch-to-next-buffer):
14784 Observe switch-to-visible-buffer. Make sure that checking for a window
14785 showing a buffer already is done on the same frame.
14786
14787 2012-03-27 Glenn Morris <rgm@gnu.org>
14788
14789 * startup.el (mail-host-address): Doc fix.
14790
14791 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
14792
14793 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
14794 than 197 variables.
14795
14796 2012-03-26 Ami Fischman <ami@fischman.org>
14797
14798 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
14799
14800 2012-03-26 Glenn Morris <rgm@gnu.org>
14801
14802 * files.el (save-buffers-kill-emacs): Doc fix.
14803
14804 * startup.el (normal-top-level, command-line, command-line-1):
14805 Give them doc strings.
14806
14807 2012-03-25 Eli Zaretskii <eliz@gnu.org>
14808
14809 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
14810 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
14811
14812 2012-03-25 Chong Yidong <cyd@gnu.org>
14813
14814 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
14815 theme if it was previously enabled before (Bug#11031).
14816
14817 * cus-theme.el (custom-theme-write-faces): Retrieve current face
14818 spec with custom-face-get-current-spec if its :shown-value is not
14819 determined yet (Bug#9337).
14820 (customize-create-theme, custom-theme-revert): Doc fixes.
14821
14822 * button.el (button-at): Minor addition to docstring.
14823
14824 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
14825
14826 * vc/vc.el (vc-merge): Fix a prompt.
14827
14828 2012-03-24 Chong Yidong <cyd@gnu.org>
14829
14830 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
14831 point (Bug#9623).
14832
14833 * button.el (button-at): Minor addition to docstring.
14834
14835 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
14836
14837 * newcomment.el (comment-choose-indent): No space after BOL.
14838
14839 2012-03-22 Sam Steingold <sds@gnu.org>
14840
14841 * window.el (switch-to-prev-buffer): Revert last patch because the
14842 bug turned out to be an advertised feature (Elisp manual 28.14).
14843
14844 2012-03-22 Glenn Morris <rgm@gnu.org>
14845
14846 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
14847 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
14848
14849 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
14850
14851 * net/network-stream.el (network-stream-open-starttls): Make error
14852 message under Windows be less misleading.
14853
14854 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
14855
14856 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
14857 understands (bug#9942).
14858
14859 2012-03-22 Chong Yidong <cyd@gnu.org>
14860
14861 * simple.el (end-of-visible-line): Handle return value of
14862 next-single-property-change properly (Bug#9371).
14863
14864 2012-03-22 Kenichi Handa <handa@m17n.org>
14865
14866 * international/quail.el (quail-insert-kbd-layout): Fix previous
14867 change. To avoid unwanted bidi reordering, use
14868 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
14869
14870 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
14871
14872 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
14873 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
14874 (ruby-beginning-of-indent): Be more careful with the difference
14875 between word-boundary and symbol boundary.
14876 (ruby-mode-syntax-table): Make : a symbol constituent.
14877
14878 2012-03-21 Andreas Politz <politza@fh-trier.de>
14879
14880 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
14881
14882 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
14883
14884 * progmodes/etags.el (tags-completion-at-point-function):
14885 Improve last fix.
14886
14887 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
14888
14889 2012-03-21 Sam Steingold <sds@gnu.org>
14890
14891 * progmodes/etags.el (tags-completion-at-point-function):
14892 Avoid the error when point is inside the pattern.
14893
14894 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
14895
14896 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
14897 line (Bug#10855).
14898
14899 2012-03-21 Drew Adams <drew.adams@oracle.com>
14900
14901 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
14902
14903 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
14904
14905 * ido.el (ido-set-current-directory, ido-read-internal)
14906 (ido-choose-completion-string, ido-completion-help): Handle nil
14907 value of ido-completion-buffer (Bug#11008).
14908
14909 2012-03-21 Sam Steingold <sds@gnu.org>
14910
14911 * window.el (switch-to-prev-buffer): Do not switch to a visible
14912 window previous buffer, just like with the frame previous buffers.
14913
14914 2012-03-21 Chong Yidong <cyd@gnu.org>
14915
14916 * faces.el (make-face, make-empty-face, copy-face):
14917 * face-remap.el (face-remap-add-relative, face-remap-set-base):
14918 Doc fixes.
14919
14920 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
14921
14922 * wid-edit.el (widget-complete-field): Remove (bug#11051).
14923 (widget-complete): Remove broken use of it.
14924
14925 2012-03-20 Chong Yidong <cyd@gnu.org>
14926
14927 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
14928 Use string-width and truncate-string-width to handle arbitrary
14929 characters.
14930
14931 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
14932
14933 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
14934 to draw rectangles, not squares. (Regression introduced by revno
14935 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
14936
14937 2012-03-18 Chong Yidong <cyd@gnu.org>
14938
14939 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
14940 it is not yet defined (for temacs).
14941
14942 2012-03-18 Leo Liu <sdl.web@gmail.com>
14943
14944 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
14945 prefix.
14946
14947 2012-03-17 Eli Zaretskii <eliz@gnu.org>
14948
14949 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
14950 (ispell-choices-win-default-height, ispell-silently-savep)
14951 (ispell-dictionary-alist, ispell-encoding8-command)
14952 (ispell-check-version, ispell-aspell-find-dictionary)
14953 (ispell-valid-dictionary-list, ispell-words-keyword)
14954 (ispell-get-word, ispell-internal-change-dictionary)
14955 (ispell-region, ispell-skip-region-list)
14956 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
14957 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
14958 (ispell-message-text-end, ispell-message)
14959 (ispell-buffer-local-parsing): Doc fix.
14960
14961 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
14962
14963 * htmlfontify.el: Add support for code block fontification for ODT
14964 export (Bug #9914).
14965 (hfy-optimisations): Define new option
14966 `body-text-only'
14967 (hfy-fontify-buffer): Honor above setting.
14968 (hfy-begin-span, hfy-end-span): New routines factored out form
14969 `hfy-fontify-buffer'.
14970 (hfy-begin-span-handler, hfy-end-span-handler): New variables
14971 that permit insertion of custom tags.
14972 (hfy-fontify-buffer): Use above handlers.
14973 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
14974 (hfy-face-to-css): Re-defined to be a variable.
14975 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
14976 over multiple runs. This is made possible by having the caller let
14977 bind a special variable `hfy-user-sheet-assoc'.
14978 (htmlfontify-string): New defun.
14979 (hfy-compile-face-map): Make sure that the last char in the
14980 buffer is correctly fontified.
14981 (hfy-face-resolve-face): Whitespace only change.
14982
14983 2012-03-17 Eli Zaretskii <eliz@gnu.org>
14984
14985 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
14986 message more clear.
14987
14988 2012-03-16 Leo Liu <sdl.web@gmail.com>
14989
14990 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
14991
14992 2012-03-16 Alan Mackenzie <acm@muc.de>
14993
14994 Further optimize the handling of large macros.
14995
14996 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
14997 limit to a call of `c-literal-limits'.
14998 (c-determine-+ve-limit): New function.
14999 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
15000 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
15001 In CASE 5B, restrict a search limit to 500.
15002 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
15003
15004 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
15005 Restrict macro bounds to +-500 from after-change's BEG END.
15006
15007 2012-03-16 Leo Liu <sdl.web@gmail.com>
15008
15009 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
15010
15011 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
15012
15013 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
15014 `special-mode' setting of `buffer-read-only'. (Bug#11010)
15015
15016 2012-03-16 Glenn Morris <rgm@gnu.org>
15017
15018 * view.el (view-buffer, view-buffer-other-window)
15019 (view-buffer-other-frame): Doc fixes re special mode-class.
15020
15021 * subr.el (eval-after-load): If named feature is provided not from
15022 a file, run after-load forms. (Bug#10946)
15023
15024 * calendar/calendar.el (calendar-insert-at-column):
15025 Handle non-unit-width characters a bit better. (Bug#10978)
15026
15027 2012-03-15 Chong Yidong <cyd@gnu.org>
15028
15029 * emacs-lisp/ring.el (ring-extend): New function.
15030 (ring-insert+extend): Extend the ring correctly (Bug#11019).
15031
15032 * comint.el (comint-read-input-ring)
15033 (comint-add-to-input-history): Grow comint-input-ring lazily.
15034
15035 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
15036
15037 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
15038 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
15039
15040 * imenu.el: Fix multiple inheritance breakage (bug#9199).
15041 (imenu-add-to-menubar): Don't add a redundant index.
15042 (imenu-update-menubar): Handle a dynamically composed keymap.
15043
15044 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
15045
15046 * mail/sendmail.el (mail-encode-header):
15047 Bind rfc2047-encode-encoded-words to nil.
15048
15049 2012-03-13 Glenn Morris <rgm@gnu.org>
15050
15051 * calendar/calendar.el (calendar-string-spread):
15052 Handle non-unit-width characters a bit better. (Bug#10978)
15053
15054 2012-03-13 Leo Liu <sdl.web@gmail.com>
15055
15056 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
15057 directory and file as argument (Bug#10822).
15058
15059 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
15060
15061 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
15062 For dynamically generated code, follow $PC.
15063 (gdb-disassembly-handler-custom): Handle no function name case.
15064
15065 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
15066
15067 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
15068 * emulation/ws-mode.el (ws-query-replace):
15069 * sort.el (sort-regexp-fields):
15070 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
15071
15072 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15073
15074 * dabbrev.el: Fix cycle completion order (bug#10963).
15075 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
15076 (dabbrev-completion): Don't use an obarray; provide
15077 a cycle-sort-function.
15078
15079 2012-03-12 Leo Liu <sdl.web@gmail.com>
15080
15081 * simple.el (kill-new): Use equal-including-properties for comparison.
15082 (kill-do-not-save-duplicates): Doc fix.
15083
15084 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15085
15086 * dabbrev.el: Fix cycle completion (bug#10963).
15087 Use lexical binding and wrap to 80 columns.
15088 (dabbrev-completion): Delay computing the list of completions.
15089
15090 2012-03-12 Kenichi Handa <handa@m17n.org>
15091
15092 * international/quail.el (quail-insert-kbd-layout): Surround each
15093 row by LRO and PDF instead of inserting many LRMs. Pad the left
15094 and right of each non-spacing marks. Insert invisible space
15095 between lower and upper characters to prevent composition.
15096
15097 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15098
15099 * minibuffer.el (minibuffer-complete): Don't get confused when the
15100 function is run twice via different commands (bug#10958).
15101 (complete-with-action): Fix docstring.
15102
15103 2012-03-12 Chong Yidong <cyd@gnu.org>
15104
15105 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
15106 (nxml-completion-at-point-function): New function.
15107 (nxml-mode): Use it.
15108 (nxml-bind-meta-tab-to-complete-flag): Default to t.
15109
15110 * emacs-lisp/package.el (package-unpack, package-unpack-single):
15111 Load generated autoloads file before byte compiling (Bug#10970).
15112 (package--make-autoloads-and-compile): New helper fun.
15113
15114 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
15115
15116 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
15117
15118 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
15119
15120 * autorevert.el (auto-revert-handler): Ensure, that
15121 file-readable-p is applied only for local files or in
15122 auto-revert-tail-mode.
15123
15124 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
15125
15126 * server.el (server-eval-at): Handle non-tcp connections.
15127 Decode result string.
15128
15129 * server.el (server-msg-size): New constant.
15130 (server-reply-print): New function.
15131 (server-eval-and-print): Use it.
15132 (server-eval-at): Use server-quote-arg and server-unquote-arg.
15133 Handle -print-nonl.
15134
15135 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
15136
15137 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
15138 (Bug#10987).
15139
15140 2012-03-11 Chong Yidong <cyd@gnu.org>
15141
15142 * simple.el (goto-line): Doc fix (Bug#9938).
15143
15144 * subr.el (save-window-excursion): Doc fix (Bug#9979).
15145
15146 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
15147 when finished (Bug#10963).
15148
15149 2012-03-11 Martin Rudalics <rudalics@gmx.at>
15150
15151 * window.el (split-window-below): Fix bug in case where
15152 split-window-keep-point is nil (Bug#10971).
15153
15154 2012-03-11 Juri Linkov <juri@jurta.org>
15155
15156 * replace.el (replace-highlight): Set isearch-word to nil
15157 unconditionally. (Bug#10887)
15158
15159 2012-03-10 Eli Zaretskii <eliz@gnu.org>
15160
15161 * net/mairix.el (mairix-replace-invalid-chars): Rename from
15162 mairix-replace-illegal-chars; all callers changed. Don't remove
15163 ^, ~, and = characters: they are meaningful in mairix search specs.
15164 (mairix-widget-create-query): Add usage information about mairix
15165 search forms: negating words, searching for substrings, etc.
15166
15167 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
15168
15169 * international/fontset.el (font-encoding-alist): Add an entry for
15170 ksx1001 (Bug#5667).
15171
15172 2012-03-10 Richard Stallman <rms@gnu.org>
15173
15174 * mail/sendmail.el (mail-encode-header):
15175 Set rfc2047-encode-encoded-words.
15176
15177 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
15178
15179 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
15180 view buffer means not swapped.
15181 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
15182 (rmail-write-region-annotate): Error if real text has disappeared.
15183
15184 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
15185
15186 2012-03-10 Chong Yidong <cyd@gnu.org>
15187
15188 * emulation/cua-rect.el (cua--init-rectangles):
15189 * emulation/cua-base.el (cua--init-keymaps):
15190 Add delete-forward-char to remappings (Bug#9666).
15191
15192 2012-03-10 Martin Rudalics <rudalics@gmx.at>
15193
15194 * speedbar.el (speedbar-unhighlight-one-tag-line):
15195 Avoid unhighlighting due to frame switching (Bug#10275).
15196
15197 2012-03-10 Chong Yidong <cyd@gnu.org>
15198
15199 * minibuffer.el (completion-in-region, completion-help-at-point):
15200 Give the completion field overlay a high priority (Bug#6830).
15201
15202 * dired.el (dired-goto-file): Recognize absolute file name
15203 listings (Bug#7126).
15204 (dired-goto-file-1): New helper function.
15205 (dired-toggle-read-only): Inhibit warnings.
15206
15207 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
15208
15209 * net/dbus.el (dbus-property-handler): Return empty array if
15210 there are no properties.
15211
15212 2012-03-09 Leo Liu <sdl.web@gmail.com>
15213
15214 * savehist.el (savehist-printable): Stricter check for string
15215 value (Bug#10937).
15216
15217 2012-03-09 Eli Zaretskii <eliz@gnu.org>
15218
15219 * mail/smtpmail.el (smtpmail-send-it):
15220 Bind coding-system-for-write to *-unix, so that FCC files are kept in
15221 valid mbox format.
15222
15223 2012-03-09 Glenn Morris <rgm@gnu.org>
15224
15225 * files.el (dir-locals-find-file):
15226 Don't check result is regular, readable.
15227 (dir-locals-read-from-file): Demote errors.
15228
15229 2012-03-08 Eli Zaretskii <eliz@gnu.org>
15230
15231 * international/quail.el (quail-insert-kbd-layout):
15232 Insert invisible LRM characters before each character in a keyboard
15233 layout cell, to prevent their reordering by bidi display engine.
15234 For details, see the discussion in
15235 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
15236
15237 2012-03-08 Alan Mackenzie <acm@muc.de>
15238
15239 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
15240 the starting position; make it extend the marked region when
15241 invoked repeatedly - all under appropriate circumstances.
15242 Fixes bugs #5525, #10906.
15243
15244 2012-03-08 Glenn Morris <rgm@gnu.org>
15245
15246 * files.el (locate-dominating-file, dir-locals-find-file):
15247 Undo 2012-03-06 change.
15248
15249 2012-03-07 Eli Zaretskii <eliz@gnu.org>
15250
15251 * international/quail.el (quail-help):
15252 Force bidi-paragraph-direction be left-to-right. See discussion in
15253 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
15254 for the reason.
15255
15256 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
15257
15258 Avoid superfluous registering of signals. (Bug#10807)
15259
15260 * notifications.el (notifications-on-action-object)
15261 (notifications-on-close-object): New defvars.
15262 (notifications-on-action-signal, notifications-on-closed-signal):
15263 Unregister the signal if not needed any longer.
15264 (notifications-notify): Register `notifications-action-signal' or
15265 `notifications-closed-signal', if :on-action or :on-close has been
15266 passed as argument.
15267
15268 2012-03-07 Chong Yidong <cyd@gnu.org>
15269
15270 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
15271 non-X platforms.
15272
15273 2012-03-06 Glenn Morris <rgm@gnu.org>
15274
15275 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
15276 (x-disown-selection-internal, x-get-selection-internal):
15277 Doc fix (add arglist signatures). (Bug#10783)
15278
15279 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
15280
15281 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
15282 Handle breakpoints with no "type".
15283
15284 2012-03-06 Glenn Morris <rgm@gnu.org>
15285
15286 * files.el (locate-dominating-file): Add optional predicate argument.
15287 (dir-locals-find-file): Make use of above change.
15288
15289 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
15290
15291 * info.el (Info-insert-dir): Also try "dir.gz".
15292
15293 2012-03-06 Glenn Morris <rgm@gnu.org>
15294
15295 * files.el (dir-locals-find-file):
15296 Ignore non-readable or non-regular files. (Bug#10928)
15297
15298 * files.el (locate-dominating-file): Doc fix.
15299
15300 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
15301
15302 * calendar/calendar.el (calendar-set-mode-line):
15303 `getenv' returns a string. (Bug#10951)
15304
15305 2012-03-05 Leo Liu <sdl.web@gmail.com>
15306
15307 * simple.el (backward-delete-char-untabify): Constrain point to
15308 field (Bug#10939).
15309
15310 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
15311
15312 2012-03-05 Chong Yidong <cyd@gnu.org>
15313
15314 * simple.el (count-words): If called from Lisp, return the word
15315 count, for symmetry with `count-lines'. Arglist changed.
15316 (count-words--message): Args changed. Consolidate counting code
15317 from count-words and count-words-region.
15318 (count-words-region): Caller changed.
15319 (count-lines-region): Make it an obsolete alias.
15320
15321 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
15322
15323 * saveplace.el (save-place-to-alist)
15324 (save-place-ignore-files-regexp): Allow value nil to disable this
15325 feature.
15326
15327 2012-03-04 Chong Yidong <cyd@gnu.org>
15328
15329 * faces.el (face-spec-reset-face): For the default face, reset the
15330 attributes to default values (Bug#10748).
15331
15332 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
15333
15334 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
15335 previous patch: Check `message-send-mail-function', and not the
15336 default function (bug#10897).
15337
15338 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
15339
15340 * notifications.el (notifications-on-action-signal)
15341 (notifications-on-closed-signal): Check for unique service name of
15342 incoming event. Fix error in removing entry.
15343 (top): Register for signals with wildcard service name.
15344 (notifications-notify): Use daemon unique service name for map entries.
15345
15346 2012-03-04 Chong Yidong <cyd@gnu.org>
15347
15348 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
15349
15350 2012-03-04 Glenn Morris <rgm@gnu.org>
15351
15352 * abbrev.el (copy-abbrev-table, abbrev-table-p)
15353 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
15354 (expand-abbrev, define-abbrev-table): Doc fixes.
15355
15356 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15357
15358 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
15359 `message-default-send-mail-function' and not `send-mail-function'
15360 when doing the prompting for `sendmail-query-once' before sending
15361 in Message buffers (bug#10897).
15362
15363 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
15364 This is inconsistent with all the other stream functions, which leave
15365 the setting up to the higher levels (if so wanted) (bug#10931).
15366
15367 2012-03-02 Alan Mackenzie <acm@muc.de>
15368
15369 Depessimize the handling of very large macros.
15370
15371 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
15372 (c-macro-cache-syntactic): New variables to implement a one
15373 element macro cache.
15374 (c-invalidate-macro-cache): New function.
15375 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
15376 Adapt to use the new cache.
15377 (c-state-safe-place): Use better the cache of safe positions.
15378 (c-state-semi-nonlit-pos-cache)
15379 (c-state-semi-nonlit-pos-cache-limit):
15380 New variables for...
15381 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
15382 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
15383 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
15384 Use c-state-semi-safe-place.
15385
15386 * progmodes/cc-langs.el (c-get-state-before-change-functions):
15387 Add c-invalidate-macro-cache to the C, C++, Obj entries.
15388
15389 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
15390
15391 * jka-compr.el (jka-compr-call-process):
15392 Apply `file-accessible-directory-p' only when the default directory is
15393 not remote.
15394
15395 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
15396
15397 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
15398 access of FILE2, if FILE1 does not exist.
15399
15400 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
15401 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
15402
15403 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
15404 Add "PAGER=" to `process-environment'.
15405
15406 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
15407
15408 * progmodes/sql.el: Bug fix
15409 (sql-get-login-ext): Save login values in globals.
15410 (sql-get-login): Use new version of `sql-get-login-ext'.
15411 (sql-interactive-mode): Set global `sql-connection' to nil.
15412 (sql-connect): Set global values for connection.
15413 (sql-product-interactive): Save global values as buffer local.
15414
15415 2012-02-29 Leo Liu <sdl.web@gmail.com>
15416
15417 * abbrev.el (define-abbrevs): Reset sys to nil.
15418
15419 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15420
15421 * files.el (file-equal-p): Rename from `files-equal-p'.
15422 Return nil when one or both files don't exist.
15423 (file-subdir-of-p): Now only top directory must exists,
15424 return nil if it doesn't.
15425 (copy-directory): No need to test with `file-subdir-of-p' after
15426 creating dir.
15427 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
15428 to `file-equal-p'.
15429
15430 2012-02-28 Glenn Morris <rgm@gnu.org>
15431
15432 * shell.el (shell-mode):
15433 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
15434 * play/landmark.el (landmark-font-lock-face-O):
15435 * play/handwrite.el (handwrite):
15436 * play/gomoku.el (gomoku-O):
15437 * net/browse-url.el (browse-url-browser-display):
15438 * international/mule.el (define-charset):
15439 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
15440 * filesets.el (filesets-find-file-delay):
15441 * eshell/em-xtra.el (eshell-xtra):
15442 * eshell/em-unix.el (eshell-grep):
15443 * emulation/viper.el (viper-mode):
15444 * emacs-lisp/regexp-opt.el (regexp-opt-group):
15445 * emacs-lisp/easymenu.el (easy-menu-define):
15446 * calendar/timeclock.el (timeclock-use-display-time):
15447 * bs.el (bs-mode):
15448 * bookmark.el (bookmark-save-flag):
15449 Doc fix (standardize possessive apostrophe usage).
15450
15451 2012-02-27 Chong Yidong <cyd@gnu.org>
15452
15453 * emulation/viper-cmd.el (viper-intercept-ESC-key):
15454 Fix key-binding lookup for ESC key (Bug#9146).
15455
15456 * font-lock.el (font-lock-specified-p): Rename from
15457 font-lock-spec-present. Callers changed.
15458
15459 2012-02-27 Daniel Hackney <dan@haxney.org>
15460
15461 * emacs-lisp/package.el (package-compute-transaction):
15462 Handle holding a package version to t in package-load-list.
15463
15464 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
15465
15466 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
15467 (tramp-get-inode, tramp-get-device): Use cached values.
15468
15469 2012-02-26 Alan Mackenzie <acm@muc.de>
15470
15471 Check there is a font-lock specification before doing initial
15472 fontification.
15473
15474 * font-core.el (font-lock-mode): Move the conditional from
15475 :after-hook to font-lock-initial-fontify.
15476 (font-lock-default-function): Move the check for a specification
15477 to font-lock-spec-present.
15478
15479 * font-lock.el (font-lock-initial-fontify): Call ...
15480 (font-lock-spec-present): New function.
15481
15482 2012-02-26 Jim Blandy <jimb@red-bean.com>
15483
15484 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
15485 (gdb-send): Apply it to the operand of the '-interpreter-exec
15486 console' command, so that we can pass arguments with (say) quotes
15487 in them. Store exact string sent in gdb-debug-log (Bug#10765).
15488
15489 2012-02-26 Chong Yidong <cyd@gnu.org>
15490
15491 * help-fns.el (describe-function-1): Clarify description of
15492 remapping (Bug#10844).
15493
15494 * files.el (files-equal-p): Doc fix.
15495 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
15496 and quit the loop once a mismatch is found.
15497
15498 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
15499
15500 * bs.el (bs--show-with-configuration): Don't throw an error
15501 if the window cannot be split; otherwise, subsequent calls to
15502 bs-show fail, restoring a stale window config. (Bug#10882)
15503
15504 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
15505
15506 * term/ns-win.el (global-map): Bind ns-drag-file to
15507 ns-find-file (Bug#5855, Bug#10050).
15508
15509 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
15510
15511 * calendar/parse-time.el (parse-time-string): Allow extractor to
15512 return nil.
15513
15514 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
15515
15516 * net/tramp.el (tramp-file-name-for-operation):
15517 Add `files-equal-p' and `file-subdir-of-p'.
15518
15519 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
15520 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
15521 Add COPY-CONTENTS argument.
15522
15523 2012-02-25 Chong Yidong <cyd@gnu.org>
15524
15525 Add custom groups for VC backends, for consistency with vc-bzr.
15526
15527 * vc/vc-arch.el (vc-arch):
15528 * vc/vc-cvs.el (vc-cvs):
15529 * vc/vc-git.el (vc-git):
15530 * vc/vc-hg.el (vc-hg):
15531 * vc/vc-mtn.el (vc-mtn):
15532 * vc/vc-rcs.el (vc-rcs):
15533 * vc/vc-sccs.el (vc-sccs):
15534 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
15535 All relevant defcustoms reassigned.
15536
15537 2012-02-25 Chong Yidong <cyd@gnu.org>
15538
15539 * newcomment.el (comment-styles): Add autoload (Bug#10868).
15540
15541 * term/x-win.el (x-initialize-window-system): Reduce default for
15542 x-selection-timeout to 5 seconds (Bug#8869).
15543
15544 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15545
15546 * files.el (files-equal-p, file-subdir-of-p): New functions.
15547 (copy-directory): Error when trying to copy a directory on itself.
15548 Add missing copy-contents arg to tramp handler.
15549 * dired-aux.el (dired-copy-file-recursive): Same.
15550 (dired-create-files): Modify destination when source is equal to
15551 dest when copying files.
15552 Return also when dest is a subdir of source. (Bug#10489)
15553
15554 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
15555
15556 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
15557 (Bug#10874)
15558
15559 2012-02-23 Alan Mackenzie <acm@muc.de>
15560
15561 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
15562 parameter "after-hook:" to allow the expansion to run code after
15563 the execution of the mode hooks.
15564
15565 * font-lock.el (font-lock-initial-fontify): New function extracted
15566 from font-lock-mode-internal.
15567
15568 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
15569 :after-hook.
15570
15571 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
15572
15573 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
15574 (completion--cache-all-sorted-completions): New function.
15575 (completion-all-sorted-completions): Use it.
15576 (completion--do-completion, minibuffer-force-complete):
15577 Use it to re-instate the flush hook.
15578
15579 * icomplete.el (icomplete-completions): Replace last fix with a better
15580 one (bug#10850).
15581
15582 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
15583
15584 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
15585 when it might call us back infinitely (bug#10797).
15586
15587 2012-02-23 Glenn Morris <rgm@gnu.org>
15588
15589 * minibuffer.el (completion-category-overrides): Doc fix.
15590
15591 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
15592
15593 * minibuffer.el (completion-table-with-context): Fix inf-loop.
15594 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
15595
15596 2012-02-23 Glenn Morris <rgm@gnu.org>
15597
15598 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
15599 (authors-obsolete-files-regexps, authors-ignored-files)
15600 (authors-ambiguous-files, authors-renamed-files-alist):
15601 Add more entries.
15602
15603 2012-02-23 Juri Linkov <juri@jurta.org>
15604
15605 * isearch.el (isearch-occur): Sync interactive spec with occur's
15606 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
15607
15608 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
15609
15610 2012-02-22 Juri Linkov <juri@jurta.org>
15611
15612 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
15613 (ucs-insert): Doc fix. Check for hex digits in the string.
15614 Don't display `nil' in the error message. (Bug#10857)
15615
15616 2012-02-22 Alan Mackenzie <acm@muc.de>
15617
15618 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
15619
15620 2012-02-22 Glenn Morris <rgm@gnu.org>
15621
15622 * ffap.el (ffap-c-path):
15623 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
15624
15625 2012-02-22 Chong Yidong <cyd@gnu.org>
15626
15627 * custom.el (load-theme): Doc fix.
15628
15629 2012-02-22 Glenn Morris <rgm@gnu.org>
15630
15631 * dired-x.el (dired-guess-shell-alist-default):
15632 Remove escape sequences from nroff output. (Bug#172)
15633
15634 2012-02-21 Glenn Morris <rgm@gnu.org>
15635
15636 * vc/emerge.el (emerge-defvar-local):
15637 Set `permanent-local' property rather than unused `preserved'.
15638
15639 * textmodes/picture.el (picture-delete-char): New alias.
15640 (picture-mode-map): Use it. (Bug#10860)
15641 (picture-mode): Doc fix.
15642
15643 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
15644
15645 * newcomment.el (uncomment-region-default): Remove unused binding.
15646
15647 2012-02-21 Glenn Morris <rgm@gnu.org>
15648
15649 * textmodes/picture.el (picture-motion, picture-motion-reverse)
15650 (picture-self-insert, picture-tab-chars): Doc fix.
15651 (picture-mode-map): Fix C-a, C-e.
15652
15653 2012-02-20 Glenn Morris <rgm@gnu.org>
15654
15655 * emacs-lisp/authors.el (authors-aliases): Add another entry.
15656
15657 2012-02-20 Leo Liu <sdl.web@gmail.com>
15658
15659 * icomplete.el (icomplete-completions): Check FROM arg before
15660 passing to substring (Bug#10850).
15661
15662 2012-02-19 Chong Yidong <cyd@gnu.org>
15663
15664 * comint.el: Require ansi-color.
15665 (comint-output-filter-functions): Add ansi-color-process-output.
15666
15667 * ansi-color.el: Don't set comint-output-filter-functions; it is
15668 now in the initial value defined in comint.el.
15669 (ansi-color-apply-face-function): New variable.
15670 (ansi-color-apply-on-region): Use it.
15671 (ansi-color-apply-overlay-face): New function.
15672
15673 * shell.el (shell): No need to require ansi-color.
15674 (shell-mode): Use ansi-color-apply-face-function to highlight
15675 color escapes using font-lock-face property (Bug#10835).
15676
15677 2012-02-19 Chong Yidong <cyd@gnu.org>
15678
15679 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
15680 mode-line formats (Bug#10839).
15681
15682 2012-02-18 Glenn Morris <rgm@gnu.org>
15683
15684 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
15685
15686 * mail/undigest.el (unforward-rmail-message): Doc fix.
15687
15688 * saveplace.el (save-place-ignore-files-regexp): Add :version.
15689
15690 2012-02-18 Eli Zaretskii <eliz@gnu.org>
15691
15692 * international/characters.el (script-list): Sync with the latest
15693 Unicode Character Database.
15694
15695 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
15696
15697 * international/titdic-cnv.el: Remove duplicate coding tag.
15698 * language/cham.el: Likewise.
15699 * language/tai-viet.el: Likewise.
15700
15701 2012-02-18 Glenn Morris <rgm@gnu.org>
15702
15703 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
15704 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
15705 (calendar-bahai-all-holidays-flag, calendar-other-dates):
15706 * calendar/diary-lib.el (diary-abbreviated-year-flag):
15707 * calendar/holidays.el (holiday-bahai-holidays)
15708 (calendar-holidays, list-holidays):
15709 Use utf-8 BahĂ¡'Ă­ in doc-strings, menus, etc.
15710
15711 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
15712
15713 * saveplace.el (save-place-ignore-files-regexp): New variable
15714 allowing for excluding files from saving their location of point.
15715 The default value matches the temporary commit message editing
15716 files from Git, SVN, Bazaar, and Mercurial.
15717 (save-place-to-alist): Use it.
15718
15719 2012-02-17 Lawrence Mitchell <wence@gmx.li>
15720 Stefan Monnier <monnier@iro.umontreal.ca>
15721
15722 * newcomment.el (uncomment-region-default): Don't leave extra space
15723 when an arg is provided (bug#8150).
15724
15725 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
15726
15727 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
15728
15729 2012-02-17 Glenn Morris <rgm@gnu.org>
15730
15731 * net/socks.el: Require network-stream. (Bug#10599)
15732
15733 2012-02-17 Kenichi Handa <handa@m17n.org>
15734
15735 * international/charprop.el:
15736 * international/uni-name.el:
15737 * international/uni-old-name.el:
15738 * international/uni-comment.el: Regenerate.
15739
15740 2012-02-16 Glenn Morris <rgm@gnu.org>
15741
15742 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
15743 Interactively in calendar buffer, give an error if not on a date.
15744
15745 2012-02-15 Glenn Morris <rgm@gnu.org>
15746
15747 * shell.el (shell-delimiter-argument-list):
15748 Revert 2011-02-17 change. (Bug#8027)
15749
15750 2012-02-15 Chong Yidong <cyd@gnu.org>
15751
15752 * minibuffer.el (completion-at-point-functions): Doc fix.
15753
15754 * custom.el (defcustom): Doc fix; note use of defvar.
15755
15756 2012-02-15 Glenn Morris <rgm@gnu.org>
15757
15758 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
15759 Doc fixes.
15760
15761 2012-02-14 Glenn Morris <rgm@gnu.org>
15762
15763 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
15764
15765 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
15766
15767 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
15768 way the ports list is computed.
15769 (smtpmail-query-smtp-server): Prompt the user for a port number if
15770 we can't connect to any of the standard ports (bug#10810).
15771
15772 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
15773
15774 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
15775
15776 2012-02-13 Glenn Morris <rgm@gnu.org>
15777
15778 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
15779
15780 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
15781
15782 * net/gnutls.el (gnutls-trustfiles): New variable.
15783 (gnutls-negotiate): Use it.
15784
15785 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
15786
15787 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
15788 does its stuff if Gnus is running.
15789
15790 2012-02-13 Alan Mackenzie <acm@muc.de>
15791
15792 Fix a loop in c-set-fl-decl-start.
15793
15794 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
15795 c-backward-syntactic-ws actually moves backwards.
15796
15797 2012-02-13 Leo Liu <sdl.web@gmail.com>
15798
15799 * net/rcirc.el (rcirc-markup-attributes): Move point to the
15800 beginning so that all \C-o chars are removed.
15801
15802 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
15803
15804 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
15805
15806 2012-02-12 Alan Mackenzie <acm@muc.de>
15807
15808 Fix infinite loop with long macros.
15809 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
15810
15811 2012-02-12 Chong Yidong <cyd@gnu.org>
15812
15813 * window.el (display-buffer): Doc fix (Bug#10785).
15814
15815 2012-02-12 Glenn Morris <rgm@gnu.org>
15816
15817 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
15818 (x-disown-selection-internal, x-get-selection-internal):
15819 Sync docs with the xselect.c versions.
15820
15821 * allout-widgets.el: Add missing license notice.
15822
15823 2012-02-11 Glenn Morris <rgm@gnu.org>
15824
15825 * select.el (x-get-selection-internal, x-own-selection-internal)
15826 (x-disown-selection-internal):
15827 * x-dnd.el (x-get-selection-internal): Update declarations.
15828
15829 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
15830
15831 * window.el (window-sides-slots):
15832 * tool-bar.el (tool-bar-position):
15833 * term/xterm.el (xterm-extra-capabilities):
15834 * ses.el (ses-self-reference-early-detection):
15835 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
15836 (verilog-auto-wire-type)
15837 (verilog-auto-delete-trailing-whitespace)
15838 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
15839 (verilog-auto-tieoff-declaration):
15840 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
15841 (sql-oracle-statement-starters, sql-oracle-scan-on):
15842 * progmodes/prolog.el (prolog-align-comments-flag)
15843 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
15844 (prolog-left-indent-regexp, prolog-paren-indent-p)
15845 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
15846 (prolog-types, prolog-mode-specificators)
15847 (prolog-determinism-specificators, prolog-directives)
15848 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
15849 (prolog-electric-dot-flag)
15850 (prolog-electric-dot-full-predicate-template)
15851 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
15852 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
15853 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
15854 (prolog-program-switches, prolog-prompt-regexp)
15855 (prolog-debug-on-string, prolog-debug-off-string)
15856 (prolog-trace-on-string, prolog-trace-off-string)
15857 (prolog-zip-on-string, prolog-zip-off-string)
15858 (prolog-use-standard-consult-compile-method-flag)
15859 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
15860 (prolog-imenu-max-lines, prolog-info-predicate-index)
15861 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
15862 (prolog-char-quote-workaround):
15863 * progmodes/cc-vars.el (c-defun-tactic):
15864 * net/tramp.el (tramp-encoding-command-interactive)
15865 (tramp-local-end-of-line):
15866 * net/soap-client.el (soap-client):
15867 * net/netrc.el (netrc-file):
15868 * net/gnutls.el (gnutls):
15869 * minibuffer.el (completion-category-overrides)
15870 (completion-cycle-threshold)
15871 (completion-pcm-complete-word-inserts-delimiters):
15872 * man.el (Man-name-local-regexp):
15873 * mail/feedmail.el (feedmail-display-full-frame):
15874 * international/characters.el (glyphless-char-display-control):
15875 * eshell/em-ls.el (eshell-ls-date-format):
15876 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
15877 (lisp-lambda-list-keyword-parameter-indentation)
15878 (lisp-lambda-list-keyword-parameter-alignment):
15879 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
15880 * dired-x.el (dired-omit-verbose):
15881 * cus-theme.el (custom-theme-allow-multiple-selections):
15882 * calc/calc.el (calc-highlight-selections-with-faces)
15883 (calc-lu-field-reference, calc-lu-power-reference)
15884 (calc-note-threshold):
15885 * battery.el (battery-mode-line-limit):
15886 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
15887 (archive-7z-update):
15888 * allout.el (allout-prefixed-keybindings)
15889 (allout-unprefixed-keybindings)
15890 (allout-inhibit-auto-fill-on-headline)
15891 (allout-flattened-numbering-abbreviation):
15892 * allout-widgets.el (allout-widgets-auto-activation)
15893 (allout-widgets-icons-dark-subdir)
15894 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
15895 (allout-widgets-theme-dark-background)
15896 (allout-widgets-theme-light-background)
15897 (allout-widgets-item-image-properties-emacs)
15898 (allout-widgets-item-image-properties-xemacs)
15899 (allout-widgets-run-unit-tests-on-load)
15900 (allout-widgets-time-decoration-activity)
15901 (allout-widgets-hook-error-post-time)
15902 (allout-widgets-track-decoration):
15903 Add missing :version tags to new defcustoms and defgroups.
15904
15905 * progmodes/sql.el (sql-ansi-statement-starters)
15906 (sql-oracle-statement-starters): Add custom type.
15907
15908 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
15909 (prolog-system-version): Give it a type.
15910
15911 2012-02-11 Eli Zaretskii <eliz@gnu.org>
15912
15913 * term/pc-win.el (x-select-text, x-selection-owner-p)
15914 (x-own-selection-internal, x-disown-selection-internal)
15915 (x-get-selection-internal): Sync doc strings and argument lists
15916 with xselect.c, common-win.el and x-win.el. (Bug#10783)
15917
15918 2012-02-11 Leo Liu <sdl.web@gmail.com>
15919
15920 * progmodes/python.el (python-end-of-statement): Fix infinite
15921 loop. (Bug#10788)
15922
15923 2012-02-10 Glenn Morris <rgm@gnu.org>
15924
15925 * international/mule-cmds.el (unify-8859-on-encoding-mode)
15926 (unify-8859-on-decoding-mode): Properly mark as obsolete.
15927
15928 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
15929
15930 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
15931 about SMTP before checking the From header.
15932
15933 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
15934 into own function for reuse by emacsbug.el.
15935
15936 2012-02-10 Leo Liu <sdl.web@gmail.com>
15937
15938 * subr.el (condition-case-unless-debug): Rename from
15939 condition-case-no-debug. All callers changed.
15940 (with-demoted-errors): Fix caller.
15941
15942 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
15943 * nxml/rng-valid.el (rng-do-some-validation):
15944 * emacs-lisp/package.el (package-refresh-contents)
15945 (package-menu-execute):
15946 * desktop.el (desktop-create-buffer):
15947 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
15948
15949 2012-02-10 Glenn Morris <rgm@gnu.org>
15950
15951 * textmodes/bibtex.el:
15952 Add missing :version tags for new/changed defcustoms.
15953
15954 * files.el (remote-file-name-inhibit-cache): Doc fixes.
15955
15956 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
15957
15958 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
15959 (smtpmail-via-smtp): Use it, or fall back on the From address.
15960 (smtpmail-send-it): Ditto.
15961
15962 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
15963
15964 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
15965 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
15966 (byte-compile-tmp-var): New const.
15967 (byte-compile-defvar): Use it to minimize .elc size.
15968 Just use `defvar' rather than simulate it (bug#10761).
15969
15970 2012-02-09 Glenn Morris <rgm@gnu.org>
15971
15972 * files.el (rename-uniquely): Doc fix. (Bug#3806)
15973
15974 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
15975 Add :version tags.
15976
15977 * progmodes/compile.el (compilation-error-screen-columns)
15978 (compilation-first-column, compilation-filter-start): Doc fixes.
15979
15980 * vc/log-view.el (log-view-toggle-entry-display):
15981 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
15982
15983 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
15984 (report-emacs-bug-can-use-xdg-email):
15985 (report-emacs-bug-insert-to-mailer): Doc fixes.
15986 (report-emacs-bug): Message fix.
15987
15988 * net/browse-url.el (browse-url-can-use-xdg-open)
15989 (browse-url-xdg-open): Doc fixes.
15990
15991 * electric.el (electric-indent-mode, electric-pair-mode)
15992 (electric-layout-rules, electric-layout-mode): Doc fixes.
15993 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
15994
15995 2012-02-08 Martin Rudalics <rudalics@gmx.at>
15996
15997 * server.el (server-unselect-display): Don't inadvertently kill
15998 the current buffer. (Bug#10729)
15999
16000 2012-02-08 Glenn Morris <rgm@gnu.org>
16001
16002 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
16003 (sql-list-table): Doc fixes.
16004
16005 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
16006 Comment out (does nothing).
16007
16008 * completion.el (dynamic-completion-mode):
16009 * dirtrack.el (dirtrack-debug-mode):
16010 * electric.el (electric-layout-mode):
16011 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
16012 * face-remap.el (text-scale-mode, buffer-face-mode):
16013 * iimage.el (iimage-mode):
16014 * image-mode.el (image-transform-mode):
16015 * minibuffer.el (completion-in-region-mode):
16016 * scroll-lock.el (scroll-lock-mode):
16017 * simple.el (next-error-follow-minor-mode):
16018 * tar-mode.el (tar-subfile-mode):
16019 * tooltip.el (tooltip-mode):
16020 * vcursor.el (vcursor-use-vcursor-map):
16021 * wid-browse.el (widget-minor-mode):
16022 * emulation/tpu-edt.el (tpu-edt-mode):
16023 * emulation/tpu-extras.el (tpu-cursor-free-mode):
16024 * international/iso-ascii.el (iso-ascii-mode):
16025 * language/thai-util.el (thai-word-mode):
16026 * mail/supercite.el (sc-minor-mode):
16027 * net/goto-addr.el (goto-address-mode):
16028 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
16029 * progmodes/cwarn.el (cwarn-mode):
16030 * progmodes/flymake.el (flymake-mode):
16031 * progmodes/glasses.el (glasses-mode):
16032 * progmodes/hideshow.el (hs-minor-mode):
16033 * progmodes/pascal.el (pascal-outline-mode):
16034 * textmodes/enriched.el (enriched-mode):
16035 * vc/smerge-mode.el (smerge-mode):
16036 Doc fixes (minor mode argument).
16037
16038 2012-02-07 Eli Zaretskii <eliz@gnu.org>
16039
16040 * ls-lisp.el (ls-lisp-sanitize): New function.
16041 (ls-lisp-insert-directory): Use it to fix or remove any elements
16042 in file-alist with missing attributes. (Bug#4673)
16043
16044 2012-02-07 Alan Mackenzie <acm@muc.de>
16045
16046 Fix spurious recognition of c-in-knr-argdecl.
16047
16048 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
16049 putative K&R region.
16050
16051 2012-02-07 Alan Mackenzie <acm@muc.de>
16052
16053 * progmodes/cc-engine.el (c-forward-objc-directive):
16054 Prevent looping in "#pragma mark @implementation".
16055
16056 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
16057
16058 * notifications.el (notifications-on-closed-signal): Make `reason'
16059 optional. (Bug#10744)
16060
16061 2012-02-07 Glenn Morris <rgm@gnu.org>
16062
16063 * emacs-lisp/easy-mmode.el (define-minor-mode):
16064 Doc fixes for the macro and the mode it defines.
16065
16066 * image.el (imagemagick-types-inhibit): Doc fix.
16067
16068 * cus-start.el (imagemagick-render-type): Add it.
16069
16070 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
16071
16072 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
16073 Set the default at load time, too, so that `font-lock-fontify-buffer'
16074 can be called without setting up the entire mode first. This fixes
16075 a bug in `mm-inline-text' with C MIME parts.
16076
16077 2012-02-06 Chong Yidong <cyd@gnu.org>
16078
16079 * simple.el (list-processes--refresh): Delete exited processes
16080 (Bug#8094).
16081
16082 * comint.el (comint-next-prompt): next-single-char-property-change
16083 and prev-single-char-property-change never return nil (Bug#8657).
16084
16085 * custom.el (defcustom): Doc fix (Bug#9711).
16086
16087 2012-02-05 Chong Yidong <cyd@gnu.org>
16088
16089 * cus-edit.el (custom-variable-reset-backup): Quote the value
16090 before storing it in the customized-value property (Bug#6712).
16091 (custom-display): Add a customization type tag.
16092 (custom-buffer-create-internal): Improve tooltip message.
16093
16094 * wid-edit.el (widget-field-value-get): New optional arg to
16095 suppress trailing whitespace truncation.
16096 (character): Use it (Bug#2689).
16097
16098 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
16099
16100 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
16101 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
16102
16103 2012-02-05 Chong Yidong <cyd@gnu.org>
16104
16105 * cus-edit.el (custom-variable-value-create): For mismatched
16106 types, show the current value (Bug#7600).
16107
16108 * custom.el (defcustom): Doc fix.
16109
16110 2012-02-05 Glenn Morris <rgm@gnu.org>
16111
16112 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
16113
16114 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
16115
16116 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
16117 (pp-buffer): Use `ignore-errors', `looking-at-p'.
16118 (pp-last-sexp): Use `looking-at-p'.
16119
16120 2012-02-04 Glenn Morris <rgm@gnu.org>
16121
16122 * files.el (revert-buffer):
16123 Doc fix (mention revert-buffer-in-progress-p).
16124
16125 * emacs-lisp/ert-x.el (ert-simulate-command):
16126 Check deferred-action-list (which is obsolete) is bound.
16127
16128 * subr.el (with-wrapper-hook): Doc fixes.
16129
16130 * simple.el (filter-buffer-substring-functions)
16131 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
16132
16133 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
16134
16135 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
16136 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
16137
16138 2012-02-04 Leo Liu <sdl.web@gmail.com>
16139
16140 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
16141
16142 2012-02-04 Glenn Morris <rgm@gnu.org>
16143
16144 * image.el (image-extension-data): Add obsolete alias.
16145
16146 * isearch.el (isearch-update): Doc fix.
16147
16148 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
16149
16150 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
16151
16152 2012-02-03 Glenn Morris <rgm@gnu.org>
16153
16154 * image.el (image-animated-p): Doc fix. Use image-animated-types.
16155 (image-animate-timeout): Doc fix.
16156
16157 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
16158
16159 2012-02-02 Glenn Morris <rgm@gnu.org>
16160
16161 * server.el (server-auth-dir): Doc fix.
16162 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
16163
16164 * subr.el (run-mode-hooks): Doc fix.
16165
16166 2012-02-02 Juri Linkov <juri@jurta.org>
16167
16168 * image-mode.el (image-toggle-display-image): Remove tautological
16169 `major-mode' from the `derived-mode-p' test.
16170
16171 2012-02-02 Kenichi Handa <handa@m17n.org>
16172
16173 * composite.el (compose-region): Cancel previous change.
16174
16175 2012-02-02 Kenichi Handa <handa@m17n.org>
16176
16177 * composite.el (compose-region, compose-string): Signal error for
16178 a null string component (Bug#6988).
16179
16180 2012-02-01 Chong Yidong <cyd@gnu.org>
16181
16182 * view.el (view-buffer-other-window, view-buffer-other-frame):
16183 Handle special modes like view-buffer (Bug#10650).
16184 (view-buffer): Simplify.
16185
16186 * frame.el (set-frame-font): Tweak meaning of third argument.
16187
16188 * dynamic-setting.el (font-setting-change-default-font):
16189 Use set-frame-font (Bug#9982).
16190
16191 2012-02-01 Glenn Morris <rgm@gnu.org>
16192
16193 * progmodes/compile.el (compilation-internal-error-properties):
16194 Respect compilation-first-column in the "*compilation*" buffer.
16195
16196 * emacs-lisp/easy-mmode.el (define-minor-mode):
16197 Relax :variable's test for a named function.
16198
16199 2012-01-31 Alan Mackenzie <acm@muc.de>
16200
16201 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
16202 off by one error.
16203
16204 2012-01-31 Chong Yidong <cyd@gnu.org>
16205
16206 * frame.el (set-frame-font): New arg ALL-FRAMES.
16207
16208 * menu-bar.el (menu-set-font): Use set-frame-font.
16209
16210 * faces.el (face-spec-reset-face): Don't apply unspecified
16211 attribute values to the default face.
16212
16213 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
16214
16215 * progmodes/cwarn.el (cwarn): Remove dead link.
16216 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
16217 Remove * from defcustom docstrings.
16218 (turn-on-cwarn-mode): Make obsolete.
16219 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
16220 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
16221
16222 2012-01-31 Glenn Morris <rgm@gnu.org>
16223
16224 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
16225 Fix :variable handling of mode a symbol not equal to modefun.
16226 Allow named functions to be used as the cdr of :variable.
16227
16228 2012-01-30 Glenn Morris <rgm@gnu.org>
16229
16230 * emacs-lisp/authors.el (authors-fixed-entries):
16231 Remove reference to deleted file rnewspost.el.
16232
16233 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
16234
16235 * window.el (window-with-parameter): Remove unused variable `windows'.
16236 (window--side-check): Remove unused variable `code'.
16237 (window--resize-siblings): Remove unused variable `first'.
16238 (adjust-window-trailing-edge): Remove unused variable `failed'.
16239 (window-deletable-p, window--delete): Remove unused variable `buffer'.
16240 Use `let', not `let*'.
16241 (balance-windows-2): Remove unused variable `found'.
16242 (window--state-put-2): Remove unused variable `splits'.
16243 (window-state-put): Remove unused variable `selected'.
16244 (same-window-p): Use `string-match-p'.
16245 (display-buffer-assq-regexp): Remove unused variable `value'.
16246 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
16247 Mark argument ALIST as ignored.
16248 (pop-to-buffer): Remove unused variable `old-window'.
16249
16250 2012-01-29 Eli Zaretskii <eliz@gnu.org>
16251
16252 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
16253 and .lzma compressed files.
16254
16255 2012-01-29 Chong Yidong <cyd@gnu.org>
16256
16257 * frame.el (window-system-default-frame-alist): Doc fix.
16258
16259 * dynamic-setting.el (font-setting-change-default-font): Don't
16260 change the default face if SET-FONT argument is non-nil (Bug#9982).
16261
16262 2012-01-29 Samuel Bronson <naesten@gmail.com>
16263
16264 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
16265
16266 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
16267
16268 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
16269 breakpoints in files outside current directory (Bug#6098).
16270
16271 2012-01-29 Chong Yidong <cyd@gnu.org>
16272
16273 * progmodes/python.el: Require ansi-color at top-level.
16274
16275 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
16276 Define and use in Emacs Lisp mode (Bug#9360).
16277 (lisp-mode-abbrev-table): Add doc.
16278 (lisp-mode-variables): Don't set local-abbrev-table.
16279 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
16280
16281 2012-01-28 Roland Winkler <winkler@gnu.org>
16282
16283 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
16284
16285 2012-01-28 Roland Winkler <winkler@gnu.org>
16286
16287 * textmodes/bibtex.el (bibtex-entry-alist): New function.
16288 (bibtex-set-dialect): Use it. Either set global values of
16289 dialect-dependent variables or bind these variables buffer-locally
16290 (Bug#10254).
16291 (bibtex-mode): Call bibtex-set-dialect via
16292 hack-local-variables-hook.
16293 (bibtex-dialect): Update docstring.
16294 Add safe-local-variable predicate.
16295 (bibtex-entry-alist, bibtex-field-alist): Initialize via
16296 bibtex-set-dialect.
16297 (bibtex-mode-map): Define menu for each dialect.
16298 (bibtex-entry): Fix docstring.
16299
16300 2012-01-28 Chong Yidong <cyd@gnu.org>
16301
16302 * eshell/esh-arg.el (eshell-quote-argument): New function.
16303
16304 * eshell/esh-ext.el (eshell-invoke-batch-file):
16305 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
16306 first arg to eshell-parse-command (Bug#10523).
16307
16308 2012-01-28 Drew Adams <drew.adams@oracle.com>
16309
16310 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
16311 `default-directory' is non-nil.
16312
16313 2012-01-28 Eli Zaretskii <eliz@gnu.org>
16314
16315 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
16316 line that displays system-configuration-options. (Bug#9924)
16317
16318 2012-01-28 Drew Adams <drew.adams@oracle.com>
16319
16320 * descr-text.el (describe-char): Show information about POS, in
16321 addition to information about the character at POS. Improve and
16322 update the doc string. Change "code point" to "code point in
16323 charset", to avoid confusion with the character's Unicode code
16324 point shown above that. (Bug#10129)
16325
16326 2012-01-28 Eli Zaretskii <eliz@gnu.org>
16327
16328 * descr-text.el (describe-char): Show the raw character, not only
16329 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
16330 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
16331 for the reasons.
16332
16333 2012-01-28 Phil Hagelberg <phil@hagelb.org>
16334
16335 * emacs-lisp/package.el (package-install):
16336 Run package-refresh-contents if there is no archive yet (Bug#9798).
16337
16338 2012-01-28 Chong Yidong <cyd@gnu.org>
16339
16340 * emacs-lisp/package.el (package-maybe-load-descriptor):
16341 New function, split from package-maybe-load-descriptor.
16342 (package-maybe-load-descriptor): Use it.
16343 (package-download-transaction): Fully load required packages
16344 inside the loop, so that `require' calls work (Bug#10593).
16345 (package-install): No need to call package-initialize now.
16346
16347 2012-01-28 Chong Yidong <cyd@gnu.org>
16348
16349 * simple.el (deactivate-mark): Doc fix (Bug#8614).
16350
16351 * tooltip.el (tooltip-mode): Doc fix.
16352 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
16353
16354 * frame.el (set-cursor-color): Doc fix (Bug#352).
16355
16356 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
16357 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
16358
16359 * cus-edit.el (custom-buffer-create-internal): Fix search button
16360 action (Bug#10542).
16361 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
16362
16363 2012-01-27 Eduard Wiebe <usenet@pusto.de>
16364
16365 * dired.el (dired-mark-files-regexp):
16366 Include any subdirectory components. (Bug#10445)
16367
16368 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
16369
16370 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
16371 Handle [host]:port syntax. (Bug#10533)
16372
16373 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
16374
16375 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
16376
16377 2012-01-26 Glenn Morris <rgm@gnu.org>
16378
16379 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
16380 * term.el (term-raw-escape-map): Use Control-X-prefix.
16381 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
16382
16383 2012-01-25 Martin Rudalics <rudalics@gmx.at>
16384
16385 * window.el (window-state-get, window--state-get-1): Don't deal
16386 with fixed-sizeness of windows. Simplify code.
16387
16388 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
16389
16390 * window.el (window--state-get-1, window--state-put-2):
16391 Don't save and restore the mark.
16392
16393 2012-01-25 Chong Yidong <cyd@gnu.org>
16394
16395 * custom.el (custom-variable-p): Doc fix.
16396
16397 2012-01-25 Glenn Morris <rgm@gnu.org>
16398
16399 * dired.el (dired-goto-file): Handle some of the more common
16400 characters that `ls -b' escapes. (Bug#10596)
16401
16402 * progmodes/compile.el (compilation-next-error-function):
16403 Respect compilation-first-column in the "*compilation*" buffer.
16404 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
16405
16406 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
16407
16408 2012-01-24 Glenn Morris <rgm@gnu.org>
16409
16410 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
16411
16412 2012-01-24 Julien Danjou <julien@danjou.info>
16413
16414 * color.el (color-rgb-to-hsl): Fix value computing.
16415 (color-hue-to-rgb): New function.
16416 (color-hsl-to-rgb): New function.
16417 (color-clamp, color-saturate-hsl, color-saturate-name)
16418 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
16419 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
16420
16421 2012-01-24 Glenn Morris <rgm@gnu.org>
16422
16423 * vc/vc-rcs.el (vc-rcs-create-tag):
16424 * vc/vc-sccs.el (vc-sccs-create-tag):
16425 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
16426
16427 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
16428
16429 * eshell/esh-util.el (eshell-read-hosts-file):
16430 Skip comment lines. (Bug#10549)
16431
16432 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
16433
16434 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
16435
16436 * subr.el (display-delayed-warnings): Doc fix.
16437 (collapse-delayed-warnings): New function to collapse identical
16438 adjacent warnings.
16439 (delayed-warnings-hook): Add it.
16440
16441 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
16442
16443 * net/tramp.el (tramp-action-login): Set connection property "login-as".
16444
16445 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
16446 (tramp-default-user-alist): Don't add "pscp".
16447 (tramp-do-copy-or-rename-file-out-of-band): Use connection
16448 property "login-as", if set. (Bug#10530)
16449
16450 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
16451
16452 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
16453 "plink1" and "psftp". (Bug#10530)
16454
16455 2012-01-21 Kenichi Handa <handa@m17n.org>
16456
16457 * international/mule-cmds.el (prefer-coding-system): Show a
16458 warning message if the default value of file-name-coding-system
16459 was not changed.
16460
16461 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
16462
16463 * windmove.el (windmove-reference-loc):
16464 Fix windmove-reference-loc miscalculation.
16465
16466 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
16467
16468 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
16469 default unit.
16470
16471 2012-01-21 Glenn Morris <rgm@gnu.org>
16472
16473 * international/mule.el (auto-coding-alist): Add .tbz.
16474
16475 * files.el (local-enable-local-variables): Doc fix.
16476 (inhibit-local-variables-regexps): Rename from
16477 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
16478 Doc fix. Add some extensions from auto-coding-alist.
16479 (inhibit-local-variables-suffixes):
16480 Rename from inhibit-first-line-modes-suffixes. Doc fix.
16481 (inhibit-local-variables-p):
16482 New function, extracted from set-auto-mode-1.
16483 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
16484 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
16485 (hack-local-variables): Doc fix. Make the mode-only case
16486 respect enable-local-variables and friends.
16487 Respect inhibit-local-variables-regexps for file-locals, but
16488 not for directory-locals.
16489 (set-visited-file-name):
16490 Take account of inhibit-local-variables-regexps.
16491 Whether it applies may change as the file name is changed.
16492 * jka-cmpr-hook.el (jka-compr-install):
16493 * jka-compr.el (jka-compr-uninstall):
16494 Update for inhibit-first-line-modes-suffixes name change.
16495
16496 2012-01-20 Martin Rudalics <rudalics@gmx.at>
16497
16498 * help-macro.el (make-help-screen): Temporarily restore original
16499 binding for minor-mode-map-alist (Bug#10454).
16500
16501 2012-01-19 Julien Danjou <julien@danjou.info>
16502
16503 * color.el (color-name-to-rgb): Use the white color to find the max
16504 color component value and return correctly computed values.
16505 (color-name-to-rgb): Add missing float conversion for max value.
16506
16507 2012-01-19 Martin Rudalics <rudalics@gmx.at>
16508
16509 * window.el (window--state-get-1, window-state-get): Do not use
16510 special state value for window-persistent-parameters.
16511 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
16512 (window--state-put-2): Reset all window parameters to nil before
16513 assigning values of persistent parameters.
16514
16515 2012-01-18 Alan Mackenzie <acm@muc.de>
16516
16517 Eliminate sluggishness and hangs in fontification of "semicolon
16518 deserts".
16519
16520 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
16521 Change value 10000 -> 3000.
16522 (c-state-safe-place): Reformulate so it doesn't stack up an
16523 infinite number of wrong entries in c-state-nonlit-pos-cache.
16524 (c-determine-limit-get-base, c-determine-limit): New functions to
16525 determine backward search limits disregarding literals.
16526 (c-find-decl-spots): Amend commenting.
16527 (c-cheap-inside-bracelist-p): New function which detects "={".
16528
16529 * progmodes/cc-fonts.el
16530 (c-make-font-lock-BO-decl-search-function): Give a limit to a
16531 backward search.
16532 (c-font-lock-declarations): Fix an occurrence of point being
16533 undefined. Check additionally for point being in a bracelist or
16534 near a macro invocation without a semicolon so as to avoid a
16535 fruitless time consuming search for a declarator. Give a more
16536 precise search limit for declarators using the new
16537 c-determine-limit.
16538
16539 2012-01-18 Glenn Morris <rgm@gnu.org>
16540
16541 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
16542 (set-auto-mode): Doc fixes.
16543
16544 2012-01-17 Glenn Morris <rgm@gnu.org>
16545
16546 * isearch.el (search-nonincremental-instead): Fix doc typo.
16547
16548 * dired.el (dired-insert-directory): Handle newlines in directory name.
16549 (dired-build-subdir-alist): Unescape newlines in directory name.
16550
16551 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
16552
16553 * net/tramp.el (tramp-local-end-of-line): New defcustom.
16554 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
16555 (tramp-action-terminal): Use it. (Bug#10530)
16556
16557 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
16558
16559 * minibuffer.el (completion--replace): Strip properties (bug#10062).
16560
16561 2012-01-16 Martin Rudalics <rudalics@gmx.at>
16562
16563 * window.el (window-state-ignored-parameters): Remove variable.
16564 (window--state-get-1): Rename argument MARKERS to IGNORE.
16565 Handle persistent window parameters. Make copy of clone-of
16566 parameter only if requested. (Bug#10348)
16567 (window--state-put-2): Install a window parameter only if it has
16568 a non-nil value or an existing parameter shall be overwritten.
16569
16570 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
16571
16572 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
16573
16574 2012-01-14 Eli Zaretskii <eliz@gnu.org>
16575
16576 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
16577 don't pass the (nil) value of `upnode' to string-match.
16578
16579 2012-01-14 Chong Yidong <cyd@gnu.org>
16580
16581 * startup.el (command-line): Fix X resource class for cursorColor.
16582 Fix values recognized by the cursorBlink resource.
16583
16584 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
16585
16586 * epg.el (epg--make-temp-file): Avoid permission race condition
16587 when running on old Emacs versions (bug#10403).
16588
16589 2012-01-14 Glenn Morris <rgm@gnu.org>
16590
16591 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
16592
16593 2012-01-13 Alan Mackenzie <acm@muc.de>
16594
16595 Fix filling for when filladapt mode is enabled.
16596
16597 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
16598 c-mask-paragraph, pass in `fill-paragraph' rather than
16599 `fill-region-as-paragraph'. (This is a reversion of a previous
16600 change.)
16601 * progmodes/cc-mode.el (c-basic-common-init):
16602 Make fill-paragraph-handle-comment buffer local and set it to nil.
16603
16604 2012-01-13 Glenn Morris <rgm@gnu.org>
16605
16606 * dired.el (dired-switches-escape-p): New function.
16607 (dired-insert-directory): Use dired-switches-escape-p.
16608 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
16609
16610 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
16611
16612 2012-01-12 Glenn Morris <rgm@gnu.org>
16613
16614 * mail/sendmail.el (mail-mode): Update paragraph-separate for
16615 changes in adaptive-fill-regexp. (Bug#10276)
16616
16617 2012-01-11 Alan Mackenzie <acm@muc.de>
16618
16619 Fix Emacs bug #10463 - put `widen's around the critical spots.
16620
16621 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
16622 widen around each invocation of c-state-pp-to-literal. Remove an
16623 unused let variable.
16624
16625 2012-01-11 Glenn Morris <rgm@gnu.org>
16626
16627 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
16628 Doc fix.
16629
16630 2012-01-10 Chong Yidong <cyd@gnu.org>
16631
16632 * net/network-stream.el (network-stream-open-starttls):
16633 Avoid emitting a confusing error message when the server gives a bad
16634 response to the capability command.
16635
16636 2012-01-10 Glenn Morris <rgm@gnu.org>
16637
16638 * mail/unrmail.el (unrmail): Tweak previous change.
16639
16640 2012-01-09 Chong Yidong <cyd@gnu.org>
16641
16642 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
16643
16644 2012-01-08 Alan Mackenzie <acm@muc.de>
16645
16646 Optimize font locking in long enum definitions.
16647
16648 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
16649 arm to a cond form to handle enums.
16650 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
16651 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
16652
16653 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
16654
16655 * files.el (move-file-to-trash): Preserve default file modes on error.
16656 (Bug#10401)
16657
16658 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
16659
16660 * faces.el (set-face-attribute): Clarify the meaning of the nil
16661 frame (bug#10294).
16662
16663 * subr.el (with-selected-frame): Mention that the selected frame
16664 is restored (bug#9980).
16665
16666 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
16667 (bug#9759).
16668
16669 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
16670 (password-read): Don't autoload unused function.
16671
16672 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
16673
16674 * progmodes/which-func.el (which-func-mode): Turn into a
16675 non-interactive function and mark as obsolete (bug#10428).
16676
16677 2012-01-06 Chong Yidong <cyd@gnu.org>
16678
16679 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
16680 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
16681 functions, along with 1 and -1.
16682
16683 2012-01-06 Eli Zaretskii <eliz@gnu.org>
16684
16685 * time.el (display-time-load-average)
16686 (display-time-default-load-average): Doc fixes. See the thread
16687 starting at
16688 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
16689 for the details.
16690
16691 2012-01-06 Glenn Morris <rgm@gnu.org>
16692
16693 * mail/unrmail.el (unrmail): Give an explicit error if the input file
16694 has no messages. (Bug#10377)
16695
16696 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
16697 than Info-edit. (Bug#10385)
16698
16699 * time.el (display-time-load-average, display-time-next-load-average):
16700 Doc fixes.
16701
16702 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
16703 local setting of buffer-read-only to the input buffer. (Bug#10419)
16704
16705 * calendar/calendar.el (calendar-mode):
16706 Locally set scroll-margin to 0. (Bug#10379)
16707
16708 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
16709
16710 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
16711
16712 2012-01-05 Glenn Morris <rgm@gnu.org>
16713
16714 * eshell/em-unix.el (diff-no-select): Autoload it.
16715 (eshell/diff): Use diff-no-select. (Bug#10420)
16716
16717 2012-01-05 Chong Yidong <cyd@gnu.org>
16718
16719 * shell.el (shell-dynamic-complete-functions): Revert last change.
16720 (shell-command-completion-function): New function.
16721 (shell-completion-vars): Use it to implement
16722 shell-completion-execonly (Bug#10417).
16723
16724 * custom.el (enable-theme): Don't set custom-safe-themes.
16725
16726 * cus-theme.el (custom-theme-merge-theme):
16727 Ignore custom-enabled-themes and custom-safe-themes.
16728
16729 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
16730
16731 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
16732 first prompt in `sql-interacive-mode'.
16733 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
16734 keywords.
16735 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
16736 (sql-product-interactive): Bug fix: Set `sql-buffer' in
16737 context of original buffer. Invoke `sql-login-hook'.
16738
16739 2012-01-04 Eli Zaretskii <eliz@gnu.org>
16740
16741 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
16742 letters in cite-prefix.
16743
16744 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16745
16746 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
16747
16748 2012-01-03 Chong Yidong <cyd@gnu.org>
16749
16750 * shell.el (shell-dynamic-complete-functions):
16751 Put pcomplete-completions-at-point, so as to try
16752 comint-filename-completion first (Bug#10417).
16753
16754 2012-01-02 Richard Stallman <rms@gnu.org>
16755
16756 * battery.el (battery-status-function):
16757 Detect when to use battery-yeeloong-sysfs.
16758 (battery-echo-area-format): Add string for Yeeloong.
16759 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
16760 (battery-yeeloong-sysfs): New function.
16761
16762 2012-01-02 Chong Yidong <cyd@gnu.org>
16763
16764 * dirtrack.el (dirtrack-list): Eliminate unused third element.
16765 (dirtrack): Merge code for handling relative filenames in prompt
16766 from shell-dir-cookie-watcher.
16767 (dirtrack-debug-message): New arg to avoid excess format calls.
16768
16769 * shell.el (shell-dir-cookie-re): Variable deleted.
16770 (shell-dir-cookie-watcher): Function deleted.
16771 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
16772 with dirtrack-mode.
16773
16774 2012-01-01 Eli Zaretskii <eliz@gnu.org>
16775
16776 * term/w32-win.el (dynamic-library-alist) <gnutls>:
16777 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
16778 libgnutls-26.dll.
16779
16780 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
16781
16782 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
16783
16784 2011-12-31 Eli Zaretskii <eliz@gnu.org>
16785
16786 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
16787 headers of non-MIME messages, when rmail-enable-mime is non-nil.
16788
16789 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
16790
16791 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
16792 also for alternative shells.
16793 (tramp-open-connection-setup-interactive-shell): Check, whether
16794 the shell is a busybox.
16795 (tramp-send-command): Don't suppress multiple prompts for
16796 busyboxes, it hurts.
16797
16798 2011-12-28 Chong Yidong <cyd@gnu.org>
16799
16800 * progmodes/gdb-mi.el (gdb-get-source-file-list)
16801 (gdb-get-source-file): Move mode line update to
16802 gdb-get-source-file (Bug#10087).
16803
16804 2011-12-25 Chong Yidong <cyd@gnu.org>
16805
16806 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
16807 gud-gdb-marker-filter without taking it as an argument.
16808 (gud-gdb-run-command-fetch-lines): Caller changed.
16809 (gud-gdb-completion-function): New variable.
16810 (gud-gdb-completion-at-point): Use it.
16811 (gud-gdb-completions-1): Split from gud-gdb-completions.
16812
16813 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
16814 function as separate arguments.
16815 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
16816 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
16817 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
16818 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
16819 (gdb-stopped, def-gdb-auto-update-trigger)
16820 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
16821 (gdb-get-changed-registers, gdb-get-main-selected-frame):
16822 Callers changed.
16823 (gud-gdbmi-completions): New function.
16824 (gdb): Use it for generating the completion table.
16825
16826 2011-12-24 Alan Mackenzie <acm@muc.de>
16827
16828 Introduce a mechanism to widen the region used in context font
16829 locking. Use this to protect declarations from losing their contexts.
16830
16831 * progmodes/cc-langs.el (c-before-font-lock-functions):
16832 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
16833 (c-before-context-fontification-functions): New defvar, a list of
16834 functions to be run just before context (etc.) font locking.
16835
16836 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
16837 New, functionality extracted from
16838 c-neutralize-syntax-in-and-mark-CPP.
16839 (c-in-after-change-fontification): New variable.
16840 (c-after-change): Set c-in-after-change-fontification.
16841 (c-set-fl-decl-start): Rejig its interface, so it can be called
16842 from both after-change and context fontifying.
16843 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
16844 New functions.
16845 (c-standard-font-lock-fontify-region-function): New variable.
16846 (c-font-lock-fontify-region): New function.
16847
16848 2011-12-24 Juri Linkov <juri@jurta.org>
16849
16850 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
16851 (Bug#10348)
16852
16853 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
16854
16855 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
16856 existence of source file. (Bug#10325)
16857
16858 2011-12-23 Alan Mackenzie <acm@muc.de>
16859
16860 Fix unstable fontification inside templates.
16861
16862 * progmodes/cc-langs.el (c-before-font-lock-functions):
16863 Newly created from the singular version. The (c c++ objc) entry now
16864 additionally has c-set-fl-decl-start. The other languages (apart
16865 from AWK) have that as a single entry.
16866
16867 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
16868 The functionality for "local" declarations has been extracted to
16869 c-set-fl-decl-start.
16870
16871 * progmodes/cc-mode.el (c-common-init, c-after-change):
16872 Changes due to pluralisation of c-before-font-lock-functions.
16873 (c-set-fl-decl-start): New function, extracted from
16874 c-font-lock-enclosing-decls and enhanced.
16875
16876 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
16877
16878 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
16879
16880 2011-12-22 Juri Linkov <juri@jurta.org>
16881
16882 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
16883
16884 2011-12-22 Chong Yidong <cyd@gnu.org>
16885
16886 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
16887
16888 2011-12-21 Drew Adams <drew.adams@oracle.com>
16889
16890 * files.el (file-remote-p): Fix docstring. (Bug#10319)
16891
16892 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
16893
16894 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
16895
16896 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
16897
16898 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
16899 highlighting and support. Fix up comments for capitalization.
16900 (cfengine-mode-debug): New var.
16901 (cfengine3-mode): Change the modeline indicator to "CFE3".
16902 (cfengine3-font-lock-keywords): Improve defun highlighting.
16903 (cfengine2-actions): Rename from `cfengine-actions'.
16904 (cfengine2-font-lock-keywords): Rename from
16905 `cfengine-font-lock-keywords'.
16906 (cfengine2-imenu-expression): Rename from
16907 `cfengine-imenu-expression'.
16908 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
16909 (cfengine2-beginning-of-defun): Rename from
16910 `cfengine-beginning-of-defun'.
16911 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
16912 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
16913 (cfengine2-mode): Rename from `cfengine-mode'. Change the
16914 modeline indicator to "CFE2".
16915 (cfengine-mode): Defalias to `cfengine-auto-mode'.
16916 (cfengine-mode-abbrevs): Mark obsolete.
16917
16918 2011-12-21 Chong Yidong <cyd@gnu.org>
16919
16920 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
16921 filename argument.
16922
16923 2011-12-20 Martin Rudalics <rudalics@gmx.at>
16924
16925 * window.el (window-normalize-buffer-to-display): Remove.
16926 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
16927
16928 2011-12-19 Chong Yidong <cyd@gnu.org>
16929
16930 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
16931 Don't signal an error in a predicate function; return non-nil.
16932 (vc-dir-mark-file): Move the error here.
16933 (vc-dir-mark-unmark): If acting on the region, keep going if one
16934 of the entries cannot be marked/unmarked.
16935 (vc-dir-mark-all-files): If current entry is a directory, mark
16936 only child files, as documented.
16937
16938 2011-12-19 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
16939
16940 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
16941 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
16942 addition.
16943
16944 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
16945
16946 * term/ns-win.el (ns-get-selection-internal)
16947 (ns-store-selection-internal): Declare.
16948 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
16949 Declare as obsolete.
16950 (ns-get-pasteboard, ns-paste-secondary):
16951 Use ns-get-selection-internal.
16952 (ns-set-pasteboard, ns-copy-including-secondary):
16953 Use ns-store-selection-internal.
16954
16955 2011-12-17 Chong Yidong <cyd@gnu.org>
16956
16957 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
16958 (vc-deduce-fileset): Doc fix.
16959
16960 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
16961
16962 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
16963
16964 2011-12-13 Sam Steingold <sds@gnu.org>
16965
16966 * man.el (Man-getpage-in-background): When running under a
16967 window-system, ignore $MANWIDTH and $COLUMNS.
16968
16969 2011-12-15 Kenichi Handa <handa@m17n.org>
16970
16971 * language/ethio-util.el: Change coding tag to utf-8-emacs.
16972 (setup-ethiopic-environment-internal): Comment out key-binding for
16973 ethio-toggle-punctuation.
16974
16975 2011-12-13 Alan Mackenzie <acm@muc.de>
16976
16977 Add the switch statement to AWK Mode.
16978
16979 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
16980 "default" to the keywords regexp.
16981
16982 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
16983 expression as the rest.
16984 (c-nonlabel-token-key): Allow string literals for AWK.
16985 Refactor for the other modes.
16986
16987 Large brace-block initialisation makes CC Mode slow: Fix.
16988 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
16989 routines. Limit backward searching in c-font-lock-enclosing.decl.
16990
16991 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
16992 pp-state and literal type in addition to the limits.
16993 (c-state-safe-place): New defun, extracted from c-state-literal-at.
16994 (c-state-literal-at): Use the above new defun.
16995 (c-slow-in-literal, c-fast-in-literal): Remove.
16996 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
16997
16998 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
16999 being in a literal. Add a limit for backward searching.
17000
17001 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
17002 c-slow-in-literal.
17003
17004 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
17005
17006 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
17007
17008 2011-12-13 Martin Rudalics <rudalics@gmx.at>
17009
17010 * window.el (delete-other-windows): Use correct frame in call to
17011 window-with-parameter.
17012
17013 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
17014
17015 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
17016 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
17017 (makefile-gmake-statements, makefile-makepp-statements):
17018 Use it and add new makepp keywords.
17019 (makefile-makepp-font-lock-keywords): Add new patterns.
17020 (makefile-match-function-end): Match new [...] and [[...]].
17021
17022 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
17023
17024 * ses.el (ses-call-printer-return, ses-cell-property-get)
17025 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
17026 (ses-create-cell-variable, ses-reset-header-string)
17027 (ses-cell-set-formula, ses-repair-cell-reference-all)
17028 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
17029 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
17030 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
17031 (ses-aset-with-undo, ses-load, ses-truncate-cell)
17032 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
17033 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
17034 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
17035 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
17036 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
17037 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
17038 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
17039 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
17040
17041 2011-12-11 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
17042
17043 * ses.el: The overall change is to add cell renaming, that is
17044 setting fancy names for cell symbols other than name matching
17045 "\\`[A-Z]+[0-9]+\\'" regexp .
17046 (ses-create-cell-variable): New defun.
17047 (ses-relocate-formula): Relocate formulas only for cells the
17048 symbols of which are not renamed, i.e. symbols whose names do not
17049 match regexp "\\`[A-Z]+[0-9]+\\'".
17050 (ses-relocate-all): Relocate values only for cells the symbols of
17051 which are not renamed.
17052 (ses-load): Create cells variables as the (ses-cell ...) are read,
17053 in order to check row col consistency with cell symbol name only
17054 for cells that are not renamed.
17055 (ses-replace-name-in-formula): New defun.
17056 (ses-rename-cell): New defun.
17057
17058 2011-12-11 Chong Yidong <cyd@gnu.org>
17059
17060 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
17061 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
17062
17063 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
17064
17065 * window.el (other-window): Fix docstring.
17066
17067 2011-12-10 Eli Zaretskii <eliz@gnu.org>
17068
17069 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
17070 `from' or `to' address before taking its substring.
17071 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
17072 encoded name is chopped in the middle of the encoded string, and
17073 thus displayed encoded.
17074
17075 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
17076
17077 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
17078
17079 2011-12-10 Eli Zaretskii <eliz@gnu.org>
17080
17081 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
17082 to use texinfo-update-node and commands that call it if the
17083 Texinfo file uses @node lines without next/prev/up pointers.
17084 Correct outdated description about texinfo-master-menu.
17085 (texinfo-all-menus-update, texinfo-master-menu)
17086 (texinfo-update-node, texinfo-every-node-update)
17087 (texinfo-multiple-files-update): Doc fix. Warn against updating
17088 all the @node lines.
17089 (texinfo-master-menu): Only call texinfo-update-node if the prefix
17090 argument is numeric. Explain better in the doc string what the
17091 function really does.
17092 (texinfo-insert-master-menu-list): Improve the error message
17093 displayed if there's no menu in the Top node.
17094 (Bug#2975) See also this thread:
17095 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
17096
17097 2011-12-09 Manuel GĂ³mez <mgrojo@gmail.com> (tiny change)
17098
17099 * speedbar.el (speedbar-supported-extension-expressions):
17100 Add .adb and .ads, commonly used for Ada source code (bug#10256).
17101
17102 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
17103
17104 * printing.el (pr-mode-alist):
17105 * simple.el (filter-buffer-substring-functions)
17106 (completion-list-insert-choice-function):
17107 * window.el (window-with-parameter, window-atom-root)
17108 (window-sides-slots, window-size-fixed, window-min-delta)
17109 (window-max-delta, window--resize-mini-window)
17110 (window--resize-child-windows-normal, window-tree)
17111 (delete-other-windows, quit-window, split-window)
17112 (display-buffer-record-window, special-display-buffer-names)
17113 (special-display-regexps, special-display-popup-frame)
17114 (same-window-p, split-window-sensibly)
17115 (display-buffer-overriding-action, display-buffer-alist)
17116 (display-buffer-base-action, display-buffer, switch-to-buffer)
17117 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
17118 (fit-window-to-buffer, recenter-positions)
17119 (mouse-autoselect-window-state, mouse-autoselect-window-select):
17120 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
17121 and remove unneeded backslashes in docstrings.
17122
17123 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
17124
17125 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
17126
17127 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
17128 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
17129 end in ".mk".
17130 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
17131 when reading the makefile (bug#10116).
17132
17133 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
17134
17135 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
17136 (bug#10116).
17137
17138 2011-12-06 Glenn Morris <rgm@gnu.org>
17139
17140 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
17141
17142 2011-12-06 Chong Yidong <cyd@gnu.org>
17143
17144 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
17145
17146 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
17147
17148 * textmodes/table.el (table-shorten-cell): Fix typo.
17149
17150 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
17151
17152 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
17153
17154 2011-12-05 Eli Zaretskii <eliz@gnu.org>
17155
17156 * descr-text.el (describe-char): Fix display of strong
17157 right-to-left characters and directional embeddings and overrides.
17158
17159 * simple.el (what-cursor-position): Fix display of codepoints of
17160 strong right-to-left characters.
17161
17162 2011-12-05 Chong Yidong <cyd@gnu.org>
17163
17164 * faces.el (read-color): Doc fix.
17165
17166 2011-12-05 Glenn Morris <rgm@gnu.org>
17167
17168 * align.el (align--set-marker): Add doc-string.
17169 Don't try to move something that is not a marker. (Bug#10216)
17170
17171 2011-12-04 Glenn Morris <rgm@gnu.org>
17172
17173 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
17174 overly zealous deletion of trailing whitespace.
17175
17176 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
17177
17178 * server.el (server-delete-client): On Windows, do not try to delete
17179 the only terminal.
17180 (server-process-filter): On Windows, treat requests for a tty frame as
17181 if they were for a GUI frame if the running server is in GUI mode.
17182
17183 2011-12-03 Glenn Morris <rgm@gnu.org>
17184
17185 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
17186
17187 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
17188
17189 * electric.el: Streamline electric-indent's hook.
17190 (electric-indent-chars): Revert to simple list.
17191 (electric-indent-functions): New var.
17192 (electric-indent-post-self-insert-function): Use it.
17193
17194 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
17195 there's no inferior buffer (bug#10196).
17196 (prolog-consult-compile): Don't use toggle-read-only.
17197
17198 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
17199
17200 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
17201 interrupt. (Bug#10187)
17202
17203 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
17204
17205 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
17206 (bug#9160).
17207
17208 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
17209 (bug#10191).
17210
17211 2011-12-02 Juri Linkov <juri@jurta.org>
17212
17213 * info.el (Info-search): Display "end of manual" when Isearch
17214 reaches the end of single-file Info manual. (Bug#9918)
17215
17216 2011-12-02 Eli Zaretskii <eliz@gnu.org>
17217
17218 * isearch.el (isearch-message-prefix): Run the input method part
17219 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
17220
17221 2011-12-02 Juri Linkov <juri@jurta.org>
17222
17223 * isearch.el (isearch-occur): Use `word-search-regexp' for
17224 `isearch-word'.
17225 (isearch-search-and-update): Add condition for `isearch-word' and
17226 call `word-search-regexp'. (Bug#10145)
17227
17228 2011-12-01 Glenn Morris <rgm@gnu.org>
17229
17230 * eshell/em-hist.el (eshell-hist-initialize):
17231 Handle eshell-history-size nil and HISTSIZE set or unset.
17232 (eshell-history-file-name, eshell-history-size): Fix custom type.
17233
17234 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
17235
17236 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
17237
17238 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
17239
17240 * progmodes/verilog-mode.el (verilog-pretty-expr):
17241 Rework verilog-pretty-expr to handle new assignment operators in system
17242 verilog, such as += *= and the like.
17243 (verilog-assignment-operator-re): Regular expression to find the
17244 assigment operator in a verilog assignment.
17245 (verilog-assignment-operation-re): Regular expression to find an
17246 assignment statement for pretty-expr.
17247 (verilog-in-attribute-p): Query returns true if point is in an
17248 attribute context; used to skip these for expression line up from
17249 pretty-expr.
17250 (verilog-in-parameter-p): Query returns true if point is in an
17251 parameter definition context; used to skip these for expression
17252 line up from pretty-expr.
17253 (verilog-in-parenthesis-p): Query returns true if point is in a
17254 parenthetical expression, specifically ( ) but not [ ] or { };
17255 used by pretty-expr.
17256 (verilog-just-one-space): If there is no space, don't add one.
17257 (verilog-get-lineup-indent-2): Specifically skip just attribute
17258 contexts for expression lineup, rather than skipping all
17259 parenthetical expressions.
17260 (verilog-calculate-indent): Fix comment, and fix indent.
17261 (verilog-do-indent): Indent declarations in lists (suggested by
17262 Joachim Lechner).
17263 (verilog-mode-abbrev-table): Populate abbrev mode with the various
17264 skeleton items.
17265 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
17266 by Alain Mellan).
17267
17268 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
17269
17270 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
17271 parameters with embedded comments. Reported by Ray Stevens.
17272 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
17273 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
17274 Reported by Tim Holt.
17275 (verilog-auto): Fix AUTOing a upper module then AUTOing module
17276 instantiated by upper module causing wrong expansion until AUTOed a
17277 second time. Reported by K C Buckenmaier.
17278 (verilog-diff-auto): Fix showing .* as a difference when
17279 `verilog-auto-star-save' off. Reported by Dan Dever.
17280 (verilog-auto-reset, verilog-read-always-signals)
17281 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
17282 temporary signals in reset list if
17283 verilog-auto-reset-blocking-in-non is nil, and match assignment
17284 style to each signal's assignment type, bug381.
17285 Reported by Thomas Esposito.
17286 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
17287 (verilog-uvm-statement-re): Support UVM indentation and
17288 highlighting, with old OVM keywords only.
17289 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
17290 Support AUTOTIEOFF creating non-wire data types.
17291 Suggested by Jonathan Greenlaw.
17292 (verilog-auto-insert-lisp, verilog-delete-to-paren)
17293 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
17294 (verilog-inject-sense, verilog-read-inst-pins)
17295 (verilog-read-sub-decls, verilog-read-sub-decls-line):
17296 Fix mismatching parenthesis inside commented out code when deleting
17297 AUTOINST, bug383. Reported by Jonathan Greenlaw.
17298 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
17299 non-numeric vector width. Reported by Alex Reed.
17300 (verilog-auto-ascii-enum): Add "onehot" option to work around not
17301 detecting signals with parameter widths. Reported by Alex Reed.
17302 (verilog-auto-delete-trailing-whitespace):
17303 With `verilog-auto-delete-trailing-whitespace' remove trailing
17304 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
17305 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
17306 Fix verilog-scan-cache corruption when running user AUTO expansion
17307 hooks that call indentation routines.
17308 (verilog-simplify-range-expression): Fix typo ignoring lower case
17309 identifiers.
17310 (verilog-delete-auto): Fix delete-autos to also remove user created
17311 automatics, as long as they start with AUTO.
17312 (verilog-batch-diff-auto, verilog-diff-auto)
17313 (verilog-diff-function): Add `verilog-diff-auto' and bind to
17314 "C-c?" to report differences in AUTO expansion, ignoring spaces.
17315 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
17316 (verilog-in-paren-quick, verilog-re-search-backward-quick)
17317 (verilog-re-search-forward-quick, verilog-syntax-ppss):
17318 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
17319 is disabled and its cache will get corrupt, causing AUTOS not to
17320 expand. Instead use only -quick functions.
17321 (verilog-scan-region): Fix scanning over escaped quotes.
17322 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
17323 (verilog-re-search-backward-quick)
17324 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
17325 related functions now ignore strings, to fix misparsing of strings
17326 with magic comments embedded in them.
17327 (verilog-read-auto-template):
17328 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
17329 Reported by Brad Dobbie.
17330 (verilog-read-auto-template):
17331 Fix 'verilog-auto-inst-template-numbers' with comments.
17332 Reported by Brad Dobbie.
17333 (verilog-auto-inst, verilog-auto-inst-param)
17334 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
17335 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
17336 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
17337 debugging templates without merge conflicts, bug357.
17338 Reported by Brad Dobbie.
17339 (verilog-read-auto-template):
17340 Fix verilog-auto-inst-template-numbers with multiple templates.
17341 Reported by Brad Dobbie.
17342 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
17343 abbrevs so user won't be asked to save.
17344 (verilog-read-auto-lisp-present): Fix to start at beginning of
17345 buffer in case called outside of verilog-auto.
17346 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
17347 to "X-2". Reported by Matthew Myers.
17348 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
17349 all inputs from module templates. Reported by Leith Johnson.
17350 (verilog-module-inside-filename-p): Fix locating programs as with
17351 modules.
17352 (verilog-auto-inst-port): Fix vl-width expressions when using
17353 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
17354 (verilog-decls-get-regs, verilog-decls-get-signals,
17355 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
17356 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
17357 verilog-read-decls): Combine reg and wire structures into one var
17358 structure to represent SystemVerilog concepts.
17359 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
17360 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
17361 (verilog-auto-wire-type, verilog-insert-definition):
17362 Add verilog-auto-wire-type and AUTOLOGIC to support using
17363 SystemVerilog "logic" keyword instead of "wire"/"reg".
17364 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
17365 to declares outputs that also have assignments (presumably in an
17366 ifdef or generate if so there's not a driver conflict).
17367 Reported by Matthew Myers.
17368 (verilog-auto-declare-nettype, verilog-insert-definition):
17369 Add verilog-auto-declare-nettype to fix declarations using
17370 `default_nettype none. Reported by Julian Gorfajn.
17371 (verilog-read-always-signals-recurse, verilog-read-decls)
17372 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
17373 malformed end statement, bug325. Reported by Joshua Wise and
17374 Andrew Drake.
17375 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
17376 (verilog-inst-comment-re): Fix not deleting Interfaced comment
17377 when expanding .* in interfaces, bug320.
17378 Reported by Pierre-David Pfister.
17379 (verilog-read-module-name): Fix import statements between module
17380 name and open parenthesis, bug317.
17381 Reported by Pierre-David Pfister.
17382 (verilog-simplify-range-expression): Fix simplification of
17383 multiplications inside AUTOWIRE connections, bug303.
17384 (verilog-auto-inst-port): Support parameter expansion in
17385 multidimensional arrays.
17386 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
17387 after "assert property". Reported by Julian Gorfajn.
17388 (verilog-simplify-range-expression): Fix "couldn't merge" errors
17389 with multiplication, bug303.
17390 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
17391 Reported by Jan Frode Lonnum.
17392
17393 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
17394
17395 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
17396 (hfy-shell-file-name, hfy-shell):
17397 * international/fontset.el (x-decompose-font-name): Fix typos.
17398
17399 2011-11-29 Ken Brown <kbrown@cornell.edu>
17400
17401 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
17402 (gdb-version): Remove defvar.
17403 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
17404 (gdb-gud-context-command, gdb-non-stop-handler)
17405 (gdb-current-context-command, gdb-stopped): Use it.
17406 (gdb-init-1): Enable pretty printing here.
17407 (gdb-non-stop-handler): Don't enable pretty-printing here.
17408 Check to see if the target supports non-stop mode; if not, turn off
17409 non-stop mode. Use the following.
17410 (gdb-check-target-async): New defun.
17411 (gud-watch, gdb-stopped): Fix whitespace.
17412 (gdb-get-source-file): Don't try to display the source file if
17413 `gdb-main-file' is nil.
17414
17415 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
17416
17417 * align.el: Try to generate fewer markers (bug#10047).
17418 (align--set-marker): New macro.
17419 (align-region): Use it.
17420
17421 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
17422
17423 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
17424
17425 2011-11-29 Chong Yidong <cyd@gnu.org>
17426
17427 * indent.el (indent-for-tab-command, indent-according-to-mode):
17428 Doc fix.
17429 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
17430
17431 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
17432
17433 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
17434 aware of remote file names. (Bug#10124)
17435
17436 2011-11-29 Chong Yidong <cyd@gnu.org>
17437
17438 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
17439
17440 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
17441
17442 * files.el (find-file): Don't use force-same-window (bug#10144).
17443 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
17444 use pop-to-buffer if the selected window can't be used.
17445 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
17446
17447 2011-11-28 Eli Zaretskii <eliz@gnu.org>
17448
17449 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
17450 special-mode-map.
17451
17452 2011-11-28 Chong Yidong <cyd@gnu.org>
17453
17454 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
17455
17456 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
17457
17458 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
17459 gdb-get-source-file-list on gdb-create-source-file-list.
17460
17461 2011-11-26 Eli Zaretskii <eliz@gnu.org>
17462
17463 * whitespace.el (whitespace-newline): Use a different foreground
17464 color for 16-color light-background displays.
17465
17466 2011-11-24 Chong Yidong <cyd@gnu.org>
17467
17468 * window.el (display-buffer--special-action): Doc fix.
17469
17470 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
17471
17472 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
17473 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
17474 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
17475 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
17476 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
17477 (avl-tree-stack-first):
17478 * emacs-lisp/cconv.el (cconv--analyse-use):
17479 * net/gnutls.el (gnutls-negotiate): Fix typos.
17480
17481 2011-11-24 Glenn Morris <rgm@gnu.org>
17482
17483 * lpr.el (lpr-windows-system, lpr-lp-system):
17484 * mail/binhex.el (binhex-begin-line):
17485 * progmodes/grep.el (grep-history, grep-find-history):
17486 * textmodes/flyspell.el:
17487 * vc/pcvs-defs.el (cvs-global-menu):
17488 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
17489 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
17490 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
17491
17492 * net/tls.el: Fix case of "GnuTLS".
17493
17494 * paths.el (rmail-file-name): Format doc-string for make-docfile.
17495
17496 * version.el (emacs-build-system): Give it a doc-string.
17497
17498 2011-11-24 Juri Linkov <juri@jurta.org>
17499
17500 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
17501
17502 2011-11-24 Glenn Morris <rgm@gnu.org>
17503
17504 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
17505 if called on a non-mime message just toggle the headers. (Bug#8006)
17506
17507 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
17508
17509 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
17510 (allout-lead-with-comment-string, allout-structure-deleted-hook)
17511 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
17512 (allout-rebullet-heading, allout-open-sibtopic)
17513 (allout-toggle-current-subtree-encryption)
17514 (allout-toggle-subtree-encryption, allout-encrypt-string)
17515 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
17516 (allout-distinctive-bullets-string, allout-auto-activation):
17517 * window.el (window-normalize-buffer-to-display):
17518 * progmodes/verilog-mode.el (verilog-batch-indent):
17519 * textmodes/bibtex.el (bibtex-field-braces-opt)
17520 (bibtex-field-strings-opt):
17521 * vc/cvs-status.el (cvs-tree-merge):
17522 Fix typos.
17523
17524 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
17525
17526 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
17527 `non-essential' to t, in order to avoid remote connections.
17528
17529 2011-11-23 Eli Zaretskii <eliz@gnu.org>
17530
17531 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
17532 On MS-DOS and MS-Windows, compare with loaddefs.el
17533 case-insensitively.
17534
17535 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
17536
17537 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
17538
17539 2011-11-23 Glenn Morris <rgm@gnu.org>
17540
17541 * paths.el (rmail-file-name): Reformat the doc-string so that it
17542 is picked up.
17543
17544 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
17545 (rmail-auto-file): Ignore case in the "special" field names,
17546 as mail-fetch-field does for all others.
17547
17548 * mail/rmail.el (rmail-forward):
17549 * mail/rmailkwd.el (rmail-set-label):
17550 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
17551 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
17552
17553 * mail/rmail.el (rmail-current-message): Doc fix.
17554
17555 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
17556
17557 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
17558
17559 * server.el (server-eval-and-print): Allow C-g (bug#6585).
17560
17561 2011-11-22 Glenn Morris <rgm@gnu.org>
17562
17563 * mail/rmailmm.el (test-rmail-mime-handler)
17564 (test-rmail-mime-bulk-handler)
17565 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
17566
17567 2011-11-21 Juri Linkov <juri@jurta.org>
17568
17569 * calc/calc.el (calc-read-key-sequence):
17570 Let-bind `input-method-function' to nil. (Bug#10018)
17571
17572 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
17573
17574 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
17575 Tell the caller that the next line needs recomputation, even
17576 though it doesn't start a sexp (bug#10094).
17577
17578 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
17579
17580 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
17581
17582 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
17583
17584 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
17585 Use force-same-window.
17586
17587 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
17588
17589 * descr-text.el (describe-char-unicode-data):
17590 * json.el (json-string-escape):
17591 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
17592 (Footnote-unicode, Footnote-style-p):
17593 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
17594
17595 2011-11-20 Chong Yidong <cyd@gnu.org>
17596
17597 * window.el (replace-buffer-in-windows): Restore interactive spec.
17598
17599 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
17600
17601 * electric.el (electric-indent-mode): Fix last change (too optimistic).
17602
17603 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
17604 (byte-compile-global-not-obsolete-vars): New var.
17605 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
17606 Use it.
17607 (byte-compile-warn-obsolete): Align text with the one in *Help*.
17608
17609 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
17610
17611 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
17612 * progmodes/pascal.el (electric-pascal-equal):
17613 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
17614 * xml.el (xml-substitute-special): Fix typos.
17615
17616 2011-11-20 Glenn Morris <rgm@gnu.org>
17617
17618 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
17619 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
17620 Doc fixes.
17621 (rmail-decode-mime-charset): Mark as obsolete.
17622
17623 * mail/rmailsum.el (rmail-message-regexp-p-1):
17624 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
17625 Before using mime functions, check they are set. (Bug#10077)
17626
17627 2011-11-19 Juri Linkov <juri@jurta.org>
17628
17629 * info.el (Info-finder-find-node): Use `package--builtins' instead
17630 of `package-alist'. Use node names formed by the pattern "Keyword "
17631 and the keyword name.
17632
17633 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
17634
17635 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
17636
17637 2011-11-19 Juri Linkov <juri@jurta.org>
17638
17639 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
17640 that calls `revert-buffer' on all Info buffers. (Bug#9915)
17641 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
17642 `old-history', `old-history-forward'. Add let-binding
17643 `window-selected'. Remove calls to `kill-buffer',
17644 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
17645 before calling `Info-find-node', so `Info-find-node-2' will reread
17646 the Info file. Restore window positions only when `window-selected'
17647 is non-nil.
17648
17649 2011-11-19 Juri Linkov <juri@jurta.org>
17650
17651 * isearch.el (isearch-lazy-highlight-new-loop):
17652 Remove condition `(not isearch-error)'. (Bug#9918)
17653
17654 * misearch.el (multi-isearch-search-fun): Add condition
17655 `(not bound)' to ignore lazy-highlighting search.
17656 Add the search-failed message "end of multi" when the end of
17657 multi-sequence is reached. Uncapitalize the search-failed
17658 message "Repeat for next buffer".
17659
17660 * info.el (Info-search): Add the search-failed message
17661 "end of the manual" when the end of the manual is reached
17662 in Isearch mode.
17663
17664 2011-11-19 Juri Linkov <juri@jurta.org>
17665
17666 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
17667 Use non-destructive `remove' instead of `delete' because
17668 `Info-history-list' stored to `Info-isearch-initial-history-list' in
17669 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
17670
17671 2011-11-19 Juri Linkov <juri@jurta.org>
17672
17673 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
17674 to nil instead of binding `search-ring' and `regexp-search-ring'.
17675 (Bug#9185)
17676
17677 2011-11-19 Eli Zaretskii <eliz@gnu.org>
17678
17679 * simple.el (line-move): Force movement by logical lines for any
17680 hscrolled window, not only when auto-hscroll-mode is on.
17681 (line-move-visual): Update doc string to that effect. (Bug#10076)
17682
17683 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
17684
17685 * language/european.el (macintosh): Define as alias for mac-roman.
17686
17687 2011-11-19 Eli Zaretskii <eliz@gnu.org>
17688
17689 * mail/rmailmm.el (rmail-mime-display-header)
17690 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
17691 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
17692 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
17693 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
17694 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
17695 of a raw aref.
17696 (rmail-mime-entity-segment): To get past the tagline, move forward
17697 2 more lines, to account for the 2 empty lines that precede and
17698 follow the line with the buttons.
17699 (rmail-mime-update-tagline): Move one more line, to get past the
17700 empty line that follows the buttons in the tagline. (Bug#9520)
17701
17702 2011-11-19 Martin Rudalics <rudalics@gmx.at>
17703
17704 * window.el (window-max-delta-1, window-min-delta-1)
17705 (window-min-size-1, window-state-get-1, window-state-put-1)
17706 (window-state-put-2): Use "window--" prefix.
17707
17708 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
17709
17710 * emacs-lisp/smie.el: Improve warnings and conflict detection.
17711 (smie-warning-count): New var.
17712 (smie-set-prec2tab): Use it.
17713 (smie-bnf->prec2): Improve warnings. Add docstring.
17714 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
17715 (smie-bnf--set-class): New function.
17716 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
17717 corner case.
17718
17719 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
17720 (compilation-error-properties, compilation-move-to-column):
17721 Handle compilation-first-column while in the target buffer.
17722
17723 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
17724 Don't hardcode point-min==1.
17725
17726 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
17727 (eshell-rewrite-for-command): Remove workaround.
17728 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
17729 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
17730 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
17731
17732 * files-x.el (modify-file-local-variable): Obey commenting conventions.
17733
17734 2011-11-17 Glenn Morris <rgm@gnu.org>
17735
17736 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
17737 Ignore buffer-local generated-autoload-file if it is the same
17738 as the global value. (Bug#10049)
17739
17740 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
17741
17742 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
17743 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
17744 (reftex-toc-previous-heading, reftex-toc-max-level)
17745 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
17746 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
17747 (reftex-toc-do-promote, reftex-toc-promote-prepare)
17748 (reftex-toc-promote-action, reftex-toc-extract-section-number)
17749 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
17750 (reftex-toc-rename-label, reftex-toc-visit-location)
17751 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
17752 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
17753 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
17754 leaving "*toc*" only for references to the buffer.
17755
17756 2011-11-17 Martin Rudalics <rudalics@gmx.at>
17757
17758 * window.el (window-resize, delete-window, split-window):
17759 Replace window-splits by window-combination-resize.
17760 * cus-start.el (window-splits): Replace by window-combination-resize.
17761
17762 2011-11-17 Glenn Morris <rgm@gnu.org>
17763
17764 * progmodes/sh-script.el (sh-font-lock-keywords-var):
17765 Make bash entry derive from sh entry, not shell entry.
17766
17767 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
17768
17769 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
17770 local file name.
17771
17772 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
17773
17774 * menu-bar.el (menu-bar-file-menu):
17775 * printing.el (pr-ps-utility):
17776 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
17777 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
17778 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
17779 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
17780 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
17781 (icalendar--convert-cyclic-to-ical)
17782 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
17783 (icalendar--convert-ical-to-diary)
17784 (icalendar--convert-recurring-to-diary)
17785 (icalendar--convert-non-recurring-all-day-to-diary)
17786 (icalendar-import-format-sample):
17787 * progmodes/idlw-shell.el (idlwave-shell-mode):
17788 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
17789 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
17790 (vhdl-ps-print-init): Fix typos.
17791
17792 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
17793
17794 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
17795 FSF and collapse date sequence, obscure author/maintainer email address
17796 better, remove extra version line, track relocation of author's webpage.
17797
17798 * progmodes/python.el (python-pdbtrack-input-prompt)
17799 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
17800 regular python pdb prompts. Adjustments shamelessly taken exactly as
17801 suggested in EmacsWiki page (tiny change):
17802 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
17803
17804 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
17805
17806 * expand.el (expand-pos, expand-index, expand-point):
17807 Remove redundant info from docstring.
17808 (expand-add-abbrevs): Doc fix.
17809 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
17810 (expand-sample-perl-mode-expand-list): Fix typos.
17811
17812 * net/dbus.el (dbus-event-member-name):
17813 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
17814 * term/pc-win.el (msdos-create-frame-with-faces):
17815 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
17816
17817 2011-11-16 Martin Rudalics <rudalics@gmx.at>
17818
17819 * window.el (split-window, window-state-get-1)
17820 (window-state-put-1, window-state-put-2): Rename occurrences of
17821 window-nest to window-combination-limit.
17822 * cus-start.el (window-nest): Rename to window-combination-limit.
17823
17824 2011-11-16 Chong Yidong <cyd@gnu.org>
17825
17826 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
17827 regexp (Bug#10033).
17828
17829 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
17830
17831 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
17832 `completing-read' will remove *Completions* and will preserve
17833 current-buffer for us.
17834 (tmm-add-prompt): Users of *Completions* will always (re)set its
17835 major mode.
17836 (tmm-old-comp-map): Remove.
17837
17838 2011-11-16 Glenn Morris <rgm@gnu.org>
17839
17840 * mail/rmailedit.el: Require rmailmm when compiling.
17841 (rmail-old-mime-state): New declaration.
17842 (rmail-edit-current-message): If editing a mime message,
17843 edit the "raw" message from the mbox buffer.
17844 (rmail-cease-edit): Handle mime messages. (Bug#9840)
17845
17846 2011-11-15 Glenn Morris <rgm@gnu.org>
17847
17848 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
17849 which wasn't being used. Add optional arg to force given state.
17850 (rmail-mime): Add optional arg to force given state.
17851
17852 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
17853
17854 * allout.el (allout-encryption-plaintext-sanitization-regexps):
17855 * frame.el (display-mm-dimensions-alist):
17856 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
17857 (outline-move-subtree-down):
17858 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
17859 (newsticker--treeview-do-get-node):
17860 * net/quickurl.el (quickurl-list-buffer-name):
17861 * progmodes/dcl-mode.el (dcl-mode):
17862 * progmodes/gdb-mi.el (gdb-mapcar*):
17863 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
17864
17865 2011-11-15 Glenn Morris <rgm@gnu.org>
17866
17867 * mail/rmail.el (rmail-file-coding-system): It's only ever used
17868 in a boolean sense, so just make it a boolean, and fix the doc.
17869 (rmail-show-mime-function, rmail-mime-feature)
17870 (rmail-require-mime-maybe): Doc fixes.
17871 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
17872
17873 * mail/rmailmm.el (rmail-show-mime): Doc fix.
17874
17875 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
17876
17877 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
17878 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
17879 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
17880 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
17881
17882 2011-11-15 Glenn Morris <rgm@gnu.org>
17883
17884 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
17885 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
17886 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
17887 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
17888 (rmail-mime, rmail-show-mime): Doc fixes.
17889
17890 * term/ns-win.el (mode-line-frame-identification):
17891 Leave it alone. (Bug#10051)
17892
17893 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
17894
17895 * mail/rmailout.el (rmail-output-to-rmail-buffer):
17896 Handle empty buffers. (Bug#9978)
17897
17898 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
17899
17900 * international/mule.el (define-charset):
17901 * mail/rmailmm.el (rmail-mime-find-header-encoding):
17902 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
17903 * progmodes/verilog-mode.el (verilog-backward-token):
17904 * textmodes/ispell.el (lookup-words):
17905 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
17906
17907 2011-11-14 Glenn Morris <rgm@gnu.org>
17908
17909 * progmodes/executable.el
17910 (executable-make-buffer-file-executable-if-script-p):
17911 Handle file-modes returning nil.
17912
17913 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
17914 message - not necessary, and causes problems. (Bug#9831)
17915
17916 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
17917
17918 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
17919
17920 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
17921 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
17922 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
17923
17924 2011-11-12 Martin Rudalics <rudalics@gmx.at>
17925
17926 * window.el (window-resize, delete-window): Use window-splits
17927 variable instead of function.
17928 (window-state-get-1, window-state-put-2, window-state-put):
17929 Don't deal with windows' splits status.
17930
17931 2011-11-12 Glenn Morris <rgm@gnu.org>
17932
17933 * apropos.el (apropos-do-all, apropos-library, apropos-value)
17934 (apropos-documentation): Doc fixes.
17935
17936 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
17937
17938 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
17939 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
17940
17941 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
17942
17943 * electric.el (electric-indent-post-self-insert-function): Make it
17944 possible for a char to only indent in some circumstances.
17945 (electric-indent-mode): Simplify.
17946
17947 2011-11-11 Martin Rudalics <rudalics@gmx.at>
17948
17949 * window.el (windows-with-parameter): Remove unused function.
17950 (windows-at-side): Rename to window-at-side-list.
17951 (window-check, window-atom-check, window-atom-check-1)
17952 (window-side-check, window-size-ignore, window-size-fixed-1)
17953 (window-in-direction-2): Prefix with "window--".
17954 (window-tree-1): Rename to window--subtree, fix doc-string.
17955
17956 2011-11-11 Glenn Morris <rgm@gnu.org>
17957
17958 * subr.el (eval-after-load): If FILE is already loaded,
17959 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
17960
17961 2011-11-10 Glenn Morris <rgm@gnu.org>
17962
17963 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
17964 Call svn via vc-svn-command rather than vc-do-command.
17965 (vc-svn-command): Add --non-interactive. (Bug#9993)
17966 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
17967
17968 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
17969 Add toggle-read-only. (Bug#7292)
17970 * files.el (toggle-read-only): Mention that it should only
17971 be used interactively. (Bug#10006)
17972
17973 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
17974
17975 * progmodes/compile.el (compilation-error-regexp-alist-alist):
17976 Adjust regexp for OCaml warnings.
17977
17978 * electric.el (electric-pair-post-self-insert-function): Let user
17979 turn it off buffer-locally (bug#9932).
17980
17981 * progmodes/python.el (python-beginning-of-statement):
17982 Rewrite (bug#2703).
17983
17984 * progmodes/compile.el: Better handle TABs (bug#9749).
17985 (compilation-internal-error-properties)
17986 (compilation-next-error-function): Obey the target buffer's
17987 compilation-error-screen-columns.
17988
17989 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
17990
17991 * progmodes/meta-mode.el: Remove obsolete comments.
17992 (meta-right-comment-regexp, meta-ignore-comment-regexp):
17993 Fix typos in docstrings.
17994
17995 2011-11-09 Martin Rudalics <rudalics@gmx.at>
17996
17997 * window.el (window-size-fixed-p): Rewrite doc-string.
17998 (window-resizable-p): Rename to window--resizable-p. Update callers.
17999 (window--resizable): New function. Make all callers of
18000 window-resizable call window--resizable instead.
18001 (window-resizable): Rewrite in terms of window--resizable.
18002
18003 2011-11-08 Glenn Morris <rgm@gnu.org>
18004
18005 * progmodes/delphi.el (delphi-mode-syntax-table):
18006 Let define-derived-mode define a proper syntax table. (Bug#9994)
18007
18008 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
18009
18010 * window.el: Stay away from defsubst.
18011 (window-list-no-nils): Remove.
18012 (window-state-get-1, window-state-get): Use backquote instead.
18013
18014 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18015
18016 * emacs-lisp/find-func.el (find-function-read):
18017 Fix incorrect use of default argument in `completing-read'.
18018
18019 2011-11-08 Martin Rudalics <rudalics@gmx.at>
18020
18021 * window.el (display-buffer-function, special-display-function):
18022 Mention display-buffer-record-window but do not mention
18023 help-setup parameter in doc-strings.
18024 (window-min-delta): Fix doc-string typo.
18025
18026 2011-11-08 Chong Yidong <cyd@gnu.org>
18027
18028 * window.el (window-total-height, window-total-width): Doc fix.
18029 (window-body-size): Move from C.
18030 (window-body-height, window-body-width): Move to C.
18031
18032 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
18033
18034 * window.el: Make special-display like display-buffer-alist (bug#9532).
18035 (display-buffer--special-action): New function, morphed
18036 from display-buffer--special.
18037 (display-buffer): Use it to handle special-display-buffers at higher
18038 priority (just after display-buffer-alist).
18039 (display-buffer-fallback-action, display-buffer--other-frame-action)
18040 (pop-to-buffer-same-window): Remove display-buffer--special.
18041
18042 2011-11-07 Glenn Morris <rgm@gnu.org>
18043
18044 * calendar/cal-menu.el (cal-menu-set-date-title):
18045 Do nothing if not in a calendar. (Bug#9976)
18046
18047 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
18048
18049 * files.el (find-file): Always use selected-window.
18050
18051 2011-11-07 Martin Rudalics <rudalics@gmx.at>
18052
18053 * window.el (window-combinations): Make WINDOW argument
18054 mandatory. Rewrite doc-string.
18055 (walk-window-subtree, window-atom-check, window-min-delta)
18056 (window-max-delta, window--resize-this-window)
18057 (window--resize-root-window-vertically, window-tree)
18058 (balance-windows, window-state-put): Rewrite doc-strings as to
18059 not mention the term "subwindow".
18060 (window--resize-subwindows-skip-p): Rename to
18061 window--resize-child-windows-skip-p.
18062 (window--resize-subwindows-normal): Rename to
18063 window--resize-child-windows-normal.
18064 (window--resize-subwindows): Rename to
18065 window--resize-child-windows.
18066 (window-or-subwindow-p): Rename to window--in-subtree-p.
18067
18068 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
18069
18070 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
18071 Ensure that mbox format messages end in two newlines (Bug#9974).
18072
18073 2011-11-06 Chong Yidong <cyd@gnu.org>
18074
18075 * window.el (window-combination-p): Function deleted; its
18076 side-effect is not used in any existing code.
18077 (window-combinations, window-combined-p): Call window-*-child
18078 directly.
18079
18080 2011-11-05 Chong Yidong <cyd@gnu.org>
18081
18082 * window.el (window-valid-p): Rename from window-any-p.
18083 (window-size-ignore, window-state-get): Callers changed.
18084 (window-normalize-window): Rename from window-normalize-any-window.
18085 New arg LIVE-ONLY, replacing window-normalize-live-window.
18086 (window-normalize-live-window): Delete.
18087 (window-combination-p, window-combined-p, window-combinations)
18088 (walk-window-subtree, window-atom-root, window-min-size)
18089 (window-sizable, window-sizable-p, window-size-fixed-p)
18090 (window-min-delta, window-max-delta, window-resizable)
18091 (window-resizable-p, window-full-height-p, window-full-width-p)
18092 (window-current-scroll-bars, window-point-1, set-window-point-1)
18093 (window-at-side-p, window-in-direction, window-resize)
18094 (adjust-window-trailing-edge, maximize-window, minimize-window)
18095 (window-deletable-p, delete-window, delete-other-windows)
18096 (record-window-buffer, unrecord-window-buffer)
18097 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
18098 (quit-window, split-window, window-state-put)
18099 (set-window-text-height, fit-window-to-buffer)
18100 (shrink-window-if-larger-than-buffer): Callers changed.
18101
18102 2011-11-04 Eli Zaretskii <eliz@gnu.org>
18103
18104 * mail/rmail.el (rmail-simplified-subject): Decode subject with
18105 rfc2047-decode-string.
18106 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
18107 warnings.
18108
18109 * window.el (window-body-height, window-body-width): Mention in
18110 the doc string that the return values are in frame's canonical
18111 units. (Bug#9949)
18112
18113 2011-11-03 Alan Mackenzie <acm@muc.de>
18114
18115 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
18116 change in cc-engine.el.
18117
18118 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
18119
18120 * window.el (switch-to-buffer): Use `force-same-window' interactively.
18121
18122 2011-11-02 Martin Rudalics <rudalics@gmx.at>
18123
18124 * window.el (quit-window): Call unrecord-window-buffer after
18125 showing another buffer in the window. (Bug#9937)
18126 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
18127
18128 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
18129
18130 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
18131 Accept status with more than 9 shelves. (Bug#9935)
18132 Reported by Colin D Bennett <colin@gibibit.com>.
18133
18134 2011-11-01 Martin Rudalics <rudalics@gmx.at>
18135
18136 * help.el (with-help-window): Don't reference
18137 temp-buffer-show-specifiers in doc-string.
18138
18139 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
18140
18141 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
18142 menu-item.
18143
18144 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
18145
18146 * whitespace.el: New version 13.2.2.
18147 (whitespace-newline-mode): Disable properly. Reported by Sarah
18148 <EmacsWiki>.
18149
18150 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
18151
18152 * net/newst-treeview.el: Remove "Time-stamp".
18153 (newsticker--group-manage-orphan-feeds): Do not call
18154 newsticker--treeview-tree-update.
18155 (newsticker-treeview-update, newsticker-treeview):
18156 Call newsticker--treeview-tree-update if necessary.
18157
18158 2011-10-30 Martin Rudalics <rudalics@gmx.at>
18159
18160 * window.el (window-iso-combination-p, window-iso-combined-p)
18161 (window-iso-combinations): Remove "iso-" infix.
18162 Suggested by Chong Yidong.
18163 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
18164 (window-max-delta-1, window-resize, window--resize-siblings)
18165 (window--resize-this-window, adjust-window-trailing-edge)
18166 (split-window, balance-windows-1)
18167 (shrink-window-if-larger-than-buffer):
18168 * calendar/calendar.el (calendar-generate-window):
18169 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
18170
18171 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
18172
18173 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
18174 in place (bug#9907).
18175 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
18176 (eshell-rewrite-if-command, eshell-rewrite-for-command)
18177 (eshell-structure-basic-command, eshell-rewrite-while-command)
18178 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
18179 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
18180 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
18181 (eshell-do-pipelines-synchronously, eshell-eval-command):
18182 Use backquotes and prefer setq to set.
18183 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
18184 (eshell-macrop): Use functionp.
18185 (eshell-do-eval): Handle multiple expressions in `while' body.
18186
18187 2011-10-30 Chong Yidong <cyd@gnu.org>
18188
18189 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
18190 instead of set-mark (Bug#9810).
18191
18192 2011-10-30 Chong Yidong <cyd@gnu.org>
18193
18194 * window.el (split-window-below, split-window-right): Rename from
18195 split-window-above-each-other and split-window-side-by-side
18196 respectively. All callers changed.
18197 (split-window-sensibly, split-window-sensibly): Use them.
18198 (split-window-keep-point): Doc fix.
18199
18200 * isearch.el: Add isearch-scroll property to split-window-below
18201 and split-window-right.
18202
18203 * follow.el (follow-mode):
18204 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
18205 * progmodes/ada-xref.el (ada-gdb-application):
18206 * emulation/vip.el (vip-buffer-in-two-windows):
18207 * image-dired.el (image-dired-dired-with-window-configuration):
18208 * dired-x.el (dired-do-find-marked-files):
18209 * dired.el (dired-pop-to-buffer):
18210 * bs.el (bs--show-with-configuration):
18211 * vc/emerge.el (emerge-setup-windows):
18212 * textmodes/two-column.el (2C-two-columns):
18213 * textmodes/reftex-toc.el (reftex-toc):
18214 * progmodes/gdb-mi.el (gdb-setup-windows):
18215 * progmodes/fortran.el (fortran-window-create):
18216 * net/newst-treeview.el (newsticker--treeview-window-init):
18217 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
18218 * emulation/tpu-edt.el (tpu-gold-map):
18219 * emulation/crisp.el (crisp-mode-map):
18220 * calendar/calendar.el (calendar-basic-setup): Callers changed.
18221
18222 2011-10-29 Chong Yidong <cyd@gnu.org>
18223
18224 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
18225
18226 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
18227
18228 * textmodes/flyspell.el (flyspell-word): Fix char offset for
18229 forged Ispell output (Bug#7904).
18230
18231 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
18232
18233 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
18234
18235 * doc-view.el: Avoid ugly errors about not finding nil.
18236 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
18237 (doc-view-dvipdf-program, doc-view-unoconv-program)
18238 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
18239 Avoid nil or absolute file name as default value.
18240 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
18241
18242 2011-10-28 Alan Mackenzie <acm@muc.de>
18243
18244 * progmodes/cc-defs.el (c-version): -> 5.32.2.
18245
18246 2011-10-28 Alan Mackenzie <acm@muc.de>
18247
18248 Amend the handling of c-beginning/end-of-defun in nested declaration
18249 scopes.
18250
18251 * progmodes/cc-vars.el (c-defun-tactic): Move here from
18252 cc-langs.el. Change it to a defcustom.
18253
18254 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
18255 cc-vars.el.
18256
18257 * progmodes/cc-engine.el (c-beginning-of-statement-1):
18258 Prevent "class foo : bar" being spuriously recognized as a label.
18259
18260 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
18261 Add parameter `inclusive' (to include enclosing braces in the region).
18262 (c-widen-to-enclosing-decl-scope): New function.
18263 (c-while-widening-to-decl-block): New macro.
18264 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
18265 outward for defun boundaries, and correspondingly change symbol
18266 `respect-enclosure' to `go-outward'.
18267 (c-declaration-limits): Change algorithm to report only the "innermost"
18268 defun's boundaries.
18269
18270 2011-10-28 Deniz Dogan <deniz@dogan.se>
18271
18272 * net/rcirc.el (rcirc-mode): Use hard newlines.
18273
18274 2011-10-28 Alan Mackenzie <acm@muc.de>
18275
18276 Amend to indent and fontify macros "which include their own semicolon"
18277 correctly, using the "virtual semicolon" mechanism.
18278
18279 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
18280
18281 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
18282 Recode to scan one line at a time rather than having \n and \r
18283 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
18284 (c-forward-label): Amend for virtual semicolons.
18285 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
18286
18287 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
18288 of the new C macros.
18289
18290 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
18291 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
18292 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
18293 (c-opt-cpp-macro-define): Make into a full language variable.
18294 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
18295 AWK Mode (including \n, \r) removed, no longer needed.
18296
18297 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
18298 Invoke c-make-macro-with-semi-re.
18299
18300 * progmodes/cc-vars.el (c-macro-with-semi-re):
18301 (c-macro-names-with-semicolon): New variables.
18302 (c-make-macro-with-semi-re): New function.
18303
18304 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
18305
18306 * vc/log-edit.el: Fill empty field rather than adding new one.
18307 (log-edit-add-field): New function.
18308 (log-edit-insert-changelog): Use it.
18309
18310 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
18311
18312 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
18313
18314 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
18315
18316 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
18317 (gdb--check-interpreter): New function.
18318 (gdb): Use it.
18319
18320 2011-10-27 Glenn Morris <rgm@gnu.org>
18321
18322 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
18323 (least-positive-float, least-negative-float)
18324 (least-positive-normalized-float, least-negative-normalized-float)
18325 (float-epsilon, float-negative-epsilon):
18326 Remove unnecessary declarations.
18327
18328 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
18329 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
18330 (least-positive-float, least-negative-float)
18331 (least-positive-normalized-float, least-negative-normalized-float)
18332 (float-epsilon, float-negative-epsilon): Add doc-strings,
18333 based on those in cl.texi.
18334
18335 * files.el (set-visited-file-name): If the major-mode changed,
18336 reload the local variables. (Bug#9796)
18337
18338 2011-10-27 Chong Yidong <cyd@gnu.org>
18339
18340 * subr.el (change-major-mode-after-body-hook): New hook.
18341 (run-mode-hooks): Run it.
18342
18343 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
18344 Use change-major-mode-before-body-hook.
18345
18346 * simple.el (fundamental-mode):
18347 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
18348 change introducing fundamental-mode-hook.
18349
18350 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
18351
18352 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
18353
18354 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
18355
18356 * ido.el (ido-file-name-all-completions-1): Do not require
18357 tramp.el explicitly. (Bug#7583)
18358
18359 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
18360
18361 * progmodes/octave-mod.el:
18362 * progmodes/octave-inf.el: Update maintainer.
18363
18364 2011-10-26 Chong Yidong <cyd@gnu.org>
18365
18366 * subr.el (with-wrapper-hook): Rewrite doc.
18367
18368 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
18369
18370 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
18371 filenames "/method:foo:". (Bug#9793)
18372
18373 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
18374
18375 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
18376 (bug#9865).
18377
18378 2011-10-24 Glenn Morris <rgm@gnu.org>
18379
18380 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
18381
18382 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
18383
18384 * notifications.el: Add the requirement of a running D-Bus session
18385 bus to the Commentary.
18386
18387 2011-10-24 Juri Linkov <juri@jurta.org>
18388
18389 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
18390 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
18391 (Bug#9364)
18392
18393 2011-10-24 Juri Linkov <juri@jurta.org>
18394
18395 * info.el (Info-following-node-name-re): Add newline to the list
18396 of allowed characters for leading space. (Bug#9824)
18397
18398 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
18399
18400 * progmodes/octave-inf.el (inferior-octave-mode-map):
18401 Fix C-c C-h binding.
18402 * progmodes/octave-mod.el (octave-help): Remove.
18403
18404 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
18405
18406 Sync with Tramp 2.2.3.
18407
18408 * net/tramp-cache.el (top): Pacify byte-compiler using
18409 `init-file-user' and `site-run-file'.
18410
18411 * net/trampver.el: Update release number.
18412
18413 2011-10-23 Chong Yidong <cyd@gnu.org>
18414
18415 * files.el (toggle-read-only): Remove obsolete comment about
18416 version control.
18417
18418 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
18419 for toggle-read-only. Note that this hasn't called vc-next-action
18420 since 2008-05-02, though it wasn't documented at the time.
18421
18422 * vc/ediff-init.el (ediff-toggle-read-only-function):
18423 Use toggle-read-only.
18424
18425 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
18426
18427 Fix bug #9560, sporadic wrong indentation; improve instrumentation
18428 of c-parse-state.
18429
18430 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
18431 correct faulty logical expression.
18432 (c-parse-state-state, c-record-parse-state-state):
18433 (c-replay-parse-state-state): New defvar/defuns.
18434 (c-debug-parse-state): Use new functions.
18435
18436 2011-10-22 Martin Rudalics <rudalics@gmx.at>
18437
18438 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
18439 last fix. Use window-in-direction correctly.
18440
18441 2011-10-21 Chong Yidong <cyd@gnu.org>
18442
18443 * progmodes/idlwave.el (idlwave-mode):
18444 * progmodes/vera-mode.el (vera-mode): No need to set
18445 require-final-newline; that's done in prog-mode.
18446 Suggested by Stefan Monnier.
18447
18448 2011-10-21 Martin Rudalics <rudalics@gmx.at>
18449
18450 * mouse.el (mouse-drag-window-above)
18451 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
18452 (mouse-drag-mode-line-1, mouse-drag-header-line)
18453 (mouse-drag-vertical-line-rightward-window): Remove.
18454 (mouse-drag-line): New function.
18455 (mouse-drag-mode-line, mouse-drag-header-line)
18456 (mouse-drag-vertical-line): Call mouse-drag-line.
18457 * window.el (window-at-side-p, windows-at-side): New functions.
18458
18459 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
18460
18461 * tar-mode.el (tar-grind-file-mode):
18462 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
18463
18464 2011-10-21 Chong Yidong <cyd@gnu.org>
18465
18466 * progmodes/idlwave.el (idlwave-mode):
18467 * progmodes/vera-mode.el (vera-mode):
18468 Use mode-require-final-newline.
18469
18470 2011-10-20 Glenn Morris <rgm@gnu.org>
18471
18472 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
18473
18474 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
18475
18476 * emulation/cua-base.el (cua-set-mark): Fix case of string.
18477
18478 2011-10-20 Chong Yidong <cyd@gnu.org>
18479
18480 * emulation/cua-base.el (cua-mode):
18481 * mail/footnote.el (footnote-mode):
18482 * mail/mailabbrev.el (mail-abbrevs-mode):
18483 * net/xesam.el (xesam-minor-mode):
18484 * progmodes/bug-reference.el (bug-reference-mode):
18485 * progmodes/cap-words.el (capitalized-words-mode):
18486 * progmodes/compile.el (compilation-minor-mode)
18487 (compilation-shell-minor-mode):
18488 * progmodes/gud.el (gud-tooltip-mode):
18489 * progmodes/hideif.el (hide-ifdef-mode):
18490 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
18491 * progmodes/subword.el (subword-mode):
18492 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
18493 * progmodes/which-func.el (which-function-mode):
18494 * term/tvi970.el (tvi970-set-keypad-mode):
18495 * term/vt100.el (vt100-wide-mode):
18496 * textmodes/flyspell.el (flyspell-mode):
18497 * textmodes/ispell.el (ispell-minor-mode):
18498 * textmodes/nroff-mode.el (nroff-electric-mode):
18499 * textmodes/paragraphs.el (use-hard-newlines):
18500 * textmodes/refill.el (refill-mode):
18501 * textmodes/reftex.el (reftex-mode):
18502 * textmodes/rst.el (rst-minor-mode):
18503 * textmodes/sgml-mode.el (html-autoview-mode)
18504 (sgml-electric-tag-pair-mode):
18505 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
18506 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
18507 * emulation/crisp.el (crisp-mode):
18508 * emacs-lisp/eldoc.el (eldoc-mode):
18509 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
18510 minor mode behavior.
18511
18512 2011-10-19 Juri Linkov <juri@jurta.org>
18513
18514 * descr-text.el (describe-char): Add #x2010 and #x2011 to
18515 the list of hard-coded chars with escape-glyph face.
18516
18517 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
18518
18519 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
18520
18521 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
18522
18523 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
18524 running process.
18525
18526 2011-10-19 Glenn Morris <rgm@gnu.org>
18527
18528 * vc/vc-bzr.el (vc-bzr-after-dir-status):
18529 Ignore ignored files. (Bug#9726)
18530
18531 2011-10-19 Chong Yidong <cyd@gnu.org>
18532
18533 Doc fix for minor modes, stating that an omitted argument enables
18534 the mode unconditionally when called from Lisp.
18535
18536 * abbrev.el (abbrev-mode):
18537 * allout.el (allout-mode):
18538 * autoinsert.el (auto-insert-mode):
18539 * autoarg.el (autoarg-mode, autoarg-kp-mode):
18540 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
18541 (global-auto-revert-mode):
18542 * battery.el (display-battery-mode):
18543 * composite.el (global-auto-composition-mode)
18544 (auto-composition-mode):
18545 * delsel.el (delete-selection-mode):
18546 * desktop.el (desktop-save-mode):
18547 * dired-x.el (dired-omit-mode):
18548 * dirtrack.el (dirtrack-mode):
18549 * doc-view.el (doc-view-minor-mode):
18550 * double.el (double-mode):
18551 * electric.el (electric-indent-mode, electric-pair-mode):
18552 * emacs-lock.el (emacs-lock-mode):
18553 * epa-hook.el (auto-encryption-mode):
18554 * follow.el (follow-mode):
18555 * font-core.el (font-lock-mode):
18556 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
18557 * help.el (temp-buffer-resize-mode):
18558 * hilit-chg.el (highlight-changes-mode)
18559 (highlight-changes-visible-mode):
18560 * hi-lock.el (hi-lock-mode):
18561 * hl-line.el (hl-line-mode, global-hl-line-mode):
18562 * icomplete.el (icomplete-mode):
18563 * ido.el (ido-everywhere):
18564 * image-file.el (auto-image-file-mode):
18565 * image-mode.el (image-minor-mode):
18566 * iswitchb.el (iswitchb-mode):
18567 * jka-cmpr-hook.el (auto-compression-mode):
18568 * linum.el (linum-mode):
18569 * longlines.el (longlines-mode):
18570 * master.el (master-mode):
18571 * mb-depth.el (minibuffer-depth-indicate-mode):
18572 * menu-bar.el (menu-bar-mode):
18573 * minibuf-eldef.el (minibuffer-electric-default-mode):
18574 * mouse-sel.el (mouse-sel-mode):
18575 * msb.el (msb-mode):
18576 * mwheel.el (mouse-wheel-mode):
18577 * outline.el (outline-minor-mode):
18578 * paren.el (show-paren-mode):
18579 * recentf.el (recentf-mode):
18580 * reveal.el (reveal-mode, global-reveal-mode):
18581 * rfn-eshadow.el (file-name-shadow-mode):
18582 * ruler-mode.el (ruler-mode):
18583 * savehist.el (savehist-mode):
18584 * scroll-all.el (scroll-all-mode):
18585 * scroll-bar.el (scroll-bar-mode):
18586 * server.el (server-mode):
18587 * shell.el (shell-dirtrack-mode):
18588 * simple.el (auto-fill-mode, transient-mark-mode)
18589 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
18590 (line-number-mode, column-number-mode, size-indication-mode)
18591 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
18592 * strokes.el (strokes-mode):
18593 * time.el (display-time-mode):
18594 * t-mouse.el (gpm-mouse-mode):
18595 * tool-bar.el (tool-bar-mode):
18596 * tooltip.el (tooltip-mode):
18597 * type-break.el (type-break-mode-line-message-mode)
18598 (type-break-query-mode):
18599 * view.el (view-mode):
18600 * whitespace.el (whitespace-mode, whitespace-newline-mode)
18601 (global-whitespace-mode, global-whitespace-newline-mode):
18602 * xt-mouse.el (xterm-mouse-mode): Doc fix.
18603
18604 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
18605 Fix autogenerated docstring.
18606
18607 2011-10-19 Juri Linkov <juri@jurta.org>
18608
18609 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
18610 by checking environment variables "DESKTOP_SESSION" and
18611 "XDG_CURRENT_DESKTOP". (Bug#9779)
18612
18613 2011-10-19 Juri Linkov <juri@jurta.org>
18614
18615 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
18616 (browse-url-chromium-program, browse-url-chromium-arguments):
18617 New defcustoms.
18618 (browse-url-default-browser): Check for `browse-url-chromium' and
18619 call `browse-url-chromium-program'.
18620 (browse-url-chromium): New command. (Bug#9779)
18621
18622 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
18623
18624 * facemenu.el (list-colors-duplicates): On Windows, detect more
18625 duplicates by assuming that only colors matching "^System" are
18626 special "system colors". (Bug#9722)
18627
18628 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
18629
18630 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
18631 to distinguish the author from the committer.
18632
18633 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
18634
18635 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
18636
18637 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
18638
18639 * international/mule.el (sgml-html-meta-auto-coding-function):
18640 Add support for detecting encoding in HTML5 specified only as
18641 <meta charset="UTF-8">. Implementation just makes http-equiv and
18642 content-type parts from HTML4 encoding string optional. (Bug#9716)
18643
18644 2011-10-18 Glenn Morris <rgm@gnu.org>
18645
18646 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
18647
18648 2011-10-18 Chong Yidong <cyd@gnu.org>
18649
18650 * faces.el (cursor): Doc fix.
18651
18652 2011-10-17 Chong Yidong <cyd@gnu.org>
18653
18654 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
18655
18656 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
18657
18658 * dirtrack.el (dirtrack): Support shell buffers with path
18659 prefixes, e.g. tramp-based remote shells. (Bug#9647)
18660
18661 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
18662
18663 * json.el: Bump version to 1.3 and note change in History.
18664 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
18665
18666 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
18667
18668 * comint.el (comint-insert-input, comint-send-input)
18669 (comint-get-old-input-default, comint-backward-matching-input)
18670 (comint-next-prompt): Use nil instead of `input' for field property of
18671 past user input (bug#114).
18672
18673 * minibuffer.el (completion--replace): Inherit surrounding properties
18674 (bug#114).
18675 (minibuffer-complete-and-exit): Use it.
18676
18677 * comint.el (comint--table-subvert): Quote the all-completions output
18678 (bug#9160).
18679
18680 2011-10-17 Martin Rudalics <rudalics@gmx.at>
18681
18682 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
18683
18684 * menu-bar.el (menu-bar-file-menu): Add entry for making new
18685 window on right of selected. (Bug#9350) Reword other window
18686 entries and separate them from frame entries.
18687
18688 2011-10-15 Glenn Morris <rgm@gnu.org>
18689
18690 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
18691 Doc fixes.
18692
18693 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
18694
18695 * net/network-stream.el (network-stream-open-starttls):
18696 Improve detection of failure due to lack of TLS support.
18697
18698 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
18699 putting the input text in front and in bold.
18700
18701 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
18702
18703 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
18704
18705 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
18706 empty buffer.
18707
18708 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
18709 unread-command-events rather than pushing yet-another event.
18710
18711 2011-10-14 Eli Zaretskii <eliz@gnu.org>
18712
18713 * mail/sendmail.el (sendmail-query-once): Improve the wording of
18714 the explanation of the possible choices. Make the options passed
18715 to completing-read shorter.
18716
18717 2011-10-13 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
18718
18719 * textmodes/flyspell.el (flyspell-large-region): Make sure
18720 extended character mode is used if defined (Bug#1339).
18721
18722 2011-10-13 Eli Zaretskii <eliz@gnu.org>
18723
18724 * simple.el (what-cursor-position): Fix the display of the
18725 character info for LRE, LRO, RLE, and RLO characters by appending
18726 an invisible PDF.
18727
18728 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
18729
18730 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
18731 even in case of error; add debug spec; simplify data flow.
18732 (with-timeout-handler): Remove.
18733
18734 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
18735
18736 Fix Bug#6019, Bug#9315.
18737
18738 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
18739 complete `buffer-file-name', the local file name part could look
18740 remotely (for example on VMS).
18741
18742 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
18743 `tramp-run-real-handler'.
18744 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
18745 already quoted by '"'.
18746
18747 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
18748 Let `file-name-handler-alist' be nil, the local file name part
18749 could look remotely (for example on VMS).
18750
18751 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
18752
18753 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
18754 from here...
18755 (flyspell-post-command-hook): ...to here.
18756
18757 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
18758
18759 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
18760 if not needed.
18761 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
18762 using completion. Protect against "slow" callers.
18763 Remove the "message hack".
18764
18765 2011-10-11 Juri Linkov <juri@jurta.org>
18766
18767 * isearch.el (isearch-lazy-highlight-word): New variable.
18768 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
18769 Use it. (Bug#9727)
18770
18771 2011-10-11 Glenn Morris <rgm@gnu.org>
18772
18773 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
18774 like f90-previous-statement does.
18775
18776 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18777
18778 * eshell/eshell.el (eshell-command): History should be saved
18779 only in interactive use, to avoid error.
18780
18781 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
18782
18783 * minibuffer.el (completion-file-name-table): Fix last change,
18784 i.e. ignore normal errors but not the other ones.
18785
18786 2011-10-10 Martin Rudalics <rudalics@gmx.at>
18787
18788 * window.el (special-display-buffer-names)
18789 (special-display-regexps): Remove some remnants of earlier
18790 changes from doc-strings.
18791 (quit-windows-on): New function.
18792
18793 * vc/vc.el (vc-revert, vc-rollback):
18794 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
18795 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
18796 (Bug#6183) (Bug#7074) (Bug#7447)
18797
18798 2011-10-09 Martin Rudalics <rudalics@gmx.at>
18799
18800 * window.el (frame-auto-hide-function): Add version tag.
18801 (Bug#9699)
18802
18803 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
18804
18805 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
18806 condition.
18807
18808 2011-10-09 Leo Liu <sdl.web@gmail.com>
18809
18810 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
18811 (Bug#9701)
18812
18813 2011-10-08 Glenn Morris <rgm@gnu.org>
18814
18815 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
18816 before the first code statement zero indent. (Bug#9690)
18817
18818 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
18819
18820 * simple.el (count-words-region): Always count in the region.
18821 Report the number of lines and characters too.
18822 (count-words): New command, which counts in the buffer if the
18823 region is inactive, as count-words-region used to.
18824 (count-words--message): New function. Handle plurals.
18825 (count-lines-region): Make it an alias for count-words-region.
18826
18827 * bindings.el (esc-map): Replace count-lines-region with
18828 count-words-region.
18829
18830 2011-10-08 Martin Rudalics <rudalics@gmx.at>
18831
18832 * window.el (window--delete): Delete dedicated frame
18833 unconditionally when argument KILL is non-nil. (Bug#9699)
18834 (switch-to-buffer): Fix doc-string typo.
18835
18836 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18837
18838 * eshell/eshell.el (eshell-command): Avoid using hooks.
18839
18840 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
18841
18842 * bindings.el ([M-left],[M-right]): Bind to left-word and
18843 right-word respectively.
18844
18845 2011-10-07 Glenn Morris <rgm@gnu.org>
18846
18847 * cus-start.el (debug-on-quit): Fix custom type.
18848
18849 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
18850
18851 * subr.el (define-key-after): Clarify that the function is not
18852 useful for non-menu keymaps.
18853
18854 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
18855
18856 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18857
18858 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
18859 in current minibuffer (Fix bug with recursive minibuffers).
18860
18861 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
18862
18863 * progmodes/gdb-mi.el (gdb): Doc fix.
18864
18865 2011-10-05 Martin Rudalics <rudalics@gmx.at>
18866
18867 * window.el (frame-auto-hide-function): New option replacing
18868 frame-auto-delete. Suggested by Stefan Monnier.
18869 (window--delete): Call frame-auto-hide-function instead of
18870 investigating frame-auto-delete.
18871 (window-point-1, set-window-point-1): New functions.
18872 (window-in-direction, record-window-buffer, window-state-get-1)
18873 (display-buffer-record-window): Use window-point-1 instead of
18874 window-point.
18875 (set-window-buffer-start-and-point): Use set-window-point-1.
18876
18877 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
18878
18879 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
18880
18881 2011-10-05 Glenn Morris <rgm@gnu.org>
18882
18883 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
18884 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
18885
18886 2011-10-05 Leo Liu <sdl.web@gmail.com>
18887
18888 * subr.el (read-char-choice): Fix argument to buffer-live-p which
18889 works with buffer object.
18890
18891 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
18892
18893 * mpc.el (mpc-tool-bar-map): Add labels.
18894
18895 2011-10-04 Glenn Morris <rgm@gnu.org>
18896
18897 * calendar/holidays.el (calendar-check-holidays): Doc fix.
18898
18899 2011-10-04 Martin Rudalics <rudalics@gmx.at>
18900
18901 * window.el (window--delete): New function.
18902 (frame-auto-delete): Resuscitate option.
18903 (bury-buffer, replace-buffer-in-windows)
18904 (quit-window): Rewrite using window--delete.
18905 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
18906 Pass display-buffer-mark-dedicated to window--display-buffer-2
18907 (Bug#9639).
18908
18909 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
18910
18911 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
18912 returns a list (bug#9554). Add remote file name completion.
18913 * comint.el (comint--table-subvert): Curry and get quote&unquote
18914 functions as arguments.
18915 (comint--complete-file-name-data): Adjust call accordingly.
18916 * pcomplete.el (pcomplete--table-subvert): Remove.
18917 (pcomplete-completions-at-point): Use comint--table-subvert instead.
18918
18919 * minibuffer.el (completion-table-case-fold): Use currying.
18920 (completion--styles-type, completion--cycling-threshold-type):
18921 New constants.
18922 (completion-styles, completion-category-overrides)
18923 (completion-cycle-threshold): Use them.
18924 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
18925 completion-table-case-fold.
18926
18927 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
18928
18929 * minibuffer.el (completion-category-overrides): Fix type of styles
18930 and add more user friendly tags (bug#9660).
18931
18932 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
18933
18934 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
18935 (mule-input-method-string): New widget.
18936 (default-input-method, language-info-custom-alist): Use it.
18937
18938 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
18939
18940 * pcomplete.el: Require comint.
18941 (pcomplete--common-suffix): Remove.
18942 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
18943 (pcomplete--table-subvert): Sync with comint--table-subvert.
18944 (pcomplete--entries): Use comint-completion-file-name-table.
18945 * comint.el (comint-unquote-filename): Simplify.
18946 (comint-completion-file-name-table): New function (bug#9616).
18947 (comint--complete-file-name-data): Use it.
18948
18949 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
18950 (pcmpl-gnu-tar-buffer): Remove.
18951 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
18952 around. Make sure pcomplete-suffix-list is only changed temporarily.
18953 Don't look inside the tar's file if it's too large.
18954
18955 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
18956
18957 * cus-edit.el (custom-mode-map):
18958 * epa.el (epa-key-list-mode-map):
18959 * man.el (Man-mode-map):
18960 * startup.el (splash-screen-keymap):
18961 * simple.el (special-mode-map): Use scroll-up-command and
18962 scroll-down-command.
18963
18964 * progmodes/idlw-help.el (idlwave-help-mode-map):
18965 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
18966 * net/newst-plainview.el (newsticker-mode-map):
18967 * emulation/ws-mode.el (wordstar-mode-map):
18968 * emulation/vi.el (vi-com-map):
18969 * calc/calc-graph.el (calc-graph-show-dumb):
18970 * term/sun.el (terminal-init-sun):
18971 * term/ns-win.el (global-map):
18972 * progmodes/grep.el (grep-mode-map):
18973 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
18974 * mail/rmail.el (rmail-mode-map):
18975 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
18976
18977 * custom.el (custom-safe-themes, load-theme): Treat value of t for
18978 custom-safe-themes as special.
18979
18980 2011-10-01 Julien Danjou <julien@danjou.info>
18981
18982 * notifications.el (notifications-notify): Fix docstring.
18983
18984 2011-10-01 Per Starbäck <per@starback.se>
18985
18986 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
18987
18988 2011-09-30 Martin Rudalics <rudalics@gmx.at>
18989
18990 * startup.el (command-line-1): Fix last fix by inserting
18991 initial-scratch-message into *scratch* before displaying it.
18992 (Bug#9605) and (Bug#9636)
18993
18994 2011-09-29 Eli Zaretskii <eliz@gnu.org>
18995
18996 * simple.el (line-move): If auto-hscroll-mode is disabled and the
18997 window is hscrolled, move by logical lines. (Bug#9607)
18998 (line-move-visual): Update the doc string to the above effect.
18999
19000 2011-09-29 Martin Rudalics <rudalics@gmx.at>
19001
19002 * window.el (display-buffer-record-window): When WINDOW is the
19003 selected window use `point' instead of `window-point'. (Bug#9626)
19004
19005 * startup.el (command-line-1): Use insert-before-markers when
19006 inserting initial-scratch-message. (Bug#9605)
19007
19008 * help.el (help-window): Remove variable.
19009
19010 2011-09-29 Glenn Morris <rgm@gnu.org>
19011
19012 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
19013
19014 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
19015
19016 * descr-text.el (describe-char-categories): Accept category
19017 descriptions more than one line long.
19018
19019 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
19020
19021 * simple.el (delete-trailing-whitespace): Fix last change.
19022
19023 * progmodes/perl-mode.el (perl-syntax-propertize-function):
19024 Don't confuse "y => 3" as the beginning of a `y' operation.
19025
19026 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
19027 object has more than 4 slots (bug#9613).
19028
19029 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
19030
19031 * subr.el (with-output-to-temp-buffer):
19032 * net/quickurl.el (quickurl, quickurl-browse-url):
19033 Fix typos in docstrings.
19034
19035 2011-09-27 Eli Zaretskii <eliz@gnu.org>
19036
19037 * minibuffer.el (completion-styles)
19038 (completion-category-overrides): Cross reference each other in doc
19039 strings.
19040
19041 2011-09-27 Glenn Morris <rgm@gnu.org>
19042
19043 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
19044 to split-string. (Bug#9606)
19045
19046 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
19047
19048 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
19049 (bug#9615).
19050
19051 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
19052
19053 * emacs-lisp/package.el (list-packages): Fix echo area message.
19054
19055 2011-09-27 Leo Liu <sdl.web@gmail.com>
19056
19057 * ido.el (ido-read-internal): Accept cons cell HIST arg.
19058
19059 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
19060
19061 * net/dbus.el (dbus-unregister-object): Don't release services for
19062 registered signals. (Bug#9581)
19063
19064 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
19065
19066 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
19067 function that picks between cfengine 2 and 3 support
19068 automatically. Update docs accordingly.
19069
19070 2011-09-22 Kenichi Handa <handa@m17n.org>
19071
19072 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
19073 ZERO.
19074 (indian-itrans-v5-table-for-tamil): New variable.
19075 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
19076
19077 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
19078
19079 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
19080 that's true if the current command involved collapsing of text.
19081 It's reset to false at the beginning of the next command.
19082 (allout-post-command-business): Move the cursor to the beginning
19083 of entry if the cursor is hidden and collapsing activity just
19084 happened.
19085
19086 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
19087
19088 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
19089 tracking (Bug#9541).
19090
19091 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
19092
19093 * net/newst-reader.el (newsticker-html-renderer)
19094 (newsticker-show-news): Automatically load html rendering package
19095 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
19096 because w3m-fill-column is let-bound" and the error "Symbol's value
19097 as variable is void: w3m-fill-column".
19098
19099 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
19100
19101 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
19102 Release services only if they are defined. (Bug#9581)
19103
19104 2011-09-23 Richard Stallman <rms@gnu.org>
19105
19106 * textmodes/paragraphs.el (forward-sentence): For backwards case,
19107 distinguish start of paragraph from start of its text.
19108
19109 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
19110
19111 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
19112 (rmail-generate-viewer-buffer): Put that hook on view buffer.
19113 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
19114
19115 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
19116
19117 * international/mule-diag.el (mule-diag): Insert a newline after
19118 each fontset description.
19119
19120 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
19121
19122 * simple.el (delete-trailing-whitespace):
19123 Document last change; simplify.
19124
19125 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
19126
19127 * simple.el (delete-trailing-whitespace): Also delete
19128 extra newlines at the end of the buffer.
19129
19130 * textmodes/picture.el: Make motion commands obey shift-select-mode.
19131 (picture-newline): Use forward-line so as to ignore fields.
19132
19133 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
19134
19135 * subr.el (with-wrapper-hook): Fix edebug spec.
19136
19137 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
19138
19139 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
19140 (bug#4538).
19141
19142 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
19143
19144 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
19145 Fix nasty bug using wrong cached values.
19146
19147 2011-09-23 Alan Mackenzie <acm@muc.de>
19148
19149 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
19150
19151 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
19152
19153 * window.el (pop-to-buffer): Ensure right window is selected if we
19154 chose another frame.
19155
19156 2011-09-22 Eli Zaretskii <eliz@gnu.org>
19157
19158 * simple.el (what-cursor-position): Use get-char-property-change
19159 and next-single-char-property-change, to be able to show display
19160 properties that come from overlays as well as text properties.
19161
19162 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
19163
19164 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
19165
19166 * cmuscheme.el (run-scheme, switch-to-scheme):
19167 * cus-edit.el (customize-group, custom-buffer-create)
19168 (customize-browse):
19169 * info.el (info):
19170 * shell.el (shell):
19171 * mail/sendmail.el (mail):
19172 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
19173
19174 2011-09-22 Richard Stallman <rms@gnu.org>
19175
19176 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
19177 move back only to line beg, don't move back over blank lines.
19178
19179 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
19180
19181 * files.el (copy-directory): Set directory attributes only in case
19182 they could be retrieved from the source directory. (Bug#9565)
19183
19184 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
19185
19186 * progmodes/hideshow.el (hs-looking-at-block-start-p)
19187 (hs-find-block-beginning, hs-hide-level-recursive):
19188 Ignore strings as well as comments. (Bug#9502)
19189
19190 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
19191
19192 * progmodes/sql.el (sql-comint-postgres):
19193 Convert port number to a string. (Bug#9566)
19194
19195 2011-09-22 Martin Rudalics <rudalics@gmx.at>
19196
19197 * window.el (quit-window): Undedicate window when switching to
19198 previous buffer. Reported by Thierry Volpiatto
19199 <thierry.volpiatto@gmail.com>.
19200 (special-display-popup-frame): When popping up a new frame reset
19201 its previous buffers to nil. Simplify code.
19202
19203 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
19204
19205 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
19206 and process filter, as done also in `shell-command'.
19207
19208 2011-09-21 Martin Rudalics <rudalics@gmx.at>
19209
19210 * window.el (set-window-buffer-start-and-point):
19211 Call set-window-start with NOFORCE argument t.
19212 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
19213 (quit-window): Reword doc-string. Handle new format of
19214 quit-restore parameter. Don't delete window if it has a
19215 previous buffer we can show instead of the present one.
19216 (display-buffer-record-window): Rewrite using a new format for
19217 the quit-restore window parameter
19218 (special-display-popup-frame, display-buffer-same-window)
19219 (display-buffer-reuse-window, display-buffer-pop-up-frame)
19220 (display-buffer-pop-up-window, display-buffer-use-some-window):
19221 Adapt symbol passed to display-buffer-record-window.
19222 * help.el (help-window-setup): Handle new format of quit-restore
19223 parameter.
19224
19225 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
19226
19227 * faces.el (face-list): Fix docstring (bug#9564).
19228
19229 * window.el (display-buffer--action-function-custom-type):
19230 Don't include internal functions in the Custom interface.
19231
19232 2011-09-20 Juri Linkov <juri@jurta.org>
19233
19234 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
19235 (Info-forward-node, Info-backward-node, Info-next-preorder)
19236 (Info-last-preorder): Use it. (Bug#9528)
19237
19238 2011-09-20 Juri Linkov <juri@jurta.org>
19239
19240 * info.el (Info-last-preorder): Visit last menu item only when
19241 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
19242
19243 2011-09-20 Julien Danjou <julien@danjou.info>
19244
19245 * password-cache.el (password-cache-remove): Remove entries even if the
19246 value is nil, so that password with a nil value (negative caching) is
19247 possible to invalidate.
19248
19249 2011-09-20 Lawrence Mitchell <wence@gmx.li>
19250
19251 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
19252 all whitespace around breakpoint. (Bug#9553)
19253 (f90-find-breakpoint): Only break at whitespace inside a comment.
19254
19255 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
19256
19257 * minibuffer.el (completion-file-name-table): Keep track of errors.
19258 (completion-table-with-predicate): Handle the case where pred1 is nil.
19259 * pcomplete.el (pcomplete-completions-at-point): Simplify.
19260
19261 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
19262
19263 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
19264 (debugger-return-value): Signal an error if the debugging context does
19265 not await any return value.
19266
19267 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
19268 * image-mode.el (image-toggle-display-text)
19269 (image-toggle-display-image): Stay away from evil `intangible'.
19270
19271 2011-09-19 Leo Liu <sdl.web@gmail.com>
19272
19273 * replace.el (occur-revert-arguments): Make it permanent-local.
19274 (occur-mode): Don't call font-lock-defontify.
19275
19276 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
19277
19278 * net/ldap.el (ldap-search-internal): Don't push empty search
19279 result (Bug#9508).
19280
19281 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
19282
19283 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
19284
19285 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
19286
19287 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
19288 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
19289
19290 2011-09-18 Juri Linkov <juri@jurta.org>
19291
19292 * buff-menu.el (Buffer-menu-mode-map):
19293 * dired.el (dired-mode-map):
19294 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
19295 (lisp-interaction-mode-map):
19296 * emacs-lisp/package.el (package-menu-mode-map):
19297 * epa.el (epa-key-list-mode-map):
19298 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
19299 (menu-bar-options-menu):
19300 * outline.el (outline-mode-menu-bar-map):
19301 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
19302 * vc/vc-dir.el (vc-dir-menu-map):
19303 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
19304 Capitalize non-function content words in menu item strings.
19305
19306 * dired.el (dired-mode-map): Add menu item for
19307 `image-dired-dired-toggle-marked-thumbs'.
19308
19309 2011-09-18 Juri Linkov <juri@jurta.org>
19310
19311 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
19312 to `isearch-case-fold-search' and restore its original value
19313 after the `isearch-mode' call.
19314
19315 2011-09-18 Juri Linkov <juri@jurta.org>
19316
19317 * progmodes/grep.el (grep-process-setup): Don't check code for 1
19318 because `zgrep' returns 1 for successful matches (bug#9226).
19319
19320 2011-09-18 Juri Linkov <juri@jurta.org>
19321
19322 * info.el (Info-extract-menu-node-name): Check the second match
19323 for empty string (second test-case of bug#9528).
19324 (Info-last-preorder): Let-bind `Info-history' to nil to not add
19325 intermediate nodes to the history (first test-case of bug#9528).
19326
19327 2011-09-18 Juri Linkov <juri@jurta.org>
19328
19329 * info.el (Info-mode-syntax-table): New variable.
19330 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
19331
19332 2011-09-18 Juri Linkov <juri@jurta.org>
19333
19334 * info.el (Info-file-supports-index-cookies):
19335 Increment line-beginning-position's arg from 3 to 4 because makeinfo
19336 outputs one more line for long file names (bug#4142).
19337
19338 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
19339
19340 * newcomment.el (comment-normalize-vars): If prompting for
19341 comment-start, set comment-start-skip too (Bug#8424).
19342
19343 2011-09-18 Johan BockgĂ¥rd <bojohan@gnu.org>
19344
19345 * icomplete.el: Fix previous fix of Bug#5849.
19346 (icomplete-mode): Don't set completion-show-inline-help.
19347 (icomplete-minibuffer-setup): Set completion-show-inline-help
19348 locally during icompletion.
19349
19350 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
19351
19352 * woman.el (woman2-process-escapes): Don't delete unrecognized
19353 escapes (Bug#7843).
19354
19355 * files.el (inhibit-first-line-modes-regexps): Add image files.
19356 (hack-local-variables-prop-line): Return nil for malformed
19357 prop-lines (Bug#9044).
19358
19359 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
19360
19361 * net/tramp.el (top): Don't require 'shell.
19362 (tramp-methods): Fix docstring.
19363 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
19364 Return complete remote file name. Handle "smb" case.
19365 Use `tramp-tmpdir', if defined for the respective method.
19366 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
19367
19368 * net/tramp-compat.el (top): Require 'shell.
19369
19370 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
19371 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
19372 `tramp-current-host'.
19373 (tramp-get-remote-tmpdir): Remove.
19374
19375 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
19376 `tramp-tmpdir' entries.
19377 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
19378 (tramp-smb-handle-file-attributes): Ignore errors.
19379 (tramp-smb-wait-for-output): Check also for process end.
19380
19381 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
19382
19383 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
19384 when sending QUIT (bug#9312).
19385
19386 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
19387
19388 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
19389 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
19390 occur-mode-display-occurrence.
19391 (occur-edit-mode): Add usage message.
19392 (occur-cease-edit): New command.
19393 (occur-after-change-function): Use text properties to find the
19394 position of the prefix text.
19395 (occur-engine): Set stickiness of prefix text properties.
19396
19397 2011-09-17 Glenn Morris <rgm@gnu.org>
19398
19399 * progmodes/etags.el (complete-tag):
19400 Fix call to completion-in-region. (Bug#9526)
19401
19402 2011-09-17 Juri Linkov <juri@jurta.org>
19403
19404 * textmodes/ispell.el (ispell-word): Add to the error message
19405 the word, ispell program name and current dictionary (bug#9121).
19406 (ispell-tex-arg-end): Capitalize "error" in the error message.
19407
19408 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
19409
19410 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
19411 check. (Bug#4251)
19412
19413 2011-09-17 Juri Linkov <juri@jurta.org>
19414
19415 * window.el (window-safe-min-height, window-safe-min-width):
19416 Fix typos (followup to bug#9522).
19417
19418 2011-09-17 Sven Joachim <svenjoac@gmx.de>
19419
19420 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
19421
19422 2011-09-16 Eli Zaretskii <eliz@gnu.org>
19423
19424 * simple.el (line-move): If goal-column is set, move by logical
19425 lines, not by display lines. (Bug#971)
19426 (next-line, previous-line, goal-column, line-move-visual): Doc fix
19427 to reflect the above change.
19428
19429 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
19430
19431 * image.el (imagemagick-register-types): Use regexp-opt.
19432
19433 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
19434
19435 * window.el (display-buffer-base-action): Rename from
19436 display-buffer-default-action. Make default value empty.
19437 (display-buffer-overriding-action): Convert to defvar.
19438 (display-buffer-fallback-action): New var.
19439
19440 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
19441
19442 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
19443 declaration.
19444 (package--add-to-archive-contents): If there is a duplicate entry
19445 with an older version, remove it.
19446 (package-menu-mark-delete, package-menu-mark-install)
19447 (package-menu-mark-unmark): Make unused args optional.
19448 (package-menu-mark-obsolete-for-deletion):
19449 Use package-menu-get-status instead of a regexp search.
19450 (package-menu-get-status): Use tabulated-list-entry.
19451 (package-menu-mark-upgrades): New command.
19452 (package-menu-mode-map): Bind it to U. Add it to menu bar.
19453 (package-menu-execute): Do installation before deletion.
19454 (package-menu-refresh, package-menu-execute): Use derived-mode-p
19455 instead of checking major-mode.
19456 (package-menu--find-upgrades): New function.
19457
19458 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
19459
19460 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
19461 passwords in the log buffer.
19462 (smtpmail-process-filter): Update the process marker so that the
19463 "broken by peer" status message is inserted in the right place.
19464
19465 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
19466
19467 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
19468 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
19469 bibtex-completion-at-point-function.
19470 (bibtex-completion-at-point-function): Use them.
19471
19472 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
19473
19474 * mpc.el (mpc-constraints-tag-lookup): New function.
19475 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
19476 also to browser "album|playlist".
19477
19478 2011-09-14 Juri Linkov <juri@jurta.org>
19479
19480 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
19481 (isearch-edit-string): Use length of `isearch-string' when
19482 `isearch-fail-pos' returns nil.
19483 (isearch-message): Remove duplicate code and call
19484 `isearch-fail-pos' with arg `t'.
19485
19486 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
19487
19488 * replace.el (occur-mode-goto-occurrence): Don't force using other
19489 window (Bug#9499).
19490
19491 * dired-aux.el (dired-do-chmod): Don't provide initial input.
19492
19493 2011-09-14 Martin Rudalics <rudalics@gmx.at>
19494
19495 * window.el (display-buffer-window): Remove.
19496 (display-buffer-record-window): Use help-setup window parameter
19497 instead of variable display-buffer-window.
19498 (display-buffer-function, special-display-buffer-names)
19499 (special-display-function): Mention help-setup parameter instead
19500 of display-buffer-window in doc-string.
19501 * help.el (help-window-setup): New argument help-window.
19502 Use help-window-setup parameter instead of display-buffer-window.
19503 Reword some messages.
19504 (with-help-window): Pass window used for displaying the buffer
19505 to help-window-setup. Don't set display-buffer-window.
19506
19507 2011-09-13 Glenn Morris <rgm@gnu.org>
19508
19509 * emacs-lisp/debug.el (debugger-make-xrefs):
19510 Preserve point. (Bug#9462)
19511
19512 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
19513
19514 * window.el (window-deletable-p): Use next-frame.
19515
19516 2011-09-13 Martin Rudalics <rudalics@gmx.at>
19517
19518 * window.el (window-auto-delete): Remove.
19519 (window-deletable-p): Remove argument FORCE. Don't deal with
19520 dedication and previous buffers.
19521 (switch-to-prev-buffer): Don't delete window.
19522 (delete-windows-on): Delete a window's frame if and only if the
19523 window is dedicated.
19524 (replace-buffer-in-windows): Delete buffer's window or frame if
19525 and only if window is dedicated.
19526 (quit-window): Handle quit-restore as before last change.
19527 (bury-buffer): Delete window only if window-deletable-p returns t.
19528
19529 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
19530
19531 * window.el (window-deletable-p): Never delete the last frame on a
19532 given terminal.
19533
19534 2011-09-13 Glenn Morris <rgm@gnu.org>
19535
19536 * help.el (describe-key-briefly): Copy previous standard-output change.
19537
19538 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
19539
19540 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
19541
19542 2011-09-13 Glenn Morris <rgm@gnu.org>
19543
19544 * emacs-lisp/lisp-mode.el (lisp-indent-function):
19545 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
19546
19547 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
19548
19549 * dired-aux.el (dired-mark-read-string): Don't return default
19550 value on empty input (Bug#9361).
19551 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
19552 Omit initial minibuffer contents.
19553 (dired-do-chmod): Signal an error on empty input.
19554 (dired-mark-read-string): Don't return default on empty input.
19555
19556 * files.el (file-modes-symbolic-to-number): Doc fix.
19557
19558 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
19559
19560 * international/mule-cmds.el (ucs-completions): Remove.
19561 (read-char-by-name): Use complete-with-action instead; add metadata.
19562
19563 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
19564
19565 * window.el (display-buffer--action-function-custom-type)
19566 (display-buffer--action-custom-type): New vars.
19567 (display-buffer-alist, display-buffer-default-action)
19568 (display-buffer-overriding-action): Add defcustom types.
19569
19570 * frame.el (delete-other-frames): Doc fix (Bug#276).
19571
19572 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19573
19574 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
19575
19576 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
19577
19578 Change modes that used same-window-* vars to use switch-to-buffer.
19579
19580 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
19581 Use switch-to-buffer.
19582
19583 * cus-edit.el (customize-group, custom-buffer-create)
19584 (customize-browse, custom-buffer-create-other-window):
19585 Use switch-to-buffer or switch-to-buffer-other-window.
19586
19587 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
19588 (Info-prev, Info-up, Info-speedbar-goto-node)
19589 (info-display-manual): Use switch-to-buffer.
19590 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
19591
19592 * mail/sendmail.el (mail): Use switch-to-buffer.
19593 (mail-recover): Use switch-to-buffer-other-window.
19594
19595 * cmuscheme.el (run-scheme, switch-to-scheme):
19596 * ielm.el (ielm):
19597 * shell.el (shell):
19598 * net/rlogin.el (rlogin):
19599 * net/telnet.el (telnet, rsh):
19600 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
19601
19602 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
19603
19604 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
19605
19606 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19607
19608 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
19609 so don't mention it (bug#9301).
19610 (dired-sort-toggle-or-edit): Clarify string further.
19611
19612 * faces.el (face-spec-set-match-display): Make `(type graphic)'
19613 match `x', `w32' and `ns', like the manual says (bug#9029).
19614
19615 * subr.el (eval-after-load): Doc string clarification (bug#9125).
19616 (process-kill-buffer-query-function): Mention the buffer name in
19617 the query.
19618
19619 * image-mode.el (image-next-line): The line parameter is mandatory
19620 (bug#9258).
19621
19622 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
19623 which can be useful (bug#9301).
19624
19625 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
19626
19627 * subr.el (match-string): Mention that the current buffer should
19628 be the same as the search was done in (bug#9282).
19629
19630 * facemenu.el: Disable the remove-* commands if the mark isn't
19631 active (bug#9162).
19632
19633 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
19634
19635 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
19636 of display-buffer.
19637 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
19638
19639 * replace.el (occur-mode-goto-occurrence)
19640 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
19641 and display-buffer.
19642
19643 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
19644 display-buffer.
19645
19646 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
19647 special-display and same-window variables.
19648 (mail-other-window): Use switch-to-buffer-other-window.
19649 (mail-other-frame): USe switch-to-buffer-other-frame.
19650
19651 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
19652 Use display-buffer-other-frame.
19653 (gdb-display-gdb-buffer): Use pop-to-buffer.
19654
19655 * progmodes/gud.el (gud-goto-info): Use info-other-window.
19656
19657 * progmodes/python.el: Don't set same-window-buffer-names.
19658
19659 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
19660
19661 * window.el (display-buffer-alist): Add *Python*.
19662
19663 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
19664
19665 * window.el (display-buffer-alist): Add entry for buffers
19666 previously handled same-window-*.
19667 (display-buffer-alist, display-buffer-default-action)
19668 (display-buffer-overriding-action): Mark as risky.
19669 (display-buffer-alist): Document action function changes.
19670 (display-buffer--same-window-action)
19671 (display-buffer--other-frame-action): New variables.
19672 (switch-to-buffer, display-buffer-other-frame): Use them.
19673 (display-buffer): Rename reuse-frame entry to reusable-frames.
19674 (display-buffer-reuse-selected-window): Function deleted.
19675 (display-buffer-reuse-window): Handle reusable-frames alist entry.
19676 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
19677 (display-buffer-special): New function.
19678 (display-buffer--maybe-pop-up-frame-or-window): Rename from
19679 display-buffer-reuse-or-pop-window. Split off special-display
19680 part into display-buffer-special.
19681 (display-buffer-use-some-window): Don't perform any special
19682 pop-up-frames handling.
19683 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
19684 (display-buffer--maybe-same-window): Rename from
19685 display-buffer-maybe-same-window.
19686
19687 * info.el: Don't set same-window-regexps.
19688 (info-setup): New function.
19689 (info-other-window, info): Call it.
19690
19691 * cus-edit.el: Don't set same-window-regexps.
19692 (customize-group): New argument.
19693 (customize-group-other-window): Use it.
19694 (customize-face, customize-face-other-window): Likewise.
19695 (custom-buffer-create-other-window): Use pop-to-buffer directly.
19696
19697 * net/rlogin.el:
19698 * net/telnet.el:
19699 * progmodes/gud.el: Don't set same-window-regexps.
19700
19701 * cmuscheme.el:
19702 * ielm.el:
19703 * shell.el:
19704 * mail/sendmail.el:
19705 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
19706
19707 2011-09-10 Juri Linkov <juri@jurta.org>
19708
19709 * isearch.el (isearch-edit-string): Remove obsolete mention of
19710 `C-w' (`isearch-yank-word-or-char') from docstring.
19711 (isearch-query-replace): Fix typo in docstring (bug#9466).
19712
19713 2011-09-10 Juri Linkov <juri@jurta.org>
19714
19715 * paren.el (show-paren-function): Don't show escaped parens.
19716 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
19717
19718 2011-09-10 Eli Zaretskii <eliz@gnu.org>
19719
19720 * mail/sendmail.el (mml-to-mime, mml-attach-file)
19721 (mm-default-file-encoding): Remove autoload forms, they are
19722 replaced with autoload cookies in mml.el and mm-encode.el.
19723 (mail-add-attachment): New command.
19724 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
19725 (mail-mode): Mention mail-insert-file and mail-add-attachment in
19726 the doc string.
19727 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
19728
19729 2011-09-10 Reuben Thomas <rrt@sc3d.org>
19730
19731 * simple.el (count-words-region): Use buffer if there's no region
19732 (bug#9429).
19733
19734 2011-09-09 Juri Linkov <juri@jurta.org>
19735
19736 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
19737 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
19738 (wdired-isearch-filter-read-only): New function. (Bug#6362)
19739
19740 2011-09-09 Alan Mackenzie <acm@muc.de>
19741
19742 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
19743 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
19744
19745 2011-09-09 Eli Zaretskii <eliz@gnu.org>
19746
19747 Fix for Savannah bug#9392.
19748 * simple.el (mail-encode-mml): New defvar.
19749
19750 * mail/rmail.el (mail-encode-mml): Add a defvar.
19751 (rmail-enable-mime-composing): Default to t.
19752 (rmail-forward): Use MIME method of forwarding only if both
19753 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
19754 Set mail-encode-mml non-nil if the MIME method was used.
19755
19756 * mail/sendmail.el (mml-to-mime): Add autoload form.
19757 (mail-encode-mml): Add a defvar.
19758 (mail-mode): Make mail-encode-mml buffer-local and initialize it
19759 to nil.
19760 (mail-send): If mail-encode-mml is non-nil, run the outgoing
19761 message through mml-to-mime, and reset mail-encode-mml to nil.
19762
19763 2011-09-09 Glenn Morris <rgm@gnu.org>
19764
19765 * woman.el (woman-if-body): When processing an .el block,
19766 do not delete the next .el block as well. (Bug#9447)
19767 (woman-special-characters): Add oq, cq, and hy characters.
19768
19769 2011-09-08 Martin Rudalics <rudalics@gmx.at>
19770
19771 * window.el (window-deletable-p): Make sure window is live before
19772 invoking window-prev-buffers.
19773
19774 2011-09-08 Leo Liu <sdl.web@gmail.com>
19775
19776 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
19777
19778 2011-09-08 Juri Linkov <juri@jurta.org>
19779
19780 * progmodes/compile.el (compilation-environment): Make it
19781 a defcustom (bug#8340).
19782
19783 2011-09-08 Martin Rudalics <rudalics@gmx.at>
19784
19785 * window.el (frame-auto-delete): Rename to window-auto-delete.
19786 Make it control auto-deletion of windows and/or frames.
19787 (window-deletable-p): New argument FORCE. Rewrite conditions
19788 for deleting window/frame. (Bug#9419)
19789 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
19790 Rewrite handling of case when window/frame can be deleted.
19791 (delete-windows-on): Call window-deletable-p with new FORCE
19792 argument t. (Bug#9456)
19793
19794 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
19795
19796 * help-mode.el (help-mode): Restore autoload.
19797
19798 2011-09-07 Juri Linkov <juri@jurta.org>
19799
19800 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
19801 `compilation-environment'. Set buffer-local
19802 `compilation-environment' to `thisenv' later after (funcall mode).
19803 (Bug#8340)
19804
19805 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
19806 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
19807 instead of replacing its value. (Bug#8340)
19808
19809 2011-09-07 Juri Linkov <juri@jurta.org>
19810
19811 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
19812 based on text properties put by `grep-filter' instead of matching
19813 escape sequences.
19814 (grep-mode): Set buffer-local `compilation-error-screen-columns'
19815 to the value of `grep-error-screen-columns' (bug#9438).
19816
19817 2011-09-07 Juri Linkov <juri@jurta.org>
19818
19819 * simple.el (next-error-highlight, next-error-highlight-no-select):
19820 Doc fix (bug#9432).
19821
19822 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
19823
19824 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
19825 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
19826
19827 2011-09-07 Leo Liu <sdl.web@gmail.com>
19828
19829 * net/rcirc.el (rcirc-mode): Conditionally initialize
19830 rcirc-input-ring.
19831
19832 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
19833
19834 * emacs-lisp/find-func.el (find-function-C-source): Only set
19835 find-function-C-source-directory after checking that we found a source
19836 file there (bug#9440).
19837
19838 2011-09-06 Alan Mackenzie <acm@muc.de>
19839
19840 * isearch.el (isearch-other-meta-char): Wherever a key list is
19841 unread, "unread" the prefix arg, too. This fixes bug #8901.
19842
19843 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
19844
19845 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
19846
19847 2011-09-05 Juri Linkov <juri@jurta.org>
19848
19849 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
19850
19851 2011-09-05 Juri Linkov <juri@jurta.org>
19852
19853 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
19854 keeping point where processing of grep matches begins, and
19855 continue to delete remaining escape sequences from the same point.
19856 (grep-filter): Make leading zero optional in "0?1;31m" because
19857 git-grep emits "\033[1;31m" escape sequences unlike expected
19858 "\033[01;31m" as GNU Grep does (bug#9408).
19859 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
19860
19861 2011-09-05 Juri Linkov <juri@jurta.org>
19862
19863 * subr.el (y-or-n-p): Capitalize "yes".
19864
19865 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
19866
19867 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
19868 `tramp-cache-unload-hook' where appropriate.
19869 (tramp-methods): Rename `tramp-remote-sh' to
19870 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
19871 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
19872
19873 * net/tramp-sh.el (top): Don't require 'shell.
19874 (tramp-methods): Add `tramp-remote-shell' and
19875 `tramp-remote-shell-args' entries.
19876 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
19877 (tramp-sh-handle-shell-command): Remove.
19878 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
19879 Use `tramp-remote-shell'.
19880
19881 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
19882
19883 * mail/sendmail.el (sendmail-query-once-function): Delete.
19884 (sendmail-query-once): Save directly to send-mail-function.
19885 Update message-send-mail-function too.
19886
19887 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
19888
19889 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
19890
19891 * progmodes/python.el (python-mode-map): Use correct function to
19892 start python interpreter from menu-bar (as reported by Geert
19893 Kloosterman).
19894 (inferior-python-mode-map): Fix typo.
19895 (python-shell-map): Remove.
19896
19897 2011-09-03 Deniz Dogan <deniz@dogan.se>
19898
19899 * net/rcirc.el (rcirc-print): Simplify code for
19900 rcirc-scroll-show-maximum-output. There is no need to walk
19901 through all windows to find the right one.
19902
19903 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
19904
19905 * help.el (help-return-method): Doc fix.
19906
19907 2011-09-03 Martin Rudalics <rudalics@gmx.at>
19908
19909 * window.el (window-deletable-p): Don't return a non-nil value
19910 when there's a buffer that was shown in the window before.
19911 (Bug#9419)
19912 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
19913 Set window's previous buffers to nil.
19914
19915 2011-09-03 Eli Zaretskii <eliz@gnu.org>
19916
19917 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
19918 newline before and after the tag line, so it doesn't interfere
19919 with determining the paragraph direction of bidirectional text.
19920
19921 2011-09-03 Leo Liu <sdl.web@gmail.com>
19922
19923 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
19924
19925 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
19926
19927 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
19928 (pop-to-buffer): Change interactive spec. Pass second argument
19929 directly to display-buffer.
19930 (display-buffer): Fix interactive spec. Use functionp to
19931 distinguish between a function and a list of functions.
19932
19933 * abbrev.el (edit-abbrevs):
19934 * arc-mode.el (archive-extract):
19935 * autoinsert.el (auto-insert):
19936 * bookmark.el (bookmark-bmenu-list):
19937 * files.el (find-file):
19938 * view.el (view-buffer):
19939 * progmodes/compile.el (compilation-goto-locus):
19940 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
19941
19942 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
19943
19944 * window.el (display-buffer-alist): Doc fix.
19945 (display-buffer): Add docstring. Don't treat
19946 display-buffer-default specially.
19947 (display-buffer-reuse-selected-window)
19948 (display-buffer-same-window, display-buffer-maybe-same-window)
19949 (display-buffer-reuse-window, display-buffer-pop-up-frame)
19950 (display-buffer-pop-up-window)
19951 (display-buffer-reuse-or-pop-window)
19952 (display-buffer-use-some-window): New functions.
19953 (display-buffer-default-action): Use them.
19954 (display-buffer-default): Delete.
19955 (pop-to-buffer-1): Fix choice of actions.
19956
19957 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
19958
19959 * minibuffer.el (completion--insert-strings): Don't get confused by
19960 completion entries that end with an LF char.
19961
19962 2011-09-01 Eli Zaretskii <eliz@gnu.org>
19963
19964 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
19965
19966 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
19967
19968 * window.el (display-buffer): Restore interactive spec.
19969 (display-buffer-same-window, display-buffer-other-window):
19970 New functions.
19971 (pop-to-buffer-1): New function. Use the above.
19972 (pop-to-buffer, pop-to-buffer-same-window): Use it.
19973 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
19974
19975 * view.el (view-buffer-other-window, view-buffer-other-frame):
19976 Just use pop-to-buffer.
19977
19978 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
19979
19980 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
19981
19982 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
19983
19984 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
19985
19986 2011-08-31 Richard Stallman <rms@gnu.org>
19987
19988 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
19989 of the separation of rmail-view-buffer from rmail-buffer.
19990 If you say no to "replace original", the decrypt is in the
19991 view buffer. If you say yes, the decrypt goes into the
19992 rmail buffer also.
19993
19994 2011-08-31 Martin Rudalics <rudalics@gmx.at>
19995
19996 * window.el (display-buffer-window): Rewrite doc-string.
19997 (display-buffer-record-window): New function.
19998 (display-buffer-macro-specifiers)
19999 (display-buffer-even-window-sizes, display-buffer-set-height)
20000 (display-buffer-set-width, display-buffer-in-window)
20001 (display-buffer-reuse-window, display-buffer-split-specifiers)
20002 (display-buffer-side-specifiers, display-buffer-split-window-1)
20003 (display-buffer-split-window, display-buffer-split-atom-window)
20004 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
20005 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
20006 (display-buffer-other-window-means-other-frame)
20007 (display-buffer-normalize-special)
20008 (display-buffer-normalize-default)
20009 (display-buffer-normalize-argument)
20010 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
20011 (display-buffer-normalize-specifiers, display-buffer-frame)
20012 (display-buffer-same-window, display-buffer-same-frame)
20013 (display-buffer-other-window)
20014 (display-buffer-same-frame-other-window)
20015 (display-buffer-other-frame, pop-to-buffer-same-window)
20016 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
20017 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
20018 (switch-to-buffer-same-frame)
20019 (switch-to-buffer-other-window-same-frame)
20020 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
20021 (display-buffer-alist-set-1, display-buffer-alist-set-2)
20022 (display-buffer-alist-set): Remove.
20023 (display-buffer-function, special-display-buffer-names)
20024 (special-display-regexps, special-display-function):
20025 In doc-string refer to display-buffer-window and quit-restore
20026 parameter.
20027 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
20028 (special-display-frame-alist, special-display-popup-frame)
20029 (same-window-buffer-names, same-window-regexps, same-window-p)
20030 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
20031 (split-window-preferred-function, split-height-threshold)
20032 (split-width-threshold, window-splittable-p)
20033 (split-window-sensibly, window--try-to-split-window)
20034 (window--frame-usable-p, even-window-heights)
20035 (window--even-window-heights, window--display-buffer-1)
20036 (window--display-buffer-2, display-buffer-other-frame):
20037 Restore old Emacs 23 code, order and doc-strings where applicable.
20038 (display-buffer-default, display-buffer-assq-regexp): New functions.
20039 (display-buffer-alist): Rewrite doc-string.
20040 (display-buffer-default-action)
20041 (display-buffer-overriding-action): New variables.
20042 (display-buffer, switch-to-buffer): Rewrite.
20043 (pop-to-buffer): Restore Emacs 23 behavior but use
20044 window-normalize-buffer-to-display.
20045 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
20046 Restore Emacs 23 behavior but use
20047 window-normalize-buffer-to-switch-to.
20048 (pop-to-buffer-same-window): Rewrite.
20049 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
20050 Rewrite using Emacs 23 options.
20051
20052 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
20053
20054 * net/tramp.el (tramp-root-regexp): Remove.
20055 (tramp-completion-file-name-regexp-unified)
20056 (tramp-completion-file-name-regexp-separate)
20057 (tramp-completion-file-name-regexp-url): Don't use leading volume
20058 letter on w32 systems. (Bug#5303, Bug#9311)
20059 (tramp-drop-volume-letter): Simplify definition.
20060 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
20061
20062 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
20063
20064 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
20065 (bug#9356).
20066
20067 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
20068
20069 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
20070
20071 2011-08-29 Juri Linkov <juri@jurta.org>
20072
20073 * isearch.el (isearch-done): Don't display message "Mark saved"
20074 when arg `edit' is non-nil to prevent its flicker in the echo area.
20075
20076 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
20077
20078 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
20079 obsolete packages for deletion.
20080
20081 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
20082
20083 * help-mode.el (help-mode-map): Add special-mode-map to parent.
20084 (help-mode): Derive help-mode from special-mode. Don't invoke
20085 view-mode from help-mode.
20086 (help-xref-override-view-map): Remove.
20087 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
20088 view-mode is not used anymore.
20089
20090 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
20091
20092 * server.el (server-port): Doc fix.
20093
20094 * cus-theme.el (custom-theme-choose-mode): Inherit from
20095 special-mode (Bug#9124).
20096 (custom-theme-choose-mode-map): Add special-mode to parent.
20097
20098 2011-08-28 Alan Mackenzie <acm@muc.de>
20099
20100 * progmodes/cc-fonts.el
20101 (c-make-font-lock-BO-decl-search-function): New function.
20102 (c-basic-matchers-after - "Fontify the clauses after various
20103 keywords"): Extract the three keyword lists for the 3 erroneous
20104 constructs from the list of four, and use the new function above
20105 in place of an old one.
20106
20107 2011-08-28 Deniz Dogan <deniz@dogan.se>
20108
20109 * net/rcirc.el (rcirc-insert-prev-input)
20110 (rcirc-insert-next-input): Remove unused argument.
20111
20112 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
20113
20114 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
20115
20116 2011-08-27 Alan Mackenzie <acm@muc.de>
20117
20118 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
20119 handle function pointer parameters properly.
20120
20121 2011-08-27 Martin Rudalics <rudalics@gmx.at>
20122
20123 * window.el (display-buffer-reuse-window): Fix case where
20124 selected window was reused with non-nil OTHER-WINDOW argument.
20125 (Bug#9381)
20126
20127 2011-08-27 Deniz Dogan <deniz@dogan.se>
20128
20129 * net/rcirc.el (rcirc-check-auth-status): Adding support for
20130 oftc's NickServ messages.
20131
20132 2011-08-27 Glenn Morris <rgm@gnu.org>
20133
20134 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
20135
20136 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
20137
20138 * emacs-lisp/package.el (package-install): Call package-initialize
20139 if called interactively.
20140
20141 2011-08-26 Leo Liu <sdl.web@gmail.com>
20142
20143 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
20144
20145 2011-08-25 Juri Linkov <juri@jurta.org>
20146
20147 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
20148 `search-whitespace-regexp' (bug#9364).
20149
20150 2011-08-25 Juri Linkov <juri@jurta.org>
20151
20152 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
20153 `regexp-search-ring' to their global values to protect from
20154 updating by `read-from-minibuffer' (bug#9185).
20155
20156 2011-08-25 Juri Linkov <juri@jurta.org>
20157
20158 * textmodes/ispell.el (ispell-command-loop): Add newline
20159 at the end of the "Use option `i'..." line.
20160
20161 2011-08-25 Juri Linkov <juri@jurta.org>
20162
20163 * battery.el (display-battery-mode): If `battery-status-function'
20164 or `battery-mode-line-format' is nil, display the message and set
20165 `display-battery-mode' to nil (bug#9363).
20166
20167 2011-08-25 Eli Zaretskii <eliz@gnu.org>
20168
20169 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
20170 bidi-string-mark-left-to-right; they are unnecessary now.
20171
20172 2011-08-25 Deniz Dogan <deniz@dogan.se>
20173
20174 * net/quickurl.el: Documentation typo fixes.
20175
20176 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
20177
20178 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
20179
20180 2011-08-25 Glenn Morris <rgm@gnu.org>
20181
20182 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
20183
20184 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
20185 (smtpmail-via-smtp): Handle nil response from smtp.
20186
20187 2011-08-24 Juri Linkov <juri@jurta.org>
20188
20189 * proced.el (proced-marked): Inherit from `error' instead of
20190 `font-lock-warning-face'.
20191
20192 * ibuffer.el (ibuffer-marked-face): Change default face from
20193 `font-lock-warning-face' to `warning'.
20194 (ibuffer-deletion-face): Change default face from
20195 `font-lock-type-face' to `error'.
20196
20197 * battery.el (battery-update): Use the face `error' instead of
20198 `font-lock-warning-face' (bug#6117).
20199
20200 2011-08-24 Juri Linkov <juri@jurta.org>
20201
20202 * faces.el (success): Change face color from "Green3" to
20203 "ForestGreen" on light background (bug#9353).
20204
20205 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
20206
20207 * window.el (quit-window): Rename from quit-restore-window.
20208 Use same arglist as old quit-window.
20209 (frame-auto-delete): Doc fix.
20210
20211 * view.el (view-mode-exit): Use quit-window.
20212
20213 2011-08-24 Juri Linkov <juri@jurta.org>
20214
20215 * isearch.el (isearch-ring-adjust1): Start visiting previous
20216 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
20217 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
20218 for empty search string (when the last search string is reused
20219 automatically) to adjust the isearch ring to the last element and
20220 prepare the correct index for further M-p commands (bug#9185).
20221
20222 2011-08-24 Kenichi Handa <handa@m17n.org>
20223
20224 * international/ucs-normalize.el: If decomposition property of
20225 CHAR is the default one (i.e. a list of CHAR itself), treat it as
20226 nil.
20227 (nfd, nfkd): Likewise.
20228
20229 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
20230
20231 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
20232 from process filters aren't reliably transmitted to the surrounding
20233 accept-process-output.
20234 (mpc-proc-check): New function.
20235 (mpc-proc-sync): Use it (bug#8293)
20236
20237 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
20238
20239 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
20240 Add compatibility functions (bug#9313).
20241
20242 2011-08-23 Eli Zaretskii <eliz@gnu.org>
20243
20244 * cus-start.el (all): Add entry for bidi-paragraph-direction.
20245
20246 * international/uni-bidi.el: Regenerate.
20247
20248 2011-08-23 Kenichi Handa <handa@m17n.org>
20249
20250 * international/charprop.el:
20251 * international/uni-bidi.el:
20252 * international/uni-category.el:
20253 * international/uni-combining.el:
20254 * international/uni-comment.el:
20255 * international/uni-decimal.el:
20256 * international/uni-decomposition.el:
20257 * international/uni-digit.el:
20258 * international/uni-lowercase.el:
20259 * international/uni-mirrored.el:
20260 * international/uni-name.el:
20261 * international/uni-numeric.el:
20262 * international/uni-old-name.el:
20263 * international/uni-titlecase.el:
20264 * international/uni-uppercase.el: Regenerate.
20265
20266 2011-08-23 Martin Rudalics <rudalics@gmx.at>
20267
20268 * help.el (help-window-setup): Fix message displayed when other
20269 window is reused. (Bug#9341)
20270
20271 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
20272
20273 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
20274 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
20275
20276 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
20277 Mark obsolete.
20278 * shell.el (shell-parse-pcomplete-arguments): New function.
20279 (shell-completion-vars): Use it instead (bug#9160).
20280
20281 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
20282
20283 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
20284 strings and comments (bug#9333).
20285
20286 * emacs-lisp/debug.el (debug-arglist): New function.
20287 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
20288 (debug-on-entry-1): Handle interpreted closures (bug#9120).
20289
20290 2011-08-22 Juri Linkov <juri@jurta.org>
20291
20292 * progmodes/compile.el (compilation-mode-font-lock-keywords):
20293 Revert regexp that highlights output switches to its old
20294 pre-2010-10-28 value and remove one `?' from it (bug#9319).
20295
20296 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
20297 to check for empty output (bug#9226).
20298
20299 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
20300
20301 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
20302 symbol-constituent as the default, as that stops font-lock from
20303 working properly (Bug#8843).
20304
20305 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
20306
20307 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
20308 `coding-system-for-*' around the process open call to avoid
20309 auth-source side effects.
20310 (smtpmail-try-auth-methods): Expand the secret password.
20311 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
20312 probe hangs.
20313
20314 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
20315
20316 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
20317
20318 * emacs-lisp/find-func.el (find-function-noselect): New arg
20319 lisp-only.
20320
20321 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
20322 signal an error for built-in functions (Bug#6664).
20323
20324 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
20325
20326 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
20327 (smtpmail-try-auth-methods): Use it.
20328
20329 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
20330
20331 * font-lock.el (font-lock-fontify-region)
20332 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
20333 (font-lock-default-unfontify-buffer)
20334 (font-lock-default-fontify-region)
20335 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
20336
20337 * progmodes/compile.el (compilation-error-properties):
20338 Fix confusion between file struct and message struct (Bug#9319).
20339 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
20340 `ant' regexp.
20341
20342 * net/browse-url.el (browse-url-firefox): Don't call
20343 browse-url-firefox-sentinel unless using -remote (Bug#9328).
20344
20345 2011-08-20 Glenn Morris <rgm@gnu.org>
20346
20347 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
20348
20349 * tutorial.el (tutorial--default-keys): Update some default bindings.
20350
20351 * files.el (hack-local-variables): Fully ignore case for "mode:".
20352
20353 2011-08-20 Alan Mackenzie <acm@muc.de>
20354
20355 Resolve invalid use of a regexp in regexp-opt.
20356
20357 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
20358 detection for a java annotation.
20359
20360 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
20361 detection for a java annotation.
20362
20363 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
20364 handling for java.
20365 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
20366
20367 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
20368
20369 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
20370 (Bug#9274).
20371
20372 2011-08-20 Alan Mackenzie <acm@muc.de>
20373
20374 Fontify CPP expressions correctly when starting in the middle of
20375 such a construct. Mainly for when jit-lock etc. starts a chunk
20376 here.
20377
20378 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
20379 variable.
20380 (c-make-font-lock-search-form): New function, extracted from
20381 c-make-font-lock-search-function.
20382 (c-make-font-lock-search-function): Use the above function.
20383 (c-make-font-lock-context-search-function): New function.
20384 (c-cpp-matchers): Enhance the preprocessor expression case with
20385 the above function
20386 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
20387 which takes an expression.
20388
20389 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
20390
20391 2011-08-20 Martin Rudalics <rudalics@gmx.at>
20392
20393 * window.el (display-buffer-reuse-window)
20394 (display-buffer-pop-up-window): Don't reuse or split a side
20395 window.
20396
20397 2011-08-19 Glenn Morris <rgm@gnu.org>
20398
20399 * files.el (hack-local-variables-prop-line, hack-local-variables):
20400 Downcase "Mode:". (Bug#9331)
20401
20402 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
20403
20404 * international/characters.el: Add L and R categories.
20405
20406 * subr.el (bidi-string-mark-left-to-right): Rename from
20407 string-mark-left-to-right. Use category search.
20408
20409 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
20410
20411 2011-08-18 Juri Linkov <juri@jurta.org>
20412
20413 * faces.el (error, warning, success): New faces with definitions
20414 copied from old default values of `font-lock-warning-face',
20415 `compilation-warning', `compilation-info' (bug#6117).
20416
20417 * font-lock.el (font-lock-warning-face): Inherit from `error'.
20418
20419 * progmodes/compile.el (compilation-error): Inherit from `error'.
20420 (compilation-warning): Inherit from `warning'.
20421 (compilation-info): Inherit from `success'.
20422
20423 * dired.el (dired-marked): Inherit from `warning'.
20424 (dired-flagged): Inherit from `error'.
20425
20426 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
20427
20428 * mail/smtpmail.el (auth-source): Require to avoid problems with
20429 binding variables (bug#9298). Also clean up some unused
20430 autoloads.
20431
20432 * net/network-stream.el (network-stream-open-starttls):
20433 Support using starttls.el without using gnutls-cli.
20434
20435 2011-08-17 Juri Linkov <juri@jurta.org>
20436
20437 * progmodes/grep.el (rgrep): Handle the case when
20438 `grep-find-command' is a cons cell (bug#9278).
20439
20440 2011-08-17 Martin Rudalics <rudalics@gmx.at>
20441
20442 * window.el (display-buffer-pop-up-frame): Run frame creation
20443 function with BUFFER current (as special-display-popup-frame
20444 does). Reported by Drew Adams.
20445
20446 2011-08-17 Daiki Ueno <ueno@unixuser.org>
20447
20448 * epa-mail.el: Simplify GnuPG group expansion using
20449 epg-expand-group.
20450 (epa-mail-group-alist, epa-mail-group-modtime)
20451 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
20452 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
20453 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
20454 Remove.
20455
20456 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
20457
20458 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
20459
20460 2011-08-16 Alan Mackenzie <acm@muc.de>
20461
20462 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
20463 Correct, to avoid the inside of macros.
20464
20465 2011-08-16 Richard Stallman <rms@gnu.org>
20466
20467 * epa-mail.el: Handle GnuPG group definitions.
20468 (epa-mail-group-alist, epa-mail-group-modtime)
20469 (epa-mail-gnupg-conf-file): New variables.
20470 (epa-mail-parse-groups, epa-mail-sync-groups)
20471 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
20472 (epa-mail-expand-recipients): New functions.
20473 (epa-mail-encrypt): Call epa-mail-expand-recipients.
20474
20475 * mail/rmail.el (rmail-epa-decrypt): New command.
20476
20477 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
20478 Don't bind buffer-read-only, just inhibit-read-only.
20479 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
20480 (epa-decrypt-armor-in-region): Make error message clearer.
20481
20482 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
20483
20484 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
20485 and "a2b" to "ab" for `prefix'.
20486
20487 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
20488
20489 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
20490 filter groups.
20491 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
20492 Fourquet (Bug#8804).
20493
20494 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
20495
20496 * startup.el (argi): Declare as global variable (bug#9275).
20497
20498 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
20499
20500 * subr.el (string-mark-left-to-right): Search the entire string
20501 for RTL script, not just the terminating character. Doc fix.
20502
20503 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
20504
20505 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
20506 New function.
20507 (js--regexp-literal, js-syntax-propertize-function): Remove.
20508 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
20509 (js-mode-map): Don't rebind electric keys.
20510 (js-insert-and-indent): Remove.
20511 (js-mode): Setup electric-layout and electric-indent instead.
20512
20513 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
20514
20515 2011-08-12 Daiki Ueno <ueno@unixuser.org>
20516
20517 * epa.el (epa-progress-callback-function): Fix the logic of
20518 displaying progress.
20519 * epa-file.el (epa-file-insert-file-contents): Make progress
20520 display more user-friendly.
20521 (epa-file-write-region): Ditto.
20522
20523 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
20524
20525 * subr.el (string-mark-left-to-right): New function.
20526
20527 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
20528 Use string-mark-left-to-right.
20529 (list-buffers-noselect): Caller changed.
20530
20531 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
20532 Use string-mark-left-to-right.
20533 (tabulated-list-print): Recenter after moving point.
20534
20535 2011-08-10 Juri Linkov <juri@jurta.org>
20536
20537 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
20538 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
20539 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
20540
20541 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
20542
20543 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
20544 (Bug#7554).
20545
20546 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
20547
20548 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
20549 character. (Bug#6594)
20550
20551 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
20552
20553 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
20554 (image-dired--with-db-file): New macro.
20555 (image-dired-write-tags, image-dired-remove-tag)
20556 (image-dired-create-gallery-lists, image-dired-write-comments)
20557 (image-dired-get-comment, image-dired-mark-tagged-files)
20558 (image-dired-list-tags, image-dired-gallery-generate): Use it.
20559 (image-dired-gallery-generate): Use insert-file-contents.
20560
20561 * time.el (display-time-world-list, display-time-world-display):
20562 * time-stamp.el (time-stamp-string):
20563 * vc/add-log.el (add-change-log-entry): Use setenv instead of
20564 set-time-zone-rule (Bug#7337).
20565
20566 2011-08-08 Daiki Ueno <ueno@unixuser.org>
20567
20568 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
20569 (epg-error-to-string, epg-errors-to-string): New function.
20570 (epg-wait-for-completion): Reverse errors list.
20571 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
20572 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
20573 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
20574 (epg-sign-keys, epg-generate-key-from-file)
20575 (epg-generate-key-from-string): Format errors by using
20576 epg-errors-to-string (bug#9255).
20577 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
20578
20579 2011-08-07 Juri Linkov <juri@jurta.org>
20580
20581 * faces.el (list-faces-display): Remove extra angle bracket
20582 from `help-mode-map'.
20583
20584 * info.el (Info-history-toc-nodes): Doc fix.
20585
20586 * longlines.el (longlines-mode): Doc fix.
20587
20588 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
20589
20590 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
20591 of statements and in a few more cases (bug#9183).
20592
20593 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
20594 New functions.
20595 (cl-transform-lambda): Use them (bug#9239).
20596
20597 2011-08-05 Martin Rudalics <rudalics@gmx.at>
20598
20599 * window.el (display-buffer-same-window)
20600 (display-buffer-same-frame, display-buffer-other-window)
20601 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
20602 (pop-to-buffer-other-window)
20603 (pop-to-buffer-same-frame-other-window)
20604 (pop-to-buffer-other-frame): Make them defuns.
20605 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
20606
20607 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
20608
20609 * subr.el (make-composed-keymap): Move from C. Change calling
20610 convention, and improve docstring to bring attention to a subtle point.
20611 * minibuffer.el (completing-read-default): Adjust accordingly.
20612
20613 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
20614
20615 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
20616 (tramp-open-shell): Use `tramp-shell-quote-argument'.
20617
20618 * net/trampver.el: Update release number.
20619
20620 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
20621
20622 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
20623 "in" (bug#9190).
20624
20625 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
20626
20627 * mail/sendmail.el (sendmail-query-once): Restore the current
20628 buffer after querying (bug#9074).
20629
20630 * dired.el (dired-flagged): Use different faces for marked and
20631 flagged files (bug#6117).
20632
20633 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
20634 (bug#4433).
20635
20636 * ido.el (ido-mode): Switch off the message if called
20637 non-interactively.
20638
20639 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
20640 before 587, since it appears that that's more likely to work for
20641 more people.
20642
20643 * cus-edit.el (custom-file): When running under emacs -q, always
20644 refuse to save the customizations, even if the .emacs file doesn't
20645 exist.
20646
20647 * info.el: Remove the `Info-beginning-of-buffer' function
20648 (bug#8325).
20649
20650 * net/network-stream.el (network-stream-open-starttls):
20651 Use `starttls-available-p' to see whether starttls.el can be used.
20652
20653 2011-08-01 Martin Rudalics <rudalics@gmx.at>
20654
20655 * window.el (display-buffer-in-window): Don't set dedicated status
20656 of window here (Bug#9215).
20657 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
20658 (display-buffer-pop-up-side-window)
20659 (display-buffer-in-side-window): Set dedicated status of window here.
20660
20661 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
20662
20663 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
20664 before binding generated-autoload-file.
20665
20666 2011-08-01 Deniz Dogan <deniz@dogan.se>
20667
20668 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
20669
20670 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
20671
20672 Sync with Tramp 2.2.2.
20673
20674 * net/trampver.el: Update release number.
20675
20676 2011-07-30 Juri Linkov <juri@jurta.org>
20677
20678 * dired-aux.el (dired-touch-initial): Remove function.
20679 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
20680 current time, and `default' to the last modification time of the
20681 current marked file (bug#6887).
20682
20683 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
20684
20685 * simple.el (goto-line): Use string-to-number to provide a
20686 numeric argument to read-number (bug#9163).
20687
20688 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
20689
20690 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
20691 connection process, it could be nil.
20692
20693 2011-07-27 Leo Liu <sdl.web@gmail.com>
20694
20695 Simplify url handling in rcirc-mode.
20696
20697 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
20698 (rcirc-browse-url-at-mouse): Remove.
20699 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
20700
20701 2011-07-26 Alan Mackenzie <acm@muc.de>
20702
20703 Fontify bitfield declarations properly.
20704
20705 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
20706 (c-symbol-chars): Now exported as a lang variable.
20707 (c-not-primitive-type-keywords): New lang variable.
20708
20709 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
20710 QT keyword "more" to prevent "more slots: ...." being spuriously
20711 parsed as a bitfield declaration.
20712
20713 * progmodes/cc-engine.el (c-beginning-of-statement-1):
20714 Refactor and enhance to handle bitfield declarations.
20715 (c-punctuation-in): New function.
20716 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
20717 declarations properly.
20718
20719 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
20720
20721 * calendar/icalendar.el (icalendar--all-events): Take care of
20722 multiple vcalendars in a single file.
20723 (icalendar--convert-float-to-ical): Checkdoc fixes.
20724
20725 2011-07-25 Deniz Dogan <deniz@dogan.se>
20726
20727 * image.el (insert-image): Clarifying docstring.
20728
20729 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
20730
20731 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
20732 `tramp-send-command-and-check' if there is no error.
20733 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
20734
20735 2011-07-22 Alan Mackenzie <acm@muc.de>
20736
20737 Prevent cc-langs.elc being loaded at run time.
20738
20739 * progmodes/cc-mode.el: Remove two autoload forms which loaded
20740 cc-langs.
20741
20742 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
20743 "(require 'cc-langs)". Quote a form so it will evaluate at
20744 (cc-mode's) compilation time.
20745
20746 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
20747
20748 * net/tramp.el (tramp-file-name-handler): Avoid recursive
20749 loading. (Bug#9114)
20750
20751 2011-07-21 Martin Rudalics <rudalics@gmx.at>
20752
20753 * window.el (display-buffer-pop-up-window)
20754 (display-buffer-pop-up-side-window)
20755 (display-buffer-in-side-window): Call display-buffer-set-height
20756 and display-buffer-set-width after setting the new window's
20757 buffer so `fit-window-to-buffer' and friends work on the right buffer.
20758
20759 2011-07-20 Sam Steingold <sds@gnu.org>
20760
20761 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
20762 (etags-tags-included-tables): Call `convert-standard-filename' on
20763 the file names contained in TAGS so that windows Emacs can handle
20764 TAGS files created by cygwin ctags.
20765
20766 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
20767
20768 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
20769 which apparently didn't work.
20770
20771 2011-07-19 Roland Winkler <winkler@gnu.org>
20772
20773 * proced.el (proced-send-signal): For *Marked Processes* buffer
20774 put point at beginning of buffer.
20775
20776 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
20777
20778 * proced.el (proced-format): Make header lines align with the text
20779 (bug#1779).
20780
20781 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
20782
20783 * view.el (view-buffer): Allow running in `special' modes if we're
20784 visiting a file (bug#8615).
20785
20786 2011-07-19 Martin Rudalics <rudalics@gmx.at>
20787
20788 * window.el (display-buffer-alist-of-strings-p)
20789 (display-buffer-alist-set-1, display-buffer-alist-set-2):
20790 New functions.
20791 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
20792 more accurately.
20793
20794 2011-07-18 Alan Mackenzie <acm@muc.de>
20795
20796 Fontify declarators properly when, e.g., a jit-lock chunk begins
20797 inside a declaration.
20798
20799 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
20800
20801 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
20802 New function.
20803 (c-complex-decl-matchers): Insert reference to
20804 c-font-lock-enclosing-decls.
20805
20806 * progmodes/cc-engine.el (c-backward-single-comment):
20807 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
20808 to nil around calls to (forward-comment -1).
20809
20810 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
20811
20812 * image.el (put-image): Doc typo fix.
20813
20814 * progmodes/etags.el (tags-search): Doc typo fix.
20815
20816 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
20817 password if we get errors 550 to 554.
20818
20819 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
20820
20821 * net/gnutls.el (gnutls-log-level): Remove.
20822
20823 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
20824 indentation character (bug#6380).
20825
20826 * files.el (buffer-offer-save): Made permanently local (bug#6241).
20827
20828 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
20829 to clarify what the problem is (bug#4291).
20830
20831 * simple.el (current-kill): Clarify what
20832 `interprogram-paste-function' does (bug#7500).
20833 (auto-fill-mode): Document `auto-fill-function' in relation to
20834 `auto-fill-mode' (bug#2470).
20835
20836 2011-07-16 Lawrence Mitchell <wence@gmx.li>
20837
20838 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
20839 method if slot is read-only (bug#9035).
20840
20841 2011-07-16 Martin Rudalics <rudalics@gmx.at>
20842
20843 * frame.el (select-frame-set-input-focus): New argument NORECORD.
20844 * window.el (pop-to-buffer): Select window used even if it was
20845 selected before, see discussion of (Bug#8615), (Bug#6954).
20846 Pass argument NORECORD on to select-frame-set-input-focus.
20847
20848 2011-07-15 Glenn Morris <rgm@gnu.org>
20849
20850 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
20851 Respect help-form.
20852
20853 2011-07-09 Lawrence Mitchell <wence@gmx.li>
20854
20855 * net/gnutls.el (gnutls-min-prime-bits): New variable.
20856 (gnutls-negotiate): Use it.
20857
20858 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
20859
20860 * net/gnutls.el (gnutls-negotiate):
20861 Upcase `gnutls-algorithm-priority'.
20862
20863 2011-07-15 Glenn Morris <rgm@gnu.org>
20864
20865 * jka-compr.el (jka-compr-verbose): Move from here...
20866 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
20867 Add missing :version tag.
20868 * info.el: No need to require jka-compr when compiling.
20869
20870 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
20871
20872 * net/gnutls.el (gnutls-algorithm-priority): New variable.
20873 (gnutls-negotiate): Use it.
20874
20875 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
20876
20877 * info.el (Info-beginning-of-buffer): New command.
20878 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
20879 announcing `b' as the key (bug#8325).
20880 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
20881
20882 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
20883
20884 * international/mule-cmds.el
20885 (describe-specified-language-support): Make the error message
20886 clearer (bug#8905).
20887
20888 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
20889
20890 * isearch.el (isearch-barrier): Add a doc string, since it's
20891 mentioned in a function doc string (bug#8678).
20892
20893 2011-07-15 Martin Rudalics <rudalics@gmx.at>
20894
20895 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
20896 buffer argument (Bug#9083) and self-identifying label argument.
20897
20898 2011-07-15 Glenn Morris <rgm@gnu.org>
20899
20900 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
20901
20902 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
20903
20904 * man.el (Man-fontify-manpage): Fix message when formatting the
20905 man page (bug#7929).
20906
20907 2011-07-14 Eli Zaretskii <eliz@gnu.org>
20908
20909 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
20910 argument LRM; if non-nil, append an invisible LRM character to the
20911 buffer name.
20912 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
20913 last argument non-nil, when formatting buffer names.
20914 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
20915 paragraph direction.
20916
20917 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
20918
20919 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
20920 the man page name (bug#7929).
20921
20922 * image.el (put-image): Mention the `put-image' overlay property
20923 (bug#7834).
20924
20925 * scroll-bar.el (set-scroll-bar-mode): Mention that
20926 `scroll-bar-mode' lists the values (bug#7772).
20927
20928 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
20929 command (bug#7729).
20930
20931 * rect.el (apply-on-rectangle): Return the point after the last
20932 operation.
20933 (string-rectangle): Go to the point after the last operation
20934 (bug#7522).
20935
20936 * printing.el (pr-toggle-region): Clarify the documentation
20937 slightly (bug#7493).
20938
20939 * time.el (display-time-update):
20940 Allow `display-time-mail-function' to return nil (bug#7158).
20941 Fix suggested by Detlev Zundel.
20942
20943 * vc/diff.el (diff): Clarify the order the file names are read
20944 (bug#7111).
20945
20946 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
20947 the doc string (bug#7015).
20948
20949 * font-lock.el (font-lock-maximum-decoration): Mention what
20950 numeric levels mean (bug#6935).
20951
20952 * startup.el (initial-buffer-choice): Don't mention the `none'
20953 selection, which is against policy.
20954
20955 2011-07-14 Martin Rudalics <rudalics@gmx.at>
20956
20957 * window.el (display-buffer-normalize-special):
20958 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
20959
20960 2011-07-14 Eli Zaretskii <eliz@gnu.org>
20961
20962 * subr.el (version<, version<=, version=): Mention "-CVS" and
20963 "-12345" alpha version numbers.
20964
20965 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
20966
20967 * bindings.el: Add advertised binding for set-mark-command
20968 (Bug#5772).
20969
20970 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
20971
20972 * bindings.el (mode-line-other-buffer):
20973 * bookmark.el (bookmark-bmenu-2-window):
20974 * bs.el (bs-cycle-next, bs-cycle-previous):
20975 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
20976 switch-to-buffer.
20977
20978 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
20979 Delete.
20980
20981 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
20982
20983 * follow.el (follow-debug-message, follow-redisplay):
20984 * jka-cmpr-hook.el (with-auto-compression-mode):
20985 Fix typos in docstrings.
20986
20987 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20988
20989 * subr.el (with-silent-modifications): Clarify somewhat what the
20990 macro inhibits (bug#6525).
20991
20992 * simple.el (eval-expression): Note what it does if called
20993 interactively (bug#6495).
20994
20995 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
20996
20997 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
20998 Use pop-to-buffer buffer-or-name if it is nil.
20999
21000 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
21001 Remove switch-to-buffer.
21002
21003 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
21004
21005 * files.el (make-directory): Clarify that an error will be raised
21006 if there's an error (bug#6397).
21007
21008 * startup.el (initial-buffer-choice): Add `none' as a choice
21009 (bug#6234).
21010
21011 * subr.el (add-hook): Clarify section about buffer-local hooks
21012 (bug#6218).
21013
21014 * dired.el (dired-flagged): Clarify doc string (bug#6117).
21015
21016 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
21017
21018 * tabify.el (untabify): Preserve the current column so that point
21019 doesn't move (bug#6032).
21020
21021 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
21022
21023 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
21024 Rewrite to avoid awkward possessive "s" (bug#5986).
21025
21026 2011-07-13 Glenn Morris <rgm@gnu.org>
21027
21028 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
21029 (dired-insert-directory): Give a message the first time
21030 if ls is found not to support --dired.
21031
21032 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
21033
21034 * simple.el (toggle-truncate-lines): Clarify what is toggled
21035 (bug#5580). Text by Drew Adams.
21036
21037 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
21038
21039 * simple.el (blink-matching-open): Make the error message from the
21040 last change less verbose.
21041
21042 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
21043
21044 * font-lock.el (font-lock-comment-face): Use the high contrast
21045 "yellow" color for font-lock-comment-face on low color terminals
21046 using a dark background color (bug#4221).
21047
21048 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
21049
21050 * dired.el (dired-insert-set-properties): Make the doc string
21051 reflect what it does now (bug#5325).
21052
21053 * simple.el (blink-matching-open): Say that we were unable to find
21054 the match within the limit, if we're limited (bug#5122).
21055
21056 * international/mule-cmds.el (prefer-coding-system): Add an
21057 example (bug#4869).
21058
21059 * progmodes/etags.el (tags-search): Document `file-list-form'
21060 (bug#4731).
21061
21062 2011-07-13 Lawrence Mitchell <wence@gmx.li>
21063
21064 * net/browse-url.el (browse-url-default-browser)
21065 (browse-url-browser-function): Make the default browser choice a
21066 bit more logical (bug#4300). Also clean up the doc string.
21067
21068 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
21069
21070 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
21071 binary endings (bug#4440).
21072
21073 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
21074
21075 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
21076 which can be pretty annoying (bug#8971).
21077
21078 * jka-compr.el (jka-compr-verbose): New variable, and use
21079 throughout (bug#8971).
21080
21081 * info.el (Info-find-file): Fall back on the installation
21082 directory if we can't find the info node anywhere else.
21083
21084 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
21085
21086 * vc/vc.el (vc-revert-file):
21087 Don't set file time-stamp in the past. (Bug#5181)
21088
21089 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
21090
21091 * files.el (after-find-file): Give a better error message when
21092 trying to find a symlink that points to a file that doesn't exist
21093 (bug#4398).
21094
21095 * progmodes/cc-vars.el: Remove (probably) misleading comment
21096 (bug#4396).
21097
21098 2011-07-12 Johan BockgĂ¥rd <bojohan@gnu.org>
21099
21100 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
21101
21102 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
21103
21104 * mouse-sel.el: Hack restoring functionality, while keeping
21105 compatibility with 2010-07-03 changes to mouse selection.
21106 (mouse-sel-primary-overlay): New var.
21107 (mouse-sel-selection-alist): Use it.
21108 (mouse-sel-mode): Doc fix; remove points that are default features
21109 of mouse.el.
21110
21111 2011-07-12 Johan BockgĂ¥rd <bojohan@gnu.org>
21112
21113 * progmodes/compile.el (compilation-error-regexp-alist-alist):
21114 Fix previous fix (bug#2490).
21115
21116 2011-07-12 Roland Winkler <winkler@gnu.org>
21117
21118 * textmodes/bibtex.el (bibtex-initialize):
21119 Use pop-to-buffer-same-window.
21120 (bibtex-search-entries): Fix interactive call.
21121
21122 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
21123
21124 * progmodes/compile.el (compilation-error-regexp-alist-alist):
21125 Fontise bytecomp Error lines more correctly (bug#2490).
21126 Fix suggested by Johan BockgĂ¥rd.
21127
21128 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
21129
21130 * dired-x.el (dired-guess-default): Use `delete-dups'.
21131
21132 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
21133
21134 * dired.el (dired-mark-prompt):
21135 * dired-aux.el (dired-read-shell-command): Doc fix.
21136
21137 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
21138
21139 * mail/sendmail.el (sendmail-query-once):
21140 Use `customize-save-variable' unconditionally, now that it works under
21141 emacs -Q.
21142
21143 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
21144
21145 * cus-edit.el (custom-file): Take an optional no-error variable.
21146 (customize-save-variable): Set the variable, and give a warning if
21147 running under "emacs -q".
21148
21149 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
21150
21151 * loadhist.el (unload-feature-special-hooks):
21152 Add `auto-coding-functions', `fill-nobreak-predicate' and
21153 `find-directory-functions' (bug#5327).
21154
21155 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
21156
21157 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
21158
21159 * cus-edit.el (custom-guess-name-alist): -alist variables should
21160 use the `alist' type (bug#3120). Suggested by Drew Adams.
21161
21162 * printing.el: Add documentation to all the `pr-toggle-' commands.
21163
21164 2011-07-11 Leo Liu <sdl.web@gmail.com>
21165
21166 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
21167 backends where it makes sense (bug#2623).
21168
21169 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
21170
21171 * dired-x.el (dired-guess-default): Remove duplicate shell command
21172 entries (bug#2028).
21173 (dired-guess-default): Fix grammar in doc string (bug#2028).
21174 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
21175
21176 * subr.el (remove-duplicates): New conveniency function.
21177
21178 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
21179
21180 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
21181 (bug#1526).
21182
21183 2011-07-10 Martin Rudalics <rudalics@gmx.at>
21184
21185 * window.el (display-buffer-normalize-default): Don't invert
21186 meaning of even-window-heights. Reported by Eli Zaretskii
21187 <eliz@gnu.org>.
21188
21189 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
21190
21191 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
21192
21193 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
21194
21195 * window.el (display-buffer): Fix arguments to
21196 display-buffer-reuse-window in last change.
21197
21198 * faces.el (link): Use a less saturated blue on light backgrounds.
21199
21200 * startup.el (fancy-startup-text, fancy-about-text)
21201 (fancy-startup-tail): Use font-lock faces, for background safety.
21202
21203 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
21204
21205 * emulation/viper-cmd.el (viper-change-state-to-vi):
21206 Limit triggering of abbrev expansion (Bug#9038).
21207
21208 2011-07-09 Martin Rudalics <rudalics@gmx.at>
21209
21210 * window.el (display-buffer-default-specifiers): Remove.
21211 (display-buffer-macro-specifiers): Remove default specifiers.
21212 (display-buffer-alist): Default to nil.
21213 (display-buffer-reuse-window): New optional argument other-window.
21214 (display-buffer-pop-up-window): Allow splitting internal
21215 windows. Check whether a live window was created.
21216 (display-buffer-other-window-means-other-frame)
21217 (display-buffer-normalize-arguments): Rename to
21218 display-buffer-normalize-argument and rewrite. Set the
21219 other-window specifier.
21220 (display-buffer-normalize-special): New function.
21221 (display-buffer-normalize-options): Rename to
21222 display-buffer-normalize-default and rewrite.
21223 (display-buffer-normalize-options-inhibit): Remove.
21224 (display-buffer-normalize-specifiers): Rewrite.
21225 (display-buffer): Process other-window specifier and call
21226 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
21227 more faithfully.
21228 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
21229 (display-buffer-alist-set): Don't handle 'unset default values.
21230 (display-buffer-in-window, display-buffer-alist-set):
21231 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
21232 <tassilo@member.fsf.org>.
21233
21234 2011-07-09 Leo Liu <sdl.web@gmail.com>
21235
21236 * register.el (insert-register): Restore accidental change on
21237 2011-06-26. (Bug#9028)
21238
21239 2011-07-09 Glenn Morris <rgm@gnu.org>
21240
21241 * subr.el (remq): Handle the empty list. (Bug#9024)
21242
21243 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
21244
21245 * mail/sendmail.el (send-mail-function): No longer delay custom
21246 initialization.
21247 * custom.el (custom-initialize-delay): Doc fix.
21248
21249 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
21250
21251 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
21252
21253 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
21254
21255 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
21256 human-friendly prompt.
21257
21258 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
21259
21260 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
21261 provided by a particular plugin.
21262
21263 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
21264
21265 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
21266 save customizations (with "emacs -Q"), just set the variable
21267 instead of erroring out.
21268
21269 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
21270
21271 2011-07-08 Juri Linkov <juri@jurta.org>
21272
21273 * arc-mode.el (archive-zip-expunge, archive-zip-update)
21274 (archive-zip-update-case): Use 7z if found by `executable-find'.
21275 The order of searching the available programs is the same as in
21276 `archive-zip-extract' (bug#8968).
21277
21278 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
21279
21280 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
21281 (menu-bar-options-menu): Tweak descriptions.
21282
21283 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
21284
21285 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
21286 menu items into verb phrases (bug#1421). Also refill to fit under
21287 80 columns.
21288
21289 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
21290
21291 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
21292 (Info-read-node-name): Doc fix (Bug#1084).
21293
21294 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
21295 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
21296 (end-of-sexp, beginning-of-sexp)
21297 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
21298 (forward-symbol, forward-same-syntax, word-at-point)
21299 (sentence-at-point): Doc fix (Bug#1144).
21300
21301 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
21302
21303 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
21304 should cover it (bug#1281).
21305
21306 * cus-edit.el (custom-show): Mark as obsolete.
21307
21308 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
21309 negotiation fails, then possibly try again with a non-encrypted
21310 connection (bug#9017).
21311
21312 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
21313 be used.
21314
21315 2011-07-07 Richard Stallman <rms@gnu.org>
21316
21317 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
21318 property, and handle its changed format.
21319 Look for the correct line number.
21320 Use file's line contents (but not past first =) to find
21321 correct line in message.
21322
21323 2011-07-07 Kenichi Handa <handa@m17n.org>
21324
21325 * international/characters.el (build-unicode-category-table):
21326 Delete it.
21327 (unicode-category-table): Set it by unicode-property-table-internal.
21328
21329 * international/mule-cmds.el (char-code-property-alist): Move to
21330 to src/chartab.c.
21331 (get-char-code-property): Call unicode-property-table-internal to
21332 load a file. Call get-unicode-property-internal where necessary.
21333 (put-char-code-property): Call unicode-property-table-internal to
21334 load a file. Call put-unicode-property-internal where necessary.
21335 put-unicode-property-internal where necessary.
21336 (char-code-property-description):
21337 Call unicode-property-table-internal to load a file.
21338
21339 * international/charprop.el:
21340 * international/uni-bidi.el:
21341 * international/uni-category.el:
21342 * international/uni-combining.el:
21343 * international/uni-comment.el:
21344 * international/uni-decimal.el:
21345 * international/uni-decomposition.el:
21346 * international/uni-digit.el:
21347 * international/uni-lowercase.el:
21348 * international/uni-mirrored.el:
21349 * international/uni-name.el:
21350 * international/uni-numeric.el:
21351 * international/uni-old-name.el:
21352 * international/uni-titlecase.el:
21353 * international/uni-uppercase.el: Regenerate.
21354
21355 * loadup.el: Load international/charprop.el before
21356 international/characters.
21357
21358 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
21359
21360 * window.el (next-buffer, previous-buffer): Signal an error if
21361 called from a minibuffer window.
21362
21363 * bindings.el: Revert 2011-07-04 change.
21364
21365 2011-07-06 Richard Stallman <rms@gnu.org>
21366
21367 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
21368 (rmail-mime-insert-bulk, rmail-mime-insert-text):
21369 Treat markers like ints.
21370 (rmail-mime-entity): Doc fix.
21371
21372 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
21373
21374 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
21375 defcustom again for backwards compatibility.
21376
21377 * simple.el (shell-command-on-region): Fill.
21378
21379 * dired-aux.el (dired-kill-line): Add a doc string.
21380
21381 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
21382 to "\\sw\\|\\s_" (bug#358).
21383
21384 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
21385 (dired-unmark-backward): Ditto.
21386 (dired-flag-backup-files): Ditto.
21387
21388 * dired-x.el (dired-mark-sexp): Ditto.
21389
21390 2011-07-06 Richard Stallman <rms@gnu.org>
21391
21392 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
21393 (rmail-mime-entity): New arg TRUNCATED.
21394 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
21395 New functions.
21396 (rmail-mime-save): Warn if entity is truncated.
21397 (rmail-mime-toggle-hidden): Likewise, for showing.
21398 (rmail-mime-process-multipart): Record when an entity is truncated.
21399
21400 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
21401 if ENTITY is a string.
21402
21403 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
21404
21405 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
21406 of faces when `M-C-x'-ing their definitions (bug#8378).
21407 Also clean up the code slightly.
21408
21409 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
21410 because that makes the colors go away.
21411
21412 * mail/sendmail.el (send-mail-function): Change the default to
21413 `sendmail-query-once'.
21414 (sendmail-query-once): Add an autoload cookie.
21415
21416 * net/network-stream.el (network-stream-open-starttls): Try using
21417 a plain connection even if the server offered STARTTLS, and we
21418 kinda wanted to use it, if Emacs doesn't have any STARTTLS
21419 capability. This should make smtpmail.el work in slightly more
21420 configurations.
21421
21422 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
21423
21424 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
21425 New defun.
21426 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
21427
21428 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
21429
21430 * progmodes/sql.el: Version 3.0
21431 (sql-product-alist): Add product :completion-object,
21432 :completion-column, and :statement attributes.
21433 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
21434 (sql-mode-syntax-table): Mark all punctuation.
21435 (sql-font-lock-keywords-builder): Temporarily remove fallback on
21436 ansi keywords.
21437 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
21438 (sql-mode-oracle-font-lock-keywords): Improve.
21439 (sql-oracle-show-reserved-words): New function for development.
21440 (sql-product-font-lock): Simplify for source code buffers.
21441 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
21442 New functions.
21443 (sql-highlight-product): Set product specific syntax table.
21444 (sql-mode-map): Add statement movement functions.
21445 (sql-ansi-statement-starters, sql-oracle-statement-starters):
21446 New variable.
21447 (sql-statement-regexp, sql-beginning-of-statement)
21448 (sql-end-of-statement, sql-signum): New functions.
21449 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
21450 (sql-show-sqli-buffer): Bug fix.
21451 (sql-interactive-mode): Store connection data as buffer local.
21452 (sql-connect): Add NEW-NAME parameter. Redesign interaction
21453 with sql-interactive-mode.
21454 (sql-save-connection): Save buffer local settings.
21455 (sql-connection-menu-filter): Change menu entry name.
21456 (sql-product-interactive): Bug fix.
21457 (sql-preoutput-hold): New variable.
21458 (sql-interactive-remove-continuation-prompt): Bug fixes.
21459 (sql-debug-redirect): New variable.
21460 (sql-str-literal): New function.
21461 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
21462 Redesign.
21463 (sql-oracle-save-settings, sql-oracle-restore-settings)
21464 (sql-oracle-list-all, sql-oracle-list-table): New functions.
21465 (sql-completion-object, sql-completion-column)
21466 (sql-completion-sqlbuf): New variables.
21467 (sql-build-completions-1, sql-build-completions)
21468 (sql-try-completion): New functions.
21469 (sql-read-table-name): Use them.
21470 (sql-contains-names): New buffer local variable.
21471 (sql-list-all, sql-list-table): Use it.
21472 (sql-oracle-completion-types): New variable.
21473 (sql-oracle-completion-object, sql-sqlite-completion-object)
21474 (sql-postgres-completion-object): New functions.
21475
21476 2011-07-06 Glenn Morris <rgm@gnu.org>
21477
21478 * window.el (pop-to-buffer): Doc fix.
21479
21480 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
21481
21482 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
21483
21484 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
21485
21486 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
21487
21488 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
21489
21490 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
21491
21492 * button.el (button): Inherit from link face. Suggested by Dan
21493 Nicolaescu.
21494
21495 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
21496
21497 * progmodes/gdb-mi.el: Fit in 80 columns.
21498 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
21499 switch-to-buffer.
21500
21501 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
21502 if imenu is simply not configured (bug#8941).
21503
21504 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
21505
21506 * allout.el (allout-post-undo-hook): New allout outline-change
21507 event hook to signal undo activity.
21508 (allout-post-command-business): Run allout-post-undo-hook if an
21509 undo just occurred.
21510 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
21511 * allout-widgets.el (allout-widgets-after-undo-function):
21512 Ensure the integrity of the current item's decoration after it has been
21513 in the vicinity of an undo.
21514 (allout-widgets-mode): Include allout-widgets-after-undo-function
21515 on the new allout-post-undo-hook.
21516
21517 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
21518
21519 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
21520 Let define-derived-mode define it.
21521 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
21522 cycles of abbrev-table inheritance (bug#8998).
21523
21524 2011-07-05 Roland Winkler <winkler@gnu.org>
21525
21526 * textmodes/bibtex.el: Add support for biblatex.
21527 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
21528 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
21529 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
21530 (bibtex-entry-alist, bibtex-field-alist): New variables.
21531 (bibtex-entry-field-alist): Obsolete alias for
21532 bibtex-BibTeX-entry-alist.
21533 (bibtex-entry-alist, bibtex-field-alist): New widgets.
21534 (bibtex-set-dialect): New command.
21535 (bibtex-entry-type, bibtex-entry-head)
21536 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
21537 Bind via bibtex-set-dialect.
21538 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
21539 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
21540 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
21541 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
21542 Define via bibtex-set-dialect.
21543 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
21544 Obey bibtex-no-opt-remove-re.
21545 (bibtex-vec-push, bibtex-vec-incr): New functions.
21546 (bibtex-format-entry, bibtex-field-list)
21547 (bibtex-print-help-message, bibtex-validate)
21548 (bibtex-search-entries): Use new format of bibtex-entry-alist.
21549
21550 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
21551
21552 * progmodes/compile.el (compilation-goto-locus):
21553 * net/tramp-cmds.el (tramp-append-tramp-buffers):
21554 * bs.el (bs-cycle-next, bs-cycle-previous):
21555 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
21556 * bindings.el (mode-line-other-buffer):
21557 * autoinsert.el (auto-insert):
21558 * arc-mode.el (archive-extract):
21559 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
21560
21561 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
21562
21563 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
21564 Fix check of `emacs-lock-unlockable-modes'.
21565 Coerce true values of `emacs-lock--try-unlocking' to t.
21566
21567 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
21568
21569 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
21570 * emacs-lock.el: New file.
21571
21572 2011-07-05 Julien Danjou <julien@danjou.info>
21573
21574 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
21575 than `boundp' to check if face is set.
21576
21577 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
21578
21579 * register.el (registerv-make):
21580 * window.el (window-min-height): Fix typos in docstrings.
21581
21582 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
21583
21584 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
21585 Update doc string.
21586
21587 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
21588
21589 * server.el (server-execute): Catch quit and call
21590 `server-return-error' to pass the error back to emacsclient and
21591 close the connection (bug#8942).
21592
21593 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
21594
21595 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
21596 insecure exception for current topic. Also note that auto-saves
21597 are handled differently.
21598
21599 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
21600 State variables for tracking auto-save inhibition situation.
21601
21602 (allout-write-contents-hook-handler): Rename from
21603 'allout-write-file-hook-handler', and describe how it depends on
21604 write-contents-functions sensitivity to non-nil value to prevent
21605 file write.
21606
21607 (allout-auto-save-hook-handler): Remove. auto-save does not check
21608 this in individual buffers, only in the starting buffer, so this
21609 is not the right way for us to inhibit auto-save in a buffer
21610 according to its condition.
21611
21612 (allout-mode): Use new allout-write-contents-hook-handler, and
21613 only with write-contents-functions. Remove auto-save provisions -
21614 they're implemented elsewhere.
21615
21616 (allout-before-change-handler): If undo is in progress, note that
21617 for attention of allout-post-command-business.
21618
21619 (allout-post-command-business): If the command we're following was
21620 an undo, check for change in the status of encrypted items and
21621 adjust auto-save inhibitions accordingly.
21622
21623 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
21624 according to whether there are or aren't any plain-text topics
21625 pending encryption.
21626
21627 (allout-inhibit-auto-save-info-for-decryption):
21628 Adjust buffer-saved-size and some allout state to inhibit auto-saves
21629 if there are plain-text topics pending encryption.
21630
21631 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
21632 buffer-saved-size and some allout state to not inhibit auto-saves
21633 if there are no longer any plain-text topics pending encryption.
21634
21635 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
21636 No longer provide for exemption of the current topic.
21637
21638 2011-07-04 Juri Linkov <juri@jurta.org>
21639
21640 Add 7z operations to delete and save changed members (bug#8968).
21641 * arc-mode.el (archive-7z-expunge, archive-7z-update):
21642 New defcustoms.
21643 (archive-7z-write-file-member): New function.
21644 (archive-7z-summarize): Fix the number of dashes in the
21645 listing output.
21646
21647 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
21648
21649 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
21650 (bug#8958).
21651
21652 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
21653
21654 * bindings.el: Ignore next-buffer and previous-buffer in
21655 minibuffer-local-map.
21656
21657 * font-lock.el (font-lock-builtin-face): Change light background
21658 color to dark slate blue (Bug#6693).
21659
21660 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
21661
21662 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
21663
21664 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
21665
21666 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
21667 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
21668 Add switch-to-buffer.
21669
21670 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
21671
21672 * isearch.el (isearch-search-fun-function): Clarify further the
21673 meaning of the function returned.
21674
21675 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
21676
21677 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
21678
21679 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
21680 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
21681 Use it.
21682 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
21683 `tramp-default-remote-path' does not exist.
21684 (tramp-send-command-and-read): New optional argument NOERROR.
21685 (tramp-open-connection-setup-interactive-shell)
21686 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
21687 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
21688 (tramp-process-sentinel): Flush also process' connection property.
21689 (tramp-sh-handle-start-file-process): Do not set process
21690 sentinel. It is done now ...
21691 (tramp-maybe-open-connection): ... here. (Bug#8929)
21692
21693 2011-07-04 MON KEY <monkey@sandpframing.com>
21694
21695 * play/animate.el (animate-string): Doc fixes and allow changing
21696 the buffer name (bug#5417).
21697
21698 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
21699
21700 * play/animate.el (animation-buffer-name): Rename from *animate*.
21701
21702 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
21703
21704 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
21705 This is simpler and helps future-proof the code.
21706 (timer-until): Use time-subtract and float-time.
21707 (timer--time-less-p): Use time-less-p.
21708
21709 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
21710
21711 * type-break.el (timep): Use the value of `float-time' to avoid a
21712 byte-compiler warning.
21713
21714 * server.el (server-eval-and-print): Return any result, even nil.
21715
21716 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
21717
21718 * type-break.el: Accept time formats that the builtins accept.
21719 (timep, type-break-time-difference): Accept any format that
21720 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
21721 This is simpler and helps future-proof the code.
21722 (type-break-time-difference): Round rather than ignoring
21723 subseconds components.
21724
21725 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
21726
21727 * info.el (Info-apropos-matches): Make non-interactive, since it
21728 doesn't seem to do anything useful as a command (bug#8829).
21729
21730 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
21731
21732 * frame.el (frame-background-mode, frame-set-background-mode):
21733 Move from faces.el.
21734 (frame-default-terminal-background): New function.
21735
21736 * custom.el (custom-push-theme): Don't record faces in `changed'
21737 theme; this doesn't work correctly for per-frame face settings.
21738 (disable-theme): Use face-set-after-frame-default to reset faces.
21739 (custom--frame-color-default): New function.
21740
21741 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
21742
21743 * dired.el (dired-flagging-regexp): Remove unused variable
21744 (bug#8769).
21745
21746 2011-03-29 Kevin Ryde <user42@zip.com.au>
21747
21748 * progmodes/compile.el (compilation-error-regexp-alist-alist):
21749 `perl-Test2' extend to match possible "fail #N" rep count
21750 (bug#8377).
21751
21752 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
21753
21754 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
21755 `smtpmail-via-smtp' now returns the error instead of nil.
21756
21757 * isearch.el (isearch-search-fun-function): Clarify the doc string
21758 (bug#8101).
21759
21760 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
21761
21762 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
21763 unnecessary spaces (bug#8987).
21764
21765 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
21766
21767 * net/network-stream.el (open-network-stream): Use the
21768 :end-of-capability command thoughout.
21769
21770 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
21771
21772 * net/network-stream.el (open-network-stream): Add the
21773 :end-of-capability command parameter, used by pop3.el.
21774
21775 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
21776
21777 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
21778
21779 * fringe.el (fringe-query-style): Remove redundant text " (type ?
21780 for list)" (bug#6475).
21781
21782 * files.el (file-expand-wildcards): Ignore non-readable
21783 sub-directories while trying to find matches instead of signaling
21784 an error (bug#6297).
21785
21786 * man.el (Man-reference-regexp): Allow matching possible
21787 word-wrapped references (bug#6289).
21788
21789 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
21790 for consistency with the other vc buffers (bug#6197).
21791 (vc-checkin): Ditto.
21792
21793 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
21794
21795 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
21796
21797 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21798
21799 * custom.el (defcustom): Clarify that :set is only used in the
21800 Customize user interface (bug#6089).
21801
21802 * progmodes/flymake.el (flymake-mode): If the buffer isn't
21803 associated with a file, refuse to run instead of erroring out
21804 (bug#6084).
21805
21806 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
21807 the doc string, since it appears that using `fill-column' always
21808 controls the width (bug#7845).
21809
21810 * simple.el (shell-command-on-region): Say where the error output
21811 went if `shell-command-default-error-buffer' is set (bug#6857).
21812
21813 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
21814
21815 * allout.el (allout-yank-processing): Adjust cursor position for
21816 backwards-deleted space.
21817
21818 (allout-rebullet-heading): Register changes with
21819 allout-exposure-changed-hook, so the modified topic is properly
21820 decorated.
21821
21822 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21823
21824 * minibuffer.el (completion-in-region): Document PREDICATE
21825 (bug#7136).
21826
21827 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
21828 of keyword/argument pairs (bug#6904).
21829
21830 * replace.el (multi-occur):
21831 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
21832
21833 2011-07-02 Drew Adams <drew.adams@oracle.com>
21834
21835 * dired.el (dired-mark-if): Make the message about whether it's
21836 marking or unmarking clearer (bug#8523).
21837
21838 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21839
21840 * disp-table.el (display-table-print-array): New function.
21841 (describe-display-table): Use it to print the vectors more pretty
21842 (Bug#8859).
21843
21844 2011-07-02 Martin Rudalics <rudalics@gmx.at>
21845
21846 * window.el (window-state-get-1): Don't assign clone numbers.
21847 Add clone-of item to list of window parameters.
21848 (window-state-put-2): Don't process clone numbers.
21849 (display-buffer-alist): Fix doc-string.
21850
21851 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
21852
21853 * subr.el (remq): Don't allocate if it's not needed.
21854 (keymap--menu-item-binding, keymap--menu-item-with-binding)
21855 (keymap--merge-bindings): New functions.
21856 (keymap-canonicalize): Use them to refine the canonicalization.
21857 * minibuffer.el (minibuffer-local-completion-map)
21858 (minibuffer-local-must-match-map): Move initialization from C.
21859 (minibuffer-local-filename-completion-map): Move initialization from C;
21860 don't inherit from anything here.
21861 (minibuffer-local-filename-must-match-map): Make obsolete.
21862 (completing-read-default): Use make-composed-keymap to combine
21863 minibuffer-local-filename-completion-map with either
21864 minibuffer-local-must-match-map or
21865 minibuffer-local-filename-completion-map.
21866
21867 2011-07-01 Glenn Morris <rgm@gnu.org>
21868
21869 * type-break.el (type-break-time-sum): Use dolist.
21870
21871 * textmodes/flyspell.el (flyspell-word-search-backward):
21872 Replace CL function.
21873
21874 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
21875
21876 * mouse.el (mouse--strip-first-event): New function.
21877 (function-key-map): Use it to map fringe clicks to normal clicks
21878 by default.
21879
21880 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
21881 (vc-bzr-revision-completion-table): Add support for annotate and date.
21882
21883 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
21884 inherit from parent.
21885
21886 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
21887
21888 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
21889 (dired-show-file-type): Doc fixup (bug#8818).
21890
21891 * dired.el (dired-mode): Fix up the doc string as suggested by
21892 Drew Adams (bug#8817).
21893
21894 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
21895 cookie, since the manual says that it should be possible to add
21896 this function to `find-file-hook' (bug#8709).
21897
21898 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
21899
21900 * progmodes/cfengine.el: Moved all cfengine3.el functionality
21901 here. Noted Ted Zlatanov as the maintainer.
21902 (cfengine-common-settings, cfengine-common-syntax): New functions
21903 to set up common things between `cfengine-mode' and
21904 `cfengine3-mode'.
21905 (cfengine3-mode): New mode.
21906 (cfengine3-defuns cfengine3-defuns-regex
21907 (cfengine3-class-selector-regex cfengine3-category-regex)
21908 (cfengine3-vartypes cfengine3-font-lock-keywords)
21909 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
21910 (cfengine3-indent-line): Add from cfengine3.el.
21911
21912 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
21913
21914 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
21915
21916 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
21917
21918 2011-07-01 Martin Rudalics <rudalics@gmx.at>
21919
21920 * window.el (same-window-buffer-names, same-window-regexps)
21921 (same-window-p, special-display-frame-alist)
21922 (special-display-popup-frame, special-display-function)
21923 (special-display-buffer-names, special-display-regexps)
21924 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
21925 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
21926 (split-window-preferred-function, split-height-threshold)
21927 (split-width-threshold, even-window-heights)
21928 (display-buffer-mark-dedicated, window-splittable-p)
21929 (split-window-sensibly, window-safely-shrinkable-p):
21930 Un-obsolete.
21931 (display-buffer): Don't spread args with function specifier
21932 because special-display-popup-frame won't like it.
21933
21934 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
21935
21936 Time-stamp simplifications and fixes.
21937 These improve accuracy slightly, and future-proof the code
21938 against some potential changes to current-time format.
21939
21940 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
21941 by using time-since and float-time.
21942
21943 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
21944 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
21945 + NNN microseconds".
21946
21947 * type-break.el (type-break-time-sum): Rewrite using time-add.
21948
21949 * play/hanoi.el (hanoi-current-time-float): Remove.
21950 All uses replaced by float-time.
21951
21952 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
21953 This yields a more-accurate answer.
21954 (rng-time-to-float): Remove; no longer needed.
21955
21956 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
21957
21958 * calendar/timeclock.el (timeclock-seconds-to-time):
21959 Defalias to seconds-to-time, since they're the same thing.
21960
21961 * emacs-lisp/elp.el (elp-elapsed-time):
21962 * emacs-lisp/benchmark.el (benchmark-elapse):
21963 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
21964
21965 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
21966
21967 * window.el (bury-buffer): Don't iconify the only frame.
21968 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
21969 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
21970
21971 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
21972
21973 * eshell/em-smart.el (eshell-smart-display-navigate-list):
21974 Add mouse-yank-primary.
21975
21976 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
21977
21978 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
21979
21980 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
21981
21982 * emacs-lisp/find-func.el (find-library--load-name): New fun.
21983 (find-library-name): Use it to find relative load names when provided
21984 absolute file name (bug#8803).
21985
21986 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
21987
21988 * textmodes/flyspell.el (flyspell-word): Consider words that
21989 differ only in case as potential doublons (bug#5687).
21990
21991 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
21992 Remove two rather uninteresting debugging-like messages to make
21993 debbugs.el more silent.
21994
21995 * comint.el (comint-password-prompt-regexp): Accept "Response" as
21996 a password-like phrase.
21997
21998 2011-06-30 Masatake YAMATO <yamato@redhat.com>
21999
22000 * progmodes/cc-guess.el: New file.
22001
22002 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
22003
22004 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
22005 derived from `c-basic-common-init'.
22006
22007 * progmodes/cc-mode.el (top-level): Require cc-guess.
22008 (c-basic-common-init): Use `cc-choose-style-for-mode'.
22009
22010 2011-06-30 Lawrence Mitchell <wence@gmx.li>
22011
22012 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
22013
22014 2011-06-30 Alan Mackenzie <acm@muc.de>
22015
22016 * progmodes/cc-engine.el (c-guess-continued-construct):
22017 Correct the handling of template-args-cont, particularly for when font
22018 lock is disabled. Name this case as "CASE G".
22019
22020 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
22021
22022 * allout.el (allout-yank-processing): Fix injection of extra space
22023 between bullet and non-whitespace character in first topic when
22024 pasting, ensuring that the actual spacing in the pasted topic
22025 following the bullet char is preserved. This extra space was
22026 causing pasted encrypted topics to get a decrypted status even
22027 when the content was actually still encrypted. Now the decryption
22028 status from before the paste is preserved.
22029
22030 (allout-flag-region): Set all allout overlays so they evaporate
22031 when reduced to zero length (evanescent), to prevent overlay
22032 leakage.
22033
22034 2011-06-30 Glenn Morris <rgm@gnu.org>
22035
22036 * w32-fns.el (w32-charset-info-alist): Declare.
22037
22038 * find-dired.el (find-grep-options): Simplify.
22039
22040 * term/ns-win.el (ns-set-resource): Declare.
22041
22042 * ses.el (row, col): Declare dynamic variables honestly.
22043
22044 * textmodes/reftex-parse.el (index-tags): Declare.
22045
22046 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
22047
22048 * cus-edit.el (customize-push-and-save): New function.
22049
22050 * files.el (hack-local-variables-confirm): Use it.
22051
22052 * custom.el (load-theme): New arg NO-CONFIRM.
22053 Use customize-push-and-save (Bug#8720).
22054 (custom-enabled-themes): Doc fix.
22055
22056 * cus-theme.el (customize-create-theme)
22057 (custom-theme-merge-theme): Callers to load-theme changed.
22058
22059 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
22060
22061 * thingatpt.el (thing-at-point-short-url-regexp): Require that
22062 short URLs have at least one dot in them (bug #7614).
22063
22064 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
22065 nil, because using a pty is apparently too slow (bug #895).
22066
22067 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
22068
22069 * mail/sendmail.el (sendmail-query-once): New function.
22070 (sendmail-query-once-function): New variable.
22071
22072 2011-06-29 Glenn Morris <rgm@gnu.org>
22073
22074 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
22075
22076 * ses.el (top-level): Require cl when compiling.
22077 (ses-set-localvars): Fix error statement.
22078 Call it at compile time to silence a storm of warnings.
22079
22080 2011-06-29 Martin Rudalics <rudalics@gmx.at>
22081
22082 * window.el (normalize-live-buffer): Rename to
22083 window-normalize-buffer.
22084 (normalize-live-frame): Rename to window-normalize-frame.
22085 (normalize-any-window): Rename to window-normalize-any-window.
22086 (normalize-live-window): Rename to window-normalize-live-window.
22087 (make-window-atom): Rename to window-make-atom.
22088 (window-resize-reset): Rename to window--resize-reset.
22089 (window-resize-reset-1): Rename to window--resize-reset-1.
22090 (resize-mini-window): Rename to window--resize-mini-window.
22091 (resize-subwindows-skip-p): Rename to
22092 window--resize-subwindows-skip-p.
22093 (resize-subwindows-normal): Rename to
22094 window--resize-subwindows-normal.
22095 (resize-subwindows): Rename to window--resize-subwindows.
22096 (resize-other-windows): Rename to window--resize-siblings.
22097 (resize-this-window): Rename to window--resize-this-window.
22098 (resize-root-window): Rename to window--resize-root-window.
22099 (resize-root-window-vertically): Rename to
22100 window--resize-root-window-vertically.
22101 (normalize-buffer-to-display): Rename to
22102 window-normalize-buffer-to-display.
22103 (normalize-buffer-to-switch-to): Rename to
22104 window-normalize-buffer-to-switch-to.
22105 Correspondingly update all callers of the functions listed
22106 above.
22107 (display-buffer-alist, display-buffer-normalize-arguments)
22108 (display-buffer-normalize-options, display-buffer)
22109 (display-buffer-alist-set): Use "function" instead of
22110 "fun-with-args".
22111
22112 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
22113
22114 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
22115 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
22116 debbugs.gnu.org. Mention acknowledgment email.
22117
22118 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
22119
22120 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
22121 buffer multibyteness, since it shouldn't matter.
22122
22123 2011-06-28 Martin Rudalics <rudalics@gmx.at>
22124
22125 * window.el (display-buffer-in-side-window): Handle dedicated
22126 windows as in display-buffer-reuse-window.
22127 (display-buffer-normalize-alist): Use value of override
22128 specifier.
22129 (display-buffer-normalize-specifiers): Use value of
22130 other-window-means-other-frame specifier.
22131 (display-buffer-alist): Rewrite some texts in widgets.
22132 (display-buffer): Spread arguments when calling function
22133 specified by fun-with-args.
22134
22135 2011-06-28 Deniz Dogan <deniz@dogan.se>
22136
22137 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
22138 Unnest `let'.
22139
22140 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
22141 selectors (Bug#5732).
22142 (css-proprietary-nmstart-re): Use `regexp-opt'.
22143
22144 2011-06-27 Jari Aalto <jari.aalto@cante.net>
22145
22146 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
22147 (eshell-ls-date-format): New defcustom.
22148 (eshell-ls-file): Use it.
22149
22150 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
22151
22152 * help-fns.el (describe-variable): Fix message for terminal-local vars.
22153
22154 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
22155
22156 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
22157 (ange-ftp-make-tmp-name): New arg.
22158 (ange-ftp-file-local-copy): Use it.
22159
22160 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
22161
22162 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
22163 no-conversion (Bug#8870).
22164
22165 2011-06-27 Martin Rudalics <rudalics@gmx.at>
22166
22167 * window.el (window-right, window-left, window-child)
22168 (window-child-count, window-last-child)
22169 (window-iso-combination-p, walk-window-tree-1)
22170 (window-atom-check-1, window-tree-1, delete-window)
22171 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
22172 new naming conventions - window-vchild, window-hchild,
22173 window-next and window-prev are now called window-top-child,
22174 window-left-child, window-next-sibling and window-prev-sibling
22175 respectively.
22176 (resize-window-reset): Rename to window-resize-reset.
22177 (resize-window-reset-1): Rename to window-resize-reset-1.
22178 (resize-window): Rename to window-resize.
22179 (window-min-height, window-min-width)
22180 (resize-mini-window, resize-this-window, resize-root-window)
22181 (resize-root-window-vertically, adjust-window-trailing-edge)
22182 (enlarge-window, shrink-window, maximize-window)
22183 (minimize-window, delete-window, quit-restore-window)
22184 (split-window, balance-windows, balance-windows-area-adjust)
22185 (balance-windows-area, window-state-put-2)
22186 (display-buffer-even-window-sizes, display-buffer-set-height)
22187 (display-buffer-set-width, set-window-text-height)
22188 (fit-window-to-buffer): Rename all "resize-window" prefixed
22189 calls to use the "window-resize" prefix convention.
22190 (display-buffer-alist): Fix symbol for label specifier.
22191 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
22192 corresponding specifier.
22193 Reported by Juanma Barranquero <lekktu@gmail.com>.
22194
22195 2011-06-27 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
22196
22197 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
22198 convention.
22199 (ses-call-printer): Does not pass an empty string to formatter when the
22200 cell is empty to keep from barking printer Calc math-format-value.
22201
22202 2011-06-27 Richard Stallman <rms@gnu.org>
22203
22204 * battery.el (battery-mode-line-limit): New variable.
22205 (battery-update): Handle it.
22206
22207 * mail/rmailmm.el (rmail-mime-process-multipart):
22208 Handle truncated messages.
22209
22210 2011-06-27 Glenn Morris <rgm@gnu.org>
22211
22212 * progmodes/flymake.el (flymake-err-line-patterns):
22213 Allow for column numbers in the ant/javac pattern. (Bug#8866)
22214
22215 2011-06-27 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
22216
22217 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
22218 (ses--clean-!, ses--clean-_): New functions.
22219 (ses-range): Add configurability of readout order, and conversion
22220 to Calc vector.
22221
22222 * ses.el (ses-repair-cell-reference-all): New function.
22223 (ses-cell-symbol): Set macro as safe, so that it can be used in
22224 formulas.
22225
22226 * ses.el: Update cycle detection algorithm.
22227 (ses-localvars): Add ses--Dijkstra-attempt-nb and
22228 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
22229 (ses-set-localvars): New function.
22230 (ses-make-cell): Add property-list as a cell element.
22231 (ses-cell-property-get-fun, ses-cell-property-get)
22232 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
22233 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
22234 New functions.
22235 (ses-cell-property-set, ses-cell-property-pop)
22236 (ses-cell-property-get-handle): New macro.
22237 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
22238 New aliases, used for code readability.
22239 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
22240 cycle detection.
22241 (ses-self-reference-early-detection): New defcustom.
22242 (ses-formula-references): Robustify against self-referring cells.
22243 (ses-mode): Use ses-set-localvars.
22244 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
22245 before lauching the update processing.
22246 (ses-initialize-Dijkstra-attempt): New function.
22247 (ses-recalculate-cell): Update for cycle detection based on
22248 Dijkstra algorithm.
22249
22250 * ses.el: Fix commenting and indenting convention.
22251
22252 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
22253
22254 * bs.el (bs-cycle-next): Complete last change.
22255
22256 2011-06-27 Drew Adams <drew.adams@oracle.com>
22257
22258 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
22259
22260 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
22261
22262 * net/network-stream.el (network-stream-open-starttls):
22263 Don't re-get capabilities unless we've reestablished connection.
22264 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
22265
22266 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
22267 to binary to possibly avoid line encoding issues on Windows (among
22268 other things).
22269
22270 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
22271
22272 * net/network-stream.el (open-network-stream): Return an :error
22273 saying what the problem was, if possible.
22274
22275 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
22276 server.
22277
22278 * net/network-stream.el (network-stream-open-starttls): If we
22279 wanted to use STARTTLS, and the server offered it, but we weren't
22280 able to because we had no STARTTLS support, then close the connection.
22281 (open-network-stream): Return an :error element, if present.
22282
22283 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
22284
22285 * hl-line.el (hl-line-sticky-flag): Doc fix.
22286 (global-hl-line-sticky-flag): New option (Bug#8323).
22287 (global-hl-line-highlight): Obey it.
22288
22289 * vc/vc.el (vc-revert-show-diff): Default to t.
22290
22291 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
22292
22293 * allout-widgets.el (allout-widgets-post-command-business):
22294 Stop decorating intermediate isearch matches. They're not being
22295 undecorated when an isearch is continued past, and isearch
22296 automatically collapses them. This leads to "widget leaks", where
22297 decorated items accumulate in collapsed areas. Lines with lots of
22298 hidden widgets can slow down cursor travel, substantially.
22299 Too much complicated machinery would be needed to ensure undecoration,
22300 so we're doing without this nicety.
22301
22302 (allout-widgets-tally-string): Don't try to do a hash-table-count
22303 of allout-widgets-tally when it's nil. This eliminates spurious "Error
22304 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
22305 *Messages* when allout-widgets-maintain-tally is t.
22306
22307 2011-06-26 Martin Rudalics <rudalics@gmx.at>
22308
22309 * window.el (display-buffer-normalize-argument): Rename to
22310 display-buffer-normalize-arguments. Handle special meaning of
22311 LABEL argument. Respect special-display-function when popping up
22312 a new frame. Fix code searching for a window showing the buffer
22313 on another frame.
22314 (display-buffer-normalize-specifiers):
22315 Call display-buffer-normalize-arguments.
22316 (display-buffer-in-window): Don't undedicate the window if its
22317 buffer remains the same.
22318 Reported by Drew Adams <drew.adams@oracle.com>.
22319 (display-buffer-alist): Add choice for same-window macro
22320 specfier.
22321 (display-buffer): Mention special meaning of LABEL argument in
22322 doc-string. Fix quoting. Don't pop up a new frame even as
22323 fallback.
22324
22325 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
22326
22327 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
22328 avoid deleting the current window in some cases (bug#8911).
22329
22330 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
22331
22332 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
22333 (Bug#8934)
22334
22335 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
22336
22337 * net/network-stream.el (network-stream-open-starttls):
22338 Use built-in TLS support if `gnutls-available-p' is true.
22339 (network-stream-open-tls): Ditto.
22340
22341 2011-06-26 Leo Liu <sdl.web@gmail.com>
22342
22343 * register.el (registerv): New struct.
22344 (registerv-make): New function.
22345 (jump-to-register, describe-register-1, insert-register):
22346 Support the jump-func, print-func and insert-func slot of a registerv
22347 struct. (Bug#8415)
22348
22349 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
22350
22351 * vc/vc.el (vc-revert-show-diff): New defcustom.
22352 (vc-diff-internal): New arg specifying diff buffer.
22353 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
22354 reuse an existing *vc-diff* buffer (Bug#8927).
22355
22356 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
22357
22358 2011-06-26 Glenn Morris <rgm@gnu.org>
22359
22360 * progmodes/f90.el (f90-critical-indent): New option.
22361 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
22362 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
22363 (f90-mode): Doc fix.
22364 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
22365 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
22366 (f90-beginning-of-block, f90-next-block, f90-indent-region)
22367 (f90-match-end): Handle block, critical.
22368
22369 2011-06-25 Glenn Morris <rgm@gnu.org>
22370
22371 * calendar/diary-lib.el (diary-included-files): Doc fix.
22372 (diary-include-files): New function, extracted from
22373 diary-include-other-diary-files and diary-mark-included-diary-files.
22374 (diary-include-other-diary-files, diary-mark-included-diary-files):
22375 Just call diary-include-files.
22376 (diary-mark-entries): Reset diary-included-files on first call.
22377
22378 * calendar/diary-lib.el (diary-mark-entries)
22379 (diary-mark-included-diary-files):
22380 Visit included diary-files in temp buffers.
22381
22382 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
22383 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
22384 (f90-start-block-re, f90-imenu-generic-expression)
22385 (f90-looking-at-program-block-start, f90-no-block-limit):
22386 Add support for submodules.
22387
22388 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
22389 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
22390
22391 2011-06-25 Eli Zaretskii <eliz@gnu.org>
22392
22393 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
22394 buffer-file-type before setting its value, to avoid disastrous
22395 global effects on decoding files for DOS/Windows systems. (Bug#8780)
22396
22397 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
22398
22399 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
22400
22401 * ses.el (ses-unload-function):
22402 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
22403
22404 * proced.el (proced-unload-function):
22405 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
22406
22407 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
22408
22409 * server.el (server-create-window-system-frame): Add parameters arg.
22410 (server-process-filter): Doc fix. Handle frame-parameters.
22411
22412 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
22413
22414 Fix bug#8730, bug#8781.
22415
22416 * loadhist.el (unload--set-major-mode): New function.
22417 (unload-feature): Use it.
22418
22419 * progmodes/python.el (python-after-info-look): Add autoload cookie.
22420 (python-unload-function): New function.
22421
22422 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
22423
22424 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
22425
22426 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
22427
22428 * net/browse-url.el (browse-url-firefox-program): Add icecat to
22429 the candidates list.
22430
22431 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
22432
22433 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
22434
22435 2011-06-23 Richard Stallman <rms@gnu.org>
22436
22437 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
22438 (rmail-variables): Set next-error-move-function.
22439 (rmail-what-message): Take argument POS.
22440 (rmail-next-error-move): New function.
22441
22442 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
22443
22444 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
22445 messages for adjacent non-terminals.
22446
22447 2011-06-23 Richard Stallman <rms@gnu.org>
22448
22449 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
22450 (rmail-show-message-1): Preserve buffer modified flag.
22451 (rmail-start-mail): Don't specify use of rmail-mail-return;
22452 that's done by mail-bury now.
22453 (rmail-mail-return): Handle arg NEWBUF.
22454
22455 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
22456
22457 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
22458 SIZE is a number.
22459
22460 2011-06-23 Martin Rudalics <rudalics@gmx.at>
22461
22462 * window.el (get-lru-window, get-mru-window)
22463 (get-largest-window): Never return a minibuffer window.
22464 (display-buffer-pop-up-window): Fix a bug that could lead to
22465 reusing the minibuffer window.
22466 (display-buffer): Pass original specifier argument to
22467 display-buffer-function instead of the normalized one.
22468 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
22469
22470 2011-06-22 Leo Liu <sdl.web@gmail.com>
22471
22472 * minibuffer.el (completing-read-function)
22473 (completing-read-default): Move from minibuf.c.
22474
22475 2011-06-22 Richard Stallman <rms@gnu.org>
22476
22477 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
22478 to Rmail even if not started by a special Rmail command.
22479
22480 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
22481 Copy the buffer currently showing just one message.
22482
22483 2011-06-22 Roland Winkler <winkler@gnu.org>
22484
22485 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
22486 (bibtex-clean-entry): First delete the old key so that a
22487 customized algorithm for generating the new key does not get
22488 confused by the old key.
22489 (bibtex-url): Obey regexp of first step.
22490 (bibtex-search-entries): Do not use add-to-list with local
22491 list-var.
22492
22493 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
22494
22495 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
22496 stored a user name, then query for the password first, instead of
22497 waiting for SMTP to give an error message and the trying again.
22498
22499 2011-06-22 Lawrence Mitchell <wence@gmx.li>
22500
22501 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
22502 BUFFER in call-process.
22503
22504 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
22505
22506 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
22507 QUIT twice.
22508 (smtpmail-try-auth-methods): Require user name and password from
22509 auth-source.
22510
22511 2011-06-22 Martin Rudalics <rudalics@gmx.at>
22512
22513 * window.el (display-buffer-default-specifiers)
22514 (display-buffer-alist): Remove entries for pop-up-frame-alist.
22515 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
22516 (split-window): Normalize SIDE argument (Bug#8916).
22517
22518 * frame.el (pop-up-frame-alist, pop-up-frame-function)
22519 (special-display-frame-alist, special-display-popup-frame):
22520 Remove duplicate declarations. These are now in window.el.
22521
22522 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
22523
22524 * mail/smtpmail.el (smtpmail-via-smtp):
22525 Set :use-starttls-if-possible so that we always use STARTTLS if the
22526 server supports it. SMTP servers that support STARTTLS commonly
22527 require it.
22528
22529 * net/network-stream.el (network-stream-open-starttls): Support
22530 upgrading to STARTTLS always, even if we don't have built-in support.
22531 (open-network-stream): Add the :always-query-capabilities keyword.
22532
22533 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
22534 upgrades with `open-network-stream', and rely solely on
22535 auth-source for all credentials. Big changes throughout the file,
22536 but in particular:
22537 (smtpmail-auth-credentials): Remove.
22538 (smtpmail-starttls-credentials): Remove.
22539 (smtpmail-via-smtp): Check for servers saying they want AUTH after
22540 MAIL FROM, too.
22541
22542 * net/network-stream.el (network-stream-open-starttls):
22543 Provide support for client certificates both for external and built-in
22544 STARTTLS.
22545 (auth-source): Require.
22546 (open-network-stream): Document the :client-certificate keyword.
22547 (network-stream-certificate): Change cert-cert to cert and
22548 cert-key to key.
22549
22550 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
22551
22552 * net/tramp-cache.el (top): Don't load the persistency file when
22553 "emacs -Q" has been called.
22554
22555 2011-06-21 Tim Harper <timcharper@gmail.com>
22556
22557 * term/ns-win.el (ns-initialize-window-system):
22558 Set application-specific `ApplePressAndHoldEnabled' system
22559 resource to NO as it is not yet supported by the NS port.
22560
22561 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
22562
22563 * misc.el (list-dynamic-libraries--refresh): Compute header here...
22564 (list-dynamic-libraries): ...not here.
22565
22566 2011-06-21 Leo Liu <sdl.web@gmail.com>
22567
22568 * subr.el (sha1): Implement sha1 using secure-hash.
22569
22570 2011-06-21 Martin Rudalics <rudalics@gmx.at>
22571
22572 * window.el (display-buffer-alist): In default value do not
22573 enforce searching a window on any but the selected frame.
22574 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
22575 (display-buffer-select-window): Remove function.
22576 (display-buffer-in-window): When a window on another frame gets
22577 reused, do not select it any more but just raise its frame if
22578 necessary (Bug#8851) and (Bug#8856).
22579 (display-buffer-normalize-options): Handle pop-up-frames related
22580 options more faithfully.
22581 (pop-to-buffer): Don't rely on `display-buffer' selecting the
22582 window if it is on another frame.
22583 (display-buffer-alist, display-buffer-default-specifiers):
22584 Don't make new frame unsplittable by default.
22585 (display-buffer-normalize-argument): Fix doc-string typo and use
22586 'same-frame-other-window instead of 'other-window when associating
22587 with display-buffer-macro-specifiers.
22588
22589 2011-06-21 Vincent BelaĂ¯che <vincent.b.1@hotmail.fr>
22590
22591 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
22592 New functions.
22593 (5x5-mode-map, 5x5-mode-menu): Bind them.
22594 (5x5-draw-grid): Tweak the solver's rendering.
22595
22596 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
22597
22598 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
22599 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
22600
22601 2011-06-21 Drew Adams <drew.adams@oracle.com>
22602
22603 * menu-bar.el: Use function variable instead of switch-to-buffer.
22604 (menu-bar-select-buffer-function): New variable.
22605 (menu-bar-update-buffers): Use it (bug#8876).
22606
22607 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
22608
22609 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
22610 variable's status.
22611
22612 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
22613
22614 * x-dnd.el (x-dnd-version-from-flags)
22615 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
22616 and long as number (Bug#8899).
22617 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
22618
22619 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
22620
22621 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
22622 (completion-try-completion, completion-all-completions): Compute the
22623 metadata argument if it's missing; make it optional (bug#8795).
22624
22625 * wid-edit.el: Use lex-bind and move towards completion-at-point.
22626 (widget-complete): Use new :completion-function property.
22627 (widget-completions-at-point): New function.
22628 (default): Use :completion-function instead of :complete.
22629 (widget-default-completions): Rename from widget-default-complete;
22630 Rewrite.
22631 (widget-string-complete, widget-file-complete, widget-color-complete):
22632 Remove functions.
22633 (file, symbol, function, variable, coding-system, color):
22634 * international/mule-cmds.el (default-input-method, charset)
22635 (language-info-custom-alist):
22636 * cus-edit.el (face): Use new property :completions.
22637
22638 * progmodes/pascal.el (pascal-completions-at-point): New function.
22639 (pascal-mode): Use it.
22640 (pascal-mode-map): Use completion-at-point.
22641 (pascal-toggle-completions): Make obsolete.
22642 (pascal-complete-word, pascal-show-completions):
22643 * progmodes/octave-mod.el (octave-complete-symbol):
22644 Redefine as obsolete alias.
22645 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
22646 Signal absence of completion info for old Octave,
22647 (inferior-octave-complete): Redefine as obsolete alias.
22648 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
22649 (meta-completions-at-point): Rename from meta-complete-symbol and
22650 adapt it for use on completion-at-point-functions.
22651 (meta-common-mode): Use it.
22652 (meta-looking-at-backward, meta-match-buffer): Remove.
22653 (meta-complete-symbol): Redefine as obsolete alias.
22654 (meta-common-mode-map): Use completion-at-point.
22655 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
22656 (makefile-mode-map): Use completion-at-point.
22657 (makefile-completions-at-point): Rename from makefile-complete and
22658 adapt it for use on completion-at-point-functions.
22659 (makefile-mode): Use it.
22660 (makefile-complete): Redefine as obsolete alias.
22661
22662 2011-06-20 Deniz Dogan <deniz@dogan.se>
22663
22664 * net/rcirc.el: Delete trailing whitespaces once and for all.
22665
22666 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
22667
22668 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
22669
22670 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
22671
22672 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
22673
22674 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
22675
22676 2011-06-19 Martin Rudalics <rudalics@gmx.at>
22677
22678 * window.el (display-buffer-other-window-means-other-frame):
22679 Call display-buffer-normalize-alist.
22680 (display-buffer-normalize-specifiers-1): Rename to
22681 display-buffer-normalize-argument. New argument other-frame.
22682 Rewrite.
22683 (display-buffer-normalize-specifiers-2): Rename to
22684 display-buffer-normalize-options.
22685 (display-buffer-normalize-alist-1): New function.
22686 (display-buffer-normalize-specifiers-3): Rename to
22687 display-buffer-normalize-alist.
22688 Call display-buffer-normalize-alist-1.
22689 (display-buffer-normalize-options-inhibit): New variable.
22690 (display-buffer-normalize-specifiers): Rewrite calling
22691 display-buffer-normalize-alist,
22692 display-buffer-normalize-argument, and
22693 display-buffer-normalize-options. Don't call the latter if
22694 display-buffer-normalize-options-inhibit is non-nil.
22695 (frame-auto-delete): New option.
22696 (window-deletable-p): Use frame-auto-delete.
22697 (window-list-no-nils, window-state-ignored-parameters)
22698 (window-state-get-1, window-state-get, window-state-put-list)
22699 (window-state-put-1, window-state-put-2, window-state-put):
22700 New functions.
22701 (display-buffer-normalize-options): Move special-display-p group
22702 after pop-up-frame group (Bug#8851) and (Bug#8856).
22703
22704 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
22705
22706 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
22707 groups (Bug#8776).
22708 (rx-submatch-n): New function.
22709 (rx): Document it.
22710
22711 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
22712 (Bug#8768).
22713
22714 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
22715
22716 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
22717
22718 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
22719 anytime existing face settings are present (Bug#8889).
22720
22721 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
22722 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
22723 Remove unused argument.
22724
22725 2011-06-18 Martin Rudalics <rudalics@gmx.at>
22726
22727 * window.el (display-buffer-default-specifiers):
22728 Remove pop-up-frame. Add pop-up-window-min-height,
22729 pop-up-window-min-width, and another reuse-window specifier
22730 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
22731 (display-buffer-normalize-specifiers-2):
22732 Handle split-height-threshold and split-width-threshold also when
22733 pop-up-windows is unset. Add a reuse-window specifier for the
22734 case popping up a new window fails.
22735 (special-display-popup-frame): Remove double quoting.
22736 (display-buffer-normalize-specifiers-1): Fix thinko.
22737
22738 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
22739
22740 * shell.el (shell-completion-vars): Set pcomplete-termination-string
22741 according to comint-completion-addsuffix.
22742
22743 * pcomplete.el: Convert to lexical binding and fix bug#8819.
22744 (pcomplete-suffix-list): Mark as obsolete.
22745 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
22746 pcomplete-seen in the closure.
22747 (pcomplete-comint-setup): Setup completion-at-point as well.
22748 (pcomplete--entries): New function.
22749 (pcomplete--env-regexp): New var.
22750 (pcomplete-entries): Rewrite to work with partial-completion and
22751 without relying on pcomplete-suffix-list.
22752 (pcomplete-pare-list): Remove, unused.
22753
22754 2011-06-17 Martin Rudalics <rudalics@gmx.at>
22755
22756 * window.el (display-buffer-alist): Set pop-up-window-min-height
22757 and pop-up-window-min-width in default value. Reported by
22758 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
22759 other-window-means-other-frame.
22760 (display-buffer-macro-specifiers): Comment out entry for
22761 other-window specifier.
22762 (display-buffer-other-window-means-other-frame): New function.
22763 (display-buffer-normalize-specifiers-1): New arguments
22764 buffer-name and label. Treat other-window case specially.
22765 (display-buffer-normalize-specifiers-2): Treat other-window case
22766 specially.
22767 (display-buffer-normalize-specifiers-3): New function.
22768 (display-buffer-normalize-specifiers):
22769 Call display-buffer-normalize-specifiers-3.
22770
22771 2011-06-17 Martin Rudalics <rudalics@gmx.at>
22772
22773 * window.el (same-window-p): Fix two typos introduced when
22774 adding with-no-warnings.
22775 (display-buffer-normalize-specifiers-1): Don't check
22776 pop-up-frames for 'unset initialization.
22777 (display-buffer-normalize-specifiers-2): Major rewrite using
22778 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
22779 (pop-up-frames, display-buffer-reuse-frames)
22780 (display-buffer-mark-dedicated): Don't initialize to 'unset.
22781 Suggested by David Engster <deng@randomsample.de>.
22782 (even-window-heights): Initialize to 'unset.
22783 (display-buffer-alist-set): Handle new 'unset initializations.
22784 (display-buffer-macro-specifiers): Don't pop up a new frame in the
22785 other window case.
22786
22787 2011-06-16 Martin Rudalics <rudalics@gmx.at>
22788
22789 * window.el (display-buffer-normalize-specifiers-1):
22790 Respect current value of pop-up-frames for most reasonable values of
22791 second argument of display-buffer (Bug#8865).
22792 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
22793 (switch-to-buffer-other-window-same-frame)
22794 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
22795 Adams (Bug#8875).
22796 (display-buffer): Don't check noninteractive when calling
22797 display-buffer-pop-up-frame.
22798 (display-buffer-pop-up-frame): Never pop up a frame in
22799 noninteractive mode (Bug#8857).
22800 (enlarge-window, shrink-window): Don't report an error when the
22801 window can't be resized as requested (Bug#8862).
22802
22803 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
22804
22805 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
22806
22807 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
22808
22809 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
22810
22811 2011-06-15 Alan Mackenzie <acm@muc.de>
22812
22813 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
22814 for declarators, disable knr checking to speed up for normal files.
22815 2: Refactor, replacing a sequence of nested if forms by a cond form.
22816
22817 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
22818
22819 * net/network-stream.el (open-network-stream): Add the keyword
22820 :always-query-capabilities for the case where you want to force a
22821 `plain' network connection, but the protocol still requires the
22822 capabilitiy command (i.e., SMTP and EHLO).
22823
22824 * subr.el (process-live-p): Rename from `process-alive-p' for
22825 consistency with other `-live-p' functions.
22826
22827 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
22828
22829 * window.el (same-window-buffer-names, same-window-regexps)
22830 (special-display-frame-alist, special-display-popup-frame)
22831 (special-display-function, special-display-buffer-names)
22832 (special-display-regexps, pop-up-frame-alist)
22833 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
22834 (pop-up-windows, split-window-preferred-function)
22835 (split-height-threshold, split-width-threshold, even-window-heights)
22836 (display-buffer-mark-dedicated): Don't encourage the use of
22837 display-buffer-alist from Elisp code.
22838
22839 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
22840
22841 * progmodes/python.el (python-mode): Derive from prog-mode.
22842 * progmodes/ps-mode.el (ps-mode):
22843 * progmodes/mixal-mode.el (mixal-mode):
22844 * progmodes/cfengine.el (cfengine-mode):
22845 * progmodes/ld-script.el (ld-script-mode): Likewise.
22846
22847 2011-06-15 Martin Rudalics <rudalics@gmx.at>
22848
22849 * window.el (display-buffer-alist): Trim default value to avoid
22850 popping up a new frame (Bug#8857) or reusing an arbitrary window
22851 on another frame.
22852 (display-buffer): Do not fall back on popping up a new frame in
22853 batch mode (Bug#8857).
22854
22855 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
22856
22857 * cus-theme.el (describe-theme-1): Use custom-theme-p.
22858 (custom-theme-summary): New function.
22859 (customize-themes): Use it.
22860
22861 2011-06-13 Glenn Morris <rgm@gnu.org>
22862
22863 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
22864
22865 2011-06-13 Martin Rudalics <rudalics@gmx.at>
22866
22867 * help.el (help-window): Remove variable.
22868 (help-window-point-marker, temp-buffer-max-height)
22869 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
22870 (help-print-return-message): Don't set help-window.
22871 (resize-temp-buffer-window): Rewrite cod eand doc-string.
22872 (help-window-setup-finish): Remove.
22873 (help-window-display-message, help-window-setup)
22874 (with-help-window): Major rewrite based on new
22875 display-buffer-window variable.
22876
22877 * help-mode.el (help-mode-finish): Remove help-window related
22878 code.
22879
22880 * view.el (view-exits-all-viewing-windows): Remove reference to
22881 view-return-to-alist in doc-string.
22882 (view-return-to-alist): Make obsolete.
22883 (view-buffer): Call pop-to-buffer-same-window and remove
22884 undo-window code.
22885 (view-buffer-other-window): Call pop-to-buffer-other-window and
22886 simplify code. Ignore second argument.
22887 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
22888 simplify code. Ignore second argument.
22889 (view-return-to-alist-update): Make obsolete.
22890 (view-mode-enter): Rename second argument to QUIT-RESTORE.
22891 Rewrite using quit-restore window parameters.
22892 (view-mode-exit): Rename second argument to EXIT-ONLY.
22893 Rewrite using quit-restore-window.
22894 (View-exit, View-exit-and-edit, View-leave, View-quit)
22895 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
22896 appropriate arguments.
22897 (view-end-message): Use quit-restore window parameter.
22898
22899 * window.el (display-buffer-function): Rewrite doc-string.
22900 (display-buffer-window, display-buffer-alist): New variables.
22901 (display-buffer-split-specifiers)
22902 (display-buffer-side-specifiers)
22903 (display-buffer-macro-specifiers): New constants.
22904 (display-buffer-even-window-sizes, display-buffer-set-height)
22905 (display-buffer-set-width, display-buffer-select-window)
22906 (display-buffer-in-window, display-buffer-reuse-window)
22907 (display-buffer-split-window-1, display-buffer-split-window)
22908 (display-buffer-split-atom-window, display-buffer-pop-up-window)
22909 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
22910 (display-buffer-in-side-window, normalize-buffer-to-display)
22911 (display-buffer-normalize-specifiers-1)
22912 (display-buffer-normalize-specifiers-2)
22913 (display-buffer-normalize-specifiers, display-buffer-frame):
22914 New functions.
22915 (display-buffer): Major rewrite.
22916 (display-buffer-other-window, display-buffer-other-frame)
22917 (pop-to-buffer, switch-to-buffer-other-window)
22918 (switch-to-buffer-other-frame): Rewrite.
22919 (display-buffer-same-window, display-buffer-same-frame)
22920 (display-buffer-same-frame-other-window)
22921 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
22922 (pop-to-buffer-other-window)
22923 (pop-to-buffer-same-frame-other-window)
22924 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
22925 (switch-to-buffer-other-window-same-frame): New functions.
22926 (same-window-p, special-display-p): Rewrite disabling warnings.
22927 Make obsolete.
22928 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
22929 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
22930 Make obsolete
22931 (same-window-buffer-names, same-window-regexps)
22932 (special-display-frame-alist, special-display-popup-frame)
22933 (special-display-function, special-display-buffer-names)
22934 (special-display-regexps, pop-up-frame-alist)
22935 (pop-up-frame-function, split-window-preferred-function)
22936 (split-height-threshold, split-width-threshold)
22937 (even-window-heights): Make obsolete.
22938
22939 2011-06-12 Glenn Morris <rgm@gnu.org>
22940
22941 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
22942 Misc simplifications.
22943
22944 2011-06-12 Martin Rudalics <rudalics@gmx.at>
22945
22946 * window.el (window-safely-shrinkable-p): Restore function which
22947 was inadvertently removed in change from 2011-06-11. Declare as
22948 obsolete.
22949
22950 * calendar/calendar.el (calendar-generate-window):
22951 Use window-iso-combined-p instead of combination of one-window-p and
22952 window-safely-shrinkable-p.
22953
22954 2011-06-12 Glenn Morris <rgm@gnu.org>
22955
22956 * progmodes/fortran.el (fortran-mode-syntax-table):
22957 * progmodes/f90.el (f90-mode-syntax-table):
22958 Set % to punctuation. (Bug#8820)
22959 (f90-find-tag-default): Remove, no longer needed.
22960
22961 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
22962
22963 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
22964
22965 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
22966
22967 * image.el (image-animated-p): Return animation delay in seconds.
22968 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
22969 (image-animate-timeout): Remove DELAY argument. Don't assume
22970 every subimage has the same delay; get it from image-animated-p.
22971 (image-animate): Caller changed.
22972
22973 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
22974
22975 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
22976 to ignored backtrace functions.
22977
22978 2011-06-11 Glenn Morris <rgm@gnu.org>
22979
22980 * calendar/appt.el (appt-disp-window-function): Doc fix.
22981 (appt-check): Handle overlapping appointments. (Bug#8337)
22982
22983 2011-06-11 Martin Rudalics <rudalics@gmx.at>
22984
22985 * window.el (window-tree-1, window-tree): New functions, moving
22986 the latter to window.el.
22987 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
22988 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
22989 (bw-refresh-edges): Remove.
22990 (balance-windows-1, balance-windows-2): New functions.
22991 (balance-windows): Rewrite in terms of window tree functions,
22992 balance-windows-1 and balance-windows-2.
22993 (bw-adjust-window): Remove.
22994 (balance-windows-area-adjust): New function with functionality of
22995 bw-adjust-window but using resize-window.
22996 (set-window-text-height): Rewrite doc-string.
22997 Use normalize-live-window and resize-window.
22998 (enlarge-window-horizontally, shrink-window-horizontally):
22999 Rename argument to DELTA.
23000 (window-buffer-height): New function.
23001 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
23002 Rewrite using new window resize routines.
23003 (kill-buffer-and-window, mouse-autoselect-window-select):
23004 Use ignore-errors instead of condition-case.
23005 (quit-window): Call delete-frame instead of delete-windows-on
23006 for the only buffer on frame.
23007
23008 2011-06-10 Martin Rudalics <rudalics@gmx.at>
23009
23010 * loadup.el (top-level): Load window before files for the sake
23011 of replace-buffer-in-windows.
23012
23013 * files.el (read-buffer-to-switch)
23014 (switch-to-buffer-other-window)
23015 (switch-to-buffer-other-frame, display-buffer-other-frame):
23016 Move to window.el.
23017
23018 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
23019 (previous-buffer): Move to window.el.
23020
23021 * bindings.el (unbury-buffer): Move to window.el.
23022
23023 * window.el (delete-other-windows-vertically): Move after
23024 definition of delete-other-windows.
23025 (other-window, delete-windows-on, replace-buffer-in-windows):
23026 Move here from window.c.
23027 (record-window-buffer, unrecord-window-buffer)
23028 (set-window-buffer-start-and-point, switch-to-prev-buffer)
23029 (switch-to-next-buffer): New functions.
23030 (get-next-valid-buffer, last-buffer, next-buffer): Move here
23031 from simple.el. Call switch-to-next-buffer.
23032 (previous-buffer): Move here from simple.el.
23033 Call switch-to-prev-buffer.
23034 (bury-buffer): Move here from buffer.c. Switch to previous
23035 buffer when window cannot be deleted.
23036 (unbury-buffer): Move here from bindings.el.
23037 (ctl-x-map): Move binding for other-window from window.c to
23038 here.
23039 (read-buffer-to-switch, switch-to-buffer-other-window)
23040 (switch-to-buffer-other-frame): Move here from files.el.
23041 (normalize-buffer-to-switch-to): New functions.
23042 (switch-to-buffer): Move here from buffer.c.
23043 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
23044
23045 2011-06-10 Martin Rudalics <rudalics@gmx.at>
23046
23047 * window.el (window-min-height, window-min-width): Move here
23048 from window.c. Add defcustoms and rewrite doc-strings.
23049 (resize-mini-window, resize-window): New functions.
23050 (adjust-window-trailing-edge, enlarge-window, shrink-window):
23051 Move here from window.c.
23052 (maximize-window, minimize-window): New functions.
23053 (delete-window, delete-other-windows, split-window): Move here
23054 from window.c.
23055 (window-split-min-size): New function.
23056 (split-window-keep-point): Mention split-window-above-each-other
23057 instead of split-window-vertically.
23058 (split-window-above-each-other, split-window-vertically):
23059 Rename split-window-vertically to split-window-above-each-other
23060 and provide defalias for old definition.
23061 (split-window-side-by-side, split-window-horizontally):
23062 Rename split-window-horizontally to split-window-side-by-side
23063 and provide defalias for the old definition.
23064 (ctl-x-map): Move bindings for delete-window,
23065 delete-other-windows and enlarge-window here from window.c.
23066 Replace bindings for split-window-vertically and
23067 split-window-horizontally by bindings for
23068 split-window-above-each-other and split-window-side-by-side.
23069
23070 * cus-start.el (all): Remove entries for window-min-height and
23071 window-min-width. Add entries for window-splits and
23072 window-nest.
23073
23074 2011-06-09 Glenn Morris <rgm@gnu.org>
23075
23076 * calendar/appt.el (appt-mode-line): New function.
23077 (appt-check, appt-disp-window): Use it.
23078
23079 * files.el (hack-one-local-variable-eval-safep):
23080 Allow minor-modes with explicit +/-1 arguments.
23081
23082 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
23083
23084 * term/xterm.el (xterm): Add defgroup.
23085 (xterm-extra-capabilities): Add defcustom to supply known xterm
23086 capabilities, skip querying them, or query them (default).
23087 (terminal-init-xterm): Use it.
23088 (terminal-init-xterm-modify-other-keys): New function to set up
23089 modifyOtherKeys support to simplify `terminal-init-xterm'.
23090
23091 2011-06-09 Martin Rudalics <rudalics@gmx.at>
23092
23093 * window.el (resize-window-reset, resize-window-reset-1)
23094 (resize-subwindows-skip-p, resize-subwindows-normal)
23095 (resize-subwindows, resize-other-windows, resize-this-window)
23096 (resize-root-window, resize-root-window-vertically)
23097 (window-deletable-p, window-or-subwindow-p)
23098 (frame-root-window-p): New functions.
23099
23100 2011-06-09 Glenn Morris <rgm@gnu.org>
23101
23102 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
23103 (ange-ftp-get-files): Use it.
23104
23105 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
23106
23107 * mail/sendmail.el (mail-recover-1, mail-recover):
23108 * files.el (recover-file, recover-session):
23109 Handle dired-listing-switches not being just a single short option.
23110
23111 2011-06-09 Glenn Morris <rgm@gnu.org>
23112
23113 * calendar/appt.el (appt-display-message, appt-disp-window):
23114 Handle lists of appointments.
23115
23116 2011-06-08 Martin Rudalics <rudalics@gmx.at>
23117
23118 * window.el (one-window-p): Move down in code.
23119 Rewrite doc-string.
23120 (window-current-scroll-bars): Rewrite doc-string.
23121 Normalize live window argument.
23122 (walk-windows, get-window-with-predicate, count-windows):
23123 Rewrite doc-string. Use window-list-1.
23124 (window-in-direction-2, window-in-direction, get-mru-window):
23125 New functions.
23126
23127 2011-06-08 Reuben Thomas <rrt@sc3d.org>
23128
23129 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
23130 Doc fix (Bug#8713).
23131
23132 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
23133
23134 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
23135
23136 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
23137
23138 * loadhist.el (unload-feature-special-hooks):
23139 Add `comint-output-filter-functions'.
23140
23141 2011-06-08 Ivan Kanis <gnu@kanis.fr>
23142
23143 * calendar/appt.el (appt-check): Move some initializations into the let.
23144
23145 2011-06-08 Martin Rudalics <rudalics@gmx.at>
23146
23147 * window.el (window-height): Defalias to window-total-height.
23148 (window-width): Defalias to window-body-width.
23149
23150 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
23151
23152 * image-mode.el (image-toggle-animation): New command.
23153 (image-mode-map): Bind it to RET.
23154 (image-mode): Update message.
23155 (image-toggle-display-image): Avoid a spurious cache flush.
23156 (image-transform-rotation): Doc fix.
23157 (image-transform-properties): Return quickly in the normal case.
23158 (image-animate-loop): Rename from image-animate-max-time.
23159
23160 * image.el (image-animate-max-time): Move to image-mode.el.
23161 (create-animated-image): Remove unnecessary function.
23162 (image-animate): Rename from image-animate-start. New arg.
23163 (image-animate-stop): Remove; just use image-animate-timer.
23164 (image-animate-timer): Use car-safe.
23165 (image-animate-timeout): Rename argument.
23166
23167 2011-06-07 Martin Rudalics <rudalics@gmx.at>
23168
23169 * window.el (get-lru-window, get-largest-window): Move here from
23170 window.c. Rename first argument to ALL-FRAMES.
23171 Rephrase doc-strings.
23172 (get-buffer-window-list): Rewrite using window-list-1.
23173 Rephrase doc-string.
23174 (window-safe-min-height, window-safe-min-width): New constants.
23175 (window-size-ignore, window-min-size, window-min-size-1)
23176 (window-sizable, window-sizable-p, window-size-fixed-1)
23177 (window-size-fixed-p, window-min-delta-1, window-min-delta)
23178 (window-max-delta-1, window-max-delta, window-resizable)
23179 (window-resizable-p, window-total-height, window-total-width)
23180 (window-body-width): New functions.
23181 (window-full-height-p, window-full-width-p): Rewrite using
23182 window-total-size.
23183 (window-body-height): Rewrite using window-body-size.
23184
23185 2011-06-06 Martin Rudalics <rudalics@gmx.at>
23186
23187 * window.el (window-right, window-left, window-child)
23188 (window-child-count, window-last-child, window-any-p)
23189 (normalize-live-buffer, normalize-live-frame)
23190 (normalize-any-window, normalize-live-window)
23191 (window-iso-combination-p, window-iso-combined-p)
23192 (window-iso-combinations)
23193 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
23194 (windows-with-parameter, window-with-parameter)
23195 (window-atom-root, make-window-atom, window-atom-check-1)
23196 (window-atom-check, window-side-check, window-check):
23197 New functions.
23198 (ignore-window-parameters, window-sides, window-sides-vertical)
23199 (window-sides-slots): New variables.
23200 (window-size-fixed): Move down in code. Minor doc-string fix.
23201
23202 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
23203
23204 * comint.el (comint-dynamic-complete-as-filename)
23205 (comint-dynamic-complete-filename): Correctly call
23206 completion-in-region.
23207
23208 2011-06-05 Deniz Dogan <deniz@dogan.se>
23209
23210 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
23211 in last change.
23212
23213 2011-06-05 Deniz Dogan <deniz@dogan.se>
23214
23215 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
23216 (rcirc): Use it to prompt for encryption.
23217
23218 2011-06-05 Roland Winkler <winkler@gnu.org>
23219
23220 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
23221 (bibtex-search-entries): New command bound to C-c C-a.
23222 (bibtex-display-entries): New function.
23223
23224 2011-06-05 Roland Winkler <winkler@gnu.org>
23225
23226 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
23227 (bibtex-insert-kill): After yanking insert newline if necessary.
23228 (bibtex-initialize): Call bibtex-string-files-init only once.
23229 (bibtex-mode): Do not call easy-menu-add.
23230 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
23231 (bibtex-yank): Set arg properly if nil.
23232
23233 2011-06-05 Roland Winkler <winkler@gnu.org>
23234
23235 * textmodes/bibtex.el (bibtex-search-entry-globally):
23236 New variable.
23237 (bibtex-search-entry): Use it.
23238
23239 2011-06-05 Roland Winkler <winkler@gnu.org>
23240
23241 * textmodes/bibtex.el (bibtex-entry-format): New option
23242 sort-fields.
23243 (bibtex-format-entry, bibtex-reformat): Honor this option.
23244 (bibtex-parse-entry): Return fields in proper order.
23245
23246 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
23247
23248 * doc-view.el (doc-view-remove-if): Move computation of result out
23249 of `dolist' to silence misleading lexical-binding warning.
23250
23251 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
23252
23253 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
23254 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
23255
23256 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
23257
23258 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
23259 "SunOS 5.10".
23260
23261 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
23262
23263 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
23264 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
23265 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
23266 (tramp-parse-putty):
23267 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
23268 (tramp-completion-function-alist-ssh)
23269 (tramp-completion-function-alist-telnet)
23270 (tramp-completion-function-alist-su)
23271 (tramp-completion-function-alist-putty): Set `tramp-autoload'
23272 cookie.
23273
23274 * net/tramp-ftp.el:
23275 * net/tramp-sh.el:
23276 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
23277 load "tramp.el" `tramp-set-completion-function'.
23278
23279 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
23280
23281 * shell.el: Require and use pcomplete.
23282 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
23283 (shell-completion-vars): Set pcomplete-default-completion-function.
23284
23285 2011-06-04 Deniz Dogan <deniz@dogan.se>
23286
23287 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
23288 `memq' (Bug#8799).
23289
23290 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
23291
23292 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
23293
23294 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
23295
23296 * bs.el (bs--mark-unmark, bs--nth-wrapper):
23297 * mpc.el (mpc-select-extend, mpc-songpointer-context):
23298 * vc/log-view.el (log-view-beginning-of-defun):
23299 * vc/smerge-mode.el (smerge-apply-resolution-patch)
23300 (smerge-refine-forward, smerge-refine-chopup-region):
23301 Silence warning for unused `dotimes' counter variables.
23302
23303 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
23304
23305 * net/tramp.el (tramp-with-progress-reporter): Rename from
23306 with-progress-reporter. Use `declare'.
23307 * net/tramp-smb.el:
23308 * net/tramp-sh.el:
23309 * net/tramp-gvfs.el: Update all uses.
23310
23311 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
23312
23313 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
23314 buffer isn't killed before making it current.
23315
23316 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
23317
23318 Silence various byte-compiler warnings.
23319 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
23320 `access-type' and new obsolescence format.
23321 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
23322 new format.
23323 (byte-compile-check-variable): New `access-type' argument.
23324 Only warn if the access-type is obsolete.
23325 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
23326 (byte-compile-variable-set): Adjust callers.
23327 * help-fns.el (describe-variable): Adjust to new obsolescence format.
23328 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
23329 setting it as obsolete.
23330 * simple.el (minibuffer-completing-symbol):
23331 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
23332 access as obsolete.
23333 * minibuffer.el (minibuffer-completing-file-name): Don't make it
23334 obsolete yet.
23335 * international/quail.el (quail-mouse-choose-completion): Remove unused
23336 code referring to obsolete var.
23337 (quail-choose-completion-string): Remove.
23338 * server.el (server-clients-with, server-kill-buffer-query-function)
23339 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
23340 * proced.el (proced-send-signal):
23341 * emacs-lisp/lisp.el (lisp-complete-symbol):
23342 Replace completion-annotate-function with completion-extra-properties.
23343
23344 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
23345
23346 * simple.el (goto-line): Use read-number.
23347 (overriding-map-is-bound): Remove.
23348 (saved-overriding-map): Change default.
23349 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
23350 Take the map as argument.
23351 (universal-argument, negative-argument, digit-argument): Use it.
23352 (restore-overriding-map): Adjust.
23353 (do-auto-fill): Use fill-forward-paragraph.
23354 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
23355
23356 * minibuffer.el (minibuffer-inactive-mode-map): New var.
23357 (minibuffer-inactive-mode): New major mode.
23358 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
23359 the *Messages* buffer" hack.
23360 (mouse-popup-menubar): Don't burp if the event is a normal key.
23361
23362 Miscellaneous tweaks.
23363 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
23364 lexical scoping as in subr.el's dolist and dotimes.
23365 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
23366 Silence compiler warning.
23367 * thingatpt.el (forward-whitespace): Trivial coding style fix.
23368 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
23369 * international/ccl.el (ccl-compile): Trivial simplification.
23370 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
23371 * emacs-lisp/testcover.el (testcover-end): Remove spurious
23372 `printflag' argument.
23373 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
23374 Purecopy the whole obsolescence data.
23375
23376 2011-06-01 Leo Liu <sdl.web@gmail.com>
23377
23378 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
23379 improve doc-string as suggested by Marco Pessotto
23380 <melmothx@gmail.com>.
23381 (rcirc-print): Fix last change.
23382
23383 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
23384
23385 * minibuffer.el (complete-with-action): Return nil for the metadata and
23386 boundaries of non-functional tables.
23387 (completion-table-dynamic): Return nil for the metadata.
23388 (completion-table-with-terminator): Add default case, using
23389 complete-with-action.
23390 (completion--metadata): New function.
23391 (completion-all-sorted-completions, minibuffer-completion-help): Use it
23392 to try and avoid pathological performance problems.
23393 (completion--embedded-envvar-table): Return `category' metadata.
23394
23395 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
23396
23397 * subr.el (process-alive-p): New tiny convenience function.
23398
23399 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
23400
23401 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
23402 content but also its previous major mode.
23403
23404 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
23405
23406 * emacs-lisp/debug.el (debug): Restore the previous content of the
23407 *Backtrace* buffer when we exit with C-M-c.
23408
23409 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
23410
23411 * minibuffer.el: Add metadata method to completion tables.
23412 (completion-category-overrides): New defcustom.
23413 (completion-metadata, completion--field-metadata)
23414 (completion-metadata-get, completion--styles)
23415 (completion--cycle-threshold): New functions.
23416 (completion-try-completion, completion-all-completions):
23417 Add `metadata' argument to choose completion-styles.
23418 (completion--do-completion): Use metadata to choose cycling.
23419 (completion-all-sorted-completions): Use metadata for sorting.
23420 Remove :completion-cycle-penalty which is not needed any more.
23421 (completion--try-word-completion): Add `metadata' argument.
23422 (minibuffer-completion-help): Check metadata for annotation function
23423 and sorting.
23424 (completion-file-name-table): Return `category' metadata.
23425 (minibuffer-completing-file-name): Make obsolete.
23426 * simple.el (minibuffer-completing-symbol): Make obsolete.
23427 * icomplete.el (icomplete-completions): Pass new `metadata' param to
23428 completion-try-completion.
23429
23430 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
23431
23432 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
23433
23434 2011-05-30 Leo Liu <sdl.web@gmail.com>
23435
23436 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
23437 (rcirc-print): Decode all incoming messages (bug#8744).
23438 (rcirc-decode-coding-system): Allow value nil for automatic coding
23439 system detection.
23440
23441 2011-06-01 Glenn Morris <rgm@gnu.org>
23442
23443 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
23444
23445 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
23446
23447 * image.el (image-animate-max-time): Allow nil and t values.
23448 Default to nil.
23449 (create-animated-image): Doc fix.
23450 (image-animate-start): Remove second arg; just use
23451 image-animate-max-time.
23452 (image-animate-timeout): Doc fix. Args changed.
23453
23454 * image-mode.el (image-toggle-display-image): Ensure that the
23455 image spec passed to the animate timer is the same object as in
23456 the buffer's display property (Bug#6981).
23457 (image-transform-properties): Doc fix.
23458
23459 * image.el (image-animate-max-time): Default to nil.
23460
23461 2011-05-29 Martin Rudalics <rudalics@gmx.at>
23462
23463 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
23464 entire buffer list (Bug#8184).
23465
23466 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
23467
23468 * image.el (imagemagick-types-inhibit)
23469 (imagemagick-register-types): Doc fix.
23470
23471 2011-05-29 Deniz Dogan <deniz@dogan.se>
23472
23473 * net/rcirc.el (rcirc): Use the user's stored encryption method by
23474 default.
23475
23476 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
23477
23478 * select.el: Don't perform clipboard-manager saving in hooks;
23479 leave the hooks empty.
23480
23481 2011-05-28 Leo Liu <sdl.web@gmail.com>
23482
23483 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
23484 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
23485 (occur-edit-mode): New major mode (Bug#8463).
23486 (occur-after-change-function): New function.
23487 (occur-engine): Give Occur tags a read-only property.
23488
23489 2011-05-28 Kevin Ryde <user42@zip.com.au>
23490
23491 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
23492
23493 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
23494
23495 * bindings.el (help-echo): Make the initial non-indicator dash
23496 empty on graphical terminals (Bug#7295).
23497
23498 * files.el (auto-mode-alist): Move config rule after the
23499 in-stripping one (Bug#8547).
23500
23501 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
23502
23503 * startup.el (normal-splash-screen): Remove gratuitous mode-line
23504 setting (Bug#8740).
23505
23506 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
23507
23508 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
23509 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
23510 (Bug#8539).
23511
23512 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
23513
23514 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
23515
23516 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
23517
23518 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
23519 (hs-hide-block-at-point, hs-find-block-beginning)
23520 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
23521 (Bug#8279).
23522
23523 2011-05-28 Glenn Morris <rgm@gnu.org>
23524
23525 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
23526
23527 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
23528
23529 * help-fns.el (describe-function-1): If the function is a derived
23530 major mode, print the parent mode.
23531
23532 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
23533 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
23534
23535 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
23536
23537 * minibuffer.el (completion--capf-wrapper): Check applicability before
23538 returning non-nil for non-exclusive completion data.
23539 * progmodes/etags.el (tags-completion-at-point-function):
23540 * info-look.el (info-lookup-completions-at-point): Mark as
23541 non-exclusive.
23542 (info-complete): Adjust accordingly.
23543
23544 * info-look.el: Convert to lexical-binding and completion-at-point.
23545 (info-lookup-completions-at-point): New function.
23546 (info-complete): Use it and completion-in-region.
23547
23548 2011-05-28 Drew Adams <drew.adams@oracle.com>
23549
23550 * isearch.el: Let M-e start with point at the first mismatched char.
23551 (isearch-fail-pos): New function.
23552 (isearch-edit-string): Use it.
23553
23554 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
23555
23556 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
23557
23558 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
23559
23560 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
23561 traversal functions for avl-trees.
23562 (avl-tree--stack): New struct.
23563 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
23564 (avl-tree-enter): Add optional `updatefun' arg.
23565 (avl-tree--do-enter): Add optional `updatefun' arg.
23566 Change return value.
23567 (avl-tree-delete): Add optional `test' and `nilflag' args.
23568 (avl-tree--do-delete): Add `test' and `nilflag' args.
23569 Change return value.
23570 (avl-tree-member): Add optional `nilflag'
23571 (avl-tree-member-p): New function.
23572 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
23573 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
23574 (avl-tree-stack-empty-p): New functions.
23575
23576 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
23577 avl-tree--del-balance1 and make it work both ways.
23578 (avl-tree--del-balance2): Remove.
23579 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
23580 make it work both ways.
23581 (avl-tree--enter-balance2): Remove.
23582 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
23583 New macros.
23584 (avl-tree--mapc, avl-tree-map): Add direction argument.
23585
23586 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
23587
23588 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
23589
23590 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
23591
23592 * select.el: Support clipboard managers with built-in function
23593 x-clipboard-manager-save, via delete-frame-functions and
23594 kill-emacs-hook.
23595 (xselect-convert-to-targets): Add MULTIPLE target to list.
23596 (xselect-convert-to-save-targets): New function.
23597
23598 2011-05-27 Kenichi Handa <handa@m17n.org>
23599
23600 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
23601 let-binding rfc2047-encode-encoded-words to nil.
23602
23603 2011-05-27 Glenn Morris <rgm@gnu.org>
23604
23605 * mail/emacsbug.el: Don't require url-util.
23606
23607 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
23608
23609 * files.el (set-auto-mode):
23610 Also respect mode: entries at the end of the file. (Bug#8586)
23611
23612 2011-05-26 Glenn Morris <rgm@gnu.org>
23613
23614 * files.el (hack-local-variables-prop-line, hack-local-variables):
23615 Downcase mode names, as seems to be traditional.
23616 (hack-local-variables, hack-local-variables-apply): Doc fixes.
23617
23618 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
23619 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
23620
23621 2011-05-25 Julien Danjou <julien@danjou.info>
23622
23623 * textmodes/rst.el (rst-define-level-faces): Do not define face
23624 symbol if it is already defined.
23625
23626 2011-05-24 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
23627
23628 * play/5x5.el (5x5-new-game, 5x5-randomize):
23629 Reset 5x5-solver-output to nil when a new grid is cast.
23630 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
23631 these debugging traces, as defmacro breaks the compiled code.
23632
23633 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
23634
23635 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
23636
23637 2011-05-24 Leo Liu <sdl.web@gmail.com>
23638
23639 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
23640 (vc-bzr-sha1): Adapt.
23641
23642 * sha1.el: Remove. Function `sha1' is now builtin.
23643
23644 * bindings.el: Provide sha1 feature.
23645
23646 2011-05-24 Kenichi Handa <handa@m17n.org>
23647
23648 * mail/sendmail.el: Require `rfc2047'.
23649 (mail-insert-from-field): Do not perform RFC2047 encoding.
23650 (mail-encode-header): New function.
23651 (sendmail-send-it): Set buffer-file-coding-system of the work
23652 buffer to the return value of select-message-coding-system.
23653 Call mail-encode-header.
23654
23655 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
23656
23657 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
23658
23659 * mail/supercite.el (sc-default-cite-frame):
23660 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
23661
23662 2011-05-24 Glenn Morris <rgm@gnu.org>
23663
23664 * progmodes/python.el (brm-menu): Declare.
23665
23666 * emulation/viper.el (viper-set-hooks): Declare.
23667
23668 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
23669 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
23670 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
23671 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
23672 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
23673 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
23674
23675 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
23676
23677 Add an :exit-function for completion-at-point.
23678
23679 * minibuffer.el (completion--done): New fun.
23680 (completion--do-completion): Use it. New arg `expect-exact'.
23681 (minibuffer-complete, minibuffer-complete-word): Don't output message,
23682 since completion--do-completion does it for us now.
23683 (minibuffer-force-complete): Use completion--done and
23684 completion--replace. Handle sole-completion case with more care.
23685 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
23686 (completion-extra-properties): New var.
23687 (completion-annotate-function): Make obsolete.
23688 (minibuffer-completion-help): Adjust accordingly.
23689 Use completion-list-insert-choice-function.
23690 (completion-at-point, completion-help-at-point):
23691 Bind completion-extra-properties.
23692 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
23693 * simple.el (completion-list-insert-choice-function): New var.
23694 (completion-setup-function): Preserve it.
23695 (choose-completion): Pay attention to it, shuffle the code a bit.
23696 (choose-completion-string): New arg `insert-function'.
23697
23698 * textmodes/bibtex.el: Convert to lexical binding.
23699 (bibtex-mode-map): Use completion-at-point.
23700 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
23701 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
23702 (bibtex-complete): Define as obsolete alias.
23703 (bibtex-complete-internal): Remove.
23704 (bibtex-format-entry): Remove unused sub-group in regexp.
23705 * shell.el (shell--command-completion-data)
23706 (shell-environment-variable-completion):
23707 * pcomplete.el (pcomplete-completions-at-point):
23708 * comint.el (comint--complete-file-name-data): Use :exit-function
23709 instead of completion-table-with-terminator so it also works for
23710 choose-completion.
23711
23712 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
23713
23714 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
23715
23716 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
23717 (bug#8710).
23718
23719 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
23720
23721 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
23722
23723 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
23724 customization variable and implement: If non-nil, auto-fill will
23725 be inhibited while on topic's header line.
23726
23727 2011-05-23 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
23728
23729 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
23730 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
23731 always have a solution in grid size = 5 cases.
23732 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
23733 (5x5-solver-output, 5x5-log-buffer): New vars.
23734 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
23735 Make these variables buffer local to achieve 5x5 multi-session-ness.
23736 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
23737 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
23738 (5x5-solve-suggest): New funs.
23739 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
23740 randomize a grid so that we ensure that there is always a solution.
23741 (5x5-make-random-grid): Allow other movement than flipping.
23742
23743 2011-05-23 Kevin Ryde <user42@zip.com.au>
23744
23745 * emacs-lisp/advice.el (ad-read-advised-function):
23746 Use `function-called-at-point' as the default, if it has
23747 advice and passes PREDICATE.
23748
23749 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
23750
23751 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
23752 byte-compile-lambda if it's actually a lambda.
23753
23754 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
23755 Fix function quoting. Use backquote better.
23756
23757 2011-05-22 Yuanle Song <sylecn@gmail.com>
23758
23759 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
23760 matching (Bug#8516).
23761
23762 2011-05-22 Jari Aalto <jari.aalto@cante.net>
23763
23764 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
23765 different face (Bug#8178).
23766
23767 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
23768
23769 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
23770 defface (Bug#8144).
23771
23772 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
23773
23774 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
23775 funcall as well (bug#8712). Warn when performing those conversions.
23776 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
23777
23778 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
23779
23780 2011-05-22 Glenn Morris <rgm@gnu.org>
23781
23782 * files.el (hack-local-variables-prop-line): Small simplifications.
23783 (hack-local-variables, hack-local-variables-prop-line):
23784 If MODE-ONLY, return the mode, rather than just `t'.
23785
23786 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
23787
23788 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
23789
23790 2011-05-21 Glenn Morris <rgm@gnu.org>
23791
23792 * files.el (hack-local-variables-prop-line, hack-local-variables):
23793 If only interested in the mode, don't bother doing the other stuff.
23794
23795 * image-mode.el (image-after-revert-hook):
23796 Redraw all frames on which the image is visible. (Bug#8567)
23797
23798 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
23799
23800 * wid-edit.el (widget-checklist-match-inline):
23801 Fix 2011-04-19 change. (Bug#8649)
23802
23803 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
23804
23805 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
23806 Also allow singlespace after single-letter capitals followed by a dot.
23807
23808 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
23809 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
23810
23811 2011-05-20 Nix <nix@esperi.org.uk>
23812
23813 * files.el (basic-save-buffer-2):
23814 Fix handling of break-hardlink-on-save with non-existent files.
23815
23816 2011-05-19 Deniz Dogan <deniz@dogan.se>
23817
23818 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
23819 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
23820
23821 2011-05-19 Glenn Morris <rgm@gnu.org>
23822
23823 * progmodes/f90.el (f90-type-def-re):
23824 Handle "type, bind(c)". (Bug#8691)
23825
23826 * emacs-lisp/autoload.el (batch-update-autoloads):
23827 Set autoload-excludes by parsing loadup.el rather than Makefiles.
23828
23829 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
23830
23831 * net/tramp.el (tramp-process-actions): Set "first-password-request"
23832 property for the correct connection in case of multihops.
23833
23834 2011-05-18 Glenn Morris <rgm@gnu.org>
23835
23836 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
23837 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
23838
23839 Rationalize calendar handling of day and month abbrev-arrays.
23840 * calendar/calendar.el (calendar-customized-p): New function.
23841 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
23842 (calendar-day-name-array, calendar-month-name-array): Doc fix.
23843 Add :set function.
23844 (calendar-abbrev-length, calendar-day-abbrev-array)
23845 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
23846 (calendar-day-abbrev-array, calendar-month-abbrev-array):
23847 Elements may no longer be nil.
23848 (calendar-day-name, calendar-month-name):
23849 Update for changed nature of abbrev arrays.
23850 * calendar/diary-lib.el (diary-name-pattern):
23851 Update for changed nature of abbrev arrays.
23852 (diary-mark-entries-1): Update calendar-make-alist calls.
23853 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
23854 * calendar/cal-html.el (cal-html-day-abbrev-array):
23855 Simply inherit from calendar-day-abbrev-array.
23856
23857 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
23858
23859 * progmodes/grep.el (grep-mode): Disable default
23860 compilation-directory-matcher setting (bug#8684).
23861
23862 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
23863
23864 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
23865 instead of "head" and "tail". There were problems with SunOS 5.9,
23866 and it performs better.
23867
23868 2011-05-17 Glenn Morris <rgm@gnu.org>
23869
23870 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
23871
23872 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
23873 Replace obsolete function.
23874
23875 * shell.el (pcomplete-parse-arguments-function): Declare.
23876
23877 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
23878 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
23879 (appt-check): Doc fixes.
23880 (appt-disp-window-function, appt-delete-window-function):
23881 Remove needless special case in custom :type.
23882 (appt-display-count): Default to 0, not nil.
23883 (appt-check): Reset appt-display-count to 0, not nil.
23884
23885 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
23886
23887 * progmodes/python.el (python-font-lock-keywords):
23888 Add the Python 3.X keyword "nonlocal" (bug#8639).
23889
23890 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
23891
23892 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
23893
23894 2011-05-16 Kevin Ryde <user42@zip.com.au>
23895
23896 * info-look.el (makefile-automake-mode): New setups, looking in
23897 automake manual, then makefile-mode.
23898 (makefile-mode): Remove automake manual, have it just in
23899 makefile-automake-mode since there's various things different or
23900 not relevant to plain make.
23901 (makefile-mode): Remove "other-modes" non-existent automake-mode,
23902 believe a hypothetical automake-mode would go to makefile-mode,
23903 not the other way around.
23904
23905 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
23906
23907 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
23908 hunk-end tags (Bug#8672).
23909
23910 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
23911 vc-annotate-show-diff-revision-at-line (Bug#8671).
23912
23913 2011-05-14 Glenn Morris <rgm@gnu.org>
23914
23915 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
23916 in the middle of an existing one with multiple authors. (Bug#8645)
23917 (change-log-font-lock-keywords): Also handle multiple author lines
23918 with leading tabs. (Bug#8644)
23919
23920 * calendar/appt.el (appt-check): Rename some local variables.
23921 Some simplification/reordering.
23922
23923 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
23924 (feedmail-sendmail-f-doesnt-sell-me-out)
23925 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
23926 (feedmail-debug-sit-for, feedmail-queue-express-hook)
23927 (feedmail-queue-runner-message-sender): Set :version.
23928 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
23929 (bbdb-dwim-net-address, vm-mail): Declare.
23930 (feedmail-binmail-gnulinuxish-template):
23931 Rename from feedmail-binmail-linuxish-template.
23932 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
23933 Use insert-buffer-substring.
23934
23935 2011-05-14 Bill Carpenter <bill@carpenter.org>
23936
23937 * mail/feedmail.el (feedmail-patch-level): Increase.
23938 (feedmail-debug): New custom group.
23939 (feedmail-confirm-outgoing-timeout)
23940 (feedmail-sendmail-f-doesnt-sell-me-out)
23941 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
23942 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
23943 (feedmail-sender-line, feedmail-from-line)
23944 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
23945 (feedmail-spray-this-address)
23946 (feedmail-spray-address-fiddle-plex-list)
23947 (feedmail-queue-use-send-time-for-date)
23948 (feedmail-queue-use-send-time-for-message-id)
23949 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
23950 (feedmail-buffer-eating-function):
23951 Doc fixes.
23952 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
23953 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
23954 (feedmail-message-action-scroll-down): New functions.
23955 (feedmail-queue-directory, feedmail-queue-draft-directory):
23956 Use expand-file-name.
23957 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
23958 Remove C-v help entry.
23959 (feedmail-queue-buffer-file-name): New variable.
23960 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
23961 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
23962 (feedmail-message-action-send-strong, feedmail-message-action-edit)
23963 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
23964 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
23965 (feedmail-message-action-toggle-spray)
23966 (feedmail-run-the-queue-no-prompts)
23967 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
23968 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
23969 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
23970 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
23971 (feedmail-envelope-deducer, feedmail-fiddle-from)
23972 (feedmail-fiddle-sender, feedmail-default-date-generator)
23973 (feedmail-fiddle-date, feedmail-fiddle-message-id)
23974 (feedmail-fiddle-spray-address)
23975 (feedmail-fiddle-list-of-spray-fiddle-plexes)
23976 (feedmail-fiddle-list-of-fiddle-plexes)
23977 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
23978 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
23979 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
23980 Change default. Doc fix.
23981 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
23982 (feedmail-binmail-linuxish-template): New constant.
23983 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
23984 Respect feedmail-sendmail-f-doesnt-sell-me-out.
23985 (feedmail-send-it): Add debug call.
23986 Use feedmail-queue-buffer-file-name, and
23987 feedmail-send-it-immediately-wrapper.
23988 (feedmail-message-action-send): Add debug call.
23989 Use feedmail-send-it-immediately-wrapper.
23990 (feedmail-queue-express-to-queue): Add debug call.
23991 Run feedmail-queue-express-hook.
23992 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
23993 (feedmail-message-action-help-blat):
23994 Rename from feedmail-queue-send-edit-prompt-help-first.
23995 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
23996 Check line-endings. Handle errors better.
23997 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
23998 Doc fix. Add debug call.
23999 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
24000 Use feedmail-queue-send-edit-prompt-inner.
24001 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
24002 (feedmail-queue-send-edit-prompt-inner): New function, extracted
24003 from feedmail-queue-send-edit-prompt.
24004 (feedmail-queue-send-edit-prompt-help)
24005 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
24006 (feedmail-tidy-up-slug): Add debug call.
24007 Respect feedmail-queue-slug-suspect-regexp.
24008 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
24009 (feedmail-dump-message-to-queue): Add debug call.
24010 Expand queue-directory.
24011 (feedmail-dump-message-to-queue): Change message slightly.
24012 Use feedmail-say-chatter.
24013 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
24014 (feedmail-send-it-immediately-wrapper): New function.
24015 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
24016 Insert empty string rather than newline. Handle full-frame case.
24017 Use catch/throw. Use feedmail-say-chatter.
24018 (feedmail-fiddle-from): Try mail-host-address.
24019 (feedmail-default-message-id-generator): Doc fix.
24020 Bind system-time-locale. Handle missing end.
24021 (feedmail-fiddle-x-mailer): Add debug call.
24022 Handle feedmail-x-mailer-line being nil.
24023 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
24024 Add debug call. Use buffer-substring-no-properties.
24025 (feedmail-say-debug, feedmail-say-chatter): New functions.
24026 (feedmail-find-eoh): Give an explicit error.
24027
24028 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
24029
24030 * net/newst-treeview.el (newsticker-treeview-face): Change default
24031 family from helvetica to sans.
24032 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
24033 etc/images/newsticker.
24034
24035 * net/newst-reader.el (newsticker-feed-face): Change default
24036 family from helvetica to sans.
24037
24038 * net/newst-plainview.el (newsticker-new-item-face)
24039 (newsticker-old-item-face, newsticker-immortal-item-face)
24040 (newsticker-obsolete-item-face, newsticker-date-face)
24041 (newsticker-statistics-face): Change default family from
24042 helvetica to sans.
24043 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
24044 etc/images/newsticker.
24045
24046 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
24047 (newsticker--process-auto-mark-filter-match): Tell user about
24048 auto-marking.
24049
24050 2011-05-13 Didier Verna <didier@xemacs.org>
24051
24052 Common Lisp indentation improvements on defmethod and lambda-lists.
24053 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
24054 TODO entries.
24055 (lisp-lambda-list-keyword-parameter-indentation)
24056 (lisp-lambda-list-keyword-parameter-alignment)
24057 (lisp-lambda-list-keyword-alignment): New customizable user options.
24058 (lisp-indent-defun-method): Improve docstring.
24059 (extended-loop-p): Fix comment.
24060 (lisp-indent-lambda-list-keywords-regexp): New variable.
24061 (lisp-indent-lambda-list): New function.
24062 (lisp-indent-259): Use it.
24063 (lisp-indent-defmethod): Support for more than one
24064 method qualifier and properly indent methods lambda-lists.
24065 (defgeneric): Provide a missing common-lisp-indent-function property.
24066
24067 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
24068
24069 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
24070 bounds for the empty string (bug#8667).
24071
24072 2011-05-13 Glenn Morris <rgm@gnu.org>
24073
24074 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
24075
24076 * mail/sendmail.el (sendmail-program): Try executable-find first.
24077 (sendmail-send-it): `sendmail-program' cannot be unbound.
24078
24079 * calendar/appt.el (appt-make-list): Simplify.
24080 (appt-time-msg-list): Doc fix.
24081 (appt-check): Change mode-line message at the time of the appointment.
24082
24083 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
24084
24085 * progmodes/ld-script.el (ld-script-keywords)
24086 (ld-script-builtins): Update keywords list.
24087
24088 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
24089
24090 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
24091
24092 * shell.el (shell-completion-vars): New function.
24093 (shell-mode):
24094 * simple.el (read-shell-command): Use it.
24095 (blink-matching-open): No need for " [...]" in minibuffer-message.
24096
24097 2011-05-12 Glenn Morris <rgm@gnu.org>
24098
24099 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
24100 (appt-check): Simplify.
24101
24102 2011-05-12 Eli Zaretskii <eliz@gnu.org>
24103
24104 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
24105 literal "/dev/null".
24106
24107 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
24108
24109 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
24110 Fix typo.
24111
24112 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
24113
24114 * progmodes/which-func.el (which-function):
24115 Use add-log-current-defun instead of add-log-current-defun-function,
24116 which might not be defined (Bug#8260).
24117
24118 2011-05-12 Glenn Morris <rgm@gnu.org>
24119
24120 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
24121 Let byte-compile-initial-macro-environment always take precedence.
24122
24123 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
24124
24125 * net/rcirc.el: Add support for SSL/TLS connections.
24126 (rcirc-server-alist): New field `encryption'.
24127 (rcirc): Check `encryption' settings.
24128 (rcirc-connect): New arg `encryption'. Use open-network-stream.
24129 Merge make-local-variable into `set'.
24130 (rcirc--connection-open-p): New function.
24131 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
24132 the process is not a network process (e.g. running gnutls-cli).
24133 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
24134 Make rcirc-(en|de)code-coding-system local here.
24135 (rcirc-mode): Merge make-local-variable into `set'.
24136 (rcirc-parent-buffer): Make permanent buffer-local.
24137 (rcirc-multiline-minor-mode): Don't do it here.
24138 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
24139 there's no server buffer.
24140
24141 2011-05-11 Glenn Morris <rgm@gnu.org>
24142
24143 * newcomment.el (comment-kill): Prefix "unused" local.
24144
24145 * term/w32console.el (get-screen-color): Declare.
24146
24147 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
24148 Handle symbol elements of byte-compile-initial-macro-environment.
24149
24150 2011-05-10 Leo Liu <sdl.web@gmail.com>
24151
24152 * bookmark.el (bookmark-bmenu-mode-map):
24153 Bind bookmark-bmenu-search to `/'.
24154
24155 * mail/footnote.el: Convert to utf-8 encoding.
24156 (footnote-unicode-string, footnote-unicode-regexp): New variable.
24157 (Footnote-unicode): New function.
24158 (footnote-style-alist): Add unicode style to the list.
24159 (footnote-style): Doc fix.
24160
24161 2011-05-10 Jim Meyering <meyering@redhat.com>
24162
24163 Fix doubled-word typos.
24164 * international/quail.el (quail-insert-kbd-layout): and and -> and
24165 * kermit.el: and and -> and
24166 * net/ldap.el (ldap-search-internal): to to -> to
24167 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
24168 * progmodes/js.el (js-mode): and and -> and
24169 * textmodes/artist.el (artist-move-to-xy): at at -> at
24170 (artist-draw-region-trim-line-endings): if if -> if
24171 And Safetyc -> Safety.
24172 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
24173
24174 2011-05-10 Glenn Morris <rgm@gnu.org>
24175 Stefan Monnier <monnier@iro.umontreal.ca>
24176
24177 * files.el (hack-one-local-variable-eval-safep):
24178 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
24179
24180 2011-05-10 Glenn Morris <rgm@gnu.org>
24181
24182 * calendar/diary-lib.el (diary-list-entries-hook)
24183 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
24184 (diary-nongregorian-marking-hook, diary-list-entries)
24185 (diary-include-other-diary-files, diary-mark-entries)
24186 (diary-mark-included-diary-files): Doc fixes.
24187
24188 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
24189
24190 * misc.el: Require tabulated-list.el during compilation.
24191
24192 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
24193
24194 * progmodes/compile.el (compilation-start):
24195 Run compilation-filter-hook for the async case too.
24196 (compilation-filter-hook): Doc fix.
24197
24198 2011-05-09 Deniz Dogan <deniz@dogan.se>
24199
24200 * wdired.el: Remove outdated installation comment. Fix usage
24201 comment.
24202
24203 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
24204
24205 * misc.el: Implement new command `list-dynamic-libraries'.
24206 (list-dynamic-libraries--loaded-only-p): New variable.
24207 (list-dynamic-libraries--refresh): New function.
24208 (list-dynamic-libraries): New command.
24209
24210 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
24211
24212 * progmodes/compile.el (compilation-error-regexp-alist-alist):
24213 Fix the ant regexp to handle end-line and end-column info from jikes.
24214 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
24215 higher priority to avoid clobbering by gnu.
24216
24217 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
24218
24219 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
24220 if the face has existing theme settings (Bug#8454).
24221
24222 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
24223
24224 * progmodes/perl-mode.el (perl-imenu-generic-expression):
24225 Only match variables declared via `my' or `our' (Bug#8261).
24226
24227 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
24228 special file names `.' and `..' (Bug#8259).
24229
24230 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
24231
24232 * progmodes/grep.el (grep-mode-font-lock-keywords):
24233 Remove buffer-changing entries.
24234 (grep-filter): New function.
24235 (grep-mode): Add it to compilation-filter-hook.
24236
24237 * progmodes/compile.el (compilation-filter-hook)
24238 (compilation-filter-start): New defvars.
24239 (compilation-filter): Call compilation-filter-hook prior to
24240 updating the process mark.
24241
24242 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
24243
24244 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
24245
24246 2011-05-07 Eli Zaretskii <eliz@gnu.org>
24247
24248 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
24249 mailclient-send-it even if window-system is nil. (Bug#8595)
24250
24251 * term/w32console.el (terminal-init-w32console):
24252 Call get-screen-color and use its output to set the frame
24253 background-mode. (Bug#8597)
24254
24255 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
24256
24257 Make bytecomp.el understand that defmethod defines funs (bug#8631).
24258 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
24259 New functions.
24260 (defgeneric, eieio--defmethod): Use them.
24261 (eieio-defgeneric): Remove.
24262 (defmethod): Call defgeneric in a way visible to the byte-compiler.
24263
24264 2011-05-07 Glenn Morris <rgm@gnu.org>
24265
24266 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
24267 Use let rather than let*.
24268 (timeclock-find-discrep): Remove unused local.
24269
24270 * calendar/diary-lib.el (diary-comment-start): Doc fix.
24271
24272 * calendar/appt.el (appt-time-msg-list): Doc fix.
24273
24274 2011-05-06 Noah Friedman <friedman@splode.com>
24275
24276 * apropos.el (apropos-print-doc): Only use
24277 emacs-lisp-docstring-fill-column when it is bound to an integer,
24278 per that variable's documentation.
24279
24280 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
24281
24282 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
24283 and warnings are not silently discarded (e.g. use -d instead of -P).
24284
24285 2011-05-06 Glenn Morris <rgm@gnu.org>
24286
24287 * calendar/appt.el (appt-message-warning-time): Doc fix.
24288 (appt-warning-time-regexp): New option.
24289 (appt-make-list): Respect appt-message-warning-time.
24290
24291 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
24292 New options.
24293 (diary-add-to-list): Strip comments from the displayed string.
24294 (diary-mode): Set comment-start and comment-end.
24295
24296 * vc/diff-mode.el (smerge-refine-subst): Declare.
24297 (diff-refine-hunk): Don't require smerge-mode when compiling.
24298
24299 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
24300
24301 * simple.el (list-processes): Return nil as the docstring says.
24302
24303 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
24304
24305 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
24306 to "".
24307 (ange-ftp-write-region, ange-ftp-insert-file-contents)
24308 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
24309 determining of binary transfer. (Bug#7383)
24310
24311 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
24312
24313 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
24314 Fix port computation bug. (Bug#8618)
24315
24316 2011-05-05 Glenn Morris <rgm@gnu.org>
24317
24318 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
24319
24320 * simple.el (shell-dynamic-complete-functions)
24321 (comint-dynamic-complete-functions): Declare.
24322
24323 * net/network-stream.el (gnutls-negotiate):
24324 * simple.el (tabulated-list-print): Fix declarations.
24325
24326 * progmodes/gud.el (syntax-symbol, syntax-point):
24327 Remove unnecessary and incorrect declarations.
24328
24329 * emacs-lisp/check-declare.el (check-declare-scan):
24330 Handle byte-compile-initial-macro-environment in bytecomp.el.
24331
24332 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
24333
24334 Fix earlier half-done eieio-defmethod change (bug#8338).
24335 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
24336 Streamline and change calling convention.
24337 (defmethod): Adjust accordingly and simplify.
24338 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
24339 new eieio--defmethod.
24340 (slot-boundp): Minor CSE simplification.
24341
24342 2011-05-05 Milan Zamazal <pdm@zamazal.org>
24343
24344 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
24345 (glasses-make-readable): Use glasses-separate-capital-groups.
24346
24347 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
24348
24349 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
24350 (warning-series): Doc fix.
24351 (display-warning): Don't try to create the buffer if we just found it.
24352
24353 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
24354
24355 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
24356 (autoload-find-generated-file): New function.
24357 (generate-file-autoloads): Bind generated-autoload-file to
24358 buffer-file-name.
24359 (update-file-autoloads, update-directory-autoloads):
24360 Use autoload-find-generated-file. If called interactively, prompt for
24361 output file (Bug#7989).
24362 (batch-update-autoloads): Doc fix.
24363
24364 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
24365
24366 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
24367
24368 2011-05-04 Glenn Morris <rgm@gnu.org>
24369
24370 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
24371 function, so it follows changes in calendar-date-style.
24372 (diary-fancy-date-matcher): New function.
24373 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
24374 (diary-fancy-font-lock-fontify-region-function):
24375 Use diary-fancy-date-pattern as a function.
24376
24377 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
24378 non-numbers for `year' etc pseudo-variables. (Bug#8583)
24379
24380 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
24381
24382 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
24383 instead of positional arguments. Allow :keylist and :crlfiles
24384 arguments.
24385 (open-gnutls-stream): Call it.
24386
24387 * net/network-stream.el (network-stream-open-starttls): Adjust to
24388 call `gnutls-negotiate' with :process and :hostname arguments.
24389
24390 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
24391
24392 * minibuffer.el (completion--message): New function.
24393 (completion--do-completion, minibuffer-complete)
24394 (minibuffer-force-complete, minibuffer-complete-word): Use it.
24395 (completion--do-completion): Don't ignore completion-auto-help when in
24396 icomplete-mode.
24397
24398 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
24399 internal encoding (e.g. tibetan zero is not whitespace).
24400 (global-whitespace-mode): Prefer save-current-buffer.
24401 (whitespace-trailing-regexp): Remove useless save-match-data.
24402 (whitespace-empty-at-bob-regexp): Minor simplification.
24403
24404 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
24405
24406 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
24407
24408 2011-05-03 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
24409
24410 * textmodes/ispell.el (ispell-add-per-file-word-list):
24411 Use `concat' to create string for insertion.
24412
24413 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
24414
24415 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
24416 Avoid open-line which runs post-self-insert-hook.
24417 (bibtex-fill-entry): Remove unused `end' var.
24418
24419 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
24420
24421 * textmodes/ispell.el (ispell-add-per-file-word-list):
24422 Protect against `nil' value of `comment-start' (Bug#8579).
24423
24424 2011-05-03 Leo Liu <sdl.web@gmail.com>
24425
24426 * isearch.el (isearch-yank-pop): New command.
24427 (isearch-mode-map): Bind it to `M-y'.
24428 (isearch-forward): Mention it.
24429
24430 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
24431
24432 * simple.el (minibuffer-complete-shell-command): Remove.
24433 (minibuffer-local-shell-command-map): Use completion-at-point.
24434 (read-shell-command): Setup completion vars here instead.
24435 (read-expression-map): Bind TAB to symbol completion.
24436
24437 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
24438 error directly rather via storing it into `results'.
24439
24440 2011-05-02 Leo Liu <sdl.web@gmail.com>
24441
24442 * vc/diff.el: Fix description.
24443
24444 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
24445
24446 * server.el (server-eval-at): New function.
24447
24448 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
24449
24450 * net/network-stream.el (open-network-stream): Take a :nowait
24451 parameter and pass it on to `make-network-process'.
24452 (network-stream-open-plain): Ditto.
24453
24454 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
24455
24456 * faces.el (face-spec-set-match-display): Don't match toolkit
24457 options on terminal frames.
24458
24459 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
24460
24461 * progmodes/pascal.el: Use lexical binding.
24462 (pascal-mode-map): Remove author preferences.
24463
24464 * pcomplete.el (pcomplete-std-complete): Don't abuse
24465 completion-at-point.
24466
24467 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
24468
24469 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
24470 removing code that has been dead since 1991 or so.
24471
24472 * startup.el (command-line): When warning about "_emacs", use a
24473 delayed warning to allow the user to filter it out.
24474
24475 2011-04-28 Deniz Dogan <deniz@dogan.se>
24476
24477 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
24478 user has not joined.
24479
24480 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
24481
24482 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
24483 aren't any completions at point.
24484
24485 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
24486
24487 * subr.el (display-delayed-warnings): New function.
24488 (delayed-warnings-hook): New variable.
24489
24490 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
24491
24492 * minibuffer.el (completion-at-point, completion-help-at-point):
24493 Don't presume that a given completion-at-point-function will always
24494 use the same calling convention.
24495
24496 * pcomplete.el (pcomplete-completions-at-point):
24497 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
24498 pcomplete-seen is non-nil.
24499 (pcomplete-comint-setup): Also recognize the new comint/shell
24500 completion functions.
24501 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
24502 pcomplete-seen is non-nil.
24503
24504 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
24505
24506 * calendar/icalendar.el (diary-lib): Add require statement.
24507 (icalendar--create-uid): Read out a uid from a text-property on
24508 the first character in the entry. This allows for code to add its
24509 own uid to the entry.
24510 (icalendar--convert-float-to-ical): Add export of
24511 `diary-float'-entries save for those with the optional DAY
24512 argument.
24513
24514 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
24515
24516 * subr.el (shell-quote-argument): Use alternate escaping strategy
24517 when we spot a variable reference in a string.
24518
24519 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
24520
24521 * cus-start.el (all): Define customization for debug-on-event.
24522
24523 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
24524
24525 * subr.el (shell-quote-argument): Escape correctly under Windows.
24526
24527 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
24528
24529 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
24530
24531 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
24532
24533 * net/tramp.el (tramp-process-actions): Add POS argument.
24534 Delete region between POS and (pos).
24535
24536 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
24537 Use `nil' position in `tramp-process-actions' call.
24538 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
24539
24540 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
24541 position in `tramp-process-actions' call.
24542
24543 * net/trampver.el: Update release number.
24544
24545 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
24546
24547 * custom.el (defcustom): Obey lexical-binding.
24548
24549 Fix octave-inf completion problems reported by Alexander Klimov.
24550 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
24551 Inherit from octave-mode-syntax-table.
24552 (inferior-octave-mode): Set info-lookup-mode.
24553 (inferior-octave-completion-at-point): New function.
24554 (inferior-octave-complete): Use it and completion-in-region.
24555 (inferior-octave-dynamic-complete-functions): Use it as well, and use
24556 comint-filename-completion.
24557 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
24558 symbol elements which shouldn't be word elements.
24559 (octave-font-lock-keywords, octave-beginning-of-defun)
24560 (octave-function-header-regexp): Adjust regexps accordingly.
24561 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
24562
24563 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
24564
24565 * net/gnutls.el (gnutls-errorp): Declare before first use.
24566
24567 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
24568
24569 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
24570 verify-error, and verify-hostname-error parameters. Check whether
24571 default trustfile exists before going to use it. Add missing
24572 argument to gnutls-message-maybe call. Return value.
24573 Reported by Claudio Bley <claudio.bley@gmail.com>.
24574 (open-gnutls-stream): Add usage example.
24575
24576 * net/network-stream.el (network-stream-open-starttls): Give host
24577 parameter to `gnutls-negotiate'.
24578 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
24579 * subr.el (shell-quote-argument): Escape correctly under Windows.
24580
24581 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
24582
24583 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
24584 Use correct match group (bug#8438).
24585
24586 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
24587
24588 * emacs-lisp/package.el (package-built-in-p): Fix typo.
24589 (package-menu--generate): New arg specifying packages to show.
24590 (package-menu-refresh, package-menu-execute, list-packages):
24591 Callers changed.
24592 (package-show-package-list): New function, replacing deleted
24593 package--list-packages (renamed because it is non-internal).
24594
24595 * finder.el (finder-list-matches): Use package-show-package-list
24596 instead of deleted package--list-packages.
24597
24598 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
24599 Based on a previous implementation by Juanma Barranquero (Bug#8366).
24600 (vc-annotate-mode-map): Bind it to RET.
24601
24602 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
24603
24604 * progmodes/etags.el (next-file): Don't use set-buffer to change
24605 buffers (Bug#8478).
24606
24607 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
24608
24609 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
24610
24611 * apropos.el (apropos-label-face): Avoid variable-pitch face.
24612 (apropos-accumulator): Doc fix.
24613 (apropos-function, apropos-macro, apropos-command)
24614 (apropos-variable, apropos-face, apropos-group, apropos-widget)
24615 (apropos-plist): Add face property.
24616 (apropos-symbols-internal): Fix indentation.
24617 (apropos-print): Simplify help, and recognize apropos-multi-type.
24618 (apropos-print-doc): Use button-type-get to extract the button's
24619 face property. Fill docstring (Bug#8352).
24620
24621 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
24622
24623 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
24624
24625 * play/mpuz.el (mpuz-silent): Doc fix.
24626 (mpuz-mode-map): Use mapc.
24627 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
24628 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
24629 Fix typos in docstrings.
24630
24631 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
24632 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
24633
24634 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
24635
24636 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
24637
24638 * minibuffer.el (completion--do-completion): Avoid the "Next char
24639 not unique" prompt if icomplete-mode is enabled (Bug#5849).
24640
24641 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
24642 mouse-2 into unread-command-events, it is interpreted correctly.
24643
24644 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
24645 (image-toggle-display): Doc fix.
24646
24647 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
24648
24649 * textmodes/page.el (what-page): Use line-number-at-pos to
24650 calculate line number (Bug#6825).
24651
24652 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
24653
24654 * eshell/esh-mode.el (find-tag-interactive): Declare function.
24655 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
24656 Pass argument NO-DEFAULT to `find-tag-interactive'.
24657
24658 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
24659
24660 Lexical-binding cleanup.
24661
24662 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
24663 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
24664 * progmodes/ada-prj.el (ada-prj-initialize-values)
24665 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
24666 (ada-prj-show-value):
24667 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
24668 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
24669 (antlr-invalidate-context-cache, antlr-options-menu-filter)
24670 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
24671 * progmodes/bug-reference.el (bug-reference-push-button):
24672 * progmodes/fortran.el (fortran-line-length):
24673 * progmodes/glasses.el (glasses-change):
24674 * progmodes/octave-mod.el (octave-fill-paragraph):
24675 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
24676 (python-pdbtrack-grub-for-buffer, python-sentinel):
24677 * progmodes/sql.el (sql-save-connection):
24678 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
24679 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
24680 Mark unused parameters.
24681
24682 * progmodes/compile.el (compilation--flush-directory-cache)
24683 (compilation--flush-parse, compile-internal): Mark unused parameters.
24684 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
24685 (compilation-next-error-function): Remove unused variable `timestamp'.
24686
24687 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
24688 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
24689
24690 * progmodes/dcl-mode.el (dcl-end-of-command):
24691 Remove unused variable `start'.
24692 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
24693 (dcl-option-value-basic, dcl-option-value-offset)
24694 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
24695 Mark unused parameters.
24696 (dcl-save-local-variable): Remove unused variable `val'.
24697 (mode): Declare.
24698
24699 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
24700 Mark unused parameters.
24701 (delphi-ignore-changes): Move before first use.
24702 (delphi-charset-token-at): Remove unused variable `start'.
24703 (delphi-else-start): Remove unused variable `if-count'.
24704 (delphi-comment-block-start, delphi-comment-block-end):
24705 Remove unused variable `kind'.
24706 (delphi-indent-line): Remove unused variable `new-point'.
24707
24708 * progmodes/ebrowse.el (ebrowse-files-list)
24709 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
24710 Mark unused parameters. Don't quote `lambda'.
24711 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
24712 Don't quote `lambda'.
24713 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
24714 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
24715 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
24716 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
24717 Use `ignore-errors'.
24718 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
24719 (ebrowse-view/find-file-and-search-pattern)
24720 (ebrowse-view/find-member-declaration/definition):
24721 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
24722 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
24723 Rename parameter PREFIX-ARG to PREFIX.
24724 (ebrowse-tags-read-name): Remove unused variables `start' and
24725 `member-info'.
24726 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
24727 to `tags-file'.
24728
24729 * progmodes/etags.el (local-find-tag-hook): Declare.
24730 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
24731 Mark unused parameters.
24732
24733 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
24734 (executable-interpret): Mark unused parameter.
24735
24736 * progmodes/flymake.el (flymake-process-sentinel)
24737 (flymake-after-change-function)
24738 (flymake-create-temp-with-folder-structure)
24739 (flymake-get-include-dirs-dot): Mark unused parameters.
24740 (flymake-safe-delete-directory): Remove unused variable `err'.
24741
24742 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
24743 (speedbar-timer-fn, speedbar-line-text)
24744 (speedbar-change-expand-button-char, speedbar-delete-subblock)
24745 (speedbar-center-buffer-smartly): Declare functions.
24746 (gdb-find-watch-expression): Remove unused variable `array'.
24747 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
24748 (gdb-starting): Mark unused parameters.
24749 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
24750 (gdb-table-string): Remove unused variable `res'.
24751 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
24752 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
24753 (gdb-display-buffer): Remove unused variable `cur-size'.
24754
24755 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
24756 allow lexical-binding compilation.
24757 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
24758 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
24759 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
24760 Mark unused parameters.
24761 (gud-gdb-marker-filter): Remove unused variable `match'.
24762 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
24763 lambda expressions and funcall them, instead of using `fset'.
24764
24765 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
24766 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
24767
24768 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
24769 variable `header-beg'; use `let'.
24770
24771 * progmodes/icon.el (indent-icon-exp): Remove unused variables
24772 `restart', `last-sexp' and `at-do'.
24773
24774 * progmodes/js.el (js--debug): Mark unused parameter.
24775 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
24776 (js--splice-into-items): Remove unused variable `item'.
24777 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
24778
24779 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
24780 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
24781 (makefile-complete): Remove unused variable `try'.
24782 (makefile-fill-paragraph, makefile-match-function-end):
24783 Mark unused parameters.
24784
24785 * progmodes/octave-inf.el (inferior-octave-complete):
24786 Remove unused variable `proc'.
24787 (inferior-octave-output-digest): Mark unused parameter.
24788
24789 * progmodes/perl-mode.el (perl-calculate-indent):
24790 Remove unused variable `err'.
24791
24792 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
24793 (prolog-indent-line): Mark unused parameters.
24794 (prolog-indent-line): Remove unused variable `beg'.
24795
24796 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
24797 (reporter-dont-compact-list): Declare.
24798
24799 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
24800 Remove unused variable `char'.
24801 (sh-debug): Mark unused parameter.
24802 (sh-get-indent-info): Remove unused variable `start'.
24803 (sh-calculate-indent): Remove unused variable `var'.
24804
24805 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
24806 (simula-electric-keyword): Remove unused variable `null'.
24807 (simula-search-backward, simula-search-forward): Remove unused
24808 variables `begin' and `end'.
24809
24810 * progmodes/vera-mode.el (vera-guess-basic-syntax):
24811 Remove unused variable `pos'.
24812 (vera-electric-tab, vera-comment-uncomment-region):
24813 Mark unused parameters.
24814 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
24815
24816 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
24817
24818 * emacs-lisp/package.el (package--builtins, package-alist)
24819 (package-load-descriptor, package-built-in-p, package-activate)
24820 (define-package, package-installed-p)
24821 (package-compute-transaction, package-buffer-info)
24822 (package--push): Doc fix. Distinguish more clearly between
24823 version strings and version lists.
24824
24825 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
24826
24827 Lexical-binding cleanup.
24828
24829 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
24830 (5x5-make-mutate-best):
24831 * play/fortune.el (fortune-in-buffer):
24832 * play/gomoku.el (gomoku-init-display):
24833 * play/solitaire.el (solitaire, solitaire-do-check):
24834 * play/tetris.el (tetris-default-update-speed-function):
24835 Mark unused parameters.
24836
24837 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
24838 (bubbles--shift): Remove unused variable `char-org'.
24839 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
24840 (bubbles--show-images): Remove unused variable `char'.
24841
24842 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
24843 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
24844 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
24845 (decipher-analyze-buffer): Use ?\s.
24846 (decipher-make-checkpoint): Remove unused variable `mapping'.
24847
24848 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
24849
24850 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
24851 Remove unused variable `result'; use `let'.
24852
24853 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
24854 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
24855 (gametree-children-shown-p, gametree-compute-reduced-score):
24856 Use `ignore-errors'.
24857
24858 * play/handwrite.el (ps-lpr-switches): Declare.
24859 (handwrite): Remove unused variables `pmin' and `lastp'.
24860
24861 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
24862
24863 * play/landmark.el (landmark-init-display)
24864 (landmark-update-naught-weights): Mark unused parameters.
24865 (landmark-y): Remove unused variable `noise'. Simplify.
24866 (landmark-human-plays): Remove unused variable `score'.
24867
24868 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
24869 (mpuz-try-proposal): Remove unused variable `game'.
24870
24871 * play/zone.el (life-patterns): Declare.
24872
24873 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
24874
24875 * vc/vc.el (ediff-vc-internal): Declare function.
24876
24877 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
24878
24879 * shell.el: Use lexical-binding and std completion UI.
24880 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
24881 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
24882 comint-preoutput-filter-functions rather than on
24883 comint-output-filter-functions.
24884 (shell-command-completion, shell--command-completion-data)
24885 (shell-filename-completion, shell-environment-variable-completion)
24886 (shell-c-a-p-replace-by-expanded-directory): New functions.
24887 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
24888 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
24889 (shell-dynamic-complete-environment-variable): Use them.
24890 (shell-dynamic-complete-as-environment-variable)
24891 (shell-dynamic-complete-as-command): Remove.
24892 (shell-match-partial-variable): Match past point.
24893 * comint.el: Clean up use of completion-at-point-functions.
24894 (comint-completion-at-point): New function.
24895 (comint-mode): Use it completion-at-point-functions.
24896 (comint-dynamic-complete): Make it obsolete.
24897 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
24898 (comint-c-a-p-replace-by-expanded-history): New function.
24899 (comint-dynamic-complete-functions)
24900 (comint-replace-by-expanded-history): Use it.
24901 * minibuffer.el (completion-table-with-terminator): Allow dynamic
24902 termination strings. Try harder to avoid second try-completion.
24903 (completion-in-region-mode-map): Disable bindings that don't work yet.
24904
24905 * comint.el: Use lexical-binding. Require CL.
24906 (comint-dynamic-complete-functions): Use comint-filename-completion.
24907 (comint-completion-addsuffix): Tweak custom type.
24908 (comint-filename-completion, comint--common-suffix)
24909 (comint--common-quoted-suffix, comint--table-subvert)
24910 (comint--complete-file-name-data): New functions.
24911 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
24912 (comint-dynamic-list-filename-completions): Use them.
24913 (comint-dynamic-simple-complete): Make obsolete.
24914
24915 * minibuffer.el (completion-in-region-mode):
24916 Keep completion-in-region-mode--predicate global.
24917 (completion-in-region--postch):
24918 Assume completion-in-region-mode--predicate is not null.
24919
24920 * progmodes/flymake.el (flymake-start-syntax-check-process):
24921 Obey `dir'. Simplify.
24922
24923 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
24924 we're in VC after all.
24925
24926 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
24927
24928 * vc/vc.el (vc-diff-build-argument-list-internal)
24929 (vc-version-ediff, vc-ediff): New commands.
24930 (vc-version-diff): Use vc-diff-build-argument-list-internal.
24931
24932 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
24933
24934 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
24935 add sanity check.
24936
24937 * obsolete/erc-hecomplete.el: Make obsolete.
24938 * obsolete/: Standardize obsolescence info in the header.
24939
24940 2011-04-20 Glenn Morris <rgm@gnu.org>
24941
24942 * calendar/solar.el (solar-horizontal-coordinates):
24943 Use the longitude argument rather than `calendar-longitude'.
24944 (solar-date-next-longitude): Remove unused locals.
24945
24946 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
24947
24948 * whitespace.el: New version 13.2.1.
24949
24950 2011-04-20 felix <EmacsWiki> (tiny change)
24951
24952 * whitespace.el (global-whitespace-mode): Keep highlight when
24953 switching between major modes on a file.
24954
24955 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
24956
24957 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
24958 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
24959 multi-line comments as well.
24960
24961 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
24962
24963 Lexical-binding cleanup.
24964
24965 * arc-mode.el (archive-mode-revert):
24966 * cmuscheme.el (scheme-interactively-start-process):
24967 * custom.el (custom-initialize-delay):
24968 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
24969 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
24970 * emacs-lock.el (emacs-lock-clear-sentinel):
24971 * ezimage.el (defezimage):
24972 * follow.el (follow-avoid-tail-recenter):
24973 * fringe.el (set-fringe-mode-1):
24974 * generic-x.el (bat-generic-mode-compile):
24975 * help-mode.el (help-info-variable, help-do-xref)
24976 (help-mode-revert-buffer):
24977 * help.el (view-emacs-todo):
24978 * iswitchb.el (iswitchb-completion-help):
24979 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
24980 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
24981 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
24982 * locate.el (locate-update):
24983 * longlines.el (longlines-encode-region)
24984 (longlines-after-change-function):
24985 * outline.el (outline-isearch-open-invisible):
24986 * ps-def.el (declare-function, charset-dimension, char-width)
24987 (encode-char):
24988 * ps-mule.el (ps-mule-plot-string):
24989 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
24990 (recentf-edit-list-select, recentf-edit-list-validate)
24991 (recentf-open-files-action):
24992 * rect.el (delete-whitespace-rectangle-line)
24993 (rectangle-number-line-callback):
24994 * register.el (window-configuration-to-register)
24995 (frame-configuration-to-register):
24996 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
24997 * select.el (xselect-convert-to-string, xselect-convert-to-length)
24998 (xselect-convert-to-targets, xselect-convert-to-delete)
24999 (xselect-convert-to-filename, xselect-convert-to-charpos)
25000 (xselect-convert-to-lineno, xselect-convert-to-colno)
25001 (xselect-convert-to-os, xselect-convert-to-host)
25002 (xselect-convert-to-user, xselect-convert-to-class)
25003 (xselect-convert-to-name, xselect-convert-to-integer)
25004 (xselect-convert-to-atom, xselect-convert-to-identity):
25005 * subr.el (declare, ignore, process-kill-without-query)
25006 (text-clone-maintain):
25007 * terminal.el (te-get-char, te-tic-sentinel):
25008 * tool-bar.el (tool-bar-make-keymap):
25009 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
25010 * type-break.el (type-break-mode, type-break-noninteractive-query):
25011 * view.el (View-back-to-mark):
25012 * wid-browse.el (widget-browse-action, widget-browse-widget)
25013 (widget-browse-widgets, widget-browse-sexp):
25014 * widget.el (define-widget-keywords):
25015 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
25016 Mark unused parameters.
25017
25018 * align.el (align-adjust-col-for-rule): Mark unused parameter.
25019 (align-areas): Remove unused variable `look'.
25020 (align-region): Remove unused variables `real-end' and `pos-list'.
25021
25022 * apropos.el (apropos-score-doc): Remove unused variable `i'.
25023
25024 * bindings.el (mode-line-modified, mode-line-remote):
25025 Mark unused parameters.
25026 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
25027
25028 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
25029 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
25030
25031 * comint.el (comint-history-isearch-pop-state)
25032 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
25033 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
25034 (comint-substitute-in-file-name): Doc fix.
25035
25036 * completion.el (cmpl-statistics-block): Mark unused parameter.
25037 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
25038 (save-completions-to-file, load-completions-from-file):
25039 Remove unused local variable `e'.
25040
25041 * composite.el (compose-chars): Remove unused variable `len'.
25042 (lgstring-insert-glyph): Remove unused variable `g'.
25043 (compose-glyph-string): Remove unused variables `ascent',
25044 `descent', `lbearing' and `rbearing'.
25045 (compose-glyph-string-relative): Remove unused variables
25046 `lbearing', `rbearing' and `wadjust'.
25047 (compose-gstring-for-graphic): Remove unused variables `header',
25048 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
25049 (compose-gstring-for-terminal): Remove unused variables `header'
25050 and `nchars'. Use `let', not `let*'.
25051
25052 * cus-edit.el (Custom-set, Custom-save, custom-reset)
25053 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
25054 (Custom-buffer-done, custom-buffer-create-internal)
25055 (custom-browse-visibility-action, custom-browse-group-tag-action)
25056 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
25057 (widget-magic-mouse-down-action, custom-toggle-parent)
25058 (custom-add-parent-links, custom-toggle-hide-variable)
25059 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
25060 (custom-toggle-hide-face, face, hook, custom-group-link-action)
25061 (custom-face-menu-create, custom-variable-menu-create, get)
25062 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
25063 (custom-reset-standard-save-and-update): Remove unused variable `value'.
25064 (customize-apropos): Remove unused variable `tests'.
25065 (custom-group-value-create): Remove unused variable `hidden-p'.
25066 (sort-fold-case): Declare.
25067
25068 * cus-theme.el (custom-reset-standard-faces-list)
25069 (custom-reset-standard-variables-list): Declare.
25070 (customize-create-theme, custom-theme-revert, custom-theme-write)
25071 (custom-theme-choose-mode, customize-themes, custom-theme-save):
25072 Mark unused parameters.
25073
25074 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
25075
25076 * delim-col.el (delimit-columns-max): Move defvar before first use.
25077
25078 * descr-text.el (describe-char-categories): Don't quote `lambda'.
25079 (describe-char): Don't quote `lambda'. Mark unused parameter.
25080
25081 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
25082 (auto-insert): Declare.
25083 (desktop-restore-file-buffer): Rename desktop-* parameters;
25084 mark unused ones.
25085 (desktop-create-buffer): Rename desktop-* parameters and bind them.
25086 (desktop-buffer): Rename desktop-* parameters.
25087
25088 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
25089 (dframe-reposition-frame-xemacs, dframe-help-echo)
25090 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
25091 Mark unused parameters.
25092
25093 * dired-aux.el (backup-extract-version-start, overwrite-query)
25094 (overwrite-backup-query, rename-regexp-query)
25095 (rename-non-directory-query): Declare.
25096 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
25097 (dired-add-entry): Remove unused variable `orig-file-name'.
25098 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
25099 Use parameter PRESERVE-TIME instead of accessing dynamic variable
25100 `dired-copy-preserve-time' directly.
25101 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
25102 (dired-insert-subdir-newpos): Rename unused variable `pos'.
25103
25104 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
25105 (dired-virtual-revert, dired-make-relative-symlink):
25106 Mark unused parameters.
25107 (manual-program): Declare.
25108 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
25109 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
25110 wrapped in `with-no-warnings' to avoid replacing one warning by another.
25111
25112 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
25113
25114 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
25115
25116 * echistory.el (electric-history-in-progress, Helper-return-blurb):
25117 Declare.
25118
25119 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
25120
25121 * electric.el (Electric-command-loop): Rename parameter
25122 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
25123
25124 * expand.el (expand-in-literal): Remove unused variable `here'.
25125
25126 * facemenu.el (facemenu-add-new-color):
25127 Remove unused variable `docstring'.
25128
25129 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
25130 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
25131 (face-attr-construct): Mark unused parameter. Doc fix.
25132 (read-color): Remove unused variable `hex-string'.
25133
25134 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
25135 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
25136 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
25137 (display-buffer-other-frame): Remove unused variable `old-window'.
25138 (kill-buffer-hook): Declare.
25139 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
25140 Mark unused parameters.
25141 (after-find-file): Pass 1 to `auto-save-mode', not t.
25142
25143 * files-x.el (auto-insert): Declare.
25144 (modify-file-local-variable-prop-line): Remove unused variable `val'.
25145
25146 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
25147 variable `buf'. Mark unused parameter.
25148 (find-lisp-insert-directory): Mark unused parameter.
25149
25150 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
25151 (format-encode-region): Remove unused variables `cur-buf' and `result'.
25152 (format-common-tail): Remove, unused.
25153 (format-deannotate-region): Remove unused variable `loc'.
25154 (format-annotate-region): Remove unused variable `p'.
25155 (format-annotate-single-property-change): Remove unused variables
25156 `default' and `tail'.
25157
25158 * forms.el (read-file-filter): Declare.
25159 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
25160
25161 * frame.el (frame-creation-function-alist): Mark unused parameter.
25162 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
25163
25164 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
25165 Remove unused parameters.
25166 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
25167 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
25168
25169 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
25170 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
25171 (hfy-prepare-tag-map): Mark unused parameters.
25172 (htmlfontify-buffer): Use `called-interactively-p'.
25173
25174 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
25175 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
25176 (ibuffer-do-occur): Mark unused parameters.
25177 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
25178 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
25179
25180 * ibuffer.el: Don't quote `lambda'.
25181 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
25182 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
25183 Mark unused parameters.
25184
25185 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
25186 (ido-completing-read): Mark unused parameters.
25187 (ido-copy-current-word): Mark unused parameters;
25188 remove unused variable `name'.
25189 (ido-sort-merged-list): Remove unused parameter `dirs'.
25190
25191 * ielm.el (ielm-input-sender): Mark unused parameter.
25192 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
25193 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
25194 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
25195 `ielm-string' as a dynamic variable accessible from the IELM prompt.
25196 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
25197
25198 * image-dired.el (image-dired-display-thumbs): Remove unused
25199 variables `curr-file' and `count'.
25200 (image-dired-remove-tag): Remove unused variable `start'.
25201 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
25202 variable `curr-file'
25203 (image-dired-rotate-original): Remove unused variable `temp-file'.
25204 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
25205 Remove unused variable `file'.
25206 (image-dired-gallery-generate): Remove unused variable `curr'.
25207 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
25208
25209 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
25210
25211 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
25212
25213 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
25214
25215 * isearch.el (minibuffer-history-symbol): Declare.
25216 (isearch-edit-string): Remove unused variable `err'.
25217 (isearch-message-prefix, isearch-message-suffix):
25218 Mark unused parameters.
25219
25220 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
25221
25222 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
25223
25224 * makesum.el (double-column): Remove unused variable `cnt'.
25225
25226 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
25227 (ido-ignore-item-temp-list): Declare.
25228
25229 * mouse-drag.el (mouse-drag-throw): Remove unused variables
25230 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
25231 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
25232 (mouse-drag-drag): Remove unused variables `mouse-delta' and
25233 `mouse-col-delta'.
25234
25235 * mouse-sel.el (mouse-extend-internal):
25236 Remove unused variable `orig-window-frame'.
25237
25238 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
25239 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
25240 Move declarations before first use.
25241 (pcomplete-opt): Mark unused parameters; doc fix.
25242
25243 * proced.el (proced-revert): Mark unused parameter.
25244 (proced-send-signal): Remove unused variable `err'.
25245
25246 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
25247 Rename parameter PREFIX-ARG to ARG.
25248 (ps-basic-plot-string, ps-basic-plot-whitespace):
25249 Mark unused parameters.
25250
25251 * replace.el (replace-count): Define.
25252 (occur-revert-function): Mark unused parameters.
25253 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
25254 (isearch-case-fold-search, isearch-string): Declare.
25255 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
25256 bind `case-fold-search'. Remove unused variables `beg' and `end',
25257 and simplify.
25258 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
25259 COUNT and bind `replace-count'.
25260 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
25261 to COUNT.
25262
25263 * savehist.el (print-readably, print-string-length): Declare.
25264
25265 * shadowfile.el (shadow-expand-cluster-in-file-name):
25266 Remove unused variable `cluster'.
25267 (shadow-copy-file): Remove unused variable `i'.
25268 (shadow-noquery, shadow-clusters, shadow-site-cluster)
25269 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
25270 (shadow-define-literal-group, shadow-define-regexp-group)
25271 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
25272
25273 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
25274 (shell): Use `called-interactively-p'.
25275 (shell-directory-tracker): Remove unused variable `chdir-failure'.
25276
25277 * simple.el (compilation-context-lines, comint-file-name-quote-list)
25278 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
25279 (delete-backward-char): Remove unused variable `ocol'.
25280 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
25281 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
25282 (event-apply-hyper-modifier, event-apply-shift-modifier)
25283 (event-apply-control-modifier, event-apply-meta-modifier):
25284 Mark unused parameters.
25285 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
25286 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
25287
25288 * speedbar.el (speedbar-ignored-directory-expressions)
25289 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
25290 (speedbar-find-file, speedbar-dir-follow)
25291 (speedbar-directory-buttons-follow, speedbar-tag-find)
25292 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
25293 (speedbar-buffers-line-directory, speedbar-buffer-click):
25294 Mark unused parameters.
25295 (speedbar-tag-file): Remove unused variable `mode'.
25296 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
25297
25298 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
25299
25300 * talk.el (talk): Remove unused variable `display'.
25301
25302 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
25303 (tar-write-region-annotate): Mark unused parameter.
25304
25305 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
25306 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
25307 Declare them, wrapped in `with-no-warnings' to avoid replacing one
25308 warning by another.
25309
25310 * time-stamp.el (time-stamp-string-preprocess):
25311 Remove unused variable `require-padding'.
25312
25313 * tree-widget.el (widget-glyph-enable): Declare.
25314 (tree-widget-action): Mark unused parameter.
25315
25316 * w32-fns.el (x-get-selection): Mark unused parameter.
25317 (autoload-make-program, generated-autoload-file): Declare.
25318
25319 * wdired.el (wdired-revert): Mark unused parameters.
25320 (wdired-xcase-word): Remove unused variable `err'.
25321
25322 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
25323 (whitespace-help-scroll): Remove unused variable `data-help'.
25324
25325 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
25326 (widget-image-insert, widget-after-change, default)
25327 (widget-default-format-handler, widget-default-notify)
25328 (widget-default-prompt-value, widget-info-link-action)
25329 (widget-url-link-action, widget-function-link-action)
25330 (widget-variable-link-action, widget-file-link-action)
25331 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
25332 (widget-field-prompt-internal, widget-field-action, widget-field-match)
25333 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
25334 (widget-insert-button-action, widget-delete-button-action, visibility)
25335 (widget-documentation-link-action, widget-documentation-string-action)
25336 (widget-const-prompt-value, widget-regexp-match, symbol)
25337 (widget-coding-system-prompt-value)
25338 (widget-key-sequence-value-to-external, sexp)
25339 (widget-sexp-value-to-internal, character, vector, cons)
25340 (widget-choice-prompt-value, widget-boolean-prompt-value)
25341 (widget-color--choose-action): Mark unused parameters.
25342 (widget-item-match-inline, widget-choice-match-inline)
25343 (widget-checklist-match, widget-checklist-match-inline)
25344 (widget-group-match): Rename parameter VALUES to VALS.
25345 (widget-field-value-set): Remove unused variable `size'.
25346 (widget-color-action): Remove unused variables `value' and `start'.
25347
25348 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
25349 variable `dir'. Doc fix.
25350 (windmove-find-other-window): Don't pass it.
25351
25352 * window.el (count-windows): Mark unused parameter.
25353 (bw-adjust-window): Remove unused variable `err'.
25354
25355 * woman.el (woman-file-name): Remove unused variable `default'.
25356 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
25357 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
25358 (global-font-lock-mode): Declare.
25359 (woman-decode-region): Mark unused parameter.
25360 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
25361
25362 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
25363 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
25364 (x-dnd-handle-moz-url): Remove unused variable `title'.
25365 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
25366
25367 * xml.el (xml-parse-tag, xml-parse-attlist):
25368 Remove unused variable `pos'.
25369
25370 2011-04-19 Glenn Morris <rgm@gnu.org>
25371
25372 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
25373 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
25374 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
25375 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
25376 * calendar/cal-html.el (cal-html-insert-minical):
25377 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
25378 (calendar-mark-date-pattern):
25379 Prefix "unused" locals.
25380
25381 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
25382 optional argument `style'.
25383
25384 * calendar/appt.el (appt-make-list):
25385 * calendar/cal-china.el (calendar-chinese-date-string):
25386 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
25387 (diary-hebrew-yahrzeit):
25388 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
25389 * calendar/calendar.el (calendar-generate-window):
25390 * calendar/time-date.el (time-to-days):
25391 Remove unused local variables.
25392
25393 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
25394
25395 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
25396 glyphless-char-display table.
25397 (tabulated-list-glyphless-char-display): New var.
25398
25399 2011-04-18 Sam Steingold <sds@gnu.org>
25400
25401 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
25402 to acknowledgments.
25403
25404 2011-04-17 Glenn Morris <rgm@gnu.org>
25405
25406 * calendar/diary-lib.el (diary-sexp-entry):
25407 * calendar/holidays.el (holiday-sexp):
25408 Set debug-on-error rather than the removed stack-trace-on-error.
25409
25410 2011-04-16 Glenn Morris <rgm@gnu.org>
25411
25412 * progmodes/f90.el: Use lexical-binding.
25413 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
25414
25415 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
25416
25417 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
25418 (mail-mode): Setup mailalias completion here instead.
25419 * mail/mailalias.el: Use lexical-binding.
25420 (pattern, mailalias-done): Declare dynamic.
25421 (mail-completion-at-point-function): New function, from mail-complete.
25422 (mail-complete): Use it.
25423 (mail-completion-expand): New function.
25424 (mail-get-names): Use it.
25425 (mail-directory, mail-directory-process, mail-directory-stream):
25426 Don't use `pattern' for lexically bound arg.
25427
25428 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
25429
25430 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
25431 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
25432 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
25433
25434 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
25435 (byte-save-window-excursion, byte-temp-output-buffer-setup)
25436 (byte-interactive-p): Define them again, for use when inlining
25437 old code.
25438
25439 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
25440
25441 * loadup.el: Use `string-to-number', not `string-to-int'.
25442
25443 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
25444
25445 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
25446 gud-gdb-complete-command.
25447 (gud-gdb-completions): New function, from gud-gdb-complete-command.
25448 (gud-gdb-completion-at-point): New function.
25449 (gud-gdb-completions): Remove.
25450
25451 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
25452
25453 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
25454 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
25455 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
25456 whether `executable-find' is bound.
25457
25458 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
25459
25460 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
25461
25462 * minibuffer.el (completion-in-region-mode-predicate)
25463 (completion-in-region-mode--predicate): New vars.
25464 (completion-in-region, completion-in-region--postch)
25465 (completion-in-region-mode): Use them.
25466 (completion--capf-wrapper): Also return the hook function.
25467 (completion-at-point, completion-help-at-point):
25468 Adjust and provide a predicate.
25469
25470 Preserve arg names for advice of subr and lexical functions (bug#8457).
25471 * help-fns.el (help-function-arglist): Consolidate the subr and
25472 new-byte-code cases. Add argument `preserve-names' to extract names
25473 from the docstring when needed.
25474 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
25475 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
25476 (ad-arglist): Use help-function-arglist's new arg.
25477 (ad-definition-type): Use cond.
25478
25479 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
25480
25481 * autorevert.el (auto-revert-handler):
25482 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
25483 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
25484 Don't quote lambda.
25485
25486 * image-mode.el (image-transform-set-scale):
25487 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
25488
25489 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
25490
25491 * net/network-stream.el (network-stream-open-starttls): Only do
25492 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
25493 Upgrades via gnutls-cli are too slow to be done opportunistically.
25494
25495 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
25496
25497 * dframe.el (dframe-current-frame): Remove spurious quote.
25498
25499 2011-04-12 Glenn Morris <rgm@gnu.org>
25500
25501 * calendar/cal-tex.el (cal-tex-end-document):
25502 Try to automatically use latin1 input if needed.
25503
25504 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
25505 Don't try to cons a mark onto an empty element.
25506
25507 2011-04-11 Leo Liu <sdl.web@gmail.com>
25508
25509 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
25510 buffers.
25511 (ido-kill-buffer-at-head): Support killing virtual buffers.
25512
25513 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
25514
25515 * minibuffer.el (completion-show-inline-help): New var.
25516 (completion--do-completion, minibuffer-complete)
25517 (minibuffer-force-complete, minibuffer-complete-word):
25518 Inhibit minibuffer messages if completion-show-inline-help is nil.
25519
25520 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
25521 to avoid interference from inline help (Bug#5849).
25522
25523 2011-04-10 Leo Liu <sdl.web@gmail.com>
25524
25525 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
25526 Fix typo.
25527
25528 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
25529
25530 * image-mode.el (image-toggle-display-image): Signal an error if
25531 not in Image mode.
25532 (image-transform-mode, image-transform-resize)
25533 (image-transform-set-rotation): Doc fix.
25534 (image-transform-set-resize): Delete.
25535 (image-transform-set-scale, image-transform-fit-to-height)
25536 (image-transform-fit-to-width): Handle image-toggle-display-image
25537 and image-transform-resize directly.
25538
25539 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
25540
25541 * doc-view.el (doc-view-fit-width-to-window)
25542 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
25543 New functions for fitting the shown image to the Emacs window size.
25544 (doc-view-mode-map): Add bindings for the new functions.
25545
25546 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
25547
25548 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
25549 Fix typo in docstring.
25550
25551 2011-04-08 Eli Zaretskii <eliz@gnu.org>
25552
25553 * files.el (file-size-human-readable): Produce one digit after
25554 decimal, like "ls -lh" does.
25555
25556 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
25557 the file size representation.
25558
25559 * simple.el (list-processes): If async subprocesses are not
25560 available, error out with a clear error message.
25561
25562 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
25563
25564 * help.el (help-form-show): New function, to be called from C.
25565 Put help-form output in a buffer named differently than *Help*.
25566
25567 2011-04-08 Eli Zaretskii <eliz@gnu.org>
25568
25569 * files.el (file-size-human-readable): New function.
25570
25571 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
25572 computing the representation inline. Don't require `cl'.
25573
25574 2011-04-08 Glenn Morris <rgm@gnu.org>
25575
25576 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
25577
25578 * net/browse-url.el (browse-url-firefox):
25579 Test system-type, not system-configuration.
25580
25581 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
25582 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
25583 Use log-edit-empty-buffer-p. (Bug#7598)
25584
25585 * net/rlogin.el (rlogin-process-connection-type): Simplify.
25586 (rlogin-mode-map): Initialize in the defvar.
25587 (rlogin): Use ignore-errors.
25588
25589 * replace.el (occur-mode-map): Some fixes for menu items.
25590
25591 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
25592
25593 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
25594
25595 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
25596
25597 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
25598 issuing unused warnings.
25599
25600 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
25601 macro directly.
25602
25603 * simple.el: Lisp reimplement of list-processes. Based on an
25604 earlier reimplementation by Leo Liu, but using tabulated-list.el.
25605 (process-menu-mode): New major mode.
25606 (list-processes--refresh, list-processes):
25607 (process-menu-visit-buffer): New functions.
25608
25609 * files.el (save-buffers-kill-emacs): Don't assume any return
25610 value of list-processes, which is undocumented anyway.
25611
25612 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
25613
25614 * emacs-lisp/tabulated-list.el: New file.
25615
25616 * emacs-lisp/package.el: Use Tabulated List mode.
25617 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
25618 (package-menu-mode): Derive from tabulated-list-mode. Set up the
25619 table format using Tabulated List mode variables.
25620 (package--push): New macro, replacing package-list-maybe-add.
25621 (package-menu--generate): Use package--push. Renamed from
25622 package--generate-package-list.
25623 (package-menu-refresh, list-packages): Use it.
25624 (package-menu--print-info): Rename from package-print-package.
25625 Return insertion data instead of inserting it directly.
25626 (package-menu-describe-package, package-menu-execute):
25627 Use tabulated-list-get-id.
25628 (package-menu-mark-delete, package-menu-mark-install)
25629 (package-menu-mark-unmark, package-menu-backup-unmark)
25630 (package-menu-mark-obsolete-for-deletion):
25631 Use tabulated-list-put-tag.
25632 (package--list-packages, package-menu-revert)
25633 (package-menu-get-package, package-menu-get-version)
25634 (package-menu-sort-by-column): Functions deleted.
25635 (package-menu-package-list, package-menu-sort-key): Vars deleted.
25636 (package-menu--status-predicate, package-menu--version-predicate)
25637 (package-menu--name-predicate)
25638 (package-menu--description-predicate): Handle arguments in the
25639 Tabulated List format.
25640 (package-list-packages-no-fetch): Call list-packages.
25641
25642 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
25643
25644 * files.el (after-find-file-from-revert-buffer): Remove variable.
25645 (after-find-file): Don't bind it.
25646 (revert-buffer-in-progress-p): New variable.
25647 (revert-buffer): Bind it.
25648 Pass nil for `after-find-file-from-revert-buffer'.
25649
25650 * saveplace.el (save-place-find-file-hook): Use new variable
25651 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
25652
25653 2011-04-06 Glenn Morris <rgm@gnu.org>
25654
25655 * Makefile.in (AUTOGEN_VCS): New variable.
25656 (autoloads): Use $AUTOGEN_VCS.
25657
25658 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
25659 * calendar/calendar.el (calendar-mode-map):
25660 Check for toolkit scroll bars. (Bug#8305)
25661
25662 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
25663
25664 * minibuffer.el (completion-in-region--postch)
25665 (completion-in-region-mode): Remove unnecessary messages.
25666
25667 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
25668
25669 * font-lock.el (font-lock-refresh-defaults):
25670 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
25671 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
25672
25673 * info.el (Info-directory-list, Info-read-node-name-2)
25674 (Info-split-parameter-string): Doc fixes.
25675 (Info-virtual-nodes): Reflow docstring.
25676 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
25677 (Info-apropos-toc-nodes, info-finder, Info-get-token)
25678 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
25679 Fix typos in docstrings.
25680 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
25681 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
25682 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
25683 (Info-restore-desktop-buffer): Mark unused parameters.
25684 (Info-directory-find-file, Info-directory-find-node)
25685 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
25686 (Info-virtual-index-find-node, Info-apropos-find-file)
25687 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
25688 Mark unused parameters; fix typos in docstrings.
25689 (Info-virtual-index): Remove unused local variable `nodename'.
25690
25691 2011-04-05 Deniz Dogan <deniz@dogan.se>
25692
25693 * net/rcirc.el: Update my e-mail address.
25694 (rcirc-mode-map): Remove M-o binding.
25695
25696 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
25697
25698 * startup.el (command-line): Save the cursor's theme-face
25699 directly, instead of using face-override-spec.
25700
25701 * custom.el (load-theme): Minor optimization in assigning faces.
25702
25703 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
25704
25705 * help-fns.el (describe-variable): Complete all variables having
25706 documentation, including keywords.
25707 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
25708
25709 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
25710
25711 Convert to lexical-binding.
25712
25713 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
25714 (bs--get-marked-string, bs--get-modified-string)
25715 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
25716 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
25717 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
25718
25719 * ehelp.el (electric-help-execute-extended)
25720 (electric-help-ctrl-x-prefix):
25721 * hexl.el (hexl-revert-buffer-function):
25722 * linum.el (linum-after-change, linum-after-scroll):
25723 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
25724
25725 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
25726
25727 2011-04-04 Daiki Ueno <ueno@unixuser.org>
25728
25729 * epa-dired.el:
25730 * epa-mail.el:
25731 * epa-hook.el:
25732 * epa-file.el:
25733 * epa.el:
25734 * epg.el: Use lexical binding.
25735
25736 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
25737
25738 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
25739
25740 * textmodes/flyspell.el (flyspell-word): Recognize default
25741 dictionary case for flyspell-mark-duplications-exceptions.
25742 Use regexp matching for languages.
25743 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
25744 default dictionary (Bug#7926).
25745
25746 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
25747
25748 * emacs-lisp/package.el (package--with-work-buffer):
25749 Recognize https URLs.
25750
25751 * net/network-stream.el: Move from gnus/proto-stream.el.
25752 Change prefix to network-stream throughout.
25753 (open-protocol-stream): Merge into open-network-stream, leaving
25754 open-protocol-stream as an alias. Handle nil BUFFER args.
25755
25756 * subr.el (open-network-stream): Move to net/network-stream.el.
25757
25758 2011-04-02 Glenn Morris <rgm@gnu.org>
25759
25760 * find-dired.el (find-exec-terminator): New option.
25761 (find-ls-option): Test for -ls support.
25762 (find-ls-subdir-switches): Test for -b in find-ls-option.
25763 (find-dired, find-grep-dired): Doc fixes.
25764 (find-dired): Use find-exec-terminator.
25765
25766 * find-dired.el (find-ls-option, find-ls-subdir-switches)
25767 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
25768 (find-name-arg): Remove purecopy.
25769
25770 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
25771 (grep-compute-defaults): Check for `-exec COMMAND +' support.
25772 Set grep-find-use-xargs, grep-find-command, and grep-find-template
25773 accordingly. Don't add the null-device if not needed.
25774
25775 * files.el (save-some-buffers): Doc fix.
25776
25777 2011-04-02 Eli Zaretskii <eliz@gnu.org>
25778
25779 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
25780
25781 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
25782
25783 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
25784 Use `dolist' rather than `mapcar'.
25785
25786 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
25787
25788 Add lexical binding.
25789
25790 * subr.el (apply-partially): Use new closures rather than CL.
25791 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
25792 (dolist, dotimes): Use slightly different expansion for lexical code.
25793 (functionp): Move to C.
25794 (letrec): New macro.
25795 (with-wrapper-hook): Use it and apply-partially instead of CL.
25796 (eval-after-load): Preserve lexical-binding.
25797 (save-window-excursion, with-output-to-temp-buffer): Turn them
25798 into macros.
25799
25800 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
25801
25802 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
25803 than the arglist.
25804 (help-add-fundoc-usage): Don't add `Not documented'.
25805 (help-function-arglist): Handle closures, subroutines, and new
25806 byte-code-functions.
25807 (help-make-usage): Remove leading underscores.
25808 (describe-function-1): Handle closures.
25809 (describe-variable): Use special-variable-p for completion.
25810
25811 * files.el (lexical-binding): Declare safe.
25812
25813 * emacs-lisp/pcase.el: Don't use destructuring-bind.
25814 (pcase--memoize): Rename from pcase-memoize. Change weakness.
25815 (pcase): Add `let' pattern.
25816 Change memoization so it actually works.
25817 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
25818 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
25819 <let>: New case.
25820
25821 * emacs-lisp/macroexp.el: Use lexical binding.
25822 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
25823 Don't convert ' to #' without checking that it's indeed quoting
25824 a lambda.
25825
25826 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
25827 Use eval-sexp-add-defvars.
25828 (eval-sexp-add-defvars): New fun.
25829
25830 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
25831
25832 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
25833 Don't autoload.
25834 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
25835 than the internal `byte-compile-lambda'.
25836 (defmethod): Don't hide code under quotes.
25837 (eieio-defmethod): New `code' argument.
25838
25839 * emacs-lisp/eieio-comp.el: Remove.
25840
25841 * emacs-lisp/edebug.el (edebug-eval-defun)
25842 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
25843 (edebug-toggle): Avoid `eval'.
25844
25845 * emacs-lisp/disass.el (disassemble-internal): Handle new
25846 `closure' objects.
25847 (disassemble-1): Handle new byte codes.
25848
25849 * emacs-lisp/cl.el (pushnew): Silence warning.
25850
25851 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
25852 (cl-byte-compile-throw): Remove.
25853 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
25854
25855 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
25856 closures.
25857
25858 * emacs-lisp/cconv.el: New file.
25859
25860 * emacs-lisp/bytecomp.el: Use lexical binding instead of
25861 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
25862 (byte-compile-initial-macro-environment):
25863 Handle declare-function here.
25864 (byte-compile--lexical-environment): New var.
25865 (byte-stack-ref, byte-stack-set, byte-discardN)
25866 (byte-discardN-preserve-tos): New lap codes.
25867 (byte-interactive-p): Don't use any more.
25868 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
25869 New macros.
25870 (byte-compile-lapcode): Use them and handle new lap codes.
25871 (byte-compile-obsolete): Remove.
25872 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
25873 (byte-compile-arglist-warn): Check late def of inlinable funs.
25874 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
25875 since they should have been expanded by now.
25876 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
25877 (byte-compile-from-buffer): Remove unused second arg.
25878 (byte-compile-preprocess): New function.
25879 (byte-compile-toplevel-file-form): New function to distinguish
25880 file-form calls from outside from file-form calls from hunk-handlers.
25881 (byte-compile-file-form): Simplify.
25882 (byte-compile-file-form-defsubst): Remove.
25883 (byte-compile-file-form-defmumble): Simplify now that
25884 byte-compile-lambda always returns a byte-code-function.
25885 (byte-compile): Preprocess.
25886 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
25887 Remove, not used any more.
25888 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
25889 (byte-compile-make-args-desc): New funs.
25890 (byte-compile-lambda): Handle lexical functions. Always return
25891 a byte-code-function.
25892 (byte-compile-reserved-constants): New var, to make up room for
25893 closed-over variables.
25894 (byte-compile-constants-vector): Obey it.
25895 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
25896 (byte-compile-macroexpand-declare-function): New function.
25897 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
25898 byte-code-functions.
25899 (byte-compile-form): Check obsolescence here.
25900 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
25901 (byte-compile-variable-ref): Remove.
25902 (byte-compile-dynamic-variable-op): New fun.
25903 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
25904 (byte-compile-variable-set): New funs.
25905 (byte-compile-discard): Add 2 args.
25906 (byte-compile-stack-ref, byte-compile-stack-set)
25907 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
25908 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
25909 macroexpand-all instead.
25910 (byte-compile-quote-form): Remove.
25911 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
25912 (byte-compile-bind, byte-compile-unbind): New funs.
25913 (byte-compile-let): Handle let* and lexical binding.
25914 (byte-compile-let*): Remove.
25915 (byte-compile-catch, byte-compile-unwind-protect)
25916 (byte-compile-track-mouse, byte-compile-condition-case):
25917 Handle a new :fun-body form, used for lexical scoping.
25918 (byte-compile-save-window-excursion)
25919 (byte-compile-with-output-to-temp-buffer): Remove.
25920 (byte-compile-defun): Simplify.
25921 (byte-compile-stack-adjustment): New fun.
25922 (byte-compile-out): Use it.
25923 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
25924
25925 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
25926 handler any more.
25927
25928 * emacs-lisp/byte-opt.el: Use lexical binding.
25929 (byte-inline-lapcode): Remove (to bytecomp).
25930 (byte-compile-inline-expand): Pay attention to inlining to/from
25931 lexically bound code.
25932 (byte-compile-unfold-lambda): Don't handle byte-code-functions
25933 any more.
25934 (byte-optimize-form-code-walker): Don't handle save-window-excursion
25935 any more and don't call compiler-macros.
25936 (byte-compile-splice-in-already-compiled-code): Remove.
25937 (byte-code): Don't inline any more.
25938 (disassemble-offset): Receive `bytes' as argument rather than via
25939 dynamic scoping.
25940 (byte-compile-tag-number): Declare before first use.
25941 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
25942 `return' even if make-spliceable.
25943 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
25944 obsolete interactive-p.
25945 (byte-optimize-lapcode): Optimize new lap-codes.
25946 Don't trip up on new form of `byte-constant' lap code.
25947
25948 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
25949
25950 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
25951
25952 * custom.el (custom-initialize-default, custom-declare-variable):
25953 Use `defvar'.
25954
25955 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
25956 New variables.
25957 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
25958 (COMPILE_FIRST): Add macroexp and cconv.
25959 * makefile.w32-in: Mirror changes in Makefile.in.
25960
25961 * vc/cvs-status.el:
25962 * vc/diff-mode.el:
25963 * vc/log-edit.el:
25964 * vc/log-view.el:
25965 * vc/smerge-mode.el:
25966 * textmodes/bibtex-style.el:
25967 * textmodes/css-mode.el:
25968 * startup.el:
25969 * uniquify.el:
25970 * minibuffer.el:
25971 * newcomment.el:
25972 * reveal.el:
25973 * server.el:
25974 * mpc.el:
25975 * emacs-lisp/smie.el:
25976 * doc-view.el:
25977 * dired.el:
25978 * abbrev.el: Use lexical binding.
25979
25980 2011-04-01 Eli Zaretskii <eliz@gnu.org>
25981
25982 * info.el (info-display-manual): New function.
25983
25984 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
25985
25986 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
25987
25988 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
25989
25990 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
25991 an entry for that server in rcirc-authinfo. (Bug#8385)
25992
25993 2011-03-31 Glenn Morris <rgm@gnu.org>
25994
25995 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
25996
25997 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
25998
25999 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
26000
26001 * progmodes/python.el (python-default-interpreter)
26002 (python-python-command-args, python-jython-command-args)
26003 (python-which-shell, python-which-args, python-which-bufname)
26004 (python-file-queue, python-comint-output-filter-function)
26005 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
26006 variables and functions.
26007
26008 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
26009
26010 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
26011 (completion-in-region-mode): New minor mode.
26012 (completion-in-region): Use it.
26013 (completion-in-region--data, completion-in-region-mode-map): New vars.
26014 (completion-in-region--postch): New function.
26015 (completion--capf-misbehave-funs, completion--capf-safe-funs):
26016 New vars.
26017 (completion--capf-wrapper): New function.
26018 (completion-at-point): Use it to track well-behavedness of
26019 hook functions.
26020 (completion-help-at-point): New command.
26021
26022 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
26023
26024 * vc/add-log.el (add-change-log-entry): Don't use whitespace
26025 syntax class to search for whitespace on a single line
26026 (Message-ID: <4D938140.4030905@redhat.com>).
26027
26028 2011-03-30 Leo Liu <sdl.web@gmail.com>
26029
26030 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
26031 New commands.
26032 (edit-abbrevs-map): Bind them here.
26033 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
26034
26035 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
26036
26037 * allout.el (allout-hide-by-annotation, allout-flag-region):
26038 Reduce possibility of overlay leakage by making them volatile.
26039
26040 * allout-widgets.el (allout-widgets-tally): Define as nil so the
26041 hash is not shared between buffers. Mode initialization is
26042 responsible for giving it a useful starting value.
26043 (allout-item-span): Reduce possibility of overlay leakage by
26044 making them volatile.
26045 (allout-widgets-count-buttons-in-region): Add diagnostic function
26046 for tracking down button overlay leaks.
26047
26048 2011-03-29 Leo Liu <sdl.web@gmail.com>
26049
26050 * ido.el (ido-read-internal): Use the default history var
26051 minibuffer-history if no HISTORY is specified.
26052
26053 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
26054
26055 * net/imap.el (imap-shell-open, imap-process-connection-type):
26056 Use imap-process-connection-type for 'shell' streams as well as
26057 Kerberos, SSL, other subprocesses.
26058
26059 2011-03-28 Leo Liu <sdl.web@gmail.com>
26060
26061 * abbrev.el (abbrev-table-empty-p): New function.
26062 (prepare-abbrev-list-buffer): Place empty abbrev tables after
26063 nonempty ones. (Bug#5937)
26064
26065 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
26066
26067 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
26068
26069 2011-03-27 Leo Liu <sdl.web@gmail.com>
26070
26071 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
26072 for foreground and background colors.
26073 (ansi-color-make-color-map): Adapt.
26074
26075 2011-03-25 Leo Liu <sdl.web@gmail.com>
26076
26077 * midnight.el (midnight-time-float): Remove. Note it calculates
26078 the microsecond component incorrectly and seconds-to-time does the
26079 same job.
26080 Remove redundant (require 'timer).
26081
26082 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
26083 (ido-completions): Remove unused arguments. (Bug#8329)
26084
26085 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
26086
26087 * minibuffer.el (completion--flush-all-sorted-completions):
26088 Remove itself from hook.
26089 (completion-at-point): Let the functions perform the completion
26090 immediately and return nil or t.
26091 * comint.el (comint-dynamic-complete-functions): Now identical to
26092 completion-at-point-functions.
26093 (comint-dynamic-list-input-ring): Remove unused var `index'.
26094 (comint--match-partial-filename, comint--unquote&expand-filename):
26095 New funs, split from comint-match-partial-filename.
26096 (comint-dynamic-complete): Use completion-at-point.
26097 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
26098
26099 2011-03-24 Drew Adams <drew.adams@oracle.com>
26100
26101 * thingatpt.el: Support `defun'.
26102
26103 2011-03-23 Leo Liu <sdl.web@gmail.com>
26104
26105 * abbrevlist.el: Move to obsolete/abbrevlist.el.
26106
26107 * help-mode.el (help-mode-finish): Tweak regexp.
26108
26109 2011-03-23 Glenn Morris <rgm@gnu.org>
26110
26111 * eshell/esh-opt.el (eshell-eval-using-options):
26112 Do not bind unused local variable `eshell-option-stub'.
26113
26114 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
26115
26116 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
26117
26118 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
26119 keymap variable in `with-no-warnings' to avoid a warning when the
26120 keymap has been already `defconst'ed.
26121
26122 2011-03-22 Leo Liu <sdl.web@gmail.com>
26123
26124 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
26125 encode all chars in abbrevs; otherwise use emacs-mule or
26126 utf-8-emacs. (Bug#8308)
26127
26128 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
26129
26130 * simple.el (backward-delete-char-untabify):
26131 Avoid warning about using `delete-backward-char'.
26132
26133 * image.el (image-type-file-name-regexps): Make it variable.
26134 `imagemagick-register-types' modifies it, and the user may want
26135 to add new extensions for known image types.
26136 (imagemagick-register-types): Throw error if not using ImageMagick.
26137
26138 2011-03-22 Leo Liu <sdl.web@gmail.com>
26139
26140 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
26141 located before rcirc-prompt-end-marker.
26142 (rcirc-complete): Error if point is not after rcirc prompt.
26143 Handle the case when table is nil.
26144 (rcirc-user-authenticated): Define to fix compiler warning.
26145
26146 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
26147
26148 * custom.el (custom--inhibit-theme-enable): Make it affect only
26149 custom-theme-set-variables and custom-theme-set-faces.
26150 (provide-theme): Ignore custom--inhibit-theme-enable.
26151 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
26152 (custom-enabling-themes): Delete variable.
26153 (enable-theme): Accept only loaded themes as arguments.
26154 Ignore the special custom-enabled-themes variable.
26155 (custom-enabled-themes): Forbid themes from setting this.
26156 Eliminate use of custom-enabling-themes.
26157 (custom-push-theme): Quote "changed" custom var entry.
26158
26159 2011-03-21 Leo Liu <sdl.web@gmail.com>
26160
26161 * ido.el (ido-read-internal): Add ido-selected to history instead
26162 of user input.
26163
26164 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
26165
26166 * subr.el (deferred-action-list, deferred-action-function):
26167 Mark obsolete.
26168
26169 2011-03-21 Leo Liu <sdl.web@gmail.com>
26170
26171 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
26172 change on 2011-02-13 (bug#8309).
26173
26174 * minibuffer.el (read-file-name-function): Change default value.
26175 (read-file-name--defaults): Rename from read-file-name-defaults.
26176 (read-file-name-default): Rename from read-file-name.
26177 (read-file-name): Call read-file-name-function.
26178
26179 2011-03-21 Glenn Morris <rgm@gnu.org>
26180
26181 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
26182 Doc fixes.
26183
26184 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
26185
26186 * cus-theme.el: Add missing provide statement.
26187 (customize-create-theme): Extract theme value correctly.
26188 (custom-theme-visit-theme): Autoload.
26189 (customize-create-theme): Prompt before inserting default faces.
26190
26191 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
26192
26193 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
26194 units and musical notes.
26195
26196 2011-03-20 Leo Liu <sdl.web@gmail.com>
26197
26198 * ido.el (ido-read-internal): Use completing-read-default.
26199 (ido-completing-read): Fix compatibility with completing-read.
26200
26201 2011-03-20 Christian Ohler <ohler@gnu.org>
26202
26203 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
26204 (ert-delete-all-tests): Use `called-interactively-p' rather than
26205 `interactive-p'.
26206 (ert--make-xrefs-region): Respect END.
26207
26208 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
26209
26210 * dired-aux.el (dired-create-directory): Signal an error if the
26211 directory already exists (Bug#8246).
26212
26213 * facemenu.el (list-colors-display): Call list-faces-display
26214 inside with-help-window.
26215 (list-colors-print): Use display property to align the final
26216 column, instead of checking window-width.
26217
26218 2011-03-19 Eli Zaretskii <eliz@gnu.org>
26219
26220 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
26221 windows-nt systems.
26222 (emerge-protect-metachars): Quote correctly for ms-dos and
26223 windows-nt systems.
26224
26225 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
26226
26227 * info.el (info-initialize): Replace all uses of `:' with
26228 path-separator for compatibility with non-Unix systems.
26229 Cache quoting of path-separator. (Bug#8258)
26230
26231 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
26232
26233 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
26234 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
26235 (mouse-avoidance-mode): Fix typos in docstrings.
26236
26237 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
26238
26239 * startup.el (package-subdirectory-regexp): Move from package.el.
26240 Omit \\` and \\', and let callers add them.
26241
26242 * emacs-lisp/package.el (package-strip-version)
26243 (package-load-all-descriptors): Add \\` and \\' to
26244 package-subdirectory-regexp before using it.
26245 (package-untar-buffer): New arg DIR; ensure that file untars only
26246 into this expected directory. Remove superfluous delete-region.
26247 (package-unpack): Caller changed.
26248 (package-tar-file-info): Use package-subdirectory-regexp.
26249
26250 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
26251
26252 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
26253 diff-mode-shared-map (bug#8284).
26254 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
26255
26256 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
26257
26258 * calendar/time-date.el (format-seconds): Use assoc instead of
26259 assoc-string, since assoc-string doesn't exist in XEmacs.
26260
26261 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
26262
26263 * custom.el (custom-known-themes): Reflow docstring.
26264 (custom-theme-load-path): Fix typo in docstring.
26265 (load-theme): Fix typo in error message.
26266 (custom-available-themes, custom-variable-theme-value):
26267 Use `let', not `let*'.
26268
26269 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
26270
26271 * calc/README: Mention inclusion of musical notes.
26272
26273 * calc/calc-units.el (calc-lu-quant): Rename from
26274 `calc-logunits-quantity'.
26275 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
26276 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
26277 (calc-db): Rename from `calc-dblevel'.
26278 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
26279 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
26280 (calc-np): Rename from `calc-nplevel'.
26281 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
26282 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
26283 (calc-lu-plus): Rename from `calc-logunits-add'.
26284 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
26285 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
26286 (calc-lu-minus): Rename from `calc-logunits-sub'.
26287 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
26288 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
26289 (calc-lu-times): Rename from `calc-logunits-mul'.
26290 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
26291 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
26292 (calc-lu-divide): Rename from `calc-logunits-div'.
26293 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
26294 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
26295
26296 * calc/calc-ext.el (calc-init-extensions): Update the names of the
26297 functions being autoloaded.
26298
26299 * calc/calc.el (calc-lu-power-reference): Rename from
26300 `calc-logunits-power-reference'.
26301 (calc-lu-field-reference): Rename from
26302 `calc-logunits-field-reference'.
26303
26304 * calc/calc-help.el (calc-l-prefix-help):
26305 Mention musical note functions.
26306
26307 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
26308
26309 * minibuffer.el (completion-all-sorted-completions):
26310 Use :completion-cycle-penalty text property if present.
26311
26312 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
26313
26314 * allout.el (allout-yank-processing): Adjust for new rebulleting
26315 regime so bullet being yanked is used without prompting the user
26316 for a choice.
26317
26318 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
26319
26320 * startup.el (command-line): Warn the user that _emacs is deprecated.
26321
26322 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
26323
26324 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
26325 (delphi-verbose, delphi-comment-face, delphi-string-face)
26326 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
26327 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
26328 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
26329 (delphi-new-comment-line, delphi-font-lock-defaults)
26330 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
26331 Fix typos in docstrings.
26332
26333 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
26334
26335 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
26336 Invert the roles of character and string values for INSTEAD, so a
26337 string is used for the more common case of a defaulting prompt.
26338
26339 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
26340
26341 * progmodes/ruby-mode.el (ruby-backward-sexp):
26342 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
26343 * play/gamegrid.el (gamegrid-make-face):
26344 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
26345 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
26346 * notifications.el (notifications-notify):
26347 * net/xesam.el (xesam-search-engines):
26348 * net/quickurl.el (quickurl-list-insert):
26349 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
26350
26351 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
26352
26353 * startup.el (command-line): Update package subdirectory regexp.
26354
26355 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
26356
26357 * allout.el (allout-abbreviate-flattened-numbering)
26358 (allout-mode-deactivate-hook): Fix up obsolescence "date".
26359
26360 * subr.el (read-char-choice): Only show the cursor after the prompt,
26361 not after the answer.
26362
26363 2011-03-15 Kevin Ryde <user42@zip.com.au>
26364
26365 * help-fns.el (variable-at-point): Skip leading quotes, if any
26366 (bug#8253).
26367
26368 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
26369
26370 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
26371 warning message.
26372
26373 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
26374
26375 * shell.el (shell): When called interactively, offer to change the
26376 shell file name on remote hosts.
26377
26378 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
26379
26380 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
26381 integration for LDAP parameters. The host, base, user or binddn,
26382 and secret tokens can be specified in a netrc file, for instance.
26383 This is optional because an `auth-source' parameter must be
26384 specified in the search attributes.
26385
26386 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
26387
26388 * help.el (describe-mode): Link to the mode's definition (bug#8185).
26389
26390 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
26391
26392 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
26393 into declaration. Remove redundant and harmful binding.
26394
26395 2011-03-12 Eli Zaretskii <eliz@gnu.org>
26396
26397 * files.el (file-ownership-preserved-p): Pass `integer' as an
26398 explicit 2nd argument to `file-attributes'. If the file's owner
26399 is the Administrators group on Windows, and the current user is
26400 Administrator, consider that a match.
26401
26402 * server.el (server-ensure-safe-dir): Consider server directory
26403 safe on MS-Windows if its owner is the Administrators group while
26404 the current Emacs user is Administrator. Use `=' to compare
26405 numerical UIDs, since they could be integers or floats.
26406
26407 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
26408
26409 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
26410
26411 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
26412
26413 Sync with Tramp 2.2.1.
26414
26415 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
26416
26417 * net/trampver.el: Update release number.
26418
26419 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
26420
26421 * progmodes/compile.el (compilation--previous-directory): Fix up
26422 various nil/dead-marker mismatches (bug#8014).
26423 (compilation-directory-properties, compilation-error-properties):
26424 Don't call it at a position past the one we're about to change.
26425
26426 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
26427 Disable obsolescence warnings in the file that declares it.
26428
26429 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
26430
26431 * allout-widgets.el (allout-widgets-tally):
26432 Initialize allout-widgets-tally as a hash table rather than nil to
26433 prevent mode-line redisplay warnings. Also, clarify the module
26434 description and fix a comment typo.
26435
26436 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
26437
26438 * help-fns.el (describe-variable): Don't complete keywords.
26439 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
26440
26441 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
26442
26443 * emacs-lisp/package.el (package-version-join): Impose a standard
26444 string representation for pre/alpha/beta version lists.
26445 (package-unpack-single): Standardize the directory name by passing
26446 it through package-version-join.
26447 (package-strip-rcs-id): Accept any version string that does not
26448 signal an error in version-to-list.
26449
26450 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
26451
26452 * simple.el (delete-trailing-whitespace): Return nil for the
26453 benefit of `write-file-functions'.
26454
26455 2011-03-10 Glenn Morris <rgm@gnu.org>
26456
26457 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
26458
26459 * vc/vc-git.el (vc-git-program): New option.
26460 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
26461 (vc-git--call): Use it.
26462
26463 * eshell/esh-util.el (eshell-condition-case): Doc fix.
26464
26465 * cus-edit.el (Custom-newline): If no button at point, look
26466 for a subgroup button at start-of-line. (Bug#2298)
26467
26468 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
26469
26470 2011-03-10 Julien Danjou <julien@danjou.info>
26471
26472 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
26473 `cursor-type' is nil.
26474
26475 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
26476
26477 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
26478
26479 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
26480
26481 * allout.el: Change so yank of distinctive-bullet items
26482 preserves the existing header prefix, rebulleting it if necessary,
26483 rather than replacing it. This is necessary for proper operation
26484 of cooperative addons like allout-widgets.
26485 (allout-make-topic-prefix, allout-rebullet-heading):
26486 Change SOLICIT arg to INSTEAD, and interpret additionally a string
26487 value as alternate bullet to be used, instead of prompting the user
26488 for a bullet character.
26489
26490 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
26491
26492 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
26493 Do not use `tramp-file-name-port', because this returns also
26494 `tramp-default-port'.
26495
26496 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
26497
26498 * net/rcirc.el (rcirc-handler-001): Remove useless
26499 with-rcirc-process-buffer.
26500 (rcirc-check-auth-status): Swap arguments to string-match.
26501
26502 2011-03-09 Glenn Morris <rgm@gnu.org>
26503
26504 * shell.el (shell-mode):
26505 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
26506
26507 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
26508 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
26509
26510 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
26511
26512 * emacs-lisp/package.el (package-refresh-contents)
26513 (package-menu-execute): Use condition-case-no-debug.
26514
26515 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
26516
26517 * simple.el (shell-command-to-string): Use `process-file'.
26518
26519 * emacs-lisp/package.el (package-tar-file-info): Handle also
26520 remote files.
26521
26522 * emacs-lisp/package-x.el (package-upload-buffer-internal):
26523 Use `equal' for upload base check.
26524
26525 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
26526
26527 * textmodes/texinfo.el (texinfo-environments):
26528 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
26529
26530 2011-03-08 Glenn Morris <rgm@gnu.org>
26531
26532 * cus-start.el (cursor-in-non-selected-windows):
26533 Fix :set quoting oddness. (Bug#8192)
26534
26535 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
26536 in some setf expressions. (Bug#2159)
26537
26538 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
26539
26540 * custom.el (custom-available-themes): Return themes in
26541 alphabetical order.
26542
26543 See ChangeLog.15 for earlier changes.
26544
26545 ;; Local Variables:
26546 ;; coding: utf-8
26547 ;; End:
26548
26549 Copyright (C) 2011-2013 Free Software Foundation, Inc.
26550
26551 This file is part of GNU Emacs.
26552
26553 GNU Emacs is free software: you can redistribute it and/or modify
26554 it under the terms of the GNU General Public License as published by
26555 the Free Software Foundation, either version 3 of the License, or
26556 (at your option) any later version.
26557
26558 GNU Emacs is distributed in the hope that it will be useful,
26559 but WITHOUT ANY WARRANTY; without even the implied warranty of
26560 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
26561 GNU General Public License for more details.
26562
26563 You should have received a copy of the GNU General Public License
26564 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.