ff9b0e2a86fb34145a916af35cddbda8288d7497
[bpt/emacs.git] / lisp / ChangeLog
1 2012-12-04 Jambunathan K <kjambunathan@gmail.com>
2
3 * hi-lock.el (hi-lock-auto-select-face): New user variable.
4 (hi-lock-auto-select-face-defaults): New buffer local variable.
5 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
6 (hi-lock-unface-buffer): Prompt user with useful defaults.
7 With prefix arg, unhighlight all hi-lock patterns in buffer.
8
9 2012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
10
11 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
12
13 2012-12-04 Michael Albinus <michael.albinus@gmx.de>
14
15 * Makefile.in (TRAMP_SRC):
16 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
17
18 2012-12-04 Juergen Hoetzel <juergen@archlinux.org>
19
20 * net/tramp-adb.el: New package.
21
22 2012-12-04 Chong Yidong <cyd@gnu.org>
23
24 * terminal.el: Move to obsolete/.
25
26 * longlines.el: Move to obsolete/.
27
28 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
29 Remove code referring to longlines mode.
30
31 2012-12-03 Juri Linkov <juri@jurta.org>
32
33 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
34
35 2012-12-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
36
37 * textmodes/ispell.el (ispell-init-process)
38 (ispell-start-process, ispell-internal-change-dictionary):
39 Make sure personal dictionary name is expanded after initial
40 `default-directory' value. Use expanded strings for
41 keep/restart checks and for value (Bug#13019).
42
43 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
44
45 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
46
47 2012-12-03 Leo Liu <sdl.web@gmail.com>
48
49 * files.el (dir-locals-read-from-file): Check file non-empty
50 before reading. (Bug#13038)
51
52 2012-12-03 Glenn Morris <rgm@gnu.org>
53
54 * jka-cmpr-hook.el (jka-compr-get-compression-info):
55 Remove any version extension before checking filename. (Bug#13006)
56 (jka-compr-compression-info-list): Belated :version bump.
57
58 2012-12-03 Chong Yidong <cyd@gnu.org>
59
60 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
61
62 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
63 (buffer-menu): Doc fix (Bug#12294).
64
65 2012-12-03 Roland Winkler <winkler@gnu.org>
66
67 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
68 of diary-show-all-entries in the diary buffer (Bug#12994).
69
70 2012-12-03 Michael Albinus <michael.albinus@gmx.de>
71
72 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
73 "<STDIN>". This is binary safe.
74
75 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
76
77 * calc/calc-forms.el (math-absolute-from-iso-dt)
78 (math-date-to-iso-dt, math-parse-iso-date-validate)
79 (math-iso-dt-to-date): New functions.
80 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
81 (math-fd-isoweekday): New variables.
82 (calc-date-notation, math-parse-standard-date, math-format-date)
83 (math-format-date-part): Add support for more formatting codes.
84
85 2012-12-02 Dmitry Gutov <dgutov@yandex.ru>
86
87 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
88 current buffer's file name when called interactively (Bug#12488).
89
90 2012-12-02 Juri Linkov <juri@jurta.org>
91
92 * info.el (info-display-manual): Don't clobber an existing Info
93 buffer (Bug#10770). Add completion (Bug#10771).
94
95 2012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
96
97 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
98 before using it for comparison (Bug#5297).
99
100 2012-12-01 Jari Aalto <jari.aalto@cante.net>
101
102 * textmodes/css-mode.el (css-current-defun-name): New function.
103 (css-mode): Use it.
104
105 * textmodes/sgml-mode.el (html-current-defun-name): New function.
106 (html-mode): Use it.
107
108 2012-12-01 Chong Yidong <cyd@gnu.org>
109
110 Modularize add-log-current-defun (Bug#2224).
111 Suggested by Jari Aalto.
112
113 * vc/add-log.el (add-log-current-defun-function): Doc fix.
114 (add-log-current-defun): Move mode-specific code to other files.
115 (add-log-lisp-like-modes, add-log-c-like-modes)
116 (add-log-tex-like-modes): Variables deleted.
117
118 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
119 (lisp-mode-variables): Use it.
120
121 * progmodes/cc-mode.el (c-common-init):
122 * progmodes/cperl-mode.el (cperl-mode): Set a value for
123 add-log-current-defun-function.
124
125 * progmodes/m4-mode.el (m4-current-defun-name): New function.
126 (m4-mode): Use it.
127
128 * progmodes/perl-mode.el (perl-current-defun-name): New.
129 (perl-mode): Use it.
130
131 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode): Use
132 lisp-current-defun-name.
133
134 * textmodes/tex-mode.el (tex-current-defun-name): New.
135 (tex-common-initialization): Use it.
136
137 * textmodes/texinfo.el (texinfo-current-defun-name): New.
138 (texinfo-mode): Use it.
139
140 2012-12-01 Chong Yidong <cyd@gnu.org>
141
142 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
143 * progmodes/autoconf.el (autoconf-mode):
144 * progmodes/js.el (js-mode):
145 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
146 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
147 * progmodes/perl-mode.el (perl-mode):
148 * progmodes/sh-script.el (sh-mode, sh-set-shell):
149 * textmodes/css-mode.el (css-mode):
150 * textmodes/sgml-mode.el (html-mode, sgml-mode)
151 (sgml-tags-invisible, sgml-guess-indent):
152 * textmodes/tex-mode.el (tex-common-initialization)
153 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
154 (doctex-mode, plain-tex-mode, latex-mode):
155 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
156
157 2012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
158
159 * vc/vc-hg.el (vc-hg-next-revision):
160 Ensure use of default "tip" output format. (Bug#6968)
161
162 2012-12-01 Kim F. Storm <storm@cua.dk>
163
164 * startup.el (fancy-startup-tail): Add a clickable link
165 (Bug#2176).
166
167 2012-12-01 Chong Yidong <cyd@gnu.org>
168
169 * startup.el (fancy-startup-tail): Improve the message about
170 auto-save files (Bug#2176).
171
172 * files.el (recover-session): Improve the descriptive message, and
173 use substitute-command-keys.
174
175 2012-12-01 Glenn Morris <rgm@gnu.org>
176
177 * ido.el (ido-file-internal):
178 Handle other-window, other-frame for dired. (Bug#13036)
179
180 2012-11-30 Glenn Morris <rgm@gnu.org>
181
182 * icomplete.el (icomplete-separator): Fix :version.
183
184 2012-11-30 Chong Yidong <cyd@gnu.org>
185
186 * shell.el (shell): For C-u M-x shell, use an inactive shell
187 buffer as the default (Bug#1975).
188 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
189 (shell-mode): Use them to reapply ansi colorization if Shell mode
190 is re-enabled.
191
192 2012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
193
194 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
195
196 2012-11-30 Samuel Bronson <naesten@gmail.com>
197
198 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
199 flag to xargs, for compatibility with BSD xargs (Bug#11703).
200
201 2012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
202
203 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
204 by move-to-column (Bug#3234).
205
206 2012-11-30 Chong Yidong <cyd@gnu.org>
207
208 * longlines.el (longlines-wrap-line, longlines-encode-region):
209 Preserve text properties (Bug#1425).
210
211 2012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
212
213 * vc/vc.el (vc-register): Allow registering a file which is
214 already registered with a different backend (Bug#10589).
215
216 2012-11-29 Jambunathan K <kjambunathan@gmail.com>
217 Stefan Monnier <monnier@iro.umontreal.ca>
218
219 * icomplete.el: Change separator; add ido-style commands.
220 (icomplete-show-key-bindings): Remove custom var.
221 (icomplete-get-keys): Remove function.
222 (icomplete-forward-completions, icomplete-backward-completions):
223 New commands.
224 (icomplete-minibuffer-map): New var.
225 (icomplete-minibuffer-setup): Use it.
226 (icomplete-exhibit): Don't delay if the list of completions is known.
227 (icomplete-separator): New custom.
228 (icomplete-completions): Use it.
229 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
230 (minibuffer-force-complete-and-exit): New command.
231 (minibuffer--complete-and-exit): New function extracted from
232 minibuffer-complete-and-exit.
233 (minibuffer-complete-and-exit): Use it.
234
235 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
236 error message when the file doesn't exist (bug#12974).
237
238 2012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
239
240 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
241
242 2012-11-29 Glenn Morris <rgm@gnu.org>
243
244 * files.el (hack-dir-local-variables): Warn if try to set
245 coding via dir-locals, since it doesn't work. (Bug#7169)
246
247 Add desktop support for restoring vc-dir buffers. (Bug#10606)
248 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
249 Set buffer-local value of desktop-save-buffer.
250 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
251 New functions.
252 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
253 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
254
255 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
256 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
257 Doc fix.
258 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
259 Doc fixes.
260
261 2012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
262
263 * calc/calc-forms.el (calc-date-notation): Fix regexp
264 used to find time codes. Fix symbol for seconds.
265
266 2012-11-27 Glenn Morris <rgm@gnu.org>
267
268 * emacs-lisp/derived.el (derived-mode-make-docstring):
269 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
270
271 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
272
273 * textmodes/table.el (table-insert): Don't use `symbol-name' on
274 lexically scoped variables (bug#13005).
275
276 2012-11-27 Glenn Morris <rgm@gnu.org>
277
278 * vc/vc-hooks.el (vc-mistrust-permissions):
279 Default to t, to avoid data-loss. (Bug#11490)
280
281 2012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
282
283 * progmodes/python.el (python-indent-guess-indent-offset):
284 If indentation is guessed make python-indent-offset buffer-local.
285
286 Fix Imenu regression.
287 * progmodes/python.el (python-nav-beginning-of-defun):
288 Fix forward movement when statement(s) separates point from defun.
289 (python-imenu-prev-index-position): New function.
290
291 2012-11-27 Eli Zaretskii <eliz@gnu.org>
292
293 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
294
295 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
296 Don't set buffer-file-type. Return nil. (Bug#12989)
297
298 2012-11-27 Glenn Morris <rgm@gnu.org>
299
300 * hippie-exp.el (hippie-expand-try-functions-list):
301 Re-autoload it. (Bug#12982)
302
303 2012-11-27 Eli Zaretskii <eliz@gnu.org>
304
305 * descr-text.el (describe-char-padded-string):
306 Call internal-char-font only on GUI frames. (Bug#11964)
307
308 2012-11-27 Andreas Schwab <schwab@linux-m68k.org>
309
310 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
311 and obsoletion message.
312
313 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
314
315 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
316 the constructs to keep outside of the `cl-block' (bug#12977).
317
318 2012-11-27 Chong Yidong <cyd@gnu.org>
319
320 * mouse.el (mouse-drag-line): Even if the line is not draggable,
321 keep reading until we get the up-event anyway, in order to process
322 the up-event for mouse-1-click-follows-link (Bug#12971).
323
324 2012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
325
326 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
327 base function is not yet defined (bug#12965).
328 (ad-activate-advised-definition): Use ad-compile-function.
329 (ad-activate): Use cond.
330
331 2012-11-25 Leo Liu <sdl.web@gmail.com>
332
333 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
334 (Bug#12979)
335
336 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
337
338 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
339 reftex-section-info-function in order to be compatible with
340 Texinfo integration.
341
342 * textmodes/reftex.el (reftex-section-pre-regexp)
343 (reftex-section-post-regexp, reftex-section-info-function):
344 New variable.
345 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
346 reftex-section-post-regexp, and reftex-section-info-function in order
347 to be compatible with Texinfo integration.
348
349 * textmodes/reftex-toc.el (reftex-toc-promote-action):
350 use reftex-section-pre-regexp variable in order to be compatible with
351 Texinfo integration.
352
353 2012-11-25 Chong Yidong <cyd@gnu.org>
354
355 * faces.el: Make face-spec-set more analogous to setq.
356 (face-spec-set): Change the third arg to specify whether this
357 function is being called via defface, customize, or a third party.
358 Set the appropriate symbol properties. Clear the override spec if
359 setting via Custom. Initialize face if necessary. (Bug#4988)
360 (face-spec-recalc): Allow theme faces to completely replace the
361 defface spec, in the same way as custom faces (Bug#8454).
362
363 * cus-face.el (custom-declare-face): Move face initialization to
364 face-spec-set.
365 (custom-theme-set-faces): Don't initialize the face name here, as
366 that is now done in face-spec-set.
367
368 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
369 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
370 Simplify by using the new arg to face-spec-set.
371
372 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
373 reset face-override-spec too, and use custom-declare-face.
374
375 2012-11-24 Jan Djärv <jan.h.d@swipnet.se>
376
377 * term/ns-win.el (ns-initialize-window-system): Move creation of
378 fontsets here (Bug#11964).
379
380 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
381
382 * ses.el (ses-rename-cell): Correct bug on mode-line update after
383 cell renaming.
384
385 2012-11-24 Chong Yidong <cyd@gnu.org>
386
387 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
388 obsolete.
389
390 * custom.el (custom-theme-set-variables): Use a topological sort
391 for ordering by custom dependencies (Bug#12952).
392 (custom--sort-vars, custom--sort-vars-1): New functions.
393
394 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
395
396 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
397 lexical-binding (bug#12938).
398
399 2012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
400
401 * image-mode.el (image-transform-check-size): Use assertions only
402 for images of type imagemagick.
403
404 Otherwise no error, image-transform-fit-to-{width,height} is
405 silently ignored, as before. Doc fix.
406
407 2012-11-24 Chong Yidong <cyd@gnu.org>
408
409 * faces.el (color-defined-p): Doc fix (Bug#12853).
410
411 2012-11-24 Juri Linkov <juri@jurta.org>
412
413 * dired.el (dired-mark): Add optional arg `interactive'.
414 Check for `use-region-p' if `interactive' is non-nil.
415 (dired-unmark, dired-flag-file-deletion): Add optional arg
416 `interactive'. Call `dired-mark' with the arg `interactive'.
417 (Bug#10624)
418
419 * wdired.el: Revert 2012-10-17 change partly and replace it with
420 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
421 (wdired-finish-edit): Add marks for new file names to
422 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
423 after `revert-buffer'.
424 (wdired-do-renames): Remove calls to `dired-remove-file',
425 `dired-add-file', `dired-add-entry'. (Bug#11795)
426
427 2012-11-24 Alan Mackenzie <acm@muc.de>
428
429 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
430
431 Fix bugs in the state cache. Enhance a debugging mechanism.
432 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
433 "brace at column zero" strategy for C++.
434 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
435 (c-parse-state-point): New variable.
436 (c-record-parse-state-state): Record old parse state with
437 `copy-tree'. Record previous value of point.
438 (c-debug-parse-state-double-cons): New debugging function.
439 (c-debug-parse-state): Call the above new function.
440 (c-toggle-parse-state-debug): Output a confirmatory message.
441
442 * progmodes/cc-mode.el (c-before-change, c-after-change):
443 Call c-invalidate-state-cache from `c-before-change' instead of
444 `c-after-change'.
445
446 2012-11-23 Chong Yidong <cyd@gnu.org>
447
448 * find-cmd.el (find-constituents): Add executable, ipath,
449 readable, samefile, writable, daystart, regextype (Bug#12856).
450
451 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
452
453 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
454
455 2012-11-22 Paul Eggert <eggert@cs.ucla.edu>
456
457 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
458 definition. This fixes a bootstrap failure.
459 (calc-gregorian-switch): In menu, put dates before regions.
460 This is easier to follow, lines up better in the menu, and lets us
461 coalesce regions that switch at the same time. Give country
462 names, not "Vatican", as that's better for non-expert users.
463 Use names that are stable between the date of switch and now, e.g.,
464 Bohemia and Moravia (which existed then and now) and not
465 Czechoslovakia (which didn't exist then and doesn't exist now).
466 What is now the U.S. mostly did not switch at the same time as
467 Britain, so omit the U.S. Correct spelling of "Britain".
468 Catholic Switzerland was too much of a mess, so omit it.
469
470 2012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
471
472 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
473 after the variable is changed.
474
475 2012-11-21 Daniel Colascione <dancol@dancol.org>
476
477 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
478 in SQL declarations for font-lock.
479 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
480
481 2012-11-21 Glenn Morris <rgm@gnu.org>
482
483 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
484 (face-italic-p): Add optional argument "inherit".
485
486 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
487 Remove -p suffix from names, for consistency with other set-face-*.
488 (set-face-inverse-video): Fix interactive spec.
489 * play/gamegrid.el (gamegrid-make-mono-tty-face):
490 * textmodes/table.el (table--update-cell-face):
491 Use set-face-inverse-video rather than now obsolete alias.
492
493 2012-11-21 Eli Zaretskii <eliz@gnu.org>
494
495 * simple.el (line-move): Don't call line-move-partial if
496 scroll-conservatively is in effect. (Bug#12927)
497
498 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
499
500 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
501 Fallback on completion-at-point rather than
502 pcomplete-expand-and-complete, and only if pcomplete actually failed.
503 (eshell-cmpl-initialize): Setup completion-at-point.
504
505 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
506
507 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
508
509 2012-11-21 Michael Albinus <michael.albinus@gmx.de>
510
511 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
512 are remote, check out-of-band property for both.
513
514 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
515
516 * window.el (switch-to-buffer): Re-add the warning that was lost in the
517 code rewrite.
518
519 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
520
521 More minor time fixes.
522 * calendar/time-date.el: Commentary fix.
523 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
524 too much other code depends on (0 0) time stamps.
525 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
526 Add a couple of FIXME comments.
527
528 Minor cleanup for times as lists of four integers.
529 * files.el (dir-locals-directory-cache):
530 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
531 Doc fixes.
532 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
533 * ps-bdf.el (bdf-file-newer-than-time):
534 Process four-integers time stamps, not two. Doc fixes.
535
536 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
537
538 * uniquify.el (uniquify-managed): Use defvar-local.
539 (rename-buffer, create-file-buffer): Advise with advice-add.
540 (uniquify-unload-function): Unadvise accordingly.
541
542 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
543 (trace-buffer): Don't purecopy.
544 (trace-entry-message, trace-exit-message): Add `context' arg.
545 (trace--timer): New var.
546 (trace-make-advice): Adjust for use in nadvice.
547 Add `context' argument. Delay `display-buffer' via a timer.
548 (trace-function-internal): Use advice-add.
549 (trace--read-args): New function.
550 (trace-function-foreground, trace-function-background): Use it.
551 (trace-function): Rename to trace-function-foreground and redefine as
552 an alias to that new name.
553 (untrace-function, untrace-all): Adjust to the use of nadvice.
554
555 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
556
557 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
558
559 * subr.el (called-interactively-p-functions): New var.
560 (internal--called-interactively-p--get-frame): New macro.
561 (called-interactively-p, interactive-p): Rewrite in Lisp.
562 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
563 (called-interactively-p-functions): Use it.
564 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
565 (called-interactively-p-functions): Use it.
566 * allout.el (allout-called-interactively-p): Don't assume
567 called-interactively-p is a subr.
568
569 2012-11-20 Glenn Morris <rgm@gnu.org>
570
571 * profiler.el (profiler-report-mode-map): Add a menu.
572 No need to bind `q' because we derive from special-mode.
573 (profiler-report-find-entry): Handle calls from the menu-bar.
574
575 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
576
577 * emacs-lisp/byte-run.el (defun-declarations-alist):
578 Allow a compiler-macro to be a lambda expression.
579
580 * progmodes/python.el: Use cl-lib. Move var declarations outside of
581 eval-when-compile.
582 (python-syntax-context): Add compiler-macro.
583 (python-font-lock-keywords): Simplify with De Morgan.
584
585 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
586
587 * files.el (load-file): Require match in minibuffer selection, as was
588 the case in Emacs-20 before we changed the spec to allow .elc files
589 (bug#12935).
590
591 * json.el: Don't require cl since we don't use it.
592 * color.el: Don't require cl.
593 (color-complement): `caddr' -> `nth 2'.
594
595 * calendar/time-date.el (time-to-seconds): De-obsolete.
596
597 2012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
598
599 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
600 year numbers.
601 (math-date-to-julian-dt): Adjust the initial approximation for the
602 year to deal with the new definition of the DATE.
603
604 2012-11-19 Daniel Colascione <dancol@dancol.org>
605
606 * term/w32-win.el (cygwin-convert-path-from-windows):
607 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
608
609 2012-11-18 Chong Yidong <cyd@gnu.org>
610
611 * filecache.el (file-cache--read-list): New function.
612 (file-cache-add-directory-list, file-cache-add-file-list)
613 (file-cache-delete-file-list, file-cache-delete-directory-list):
614 Use it to read a list of files or directories (Bug#12846).
615 (file-cache-add-file, file-cache-add-directory)
616 (file-cache-delete-file-list, file-cache-delete-file-regexp)
617 (file-cache-delete-directory): Print an message.
618
619 2012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
620
621 * calc/calc-forms.el (math-date-to-dt): Use integer date when
622 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
623
624 2012-11-18 Glenn Morris <rgm@gnu.org>
625
626 * image.el (insert-image, insert-sliced-image): Doc fix.
627
628 2012-11-18 Chong Yidong <cyd@gnu.org>
629
630 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
631 (Bug#12810).
632
633 2012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
634
635 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
636 response when the target file is in a subdirectory (Bug#12757).
637
638 2012-11-18 Chong Yidong <cyd@gnu.org>
639
640 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
641
642 2012-11-18 Glenn Morris <rgm@gnu.org>
643
644 * emacs-lisp/cl-lib.el (face-underline-p):
645 Use set-face-underline rather than the alias set-face-underline-p.
646
647 * window.el (with-temp-buffer-window): Doc fix.
648 * subr.el (with-output-to-temp-buffer):
649 Add doc xref to with-temp-buffer-window.
650
651 2012-11-18 Juanma Barranquero <lekktu@gmail.com>
652
653 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
654 * calc/calc.el (math-format-date-cache): Declare.
655
656 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
657
658 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
659 It also uses January 1, 1 AD as its day number 1.
660 * calc/calc-forms.el (math-julian-date-beginning)
661 (math-julian-date-beginning-int): Implement this.
662
663 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
664
665 * descr-text.el (quail-find-key):
666 * dired.el (desktop-file-name):
667 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
668 * generic-x.el (comint-mode, comint-exec):
669 * image-dired.el (widget-forward):
670 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
671 (speedbar-change-expand-button-char)
672 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
673 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
674 * printing.el (easy-menu-add-item, easy-menu-remove-item)
675 (widget-field-action, widget-value-set):
676 * speedbar.el (imenu--make-index-alist):
677 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
678 (ring-length, ring-insert):
679 * vcursor.el (compare-windows-skip-whitespace):
680 * woman.el (dired-get-filename):
681 Declare functions.
682
683 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
684
685 2012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
686
687 * calc/calc.el (calc-gregorian-switch): New variable.
688
689 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
690 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
691 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
692 (math-leap-year-p): Add option to distinguish between Julian
693 and Gregorian calendars.
694 (math-day-number): Use `math-day-in-year' to do the computations.
695 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
696 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
697 to do the computations.
698 (math-date-to-dt): Use `math-date-to-julian-dt' and
699 `math-date-to-gregorian-dt' to do the computations.
700 (calcFunc-weekday, math-format-date-part): Use the new version of
701 the DATE to determine the weekday.
702 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
703 when necessary.
704
705 2012-11-17 Eli Zaretskii <eliz@gnu.org>
706
707 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
708 Cygwin; otherwise use 'file:'. (Bug#12914)
709 (cygwin-convert-path-from-windows): Declare, to avoid
710 byte-compiler warnings.
711
712 2012-11-17 Andreas Politz <politza@fh-trier.de>
713
714 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
715 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
716 prefix and negative numeric prefix args (Bug#12795).
717
718 2012-11-17 Stephen Berman <stephen.berman@gmx.net>
719
720 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
721 Don't signal an error with a score that is too low to add to the
722 list of top scores. (Bug#12779)
723
724 2012-11-17 Chong Yidong <cyd@gnu.org>
725
726 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
727
728 * filecache.el (file-cache-add-file): Handle relative file name in
729 the argument (Bug#12694).
730
731 2012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
732
733 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
734
735 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
736
737 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
738
739 * emacs-lisp/cl-lib.el: Set more meaningful version number.
740
741 2012-11-16 Martin Rudalics <rudalics@gmx.at>
742
743 * window.el (enlarge-window, shrink-window): Don't mention return
744 value in doc-string (Bug#12896).
745 (window--display-buffer): Don't resize frames - it won't work
746 with all window managers and defeat pop-up-frame-alist.
747 (display-buffer-alist): In doc-string explain that CONDITION can
748 be a function and which arguments are passed to it (Bug#12854).
749 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
750 expressions (Bug#12854).
751 (display-buffer): Pass ACTION argument to
752 display-buffer-assq-regexp.
753
754 2012-11-16 Glenn Morris <rgm@gnu.org>
755
756 * window.el (fit-frame-to-buffer-bottom-margin)
757 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
758
759 * faces.el (face-underline-p): Use face-attribute-specified-or.
760
761 2012-11-16 Juanma Barranquero <lekktu@gmail.com>
762
763 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
764
765 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
766
767 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
768
769 2012-11-16 Glenn Morris <rgm@gnu.org>
770
771 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
772 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
773
774 * faces.el (face-underline-p): Doc fix. Handle :underline being
775 things other than `t' (a string, a list).
776 (face-inverse-video-p): Doc fix.
777 (set-face-underline): Rename it back from set-face-underline-p.
778 Doc fix. Allow interactive input of values other than t.
779 (read-face-attribute): Apply formatting to :underline,
780 since like :box and :stipple it can take list values.
781
782 * term.el (ansi-term): Don't let C-x escape-char binding
783 clobber the more standard C-c binding. (Bug#12842)
784
785 * subr.el (set-temporary-overlay-map): Doc fix.
786
787 2012-11-16 Martin Rudalics <rudalics@gmx.at>
788
789 * window.el (record-window-buffer)
790 (display-buffer-record-window): When copying the markers to
791 window-point preserve window-point-insertion-type. (Bug#12588)
792
793 2012-11-16 Glenn Morris <rgm@gnu.org>
794
795 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
796 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
797 Use new names for hooks rather than obsolete aliases.
798
799 2012-11-15 Daniel Colascione <dancol@dancol.org>
800
801 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
802 prefix instead of "file:" so that when FILE-NAME begins with "//",
803 as it does when the target file is on a network share, url-handler
804 isn't confused.
805
806 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
807
808 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
809 a preactivated advice from an old advice.el; they're not compatible!
810
811 2012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
812
813 * emacs-lisp/nadvice.el (advice--make-interactive-form):
814 Fix string-spec case.
815
816 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
817
818 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
819
820 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
821 (advice--buffer-local-function-sample): New var.
822 (advice--set-buffer-local, advice--buffer-local): New functions.
823 (add-function, remove-function): Use them.
824
825 2012-11-15 Drew Adams <drew.adams@oracle.com>
826
827 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
828
829 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
830
831 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
832 potential binding of print-gensym to t, and prettify (back)quotes in
833 case they appear in args's default values (bug#12884).
834
835 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
836
837 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
838 (advice-eval-interactive-spec): New function.
839 (advice--make-interactive-form): Support around advice (bug#12844).
840
841 2012-11-14 Dmitry Gutov <dgutov@yandex.ru>
842
843 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
844 more strict. Add docstring.
845 (ruby-expression-expansion-re): Extract from
846 `ruby-match-expression-expansion'.
847 (ruby-syntax-propertize-function): After everything else, search
848 for expansions in string literals, mark their insides as
849 whitespace syntax and save match data for font-lock.
850 (ruby-font-lock-keywords): Use the 2nd group from expression
851 expansion matches.
852 (ruby-match-expression-expansion): Use the match data saved to the
853 text property in ruby-syntax-propertize-function.
854
855 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
856
857 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
858 (bug#12879).
859
860 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
861
862 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
863 start/end keyword a bit harder. Works with different values of N.
864 Add more comments.
865 (ruby-end-of-block): Update accordingly.
866
867 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
868
869 * woman.el (woman-file-name): Don't mess with unread-command-events
870 (bug#12861).
871
872 * emacs-lisp/advice.el: Layer on top of nadvice.el.
873 Remove out of date self-require hack.
874 (ad-do-advised-functions): Use simple `dolist'.
875 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
876 (ad-advice-definition): Redefine as functions.
877 (ad-advice-classes): Move before first use.
878 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
879 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
880 (ad--defalias-fset): Remove functions.
881 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
882 (ad-get-orig-definition): Rewrite.
883 (ad-make-advised-definition-docstring): Change base docstring.
884 (ad-real-orig-definition): Rewrite.
885 (ad-map-arglists): Change name of called function.
886 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
887 (ad-make-advised-definition): Simplify.
888 (ad-assemble-advised-definition): Tweak for new calling context.
889 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
890 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
891 function and call ad-activate if needed.
892 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
893 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
894 (ad-compile-function): Compile ad-Advice-*.
895 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
896 (ad-start-advice, ad-stop-advice): Remove.
897
898 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
899
900 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
901 period before class method names, not after. Remove handling of
902 one impossible case. Add comments.
903
904 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
905
906 * emacs-lisp/advice.el: Remove support for freezing.
907 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
908 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
909 Remove support for `freeze'.
910
911 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
912 override the default.
913 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
914 cl--dotimes/dolist.
915 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
916 `cl' is loaded.
917
918 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
919 from add-advice.
920 (advice--strip-macro): New function.
921 (advice--defalias-fset): Use them to handle macros.
922 (advice-add): Use them.
923 (advice-member-p): Correctly handle macros.
924
925 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
926
927 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
928 Never font-lock the beginning of singleton class as heredoc.
929
930 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
931
932 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
933
934 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
935
936 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
937 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
938 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
939
940 2012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
941
942 Fix end-of-defun misbehavior.
943 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
944 python-beginning-of-defun-function. Handle nested defuns
945 correctly.
946 (python-nav-end-of-defun): Rename from
947 python-end-of-defun-function. Ensure forward movement.
948 (python-info-current-defun): Reimplement to work as intended
949 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
950 parent defuns as soon as possible.
951
952 2012-11-13 Glenn Morris <rgm@gnu.org>
953
954 * progmodes/flymake.el (flymake-error-bitmap)
955 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
956 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
957
958 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
959
960 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
961 backward, always stop at indentation. Reverts the change from
962 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
963
964 2012-11-13 Glenn Morris <rgm@gnu.org>
965
966 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
967 Add ibuffer-filter-by-derived-mode.
968
969 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
970 the same name shadowing each other.
971
972 * window.el (with-temp-buffer-window): Doc tweak.
973
974 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
975
976 * help.el (temp-buffer-max-height):
977 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
978 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
979
980 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
981
982 * emacs-lisp/nadvice.el: New package.
983 * subr.el (special-form-p): New function.
984 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
985 (elp-all-instrumented-list): Remove var.
986 (elp-not-profilable): Remove elp-wrapper.
987 (elp-profilable-p): Use autoloadp and special-form-p.
988 (elp--advice-name): New const.
989 (elp-instrument-function): Use advice-add.
990 (elp--instrumented-p): New predicate.
991 (elp-restore-function): Use advice-remove.
992 (elp-restore-all, elp-reset-all): Use mapatoms.
993 (elp-set-master): Use elp--instrumented-p.
994 (elp--make-wrapper): Rename from elp-wrapper, return a function
995 suitable for advice-add. Use cl-inf.
996 (elp-results): Use mapatoms+elp--instrumented-p.
997 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
998 (debug-function-list): Remove var.
999 (debug): Rename arg, and then let-bind it explicitly inside.
1000 (debugger-setup-buffer): Rename arg.
1001 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
1002 (debugger-frame-number): Adjust to new debug-on-entry setup.
1003 (debug--implement-debug-on-entry): Rename from
1004 implement-debug-on-entry, add argument.
1005 (debugger-special-form-p): Remove, use special-form-p instead.
1006 (debug-on-entry): Use advice-add.
1007 (debug--function-list): New function.
1008 (cancel-debug-on-entry): Use it, along with advice-remove.
1009 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
1010 (debugger-list-functions): Use debug--function-list instead of
1011 debug-function-list.
1012 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
1013 (ad-special-form-p): Remove, use special-form-p instead.
1014 (ad-set-advice-info): Use add-function and remove-function.
1015 (ad--defalias-fset): Adjust accordingly.
1016
1017 2012-11-10 Glenn Morris <rgm@gnu.org>
1018
1019 * mail/emacsbug.el (report-emacs-bug-tracker-url)
1020 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
1021 (report-emacs-bug-create-existing-bugs-buffer)
1022 (report-emacs-bug-parse-query-results)
1023 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
1024
1025 * term.el (term-default-fg-color, term-default-bg-color):
1026 Make obsolete, rather than just saying "deprecated" in the doc.
1027
1028 * term.el (term): Rename from `term-face'.
1029 (term-current-face, ansi-term-color-vector)
1030 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
1031 Update all users.
1032
1033 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
1034
1035 * server.el (server-create-window-system-frame): Handle Nextstep
1036 specially (Bug#12780).
1037
1038 2012-11-10 Glenn Morris <rgm@gnu.org>
1039
1040 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
1041 Unautoload, and make obsolete. (Bug#7449)
1042
1043 2012-11-10 Chong Yidong <cyd@gnu.org>
1044
1045 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
1046 rename from diff-remove-trailing-whitespace (Bug#12831).
1047
1048 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
1049
1050 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
1051 miscompilation of trace.el.
1052
1053 2012-11-10 Glenn Morris <rgm@gnu.org>
1054
1055 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
1056
1057 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
1058
1059 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
1060 (bug#12812).
1061
1062 2012-11-10 Chong Yidong <cyd@gnu.org>
1063
1064 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
1065 a defcustom with an appropriate :set function.
1066 (minibuffer-default--in-prompt-regexps): New function.
1067
1068 2012-11-10 Glenn Morris <rgm@gnu.org>
1069
1070 * emacs-lisp/cl.el (define-setf-expander, defsetf)
1071 (define-modify-macro): Doc fixes.
1072
1073 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
1074 (gv-define-simple-setter): Update doc of `fix-return'.
1075
1076 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
1077
1078 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
1079 twice when `fix-return' is set (bug#12813).
1080
1081 * emacs-lisp/cl.el (defsetf): Pass the third arg to
1082 gv-define-simple-setter (bug#12812).
1083
1084 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
1085 (bug#12756).
1086
1087 2012-11-10 Glenn Morris <rgm@gnu.org>
1088
1089 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
1090
1091 * emacs-lisp/cl-extra.el (cl-prettyexpand):
1092 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
1093 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
1094 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
1095
1096 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
1097
1098 2012-11-10 Leo Liu <sdl.web@gmail.com>
1099
1100 * ido.el (ido-set-matches-1): Improve flex matching performance by
1101 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
1102
1103 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
1104
1105 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
1106 (ad--defalias-fset): New function.
1107 (ad-safe-fset): Remove.
1108 (ad-make-freeze-definition): Use cl-letf*.
1109
1110 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
1111
1112 * subr.el (dolist): Don't bind VAR in RESULT.
1113
1114 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
1115 (fset, documentation): Don't save real def since we don't advise.
1116 (ad-do-advised-functions): Remove problematic `result-form'.
1117 (ad-safe-fset): `ad-real-fset' => `fset'.
1118 (ad-read-advised-function): Don't assume that ad-do-advised-functions
1119 uses CL's dolist internally.
1120 (ad-arglist): Remove unused arg `name'.
1121 (ad-docstring, ad-make-advised-docstring):
1122 `ad-real-documentation' => `documentation'.
1123 (warning-suppress-types): Declare.
1124 (ad-set-arguments): Simple CSE.
1125 (ad-recover-normality): Sanity check.
1126
1127 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
1128 (funcall '(lambda ..) ..) into ((lambda ..) ..).
1129
1130 2012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
1131
1132 * ses.el: symbol to coordinate mapping is made by symbol property
1133 `ses-cell'. This means that the same mapping is done for all SES
1134 sheets. That is good enough for cells with standard A1 names, but
1135 not for named cell. So a hash map is added for the latter.
1136 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
1137 (ses-sym-rowcol): Use hashmap for named cell.
1138 (ses-is-cell-sym-p): New defun.
1139 (ses-decode-cell-symbol): New defun.
1140 (ses-create-cell-variable): Add cell to hashmap when name is not
1141 A1-like.
1142 (ses-rename-cell): Check that cell new name is not already in
1143 spreadsheet with the use of ses-is-cell-sym-p
1144 (ses-rename-cell): Use hash map for named cells, but accept also
1145 renaming back to A1-like.
1146
1147 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
1148
1149 * emacs-lisp/advice.el: Use new dynamic docstrings.
1150 (ad-make-advised-definition-docstring, ad-advised-definition-p):
1151 Use dynamic-docstring-function instead of ad-advice-info.
1152 (ad--make-advised-docstring): New function extracted from
1153 ad-make-advised-docstring.
1154 (ad-make-advised-docstring): Use it.
1155 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
1156 from sql-help.
1157 (sql-help): Use it with dynamic-docstring-function.
1158
1159 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
1160
1161 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1162
1163 * files.el (hack-one-local-variable--obsolete): New function.
1164 (hack-one-local-variable): Use it for obsolete settings.
1165
1166 * subr.el (locate-user-emacs-file): If both old and new name exist, use
1167 the new name.
1168
1169 * progmodes/js.el (js--filling-paragraph): New var.
1170 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
1171 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
1172 less sneaky.
1173
1174 2012-11-08 Julien Danjou <julien@danjou.info>
1175
1176 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
1177 `auto-mode-alist' (Bug#12835).
1178
1179 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1180
1181 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
1182 (perl--prettify-symbols-alist): New const.
1183 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
1184 New functions.
1185 (perl-font-lock-keywords-2): Use them.
1186 (perl-electric-noindent-p): New function.
1187 (perl-mode): Use it to set up electric-indent-mode.
1188 (perl-electric-terminator, perl-indent-command): Mark obsolete.
1189 (perl-mode-map): Remove bindings for them.
1190 (perl-imenu-generic-expression, perl-outline-level):
1191 Match functions&packages in column>0.
1192
1193 * env.el (env--substitute-vars-regexp): New const.
1194 (substitute-env-vars): Use it. Add `only-defined' arg.
1195 * net/tramp.el (tramp-replace-environment-variables): Use it.
1196
1197 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
1198 Byte-compile *before* eval in eval-and-compile.
1199 (byte-compile-log-warning): Remove redundant inhibit-read-only.
1200 (byte-compile-file-form-autoload): Don't hide actual definition.
1201 (byte-compile-maybe-guarded): Accept `functionp' as well.
1202
1203 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
1204
1205 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
1206
1207 * notifications.el (notifications-get-server-information-method):
1208 New defconst.
1209 (notifications-get-capabilities): Fix docstring.
1210 (notifications-get-server-information): New defun.
1211
1212 2012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1213
1214 * textmodes/ispell.el (ispell-region): Standard re-indent for better
1215 readability.
1216
1217 * textmodes/ispell.el: Experimental support for support debugging.
1218 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
1219 buffer for ispell.
1220 (ispell-print-if-debug): New function to print stuff to
1221 `ispell-debug-buffer' if debugging is enabled.
1222 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
1223 show some debugging info.
1224 (ispell-buffer-with-debug): New function that creates a debugging
1225 buffer and calls `ispell-buffer' with debugging enabled.
1226
1227 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
1228 comment in autoconf mode. (Bug#12768)
1229
1230 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
1231
1232 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
1233 frame-first-window, frame-root-window, frame-selected-window,
1234 minibuffer-selected-window, minibuffer-window,
1235 window-absolute-pixel-edges, window-at, window-body-height,
1236 window-body-width, window-display-table, window-combination-limit,
1237 window-frame, window-fringes, window-inside-absolute-pixel-edges,
1238 window-inside-edges, window-inside-pixel-edges, window-left-child,
1239 window-left-column, window-margins, window-next-buffers,
1240 window-next-sibling, window-new-normal, window-new-total,
1241 window-normal-size, window-parameter, window-parameters, window-parent,
1242 window-pixel-edges, window-point, window-prev-buffers,
1243 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
1244 window-start, window-text-height, window-top-child, window-top-line,
1245 window-total-height, window-total-width and window-use-time to the list
1246 of functions without side-effects.
1247 (toplevel): Add window-valid-p to the list of error-free functions
1248 without side-effects.
1249
1250 2012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1251
1252 * textmodes/ispell.el (ispell-program-name):
1253 Update spellchecker parameters when customized.
1254
1255 2012-11-04 Glenn Morris <rgm@gnu.org>
1256
1257 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
1258
1259 2012-11-04 Chong Yidong <cyd@gnu.org>
1260
1261 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
1262 same-window-* variables.
1263
1264 2012-11-04 Juri Linkov <juri@jurta.org>
1265
1266 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
1267 (isearch-describe-key, isearch-describe-mode): Use a display
1268 action instead of binding same-window-* variables (Bug#10040).
1269
1270 2012-11-03 Glenn Morris <rgm@gnu.org>
1271
1272 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
1273 Rename handler properties back from cl-- to cl-. (Bug#12788)
1274
1275 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
1276
1277 2012-11-03 Eli Zaretskii <eliz@gnu.org>
1278
1279 * term/pc-win.el: Don't load term/internal from here.
1280
1281 * loadup.el: Load term/internal from here.
1282
1283 2012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
1284
1285 * progmodes/python.el (inferior-python-mode): Fix hang in
1286 jit-lock (Bug#12645).
1287
1288 2012-11-03 Martin Rudalics <rudalics@gmx.at>
1289
1290 * window.el (switch-to-visible-buffer)
1291 (switch-to-buffer-preserve-window-point): Fix doc-strings.
1292
1293 2012-11-03 Glenn Morris <rgm@gnu.org>
1294
1295 * emacs-lisp/cl-lib.el (cl--random-time):
1296 Rename from cl-random-time. (Bug#12773)
1297 (cl--gensym-counter, cl--random-state): Update callers.
1298 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
1299
1300 2012-11-03 Chong Yidong <cyd@gnu.org>
1301
1302 * cus-start.el: Make cursor-type customizable (Bug#11633).
1303
1304 2012-11-02 Glenn Morris <rgm@gnu.org>
1305
1306 * filecache.el: No need to load find-lisp when compiling.
1307 (find-lisp-find-files): Autoload it.
1308 (file-cache-add-directory-recursively): Don't require find-lisp.
1309
1310 * image.el (image-type-from-file-name): Trivial simplification.
1311
1312 * emacs-lisp/bytecomp.el (byte-compile-eval):
1313 Decouple "noruntime" and "cl-functions" warnings.
1314
1315 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
1316
1317 * play/gomoku.el (gomoku-display-statistics): Update mode line
1318 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
1319
1320 2012-10-31 Martin Rudalics <rudalics@gmx.at>
1321
1322 * window.el (quit-restore-window): If the window has been
1323 created on an existing frame and ended up as the sole window on
1324 that frame, do not delete it (Bug#12764).
1325
1326 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
1327
1328 * progmodes/sh-script.el (sh--inside-noncommand-expression):
1329 Rename from sh--inside-arithmetic-expression, handle more cases
1330 (bug#11263).
1331
1332 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
1333 (sh-font-lock-open-heredoc): Use it (bug#12770).
1334
1335 2012-10-30 Glenn Morris <rgm@gnu.org>
1336
1337 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
1338
1339 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
1340
1341 2012-10-29 Chong Yidong <cyd@gnu.org>
1342
1343 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
1344 function key is stored in a keyboard macro (Bug#4894).
1345
1346 * thingatpt.el (number-at-point): Apply a thing-at-point property.
1347
1348 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1349
1350 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
1351 header comments".
1352 (diff-unified->context, diff-context->unified)
1353 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
1354
1355 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
1356
1357 * files.el (find-alternate-file): Only ask one question (bug#12487).
1358
1359 2012-10-29 Chong Yidong <cyd@gnu.org>
1360
1361 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
1362 Suggested by Dan Nicolaescu (Bug#6326).
1363
1364 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
1365
1366 * startup.el (fancy-about-screen): Don't message (Bug#12680).
1367
1368 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
1369
1370 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
1371
1372 * face-remap.el (face-remap-add-relative): Handle the case where a
1373 face-remapping-alist entry is a cons cell (Bug#12762).
1374
1375 2012-10-29 Kevin Ryde <user42@zip.com.au>
1376
1377 * woman.el (woman-parse-numeric-value): Handle picas correctly
1378 (Bug#12639).
1379
1380 2012-10-29 Glenn Morris <rgm@gnu.org>
1381
1382 * emacs-lisp/cl.el (defsetf): Doc fix.
1383
1384 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1385
1386 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
1387 syntax to the matching opener, if any (bug#12547).
1388 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
1389 matching open as a "case-(".
1390 (sh-smie-rc-grammar): Add a corresponding rule for it.
1391
1392 2012-10-28 Daniel Hackney <dan@haxney.org>
1393
1394 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
1395 "PKGNAME-autoloads.el" in case we created it.
1396
1397 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
1398
1399 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
1400 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
1401 (completion--twq-all): Disable too-strict assertions.
1402
1403 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
1404
1405 2012-10-27 Eli Zaretskii <eliz@gnu.org>
1406
1407 * profiler.el (profiler-report-make-entry-part): Fix help-echo
1408 text to match the real keybindings.
1409
1410 2012-10-27 Juri Linkov <juri@jurta.org>
1411
1412 * wdired.el (wdired-keep-marker-rename): New defcustom.
1413 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
1414 (Bug#11795)
1415
1416 * dired.el (dired-keep-marker-rename): Add reference to
1417 `wdired-keep-marker-rename' in the docstring.
1418 Add default character value ?R to display initially in
1419 Customization UI instead of ?@.
1420
1421 2012-10-27 Martin Rudalics <rudalics@gmx.at>
1422
1423 * window.el (display-buffer): In doc-string describe
1424 window-height and window-width alist entries.
1425
1426 * time.el (display-time-world): Restore fit-window-to-buffer
1427 behavior.
1428
1429 2012-10-27 Chong Yidong <cyd@gnu.org>
1430
1431 * subr.el (insert-buffer-substring-as-yank): Doc fix.
1432
1433 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
1434
1435 * minibuffer.el (completion-category-overrides): New completion
1436 category `bookmark' (bug#11131).
1437
1438 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
1439
1440 * emacs-lisp/advice.el (ad-assemble-advised-definition):
1441 Silence bogus compiler warnings for ad-do-it.
1442
1443 * bookmark.el (bookmark-completing-read): Set the completion category
1444 to `bookmark' (bug#11131).
1445
1446 2012-10-26 Bastien <bzg@altern.org>
1447 Stefan Monnier <monnier@iro.umontreal.ca>
1448
1449 * face-remap.el: Use lexical-binding.
1450 (text-scale-adjust): Improve docstring. Use itself for the temporary
1451 overlay-map bindings, so as to repeat the "Use..." message each time.
1452
1453 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
1454
1455 * emacs-lisp/macroexp.el (macroexp--expand-all):
1456 Obey byte-compile-warning-enabled-p (bug#12486).
1457
1458 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
1459 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
1460
1461 2012-10-26 Martin Rudalics <rudalics@gmx.at>
1462
1463 * mouse.el (mouse-drag-line): Move last form into preceding when
1464 clause (Bug#12731).
1465
1466 * help.el (resize-temp-buffer-window): Fix doc-string.
1467
1468 2012-10-25 David Engster <deng@randomsample.de>
1469
1470 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
1471 Remove. This feature is already integrated in imenu.
1472
1473 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
1474 always loaded. Require `speedbar' unconditionally.
1475
1476 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1477
1478 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
1479
1480 * minibuffer.el (minibuffer-force-complete): Fix thinko.
1481
1482 * net/ldap.el (ldap-search-internal): The official ldif format starts
1483 with a "version: 1" header (bug#12724).
1484
1485 * emacs-lisp/package.el (package-installed-p): Warn if not ready
1486 (bug#12721).
1487
1488 2012-10-25 Glenn Morris <rgm@gnu.org>
1489
1490 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
1491
1492 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1493
1494 * minibuffer.el (minibuffer-force-complete): Use one more marker
1495 for the temporary-overlay-map command (bug#12619).
1496
1497 2012-10-24 Chong Yidong <cyd@gnu.org>
1498
1499 * time.el (display-time-world-mode): Derive from special-mode.
1500 (display-time-world): Use display-buffer (Bug#12708).
1501 (display-time-world-mode-map): Variable deleted.
1502 (display-time-world-display): Wrap the final delete-char inside
1503 inhibit-read-only.
1504
1505 2012-10-24 Chong Yidong <cyd@gnu.org>
1506
1507 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
1508 Doc fix.
1509
1510 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
1511
1512 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1513
1514 * minibuffer.el (completion--all-sorted-completions-location): New var.
1515 (completion--cache-all-sorted-completions)
1516 (completion--flush-all-sorted-completions): Use it.
1517 (completion-in-region, completion-in-region--postch)
1518 (completion-at-point, completion-help-at-point): Use markers in
1519 completion-in-region--data (bug#12619).
1520
1521 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1522
1523 * progmodes/compile.el (compilation-start): Try to handle common
1524 quoting of `cd' argument (bug#12640).
1525
1526 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
1527 (bug#12671).
1528
1529 2012-10-23 Glenn Morris <rgm@gnu.org>
1530
1531 * progmodes/gud.el (gud-menu-map):
1532 Check gdb-active-process is bound. (Bug#12358)
1533
1534 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1535
1536 * repeat.el (repeat): Set real-this-command (bug#12232).
1537
1538 * htmlfontify.el (hfy-post-html-hook):
1539 * filesets.el (filesets-cache-fill-content-hook):
1540 * arc-mode.el (archive-extract-hook):
1541 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
1542 * net/rcirc.el (rcirc-sentinel-functions)
1543 (rcirc-receive-message-functions, rcirc-activity-functions)
1544 (rcirc-print-functions):
1545 * net/dbus.el (dbus-event-error-functions):
1546 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
1547 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
1548 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
1549 * term/sun.el (sun-raw-prefix-hooks):
1550 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
1551
1552 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
1553
1554 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
1555 Set `tramp-chunksize' to 1. This improves the performance.
1556 (tramp-smb-wait-for-output): Add timeout to
1557 `tramp-accept-process-output' calls.
1558
1559 2012-10-23 Chong Yidong <cyd@gnu.org>
1560
1561 * faces.el (font-list-limit): Define as an obsolete variable.
1562
1563 * startup.el (command-line):
1564 * cus-start.el: Don't refer to font-list-limit.
1565
1566 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
1567
1568 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1569
1570 * subr.el (internal-temp-output-buffer-show): Rename from
1571 temp-output-buffer-show, since previously compiled files expect this name.
1572
1573 2012-10-23 Glenn Morris <rgm@gnu.org>
1574
1575 * image.el (image-type-from-file-name): If multiple types match,
1576 return the first one that is supported. (Bug#9045)
1577
1578 2012-10-22 Glenn Morris <rgm@gnu.org>
1579
1580 * image.el (imagemagick-enabled-types): Doc fix.
1581
1582 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
1583
1584 * progmodes/which-func.el (which-func-current): The hash-table may have
1585 an explicit nil (bug#12338).
1586
1587 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
1588
1589 * electric.el (electric-pair-delete-selection-self-insert-function):
1590 Rename to electric-pair-will-use-region, return a boolean.
1591 (electric-pair-mode): Adjust accordingly. Don't require delsel.
1592
1593 * delsel.el (delete-selection-helper): Use a function instead of a hook.
1594 (delete-selection-pre-hook): Use use-region-p.
1595 (delete-selection-self-insert-function): Remove.
1596 (self-insert-command): Obey self-insert-uses-region-functions.
1597 (self-insert-iso): Revert to previous setting, since we don't actually
1598 know what that command does.
1599 (delete-selection-self-insert-hooks): Remove.
1600
1601 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
1602
1603 * delsel.el (delete-selection-helper): New function, extracted from
1604 delete-selection-pre-hook.
1605 (delete-selection-pre-hook): Use it.
1606 (delete-selection-self-insert-function): New function.
1607 (delete-selection-self-insert-hooks): New hook.
1608 (self-insert-command, self-insert-iso): Use it.
1609 * electric.el (electric-pair-syntax): New function, extracted from
1610 electric-pair-post-self-insert-function.
1611 (electric-pair-post-self-insert-function): Use it.
1612 (electric-pair-delete-selection-self-insert-function): New function.
1613 (electric-pair-mode): Require delsel and setup
1614 delete-selection-self-insert-hooks (bug#11520).
1615
1616 2012-10-20 Chong Yidong <cyd@gnu.org>
1617
1618 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
1619 no changes to show (Bug#12586).
1620
1621 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
1622 list explicitly (Bug#12571).
1623
1624 2012-10-20 Arne Jørgensen <arne@arnested.dk>
1625
1626 * progmodes/flymake.el (flymake-create-temp-inplace):
1627 Use file-truename.
1628
1629 2012-10-20 Eli Zaretskii <eliz@gnu.org>
1630
1631 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
1632
1633 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
1634
1635 * calc/calc-units.el (math-extract-units): Properly extract powers
1636 of units.
1637
1638 2012-10-20 Daniel Colascione <dancol@dancol.org>
1639
1640 * frame.el (make-frame): Set x-display-name as we used to in order
1641 to unbreak creating an X11 frame from an Emacs daemon started
1642 without a display.
1643
1644 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
1645
1646 * minibuffer.el (minibuffer-force-complete): Make the next completion use
1647 the same completion-field (bug#12221).
1648
1649 2012-10-19 Martin Rudalics <rudalics@gmx.at>
1650
1651 * emacs-lisp/debug.el (debug): Record height of debugger window
1652 also when debugger will be back (Bug#8789).
1653
1654 2012-10-18 Chong Yidong <cyd@gnu.org>
1655
1656 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
1657 Convert to defcustom.
1658 (gdb-get-source-file): Don't bind pop-up-windows.
1659
1660 * progmodes/gud.el (gud-display-line): Don't specially re-use
1661 other frames for the gdb-mi case (Bug#12648).
1662
1663 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
1664
1665 * emacs-lisp/advice.el: Clean up commentary a bit.
1666 (ad-do-advised-functions, ad-with-originals): Use `declare'.
1667 (byte-code-function-p): Never redefine.
1668
1669 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
1670
1671 2012-10-18 Glenn Morris <rgm@gnu.org>
1672
1673 * dired.el (dired-sort-toggle): Some ls implementations only allow
1674 a single option string. (Bug#12666)
1675
1676 * minibuffer.el (completion-cycle-threshold): Doc fix.
1677
1678 2012-10-17 Kenichi Handa <handa@gnu.org>
1679
1680 * international/mule.el (set-keyboard-coding-system):
1681 Recover input meta mode when the new coding system doesn not use 8-bit.
1682 Supply TERMINAL arg to set-input-meta-mode.
1683
1684 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
1685
1686 * wdired.el (wdired-old-marks): New variable.
1687 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
1688 (wdired-do-renames): Move point with renamed file and don't lose
1689 mark status (Bug#11795).
1690
1691 2012-10-16 Juri Linkov <juri@jurta.org>
1692
1693 * replace.el (query-replace-help): Mention multi-buffer replacement
1694 keys in the Help message. (Bug#12655)
1695
1696 2012-10-15 Chong Yidong <cyd@gnu.org>
1697
1698 * emacs-lisp/byte-run.el (defsubst): Doc fix.
1699
1700 2012-10-14 Eli Zaretskii <eliz@gnu.org>
1701
1702 * window.el (display-buffer): Doc fix.
1703
1704 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1705 Adjust the msft regexp to the output of Studio 2010, and move msft
1706 before edg-1. See the discussion on emacs-devel,
1707 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
1708 for the details.
1709
1710 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
1711
1712 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
1713 (oset): Move uses of object-class-fast macro after its definition.
1714
1715 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
1716
1717 2012-10-13 Chong Yidong <cyd@gnu.org>
1718
1719 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
1720 enabled, re-enable it (Bug#11963).
1721
1722 2012-10-13 Martin Rudalics <rudalics@gmx.at>
1723
1724 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
1725 non-nil, restore window configuration (Bug#12623).
1726
1727 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
1728
1729 * help-fns.el (describe-variable, describe-function-1):
1730 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
1731
1732 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
1733
1734 2012-10-12 Glenn Morris <rgm@gnu.org>
1735
1736 * mail/rmailsum.el (rmail-header-summary):
1737 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
1738
1739 2012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
1740
1741 * progmodes/python.el (python-mode-map):
1742 Replace subtitute-key-definition with proper command remapping.
1743 (python-nav--up-list): Fix behavior for blocks on the same level.
1744
1745 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
1746
1747 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
1748
1749 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
1750 changes to the format of load-history.
1751
1752 * international/mule-cmds.el (read-char-by-name): Move let-binding of
1753 completion-ignore-case in case that var is buffer-local (bug#12615).
1754
1755 2012-10-11 Kenichi Handa <handa@gnu.org>
1756
1757 * international/eucjp-ms.el: Re-generated.
1758
1759 2012-10-10 Kenichi Handa <handa@gnu.org>
1760
1761 * select.el (xselect--encode-string): If a coding is specified for
1762 selection, and that is compatible with COMPOUND_TEXT, use it.
1763
1764 2012-10-10 Martin Rudalics <rudalics@gmx.at>
1765
1766 * window.el (switch-to-buffer-preserve-window-point): New option.
1767 (switch-to-buffer):
1768 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
1769
1770 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
1771
1772 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
1773 Don't document nil as a useful value (bug#12583).
1774
1775 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
1776
1777 * net/tramp.el (tramp-debug-message):
1778 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
1779 (with-tramp-progress-reporter): Rename from
1780 `tramp-with-progress-reporter'.
1781 (with-tramp-file-property, with-tramp-connection-property):
1782 Move from tramp-cache.el, rename from `with-file-property' and
1783 `with-connection-property', respectively.
1784
1785 * net/tramp-cache.el: Remove `with-file-property' and
1786 `with-connection-property'.
1787
1788 * net/tramp.el:
1789 * net/tramp-gvfs.el:
1790 * net/tramp-sh.el:
1791 * net/tramp-smb.el: Adapt callees.
1792
1793 * net/trampver.el: Update release number.
1794
1795 2012-10-09 Glenn Morris <rgm@gnu.org>
1796
1797 * w32-fns.el (set-message-beep):
1798 * term/w32-win.el (set-message-beep): Update declarations.
1799
1800 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
1801
1802 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
1803 (mode-line-widen, mode-line-input-method-map)
1804 (mode-line-coding-system-map, mode-line-remote)
1805 (mode-line-unbury-buffer, mode-line-bury-buffer)
1806 (mode-line-next-buffer, mode-line-previous-buffer):
1807 Replace save-selected-window+select-window => with-selected-window.
1808
1809 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
1810 * progmodes/cc-vars.el (bq-process): Remove, unused.
1811
1812 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
1813
1814 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
1815
1816 Implemented `backward-up-list'-like navigation.
1817 * progmodes/python.el (python-nav-up-list)
1818 (python-nav-backward-up-list): New functions.
1819 (python-mode-map): Define substitute key for backward-up-list to
1820 python-nav-backward-up-list.
1821
1822 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
1823
1824 * progmodes/python.el (python-fill-paragraph): Rename from
1825 python-fill-paragraph-function. Fixed fill-paragraph for
1826 decorators (Bug#12605).
1827
1828 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
1829
1830 * progmodes/python.el (python-shell-output-filter): Handle extra
1831 carriage return in OSX (Bug#12409).
1832
1833 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
1834
1835 Fix shell handling of unbalanced quotes and parens in output.
1836 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
1837 (python-syntax-propertize-function): Use it.
1838 (python-shell-output-syntax-table): New var.
1839 (inferior-python-mode): Prevent unbalanced parens/quotes from
1840 previous output mess with current input context.
1841
1842 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
1843
1844 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
1845 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
1846
1847 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
1848
1849 * ffap.el (ffap-replace-file-component): Support Tramp file name
1850 syntax, not only ange-ftp's one.
1851
1852 2012-10-08 Glenn Morris <rgm@gnu.org>
1853
1854 * cus-start.el (message-log-max): Set :version.
1855
1856 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
1857
1858 2012-10-08 Martin Rudalics <rudalics@gmx.at>
1859
1860 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
1861 the minibuffer window (Bug#10851).
1862
1863 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
1864
1865 Enhancements on forward-sexp movement.
1866 * progmodes/python.el (python-nav-beginning-of-statement)
1867 (python-nav-end-of-statement): Return point-marker.
1868 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
1869 (python-info-current-symbol)
1870 (python-info-statement-starts-block-p): Rename from
1871 python-info-beginning-of-block-p.
1872 (python-info-statement-ends-block-p): Rename from
1873 python-info-end-of-block-p.
1874 (python-info-beginning-of-statement-p)
1875 (python-info-end-of-statement-p)
1876 (python-info-beginning-of-block-p, python-info-end-of-block-p):
1877 New functions.
1878
1879 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1880
1881 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
1882 frame-selected-windows.
1883
1884 2012-10-08 Daniel Colascione <dancol@dancol.org>
1885
1886 * battery.el (battery-status-function): Check for
1887 w32-battery-status itself, not system-time windows-nt.
1888
1889 * frame.el: Require cl-lib.
1890 (display-format-alist): New variable mapping frame types to
1891 functions that initialize them.
1892 (window-system-for-display): New function: interprets
1893 display-format-alist.
1894 (make-frame-on-display): Remove existing display-selection logic
1895 and just forward to make-frame, which will now DTRT.
1896 (make-frame): Restructure to use window-system-for-display to
1897 figure out how to create a frame on a given display.
1898 (display-mouse-p): Look for frame-type w32, not a particular
1899 system-type.
1900
1901 * loadup.el: Load w32 lisp code when we have the w32 feature.
1902
1903 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
1904 system-type windows-nt.
1905
1906 * server.el (server-create-window-system-frame): Look for window
1907 type.
1908 (server-proces-filter): Only force a window system when windows-nt
1909 _and_ w32. Explain why.
1910
1911 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
1912 of window systems we configure for the mode.
1913
1914 * startup.el (command-line): Mark window system is initialized
1915 after we've done it.
1916
1917 * common-win.el (x-select-text): Look for w32, not windows-nt.
1918
1919 * ns-win.el: Require cl-lib. Add ourselves to
1920 display-format-alist.
1921 (ns-initialize-window-system): Assert we're not initialized twice.
1922
1923 * w32-win.el: Enable lexical binding; require cl-lib; add
1924 ourselves to display-format-alist.
1925 (w32-handle-dropped-file): Convert incoming dropped files from
1926 Windows paths to Cygwin ones before passing them on to the rest of
1927 Emacs.
1928 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
1929 (w32-initialize-window-system): Assert we're not initialized twice.
1930
1931 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
1932 (x-initialize-window-system): Assert we're not initialized twice.
1933
1934 * w32-common-fns.el: New File.
1935 (w32-version, w32-using-nt, w32-get-clipboard-data)
1936 (w32-set-clipboard-data, x-set-selection, x-get-selection)
1937 (w32-charset-info-alist, x-last-selected, text)
1938 (x-get-selection-value, x-selection-value): Move here.
1939
1940 * w32-fns.el: Require w32-common-fns.
1941 (w32-version, w32-using-nt, w32-get-clipboard-data)
1942 (w32-set-clipboard-data, x-set-selection, x-get-selection)
1943 (w32-charset-info-alist, x-last-selected, text)
1944 (x-get-selection-value, x-selection-value): Move to
1945 w32-common-fns.
1946
1947 * w32-vars.el:
1948 (w32-allow-system-shell, w32-system-shells): Define only in
1949 non-cygwin case.
1950
1951 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1952
1953 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
1954 (read-passwd): Remove a few more potential sources of leaks.
1955
1956 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
1957
1958 * progmodes/python.el (inferior-python-mode)
1959 (python-shell-make-comint): Fix initialization of local
1960 variables copied from parent buffer.
1961
1962 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
1963
1964 * term/ns-win.el (ns-read-file-name): Update declaration to match
1965 nsfns.m.
1966 (ns-respond-to-change-font): Change fontsize separatly so we are sure
1967 it is set when font is acted upon.
1968
1969 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
1970
1971 Enhancements to indentation.
1972 * progmodes/python.el (python-indent-context): Give priority to
1973 inside-string context. Make comments indentation markers.
1974 (python-indent-region): Do not mess with strings, unless it's the
1975 enclosing set of quotes.
1976
1977 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1978
1979 * window.el (internal--before-save-selected-window)
1980 (internal--after-save-selected-window): New functions extracted from
1981 save-selected-window. Make sure we return the `alist' we construct.
1982 (save-selected-window): Use them.
1983
1984 * textmodes/tex-mode.el (tex-recenter-output-buffer):
1985 Use with-selected-window.
1986
1987 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
1988 forms that define macros (bug#12593).
1989
1990 2012-10-07 Kenichi Handa <handa@gnu.org>
1991
1992 * international/mule-conf.el (compound-text-with-extensions):
1993 Add :mime-charset property as x-ctext.
1994
1995 2012-10-07 Stefan Merten <smerten@oekonux.de>
1996
1997 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
1998 (rst-indent-literal-normal, rst-indent-literal-minimized)
1999 (rst-indent-comment): Correct :version tag.
2000 (rst-official-cvs-rev): Correct version string.
2001
2002 2012-10-07 Glenn Morris <rgm@gnu.org>
2003
2004 * mail/rmailmm.el (rmail-mime-process-multipart):
2005 Do not confuse a multipart message with an epilogue
2006 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
2007
2008 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
2009
2010 Fix shell output retrieval and comint-prompt-regexp init.
2011 * progmodes/python.el (inferior-python-mode):
2012 (python-shell-make-comint): Fix initialization of
2013 comint-prompt-regexp from copied file local variables.
2014 (python-shell-fetched-lines): Remove var.
2015 (python-shell-output-filter-in-progress): Rename from
2016 python-shell-fetch-lines-in-progress.
2017 (python-shell-output-filter-buffer): Rename from
2018 python-shell-fetch-lines-string.
2019 (python-shell-fetch-lines-filter): Delete function.
2020 (python-shell-output-filter): New function.
2021 (python-shell-send-string-no-output): Use them.
2022
2023 2012-10-07 Glenn Morris <rgm@gnu.org>
2024
2025 * hi-lock.el (hi-lock-process-phrase):
2026 Try to make it less fragile. (Bug#7161)
2027
2028 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
2029
2030 2012-10-06 Glenn Morris <rgm@gnu.org>
2031
2032 * ehelp.el (electric-help-mode): Use help-mode rather than
2033 non-existent mode `help'.
2034 (electric-help-map): Use button-buffer-map. (Bug#10917)
2035
2036 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
2037 (reftex-create-bibtex-footer): Fix custom types.
2038
2039 * progmodes/sh-script.el (sh-indent-after-continuation):
2040 Add explicit :group.
2041
2042 * textmodes/rst.el (rst-preferred-decorations)
2043 (rst-shift-basic-offset): Clarify obsolescence versions.
2044
2045 * profiler.el (profiler): Add missing group :version tag.
2046 * avoid.el (mouse-avoidance-banish-position):
2047 * proced.el (proced-renice-command):
2048 * calc/calc.el (calc-ensure-consistent-units):
2049 * calendar/icalendar.el (icalendar-import-format-uid):
2050 * net/tramp.el (tramp-save-ad-hoc-proxies):
2051 * progmodes/bug-reference.el (bug-reference-bug-regexp):
2052 * progmodes/flymake.el (flymake-error-bitmap)
2053 (flymake-warning-bitmap, flymake-fringe-indicator-position):
2054 * progmodes/sh-script.el (sh-indent-after-continuation):
2055 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
2056 (verilog-before-save-font-hook, verilog-after-save-font-hook):
2057 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
2058 (vhdl-array-index-record-field-in-sensitivity-list)
2059 (vhdl-indent-comment-like-next-code-line):
2060 * textmodes/reftex-vars.el (reftex-ref-style-alist)
2061 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
2062 (reftex-cite-key-separator, reftex-create-bibtex-header)
2063 (reftex-create-bibtex-footer):
2064 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
2065 (rst-indent-literal-normal, rst-indent-literal-minimized)
2066 (rst-indent-comment): Add missing custom :version tags.
2067
2068 * calendar/timeclock.el (timeclock-modeline-display):
2069 Add missing obsolete alias for renamed user option.
2070
2071 * strokes.el (strokes-modeline-string):
2072 * emulation/crisp.el (crisp-mode-modeline-string):
2073 * eshell/esh-mode.el (eshell-status-in-modeline):
2074 Aliases to defcustoms must come before the defcustom.
2075
2076 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
2077 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
2078 (cal-tex-cursor-week-monday): Doc fixes.
2079 (cal-tex-cursor-week2-summary): Doc fix.
2080 Rename from cal-tex-cursor-week-at-a-glance.
2081
2082 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
2083 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
2084
2085 * calendar/calendar.el (calendar-mode-map):
2086 Add cal-tex-cursor-week2-summary.
2087
2088 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
2089
2090 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
2091
2092 * subr.el (read-passwd-map): New var.
2093 (read-passwd): Use `read-string' again.
2094 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
2095
2096 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
2097
2098 * register.el (append-to-register, prepend-to-register):
2099 Deactivate mark, as does `copy-to-register' (bug#12389).
2100
2101 2012-10-06 Chong Yidong <cyd@gnu.org>
2102
2103 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
2104
2105 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
2106
2107 * international/characters.el: Fix simple mistake ((car chars) ->
2108 elt), delete duplicated code.
2109
2110 2012-10-06 Glenn Morris <rgm@gnu.org>
2111
2112 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
2113
2114 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
2115
2116 * color.el (color-hsl-to-rgb): Fix incorrect results for
2117 small and large hue values. (Bug#12559)
2118
2119 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
2120
2121 Enhancements to docstring formatting when filling paragraphs.
2122 * progmodes/python.el (python-fill-docstring-style): Rename from
2123 python-fill-string-style. Added new style.
2124 (python-fill-string): Use new style. Better checks for
2125 docstrings.
2126
2127 2012-10-05 Glenn Morris <rgm@gnu.org>
2128
2129 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
2130
2131 * color.el (color-name-to-rgb, color-rgb-to-hex)
2132 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
2133 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
2134 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
2135 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
2136
2137 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
2138
2139 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
2140
2141 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
2142 to get the correct size across symlinks.
2143
2144 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
2145
2146 2012-10-04 Juri Linkov <juri@jurta.org>
2147
2148 * replace.el (query-replace-interactive): Declare obsolete.
2149 (query-replace-read-from): Add the last incremental search string
2150 to the list of default values accessible via M-n.
2151 (map-query-replace-regexp): Use `read-regexp'.
2152 (query-replace, query-replace-regexp, query-replace-regexp-eval)
2153 (map-query-replace-regexp, replace-string, replace-regexp):
2154 Fix docstrings to replace mentions of `query-replace-interactive'
2155 with alternatives. (Bug#12526)
2156
2157 2012-10-04 Juri Linkov <juri@jurta.org>
2158
2159 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
2160 (dired-pop-to-buffer): Declare obsolete.
2161 (dired-mark-pop-up): Doc fix.
2162
2163 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
2164
2165 Allow user to set docstring style for fill-paragraph.
2166 * progmodes/python.el
2167 (python-fill-comment-function, python-fill-string-function)
2168 (python-fill-decorator-function, python-fill-paren-function):
2169 Remove :safe for defcustoms.
2170 (python-fill-string-style): New defcustom
2171 (python-fill-paragraph-function): Enhance context detection.
2172 (python-fill-string): Honor python-fill-string-style settings.
2173
2174 2012-10-04 Martin Rudalics <rudalics@gmx.at>
2175
2176 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
2177 after setting its buffer (Bug#10805).
2178
2179 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
2180
2181 Fix cornercase for string syntax.
2182 * progmodes/python.el (python-syntax-propertize-function):
2183 Simplify and enhance the regexp for unescaped quotes. Now it also
2184 matches quotes in weird situations like the single quote in
2185 "something\"'".
2186 (python-syntax-stringify): Simplify num-quotes detecting code.
2187
2188 2012-10-03 Glenn Morris <rgm@gnu.org>
2189
2190 * help-macro.el (three-step-help):
2191 Revert 2012-09-29 change. (Bug#12567)
2192
2193 2012-10-03 Martin Rudalics <rudalics@gmx.at>
2194
2195 * menu-bar.el (kill-this-buffer): Don't do anything when
2196 `menu-frame' is not alive or visible (Bug#8184).
2197
2198 * emacs-lisp/debug.el (debug): When quitting the debugger window
2199 restore current buffer (Bug#12502).
2200
2201 2012-10-02 Chong Yidong <cyd@gnu.org>
2202
2203 * progmodes/hideif.el (hif-lookup, hif-defined):
2204 Handle semantic-c-takeover-hideif.
2205
2206 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
2207
2208 Change sampling interval units from ms to ns.
2209 * profiler.el (profiler-sampling-interval): Change units
2210 from ms to ns, multiplying the default by 1000000 so that
2211 it remains 1 ms.
2212 (profiler-report-cpu-line-format): Give enough room for
2213 the maximum counters on 64-bit hosts.
2214 (profiler-report-render-calltree-1): Call them "CPU samples",
2215 not "Time (ms)", since they are not milliseconds now (and
2216 never really were).
2217
2218 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
2219
2220 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
2221 Fix querying BBDB for entries without a last name (Bug#11580).
2222
2223 2012-10-02 Chong Yidong <cyd@gnu.org>
2224
2225 * emacs-lisp/eieio.el: Restore Version header.
2226
2227 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
2228
2229 * vc/diff-mode.el (diff--auto-refine-data): New var.
2230 (diff-hunk): Use it to delay refinement.
2231 (diff-mode): Remove overlays when we turn off font-lock.
2232
2233 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
2234 (table-initialize-table-fixed-width-mode)
2235 (table-set-table-fixed-width-mode): Remove functions.
2236 (table-command-list): Move initialization into declaration.
2237 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
2238 (table-with-cache-buffer): Use `declare'.
2239 (table-span-cell): Simplify via CSE.
2240 (table-fixed-width-mode): Use define-minor-mode.
2241 (table-call-interactively, table-funcall, table-apply): Remove.
2242 (table-function): New function, to replace them.
2243
2244 * bookmark.el (bookmark-search-pattern): Remove var.
2245 (bookmark-read-search-input): Remove function.
2246 (bookmark-bmenu-search): Reimplement using a minibuffer.
2247
2248 * faces.el (modeline): Remove obsolete face name.
2249
2250 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
2251 and give a non-nil default value.
2252 (add-change-log-entry): Simplify accordingly.
2253
2254 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
2255
2256 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
2257 (vc-git-log-edit-toggle-amend): New function.
2258 (vc-git-log-edit-toggle-signoff): New function.
2259 (vc-git-log-edit-mode): New major mode.
2260 (vc-git-log-edit-mode-map): Keymap for it.
2261 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
2262
2263 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
2264 header names.
2265 (log-edit-toggle-header): New function.
2266 (log-edit-extract-headers): Accept function values in HEADERS alist.
2267
2268 2012-10-01 David Engster <deng@randomsample.de>
2269
2270 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
2271 from symbol property and change message to be more consistent with
2272 Emacs proper.
2273 (eieio-describe-generic): Add filename for each implementation.
2274 Fix indices for generic and normal methods.
2275 (eieio-method-def, eieio-class-def): New buttons.
2276 (eieio-help-find-method-definition)
2277 (eieio-help-find-class-definition): New functions.
2278 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
2279 class, constructor and method definitions.
2280
2281 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
2282 information in symbol property.
2283 (scoped-class): Remove.
2284 (eieio-slot-name-index, call-next-method): Check if it is bound.
2285
2286 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
2287
2288 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
2289 (eieio-custom-mode): New major mode.
2290 (eieio-customize-object): Use it.
2291
2292 2012-10-01 Eric Ludlam <zappo@gnu.org>
2293
2294 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
2295 specifying the expected class, and whether subclassing is allowed.
2296 (eieio-persistent-convert-list-to-object):
2297 (eieio-persistent-validate/fix-slot-value)
2298 (eieio-persistent-slot-type-is-class-p): New functions.
2299 (eieio-named::slot-missing): Doc fix.
2300
2301 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
2302 Stop using unused publd variable.
2303
2304 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
2305 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
2306 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
2307 (eieio-speedbar-handle-click): Do not specify a class for the
2308 method. Fixes method invocation order problems with EDE.
2309
2310 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
2311
2312 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
2313 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
2314
2315 2012-10-01 Karl Fogel <kfogel@red-bean.com>
2316
2317 * bookmark.el (bookmark-version-control): Give tags in the
2318 :type choices (Bug#12309), and improve doc string.
2319 (bookmark-write-file): Bind `print-circle' to `t' to allow
2320 circular custom bookmark types. (Bug#12503)
2321
2322 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
2323
2324 Revert the FOLLOW-SYMLINKS change for file-attributes.
2325 * files.el (remote-file-name-inhibit-cache, after-find-file):
2326 * time.el (display-time-file-nonempty-p): Undo last change.
2327
2328 * profiler.el (profiler-sampling-interval): Change default back to 1.
2329 See Stefan Monnier in
2330 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
2331
2332 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
2333
2334 Shell output catching a la gud-gdb.
2335 * progmodes/python.el (python-shell-fetch-lines-in-progress)
2336 (python-shell-fetch-lines-string, python-shell-fetched-lines):
2337 New Vars.
2338 (python-shell-fetch-lines-filter): New function.
2339 (python-shell-send-string-no-output): Use them.
2340
2341 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
2342
2343 * profiler.el (profiler-sampling-interval): Rename from
2344 profiler-sample-interval.
2345 (profiler-sampling-interval): Default to 10.
2346 (profiler-find-profile): New command (was profiler-find-log).
2347 (profiler-find-profile-other-window): New command.
2348 (profiler-find-profile-other-frame): New command.
2349 (profiler-profile): Introduce API-level data structure.
2350
2351 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
2352
2353 file-attributes has a new optional arg FOLLOW-SYMLINKS.
2354 * files.el (remote-file-name-inhibit-cache):
2355 * time.el (display-time-file-nonempty-p): Use it.
2356 * files.el (after-find-file): Don't chase links before calling
2357 file-exists-p, as file-exists-p already does the right thing.
2358
2359 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
2360
2361 Merge from standalone RefTeX repository.
2362
2363 The following ChangeLog entries are shortened versions of the
2364 original ones with file paths adapted. A not so strongly edited
2365 version of the original ChangeLog can be found in the commit log.
2366
2367 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
2368 (reftex-arg-cite): Use `reftex-cite-key-separator'.
2369 Correctly handle new value type returned by `reftex-citation'.
2370
2371 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
2372 that entries with whitespace at various places are found.
2373 Doc fix. Include entries that are cross-referenced from cited entries.
2374 Include @String definitions in the resulting bib file. Add header
2375 and footer defined in `reftex-create-bibtex-header' and
2376 `reftex-create-bibtex-footer'.
2377 (reftex-do-citation): Make it possible again to insert
2378 non-existent entries. Save match data when asking for optional
2379 arguments. Return all keys, not just the first one.
2380 (reftex-all-used-citation-keys): Fix regexp to correctly extract
2381 all citations in the same line.
2382 (reftex-parse-bibtex-entry): Accept additional optional argument
2383 `raw' and keep quotes or braces if it is non-nil. Match fields
2384 containing hyphens besides word constituents.
2385 (reftex-get-string-refs): New function.
2386 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
2387 and ask if it should be reread in case it did.
2388 (reftex-pop-to-bibtex-entry)
2389 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
2390 entries with spaces or tabs in front of arguments.
2391 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
2392 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
2393 Match entries containing numbers and symbol constituents.
2394 (reftex-do-citation, reftex-figure-out-cite-format):
2395 Use `reftex-cite-key-separator'.
2396
2397 * textmodes/reftex-dcr.el: Move provide statement to end of file.
2398 (reftex-mouse-view-crossref): Explain why point is set.
2399
2400 * textmodes/reftex-global.el: Whitespace changes.
2401
2402 * textmodes/reftex-index.el: Move provide statement to end of
2403 file.
2404 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
2405 (reftex-index-visit-phrases-buffer): Set marker when visiting
2406 buffer. This allows for returning from the phrases file to the
2407 file one was just editing instead of the file where the last
2408 phrases was added from.
2409 (reftex-index-phrases-syntax-table): New variable. Give ?\"
2410 punctuation syntax as it usually is not used as string quote in
2411 TeX-related modes and may occur unmatched. The change also
2412 prevents fontification of quoted content.
2413 (reftex-index-phrases-mode): Use it.
2414
2415 * textmodes/reftex-parse.el (reftex-parse-from-file):
2416 Move backward one char if a `\' was matched after a section macro.
2417 (reftex-parse-from-file): Use beginning of match instead of end as
2418 bound.
2419
2420 * textmodes/reftex-ref.el: Adapt creation of
2421 `reftex-<package>-<macro>' functions to new structure of
2422 `reftex-ref-style-alist'.
2423 (reftex-reference): Use `reftex-ref-style-list' function.
2424 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
2425 reference macro if `reftex-ref-macro-prompt' is non-nil.
2426 (reftex-reference): Pass refstyle to `reftex-format-special'.
2427 Determine reference macro by looking at
2428 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
2429 Use only one special format function.
2430 (reftex-varioref-vref, reftex-fancyref-fref)
2431 (reftex-fancyref-Fref): Remove definitions. The functions are now
2432 generated from `reftex-ref-style-alist'.
2433 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
2434 Remove.
2435 (reftex-format-special): New function.
2436
2437 * textmodes/reftex-sel.el
2438 (reftex-select-cycle-ref-style-internal): Adapt to new structure
2439 of `reftex-ref-style-alist'. Remove code for testing macro type.
2440 (reftex-select-toggle-varioref)
2441 (reftex-select-toggle-fancyref): Remove.
2442 (reftex-select-cycle-ref-style-internal)
2443 (reftex-select-cycle-ref-style-forward)
2444 (reftex-select-cycle-ref-style-backward): New functions.
2445 (reftex-select-label-map): Use `v' and `V' for general cycling
2446 through reference styles. Add `p' for switching between number
2447 and page reference types.
2448
2449 * textmodes/reftex-toc.el (reftex-re-enlarge):
2450 Call `enlarge-window' only if there is something to do because in Emacs
2451 the horizontal version throws an error even if the parameter is 0.
2452
2453 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
2454 (reftex-plug-into-AUCTeX): Doc fix.
2455 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
2456 string. Adapt to new name.
2457 (reftex-ref-style-alist): Change structure so that it is not
2458 possible to use multiple different package names within a style.
2459 Remove the symbols for symbols for macro type distinction.
2460 Add characters for macro selection.
2461 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
2462 (reftex-create-bibtex-footer): New variables.
2463 (reftex-format-ref-function): Mention third argument of special
2464 format function.
2465 (reftex-ref-style-alist, reftex-ref-style-default-list):
2466 New variables.
2467 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
2468 to new implementation. Mark as obsolete. Add compatibility code
2469 for honoring the variable values in case they are set.
2470 (reftex-cite-format-builtin, reftex-bibliography-commands):
2471 Add support for ConTeXt.
2472 (reftex-format-ref-function, reftex-format-cite-function):
2473 Fix custom type.
2474 (reftex-cite-key-separator): New variable.
2475
2476 * textmodes/reftex.el (reftex-syntax-table-for-bib)
2477 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
2478 `reftex-syntax-table' because parens have to retain their paren
2479 syntax in order for parsing of BibTeX entries like @book(...) to
2480 work.
2481 (reftex-in-comment): Do not error out if `comment-start-skip' is
2482 not set. Deal correctly with escaped comment characters.
2483 (reftex-tie-multifile-symbols): Add doc string.
2484 Initialize `reftex-ref-style-list'.
2485 (reftex-untie-multifile-symbols): Add doc string.
2486 (reftex-add-index-macros): Doc fix.
2487 (reftex-ref-style-activate, reftex-ref-style-toggle)
2488 (reftex-ref-style-list): New functions.
2489 (reftex-mode-menu): Use them. Adapt to new structure of
2490 `reftex-ref-style-alist'.
2491 (reftex-select-with-char): Kill the RefTeX Select buffer when
2492 done.
2493 (reftex-remove-if): New function.
2494 (reftex-erase-all-selection-and-index-buffers)
2495 (reftex-mode-menu): Reference styles are now computed from
2496 `reftex-ref-style-alist'. Fix typo.
2497 (reftex-report-bug): New function.
2498 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
2499 algorithms with O(n log n). Introduce optional argument SORT (not
2500 yet used).
2501
2502 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
2503
2504 Enhancements for triple-quote string syntax.
2505 * progmodes/python.el (python-syntax-propertize-function):
2506 Match both quote cases in one regexp.
2507 (python-syntax-stringify): Handle matches properly.
2508
2509 2012-09-30 Juri Linkov <juri@jurta.org>
2510
2511 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
2512 to nil around the call to `insert' to prevent
2513 directory time modification by lock_file. (Bug#2295)
2514 * tar-mode.el (tar-summarize-buffer): Idem.
2515
2516 2012-09-30 Juri Linkov <juri@jurta.org>
2517
2518 * facemenu.el (list-colors-sort): Add option "Luminance".
2519 (list-colors-sort-key): Implement it.
2520
2521 * vc/diff-mode.el (diff-refine-removed):
2522 * vc/ediff-init.el (ediff-fine-diff-A):
2523 * vc/smerge-mode.el (smerge-refined-removed):
2524 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
2525
2526 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
2527
2528 * term/ns-win.el (x-file-dialog): New function.
2529
2530 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
2531
2532 * ido.el (ido-max-directory-size): Default to nil; the current
2533 default is small for POSIX systems, and impractical on Windows 7
2534 now that lstat returns directory sizes for NTFS.
2535
2536 2012-09-30 Martin Rudalics <rudalics@gmx.at>
2537
2538 In buffer display functions handle window-height/window-width
2539 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
2540 * window.el (window--display-buffer): New argument ALIST.
2541 Obey window-height and window-width alist entries.
2542 (window--try-to-split-window): New argument ALIST.
2543 Bind window-combination-limit to t when the window's size shall be
2544 changed and window-combination-limit equals `window-size'.
2545 (display-buffer-in-atom-window)
2546 (display-buffer-in-major-side-window)
2547 (display-buffer-in-side-window, display-buffer-same-window)
2548 (display-buffer-reuse-window, display-buffer-pop-up-frame)
2549 (display-buffer-pop-up-window, display-buffer-below-selected)
2550 (display-buffer-at-bottom, display-buffer-in-previous-window)
2551 (display-buffer-use-some-window): Adjust all callers of
2552 window--display-buffer and window--try-to-split-window.
2553 (fit-frame-to-buffer): New option.
2554 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
2555 is non-nil.
2556 (display-buffer-in-major-side-window): Evaluate window-height /
2557 window-width alist entries.
2558
2559 * help.el (temp-buffer-resize-frames)
2560 (temp-buffer-resize-regexps): Remove options.
2561 (temp-buffer-resize-mode): Adjust doc-string.
2562 (resize-temp-buffer-window): Don't consult
2563 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
2564 temp-buffer-resize-frames.
2565
2566 * dired.el (dired-mark-pop-up):
2567 Call display-buffer-below-selected with a fit-window-to-buffer alist
2568 entry.
2569
2570 2012-09-30 Chong Yidong <cyd@gnu.org>
2571
2572 * server.el (server-host): Document the security implications.
2573 (server-auth-key): Doc fix.
2574
2575 * startup.el (initial-buffer-choice): Doc fix.
2576
2577 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
2578
2579 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
2580 restriction change.
2581
2582 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
2583
2584 * help-fns.el (help-fns--obsolete): Fix last change.
2585
2586 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
2587
2588 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
2589 (minor-mode-map-alist): Remove redundant code.
2590
2591 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
2592 visited in a buffer.
2593 (cvs-insert-visited-file): New function.
2594 (find-file-hook): Use it.
2595
2596 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
2597
2598 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
2599 chose face.
2600 (log-edit-empty-buffer-p): Don't require a space after a header.
2601
2602 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
2603
2604 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
2605
2606 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
2607 a proper minor-mode.
2608
2609 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
2610
2611 2012-09-29 Glenn Morris <rgm@gnu.org>
2612
2613 * winner.el (winner-mode): Remove variable (let define-minor-mode
2614 handle it).
2615 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
2616 Doc fixes.
2617 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
2618 (winner-mode): Use define-minor-mode.
2619
2620 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
2621 the full definition in loaddefs, rather than duplicating it.
2622
2623 * help-macro.el (three-step-help): No need to autoload defcustom.
2624
2625 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
2626 (inferior-lisp-program, inferior-lisp-load-command)
2627 (inferior-lisp-prompt, inferior-lisp-mode-hook):
2628 No need to autoload defcustoms.
2629
2630 * hippie-exp.el (hippie-expand-try-functions-list)
2631 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
2632 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
2633 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
2634 (hippie-expand-only-buffers): No need to autoload defcustoms.
2635 * progmodes/vhdl-mode.el (vhdl-line-expand):
2636 Explicitly load hippie-exp, so it does not get autoloaded
2637 while hippie-expand-try-functions-list is let-bound.
2638
2639 2012-09-28 Glenn Morris <rgm@gnu.org>
2640
2641 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
2642
2643 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
2644 Only "cl.el" counts as cl these days.
2645
2646 2012-09-28 Juri Linkov <juri@jurta.org>
2647
2648 Display archive errors in the echo area instead of inserting
2649 to the file buffer.
2650
2651 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
2652 to STDERR-TEST that can be a regexp matching a successful output.
2653 Create a temporary file and redirect stderr to it. Search for
2654 STDERR-TEST in the stderr output and display it in the echo area
2655 if no match is found.
2656 (archive-extract-by-file): New function like
2657 `archive-extract-by-stdout' but extracting archives to files
2658 and looking for successful matches in stdout. Function body is
2659 mostly copied from `archive-rar-extract'.
2660 (archive-rar-extract): Use `archive-extract-by-file'.
2661 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
2662
2663 2012-09-28 Leo Liu <sdl.web@gmail.com>
2664
2665 * pcomplete.el (pcomplete-show-completions):
2666 Use minibuffer-message to make pcomplete usable in minibuffer.
2667
2668 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
2669
2670 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
2671
2672 * type-break.el: Use lexical-binding.
2673 (type-break-mode): Use define-minor-mode.
2674
2675 * emacs-lisp/pcase.el (pcase--mark-used): New.
2676 (pcase--u1): Use it (bug#12512).
2677
2678 * custom.el (load-theme): Set buffer-file-name so the load is recorded
2679 in load-history with the right file name.
2680
2681 2012-09-28 Tassilo Horn <tsdh@gnu.org>
2682
2683 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
2684 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
2685 (doc-view-get-bounding-box): Make bounding box slicing work for
2686 ODF and DVI documents.
2687
2688 2012-09-28 Glenn Morris <rgm@gnu.org>
2689
2690 * type-break.el (type-break-mode, type-break-interval)
2691 (type-break-good-rest-interval, type-break-keystroke-threshold):
2692 No need to autoload.
2693 (type-break-good-rest-interval, type-break-keystroke-threshold):
2694 Add :set-after.
2695
2696 2012-09-28 Chong Yidong <cyd@gnu.org>
2697
2698 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
2699 Add :version tag.
2700
2701 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
2702
2703 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
2704
2705 2012-09-27 Glenn Morris <rgm@gnu.org>
2706
2707 * faces.el (x-display-name): Declare (for without-x builds).
2708
2709 * linum.el (linum-format): Don't autoload it. Improve :type.
2710
2711 * progmodes/tcl.el: Don't require outline when compiling.
2712 (outline-regexp, outline-level): Declare.
2713 * textmodes/sgml-mode.el: Don't require outline when compiling.
2714 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
2715
2716 * term.el (term-ansi-reset):
2717 Try setting term-ansi-face-already-done to nil. (Bug#11785)
2718
2719 * vc/vc.el (vc-next-action): Only gripe about committing read-only
2720 files for RCS and SCCS. (Bug#9781)
2721
2722 2012-09-27 Chong Yidong <cyd@gnu.org>
2723
2724 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
2725 change; value should be t.
2726
2727 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
2728
2729 * image-mode.el: Use lexical-binding.
2730 (image-mode-winprops): Use t to stand for the window of
2731 a buffer that's not displayed.
2732 * doc-view.el (doc-view-new-window-function): Handle the new
2733 t in winprops.
2734 (doc-view-enlarge): Make it a real nop if the size is not changed.
2735 (doc-view-display): Handle the case where the buffer is not (yet?)
2736 displayed in any window.
2737 (doc-view-saved-settings): New var.
2738 (doc-view-mode): Use it.
2739 (doc-view-fallback-mode): Set it.
2740
2741 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
2742 Set lexical-binding.
2743 (minibuffer-eldef-shorten-default): New var.
2744 (minibuffer-default-in-prompt-regexps): Use it for new default.
2745 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
2746
2747 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
2748
2749 * international/uni-bidi.el:
2750 * international/uni-category.el:
2751 * international/uni-name.el:
2752 * international/uni-numeric.el: Regenerate.
2753
2754 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
2755 Stefan Monnier <monnier@iro.umontreal.ca>
2756
2757 * profiler.el: New file.
2758
2759 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
2760
2761 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
2762 (testcover-reinstrument): Simplify with CSE.
2763
2764 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
2765
2766 * window.el (temp-buffer-window-setup): Fix typo in docstring.
2767
2768 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
2769
2770 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
2771 (verilog-auto-input, verilog-auto-insert-lisp)
2772 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
2773 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
2774 (verilog-auto-unused, verilog-auto-wire)
2775 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
2776 newline. Reported by Andrew Jones.
2777 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
2778 Reported by Brad Dobbie.
2779 (verilog-batch-delete-trailing-whitespace):
2780 Create verilog-batch-delete-trailing-whitespace.
2781 Reported by Brad Dobbie.
2782 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
2783 parameters from another module. Reported by Dan Katz.
2784 (verilog-auto, verilog-auto-assign-modport)
2785 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
2786 AUTOINOUTMODPORT for UVM interface module shell generation.
2787 Reported by Brad Dobbie.
2788 (verilog-auto-inst-interfaced-ports): Make default nil, as more
2789 standard behavior.
2790 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
2791 Reported by Matt Martin.
2792
2793 2012-09-25 Martin Rudalics <rudalics@gmx.at>
2794
2795 * window.el (window--resize-child-windows): When resizing child
2796 windows proportionally, process them in reverse order to
2797 preserve the "when splitting a window the new one gets the odd
2798 line" behavior.
2799 (window--resize-root-window-vertically): When resizing the
2800 minibuffer window try to affect only windows at the bottom of the
2801 frame. (Bug#12419)
2802
2803 2012-09-25 Chong Yidong <cyd@gnu.org>
2804
2805 * subr.el (declare): Doc fix.
2806
2807 * help-fns.el (help-fns--obsolete): Handle macros properly.
2808
2809 2012-09-25 Chong Yidong <cyd@gnu.org>
2810
2811 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
2812 this function obsolete.
2813
2814 * calendar/cal-x.el (calendar-two-frame-setup)
2815 (calendar-only-one-frame-setup, calendar-one-frame-setup):
2816 * calendar/calendar.el (american-calendar, european-calendar)
2817 (calendar-for-loop):
2818 * comint.el (comint-dynamic-simple-complete)
2819 (comint-dynamic-complete-as-filename, comint-unquote-filename):
2820 * desktop.el (desktop-load-default):
2821 * dired-x.el (dired-omit-here-always)
2822 (dired-hack-local-variables, dired-default-directory):
2823 * emacs-lisp/derived.el (derived-mode-class):
2824 * emacs-lisp/timer.el (timer-set-time-with-usecs):
2825 * emacs-lock.el (toggle-emacs-lock):
2826 * epa.el (epa-display-verify-result):
2827 * epg.el (epg-sign-keys, epg-start-sign-keys)
2828 (epg-passphrase-callback-function):
2829 * eshell/esh-util.el (eshell-for):
2830 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
2831 (eshell-add-to-window-buffer-names):
2832 * files.el (locate-file-completion):
2833 * imenu.el (imenu-example--create-c-index)
2834 (imenu-example--create-lisp-index)
2835 (imenu-example--lisp-extract-index-name)
2836 (imenu-example--name-and-position):
2837 * international/mule-cmds.el (princ-list):
2838 * international/mule-diag.el (decode-codepage-char):
2839 * international/mule-util.el (detect-coding-with-priority):
2840 * iswitchb.el (iswitchb-read-buffer):
2841 * mail/mailalias.el (mail-complete):
2842 * mail/sendmail.el (mail-sent-via):
2843 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
2844 (mouse-major-mode-menu):
2845 * password-cache.el (password-read-and-add):
2846 * pcomplete.el (pcomplete-parse-comint-arguments):
2847 * progmodes/sh-script.el (sh-maybe-here-document):
2848 * replace.el (query-replace-regexp-eval):
2849 * savehist.el (savehist-load):
2850 * simple.el (choose-completion-delete-max-match):
2851 * term.el (term-dynamic-simple-complete):
2852 * vc/ediff-init.el (ediff-check-version):
2853 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
2854 * vc/vc.el (vc-diff-switches-list):
2855 * view.el (view-return-to-alist-update): Likewise.
2856
2857 * subr.el (eval-next-after-load, makehash, insert-string)
2858 (assoc-ignore-representation, assoc-ignore-case): Use declare to
2859 mark obsolete.
2860 (mode-line-inverse-video): Variable deleted.
2861
2862 * international/mule-util.el (string-to-sequence): Remove.
2863
2864 * calendar/calendar.el (calendar-version):
2865 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
2866 (icalendar-convert-diary-to-ical):
2867 * cus-edit.el (custom-mode):
2868 * ansi-color.el (ansi-color-unfontify-region):
2869 * international/latin1-disp.el (latin1-char-displayable-p):
2870 * progmodes/cwarn.el (turn-on-cwarn-mode):
2871 * progmodes/which-func.el (which-func-update-1):
2872 Use define-obsolete-function-alias.
2873
2874 * net/newst-backend.el (newsticker-cache-filename):
2875 * net/newst-treeview.el (newsticker-groups-filename):
2876 Fix incorrect obsolescence declaration.
2877
2878 * allout.el (allout-passphrase-hint-string): Likewise.
2879 (allout-init): Use a declare form to mark obsolete.
2880
2881 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
2882 this applies to functions.
2883
2884 * iswitchb.el (iswitchb-read-buffer): Move code of
2885 iswitchb-define-mode-map here, and delete that obsolete function.
2886
2887 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
2888 font-lock-reference-face.
2889
2890 2012-09-25 Glenn Morris <rgm@gnu.org>
2891
2892 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
2893 Doc fixes.
2894
2895 * eshell/em-term.el (eshell-term-name):
2896 Default to term-term-name. (Bug#12485)
2897
2898 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
2899
2900 * progmodes/python.el (python-shell-send-buffer): Better handling
2901 of "if __name__ == '__main__':" conditionals when sending the buffer.
2902
2903 2012-09-24 Glenn Morris <rgm@gnu.org>
2904
2905 * eshell/esh-cmd.el (eshell-find-alias-function):
2906 Tighten up file-name regexp. (Bug#12499)
2907
2908 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
2909
2910 Enhancements for triple-quote string syntax.
2911 * progmodes/python.el (python-quote-syntax): Remove.
2912 (python-syntax-propertize-function): New value.
2913 (python-syntax-count-quotes, python-syntax-stringify):
2914 New functions.
2915
2916 2012-09-24 Chong Yidong <cyd@gnu.org>
2917
2918 * mail/supercite.el (sc-version): Remove obsolete function.
2919 (sc-describe): Don't mark as obsolete, since it is bound.
2920 (sc-submit-bug-report): Remove.
2921
2922 * vc/log-edit.el (cvs-changelog-full-paragraphs)
2923 (cvs-commit-buffer-require-final-newline): Remove.
2924 (log-edit-require-final-newline)
2925 (log-edit-changelog-full-paragraphs): Default to t.
2926
2927 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
2928 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
2929 * vc/vc.el (vc-checkout-carefully): Likewise.
2930
2931 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
2932 (emerge-version): Remove.
2933
2934 * progmodes/compile.el (compile-internal): Remove.
2935 (compilation-parse-errors-function): Fix typo.
2936
2937 * international/mule.el (set-char-table-default): Remove.
2938 (set-coding-priority, make-coding-system, generic-char-p)
2939 (charset-list, charset-bytes, charset-id): Use declare to mark
2940 functions as obsolete.
2941
2942 * vc/pcvs-defs.el (cvs-buffer-name-alist)
2943 (cvs-invert-ignore-marks): Remove references to obsolete vars.
2944 * vc/vc-hooks.el (vc-default-registered): Don't use
2945 vc-master-templates.
2946
2947 * font-lock.el (font-lock-reference-face):
2948 Use define-obsolete-variable-alias.
2949
2950 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
2951 * calendar/calendar.el (calendar-font-lock-keywords):
2952 * calendar/diary-lib.el (diary-font-lock-keywords)
2953 (diary-fancy-font-lock-keywords):
2954 * textmodes/reftex-sel.el (reftex-insert-docstruct):
2955 * textmodes/reftex-index.el (reftex-insert-index):
2956 * textmodes/reftex-cite.el (reftex-format-bib-entry):
2957 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2958 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
2959 * progmodes/prolog.el (prolog-font-lock-keywords):
2960 * progmodes/idlwave.el (idlwave-idl-keywords):
2961 * progmodes/ada-mode.el (ada-font-lock-keywords):
2962 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
2963
2964 2012-09-24 Glenn Morris <rgm@gnu.org>
2965
2966 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
2967
2968 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
2969
2970 * progmodes/python.el (python-indent-line): More consistent cursor
2971 movement behavior.
2972
2973 2012-09-23 Stefan Merten <smerten@oekonux.de>
2974
2975 * textmodes/rst.el: Fix compiler warning.
2976
2977 2012-09-23 Roland Winkler <winkler@gnu.org>
2978
2979 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
2980 Transcribe also LaTeX hyphenation.
2981 (bibtex-reformat): Bug fix. Do not quote twice the elements of
2982 bibtex-reformat-previous-options.
2983
2984 2012-09-23 Roland Winkler <winkler@gnu.org>
2985
2986 * proced.el (proced-renice-command): New variable.
2987 (proced-marked-processes): New function.
2988 (proced-with-processes-buffer): New macro.
2989 (proced-send-signal): Use them.
2990 (proced-renice): New command bound to r.
2991
2992 2012-09-23 Roland Winkler <winkler@gnu.org>
2993
2994 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
2995 ibuffer-saved-filter-groups has one element, shortcut the call of
2996 completing-read. (Bug#12331)
2997
2998 2012-09-23 Chong Yidong <cyd@gnu.org>
2999
3000 * bindings.el (mode-line-toggle-read-only):
3001 * bs.el (bs-toggle-readonly):
3002 * buff-menu.el (Buffer-menu-toggle-read-only):
3003 * dired.el (dired-toggle-read-only):
3004 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
3005
3006 2012-09-23 Chong Yidong <cyd@gnu.org>
3007
3008 * image.el (image-type-available-p): Adapt to init-image-library
3009 argument changes.
3010
3011 2012-09-22 Juri Linkov <juri@jurta.org>
3012
3013 * dired.el (dired-mode-map): Add [remap read-only-mode] for
3014 `dired-toggle-read-only'. (Bug#12462)
3015
3016 2012-09-22 Martin Rudalics <rudalics@gmx.at>
3017
3018 * subr.el (temp-output-buffer-show): New function.
3019 (with-output-to-temp-buffer): Call temp-output-buffer-show
3020 instead of internal-temp-output-buffer-show.
3021
3022 2012-09-22 Chong Yidong <cyd@gnu.org>
3023
3024 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
3025 (Bug#12462).
3026
3027 * repeat.el (repeat): Doc fix (Bug#12348).
3028
3029 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
3030 (Bug#10909).
3031
3032 * simple.el (shell-command-on-region): Doc fix.
3033 (read-only-mode): Doc fix.
3034
3035 2012-09-22 Eli Zaretskii <eliz@gnu.org>
3036
3037 * emacs-lisp/timer.el (run-with-idle-timer)
3038 (timer-activate-when-idle): Warn against reinvoking an idle timer
3039 from within its own timer action. (Bug#12447)
3040
3041 2012-09-22 Martin Rudalics <rudalics@gmx.at>
3042
3043 * cus-start.el (window-combination-limit): Add new optional
3044 values.
3045 * window.el (temp-buffer-window-show)
3046 (window--try-to-split-window): Handle new values of
3047 window-combination-limit (Bug#1806).
3048 (split-window): Test window-combination-limit for t instead of
3049 non-nil.
3050 (display-buffer-at-bottom): New buffer display action function.
3051 * help.el (temp-buffer-resize-regexps): New option.
3052 (temp-buffer-resize-mode): Rewrite doc-string.
3053 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
3054 Don't resize reused window. Suggested by Glenn Morris.
3055
3056 2012-09-22 Stefan Merten <smerten@oekonux.de>
3057
3058 * textmodes/rst.el: Revamp section title faces.
3059 (rst-official-version)
3060 (rst-package-emacs-version-alist): Sync with official version
3061 V1.4.0.
3062 (rst-faces-defaults, rst-set-level-default)
3063 (rst-level-face-max, rst-level-face-base-color)
3064 (rst-level-face-base-light, rst-level-face-format-light)
3065 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
3066 (rst-adornment-faces-alist): Match new setup.
3067 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
3068 (rst-level-5, rst-level-6): New faces.
3069
3070 2012-09-22 Chong Yidong <cyd@gnu.org>
3071
3072 * simple.el (undo): Handle indirect buffers (Bug#8207).
3073
3074 2012-09-21 Leo Liu <sdl.web@gmail.com>
3075
3076 IDO: Disable match re-ordering for buffer switching.
3077 * ido.el (ido-buffer-disable-smart-matches): New variable.
3078 (ido-set-matches-1): Use it. (Bug#2042)
3079
3080 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
3081
3082 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
3083 Fix 2011-05-17 change. (Bug#12418)
3084
3085 2012-09-21 Leo Liu <sdl.web@gmail.com>
3086
3087 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
3088
3089 2012-09-21 Glenn Morris <rgm@gnu.org>
3090
3091 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
3092 Be more robust about locating simple.el.
3093
3094 2012-09-21 Glenn Morris <rgm@gnu.org>
3095
3096 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
3097
3098 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
3099
3100 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
3101
3102 2012-09-20 Juri Linkov <juri@jurta.org>
3103
3104 * replace.el (query-replace-read-from): Use `read-regexp' instead
3105 of `read-from-minibuffer' when `regexp-flag' is non-nil.
3106 (occur-read-primary-args): Use `read-regexp' instead of
3107 `read-string'.
3108 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
3109 `read-from-minibuffer'.
3110 * isearch.el (isearch-occur): Use `read-regexp' instead of
3111 `read-string'.
3112 * dired.el (dired-read-regexp): Use `read-regexp' instead of
3113 `read-from-minibuffer'.
3114 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
3115 of `read-string'. (Bug#7567)
3116
3117 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
3118 and allow accepting a list of strings prepended to a list of
3119 standard default values. Doc fix. (Bug#12321)
3120
3121 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
3122
3123 * replace.el (read-regexp): Don't add ": " when PROMPT already
3124 ends with a colon and space. (Bug#12321)
3125
3126 2012-09-20 Tassilo Horn <tsdh@gnu.org>
3127
3128 * doc-view.el (doc-view-display): Better fix for the cl-assertion
3129 error.
3130
3131 2012-09-20 Stefan Merten <smerten@oekonux.de>
3132
3133 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
3134 Fixes feature request bug#11711.
3135 (rst-mode): Create `imenu-create-index-function'.
3136 (rst-get-stripped-line): Delete after refactoring.
3137 (rst-section-tree, rst-section-tree-rec)
3138 (rst-section-tree-point): Refactor and document properly.
3139 (rst-imenu-find-adornments-for-position)
3140 (rst-imenu-convert-cell, rst-imenu-create-index):
3141 New function.
3142
3143 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3144
3145 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
3146 (macroexp--expand-all): Use it.
3147 (macroexp--funcall-and-return): Remove by folding it into its sole
3148 caller (macroexp--warn-and-return).
3149 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
3150 Use macroexp--obsolete-warning.
3151
3152 * calc/calc.el: Fix last change by removing the whole chunk, since it
3153 was only needed back when Calc was not bundled.
3154
3155 2012-09-20 Martin Rudalics <rudalics@gmx.at>
3156
3157 * emacs-lisp/debug.el (debug): Restore assignment to
3158 debugger-old-buffer removed on 2012-09-08.
3159
3160 2012-09-20 Juri Linkov <juri@jurta.org>
3161
3162 * dired-aux.el (dired-diff): Remove (require 'diff) since
3163 `diff-latest-backup-file' is now autoloaded.
3164
3165 2012-09-20 Chong Yidong <cyd@gnu.org>
3166
3167 * vc/diff.el (diff-latest-backup-file): Autoload.
3168
3169 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3170
3171 * calc/calc.el: Remove redundant autoload shape check.
3172 (sel-mode): Don't defvar.
3173 (calc-get-stack-element): Add `sel-mode' arg instead.
3174 (calc-top, calc-top-list): Pass it this additional argument.
3175 * calc/calc-store.el (calc-store-map):
3176 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
3177 (calc-map-equation, calc-outer-product, calc-inner-product):
3178 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
3179
3180 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
3181
3182 2012-09-19 Juri Linkov <juri@jurta.org>
3183
3184 * dired-aux.el (dired-diff): Add (require 'diff) because
3185 `diff-latest-backup-file' is not autoloaded.
3186 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
3187 of `dired-get-filename' to t to not report error when there is
3188 no default file on the current line.
3189
3190 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3191
3192 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
3193 macroexp--eval-if-compile.
3194 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
3195 (macroexp--expand-all): Use them (bug#12371).
3196
3197 * doc-view.el (doc-view-guess-paper-size)
3198 (doc-view-scale-bounding-box): Fix unbound `caddr'.
3199
3200 2012-09-19 Tassilo Horn <tsdh@gnu.org>
3201
3202 New feature: set optimal slice from BoundingBox information.
3203 * doc-view.el (doc-view-mode-map): Add keybinding.
3204 (doc-view-menu): Add menu entry.
3205 (doc-view-set-slice): Adapt docstring.
3206 (doc-view-get-bounding-box, doc-view-guess-paper-size)
3207 (doc-view-scale-bounding-box)
3208 (doc-view-set-slice-from-bounding-box): New functions.
3209 (doc-view-paper-sizes): New defvar.
3210
3211 2012-09-19 Glenn Morris <rgm@gnu.org>
3212
3213 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
3214 (byte-compile-log-warning): Autoload. (Bug#12371)
3215
3216 * calendar/calendar.el (calendar-american-month-header)
3217 (calendar-european-month-header, calendar-iso-month-header)
3218 (calendar-month-header): New options.
3219 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
3220 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
3221
3222 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
3223
3224 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
3225
3226 2012-09-18 Juri Linkov <juri@jurta.org>
3227
3228 * dired-aux.el (dired-diff): Restore original functionality of
3229 getting the default value, but keep new feature of using the
3230 latest existing backup file (`diff-latest-backup-file').
3231
3232 2012-09-18 Juri Linkov <juri@jurta.org>
3233
3234 * dired.el (dired-mark): If the region is active in Transient Mark
3235 mode, mark all files in the active region. Doc fix.
3236 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
3237 Doc fix. (Bug#10624)
3238
3239 2012-09-18 Juri Linkov <juri@jurta.org>
3240
3241 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
3242 attributes for M-n are pulled from the file at point.
3243 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
3244 Suggested by Drew Adams. (Bug#10624)
3245
3246 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
3247
3248 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
3249 whitespace after "end".
3250 (ruby-do-end-to-brace): Collapse block to one line if it fits
3251 within fill-column.
3252
3253 2012-09-18 Martin Rudalics <rudalics@gmx.at>
3254
3255 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
3256 value.
3257 (debug): Don't remove debugger window when debugger is expected
3258 to be back.
3259
3260 2012-09-18 Chong Yidong <cyd@gnu.org>
3261
3262 * custom.el (defface): Doc fix.
3263
3264 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
3265
3266 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
3267
3268 * progmodes/compile.el (compilation-start): Use compilation-always-kill
3269 to initialize query-on-exit; then test that instead (bug#12288).
3270
3271 2012-09-17 Stefan Merten <smerten@oekonux.de>
3272
3273 * textmodes/rst.el: Add support for `testcover'.
3274 (rst-defcustom-testcover, rst-testcover-add-compose)
3275 (rst-testcover-add-1value): New functions.
3276 (rst-portable-mark-active-p): Replace by `use-region-p'.
3277 (rst-update-section, rst-classify-adornment)
3278 (rst-find-title-line): Mark `1value' forms.
3279 (rst-classify-adornment): Remove superfluous form.
3280 (rst-update-section, rst-get-adornments-around)
3281 (rst-adornment-complete-p, rst-get-next-adornment)
3282 (rst-adjust, rst-promote-region)
3283 (rst-display-adornments-hierarchy, rst-straighten-adornments)
3284 (rst-find-pfx-in-region, rst-section-tree-rec)
3285 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
3286 (rst-toc-node, rst-toc, rst-forward-section)
3287 (rst-iterate-leftmost-paragraphs)
3288 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
3289 (rst-bullet-list-region)
3290 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
3291 (rst-compile-find-conf, rst-compile)
3292 (rst-repeat-last-character): Fix style.
3293
3294 2012-09-17 Chong Yidong <cyd@gnu.org>
3295
3296 * comint.el (comint--complete-file-name-data): Don't add a space
3297 if the status is `sole'; that adds a gratuitous space in the
3298 completion-cycling case (Bug#12092).
3299
3300 * pcomplete.el (pcomplete-completions-at-point): Likewise.
3301
3302 2012-09-17 Richard Stallman <rms@gnu.org>
3303
3304 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
3305 only in the mime-shown mode, not in raw mode.
3306 (rmail-mime): Toggle off mime by displaying the message without
3307 mime processing. (Bug#12305)
3308
3309 * mail/rmail.el (rmail-retry-failure):
3310 Turn off mime processing first. (Bug#12037)
3311
3312 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
3313
3314 2012-09-17 Chong Yidong <cyd@gnu.org>
3315
3316 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
3317 (shell-dynamic-complete-functions): Convert to defcustom.
3318 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
3319
3320 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
3321 * comint.el (comint-prompt-read-only):
3322 * custom.el (defcustom):
3323 * hi-lock.el (hi-lock-mode):
3324 * ibuffer.el (ibuffer-formats):
3325 * ielm.el (ielm-prompt-read-only):
3326 * novice.el (disable-command):
3327 * saveplace.el (toggle-save-place):
3328 * speedbar.el (speedbar-supported-extension-expressions):
3329 * startup.el (auto-save-list-file-prefix, init-file-user)
3330 (after-init-hook, inhibit-startup-echo-area-message):
3331 * strokes.el (strokes-help):
3332 * time-stamp.el (time-stamp):
3333 * calendar/calendar.el (calendar, diary-file):
3334 * calendar/diary-lib.el (diary-mail-entries, diary)
3335 (diary-list-entries-hook):
3336 * calendar/holidays.el (holidays, calendar-holidays):
3337 * calendar/lunar.el (lunar-phases):
3338 * calendar/solar.el (sunrise-sunset):
3339 * emulation/edt.el (edt-load-keys):
3340 * emulation/viper.el (viper-mode):
3341 * eshell/em-alias.el (eshell-command-aliases-list):
3342 * eshell/esh-util.el (eshell-convert-numeric-arguments):
3343 * international/ogonek.el (ogonek-information):
3344 * net/tramp-cmds.el (tramp-bug):
3345 * net/quickurl.el (quickurl-reread-hook-postfix):
3346 * play/decipher.el (decipher-font-lock-keywords):
3347 * progmodes/cc-styles.el (c-set-style):
3348 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
3349 * progmodes/inf-lisp.el (inferior-lisp-prompt):
3350 * progmodes/octave-mod.el (octave-mode):
3351 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
3352 * progmodes/verilog-mode.el (verilog-read-defines):
3353 * textmodes/two-column.el (2C-mode): Likewise.
3354
3355 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
3356
3357 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
3358 that holds many addresses.
3359
3360 2012-09-16 Chong Yidong <cyd@gnu.org>
3361
3362 * align.el (align-areas): Call the indication function with
3363 positions instead of markers for arguments (Bug#12343).
3364
3365 * files.el (parse-colon-path): Use split-string (Bug#12351).
3366
3367 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
3368 (display-buffer-function): Mark as obsolete.
3369
3370 * progmodes/compile.el (compilation-parse-errors): Accept list
3371 values similar to font-lock-keywords (Bug#12136).
3372 Suggested by Oleksandr Manzyuk.
3373 (compilation-error-regexp-alist): Doc fix.
3374
3375 2012-09-15 Glenn Morris <rgm@gnu.org>
3376
3377 * version.el (emacs-bzr-version-bzr): New function.
3378 (emacs-bzr-get-version): Add optional EXTERNAL argument.
3379
3380 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
3381 checkouts, check the parent dirstate matches the branch.
3382 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
3383 empty string.
3384
3385 * version.el (emacs-bzr-version): Doc fix.
3386 (emacs-bzr-version-dirstate): New function.
3387 (emacs-bzr-get-version): For lightweight checkouts, if the parent
3388 is local try and check that it matches the branch. If not, just
3389 use dirstate information. (Bug#12441)
3390
3391 2012-09-14 Juri Linkov <juri@jurta.org>
3392
3393 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
3394 (Bug#12399)
3395
3396 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
3397
3398 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
3399
3400 * emacs-lisp/edebug.el: Miscellaneous cleanup.
3401 Remove obsolete byte-compiler hack that tried to silence some warnings.
3402 (edebug-submit-bug-report): Remove.
3403 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
3404 Remove aliases, use the un-prefixed name instead.
3405 (edebug-pop-to-buffer): Consider other frames.
3406 (edebug-original-read):: Make it more obvious that it's always defined.
3407 (edebug--make-form-data-entry, edebug--form-data-name)
3408 (edebug--form-data-begin, edebug--form-data-end): Rename from the
3409 single-dashed name, and implement with cl-defstruct.
3410 (edebug-set-form-data-entry): Use the standard accessors.
3411 (edebug-make-top-form-data-entry): Use push.
3412 (edebug-no-match): Drop useless `funcall'.
3413 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
3414 to functions.
3415 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
3416 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
3417 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
3418 (easy-menu-define, with-custom-print): Remove redundant specs.
3419 (edebug-outside-overriding-local-map)
3420 (edebug-outside-overriding-terminal-local-map): Remove, unused.
3421 (edebug--display): Bind unread-command-events directly to nil rather
3422 than binding it to unread-command-events and later setting it to nil.
3423 (edebug--display): Kill edebug-eval-buffer here...
3424 (edebug--recursive-edit): ...rather than here.
3425 Bind standard-output and standard-input.
3426 (edebug-eval): Check cl-macroexpand-all is fboundp.
3427 (edebug-temp-display-freq-count): Fix last change.
3428
3429 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
3430 * subr.el (noreturn, 1value): Add `debug' spec.
3431 * emacs-lisp/advice.el: Require cl-lib.
3432 (ad-copy-tree): Remove, use copy-tree instead.
3433 (ad-dolist): Remove use dolist or cl-dolist instead.
3434 (ad-do-return): Remove, use cl-return instead.
3435 (defadvice): Add `debug' spec.
3436
3437 2012-09-13 Juri Linkov <juri@jurta.org>
3438
3439 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
3440 (Bug#12399)
3441
3442 2012-09-13 Glenn Morris <rgm@gnu.org>
3443
3444 * calc/calc.el (math-compose-expr):
3445 * calc/calc-ext.el (math-compose-expr):
3446 * progmodes/cc-defs.el (cl-macroexpand-all):
3447 * progmodes/cc-langs.el (delete-duplicates, mapcan)
3448 (cl-macroexpand-all): Update declarations.
3449
3450 * vc/vc.el: No need to require ediff.
3451 (ediff-load-version-control): Declare.
3452 (ediff-vc-internal): Fix declaration.
3453 (vc-version-ediff): Require ediff.
3454
3455 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
3456
3457 Use a more backwards-compatible timer format (Bug#12430).
3458 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
3459 being right after USECS, as that better supports old code that
3460 inadvisedly looked directly at the timer vector.
3461
3462 2012-09-13 Kenichi Handa <handa@gnu.org>
3463
3464 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
3465 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
3466 `coding-priority' property of these language environment.
3467
3468 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
3469
3470 Fix glitches caused by addition of psec to timers (Bug#12430).
3471 * image.el (image-animate-timer):
3472 * time.el (display-time-world-timer):
3473 Use timer--function and timer--args rather than raw access to
3474 timer vector.
3475
3476 2012-09-13 Glenn Morris <rgm@gnu.org>
3477
3478 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
3479 If not compiling a file, try using load-file-name.
3480
3481 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
3482
3483 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
3484 Fix last change.
3485 (edebug-update-eval-list): Use `push'.
3486
3487 * emacs-lisp/edebug.el: Use lexical-binding.
3488 Remove the "edebug-" prefix from non-dynamically-scoped variables.
3489 Mark unused args with underscore.
3490 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
3491 (edebug-form-data): Use defvar-local.
3492 (edebug-make-before-and-after-form, edebug-make-after-form):
3493 Use backquote.
3494 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
3495 Not dynamically scoped any more.
3496 (edebug--enter-trace): Add arguments `function' and `args'.
3497 Rename from edebug-enter-trace.
3498 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
3499 (edebug--update-coverage): Add `after-index' and `value' args.
3500 Rename from edebug-update-coverage.
3501 (edebug-slow-after): Call it accordingly.
3502 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
3503 edebug-recursive-edit.
3504 (edebug--display): Call it accordingly. Add args `value',
3505 `offset-index', and `arg-mode'. Rename from edebug-display.
3506 (edebug-debugger, edebug): Call it accordingly.
3507 (edebug-eval-display-list): Use dolist.
3508
3509 2012-09-12 Juri Linkov <juri@jurta.org>
3510
3511 * info.el (Info-search): Don't check for isearch-mode and
3512 isearch-regexp before let-binding search-spaces-regexp to
3513 Info-search-whitespace-regexp.
3514 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
3515 search-whitespace-regexp if isearch-lax-whitespace or
3516 isearch-regexp-lax-whitespace is non-nil.
3517 (Info-mode): Don't set local variable search-whitespace-regexp.
3518 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
3519
3520 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3521
3522 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
3523 (debugger-env-macro): Remove support for unread-command-char.
3524
3525 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
3526 the temporary map re-appearing on emulation-mode-map-alists.
3527
3528 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
3529 since 22.1.
3530
3531 * ehelp.el (with-electric-help): Accept functions in
3532 electric-help-form-to-execute.
3533 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
3534 And replace unread-command-char -> unread-command-events.
3535
3536 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
3537
3538 Sync with Tramp 2.2.6.
3539
3540 * net/tramp.el (tramp-accept-process-output): Don't use
3541 JUST-THIS-ONE in the XEmacs case.
3542
3543 * net/trampver.el: Update release number.
3544
3545 2012-09-12 Martin Rudalics <rudalics@gmx.at>
3546
3547 * emacs-lisp/debug.el (debugger-previous-window-height):
3548 New variable.
3549 (debug): When debugger-jumping-flag is non-nil try to restore
3550 height of debugger window. (Bug#8789)
3551
3552 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3553
3554 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
3555 overriding-local-map and pre/post-command-hook here.
3556 (edebug-recursive-edit): Do it here instead (bug#12345).
3557 (edebug-outside-unread-command-char): Remove all uses of
3558 unread-command-char.
3559
3560 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
3561 inhibit-debugger is bound instead.
3562
3563 2012-09-11 Bastien Guerry <bzg@gnu.org>
3564
3565 * subr.el (set-temporary-overlay-map): Add a docstring.
3566 (Bug#12346)
3567
3568 2012-09-11 Bastien Guerry <bzg@gnu.org>
3569
3570 * minibuffer.el (completion-table-subvert): Fix docstring.
3571 (Bug#12347)
3572
3573 2012-09-11 Bastien Guerry <bzg@gnu.org>
3574
3575 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
3576
3577 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
3578
3579 * progmodes/sql.el: Version 3.1
3580 (sql-db2-escape-newlines): New variable.
3581 (sql-escape-newlines-filter): Use it.
3582
3583 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
3584
3585 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
3586
3587 2012-09-10 Dan Nicolaescu <dann@gnu.org>
3588
3589 * vc/diff-mode.el (diff-mode-menu):
3590 Bind diff-remove-trailing-whitespace.
3591
3592 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
3593
3594 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
3595 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
3596 (emacs-lisp-byte-code-mode): New functions.
3597 (eval-sexp-add-defvars): Don't skip defvars in column >0.
3598 (eval-defun-2): Remove bogus interactive spec.
3599 (lisp-indent-line): Remove redundant whole-exp code, now done in
3600 indent-according-to-mode.
3601 (save-match-data): Remove redundant indent data.
3602
3603 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
3604 Use `declare'.
3605
3606 2012-09-09 Juri Linkov <juri@jurta.org>
3607
3608 * replace.el (replace-regexp-lax-whitespace): New defcustom.
3609 (replace-lax-whitespace, query-replace-regexp)
3610 (query-replace-regexp-eval, replace-regexp): Doc fix.
3611 (perform-replace, replace-highlight): Let-bind
3612 isearch-lax-whitespace to replace-lax-whitespace and
3613 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
3614
3615 * isearch.el (isearch-query-replace): Let-bind
3616 replace-lax-whitespace to isearch-lax-whitespace and
3617 replace-regexp-lax-whitespace to
3618 isearch-regexp-lax-whitespace. (Bug#10885)
3619
3620 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
3621
3622 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
3623
3624 2012-09-09 Alan Mackenzie <acm@muc.de>
3625
3626 * progmodes/cc-engine.el (c-state-cache-init):
3627 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
3628 (c-record-parse-state-state):
3629 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
3630
3631 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
3632
3633 * register.el (register-separator): Rename from
3634 separator-register. All uses changed. Doc fix.
3635 (register): Fix version.
3636
3637 2012-09-09 Chong Yidong <cyd@gnu.org>
3638
3639 * replace.el (query-replace-map): Bind four new symbols for
3640 requesting window scrolling.
3641
3642 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
3643 query-replace-map (Bug#8948).
3644
3645 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
3646
3647 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
3648 since they are now in query-replace-map.
3649
3650 * window.el (scroll-other-window-down): Make the arg optional.
3651
3652 2012-09-09 Chong Yidong <cyd@gnu.org>
3653
3654 * files.el (hack-local-variables-confirm): Use quit-window to kill
3655 the *Local Variables* buffer.
3656
3657 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
3658
3659 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
3660 not just expect to be at its beginning. Adjust callees.
3661 Succeed when do-end block has no space before the pipe character.
3662 (ruby-brace-to-do-end): When the original block is one-liner,
3663 convert to multiline. Reindent the result.
3664
3665 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
3666
3667 * register.el (register): New group.
3668 (separator-register): New user option.
3669 (increment-register): Route it to `append-to-register', if
3670 register contains text. Implication is that `C-x r +' can now be
3671 used for appending to a text register (bug#12217).
3672 (append-to-register, prepend-to-register): Add separator based on
3673 `separator-register'.
3674
3675 2012-09-08 Alan Mackenzie <acm@muc.de>
3676
3677 AWK Mode: make auto-newline work when there's "==" in the pattern.
3678 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
3679 correctly.
3680 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
3681 Test more rigorously for "=" token.
3682
3683 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
3684
3685 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
3686 Only fail when reached LIMIT.
3687
3688 2012-09-08 Chong Yidong <cyd@gnu.org>
3689
3690 * dired.el (dired-mode-map): Don't bind M-=.
3691
3692 * dired-aux.el (dired-diff): Use backup file as default.
3693
3694 2012-09-08 Drew Adams <drew.adams@oracle.com>
3695
3696 * subr.el (add-to-history): Fix delete usage (Bug#12314).
3697
3698 2012-09-08 Chong Yidong <cyd@gnu.org>
3699
3700 * subr.el (syntax-after, syntax-class): Doc fix.
3701
3702 2012-09-08 Martin Rudalics <rudalics@gmx.at>
3703
3704 * window.el (display-buffer-in-previous-window): New buffer
3705 display action function.
3706
3707 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
3708 (debugger-previous-window): New variable.
3709 (debug): Rewrite using display-buffer-in-previous-window,
3710 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
3711
3712 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
3713
3714 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
3715
3716 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
3717
3718 * progmodes/python.el (python-shell-send-string):
3719 When default-directory is remote, create temp file on remote
3720 filesystem.
3721 (python-shell-send-file): When file is remote, pass local view of
3722 file paths to remote Python interpreter. (Bug#12340)
3723
3724 2012-09-07 Chong Yidong <cyd@gnu.org>
3725
3726 * window.el (switch-to-buffer): Doc fix (Bug#12181).
3727
3728 * files.el (after-find-file): Don't fail on a read-only buffer if
3729 require-final-newline is `visit' or `visit-save' (Bug#11156).
3730
3731 * subr.el (read-char-choice): Allow quitting via ESC ESC.
3732
3733 * userlock.el (ask-user-about-supersession-threat):
3734 Use read-char-choice (Bug#12093).
3735
3736 2012-09-07 Chong Yidong <cyd@gnu.org>
3737
3738 * subr.el (buffer-narrowed-p): New function.
3739
3740 * ses.el (ses-widen):
3741 * simple.el (count-words--buffer-message):
3742 * net/browse-url.el (browse-url-of-buffer): Use it.
3743
3744 * simple.el (count-words-region): Don't signal an error if there
3745 is a non-nil prefix arg and the mark is not set.
3746
3747 * help.el (describe-key-briefly): Allow the message to be seen
3748 when invoked from the minibuffer (Bug#7014).
3749
3750 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
3751
3752 * progmodes/ruby-mode.el (ruby-end-of-defun)
3753 (ruby-beginning-of-defun): Simplify, allow indentation before
3754 block beginning and end keywords.
3755 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
3756 (ruby-end-of-defun): Expect that the point is at the beginning of
3757 the defun.
3758
3759 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3760
3761 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
3762 (bug#12367).
3763 (cl--make-usage-args): Strip _ from argument names.
3764
3765 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3766
3767 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
3768 obsolete alias speedbar-key-map.
3769 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
3770 (vhdl-index-menu-init): Don't use obsolete variable
3771 font-lock-maximum-size.
3772
3773 2012-09-06 Chong Yidong <cyd@gnu.org>
3774
3775 * frame.el (window-system-version): Mark as obsolete.
3776
3777 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
3778 of obsolete variable speedbar-key-map.
3779
3780 2012-09-06 Juri Linkov <juri@jurta.org>
3781
3782 * replace.el (replace-lax-whitespace): New defcustom.
3783 (query-replace, query-replace-regexp, query-replace-regexp-eval)
3784 (replace-string, replace-regexp): Mention it in docstrings.
3785 (perform-replace, replace-highlight): Let-bind
3786 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
3787 to the values of replace-lax-whitespace and regexp-flag.
3788 Don't let-bind search-whitespace-regexp. (Bug#10885)
3789
3790 * isearch.el (isearch-query-replace): Let-bind
3791 replace-lax-whitespace instead of let-binding
3792 replace-search-function and replace-re-search-function.
3793 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
3794 and isearch-regexp-lax-whitespace to lazy-highlight variables.
3795 (isearch-toggle-symbol): Set isearch-regexp to nil
3796 in isearch-word mode (like in isearch-toggle-word).
3797
3798 2012-09-06 Juri Linkov <juri@jurta.org>
3799
3800 * replace.el (replace-search-function)
3801 (replace-re-search-function): Set default values to nil.
3802 (perform-replace): Let-bind isearch-related variables based on
3803 replace-related values, call `isearch-search-fun' and let-bind
3804 the result to `search-function'. Remove code that sets
3805 `search-function' and `search-string' separately for
3806 `delimited-flag'.
3807 (replace-highlight): Add new argument `delimited-flag' and
3808 rename other arguments to the names used in `perform-replace'.
3809 Let-bind `isearch-word' to the argument `delimited-flag'.
3810 (Bug#10885, bug#10887)
3811
3812 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
3813
3814 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
3815 ruby-beginning-of-indent, simplify, allow all keywords to have
3816 indentation before them.
3817 (ruby-beginning-of-indent): Adjust for above. Search until the
3818 found point is not inside a string or comment.
3819 (ruby-font-lock-keywords): Allow symbols to start with "@"
3820 character, give them higher priority than variables.
3821 (ruby-syntax-propertize-function)
3822 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
3823 matchers. Expression expansions are not comments when inside a
3824 string, and there comment syntax status is irrelevant.
3825 (ruby-match-expression-expansion): New function. Check that
3826 expression expansion is inside a string, and it's not escaped.
3827 (ruby-font-lock-keywords): Use it.
3828
3829 2012-09-05 Martin Rudalics <rudalics@gmx.at>
3830
3831 * help.el (temp-buffer-max-height): New default value.
3832 (temp-buffer-resize-frames): New option.
3833 (resize-temp-buffer-window): Optionally resize frame.
3834
3835 * window.el (fit-frame-to-buffer-bottom-margin): New option.
3836 (fit-frame-to-buffer): New function.
3837
3838 2012-09-05 Glenn Morris <rgm@gnu.org>
3839
3840 * emulation/cua-rect.el (cua--init-rectangles):
3841 * textmodes/picture.el (picture-mode-map):
3842 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
3843 like forward-char and backward-char. (Bug#12317)
3844
3845 2012-09-05 Leo Liu <sdl.web@gmail.com>
3846
3847 * progmodes/flymake.el (flymake-warning-re): New variable.
3848 (flymake-parse-line): Use it.
3849
3850 2012-09-05 Glenn Morris <rgm@gnu.org>
3851
3852 * calendar/holidays.el (holiday-christian-holidays):
3853 Rename an entry. (Bug#12289)
3854
3855 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3856
3857 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
3858 (bug#12222).
3859
3860 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
3861
3862 * loadup.el: Load macroexp. Remove hack.
3863 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
3864 (macroexp--expand-all): Use it to get better warnings.
3865 (macroexp--backtrace, macroexp--trim-backtrace-frame)
3866 (internal-macroexpand-for-load): New functions.
3867 (macroexp--pending-eager-loads): New var.
3868 (emacs-startup-hook): New hack to replace one in loadup.el.
3869 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
3870 (cl--compiler-macro-cXXr): Move to top, before they can be used.
3871 (cl-psetf): Simplify.
3872 (cl-defstruct): Add indent rule.
3873
3874 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
3875
3876 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
3877 over `user-mail-address' for the SMTP MAIL FROM envelope.
3878 (smtpmail-via-smtp): Ditto.
3879
3880 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
3881
3882 * progmodes/ruby-mode.el: Clean up keybindings.
3883 (ruby-mode-map): Don't bind ruby-electric-brace,
3884 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
3885 backward-kill-word, reindent-then-newline-and-indent.
3886 (ruby-mark-defun): Remove.
3887 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
3888 (ruby-mode): Set local beginning-of-defun-function and
3889 end-of-defun-function values.
3890
3891 2012-09-03 Martin Rudalics <rudalics@gmx.at>
3892
3893 * window.el (temp-buffer-window-setup-hook)
3894 (temp-buffer-window-show-hook): New hooks.
3895 (temp-buffer-window-setup, temp-buffer-window-show)
3896 (with-temp-buffer-window): New functions.
3897 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
3898 (special-display-popup-frame): Make sure the window used shows BUFFER.
3899
3900 * help.el (temp-buffer-resize-mode): Fix doc-string.
3901 (resize-temp-buffer-window): New optional argument WINDOW.
3902
3903 * files.el (recover-file, save-buffers-kill-emacs):
3904 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
3905
3906 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
3907
3908 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
3909 remote definition of `default-directory', ensure we can connect.
3910
3911 2012-09-02 Juri Linkov <juri@jurta.org>
3912
3913 Toggle whitespace matching mode with M-s SPC.
3914 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
3915
3916 * isearch.el (search-whitespace-regexp): Doc fix.
3917 Remove cons cell customization.
3918 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
3919 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
3920 New variables.
3921 (isearch-forward, isearch-forward-regexp): Doc fix.
3922 (isearch-toggle-lax-whitespace): New command.
3923 (search-forward-lax-whitespace, search-backward-lax-whitespace)
3924 (re-search-forward-lax-whitespace)
3925 (re-search-backward-lax-whitespace): New functions.
3926 (isearch-whitespace-regexp): Remove function.
3927 (isearch-query-replace): Let-bind replace-search-function and
3928 replace-re-search-function.
3929 (isearch-occur): Let-bind search-spaces-regexp according to the
3930 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
3931 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
3932 condition for C-q SPC.
3933 (isearch-search-fun-default): Use new functions mentioned above.
3934 (isearch-search-forward, isearch-search-backward): Remove functions.
3935 (isearch-search): Don't let-bind search-spaces-regexp.
3936 (isearch-lazy-highlight-space-regexp): Remove variable.
3937 (isearch-lazy-highlight-lax-whitespace)
3938 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
3939 (isearch-lazy-highlight-new-loop): Use them.
3940 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
3941
3942 2012-09-02 Chong Yidong <cyd@gnu.org>
3943
3944 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
3945
3946 2012-09-02 Glenn Morris <rgm@gnu.org>
3947
3948 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
3949
3950 2012-09-01 Glenn Morris <rgm@gnu.org>
3951
3952 * term.el: Tidy up menu definitions.
3953 (term-mode-map): Use easymenu for In/Out, Complete menus.
3954 (term-pager-break-map): Initialize in the defvar.
3955 (term-terminal-menu, term-signals-menu): Define with easymenu.
3956 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
3957 (term-pager-menu): New, extracted from term-process-pager.
3958 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
3959 (term-update-mode-line): Propertize line/char and page items.
3960 (term-process-pager): Move keymap initialization elsewhere.
3961
3962 2012-09-01 Martin Rudalics <rudalics@gmx.at>
3963
3964 * window.el (switch-to-prev-buffer): Handle additional values of
3965 BURY-OR-KILL argument. Don't switch in minibuffer window.
3966 (switch-to-next-buffer): Don't switch in minibuffer window.
3967 (quit-restore-window): New function based on quit-window.
3968 Handle additional values of former KILL argument.
3969 (quit-window): Call quit-restore-window with appropriate
3970 interpretation of KILL argument.
3971 (display-buffer-below-selected): New buffer display action
3972 function.
3973
3974 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
3975
3976 * minibuffer.el (completion-at-point-functions): Complete docstring
3977 (bug#12254).
3978
3979 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
3980
3981 Better seed support for (random).
3982 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
3983 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
3984 * play/mpuz.el, play/tetris.el, play/zone.el:
3985 * calc/calc-comb.el (math-init-random-base):
3986 * play/blackbox.el (bb-init-board):
3987 * play/life.el (life):
3988 * server.el (server-use-tcp):
3989 * type-break.el (type-break):
3990 Remove unnecessary call to (random t).
3991 * net/sasl.el (sasl-unique-id-function):
3992 Change (random t) to (random), now that the latter is more random.
3993 * play/life.el (life-initialized): Remove no-longer-needed var.
3994
3995 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
3996
3997 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
3998 Consider frame's buffer predicate when choosing the buffer.
3999 (Bug#12081)
4000
4001 2012-08-30 Richard Stallman <rms@gnu.org>
4002
4003 * simple.el (special-mode-map): Delete binding for `z'.
4004
4005 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
4006
4007 * progmodes/compile.el (compilation-always-kill): Doc fix.
4008
4009 2012-08-30 Chong Yidong <cyd@gnu.org>
4010
4011 * window.el (display-buffer-reuse-frames): Make the obsolescence
4012 message more informative.
4013
4014 2012-08-30 Glenn Morris <rgm@gnu.org>
4015
4016 * paren.el (show-paren-delay):
4017 Add a :set function. Doc fix. (Bug#12297)
4018
4019 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
4020
4021 * progmodes/compile.el (compilation-always-kill): New var.
4022 (compilation-start): Use it.
4023
4024 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4025
4026 * simple.el (read-only-mode): Move from files.el for bootstrapping.
4027 * files.el (read-only-mode): Move to simple.el.
4028
4029 * files.el (read-only-mode): New minor mode.
4030 (toggle-read-only): Use it and mark obsolete.
4031 (find-file--read-only):
4032 * vc/vc.el (vc-next-action, vc-checkout):
4033 * vc/vc-cvs.el (vc-cvs-checkout):
4034 * obsolete/vc-mcvs.el (vc-mcvs-update):
4035 * ffap.el (ffap--toggle-read-only): Update callers.
4036
4037 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
4038
4039 * eshell/esh-ext.el (eshell-external-command): Do not examine
4040 remote shell scripts.
4041 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
4042
4043 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
4044 "/usr/local/sbin".
4045
4046 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4047
4048 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
4049
4050 2012-08-28 Leo Liu <sdl.web@gmail.com>
4051
4052 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
4053 completion-at-point. (Bug#12220)
4054
4055 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
4056
4057 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
4058
4059 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4060
4061 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
4062 be buffer-local; add delete-trailing-whitespace (bug#12259).
4063
4064 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
4065
4066 * progmodes/hideif.el (hif-compress-define-list):
4067 Fix typo. (Bug#11951)
4068
4069 2012-08-28 Dan Nicolaescu <dann@gnu.org>
4070
4071 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
4072 buffer local setting.
4073
4074 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
4075 rcirc-encode-coding-system.
4076
4077 2012-08-28 Leo Liu <sdl.web@gmail.com>
4078
4079 * net/rcirc.el (rcirc-split-message): New function.
4080 (rcirc-send-message): Use it. (Bug#12051)
4081
4082 2012-08-28 Juri Linkov <juri@jurta.org>
4083
4084 * info.el (Info-fontify-node): Hide empty lines at the end of
4085 the node. (Bug#12272)
4086
4087 2012-08-27 Drew Adams <drew.adams@oracle.com>
4088
4089 * dired.el (dired-pop-to-buffer): Make window start at beginning
4090 of buffer (Bug#12281).
4091
4092 2012-08-26 Chong Yidong <cyd@gnu.org>
4093
4094 * window.el (special-display-regexps, special-display-frame-alist)
4095 (special-display-buffer-names, special-display-function)
4096 (display-buffer-reuse-frames): Mark as obsolete.
4097
4098 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
4099
4100 * help.el (help-print-return-message): Don't treat
4101 display-buffer-reuse-frames specially.
4102
4103 2012-08-26 Chong Yidong <cyd@gnu.org>
4104
4105 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
4106 New variable, replacing gdb-frame-parameters.
4107 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
4108 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
4109 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
4110 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
4111 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
4112 the functions directly with gdb-display-buffer-other-frame-action.
4113 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
4114 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
4115 (gdb-display-stack-buffer, gdb-display-locals-buffer)
4116 (gdb-display-registers-buffer): Define directly.
4117 (def-gdb-display-buffer): Macro deleted.
4118 (gdb-display-buffer): Remove second and third args, callers don't
4119 use them. Defer to the default display-buffer behavior, apart
4120 from making windows dedicated.
4121 (gdb-setup-windows): Don't call display-buffer unnecessarily.
4122
4123 * progmodes/gud.el (gud-display-line): Just use display-buffer.
4124
4125 * window.el (display-buffer-pop-up-frame): Handle a
4126 pop-up-frame-parameters alist entry.
4127 (display-buffer): Document it.
4128
4129 2012-08-26 Chong Yidong <cyd@gnu.org>
4130
4131 * isearch.el (search-whitespace-regexp): Make string and nil
4132 values apply to both ordinary and regexp search. Allow a cons
4133 cell value to distinguish between the two.
4134 (isearch-whitespace-regexp, isearch-search-forward)
4135 (isearch-search-backward): New functions.
4136 (isearch-occur, isearch-search-fun-default, isearch-search)
4137 (isearch-lazy-highlight-new-loop): Use them.
4138 (isearch-forward, isearch-forward-regexp): Doc fix.
4139
4140 2012-08-26 Chong Yidong <cyd@gnu.org>
4141
4142 * faces.el (help-argument-name): Always inherit from italic
4143 (Bug#12213).
4144
4145 2012-08-25 Martin Rudalics <rudalics@gmx.at>
4146
4147 * window.el (window--even-window-heights): Even heights when
4148 WINDOW and the selected window form a vertical combination.
4149 (display-buffer-use-some-window): Provide that window used gets
4150 sized back by quit-window. (Bug#11880) and (Bug#12091)
4151
4152 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
4153
4154 Fix file time stamp problem with bzr and CVS (Bug#12001).
4155 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
4156 in the file's time stamp, since the version control system loses
4157 that information.
4158
4159 2012-08-22 Juri Linkov <juri@jurta.org>
4160
4161 * info.el (Info-fontify-node): Hide the suffix of the
4162 Info file name in the header line. (Bug#12187)
4163
4164 2012-08-22 Glenn Morris <rgm@gnu.org>
4165
4166 * calendar/cal-tex.el (cal-tex-weekly-common):
4167 Restore leading blank page.
4168
4169 2012-08-22 Le Wang <l26wang@gmail.com> (tiny change)
4170
4171 * misc.el (forward-to-word, backward-to-word): Activate or extend
4172 the region under `shift-select-mode'. (Bug#12231)
4173
4174 2012-08-22 Bastien Guerry <bzg@gnu.org>
4175
4176 * progmodes/executable.el (executable-prefix): Set to "#!" instead
4177 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
4178 gives details on why the space is never needed.
4179
4180 2012-08-22 Martin Rudalics <rudalics@gmx.at>
4181
4182 * window.el (walk-window-tree, window-with-parameter):
4183 New optional argument MINIBUF to control whether these functions
4184 should run on the minibuffer window.
4185 (window-at-side-list): Don't operate on minibuffer window.
4186 (window-in-direction): Simplify and rewrite doc-string.
4187 (window--size-ignore): Rename to window--size-ignore-p.
4188 Update callers.
4189 (display-buffer-in-atom-window, window--major-non-side-window)
4190 (window--major-side-window, display-buffer-in-major-side-window)
4191 (delete-side-window, display-buffer-in-side-window):
4192 New functions.
4193 (window--side-check, window-deletable-p, delete-window)
4194 (delete-other-windows, split-window): Handle side windows and
4195 atomic windows appropriately.
4196 (window--display-buffer): Call display-buffer-record-window also
4197 when the window buffer did not change.
4198
4199 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
4200
4201 * help-fns.el (help-fns--key-bindings):
4202 Abbreviate non-symbol remap targets. (Bug#12174)
4203
4204 2012-08-22 Martin Rudalics <rudalics@gmx.at>
4205
4206 * dired.el (dired-mark-remembered): Don't clobber point.
4207 (Bug#11795)
4208
4209 2012-08-22 Glenn Morris <rgm@gnu.org>
4210
4211 * progmodes/bug-reference.el (bug-reference): New custom group.
4212 (bug-reference-bug-regexp): Make it a defcustom.
4213
4214 2012-08-22 Daiki Ueno <ueno@unixuser.org>
4215
4216 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
4217 (js-paren-indent-offset, js-square-indent-offset)
4218 (js-curly-indent-offset): Add :safe (Bug#12257).
4219
4220 2012-08-22 Edward O'Connor <hober0@gmail.com>
4221
4222 * json.el (json-key-format): Add error properties.
4223 (json-encode-key): New function.
4224 (json-encode-hash-table, json-encode-alist, json-encode-plist):
4225 Use json-encode-key.
4226
4227 2012-08-22 Glenn Morris <rgm@gnu.org>
4228
4229 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
4230 (cal-tex-leftday, cal-tex-rightday): Remove functions.
4231 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
4232 Update for above change.
4233
4234 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
4235
4236 * cus-face.el (custom-face-attributes): Fix customize type for the
4237 :underline attribute. (Bug#11805)
4238
4239 2012-08-21 Martin Rudalics <rudalics@gmx.at>
4240
4241 * window.el (window-point-1, set-window-point-1): Remove.
4242 (window-in-direction, record-window-buffer)
4243 (set-window-buffer-start-and-point, split-window-below)
4244 (window--state-get-1, display-buffer-record-window):
4245 Replace calls to window-point-1 and set-window-point-1 by calls to
4246 window-point and set-window-point respectively.
4247
4248 2012-08-21 Glenn Morris <rgm@gnu.org>
4249
4250 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
4251 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
4252 Use it.
4253
4254 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
4255 (cal-tex-shortday): New function.
4256 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
4257 (cal-tex-cursor-filofax-daily): Use the above.
4258
4259 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
4260 New functions.
4261 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
4262 (cal-tex-cursor-filofax-week): Use them.
4263
4264 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
4265 New constants.
4266 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
4267 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
4268
4269 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
4270 (cal-tex-end-document): Don't rely on buffer name.
4271
4272 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
4273 Use cal-tex-vspace.
4274 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
4275 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
4276 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
4277 Use cal-tex-arg.
4278
4279 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
4280 (cal-tex-cursor-week, cal-tex-cursor-week2)
4281 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
4282 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
4283 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
4284 (cal-tex-insert-preamble, cal-tex-b-document)
4285 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
4286 Improve cal-tex-cmd usage.
4287
4288 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
4289 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
4290 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
4291 (cal-tex-weekly-paper): New function.
4292 (cal-tex-cursor-week, cal-tex-cursor-week2)
4293 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
4294 (cal-tex-cursor-day): Use it.
4295
4296 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
4297 (cal-tex-cursor-filofax-week): Remove leading blank page.
4298
4299 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
4300 Add autoload cookie. For now at least, don't use color, since
4301 no other cal-tex function does.
4302
4303 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
4304 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
4305 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
4306
4307 2012-08-21 Juri Linkov <juri@jurta.org>
4308
4309 * info.el (Info-file-attributes): New variable.
4310 (info-insert-file-contents): Add file attributes to
4311 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
4312 `Info-toc-nodes' when previous modtime of the Info file is less
4313 than new modtime.
4314 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
4315 of info.el. (Bug#12230)
4316
4317 2012-08-20 Glenn Morris <rgm@gnu.org>
4318
4319 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
4320 * calendar/holidays.el (calendar-holiday-list):
4321 Report errors with display-warning rather than beep'n'sleep.
4322
4323 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
4324
4325 * net/tramp.el (tramp-accept-process-output): Accept only output
4326 from PROC. Otherwise, process filters and sentinels might be
4327 confused. (Bug#12145)
4328
4329 2012-08-20 Chong Yidong <cyd@gnu.org>
4330
4331 * descr-text.el (describe-text-properties-1): Use overlays-in to
4332 report on empty overlays (Bug#3322).
4333
4334 2012-08-20 Glenn Morris <rgm@gnu.org>
4335
4336 * mail/rmailout.el (rmail-output-read-file-name):
4337 Trap and report errors in rmail-output-file-alist elements.
4338
4339 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
4340 since most non-font-lock faces are not also variables).
4341
4342 2012-08-20 Edward Reingold <reingold@iit.edu>
4343
4344 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
4345 New function. (Bug12160)
4346
4347 2012-08-19 Glenn Morris <rgm@gnu.org>
4348
4349 * mail/rmailout.el (rmail-output-read-file-name):
4350 Fix previous change (when the alist is nil or does not match).
4351
4352 2012-08-19 Chong Yidong <cyd@gnu.org>
4353
4354 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
4355 (Bug#12228).
4356
4357 2012-08-18 Chong Yidong <cyd@gnu.org>
4358
4359 * simple.el (yank-handled-properties): New defcustom.
4360 (yank-excluded-properties): Add font-lock-face and category.
4361 (yank): Doc fix.
4362
4363 * subr.el (remove-yank-excluded-properties):
4364 Obey yank-handled-properties. The special handling of font-lock-face
4365 and category is now done this way, instead of being hard-coded.
4366 (insert-for-yank-1): Remove font-lock-face handling.
4367 (yank-handle-font-lock-face-property)
4368 (yank-handle-category-property): New function.
4369
4370 2012-08-17 Glenn Morris <rgm@gnu.org>
4371
4372 * mail/rmailout.el (rmail-output-read-file-name):
4373 Check rmail-output-file-alist against the full message body
4374 in the correct rmail buffer. (Bug#12214)
4375
4376 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
4377
4378 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
4379 Eliminate superfluous prompt. (Bug#12203)
4380
4381 2012-08-17 Chong Yidong <cyd@gnu.org>
4382
4383 * mouse.el (mouse-appearance-menu): If x-select-font returns a
4384 font spec, set the font directly (Bug#3228).
4385
4386 2012-08-17 Martin Rudalics <rudalics@gmx.at>
4387
4388 * window.el (delete-window): Fix last fix.
4389
4390 2012-08-16 Martin Rudalics <rudalics@gmx.at>
4391
4392 * window.el (window-valid-p): Move to window.c.
4393 (window-child, window-child-count, window-last-child)
4394 (window-normalize-window, window-combined-p)
4395 (window-combinations, window-atom-root, window-min-size)
4396 (window-sizable, window-sizable-p, window-size-fixed-p)
4397 (window-min-delta, window-max-delta, window--resizable)
4398 (window--resizable-p, window-resizable, window-total-size)
4399 (window-full-height-p, window-full-width-p, window-body-size)
4400 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
4401 (minimize-window, window-deletable-p, delete-window)
4402 (delete-other-windows, set-window-buffer-start-and-point)
4403 (next-buffer, previous-buffer, split-window, balance-windows-2)
4404 (set-window-text-height, window-buffer-height)
4405 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
4406 (truncated-partial-width-window-p): Minor code adjustments.
4407 In doc-strings state whether the argument window has to denote a
4408 live, valid or any window.
4409
4410 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
4411
4412 * progmodes/subword.el (subword-forward-function)
4413 (subword-backward-function, subword-forward-regexp)
4414 (subword-backward-regexp): New variables.
4415 (subword-forward, subword-forward-internal, subword-backward-internal):
4416 Use new variables, eg so that different "word" definitions
4417 can be easily used. (Bug#11411)
4418
4419 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4420
4421 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
4422 for composite selectors.
4423 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
4424 operation just because we can't find a previous revision.
4425
4426 2012-08-15 Chong Yidong <cyd@gnu.org>
4427
4428 * frame.el (set-frame-font): Accept font objects.
4429
4430 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4431
4432 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
4433
4434 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
4435
4436 * man.el (Man-overstrike-face, Man-underline-face)
4437 (Man-reverse-face): Remove variables.
4438 (Man-overstrike, Man-underline, Man-reverse): New faces.
4439 (Man-fontify-manpage): Use them instead of the variables.
4440 (Man-cleanup-manpage): Comment change.
4441 (Man-ansi-color-map): New variable.
4442 (Man-fontify-manpage): Use it.
4443 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
4444
4445 Implement ANSI SGR parameters 22-27 (bug#12146).
4446 * ansi-color.el (ansi-colors): Doc fix.
4447 (ansi-color-context, ansi-color-context-region): Doc fix.
4448 (ansi-color--find-face): New function.
4449 (ansi-color-apply, ansi-color-apply-on-region): Use it.
4450 Rename the local variable `face' to `codes' since it is now a list of
4451 ansi codes. Doc fix.
4452 (ansi-color-get-face): Remove.
4453 (ansi-color-parse-sequence): New function, derived from
4454 ansi-color-get-face.
4455 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
4456 codes 22-27.
4457
4458 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
4459
4460 * subr.el (read-passwd): Allow use from a minibuffer.
4461
4462 2012-08-14 Eli Zaretskii <eliz@gnu.org>
4463
4464 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
4465 inside comments and strings as identifiers.
4466
4467 * progmodes/gud.el (gud-tooltip-print-command): Quote the
4468 expression to evaluate. This allows to evaluate expressions with
4469 embedded whitespace.
4470 (gud-tooltip-tips): Add a blank before the newline in the
4471 message-box text, for the benefit of message-box emulation on
4472 MS-Windows.
4473
4474 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
4475 messages from GDB, pop them up in a tooltip to give feedback to
4476 user.
4477 (gdb-tooltip-print-1): Quote the expression to evaluate.
4478 This allows to evaluate expressions with embedded whitespace.
4479 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
4480 if the TTY name is nil or empty (which happens when communicating
4481 with the inferior via pipes, e.g. on MS-Windows).
4482 (gdb-internals): If GDB sends a "&\n" empty debugging message,
4483 don't send that to the GUD buffer.
4484
4485 2012-08-14 Glenn Morris <rgm@gnu.org>
4486
4487 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
4488 Optimize away setq-default with no args, as for setq. (Bug#12195)
4489
4490 2012-08-14 Chong Yidong <cyd@gnu.org>
4491
4492 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
4493
4494 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
4495 (Bug#12085).
4496
4497 2012-08-14 Glenn Morris <rgm@gnu.org>
4498
4499 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
4500
4501 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
4502
4503 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
4504 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
4505 Use cached shell name.
4506
4507 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
4508
4509 * progmodes/python.el (python-shell-send-string):
4510 (python-shell-send-setup-code): Do not use `format' with `message'.
4511
4512 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
4513
4514 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
4515 (ruby-percent-literal-beg-re): New constant.
4516 (ruby-syntax-general-delimiters-goto-beg): Rename to
4517 `ruby-syntax-enclosing-percent-literal', improve literal type check.
4518 (ruby-syntax-propertize-general-delimiters): Rename to
4519 `ruby-syntax-propertize-percent-literal', it's a shorter and more
4520 popular term. Adjust comments everywhere.
4521 (ruby-syntax-propertize-percent-literal): Only propertize when not
4522 inside a simple string or comment. When the literal is unclosed,
4523 leave the text after it unpropertized.
4524 (ruby-syntax-methods-before-regexp): New constant.
4525 (ruby-syntax-propertize-function): Use it to recognize regexps.
4526 Don't look at the text after regexp, just use the whitelist.
4527
4528 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
4529
4530 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
4531 non-nil always load the compiled file if it exists. (Bug#12197)
4532
4533 2012-08-14 Chong Yidong <cyd@gnu.org>
4534
4535 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
4536 (hi-lock-set-pattern): When deciding whether to use font lock or
4537 overlays, look at font-lock-mode instead of font-lock-fontified
4538 (Bug#12168).
4539 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
4540 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
4541
4542 2012-08-14 Daiki Ueno <ueno@unixuser.org>
4543
4544 * subr.el (internal--after-with-selected-window): Fix typo
4545 (Bug#12193).
4546
4547 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
4548
4549 Use `completion-table-dynamic' for completion functions.
4550 * progmodes/python.el
4551 (python-shell-completion--do-completion-at-point)
4552 (python-shell-completion--get-completions):
4553 Remove functions.
4554 (python-shell-completion-complete-at-point): New function.
4555 (python-completion-complete-at-point): Use it.
4556
4557 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
4558
4559 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
4560 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
4561
4562 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4563
4564 * subr.el (function-get): Refine `autoload' arg so it can also
4565 autoload functions for gv.el (bug#12191).
4566 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
4567 autoloads macros.
4568
4569 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
4570 Prefer pcase-let over destructuring-bind.
4571 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
4572 Also, remove whitespace as we go, rather than after accumulating the
4573 various places.
4574
4575 * subr.el (internal--before-with-selected-window)
4576 (internal--after-with-selected-window): Fix typo seleted->selected.
4577 (with-selected-window): Adjust callers.
4578 Reported by Dmitry Gutov <dgutov@yandex.ru>.
4579
4580 2012-08-13 Bastien Guerry <bzg@gnu.org>
4581
4582 * window.el (special-display-popup-frame): Minor docstring
4583 enhancement. (Bug#12172)
4584
4585 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
4586
4587 * tar-mode.el (tar-header-data-end): Only ignore size for files of
4588 type 1-6.
4589 (tar-header-block-summarize, tar-get-descriptor): Handle pax
4590 extended headers.
4591
4592 * files.el (hack-local-variables-filter): Remove useless eval.
4593
4594 2012-08-13 Martin Rudalics <rudalics@gmx.at>
4595
4596 * subr.el (with-selected-window): Fix last change.
4597
4598 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
4599
4600 * subr.el (internal--before-with-seleted-window)
4601 (internal--after-with-seleted-window): New functions.
4602 (with-selected-window): Use them, to replace dependency on
4603 tty-top-frame.
4604
4605 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
4606
4607 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
4608 binding for `newline'.
4609 (ruby-move-to-block): When moving backward, stop at block opening,
4610 not indentation.
4611 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
4612 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
4613 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
4614 `ruby-toggle-block'.
4615
4616 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
4617
4618 * ibuffer.el (ibuffer-do-toggle-read-only):
4619 * dired.el (dired-toggle-read-only):
4620 * buff-menu.el (Buffer-menu-toggle-read-only):
4621 * bindings.el (mode-line-toggle-read-only):
4622 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
4623
4624 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
4625
4626 * descr-text.el (describe-char): Put the overlays over the
4627 "displayed as" character.
4628
4629 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
4630
4631 * calc/calc-units.el (math-default-units-table): Give an
4632 initial value.
4633 (math-put-default-units): Add options to put composite units and
4634 unit systems in the default units table.
4635 (calc-convert-units): Send composite units to
4636 `math-put-default-units' when appropriate.
4637
4638 2012-08-11 Glenn Morris <rgm@gnu.org>
4639
4640 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
4641
4642 * tutorial.el (help-with-tutorial):
4643 * emacs-lisp/copyright.el (copyright-update-directory):
4644 * emacs-lisp/autoload.el (autoload-find-generated-file)
4645 (autoload-find-file): Disable local eval: (for insurance).
4646
4647 * files.el (hack-local-variables-filter): If an eval: form is not
4648 known to be safe, and enable-local-variables is :safe, then ignore
4649 the form totally, as is done for non-eval forms. (Bug#12155)
4650 This is CVE-2012-3479.
4651
4652 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
4653
4654 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
4655 (rx-form): Simplify.
4656
4657 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
4658
4659 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
4660 ?, _, and : are symbol constituents, ! is not (but kinda should be).
4661 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
4662 (ruby-syntax-propertize-function): Adjust for changes in
4663 `ruby-syntax-propertize-heredoc'.
4664
4665 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
4666
4667 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
4668 binding (use `M-;' instead).
4669 (ruby-singleton-class-p): New function.
4670 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
4671
4672 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
4673
4674 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
4675
4676 2012-08-10 Chong Yidong <cyd@gnu.org>
4677
4678 * progmodes/python.el (python-shell-get-process-name): Don't mess
4679 with same-window-buffer-names.
4680
4681 * eshell/eshell.el (eshell-add-to-window-buffer-names)
4682 (eshell-remove-from-window-buffer-names): Make obsolete.
4683 (eshell-buffer-name, eshell-unload-hook): Don't use them.
4684 (eshell): Just use pop-to-buffer-same-window instead.
4685
4686 2012-08-10 Chong Yidong <cyd@gnu.org>
4687
4688 * bindings.el: Bind M-= back to count-words-region.
4689
4690 * simple.el (count-words-region): Accept a prefix arg for acting
4691 on the entire buffer.
4692 (count-words--buffer-message): New helper function.
4693
4694 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
4695
4696 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
4697 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
4698 (event-start, event-end): Use posn-at-point to return a more
4699 informative posn.
4700 (posnp): New function.
4701 * mouse.el (popup-menu-normalize-position): Use it.
4702
4703 2012-08-10 Masatake YAMATO <yamato@redhat.com>
4704
4705 * mouse.el (popup-menu-normalize-position): New function.
4706 (popup-menu): Use `popup-menu-normalize-position' to normalize
4707 the form for POSITION argument.
4708
4709 * term/x-win.el (x-menu-bar-open):
4710 Use the value returend from (posn-at-point) as position
4711 passed to `popup-menu'.
4712
4713 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
4714
4715 * calc/calccomp.el (math-compose-expr): Add extra argument
4716 indicating that parentheses should be put around products in
4717 denominators. Give multiplication precedence over division during
4718 composition.
4719
4720 2012-08-09 Chong Yidong <cyd@gnu.org>
4721
4722 * man.el (Man-switches, Man-sed-command, Man-awk-command)
4723 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
4724 (Man-untabify-command, manual-program): Convert to defcustom
4725 (Bug#10429).
4726
4727 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
4728
4729 * descr-text.el (describe-char): Don't insert extra newlines
4730 (Bug#10127).
4731
4732 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
4733 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
4734
4735 * align.el (align-region): Delete temporary markers (Bug#10047).
4736 Plus some code cleanups.
4737
4738 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
4739
4740 * progmodes/python.el (python-pdbtrack-tracked-buffer)
4741 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
4742 (python-shell-internal-last-output): Use make-local-variable
4743 instead of make-variable-buffer-local.
4744
4745 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
4746
4747 * progmodes/python.el: Enhancements to forward-sexp.
4748 (python-nav-forward-sexp): Rename from
4749 python-nav-forward-sexp-function.
4750 (python-nav--forward-sexp, python-nav--backward-sexp):
4751 New functions.
4752
4753 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
4754
4755 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
4756 modes and simplification modes.
4757
4758 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
4759
4760 * delsel.el (delete-selection-pre-hook): Don't propagate the
4761 file-supersession signals (bug#12161).
4762
4763 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4764
4765 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
4766 (cl-map-extents): Add compatibility aliases (bug#12135).
4767
4768 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
4769
4770 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
4771 tests by `ignore-error'.
4772 (tramp-find-shell): Open also a new shell, when cache is already
4773 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
4774
4775 2012-08-08 Juri Linkov <juri@jurta.org>
4776
4777 * bookmark.el: Add `defaults' property to the bookmark record.
4778 (bookmark-current-buffer): Doc fix.
4779 (bookmark-make-record): Add `defaults' property with default values
4780 to the bookmark record.
4781 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
4782 with `bookmark-insert-current-bookmark'.
4783 (bookmark-set): Get `defaults' property from the bookmark record
4784 and use it in `read-from-minibuffer'.
4785 (bookmark-insert-current-bookmark): Remove function.
4786
4787 * info.el (Info-bookmark-make-record): Add `defaults' property
4788 with values of canonical Info node name, the current Info file
4789 name and the current Info node name. (Bug#12107)
4790
4791 2012-08-08 Juri Linkov <juri@jurta.org>
4792
4793 * files.el (basic-save-buffer): Use `buffer-name' as the default
4794 of `read-file-name' when buffer is not visiting a file (bug#12128).
4795
4796 2012-08-08 Juri Linkov <juri@jurta.org>
4797
4798 * info.el (Info-isearch-search): Doc fix.
4799 (Info-search): Change search-failed message from "initial node" to
4800 "end of node" (bug#12078).
4801 (Info-isearch-search): Change `isearch-string-state' to
4802 `isearch--state-string'.
4803
4804 2012-08-08 Glenn Morris <rgm@gnu.org>
4805
4806 * language/persian.el: Remove file.
4807 * language/misc-lang.el: Move unique part of persian.el here.
4808 * loadup.el: Remove language/persian.
4809
4810 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
4811
4812 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
4813
4814 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
4815
4816 * progmodes/python.el Fixed defsubst warning.
4817 (python-syntax-context) Rename from python-info-ppss-context.
4818 (python-syntax-context-type): Rename from
4819 python-info-ppss-context-type.
4820 (python-syntax-comment-or-string-p): Rename from
4821 python-info-ppss-comment-or-string-p.
4822
4823 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
4824
4825 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
4826
4827 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
4828
4829 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
4830 a defcustom that is quoted with backquote.
4831
4832 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
4833 Fix handling of interactive spec when the body uses return.
4834 (math-do-arg-check, math-define-function-body): Use backquote forms.
4835 * calc/calc-ext.el (math-defcache): Likewise.
4836 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
4837 * allout.el (allout-new-exposure): Likewise.
4838 * calc/calcalg2.el (math-tracing-integral): Likewise.
4839 * info.el (Info-last-menu-item): Likewise.
4840 * emulation/vip.el (vip-loop): Likewise.
4841 * textmodes/artist.el (artist-funcall): Likewise.
4842 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
4843 Construct menu-item directly.
4844
4845 * progmodes/autoconf.el (font-lock-syntactic-keywords):
4846 Don't declare.
4847
4848 2012-08-07 Chong Yidong <cyd@gnu.org>
4849
4850 * simple.el (deactivate-mark): Preserve text properties when
4851 saving the primary selection (Bug#8384).
4852
4853 2012-08-07 Kevin Ryde <user42@zip.com.au>
4854
4855 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
4856 (woman-parse-numeric-value): On a bad .IP line, issue a warning
4857 and continue processing (Bug#12110).
4858
4859 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
4860
4861 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
4862 syntax-propertize-function (bug#10095).
4863
4864 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
4865
4866 * help-fns.el (help-fns--key-bindings, help-fns--signature)
4867 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
4868 describe-function-1.
4869 (describe-function-1): Use them. Move compiler macro after sig.
4870 (help-fns--compiler-macro): Use function-get. Assume we're already in
4871 standard-output. Adjust layout to new call order.
4872
4873 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
4874 re-binding a symbol that has a symbol-macro (bug#12119).
4875
4876 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
4877
4878 * language/persian.el: New file. (Bug#11812)
4879 * loadup.el: Add language/persian.el.
4880
4881 2012-08-06 Chong Yidong <cyd@gnu.org>
4882
4883 * window.el (window--maybe-raise-frame): New function.
4884 (window--display-buffer): Split off from here.
4885 (display-buffer-reuse-window, display-buffer-pop-up-frame)
4886 (display-buffer-pop-up-window, display-buffer-use-some-window):
4887 Obey an inhibit-switch-frame action alist entry.
4888 (display-buffer): Update doc.
4889
4890 * replace.el (occur-after-change-function): Avoid losing focus by
4891 using the inhibit-switch-frame display parameter (Bug#12139).
4892
4893 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
4894
4895 Make internal shell process buffer names start with space.
4896 * progmodes/python.el (python-shell-make-comint): Add optional
4897 argument INTERNAL.
4898 (run-python-internal): Use it.
4899 (python-shell-internal-get-or-create-process): Check for new
4900 internal buffer names.
4901
4902 2012-08-06 Glenn Morris <rgm@gnu.org>
4903
4904 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
4905 Do less getting and setting of environment variables.
4906
4907 2012-08-05 Chong Yidong <cyd@gnu.org>
4908
4909 * proced.el (proced): Add substitution string to docstring to
4910 trigger autoloading of the proced library on C-h f (Bug#1768).
4911
4912 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
4913 Don't show defvars which have no second argument (Bug#8638).
4914
4915 * imenu.el (imenu-generic-expression): Move documentation here
4916 from imenu--generic-function.
4917 (imenu--generic-function): Refer to imenu-generic-expression.
4918
4919 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
4920
4921 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
4922 indentation declaration.
4923 (viper-loop): Add indentation declaration (Bug#7025).
4924
4925 2012-08-05 Chong Yidong <cyd@gnu.org>
4926
4927 * help-fns.el (describe-variable): Add hyperlink for
4928 directory-local variables files. Improve buffer-local and
4929 permanent-local reporting; suggested by MON KEY (Bug#6644).
4930
4931 * help-mode.el (help-dir-local-var-def): New button type.
4932
4933 * files.el (kill-buffer-hook): Provide a defvar.
4934
4935 2012-08-05 Glenn Morris <rgm@gnu.org>
4936
4937 * eshell/esh-ext.el (eshell/addpath):
4938 Also update eshell-path-env. (Bug#12013)
4939
4940 2012-08-05 Chong Yidong <cyd@gnu.org>
4941
4942 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
4943
4944 * fringe.el (fringe-styles): Add docstring.
4945 (fringe--check-mode): New function.
4946 (set-fringe-mode, set-fringe-style): Use it.
4947 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
4948
4949 * files.el (set-auto-mode): Fix invalid setq call.
4950
4951 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4952
4953 * isearch.el: Misc simplification; use defstruct.
4954 (isearch-mode-map): Dense maps now work like sparse ones.
4955 (isearch--state): New defstruct.
4956 (isearch-string-state, isearch-message-state, isearch-point-state)
4957 (isearch-success-state, isearch-forward-state)
4958 (isearch-other-end-state, isearch-word-state, isearch-error-state)
4959 (isearch-wrapped-state, isearch-barrier-state)
4960 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
4961 replaced by defstruct's accessors.
4962 (isearch--set-state): Rename from isearch-top-state and change
4963 calling convention.
4964 (isearch-push-state): Use new isearch--get-state.
4965 (isearch-toggle-word): Disable regexp when enabling word.
4966 (isearch-message-prefix): Remove unused arg _c-q-hack.
4967 (isearch-message-suffix): Remove unused arg _ellipsis.
4968
4969 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
4970
4971 * simple.el (list-processes--refresh): For a server use :host or
4972 :local as the address.
4973 (list-processes): Doc fix.
4974
4975 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
4976
4977 * lisp/mpc.el: Support password in host argument.
4978 (mpc--proc-connect): Parse and use new password element.
4979 Set mpc-proc variable instead of returning process.
4980 (mpc-proc): Adjust accordingly.
4981
4982 2012-08-03 Eli Zaretskii <eliz@gnu.org>
4983
4984 * whitespace.el (whitespace-display-mappings): Use Unicode
4985 codepoints, instead of emacs-mule codepoints. See
4986 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
4987 for the details.
4988
4989 * files.el (file-truename): Don't skip symlink-chasing part on
4990 windows-nt. Incorporate the resolution of 8+3 short aliases on
4991 Windows into the loop that recursively chases symlinks.
4992 Compare directory and its parent case-insensitively on MS-Windows and
4993 MS-DOS.
4994
4995 2012-08-03 Chong Yidong <cyd@gnu.org>
4996
4997 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
4998
4999 * sort.el (sort-regexp-fields): Doc fix.
5000
5001 2012-08-03 Tassilo Horn <tsdh@gnu.org>
5002
5003 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
5004 labels regex position point at the expected place.
5005
5006 2012-08-03 MON KEY <monkey@sandpframing.com>
5007
5008 * net/imap.el (imap-interactive-login, imap-authenticate)
5009 (imap-mailbox-lsub, imap-mailbox-list)
5010 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
5011 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
5012 (imap-parse-response): Doc fix.
5013
5014 2012-08-03 João Távora <joaotavora@gmail.com>
5015
5016 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
5017 if sexp scanning does not move point (Bug#5734).
5018
5019 2012-08-02 Tassilo Horn <tsdh@gnu.org>
5020
5021 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
5022 Add listings, minted, and ctable packages.
5023 (reftex-label-alist-builtin): Move listings, minted, and ctable
5024 entries before LaTeX.
5025 (reftex-label-alist): Docfix.
5026
5027 2012-08-02 Bastien Guerry <bzg@gnu.org>
5028
5029 * replace.el (occur): Fix docstring (bug#12122).
5030
5031 2012-08-02 Glenn Morris <rgm@gnu.org>
5032
5033 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
5034
5035 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
5036
5037 Obsolete alias inactivate-current-input-method-function (Bug#10150).
5038 * international/mule-cmds.el: Create
5039 inactivate-current-input-method-function as an obsolete alias for
5040 deactivate-current-input-method-function. See Katsumi Yamaoka in
5041 <http://bugs.gnu.org/10150#46>.
5042
5043 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
5044
5045 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
5046 of nested `if's.
5047
5048 2012-08-01 Glenn Morris <rgm@gnu.org>
5049
5050 * progmodes/autoconf.el (autoconf-definition-regexp):
5051 Add AH_TEMPLATE, adjust submatch numbering.
5052 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
5053 (autoconf-current-defun-function): Update for above change.
5054 (autoconf-current-defun-function): First skip to end of current word.
5055
5056 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
5057
5058 * calendar/cal-html.el (cal-html-insert-agenda-days):
5059 Fix typo. (Bug#12018)
5060
5061 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
5062
5063 Shell processes: enhancements to startup and CEDET compatibility.
5064 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
5065 (python-shell-make-comint): accept-process-output at startup.
5066 (run-python-internal): Set inferior-python-mode-hook to nil.
5067 (python-shell-internal-get-or-create-process): call sit-for.
5068 (python-preoutput-result): Add obsolete alias.
5069 (python-shell-internal-send-string): Use it.
5070 (python-shell-send-setup-code): Remove call to
5071 accept-process-output.
5072
5073 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
5074
5075 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
5076 (Bug#12108)
5077
5078 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
5079
5080 * calc-mode.el (calc-basic-simplification-mode): Rename from
5081 `calc-limited-simplification-mode'.
5082 (calc-alg-simplification-mode): New function.
5083 (calc-set-simplify-mode): Adjust message.
5084
5085 * calc.el (calc-set-mode-line): Adjust mode line display for
5086 basic simplification mode.
5087
5088 * calc-help.el (calc-m-prefix-help): Update help message.
5089
5090 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
5091 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
5092
5093 2012-07-31 Bastien Guerry <bzg@gnu.org>
5094
5095 * man.el (man): Fix comment. (bug#12101)
5096
5097 2012-07-31 Martin Rudalics <rudalics@gmx.at>
5098
5099 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
5100 Don't return a non-nil value when no suitable buffer was found.
5101
5102 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
5103
5104 * progmodes/python.el (run-python-internal): Disable font lock for
5105 internal shells.
5106
5107 2012-07-30 Stefan Merten <smerten@oekonux.de>
5108
5109 * textmodes/rst.el: Silence `checkdoc-ispell'.
5110 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
5111 (rst-official-version, rst-official-cvs-rev)
5112 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
5113 (rst-mode-map): New key binding.
5114
5115 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
5116
5117 Update .PHONY listings in makefiles.
5118 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
5119 autoloads, update-subdirs, updates, bzr-update, update-authors,
5120 compile-onefile, compile-calc, backup-compiled-files,
5121 compile-after-backup, compile-one-process, mh-autoloads,
5122 bootstrap-clean, distclean, maintainer-clean.
5123
5124 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
5125
5126 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
5127 (calc-set-mode-line): Don't display "AlgSimp ".
5128
5129 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
5130 (calc-lim-simplify-mode): New function.
5131 (calc-set-simplify-mode): Default to 'alg.
5132 (calc-default-simplify-mode): Make algebraic simplifications
5133 the default.
5134
5135 * calc/calc-ext.el (calc-init-extensions): Remove binding for
5136 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
5137
5138 * calc/calc-help.el (calc-m-prefix-help): Change messages to
5139 indicate new simplification modes.
5140
5141 * calc/README: Mention new default simplification mode.
5142
5143 * calc/calc.el (math-normalize-error): New variable.
5144 (math-normalize): Set `math-normalize-error' to t
5145 when there's an error.
5146
5147 * calc/calc-alg.el (math-simplify): Don't simplify when
5148 `math-normalize' returns an error.
5149
5150 2012-07-29 Eli Zaretskii <eliz@gnu.org>
5151
5152 * international/mule-cmds.el (set-locale-environment): Revert last
5153 change, since display-graphic-p returns nil when this function is
5154 called during startup. Instead...
5155
5156 * term/w32console.el (terminal-init-w32console): ...setup the
5157 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
5158
5159 2012-07-29 Juri Linkov <juri@jurta.org>
5160
5161 * simple.el (goto-line): Don't display default line number in the
5162 prompt because it should be displayed by `read-number' (bug#9952).
5163 Add the current line number to the defaults of `goto-line' to
5164 allow its easier modification by users with `M-n' (bug#9201).
5165
5166 * subr.el (read-number): Support multiple default values like in
5167 other minibuffer reading functions. Replace `read' with
5168 `string-to-number' for consistency with `number-to-string'.
5169
5170 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
5171
5172 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
5173 * emulation/viper-init.el (viper-deactivate-input-method-action):
5174 Rename from viper-inactivate-input-method-action.
5175 (viper-deactivate-input-method):
5176 Rename from viper-inactivate-input-method.
5177 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
5178 * international/mule-cmds.el (deactivate-input-method):
5179 Rename from inactivate-input-method.
5180 Also run input-method-deactivate-hook.
5181 (deactivate-current-input-method-function):
5182 Rename from inactivate-current-input-method-function.
5183 (input-method-deactivate-hook): New hook.
5184 (input-method-inactivate-hook): Mark obsolete.
5185 (inactivate-input-method): Mark obsolete.
5186
5187 * international/quail.el (quail-activate):
5188 Also run quail-deactivate-hook.
5189 (quail-deactivate): Rename from quail-inactivate.
5190 * international/robin.el (robin-activate):
5191 Also run robin-deactivate-hook.
5192 (robin-deactivate): Rename from robin-inactivate.
5193
5194 2012-07-29 Chong Yidong <cyd@gnu.org>
5195
5196 * simple.el (indicate-copied-region): New function.
5197 (kill-ring-save): Split off from here.
5198
5199 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
5200 (kill-rectangle): Set deactivate-mark to t on read-only error.
5201
5202 * register.el (copy-to-register, copy-rectangle-to-register):
5203 Deactivate the mark, and use indicate-copied-region (Bug#10056).
5204 (append-to-register, prepend-to-register): Call indicate-copied-region.
5205
5206 2012-07-29 Juri Linkov <juri@jurta.org>
5207
5208 * simple.el (async-shell-command-buffer): New defcustom.
5209 (shell-command): Use it. (Bug#4719)
5210
5211 2012-07-28 Eli Zaretskii <eliz@gnu.org>
5212
5213 * international/mule-cmds.el (set-locale-environment): In a
5214 console session on MS-Windows, set up keyboard and terminal
5215 encoding from the OEM codepage, not the ANSI codepage.
5216 (Bug#12055)
5217
5218 2012-07-28 Chong Yidong <cyd@gnu.org>
5219
5220 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
5221 gdb-get-location.
5222
5223 2012-07-28 Leo Liu <sdl.web@gmail.com>
5224
5225 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
5226 the alist (bug#12029).
5227
5228 2012-07-28 Eli Zaretskii <eliz@gnu.org>
5229
5230 * makefile.w32-in (custom-deps, finder-data, updates, compile)
5231 (compile-always, compile-first)
5232 ($(lisp)/calendar/cal-loaddefs.el)
5233 ($(lisp)/calendar/diary-loaddefs.el)
5234 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
5235 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
5236 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
5237 instead of on update-subdirs.
5238 (bootstrap-clean): Delete $(lisp)/subdirs.el.
5239
5240 2012-07-28 Chong Yidong <cyd@gnu.org>
5241
5242 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
5243 directory if vc-deduce-backend returns nil (Bug#7350).
5244
5245 * simple.el (delete-trailing-lines): New option.
5246 (delete-trailing-whitespace): Obey it (Bug#11879).
5247
5248 2012-07-28 David Engster <deng@randomsample.de>
5249
5250 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
5251 Explanation of new 'symbol-qnames feature in doc-strings.
5252 (xml-maybe-do-ns): Return expanded names as plain symbols if
5253 'symbol-qnames was provided in XML-NS argument (Bug#11916).
5254 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
5255
5256 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
5257
5258 Consistent completion in inferior python with emacs -nw.
5259 * progmodes/python.el (inferior-python-mode): replace "<tab>"
5260 binding in inferior-python-mode-map with "\t".
5261 (python-shell-completion-complete-at-point)
5262 (python-completion-complete-at-point): Remove interactive spec.
5263
5264 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
5265
5266 * calc/calccomp.el (math-compose-expr): Undo previous change.
5267
5268 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
5269
5270 * progmodes/python.el (python-mode-map): Add keybinding for
5271 run-python.
5272 (python-shell-make-comint): Fix pop-to-buffer call.
5273 (run-python): Autoload. New arg SHOW.
5274 (python-shell-get-or-create-process): Do not pop python process
5275 buffer.
5276
5277 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
5278
5279 * notifications.el (notifications-on-action-signal)
5280 (notifications-on-closed-signal): Use also the bus address for the map.
5281 (notifications-notify, notifications-close-notification)
5282 (notifications-get-capabilities): Add optional argument BUS.
5283
5284 2012-07-27 Tassilo Horn <tsdh@gnu.org>
5285
5286 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
5287 Add support for the lstlisting and minted environments, and for the
5288 ctable macro.
5289 * textmodes/reftex.el (reftex-compile-variables): Also recognize
5290 labels written in keyvals syntax.
5291
5292 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
5293
5294 * calc/calccomp.el (math-compose-expr): Use parentheses when
5295 there is a product in the denominator of a fraction.
5296
5297 2012-07-26 Eli Zaretskii <eliz@gnu.org>
5298
5299 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
5300 ($(lisp)/calendar/diary-loaddefs.el)
5301 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
5302 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
5303 Fixes failures in parallel bootstrap because subdirs.el is being
5304 rewritten while the autoload files are built at the same time,
5305 which needs to load subdirs.el.
5306
5307 2012-07-26 Martin Rudalics <rudalics@gmx.at>
5308
5309 * mouse.el (popup-menu): Fix doc-string and re-indent code.
5310 (mouse-drag-line): Don't exit tracking when a switch-frame or
5311 switch-window event occurs (Bug#12006).
5312
5313 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5314
5315 * mouse.el (popup-menu): Fix last change.
5316
5317 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5318
5319 Autoload from Lisp with more care. Follow aliases when looking for
5320 function properties.
5321 * subr.el (autoloadp): New function.
5322 (symbol-file): Use it.
5323 (function-get): New function.
5324 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
5325 autoload-do-load.
5326 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
5327 (lisp-indent-function):
5328 * emacs-lisp/gv.el (gv-get):
5329 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
5330 * emacs-lisp/byte-opt.el (byte-optimize-form):
5331 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
5332 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
5333 Use function-get.
5334 * emacs-lisp/cl.el: Don't propagate function properties any more.
5335
5336 * speedbar.el (speedbar-add-localized-speedbar-support):
5337 * emacs-lisp/disass.el (disassemble-internal):
5338 * desktop.el (desktop-load-file):
5339 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
5340 (describe-function-1):
5341 * emacs-lisp/find-func.el (find-function-noselect):
5342 * emacs-lisp/elp.el (elp-instrument-function):
5343 * emacs-lisp/advice.el (ad-has-proper-definition):
5344 * apropos.el (apropos-safe-documentation, apropos-macrop):
5345 * emacs-lisp/debug.el (debug-on-entry):
5346 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
5347 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
5348 * calc/calc.el (name): Use autoloadp & autoload-do-load.
5349
5350 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
5351
5352 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
5353 function, not an obsolete variable (Bug#12046).
5354
5355 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
5356
5357 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
5358
5359 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
5360
5361 * emacs-lisp/pp.el (pp-display-expression): Select old selected
5362 window only if it is still live (Bug#12034).
5363
5364 2012-07-25 Martin Rudalics <rudalics@gmx.at>
5365
5366 * subr.el (redirect-frame-focus): Add advertised calling
5367 convention (Bug#12030).
5368
5369 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
5370
5371 Prefer typical American spelling for "acknowledgment".
5372 * vc/add-log.el (change-log-acknowledgment): Rename from
5373 change-log-acknowledgement, with an alias for the old name.
5374
5375 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
5376
5377 * calc-alg.el (math-simplify-divide): Don't cross multiply
5378 in an equation when the lhs is a variable.
5379
5380 2012-07-24 Julien Danjou <julien@danjou.info>
5381
5382 * net/netrc.el (netrc-find-service-number, netrc-store-data):
5383 Remove, unused.
5384
5385 2012-07-23 Eli Zaretskii <eliz@gnu.org>
5386
5387 * startup.el (command-line): Don't display an empty user name in
5388 the error message about non-existent home directory, when
5389 init-file-user was set to an empty string. See
5390 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
5391 for the details and context.
5392
5393 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
5394
5395 * ses.el (ses-cell-formula-aset): New macro.
5396 (ses-cell-references-aset): New macro.
5397 (ses-cell-p): New function.
5398 (ses-rename-cell): Do no longer rely on complex operations like
5399 ses-cell-set-formula or ses-set-cell to change the cell and handle
5400 the undo at the same time, but rather use lower level new macros
5401 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
5402 the undo directly. Refresh the mode line.
5403
5404 2012-07-21 Leo Liu <sdl.web@gmail.com>
5405
5406 * progmodes/cc-cmds.el (c-defun-name):
5407 Use match-string-no-properties instead for consistency.
5408
5409 2012-07-20 Leo Liu <sdl.web@gmail.com>
5410
5411 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
5412 (Bug#7879)
5413
5414 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
5415
5416 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
5417
5418 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
5419 * progmodes/bug-reference.el, misearch.el: Provide themselves
5420 (bug#11915).
5421
5422 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
5423 of narrowed buffer (bug#11966).
5424
5425 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
5426
5427 * ses.el (ses-rename-cell): Set new name also in reference list of
5428 cells of which the renamed cell depends.
5429
5430 2012-07-20 Masatake YAMATO <yamato@redhat.com>
5431
5432 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
5433 to check whether menu-bar is shown or not. If not shown,
5434 show the menu-bar as a popup menu instead of using tmm.
5435 * mouse.el (popup-menu): Accept `point' as `position' argument.
5436
5437 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
5438
5439 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
5440 up inside string symbol literal (bug#11923).
5441
5442 2012-07-20 Eli Zaretskii <eliz@gnu.org>
5443
5444 * startup.el (fancy-startup-text): Read the whole tutorial, not
5445 just its first 256 bytes. Prevents gibberish in display of the
5446 tutorial title.
5447
5448 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
5449
5450 Drop idle buffer compaction due to an absence of the
5451 proved efficiency.
5452 * compact.el: Remove.
5453
5454 2012-07-19 Sam Steingold <sds@gnu.org>
5455
5456 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
5457 vc-bzr-pull & vc-bzr-merge-branch.
5458 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
5459 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
5460 for consistency with compilation-error-regexp-alist.
5461 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
5462 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
5463 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
5464 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
5465
5466 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
5467
5468 * emacs-lisp/chart.el: Use lexical-binding.
5469 (chart-emacs-storage): Don't hardcode the list of entries.
5470
5471 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
5472
5473 Next round of tweaks caused by Fgarbage_collect changes.
5474 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
5475
5476 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
5477
5478 Compact buffers when idle.
5479 * compact.el: New file.
5480
5481 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
5482
5483 * subr.el (eventp): Presume that if it looks vaguely like an event,
5484 it's an event (bug#10190).
5485
5486 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
5487
5488 Enhancements to ppss related code (thanks Stefan).
5489 * progmodes/python.el (python-indent-context)
5490 (python-indent-calculate-indentation, python-indent-dedent-line)
5491 (python-indent-electric-colon, python-nav-forward-block)
5492 (python-mode-abbrev-table)
5493 (python-info-assignment-continuation-line-p): Simplify checks
5494 for ppss context.
5495 (python-info-continuation-line-p): Cleanup.
5496 (python-info-ppss-context): Do not catch 'quote.
5497 (python-info-ppss-context-type)
5498 (python-info-ppss-comment-or-string-p): Simplify.
5499
5500 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
5501
5502 * progmodes/python.el: Enhancements to eldoc support.
5503 (python-info-current-symbol): New function.
5504 (python-eldoc-at-point): Use python-info-current-symbol.
5505 (python-info-current-defun): Fix cornercase on first defun scan.
5506 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
5507 and signal error when no inferior python process is available.
5508
5509 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
5510
5511 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
5512 assume it's always t.
5513 (vc-git-registered): Remove caching, the function is only called
5514 once.
5515 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
5516
5517 2012-07-18 Chong Yidong <cyd@gnu.org>
5518
5519 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
5520
5521 * simple.el (count-words): Report on narrowing (Bug#9959).
5522
5523 * bindings.el: Bind M-= to count-words.
5524
5525 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
5526
5527 2012-07-18 Masatake YAMATO <yamato@redhat.com>
5528
5529 * progmodes/sh-script.el (sh-imenu-generic-expression):
5530 Capture a function with `function' keyword and without parentheses
5531 like "function FOO" (bug#11856).
5532
5533 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
5534
5535 * window.el (split-window-sensibly): Make WINDOW argument
5536 optional.
5537
5538 2012-07-18 Chong Yidong <cyd@gnu.org>
5539
5540 * subr.el (keyboard-translate): Doc fix (Bug#7261).
5541
5542 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
5543 and make C-x 8 RET exit isearch (Bug#11439).
5544
5545 * international/iso-transl.el: Move isearch-mode-map key
5546 definitions to isearch.el.
5547
5548 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
5549
5550 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
5551 (eieio-defclass): Use gv-define-setter when possible.
5552
5553 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
5554
5555 Reflect recent changes in Fgarbage_collect.
5556 * emacs-lisp/chart.el (chart-emacs-storage): Change to
5557 reflect new format of data returned by Fgarbage_collect.
5558
5559 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
5560
5561 New utility functions + python-info-ppss-context fix (Bug#11910).
5562 * progmodes/python.el (python-info-beginning-of-block-statement-p)
5563 (python-info-ppss-comment-or-string-p): New functions.
5564 (python-info-ppss-context): Small fix for string check.
5565
5566 2012-07-17 Juri Linkov <juri@jurta.org>
5567
5568 * dired-aux.el (dired-do-async-shell-command): Doc fix.
5569 (dired-do-async-shell-command): Don't add `*' at the end of the
5570 command (Bug#11815).
5571 (dired-do-shell-command): Doc fix.
5572 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
5573 Join the individual commands using either "&" or ";" as the
5574 separator depending on the values of these trailing characters.
5575 At the end re-add the trailing "&". (Bug#10598)
5576
5577 * simple.el (async-shell-command): Sync the interactive spec with
5578 `shell-command'. Doc fix.
5579 (shell-command): Doc fix.
5580
5581 2012-07-17 Juri Linkov <juri@jurta.org>
5582
5583 * descr-text.el (describe-char): Fix format args. (Bug#10129)
5584
5585 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
5586
5587 Final renames and doc fixes for movement commands (bug#11899).
5588 * progmodes/python.el (python-nav-beginning-of-statement):
5589 Rename from python-nav-statement-start.
5590 (python-nav-end-of-statement): Rename from
5591 python-nav-statement-end.
5592 (python-nav-beginning-of-block): Rename from
5593 python-nav-block-start.
5594 (python-nav-end-of-block): Rename from python-nav-block-end.
5595
5596 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
5597
5598 * progmodes/python.el (python-shell-send-string-no-output):
5599 Allow accept-process-output to quit, keeping shell process ready for
5600 future interactions (Bug#11868).
5601
5602 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
5603
5604 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
5605
5606 * emacs-lisp/elint.el (elint-find-args-in-code):
5607 Use help-function-arglist, so as to handle lexical byte-code.
5608
5609 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
5610 change (bug#11826).
5611
5612 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
5613
5614 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
5615 Avoid spuriously marking the buffer as modified because of c-is-sws.
5616
5617 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
5618 as not-a-comment (bug#11946).
5619
5620 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
5621 for uninterned vars.
5622
5623 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
5624 Use read-event since we don't really want to read chars but bytes.
5625
5626 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
5627 $$..$$ but also $..$ using regexps (bug#11953).
5628 Use tex-verbatim for \url and \path.
5629 (tex-font-lock-keywords): Define as defconst like the others.
5630 (tex-common-initialization): Don't use font-lock-syntax-table any more.
5631
5632 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
5633
5634 * international/mule-cmds.el (ucs-insert): Make it an obsolete
5635 alias for insert-char.
5636
5637 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
5638
5639 * progmodes/python.el: Simplified imenu implementation.
5640 (python-nav-jump-to-defun): Remove command.
5641 (python-mode-map): Use `imenu' instead.
5642 (python-nav-list-defun-positions-cache)
5643 (python-imenu-include-defun-type, python-imenu-make-tree)
5644 (python-imenu-subtree-root-label, python-imenu-index-alist):
5645 Remove vars.
5646 (python-nav-list-defun-positions, python-nav-read-defun)
5647 (python-imenu-tree-assoc, python-imenu-make-element-tree)
5648 (python-imenu-make-tree, python-imenu-create-index):
5649 Remove functions.
5650 (python-mode): Update to interact with imenu by setting
5651 `imenu-extract-index-name-function' only.
5652
5653 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
5654
5655 * progmodes/python.el: Enhancements to navigation commands.
5656 (python-nav-backward-sentence)
5657 (python-nav-forward-sentence): Remove.
5658 (python-nav-backward-statement, python-nav-forward-statement)
5659 (python-nav-statement-start, python-nav-statement-end)
5660 (python-nav-backward-block, python-nav-forward-block)
5661 (python-nav-block-start, python-nav-block-end)
5662 (python-nav-forward-sexp-function)
5663 (python-info-current-line-comment-p)
5664 (python-info-current-line-empty-p): New functions.
5665 (python-indent-context): Use `python-nav-statement-start'.
5666
5667 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
5668
5669 * eshell/em-ls.el (eshell/ls): Use `apply'.
5670
5671 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
5672 multi-hops, instead of Tramp internals.
5673
5674 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
5675
5676 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
5677 when F1 and F2 are located on different hosts.
5678
5679 2012-07-14 Chong Yidong <cyd@gnu.org>
5680
5681 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
5682 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
5683 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
5684 (xterm-mouse--read-event-sequence-1000)
5685 (xterm-mouse--read-event-sequence-1006): New functions. For old
5686 mouse protocol, handle M-mouse-X events correctly.
5687 (xterm-mouse-event): New arg specifying mouse protocol.
5688 (turn-on-xterm-mouse-tracking-on-terminal)
5689 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
5690 sequence to toggle extended coordinates on newer XTerms.
5691 This appears to be harmless on terminals which do not support this.
5692
5693 2012-07-14 Leo Liu <sdl.web@gmail.com>
5694
5695 Add fringe bitmap indicators for flymake. (Bug#11253)
5696 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
5697 (flymake-make-overlay): New arg BITMAP.
5698 (flymake-error-bitmap, flymake-warning-bitmap)
5699 (flymake-fringe-indicator-position): New user variables.
5700
5701 * fringe.el: New bitmap exclamation-mark.
5702
5703 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
5704
5705 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
5706 also (Bug#7879).
5707
5708 2012-07-14 Chong Yidong <cyd@gnu.org>
5709
5710 * electric.el (electric-pair-post-self-insert-function): Fix pair
5711 insertion in empty-region case (Bug#11520).
5712
5713 2012-07-14 Chong Yidong <cyd@gnu.org>
5714
5715 * bindings.el: Consolidate ctl-x-r-map bindings.
5716 Bind copy-rectangle-as-kill to C-x r w.
5717
5718 * rect.el, register.el: Move bindings to bindings.el.
5719
5720 2012-07-14 Reuben Thomas <rrt@sc3d.org>
5721
5722 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
5723
5724 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
5725
5726 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
5727
5728 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
5729
5730 * bindings.el (top): Use `mapc' instead of `mapcar'.
5731
5732 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
5733
5734 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
5735
5736 * progmodes/sql.el (sql-comint): Suppress the check for program on
5737 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
5738 (Bug#11908)
5739
5740 2012-07-13 Chong Yidong <cyd@gnu.org>
5741
5742 * bindings.el: Assign a non-nil permanent-local property to
5743 per-buffer variables which lack a default value (Bug#11930).
5744
5745 * help-fns.el (describe-variable): In the "automatically becomes
5746 local" notice, take note of permanent-local variables.
5747
5748 2012-07-13 Chong Yidong <cyd@gnu.org>
5749
5750 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
5751 to allow printing the message when called from Lisp.
5752
5753 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
5754 Remove toggle-read-only.
5755
5756 * bs.el (bs-toggle-readonly):
5757 * buff-menu.el (Buffer-menu-toggle-read-only):
5758 Remove with-no-warnings around toggle-read-only.
5759
5760 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
5761 Remove with-no-warnings around toggle-read-only.
5762 (ffap-read-only, ffap-read-only-other-window)
5763 (ffap-read-only-other-frame): Callers changed.
5764
5765 * help-mode.el: Don't require view package.
5766 (help-mode-finish): Set buffer-read-only instead of calling
5767 toggle-read-only.
5768
5769 * bindings.el (mode-line-toggle-read-only):
5770 * dired.el (dired-toggle-read-only):
5771 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
5772 with non-nil second arg.
5773
5774 * emacs-lisp/eieio-custom.el (eieio-customize-object):
5775 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
5776 directly.
5777
5778 2012-07-12 Eli Zaretskii <eliz@gnu.org>
5779
5780 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
5781 not incf.
5782
5783 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
5784
5785 More CL cleanups and reduction of use of cl.el.
5786 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
5787 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
5788 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
5789 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
5790 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
5791 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
5792 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
5793 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
5794 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
5795 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
5796 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
5797 * eshell/em-cmpl.el, eshell/em-banner.el:
5798 * calendar/parse-time.el: Use cl-lib.
5799 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
5800 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
5801 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
5802 * term/ns-win.el, term.el, shell.el, ps-samp.el:
5803 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
5804 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
5805 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
5806 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
5807 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
5808 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
5809 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
5810 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
5811 `lambda' rather than with `quote'.
5812 (eshell-do-opt): Adjust accordingly.
5813 (eshell-process-option): Simplify.
5814 * eshell/esh-var.el:
5815 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
5816 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
5817 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
5818 to `pcase--dontcare'.
5819 * emacs-lisp/cl.el (labels): Mark obsolete.
5820 (cl--letf, letf): Move to cl-lib.
5821 (cl--letf*, letf*): Remove.
5822 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
5823 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
5824 (cl-progv): Rewrite.
5825 (cl--letf, cl-letf): Move from cl.el.
5826 (cl-letf*): New macro.
5827 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
5828
5829 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
5830
5831 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
5832
5833 2012-07-11 Chong Yidong <cyd@gnu.org>
5834
5835 * vc/log-edit.el (log-edit-vc-backend): New variable.
5836 (log-edit): Doc fix.
5837
5838 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
5839 argument of log-edit to set up all local variables.
5840 (vc-start-logentry): New optional arg specifying VC backend.
5841
5842 * vc/vc.el (vc-checkin): Use it.
5843 (vc-deduce-fileset): Handle Log Edit buffers.
5844 (vc-diff): Make first argument optional too.
5845
5846 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
5847
5848 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
5849
5850 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
5851 command, just in case. The function is not needed anymore.
5852 (eshell-external-command): Do not call `eshell-remote-command'.
5853
5854 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
5855
5856 Reduce use of (require 'cl).
5857 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
5858 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
5859 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
5860 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
5861 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
5862 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
5863 * battery.el, avoid.el, abbrev.el: Use cl-lib.
5864 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
5865 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
5866 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
5867 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
5868 * calculator.el, autorevert.el, apropos.el: Don't require CL.
5869 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
5870 (byte-compile-unfold-bcf, byte-compile-check-variable):
5871 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
5872 (byte-compile-nilconstp):
5873 * emacs-lisp/autoload.el (make-autoload): Use pcase.
5874 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
5875
5876 * emacs-lisp/gv.el (cond): Make it a valid place.
5877 (if): Simplify slightly.
5878
5879 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
5880 (pcase--self-quoting-p): New function.
5881 (pcase--u1): Use it.
5882
5883 2012-07-10 Glenn Morris <rgm@gnu.org>
5884
5885 * emacs-lisp/authors.el (authors-fixed-entries):
5886 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
5887
5888 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
5889
5890 Rename configure.in to configure.ac (Bug#11603).
5891 * emacs-lisp/authors.el (authors-canonical-file-name):
5892 * progmodes/autoconf.el (autoconf-mode):
5893 Prefer configure.ac to configure.in.
5894
5895 2012-07-08 Chong Yidong <cyd@gnu.org>
5896
5897 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
5898 Implement the mouse-1-click-follows-link handling properly.
5899
5900 * info.el (Info-link-keymap): Use follow-link mechanism for
5901 header-line links (Bug#374).
5902
5903 * simple.el (deactivate-mark): Do not set the primary selection
5904 if another program has acquired it (Bug#11772).
5905
5906 2012-07-07 Kevin Ryde <user42@zip.com.au>
5907
5908 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
5909 (woman-decode-region): Replace escaped-escapes without destroying
5910 bold or underline (Bug#11552).
5911 (woman2-process-escapes): Handle nofill regions (Bug#11591).
5912
5913 2012-07-07 Chong Yidong <cyd@gnu.org>
5914
5915 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
5916 (interprogram-cut-function, interprogram-paste-function):
5917 Mention that we typically mean the clipboard.
5918
5919 2012-07-06 Glenn Morris <rgm@gnu.org>
5920
5921 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
5922
5923 * files.el (toggle-read-only): Restrict message to interactive use.
5924
5925 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
5926
5927 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
5928
5929 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
5930
5931 2012-07-06 Glenn Morris <rgm@gnu.org>
5932
5933 * Makefile.in (compile-one-process): Rename from "recompile".
5934
5935 * Makefile.in (bzr-update): "compile" is the same as "recompile
5936 autoloads", but parallelizable, so use that instead.
5937
5938 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
5939
5940 * window.el (quit-window): Always restore window height when
5941 it's saved in quit-restore parameter (Bug#11810).
5942
5943 2012-07-06 Glenn Morris <rgm@gnu.org>
5944
5945 * simple.el (kill-whole-line): Doc tweak.
5946
5947 2012-07-06 Eli Zaretskii <eliz@gnu.org>
5948
5949 * files.el (file-relative-name): Compare file names
5950 case-insensitively if on MS-Windows or MS-DOS, or if
5951 read-file-name-completion-ignore-case is non-nil. Don't use
5952 case-fold-search for this purpose. (Bug#11827)
5953
5954 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
5955
5956 * calendar/cal-dst.el (calendar-current-time-zone):
5957 Return calendar-current-time-zone-cache if non-nil.
5958
5959 2012-07-17 Masatake YAMATO <yamato@redhat.com>
5960 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
5961
5962 * calendar/cal-dst.el (calendar-current-time-zone):
5963 Return calendar-current-time-zone-cache if non-nil.
5964
5965 2012-07-06 Glenn Morris <rgm@gnu.org>
5966
5967 * Makefile.in (cvs-update): Remove old alias.
5968
5969 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
5970
5971 Sync with Tramp 2.2.6-pre.
5972
5973 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
5974 compatible declaration.
5975
5976 * net/tramp-cmds.el (tramp-append-tramp-buffers):
5977 Protect `list-load-path-shadows' call.
5978
5979 * net/tramp-compat.el (top): Require packages, which aren't
5980 autoloaded anymore for XEmacs. Protect call of
5981 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
5982 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
5983 it hurts at least for SXEmacs.
5984 (tramp-compat-temporary-file-directory): In XEmacs, there is no
5985 standard-value for `temporary-file-directory'.
5986
5987 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
5988 Redirect stderr to /dev/null.
5989 (tramp-sh-handle-write-region): uid and gid can be floats.
5990 Reported by Russell Sim <russell.sim@gmail.com>.
5991 (tramp-sh-handle-vc-registered): Hide errors.
5992 (tramp-vc-file-name-handler): Use dummy results for `process-file'
5993 and `start-file-process'.
5994 (tramp-maybe-open-connection): Check also whether `non-essential'
5995 is bound.
5996
5997 2012-07-04 Chong Yidong <cyd@gnu.org>
5998
5999 * xml.el (xml--parse-buffer): Use xml-syntax-table.
6000 (xml-parse-tag): Likewise, and avoid changing entity tables.
6001 (xml-syntax-table): Define from scratch, making sure not to give
6002 x2000 and other Unicode spaces whitespace syntax, since those are
6003 not spaces in XML.
6004 (xml-parse-fragment): Delete unused function.
6005 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
6006 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
6007 (xml-entity-ref, xml-pe-reference-re)
6008 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
6009 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
6010 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
6011 (xml-entity-value-re): Use syntax references in regexps where
6012 possible; no need to define inside a let-binding.
6013 (xml-parse-dtd): Use xml-pe-reference-re.
6014 (xml-entity-or-char-ref-re): New defconst.
6015 (xml-parse-string, xml-substitute-special): Use it.
6016
6017 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
6018
6019 * files.el (locate-dominating-file): Allow `name' to be a predicate.
6020 (find-file--read-only): New function.
6021 (find-file-read-only, find-file-read-only-other-window)
6022 (find-file-read-only-other-frame): Use it.
6023 (insert-file-contents-literally): Don't `fset'.
6024 (get-free-disk-space): Use locate-dominating-file.
6025
6026 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
6027 function is already compiled.
6028
6029 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
6030
6031 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
6032
6033 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
6034 files on the same host.
6035
6036 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
6037
6038 * help-fns.el (describe-function-1): Only call
6039 help-fns--autoloaded-p when we have a file name. (Bug#11848)
6040
6041 2012-07-03 Chong Yidong <cyd@gnu.org>
6042
6043 * xml.el: Protect parser against XML bombs.
6044 (xml-entity-expansion-limit): New variable.
6045 (xml-parse-string, xml-substitute-special): Use it.
6046 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
6047
6048 2012-07-03 Glenn Morris <rgm@gnu.org>
6049
6050 * progmodes/bug-reference.el (bug-reference-bug-regexp):
6051 Allow linking to specific messages in debbugs reports (eg 123#5).
6052
6053 2012-07-02 Chong Yidong <cyd@gnu.org>
6054
6055 * xml.el: Fix entity and character reference expansion, allowing
6056 them to expand into markup as per XML spec.
6057 (xml-default-ns): New variable.
6058 (xml-entity-alist): Use XML spec definitions for lt and amp.
6059 (xml-parse-region): Make first two arguments optional.
6060 Discard text properties.
6061 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
6062 All callers changed.
6063 (xml-parse-tag): Call xml-parse-tag-1. For backward
6064 compatibility, this function should not modify buffer contents.
6065 (xml-parse-tag-1): Fix opening-tag regexp.
6066 (xml-parse-string): Rewrite, handling entity and character
6067 references properly.
6068 (xml--entity-replacement-text): Signal an error if a parameter
6069 entity is undefined.
6070
6071 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
6072
6073 * comint.el (comint-output-filter): Filter out repeated prompts.
6074
6075 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
6076 and file-name-absolute-p.
6077 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
6078 internal calls.
6079
6080 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
6081
6082 Spelling fixes.
6083 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
6084 Rename from byte-compile--refiy-function. All uses changed.
6085
6086 2012-07-01 Chong Yidong <cyd@gnu.org>
6087
6088 * xml.el (xml--parse-buffer): New function. Move most of
6089 xml-parse-region here.
6090 (xml-parse-region): Copy region into a temporary buffer, since
6091 parameter entity substitution requires changing buffer contents.
6092 Use xml--parse-buffer.
6093 (xml-parse-file): Use xml--parse-buffer.
6094 (xml-parse-dtd): Make parameter entity substitution work right.
6095 Use proper regexps for ELEMENT declarations (Bug#7172).
6096
6097 2012-06-30 Glenn Morris <rgm@gnu.org>
6098
6099 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
6100
6101 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
6102 Remove outdated and unnecessary dbus declarations.
6103
6104 2012-06-30 Eli Zaretskii <eliz@gnu.org>
6105
6106 * emacs-lisp/timer.el (timer-until): Subtract results of
6107 float-time, instead of taking float-time of the result of
6108 time-subtract, since float-time signals an error for negative time
6109 arguments.
6110
6111 2012-06-30 Chong Yidong <cyd@gnu.org>
6112
6113 * xml.el (xml-*-re): Convert defvars into defconsts, and
6114 eval-and-compile them so eval-and-compile works on derivatives.
6115 (xml--entity-replacement-text): Use eval-and-comple.
6116
6117 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
6118
6119 * vc/vc-git.el (vc-git-registered): Use cache property
6120 `git-registered'.
6121 (vc-git-mode-line-string): Call `vc-working-revision' instead of
6122 `vc-git-working-revision' in order to benefit from the cache.
6123 (vc-git-root): Use cache property `git-root'. (Bug#11757)
6124
6125 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
6126
6127 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
6128 removed (likely outside Emacs). (Bug#11757)
6129
6130 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
6131
6132 * emacs-lisp/cl-lib.el: Require macroexp.
6133
6134 2012-06-30 Chong Yidong <cyd@gnu.org>
6135
6136 * xml.el: Implement XML parameter entities.
6137 (xml-parameter-entity-alist): New variable.
6138 (xml-parse-region, xml-parse-fragment): Preserve previous values
6139 of xml-entity-alist and xml-parameter-entity-alist, so that
6140 repeated calls on different documents do not change them.
6141 (xml-parse-tag): Fix doctype regexp.
6142 (xml--entity-replacement-text): New function.
6143 (xml-parse-dtd): Use it. Don't handle system entities; doing that
6144 properly requires url retrieval which is unimplemented.
6145 (xml-escape-string): Doc fix.
6146
6147 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
6148
6149 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
6150
6151 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
6152
6153 * fringe.el (fringe-mode): Doc fix.
6154
6155 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
6156
6157 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
6158 is non-nil.
6159 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
6160 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
6161
6162 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
6163
6164 * calendar/cal-dst.el (calendar-current-time-zone):
6165 Return calendar-current-time-zone-cache if non-nil.
6166
6167 2012-06-29 Masatake YAMATO <yamato@redhat.com>
6168
6169 * progmodes/which-func.el (which-func-format):
6170 Add mouse-face. (Bug#11698)
6171
6172 2012-06-29 Leo Liu <sdl.web@gmail.com>
6173
6174 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
6175
6176 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
6177
6178 * minibuffer.el (minibuffer-confirm-exit-commands):
6179 Add completion-at-point (bug#11725).
6180
6181 2012-06-29 Glenn Morris <rgm@gnu.org>
6182
6183 * progmodes/f90.el (f90-font-lock-keywords-2):
6184 Add some preprocessor elements. (Bug#10499)
6185
6186 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
6187
6188 * progmodes/cperl-mode.el (cperl-update-syntaxification):
6189 Use syntax-propertize (bug#11739).
6190
6191 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
6192
6193 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
6194
6195 2012-06-28 Julien Danjou <julien@danjou.info>
6196
6197 * term.el (term-handle-colors-array): Use a set of new faces to
6198 color the terminal. Also uses :inverse-video property.
6199 (term-default-fg-color): Set to nil by default, deprecate in favor
6200 of `term-face'.
6201 (term-default-bg-color): Set to nil by default, deprecate in favor
6202 of `term-face'.
6203 (term-current-face): Use `term-face' by default.
6204 (term-bold-attribute): Variable deleted.
6205
6206 2012-06-28 Glenn Morris <rgm@gnu.org>
6207
6208 * simple.el (completion-list-mode-finish):
6209 Don't use toggle-read-only. (Since completion-list-mode has
6210 a special mode-class, it wasn't doing anything extra anyway.)
6211
6212 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
6213
6214 Make inlining of other-mode interpreted functions work (bug#11799).
6215 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
6216 (byte-compile): Use it to fix compilation of lexical-binding closures.
6217 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
6218 function, if needed.
6219
6220 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
6221
6222 * help-mode.el (help-make-xrefs): Don't just withstand
6223 cyclic-variable-indirection but any error in documentation-property.
6224
6225 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
6226 memory use.
6227 * bindings.el (bindings--define-key): New function.
6228 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
6229 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
6230 * bindings.el: Use it to purecopy define-key bindings.
6231
6232 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
6233
6234 * emacs-lisp/cl.el (flet): Mark obsolete.
6235 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
6236 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
6237 * progmodes/js.el (js-c-fill-paragraph):
6238 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
6239 (ebrowse-switch-member-buffer-to-derived-class):
6240 * play/5x5.el (5x5-solver): Use cl-flet.
6241
6242 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
6243 (cl--symbol-function): New macro.
6244 (cl--letf, cl--letf*): Use it.
6245
6246 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
6247 Strip "toggle-" if any.
6248
6249 2012-06-27 Glenn Morris <rgm@gnu.org>
6250
6251 * info.el (Info-default-directory-list): Move here from paths.el.
6252 * paths.el: Remove file, which is now empty.
6253 * loadup.el: No longer load "paths".
6254
6255 * custom.el (custom-initialize-delay): Doc fix.
6256
6257 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
6258 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
6259 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
6260 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
6261 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
6262 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
6263 * eshell/eshell.el (eshell-defgroup): Remove alias.
6264
6265 2012-06-27 Chong Yidong <cyd@gnu.org>
6266
6267 * help.el (help-enable-auto-load): New variable.
6268
6269 * help-fns.el (help-fns--autoloaded-p): New function.
6270 (describe-function-1): Refer to a function as "autoloaded" if it
6271 was autoloaded at any time in the past. Perform autoloading if
6272 help-enable-auto-load is non-nil.
6273
6274 2012-06-26 Eli Zaretskii <eliz@gnu.org>
6275
6276 * makefile.w32-in (compile, compile-always): Depend on
6277 update-subdirs, not on subdirs.el. Otherwise, several different
6278 sub-targets of 'bootstrap' running in parallel could
6279 simultaneously write to subdirs.el, producing a garbled file.
6280
6281 2012-06-26 Sam Steingold <sds@gnu.org>
6282
6283 * files.el (file-name-base): New convenience function.
6284 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
6285 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
6286 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
6287 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
6288 * textmodes/ispell.el, textmodes/reftex-ref.el:
6289 * textmodes/tex-mode.el: Use it.
6290 Did not touch cedet and org because they are maintained elsewhere.
6291
6292 2012-06-26 Martin Rudalics <rudalics@gmx.at>
6293
6294 * calendar/calendar.el (calendar-exit): Don't try to delete or
6295 iconify last frame. See:
6296 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
6297
6298 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
6299
6300 * server.el (server-process-filter): Remember dir in the
6301 process's `server-client-directory' properties.
6302
6303 2012-06-24 Chong Yidong <cyd@gnu.org>
6304
6305 * xml.el (xml-parse-tag): Correctly handle comment embedded in
6306 non-tag text.
6307
6308 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
6309
6310 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
6311
6312 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
6313
6314 * help-fns.el (describe-variable): Don't croak when doc is not found.
6315 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
6316 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
6317 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
6318 * emacs-lisp/smie.el (smie-next-sexp): CSE.
6319 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
6320 ((lambda ..) ..).
6321 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
6322
6323 2012-06-23 Chong Yidong <cyd@gnu.org>
6324
6325 * info.el (Info-mouse-follow-link): Accept symbol values of
6326 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
6327 (Info-fontify-node): Use Info-link-keymap for all navigation
6328 buttons, with link-args property to perform the desired action.
6329 (Info-link-keymap): Doc fix.
6330 (Info-next-link-keymap, Info-prev-link-keymap)
6331 (Info-up-link-keymap): Delete now-unused keymaps.
6332
6333 2012-06-23 Chong Yidong <cyd@gnu.org>
6334
6335 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
6336
6337 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
6338 system abbrevs.
6339
6340 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
6341
6342 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
6343
6344 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
6345 (bug#11719).
6346
6347 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
6348 the requote function doesn't work properly (bug#11714).
6349
6350 2012-06-23 Glenn Morris <rgm@gnu.org>
6351
6352 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
6353
6354 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6355
6356 Further GV/CL cleanups.
6357 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
6358 gv-expander.
6359 (gv--defun-declaration): New function.
6360 (defun-declarations-alist): Use it.
6361 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
6362 (gv-place): Autoload.
6363 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
6364 original definition of dotimes and dolist.
6365 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
6366 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
6367 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
6368 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
6369 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
6370 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
6371 to the function's definition.
6372 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
6373 * window.el:
6374 * files.el:
6375 * faces.el:
6376 * env.el: Don't use CL.
6377
6378 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
6379
6380 Support higher-resolution time stamps (Bug#9000).
6381
6382 * calendar/time-date.el (with-decoded-time-value): New arg
6383 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
6384 (encode-time-value): New optional arg PICO. New type 3.
6385 (time-to-seconds) [!float-time]: Support the new picoseconds
6386 component if it's used.
6387 (seconds-to-time, time-subtract, time-add):
6388 Support ps-resolution time stamps as well.
6389
6390 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
6391 (timerp): Timer vectors now have length 9, not 8.
6392 (timer--time): Support new-style (4-part) time stamps.
6393 (timer-next-integral-multiple-of-time): Time stamps now have
6394 picosecond resolution, so take a bit more care about rounding.
6395 (timer-relative-time, timer-inc-time): New optional arg psecs.
6396 (timer-set-time-with-usecs): Set psecs to 0.
6397 (timer--activate): Check psecs component, too.
6398
6399 * proced.el (proced-time-lessp): Support ps-resolution stamps.
6400
6401 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6402
6403 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
6404 Move the non-essential binding to the post/pre-command-hook where it is
6405 more obviously correct.
6406
6407 * subr.el (read-passwd): Don't use a history at all.
6408 * savehist.el (savehist-save): Remove password saved accidentally
6409 because of the above bug.
6410
6411 2012-06-22 Bastien Guerry <bzg@gnu.org>
6412
6413 * files.el (toggle-read-only): Display a message telling whether
6414 the buffer is read-only or not (bug#11726).
6415
6416 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6417
6418 * emacs-lisp/gv.el: New file.
6419 * subr.el (push, pop): Extend to generalized variables.
6420 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
6421 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
6422 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
6423 gv-define-simple-setter, and gv-define-expander.
6424 Remove setf-methods defined in gv. Rename cl-setf -> setf.
6425 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
6426 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
6427 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
6428 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
6429 gv-letplace.
6430 (cl-defstruct): Don't define setf-method any more.
6431 * emacs-lisp/cl.el (flet): Don't autoload.
6432 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
6433 (define-setf-expander, defsetf, define-modify-macro)
6434 (cl-struct-setf-expander): Move from cl-lib.el.
6435 * emacs-lisp/syntax.el:
6436 * emacs-lisp/ewoc.el:
6437 * emacs-lisp/smie.el:
6438 * emacs-lisp/cconv.el:
6439 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
6440 (timer--time): Use gv-define-simple-setter.
6441 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
6442 to avoid coding-system problems in subr.el. Adjust all users.
6443 (macroexp--maxsize, macroexp-small-p): New functions.
6444 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
6445 * scroll-bar.el (scroll-bar-mode):
6446 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
6447 (normal-erase-is-backspace-mode): Don't use the `eq' place.
6448 * winner.el (winner-configuration, winner-make-point-alist)
6449 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
6450 * files.el (locate-file-completion-table): Avoid list*.
6451
6452 2012-06-22 Chong Yidong <cyd@gnu.org>
6453
6454 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
6455 (dired-create-files): Doc fix (Bug#11329).
6456 (dired-do-copy): Doc fix (Bug#11334).
6457 (dired-mark-read-string): Doc fix (Bug#11553).
6458
6459 * dired.el (dired-recursive-copies, dired-recursive-deletes):
6460 Doc fix (Bug#11326).
6461 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
6462 (dired-dwim-target): Doc fix.
6463
6464 * wdired.el (wdired-mode): Doc fix.
6465
6466 2012-06-22 Glenn Morris <rgm@gnu.org>
6467
6468 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
6469 (pcmpl-rpm-cache-stamp-file): New constant.
6470 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
6471 (pcmpl-rpm-packages): Optionally cache list of packages.
6472
6473 * pcmpl-rpm.el (pcmpl-rpm): New group.
6474 (pcmpl-rpm-query-options): New option.
6475 (pcmpl-rpm-packages): No need to inline it.
6476 Use pcmpl-rpm-query-options.
6477
6478 * calendar/calendar.el (calendar-in-read-only-buffer):
6479 Avoid some needless mode changes.
6480
6481 2012-06-21 Chong Yidong <cyd@gnu.org>
6482
6483 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
6484 (desktop-path): Remove . from the default value (Bug#10977).
6485 (desktop-read): Use user-emacs-directory if desktop-path is nil.
6486
6487 2012-06-20 Chong Yidong <cyd@gnu.org>
6488
6489 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
6490
6491 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
6492
6493 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
6494 (bug#11201).
6495
6496 2012-06-20 Chong Yidong <cyd@gnu.org>
6497
6498 * term.el (term-window-width): Handle the case of a missing right
6499 fringe (Bug#8837).
6500 (term-check-size): Use window-text-height (Bug#5445).
6501 (term-mode): Use define-derived-mode. Minor cleanups.
6502 Set font-lock-defaults (Bug#7692).
6503 (term-move-columns, term-insert-char, term-emulate-terminal)
6504 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
6505
6506 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
6507
6508 * net/ange-ftp.el (ange-ftp-get-passwd):
6509 Bind `enable-recursive-minibuffers'.
6510 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
6511
6512 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
6513
6514 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
6515
6516 2012-06-19 Glenn Morris <rgm@gnu.org>
6517
6518 * progmodes/python.el (python-mode): Derive from prog-mode.
6519
6520 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
6521
6522 * emulation/edt.el (edt-default-menu-bar-update-buffers)
6523 (edt-user-menu-bar-update-buffers): New functions.
6524 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
6525
6526 2012-06-19 Chong Yidong <cyd@gnu.org>
6527
6528 * subr.el (with-selected-window): Preserve the selected window's
6529 terminal's top-frame (Bug#4702).
6530
6531 * window.el (save-selected-window): Likewise.
6532
6533 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6534
6535 * progmodes/python.el (python-rx-constituents): Move backquote.
6536 (python-skeleton-define, python-define-auxiliary-skeleton):
6537 Use `declare'.
6538
6539 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
6540
6541 * minibuffer.el (read-file-name-default): Revert the patch from
6542 2012-06-17.
6543
6544 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6545
6546 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
6547 (pcase--u1, pcase--q1): Don't use apply-partially.
6548
6549 2012-06-18 Glenn Morris <rgm@gnu.org>
6550
6551 * progmodes/python.el (python-proc, python-buffer)
6552 (python-send-receive, python-send-string): Fix obsolete versions.
6553
6554 2012-06-18 Martin Rudalics <rudalics@gmx.at>
6555
6556 * window.el (special-display-p): Completely remove stringp
6557 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
6558
6559 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
6560
6561 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
6562
6563 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
6564
6565 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
6566 * net/tramp-sh.el (tramp-maybe-open-connection):
6567 Throw if `non-essential' is non-nil.
6568
6569 2012-06-17 Martin Rudalics <rudalics@gmx.at>
6570
6571 * window.el (special-display-p): Signal an error if BUFFER-NAME
6572 is not a string (Bug#11713).
6573
6574 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
6575
6576 * progmodes/python.el (python-info-beginning-of-backslash):
6577 Rename from python-info-beginning-of-backlash, as a spelling fix.
6578
6579 2012-06-17 Chong Yidong <cyd@gnu.org>
6580
6581 * term.el (term-emulate-terminal): If term-check-size is called,
6582 move point to the process mark without resetting point (Bug#4635).
6583
6584 2012-06-17 Glenn Morris <rgm@gnu.org>
6585
6586 * international/mule-cmds.el (mule-menu-keymap)
6587 (set-language-environment, set-locale-environment): Doc tweaks.
6588
6589 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
6590
6591 * cus-face.el (custom-face-attributes): Add wave-style underline
6592 attribute.
6593 * faces.el (set-face-attribute): Update docstring to describe
6594 wave-style underline attribute.
6595
6596 2012-06-16 Chong Yidong <cyd@gnu.org>
6597
6598 * term/xterm.el (terminal-init-xterm): Discard input before
6599 querying background mode (Bug#10959).
6600
6601 2012-06-16 Stefan Merten <smerten@oekonux.de>
6602
6603 * textmodes/rst.el: Added and corrected some comments.
6604 (rst-re-alist-def): Improve symbol syntax.
6605 (rst-mode-syntax-table): Correct syntax entries.
6606 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
6607 (rst-official-version, rst-official-cvs-rev): Update version
6608 information.
6609
6610 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
6611
6612 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
6613 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
6614
6615 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
6616
6617 * progmodes/python.el: New python.el merge.
6618 (python-guess-indent): Obsolete var.
6619 (python-indent-guess-indent-offset): New defcustom.
6620 (python-indent): Obsolete var.
6621 (python-indent-offset): New defcustom.
6622 (python-python-command, python-jython-command): Delete var.
6623 (python-shell-interpreter): New defcustom.
6624 (python-pdbtrack-do-tracking-p): Delete var.
6625 (python-pdbtrack-activate): New defcustom.
6626 (python-use-skeletons): Obsolete var.
6627 (python-skeleton-autoinsert): New defcustom.
6628 (inferior-python-filter-regexp, python-continuation-offset)
6629 (python-honour-comment-indentation, python-indent-string-contents)
6630 (python-jython-packages, python-mode-hook)
6631 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
6632 (python-shell-prompt-alist)
6633 (python-source-modes): Delete defcustoms.
6634 (python-check-buffer-name, python-eldoc-setup-code)
6635 (python-eldoc-string-code, python-ffap-setup-code)
6636 (python-ffap-string-code, python-fill-comment-function)
6637 (python-fill-decorator-function, python-fill-paren-function)
6638 (python-fill-string-function, python-imenu-include-defun-type)
6639 (python-imenu-make-tree, python-imenu-subtree-root-label)
6640 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
6641 (python-shell-compilation-regexp-alist)
6642 (python-shell-completion-module-string-code)
6643 (python-shell-completion-pdb-string-code)
6644 (python-shell-completion-setup-code)
6645 (python-shell-completion-string-code)
6646 (python-shell-enable-font-lock, python-shell-exec-path)
6647 (python-shell-extra-pythonpaths)
6648 (python-shell-internal-buffer-name, python-shell-interpreter-args)
6649 (python-shell-process-environment)
6650 (python-shell-prompt-block-regexp)
6651 (python-shell-prompt-output-regexp)
6652 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
6653 (python-shell-send-setup-max-wait, python-shell-setup-codes)
6654 (python-shell-virtualenv-path): New defcustoms.
6655 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
6656 (inferior-python-mode-syntax-table, python--prompt-regexp)
6657 (python-buffer, python-command python-python-command)
6658 (python-default-template, python-imports, python-indent-index)
6659 (python-indent-list, python-indent-list-length)
6660 (python-mode-running, python-pdbtrack-is-tracking-p)
6661 (python-preoutput-continuation, python-preoutput-leftover)
6662 (python-preoutput-result, python-preoutput-skip-next-prompt)
6663 (python-prev-dir/file, python-recursing)
6664 (python-saved-check-command, python-version-checked)
6665 (python-which-func-length-limit)
6666 (view-return-to-alist): Delete vars.
6667 (python-check-custom-command, python-dotty-syntax-table)
6668 (python-imenu-index-alist, python-indent-current-level)
6669 (python-indent-dedenters, python-indent-levels)
6670 (python-nav-beginning-of-defun-regexp)
6671 (python-nav-list-defun-positions-cache)
6672 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
6673 (python-shell-internal-buffer)
6674 (python-skeleton-available): New vars.
6675 (def-python-skeleton): Delete macro.
6676 (python-skeleton-define): New macro.
6677 (python-define-auxiliary-skeleton, python-rx): New macros.
6678 (python-insert-class): Delete command.
6679 (python-skeleton-class): New command.
6680 (python-insert-def): Delete command.
6681 (python-skeleton-def): New command.
6682 (python-insert-for): Delete command.
6683 (python-skeleton-for): New command.
6684 (python-insert-if): Delete command.
6685 (python-skeleton-if): New command.
6686 (python-insert-try/except, python-insert-try/finally): Delete commands.
6687 (python-skeleton-try): New command.
6688 (python-insert-while): Delete command.
6689 (python-skeleton-while): New command.
6690 (python-backspace): Delete command.
6691 (python-indent-dedent-line-backspace): New command.
6692 (python-electric-colon): Delete command.
6693 (python-indent-electric-colon): New command.
6694 (python-guess-indent): Delete command.
6695 (python-indent-guess-indent-offset): New command.
6696 (python-shift-left): Delete command.
6697 (python-indent-shift-left): New command.
6698 (python-shift-right): Delete command.
6699 (python-indent-shift-right): New command.
6700 (python-find-function): Delete command.
6701 (python-nav-jump-to-defun): New command.
6702 (python-next-statement): Delete command.
6703 (python-nav-forward-sentence): New command.
6704 (python-previous-statement): Delete command.
6705 (python-nav-backward-sentence): New command.
6706 (python-fill-paragraph): Delete command.
6707 (python-fill-paragraph-function): New command.
6708 (python-send-buffer): Delete command.
6709 (python-shell-send-buffer): New command.
6710 (python-send-defun): Delete command.
6711 (python-shell-send-defun): New command.
6712 (python-send-region, python-send-region-and-go): Delete commands.
6713 (python-shell-send-region)
6714 (python-shell-switch-to-shell): New commands.
6715 (python-send-string): Delete command.
6716 (python-shell-send-string): New command.
6717 (python-switch-to-python): Delete command.
6718 (python-shell-switch-to-shell): New command.
6719 (python-describe-symbol): Delete command.
6720 (python-eldoc-at-point): New command.
6721 (python--set-prompt-regexp, python-args-to-list)
6722 (python-after-info-look, python-check-version)
6723 (python-check-comint-prompt, python-find-imports)
6724 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
6725 (python-unload-function, python-expand-template)
6726 (python-maybe-jython, python-preoutput-filter)
6727 (python-pdbtrack-get-source-buffer)
6728 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
6729 (python-pdbtrack-toggle-stack-tracking)
6730 (python-pdbtrack-track-stack-file, python-initial-text)
6731 (python-first-word, python-comment-line-p, python-send-command)
6732 (python-setup-brm, python-sentinel, python-set-proc)
6733 (python-skip-out, python-input-filter, python-outdent-p)
6734 (python-outline-level, python-backslash-continuation-line-p)
6735 (python-end-of-block, python-end-of-statement, python-mark-block)
6736 (python-beginning-of-block, python-beginning-of-statement)
6737 (python-blank-line-p, python-beginning-of-string)
6738 (python-open-block-statement-p): Delete functions.
6739 (python-indent-line, python-indent-line-1): Delete functions.
6740 (python-indent-line): New function.
6741 (python-indentation-levels): Delete function.
6742 (python-indent-calculate-levels): New function.
6743 (python-proc): Delete function.
6744 (python-shell-get-process): New function.
6745 (python-send-receive): Delete function.
6746 (python-shell-send-string-no-output): New function.
6747 (python-module-path): Delete function.
6748 (python-ffap-module-path): New function.
6749 (python-completion-at-point)
6750 (python-symbol-completions): Delete functions.
6751 (python-completion-complete-at-point): New function.
6752 (python-load-file): Delete function.
6753 (python-shell-send-file): New function.
6754 (python-calculate-indentation): Delete function.
6755 (python-indent-calculate-indentation): New function.
6756 (python-skip-comments/blanks): Delete function.
6757 (python-util-forward-comment): New function.
6758 (python-continuation-line-p): Delete function.
6759 (python-info-continuation-line-p): New function.
6760 (python-which-func, python-current-defun): Delete function.
6761 (python-info-current-defun): New function.
6762 (python-beginning-of-defun): Delete function.
6763 (python-nav-beginning-of-defun): New function.
6764 (python-close-block-statement-p)
6765 (python-block-end-p): Delete function.
6766 (python-info-closing-block): New function.
6767 (python-comint-output-filter-function)
6768 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
6769 (python-fill-comment, python-fill-decorator, python-fill-paren)
6770 (python-fill-string, python-imenu-make-element-tree)
6771 (python-imenu-make-tree, python-imenu-tree-assoc)
6772 (python-indent-context, python-indent-dedent-line)
6773 (python-indent-line-function)
6774 (python-indent-post-self-insert-function)
6775 (python-indent-toggle-levels)
6776 (python-info-assignment-continuation-line-p)
6777 (python-info-beginning-of-backlash)
6778 (python-info-block-continuation-line-p)
6779 (python-info-closing-block-message)
6780 (python-info-line-ends-backslash-p)
6781 (python-info-looking-at-beginning-of-defun)
6782 (python-info-ppss-context, python-info-ppss-context-type)
6783 (python-nav-list-defun-positions, python-nav-read-defun)
6784 (python-nav-sentence-end, python-nav-sentence-start)
6785 (python-pdbtrack-comint-output-filter-function)
6786 (python-pdbtrack-set-tracked-buffer)
6787 (python-shell-calculate-exec-path)
6788 (python-shell-calculate-process-environment)
6789 (python-shell-completion--do-completion-at-point)
6790 (python-shell-completion--get-completions)
6791 (python-shell-completion-complete-at-point)
6792 (python-shell-completion-complete-or-indent)
6793 (python-shell-get-or-create-process)
6794 (python-shell-get-process-name)
6795 (python-shell-internal-get-or-create-process)
6796 (python-shell-internal-get-process-name)
6797 (python-shell-internal-send-string, python-shell-make-comint)
6798 (python-shell-parse-command, python-shell-send-setup-code)
6799 (python-skeleton-add-menu-items)
6800 (python-util-clone-local-variables, python-util-position)
6801 (run-python-internal, python-indentation-levels)
6802 (python-nav-beginning-of-defun)
6803 (python-completion-complete-at-point): New functions.
6804 (run-python): Change arguments. New API requirements.
6805
6806 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
6807
6808 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
6809 (bug#11649).
6810
6811 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
6812 (macroexp--expand-all): Use it.
6813
6814 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
6815 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
6816 Use `cl-function' instead.
6817
6818 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
6819
6820 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
6821 Suggested by Stefan Monnier while discussing bug#11657.
6822
6823 2012-06-14 Sam Steingold <sds@gnu.org>
6824
6825 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
6826
6827 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
6828
6829 * play/doctor.el (doctor-doc): Remove parameter and use
6830 doctor-sent instead of sent.
6831 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
6832
6833 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6834
6835 * files.el: Require cl-lib.
6836 (file-name-non-special): Replace case -> cl-case.
6837
6838 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
6839
6840 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
6841 mapping from #' to function*.
6842
6843 2012-06-13 Chong Yidong <cyd@gnu.org>
6844
6845 * mouse.el (mouse-drag-track): Do not set the mark if the user
6846 releases the mouse without selecting anything (Bug#11588).
6847
6848 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6849
6850 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
6851 as well (bug#11646).
6852
6853 * loadup.el: Count byte-code functions as well.
6854
6855 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
6856 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
6857
6858 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
6859 (bug#11649). Add cl-defun and cl-defmacro.
6860
6861 2012-06-13 Drew Adams <drew.adams@oracle.com>
6862
6863 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
6864 Fix last change.
6865
6866 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
6867
6868 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
6869 Otherwise, it blocks in batch mode.
6870
6871 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
6872
6873 * help-mode.el (bookmark-make-record-default): Declare.
6874
6875 2012-06-13 Chong Yidong <cyd@gnu.org>
6876
6877 * emacs-lisp/package.el (list-packages): Compute a list of
6878 packages that are newly-available since the last list-packages
6879 invocation.
6880 (package-menu--new-package-list): New var.
6881 (package-menu--generate, package-menu--print-info)
6882 (package-menu--status-predicate, package-menu-mark-install):
6883 Handle new status label "new".
6884
6885 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6886
6887 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
6888 conversion to backquotes.
6889
6890 2012-06-12 Chong Yidong <cyd@gnu.org>
6891
6892 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
6893 Rename from gud-inhibit-global-bindings.
6894
6895 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
6896
6897 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
6898 hook from nxml-glyph-set-hook.
6899
6900 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
6901 declaration.
6902
6903 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
6904
6905 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
6906 Convert to defcustom.
6907
6908 2012-06-12 Drew Adams <drew.adams@oracle.com>
6909
6910 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
6911 New functions.
6912 (help-mode): Use them.
6913
6914 2012-06-11 Glenn Morris <rgm@gnu.org>
6915
6916 * progmodes/fortran.el (fortran-font-lock-keywords-3):
6917 Use preprocessor face for directives.
6918 (fortran-directive-re): Doc fix.
6919
6920 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6921
6922 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
6923 conversion to backquotes (bug#11652).
6924
6925 Fix compiler-expansion of CL's cXXr functions (bug#11673).
6926 * emacs-lisp/cl-lib.el (cl--defalias): New function.
6927 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
6928 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
6929 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
6930 (cl-ninth, cl-tenth): Mark them as inlinable.
6931 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
6932 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
6933 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
6934 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
6935 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
6936 (cl-list*, cl-adjoin): Don't put an autoload manually.
6937 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
6938 (cl--compiler-macro-list*): Add autoload cookie.
6939 (cl--compiler-macro-cXXr): New function.
6940
6941 * help-fns.el (help-fns--compiler-macro): New function extracted from
6942 describe-function-1; follow aliases and use `compiler-macro' property.
6943 (describe-function-1): Use it.
6944
6945 2012-06-11 Chong Yidong <cyd@gnu.org>
6946
6947 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
6948 is uninstalled, if imagemagick is installed.
6949
6950 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6951
6952 * emacs-lisp/cl-lib.el: Use lexical-binding.
6953 (cl-map-extents, cl-maclisp-member): Remove.
6954 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
6955 (cl--set-substring, cl--block-wrapper, cl--block-throw)
6956 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
6957 * emacs-lisp/cl-extra.el: Use lexical-binding.
6958 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
6959 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
6960 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
6961 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
6962 * emacs-lisp/cl-seq.el: Use lexical-binding.
6963 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
6964 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
6965 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
6966 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
6967 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
6968 CL's internals.
6969
6970 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
6971
6972 Sync with Tramp 2.2.6-pre.
6973
6974 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
6975 `print-length' and `print-level' to nil, in order to avoid
6976 truncation. Reported by Christopher Schmidt
6977 <christopher@ristopher.com>.
6978
6979 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
6980
6981 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
6982 New defmacro.
6983 (tramp-compat-copy-directory): Add optional argument
6984 COPY-CONTENTS. It is not handled yet.
6985
6986 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
6987 (tramp-ftp-file-name-p): Simplify.
6988
6989 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
6990 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
6991 connection vector.
6992
6993 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
6994 (tramp-methods): Do not use `tramp-password-end-of-line'.
6995 (tramp-completion-function-alist-putty): Handle UNIX case.
6996 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
6997 (tramp-do-file-attributes-with-stat)
6998 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
6999 gid as real numbers. They could run out of integer range on cygwin.
7000 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
7001 (tramp-sh-handle-expand-file-name): Handle hops.
7002 (tramp-open-connection-setup-interactive-shell):
7003 Use `tramp-cleanup'. Move check for busyboxes ...
7004 (tramp-find-shell): ... here. Simplify implementation.
7005 Set "remote-shell" property also for alternative shells.
7006 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
7007 If failing, a regular file would be written otherwise.
7008 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
7009 (tramp-find-inline-encoding): Cache the coding commands in the
7010 process cache. Apply test command on the remote side, if defined.
7011 (tramp-find-inline-compress): Cache the compress commands in the
7012 process cache.
7013 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
7014 when requested. Handle hops.
7015 (tramp-current-connection): New defvar.
7016 (tramp-maybe-open-connection): Use `tramp-cleanup'.
7017 Throw `suppress', if there was a failed connection shortly before.
7018 Handle user interrupt. (Bug#10187)
7019 (tramp-get-inline-compress, tramp-get-inline-coding):
7020 Read connection properties from the process cache.
7021
7022 * net/tramp-smb.el (tramp-smb-server-version)
7023 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
7024 New defconsts.
7025 (tramp-smb-prompt): Extend for powershell prompt.
7026 (tramp-smb-file-name-handler-alist): Add handlers for
7027 `process-file', `shell-command' and `start-file-process'.
7028 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
7029 (tramp-smb-winexe-shell-command-switch): New defcustoms.
7030 (tramp-smb-file-name-p): Simplify.
7031 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
7032 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
7033 (tramp-smb-shell-quote-argument): New defuns.
7034 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
7035 Implement using "tar". By this, time-stamps are preserved.
7036 (tramp-smb-handle-copy-file): Handle also the case of directories.
7037 (tramp-smb-do-file-attributes-with-stat)
7038 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
7039 Use `tramp-get-connection-buffer').
7040 (tramp-smb-handle-rename-file): Use "rename", when source and
7041 target are on the same share.
7042 (tramp-smb-maybe-open-connection): Handle wrong passwords.
7043 Use `tramp-smb-server-version'.
7044 (tramp-smb-wait-for-output): Remove prompt.
7045
7046 * net/tramp.el (top): Require 'cl.
7047 (tramp-methods, tramp-rsh-end-of-line):
7048 Remove `tramp-password-end-of-line' from docstring.
7049 (tramp-save-ad-hoc-proxies): New defcustom.
7050 (tramp-completion-function-alist): Adapt docstring.
7051 (tramp-default-password-end-of-line): Remove defcustom.
7052 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
7053 (tramp-user-regexp, tramp-file-name-regexp-unified)
7054 (tramp-file-name-regexp-url): Extend regexp by hop separator.
7055 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
7056 (tramp-remote-file-name-spec-regexp): New defconst.
7057 (tramp-file-name-structure): Extend structure for hops.
7058 (tramp-get-method-parameter): Move up.
7059 (tramp-file-name-p, tramp-dissect-file-name)
7060 (with-parsed-tramp-file-name): Handle hops.
7061 (tramp-file-name-hop): New defun.
7062 (tramp-make-tramp-file-name): New optional arg HOP.
7063 (tramp-message-show-progress-reporter-message): New defvar.
7064 (tramp-with-progress-reporter): Use it. We cannot use
7065 `tramp-message-show-message' here, because this suppresses also
7066 error buffers.
7067 (tramp-error-with-buffer): Suppress buffer view, if
7068 `tramp-message-show-message' is nil.
7069 Use `tramp-get-connection-buffer'.
7070 (tramp-cleanup): New defun.
7071 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
7072 (tramp-file-name-handler): If `debug-on-error' is set, propagate
7073 an error unchanged.
7074 (tramp-completion-handle-file-name-all-completions): Handle hops.
7075 Fix an error when called from ido.
7076 (tramp-completion-dissect-file-name): Use better local variable
7077 name. Add hop to the vector.
7078 (tramp-handle-insert-file-contents): Use progress-reporter for the
7079 whole scenario.
7080 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
7081 to `t'.
7082 (tramp-check-for-regexp): Simplify search.
7083 (tramp-enter-password): Remove it. Move implementation ...
7084 (tramp-action-password): ... here.
7085 (tramp-mode-string-to-int, tramp-local-host-p)
7086 (tramp-make-tramp-temp-file, tramp-read-passwd)
7087 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
7088 Set tramp-autoload cookie.
7089
7090 * net/trampver.el: Update release number.
7091
7092 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7093 Michael Albinus <michael.albinus@gmx.de>
7094
7095 * net/tramp.el (tramp-set-completion-function): Fix docstring.
7096 (tramp-parse-group, tramp-parse-file)
7097 (tramp-parse-shostkeys-sknownhosts): New defuns.
7098 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
7099 (tramp-parse-shosts-group, tramp-parse-sconfig)
7100 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
7101 (tramp-parse-sknownhosts, tramp-parse-hosts)
7102 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
7103 Use them.
7104 (tramp-parse-passwd-group, tramp-parse-netrc-group)
7105 (tramp-parse-putty-group): Don't narrow.
7106 (tramp-parse-putty): Make a loop.
7107 (tramp-file-name-handler): Catch the `suppress' signal.
7108
7109 2012-06-11 Chong Yidong <cyd@gnu.org>
7110
7111 * image.el (imagemagick-register-types): Put the ImageMagick entry
7112 at the end of image-type-file-name-regexps.
7113
7114 2012-06-11 Johan Bockgård <bojohan@gnu.org>
7115
7116 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
7117 (pcase, pcase-let*, pcase-dolist): Use them.
7118
7119 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7120
7121 * emacs-lisp/pcase.el (pcase--let*): New function.
7122 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
7123 (pcase--expand): Use macroexp-let².
7124
7125 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
7126
7127 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
7128 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
7129 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
7130 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
7131 * emacs-lisp/derived.el: Use pcase instead of `cl'.
7132 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
7133
7134 2012-06-10 Glenn Morris <rgm@gnu.org>
7135
7136 * mail/rmail.el (rmail-yank-current-message): Leave point at
7137 correct position. (Bug#11660)
7138
7139 2012-06-10 Chong Yidong <cyd@gnu.org>
7140
7141 * allout-widgets.el: Fix code header.
7142
7143 2012-06-10 Chong Yidong <cyd@gnu.org>
7144
7145 * cus-edit.el (customize-changed-options-previous-release):
7146 Bump to 24.1.
7147
7148 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
7149
7150 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
7151
7152 2012-06-09 Chong Yidong <cyd@gnu.org>
7153
7154 * ebuff-menu.el (electric-buffer-list): Preserve header line.
7155
7156 2012-06-09 Martin Rudalics <rudalics@gmx.at>
7157
7158 * window.el (special-display-popup-frame): Don't use
7159 window--display-buffer (Bug#11651).
7160
7161 2012-06-09 Eli Zaretskii <eliz@gnu.org>
7162
7163 Fix parallel builds: make sure loaddefs.el is not being written
7164 while Lisp files are compiled.
7165 (compile): Don't depend on 'mh-autoloads'.
7166 (compile-CMD, compile-SH): Depend on 'autoloads'.
7167 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
7168
7169 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
7170
7171 2012-06-09 Chong Yidong <cyd@gnu.org>
7172
7173 * face-remap.el (face-remap-add-relative, face-remap-set-base)
7174 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
7175 Doc fixes (Bug#11225).
7176
7177 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
7178
7179 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
7180 a function if there's a clear indication that it has a compiler-macro.
7181 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
7182 (macro-declarations-alist): Add arglist to declaration functions.
7183 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
7184 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
7185 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
7186 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
7187 Also add autoload to find the compiler macro.
7188 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
7189 (cl--compiler-macro-member, cl--compiler-macro-assoc)
7190 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
7191 (cl--compiler-macro-get): New functions, replacing calls to
7192 cl-define-compiler-macro.
7193 (cl-typep) [compiler-macro]: Use macroexp-let².
7194
7195 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
7196
7197 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
7198 string properly, fixes Bug#11473.
7199
7200 2012-06-08 Chong Yidong <cyd@gnu.org>
7201
7202 * faces.el (set-face-attribute): Doc fix.
7203 (modify-face): Don't use :bold and :italic.
7204 (error, warning, success): Tweak definitions.
7205
7206 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
7207 (custom-modified, custom-set, custom-changed, custom-themed)
7208 (custom-saved, custom-button, custom-button-mouse)
7209 (custom-button-pressed, custom-state, custom-comment-tag)
7210 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
7211 (custom-group-subtitle): Use new-style face specs.
7212 (custom-invalid-face, custom-rogue-face, custom-modified-face)
7213 (custom-set-face, custom-changed-face, custom-saved-face)
7214 (custom-button-face, custom-button-pressed-face)
7215 (custom-documentation-face, custom-state-face)
7216 (custom-comment-face, custom-comment-tag-face)
7217 (custom-variable-tag-face, custom-variable-button-face)
7218 (custom-face-tag-face, custom-group-tag-face-1)
7219 (custom-group-tag-face): Remove obsolete face alias.
7220
7221 * epa.el (epa-validity-high, epa-validity-medium)
7222 (epa-validity-low, epa-mark, epa-field-name, epa-string)
7223 (epa-field-name, epa-field-body):
7224 * font-lock.el (font-lock-comment-face, font-lock-string-face)
7225 (font-lock-keyword-face, font-lock-builtin-face)
7226 (font-lock-function-name-face, font-lock-variable-name-face)
7227 (font-lock-type-face, font-lock-constant-face):
7228 * ido.el (ido-first-match, ido-only-match, ido-subdir)
7229 (ido-virtual, ido-indicator, ido-incomplete-regexp):
7230 * speedbar.el (speedbar-button-face, speedbar-file-face)
7231 (speedbar-directory-face, speedbar-tag-face)
7232 (speedbar-selected-face, speedbar-highlight-face)
7233 (speedbar-separator-face):
7234 * whitespace.el (whitespace-newline, whitespace-space)
7235 (whitespace-hspace, whitespace-tab, whitespace-trailing)
7236 (whitespace-line, whitespace-space-before-tab)
7237 (whitespace-space-after-tab, whitespace-indentation)
7238 (whitespace-empty):
7239 * emulation/cua-base.el (cua-global-mark):
7240 * eshell/em-prompt.el (eshell-prompt):
7241 * net/newst-plainview.el (newsticker-new-item-face)
7242 (newsticker-old-item-face, newsticker-immortal-item-face)
7243 (newsticker-obsolete-item-face, newsticker-date-face)
7244 (newsticker-statistics-face, newsticker-default-face):
7245 * net/newst-reader.el (newsticker-feed-face)
7246 (newsticker-extra-face, newsticker-enclosure-face):
7247 * net/newst-treeview.el (newsticker-treeview-face)
7248 (newsticker-treeview-new-face, newsticker-treeview-old-face)
7249 (newsticker-treeview-immortal-face)
7250 (newsticker-treeview-obsolete-face)
7251 (newsticker-treeview-selection-face):
7252 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
7253 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
7254 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
7255 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
7256 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
7257 (nxml-outline-active-indicator, nxml-outline-ellipsis):
7258 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
7259 (mpuz-text):
7260 * progmodes/vera-mode.el (vera-font-lock-number)
7261 (vera-font-lock-function, vera-font-lock-interface):
7262 * textmodes/table.el (table-cell): Use new-style face specs, and
7263 don't use the old :bold and :italic attributes.
7264
7265 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
7266 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
7267 (ebrowse-member-class, ebrowse-progress): Likewise.
7268 (ebrowse-tree-mark-face, ebrowse-root-class-face)
7269 (ebrowse-file-name-face, ebrowse-default-face)
7270 (ebrowse-member-attribute-face, ebrowse-member-class-face)
7271 (ebrowse-progress-face): Remove obsolete faces.
7272
7273 * progmodes/flymake.el (flymake-errline, flymake-warnline):
7274 Inherit from error and warning faces respectively.
7275
7276 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
7277 Likewise.
7278 (flyspell-incorrect-face, flyspell-duplicate-face):
7279 Remove obsolete aliases.
7280
7281 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
7282
7283 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
7284 Avoid infloop.
7285
7286 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
7287
7288 * startup.el (argv, argi): Make lexically scoped.
7289 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
7290 * emacs-lisp/cl-macs.el: Use lexical-binding.
7291 Rename cl-bind-* to cl--bind-*.
7292 * files.el: Don't require `cl' since it doesn't use it.
7293 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
7294
7295 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
7296
7297 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
7298 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
7299 instead of calling external sort utility.
7300 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
7301
7302 2012-06-08 Eli Zaretskii <eliz@gnu.org>
7303
7304 * descr-text.el (describe-char): Mention how to insert the
7305 character, if the current input method doesn't support it.
7306 See the discussion in this thread for the details:
7307 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
7308
7309 2012-06-08 Sam Steingold <sds@gnu.org>
7310
7311 * bindings.el (global-map): Bind XF86Forward to next-buffer and
7312 XF86Back to previous-buffer.
7313 (minibuffer-local-map): Bind them to next-history-element and
7314 previous-history-element respectively.
7315 * help-mode.el (help-mode-map): Bind them to help-go-forward and
7316 help-go-back respectively.
7317 * info.el (Info-mode-map): Bind them to Info-history-forward and
7318 Info-history-back respectively.
7319 These are the keys next to Up on the ThinkPad keyboard.
7320
7321 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
7322
7323 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
7324 * emacs-lisp/cl-macs.el: Provide itself.
7325 (cl--labels-convert-cache): New var.
7326 (cl--labels-convert): New function.
7327 (cl-flet, cl-labels): New implementation with new semantics, relying on
7328 lexical-binding.
7329 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
7330 (cl-closure-vars, cl--function-convert-cache)
7331 (cl--function-convert): Move from cl-macs.el.
7332 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
7333 rename by removing the "cl-" prefix.
7334 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
7335
7336 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7337
7338 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
7339 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
7340 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
7341 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
7342 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
7343 (cl-hash-table-count): Add old compatibility aliases.
7344
7345 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
7346 Use macroexpand-all-environment instead.
7347 (cl--old-macroexpand): New var.
7348 (cl--sm-macroexpand): New function.
7349 (cl-symbol-macrolet): Use it during macro expansion.
7350 (cl--function-convert-cache): New var.
7351 (cl--function-convert): New function, extracted from
7352 cl-macroexpand-all.
7353 (cl-lexical-let): Use it.
7354
7355 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
7356 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
7357 (cl-member): Remove old alias.
7358
7359 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
7360 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
7361 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
7362 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
7363 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
7364 (cl-macroexpand-cmacs): Remove var.
7365 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
7366 Use macroexpand-all instead.
7367
7368 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7369
7370 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
7371 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
7372 (macroexp-copyable-p): New functions and macros.
7373 * emacs-lisp/edebug.el (edebug-unwrap):
7374 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
7375 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
7376 (pcase--let*): Remove.
7377 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
7378 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
7379 macroexp-const-p instead.
7380 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
7381
7382 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
7383 instead of "cl-" for internal definitions. Use macroexp-const-p.
7384 (cl-old-bc-file-form): Remove var.
7385 (cl-const-exprs-p): Remove fun.
7386 (cl-labels, cl-macrolet): Use backquote.
7387 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
7388 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
7389 (cl-define-setf-expander): Rename from cl-define-setf-method.
7390 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
7391
7392 * international/mule-cmds.el: Don't require CL.
7393 (view-hello-file): Don't use `letf'.
7394
7395 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7396
7397 * tmm.el (tmm-prompt): Use string-prefix-p.
7398 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
7399 (tmm-add-prompt): Use minibuffer-completion-help.
7400 (tmm-delete-map): Remove.
7401
7402 * subr.el (kbd): Make it its own function.
7403
7404 2012-06-07 Stefan Merten <smerten@oekonux.de>
7405
7406 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
7407 Silence compiler warnings. Fix versions.
7408 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7409 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
7410 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7411 (rst-package-emacs-version-alist): Correct Emacs version to
7412 represent major merge with upstream.
7413 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7414
7415 2012-06-06 Glenn Morris <rgm@gnu.org>
7416
7417 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
7418 Only print environment variables if set.
7419
7420 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
7421
7422 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
7423 (macroexp--cons): Rename from maybe-cons.
7424 (macroexp--accumulate): Rename from macroexp-accumulate.
7425 (macroexp--all-forms): Rename from macroexpand-all-forms.
7426 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
7427 (macroexp--expand-all): Rename from macroexpand-all-1.
7428
7429 2012-06-06 Sam Steingold <sds@gnu.org>
7430
7431 * calendar/calendar.el (calendar-in-read-only-buffer):
7432 Call `special-mode' to enable the standard read-only keybindings.
7433
7434 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
7435
7436 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
7437 with "loading" messages (bug#11635).
7438
7439 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
7440
7441 * files.el (enable-remote-dir-locals): New option.
7442 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
7443
7444 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
7445 Ensure, that the temp directory is local.
7446
7447 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
7448 `temporary-file-directory'.
7449
7450 * progmodes/python.el (python-send-region): Ensure, that the
7451 temporary file is created also in the remote case.
7452
7453 2012-06-06 Glenn Morris <rgm@gnu.org>
7454
7455 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
7456 (vc-rcs-update-changelog): Use it.
7457
7458 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
7459
7460 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
7461 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
7462 (vc-sccs-diff): Replace use of the external vcdiff script.
7463
7464 2012-06-05 Glenn Morris <rgm@gnu.org>
7465
7466 * ledit.el: Move to obsolete/.
7467
7468 2012-06-05 Sam Steingold <sds@gnu.org>
7469
7470 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
7471 patch (Bug#11140).
7472
7473 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7474
7475 * emacs-lisp/cust-print.el: Move to obsolete.
7476
7477 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
7478 compiler-macro expansion.
7479
7480 Add native compiler-macro support.
7481 * emacs-lisp/macroexp.el (macroexpand-all-1):
7482 Support compiler-macros directly. Properly follow aliases and apply
7483 the compiler macros more thoroughly.
7484 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
7485 macroexpand now properly follows aliases.
7486 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
7487 (cl-compiler-macroexpand): Use new prop.
7488 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
7489
7490 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
7491
7492 2012-06-05 Martin Rudalics <rudalics@gmx.at>
7493
7494 * window.el (get-lru-window, get-mru-window, get-largest-window):
7495 New argument NOT-SELECTED to avoid picking the selected window.
7496 (window--display-buffer-1, window--display-buffer-2): Replace by
7497 new function window--display-buffer
7498 (display-buffer-same-window, display-buffer-reuse-window)
7499 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7500 Use window--display-buffer.
7501 (display-buffer-use-some-window): Remove temporary dedication
7502 hack by calling get-lru-window and get-largest-window with
7503 NOT-SELECTED argument non-nil. Call window--display-buffer.
7504
7505 2012-06-05 Glenn Morris <rgm@gnu.org>
7506
7507 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
7508 Replace external vcdiff script.
7509
7510 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
7511
7512 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
7513
7514 2012-06-04 Chong Yidong <cyd@gnu.org>
7515
7516 * image.el (imagemagick-types-inhibit): Revert last change.
7517 Add INFO and M.
7518 (imagemagick-enabled-types): Remove CIN and EPS*.
7519
7520 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
7521
7522 * emacs-lisp/cl-lib.el: Rename from cl.el.
7523 * emacs-lisp/cl.el: New compatibility file.
7524 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
7525 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
7526 to obey the "cl-" prefix.
7527 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
7528
7529 2012-06-03 Glenn Morris <rgm@gnu.org>
7530
7531 * emacs-lisp/authors.el (authors-aliases): Addition.
7532
7533 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
7534 Fix :version.
7535
7536 2012-06-03 Stefan Merten <smerten@oekonux.de>
7537
7538 * textmodes/rst.el: Add comments.
7539 (rst-transition, rst-adornment): New faces.
7540 (rst-adornment-faces-alist): Make default safe to reevaluate.
7541 Fixes
7542 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
7543 Improve customization tags.
7544 (rst-define-level-faces): Clarify meaning.
7545
7546 2012-06-03 Chong Yidong <cyd@gnu.org>
7547
7548 * progmodes/compile.el (compilation-mode-line-fail)
7549 (compilation-mode-line-run, compilation-mode-line-exit):
7550 New faces.
7551 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
7552
7553 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
7554
7555 * progmodes/which-func.el (which-func-update-ediff-windows):
7556 New function. Use it in ediff-select-hook (Bug#11478).
7557
7558 2012-06-03 Chong Yidong <cyd@gnu.org>
7559
7560 * bindings.el: Remove explicit help text from format-mode-line.
7561 It is now supplied by mode-line-default-help-echo.
7562 (mode-line-front-space, mode-line-end-spaces)
7563 (mode-line-misc-info): New variables.
7564 (mode-line-modes, mode-line-position): Move the default value to
7565 the variable definition.
7566 (mode-line-default-help-echo): New defcustom.
7567 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
7568 (mode-line-modified-help-echo): New functions.
7569 (mode-line-mule-info, mode-line-modified): Use them.
7570 (mode-line-eol-desc, propertized-buffer-identification):
7571 Consistency fixes for help text.
7572 (mode-line-coding-system-map): Allow using mouse-3 to invoke
7573 set-buffer-file-coding-system (Bug#289).
7574 (mode-line-mule-info-help-echo): Update help text.
7575
7576 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
7577
7578 * simple.el (execute-extended-command): Set real-this-command
7579 (bug#11506).
7580
7581 2012-06-02 Chong Yidong <cyd@gnu.org>
7582
7583 Remove incorrect uses of "modeline" in comments, docstrings, and
7584 function/variable names (Bug#10329).
7585
7586 * cus-edit.el (mode-line):
7587 * dframe.el (dframe-mouse-hscroll):
7588 * emacs-lisp/re-builder.el:
7589 * emacs-lisp/easy-mmode.el (define-minor-mode):
7590 * frame.el (set-frame-name):
7591 * help.el (lookup-minor-mode-from-indicator):
7592 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
7593 * progmodes/cc-cmds.el (c-toggle-auto-newline)
7594 (c-toggle-hungry-state):
7595 * progmodes/antlr-mode.el (antlr-language-alist):
7596 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
7597 * progmodes/vhdl-mode.el (vhdl-mode):
7598 * progmodes/which-func.el (which-func, which-func-cleanup-function):
7599 * term/ns-win.el (ns-face-at-pos):
7600 * term/sup-mouse.el (sup-mouse-report):
7601 * textmodes/flyspell.el (flyspell-mode-line-string):
7602 * textmodes/ispell.el (ispell-highlight-face):
7603 * textmodes/reftex-global.el:
7604 * vc/vc-arch.el (vc-arch-mode-line-string):
7605 * vc/vc-cvs.el (vc-cvs-mode-line-string):
7606 * vc/vc-git.el (vc-git-mode-line-string):
7607 * vc/vc-hooks.el (vc-display-status)
7608 (vc-default-mode-line-string):
7609 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
7610
7611 * ansi-color.el (ansi-color-faces-vector): Change default faces.
7612
7613 * dired.el (dired-sort-set-mode-line): Rename from
7614 dired-sort-set-modeline. All callers changed.
7615
7616 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
7617 eshell-status-in-modeline.
7618
7619 * foldout.el (foldout-mode-line-string): Rename from
7620 foldout-modeline-string. All callers changed.
7621 (foldout-update-mode-line): Rename from foldout-update-modeline.
7622
7623 * subr.el (redraw-modeline): Make into obsolete alias.
7624
7625 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
7626 timeclock-modeline-display. Make old name an alias.
7627 (timeclock-update-mode-line): Likewise. All callers changed.
7628 (timeclock-mode-line-display): No need to check before using
7629 add-hook.
7630 (timeclock-relative, timeclock-day-over-hook)
7631 (timeclock-use-elapsed, timeclock-mode-string)
7632 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
7633
7634 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
7635 crisp-mode-modeline-string.
7636
7637 * play/solitaire.el (solitaire-build-mode-line): Rename from
7638 solitaire-build-modeline. All callers changed.
7639
7640 * play/zone.el (zone-hiding-mode-line): Rename from
7641 zone-hiding-modeline. All callers changed.
7642 (zone): Remove unusued `modeline-hidden-level' property.
7643
7644 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
7645 xscheme-modeline-initialize. All callers changed.
7646
7647 * strokes.el (strokes-lighter): Rename from
7648 strokes-modeline-string.
7649
7650 * textmodes/sgml-mode.el (html-face-tag-alist)
7651 (html-tag-face-alist): Use mode-line face instead of obsolete
7652 alias modeline.
7653
7654 2012-06-02 Stefan Merten <smerten@oekonux.de>
7655
7656 * textmodes/rst.el: Always require `cl'.
7657 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
7658
7659 2012-06-02 Chong Yidong <cyd@gnu.org>
7660
7661 * image.el (imagemagick-enabled-types): Rename from
7662 imagemagick-types-enable. Add many more types.
7663 (imagemagick-types-inhibit): Change default to nil.
7664 (imagemagick-filter-types): Caller changed.
7665
7666 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
7667
7668 * emacs-lisp/cl-macs.el: Use backquotes.
7669 (cl-transform-function-property): Use eval-and-compile rather than
7670 abusing `require'.
7671 (defstruct): Use declare-function instead of with-no-warnings.
7672
7673 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
7674 (byte-compile-output-docform): Re-add the print-circle bindings.
7675 (byte-compile-fix-header): Use #$ just because it's shorter.
7676 (byte-compile-output-file-form): Remove defun/defmacro.
7677
7678 2012-06-01 Martin Rudalics <rudalics@gmx.at>
7679
7680 * simple.el (choose-completion): Remove now obsolete binding for
7681 owindow.
7682
7683 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
7684
7685 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
7686 in order to avoid "Stack overflow in regexp matcher".
7687
7688 2012-05-31 Glenn Morris <rgm@gnu.org>
7689
7690 * image.el: For clarity, call imagemagick-register-types at
7691 top-level, rather than relying on a custom :initialize.
7692 (imagemagick-types-enable): New option. (Bug#11557)
7693 (imagemagick-filter-types): New function. (Bug#7406)
7694 (imagemagick-register-types): Use imagemagick-filter-types.
7695 If disabling support, remove elements altogether rather
7696 than using an impossible regexp.
7697 (imagemagick-types-inhibit): Give it the default init function.
7698
7699 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
7700
7701 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
7702 Handle arbitrary file name lengths (Bug#11585).
7703
7704 2012-05-31 Martin Rudalics <rudalics@gmx.at>
7705
7706 * desktop.el (desktop-read): Clear previous and next buffers for
7707 all windows and bury *Messages* buffer (bug#11556).
7708
7709 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
7710
7711 Add `declare' for `defun'. Align `defmacro's with it.
7712 * emacs-lisp/easy-mmode.el (define-minor-mode)
7713 (define-globalized-minor-mode): Don't autoload the var definitions.
7714 * emacs-lisp/byte-run.el: Use lexical-binding.
7715 (defun-declarations-alist, macro-declarations-alist): New vars.
7716 (defmacro, defun): Use them.
7717 (make-obsolete, define-obsolete-function-alias)
7718 (make-obsolete-variable, define-obsolete-variable-alias):
7719 Use `declare'.
7720 (macro-declaration-function): Mark obsolete.
7721 * emacs-lisp/autoload.el: Use lexical-binding.
7722 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
7723
7724 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7725
7726 * textmodes/ispell.el (ispell-with-no-warnings):
7727 Define as a macro.
7728 (ispell-kill-ispell, ispell-change-dictionary):
7729 Use `called-interactively-p' for Emacs instead of obsolete
7730 `interactive-p'.
7731
7732 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7733
7734 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
7735 (macro-declaration-function): Move var from C code.
7736 (macro-declaration-function): Define function with defalias.
7737 * emacs-lisp/macroexp.el (macroexpand-all-1):
7738 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
7739 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
7740 defun/defmacro any more.
7741 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
7742 Provide fallback for unknown arglist.
7743 (byte-compile-arglist-warn): Change calling convention.
7744 (byte-compile-output-file-form): Move print-vars binding.
7745 (byte-compile-output-docform): Simplify accordingly.
7746 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
7747 (byte-compile-defmacro-declaration): Remove.
7748 (byte-compile-file-form-defmumble): Generalize to defalias.
7749 (byte-compile-output-as-comment): Return byte-positions.
7750 Simplify callers accordingly.
7751 (byte-compile-lambda): Use `assert'.
7752 (byte-compile-defun, byte-compile-defmacro): Remove.
7753 (byte-compile-file-form-defalias):
7754 Use byte-compile-file-form-defmumble.
7755 (byte-compile-defalias-warn): Remove.
7756
7757 2012-05-29 Stefan Merten <smerten@oekonux.de>
7758
7759 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
7760 possible. Fix authors. Improve comments. Improve loading of `cl'.
7761
7762 (rst-mode-abbrev-table): Merge definition.
7763 (rst-mode): Make sure `font-lock-defaults' is buffer local.
7764 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
7765
7766 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
7767
7768 * calendar/icalendar.el
7769 (icalendar-export-region): Export UID properly.
7770
7771 2012-05-29 Leo Liu <sdl.web@gmail.com>
7772 * calendar/icalendar.el (icalendar-import-format):
7773 Add `icalendar-import-format-uid' (Bug#11525).
7774 (icalendar-import-format-uid): New.
7775 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
7776 Export UID.
7777
7778 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
7779
7780 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
7781 different alternative patterns.
7782 (pcase-codegen): Be more careful to preserve identity.
7783 (pcase--u1): Don't forget to mark vars as used.
7784
7785 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
7786 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
7787 (byte-compile-from-buffer): ...rather than here.
7788
7789 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
7790 functions from byte-compile-function-environment.
7791
7792 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
7793
7794 * window.el (window-deletable-p): Avoid deleting the root window
7795 of a frame with an active minibuffer.
7796
7797 2012-05-29 Martin Rudalics <rudalics@gmx.at>
7798
7799 * simple.el (choose-completion): Use quit-window (Bug#11567).
7800
7801 2012-05-29 Chong Yidong <cyd@gnu.org>
7802
7803 * whitespace.el (whitespace-cleanup): Fix usage of
7804 whitespace-empty-at-bob-regexp (Bug#11492).
7805
7806 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7807
7808 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
7809 revert (Bug#11488).
7810
7811 2012-05-29 Juri Linkov <juri@jurta.org>
7812
7813 * isearch.el (isearch-mode-map): Bind `M-s _' to
7814 `isearch-toggle-symbol'. Bind `M-s c' to
7815 `isearch-toggle-case-fold'.
7816 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
7817 (isearch-forward): Add `M-s _' to the docstring.
7818 (isearch-forward-symbol, isearch-toggle-case-fold)
7819 (isearch-symbol-regexp): New functions. (Bug#11381)
7820
7821 2012-05-29 Juri Linkov <juri@jurta.org>
7822
7823 * isearch.el (isearch-word): Add docstring. (Bug#11381)
7824 (isearch-occur, isearch-search-and-update): If `isearch-word' is
7825 a function, call it to get the regexp.
7826 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
7827 property `isearch-message-prefix' instead of the string "word ".
7828 (isearch-search-fun-default): For the case of `isearch-word',
7829 return a lambda that calls re-search-forward/re-search-backward
7830 with a regexp returned by `word-search-regexp' or by the function
7831 in `isearch-word'.
7832
7833 2012-05-29 Juri Linkov <juri@jurta.org>
7834
7835 * isearch.el (isearch-search-fun-default): New function.
7836 (isearch-search-fun): Move default part to the new function
7837 `isearch-search-fun-default'.
7838 (isearch-search-fun-function): Set the default value to
7839 `isearch-search-fun-default'. (Bug#11381)
7840
7841 * comint.el (comint-history-isearch-end):
7842 Use `isearch-search-fun-default'.
7843 (comint-history-isearch-search): Use `isearch-search-fun-default'
7844 and remove spacial case for `isearch-word'.
7845 (comint-history-isearch-wrap): Remove spacial case for
7846 `isearch-word'.
7847
7848 * hexl.el (hexl-isearch-search-function):
7849 Use `isearch-search-fun-default'.
7850
7851 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
7852 Use `word-search-regexp' for `isearch-word'.
7853
7854 * misearch.el (multi-isearch-search-fun):
7855 Use `isearch-search-fun-default'.
7856
7857 * simple.el (minibuffer-history-isearch-search):
7858 Use `isearch-search-fun-default' and remove spacial case for
7859 `isearch-word'.
7860 (minibuffer-history-isearch-wrap): Remove spacial case for
7861 `isearch-word'.
7862
7863 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
7864 Remove spacial case for `isearch-word'.
7865 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
7866
7867 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7868
7869 Decrease XEmacs incompatibilities.
7870 * textmodes/flyspell.el (flyspell-check-pre-word-p):
7871 Use `string-match'.
7872 (flyspell-delete-region-overlays): Use alternative definition for
7873 XEmacs.
7874 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
7875 (flyspell-word): Use `process-kill-without-query' if XEmacs.
7876 (flyspell-mode-on): Use `interactive-p' if XEmacs.
7877 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
7878 `define-obsolete-face-alias' under XEmacs, but old method.
7879
7880 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
7881 `with-no-warnings' definition or Emacs alias.
7882 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
7883 (ispell-word): Do not use `region-p' if XEmacs.
7884
7885 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7886
7887 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
7888 Check for `ispell-dictionary-base-alist' instead of full
7889 `ispell-dictionary-alist'.
7890 (ispell-init-process): Show spellchecker when starting new Ispell
7891 process.
7892
7893 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
7894
7895 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
7896 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
7897
7898 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
7899
7900 * version.el (motif-version-string, gtk-version-string)
7901 (ns-version-string): Declare.
7902
7903 2012-05-27 Juri Linkov <juri@jurta.org>
7904
7905 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
7906 after the `eval-defun-1' specialcaseing
7907 like in `edebug-eval-defun' (bug#10181).
7908
7909 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
7910 like in `eval-defun-1'.
7911
7912 2012-05-27 Eli Zaretskii <eliz@gnu.org>
7913
7914 * mail/sendmail.el (mail-yank-region):
7915 Recognize rmail-yank-current-message in addition to insert-buffer.
7916 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
7917 a *mail* buffer created through rmail-start-mail with sendmail as
7918 mail-user-agent.
7919
7920 2012-05-27 Chong Yidong <cyd@gnu.org>
7921
7922 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
7923 Default to 256 (Bug#11267).
7924
7925 * help.el (describe-mode): Doc fix.
7926
7927 2012-05-26 Glenn Morris <rgm@gnu.org>
7928
7929 * w32-fns.el (w32-init-info): Remove.
7930 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
7931
7932 * info.el (info-initialize): For self-contained NS builds, put the
7933 included info/ directory at the front. (Bug#2791)
7934
7935 * paths.el (Info-default-directory-list): Make it a defcustom,
7936 mainly so that we can use custom-initialize-delay.
7937
7938 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
7939
7940 * subr.el (buffer-has-markers-at): Mark obsolete.
7941
7942 * subr.el (lambda): Use declare.
7943
7944 * emacs-lisp/lisp-mode.el (lambda):
7945 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
7946
7947 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7948
7949 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
7950
7951 2012-05-26 Glenn Morris <rgm@gnu.org>
7952
7953 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
7954
7955 2012-05-25 Glenn Morris <rgm@gnu.org>
7956
7957 * paths.el: Remove no-byte-compile.
7958 * loadup.el: No need to load paths.el uncompiled.
7959
7960 * image.el (imagemagick-types-inhibit): Doc fix.
7961
7962 * version.el: Remove no-byte-compile and associated formatting.
7963 * loadup.el: No need to load version.el uncompiled. AFAICS, this
7964 is ancient code from when there was an "inc-vers.el".
7965
7966 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7967
7968 * progmodes/gdb-mi.el: Minor style changes.
7969 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
7970 Turn into minor modes.
7971 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
7972 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
7973 (gdb-shell): Remove unneeded let-binding.
7974 (gdb-get-many-fields): Eliminate O(n²) behavior.
7975
7976 2012-05-25 Eli Zaretskii <eliz@gnu.org>
7977
7978 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
7979 platforms that don't link in fontset.c.
7980
7981 2012-05-25 Juri Linkov <juri@jurta.org>
7982
7983 Use the same diff color scheme as in modern VCSes (bug#10181).
7984
7985 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
7986 to avoid confusion with `diff-added' that now uses green colors.
7987 (diff-removed): Use shades of red.
7988 (diff-added): Use shades of green.
7989 (diff-changed): Leave just the yellow color.
7990 (diff-use-changed-face): New variable.
7991 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
7992 how to highlight context diff changes.
7993 (diff-refine-change): Use shades of yellow.
7994 (diff-refine-removed): New face that uses shades of red.
7995 (diff-refine-added): New face that uses shades of green.
7996 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
7997 `diff-refine-removed' in the call to `smerge-refine-subst'
7998 depending on the value of `diff-use-changed-face'.
7999
8000 * vc/smerge-mode.el (smerge-mine): Use shades of red.
8001 (smerge-other): Use shades of green.
8002 (smerge-base): Use shades of yellow.
8003 (smerge-refined-change): Empty face.
8004 (smerge-refined-removed): New face that uses shades of red.
8005 (smerge-refined-added): New face that uses shades of green.
8006 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
8007 args `props-r' and `props-a', and use them. Doc fix.
8008 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
8009 on its value use different faces `smerge-refined-change',
8010 `smerge-refined-removed', `smerge-refined-added' in the call to
8011 `smerge-refine-subst'.
8012
8013 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
8014 Add face condition `min-colors 88' with shades of red.
8015 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
8016 `min-colors 88' with shades of green.
8017 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
8018 `min-colors 88' with shades of yellow.
8019
8020 2012-05-24 Glenn Morris <rgm@gnu.org>
8021
8022 * paths.el (prune-directory-list, remote-shell-program): Move to...
8023 * files.el (prune-directory-list, remote-shell-program): ...here.
8024 For the latter, delay initialization, prefer ssh, just search PATH.
8025
8026 * paths.el (term-file-prefix): Move to faces.el (the only user).
8027 * faces.el (term-file-prefix): Move here, make it a defcustom.
8028
8029 * paths.el (news-directory, news-path, news-inews-program):
8030 Move to gnus/nnspool.el.
8031
8032 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
8033
8034 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
8035 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
8036 Make the latter a defcustom, with a delayed initialization.
8037
8038 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
8039 These were deleted from Gnus itself late 2010.
8040
8041 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
8042
8043 * progmodes/which-func.el (which-func-ff-hook):
8044 Check against user-error, not error.
8045
8046 * emacs-lisp/edebug.el (top): Do not load or set up loading of
8047 cl-specs.el, which no longer exists.
8048
8049 2012-05-22 Glenn Morris <rgm@gnu.org>
8050
8051 * info.el (info-emacs-bug): New command.
8052 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
8053 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
8054
8055 2012-05-21 Glenn Morris <rgm@gnu.org>
8056
8057 * makefile.w32-in (update-subdirs-SH):
8058 * Makefile.in (update-subdirs): Update for moved update-subdirs.
8059
8060 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
8061
8062 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
8063
8064 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8065 Simplify Maven regexp, and make sure the file can't start with a space
8066 (bug#11517).
8067
8068 2012-05-21 Glenn Morris <rgm@gnu.org>
8069
8070 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
8071 Scrap superfluous subshells.
8072
8073 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
8074
8075 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
8076 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
8077
8078 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
8079
8080 * calc/calc.el (calc-ensure-consistent-units): New variable.
8081
8082 * calc/calc-units.el (math-consistent-units-p)
8083 (math-check-unit-consistency): New functions.
8084 (calc-quick-units, calc-convert-units):
8085 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
8086 is non-nil.
8087 (calc-extract-units): Fix typo.
8088
8089 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
8090
8091 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
8092
8093 * textmodes/flyspell.el: Commenting style, plus code simplifications.
8094 (flyspell-default-deplacement-commands): Don't spell check after
8095 repeated window/frame switches (e.g. triggered by mouse-movement).
8096 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
8097 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
8098 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
8099 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
8100 Remove unused vars.
8101 (flyspell-get-casechars, flyspell-get-not-casechars):
8102 Simplify; Don't bother removing a ] just to add it back.
8103 * textmodes/ispell.el (ispell-program-name): Use executable-find.
8104
8105 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8106
8107 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
8108 New functions.
8109 (math-function-table): Add support for more C functions.
8110
8111 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8112
8113 * textmodes/flyspell.el (flyspell-check-pre-word-p)
8114 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
8115 Protect delay handling for otherchars against empty otherchars.
8116
8117 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
8118
8119 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
8120 their respective macro declarations.
8121 * skeleton.el (define-skeleton):
8122 * progmodes/compile.el (define-compilation-mode):
8123 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
8124 (define-ibuffer-filter):
8125 * emacs-lisp/generic.el (define-generic-mode):
8126 * emacs-lisp/easy-mmode.el (define-minor-mode)
8127 (define-globalized-minor-mode):
8128 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
8129 * emacs-lisp/byte-run.el (defsubst):
8130 * custom.el (deftheme): Add doc-string metadata.
8131
8132 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8133
8134 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
8135
8136 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8137
8138 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
8139
8140 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
8141 * emacs-lisp/cl-macs.el: Idem.
8142 * emacs-lisp/cl-specs.el: Remove.
8143
8144 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8145
8146 Minor renaming of internal CL functions and variables.
8147 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
8148 (cl--position): Rename from cl-position.
8149 (cl--delete-duplicates): Rename from cl-delete-duplicates.
8150 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
8151 (cl--random-state): Rename from *random-state*.
8152
8153 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8154
8155 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
8156 parens around the arg list (bug#11499).
8157
8158 2012-05-17 Juri Linkov <juri@jurta.org>
8159
8160 * isearch.el (word-search-regexp, word-search-backward)
8161 (word-search-forward, word-search-backward-lax)
8162 (word-search-forward-lax): Move functions from search.c
8163 (bug#10145, bug#11381).
8164
8165 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8166
8167 * textmodes/flyspell.el (flyspell-check-pre-word-p)
8168 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
8169 Delay for otherchars as for normal word components.
8170
8171 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
8172
8173 * minibuffer.el (completion--sifn-requote): Fix last change.
8174 (minibuffer-local-must-match-filename-map):
8175 Move define-obsolete-variable-alias before its var.
8176
8177 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8178
8179 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
8180
8181 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
8182 behavior.
8183 (completion--string-equal-p): New function.
8184 (completion--twq-all): Use it to get better assertion failure data.
8185
8186 Only handle ".." and '..' quoting in shell-mode (bug#11466).
8187 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
8188 (shell--requote-argument): New functions.
8189 (shell-completion-vars): Use them.
8190 (shell--parse-pcomplete-arguments): Rename from
8191 shell-parse-pcomplete-arguments.
8192 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
8193 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
8194 Obey comint-file-name-quote-list.
8195
8196 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
8197 (smie-indent-keyword): Use it.
8198
8199 2012-05-14 Stefan Merten <smerten@oekonux.de>
8200
8201 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
8202
8203 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
8204
8205 * net/rlogin.el (rlogin-mode-map): Fix last change.
8206
8207 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8208
8209 * mail/smtpmail.el (smtpmail-send-command): Send the command and
8210 the following \r\n using a single `process-send-string', since the
8211 Lotus SMTP server refuses to accept any commands if they are sent
8212 with two `process-send-string's (Bug#11444).
8213
8214 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
8215
8216 * shell.el (shell-parse-pcomplete-arguments):
8217 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
8218
8219 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
8220
8221 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
8222 (image-transform-scale, image-transform-right-angle-fudge): New vars.
8223 (image-transform-width, image-transform-fit-width): New functions.
8224 (image-transform-properties): Use them.
8225 (image-transform-check-size): New function.
8226 (image-toggle-display-image): Use it (for testing).
8227 (image-transform-set-rotation): Reduce angle mod 360.
8228 Delete obsolete comment.
8229
8230 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
8231
8232 * image-mode.el: Fix scaling (bug#11399).
8233 (image-transform-resize): Doc fix.
8234 (image-transform-properties): Default scale is 1 and height should
8235 be an integer.
8236
8237 2012-05-13 Johan Bockgård <bojohan@gnu.org>
8238
8239 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
8240 than hard-coding `car', to fix misbehavior when moving forward.
8241
8242 2012-05-13 Chong Yidong <cyd@gnu.org>
8243
8244 * emacs-lisp/tabulated-list.el (tabulated-list-format)
8245 (tabulated-list-entries, tabulated-list-padding)
8246 (tabulated-list-sort-key): Make permanent-local.
8247
8248 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
8249 (electric-buffer-list): Put electric buffer menu
8250 command descriptions in this docstring, instead of the docstring
8251 of electric-buffer-menu-mode. Code cleanups.
8252 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
8253 Electric-buffer-menu-mode.
8254 (electric-buffer-update-highlight): Minor code cleanup.
8255
8256 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
8257
8258 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
8259 (Bug#11447)
8260
8261 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
8262
8263 Move define-obsolete-variable-alias before the var's definition.
8264 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
8265 * tooltip.el (tooltip-hook):
8266 * textmodes/reftex-toc.el (reftex-toc-map):
8267 * textmodes/reftex-sel.el (reftex-select-label-map)
8268 (reftex-select-bib-map):
8269 * textmodes/reftex-index.el (reftex-index-map)
8270 (reftex-index-phrases-map):
8271 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
8272 * progmodes/meta-mode.el (meta-mode-map):
8273 * novice.el (disabled-command-hook):
8274 * loadhist.el (unload-hook-features-list):
8275 * frame.el (blink-cursor):
8276 * files.el (find-file-not-found-hooks, write-file-hooks)
8277 (write-contents-hooks):
8278 * emulation/tpu-edt.el (GOLD-map):
8279 * emacs-lock.el (emacs-lock-from-exiting):
8280 * emacs-lisp/generic.el (generic-font-lock-defaults):
8281 * emacs-lisp/chart.el (chart-map):
8282 * dos-fns.el (register-name-alist):
8283 * dired-x.el (dired-omit-files-p):
8284 * desktop.el (desktop-enable):
8285 * cus-edit.el (custom-mode-hook):
8286 * buff-menu.el (buffer-menu-mode-hook):
8287 * bookmark.el (bookmark-read-annotation-text-func)
8288 (bookmark-exit-hooks):
8289 * allout.el (allout-mode-deactivate-hook)
8290 (allout-exposure-change-hook, allout-structure-added-hook)
8291 (allout-structure-deleted-hook, allout-structure-shifted-hook):
8292 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
8293 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
8294 comes before the corresponding variable's definition.
8295
8296 2012-05-12 Chong Yidong <cyd@gnu.org>
8297
8298 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
8299 (Buffer-menu-mouse-select): Restore function (Bug#11459).
8300 (Buffer-menu-mode-map): Bind it.
8301 (Buffer-menu--pretty-name): Add a mouse-face property.
8302
8303 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
8304
8305 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
8306 (prolog-upper-case-string, prolog-lower-case-string)
8307 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
8308 (prolog-use-smie, prolog-smie-grammar): New vars.
8309 (prolog-smie-forward-token, prolog-smie-backward-token)
8310 (prolog-smie-rules): New funs.
8311 (prolog-comment-indent): Remove.
8312 (prolog-mode-variables): Use default comment indentation instead.
8313 Setup SMIE.
8314 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
8315 (prolog-mode): Don't call them any more.
8316 (prolog-electric-colon, prolog-electric-dash)
8317 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
8318
8319 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
8320
8321 * minibuffer.el (completion--twq-all): Again, allow case differences.
8322
8323 * term.el: Move keymap initialization code to be more idiomatic.
8324 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
8325 (term-terminal-menu): Move initialization into declaration.
8326 (term-escape-char): Let the user set it in her .emacs.
8327
8328 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
8329 Provide SMIE-based indentation (not enabled by default yet).
8330 (sh-mode-map): Don't bind electric keys.
8331 Use electric-pair-mode instead of skeleton-pair.
8332 (sh-assignment-regexp): Fit within 80 columns.
8333 (sh-indent-supported): Specify actual shell name instead of boolean.
8334 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
8335 (sh-maybe-here-document): Use it. Make obsolete.
8336 (sh-electric-here-document-mode) New minor mode.
8337 (sh-mode): Use it. Don't set sh-indent-supported-here here.
8338 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
8339 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
8340 (sh-smie-rc-grammar, sh-use-smie): New vars.
8341 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
8342 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
8343 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
8344 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
8345 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
8346 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
8347 (sh-set-shell): Use smie-setup if requested.
8348
8349 * term.el (term-set-escape-char): Properly set term-escape-char.
8350 See http://stackoverflow.com/questions/10524656.
8351
8352 2012-05-10 Chong Yidong <cyd@gnu.org>
8353
8354 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
8355 Use url-generic-parse-url, and handle host names and Windows
8356 filenames properly.
8357 (ffap-url-unwrap-remote): Use url-generic-parse-url.
8358 (ffap-url-unwrap-remote): Accept list values, specifying a list of
8359 URL schemes to work on.
8360 (ffap--toggle-read-only): New function.
8361 (ffap-read-only, ffap-read-only-other-window)
8362 (ffap-read-only-other-frame): Use it.
8363 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
8364 necessary for ffap-url-unwrap-remote.
8365
8366 2012-05-10 Dave Abrahams <dave@boostpro.com>
8367
8368 * cus-start.el (create-lockfiles): Add it.
8369
8370 2012-05-09 Chong Yidong <cyd@gnu.org>
8371
8372 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
8373 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
8374
8375 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
8376
8377 * shell.el (shell-completion-vars): Fix last change (bug#11348).
8378
8379 2012-05-09 Chong Yidong <cyd@gnu.org>
8380
8381 * ansi-color.el (ansi-color-process-output): Check for validity of
8382 comint-last-output-start before using it. This avoids a bad
8383 interaction with gdb-mi's input/output buffer.
8384
8385 2012-05-09 Glenn Morris <rgm@gnu.org>
8386
8387 * files.el (dir-locals-read-from-file):
8388 Mention dir-locals in any error message.
8389
8390 2012-05-09 Chong Yidong <cyd@gnu.org>
8391
8392 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
8393 package (Bug#11410).
8394
8395 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
8396 variables into description.
8397
8398 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
8399
8400 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
8401 shell-delimiter-argument-list (bug#11348).
8402 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
8403
8404 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
8405
8406 * textmodes/rst.el: Silence byte-compiler warnings.
8407 (rst-re-alist, rst-reset-section-caches): Move around.
8408 (rst-re): Use `characterp', not `char-valid-p'.
8409 (font-lock-beg, font-lock-end): Declare.
8410
8411 * progmodes/idlw-shell.el (specs): Remove reference to deleted
8412 variable `idlwave-shell-activate-alt-keybindings' and simplify.
8413
8414 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
8415
8416 2012-05-08 Glenn Morris <rgm@gnu.org>
8417
8418 * files.el (auto-mode-alist): Treat ".make" like ".mk".
8419
8420 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8421
8422 * vc/log-edit.el: Add GNU coding standards highlighting.
8423 (log-edit-font-lock-gnu-style)
8424 (log-edit-font-lock-gnu-keywords): New vars.
8425 (log-edit-font-lock-keywords): New fun.
8426 (log-edit-mode): Don't fold case in font-lock.
8427 (log-edit-font-lock-keywords): Do not assume case-folding.
8428
8429 * imenu.el: Misc cleanup. Make docstrings out of comments.
8430 Use lexical-binding.
8431 (imenu--index-alist, imenu--last-menubar-index-alist)
8432 (imenu-menubar-modified-tick): Use defvar-local.
8433 (imenu--split-menu): Remove unused var.
8434 (imenu--cleanup-seen): Declare as global.
8435 (imenu--cleanup): Use dolist.
8436
8437 * subr.el (defvar-local): Add debug spec and doc-string position.
8438
8439 2012-05-08 Glenn Morris <rgm@gnu.org>
8440
8441 * language/burmese.el, language/cham.el, language/czech.el:
8442 * language/english.el, language/georgian.el, language/greek.el:
8443 * language/japanese.el, language/khmer.el, language/korean.el:
8444 * language/lao.el, language/misc-lang.el, language/romanian.el:
8445 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
8446 * language/thai.el, language/utf-8-lang.el:
8447 Remove no-byte-compile setting.
8448
8449 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
8450
8451 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
8452
8453 * progmodes/make-mode.el (makefile-browse):
8454 Remove unnecessary interactive. (Bug#11324)
8455
8456 2012-05-07 Glenn Morris <rgm@gnu.org>
8457
8458 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
8459
8460 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
8461
8462 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
8463
8464 * loadup.el: Preload newcomment.el.
8465 * newcomment.el: Move autoload-only code to toplevel.
8466
8467 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
8468 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
8469 Handle new :right-align column property.
8470 (tabulated-list-print-col): Idem, plus use `display' text-property to
8471 try and preserve alignment for variable pitch fonts.
8472
8473 2012-05-07 Chong Yidong <cyd@gnu.org>
8474
8475 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
8476 (tabulated-list-use-header-line): New var.
8477 (tabulated-list-init-header): Use it.
8478 (tabulated-list-print-fake-header): New function.
8479 (tabulated-list-print): Use it.
8480 (tabulated-list-sort-button-map): Add non-header-line commands.
8481 (tabulated-list-init-header): Add column name property to basic
8482 labels as well.
8483 (tabulated-list-col-sort): Handle non-header-line button case.
8484 (tabulated-list--sort-by-column-name): Fix a corner case.
8485
8486 * buff-menu.el (list-buffers--refresh):
8487 Handle Buffer-menu-use-header-line.
8488
8489 2012-05-06 Chong Yidong <cyd@gnu.org>
8490
8491 * buff-menu.el: Convert to Tabulated List mode.
8492 (Buffer-menu-buffer+size-width): Make obsolete.
8493 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
8494 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
8495 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
8496 documentation into docstring of buffer-menu.
8497 (Buffer-menu-toggle-files-only): Add an informative message.
8498 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
8499 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
8500 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
8501 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
8502 (Buffer-menu-execute, Buffer-menu-select)
8503 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
8504 (Buffer-menu-bury): Use Tabulated List machinery.
8505 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
8506 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
8507 Delete.
8508 (list-buffers--refresh): New function.
8509 (list-buffers-noselect): Use it.
8510 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
8511 (Buffer-menu--pretty-file-name): New helper functions.
8512
8513 * loadup.el: Preload tabulated-list.
8514
8515 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
8516 tabulated-list-sort-column.
8517 (tabulated-list-init-header): Add the initial aligning space even
8518 if tabulated-list-padding is zero.
8519
8520 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
8521
8522 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
8523 whose cdr is not a cons cell correctly (bug#11038).
8524
8525 2012-05-06 Chong Yidong <cyd@gnu.org>
8526
8527 * emacs-lisp/tabulated-list.el (tabulated-list-format):
8528 Accept additional plist in column descriptors.
8529 (tabulated-list-init-header): Obey it.
8530 (tabulated-list-get-entry): New function.
8531 (tabulated-list-put-tag): Use it. Use string-width instead of
8532 length.
8533 (tabulated-list--column-number): New function.
8534 (tabulated-list-print): Use it.
8535 (tabulated-list-print-col): New function.
8536 Set `tabulated-list-column-name' property on each column's text.
8537 (tabulated-list-print-entry): Use it.
8538 (tabulated-list-delete-entry, tabulated-list-set-col):
8539 New functions.
8540 (tabulated-list-sort-column): New command (Bug#11337).
8541
8542 * buff-menu.el (list-buffers): Move C-x C-b binding from
8543 buff-menu.el to bindings.el.
8544
8545 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
8546 :advertised-binding feature.
8547
8548 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
8549
8550 * progmodes/compile.el (compilation-internal-error-properties):
8551 Calculate start position correctly when end-col is set but
8552 end-line is not (Bug#11382).
8553
8554 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
8555
8556 * man.el (Man-unindent): Use text-property-default-nonsticky to
8557 prevent untabify from inheriting face properties (Bug#11408).
8558
8559 2012-05-05 Stefan Merten <smerten@oekonux.de>
8560
8561 * textmodes/rst.el: Major merge with upstream development up to
8562 Docutils SVN r7399 / rst.el V1.2.1.
8563
8564 Clarify maintainership and authors.
8565
8566 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
8567 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
8568 (rst-official-version, rst-official-cvs-rev, rst-version)
8569 (rst-package-emacs-version-alist): New functions and variables
8570 for version information.
8571
8572 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
8573 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
8574 (rst-mode-syntax-table, rst-mode): New and corrected functions
8575 and variables representing reStructuredText features.
8576
8577 (rst-re): New function for reStructuredText regexes. Use in
8578 many places.
8579
8580 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
8581 (rst-mode-map): Rebind keys.
8582
8583 (rst-mode-lazy, rst-font-lock-keywords)
8584 (rst-font-lock-extend-region)
8585 (rst-font-lock-extend-region-internal)
8586 (rst-font-lock-extend-region-extend)
8587 (rst-font-lock-find-unindented-line-limit)
8588 (rst-font-lock-find-unindented-line-match)
8589 (rst-adornment-level, rst-font-lock-adornment-level)
8590 (rst-font-lock-adornment-match)
8591 (rst-font-lock-handle-adornment-pre-match-form)
8592 (rst-font-lock-handle-adornment-matcher): Major revision of
8593 font-locking. Integrate with other code. Use `jit-lock-mode'.
8594
8595 (rst-preferred-adornments, rst-adjust-hook)
8596 (rst-new-adornment-down, rst-preferred-bullets)
8597 (rst-preferred-bullets, rst-indent, rst-indent-width)
8598 (rst-indent-field, rst-indent-literal-normal)
8599 (rst-indent-literal-minimized, rst-indent-comment): Change,
8600 extend and improve customization.
8601
8602 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
8603 (rst-normalize-cursor-position, rst-get-decoration)
8604 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
8605 (rst-rstrip, rst-toc-insert-find-delete-contents)
8606 (rst-shift-fill-region, rst-compute-bullet-tabs)
8607 (rst-debug-print-tabs, rst-debug-mark-found)
8608 (rst-shift-region-guts, rst-shift-region-right)
8609 (rst-shift-region-left, rst-use-char-classes)
8610 (rst-font-lock-keywords-function)
8611 (rst-font-lock-indentation-point)
8612 (rst-font-lock-find-unindented-line-begin)
8613 (rst-font-lock-find-unindented-line-end)
8614 (rst-font-lock-find-unindented-line)
8615 (rst-font-lock-adornment-point, rst-font-lock-level)
8616 (rst-adornment-level-alist): Remove functions and variables.
8617
8618 (rst-compare-adornments, rst-get-adornment-match)
8619 (rst-suggest-new-adornment, rst-get-adornments-around)
8620 (rst-adornment-complete-p, rst-get-next-adornment)
8621 (rst-adjust-adornment, rst-display-adornments-hierarchy)
8622 (rst-straighten-adornments): Standardize function names to
8623 use "adornment" instead of "decoration". Correct callers.
8624 Similar standardizing in many places.
8625
8626 (rst-update-section, rst-adjust, rst-promote-region)
8627 (rst-enumerate-region, rst-bullet-list-region)
8628 (rst-repeat-last-character): Correct use of `interactive'.
8629
8630 (rst-classify-adornment, rst-find-all-adornments)
8631 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
8632 (rst-find-leftmost-column, rst-repeat-last-character):
8633 Refactor functions.
8634
8635 (rst-find-title-line, rst-reset-section-caches)
8636 (rst-get-adornments-around, rst-adjust-adornment-work)
8637 (rst-arabic-to-roman, rst-roman-to-arabic)
8638 (rst-insert-list-pos, rst-insert-list-new-item)
8639 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
8640 New functions.
8641
8642 (rst-all-sections, rst-section-hierarchy)
8643 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
8644 New variables.
8645
8646 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
8647 configuration instead of only buffer. Change where necessary.
8648
8649 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
8650 (rst-shift-region, rst-adaptive-fill): New functions for
8651 indentation and filling.
8652
8653 (rst-comment-line-break, rst-comment-indent)
8654 (rst-comment-insert-comment, rst-comment-region)
8655 (rst-uncomment-region): New functions for handling comments.
8656
8657 (rst-compile): Quote shell arguments.
8658
8659 (rst-compile-pdf-preview, rst-compile-slides-preview):
8660 Delete temporary files after use.
8661
8662 2012-05-05 Glenn Morris <rgm@gnu.org>
8663
8664 * calendar/cal-html.el: Optionally include holidays in the output.
8665 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
8666 (cal-html-holidays): New option.
8667 (cal-html-css-default): Add holiday entry.
8668 (holiday-in-range): Autoload it.
8669 (cal-html-htmlify-entry): Add optional class argument.
8670 (cal-html-htmlify-list): Add optional holidays argument.
8671 (cal-html-insert-agenda-days): Include holidays in the output.
8672 (cal-html-one-month): Maybe include holidays.
8673
8674 * calendar/holidays.el (holiday-in-range):
8675 Move here from cal-tex-list-holidays.
8676 * calendar/cal-tex.el (cal-tex-list-holidays):
8677 Make it an obsolete alias for holiday-in-range. Update all callers.
8678
8679 2012-05-05 Chong Yidong <cyd@gnu.org>
8680
8681 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
8682 Nextstep.
8683
8684 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
8685
8686 * files.el (file-auto-mode-skip): New var.
8687 (set-auto-mode-1): Use it.
8688
8689 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
8690
8691 * repeat.el: Use lexical-binding.
8692 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
8693 (repeat-undo-count): Remove.
8694 (repeat):
8695 * progmodes/octave-mod.el (octave-abbrev-start):
8696 * progmodes/f90.el (f90-abbrev-start):
8697 * face-remap.el (text-scale-adjust):
8698 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
8699
8700 * emacs-lisp/pcase.el (pcase--let*): New function.
8701 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
8702 a bit more.
8703 (pcase--split-pred): Be more clever about ruling out overlap between
8704 a predicate and some constant pattern.
8705 (pcase--q1): Use `null' instead of (eq foo nil).
8706
8707 * subr.el (setq-local, defvar-local): New macros.
8708 (kbd): Redefine as an alias.
8709 (with-selected-window): Leave unrelated frames alone.
8710 (set-temporary-overlay-map): New function.
8711
8712 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
8713
8714 * subr.el (user-error): New function.
8715 * window.el (switch-to-buffer):
8716 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
8717 (smerge-match-conflict):
8718 * simple.el (previous-matching-history-element)
8719 (next-matching-history-element, goto-history-element, undo-more)
8720 (undo-start):
8721 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
8722 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
8723 (next-file, tags-loop-scan, list-tags, complete-tag):
8724 * progmodes/compile.el (compilation-loop):
8725 * mouse.el (mouse-minibuffer-check):
8726 * man.el (Man-bgproc-sentinel, Man-goto-page):
8727 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
8728 (Info-history-forward, Info-follow-reference, Info-menu)
8729 (Info-extract-menu-item, Info-extract-menu-counting)
8730 (Info-forward-node, Info-backward-node, Info-next-menu-item)
8731 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
8732 (Info-next-reference, Info-prev-reference, Info-index)
8733 (Info-index-next, Info-follow-nearest-node)
8734 (Info-copy-current-node-name):
8735 * imenu.el (imenu--make-index-alist)
8736 (imenu-default-create-index-function, imenu-add-to-menubar):
8737 * files.el (basic-save-buffer, recover-file):
8738 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
8739 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
8740 (checkdoc-message-text, checkdoc-defun):
8741 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
8742 * cus-edit.el (customize-changed-options, customize-rogue)
8743 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
8744 (custom-variable-mark-to-reset-standard)
8745 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
8746 (custom-file):
8747 * completion.el (check-completion-length):
8748 * comint.el (comint-search-arg)
8749 (comint-previous-matching-input-string-position)
8750 (comint-previous-matching-input)
8751 (comint-replace-by-expanded-history-before-point, comint-send-input)
8752 (comint-copy-old-input, comint-backward-matching-input)
8753 (comint-goto-process-mark, comint-set-process-mark):
8754 * calendar/calendar.el (calendar-cursor-to-date): Use it.
8755 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
8756
8757 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
8758
8759 * dabbrev.el (dabbrev--ignore-case-p): New function.
8760 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
8761 Use it.
8762
8763 * files.el (automount-dir-prefix): Mark as obsolete.
8764
8765 2012-05-04 Glenn Morris <rgm@gnu.org>
8766
8767 * patcomp.el, play/bruce.el: Move to obsolete/.
8768
8769 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
8770
8771 Fix minor Y10k bugs.
8772 * arc-mode.el (archive-unixdate):
8773 * autoinsert.el (auto-insert-alist):
8774 * calc/calc-forms.el (math-this-year):
8775 * emacs-lisp/copyright.el (copyright-current-year)
8776 (copyright-update-year, copyright):
8777 * tar-mode.el (tar-clip-time-string):
8778 * time.el (display-time-update):
8779 Don't assume years have 4 digits.
8780
8781 2012-05-04 Chong Yidong <cyd@gnu.org>
8782
8783 * dos-w32.el (file-name-buffer-file-type-alist)
8784 (direct-print-region-use-command-dot-com):
8785 * ffap.el (ffap-menu-regexp):
8786 * find-file.el (ff-special-constructs):
8787 * follow.el (follow-debug):
8788 * forms.el (forms--debug):
8789 * iswitchb.el (iswitchb-all-frames):
8790 * ido.el (ido-all-frames):
8791 * emacs-lisp/timer.el (timer-max-repeats):
8792 * mail/feedmail.el (feedmail-mail-send-hook)
8793 (feedmail-mail-send-hook-queued):
8794 * mail/footnote.el (footnote-signature-separator):
8795 * mail/mailabbrev.el (mail-alias-separator-string)
8796 (mail-abbrev-mode-regexp):
8797 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
8798 * progmodes/idlwave.el (idlwave-libinfo-file)
8799 (idlwave-default-completion-case-is-down)
8800 (idlwave-library-routines): Convert defvars to defcustoms.
8801
8802 * mail/rmail.el (rmail-decode-mime-charset):
8803 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
8804 (idlwave-shell-fix-inserted-breaks)
8805 (idlwave-shell-activate-alt-keybindings)
8806 (idlwave-shell-use-breakpoint-glyph):
8807 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
8808
8809 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
8810
8811 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
8812
8813 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
8814
8815 * progmodes/verilog-mode.el (font-lock-keywords):
8816 Fix mis-highligting auto. Reported by Craig Barner.
8817 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
8818 defines from global name space. Reported by Dan Dever.
8819 (verilog-auto-reset, verilog-auto-reset-widths)
8820 (verilog-auto-tieoff): Support using unbased numbers for
8821 AUTORESET and AUTOTIEOFF.
8822 (verilog-submit-bug-report): Update variable list.
8823 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
8824 parenthesis from not matching. Reported by Michael Rytting.
8825 (verilog-auto-template-lint): Fix hash error when linting modules
8826 with no used templates.
8827 (verilog-warn, verilog-warn-error)
8828 (verilog-warn-fatal): When non-interactive report multiple
8829 warnings before exiting. Suggested by Brad Dobbie.
8830 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
8831 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
8832 to report unused template errors. Reported by Brad Dobbie.
8833 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
8834 nets, bug438. Reported by Vns Blore.
8835 (verilog-auto-inout-module, verilog-auto-reg)
8836 (verilog-read-decls, verilog-read-sub-decls-sig)
8837 (verilog-signals-edit-wire-reg, verilog-signals-with):
8838 Fix passing of Verilog data types in ANSI input/output ports
8839 such as "output logic" into the AUTOs. Special case "wire" and
8840 "reg" for backwards compatibility presuming Verilog 2001.
8841 (verilog-auto-ascii-enum): Add "auto enum" as alias.
8842 (verilog-preprocess): Fix replication of preprocess output.
8843 Reported by Brad Dobbie.
8844 (verilog-auto-inst-interfaced-ports):
8845 Create verilog-auto-inst-interfaced-ports, bug429.
8846 Reported by Julian Gorfajn.
8847 (verilog-after-save-font-hook)
8848 (verilog-before-save-font-hook): New variable.
8849 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
8850 (verilog-save-font-mods): Wrap disabling fontification, reported
8851 by David Rogoff.
8852 (verilog-do-indent, verilog-pretty-declarations-auto)
8853 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
8854 Reported by Pierre-David Pfister.
8855 (verilog-set-auto-endcomments): Fix endtask auto comments outside
8856 of class declarations, bug292. Reported by Kevin Heilman.
8857 (verilog-read-decls): Fix 'parameter type' not appearing in
8858 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
8859 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
8860 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
8861 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
8862 Reported by David Kravitz.
8863
8864 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
8865
8866 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
8867 assignment with tests in ifs and for loops.
8868 (verilog-extended-complete-re, verilog-complete-reg): Change so
8869 that DPI inport functions don't look like fuction declarations.
8870 (verilog-pretty-expr): Don't line up assignment
8871 operations to the test and increment in if and for loops
8872 (verilog-extended-complete-re, verilog-complete-reg): Change so
8873 that DPI inport functions don't look like fuction declarations.
8874
8875 2012-05-03 Kenichi Handa <handa@m17n.org>
8876
8877 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
8878 decoding, and show a warning message without signaling an error
8879 (Bug#11282).
8880
8881 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
8882
8883 * emacs-lisp/bytecomp.el
8884 (byte-compile-file-form-custom-declare-variable): Compile all elements,
8885 since cconv.el might have introduced :fun-body, internal-make-closure,
8886 and friends for bytecomp to handle (bug#11391).
8887 * custom.el (defcustom): Avoid ((λ ..) ..).
8888
8889 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
8890
8891 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
8892
8893 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
8894
8895 * notifications.el (dbus-debug):
8896 * term/linux.el (gpm-mouse-enable):
8897 * term/screen.el (xterm-register-default-colors): Declare.
8898
8899 2012-05-02 Chong Yidong <cyd@gnu.org>
8900
8901 * cus-start.el (gc-cons-percentage, exec-suffixes)
8902 (dos-display-scancodes, dos-hyper-key, dos-super-key)
8903 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
8904 (make-cursor-line-fully-visible, void-text-area-pointer)
8905 (font-list-limit): Add customization data.
8906
8907 * allout.el (allout-exposure-change-functions)
8908 (allout-structure-added-functions)
8909 (allout-structure-deleted-functions)
8910 (allout-structure-shifted-functions): Rename abnormal hooks from
8911 *-hook, and convert to defcustoms.
8912 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
8913 Convert to defcustoms.
8914 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
8915
8916 * allout-widgets.el: Hook callers changed.
8917
8918 2012-05-02 Eli Zaretskii <eliz@gnu.org>
8919
8920 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
8921 the yanked message in preference to the default value of
8922 buffer-file-coding-system.
8923
8924 2012-05-02 Martin Rudalics <rudalics@gmx.at>
8925
8926 * window.el (display-buffer--action-function-custom-type):
8927 Fix entry.
8928
8929 2012-05-02 Alan Mackenzie <acm@muc.de>
8930
8931 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
8932
8933 2012-05-01 Glenn Morris <rgm@gnu.org>
8934
8935 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
8936
8937 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
8938
8939 * cus-edit.el (custom-variable-documentation): Simplify with format.
8940
8941 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
8942 Stefan Monnier <monnier@iro.umontreal.ca>
8943
8944 * simple.el (suggest-key-bindings, execute-extended-command):
8945 Move from keyboard.c.
8946
8947 2012-05-01 Chong Yidong <cyd@gnu.org>
8948
8949 * follow.el: Eliminate advice.
8950 (set-process-filter, process-filter, sit-for): Advice deleted.
8951 (follow-mode-off-hook): Obsolete hook removed.
8952 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
8953 Vars deleted.
8954 (follow-auto): Use a :set function.
8955 (follow-mode): Rewritten. Don't advise process filters.
8956 (follow-switch-to-current-buffer-all, follow-scroll-up)
8957 (follow-scroll-down): Assume follow-mode is bound.
8958 (follow-comint-scroll-to-bottom)
8959 (follow-align-compilation-windows): New functions.
8960 (follow--window-sorter): New function.
8961 (follow-all-followers): Use it to explicitly sort windows by their
8962 positions; don't make assumptions about next-window order.
8963 (follow-windows-start-end, follow-delete-other-windows-and-split)
8964 (follow-calc-win-start): Doc fix.
8965 (follow-windows-aligned-p, follow-select-if-visible): Don't call
8966 vertical-motion unnecessarily.
8967 (follow-adjust-window): New function.
8968 (follow-post-command-hook): Use it.
8969 (follow-call-set-process-filter, follow-call-process-filter)
8970 (follow-intercept-process-output, follow-tidy-process-filter-alist)
8971 (follow-stop-intercept-process-output, follow-generic-filter):
8972 Functions deleted.
8973 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
8974 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
8975 New functions, replacing advice on scroll-bar-* commands.
8976 (follow-mwheel-scroll): New function (Bug#4112).
8977
8978 * comint.el (comint-adjust-point): New function.
8979 (comint-postoutput-scroll-to-bottom): Use it.
8980 Call follow-comint-scroll-to-bottom for Follow mode buffers.
8981
8982 2012-05-01 Glenn Morris <rgm@gnu.org>
8983
8984 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
8985 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
8986 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
8987 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
8988 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
8989 Remove no-byte-compile setting.
8990
8991 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
8992
8993 * minibuffer.el (completion-table-with-quoting): Fix compatibility
8994 all-completions code to not return a number in the last cdr.
8995
8996 2012-04-30 Leo Liu <sdl.web@gmail.com>
8997
8998 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
8999 read-only error.
9000
9001 2012-04-29 Chong Yidong <cyd@gnu.org>
9002
9003 * follow.el (follow-calc-win-end): Rewrite to handle partial
9004 screen lines correctly (Bug#8390).
9005 (follow-avoid-tail-recenter): Minor cleanup.
9006
9007 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
9008
9009 Avoid the obsolete `assoc' package.
9010 * speedbar.el (speedbar-refresh): Avoid adelete.
9011 (speedbar-file-lists): Simplify and avoid aput.
9012 * man.el (Man--sections, Man--refpages): New vars, replacing
9013 Man-sections-alist and Man-refpages-alist.
9014 (Man-build-section-alist, Man-build-references-alist):
9015 Use them; avoid aput.
9016 (Man--last-section, Man--last-refpage): New vars.
9017 (Man-follow-manual-reference): Use them.
9018 Use the `default' arg of completing-read.
9019 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
9020
9021 2012-04-27 Chong Yidong <cyd@gnu.org>
9022
9023 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
9024
9025 * startup.el (x-apply-session-resources): New function.
9026
9027 * term/ns-win.el (ns-initialize-window-system):
9028 * term/w32-win.el (w32-initialize-window-system):
9029 * term/x-win.el (x-initialize-window-system): Use it to properly
9030 set menu-bar-mode and other vars from X resources, even if the
9031 initial frame is not a window-system frame (Bug#2299).
9032
9033 * subr.el (read-key): Avoid running filter function when setting
9034 up temporary tool bar entries (Bug#9922).
9035
9036 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
9037
9038 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
9039 (Bug#11344)
9040
9041 2012-04-27 Chong Yidong <cyd@gnu.org>
9042
9043 * select.el (xselect--encode-string): New function, split from
9044 xselect-convert-to-string.
9045 (xselect-convert-to-string): Use it.
9046 (xselect-convert-to-filename, xselect-convert-to-os)
9047 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
9048 returned strings are properly encoded (Bug#11315).
9049
9050 2012-04-27 Chong Yidong <cyd@gnu.org>
9051
9052 * simple.el (delete-active-region): Move to killing custom group.
9053
9054 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
9055
9056 * progmodes/which-func.el (which-func-current): Quote %
9057 characters for mode-line processing.
9058
9059 2012-04-27 Chong Yidong <cyd@gnu.org>
9060
9061 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
9062 reaching eob (Bug#11286).
9063
9064 2012-04-27 Eli Zaretskii <eliz@gnu.org>
9065
9066 * progmodes/gdb-mi.el (gdb-control-level): New variable.
9067 (gdb): Make it buffer-local and init to zero.
9068 (gdb-control-commands-regexp): New variable.
9069 (gdb-send): Don't wrap in "-interpreter-exec console" if
9070 gdb-control-level is positive. Increment gdb-control-level
9071 whenever the command matches gdb-control-commands-regexp, and
9072 decrement it each time the command is "end". (Bug#11279)
9073
9074 2012-04-27 Martin Rudalics <rudalics@gmx.at>
9075
9076 * window.el (adjust-window-trailing-edge, enlarge-window)
9077 (shrink-window, window-resize):
9078 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
9079 windows (Bug#11276).
9080
9081 2012-04-27 Chong Yidong <cyd@gnu.org>
9082
9083 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
9084 fix "missing prefix" warning. All callers changed.
9085
9086 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
9087
9088 * emacs-lisp/assoc.el: Move to obsolete/.
9089
9090 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
9091
9092 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
9093
9094 * term/ns-win.el (ns-define-service):
9095 * progmodes/pascal.el (pascal-goto-defun):
9096 * progmodes/js.el (js--read-tab):
9097 * progmodes/etags.el (tags-lazy-completion-table):
9098 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
9099 * emacs-lisp/ewoc.el (ewoc--wrap):
9100 * emacs-lisp/assoc.el (aput, adelete, amake):
9101 * doc-view.el (doc-view-convert-current-doc):
9102 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
9103
9104 2012-04-26 Chong Yidong <cyd@gnu.org>
9105
9106 * image.el (image-type-from-buffer): Only return supported image
9107 type (Bug#9045).
9108
9109 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
9110 value, for symmetry with diff-end-of-hunk.
9111 (diff-split-hunk, diff-find-source-location)
9112 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
9113 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
9114 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
9115 compute the relevant hunk or file properly (Bug#6005).
9116 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
9117
9118 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
9119
9120 * vc/vc-mtn.el:
9121 * vc/vc-hg.el:
9122 * vc/vc-git.el:
9123 * vc/vc-dir.el:
9124 * vc/vc-cvs.el:
9125 * vc/vc-bzr.el:
9126 * vc/vc-arch.el:
9127 * vc/vc.el: Replace lexical-let by lexical-binding.
9128 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
9129 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
9130 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
9131
9132 2012-04-26 Chong Yidong <cyd@gnu.org>
9133
9134 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
9135 (diff-mode-shared-map): Bind it to / and [remap undo].
9136
9137 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
9138 (ediff-window-setup-function): Use it as the default, to set up
9139 windows based on whether the current frame is graphical (Bug#2138).
9140 (ediff-choose-window-setup-function-automatically): Make obsolete.
9141
9142 * vc/ediff-init.el: Always define ediff-pixel-width/height.
9143
9144 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9145
9146 * ffap.el: Remove old code for obsolete package.
9147 (ffap-complete-as-file-p): Remove.
9148
9149 Use completion-table-with-quoting for comint and pcomplete.
9150 * comint.el (comint--unquote&requote-argument)
9151 (comint--unquote-argument, comint--requote-argument): New functions.
9152 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
9153 (comint-quote-filename): Use regexp-opt-charset.
9154 (comint--common-suffix, comint--common-quoted-suffix)
9155 (comint--table-subvert): Remove.
9156 (comint-unquote-function, comint-requote-function): New vars.
9157 (comint--complete-file-name-data): Use them with
9158 completion-table-with-quoting.
9159 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
9160 * pcomplete.el (pcomplete-arg-quote-list)
9161 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
9162 (pcomplete-unquote-argument-function): Default to non-nil.
9163 (pcomplete-unquote-argument): Simplify.
9164 (pcomplete--common-quoted-suffix): Remove.
9165 (pcomplete-requote-argument-function): New var.
9166 (pcomplete--common-suffix): New function.
9167 (pcomplete-completions-at-point): Use completion-table-with-quoting
9168 and completion-table-subvert.
9169
9170 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
9171 (minibuffer--double-dollars): Preserve properties.
9172 (completion--sifn-requote): New function.
9173 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
9174
9175 * minibuffer.el: Add support for completion of quoted/escaped data.
9176 (completion-table-with-quoting, completion-table-subvert): New funs.
9177 (completion--twq-try, completion--twq-all): New functions.
9178 (completion--nth-completion): New function.
9179 (completion-try-completion, completion-all-completions): Use it.
9180
9181 2012-04-25 Leo Liu <sdl.web@gmail.com>
9182
9183 * progmodes/python.el (python-pdbtrack-get-source-buffer):
9184 Use compilation-message if available to find real filename.
9185
9186 2012-04-25 Chong Yidong <cyd@gnu.org>
9187
9188 * vc/diff-mode.el (diff-setup-whitespace): New function.
9189 (diff-mode): Use it.
9190
9191 * vc/diff.el (diff-sentinel):
9192 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
9193 Whitespace mode variables based on diff style (Bug#8612).
9194
9195 2012-04-25 Leo Liu <sdl.web@gmail.com>
9196
9197 * progmodes/python.el (python-send-region): Add suffix .py to the
9198 temp file.
9199
9200 * files.el (auto-mode-alist): Use javascript-mode instead.
9201
9202 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
9203
9204 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
9205
9206 * net/soap-client.el (soap-resolve-references-for-sequence-type)
9207 (soap-resolve-references-for-array-type): Hack to prevent self
9208 references, see Bug#9.
9209 (soap-parse-envelope): Report the contents of the 'detail' node
9210 when receiving a fault reply.
9211 (soap-parse-envelope): Report the contents of the entire 'detail' node.
9212
9213 * net/soap-inspect.el (soap-sample-value-for-simple-type)
9214 (soap-inspect-simple-type): New function.
9215
9216 * net/soap-client.el (soap-simple-type): New struct.
9217 (soap-default-xsd-types, soap-default-soapenc-types)
9218 (soap-decode-basic-type, soap-encode-basic-type):
9219 support unsignedInt and double basic types.
9220 (soap-resolve-references-for-simple-type)
9221 (soap-parse-simple-type, soap-encode-simple-type): New function.
9222 (soap-parse-schema): Parse xsd:simpleType declarations.
9223
9224 * net/soap-client.el (soap-default-xsd-types)
9225 (soap-default-soapenc-types): Add integer, byte and anyURI types.
9226 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
9227 the local name of "soapenc:Array".
9228 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
9229 decoding integer, byte and anyURI xsd types.
9230
9231 2012-04-25 Chong Yidong <cyd@gnu.org>
9232
9233 * cus-edit.el (custom-buffer-create-internal): Update header text.
9234
9235 2012-04-25 Eli Zaretskii <eliz@gnu.org>
9236
9237 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
9238 settings on 'system-type', not on 'window-system'. On MS-Windows,
9239 set interactive-mode on in GDB.
9240
9241 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
9242
9243 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
9244 (ruby-syntax-propertize-regexp): Remove.
9245 (ruby-syntax-propertize-function): Split regexp into chunks.
9246 Match following code directly.
9247
9248 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
9249
9250 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
9251 (ruby-syntax-propertize-regexp): New function.
9252 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
9253 by a special keyword.
9254
9255 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
9256 (ruby-syntax-general-delimiters-goto-beg)
9257 (ruby-syntax-propertize-general-delimiters): New functions.
9258 (ruby-syntax-propertize-function): Use them to handle GDL.
9259 (ruby-font-lock-keywords): Move old handling of GDL...
9260 (ruby-font-lock-syntactic-keywords): .. to here.
9261 (ruby-calculate-indent): Adjust indentation for GDL.
9262
9263 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
9264
9265 * notifications.el (top): Remove unneeded declarations.
9266 (notifications-specification-version): Change to "1.2".
9267 (notifications-interface, notifications-notify-method)
9268 (notifications-close-notification-method): Fix docstring.
9269 (notifications-get-capabilities-method): New defconst.
9270 (notifications-notify): Add :action-items, :resident and
9271 :transient hints. Change "image_data" to "image-data" and
9272 "image_path" to "image-path".
9273 (notifications-get-capabilities): New defun.
9274
9275 2012-04-24 Leo Liu <sdl.web@gmail.com>
9276
9277 * progmodes/python.el: Move hideshow setup to the end.
9278
9279 2012-04-24 Martin Rudalics <rudalics@gmx.at>
9280
9281 * window.el (handle-select-window): Clear echo area since this is
9282 no more done by read_char (Bug#11304).
9283
9284 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
9285
9286 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
9287 and `/ M' to filter-derived-mode.
9288 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
9289 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
9290 (ibuffer-mark-by-mode): Use default rather than initial-input.
9291 (ibuffer-filter-by-derived-mode): Autoload and require-match.
9292
9293 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
9294
9295 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
9296 (ibuffer-filter-by-derived-mode): New filter.
9297 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
9298
9299 2012-04-23 Andreas Politz <politza@fh-trier.de>
9300
9301 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
9302
9303 2012-04-23 Chong Yidong <cyd@gnu.org>
9304
9305 * cus-edit.el (customize-apropos, customize-apropos-options):
9306 Disable matching of non-option variables (Bug#11176).
9307 (customize-option, customize-option-other-window)
9308 (customize-changed-options): Doc fix.
9309 (customize-apropos-options, customize-apropos-faces)
9310 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
9311
9312 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
9313 Fix word list splitting (Bug#11132).
9314 (apropos-symbol, apropos-keybinding, apropos-label)
9315 (apropos-property, apropos-function-button)
9316 (apropos-variable-button, apropos-misc-button): New faces.
9317 (apropos-symbol-face, apropos-keybinding-face)
9318 (apropos-label-face, apropos-property-face, apropos-match-face):
9319 Variables removed (Bug#8396).
9320 (apropos-library-button, apropos-format-plist, apropos-print)
9321 (apropos-print-doc, apropos-describe-plist): Callers changed.
9322
9323 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
9324
9325 * net/xesam.el (xesam-mode-map): Use let-bound map in
9326 initialization. (Bug#11292)
9327
9328 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9329
9330 Preserve ispell session localwords when switching back to
9331 original buffer.
9332
9333 * textmodes/ispell.el (ispell-buffer-session-localwords):
9334 New buffer-local variable to hold buffer session localwords.
9335 (ispell-kill-ispell): Add option 'clear to delete session
9336 localwords.
9337 (ispell-command-loop, ispell-change-dictionary)
9338 (ispell-buffer-local-words): Preserve session localwords when
9339 needed.
9340
9341 * textmodes/flyspell.el (flyspell-process-localwords)
9342 (flyspell-do-correct): Preserve session localwords when needed.
9343
9344 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9345
9346 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
9347 using obsolete `translation-table-for-input'.
9348 (ispell-word, ispell-process-line, ispell-complete-word):
9349 Use plain `insert' instead of removed `ispell-insert-word'.
9350
9351 2012-04-22 Chong Yidong <cyd@gnu.org>
9352
9353 * cus-edit.el (custom-variable-menu)
9354 (custom-variable-reset-saved, custom-face-menu)
9355 (custom-face-reset-saved): If there is no saved value, make the
9356 "reset-saved" operation bring back the default (Bug#9509).
9357 (custom-face-state): Properly detect themed faces.
9358
9359 * faces.el (face-spec-set): Stop supporting deprecated form of
9360 third arg.
9361
9362 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
9363
9364 Move functions from C to Lisp. Make non-blocking method calls
9365 the default. Implement further D-Bus standard interfaces.
9366
9367 * net/dbus.el (dbus-message-internal): Declare function.
9368 Remove unneeded function declarations.
9369 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
9370 (dbus-message-type-method-return, dbus-message-type-error)
9371 (dbus-message-type-signal): Declare variables. Remove local
9372 definitions.
9373 (dbus-interface-dbus, dbus-interface-peer)
9374 (dbus-interface-introspectable, dbus-interface-properties)
9375 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
9376 Adapt docstring.
9377 (dbus-interface-objectmanager): New defconst.
9378 (dbus-call-method, dbus-call-method-asynchronously)
9379 (dbus-send-signal, dbus-method-return-internal)
9380 (dbus-method-error-internal, dbus-register-service)
9381 (dbus-register-signal, dbus-register-method): New defuns, moved
9382 from dbusbind.c
9383 (dbus-call-method-handler, dbus-setenv)
9384 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
9385 New defuns.
9386 (dbus-call-method-non-blocking): Make it an obsolete function.
9387 (dbus-unregister-object, dbus-unregister-service)
9388 (dbus-handle-event, dbus-register-property)
9389 (dbus-property-handler): Obey the new structure of
9390 `bus-registered-objects'.
9391 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
9392 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
9393 Use `dbus-call-method'.
9394
9395 2012-04-22 Chong Yidong <cyd@gnu.org>
9396
9397 * cus-edit.el (custom-commands, custom-reset-menu)
9398 (Custom-reset-standard): Tweak labels.
9399 (custom-reset-button-menu): Change default to t.
9400 (custom-buffer-create-internal): For the custom-reset-button-menu
9401 case, put the revert button first.
9402 (custom-group-subtitle): New face.
9403 (custom-group-value-create): Align docstring to a specific column.
9404
9405 * wid-edit.el (widget-documentation-link-add): Don't handle
9406 indentation in this function.
9407 (widget-documentation-string-indent-to): New function.
9408 (widget-documentation-string-value-create): Use it.
9409
9410 * autorevert.el (auto-revert):
9411 * epg-config.el (epg):
9412 * ibuffer.el (ibuffer):
9413 * mpc.el (mpc):
9414 * ses.el (ses):
9415 * eshell/eshell.el (eshell):
9416 * net/ange-ftp.el (ange-ftp):
9417 * progmodes/ebnf2ps.el (postscript):
9418 * progmodes/flymake.el (flymake):
9419 * progmodes/prolog.el (prolog):
9420 * progmodes/verilog-mode.el (verilog-mode):
9421 * progmodes/which-func.el (which-func):
9422 * term/xterm.el (xterm):
9423 * textmodes/picture.el (picture):
9424 * textmodes/tildify.el (tildify):
9425 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
9426 customization buffers.
9427
9428 2012-04-22 Alan Mackenzie <acm@muc.de>
9429
9430 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
9431 Adding a ) can hide the resulting (..) from searches. Fix it.
9432 Bound the backward search to the position of the existing (.
9433
9434 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
9435
9436 * progmodes/verilog-mode.el (verilog-mode): Check whether
9437 which-func-modes is t before adding verilog-mode.
9438 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
9439
9440 2012-04-21 Leo Liu <sdl.web@gmail.com>
9441
9442 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
9443
9444 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
9445
9446 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
9447 filling of the last column of a table (Bug#5635).
9448 (woman-find-next-control-line): New arg, specifying an additional
9449 regexp component for the control line.
9450 (woman2-roff-buffer): Use it.
9451 (woman-break-table): New function.
9452 (woman2-TS): Use it.
9453
9454 2012-04-21 Chong Yidong <cyd@gnu.org>
9455
9456 * woman.el (woman-set-buffer-display-table, woman-decode-region)
9457 (woman-horizontal-escapes, woman-negative-vertical-space)
9458 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
9459 (WoMan-warn-ignored): Use ?\s instead of ?\ .
9460
9461 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9462
9463 * minibuffer.el (completion-file-name-table): Complete user names.
9464
9465 2012-04-20 Leo Liu <sdl.web@gmail.com>
9466
9467 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
9468 and pcase-let*.
9469
9470 2012-04-20 Chong Yidong <cyd@gnu.org>
9471
9472 * server.el (server-execute): Respect initial-buffer-choice if it
9473 is a string and there are no files to open (Bug#2825).
9474 (server-create-window-system-frame, server-create-tty-frame):
9475 Don't switch buffers here.
9476 (server-process-filter): Only try to open a window system frame if
9477 compiled with graphical support (Bug#8314).
9478
9479 2012-04-20 Dan Nicolaescu <dann@gnu.org>
9480
9481 * battery.el (battery-echo-area-format): Display remaining time
9482 for sysfs backend too (Bug#11269).
9483 (battery-linux-sysfs): Fix conditional for the charge.
9484
9485 2012-04-20 Chong Yidong <cyd@gnu.org>
9486
9487 * progmodes/gdb-mi.el (gdb): Revert previous change.
9488 (gdb-inferior-io--init-proc): New function.
9489 (gdb-init-1): Use it.
9490 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
9491 responsible for allocating a new pty and hooking it to gdb when
9492 the old pty gets an EIO due to process exit.
9493 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
9494 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
9495 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
9496
9497 2012-04-20 Eli Zaretskii <eliz@gnu.org>
9498
9499 * window.el (window-min-size, window-sizable, window-min-delta)
9500 (window-max-delta, window--resizable, window-resizable)
9501 (window-total-size, window-full-height-p, window-full-width-p)
9502 (window-in-direction, window--resize-mini-window, window-resize)
9503 (window--resize-child-windows-normal)
9504 (window--resize-child-windows, window--resize-siblings)
9505 (window--resize-this-window, adjust-window-trailing-edge)
9506 (enlarge-window, shrink-window): Doc fixes.
9507
9508 2012-04-20 Chong Yidong <cyd@gnu.org>
9509
9510 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
9511 New function to call delete-process on the gdb-inferior buffer's pty.
9512 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
9513 pty process (Bug#11273).
9514 (gdb-update): New arg to suppress talking to the gdb process.
9515 (gdb-done-or-error): Use it.
9516 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
9517 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
9518 sentinel not being called.
9519
9520 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
9521
9522 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
9523
9524 2012-04-20 Glenn Morris <rgm@gnu.org>
9525
9526 * net/network-stream.el (open-network-stream): Doc fix.
9527
9528 2012-04-20 Chong Yidong <cyd@gnu.org>
9529
9530 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
9531
9532 2012-04-20 Alan Mackenzie <acm@muc.de>
9533
9534 Ensure searching for keywords is case sensitive.
9535
9536 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
9537 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
9538 (c-defun-name, c-mark-function, c-cpp-define-name)
9539 (c-comment-indent, c-scan-conditionals, c-indent-defun)
9540 (c-context-line-break): Bind case-fold-search to nil.
9541
9542 * progmodes/cc-mode.el (c-font-lock-fontify-region):
9543 Bind case-fold-search to nil.
9544
9545 2012-04-20 Chong Yidong <cyd@gnu.org>
9546
9547 * mail/sendmail.el (mail-bury): Call return action with the right
9548 Rmail buffer (Bug#11242).
9549
9550 * server.el (server-process-filter): Handle corner case where both
9551 tty and nowait options are present (Bug#11102).
9552
9553 2012-04-20 Eli Zaretskii <eliz@gnu.org>
9554
9555 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
9556 (top level): Put into the executable the ident-style '$Id:' tag on
9557 windows-nt as well.
9558
9559 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9560
9561 * electric.el (electric-indent-post-self-insert-function): Check that
9562 electric-indent-mode is enabled in current buffer.
9563
9564 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
9565
9566 * imenu.el (imenu-progress-message): Restore; it is "used" in
9567 erc/erc-imenu.el and net/snmp-mode.el.
9568
9569 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
9570
9571 * avoid.el (mouse-avoidance-mode): Mark unused arg.
9572 (mouse-avoidance-nudge-mouse): Remove unused binding.
9573
9574 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
9575
9576 * descr-text.el (describe-char):
9577 * progmodes/python.el (python-describe-symbol):
9578 Don't call `toggle-read-only', set `buffer-read-only'.
9579
9580 * imenu.el (imenu-default-goto-function): Mark unused args.
9581 (imenu-progress-message): Remove obsolete macro; all callers changed.
9582
9583 * subr.el (keymap-canonicalize): Remove unused binding.
9584 (read-passwd): Mark unused arg.
9585
9586 * tutorial.el (tutorial--display-changes): Remove unused binding.
9587 (tutorial--save-tutorial-to): Remove unused variable.
9588
9589 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
9590 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
9591 (package-generate-autoloads, package-menu--generate)
9592 (package-menu--find-upgrades): Remove unused bindings.
9593
9594 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
9595 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
9596 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
9597 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
9598 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
9599 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
9600 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
9601 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
9602 (cua-delete-char-rectangle): Mark unused args.
9603 (cua-align-rectangle): Remove unused binding.
9604
9605 * mail/rmail.el (compilation--message->loc)
9606 (epa--find-coding-system-for-mime-charset): Declare.
9607
9608 * net/dbus.el (dbus-register-service): Declare.
9609 (dbus-name-owner-changed-handler): Remove unused binding.
9610
9611 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
9612 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
9613 (nxml-scan-backward-within): Mark unused arg.
9614 (nxml-dynamic-markup-word): Remove unused binding.
9615
9616 * mouse.el (mouse-menu-major-mode-map):
9617 * emacs-lisp/authors.el (authors-scan-change-log)
9618 (authors-add-to-author-list):
9619 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
9620 * emacs-lisp/smie.el (smie-auto-fill):
9621 * mail/sendmail.el (mail-bury):
9622 * mail/unrmail.el (unrmail):
9623 * net/tls.el (open-tls-stream):
9624 * textmodes/picture.el (picture-mouse-set-point):
9625 Remove unused bindings.
9626
9627 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
9628
9629 * net/tramp.el (tramp-action-password): Let-bind
9630 `enable-recursive-minibuffers' to t.
9631
9632 2012-04-18 Sam Steingold <sds@gnu.org>
9633
9634 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
9635 instead of 'string to accommodate values like [f11].
9636 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
9637 * progmodes/gdb-mi.el: Likewise.
9638
9639 2012-04-18 Leo Liu <sdl.web@gmail.com>
9640
9641 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
9642 current buffer.
9643 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
9644 LOCAL is nil.
9645
9646 2012-04-18 Chong Yidong <cyd@gnu.org>
9647
9648 * simple.el (line-move): Use forward-line if in batch mode
9649 (Bug#11053).
9650
9651 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
9652
9653 * files.el (after-find-file): Do not try to add a final newline if
9654 the buffer is read-only (Bug#11156).
9655
9656 2012-04-17 Richard Stallman <rms@gnu.org>
9657
9658 * mail/rmail.el (rmail-start-mail):
9659 Pass (rmail-mail-return...) for the return-action.
9660 Pass (rmail-yank-current-message...) for the yank-action.
9661 (rmail-yank-current-message): New function.
9662 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
9663 (rmail-reply): Likewise.
9664 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
9665
9666 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
9667 buffer, not the last. Reject temp buffers. Use the rmail-mode
9668 buffer, not newbuf.
9669
9670 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
9671
9672 * server.el (server-ensure-safe-dir): Simplify.
9673
9674 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
9675
9676 * emacs-lisp/smie.el: Provide smarter auto-filling.
9677 (smie-auto-fill): New function.
9678 (smie-setup): Use it.
9679
9680 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
9681
9682 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
9683
9684 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
9685 (comment-indent): Use it.
9686
9687 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
9688
9689 * ses.el: The overall change is to add cell renaming, that is
9690 setting fancy names for cell symbols other than name matching
9691 "\\`[A-Z]+[0-9]+\\'" regexp .
9692 (ses-localvars): Add ses--renamed-cell-symb-list.
9693 (ses-create-cell-variable): New defun.
9694 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
9695 (ses-relocate-formula): Relocate formulas only for cells the
9696 symbols of which are not renamed, i.e. symbols whose names do not
9697 match regexp "\\`[A-Z]+[0-9]+\\'".
9698 (ses-relocate-all): Relocate values only for cells the symbols of
9699 which are not renamed.
9700 (ses-load): Create cells variables as the (ses-cell ...) are read,
9701 in order to check row col consistency with cell symbol name only
9702 for cells that are not renamed.
9703 (ses-replace-name-in-formula): New defun.
9704 (ses-rename-cell): New defun.
9705
9706 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
9707
9708 * progmodes/perl-mode.el (perl-indent-parens-as-block):
9709 New option (bug#11118).
9710 (perl-calculate-indent): Respect it.
9711
9712 2012-04-17 Glenn Morris <rgm@gnu.org>
9713
9714 * dired-aux.el (dired-mark-read-string): Doc fix.
9715
9716 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
9717
9718 * dired-aux.el (dired-mark-read-string): Offer optional completion.
9719 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
9720
9721 2012-04-17 Glenn Morris <rgm@gnu.org>
9722
9723 * mouse.el (mouse-drag-track):
9724 * speedbar.el (speedbar-frame-mode):
9725 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
9726
9727 2012-04-16 Leo Liu <sdl.web@gmail.com>
9728
9729 * progmodes/python.el: Trivial cleanup.
9730
9731 2012-04-16 Glenn Morris <rgm@gnu.org>
9732
9733 * vc/vc.el (vc-string-prefix-p):
9734 * vc/pcvs-util.el (cvs-string-prefix-p):
9735 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
9736 * mpc.el (mpc-string-prefix-p):
9737 Make all of these into obsolete aliases for string-prefix-p.
9738 Update callers.
9739 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
9740
9741 * textmodes/two-column.el: Move custom options to the start.
9742 (frame-width): Remove compat definition.
9743 (2C-associate-buffer, 2C-dissociate):
9744 Use with-current-buffer rather than save-excursion.
9745 (2C-dissociate): Force a mode-line update.
9746 (2C-autoscroll): Use ignore-errors.
9747
9748 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
9749 Autoload trivia.
9750
9751 * emacs-lisp/cl-extra.el (*random-state*):
9752 Remove unnecessary declaration.
9753
9754 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
9755
9756 * play/cookie1.el (cookie-snarf):
9757 Give an explicit error if input file cannot be read.
9758
9759 * play/yow.el (yow-file): Use expand-file-name rather than concat.
9760
9761 * progmodes/perl-mode.el (c-macro-expand):
9762 Remove unnecessary autoload (it is in loaddefs.el).
9763
9764 * textmodes/picture.el (picture-desired-column)
9765 (picture-update-desired-column): Convert comments to doc-strings.
9766 (picture-substitute): Remove function.
9767 (picture-mode-map): Initialize in the defvar.
9768
9769 * woman.el: Remove eval-after-load for tar-mode.
9770 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
9771 (woman-tar-extract-file): Autoload it.
9772
9773 * frame.el (automatic-hscrolling): Make this alias obsolete.
9774
9775 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9776
9777 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
9778 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
9779 (ispell-dictionary-base-alist): Revert to original XEmacs
9780 friendly version for default. [:alpha:] will be added in
9781 `ispell-set-spellchecker-params' if needed.
9782
9783 2012-04-16 Chong Yidong <cyd@gnu.org>
9784
9785 * image.el (imagemagick--file-regexp): New variable.
9786 (imagemagick-register-types): Use it.
9787 (imagemagick-types-inhibit): Add :set function. Allow new value
9788 of t to inhibit all types.
9789
9790 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
9791 so we can preload it.
9792
9793 * loadup.el (fboundp): Preload regexp-opt, needed by
9794 imagemagick-register-types.
9795
9796 2012-04-15 Chong Yidong <cyd@gnu.org>
9797
9798 * frame.el (scrolling): Remove nearly unused customization group.
9799
9800 * scroll-all.el (scroll-all-mode): Move to windows group.
9801
9802 2012-04-15 Chong Yidong <cyd@gnu.org>
9803
9804 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
9805
9806 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9807
9808 Avoid the use of ((lambda ...) ...) in lexical-binding code.
9809 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
9810
9811 2012-04-15 Glenn Morris <rgm@gnu.org>
9812
9813 * simple.el (process-file-side-effects): Doc fix.
9814
9815 2012-04-15 Glenn Morris <rgm@gnu.org>
9816
9817 * international/mule-cmds.el (set-language-environment): Doc fix.
9818
9819 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
9820
9821 * server.el (server-auth-key, server-generate-key): Doc fixes.
9822 (server-get-auth-key): Doc fix. Use `string-match-p'.
9823 (server-start): Reflow docstring.
9824
9825 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
9826
9827 * server.el (server-generate-key): `called-interactively-p'
9828 requires a parameter.
9829
9830 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
9831
9832 * server.el (server-auth-key): New variable.
9833 (server-generate-key, server-get-auth-key): New function.
9834 (server-start): Use the new variable and functions to allow
9835 setting a permanent server key (bug#9423).
9836
9837 2012-04-14 Leo Liu <sdl.web@gmail.com>
9838
9839 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
9840
9841 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
9842
9843 Spelling fixes.
9844 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
9845 Emacs uses American spelling.
9846
9847 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
9848
9849 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
9850 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
9851 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
9852 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
9853
9854 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9855
9856 * progmodes/which-func.el (which-func-modes): Change default.
9857
9858 2012-04-14 Kim F. Storm <storm@cua.dk>
9859
9860 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
9861 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
9862
9863 2012-04-14 Chong Yidong <cyd@gnu.org>
9864
9865 * custom.el (custom-theme-set-variables): Doc fix.
9866
9867 2012-04-14 Glenn Morris <rgm@gnu.org>
9868
9869 * international/mule.el (set-auto-coding-for-load): Doc fix.
9870
9871 2012-04-14 Alan Mackenzie <acm@muc.de>
9872
9873 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
9874 imenu work again for Objective C Mode. Correct the *-index values,
9875 these having been disturbed by a previous change in 2011-08.
9876
9877 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
9878 Correct two search limits.
9879
9880 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9881
9882 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
9883
9884 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
9885
9886 * international/characters.el: Fix sorting.
9887
9888 2012-04-14 Eli Zaretskii <eliz@gnu.org>
9889
9890 * international/characters.el: Add more missing Latin case pairs.
9891
9892 2012-04-14 Glenn Morris <rgm@gnu.org>
9893
9894 * files.el (dir-locals-set-class-variables): Doc fix.
9895
9896 2012-04-14 Eli Zaretskii <eliz@gnu.org>
9897
9898 * international/characters.el: Add set-case-syntax-pair call for
9899 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
9900 counterpart. (Bug#11209)
9901
9902 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
9903
9904 2012-04-14 Glenn Morris <rgm@gnu.org>
9905
9906 * calendar/holidays.el (calendar-check-holidays): Doc fix.
9907
9908 2012-04-14 Eli Zaretskii <eliz@gnu.org>
9909
9910 * textmodes/ispell.el (ispell-dictionary-base-alist):
9911 Add data for Hebrew.
9912
9913 2012-04-14 Chong Yidong <cyd@gnu.org>
9914
9915 * net/rcirc.el (rcirc-cmd-quit):
9916 Revert 2012-03-18 change (Bug#11192).
9917
9918 2012-04-14 Glenn Morris <rgm@gnu.org>
9919
9920 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
9921
9922 2012-04-14 Eli Zaretskii <eliz@gnu.org>
9923
9924 * minibuffer.el (completion-in-region-mode-map):
9925 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
9926
9927 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
9928
9929 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
9930
9931 2012-04-13 Masatake YAMATO <yamato@redhat.com>
9932
9933 * minibuffer.el (minibuffer-local-filename-syntax): New variable
9934 to allow `C-M-f' and `C-M-b' to move to the nearest path
9935 separator (bug#9511).
9936
9937 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
9938
9939 * avoid.el: Require cl when compiling. And also move the
9940 `provide' to the end.
9941
9942 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9943
9944 * avoid.el (mouse-avoidance-banish-position): New variable.
9945 (mouse-avoidance-banish-destination): Use it (bug#10165).
9946
9947 2012-04-13 Leo Liu <sdl.web@gmail.com>
9948
9949 * progmodes/which-func.el (which-func-modes): Add objc-mode.
9950
9951 2012-04-13 Ken Brown <kbrown@cornell.edu>
9952
9953 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
9954 this is no longer needed now that cygstart understands file:// URLs.
9955 (browse-url-filename-alist): For the same reason, don't modify
9956 file:// URLs on Cygwin.
9957
9958 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
9959
9960 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
9961 the region on shift if the binding is already shifted (bug#11221).
9962
9963 2012-04-12 Glenn Morris <rgm@gnu.org>
9964
9965 * mail/mailpost.el: Move to obsolete/.
9966
9967 2012-04-12 Drew Adams <drew.adams@oracle.com>
9968
9969 * imenu.el (imenu--generic-function): Ignore invisible definitions
9970 (bug#10123).
9971
9972 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
9973
9974 * hexl.el (hexl-bits): New variable.
9975 (hexl-options): Mention the variable in the doc string.
9976 (hexl-rulerise, hexl-line-displen): New functions.
9977 (hexl-mode): Mention the new variable.
9978 (hexl-mode, hexl-current-address, hexl-current-address):
9979 Use the displen.
9980 (hexl-ascii-start-column): New function.
9981 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
9982 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
9983
9984 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9985
9986 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
9987 '("-i" ENCODING), in 2 separate command-line arguments, to specify
9988 the encoding, as expected by hunspell.
9989
9990 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
9991
9992 * battery.el (battery--linux-sysfs-regexp): New const.
9993 (battery-status-function): Use it. Remove yeeloong special case.
9994 (battery-yeeloong-sysfs): Remove.
9995 (battery-echo-area-format): Remove yeeloong special case.
9996
9997 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
9998
9999 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
10000 Reported by Noah Friedman.
10001
10002 * subr.el (read-passwd): Use read-string.
10003
10004 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10005
10006 * vcursor.el (vcursor-move): Increase the priority of the overlay
10007 (bug#9663).
10008
10009 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
10010
10011 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
10012 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
10013
10014 2012-04-11 William Stevenson <yhvh2000@gmail.com>
10015
10016 * textmodes/artist.el (artist-mode): Convert artist-mode to use
10017 define-minor-mode (bug#10760).
10018
10019 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
10020
10021 * progmodes/grep.el (rgrep): Tweak the find command line so
10022 that directories matching `grep-find-ignored-files' won't be
10023 pruned (bug#10351).
10024
10025 2012-04-11 Chong Yidong <cyd@gnu.org>
10026
10027 * startup.el (command-line): Remove support for long-obsolete
10028 variable font-lock-face-attributes.
10029
10030 2012-04-11 Glenn Morris <rgm@gnu.org>
10031
10032 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
10033
10034 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
10035
10036 * window.el (window--state-get-1): Obey window-point-insertion-type.
10037
10038 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
10039
10040 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
10041 to previous function when point is on the first character of a
10042 function. Take care of that in `narrow-to-defun' (bug#6157).
10043
10044 2012-04-11 Glenn Morris <rgm@gnu.org>
10045
10046 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
10047 not just file-errors.
10048
10049 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
10050 (vc-bzr-sha1): Use internal sha1.
10051
10052 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
10053
10054 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
10055
10056 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
10057
10058 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
10059 that start in the middle of the line (bug#10496).
10060
10061 2012-04-10 Dan Nicolaescu <dann@gnu.org>
10062
10063 * battery.el (battery-linux-proc-acpi): Only one battery is
10064 discharged at a time, but that seems to confuse battery.el when
10065 computing `rate-type' for the battery not being discharged
10066 (bug#10332).
10067
10068 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
10069
10070 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
10071
10072 * international/quail.el: Use dolist and simplify.
10073 (quail-define-package, quail-update-keyboard-layout)
10074 (quail-define-rules): Use dolist.
10075 (quail-insert-kbd-layout, quail-get-translation): CSE.
10076
10077 * tmm.el: Use dolist, remove left over hook.
10078 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
10079 Use dolist.
10080 (calendar-load-hook): Don't mess with it.
10081
10082 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
10083 Use derived-mode-p. Run the diff asynchronously.
10084
10085 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
10086
10087 * obsolete/mouse-sel.el: Add an Obsolete-since header.
10088
10089 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
10090
10091 * misc.el: Display absolute path of loaded DLLs (bug#10424).
10092 (list-dynamic-libraries--loaded): New function.
10093 (list-dynamic-libraries--refresh): Use it.
10094
10095 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
10096
10097 * progmodes/python.el (python-fill-paragraph):
10098 Make python-fill-region in a multiline string work when font-lock is
10099 disabled (bug#7018).
10100
10101 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
10102
10103 * language/european.el (cp775): Add oem/legacy (en)coding on
10104 DOS/MS Windows for the Baltic languages. There are still plenty
10105 of texts written in this encoding/codepage (bug#6519).
10106
10107 2012-04-10 Glenn Morris <rgm@gnu.org>
10108
10109 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
10110 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
10111
10112 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
10113
10114 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
10115 next-line "n" and previous-line "p" in order to make recentf more
10116 consistent with ibuffer, dired or org-mode (bug#9387).
10117
10118 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
10119
10120 * image.el (put-image): Return the overlay created instead of the
10121 optional input string (bug#7834). Note that this may break code
10122 that is (for some reason or other) depending on `put-image'
10123 returning the string.
10124
10125 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
10126
10127 * simple.el (zap-to-char): Allow zapping using input methods
10128 (bug#1580).
10129
10130 * textmodes/fill.el (fill-region): Leave point and mark where they
10131 were before filling (bug#5399).
10132
10133 2012-04-09 Glenn Morris <rgm@gnu.org>
10134
10135 * version.el (emacs-bzr-get-version):
10136 Handle lightweight checkouts of local branches.
10137
10138 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
10139
10140 * international/characters.el: Recover lost case pairs. (Bug#11209)
10141
10142 2012-04-09 Chong Yidong <cyd@gnu.org>
10143
10144 * custom.el (custom-variable-p): Return nil for non-symbol
10145 arguments instead of signaling an error.
10146 (user-variable-p): Obsolete alias for custom-variable-p.
10147
10148 * apropos.el (apropos-variable):
10149 * files-x.el (read-file-local-variable):
10150 * simple.el (set-variable):
10151 * woman.el (woman-mini-help):
10152 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
10153
10154 2012-04-09 Glenn Morris <rgm@gnu.org>
10155
10156 * startup.el (normal-top-level): Don't look for leim-list.el
10157 in places where it will not be found. (Bug#910)
10158
10159 * international/mule-cmds.el (set-default-coding-systems):
10160 * files.el (normal-mode):
10161 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
10162 This function was removed with ucs-tables.el in 2008.
10163
10164 2012-04-08 Eli Zaretskii <eliz@gnu.org>
10165
10166 * textmodes/ispell.el (ispell-check-version): For hunspell, set
10167 ispell-encoding8-command to "-i", without a trailing space.
10168 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
10169 separate command-line arguments, to specify the encoding, since
10170 that's how hunspell expects it.
10171
10172 2012-04-08 Glenn Morris <rgm@gnu.org>
10173
10174 * loadup.el: Load bindings before cus-start.
10175 This reduces somewhat the number of "rogue" settings in emacs -Q.
10176
10177 2012-04-07 Glenn Morris <rgm@gnu.org>
10178
10179 * version.el (emacs-bzr-get-version): New function.
10180 (emacs-bzr-version): New variable.
10181 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
10182 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
10183
10184 2012-04-07 Eli Zaretskii <eliz@gnu.org>
10185
10186 * international/uni-bidi.el, international/uni-category.el:
10187 * international/uni-combining.el, international/uni-decimal.el:
10188 * international/uni-decomposition.el, international/uni-digit.el:
10189 * international/uni-lowercase.el, international/uni-mirrored.el:
10190 * international/uni-name.el, international/uni-numeric.el:
10191 * international/uni-titlecase.el, international/uni-uppercase.el:
10192 Update for Unicode 6.1.
10193
10194 2012-04-07 Eli Zaretskii <eliz@gnu.org>
10195
10196 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
10197
10198 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
10199
10200 * window.el (shrink-window): Mention the `window-min-height'
10201 variable in the doc string.
10202
10203 2012-04-05 Bastien Guerry <bzg@altern.org>
10204
10205 * color.el (color-lighten-name): Fix typo.
10206
10207 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
10208
10209 * server.el (server--on-display-p): New function.
10210 (server--on-display-p): Use it.
10211
10212 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
10213
10214 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
10215 (bug#11145).
10216
10217 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
10218
10219 * comint.el (comint--common-quoted-suffix): Check string boundary
10220 before comparing (bug#11158).
10221 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
10222
10223 2012-04-04 Chong Yidong <cyd@gnu.org>
10224
10225 * minibuffer.el (completion-extra-properties): Doc fix.
10226
10227 * subr.el (delayed-warnings-hook): Doc fix.
10228
10229 2012-04-04 Daiki Ueno <ueno@unixuser.org>
10230
10231 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
10232 selection (Bug#11159).
10233 (epa-insert-keys): Inform that the default public key will be
10234 exported if no key is selected.
10235
10236 2012-04-04 Richard Stallman <rms@gnu.org>
10237
10238 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
10239
10240 2012-04-03 Chong Yidong <cyd@gnu.org>
10241
10242 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
10243 mail-insert-file, not its obsolete alias mail-attach-file.
10244
10245 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
10246
10247 * notifications.el (notifications-notify): Fix docstring.
10248
10249 2012-04-02 Glenn Morris <rgm@gnu.org>
10250
10251 * emacs-lisp/authors.el (authors-aliases): Another addition.
10252
10253 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
10254
10255 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
10256 `tramp-compat-call-process' instead of `tramp-local-call-process'.
10257 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
10258
10259 2012-04-01 Chong Yidong <cyd@gnu.org>
10260
10261 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
10262 Handle root directory properly.
10263 (copy-directory): Caller changed.
10264
10265 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
10266 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
10267
10268 2012-03-31 Glenn Morris <rgm@gnu.org>
10269
10270 * term/xterm.el (xterm-extra-capabilities): Doc fix.
10271
10272 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
10273
10274 * calendar/calendar.el (calendar-window-list)
10275 (calendar-hide-window): Restore. (Bug#11140)
10276 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
10277
10278 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
10279
10280 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10281
10282 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
10283 Check if file is a symlink (Bug#10489).
10284
10285 * files.el (copy-directory): Likewise.
10286
10287 2012-03-30 Chong Yidong <cyd@gnu.org>
10288
10289 * image.el (imagemagick-types-inhibit)
10290 (imagemagick-register-types): Doc fix.
10291
10292 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10293
10294 * textmodes/ispell.el (ispell-get-extended-character-mode):
10295 Disable extended-char-mode for hunspell. hunspell does not support it
10296 and treats ~word as ordinary words in pipe mode.
10297
10298 2012-03-30 Glenn Morris <rgm@gnu.org>
10299
10300 * tutorial.el (help-with-tutorial): Ensure local variables don't
10301 happen to make the buffer read-only. (Bug#11127)
10302
10303 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
10304
10305 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
10306 (perl-calculate-indent): Return `noindent' in strings.
10307
10308 2012-03-28 Sam Steingold <sds@gnu.org>
10309
10310 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
10311 instead of the broken adhockery which does not prevent calendar
10312 buffers from being displayed at random after exit.
10313 (calendar-window-list, calendar-hide-window): Remove the broken
10314 adhockery.
10315
10316 2012-03-28 Glenn Morris <rgm@gnu.org>
10317
10318 * replace.el (query-replace-map): Doc fix.
10319
10320 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
10321
10322 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
10323 contents. (Bug#11109)
10324
10325 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
10326
10327 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
10328 (bug#11077).
10329 (avl-tree--check, avl-tree--check-node): New funs.
10330
10331 2012-03-27 Martin Rudalics <rudalics@gmx.at>
10332
10333 * window.el (switch-to-visible-buffer): New option.
10334 (switch-to-prev-buffer, switch-to-next-buffer):
10335 Observe switch-to-visible-buffer. Make sure that checking for a window
10336 showing a buffer already is done on the same frame.
10337
10338 2012-03-27 Glenn Morris <rgm@gnu.org>
10339
10340 * startup.el (mail-host-address): Doc fix.
10341
10342 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10343
10344 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
10345 than 197 variables.
10346
10347 2012-03-26 Ami Fischman <ami@fischman.org>
10348
10349 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
10350
10351 2012-03-26 Glenn Morris <rgm@gnu.org>
10352
10353 * files.el (save-buffers-kill-emacs): Doc fix.
10354
10355 * startup.el (normal-top-level, command-line, command-line-1):
10356 Give them doc strings.
10357
10358 2012-03-25 Eli Zaretskii <eliz@gnu.org>
10359
10360 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
10361 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
10362
10363 2012-03-25 Chong Yidong <cyd@gnu.org>
10364
10365 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
10366 theme if it was previously enabled before (Bug#11031).
10367
10368 * cus-theme.el (custom-theme-write-faces): Retrieve current face
10369 spec with custom-face-get-current-spec if its :shown-value is not
10370 determined yet (Bug#9337).
10371 (customize-create-theme, custom-theme-revert): Doc fixes.
10372
10373 * button.el (button-at): Minor addition to docstring.
10374
10375 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
10376
10377 * vc/vc.el (vc-merge): Fix a prompt.
10378
10379 2012-03-24 Chong Yidong <cyd@gnu.org>
10380
10381 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
10382 point (Bug#9623).
10383
10384 * button.el (button-at): Minor addition to docstring.
10385
10386 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
10387
10388 * newcomment.el (comment-choose-indent): No space after BOL.
10389
10390 2012-03-22 Sam Steingold <sds@gnu.org>
10391
10392 * window.el (switch-to-prev-buffer): Revert last patch because the
10393 bug turned out to be an advertised feature (Elisp manual 28.14).
10394
10395 2012-03-22 Glenn Morris <rgm@gnu.org>
10396
10397 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
10398 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
10399
10400 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
10401
10402 * net/network-stream.el (network-stream-open-starttls): Make error
10403 message under Windows be less misleading.
10404
10405 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
10406
10407 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
10408 understands (bug#9942).
10409
10410 2012-03-22 Chong Yidong <cyd@gnu.org>
10411
10412 * simple.el (end-of-visible-line): Handle return value of
10413 next-single-property-change properly (Bug#9371).
10414
10415 2012-03-22 Kenichi Handa <handa@m17n.org>
10416
10417 * international/quail.el (quail-insert-kbd-layout): Fix previous
10418 change. To avoid unwanted bidi reordering, use
10419 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
10420
10421 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
10422
10423 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
10424 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
10425 (ruby-beginning-of-indent): Be more careful with the difference
10426 between word-boundary and symbol boundary.
10427 (ruby-mode-syntax-table): Make : a symbol constituent.
10428
10429 2012-03-21 Andreas Politz <politza@fh-trier.de>
10430
10431 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
10432
10433 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
10434
10435 * progmodes/etags.el (tags-completion-at-point-function):
10436 Improve last fix.
10437
10438 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
10439
10440 2012-03-21 Sam Steingold <sds@gnu.org>
10441
10442 * progmodes/etags.el (tags-completion-at-point-function):
10443 Avoid the error when point is inside the pattern.
10444
10445 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
10446
10447 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
10448 line (Bug#10855).
10449
10450 2012-03-21 Drew Adams <drew.adams@oracle.com>
10451
10452 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
10453
10454 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
10455
10456 * ido.el (ido-set-current-directory, ido-read-internal)
10457 (ido-choose-completion-string, ido-completion-help): Handle nil
10458 value of ido-completion-buffer (Bug#11008).
10459
10460 2012-03-21 Sam Steingold <sds@gnu.org>
10461
10462 * window.el (switch-to-prev-buffer): Do not switch to a visible
10463 window previous buffer, just like with the frame previous buffers.
10464
10465 2012-03-21 Chong Yidong <cyd@gnu.org>
10466
10467 * faces.el (make-face, make-empty-face, copy-face):
10468 * face-remap.el (face-remap-add-relative, face-remap-set-base):
10469 Doc fixes.
10470
10471 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
10472
10473 * wid-edit.el (widget-complete-field): Remove (bug#11051).
10474 (widget-complete): Remove broken use of it.
10475
10476 2012-03-20 Chong Yidong <cyd@gnu.org>
10477
10478 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
10479 Use string-width and truncate-string-width to handle arbitrary
10480 characters.
10481
10482 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
10483
10484 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
10485 to draw rectangles, not squares. (Regression introduced by revno
10486 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
10487
10488 2012-03-18 Chong Yidong <cyd@gnu.org>
10489
10490 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
10491 it is not yet defined (for temacs).
10492
10493 2012-03-18 Leo Liu <sdl.web@gmail.com>
10494
10495 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
10496 prefix.
10497
10498 2012-03-17 Eli Zaretskii <eliz@gnu.org>
10499
10500 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
10501 (ispell-choices-win-default-height, ispell-silently-savep)
10502 (ispell-dictionary-alist, ispell-encoding8-command)
10503 (ispell-check-version, ispell-aspell-find-dictionary)
10504 (ispell-valid-dictionary-list, ispell-words-keyword)
10505 (ispell-get-word, ispell-internal-change-dictionary)
10506 (ispell-region, ispell-skip-region-list)
10507 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
10508 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
10509 (ispell-message-text-end, ispell-message)
10510 (ispell-buffer-local-parsing): Doc fix.
10511
10512 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
10513
10514 * htmlfontify.el: Add support for code block fontification for ODT
10515 export (Bug #9914).
10516 (hfy-optimisations): Define new option
10517 `body-text-only'
10518 (hfy-fontify-buffer): Honor above setting.
10519 (hfy-begin-span, hfy-end-span): New routines factored out form
10520 `hfy-fontify-buffer'.
10521 (hfy-begin-span-handler, hfy-end-span-handler): New variables
10522 that permit insertion of custom tags.
10523 (hfy-fontify-buffer): Use above handlers.
10524 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
10525 (hfy-face-to-css): Re-defined to be a variable.
10526 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
10527 over multiple runs. This is made possible by having the caller let
10528 bind a special variable `hfy-user-sheet-assoc'.
10529 (htmlfontify-string): New defun.
10530 (hfy-compile-face-map): Make sure that the last char in the
10531 buffer is correctly fontified.
10532 (hfy-face-resolve-face): Whitespace only change.
10533
10534 2012-03-17 Eli Zaretskii <eliz@gnu.org>
10535
10536 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
10537 message more clear.
10538
10539 2012-03-16 Leo Liu <sdl.web@gmail.com>
10540
10541 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
10542
10543 2012-03-16 Alan Mackenzie <acm@muc.de>
10544
10545 Further optimise the handling of large macros.
10546
10547 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
10548 limit to a call of `c-literal-limits'.
10549 (c-determine-+ve-limit): New function.
10550 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
10551 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
10552 In CASE 5B, restrict a search limit to 500.
10553 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
10554
10555 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
10556 Restrict macro bounds to +-500 from after-change's BEG END.
10557
10558 2012-03-16 Leo Liu <sdl.web@gmail.com>
10559
10560 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
10561
10562 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
10563
10564 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
10565 `special-mode' setting of `buffer-read-only'. (Bug#11010)
10566
10567 2012-03-16 Glenn Morris <rgm@gnu.org>
10568
10569 * view.el (view-buffer, view-buffer-other-window)
10570 (view-buffer-other-frame): Doc fixes re special mode-class.
10571
10572 * subr.el (eval-after-load): If named feature is provided not from
10573 a file, run after-load forms. (Bug#10946)
10574
10575 * calendar/calendar.el (calendar-insert-at-column):
10576 Handle non-unit-width characters a bit better. (Bug#10978)
10577
10578 2012-03-15 Chong Yidong <cyd@gnu.org>
10579
10580 * emacs-lisp/ring.el (ring-extend): New function.
10581 (ring-insert+extend): Extend the ring correctly (Bug#11019).
10582
10583 * comint.el (comint-read-input-ring)
10584 (comint-add-to-input-history): Grow comint-input-ring lazily.
10585
10586 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
10587
10588 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
10589 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
10590
10591 * imenu.el: Fix multiple inheritance breakage (bug#9199).
10592 (imenu-add-to-menubar): Don't add a redundant index.
10593 (imenu-update-menubar): Handle a dynamically composed keymap.
10594
10595 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
10596
10597 * mail/sendmail.el (mail-encode-header):
10598 Bind rfc2047-encode-encoded-words to nil.
10599
10600 2012-03-13 Glenn Morris <rgm@gnu.org>
10601
10602 * calendar/calendar.el (calendar-string-spread):
10603 Handle non-unit-width characters a bit better. (Bug#10978)
10604
10605 2012-03-13 Leo Liu <sdl.web@gmail.com>
10606
10607 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
10608 directory and file as argument (Bug#10822).
10609
10610 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
10611
10612 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
10613 For dynamically generated code, follow $PC.
10614 (gdb-disassembly-handler-custom): Handle no function name case.
10615
10616 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
10617
10618 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
10619 * emulation/ws-mode.el (ws-query-replace):
10620 * sort.el (sort-regexp-fields):
10621 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
10622
10623 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10624
10625 * dabbrev.el: Fix cycle completion order (bug#10963).
10626 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
10627 (dabbrev-completion): Don't use an obarray; provide
10628 a cycle-sort-function.
10629
10630 2012-03-12 Leo Liu <sdl.web@gmail.com>
10631
10632 * simple.el (kill-new): Use equal-including-properties for comparison.
10633 (kill-do-not-save-duplicates): Doc fix.
10634
10635 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10636
10637 * dabbrev.el: Fix cycle completion (bug#10963).
10638 Use lexical binding and wrap to 80 columns.
10639 (dabbrev-completion): Delay computing the list of completions.
10640
10641 2012-03-12 Kenichi Handa <handa@m17n.org>
10642
10643 * international/quail.el (quail-insert-kbd-layout): Surround each
10644 row by LRO and PDF instead of inserting many LRMs. Pad the left
10645 and right of each non-spacing marks. Insert invisible space
10646 between lower and upper characters to prevent composition.
10647
10648 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10649
10650 * minibuffer.el (minibuffer-complete): Don't get confused when the
10651 function is run twice via different commands (bug#10958).
10652 (complete-with-action): Fix docstring.
10653
10654 2012-03-12 Chong Yidong <cyd@gnu.org>
10655
10656 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
10657 (nxml-completion-at-point-function): New function.
10658 (nxml-mode): Use it.
10659 (nxml-bind-meta-tab-to-complete-flag): Default to t.
10660
10661 * emacs-lisp/package.el (package-unpack, package-unpack-single):
10662 Load generated autoloads file before byte compiling (Bug#10970).
10663 (package--make-autoloads-and-compile): New helper fun.
10664
10665 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
10666
10667 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
10668
10669 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
10670
10671 * autorevert.el (auto-revert-handler): Ensure, that
10672 file-readable-p is applied only for local files or in
10673 auto-revert-tail-mode.
10674
10675 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
10676
10677 * server.el (server-eval-at): Handle non-tcp connections.
10678 Decode result string.
10679
10680 * server.el (server-msg-size): New constant.
10681 (server-reply-print): New function.
10682 (server-eval-and-print): Use it.
10683 (server-eval-at): Use server-quote-arg and server-unquote-arg.
10684 Handle -print-nonl.
10685
10686 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
10687
10688 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
10689 (Bug#10987).
10690
10691 2012-03-11 Chong Yidong <cyd@gnu.org>
10692
10693 * simple.el (goto-line): Doc fix (Bug#9938).
10694
10695 * subr.el (save-window-excursion): Doc fix (Bug#9979).
10696
10697 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
10698 when finished (Bug#10963).
10699
10700 2012-03-11 Martin Rudalics <rudalics@gmx.at>
10701
10702 * window.el (split-window-below): Fix bug in case where
10703 split-window-keep-point is nil (Bug#10971).
10704
10705 2012-03-11 Juri Linkov <juri@jurta.org>
10706
10707 * replace.el (replace-highlight): Set isearch-word to nil
10708 unconditionally. (Bug#10887)
10709
10710 2012-03-10 Eli Zaretskii <eliz@gnu.org>
10711
10712 * net/mairix.el (mairix-replace-invalid-chars): Rename from
10713 mairix-replace-illegal-chars; all callers changed. Don't remove
10714 ^, ~, and = characters: they are meaningful in mairix search specs.
10715 (mairix-widget-create-query): Add usage information about mairix
10716 search forms: negating words, searching for substrings, etc.
10717
10718 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
10719
10720 * international/fontset.el (font-encoding-alist): Add an entry for
10721 ksx1001 (Bug#5667).
10722
10723 2012-03-10 Richard Stallman <rms@gnu.org>
10724
10725 * mail/sendmail.el (mail-encode-header):
10726 Set rfc2047-encode-encoded-words.
10727
10728 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
10729
10730 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
10731 view buffer means not swapped.
10732 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
10733 (rmail-write-region-annotate): Error if real text has disappeared.
10734
10735 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
10736
10737 2012-03-10 Chong Yidong <cyd@gnu.org>
10738
10739 * emulation/cua-rect.el (cua--init-rectangles):
10740 * emulation/cua-base.el (cua--init-keymaps):
10741 Add delete-forward-char to remappings (Bug#9666).
10742
10743 2012-03-10 Martin Rudalics <rudalics@gmx.at>
10744
10745 * speedbar.el (speedbar-unhighlight-one-tag-line):
10746 Avoid unhighlighting due to frame switching (Bug#10275).
10747
10748 2012-03-10 Chong Yidong <cyd@gnu.org>
10749
10750 * minibuffer.el (completion-in-region, completion-help-at-point):
10751 Give the completion field overlay a high priority (Bug#6830).
10752
10753 * dired.el (dired-goto-file): Recognize absolute file name
10754 listings (Bug#7126).
10755 (dired-goto-file-1): New helper function.
10756 (dired-toggle-read-only): Inhibit warnings.
10757
10758 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
10759
10760 * net/dbus.el (dbus-property-handler): Return empty array if
10761 there are no properties.
10762
10763 2012-03-09 Leo Liu <sdl.web@gmail.com>
10764
10765 * savehist.el (savehist-printable): Stricter check for string
10766 value (Bug#10937).
10767
10768 2012-03-09 Eli Zaretskii <eliz@gnu.org>
10769
10770 * mail/smtpmail.el (smtpmail-send-it):
10771 Bind coding-system-for-write to *-unix, so that FCC files are kept in
10772 valid mbox format.
10773
10774 2012-03-09 Glenn Morris <rgm@gnu.org>
10775
10776 * files.el (dir-locals-find-file):
10777 Don't check result is regular, readable.
10778 (dir-locals-read-from-file): Demote errors.
10779
10780 2012-03-08 Eli Zaretskii <eliz@gnu.org>
10781
10782 * international/quail.el (quail-insert-kbd-layout):
10783 Insert invisible LRM characters before each character in a keyboard
10784 layout cell, to prevent their reordering by bidi display engine.
10785 For details, see the discussion in
10786 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
10787
10788 2012-03-08 Alan Mackenzie <acm@muc.de>
10789
10790 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
10791 the starting position; make it extend the marked region when
10792 invoked repeatedly - all under appropriate circumstances.
10793 Fixes bugs #5525, #10906.
10794
10795 2012-03-08 Glenn Morris <rgm@gnu.org>
10796
10797 * files.el (locate-dominating-file, dir-locals-find-file):
10798 Undo 2012-03-06 change.
10799
10800 2012-03-07 Eli Zaretskii <eliz@gnu.org>
10801
10802 * international/quail.el (quail-help):
10803 Force bidi-paragraph-direction be left-to-right. See discussion in
10804 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
10805 for the reason.
10806
10807 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
10808
10809 Avoid superfluous registering of signals. (Bug#10807)
10810
10811 * notifications.el (notifications-on-action-object)
10812 (notifications-on-close-object): New defvars.
10813 (notifications-on-action-signal, notifications-on-closed-signal):
10814 Unregister the signal if not needed any longer.
10815 (notifications-notify): Register `notifications-action-signal' or
10816 `notifications-closed-signal', if :on-action or :on-close has been
10817 passed as argument.
10818
10819 2012-03-07 Chong Yidong <cyd@gnu.org>
10820
10821 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
10822 non-X platforms.
10823
10824 2012-03-06 Glenn Morris <rgm@gnu.org>
10825
10826 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
10827 (x-disown-selection-internal, x-get-selection-internal):
10828 Doc fix (add arglist signatures). (Bug#10783)
10829
10830 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
10831
10832 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
10833 Handle breakpoints with no "type".
10834
10835 2012-03-06 Glenn Morris <rgm@gnu.org>
10836
10837 * files.el (locate-dominating-file): Add optional predicate argument.
10838 (dir-locals-find-file): Make use of above change.
10839
10840 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
10841
10842 * info.el (Info-insert-dir): Also try "dir.gz".
10843
10844 2012-03-06 Glenn Morris <rgm@gnu.org>
10845
10846 * files.el (dir-locals-find-file):
10847 Ignore non-readable or non-regular files. (Bug#10928)
10848
10849 * files.el (locate-dominating-file): Doc fix.
10850
10851 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
10852
10853 * calendar/calendar.el (calendar-set-mode-line):
10854 `getenv' returns a string. (Bug#10951)
10855
10856 2012-03-05 Leo Liu <sdl.web@gmail.com>
10857
10858 * simple.el (backward-delete-char-untabify): Constrain point to
10859 field (Bug#10939).
10860
10861 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
10862
10863 2012-03-05 Chong Yidong <cyd@gnu.org>
10864
10865 * simple.el (count-words): If called from Lisp, return the word
10866 count, for symmetry with `count-lines'. Arglist changed.
10867 (count-words--message): Args changed. Consolidate counting code
10868 from count-words and count-words-region.
10869 (count-words-region): Caller changed.
10870 (count-lines-region): Make it an obsolete alias.
10871
10872 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
10873
10874 * saveplace.el (save-place-to-alist)
10875 (save-place-ignore-files-regexp): Allow value nil to disable this
10876 feature.
10877
10878 2012-03-04 Chong Yidong <cyd@gnu.org>
10879
10880 * faces.el (face-spec-reset-face): For the default face, reset the
10881 attributes to default values (Bug#10748).
10882
10883 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
10884
10885 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
10886 previous patch: Check `message-send-mail-function', and not the
10887 default function (bug#10897).
10888
10889 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
10890
10891 * notifications.el (notifications-on-action-signal)
10892 (notifications-on-closed-signal): Check for unique service name of
10893 incoming event. Fix error in removing entry.
10894 (top): Register for signals with wildcard service name.
10895 (notifications-notify): Use daemon unique service name for map entries.
10896
10897 2012-03-04 Chong Yidong <cyd@gnu.org>
10898
10899 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
10900
10901 2012-03-04 Glenn Morris <rgm@gnu.org>
10902
10903 * abbrev.el (copy-abbrev-table, abbrev-table-p)
10904 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
10905 (expand-abbrev, define-abbrev-table): Doc fixes.
10906
10907 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10908
10909 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
10910 `message-default-send-mail-function' and not `send-mail-function'
10911 when doing the prompting for `sendmail-query-once' before sending
10912 in Message buffers (bug#10897).
10913
10914 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
10915 This is inconsistent with all the other stream functions, which leave
10916 the setting up to the higher levels (if so wanted) (bug#10931).
10917
10918 2012-03-02 Alan Mackenzie <acm@muc.de>
10919
10920 Depessimize the handling of very large macros.
10921
10922 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
10923 (c-macro-cache-syntactic): New variables to implement a one
10924 element macro cache.
10925 (c-invalidate-macro-cache): New function.
10926 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
10927 Adapt to use the new cache.
10928 (c-state-safe-place): Use better the cache of safe positions.
10929 (c-state-semi-nonlit-pos-cache)
10930 (c-state-semi-nonlit-pos-cache-limit):
10931 New variables for...
10932 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
10933 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
10934 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
10935 Use c-state-semi-safe-place.
10936
10937 * progmodes/cc-langs.el (c-get-state-before-change-functions):
10938 Add c-invalidate-macro-cache to the C, C++, Obj entries.
10939
10940 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
10941
10942 * jka-compr.el (jka-compr-call-process):
10943 Apply `file-accessible-directory-p' only when the default directory is
10944 not remote.
10945
10946 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
10947
10948 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
10949 access of FILE2, if FILE1 does not exist.
10950
10951 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
10952 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
10953
10954 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
10955 Add "PAGER=" to `process-environment'.
10956
10957 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
10958
10959 * progmodes/sql.el: Bug fix
10960 (sql-get-login-ext): Save login values in globals.
10961 (sql-get-login): Use new version of `sql-get-login-ext'.
10962 (sql-interactive-mode): Set global `sql-connection' to nil.
10963 (sql-connect): Set global values for connection.
10964 (sql-product-interactive): Save global values as buffer local.
10965
10966 2012-02-29 Leo Liu <sdl.web@gmail.com>
10967
10968 * abbrev.el (define-abbrevs): Reset sys to nil.
10969
10970 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10971
10972 * files.el (file-equal-p): Rename from `files-equal-p'.
10973 Return nil when one or both files don't exist.
10974 (file-subdir-of-p): Now only top directory must exists,
10975 return nil if it doesn't.
10976 (copy-directory): No need to test with `file-subdir-of-p' after
10977 creating dir.
10978 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
10979 to `file-equal-p'.
10980
10981 2012-02-28 Glenn Morris <rgm@gnu.org>
10982
10983 * shell.el (shell-mode):
10984 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
10985 * play/landmark.el (landmark-font-lock-face-O):
10986 * play/handwrite.el (handwrite):
10987 * play/gomoku.el (gomoku-O):
10988 * net/browse-url.el (browse-url-browser-display):
10989 * international/mule.el (define-charset):
10990 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
10991 * filesets.el (filesets-find-file-delay):
10992 * eshell/em-xtra.el (eshell-xtra):
10993 * eshell/em-unix.el (eshell-grep):
10994 * emulation/viper.el (viper-mode):
10995 * emacs-lisp/regexp-opt.el (regexp-opt-group):
10996 * emacs-lisp/easymenu.el (easy-menu-define):
10997 * calendar/timeclock.el (timeclock-use-display-time):
10998 * bs.el (bs-mode):
10999 * bookmark.el (bookmark-save-flag):
11000 Doc fix (standardize possessive apostrophe usage).
11001
11002 2012-02-27 Chong Yidong <cyd@gnu.org>
11003
11004 * emulation/viper-cmd.el (viper-intercept-ESC-key):
11005 Fix key-binding lookup for ESC key (Bug#9146).
11006
11007 * font-lock.el (font-lock-specified-p): Rename from
11008 font-lock-spec-present. Callers changed.
11009
11010 2012-02-27 Daniel Hackney <dan@haxney.org>
11011
11012 * emacs-lisp/package.el (package-compute-transaction):
11013 Handle holding a package version to t in package-load-list.
11014
11015 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
11016
11017 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
11018 (tramp-get-inode, tramp-get-device): Use cached values.
11019
11020 2012-02-26 Alan Mackenzie <acm@muc.de>
11021
11022 Check there is a font-lock specification before doing initial
11023 fontification.
11024
11025 * font-core.el (font-lock-mode): Move the conditional from
11026 :after-hook to font-lock-initial-fontify.
11027 (font-lock-default-function): Move the check for a specification
11028 to font-lock-spec-present.
11029
11030 * font-lock.el (font-lock-initial-fontify): Call ...
11031 (font-lock-spec-present): New function.
11032
11033 2012-02-26 Jim Blandy <jimb@red-bean.com>
11034
11035 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
11036 (gdb-send): Apply it to the operand of the '-interpreter-exec
11037 console' command, so that we can pass arguments with (say) quotes
11038 in them. Store exact string sent in gdb-debug-log (Bug#10765).
11039
11040 2012-02-26 Chong Yidong <cyd@gnu.org>
11041
11042 * help-fns.el (describe-function-1): Clarify description of
11043 remapping (Bug#10844).
11044
11045 * files.el (files-equal-p): Doc fix.
11046 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
11047 and quit the loop once a mismatch is found.
11048
11049 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
11050
11051 * bs.el (bs--show-with-configuration): Don't throw an error
11052 if the window cannot be split; otherwise, subsequent calls to
11053 bs-show fail, restoring a stale window config. (Bug#10882)
11054
11055 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
11056
11057 * term/ns-win.el (global-map): Bind ns-drag-file to
11058 ns-find-file (Bug#5855, Bug#10050).
11059
11060 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
11061
11062 * calendar/parse-time.el (parse-time-string): Allow extractor to
11063 return nil.
11064
11065 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
11066
11067 * net/tramp.el (tramp-file-name-for-operation):
11068 Add `files-equal-p' and `file-subdir-of-p'.
11069
11070 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
11071 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
11072 Add COPY-CONTENTS argument.
11073
11074 2012-02-25 Chong Yidong <cyd@gnu.org>
11075
11076 Add custom groups for VC backends, for consistency with vc-bzr.
11077
11078 * vc/vc-arch.el (vc-arch):
11079 * vc/vc-cvs.el (vc-cvs):
11080 * vc/vc-git.el (vc-git):
11081 * vc/vc-hg.el (vc-hg):
11082 * vc/vc-mtn.el (vc-mtn):
11083 * vc/vc-rcs.el (vc-rcs):
11084 * vc/vc-sccs.el (vc-sccs):
11085 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
11086 All relevant defcustoms reassigned.
11087
11088 2012-02-25 Chong Yidong <cyd@gnu.org>
11089
11090 * newcomment.el (comment-styles): Add autoload (Bug#10868).
11091
11092 * term/x-win.el (x-initialize-window-system): Reduce default for
11093 x-selection-timeout to 5 seconds (Bug#8869).
11094
11095 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11096
11097 * files.el (files-equal-p, file-subdir-of-p): New functions.
11098 (copy-directory): Error when trying to copy a directory on itself.
11099 Add missing copy-contents arg to tramp handler.
11100 * dired-aux.el (dired-copy-file-recursive): Same.
11101 (dired-create-files): Modify destination when source is equal to
11102 dest when copying files.
11103 Return also when dest is a subdir of source. (Bug#10489)
11104
11105 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
11106
11107 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
11108 (Bug#10874)
11109
11110 2012-02-23 Alan Mackenzie <acm@muc.de>
11111
11112 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
11113 parameter "after-hook:" to allow the expansion to run code after
11114 the execution of the mode hooks.
11115
11116 * font-lock.el (font-lock-initial-fontify): New function extracted
11117 from font-lock-mode-internal.
11118
11119 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
11120 :after-hook.
11121
11122 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
11123
11124 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
11125 (completion--cache-all-sorted-completions): New function.
11126 (completion-all-sorted-completions): Use it.
11127 (completion--do-completion, minibuffer-force-complete):
11128 Use it to re-instate the flush hook.
11129
11130 * icomplete.el (icomplete-completions): Replace last fix with a better
11131 one (bug#10850).
11132
11133 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
11134
11135 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
11136 when it might call us back infinitely (bug#10797).
11137
11138 2012-02-23 Glenn Morris <rgm@gnu.org>
11139
11140 * minibuffer.el (completion-category-overrides): Doc fix.
11141
11142 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
11143
11144 * minibuffer.el (completion-table-with-context): Fix inf-loop.
11145 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
11146
11147 2012-02-23 Glenn Morris <rgm@gnu.org>
11148
11149 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
11150 (authors-obsolete-files-regexps, authors-ignored-files)
11151 (authors-ambiguous-files, authors-renamed-files-alist):
11152 Add more entries.
11153
11154 2012-02-23 Juri Linkov <juri@jurta.org>
11155
11156 * isearch.el (isearch-occur): Sync interactive spec with occur's
11157 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
11158
11159 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
11160
11161 2012-02-22 Juri Linkov <juri@jurta.org>
11162
11163 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
11164 (ucs-insert): Doc fix. Check for hex digits in the string.
11165 Don't display `nil' in the error message. (Bug#10857)
11166
11167 2012-02-22 Alan Mackenzie <acm@muc.de>
11168
11169 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
11170
11171 2012-02-22 Glenn Morris <rgm@gnu.org>
11172
11173 * ffap.el (ffap-c-path):
11174 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
11175
11176 2012-02-22 Chong Yidong <cyd@gnu.org>
11177
11178 * custom.el (load-theme): Doc fix.
11179
11180 2012-02-22 Glenn Morris <rgm@gnu.org>
11181
11182 * dired-x.el (dired-guess-shell-alist-default):
11183 Remove escape sequences from nroff output. (Bug#172)
11184
11185 2012-02-21 Glenn Morris <rgm@gnu.org>
11186
11187 * vc/emerge.el (emerge-defvar-local):
11188 Set `permanent-local' property rather than unused `preserved'.
11189
11190 * textmodes/picture.el (picture-delete-char): New alias.
11191 (picture-mode-map): Use it. (Bug#10860)
11192 (picture-mode): Doc fix.
11193
11194 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
11195
11196 * newcomment.el (uncomment-region-default): Remove unused binding.
11197
11198 2012-02-21 Glenn Morris <rgm@gnu.org>
11199
11200 * textmodes/picture.el (picture-motion, picture-motion-reverse)
11201 (picture-self-insert, picture-tab-chars): Doc fix.
11202 (picture-mode-map): Fix C-a, C-e.
11203
11204 2012-02-20 Glenn Morris <rgm@gnu.org>
11205
11206 * emacs-lisp/authors.el (authors-aliases): Add another entry.
11207
11208 2012-02-20 Leo Liu <sdl.web@gmail.com>
11209
11210 * icomplete.el (icomplete-completions): Check FROM arg before
11211 passing to substring (Bug#10850).
11212
11213 2012-02-19 Chong Yidong <cyd@gnu.org>
11214
11215 * comint.el: Require ansi-color.
11216 (comint-output-filter-functions): Add ansi-color-process-output.
11217
11218 * ansi-color.el: Don't set comint-output-filter-functions; it is
11219 now in the initial value defined in comint.el.
11220 (ansi-color-apply-face-function): New variable.
11221 (ansi-color-apply-on-region): Use it.
11222 (ansi-color-apply-overlay-face): New function.
11223
11224 * shell.el (shell): No need to require ansi-color.
11225 (shell-mode): Use ansi-color-apply-face-function to highlight
11226 color escapes using font-lock-face property (Bug#10835).
11227
11228 2012-02-19 Chong Yidong <cyd@gnu.org>
11229
11230 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
11231 mode-line formats (Bug#10839).
11232
11233 2012-02-18 Glenn Morris <rgm@gnu.org>
11234
11235 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
11236
11237 * mail/undigest.el (unforward-rmail-message): Doc fix.
11238
11239 * saveplace.el (save-place-ignore-files-regexp): Add :version.
11240
11241 2012-02-18 Eli Zaretskii <eliz@gnu.org>
11242
11243 * international/characters.el (script-list): Sync with the latest
11244 Unicode Character Database.
11245
11246 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
11247
11248 * international/titdic-cnv.el: Remove duplicate coding tag.
11249 * language/cham.el: Likewise.
11250 * language/tai-viet.el: Likewise.
11251
11252 2012-02-18 Glenn Morris <rgm@gnu.org>
11253
11254 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
11255 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
11256 (calendar-bahai-all-holidays-flag, calendar-other-dates):
11257 * calendar/diary-lib.el (diary-abbreviated-year-flag):
11258 * calendar/holidays.el (holiday-bahai-holidays)
11259 (calendar-holidays, list-holidays):
11260 Use utf-8 Bahá'í in doc-strings, menus, etc.
11261
11262 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
11263
11264 * saveplace.el (save-place-ignore-files-regexp): New variable
11265 allowing for excluding files from saving their location of point.
11266 The default value matches the temporary commit message editing
11267 files from Git, SVN, Bazaar, and Mercurial.
11268 (save-place-to-alist): Use it.
11269
11270 2012-02-17 Lawrence Mitchell <wence@gmx.li>
11271 Stefan Monnier <monnier@iro.umontreal.ca>
11272
11273 * newcomment.el (uncomment-region-default): Don't leave extra space
11274 when an arg is provided (bug#8150).
11275
11276 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
11277
11278 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
11279
11280 2012-02-17 Glenn Morris <rgm@gnu.org>
11281
11282 * net/socks.el: Require network-stream. (Bug#10599)
11283
11284 2012-02-17 Kenichi Handa <handa@m17n.org>
11285
11286 * international/charprop.el:
11287 * international/uni-name.el:
11288 * international/uni-old-name.el:
11289 * international/uni-comment.el: Regenerate.
11290
11291 2012-02-16 Glenn Morris <rgm@gnu.org>
11292
11293 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
11294 Interactively in calendar buffer, give an error if not on a date.
11295
11296 2012-02-15 Glenn Morris <rgm@gnu.org>
11297
11298 * shell.el (shell-delimiter-argument-list):
11299 Revert 2011-02-17 change. (Bug#8027)
11300
11301 2012-02-15 Chong Yidong <cyd@gnu.org>
11302
11303 * minibuffer.el (completion-at-point-functions): Doc fix.
11304
11305 * custom.el (defcustom): Doc fix; note use of defvar.
11306
11307 2012-02-15 Glenn Morris <rgm@gnu.org>
11308
11309 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
11310 Doc fixes.
11311
11312 2012-02-14 Glenn Morris <rgm@gnu.org>
11313
11314 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
11315
11316 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
11317
11318 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
11319 way the ports list is computed.
11320 (smtpmail-query-smtp-server): Prompt the user for a port number if
11321 we can't connect to any of the standard ports (bug#10810).
11322
11323 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
11324
11325 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
11326
11327 2012-02-13 Glenn Morris <rgm@gnu.org>
11328
11329 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
11330
11331 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
11332
11333 * net/gnutls.el (gnutls-trustfiles): New variable.
11334 (gnutls-negotiate): Use it.
11335
11336 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
11337
11338 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
11339 does its stuff if Gnus is running.
11340
11341 2012-02-13 Alan Mackenzie <acm@muc.de>
11342
11343 Fix a loop in c-set-fl-decl-start.
11344
11345 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
11346 c-backward-syntactic-ws actually moves backwards.
11347
11348 2012-02-13 Leo Liu <sdl.web@gmail.com>
11349
11350 * net/rcirc.el (rcirc-markup-attributes): Move point to the
11351 beginning so that all \C-o chars are removed.
11352
11353 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
11354
11355 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
11356
11357 2012-02-12 Alan Mackenzie <acm@muc.de>
11358
11359 Fix infinite loop with long macros.
11360 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
11361
11362 2012-02-12 Chong Yidong <cyd@gnu.org>
11363
11364 * window.el (display-buffer): Doc fix (Bug#10785).
11365
11366 2012-02-12 Glenn Morris <rgm@gnu.org>
11367
11368 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
11369 (x-disown-selection-internal, x-get-selection-internal):
11370 Sync docs with the xselect.c versions.
11371
11372 * allout-widgets.el: Add missing license notice.
11373
11374 2012-02-11 Glenn Morris <rgm@gnu.org>
11375
11376 * select.el (x-get-selection-internal, x-own-selection-internal)
11377 (x-disown-selection-internal):
11378 * x-dnd.el (x-get-selection-internal): Update declarations.
11379
11380 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
11381
11382 * window.el (window-sides-slots):
11383 * tool-bar.el (tool-bar-position):
11384 * term/xterm.el (xterm-extra-capabilities):
11385 * ses.el (ses-self-reference-early-detection):
11386 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
11387 (verilog-auto-wire-type)
11388 (verilog-auto-delete-trailing-whitespace)
11389 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
11390 (verilog-auto-tieoff-declaration):
11391 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
11392 (sql-oracle-statement-starters, sql-oracle-scan-on):
11393 * progmodes/prolog.el (prolog-align-comments-flag)
11394 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
11395 (prolog-left-indent-regexp, prolog-paren-indent-p)
11396 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
11397 (prolog-types, prolog-mode-specificators)
11398 (prolog-determinism-specificators, prolog-directives)
11399 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
11400 (prolog-electric-dot-flag)
11401 (prolog-electric-dot-full-predicate-template)
11402 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
11403 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
11404 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
11405 (prolog-program-switches, prolog-prompt-regexp)
11406 (prolog-debug-on-string, prolog-debug-off-string)
11407 (prolog-trace-on-string, prolog-trace-off-string)
11408 (prolog-zip-on-string, prolog-zip-off-string)
11409 (prolog-use-standard-consult-compile-method-flag)
11410 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
11411 (prolog-imenu-max-lines, prolog-info-predicate-index)
11412 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
11413 (prolog-char-quote-workaround):
11414 * progmodes/cc-vars.el (c-defun-tactic):
11415 * net/tramp.el (tramp-encoding-command-interactive)
11416 (tramp-local-end-of-line):
11417 * net/soap-client.el (soap-client):
11418 * net/netrc.el (netrc-file):
11419 * net/gnutls.el (gnutls):
11420 * minibuffer.el (completion-category-overrides)
11421 (completion-cycle-threshold)
11422 (completion-pcm-complete-word-inserts-delimiters):
11423 * man.el (Man-name-local-regexp):
11424 * mail/feedmail.el (feedmail-display-full-frame):
11425 * international/characters.el (glyphless-char-display-control):
11426 * eshell/em-ls.el (eshell-ls-date-format):
11427 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
11428 (lisp-lambda-list-keyword-parameter-indentation)
11429 (lisp-lambda-list-keyword-parameter-alignment):
11430 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
11431 * dired-x.el (dired-omit-verbose):
11432 * cus-theme.el (custom-theme-allow-multiple-selections):
11433 * calc/calc.el (calc-highlight-selections-with-faces)
11434 (calc-lu-field-reference, calc-lu-power-reference)
11435 (calc-note-threshold):
11436 * battery.el (battery-mode-line-limit):
11437 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
11438 (archive-7z-update):
11439 * allout.el (allout-prefixed-keybindings)
11440 (allout-unprefixed-keybindings)
11441 (allout-inhibit-auto-fill-on-headline)
11442 (allout-flattened-numbering-abbreviation):
11443 * allout-widgets.el (allout-widgets-auto-activation)
11444 (allout-widgets-icons-dark-subdir)
11445 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
11446 (allout-widgets-theme-dark-background)
11447 (allout-widgets-theme-light-background)
11448 (allout-widgets-item-image-properties-emacs)
11449 (allout-widgets-item-image-properties-xemacs)
11450 (allout-widgets-run-unit-tests-on-load)
11451 (allout-widgets-time-decoration-activity)
11452 (allout-widgets-hook-error-post-time)
11453 (allout-widgets-track-decoration):
11454 Add missing :version tags to new defcustoms and defgroups.
11455
11456 * progmodes/sql.el (sql-ansi-statement-starters)
11457 (sql-oracle-statement-starters): Add custom type.
11458
11459 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
11460 (prolog-system-version): Give it a type.
11461
11462 2012-02-11 Eli Zaretskii <eliz@gnu.org>
11463
11464 * term/pc-win.el (x-select-text, x-selection-owner-p)
11465 (x-own-selection-internal, x-disown-selection-internal)
11466 (x-get-selection-internal): Sync doc strings and argument lists
11467 with xselect.c, common-win.el and x-win.el. (Bug#10783)
11468
11469 2012-02-11 Leo Liu <sdl.web@gmail.com>
11470
11471 * progmodes/python.el (python-end-of-statement): Fix infinite
11472 loop. (Bug#10788)
11473
11474 2012-02-10 Glenn Morris <rgm@gnu.org>
11475
11476 * international/mule-cmds.el (unify-8859-on-encoding-mode)
11477 (unify-8859-on-decoding-mode): Properly mark as obsolete.
11478
11479 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
11480
11481 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
11482 about SMTP before checking the From header.
11483
11484 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
11485 into own function for reuse by emacsbug.el.
11486
11487 2012-02-10 Leo Liu <sdl.web@gmail.com>
11488
11489 * subr.el (condition-case-unless-debug): Rename from
11490 condition-case-no-debug. All callers changed.
11491 (with-demoted-errors): Fix caller.
11492
11493 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
11494 * nxml/rng-valid.el (rng-do-some-validation):
11495 * emacs-lisp/package.el (package-refresh-contents)
11496 (package-menu-execute):
11497 * desktop.el (desktop-create-buffer):
11498 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
11499
11500 2012-02-10 Glenn Morris <rgm@gnu.org>
11501
11502 * textmodes/bibtex.el:
11503 Add missing :version tags for new/changed defcustoms.
11504
11505 * files.el (remote-file-name-inhibit-cache): Doc fixes.
11506
11507 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
11508
11509 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
11510 (smtpmail-via-smtp): Use it, or fall back on the From address.
11511 (smtpmail-send-it): Ditto.
11512
11513 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
11514
11515 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
11516 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
11517 (byte-compile-tmp-var): New const.
11518 (byte-compile-defvar): Use it to minimize .elc size.
11519 Just use `defvar' rather than simulate it (bug#10761).
11520
11521 2012-02-09 Glenn Morris <rgm@gnu.org>
11522
11523 * files.el (rename-uniquely): Doc fix. (Bug#3806)
11524
11525 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
11526 Add :version tags.
11527
11528 * progmodes/compile.el (compilation-error-screen-columns)
11529 (compilation-first-column, compilation-filter-start): Doc fixes.
11530
11531 * vc/log-view.el (log-view-toggle-entry-display):
11532 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
11533
11534 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
11535 (report-emacs-bug-can-use-xdg-email):
11536 (report-emacs-bug-insert-to-mailer): Doc fixes.
11537 (report-emacs-bug): Message fix.
11538
11539 * net/browse-url.el (browse-url-can-use-xdg-open)
11540 (browse-url-xdg-open): Doc fixes.
11541
11542 * electric.el (electric-indent-mode, electric-pair-mode)
11543 (electric-layout-rules, electric-layout-mode): Doc fixes.
11544 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
11545
11546 2012-02-08 Martin Rudalics <rudalics@gmx.at>
11547
11548 * server.el (server-unselect-display): Don't inadvertently kill
11549 the current buffer. (Bug#10729)
11550
11551 2012-02-08 Glenn Morris <rgm@gnu.org>
11552
11553 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
11554 (sql-list-table): Doc fixes.
11555
11556 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
11557 Comment out (does nothing).
11558
11559 * completion.el (dynamic-completion-mode):
11560 * dirtrack.el (dirtrack-debug-mode):
11561 * electric.el (electric-layout-mode):
11562 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
11563 * face-remap.el (text-scale-mode, buffer-face-mode):
11564 * iimage.el (iimage-mode):
11565 * image-mode.el (image-transform-mode):
11566 * minibuffer.el (completion-in-region-mode):
11567 * scroll-lock.el (scroll-lock-mode):
11568 * simple.el (next-error-follow-minor-mode):
11569 * tar-mode.el (tar-subfile-mode):
11570 * tooltip.el (tooltip-mode):
11571 * vcursor.el (vcursor-use-vcursor-map):
11572 * wid-browse.el (widget-minor-mode):
11573 * emulation/tpu-edt.el (tpu-edt-mode):
11574 * emulation/tpu-extras.el (tpu-cursor-free-mode):
11575 * international/iso-ascii.el (iso-ascii-mode):
11576 * language/thai-util.el (thai-word-mode):
11577 * mail/supercite.el (sc-minor-mode):
11578 * net/goto-addr.el (goto-address-mode):
11579 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
11580 * progmodes/cwarn.el (cwarn-mode):
11581 * progmodes/flymake.el (flymake-mode):
11582 * progmodes/glasses.el (glasses-mode):
11583 * progmodes/hideshow.el (hs-minor-mode):
11584 * progmodes/pascal.el (pascal-outline-mode):
11585 * textmodes/enriched.el (enriched-mode):
11586 * vc/smerge-mode.el (smerge-mode):
11587 Doc fixes (minor mode argument).
11588
11589 2012-02-07 Eli Zaretskii <eliz@gnu.org>
11590
11591 * ls-lisp.el (ls-lisp-sanitize): New function.
11592 (ls-lisp-insert-directory): Use it to fix or remove any elements
11593 in file-alist with missing attributes. (Bug#4673)
11594
11595 2012-02-07 Alan Mackenzie <acm@muc.de>
11596
11597 Fix spurious recognition of c-in-knr-argdecl.
11598
11599 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
11600 putative K&R region.
11601
11602 2012-02-07 Alan Mackenzie <acm@muc.de>
11603
11604 * progmodes/cc-engine.el (c-forward-objc-directive):
11605 Prevent looping in "#pragma mark @implementation".
11606
11607 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
11608
11609 * notifications.el (notifications-on-closed-signal): Make `reason'
11610 optional. (Bug#10744)
11611
11612 2012-02-07 Glenn Morris <rgm@gnu.org>
11613
11614 * emacs-lisp/easy-mmode.el (define-minor-mode):
11615 Doc fixes for the macro and the mode it defines.
11616
11617 * image.el (imagemagick-types-inhibit): Doc fix.
11618
11619 * cus-start.el (imagemagick-render-type): Add it.
11620
11621 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
11622
11623 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
11624 Set the default at load time, too, so that `font-lock-fontify-buffer'
11625 can be called without setting up the entire mode first. This fixes
11626 a bug in `mm-inline-text' with C MIME parts.
11627
11628 2012-02-06 Chong Yidong <cyd@gnu.org>
11629
11630 * simple.el (list-processes--refresh): Delete exited processes
11631 (Bug#8094).
11632
11633 * comint.el (comint-next-prompt): next-single-char-property-change
11634 and prev-single-char-property-change never return nil (Bug#8657).
11635
11636 * custom.el (defcustom): Doc fix (Bug#9711).
11637
11638 2012-02-05 Chong Yidong <cyd@gnu.org>
11639
11640 * cus-edit.el (custom-variable-reset-backup): Quote the value
11641 before storing it in the customized-value property (Bug#6712).
11642 (custom-display): Add a customization type tag.
11643 (custom-buffer-create-internal): Improve tooltip message.
11644
11645 * wid-edit.el (widget-field-value-get): New optional arg to
11646 suppress trailing whitespace truncation.
11647 (character): Use it (Bug#2689).
11648
11649 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
11650
11651 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
11652 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
11653
11654 2012-02-05 Chong Yidong <cyd@gnu.org>
11655
11656 * cus-edit.el (custom-variable-value-create): For mismatched
11657 types, show the current value (Bug#7600).
11658
11659 * custom.el (defcustom): Doc fix.
11660
11661 2012-02-05 Glenn Morris <rgm@gnu.org>
11662
11663 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
11664
11665 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
11666
11667 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
11668 (pp-buffer): Use `ignore-errors', `looking-at-p'.
11669 (pp-last-sexp): Use `looking-at-p'.
11670
11671 2012-02-04 Glenn Morris <rgm@gnu.org>
11672
11673 * files.el (revert-buffer):
11674 Doc fix (mention revert-buffer-in-progress-p).
11675
11676 * emacs-lisp/ert-x.el (ert-simulate-command):
11677 Check deferred-action-list (which is obsolete) is bound.
11678
11679 * subr.el (with-wrapper-hook): Doc fixes.
11680
11681 * simple.el (filter-buffer-substring-functions)
11682 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
11683
11684 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
11685
11686 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
11687 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
11688
11689 2012-02-04 Leo Liu <sdl.web@gmail.com>
11690
11691 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
11692
11693 2012-02-04 Glenn Morris <rgm@gnu.org>
11694
11695 * image.el (image-extension-data): Add obsolete alias.
11696
11697 * isearch.el (isearch-update): Doc fix.
11698
11699 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
11700
11701 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
11702
11703 2012-02-03 Glenn Morris <rgm@gnu.org>
11704
11705 * image.el (image-animated-p): Doc fix. Use image-animated-types.
11706 (image-animate-timeout): Doc fix.
11707
11708 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
11709
11710 2012-02-02 Glenn Morris <rgm@gnu.org>
11711
11712 * server.el (server-auth-dir): Doc fix.
11713 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
11714
11715 * subr.el (run-mode-hooks): Doc fix.
11716
11717 2012-02-02 Juri Linkov <juri@jurta.org>
11718
11719 * image-mode.el (image-toggle-display-image): Remove tautological
11720 `major-mode' from the `derived-mode-p' test.
11721
11722 2012-02-02 Kenichi Handa <handa@m17n.org>
11723
11724 * composite.el (compose-region): Cancel previous change.
11725
11726 2012-02-02 Kenichi Handa <handa@m17n.org>
11727
11728 * composite.el (compose-region, compose-string): Signal error for
11729 a null string component (Bug#6988).
11730
11731 2012-02-01 Chong Yidong <cyd@gnu.org>
11732
11733 * view.el (view-buffer-other-window, view-buffer-other-frame):
11734 Handle special modes like view-buffer (Bug#10650).
11735 (view-buffer): Simplify.
11736
11737 * frame.el (set-frame-font): Tweak meaning of third argument.
11738
11739 * dynamic-setting.el (font-setting-change-default-font):
11740 Use set-frame-font (Bug#9982).
11741
11742 2012-02-01 Glenn Morris <rgm@gnu.org>
11743
11744 * progmodes/compile.el (compilation-internal-error-properties):
11745 Respect compilation-first-column in the "*compilation*" buffer.
11746
11747 * emacs-lisp/easy-mmode.el (define-minor-mode):
11748 Relax :variable's test for a named function.
11749
11750 2012-01-31 Alan Mackenzie <acm@muc.de>
11751
11752 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
11753 off by one error.
11754
11755 2012-01-31 Chong Yidong <cyd@gnu.org>
11756
11757 * frame.el (set-frame-font): New arg ALL-FRAMES.
11758
11759 * menu-bar.el (menu-set-font): Use set-frame-font.
11760
11761 * faces.el (face-spec-reset-face): Don't apply unspecified
11762 attribute values to the default face.
11763
11764 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
11765
11766 * progmodes/cwarn.el (cwarn): Remove dead link.
11767 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
11768 Remove * from defcustom docstrings.
11769 (turn-on-cwarn-mode): Make obsolete.
11770 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
11771 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
11772
11773 2012-01-31 Glenn Morris <rgm@gnu.org>
11774
11775 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
11776 Fix :variable handling of mode a symbol not equal to modefun.
11777 Allow named functions to be used as the cdr of :variable.
11778
11779 2012-01-30 Glenn Morris <rgm@gnu.org>
11780
11781 * emacs-lisp/authors.el (authors-fixed-entries):
11782 Remove reference to deleted file rnewspost.el.
11783
11784 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
11785
11786 * window.el (window-with-parameter): Remove unused variable `windows'.
11787 (window--side-check): Remove unused variable `code'.
11788 (window--resize-siblings): Remove unused variable `first'.
11789 (adjust-window-trailing-edge): Remove unused variable `failed'.
11790 (window-deletable-p, window--delete): Remove unused variable `buffer'.
11791 Use `let', not `let*'.
11792 (balance-windows-2): Remove unused variable `found'.
11793 (window--state-put-2): Remove unused variable `splits'.
11794 (window-state-put): Remove unused variable `selected'.
11795 (same-window-p): Use `string-match-p'.
11796 (display-buffer-assq-regexp): Remove unused variable `value'.
11797 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
11798 Mark argument ALIST as ignored.
11799 (pop-to-buffer): Remove unused variable `old-window'.
11800
11801 2012-01-29 Eli Zaretskii <eliz@gnu.org>
11802
11803 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
11804 and .lzma compressed files.
11805
11806 2012-01-29 Chong Yidong <cyd@gnu.org>
11807
11808 * frame.el (window-system-default-frame-alist): Doc fix.
11809
11810 * dynamic-setting.el (font-setting-change-default-font): Don't
11811 change the default face if SET-FONT argument is non-nil (Bug#9982).
11812
11813 2012-01-29 Samuel Bronson <naesten@gmail.com>
11814
11815 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
11816
11817 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
11818
11819 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
11820 breakpoints in files outside current directory (Bug#6098).
11821
11822 2012-01-29 Chong Yidong <cyd@gnu.org>
11823
11824 * progmodes/python.el: Require ansi-color at top-level.
11825
11826 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
11827 Define and use in Emacs Lisp mode (Bug#9360).
11828 (lisp-mode-abbrev-table): Add doc.
11829 (lisp-mode-variables): Don't set local-abbrev-table.
11830 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
11831
11832 2012-01-28 Roland Winkler <winkler@gnu.org>
11833
11834 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
11835
11836 2012-01-28 Roland Winkler <winkler@gnu.org>
11837
11838 * textmodes/bibtex.el (bibtex-entry-alist): New function.
11839 (bibtex-set-dialect): Use it. Either set global values of
11840 dialect-dependent variables or bind these variables buffer-locally
11841 (Bug#10254).
11842 (bibtex-mode): Call bibtex-set-dialect via
11843 hack-local-variables-hook.
11844 (bibtex-dialect): Update docstring.
11845 Add safe-local-variable predicate.
11846 (bibtex-entry-alist, bibtex-field-alist): Initialize via
11847 bibtex-set-dialect.
11848 (bibtex-mode-map): Define menu for each dialect.
11849 (bibtex-entry): Fix docstring.
11850
11851 2012-01-28 Chong Yidong <cyd@gnu.org>
11852
11853 * eshell/esh-arg.el (eshell-quote-argument): New function.
11854
11855 * eshell/esh-ext.el (eshell-invoke-batch-file):
11856 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
11857 first arg to eshell-parse-command (Bug#10523).
11858
11859 2012-01-28 Drew Adams <drew.adams@oracle.com>
11860
11861 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
11862 `default-directory' is non-nil.
11863
11864 2012-01-28 Eli Zaretskii <eliz@gnu.org>
11865
11866 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
11867 line that displays system-configuration-options. (Bug#9924)
11868
11869 2012-01-28 Drew Adams <drew.adams@oracle.com>
11870
11871 * descr-text.el (describe-char): Show information about POS, in
11872 addition to information about the character at POS. Improve and
11873 update the doc string. Change "code point" to "code point in
11874 charset", to avoid confusion with the character's Unicode code
11875 point shown above that. (Bug#10129)
11876
11877 2012-01-28 Eli Zaretskii <eliz@gnu.org>
11878
11879 * descr-text.el (describe-char): Show the raw character, not only
11880 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
11881 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
11882 for the reasons.
11883
11884 2012-01-28 Phil Hagelberg <phil@hagelb.org>
11885
11886 * emacs-lisp/package.el (package-install):
11887 Run package-refresh-contents if there is no archive yet (Bug#9798).
11888
11889 2012-01-28 Chong Yidong <cyd@gnu.org>
11890
11891 * emacs-lisp/package.el (package-maybe-load-descriptor):
11892 New function, split from package-maybe-load-descriptor.
11893 (package-maybe-load-descriptor): Use it.
11894 (package-download-transaction): Fully load required packages
11895 inside the loop, so that `require' calls work (Bug#10593).
11896 (package-install): No need to call package-initialize now.
11897
11898 2012-01-28 Chong Yidong <cyd@gnu.org>
11899
11900 * simple.el (deactivate-mark): Doc fix (Bug#8614).
11901
11902 * tooltip.el (tooltip-mode): Doc fix.
11903 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
11904
11905 * frame.el (set-cursor-color): Doc fix (Bug#352).
11906
11907 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
11908 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
11909
11910 * cus-edit.el (custom-buffer-create-internal): Fix search button
11911 action (Bug#10542).
11912 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
11913
11914 2012-01-27 Eduard Wiebe <usenet@pusto.de>
11915
11916 * dired.el (dired-mark-files-regexp):
11917 Include any subdirectory components. (Bug#10445)
11918
11919 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
11920
11921 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
11922 Handle [host]:port syntax. (Bug#10533)
11923
11924 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
11925
11926 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
11927
11928 2012-01-26 Glenn Morris <rgm@gnu.org>
11929
11930 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
11931 * term.el (term-raw-escape-map): Use Control-X-prefix.
11932 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
11933
11934 2012-01-25 Martin Rudalics <rudalics@gmx.at>
11935
11936 * window.el (window-state-get, window--state-get-1): Don't deal
11937 with fixed-sizeness of windows. Simplify code.
11938
11939 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
11940
11941 * window.el (window--state-get-1, window--state-put-2):
11942 Don't save and restore the mark.
11943
11944 2012-01-25 Chong Yidong <cyd@gnu.org>
11945
11946 * custom.el (custom-variable-p): Doc fix.
11947
11948 2012-01-25 Glenn Morris <rgm@gnu.org>
11949
11950 * dired.el (dired-goto-file): Handle some of the more common
11951 characters that `ls -b' escapes. (Bug#10596)
11952
11953 * progmodes/compile.el (compilation-next-error-function):
11954 Respect compilation-first-column in the "*compilation*" buffer.
11955 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
11956
11957 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
11958
11959 2012-01-24 Glenn Morris <rgm@gnu.org>
11960
11961 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
11962
11963 2012-01-24 Julien Danjou <julien@danjou.info>
11964
11965 * color.el (color-rgb-to-hsl): Fix value computing.
11966 (color-hue-to-rgb): New function.
11967 (color-hsl-to-rgb): New function.
11968 (color-clamp, color-saturate-hsl, color-saturate-name)
11969 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
11970 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
11971
11972 2012-01-24 Glenn Morris <rgm@gnu.org>
11973
11974 * vc/vc-rcs.el (vc-rcs-create-tag):
11975 * vc/vc-sccs.el (vc-sccs-create-tag):
11976 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
11977
11978 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
11979
11980 * eshell/esh-util.el (eshell-read-hosts-file):
11981 Skip comment lines. (Bug#10549)
11982
11983 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
11984
11985 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
11986
11987 * subr.el (display-delayed-warnings): Doc fix.
11988 (collapse-delayed-warnings): New function to collapse identical
11989 adjacent warnings.
11990 (delayed-warnings-hook): Add it.
11991
11992 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
11993
11994 * net/tramp.el (tramp-action-login): Set connection property "login-as".
11995
11996 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
11997 (tramp-default-user-alist): Don't add "pscp".
11998 (tramp-do-copy-or-rename-file-out-of-band): Use connection
11999 property "login-as", if set. (Bug#10530)
12000
12001 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
12002
12003 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
12004 "plink1" and "psftp". (Bug#10530)
12005
12006 2012-01-21 Kenichi Handa <handa@m17n.org>
12007
12008 * international/mule-cmds.el (prefer-coding-system): Show a
12009 warning message if the default value of file-name-coding-system
12010 was not changed.
12011
12012 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
12013
12014 * windmove.el (windmove-reference-loc):
12015 Fix windmove-reference-loc miscalculation.
12016
12017 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
12018
12019 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
12020 default unit.
12021
12022 2012-01-21 Glenn Morris <rgm@gnu.org>
12023
12024 * international/mule.el (auto-coding-alist): Add .tbz.
12025
12026 * files.el (local-enable-local-variables): Doc fix.
12027 (inhibit-local-variables-regexps): Rename from
12028 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
12029 Doc fix. Add some extensions from auto-coding-alist.
12030 (inhibit-local-variables-suffixes):
12031 Rename from inhibit-first-line-modes-suffixes. Doc fix.
12032 (inhibit-local-variables-p):
12033 New function, extracted from set-auto-mode-1.
12034 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
12035 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
12036 (hack-local-variables): Doc fix. Make the mode-only case
12037 respect enable-local-variables and friends.
12038 Respect inhibit-local-variables-regexps for file-locals, but
12039 not for directory-locals.
12040 (set-visited-file-name):
12041 Take account of inhibit-local-variables-regexps.
12042 Whether it applies may change as the file name is changed.
12043 * jka-cmpr-hook.el (jka-compr-install):
12044 * jka-compr.el (jka-compr-uninstall):
12045 Update for inhibit-first-line-modes-suffixes name change.
12046
12047 2012-01-20 Martin Rudalics <rudalics@gmx.at>
12048
12049 * help-macro.el (make-help-screen): Temporarily restore original
12050 binding for minor-mode-map-alist (Bug#10454).
12051
12052 2012-01-19 Julien Danjou <julien@danjou.info>
12053
12054 * color.el (color-name-to-rgb): Use the white color to find the max
12055 color component value and return correctly computed values.
12056 (color-name-to-rgb): Add missing float conversion for max value.
12057
12058 2012-01-19 Martin Rudalics <rudalics@gmx.at>
12059
12060 * window.el (window--state-get-1, window-state-get): Do not use
12061 special state value for window-persistent-parameters.
12062 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
12063 (window--state-put-2): Reset all window parameters to nil before
12064 assigning values of persistent parameters.
12065
12066 2012-01-18 Alan Mackenzie <acm@muc.de>
12067
12068 Eliminate sluggishness and hangs in fontification of "semicolon
12069 deserts".
12070
12071 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
12072 Change value 10000 -> 3000.
12073 (c-state-safe-place): Reformulate so it doesn't stack up an
12074 infinite number of wrong entries in c-state-nonlit-pos-cache.
12075 (c-determine-limit-get-base, c-determine-limit): New functions to
12076 determine backward search limits disregarding literals.
12077 (c-find-decl-spots): Amend commenting.
12078 (c-cheap-inside-bracelist-p): New function which detects "={".
12079
12080 * progmodes/cc-fonts.el
12081 (c-make-font-lock-BO-decl-search-function): Give a limit to a
12082 backward search.
12083 (c-font-lock-declarations): Fix an occurrence of point being
12084 undefined. Check additionally for point being in a bracelist or
12085 near a macro invocation without a semicolon so as to avoid a
12086 fruitless time consuming search for a declarator. Give a more
12087 precise search limit for declarators using the new
12088 c-determine-limit.
12089
12090 2012-01-18 Glenn Morris <rgm@gnu.org>
12091
12092 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
12093 (set-auto-mode): Doc fixes.
12094
12095 2012-01-17 Glenn Morris <rgm@gnu.org>
12096
12097 * isearch.el (search-nonincremental-instead): Fix doc typo.
12098
12099 * dired.el (dired-insert-directory): Handle newlines in directory name.
12100 (dired-build-subdir-alist): Unescape newlines in directory name.
12101
12102 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
12103
12104 * net/tramp.el (tramp-local-end-of-line): New defcustom.
12105 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
12106 (tramp-action-terminal): Use it. (Bug#10530)
12107
12108 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
12109
12110 * minibuffer.el (completion--replace): Strip properties (bug#10062).
12111
12112 2012-01-16 Martin Rudalics <rudalics@gmx.at>
12113
12114 * window.el (window-state-ignored-parameters): Remove variable.
12115 (window--state-get-1): Rename argument MARKERS to IGNORE.
12116 Handle persistent window parameters. Make copy of clone-of
12117 parameter only if requested. (Bug#10348)
12118 (window--state-put-2): Install a window parameter only if it has
12119 a non-nil value or an existing parameter shall be overwritten.
12120
12121 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
12122
12123 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
12124
12125 2012-01-14 Eli Zaretskii <eliz@gnu.org>
12126
12127 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
12128 don't pass the (nil) value of `upnode' to string-match.
12129
12130 2012-01-14 Chong Yidong <cyd@gnu.org>
12131
12132 * startup.el (command-line): Fix X resource class for cursorColor.
12133 Fix values recognized by the cursorBlink resource.
12134
12135 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
12136
12137 * epg.el (epg--make-temp-file): Avoid permission race condition
12138 when running on old Emacs versions (bug#10403).
12139
12140 2012-01-14 Glenn Morris <rgm@gnu.org>
12141
12142 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
12143
12144 2012-01-13 Alan Mackenzie <acm@muc.de>
12145
12146 Fix filling for when filladapt mode is enabled.
12147
12148 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
12149 c-mask-paragraph, pass in `fill-paragraph' rather than
12150 `fill-region-as-paragraph'. (This is a reversion of a previous
12151 change.)
12152 * progmodes/cc-mode.el (c-basic-common-init):
12153 Make fill-paragraph-handle-comment buffer local and set it to nil.
12154
12155 2012-01-13 Glenn Morris <rgm@gnu.org>
12156
12157 * dired.el (dired-switches-escape-p): New function.
12158 (dired-insert-directory): Use dired-switches-escape-p.
12159 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
12160
12161 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
12162
12163 2012-01-12 Glenn Morris <rgm@gnu.org>
12164
12165 * mail/sendmail.el (mail-mode): Update paragraph-separate for
12166 changes in adaptive-fill-regexp. (Bug#10276)
12167
12168 2012-01-11 Alan Mackenzie <acm@muc.de>
12169
12170 Fix Emacs bug #10463 - put `widen's around the critical spots.
12171
12172 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
12173 widen around each invocation of c-state-pp-to-literal. Remove an
12174 unused let variable.
12175
12176 2012-01-11 Glenn Morris <rgm@gnu.org>
12177
12178 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
12179 Doc fix.
12180
12181 2012-01-10 Chong Yidong <cyd@gnu.org>
12182
12183 * net/network-stream.el (network-stream-open-starttls):
12184 Avoid emitting a confusing error message when the server gives a bad
12185 response to the capability command.
12186
12187 2012-01-10 Glenn Morris <rgm@gnu.org>
12188
12189 * mail/unrmail.el (unrmail): Tweak previous change.
12190
12191 2012-01-09 Chong Yidong <cyd@gnu.org>
12192
12193 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
12194
12195 2012-01-08 Alan Mackenzie <acm@muc.de>
12196
12197 Optimise font locking in long enum definitions.
12198
12199 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
12200 arm to a cond form to handle enums.
12201 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
12202 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
12203
12204 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
12205
12206 * files.el (move-file-to-trash): Preserve default file modes on error.
12207 (Bug#10401)
12208
12209 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
12210
12211 * faces.el (set-face-attribute): Clarify the meaning of the nil
12212 frame (bug#10294).
12213
12214 * subr.el (with-selected-frame): Mention that the selected frame
12215 is restored (bug#9980).
12216
12217 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
12218 (bug#9759).
12219
12220 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
12221 (password-read): Don't autoload unused function.
12222
12223 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
12224
12225 * progmodes/which-func.el (which-func-mode): Turn into a
12226 non-interactive function and mark as obsolete (bug#10428).
12227
12228 2012-01-06 Chong Yidong <cyd@gnu.org>
12229
12230 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
12231 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
12232 functions, along with 1 and -1.
12233
12234 2012-01-06 Eli Zaretskii <eliz@gnu.org>
12235
12236 * time.el (display-time-load-average)
12237 (display-time-default-load-average): Doc fixes. See the thread
12238 starting at
12239 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
12240 for the details.
12241
12242 2012-01-06 Glenn Morris <rgm@gnu.org>
12243
12244 * mail/unrmail.el (unrmail): Give an explicit error if the input file
12245 has no messages. (Bug#10377)
12246
12247 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
12248 than Info-edit. (Bug#10385)
12249
12250 * time.el (display-time-load-average, display-time-next-load-average):
12251 Doc fixes.
12252
12253 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
12254 local setting of buffer-read-only to the input buffer. (Bug#10419)
12255
12256 * calendar/calendar.el (calendar-mode):
12257 Locally set scroll-margin to 0. (Bug#10379)
12258
12259 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
12260
12261 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
12262
12263 2012-01-05 Glenn Morris <rgm@gnu.org>
12264
12265 * eshell/em-unix.el (diff-no-select): Autoload it.
12266 (eshell/diff): Use diff-no-select. (Bug#10420)
12267
12268 2012-01-05 Chong Yidong <cyd@gnu.org>
12269
12270 * shell.el (shell-dynamic-complete-functions): Revert last change.
12271 (shell-command-completion-function): New function.
12272 (shell-completion-vars): Use it to implement
12273 shell-completion-execonly (Bug#10417).
12274
12275 * custom.el (enable-theme): Don't set custom-safe-themes.
12276
12277 * cus-theme.el (custom-theme-merge-theme):
12278 Ignore custom-enabled-themes and custom-safe-themes.
12279
12280 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
12281
12282 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
12283 first prompt in `sql-interacive-mode'.
12284 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
12285 keywords.
12286 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
12287 (sql-product-interactive): Bug fix: Set `sql-buffer' in
12288 context of original buffer. Invoke `sql-login-hook'.
12289
12290 2012-01-04 Eli Zaretskii <eliz@gnu.org>
12291
12292 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
12293 letters in cite-prefix.
12294
12295 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12296
12297 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
12298
12299 2012-01-03 Chong Yidong <cyd@gnu.org>
12300
12301 * shell.el (shell-dynamic-complete-functions):
12302 Put pcomplete-completions-at-point, so as to try
12303 comint-filename-completion first (Bug#10417).
12304
12305 2012-01-02 Richard Stallman <rms@gnu.org>
12306
12307 * battery.el (battery-status-function):
12308 Detect when to use battery-yeeloong-sysfs.
12309 (battery-echo-area-format): Add string for Yeeloong.
12310 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
12311 (battery-yeeloong-sysfs): New function.
12312
12313 2012-01-02 Chong Yidong <cyd@gnu.org>
12314
12315 * dirtrack.el (dirtrack-list): Eliminate unused third element.
12316 (dirtrack): Merge code for handling relative filenames in prompt
12317 from shell-dir-cookie-watcher.
12318 (dirtrack-debug-message): New arg to avoid excess format calls.
12319
12320 * shell.el (shell-dir-cookie-re): Variable deleted.
12321 (shell-dir-cookie-watcher): Function deleted.
12322 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
12323 with dirtrack-mode.
12324
12325 2012-01-01 Eli Zaretskii <eliz@gnu.org>
12326
12327 * term/w32-win.el (dynamic-library-alist) <gnutls>:
12328 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
12329 libgnutls-26.dll.
12330
12331 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
12332
12333 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
12334
12335 2011-12-31 Eli Zaretskii <eliz@gnu.org>
12336
12337 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
12338 headers of non-MIME messages, when rmail-enable-mime is non-nil.
12339
12340 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
12341
12342 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
12343 also for alternative shells.
12344 (tramp-open-connection-setup-interactive-shell): Check, whether
12345 the shell is a busybox.
12346 (tramp-send-command): Don't suppress multiple prompts for
12347 busyboxes, it hurts.
12348
12349 2011-12-28 Chong Yidong <cyd@gnu.org>
12350
12351 * progmodes/gdb-mi.el (gdb-get-source-file-list)
12352 (gdb-get-source-file): Move mode line update to
12353 gdb-get-source-file (Bug#10087).
12354
12355 2011-12-25 Chong Yidong <cyd@gnu.org>
12356
12357 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
12358 gud-gdb-marker-filter without taking it as an argument.
12359 (gud-gdb-run-command-fetch-lines): Caller changed.
12360 (gud-gdb-completion-function): New variable.
12361 (gud-gdb-completion-at-point): Use it.
12362 (gud-gdb-completions-1): Split from gud-gdb-completions.
12363
12364 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
12365 function as separate arguments.
12366 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
12367 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
12368 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
12369 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
12370 (gdb-stopped, def-gdb-auto-update-trigger)
12371 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
12372 (gdb-get-changed-registers, gdb-get-main-selected-frame):
12373 Callers changed.
12374 (gud-gdbmi-completions): New function.
12375 (gdb): Use it for generating the completion table.
12376
12377 2011-12-24 Alan Mackenzie <acm@muc.de>
12378
12379 Introduce a mechanism to widen the region used in context font
12380 locking. Use this to protect declarations from losing their contexts.
12381
12382 * progmodes/cc-langs.el (c-before-font-lock-functions):
12383 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
12384 (c-before-context-fontification-functions): New defvar, a list of
12385 functions to be run just before context (etc.) font locking.
12386
12387 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
12388 New, functionality extracted from
12389 c-neutralize-syntax-in-and-mark-CPP.
12390 (c-in-after-change-fontification): New variable.
12391 (c-after-change): Set c-in-after-change-fontification.
12392 (c-set-fl-decl-start): Rejig its interface, so it can be called
12393 from both after-change and context fontifying.
12394 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
12395 New functions.
12396 (c-standard-font-lock-fontify-region-function): New variable.
12397 (c-font-lock-fontify-region): New function.
12398
12399 2011-12-24 Juri Linkov <juri@jurta.org>
12400
12401 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
12402 (Bug#10348)
12403
12404 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
12405
12406 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
12407 existence of source file. (Bug#10325)
12408
12409 2011-12-23 Alan Mackenzie <acm@muc.de>
12410
12411 Fix unstable fontification inside templates.
12412
12413 * progmodes/cc-langs.el (c-before-font-lock-functions):
12414 Newly created from the singular version. The (c c++ objc) entry now
12415 additionally has c-set-fl-decl-start. The other languages (apart
12416 from AWK) have that as a single entry.
12417
12418 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
12419 The functionality for "local" declarations has been extracted to
12420 c-set-fl-decl-start.
12421
12422 * progmodes/cc-mode.el (c-common-init, c-after-change):
12423 Changes due to pluralisation of c-before-font-lock-functions.
12424 (c-set-fl-decl-start): New function, extracted from
12425 c-font-lock-enclosing-decls and enhanced.
12426
12427 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
12428
12429 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
12430
12431 2011-12-22 Juri Linkov <juri@jurta.org>
12432
12433 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
12434
12435 2011-12-22 Chong Yidong <cyd@gnu.org>
12436
12437 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
12438
12439 2011-12-21 Drew Adams <drew.adams@oracle.com>
12440
12441 * files.el (file-remote-p): Fix docstring. (Bug#10319)
12442
12443 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
12444
12445 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
12446
12447 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
12448
12449 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
12450 highlighting and support. Fix up comments for capitalization.
12451 (cfengine-mode-debug): New var.
12452 (cfengine3-mode): Change the modeline indicator to "CFE3".
12453 (cfengine3-font-lock-keywords): Improve defun highlighting.
12454 (cfengine2-actions): Rename from `cfengine-actions'.
12455 (cfengine2-font-lock-keywords): Rename from
12456 `cfengine-font-lock-keywords'.
12457 (cfengine2-imenu-expression): Rename from
12458 `cfengine-imenu-expression'.
12459 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
12460 (cfengine2-beginning-of-defun): Rename from
12461 `cfengine-beginning-of-defun'.
12462 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
12463 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
12464 (cfengine2-mode): Rename from `cfengine-mode'. Change the
12465 modeline indicator to "CFE2".
12466 (cfengine-mode): Defalias to `cfengine-auto-mode'.
12467 (cfengine-mode-abbrevs): Mark obsolete.
12468
12469 2011-12-21 Chong Yidong <cyd@gnu.org>
12470
12471 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
12472 filename argument.
12473
12474 2011-12-20 Martin Rudalics <rudalics@gmx.at>
12475
12476 * window.el (window-normalize-buffer-to-display): Remove.
12477 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
12478
12479 2011-12-19 Chong Yidong <cyd@gnu.org>
12480
12481 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
12482 Don't signal an error in a predicate function; return non-nil.
12483 (vc-dir-mark-file): Move the error here.
12484 (vc-dir-mark-unmark): If acting on the region, keep going if one
12485 of the entries cannot be marked/unmarked.
12486 (vc-dir-mark-all-files): If current entry is a directory, mark
12487 only child files, as documented.
12488
12489 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
12490
12491 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
12492 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
12493 addition.
12494
12495 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
12496
12497 * term/ns-win.el (ns-get-selection-internal)
12498 (ns-store-selection-internal): Declare.
12499 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
12500 Declare as obsolete.
12501 (ns-get-pasteboard, ns-paste-secondary):
12502 Use ns-get-selection-internal.
12503 (ns-set-pasteboard, ns-copy-including-secondary):
12504 Use ns-store-selection-internal.
12505
12506 2011-12-17 Chong Yidong <cyd@gnu.org>
12507
12508 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
12509 (vc-deduce-fileset): Doc fix.
12510
12511 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
12512
12513 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
12514
12515 2011-12-13 Sam Steingold <sds@gnu.org>
12516
12517 * man.el (Man-getpage-in-background): When running under a
12518 window-system, ignore $MANWIDTH and $COLUMNS.
12519
12520 2011-12-15 Kenichi Handa <handa@m17n.org>
12521
12522 * language/ethio-util.el: Change coding tag to utf-8-emacs.
12523 (setup-ethiopic-environment-internal): Comment out key-binding for
12524 ethio-toggle-punctuation.
12525
12526 2011-12-13 Alan Mackenzie <acm@muc.de>
12527
12528 Add the switch statement to AWK Mode.
12529
12530 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
12531 "default" to the keywords regexp.
12532
12533 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
12534 expression as the rest.
12535 (c-nonlabel-token-key): Allow string literals for AWK.
12536 Refactor for the other modes.
12537
12538 Large brace-block initialisation makes CC Mode slow: Fix.
12539 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
12540 routines. Limit backward searching in c-font-lock-enclosing.decl.
12541
12542 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
12543 pp-state and literal type in addition to the limits.
12544 (c-state-safe-place): New defun, extracted from c-state-literal-at.
12545 (c-state-literal-at): Use the above new defun.
12546 (c-slow-in-literal, c-fast-in-literal): Remove.
12547 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
12548
12549 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
12550 being in a literal. Add a limit for backward searching.
12551
12552 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
12553 c-slow-in-literal.
12554
12555 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
12556
12557 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
12558
12559 2011-12-13 Martin Rudalics <rudalics@gmx.at>
12560
12561 * window.el (delete-other-windows): Use correct frame in call to
12562 window-with-parameter.
12563
12564 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
12565
12566 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
12567 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
12568 (makefile-gmake-statements, makefile-makepp-statements):
12569 Use it and add new makepp keywords.
12570 (makefile-makepp-font-lock-keywords): Add new patterns.
12571 (makefile-match-function-end): Match new [...] and [[...]].
12572
12573 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
12574
12575 * ses.el (ses-call-printer-return, ses-cell-property-get)
12576 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
12577 (ses-create-cell-variable, ses-reset-header-string)
12578 (ses-cell-set-formula, ses-repair-cell-reference-all)
12579 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
12580 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
12581 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
12582 (ses-aset-with-undo, ses-load, ses-truncate-cell)
12583 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
12584 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
12585 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
12586 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
12587 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
12588 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
12589 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
12590 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
12591
12592 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
12593
12594 * ses.el: The overall change is to add cell renaming, that is
12595 setting fancy names for cell symbols other than name matching
12596 "\\`[A-Z]+[0-9]+\\'" regexp .
12597 (ses-create-cell-variable): New defun.
12598 (ses-relocate-formula): Relocate formulas only for cells the
12599 symbols of which are not renamed, i.e. symbols whose names do not
12600 match regexp "\\`[A-Z]+[0-9]+\\'".
12601 (ses-relocate-all): Relocate values only for cells the symbols of
12602 which are not renamed.
12603 (ses-load): Create cells variables as the (ses-cell ...) are read,
12604 in order to check row col consistency with cell symbol name only
12605 for cells that are not renamed.
12606 (ses-replace-name-in-formula): New defun.
12607 (ses-rename-cell): New defun.
12608
12609 2011-12-11 Chong Yidong <cyd@gnu.org>
12610
12611 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
12612 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
12613
12614 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
12615
12616 * window.el (other-window): Fix docstring.
12617
12618 2011-12-10 Eli Zaretskii <eliz@gnu.org>
12619
12620 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
12621 `from' or `to' address before taking its substring.
12622 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
12623 encoded name is chopped in the middle of the encoded string, and
12624 thus displayed encoded.
12625
12626 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
12627
12628 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
12629
12630 2011-12-10 Eli Zaretskii <eliz@gnu.org>
12631
12632 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
12633 to use texinfo-update-node and commands that call it if the
12634 Texinfo file uses @node lines without next/prev/up pointers.
12635 Correct outdated description about texinfo-master-menu.
12636 (texinfo-all-menus-update, texinfo-master-menu)
12637 (texinfo-update-node, texinfo-every-node-update)
12638 (texinfo-multiple-files-update): Doc fix. Warn against updating
12639 all the @node lines.
12640 (texinfo-master-menu): Only call texinfo-update-node if the prefix
12641 argument is numeric. Explain better in the doc string what the
12642 function really does.
12643 (texinfo-insert-master-menu-list): Improve the error message
12644 displayed if there's no menu in the Top node.
12645 (Bug#2975) See also this thread:
12646 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
12647
12648 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
12649
12650 * speedbar.el (speedbar-supported-extension-expressions):
12651 Add .adb and .ads, commonly used for Ada source code (bug#10256).
12652
12653 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
12654
12655 * printing.el (pr-mode-alist):
12656 * simple.el (filter-buffer-substring-functions)
12657 (completion-list-insert-choice-function):
12658 * window.el (window-with-parameter, window-atom-root)
12659 (window-sides-slots, window-size-fixed, window-min-delta)
12660 (window-max-delta, window--resize-mini-window)
12661 (window--resize-child-windows-normal, window-tree)
12662 (delete-other-windows, quit-window, split-window)
12663 (display-buffer-record-window, special-display-buffer-names)
12664 (special-display-regexps, special-display-popup-frame)
12665 (same-window-p, split-window-sensibly)
12666 (display-buffer-overriding-action, display-buffer-alist)
12667 (display-buffer-base-action, display-buffer, switch-to-buffer)
12668 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
12669 (fit-window-to-buffer, recenter-positions)
12670 (mouse-autoselect-window-state, mouse-autoselect-window-select):
12671 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
12672 and remove unneeded backslashes in docstrings.
12673
12674 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
12675
12676 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
12677
12678 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
12679 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
12680 end in ".mk".
12681 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
12682 when reading the makefile (bug#10116).
12683
12684 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
12685
12686 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
12687 (bug#10116).
12688
12689 2011-12-06 Glenn Morris <rgm@gnu.org>
12690
12691 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
12692
12693 2011-12-06 Chong Yidong <cyd@gnu.org>
12694
12695 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
12696
12697 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
12698
12699 * textmodes/table.el (table-shorten-cell): Fix typo.
12700
12701 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
12702
12703 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
12704
12705 2011-12-05 Eli Zaretskii <eliz@gnu.org>
12706
12707 * descr-text.el (describe-char): Fix display of strong
12708 right-to-left characters and directional embeddings and overrides.
12709
12710 * simple.el (what-cursor-position): Fix display of codepoints of
12711 strong right-to-left characters.
12712
12713 2011-12-05 Chong Yidong <cyd@gnu.org>
12714
12715 * faces.el (read-color): Doc fix.
12716
12717 2011-12-05 Glenn Morris <rgm@gnu.org>
12718
12719 * align.el (align--set-marker): Add doc-string.
12720 Don't try to move something that is not a marker. (Bug#10216)
12721
12722 2011-12-04 Glenn Morris <rgm@gnu.org>
12723
12724 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
12725 overly zealous deletion of trailing whitespace.
12726
12727 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
12728
12729 * server.el (server-delete-client): On Windows, do not try to delete
12730 the only terminal.
12731 (server-process-filter): On Windows, treat requests for a tty frame as
12732 if they were for a GUI frame if the running server is in GUI mode.
12733
12734 2011-12-03 Glenn Morris <rgm@gnu.org>
12735
12736 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
12737
12738 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
12739
12740 * electric.el: Streamline electric-indent's hook.
12741 (electric-indent-chars): Revert to simple list.
12742 (electric-indent-functions): New var.
12743 (electric-indent-post-self-insert-function): Use it.
12744
12745 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
12746 there's no inferior buffer (bug#10196).
12747 (prolog-consult-compile): Don't use toggle-read-only.
12748
12749 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
12750
12751 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
12752 interrupt. (Bug#10187)
12753
12754 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
12755
12756 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
12757 (bug#9160).
12758
12759 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
12760 (bug#10191).
12761
12762 2011-12-02 Juri Linkov <juri@jurta.org>
12763
12764 * info.el (Info-search): Display "end of manual" when Isearch
12765 reaches the end of single-file Info manual. (Bug#9918)
12766
12767 2011-12-02 Eli Zaretskii <eliz@gnu.org>
12768
12769 * isearch.el (isearch-message-prefix): Run the input method part
12770 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
12771
12772 2011-12-02 Juri Linkov <juri@jurta.org>
12773
12774 * isearch.el (isearch-occur): Use `word-search-regexp' for
12775 `isearch-word'.
12776 (isearch-search-and-update): Add condition for `isearch-word' and
12777 call `word-search-regexp'. (Bug#10145)
12778
12779 2011-12-01 Glenn Morris <rgm@gnu.org>
12780
12781 * eshell/em-hist.el (eshell-hist-initialize):
12782 Handle eshell-history-size nil and HISTSIZE set or unset.
12783 (eshell-history-file-name, eshell-history-size): Fix custom type.
12784
12785 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
12786
12787 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
12788
12789 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
12790
12791 * progmodes/verilog-mode.el (verilog-pretty-expr):
12792 Rework verilog-pretty-expr to handle new assignment operators in system
12793 verilog, such as += *= and the like.
12794 (verilog-assignment-operator-re): Regular expression to find the
12795 assigment operator in a verilog assignment.
12796 (verilog-assignment-operation-re): Regular expression to find an
12797 assignment statement for pretty-expr.
12798 (verilog-in-attribute-p): Query returns true if point is in an
12799 attribute context; used to skip these for expression line up from
12800 pretty-expr.
12801 (verilog-in-parameter-p): Query returns true if point is in an
12802 parameter definition context; used to skip these for expression
12803 line up from pretty-expr.
12804 (verilog-in-parenthesis-p): Query returns true if point is in a
12805 parenthetical expression, specifically ( ) but not [ ] or { };
12806 used by pretty-expr.
12807 (verilog-just-one-space): If there is no space, don't add one.
12808 (verilog-get-lineup-indent-2): Specifically skip just attribute
12809 contexts for expression lineup, rather than skipping all
12810 parenthetical expressions.
12811 (verilog-calculate-indent): Fix comment, and fix indent.
12812 (verilog-do-indent): Indent declarations in lists (suggested by
12813 Joachim Lechner).
12814 (verilog-mode-abbrev-table): Populate abbrev mode with the various
12815 skeleton items.
12816 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
12817 by Alain Mellan).
12818
12819 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
12820
12821 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
12822 parameters with embedded comments. Reported by Ray Stevens.
12823 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
12824 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
12825 Reported by Tim Holt.
12826 (verilog-auto): Fix AUTOing a upper module then AUTOing module
12827 instantiated by upper module causing wrong expansion until AUTOed a
12828 second time. Reported by K C Buckenmaier.
12829 (verilog-diff-auto): Fix showing .* as a difference when
12830 `verilog-auto-star-save' off. Reported by Dan Dever.
12831 (verilog-auto-reset, verilog-read-always-signals)
12832 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
12833 temporary signals in reset list if
12834 verilog-auto-reset-blocking-in-non is nil, and match assignment
12835 style to each signal's assignment type, bug381.
12836 Reported by Thomas Esposito.
12837 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
12838 (verilog-uvm-statement-re): Support UVM indentation and
12839 highlighting, with old OVM keywords only.
12840 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
12841 Support AUTOTIEOFF creating non-wire data types.
12842 Suggested by Jonathan Greenlaw.
12843 (verilog-auto-insert-lisp, verilog-delete-to-paren)
12844 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
12845 (verilog-inject-sense, verilog-read-inst-pins)
12846 (verilog-read-sub-decls, verilog-read-sub-decls-line):
12847 Fix mismatching parenthesis inside commented out code when deleting
12848 AUTOINST, bug383. Reported by Jonathan Greenlaw.
12849 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
12850 non-numeric vector width. Reported by Alex Reed.
12851 (verilog-auto-ascii-enum): Add "onehot" option to work around not
12852 detecting signals with parameter widths. Reported by Alex Reed.
12853 (verilog-auto-delete-trailing-whitespace):
12854 With `verilog-auto-delete-trailing-whitespace' remove trailing
12855 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
12856 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
12857 Fix verilog-scan-cache corruption when running user AUTO expansion
12858 hooks that call indentation routines.
12859 (verilog-simplify-range-expression): Fix typo ignoring lower case
12860 identifiers.
12861 (verilog-delete-auto): Fix delete-autos to also remove user created
12862 automatics, as long as they start with AUTO.
12863 (verilog-batch-diff-auto, verilog-diff-auto)
12864 (verilog-diff-function): Add `verilog-diff-auto' and bind to
12865 "C-c?" to report differences in AUTO expansion, ignoring spaces.
12866 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
12867 (verilog-in-paren-quick, verilog-re-search-backward-quick)
12868 (verilog-re-search-forward-quick, verilog-syntax-ppss):
12869 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
12870 is disabled and its cache will get corrupt, causing AUTOS not to
12871 expand. Instead use only -quick functions.
12872 (verilog-scan-region): Fix scanning over escaped quotes.
12873 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
12874 (verilog-re-search-backward-quick)
12875 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
12876 related functions now ignore strings, to fix misparsing of strings
12877 with magic comments embedded in them.
12878 (verilog-read-auto-template):
12879 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
12880 Reported by Brad Dobbie.
12881 (verilog-read-auto-template):
12882 Fix 'verilog-auto-inst-template-numbers' with comments.
12883 Reported by Brad Dobbie.
12884 (verilog-auto-inst, verilog-auto-inst-param)
12885 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
12886 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
12887 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
12888 debugging templates without merge conflicts, bug357.
12889 Reported by Brad Dobbie.
12890 (verilog-read-auto-template):
12891 Fix verilog-auto-inst-template-numbers with multiple templates.
12892 Reported by Brad Dobbie.
12893 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
12894 abbrevs so user won't be asked to save.
12895 (verilog-read-auto-lisp-present): Fix to start at beginning of
12896 buffer in case called outside of verilog-auto.
12897 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
12898 to "X-2". Reported by Matthew Myers.
12899 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
12900 all inputs from module templates. Reported by Leith Johnson.
12901 (verilog-module-inside-filename-p): Fix locating programs as with
12902 modules.
12903 (verilog-auto-inst-port): Fix vl-width expressions when using
12904 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
12905 (verilog-decls-get-regs, verilog-decls-get-signals,
12906 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
12907 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
12908 verilog-read-decls): Combine reg and wire structures into one var
12909 structure to represent SystemVerilog concepts.
12910 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
12911 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
12912 (verilog-auto-wire-type, verilog-insert-definition):
12913 Add verilog-auto-wire-type and AUTOLOGIC to support using
12914 SystemVerilog "logic" keyword instead of "wire"/"reg".
12915 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
12916 to declares outputs that also have assignments (presumably in an
12917 ifdef or generate if so there's not a driver conflict).
12918 Reported by Matthew Myers.
12919 (verilog-auto-declare-nettype, verilog-insert-definition):
12920 Add verilog-auto-declare-nettype to fix declarations using
12921 `default_nettype none. Reported by Julian Gorfajn.
12922 (verilog-read-always-signals-recurse, verilog-read-decls)
12923 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
12924 malformed end statement, bug325. Reported by Joshua Wise and
12925 Andrew Drake.
12926 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
12927 (verilog-inst-comment-re): Fix not deleting Interfaced comment
12928 when expanding .* in interfaces, bug320.
12929 Reported by Pierre-David Pfister.
12930 (verilog-read-module-name): Fix import statements between module
12931 name and open parenthesis, bug317.
12932 Reported by Pierre-David Pfister.
12933 (verilog-simplify-range-expression): Fix simplification of
12934 multiplications inside AUTOWIRE connections, bug303.
12935 (verilog-auto-inst-port): Support parameter expansion in
12936 multidimensional arrays.
12937 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
12938 after "assert property". Reported by Julian Gorfajn.
12939 (verilog-simplify-range-expression): Fix "couldn't merge" errors
12940 with multiplication, bug303.
12941 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
12942 Reported by Jan Frode Lonnum.
12943
12944 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
12945
12946 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
12947 (hfy-shell-file-name, hfy-shell):
12948 * international/fontset.el (x-decompose-font-name): Fix typos.
12949
12950 2011-11-29 Ken Brown <kbrown@cornell.edu>
12951
12952 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
12953 (gdb-version): Remove defvar.
12954 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
12955 (gdb-gud-context-command, gdb-non-stop-handler)
12956 (gdb-current-context-command, gdb-stopped): Use it.
12957 (gdb-init-1): Enable pretty printing here.
12958 (gdb-non-stop-handler): Don't enable pretty-printing here.
12959 Check to see if the target supports non-stop mode; if not, turn off
12960 non-stop mode. Use the following.
12961 (gdb-check-target-async): New defun.
12962 (gud-watch, gdb-stopped): Fix whitespace.
12963 (gdb-get-source-file): Don't try to display the source file if
12964 `gdb-main-file' is nil.
12965
12966 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
12967
12968 * align.el: Try to generate fewer markers (bug#10047).
12969 (align--set-marker): New macro.
12970 (align-region): Use it.
12971
12972 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
12973
12974 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
12975
12976 2011-11-29 Chong Yidong <cyd@gnu.org>
12977
12978 * indent.el (indent-for-tab-command, indent-according-to-mode):
12979 Doc fix.
12980 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
12981
12982 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
12983
12984 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
12985 aware of remote file names. (Bug#10124)
12986
12987 2011-11-29 Chong Yidong <cyd@gnu.org>
12988
12989 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
12990
12991 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
12992
12993 * files.el (find-file): Don't use force-same-window (bug#10144).
12994 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
12995 use pop-to-buffer if the selected window can't be used.
12996 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
12997
12998 2011-11-28 Eli Zaretskii <eliz@gnu.org>
12999
13000 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
13001 special-mode-map.
13002
13003 2011-11-28 Chong Yidong <cyd@gnu.org>
13004
13005 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
13006
13007 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
13008
13009 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
13010 gdb-get-source-file-list on gdb-create-source-file-list.
13011
13012 2011-11-26 Eli Zaretskii <eliz@gnu.org>
13013
13014 * whitespace.el (whitespace-newline): Use a different foreground
13015 color for 16-color light-background displays.
13016
13017 2011-11-24 Chong Yidong <cyd@gnu.org>
13018
13019 * window.el (display-buffer--special-action): Doc fix.
13020
13021 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
13022
13023 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
13024 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
13025 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
13026 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
13027 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
13028 (avl-tree-stack-first):
13029 * emacs-lisp/cconv.el (cconv--analyse-use):
13030 * net/gnutls.el (gnutls-negotiate): Fix typos.
13031
13032 2011-11-24 Glenn Morris <rgm@gnu.org>
13033
13034 * lpr.el (lpr-windows-system, lpr-lp-system):
13035 * mail/binhex.el (binhex-begin-line):
13036 * progmodes/grep.el (grep-history, grep-find-history):
13037 * textmodes/flyspell.el:
13038 * vc/pcvs-defs.el (cvs-global-menu):
13039 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
13040 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
13041 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
13042
13043 * net/tls.el: Fix case of "GnuTLS".
13044
13045 * paths.el (rmail-file-name): Format doc-string for make-docfile.
13046
13047 * version.el (emacs-build-system): Give it a doc-string.
13048
13049 2011-11-24 Juri Linkov <juri@jurta.org>
13050
13051 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
13052
13053 2011-11-24 Glenn Morris <rgm@gnu.org>
13054
13055 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
13056 if called on a non-mime message just toggle the headers. (Bug#8006)
13057
13058 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
13059
13060 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
13061 (allout-lead-with-comment-string, allout-structure-deleted-hook)
13062 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
13063 (allout-rebullet-heading, allout-open-sibtopic)
13064 (allout-toggle-current-subtree-encryption)
13065 (allout-toggle-subtree-encryption, allout-encrypt-string)
13066 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
13067 (allout-distinctive-bullets-string, allout-auto-activation):
13068 * window.el (window-normalize-buffer-to-display):
13069 * progmodes/verilog-mode.el (verilog-batch-indent):
13070 * textmodes/bibtex.el (bibtex-field-braces-opt)
13071 (bibtex-field-strings-opt):
13072 * vc/cvs-status.el (cvs-tree-merge):
13073 Fix typos.
13074
13075 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
13076
13077 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
13078 `non-essential' to t, in order to avoid remote connections.
13079
13080 2011-11-23 Eli Zaretskii <eliz@gnu.org>
13081
13082 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
13083 On MS-DOS and MS-Windows, compare with loaddefs.el
13084 case-insensitively.
13085
13086 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
13087
13088 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
13089
13090 2011-11-23 Glenn Morris <rgm@gnu.org>
13091
13092 * paths.el (rmail-file-name): Reformat the doc-string so that it
13093 is picked up.
13094
13095 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
13096 (rmail-auto-file): Ignore case in the "special" field names,
13097 as mail-fetch-field does for all others.
13098
13099 * mail/rmail.el (rmail-forward):
13100 * mail/rmailkwd.el (rmail-set-label):
13101 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
13102 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
13103
13104 * mail/rmail.el (rmail-current-message): Doc fix.
13105
13106 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
13107
13108 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
13109
13110 * server.el (server-eval-and-print): Allow C-g (bug#6585).
13111
13112 2011-11-22 Glenn Morris <rgm@gnu.org>
13113
13114 * mail/rmailmm.el (test-rmail-mime-handler)
13115 (test-rmail-mime-bulk-handler)
13116 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
13117
13118 2011-11-21 Juri Linkov <juri@jurta.org>
13119
13120 * calc/calc.el (calc-read-key-sequence):
13121 Let-bind `input-method-function' to nil. (Bug#10018)
13122
13123 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13124
13125 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
13126 Tell the caller that the next line needs recomputation, even
13127 though it doesn't start a sexp (bug#10094).
13128
13129 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
13130
13131 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
13132
13133 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
13134
13135 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
13136 Use force-same-window.
13137
13138 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
13139
13140 * descr-text.el (describe-char-unicode-data):
13141 * json.el (json-string-escape):
13142 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
13143 (Footnote-unicode, Footnote-style-p):
13144 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
13145
13146 2011-11-20 Chong Yidong <cyd@gnu.org>
13147
13148 * window.el (replace-buffer-in-windows): Restore interactive spec.
13149
13150 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
13151
13152 * electric.el (electric-indent-mode): Fix last change (too optimistic).
13153
13154 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
13155 (byte-compile-global-not-obsolete-vars): New var.
13156 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
13157 Use it.
13158 (byte-compile-warn-obsolete): Align text with the one in *Help*.
13159
13160 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
13161
13162 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
13163 * progmodes/pascal.el (electric-pascal-equal):
13164 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
13165 * xml.el (xml-substitute-special): Fix typos.
13166
13167 2011-11-20 Glenn Morris <rgm@gnu.org>
13168
13169 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
13170 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
13171 Doc fixes.
13172 (rmail-decode-mime-charset): Mark as obsolete.
13173
13174 * mail/rmailsum.el (rmail-message-regexp-p-1):
13175 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
13176 Before using mime functions, check they are set. (Bug#10077)
13177
13178 2011-11-19 Juri Linkov <juri@jurta.org>
13179
13180 * info.el (Info-finder-find-node): Use `package--builtins' instead
13181 of `package-alist'. Use node names formed by the pattern "Keyword "
13182 and the keyword name.
13183
13184 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
13185
13186 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
13187
13188 2011-11-19 Juri Linkov <juri@jurta.org>
13189
13190 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
13191 that calls `revert-buffer' on all Info buffers. (Bug#9915)
13192 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
13193 `old-history', `old-history-forward'. Add let-binding
13194 `window-selected'. Remove calls to `kill-buffer',
13195 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
13196 before calling `Info-find-node', so `Info-find-node-2' will reread
13197 the Info file. Restore window positions only when `window-selected'
13198 is non-nil.
13199
13200 2011-11-19 Juri Linkov <juri@jurta.org>
13201
13202 * isearch.el (isearch-lazy-highlight-new-loop):
13203 Remove condition `(not isearch-error)'. (Bug#9918)
13204
13205 * misearch.el (multi-isearch-search-fun): Add condition
13206 `(not bound)' to ignore lazy-highlighting search.
13207 Add the search-failed message "end of multi" when the end of
13208 multi-sequence is reached. Uncapitalize the search-failed
13209 message "Repeat for next buffer".
13210
13211 * info.el (Info-search): Add the search-failed message
13212 "end of the manual" when the end of the manual is reached
13213 in Isearch mode.
13214
13215 2011-11-19 Juri Linkov <juri@jurta.org>
13216
13217 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
13218 Use non-destructive `remove' instead of `delete' because
13219 `Info-history-list' stored to `Info-isearch-initial-history-list' in
13220 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
13221
13222 2011-11-19 Juri Linkov <juri@jurta.org>
13223
13224 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
13225 to nil instead of binding `search-ring' and `regexp-search-ring'.
13226 (Bug#9185)
13227
13228 2011-11-19 Eli Zaretskii <eliz@gnu.org>
13229
13230 * simple.el (line-move): Force movement by logical lines for any
13231 hscrolled window, not only when auto-hscroll-mode is on.
13232 (line-move-visual): Update doc string to that effect. (Bug#10076)
13233
13234 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
13235
13236 * language/european.el (macintosh): Define as alias for mac-roman.
13237
13238 2011-11-19 Eli Zaretskii <eliz@gnu.org>
13239
13240 * mail/rmailmm.el (rmail-mime-display-header)
13241 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
13242 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
13243 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
13244 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
13245 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
13246 of a raw aref.
13247 (rmail-mime-entity-segment): To get past the tagline, move forward
13248 2 more lines, to account for the 2 empty lines that precede and
13249 follow the line with the buttons.
13250 (rmail-mime-update-tagline): Move one more line, to get past the
13251 empty line that follows the buttons in the tagline. (Bug#9520)
13252
13253 2011-11-19 Martin Rudalics <rudalics@gmx.at>
13254
13255 * window.el (window-max-delta-1, window-min-delta-1)
13256 (window-min-size-1, window-state-get-1, window-state-put-1)
13257 (window-state-put-2): Use "window--" prefix.
13258
13259 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
13260
13261 * emacs-lisp/smie.el: Improve warnings and conflict detection.
13262 (smie-warning-count): New var.
13263 (smie-set-prec2tab): Use it.
13264 (smie-bnf->prec2): Improve warnings. Add docstring.
13265 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
13266 (smie-bnf--set-class): New function.
13267 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
13268 corner case.
13269
13270 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
13271 (compilation-error-properties, compilation-move-to-column):
13272 Handle compilation-first-column while in the target buffer.
13273
13274 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
13275 Don't hardcode point-min==1.
13276
13277 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
13278 (eshell-rewrite-for-command): Remove workaround.
13279 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
13280 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
13281 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
13282
13283 * files-x.el (modify-file-local-variable): Obey commenting conventions.
13284
13285 2011-11-17 Glenn Morris <rgm@gnu.org>
13286
13287 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
13288 Ignore buffer-local generated-autoload-file if it is the same
13289 as the global value. (Bug#10049)
13290
13291 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
13292
13293 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
13294 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
13295 (reftex-toc-previous-heading, reftex-toc-max-level)
13296 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
13297 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
13298 (reftex-toc-do-promote, reftex-toc-promote-prepare)
13299 (reftex-toc-promote-action, reftex-toc-extract-section-number)
13300 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
13301 (reftex-toc-rename-label, reftex-toc-visit-location)
13302 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
13303 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
13304 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
13305 leaving "*toc*" only for references to the buffer.
13306
13307 2011-11-17 Martin Rudalics <rudalics@gmx.at>
13308
13309 * window.el (window-resize, delete-window, split-window):
13310 Replace window-splits by window-combination-resize.
13311 * cus-start.el (window-splits): Replace by window-combination-resize.
13312
13313 2011-11-17 Glenn Morris <rgm@gnu.org>
13314
13315 * progmodes/sh-script.el (sh-font-lock-keywords-var):
13316 Make bash entry derive from sh entry, not shell entry.
13317
13318 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
13319
13320 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
13321 local file name.
13322
13323 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
13324
13325 * menu-bar.el (menu-bar-file-menu):
13326 * printing.el (pr-ps-utility):
13327 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
13328 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
13329 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
13330 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
13331 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
13332 (icalendar--convert-cyclic-to-ical)
13333 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
13334 (icalendar--convert-ical-to-diary)
13335 (icalendar--convert-recurring-to-diary)
13336 (icalendar--convert-non-recurring-all-day-to-diary)
13337 (icalendar-import-format-sample):
13338 * progmodes/idlw-shell.el (idlwave-shell-mode):
13339 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
13340 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
13341 (vhdl-ps-print-init): Fix typos.
13342
13343 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
13344
13345 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
13346 FSF and collapse date sequence, obscure author/maintainer email address
13347 better, remove extra version line, track relocation of author's webpage.
13348
13349 * progmodes/python.el (python-pdbtrack-input-prompt)
13350 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
13351 regular python pdb prompts. Adjustments shamelessly taken exactly as
13352 suggested in EmacsWiki page (tiny change):
13353 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
13354
13355 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
13356
13357 * expand.el (expand-pos, expand-index, expand-point):
13358 Remove redundant info from docstring.
13359 (expand-add-abbrevs): Doc fix.
13360 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
13361 (expand-sample-perl-mode-expand-list): Fix typos.
13362
13363 * net/dbus.el (dbus-event-member-name):
13364 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
13365 * term/pc-win.el (msdos-create-frame-with-faces):
13366 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
13367
13368 2011-11-16 Martin Rudalics <rudalics@gmx.at>
13369
13370 * window.el (split-window, window-state-get-1)
13371 (window-state-put-1, window-state-put-2): Rename occurrences of
13372 window-nest to window-combination-limit.
13373 * cus-start.el (window-nest): Rename to window-combination-limit.
13374
13375 2011-11-16 Chong Yidong <cyd@gnu.org>
13376
13377 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
13378 regexp (Bug#10033).
13379
13380 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
13381
13382 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
13383 `completing-read' will remove *Completions* and will preserve
13384 current-buffer for us.
13385 (tmm-add-prompt): Users of *Completions* will always (re)set its
13386 major mode.
13387 (tmm-old-comp-map): Remove.
13388
13389 2011-11-16 Glenn Morris <rgm@gnu.org>
13390
13391 * mail/rmailedit.el: Require rmailmm when compiling.
13392 (rmail-old-mime-state): New declaration.
13393 (rmail-edit-current-message): If editing a mime message,
13394 edit the "raw" message from the mbox buffer.
13395 (rmail-cease-edit): Handle mime messages. (Bug#9840)
13396
13397 2011-11-15 Glenn Morris <rgm@gnu.org>
13398
13399 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
13400 which wasn't being used. Add optional arg to force given state.
13401 (rmail-mime): Add optional arg to force given state.
13402
13403 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
13404
13405 * allout.el (allout-encryption-plaintext-sanitization-regexps):
13406 * frame.el (display-mm-dimensions-alist):
13407 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
13408 (outline-move-subtree-down):
13409 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
13410 (newsticker--treeview-do-get-node):
13411 * net/quickurl.el (quickurl-list-buffer-name):
13412 * progmodes/dcl-mode.el (dcl-mode):
13413 * progmodes/gdb-mi.el (gdb-mapcar*):
13414 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
13415
13416 2011-11-15 Glenn Morris <rgm@gnu.org>
13417
13418 * mail/rmail.el (rmail-file-coding-system): It's only ever used
13419 in a boolean sense, so just make it a boolean, and fix the doc.
13420 (rmail-show-mime-function, rmail-mime-feature)
13421 (rmail-require-mime-maybe): Doc fixes.
13422 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
13423
13424 * mail/rmailmm.el (rmail-show-mime): Doc fix.
13425
13426 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
13427
13428 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
13429 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
13430 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
13431 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
13432
13433 2011-11-15 Glenn Morris <rgm@gnu.org>
13434
13435 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
13436 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
13437 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
13438 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
13439 (rmail-mime, rmail-show-mime): Doc fixes.
13440
13441 * term/ns-win.el (mode-line-frame-identification):
13442 Leave it alone. (Bug#10051)
13443
13444 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
13445
13446 * mail/rmailout.el (rmail-output-to-rmail-buffer):
13447 Handle empty buffers. (Bug#9978)
13448
13449 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
13450
13451 * international/mule.el (define-charset):
13452 * mail/rmailmm.el (rmail-mime-find-header-encoding):
13453 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
13454 * progmodes/verilog-mode.el (verilog-backward-token):
13455 * textmodes/ispell.el (lookup-words):
13456 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
13457
13458 2011-11-14 Glenn Morris <rgm@gnu.org>
13459
13460 * progmodes/executable.el
13461 (executable-make-buffer-file-executable-if-script-p):
13462 Handle file-modes returning nil.
13463
13464 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
13465 message - not necessary, and causes problems. (Bug#9831)
13466
13467 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
13468
13469 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
13470
13471 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
13472 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
13473 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
13474
13475 2011-11-12 Martin Rudalics <rudalics@gmx.at>
13476
13477 * window.el (window-resize, delete-window): Use window-splits
13478 variable instead of function.
13479 (window-state-get-1, window-state-put-2, window-state-put):
13480 Don't deal with windows' splits status.
13481
13482 2011-11-12 Glenn Morris <rgm@gnu.org>
13483
13484 * apropos.el (apropos-do-all, apropos-library, apropos-value)
13485 (apropos-documentation): Doc fixes.
13486
13487 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
13488
13489 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
13490 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
13491
13492 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
13493
13494 * electric.el (electric-indent-post-self-insert-function): Make it
13495 possible for a char to only indent in some circumstances.
13496 (electric-indent-mode): Simplify.
13497
13498 2011-11-11 Martin Rudalics <rudalics@gmx.at>
13499
13500 * window.el (windows-with-parameter): Remove unused function.
13501 (windows-at-side): Rename to window-at-side-list.
13502 (window-check, window-atom-check, window-atom-check-1)
13503 (window-side-check, window-size-ignore, window-size-fixed-1)
13504 (window-in-direction-2): Prefix with "window--".
13505 (window-tree-1): Rename to window--subtree, fix doc-string.
13506
13507 2011-11-11 Glenn Morris <rgm@gnu.org>
13508
13509 * subr.el (eval-after-load): If FILE is already loaded,
13510 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
13511
13512 2011-11-10 Glenn Morris <rgm@gnu.org>
13513
13514 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
13515 Call svn via vc-svn-command rather than vc-do-command.
13516 (vc-svn-command): Add --non-interactive. (Bug#9993)
13517 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
13518
13519 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
13520 Add toggle-read-only. (Bug#7292)
13521 * files.el (toggle-read-only): Mention that it should only
13522 be used interactively. (Bug#10006)
13523
13524 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
13525
13526 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13527 Adjust regexp for OCaml warnings.
13528
13529 * electric.el (electric-pair-post-self-insert-function): Let user
13530 turn it off buffer-locally (bug#9932).
13531
13532 * progmodes/python.el (python-beginning-of-statement):
13533 Rewrite (bug#2703).
13534
13535 * progmodes/compile.el: Better handle TABs (bug#9749).
13536 (compilation-internal-error-properties)
13537 (compilation-next-error-function): Obey the target buffer's
13538 compilation-error-screen-columns.
13539
13540 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
13541
13542 * progmodes/meta-mode.el: Remove obsolete comments.
13543 (meta-right-comment-regexp, meta-ignore-comment-regexp):
13544 Fix typos in docstrings.
13545
13546 2011-11-09 Martin Rudalics <rudalics@gmx.at>
13547
13548 * window.el (window-size-fixed-p): Rewrite doc-string.
13549 (window-resizable-p): Rename to window--resizable-p. Update callers.
13550 (window--resizable): New function. Make all callers of
13551 window-resizable call window--resizable instead.
13552 (window-resizable): Rewrite in terms of window--resizable.
13553
13554 2011-11-08 Glenn Morris <rgm@gnu.org>
13555
13556 * progmodes/delphi.el (delphi-mode-syntax-table):
13557 Let define-derived-mode define a proper syntax table. (Bug#9994)
13558
13559 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
13560
13561 * window.el: Stay away from defsubst.
13562 (window-list-no-nils): Remove.
13563 (window-state-get-1, window-state-get): Use backquote instead.
13564
13565 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13566
13567 * emacs-lisp/find-func.el (find-function-read):
13568 Fix incorrect use of default argument in `completing-read'.
13569
13570 2011-11-08 Martin Rudalics <rudalics@gmx.at>
13571
13572 * window.el (display-buffer-function, special-display-function):
13573 Mention display-buffer-record-window but do not mention
13574 help-setup parameter in doc-strings.
13575 (window-min-delta): Fix doc-string typo.
13576
13577 2011-11-08 Chong Yidong <cyd@gnu.org>
13578
13579 * window.el (window-total-height, window-total-width): Doc fix.
13580 (window-body-size): Move from C.
13581 (window-body-height, window-body-width): Move to C.
13582
13583 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
13584
13585 * window.el: Make special-display like display-buffer-alist (bug#9532).
13586 (display-buffer--special-action): New function, morphed
13587 from display-buffer--special.
13588 (display-buffer): Use it to handle special-display-buffers at higher
13589 priority (just after display-buffer-alist).
13590 (display-buffer-fallback-action, display-buffer--other-frame-action)
13591 (pop-to-buffer-same-window): Remove display-buffer--special.
13592
13593 2011-11-07 Glenn Morris <rgm@gnu.org>
13594
13595 * calendar/cal-menu.el (cal-menu-set-date-title):
13596 Do nothing if not in a calendar. (Bug#9976)
13597
13598 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
13599
13600 * files.el (find-file): Always use selected-window.
13601
13602 2011-11-07 Martin Rudalics <rudalics@gmx.at>
13603
13604 * window.el (window-combinations): Make WINDOW argument
13605 mandatory. Rewrite doc-string.
13606 (walk-window-subtree, window-atom-check, window-min-delta)
13607 (window-max-delta, window--resize-this-window)
13608 (window--resize-root-window-vertically, window-tree)
13609 (balance-windows, window-state-put): Rewrite doc-strings as to
13610 not mention the term "subwindow".
13611 (window--resize-subwindows-skip-p): Rename to
13612 window--resize-child-windows-skip-p.
13613 (window--resize-subwindows-normal): Rename to
13614 window--resize-child-windows-normal.
13615 (window--resize-subwindows): Rename to
13616 window--resize-child-windows.
13617 (window-or-subwindow-p): Rename to window--in-subtree-p.
13618
13619 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
13620
13621 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
13622 Ensure that mbox format messages end in two newlines (Bug#9974).
13623
13624 2011-11-06 Chong Yidong <cyd@gnu.org>
13625
13626 * window.el (window-combination-p): Function deleted; its
13627 side-effect is not used in any existing code.
13628 (window-combinations, window-combined-p): Call window-*-child
13629 directly.
13630
13631 2011-11-05 Chong Yidong <cyd@gnu.org>
13632
13633 * window.el (window-valid-p): Rename from window-any-p.
13634 (window-size-ignore, window-state-get): Callers changed.
13635 (window-normalize-window): Rename from window-normalize-any-window.
13636 New arg LIVE-ONLY, replacing window-normalize-live-window.
13637 (window-normalize-live-window): Delete.
13638 (window-combination-p, window-combined-p, window-combinations)
13639 (walk-window-subtree, window-atom-root, window-min-size)
13640 (window-sizable, window-sizable-p, window-size-fixed-p)
13641 (window-min-delta, window-max-delta, window-resizable)
13642 (window-resizable-p, window-full-height-p, window-full-width-p)
13643 (window-current-scroll-bars, window-point-1, set-window-point-1)
13644 (window-at-side-p, window-in-direction, window-resize)
13645 (adjust-window-trailing-edge, maximize-window, minimize-window)
13646 (window-deletable-p, delete-window, delete-other-windows)
13647 (record-window-buffer, unrecord-window-buffer)
13648 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
13649 (quit-window, split-window, window-state-put)
13650 (set-window-text-height, fit-window-to-buffer)
13651 (shrink-window-if-larger-than-buffer): Callers changed.
13652
13653 2011-11-04 Eli Zaretskii <eliz@gnu.org>
13654
13655 * mail/rmail.el (rmail-simplified-subject): Decode subject with
13656 rfc2047-decode-string.
13657 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
13658 warnings.
13659
13660 * window.el (window-body-height, window-body-width): Mention in
13661 the doc string that the return values are in frame's canonical
13662 units. (Bug#9949)
13663
13664 2011-11-03 Alan Mackenzie <acm@muc.de>
13665
13666 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
13667 change in cc-engine.el.
13668
13669 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
13670
13671 * window.el (switch-to-buffer): Use `force-same-window' interactively.
13672
13673 2011-11-02 Martin Rudalics <rudalics@gmx.at>
13674
13675 * window.el (quit-window): Call unrecord-window-buffer after
13676 showing another buffer in the window. (Bug#9937)
13677 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
13678
13679 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
13680
13681 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
13682 Accept status with more than 9 shelves. (Bug#9935)
13683 Reported by Colin D Bennett <colin@gibibit.com>.
13684
13685 2011-11-01 Martin Rudalics <rudalics@gmx.at>
13686
13687 * help.el (with-help-window): Don't reference
13688 temp-buffer-show-specifiers in doc-string.
13689
13690 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
13691
13692 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
13693 menu-item.
13694
13695 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
13696
13697 * whitespace.el: New version 13.2.2.
13698 (whitespace-newline-mode): Disable properly. Reported by Sarah
13699 <EmacsWiki>.
13700
13701 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
13702
13703 * net/newst-treeview.el: Remove "Time-stamp".
13704 (newsticker--group-manage-orphan-feeds): Do not call
13705 newsticker--treeview-tree-update.
13706 (newsticker-treeview-update, newsticker-treeview):
13707 Call newsticker--treeview-tree-update if necessary.
13708
13709 2011-10-30 Martin Rudalics <rudalics@gmx.at>
13710
13711 * window.el (window-iso-combination-p, window-iso-combined-p)
13712 (window-iso-combinations): Remove "iso-" infix.
13713 Suggested by Chong Yidong.
13714 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
13715 (window-max-delta-1, window-resize, window--resize-siblings)
13716 (window--resize-this-window, adjust-window-trailing-edge)
13717 (split-window, balance-windows-1)
13718 (shrink-window-if-larger-than-buffer):
13719 * calendar/calendar.el (calendar-generate-window):
13720 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
13721
13722 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
13723
13724 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
13725 in place (bug#9907).
13726 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
13727 (eshell-rewrite-if-command, eshell-rewrite-for-command)
13728 (eshell-structure-basic-command, eshell-rewrite-while-command)
13729 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
13730 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
13731 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
13732 (eshell-do-pipelines-synchronously, eshell-eval-command):
13733 Use backquotes and prefer setq to set.
13734 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
13735 (eshell-macrop): Use functionp.
13736 (eshell-do-eval): Handle multiple expressions in `while' body.
13737
13738 2011-10-30 Chong Yidong <cyd@gnu.org>
13739
13740 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
13741 instead of set-mark (Bug#9810).
13742
13743 2011-10-30 Chong Yidong <cyd@gnu.org>
13744
13745 * window.el (split-window-below, split-window-right): Rename from
13746 split-window-above-each-other and split-window-side-by-side
13747 respectively. All callers changed.
13748 (split-window-sensibly, split-window-sensibly): Use them.
13749 (split-window-keep-point): Doc fix.
13750
13751 * isearch.el: Add isearch-scroll property to split-window-below
13752 and split-window-right.
13753
13754 * follow.el (follow-mode):
13755 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
13756 * progmodes/ada-xref.el (ada-gdb-application):
13757 * emulation/vip.el (vip-buffer-in-two-windows):
13758 * image-dired.el (image-dired-dired-with-window-configuration):
13759 * dired-x.el (dired-do-find-marked-files):
13760 * dired.el (dired-pop-to-buffer):
13761 * bs.el (bs--show-with-configuration):
13762 * vc/emerge.el (emerge-setup-windows):
13763 * textmodes/two-column.el (2C-two-columns):
13764 * textmodes/reftex-toc.el (reftex-toc):
13765 * progmodes/gdb-mi.el (gdb-setup-windows):
13766 * progmodes/fortran.el (fortran-window-create):
13767 * net/newst-treeview.el (newsticker--treeview-window-init):
13768 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
13769 * emulation/tpu-edt.el (tpu-gold-map):
13770 * emulation/crisp.el (crisp-mode-map):
13771 * calendar/calendar.el (calendar-basic-setup): Callers changed.
13772
13773 2011-10-29 Chong Yidong <cyd@gnu.org>
13774
13775 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
13776
13777 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
13778
13779 * textmodes/flyspell.el (flyspell-word): Fix char offset for
13780 forged Ispell output (Bug#7904).
13781
13782 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
13783
13784 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
13785
13786 * doc-view.el: Avoid ugly errors about not finding nil.
13787 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
13788 (doc-view-dvipdf-program, doc-view-unoconv-program)
13789 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
13790 Avoid nil or absolute file name as default value.
13791 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
13792
13793 2011-10-28 Alan Mackenzie <acm@muc.de>
13794
13795 * progmodes/cc-defs.el (c-version): -> 5.32.2.
13796
13797 2011-10-28 Alan Mackenzie <acm@muc.de>
13798
13799 Amend the handling of c-beginning/end-of-defun in nested declaration
13800 scopes.
13801
13802 * progmodes/cc-vars.el (c-defun-tactic): Move here from
13803 cc-langs.el. Change it to a defcustom.
13804
13805 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
13806 cc-vars.el.
13807
13808 * progmodes/cc-engine.el (c-beginning-of-statement-1):
13809 Prevent "class foo : bar" being spuriously recognized as a label.
13810
13811 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
13812 Add parameter `inclusive' (to include enclosing braces in the region).
13813 (c-widen-to-enclosing-decl-scope): New function.
13814 (c-while-widening-to-decl-block): New macro.
13815 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
13816 outward for defun boundaries, and correspondingly change symbol
13817 `respect-enclosure' to `go-outward'.
13818 (c-declaration-limits): Change algorithm to report only the "innermost"
13819 defun's boundaries.
13820
13821 2011-10-28 Deniz Dogan <deniz@dogan.se>
13822
13823 * net/rcirc.el (rcirc-mode): Use hard newlines.
13824
13825 2011-10-28 Alan Mackenzie <acm@muc.de>
13826
13827 Amend to indent and fontify macros "which include their own semicolon"
13828 correctly, using the "virtual semicolon" mechanism.
13829
13830 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
13831
13832 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
13833 Recode to scan one line at a time rather than having \n and \r
13834 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
13835 (c-forward-label): Amend for virtual semicolons.
13836 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
13837
13838 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
13839 of the new C macros.
13840
13841 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
13842 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
13843 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
13844 (c-opt-cpp-macro-define): Make into a full language variable.
13845 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
13846 AWK Mode (including \n, \r) removed, no longer needed.
13847
13848 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
13849 Invoke c-make-macro-with-semi-re.
13850
13851 * progmodes/cc-vars.el (c-macro-with-semi-re):
13852 (c-macro-names-with-semicolon): New variables.
13853 (c-make-macro-with-semi-re): New function.
13854
13855 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
13856
13857 * vc/log-edit.el: Fill empty field rather than adding new one.
13858 (log-edit-add-field): New function.
13859 (log-edit-insert-changelog): Use it.
13860
13861 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
13862
13863 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
13864
13865 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
13866
13867 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
13868 (gdb--check-interpreter): New function.
13869 (gdb): Use it.
13870
13871 2011-10-27 Glenn Morris <rgm@gnu.org>
13872
13873 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
13874 (least-positive-float, least-negative-float)
13875 (least-positive-normalized-float, least-negative-normalized-float)
13876 (float-epsilon, float-negative-epsilon):
13877 Remove unnecessary declarations.
13878
13879 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
13880 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
13881 (least-positive-float, least-negative-float)
13882 (least-positive-normalized-float, least-negative-normalized-float)
13883 (float-epsilon, float-negative-epsilon): Add doc-strings,
13884 based on those in cl.texi.
13885
13886 * files.el (set-visited-file-name): If the major-mode changed,
13887 reload the local variables. (Bug#9796)
13888
13889 2011-10-27 Chong Yidong <cyd@gnu.org>
13890
13891 * subr.el (change-major-mode-after-body-hook): New hook.
13892 (run-mode-hooks): Run it.
13893
13894 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
13895 Use change-major-mode-before-body-hook.
13896
13897 * simple.el (fundamental-mode):
13898 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
13899 change introducing fundamental-mode-hook.
13900
13901 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
13902
13903 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
13904
13905 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
13906
13907 * ido.el (ido-file-name-all-completions-1): Do not require
13908 tramp.el explicitly. (Bug#7583)
13909
13910 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
13911
13912 * progmodes/octave-mod.el:
13913 * progmodes/octave-inf.el: Update maintainer.
13914
13915 2011-10-26 Chong Yidong <cyd@gnu.org>
13916
13917 * subr.el (with-wrapper-hook): Rewrite doc.
13918
13919 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
13920
13921 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
13922 filenames "/method:foo:". (Bug#9793)
13923
13924 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
13925
13926 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
13927 (bug#9865).
13928
13929 2011-10-24 Glenn Morris <rgm@gnu.org>
13930
13931 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
13932
13933 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
13934
13935 * notifications.el: Add the requirement of a running D-Bus session
13936 bus to the Commentary.
13937
13938 2011-10-24 Juri Linkov <juri@jurta.org>
13939
13940 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
13941 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
13942 (Bug#9364)
13943
13944 2011-10-24 Juri Linkov <juri@jurta.org>
13945
13946 * info.el (Info-following-node-name-re): Add newline to the list
13947 of allowed characters for leading space. (Bug#9824)
13948
13949 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
13950
13951 * progmodes/octave-inf.el (inferior-octave-mode-map):
13952 Fix C-c C-h binding.
13953 * progmodes/octave-mod.el (octave-help): Remove.
13954
13955 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
13956
13957 Sync with Tramp 2.2.3.
13958
13959 * net/tramp-cache.el (top): Pacify byte-compiler using
13960 `init-file-user' and `site-run-file'.
13961
13962 * net/trampver.el: Update release number.
13963
13964 2011-10-23 Chong Yidong <cyd@gnu.org>
13965
13966 * files.el (toggle-read-only): Remove obsolete comment about
13967 version control.
13968
13969 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
13970 for toggle-read-only. Note that this hasn't called vc-next-action
13971 since 2008-05-02, though it wasn't documented at the time.
13972
13973 * vc/ediff-init.el (ediff-toggle-read-only-function):
13974 Use toggle-read-only.
13975
13976 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
13977
13978 Fix bug #9560, sporadic wrong indentation; improve instrumentation
13979 of c-parse-state.
13980
13981 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
13982 correct faulty logical expression.
13983 (c-parse-state-state, c-record-parse-state-state):
13984 (c-replay-parse-state-state): New defvar/defuns.
13985 (c-debug-parse-state): Use new functions.
13986
13987 2011-10-22 Martin Rudalics <rudalics@gmx.at>
13988
13989 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
13990 last fix. Use window-in-direction correctly.
13991
13992 2011-10-21 Chong Yidong <cyd@gnu.org>
13993
13994 * progmodes/idlwave.el (idlwave-mode):
13995 * progmodes/vera-mode.el (vera-mode): No need to set
13996 require-final-newline; that's done in prog-mode.
13997 Suggested by Stefan Monnier.
13998
13999 2011-10-21 Martin Rudalics <rudalics@gmx.at>
14000
14001 * mouse.el (mouse-drag-window-above)
14002 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
14003 (mouse-drag-mode-line-1, mouse-drag-header-line)
14004 (mouse-drag-vertical-line-rightward-window): Remove.
14005 (mouse-drag-line): New function.
14006 (mouse-drag-mode-line, mouse-drag-header-line)
14007 (mouse-drag-vertical-line): Call mouse-drag-line.
14008 * window.el (window-at-side-p, windows-at-side): New functions.
14009
14010 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
14011
14012 * tar-mode.el (tar-grind-file-mode):
14013 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
14014
14015 2011-10-21 Chong Yidong <cyd@gnu.org>
14016
14017 * progmodes/idlwave.el (idlwave-mode):
14018 * progmodes/vera-mode.el (vera-mode):
14019 Use mode-require-final-newline.
14020
14021 2011-10-20 Glenn Morris <rgm@gnu.org>
14022
14023 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
14024
14025 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
14026
14027 * emulation/cua-base.el (cua-set-mark): Fix case of string.
14028
14029 2011-10-20 Chong Yidong <cyd@gnu.org>
14030
14031 * emulation/cua-base.el (cua-mode):
14032 * mail/footnote.el (footnote-mode):
14033 * mail/mailabbrev.el (mail-abbrevs-mode):
14034 * net/xesam.el (xesam-minor-mode):
14035 * progmodes/bug-reference.el (bug-reference-mode):
14036 * progmodes/cap-words.el (capitalized-words-mode):
14037 * progmodes/compile.el (compilation-minor-mode)
14038 (compilation-shell-minor-mode):
14039 * progmodes/gud.el (gud-tooltip-mode):
14040 * progmodes/hideif.el (hide-ifdef-mode):
14041 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
14042 * progmodes/subword.el (subword-mode):
14043 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
14044 * progmodes/which-func.el (which-function-mode):
14045 * term/tvi970.el (tvi970-set-keypad-mode):
14046 * term/vt100.el (vt100-wide-mode):
14047 * textmodes/flyspell.el (flyspell-mode):
14048 * textmodes/ispell.el (ispell-minor-mode):
14049 * textmodes/nroff-mode.el (nroff-electric-mode):
14050 * textmodes/paragraphs.el (use-hard-newlines):
14051 * textmodes/refill.el (refill-mode):
14052 * textmodes/reftex.el (reftex-mode):
14053 * textmodes/rst.el (rst-minor-mode):
14054 * textmodes/sgml-mode.el (html-autoview-mode)
14055 (sgml-electric-tag-pair-mode):
14056 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
14057 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
14058 * emulation/crisp.el (crisp-mode):
14059 * emacs-lisp/eldoc.el (eldoc-mode):
14060 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
14061 minor mode behavior.
14062
14063 2011-10-19 Juri Linkov <juri@jurta.org>
14064
14065 * descr-text.el (describe-char): Add #x2010 and #x2011 to
14066 the list of hard-coded chars with escape-glyph face.
14067
14068 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
14069
14070 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
14071
14072 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
14073
14074 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
14075 running process.
14076
14077 2011-10-19 Glenn Morris <rgm@gnu.org>
14078
14079 * vc/vc-bzr.el (vc-bzr-after-dir-status):
14080 Ignore ignored files. (Bug#9726)
14081
14082 2011-10-19 Chong Yidong <cyd@gnu.org>
14083
14084 Doc fix for minor modes, stating that an omitted argument enables
14085 the mode unconditionally when called from Lisp.
14086
14087 * abbrev.el (abbrev-mode):
14088 * allout.el (allout-mode):
14089 * autoinsert.el (auto-insert-mode):
14090 * autoarg.el (autoarg-mode, autoarg-kp-mode):
14091 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
14092 (global-auto-revert-mode):
14093 * battery.el (display-battery-mode):
14094 * composite.el (global-auto-composition-mode)
14095 (auto-composition-mode):
14096 * delsel.el (delete-selection-mode):
14097 * desktop.el (desktop-save-mode):
14098 * dired-x.el (dired-omit-mode):
14099 * dirtrack.el (dirtrack-mode):
14100 * doc-view.el (doc-view-minor-mode):
14101 * double.el (double-mode):
14102 * electric.el (electric-indent-mode, electric-pair-mode):
14103 * emacs-lock.el (emacs-lock-mode):
14104 * epa-hook.el (auto-encryption-mode):
14105 * follow.el (follow-mode):
14106 * font-core.el (font-lock-mode):
14107 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
14108 * help.el (temp-buffer-resize-mode):
14109 * hilit-chg.el (highlight-changes-mode)
14110 (highlight-changes-visible-mode):
14111 * hi-lock.el (hi-lock-mode):
14112 * hl-line.el (hl-line-mode, global-hl-line-mode):
14113 * icomplete.el (icomplete-mode):
14114 * ido.el (ido-everywhere):
14115 * image-file.el (auto-image-file-mode):
14116 * image-mode.el (image-minor-mode):
14117 * iswitchb.el (iswitchb-mode):
14118 * jka-cmpr-hook.el (auto-compression-mode):
14119 * linum.el (linum-mode):
14120 * longlines.el (longlines-mode):
14121 * master.el (master-mode):
14122 * mb-depth.el (minibuffer-depth-indicate-mode):
14123 * menu-bar.el (menu-bar-mode):
14124 * minibuf-eldef.el (minibuffer-electric-default-mode):
14125 * mouse-sel.el (mouse-sel-mode):
14126 * msb.el (msb-mode):
14127 * mwheel.el (mouse-wheel-mode):
14128 * outline.el (outline-minor-mode):
14129 * paren.el (show-paren-mode):
14130 * recentf.el (recentf-mode):
14131 * reveal.el (reveal-mode, global-reveal-mode):
14132 * rfn-eshadow.el (file-name-shadow-mode):
14133 * ruler-mode.el (ruler-mode):
14134 * savehist.el (savehist-mode):
14135 * scroll-all.el (scroll-all-mode):
14136 * scroll-bar.el (scroll-bar-mode):
14137 * server.el (server-mode):
14138 * shell.el (shell-dirtrack-mode):
14139 * simple.el (auto-fill-mode, transient-mark-mode)
14140 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
14141 (line-number-mode, column-number-mode, size-indication-mode)
14142 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
14143 * strokes.el (strokes-mode):
14144 * time.el (display-time-mode):
14145 * t-mouse.el (gpm-mouse-mode):
14146 * tool-bar.el (tool-bar-mode):
14147 * tooltip.el (tooltip-mode):
14148 * type-break.el (type-break-mode-line-message-mode)
14149 (type-break-query-mode):
14150 * view.el (view-mode):
14151 * whitespace.el (whitespace-mode, whitespace-newline-mode)
14152 (global-whitespace-mode, global-whitespace-newline-mode):
14153 * xt-mouse.el (xterm-mouse-mode): Doc fix.
14154
14155 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14156 Fix autogenerated docstring.
14157
14158 2011-10-19 Juri Linkov <juri@jurta.org>
14159
14160 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
14161 by checking environment variables "DESKTOP_SESSION" and
14162 "XDG_CURRENT_DESKTOP". (Bug#9779)
14163
14164 2011-10-19 Juri Linkov <juri@jurta.org>
14165
14166 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
14167 (browse-url-chromium-program, browse-url-chromium-arguments):
14168 New defcustoms.
14169 (browse-url-default-browser): Check for `browse-url-chromium' and
14170 call `browse-url-chromium-program'.
14171 (browse-url-chromium): New command. (Bug#9779)
14172
14173 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
14174
14175 * facemenu.el (list-colors-duplicates): On Windows, detect more
14176 duplicates by assuming that only colors matching "^System" are
14177 special "system colors". (Bug#9722)
14178
14179 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
14180
14181 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
14182 to distinguish the author from the committer.
14183
14184 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
14185
14186 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
14187
14188 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
14189
14190 * international/mule.el (sgml-html-meta-auto-coding-function):
14191 Add support for detecting encoding in HTML5 specified only as
14192 <meta charset="UTF-8">. Implementation just makes http-equiv and
14193 content-type parts from HTML4 encoding string optional. (Bug#9716)
14194
14195 2011-10-18 Glenn Morris <rgm@gnu.org>
14196
14197 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
14198
14199 2011-10-18 Chong Yidong <cyd@gnu.org>
14200
14201 * faces.el (cursor): Doc fix.
14202
14203 2011-10-17 Chong Yidong <cyd@gnu.org>
14204
14205 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
14206
14207 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
14208
14209 * dirtrack.el (dirtrack): Support shell buffers with path
14210 prefixes, e.g. tramp-based remote shells. (Bug#9647)
14211
14212 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
14213
14214 * json.el: Bump version to 1.3 and note change in History.
14215 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
14216
14217 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
14218
14219 * comint.el (comint-insert-input, comint-send-input)
14220 (comint-get-old-input-default, comint-backward-matching-input)
14221 (comint-next-prompt): Use nil instead of `input' for field property of
14222 past user input (bug#114).
14223
14224 * minibuffer.el (completion--replace): Inherit surrounding properties
14225 (bug#114).
14226 (minibuffer-complete-and-exit): Use it.
14227
14228 * comint.el (comint--table-subvert): Quote the all-completions output
14229 (bug#9160).
14230
14231 2011-10-17 Martin Rudalics <rudalics@gmx.at>
14232
14233 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
14234
14235 * menu-bar.el (menu-bar-file-menu): Add entry for making new
14236 window on right of selected. (Bug#9350) Reword other window
14237 entries and separate them from frame entries.
14238
14239 2011-10-15 Glenn Morris <rgm@gnu.org>
14240
14241 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
14242 Doc fixes.
14243
14244 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
14245
14246 * net/network-stream.el (network-stream-open-starttls):
14247 Improve detection of failure due to lack of TLS support.
14248
14249 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
14250 putting the input text in front and in bold.
14251
14252 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
14253
14254 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
14255
14256 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
14257 empty buffer.
14258
14259 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
14260 unread-command-events rather than pushing yet-another event.
14261
14262 2011-10-14 Eli Zaretskii <eliz@gnu.org>
14263
14264 * mail/sendmail.el (sendmail-query-once): Improve the wording of
14265 the explanation of the possible choices. Make the options passed
14266 to completing-read shorter.
14267
14268 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14269
14270 * textmodes/flyspell.el (flyspell-large-region): Make sure
14271 extended character mode is used if defined (Bug#1339).
14272
14273 2011-10-13 Eli Zaretskii <eliz@gnu.org>
14274
14275 * simple.el (what-cursor-position): Fix the display of the
14276 character info for LRE, LRO, RLE, and RLO characters by appending
14277 an invisible PDF.
14278
14279 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
14280
14281 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
14282 even in case of error; add debug spec; simplify data flow.
14283 (with-timeout-handler): Remove.
14284
14285 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
14286
14287 Fix Bug#6019, Bug#9315.
14288
14289 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
14290 complete `buffer-file-name', the local file name part could look
14291 remotely (for example on VMS).
14292
14293 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
14294 `tramp-run-real-handler'.
14295 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
14296 already quoted by '"'.
14297
14298 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
14299 Let `file-name-handler-alist' be nil, the local file name part
14300 could look remotely (for example on VMS).
14301
14302 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
14303
14304 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
14305 from here...
14306 (flyspell-post-command-hook): ...to here.
14307
14308 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
14309
14310 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
14311 if not needed.
14312 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
14313 using completion. Protect against "slow" callers.
14314 Remove the "message hack".
14315
14316 2011-10-11 Juri Linkov <juri@jurta.org>
14317
14318 * isearch.el (isearch-lazy-highlight-word): New variable.
14319 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
14320 Use it. (Bug#9727)
14321
14322 2011-10-11 Glenn Morris <rgm@gnu.org>
14323
14324 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
14325 like f90-previous-statement does.
14326
14327 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14328
14329 * eshell/eshell.el (eshell-command): History should be saved
14330 only in interactive use, to avoid error.
14331
14332 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
14333
14334 * minibuffer.el (completion-file-name-table): Fix last change,
14335 i.e. ignore normal errors but not the other ones.
14336
14337 2011-10-10 Martin Rudalics <rudalics@gmx.at>
14338
14339 * window.el (special-display-buffer-names)
14340 (special-display-regexps): Remove some remnants of earlier
14341 changes from doc-strings.
14342 (quit-windows-on): New function.
14343
14344 * vc/vc.el (vc-revert, vc-rollback):
14345 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
14346 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
14347 (Bug#6183) (Bug#7074) (Bug#7447)
14348
14349 2011-10-09 Martin Rudalics <rudalics@gmx.at>
14350
14351 * window.el (frame-auto-hide-function): Add version tag.
14352 (Bug#9699)
14353
14354 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
14355
14356 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
14357 condition.
14358
14359 2011-10-09 Leo Liu <sdl.web@gmail.com>
14360
14361 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
14362 (Bug#9701)
14363
14364 2011-10-08 Glenn Morris <rgm@gnu.org>
14365
14366 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
14367 before the first code statement zero indent. (Bug#9690)
14368
14369 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
14370
14371 * simple.el (count-words-region): Always count in the region.
14372 Report the number of lines and characters too.
14373 (count-words): New command, which counts in the buffer if the
14374 region is inactive, as count-words-region used to.
14375 (count-words--message): New function. Handle plurals.
14376 (count-lines-region): Make it an alias for count-words-region.
14377
14378 * bindings.el (esc-map): Replace count-lines-region with
14379 count-words-region.
14380
14381 2011-10-08 Martin Rudalics <rudalics@gmx.at>
14382
14383 * window.el (window--delete): Delete dedicated frame
14384 unconditionally when argument KILL is non-nil. (Bug#9699)
14385 (switch-to-buffer): Fix doc-string typo.
14386
14387 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14388
14389 * eshell/eshell.el (eshell-command): Avoid using hooks.
14390
14391 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
14392
14393 * bindings.el ([M-left],[M-right]): Bind to left-word and
14394 right-word respectively.
14395
14396 2011-10-07 Glenn Morris <rgm@gnu.org>
14397
14398 * cus-start.el (debug-on-quit): Fix custom type.
14399
14400 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
14401
14402 * subr.el (define-key-after): Clarify that the function is not
14403 useful for non-menu keymaps.
14404
14405 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
14406
14407 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14408
14409 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
14410 in current minibuffer (Fix bug with recursive minibuffers).
14411
14412 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
14413
14414 * progmodes/gdb-mi.el (gdb): Doc fix.
14415
14416 2011-10-05 Martin Rudalics <rudalics@gmx.at>
14417
14418 * window.el (frame-auto-hide-function): New option replacing
14419 frame-auto-delete. Suggested by Stefan Monnier.
14420 (window--delete): Call frame-auto-hide-function instead of
14421 investigating frame-auto-delete.
14422 (window-point-1, set-window-point-1): New functions.
14423 (window-in-direction, record-window-buffer, window-state-get-1)
14424 (display-buffer-record-window): Use window-point-1 instead of
14425 window-point.
14426 (set-window-buffer-start-and-point): Use set-window-point-1.
14427
14428 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
14429
14430 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
14431
14432 2011-10-05 Glenn Morris <rgm@gnu.org>
14433
14434 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
14435 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
14436
14437 2011-10-05 Leo Liu <sdl.web@gmail.com>
14438
14439 * subr.el (read-char-choice): Fix argument to buffer-live-p which
14440 works with buffer object.
14441
14442 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
14443
14444 * mpc.el (mpc-tool-bar-map): Add labels.
14445
14446 2011-10-04 Glenn Morris <rgm@gnu.org>
14447
14448 * calendar/holidays.el (calendar-check-holidays): Doc fix.
14449
14450 2011-10-04 Martin Rudalics <rudalics@gmx.at>
14451
14452 * window.el (window--delete): New function.
14453 (frame-auto-delete): Resuscitate option.
14454 (bury-buffer, replace-buffer-in-windows)
14455 (quit-window): Rewrite using window--delete.
14456 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
14457 Pass display-buffer-mark-dedicated to window--display-buffer-2
14458 (Bug#9639).
14459
14460 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
14461
14462 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
14463 returns a list (bug#9554). Add remote file name completion.
14464 * comint.el (comint--table-subvert): Curry and get quote&unquote
14465 functions as arguments.
14466 (comint--complete-file-name-data): Adjust call accordingly.
14467 * pcomplete.el (pcomplete--table-subvert): Remove.
14468 (pcomplete-completions-at-point): Use comint--table-subvert instead.
14469
14470 * minibuffer.el (completion-table-case-fold): Use currying.
14471 (completion--styles-type, completion--cycling-threshold-type):
14472 New constants.
14473 (completion-styles, completion-category-overrides)
14474 (completion-cycle-threshold): Use them.
14475 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
14476 completion-table-case-fold.
14477
14478 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
14479
14480 * minibuffer.el (completion-category-overrides): Fix type of styles
14481 and add more user friendly tags (bug#9660).
14482
14483 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
14484
14485 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
14486 (mule-input-method-string): New widget.
14487 (default-input-method, language-info-custom-alist): Use it.
14488
14489 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
14490
14491 * pcomplete.el: Require comint.
14492 (pcomplete--common-suffix): Remove.
14493 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
14494 (pcomplete--table-subvert): Sync with comint--table-subvert.
14495 (pcomplete--entries): Use comint-completion-file-name-table.
14496 * comint.el (comint-unquote-filename): Simplify.
14497 (comint-completion-file-name-table): New function (bug#9616).
14498 (comint--complete-file-name-data): Use it.
14499
14500 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
14501 (pcmpl-gnu-tar-buffer): Remove.
14502 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
14503 around. Make sure pcomplete-suffix-list is only changed temporarily.
14504 Don't look inside the tar's file if it's too large.
14505
14506 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
14507
14508 * cus-edit.el (custom-mode-map):
14509 * epa.el (epa-key-list-mode-map):
14510 * man.el (Man-mode-map):
14511 * startup.el (splash-screen-keymap):
14512 * simple.el (special-mode-map): Use scroll-up-command and
14513 scroll-down-command.
14514
14515 * progmodes/idlw-help.el (idlwave-help-mode-map):
14516 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
14517 * net/newst-plainview.el (newsticker-mode-map):
14518 * emulation/ws-mode.el (wordstar-mode-map):
14519 * emulation/vi.el (vi-com-map):
14520 * calc/calc-graph.el (calc-graph-show-dumb):
14521 * term/sun.el (terminal-init-sun):
14522 * term/ns-win.el (global-map):
14523 * progmodes/grep.el (grep-mode-map):
14524 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
14525 * mail/rmail.el (rmail-mode-map):
14526 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
14527
14528 * custom.el (custom-safe-themes, load-theme): Treat value of t for
14529 custom-safe-themes as special.
14530
14531 2011-10-01 Julien Danjou <julien@danjou.info>
14532
14533 * notifications.el (notifications-notify): Fix docstring.
14534
14535 2011-10-01 Per Starbäck <per@starback.se>
14536
14537 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
14538
14539 2011-09-30 Martin Rudalics <rudalics@gmx.at>
14540
14541 * startup.el (command-line-1): Fix last fix by inserting
14542 initial-scratch-message into *scratch* before displaying it.
14543 (Bug#9605) and (Bug#9636)
14544
14545 2011-09-29 Eli Zaretskii <eliz@gnu.org>
14546
14547 * simple.el (line-move): If auto-hscroll-mode is disabled and the
14548 window is hscrolled, move by logical lines. (Bug#9607)
14549 (line-move-visual): Update the doc string to the above effect.
14550
14551 2011-09-29 Martin Rudalics <rudalics@gmx.at>
14552
14553 * window.el (display-buffer-record-window): When WINDOW is the
14554 selected window use `point' instead of `window-point'. (Bug#9626)
14555
14556 * startup.el (command-line-1): Use insert-before-markers when
14557 inserting initial-scratch-message. (Bug#9605)
14558
14559 * help.el (help-window): Remove variable.
14560
14561 2011-09-29 Glenn Morris <rgm@gnu.org>
14562
14563 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
14564
14565 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
14566
14567 * descr-text.el (describe-char-categories): Accept category
14568 descriptions more than one line long.
14569
14570 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
14571
14572 * simple.el (delete-trailing-whitespace): Fix last change.
14573
14574 * progmodes/perl-mode.el (perl-syntax-propertize-function):
14575 Don't confuse "y => 3" as the beginning of a `y' operation.
14576
14577 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
14578 object has more than 4 slots (bug#9613).
14579
14580 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
14581
14582 * subr.el (with-output-to-temp-buffer):
14583 * net/quickurl.el (quickurl, quickurl-browse-url):
14584 Fix typos in docstrings.
14585
14586 2011-09-27 Eli Zaretskii <eliz@gnu.org>
14587
14588 * minibuffer.el (completion-styles)
14589 (completion-category-overrides): Cross reference each other in doc
14590 strings.
14591
14592 2011-09-27 Glenn Morris <rgm@gnu.org>
14593
14594 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
14595 to split-string. (Bug#9606)
14596
14597 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
14598
14599 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
14600 (bug#9615).
14601
14602 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
14603
14604 * emacs-lisp/package.el (list-packages): Fix echo area message.
14605
14606 2011-09-27 Leo Liu <sdl.web@gmail.com>
14607
14608 * ido.el (ido-read-internal): Accept cons cell HIST arg.
14609
14610 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
14611
14612 * net/dbus.el (dbus-unregister-object): Don't release services for
14613 registered signals. (Bug#9581)
14614
14615 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
14616
14617 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
14618 function that picks between cfengine 2 and 3 support
14619 automatically. Update docs accordingly.
14620
14621 2011-09-22 Kenichi Handa <handa@m17n.org>
14622
14623 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
14624 ZERO.
14625 (indian-itrans-v5-table-for-tamil): New variable.
14626 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
14627
14628 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
14629
14630 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
14631 that's true if the current command involved collapsing of text.
14632 It's reset to false at the beginning of the next command.
14633 (allout-post-command-business): Move the cursor to the beginning
14634 of entry if the cursor is hidden and collapsing activity just
14635 happened.
14636
14637 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
14638
14639 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
14640 tracking (Bug#9541).
14641
14642 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
14643
14644 * net/newst-reader.el (newsticker-html-renderer)
14645 (newsticker-show-news): Automatically load html rendering package
14646 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
14647 because w3m-fill-column is let-bound" and the error "Symbol's value
14648 as variable is void: w3m-fill-column".
14649
14650 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
14651
14652 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
14653 Release services only if they are defined. (Bug#9581)
14654
14655 2011-09-23 Richard Stallman <rms@gnu.org>
14656
14657 * textmodes/paragraphs.el (forward-sentence): For backwards case,
14658 distinguish start of paragraph from start of its text.
14659
14660 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
14661
14662 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
14663 (rmail-generate-viewer-buffer): Put that hook on view buffer.
14664 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
14665
14666 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
14667
14668 * international/mule-diag.el (mule-diag): Insert a newline after
14669 each fontset description.
14670
14671 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
14672
14673 * simple.el (delete-trailing-whitespace):
14674 Document last change; simplify.
14675
14676 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
14677
14678 * simple.el (delete-trailing-whitespace): Also delete
14679 extra newlines at the end of the buffer.
14680
14681 * textmodes/picture.el: Make motion commands obey shift-select-mode.
14682 (picture-newline): Use forward-line so as to ignore fields.
14683
14684 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
14685
14686 * subr.el (with-wrapper-hook): Fix edebug spec.
14687
14688 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
14689
14690 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
14691 (bug#4538).
14692
14693 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
14694
14695 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
14696 Fix nasty bug using wrong cached values.
14697
14698 2011-09-23 Alan Mackenzie <acm@muc.de>
14699
14700 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
14701
14702 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
14703
14704 * window.el (pop-to-buffer): Ensure right window is selected if we
14705 chose another frame.
14706
14707 2011-09-22 Eli Zaretskii <eliz@gnu.org>
14708
14709 * simple.el (what-cursor-position): Use get-char-property-change
14710 and next-single-char-property-change, to be able to show display
14711 properties that come from overlays as well as text properties.
14712
14713 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
14714
14715 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
14716
14717 * cmuscheme.el (run-scheme, switch-to-scheme):
14718 * cus-edit.el (customize-group, custom-buffer-create)
14719 (customize-browse):
14720 * info.el (info):
14721 * shell.el (shell):
14722 * mail/sendmail.el (mail):
14723 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
14724
14725 2011-09-22 Richard Stallman <rms@gnu.org>
14726
14727 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
14728 move back only to line beg, don't move back over blank lines.
14729
14730 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
14731
14732 * files.el (copy-directory): Set directory attributes only in case
14733 they could be retrieved from the source directory. (Bug#9565)
14734
14735 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
14736
14737 * progmodes/hideshow.el (hs-looking-at-block-start-p)
14738 (hs-find-block-beginning, hs-hide-level-recursive):
14739 Ignore strings as well as comments. (Bug#9502)
14740
14741 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
14742
14743 * progmodes/sql.el (sql-comint-postgres):
14744 Convert port number to a string. (Bug#9566)
14745
14746 2011-09-22 Martin Rudalics <rudalics@gmx.at>
14747
14748 * window.el (quit-window): Undedicate window when switching to
14749 previous buffer. Reported by Thierry Volpiatto
14750 <thierry.volpiatto@gmail.com>.
14751 (special-display-popup-frame): When popping up a new frame reset
14752 its previous buffers to nil. Simplify code.
14753
14754 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
14755
14756 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
14757 and process filter, as done also in `shell-command'.
14758
14759 2011-09-21 Martin Rudalics <rudalics@gmx.at>
14760
14761 * window.el (set-window-buffer-start-and-point):
14762 Call set-window-start with NOFORCE argument t.
14763 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
14764 (quit-window): Reword doc-string. Handle new format of
14765 quit-restore parameter. Don't delete window if it has a
14766 previous buffer we can show instead of the present one.
14767 (display-buffer-record-window): Rewrite using a new format for
14768 the quit-restore window parameter
14769 (special-display-popup-frame, display-buffer-same-window)
14770 (display-buffer-reuse-window, display-buffer-pop-up-frame)
14771 (display-buffer-pop-up-window, display-buffer-use-some-window):
14772 Adapt symbol passed to display-buffer-record-window.
14773 * help.el (help-window-setup): Handle new format of quit-restore
14774 parameter.
14775
14776 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
14777
14778 * faces.el (face-list): Fix docstring (bug#9564).
14779
14780 * window.el (display-buffer--action-function-custom-type):
14781 Don't include internal functions in the Custom interface.
14782
14783 2011-09-20 Juri Linkov <juri@jurta.org>
14784
14785 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
14786 (Info-forward-node, Info-backward-node, Info-next-preorder)
14787 (Info-last-preorder): Use it. (Bug#9528)
14788
14789 2011-09-20 Juri Linkov <juri@jurta.org>
14790
14791 * info.el (Info-last-preorder): Visit last menu item only when
14792 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
14793
14794 2011-09-20 Julien Danjou <julien@danjou.info>
14795
14796 * password-cache.el (password-cache-remove): Remove entries even if the
14797 value is nil, so that password with a nil value (negative caching) is
14798 possible to invalidate.
14799
14800 2011-09-20 Lawrence Mitchell <wence@gmx.li>
14801
14802 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
14803 all whitespace around breakpoint. (Bug#9553)
14804 (f90-find-breakpoint): Only break at whitespace inside a comment.
14805
14806 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
14807
14808 * minibuffer.el (completion-file-name-table): Keep track of errors.
14809 (completion-table-with-predicate): Handle the case where pred1 is nil.
14810 * pcomplete.el (pcomplete-completions-at-point): Simplify.
14811
14812 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
14813
14814 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
14815 (debugger-return-value): Signal an error if the debugging context does
14816 not await any return value.
14817
14818 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
14819 * image-mode.el (image-toggle-display-text)
14820 (image-toggle-display-image): Stay away from evil `intangible'.
14821
14822 2011-09-19 Leo Liu <sdl.web@gmail.com>
14823
14824 * replace.el (occur-revert-arguments): Make it permanent-local.
14825 (occur-mode): Don't call font-lock-defontify.
14826
14827 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
14828
14829 * net/ldap.el (ldap-search-internal): Don't push empty search
14830 result (Bug#9508).
14831
14832 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
14833
14834 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
14835
14836 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
14837
14838 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
14839 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
14840
14841 2011-09-18 Juri Linkov <juri@jurta.org>
14842
14843 * buff-menu.el (Buffer-menu-mode-map):
14844 * dired.el (dired-mode-map):
14845 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
14846 (lisp-interaction-mode-map):
14847 * emacs-lisp/package.el (package-menu-mode-map):
14848 * epa.el (epa-key-list-mode-map):
14849 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
14850 (menu-bar-options-menu):
14851 * outline.el (outline-mode-menu-bar-map):
14852 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
14853 * vc/vc-dir.el (vc-dir-menu-map):
14854 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
14855 Capitalize non-function content words in menu item strings.
14856
14857 * dired.el (dired-mode-map): Add menu item for
14858 `image-dired-dired-toggle-marked-thumbs'.
14859
14860 2011-09-18 Juri Linkov <juri@jurta.org>
14861
14862 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
14863 to `isearch-case-fold-search' and restore its original value
14864 after the `isearch-mode' call.
14865
14866 2011-09-18 Juri Linkov <juri@jurta.org>
14867
14868 * progmodes/grep.el (grep-process-setup): Don't check code for 1
14869 because `zgrep' returns 1 for successful matches (bug#9226).
14870
14871 2011-09-18 Juri Linkov <juri@jurta.org>
14872
14873 * info.el (Info-extract-menu-node-name): Check the second match
14874 for empty string (second test-case of bug#9528).
14875 (Info-last-preorder): Let-bind `Info-history' to nil to not add
14876 intermediate nodes to the history (first test-case of bug#9528).
14877
14878 2011-09-18 Juri Linkov <juri@jurta.org>
14879
14880 * info.el (Info-mode-syntax-table): New variable.
14881 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
14882
14883 2011-09-18 Juri Linkov <juri@jurta.org>
14884
14885 * info.el (Info-file-supports-index-cookies):
14886 Increment line-beginning-position's arg from 3 to 4 because makeinfo
14887 outputs one more line for long file names (bug#4142).
14888
14889 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
14890
14891 * newcomment.el (comment-normalize-vars): If prompting for
14892 comment-start, set comment-start-skip too (Bug#8424).
14893
14894 2011-09-18 Johan Bockgård <bojohan@gnu.org>
14895
14896 * icomplete.el: Fix previous fix of Bug#5849.
14897 (icomplete-mode): Don't set completion-show-inline-help.
14898 (icomplete-minibuffer-setup): Set completion-show-inline-help
14899 locally during icompletion.
14900
14901 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
14902
14903 * woman.el (woman2-process-escapes): Don't delete unrecognized
14904 escapes (Bug#7843).
14905
14906 * files.el (inhibit-first-line-modes-regexps): Add image files.
14907 (hack-local-variables-prop-line): Return nil for malformed
14908 prop-lines (Bug#9044).
14909
14910 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
14911
14912 * net/tramp.el (top): Don't require 'shell.
14913 (tramp-methods): Fix docstring.
14914 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
14915 Return complete remote file name. Handle "smb" case.
14916 Use `tramp-tmpdir', if defined for the respective method.
14917 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
14918
14919 * net/tramp-compat.el (top): Require 'shell.
14920
14921 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
14922 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
14923 `tramp-current-host'.
14924 (tramp-get-remote-tmpdir): Remove.
14925
14926 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
14927 `tramp-tmpdir' entries.
14928 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
14929 (tramp-smb-handle-file-attributes): Ignore errors.
14930 (tramp-smb-wait-for-output): Check also for process end.
14931
14932 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
14933
14934 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
14935 when sending QUIT (bug#9312).
14936
14937 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
14938
14939 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
14940 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
14941 occur-mode-display-occurrence.
14942 (occur-edit-mode): Add usage message.
14943 (occur-cease-edit): New command.
14944 (occur-after-change-function): Use text properties to find the
14945 position of the prefix text.
14946 (occur-engine): Set stickiness of prefix text properties.
14947
14948 2011-09-17 Glenn Morris <rgm@gnu.org>
14949
14950 * progmodes/etags.el (complete-tag):
14951 Fix call to completion-in-region. (Bug#9526)
14952
14953 2011-09-17 Juri Linkov <juri@jurta.org>
14954
14955 * textmodes/ispell.el (ispell-word): Add to the error message
14956 the word, ispell program name and current dictionary (bug#9121).
14957 (ispell-tex-arg-end): Capitalize "error" in the error message.
14958
14959 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
14960
14961 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
14962 check. (Bug#4251)
14963
14964 2011-09-17 Juri Linkov <juri@jurta.org>
14965
14966 * window.el (window-safe-min-height, window-safe-min-width):
14967 Fix typos (followup to bug#9522).
14968
14969 2011-09-17 Sven Joachim <svenjoac@gmx.de>
14970
14971 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
14972
14973 2011-09-16 Eli Zaretskii <eliz@gnu.org>
14974
14975 * simple.el (line-move): If goal-column is set, move by logical
14976 lines, not by display lines. (Bug#971)
14977 (next-line, previous-line, goal-column, line-move-visual): Doc fix
14978 to reflect the above change.
14979
14980 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
14981
14982 * image.el (imagemagick-register-types): Use regexp-opt.
14983
14984 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
14985
14986 * window.el (display-buffer-base-action): Rename from
14987 display-buffer-default-action. Make default value empty.
14988 (display-buffer-overriding-action): Convert to defvar.
14989 (display-buffer-fallback-action): New var.
14990
14991 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
14992
14993 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
14994 declaration.
14995 (package--add-to-archive-contents): If there is a duplicate entry
14996 with an older version, remove it.
14997 (package-menu-mark-delete, package-menu-mark-install)
14998 (package-menu-mark-unmark): Make unused args optional.
14999 (package-menu-mark-obsolete-for-deletion):
15000 Use package-menu-get-status instead of a regexp search.
15001 (package-menu-get-status): Use tabulated-list-entry.
15002 (package-menu-mark-upgrades): New command.
15003 (package-menu-mode-map): Bind it to U. Add it to menu bar.
15004 (package-menu-execute): Do installation before deletion.
15005 (package-menu-refresh, package-menu-execute): Use derived-mode-p
15006 instead of checking major-mode.
15007 (package-menu--find-upgrades): New function.
15008
15009 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
15010
15011 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
15012 passwords in the log buffer.
15013 (smtpmail-process-filter): Update the process marker so that the
15014 "broken by peer" status message is inserted in the right place.
15015
15016 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
15017
15018 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
15019 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
15020 bibtex-completion-at-point-function.
15021 (bibtex-completion-at-point-function): Use them.
15022
15023 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
15024
15025 * mpc.el (mpc-constraints-tag-lookup): New function.
15026 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
15027 also to browser "album|playlist".
15028
15029 2011-09-14 Juri Linkov <juri@jurta.org>
15030
15031 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
15032 (isearch-edit-string): Use length of `isearch-string' when
15033 `isearch-fail-pos' returns nil.
15034 (isearch-message): Remove duplicate code and call
15035 `isearch-fail-pos' with arg `t'.
15036
15037 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
15038
15039 * replace.el (occur-mode-goto-occurrence): Don't force using other
15040 window (Bug#9499).
15041
15042 * dired-aux.el (dired-do-chmod): Don't provide initial input.
15043
15044 2011-09-14 Martin Rudalics <rudalics@gmx.at>
15045
15046 * window.el (display-buffer-window): Remove.
15047 (display-buffer-record-window): Use help-setup window parameter
15048 instead of variable display-buffer-window.
15049 (display-buffer-function, special-display-buffer-names)
15050 (special-display-function): Mention help-setup parameter instead
15051 of display-buffer-window in doc-string.
15052 * help.el (help-window-setup): New argument help-window.
15053 Use help-window-setup parameter instead of display-buffer-window.
15054 Reword some messages.
15055 (with-help-window): Pass window used for displaying the buffer
15056 to help-window-setup. Don't set display-buffer-window.
15057
15058 2011-09-13 Glenn Morris <rgm@gnu.org>
15059
15060 * emacs-lisp/debug.el (debugger-make-xrefs):
15061 Preserve point. (Bug#9462)
15062
15063 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
15064
15065 * window.el (window-deletable-p): Use next-frame.
15066
15067 2011-09-13 Martin Rudalics <rudalics@gmx.at>
15068
15069 * window.el (window-auto-delete): Remove.
15070 (window-deletable-p): Remove argument FORCE. Don't deal with
15071 dedication and previous buffers.
15072 (switch-to-prev-buffer): Don't delete window.
15073 (delete-windows-on): Delete a window's frame if and only if the
15074 window is dedicated.
15075 (replace-buffer-in-windows): Delete buffer's window or frame if
15076 and only if window is dedicated.
15077 (quit-window): Handle quit-restore as before last change.
15078 (bury-buffer): Delete window only if window-deletable-p returns t.
15079
15080 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
15081
15082 * window.el (window-deletable-p): Never delete the last frame on a
15083 given terminal.
15084
15085 2011-09-13 Glenn Morris <rgm@gnu.org>
15086
15087 * help.el (describe-key-briefly): Copy previous standard-output change.
15088
15089 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
15090
15091 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
15092
15093 2011-09-13 Glenn Morris <rgm@gnu.org>
15094
15095 * emacs-lisp/lisp-mode.el (lisp-indent-function):
15096 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
15097
15098 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
15099
15100 * dired-aux.el (dired-mark-read-string): Don't return default
15101 value on empty input (Bug#9361).
15102 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
15103 Omit initial minibuffer contents.
15104 (dired-do-chmod): Signal an error on empty input.
15105 (dired-mark-read-string): Don't return default on empty input.
15106
15107 * files.el (file-modes-symbolic-to-number): Doc fix.
15108
15109 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
15110
15111 * international/mule-cmds.el (ucs-completions): Remove.
15112 (read-char-by-name): Use complete-with-action instead; add metadata.
15113
15114 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
15115
15116 * window.el (display-buffer--action-function-custom-type)
15117 (display-buffer--action-custom-type): New vars.
15118 (display-buffer-alist, display-buffer-default-action)
15119 (display-buffer-overriding-action): Add defcustom types.
15120
15121 * frame.el (delete-other-frames): Doc fix (Bug#276).
15122
15123 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15124
15125 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
15126
15127 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
15128
15129 Change modes that used same-window-* vars to use switch-to-buffer.
15130
15131 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
15132 Use switch-to-buffer.
15133
15134 * cus-edit.el (customize-group, custom-buffer-create)
15135 (customize-browse, custom-buffer-create-other-window):
15136 Use switch-to-buffer or switch-to-buffer-other-window.
15137
15138 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
15139 (Info-prev, Info-up, Info-speedbar-goto-node)
15140 (info-display-manual): Use switch-to-buffer.
15141 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
15142
15143 * mail/sendmail.el (mail): Use switch-to-buffer.
15144 (mail-recover): Use switch-to-buffer-other-window.
15145
15146 * cmuscheme.el (run-scheme, switch-to-scheme):
15147 * ielm.el (ielm):
15148 * shell.el (shell):
15149 * net/rlogin.el (rlogin):
15150 * net/telnet.el (telnet, rsh):
15151 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
15152
15153 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
15154
15155 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
15156
15157 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15158
15159 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
15160 so don't mention it (bug#9301).
15161 (dired-sort-toggle-or-edit): Clarify string further.
15162
15163 * faces.el (face-spec-set-match-display): Make `(type graphic)'
15164 match `x', `w32' and `ns', like the manual says (bug#9029).
15165
15166 * subr.el (eval-after-load): Doc string clarification (bug#9125).
15167 (process-kill-buffer-query-function): Mention the buffer name in
15168 the query.
15169
15170 * image-mode.el (image-next-line): The line parameter is mandatory
15171 (bug#9258).
15172
15173 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
15174 which can be useful (bug#9301).
15175
15176 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
15177
15178 * subr.el (match-string): Mention that the current buffer should
15179 be the same as the search was done in (bug#9282).
15180
15181 * facemenu.el: Disable the remove-* commands if the mark isn't
15182 active (bug#9162).
15183
15184 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
15185
15186 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
15187 of display-buffer.
15188 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
15189
15190 * replace.el (occur-mode-goto-occurrence)
15191 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
15192 and display-buffer.
15193
15194 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
15195 display-buffer.
15196
15197 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
15198 special-display and same-window variables.
15199 (mail-other-window): Use switch-to-buffer-other-window.
15200 (mail-other-frame): USe switch-to-buffer-other-frame.
15201
15202 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
15203 Use display-buffer-other-frame.
15204 (gdb-display-gdb-buffer): Use pop-to-buffer.
15205
15206 * progmodes/gud.el (gud-goto-info): Use info-other-window.
15207
15208 * progmodes/python.el: Don't set same-window-buffer-names.
15209
15210 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
15211
15212 * window.el (display-buffer-alist): Add *Python*.
15213
15214 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
15215
15216 * window.el (display-buffer-alist): Add entry for buffers
15217 previously handled same-window-*.
15218 (display-buffer-alist, display-buffer-default-action)
15219 (display-buffer-overriding-action): Mark as risky.
15220 (display-buffer-alist): Document action function changes.
15221 (display-buffer--same-window-action)
15222 (display-buffer--other-frame-action): New variables.
15223 (switch-to-buffer, display-buffer-other-frame): Use them.
15224 (display-buffer): Rename reuse-frame entry to reusable-frames.
15225 (display-buffer-reuse-selected-window): Function deleted.
15226 (display-buffer-reuse-window): Handle reusable-frames alist entry.
15227 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
15228 (display-buffer-special): New function.
15229 (display-buffer--maybe-pop-up-frame-or-window): Rename from
15230 display-buffer-reuse-or-pop-window. Split off special-display
15231 part into display-buffer-special.
15232 (display-buffer-use-some-window): Don't perform any special
15233 pop-up-frames handling.
15234 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
15235 (display-buffer--maybe-same-window): Rename from
15236 display-buffer-maybe-same-window.
15237
15238 * info.el: Don't set same-window-regexps.
15239 (info-setup): New function.
15240 (info-other-window, info): Call it.
15241
15242 * cus-edit.el: Don't set same-window-regexps.
15243 (customize-group): New argument.
15244 (customize-group-other-window): Use it.
15245 (customize-face, customize-face-other-window): Likewise.
15246 (custom-buffer-create-other-window): Use pop-to-buffer directly.
15247
15248 * net/rlogin.el:
15249 * net/telnet.el:
15250 * progmodes/gud.el: Don't set same-window-regexps.
15251
15252 * cmuscheme.el:
15253 * ielm.el:
15254 * shell.el:
15255 * mail/sendmail.el:
15256 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
15257
15258 2011-09-10 Juri Linkov <juri@jurta.org>
15259
15260 * isearch.el (isearch-edit-string): Remove obsolete mention of
15261 `C-w' (`isearch-yank-word-or-char') from docstring.
15262 (isearch-query-replace): Fix typo in docstring (bug#9466).
15263
15264 2011-09-10 Juri Linkov <juri@jurta.org>
15265
15266 * paren.el (show-paren-function): Don't show escaped parens.
15267 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
15268
15269 2011-09-10 Eli Zaretskii <eliz@gnu.org>
15270
15271 * mail/sendmail.el (mml-to-mime, mml-attach-file)
15272 (mm-default-file-encoding): Remove autoload forms, they are
15273 replaced with autoload cookies in mml.el and mm-encode.el.
15274 (mail-add-attachment): New command.
15275 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
15276 (mail-mode): Mention mail-insert-file and mail-add-attachment in
15277 the doc string.
15278 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
15279
15280 2011-09-10 Reuben Thomas <rrt@sc3d.org>
15281
15282 * simple.el (count-words-region): Use buffer if there's no region
15283 (bug#9429).
15284
15285 2011-09-09 Juri Linkov <juri@jurta.org>
15286
15287 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
15288 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
15289 (wdired-isearch-filter-read-only): New function. (Bug#6362)
15290
15291 2011-09-09 Alan Mackenzie <acm@muc.de>
15292
15293 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
15294 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
15295
15296 2011-09-09 Eli Zaretskii <eliz@gnu.org>
15297
15298 Fix for Savannah bug#9392.
15299 * simple.el (mail-encode-mml): New defvar.
15300
15301 * mail/rmail.el (mail-encode-mml): Add a defvar.
15302 (rmail-enable-mime-composing): Default to t.
15303 (rmail-forward): Use MIME method of forwarding only if both
15304 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
15305 Set mail-encode-mml non-nil if the MIME method was used.
15306
15307 * mail/sendmail.el (mml-to-mime): Add autoload form.
15308 (mail-encode-mml): Add a defvar.
15309 (mail-mode): Make mail-encode-mml buffer-local and initialize it
15310 to nil.
15311 (mail-send): If mail-encode-mml is non-nil, run the outgoing
15312 message through mml-to-mime, and reset mail-encode-mml to nil.
15313
15314 2011-09-09 Glenn Morris <rgm@gnu.org>
15315
15316 * woman.el (woman-if-body): When processing an .el block,
15317 do not delete the next .el block as well. (Bug#9447)
15318 (woman-special-characters): Add oq, cq, and hy characters.
15319
15320 2011-09-08 Martin Rudalics <rudalics@gmx.at>
15321
15322 * window.el (window-deletable-p): Make sure window is live before
15323 invoking window-prev-buffers.
15324
15325 2011-09-08 Leo Liu <sdl.web@gmail.com>
15326
15327 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
15328
15329 2011-09-08 Juri Linkov <juri@jurta.org>
15330
15331 * progmodes/compile.el (compilation-environment): Make it
15332 a defcustom (bug#8340).
15333
15334 2011-09-08 Martin Rudalics <rudalics@gmx.at>
15335
15336 * window.el (frame-auto-delete): Rename to window-auto-delete.
15337 Make it control auto-deletion of windows and/or frames.
15338 (window-deletable-p): New argument FORCE. Rewrite conditions
15339 for deleting window/frame. (Bug#9419)
15340 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
15341 Rewrite handling of case when window/frame can be deleted.
15342 (delete-windows-on): Call window-deletable-p with new FORCE
15343 argument t. (Bug#9456)
15344
15345 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
15346
15347 * help-mode.el (help-mode): Restore autoload.
15348
15349 2011-09-07 Juri Linkov <juri@jurta.org>
15350
15351 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
15352 `compilation-environment'. Set buffer-local
15353 `compilation-environment' to `thisenv' later after (funcall mode).
15354 (Bug#8340)
15355
15356 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
15357 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
15358 instead of replacing its value. (Bug#8340)
15359
15360 2011-09-07 Juri Linkov <juri@jurta.org>
15361
15362 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
15363 based on text properties put by `grep-filter' instead of matching
15364 escape sequences.
15365 (grep-mode): Set buffer-local `compilation-error-screen-columns'
15366 to the value of `grep-error-screen-columns' (bug#9438).
15367
15368 2011-09-07 Juri Linkov <juri@jurta.org>
15369
15370 * simple.el (next-error-highlight, next-error-highlight-no-select):
15371 Doc fix (bug#9432).
15372
15373 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
15374
15375 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
15376 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
15377
15378 2011-09-07 Leo Liu <sdl.web@gmail.com>
15379
15380 * net/rcirc.el (rcirc-mode): Conditionally initialize
15381 rcirc-input-ring.
15382
15383 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
15384
15385 * emacs-lisp/find-func.el (find-function-C-source): Only set
15386 find-function-C-source-directory after checking that we found a source
15387 file there (bug#9440).
15388
15389 2011-09-06 Alan Mackenzie <acm@muc.de>
15390
15391 * isearch.el (isearch-other-meta-char): Wherever a key list is
15392 unread, "unread" the prefix arg, too. This fixes bug #8901.
15393
15394 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
15395
15396 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
15397
15398 2011-09-05 Juri Linkov <juri@jurta.org>
15399
15400 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
15401
15402 2011-09-05 Juri Linkov <juri@jurta.org>
15403
15404 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
15405 keeping point where processing of grep matches begins, and
15406 continue to delete remaining escape sequences from the same point.
15407 (grep-filter): Make leading zero optional in "0?1;31m" because
15408 git-grep emits "\033[1;31m" escape sequences unlike expected
15409 "\033[01;31m" as GNU Grep does (bug#9408).
15410 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
15411
15412 2011-09-05 Juri Linkov <juri@jurta.org>
15413
15414 * subr.el (y-or-n-p): Capitalize "yes".
15415
15416 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
15417
15418 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
15419 `tramp-cache-unload-hook' where appropriate.
15420 (tramp-methods): Rename `tramp-remote-sh' to
15421 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
15422 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
15423
15424 * net/tramp-sh.el (top): Don't require 'shell.
15425 (tramp-methods): Add `tramp-remote-shell' and
15426 `tramp-remote-shell-args' entries.
15427 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
15428 (tramp-sh-handle-shell-command): Remove.
15429 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
15430 Use `tramp-remote-shell'.
15431
15432 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
15433
15434 * mail/sendmail.el (sendmail-query-once-function): Delete.
15435 (sendmail-query-once): Save directly to send-mail-function.
15436 Update message-send-mail-function too.
15437
15438 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
15439
15440 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
15441
15442 * progmodes/python.el (python-mode-map): Use correct function to
15443 start python interpreter from menu-bar (as reported by Geert
15444 Kloosterman).
15445 (inferior-python-mode-map): Fix typo.
15446 (python-shell-map): Remove.
15447
15448 2011-09-03 Deniz Dogan <deniz@dogan.se>
15449
15450 * net/rcirc.el (rcirc-print): Simplify code for
15451 rcirc-scroll-show-maximum-output. There is no need to walk
15452 through all windows to find the right one.
15453
15454 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
15455
15456 * help.el (help-return-method): Doc fix.
15457
15458 2011-09-03 Martin Rudalics <rudalics@gmx.at>
15459
15460 * window.el (window-deletable-p): Don't return a non-nil value
15461 when there's a buffer that was shown in the window before.
15462 (Bug#9419)
15463 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
15464 Set window's previous buffers to nil.
15465
15466 2011-09-03 Eli Zaretskii <eliz@gnu.org>
15467
15468 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
15469 newline before and after the tag line, so it doesn't interfere
15470 with determining the paragraph direction of bidirectional text.
15471
15472 2011-09-03 Leo Liu <sdl.web@gmail.com>
15473
15474 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
15475
15476 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
15477
15478 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
15479 (pop-to-buffer): Change interactive spec. Pass second argument
15480 directly to display-buffer.
15481 (display-buffer): Fix interactive spec. Use functionp to
15482 distinguish between a function and a list of functions.
15483
15484 * abbrev.el (edit-abbrevs):
15485 * arc-mode.el (archive-extract):
15486 * autoinsert.el (auto-insert):
15487 * bookmark.el (bookmark-bmenu-list):
15488 * files.el (find-file):
15489 * view.el (view-buffer):
15490 * progmodes/compile.el (compilation-goto-locus):
15491 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
15492
15493 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
15494
15495 * window.el (display-buffer-alist): Doc fix.
15496 (display-buffer): Add docstring. Don't treat
15497 display-buffer-default specially.
15498 (display-buffer-reuse-selected-window)
15499 (display-buffer-same-window, display-buffer-maybe-same-window)
15500 (display-buffer-reuse-window, display-buffer-pop-up-frame)
15501 (display-buffer-pop-up-window)
15502 (display-buffer-reuse-or-pop-window)
15503 (display-buffer-use-some-window): New functions.
15504 (display-buffer-default-action): Use them.
15505 (display-buffer-default): Delete.
15506 (pop-to-buffer-1): Fix choice of actions.
15507
15508 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
15509
15510 * minibuffer.el (completion--insert-strings): Don't get confused by
15511 completion entries that end with an LF char.
15512
15513 2011-09-01 Eli Zaretskii <eliz@gnu.org>
15514
15515 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
15516
15517 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
15518
15519 * window.el (display-buffer): Restore interactive spec.
15520 (display-buffer-same-window, display-buffer-other-window):
15521 New functions.
15522 (pop-to-buffer-1): New function. Use the above.
15523 (pop-to-buffer, pop-to-buffer-same-window): Use it.
15524 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
15525
15526 * view.el (view-buffer-other-window, view-buffer-other-frame):
15527 Just use pop-to-buffer.
15528
15529 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15530
15531 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
15532
15533 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
15534
15535 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
15536
15537 2011-08-31 Richard Stallman <rms@gnu.org>
15538
15539 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
15540 of the separation of rmail-view-buffer from rmail-buffer.
15541 If you say no to "replace original", the decrypt is in the
15542 view buffer. If you say yes, the decrypt goes into the
15543 rmail buffer also.
15544
15545 2011-08-31 Martin Rudalics <rudalics@gmx.at>
15546
15547 * window.el (display-buffer-window): Rewrite doc-string.
15548 (display-buffer-record-window): New function.
15549 (display-buffer-macro-specifiers)
15550 (display-buffer-even-window-sizes, display-buffer-set-height)
15551 (display-buffer-set-width, display-buffer-in-window)
15552 (display-buffer-reuse-window, display-buffer-split-specifiers)
15553 (display-buffer-side-specifiers, display-buffer-split-window-1)
15554 (display-buffer-split-window, display-buffer-split-atom-window)
15555 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
15556 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
15557 (display-buffer-other-window-means-other-frame)
15558 (display-buffer-normalize-special)
15559 (display-buffer-normalize-default)
15560 (display-buffer-normalize-argument)
15561 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
15562 (display-buffer-normalize-specifiers, display-buffer-frame)
15563 (display-buffer-same-window, display-buffer-same-frame)
15564 (display-buffer-other-window)
15565 (display-buffer-same-frame-other-window)
15566 (display-buffer-other-frame, pop-to-buffer-same-window)
15567 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
15568 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
15569 (switch-to-buffer-same-frame)
15570 (switch-to-buffer-other-window-same-frame)
15571 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
15572 (display-buffer-alist-set-1, display-buffer-alist-set-2)
15573 (display-buffer-alist-set): Remove.
15574 (display-buffer-function, special-display-buffer-names)
15575 (special-display-regexps, special-display-function):
15576 In doc-string refer to display-buffer-window and quit-restore
15577 parameter.
15578 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
15579 (special-display-frame-alist, special-display-popup-frame)
15580 (same-window-buffer-names, same-window-regexps, same-window-p)
15581 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
15582 (split-window-preferred-function, split-height-threshold)
15583 (split-width-threshold, window-splittable-p)
15584 (split-window-sensibly, window--try-to-split-window)
15585 (window--frame-usable-p, even-window-heights)
15586 (window--even-window-heights, window--display-buffer-1)
15587 (window--display-buffer-2, display-buffer-other-frame):
15588 Restore old Emacs 23 code, order and doc-strings where applicable.
15589 (display-buffer-default, display-buffer-assq-regexp): New functions.
15590 (display-buffer-alist): Rewrite doc-string.
15591 (display-buffer-default-action)
15592 (display-buffer-overriding-action): New variables.
15593 (display-buffer, switch-to-buffer): Rewrite.
15594 (pop-to-buffer): Restore Emacs 23 behavior but use
15595 window-normalize-buffer-to-display.
15596 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
15597 Restore Emacs 23 behavior but use
15598 window-normalize-buffer-to-switch-to.
15599 (pop-to-buffer-same-window): Rewrite.
15600 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
15601 Rewrite using Emacs 23 options.
15602
15603 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
15604
15605 * net/tramp.el (tramp-root-regexp): Remove.
15606 (tramp-completion-file-name-regexp-unified)
15607 (tramp-completion-file-name-regexp-separate)
15608 (tramp-completion-file-name-regexp-url): Don't use leading volume
15609 letter on w32 systems. (Bug#5303, Bug#9311)
15610 (tramp-drop-volume-letter): Simplify definition.
15611 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
15612
15613 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
15614
15615 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
15616 (bug#9356).
15617
15618 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
15619
15620 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
15621
15622 2011-08-29 Juri Linkov <juri@jurta.org>
15623
15624 * isearch.el (isearch-done): Don't display message "Mark saved"
15625 when arg `edit' is non-nil to prevent its flicker in the echo area.
15626
15627 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
15628
15629 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
15630 obsolete packages for deletion.
15631
15632 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
15633
15634 * help-mode.el (help-mode-map): Add special-mode-map to parent.
15635 (help-mode): Derive help-mode from special-mode. Don't invoke
15636 view-mode from help-mode.
15637 (help-xref-override-view-map): Remove.
15638 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
15639 view-mode is not used anymore.
15640
15641 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
15642
15643 * server.el (server-port): Doc fix.
15644
15645 * cus-theme.el (custom-theme-choose-mode): Inherit from
15646 special-mode (Bug#9124).
15647 (custom-theme-choose-mode-map): Add special-mode to parent.
15648
15649 2011-08-28 Alan Mackenzie <acm@muc.de>
15650
15651 * progmodes/cc-fonts.el
15652 (c-make-font-lock-BO-decl-search-function): New function.
15653 (c-basic-matchers-after - "Fontify the clauses after various
15654 keywords"): Extract the three keyword lists for the 3 erroneous
15655 constructs from the list of four, and use the new function above
15656 in place of an old one.
15657
15658 2011-08-28 Deniz Dogan <deniz@dogan.se>
15659
15660 * net/rcirc.el (rcirc-insert-prev-input)
15661 (rcirc-insert-next-input): Remove unused argument.
15662
15663 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
15664
15665 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
15666
15667 2011-08-27 Alan Mackenzie <acm@muc.de>
15668
15669 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
15670 handle function pointer parameters properly.
15671
15672 2011-08-27 Martin Rudalics <rudalics@gmx.at>
15673
15674 * window.el (display-buffer-reuse-window): Fix case where
15675 selected window was reused with non-nil OTHER-WINDOW argument.
15676 (Bug#9381)
15677
15678 2011-08-27 Deniz Dogan <deniz@dogan.se>
15679
15680 * net/rcirc.el (rcirc-check-auth-status): Adding support for
15681 oftc's NickServ messages.
15682
15683 2011-08-27 Glenn Morris <rgm@gnu.org>
15684
15685 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
15686
15687 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
15688
15689 * emacs-lisp/package.el (package-install): Call package-initialize
15690 if called interactively.
15691
15692 2011-08-26 Leo Liu <sdl.web@gmail.com>
15693
15694 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
15695
15696 2011-08-25 Juri Linkov <juri@jurta.org>
15697
15698 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
15699 `search-whitespace-regexp' (bug#9364).
15700
15701 2011-08-25 Juri Linkov <juri@jurta.org>
15702
15703 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
15704 `regexp-search-ring' to their global values to protect from
15705 updating by `read-from-minibuffer' (bug#9185).
15706
15707 2011-08-25 Juri Linkov <juri@jurta.org>
15708
15709 * textmodes/ispell.el (ispell-command-loop): Add newline
15710 at the end of the "Use option `i'..." line.
15711
15712 2011-08-25 Juri Linkov <juri@jurta.org>
15713
15714 * battery.el (display-battery-mode): If `battery-status-function'
15715 or `battery-mode-line-format' is nil, display the message and set
15716 `display-battery-mode' to nil (bug#9363).
15717
15718 2011-08-25 Eli Zaretskii <eliz@gnu.org>
15719
15720 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
15721 bidi-string-mark-left-to-right; they are unnecessary now.
15722
15723 2011-08-25 Deniz Dogan <deniz@dogan.se>
15724
15725 * net/quickurl.el: Documentation typo fixes.
15726
15727 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
15728
15729 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
15730
15731 2011-08-25 Glenn Morris <rgm@gnu.org>
15732
15733 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
15734
15735 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
15736 (smtpmail-via-smtp): Handle nil response from smtp.
15737
15738 2011-08-24 Juri Linkov <juri@jurta.org>
15739
15740 * proced.el (proced-marked): Inherit from `error' instead of
15741 `font-lock-warning-face'.
15742
15743 * ibuffer.el (ibuffer-marked-face): Change default face from
15744 `font-lock-warning-face' to `warning'.
15745 (ibuffer-deletion-face): Change default face from
15746 `font-lock-type-face' to `error'.
15747
15748 * battery.el (battery-update): Use the face `error' instead of
15749 `font-lock-warning-face' (bug#6117).
15750
15751 2011-08-24 Juri Linkov <juri@jurta.org>
15752
15753 * faces.el (success): Change face color from "Green3" to
15754 "ForestGreen" on light background (bug#9353).
15755
15756 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
15757
15758 * window.el (quit-window): Rename from quit-restore-window.
15759 Use same arglist as old quit-window.
15760 (frame-auto-delete): Doc fix.
15761
15762 * view.el (view-mode-exit): Use quit-window.
15763
15764 2011-08-24 Juri Linkov <juri@jurta.org>
15765
15766 * isearch.el (isearch-ring-adjust1): Start visiting previous
15767 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
15768 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
15769 for empty search string (when the last search string is reused
15770 automatically) to adjust the isearch ring to the last element and
15771 prepare the correct index for further M-p commands (bug#9185).
15772
15773 2011-08-24 Kenichi Handa <handa@m17n.org>
15774
15775 * international/ucs-normalize.el: If decomposition property of
15776 CHAR is the default one (i.e. a list of CHAR itself), treat it as
15777 nil.
15778 (nfd, nfkd): Likewise.
15779
15780 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
15781
15782 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
15783 from process filters aren't reliably transmitted to the surrounding
15784 accept-process-output.
15785 (mpc-proc-check): New function.
15786 (mpc-proc-sync): Use it (bug#8293)
15787
15788 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
15789
15790 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
15791 Add compatibility functions (bug#9313).
15792
15793 2011-08-23 Eli Zaretskii <eliz@gnu.org>
15794
15795 * cus-start.el (all): Add entry for bidi-paragraph-direction.
15796
15797 * international/uni-bidi.el: Regenerate.
15798
15799 2011-08-23 Kenichi Handa <handa@m17n.org>
15800
15801 * international/charprop.el:
15802 * international/uni-bidi.el:
15803 * international/uni-category.el:
15804 * international/uni-combining.el:
15805 * international/uni-comment.el:
15806 * international/uni-decimal.el:
15807 * international/uni-decomposition.el:
15808 * international/uni-digit.el:
15809 * international/uni-lowercase.el:
15810 * international/uni-mirrored.el:
15811 * international/uni-name.el:
15812 * international/uni-numeric.el:
15813 * international/uni-old-name.el:
15814 * international/uni-titlecase.el:
15815 * international/uni-uppercase.el: Regenerate.
15816
15817 2011-08-23 Martin Rudalics <rudalics@gmx.at>
15818
15819 * help.el (help-window-setup): Fix message displayed when other
15820 window is reused. (Bug#9341)
15821
15822 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
15823
15824 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
15825 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
15826
15827 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
15828 Mark obsolete.
15829 * shell.el (shell-parse-pcomplete-arguments): New function.
15830 (shell-completion-vars): Use it instead (bug#9160).
15831
15832 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
15833
15834 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
15835 strings and comments (bug#9333).
15836
15837 * emacs-lisp/debug.el (debug-arglist): New function.
15838 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
15839 (debug-on-entry-1): Handle interpreted closures (bug#9120).
15840
15841 2011-08-22 Juri Linkov <juri@jurta.org>
15842
15843 * progmodes/compile.el (compilation-mode-font-lock-keywords):
15844 Revert regexp that highlights output switches to its old
15845 pre-2010-10-28 value and remove one `?' from it (bug#9319).
15846
15847 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
15848 to check for empty output (bug#9226).
15849
15850 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
15851
15852 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
15853 symbol-constituent as the default, as that stops font-lock from
15854 working properly (Bug#8843).
15855
15856 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
15857
15858 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
15859 `coding-system-for-*' around the process open call to avoid
15860 auth-source side effects.
15861 (smtpmail-try-auth-methods): Expand the secret password.
15862 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
15863 probe hangs.
15864
15865 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
15866
15867 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
15868
15869 * emacs-lisp/find-func.el (find-function-noselect): New arg
15870 lisp-only.
15871
15872 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
15873 signal an error for built-in functions (Bug#6664).
15874
15875 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
15876
15877 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
15878 (smtpmail-try-auth-methods): Use it.
15879
15880 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
15881
15882 * font-lock.el (font-lock-fontify-region)
15883 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
15884 (font-lock-default-unfontify-buffer)
15885 (font-lock-default-fontify-region)
15886 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
15887
15888 * progmodes/compile.el (compilation-error-properties):
15889 Fix confusion between file struct and message struct (Bug#9319).
15890 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
15891 `ant' regexp.
15892
15893 * net/browse-url.el (browse-url-firefox): Don't call
15894 browse-url-firefox-sentinel unless using -remote (Bug#9328).
15895
15896 2011-08-20 Glenn Morris <rgm@gnu.org>
15897
15898 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
15899
15900 * tutorial.el (tutorial--default-keys): Update some default bindings.
15901
15902 * files.el (hack-local-variables): Fully ignore case for "mode:".
15903
15904 2011-08-20 Alan Mackenzie <acm@muc.de>
15905
15906 Resolve invalid use of a regexp in regexp-opt.
15907
15908 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
15909 detection for a java annotation.
15910
15911 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
15912 detection for a java annotation.
15913
15914 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
15915 handling for java.
15916 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
15917
15918 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
15919
15920 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
15921 (Bug#9274).
15922
15923 2011-08-20 Alan Mackenzie <acm@muc.de>
15924
15925 Fontify CPP expressions correctly when starting in the middle of
15926 such a construct. Mainly for when jit-lock etc. starts a chunk
15927 here.
15928
15929 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
15930 variable.
15931 (c-make-font-lock-search-form): New function, extracted from
15932 c-make-font-lock-search-function.
15933 (c-make-font-lock-search-function): Use the above function.
15934 (c-make-font-lock-context-search-function): New function.
15935 (c-cpp-matchers): Enhance the preprocessor expression case with
15936 the above function
15937 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
15938 which takes an expression.
15939
15940 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
15941
15942 2011-08-20 Martin Rudalics <rudalics@gmx.at>
15943
15944 * window.el (display-buffer-reuse-window)
15945 (display-buffer-pop-up-window): Don't reuse or split a side
15946 window.
15947
15948 2011-08-19 Glenn Morris <rgm@gnu.org>
15949
15950 * files.el (hack-local-variables-prop-line, hack-local-variables):
15951 Downcase "Mode:". (Bug#9331)
15952
15953 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
15954
15955 * international/characters.el: Add L and R categories.
15956
15957 * subr.el (bidi-string-mark-left-to-right): Rename from
15958 string-mark-left-to-right. Use category search.
15959
15960 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
15961
15962 2011-08-18 Juri Linkov <juri@jurta.org>
15963
15964 * faces.el (error, warning, success): New faces with definitions
15965 copied from old default values of `font-lock-warning-face',
15966 `compilation-warning', `compilation-info' (bug#6117).
15967
15968 * font-lock.el (font-lock-warning-face): Inherit from `error'.
15969
15970 * progmodes/compile.el (compilation-error): Inherit from `error'.
15971 (compilation-warning): Inherit from `warning'.
15972 (compilation-info): Inherit from `success'.
15973
15974 * dired.el (dired-marked): Inherit from `warning'.
15975 (dired-flagged): Inherit from `error'.
15976
15977 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
15978
15979 * mail/smtpmail.el (auth-source): Require to avoid problems with
15980 binding variables (bug#9298). Also clean up some unused
15981 autoloads.
15982
15983 * net/network-stream.el (network-stream-open-starttls):
15984 Support using starttls.el without using gnutls-cli.
15985
15986 2011-08-17 Juri Linkov <juri@jurta.org>
15987
15988 * progmodes/grep.el (rgrep): Handle the case when
15989 `grep-find-command' is a cons cell (bug#9278).
15990
15991 2011-08-17 Martin Rudalics <rudalics@gmx.at>
15992
15993 * window.el (display-buffer-pop-up-frame): Run frame creation
15994 function with BUFFER current (as special-display-popup-frame
15995 does). Reported by Drew Adams.
15996
15997 2011-08-17 Daiki Ueno <ueno@unixuser.org>
15998
15999 * epa-mail.el: Simplify GnuPG group expansion using
16000 epg-expand-group.
16001 (epa-mail-group-alist, epa-mail-group-modtime)
16002 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
16003 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
16004 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
16005 Remove.
16006
16007 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
16008
16009 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
16010
16011 2011-08-16 Alan Mackenzie <acm@muc.de>
16012
16013 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
16014 Correct, to avoid the inside of macros.
16015
16016 2011-08-16 Richard Stallman <rms@gnu.org>
16017
16018 * epa-mail.el: Handle GnuPG group definitions.
16019 (epa-mail-group-alist, epa-mail-group-modtime)
16020 (epa-mail-gnupg-conf-file): New variables.
16021 (epa-mail-parse-groups, epa-mail-sync-groups)
16022 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
16023 (epa-mail-expand-recipients): New functions.
16024 (epa-mail-encrypt): Call epa-mail-expand-recipients.
16025
16026 * mail/rmail.el (rmail-epa-decrypt): New command.
16027
16028 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
16029 Don't bind buffer-read-only, just inhibit-read-only.
16030 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
16031 (epa-decrypt-armor-in-region): Make error message clearer.
16032
16033 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
16034
16035 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
16036 and "a2b" to "ab" for `prefix'.
16037
16038 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
16039
16040 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
16041 filter groups.
16042 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
16043 Fourquet (Bug#8804).
16044
16045 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
16046
16047 * startup.el (argi): Declare as global variable (bug#9275).
16048
16049 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
16050
16051 * subr.el (string-mark-left-to-right): Search the entire string
16052 for RTL script, not just the terminating character. Doc fix.
16053
16054 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
16055
16056 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
16057 New function.
16058 (js--regexp-literal, js-syntax-propertize-function): Remove.
16059 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
16060 (js-mode-map): Don't rebind electric keys.
16061 (js-insert-and-indent): Remove.
16062 (js-mode): Setup electric-layout and electric-indent instead.
16063
16064 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
16065
16066 2011-08-12 Daiki Ueno <ueno@unixuser.org>
16067
16068 * epa.el (epa-progress-callback-function): Fix the logic of
16069 displaying progress.
16070 * epa-file.el (epa-file-insert-file-contents): Make progress
16071 display more user-friendly.
16072 (epa-file-write-region): Ditto.
16073
16074 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
16075
16076 * subr.el (string-mark-left-to-right): New function.
16077
16078 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
16079 Use string-mark-left-to-right.
16080 (list-buffers-noselect): Caller changed.
16081
16082 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
16083 Use string-mark-left-to-right.
16084 (tabulated-list-print): Recenter after moving point.
16085
16086 2011-08-10 Juri Linkov <juri@jurta.org>
16087
16088 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
16089 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
16090 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
16091
16092 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
16093
16094 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
16095 (Bug#7554).
16096
16097 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
16098
16099 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
16100 character. (Bug#6594)
16101
16102 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
16103
16104 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
16105 (image-dired--with-db-file): New macro.
16106 (image-dired-write-tags, image-dired-remove-tag)
16107 (image-dired-create-gallery-lists, image-dired-write-comments)
16108 (image-dired-get-comment, image-dired-mark-tagged-files)
16109 (image-dired-list-tags, image-dired-gallery-generate): Use it.
16110 (image-dired-gallery-generate): Use insert-file-contents.
16111
16112 * time.el (display-time-world-list, display-time-world-display):
16113 * time-stamp.el (time-stamp-string):
16114 * vc/add-log.el (add-change-log-entry): Use setenv instead of
16115 set-time-zone-rule (Bug#7337).
16116
16117 2011-08-08 Daiki Ueno <ueno@unixuser.org>
16118
16119 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
16120 (epg-error-to-string, epg-errors-to-string): New function.
16121 (epg-wait-for-completion): Reverse errors list.
16122 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
16123 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
16124 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
16125 (epg-sign-keys, epg-generate-key-from-file)
16126 (epg-generate-key-from-string): Format errors by using
16127 epg-errors-to-string (bug#9255).
16128 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
16129
16130 2011-08-07 Juri Linkov <juri@jurta.org>
16131
16132 * faces.el (list-faces-display): Remove extra angle bracket
16133 from `help-mode-map'.
16134
16135 * info.el (Info-history-toc-nodes): Doc fix.
16136
16137 * longlines.el (longlines-mode): Doc fix.
16138
16139 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
16140
16141 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
16142 of statements and in a few more cases (bug#9183).
16143
16144 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
16145 New functions.
16146 (cl-transform-lambda): Use them (bug#9239).
16147
16148 2011-08-05 Martin Rudalics <rudalics@gmx.at>
16149
16150 * window.el (display-buffer-same-window)
16151 (display-buffer-same-frame, display-buffer-other-window)
16152 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
16153 (pop-to-buffer-other-window)
16154 (pop-to-buffer-same-frame-other-window)
16155 (pop-to-buffer-other-frame): Make them defuns.
16156 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
16157
16158 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
16159
16160 * subr.el (make-composed-keymap): Move from C. Change calling
16161 convention, and improve docstring to bring attention to a subtle point.
16162 * minibuffer.el (completing-read-default): Adjust accordingly.
16163
16164 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
16165
16166 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
16167 (tramp-open-shell): Use `tramp-shell-quote-argument'.
16168
16169 * net/trampver.el: Update release number.
16170
16171 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
16172
16173 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
16174 "in" (bug#9190).
16175
16176 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16177
16178 * mail/sendmail.el (sendmail-query-once): Restore the current
16179 buffer after querying (bug#9074).
16180
16181 * dired.el (dired-flagged): Use different faces for marked and
16182 flagged files (bug#6117).
16183
16184 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
16185 (bug#4433).
16186
16187 * ido.el (ido-mode): Switch off the message if called
16188 non-interactively.
16189
16190 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
16191 before 587, since it appears that that's more likely to work for
16192 more people.
16193
16194 * cus-edit.el (custom-file): When running under emacs -q, always
16195 refuse to save the customizations, even if the .emacs file doesn't
16196 exist.
16197
16198 * info.el: Remove the `Info-beginning-of-buffer' function
16199 (bug#8325).
16200
16201 * net/network-stream.el (network-stream-open-starttls):
16202 Use `starttls-available-p' to see whether starttls.el can be used.
16203
16204 2011-08-01 Martin Rudalics <rudalics@gmx.at>
16205
16206 * window.el (display-buffer-in-window): Don't set dedicated status
16207 of window here (Bug#9215).
16208 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
16209 (display-buffer-pop-up-side-window)
16210 (display-buffer-in-side-window): Set dedicated status of window here.
16211
16212 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
16213
16214 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
16215 before binding generated-autoload-file.
16216
16217 2011-08-01 Deniz Dogan <deniz@dogan.se>
16218
16219 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
16220
16221 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
16222
16223 Sync with Tramp 2.2.2.
16224
16225 * net/trampver.el: Update release number.
16226
16227 2011-07-30 Juri Linkov <juri@jurta.org>
16228
16229 * dired-aux.el (dired-touch-initial): Remove function.
16230 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
16231 current time, and `default' to the last modification time of the
16232 current marked file (bug#6887).
16233
16234 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
16235
16236 * simple.el (goto-line): Use string-to-number to provide a
16237 numeric argument to read-number (bug#9163).
16238
16239 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
16240
16241 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
16242 connection process, it could be nil.
16243
16244 2011-07-27 Leo Liu <sdl.web@gmail.com>
16245
16246 Simplify url handling in rcirc-mode.
16247
16248 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
16249 (rcirc-browse-url-at-mouse): Remove.
16250 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
16251
16252 2011-07-26 Alan Mackenzie <acm@muc.de>
16253
16254 Fontify bitfield declarations properly.
16255
16256 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
16257 (c-symbol-chars): Now exported as a lang variable.
16258 (c-not-primitive-type-keywords): New lang variable.
16259
16260 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
16261 QT keyword "more" to prevent "more slots: ...." being spuriously
16262 parsed as a bitfield declaration.
16263
16264 * progmodes/cc-engine.el (c-beginning-of-statement-1):
16265 Refactor and enhance to handle bitfield declarations.
16266 (c-punctuation-in): New function.
16267 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
16268 declarations properly.
16269
16270 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
16271
16272 * calendar/icalendar.el (icalendar--all-events): Take care of
16273 multiple vcalendars in a single file.
16274 (icalendar--convert-float-to-ical): Checkdoc fixes.
16275
16276 2011-07-25 Deniz Dogan <deniz@dogan.se>
16277
16278 * image.el (insert-image): Clarifying docstring.
16279
16280 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
16281
16282 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
16283 `tramp-send-command-and-check' if there is no error.
16284 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
16285
16286 2011-07-22 Alan Mackenzie <acm@muc.de>
16287
16288 Prevent cc-langs.elc being loaded at run time.
16289
16290 * progmodes/cc-mode.el: Remove two autoload forms which loaded
16291 cc-langs.
16292
16293 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
16294 "(require 'cc-langs)". Quote a form so it will evaluate at
16295 (cc-mode's) compilation time.
16296
16297 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
16298
16299 * net/tramp.el (tramp-file-name-handler): Avoid recursive
16300 loading. (Bug#9114)
16301
16302 2011-07-21 Martin Rudalics <rudalics@gmx.at>
16303
16304 * window.el (display-buffer-pop-up-window)
16305 (display-buffer-pop-up-side-window)
16306 (display-buffer-in-side-window): Call display-buffer-set-height
16307 and display-buffer-set-width after setting the new window's
16308 buffer so `fit-window-to-buffer' and friends work on the right buffer.
16309
16310 2011-07-20 Sam Steingold <sds@gnu.org>
16311
16312 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
16313 (etags-tags-included-tables): Call `convert-standard-filename' on
16314 the file names contained in TAGS so that windows Emacs can handle
16315 TAGS files created by cygwin ctags.
16316
16317 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
16318
16319 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
16320 which apparently didn't work.
16321
16322 2011-07-19 Roland Winkler <winkler@gnu.org>
16323
16324 * proced.el (proced-send-signal): For *Marked Processes* buffer
16325 put point at beginning of buffer.
16326
16327 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
16328
16329 * proced.el (proced-format): Make header lines align with the text
16330 (bug#1779).
16331
16332 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
16333
16334 * view.el (view-buffer): Allow running in `special' modes if we're
16335 visiting a file (bug#8615).
16336
16337 2011-07-19 Martin Rudalics <rudalics@gmx.at>
16338
16339 * window.el (display-buffer-alist-of-strings-p)
16340 (display-buffer-alist-set-1, display-buffer-alist-set-2):
16341 New functions.
16342 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
16343 more accurately.
16344
16345 2011-07-18 Alan Mackenzie <acm@muc.de>
16346
16347 Fontify declarators properly when, e.g., a jit-lock chunk begins
16348 inside a declaration.
16349
16350 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
16351
16352 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
16353 New function.
16354 (c-complex-decl-matchers): Insert reference to
16355 c-font-lock-enclosing-decls.
16356
16357 * progmodes/cc-engine.el (c-backward-single-comment):
16358 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
16359 to nil around calls to (forward-comment -1).
16360
16361 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
16362
16363 * image.el (put-image): Doc typo fix.
16364
16365 * progmodes/etags.el (tags-search): Doc typo fix.
16366
16367 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
16368 password if we get errors 550 to 554.
16369
16370 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
16371
16372 * net/gnutls.el (gnutls-log-level): Remove.
16373
16374 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
16375 indentation character (bug#6380).
16376
16377 * files.el (buffer-offer-save): Made permanently local (bug#6241).
16378
16379 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
16380 to clarify what the problem is (bug#4291).
16381
16382 * simple.el (current-kill): Clarify what
16383 `interprogram-paste-function' does (bug#7500).
16384 (auto-fill-mode): Document `auto-fill-function' in relation to
16385 `auto-fill-mode' (bug#2470).
16386
16387 2011-07-16 Lawrence Mitchell <wence@gmx.li>
16388
16389 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
16390 method if slot is read-only (bug#9035).
16391
16392 2011-07-16 Martin Rudalics <rudalics@gmx.at>
16393
16394 * frame.el (select-frame-set-input-focus): New argument NORECORD.
16395 * window.el (pop-to-buffer): Select window used even if it was
16396 selected before, see discussion of (Bug#8615), (Bug#6954).
16397 Pass argument NORECORD on to select-frame-set-input-focus.
16398
16399 2011-07-15 Glenn Morris <rgm@gnu.org>
16400
16401 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
16402 Respect help-form.
16403
16404 2011-07-09 Lawrence Mitchell <wence@gmx.li>
16405
16406 * net/gnutls.el (gnutls-min-prime-bits): New variable.
16407 (gnutls-negotiate): Use it.
16408
16409 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
16410
16411 * net/gnutls.el (gnutls-negotiate):
16412 Upcase `gnutls-algorithm-priority'.
16413
16414 2011-07-15 Glenn Morris <rgm@gnu.org>
16415
16416 * jka-compr.el (jka-compr-verbose): Move from here...
16417 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
16418 Add missing :version tag.
16419 * info.el: No need to require jka-compr when compiling.
16420
16421 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
16422
16423 * net/gnutls.el (gnutls-algorithm-priority): New variable.
16424 (gnutls-negotiate): Use it.
16425
16426 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
16427
16428 * info.el (Info-beginning-of-buffer): New command.
16429 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
16430 announcing `b' as the key (bug#8325).
16431 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
16432
16433 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
16434
16435 * international/mule-cmds.el
16436 (describe-specified-language-support): Make the error message
16437 clearer (bug#8905).
16438
16439 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
16440
16441 * isearch.el (isearch-barrier): Add a doc string, since it's
16442 mentioned in a function doc string (bug#8678).
16443
16444 2011-07-15 Martin Rudalics <rudalics@gmx.at>
16445
16446 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
16447 buffer argument (Bug#9083) and self-identifying label argument.
16448
16449 2011-07-15 Glenn Morris <rgm@gnu.org>
16450
16451 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
16452
16453 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
16454
16455 * man.el (Man-fontify-manpage): Fix message when formatting the
16456 man page (bug#7929).
16457
16458 2011-07-14 Eli Zaretskii <eliz@gnu.org>
16459
16460 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
16461 argument LRM; if non-nil, append an invisible LRM character to the
16462 buffer name.
16463 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
16464 last argument non-nil, when formatting buffer names.
16465 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
16466 paragraph direction.
16467
16468 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
16469
16470 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
16471 the man page name (bug#7929).
16472
16473 * image.el (put-image): Mention the `put-image' overlay property
16474 (bug#7834).
16475
16476 * scroll-bar.el (set-scroll-bar-mode): Mention that
16477 `scroll-bar-mode' lists the values (bug#7772).
16478
16479 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
16480 command (bug#7729).
16481
16482 * rect.el (apply-on-rectangle): Return the point after the last
16483 operation.
16484 (string-rectangle): Go to the point after the last operation
16485 (bug#7522).
16486
16487 * printing.el (pr-toggle-region): Clarify the documentation
16488 slightly (bug#7493).
16489
16490 * time.el (display-time-update):
16491 Allow `display-time-mail-function' to return nil (bug#7158).
16492 Fix suggested by Detlev Zundel.
16493
16494 * vc/diff.el (diff): Clarify the order the file names are read
16495 (bug#7111).
16496
16497 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
16498 the doc string (bug#7015).
16499
16500 * font-lock.el (font-lock-maximum-decoration): Mention what
16501 numeric levels mean (bug#6935).
16502
16503 * startup.el (initial-buffer-choice): Don't mention the `none'
16504 selection, which is against policy.
16505
16506 2011-07-14 Martin Rudalics <rudalics@gmx.at>
16507
16508 * window.el (display-buffer-normalize-special):
16509 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
16510
16511 2011-07-14 Eli Zaretskii <eliz@gnu.org>
16512
16513 * subr.el (version<, version<=, version=): Mention "-CVS" and
16514 "-12345" alpha version numbers.
16515
16516 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
16517
16518 * bindings.el: Add advertised binding for set-mark-command
16519 (Bug#5772).
16520
16521 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
16522
16523 * bindings.el (mode-line-other-buffer):
16524 * bookmark.el (bookmark-bmenu-2-window):
16525 * bs.el (bs-cycle-next, bs-cycle-previous):
16526 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
16527 switch-to-buffer.
16528
16529 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
16530 Delete.
16531
16532 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
16533
16534 * follow.el (follow-debug-message, follow-redisplay):
16535 * jka-cmpr-hook.el (with-auto-compression-mode):
16536 Fix typos in docstrings.
16537
16538 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16539
16540 * subr.el (with-silent-modifications): Clarify somewhat what the
16541 macro inhibits (bug#6525).
16542
16543 * simple.el (eval-expression): Note what it does if called
16544 interactively (bug#6495).
16545
16546 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
16547
16548 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
16549 Use pop-to-buffer buffer-or-name if it is nil.
16550
16551 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
16552 Remove switch-to-buffer.
16553
16554 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16555
16556 * files.el (make-directory): Clarify that an error will be raised
16557 if there's an error (bug#6397).
16558
16559 * startup.el (initial-buffer-choice): Add `none' as a choice
16560 (bug#6234).
16561
16562 * subr.el (add-hook): Clarify section about buffer-local hooks
16563 (bug#6218).
16564
16565 * dired.el (dired-flagged): Clarify doc string (bug#6117).
16566
16567 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
16568
16569 * tabify.el (untabify): Preserve the current column so that point
16570 doesn't move (bug#6032).
16571
16572 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16573
16574 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
16575 Rewrite to avoid awkward possessive "s" (bug#5986).
16576
16577 2011-07-13 Glenn Morris <rgm@gnu.org>
16578
16579 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
16580 (dired-insert-directory): Give a message the first time
16581 if ls is found not to support --dired.
16582
16583 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16584
16585 * simple.el (toggle-truncate-lines): Clarify what is toggled
16586 (bug#5580). Text by Drew Adams.
16587
16588 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
16589
16590 * simple.el (blink-matching-open): Make the error message from the
16591 last change less verbose.
16592
16593 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
16594
16595 * font-lock.el (font-lock-comment-face): Use the high contrast
16596 "yellow" color for font-lock-comment-face on low color terminals
16597 using a dark background color (bug#4221).
16598
16599 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16600
16601 * dired.el (dired-insert-set-properties): Make the doc string
16602 reflect what it does now (bug#5325).
16603
16604 * simple.el (blink-matching-open): Say that we were unable to find
16605 the match within the limit, if we're limited (bug#5122).
16606
16607 * international/mule-cmds.el (prefer-coding-system): Add an
16608 example (bug#4869).
16609
16610 * progmodes/etags.el (tags-search): Document `file-list-form'
16611 (bug#4731).
16612
16613 2011-07-13 Lawrence Mitchell <wence@gmx.li>
16614
16615 * net/browse-url.el (browse-url-default-browser)
16616 (browse-url-browser-function): Make the default browser choice a
16617 bit more logical (bug#4300). Also clean up the doc string.
16618
16619 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
16620
16621 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
16622 binary endings (bug#4440).
16623
16624 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16625
16626 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
16627 which can be pretty annoying (bug#8971).
16628
16629 * jka-compr.el (jka-compr-verbose): New variable, and use
16630 throughout (bug#8971).
16631
16632 * info.el (Info-find-file): Fall back on the installation
16633 directory if we can't find the info node anywhere else.
16634
16635 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
16636
16637 * vc/vc.el (vc-revert-file):
16638 Don't set file time-stamp in the past. (Bug#5181)
16639
16640 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
16641
16642 * files.el (after-find-file): Give a better error message when
16643 trying to find a symlink that points to a file that doesn't exist
16644 (bug#4398).
16645
16646 * progmodes/cc-vars.el: Remove (probably) misleading comment
16647 (bug#4396).
16648
16649 2011-07-12 Johan Bockgård <bojohan@gnu.org>
16650
16651 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
16652
16653 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
16654
16655 * mouse-sel.el: Hack restoring functionality, while keeping
16656 compatibility with 2010-07-03 changes to mouse selection.
16657 (mouse-sel-primary-overlay): New var.
16658 (mouse-sel-selection-alist): Use it.
16659 (mouse-sel-mode): Doc fix; remove points that are default features
16660 of mouse.el.
16661
16662 2011-07-12 Johan Bockgård <bojohan@gnu.org>
16663
16664 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16665 Fix previous fix (bug#2490).
16666
16667 2011-07-12 Roland Winkler <winkler@gnu.org>
16668
16669 * textmodes/bibtex.el (bibtex-initialize):
16670 Use pop-to-buffer-same-window.
16671 (bibtex-search-entries): Fix interactive call.
16672
16673 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
16674
16675 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16676 Fontise bytecomp Error lines more correctly (bug#2490).
16677 Fix suggested by Johan Bockgård.
16678
16679 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
16680
16681 * dired-x.el (dired-guess-default): Use `delete-dups'.
16682
16683 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
16684
16685 * dired.el (dired-mark-prompt):
16686 * dired-aux.el (dired-read-shell-command): Doc fix.
16687
16688 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
16689
16690 * mail/sendmail.el (sendmail-query-once):
16691 Use `customize-save-variable' unconditionally, now that it works under
16692 emacs -Q.
16693
16694 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
16695
16696 * cus-edit.el (custom-file): Take an optional no-error variable.
16697 (customize-save-variable): Set the variable, and give a warning if
16698 running under "emacs -q".
16699
16700 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
16701
16702 * loadhist.el (unload-feature-special-hooks):
16703 Add `auto-coding-functions', `fill-nobreak-predicate' and
16704 `find-directory-functions' (bug#5327).
16705
16706 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
16707
16708 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
16709
16710 * cus-edit.el (custom-guess-name-alist): -alist variables should
16711 use the `alist' type (bug#3120). Suggested by Drew Adams.
16712
16713 * printing.el: Add documentation to all the `pr-toggle-' commands.
16714
16715 2011-07-11 Leo Liu <sdl.web@gmail.com>
16716
16717 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
16718 backends where it makes sense (bug#2623).
16719
16720 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
16721
16722 * dired-x.el (dired-guess-default): Remove duplicate shell command
16723 entries (bug#2028).
16724 (dired-guess-default): Fix grammar in doc string (bug#2028).
16725 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
16726
16727 * subr.el (remove-duplicates): New conveniency function.
16728
16729 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
16730
16731 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
16732 (bug#1526).
16733
16734 2011-07-10 Martin Rudalics <rudalics@gmx.at>
16735
16736 * window.el (display-buffer-normalize-default): Don't invert
16737 meaning of even-window-heights. Reported by Eli Zaretskii
16738 <eliz@gnu.org>.
16739
16740 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
16741
16742 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
16743
16744 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
16745
16746 * window.el (display-buffer): Fix arguments to
16747 display-buffer-reuse-window in last change.
16748
16749 * faces.el (link): Use a less saturated blue on light backgrounds.
16750
16751 * startup.el (fancy-startup-text, fancy-about-text)
16752 (fancy-startup-tail): Use font-lock faces, for background safety.
16753
16754 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
16755
16756 * emulation/viper-cmd.el (viper-change-state-to-vi):
16757 Limit triggering of abbrev expansion (Bug#9038).
16758
16759 2011-07-09 Martin Rudalics <rudalics@gmx.at>
16760
16761 * window.el (display-buffer-default-specifiers): Remove.
16762 (display-buffer-macro-specifiers): Remove default specifiers.
16763 (display-buffer-alist): Default to nil.
16764 (display-buffer-reuse-window): New optional argument other-window.
16765 (display-buffer-pop-up-window): Allow splitting internal
16766 windows. Check whether a live window was created.
16767 (display-buffer-other-window-means-other-frame)
16768 (display-buffer-normalize-arguments): Rename to
16769 display-buffer-normalize-argument and rewrite. Set the
16770 other-window specifier.
16771 (display-buffer-normalize-special): New function.
16772 (display-buffer-normalize-options): Rename to
16773 display-buffer-normalize-default and rewrite.
16774 (display-buffer-normalize-options-inhibit): Remove.
16775 (display-buffer-normalize-specifiers): Rewrite.
16776 (display-buffer): Process other-window specifier and call
16777 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
16778 more faithfully.
16779 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
16780 (display-buffer-alist-set): Don't handle 'unset default values.
16781 (display-buffer-in-window, display-buffer-alist-set):
16782 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
16783 <tassilo@member.fsf.org>.
16784
16785 2011-07-09 Leo Liu <sdl.web@gmail.com>
16786
16787 * register.el (insert-register): Restore accidental change on
16788 2011-06-26. (Bug#9028)
16789
16790 2011-07-09 Glenn Morris <rgm@gnu.org>
16791
16792 * subr.el (remq): Handle the empty list. (Bug#9024)
16793
16794 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
16795
16796 * mail/sendmail.el (send-mail-function): No longer delay custom
16797 initialization.
16798 * custom.el (custom-initialize-delay): Doc fix.
16799
16800 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
16801
16802 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
16803
16804 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
16805
16806 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
16807 human-friendly prompt.
16808
16809 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
16810
16811 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
16812 provided by a particular plugin.
16813
16814 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
16815
16816 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
16817 save customizations (with "emacs -Q"), just set the variable
16818 instead of erroring out.
16819
16820 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
16821
16822 2011-07-08 Juri Linkov <juri@jurta.org>
16823
16824 * arc-mode.el (archive-zip-expunge, archive-zip-update)
16825 (archive-zip-update-case): Use 7z if found by `executable-find'.
16826 The order of searching the available programs is the same as in
16827 `archive-zip-extract' (bug#8968).
16828
16829 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
16830
16831 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
16832 (menu-bar-options-menu): Tweak descriptions.
16833
16834 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
16835
16836 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
16837 menu items into verb phrases (bug#1421). Also refill to fit under
16838 80 columns.
16839
16840 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
16841
16842 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
16843 (Info-read-node-name): Doc fix (Bug#1084).
16844
16845 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
16846 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
16847 (end-of-sexp, beginning-of-sexp)
16848 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
16849 (forward-symbol, forward-same-syntax, word-at-point)
16850 (sentence-at-point): Doc fix (Bug#1144).
16851
16852 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
16853
16854 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
16855 should cover it (bug#1281).
16856
16857 * cus-edit.el (custom-show): Mark as obsolete.
16858
16859 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
16860 negotiation fails, then possibly try again with a non-encrypted
16861 connection (bug#9017).
16862
16863 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
16864 be used.
16865
16866 2011-07-07 Richard Stallman <rms@gnu.org>
16867
16868 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
16869 property, and handle its changed format.
16870 Look for the correct line number.
16871 Use file's line contents (but not past first =) to find
16872 correct line in message.
16873
16874 2011-07-07 Kenichi Handa <handa@m17n.org>
16875
16876 * international/characters.el (build-unicode-category-table):
16877 Delete it.
16878 (unicode-category-table): Set it by unicode-property-table-internal.
16879
16880 * international/mule-cmds.el (char-code-property-alist): Move to
16881 to src/chartab.c.
16882 (get-char-code-property): Call unicode-property-table-internal to
16883 load a file. Call get-unicode-property-internal where necessary.
16884 (put-char-code-property): Call unicode-property-table-internal to
16885 load a file. Call put-unicode-property-internal where necessary.
16886 put-unicode-property-internal where necessary.
16887 (char-code-property-description):
16888 Call unicode-property-table-internal to load a file.
16889
16890 * international/charprop.el:
16891 * international/uni-bidi.el:
16892 * international/uni-category.el:
16893 * international/uni-combining.el:
16894 * international/uni-comment.el:
16895 * international/uni-decimal.el:
16896 * international/uni-decomposition.el:
16897 * international/uni-digit.el:
16898 * international/uni-lowercase.el:
16899 * international/uni-mirrored.el:
16900 * international/uni-name.el:
16901 * international/uni-numeric.el:
16902 * international/uni-old-name.el:
16903 * international/uni-titlecase.el:
16904 * international/uni-uppercase.el: Regenerate.
16905
16906 * loadup.el: Load international/charprop.el before
16907 international/characters.
16908
16909 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
16910
16911 * window.el (next-buffer, previous-buffer): Signal an error if
16912 called from a minibuffer window.
16913
16914 * bindings.el: Revert 2011-07-04 change.
16915
16916 2011-07-06 Richard Stallman <rms@gnu.org>
16917
16918 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
16919 (rmail-mime-insert-bulk, rmail-mime-insert-text):
16920 Treat markers like ints.
16921 (rmail-mime-entity): Doc fix.
16922
16923 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
16924
16925 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
16926 defcustom again for backwards compatibility.
16927
16928 * simple.el (shell-command-on-region): Fill.
16929
16930 * dired-aux.el (dired-kill-line): Add a doc string.
16931
16932 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
16933 to "\\sw\\|\\s_" (bug#358).
16934
16935 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
16936 (dired-unmark-backward): Ditto.
16937 (dired-flag-backup-files): Ditto.
16938
16939 * dired-x.el (dired-mark-sexp): Ditto.
16940
16941 2011-07-06 Richard Stallman <rms@gnu.org>
16942
16943 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
16944 (rmail-mime-entity): New arg TRUNCATED.
16945 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
16946 New functions.
16947 (rmail-mime-save): Warn if entity is truncated.
16948 (rmail-mime-toggle-hidden): Likewise, for showing.
16949 (rmail-mime-process-multipart): Record when an entity is truncated.
16950
16951 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
16952 if ENTITY is a string.
16953
16954 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
16955
16956 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
16957 of faces when `M-C-x'-ing their definitions (bug#8378).
16958 Also clean up the code slightly.
16959
16960 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
16961 because that makes the colors go away.
16962
16963 * mail/sendmail.el (send-mail-function): Change the default to
16964 `sendmail-query-once'.
16965 (sendmail-query-once): Add an autoload cookie.
16966
16967 * net/network-stream.el (network-stream-open-starttls): Try using
16968 a plain connection even if the server offered STARTTLS, and we
16969 kinda wanted to use it, if Emacs doesn't have any STARTTLS
16970 capability. This should make smtpmail.el work in slightly more
16971 configurations.
16972
16973 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
16974
16975 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
16976 New defun.
16977 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
16978
16979 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
16980
16981 * progmodes/sql.el: Version 3.0
16982 (sql-product-alist): Add product :completion-object,
16983 :completion-column, and :statement attributes.
16984 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
16985 (sql-mode-syntax-table): Mark all punctuation.
16986 (sql-font-lock-keywords-builder): Temporarily remove fallback on
16987 ansi keywords.
16988 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
16989 (sql-mode-oracle-font-lock-keywords): Improve.
16990 (sql-oracle-show-reserved-words): New function for development.
16991 (sql-product-font-lock): Simplify for source code buffers.
16992 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
16993 New functions.
16994 (sql-highlight-product): Set product specific syntax table.
16995 (sql-mode-map): Add statement movement functions.
16996 (sql-ansi-statement-starters, sql-oracle-statement-starters):
16997 New variable.
16998 (sql-statement-regexp, sql-beginning-of-statement)
16999 (sql-end-of-statement, sql-signum): New functions.
17000 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
17001 (sql-show-sqli-buffer): Bug fix.
17002 (sql-interactive-mode): Store connection data as buffer local.
17003 (sql-connect): Add NEW-NAME parameter. Redesign interaction
17004 with sql-interactive-mode.
17005 (sql-save-connection): Save buffer local settings.
17006 (sql-connection-menu-filter): Change menu entry name.
17007 (sql-product-interactive): Bug fix.
17008 (sql-preoutput-hold): New variable.
17009 (sql-interactive-remove-continuation-prompt): Bug fixes.
17010 (sql-debug-redirect): New variable.
17011 (sql-str-literal): New function.
17012 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
17013 Redesign.
17014 (sql-oracle-save-settings, sql-oracle-restore-settings)
17015 (sql-oracle-list-all, sql-oracle-list-table): New functions.
17016 (sql-completion-object, sql-completion-column)
17017 (sql-completion-sqlbuf): New variables.
17018 (sql-build-completions-1, sql-build-completions)
17019 (sql-try-completion): New functions.
17020 (sql-read-table-name): Use them.
17021 (sql-contains-names): New buffer local variable.
17022 (sql-list-all, sql-list-table): Use it.
17023 (sql-oracle-completion-types): New variable.
17024 (sql-oracle-completion-object, sql-sqlite-completion-object)
17025 (sql-postgres-completion-object): New functions.
17026
17027 2011-07-06 Glenn Morris <rgm@gnu.org>
17028
17029 * window.el (pop-to-buffer): Doc fix.
17030
17031 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
17032
17033 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
17034
17035 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
17036
17037 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
17038
17039 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
17040
17041 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
17042
17043 * button.el (button): Inherit from link face. Suggested by Dan
17044 Nicolaescu.
17045
17046 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
17047
17048 * progmodes/gdb-mi.el: Fit in 80 columns.
17049 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
17050 switch-to-buffer.
17051
17052 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
17053 if imenu is simply not configured (bug#8941).
17054
17055 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
17056
17057 * allout.el (allout-post-undo-hook): New allout outline-change
17058 event hook to signal undo activity.
17059 (allout-post-command-business): Run allout-post-undo-hook if an
17060 undo just occurred.
17061 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
17062 * allout-widgets.el (allout-widgets-after-undo-function):
17063 Ensure the integrity of the current item's decoration after it has been
17064 in the vicinity of an undo.
17065 (allout-widgets-mode): Include allout-widgets-after-undo-function
17066 on the new allout-post-undo-hook.
17067
17068 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
17069
17070 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
17071 Let define-derived-mode define it.
17072 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
17073 cycles of abbrev-table inheritance (bug#8998).
17074
17075 2011-07-05 Roland Winkler <winkler@gnu.org>
17076
17077 * textmodes/bibtex.el: Add support for biblatex.
17078 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
17079 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
17080 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
17081 (bibtex-entry-alist, bibtex-field-alist): New variables.
17082 (bibtex-entry-field-alist): Obsolete alias for
17083 bibtex-BibTeX-entry-alist.
17084 (bibtex-entry-alist, bibtex-field-alist): New widgets.
17085 (bibtex-set-dialect): New command.
17086 (bibtex-entry-type, bibtex-entry-head)
17087 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
17088 Bind via bibtex-set-dialect.
17089 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
17090 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
17091 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
17092 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
17093 Define via bibtex-set-dialect.
17094 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
17095 Obey bibtex-no-opt-remove-re.
17096 (bibtex-vec-push, bibtex-vec-incr): New functions.
17097 (bibtex-format-entry, bibtex-field-list)
17098 (bibtex-print-help-message, bibtex-validate)
17099 (bibtex-search-entries): Use new format of bibtex-entry-alist.
17100
17101 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
17102
17103 * progmodes/compile.el (compilation-goto-locus):
17104 * net/tramp-cmds.el (tramp-append-tramp-buffers):
17105 * bs.el (bs-cycle-next, bs-cycle-previous):
17106 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
17107 * bindings.el (mode-line-other-buffer):
17108 * autoinsert.el (auto-insert):
17109 * arc-mode.el (archive-extract):
17110 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
17111
17112 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
17113
17114 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
17115 Fix check of `emacs-lock-unlockable-modes'.
17116 Coerce true values of `emacs-lock--try-unlocking' to t.
17117
17118 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
17119
17120 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
17121 * emacs-lock.el: New file.
17122
17123 2011-07-05 Julien Danjou <julien@danjou.info>
17124
17125 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
17126 than `boundp' to check if face is set.
17127
17128 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
17129
17130 * register.el (registerv-make):
17131 * window.el (window-min-height): Fix typos in docstrings.
17132
17133 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
17134
17135 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
17136 Update doc string.
17137
17138 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
17139
17140 * server.el (server-execute): Catch quit and call
17141 `server-return-error' to pass the error back to emacsclient and
17142 close the connection (bug#8942).
17143
17144 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
17145
17146 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
17147 insecure exception for current topic. Also note that auto-saves
17148 are handled differently.
17149
17150 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
17151 State variables for tracking auto-save inhibition situation.
17152
17153 (allout-write-contents-hook-handler): Rename from
17154 'allout-write-file-hook-handler', and describe how it depends on
17155 write-contents-functions sensitivity to non-nil value to prevent
17156 file write.
17157
17158 (allout-auto-save-hook-handler): Remove. auto-save does not check
17159 this in individual buffers, only in the starting buffer, so this
17160 is not the right way for us to inhibit auto-save in a buffer
17161 according to its condition.
17162
17163 (allout-mode): Use new allout-write-contents-hook-handler, and
17164 only with write-contents-functions. Remove auto-save provisions -
17165 they're implemented elsewhere.
17166
17167 (allout-before-change-handler): If undo is in progress, note that
17168 for attention of allout-post-command-business.
17169
17170 (allout-post-command-business): If the command we're following was
17171 an undo, check for change in the status of encrypted items and
17172 adjust auto-save inhibitions accordingly.
17173
17174 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
17175 according to whether there are or aren't any plain-text topics
17176 pending encryption.
17177
17178 (allout-inhibit-auto-save-info-for-decryption):
17179 Adjust buffer-saved-size and some allout state to inhibit auto-saves
17180 if there are plain-text topics pending encryption.
17181
17182 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
17183 buffer-saved-size and some allout state to not inhibit auto-saves
17184 if there are no longer any plain-text topics pending encryption.
17185
17186 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
17187 No longer provide for exemption of the current topic.
17188
17189 2011-07-04 Juri Linkov <juri@jurta.org>
17190
17191 Add 7z operations to delete and save changed members (bug#8968).
17192 * arc-mode.el (archive-7z-expunge, archive-7z-update):
17193 New defcustoms.
17194 (archive-7z-write-file-member): New function.
17195 (archive-7z-summarize): Fix the number of dashes in the
17196 listing output.
17197
17198 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
17199
17200 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
17201 (bug#8958).
17202
17203 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
17204
17205 * bindings.el: Ignore next-buffer and previous-buffer in
17206 minibuffer-local-map.
17207
17208 * font-lock.el (font-lock-builtin-face): Change light background
17209 color to dark slate blue (Bug#6693).
17210
17211 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
17212
17213 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
17214
17215 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
17216
17217 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
17218 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
17219 Add switch-to-buffer.
17220
17221 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
17222
17223 * isearch.el (isearch-search-fun-function): Clarify further the
17224 meaning of the function returned.
17225
17226 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
17227
17228 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
17229
17230 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
17231 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
17232 Use it.
17233 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
17234 `tramp-default-remote-path' does not exist.
17235 (tramp-send-command-and-read): New optional argument NOERROR.
17236 (tramp-open-connection-setup-interactive-shell)
17237 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
17238 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
17239 (tramp-process-sentinel): Flush also process' connection property.
17240 (tramp-sh-handle-start-file-process): Do not set process
17241 sentinel. It is done now ...
17242 (tramp-maybe-open-connection): ... here. (Bug#8929)
17243
17244 2011-07-04 MON KEY <monkey@sandpframing.com>
17245
17246 * play/animate.el (animate-string): Doc fixes and allow changing
17247 the buffer name (bug#5417).
17248
17249 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
17250
17251 * play/animate.el (animation-buffer-name): Rename from *animate*.
17252
17253 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
17254
17255 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
17256 This is simpler and helps future-proof the code.
17257 (timer-until): Use time-subtract and float-time.
17258 (timer--time-less-p): Use time-less-p.
17259
17260 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
17261
17262 * type-break.el (timep): Use the value of `float-time' to avoid a
17263 byte-compiler warning.
17264
17265 * server.el (server-eval-and-print): Return any result, even nil.
17266
17267 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
17268
17269 * type-break.el: Accept time formats that the builtins accept.
17270 (timep, type-break-time-difference): Accept any format that
17271 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
17272 This is simpler and helps future-proof the code.
17273 (type-break-time-difference): Round rather than ignoring
17274 subseconds components.
17275
17276 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17277
17278 * info.el (Info-apropos-matches): Make non-interactive, since it
17279 doesn't seem to do anything useful as a command (bug#8829).
17280
17281 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
17282
17283 * frame.el (frame-background-mode, frame-set-background-mode):
17284 Move from faces.el.
17285 (frame-default-terminal-background): New function.
17286
17287 * custom.el (custom-push-theme): Don't record faces in `changed'
17288 theme; this doesn't work correctly for per-frame face settings.
17289 (disable-theme): Use face-set-after-frame-default to reset faces.
17290 (custom--frame-color-default): New function.
17291
17292 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17293
17294 * dired.el (dired-flagging-regexp): Remove unused variable
17295 (bug#8769).
17296
17297 2011-03-29 Kevin Ryde <user42@zip.com.au>
17298
17299 * progmodes/compile.el (compilation-error-regexp-alist-alist):
17300 `perl-Test2' extend to match possible "fail #N" rep count
17301 (bug#8377).
17302
17303 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17304
17305 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
17306 `smtpmail-via-smtp' now returns the error instead of nil.
17307
17308 * isearch.el (isearch-search-fun-function): Clarify the doc string
17309 (bug#8101).
17310
17311 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
17312
17313 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
17314 unnecessary spaces (bug#8987).
17315
17316 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17317
17318 * net/network-stream.el (open-network-stream): Use the
17319 :end-of-capability command thoughout.
17320
17321 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
17322
17323 * net/network-stream.el (open-network-stream): Add the
17324 :end-of-capability command parameter, used by pop3.el.
17325
17326 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17327
17328 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
17329
17330 * fringe.el (fringe-query-style): Remove redundant text " (type ?
17331 for list)" (bug#6475).
17332
17333 * files.el (file-expand-wildcards): Ignore non-readable
17334 sub-directories while trying to find matches instead of signaling
17335 an error (bug#6297).
17336
17337 * man.el (Man-reference-regexp): Allow matching possible
17338 word-wrapped references (bug#6289).
17339
17340 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
17341 for consistency with the other vc buffers (bug#6197).
17342 (vc-checkin): Ditto.
17343
17344 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
17345
17346 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
17347
17348 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
17349
17350 * custom.el (defcustom): Clarify that :set is only used in the
17351 Customize user interface (bug#6089).
17352
17353 * progmodes/flymake.el (flymake-mode): If the buffer isn't
17354 associated with a file, refuse to run instead of erroring out
17355 (bug#6084).
17356
17357 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
17358 the doc string, since it appears that using `fill-column' always
17359 controls the width (bug#7845).
17360
17361 * simple.el (shell-command-on-region): Say where the error output
17362 went if `shell-command-default-error-buffer' is set (bug#6857).
17363
17364 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
17365
17366 * allout.el (allout-yank-processing): Adjust cursor position for
17367 backwards-deleted space.
17368
17369 (allout-rebullet-heading): Register changes with
17370 allout-exposure-changed-hook, so the modified topic is properly
17371 decorated.
17372
17373 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
17374
17375 * minibuffer.el (completion-in-region): Document PREDICATE
17376 (bug#7136).
17377
17378 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
17379 of keyword/argument pairs (bug#6904).
17380
17381 * replace.el (multi-occur):
17382 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
17383
17384 2011-07-02 Drew Adams <drew.adams@oracle.com>
17385
17386 * dired.el (dired-mark-if): Make the message about whether it's
17387 marking or unmarking clearer (bug#8523).
17388
17389 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
17390
17391 * disp-table.el (display-table-print-array): New function.
17392 (describe-display-table): Use it to print the vectors more pretty
17393 (Bug#8859).
17394
17395 2011-07-02 Martin Rudalics <rudalics@gmx.at>
17396
17397 * window.el (window-state-get-1): Don't assign clone numbers.
17398 Add clone-of item to list of window parameters.
17399 (window-state-put-2): Don't process clone numbers.
17400 (display-buffer-alist): Fix doc-string.
17401
17402 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
17403
17404 * subr.el (remq): Don't allocate if it's not needed.
17405 (keymap--menu-item-binding, keymap--menu-item-with-binding)
17406 (keymap--merge-bindings): New functions.
17407 (keymap-canonicalize): Use them to refine the canonicalization.
17408 * minibuffer.el (minibuffer-local-completion-map)
17409 (minibuffer-local-must-match-map): Move initialization from C.
17410 (minibuffer-local-filename-completion-map): Move initialization from C;
17411 don't inherit from anything here.
17412 (minibuffer-local-filename-must-match-map): Make obsolete.
17413 (completing-read-default): Use make-composed-keymap to combine
17414 minibuffer-local-filename-completion-map with either
17415 minibuffer-local-must-match-map or
17416 minibuffer-local-filename-completion-map.
17417
17418 2011-07-01 Glenn Morris <rgm@gnu.org>
17419
17420 * type-break.el (type-break-time-sum): Use dolist.
17421
17422 * textmodes/flyspell.el (flyspell-word-search-backward):
17423 Replace CL function.
17424
17425 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
17426
17427 * mouse.el (mouse--strip-first-event): New function.
17428 (function-key-map): Use it to map fringe clicks to normal clicks
17429 by default.
17430
17431 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
17432 (vc-bzr-revision-completion-table): Add support for annotate and date.
17433
17434 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
17435 inherit from parent.
17436
17437 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
17438
17439 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
17440 (dired-show-file-type): Doc fixup (bug#8818).
17441
17442 * dired.el (dired-mode): Fix up the doc string as suggested by
17443 Drew Adams (bug#8817).
17444
17445 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
17446 cookie, since the manual says that it should be possible to add
17447 this function to `find-file-hook' (bug#8709).
17448
17449 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
17450
17451 * progmodes/cfengine.el: Moved all cfengine3.el functionality
17452 here. Noted Ted Zlatanov as the maintainer.
17453 (cfengine-common-settings, cfengine-common-syntax): New functions
17454 to set up common things between `cfengine-mode' and
17455 `cfengine3-mode'.
17456 (cfengine3-mode): New mode.
17457 (cfengine3-defuns cfengine3-defuns-regex
17458 (cfengine3-class-selector-regex cfengine3-category-regex)
17459 (cfengine3-vartypes cfengine3-font-lock-keywords)
17460 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
17461 (cfengine3-indent-line): Add from cfengine3.el.
17462
17463 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
17464
17465 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
17466
17467 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
17468
17469 2011-07-01 Martin Rudalics <rudalics@gmx.at>
17470
17471 * window.el (same-window-buffer-names, same-window-regexps)
17472 (same-window-p, special-display-frame-alist)
17473 (special-display-popup-frame, special-display-function)
17474 (special-display-buffer-names, special-display-regexps)
17475 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
17476 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
17477 (split-window-preferred-function, split-height-threshold)
17478 (split-width-threshold, even-window-heights)
17479 (display-buffer-mark-dedicated, window-splittable-p)
17480 (split-window-sensibly, window-safely-shrinkable-p):
17481 Un-obsolete.
17482 (display-buffer): Don't spread args with function specifier
17483 because special-display-popup-frame won't like it.
17484
17485 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
17486
17487 Time-stamp simplifications and fixes.
17488 These improve accuracy slightly, and future-proof the code
17489 against some potential changes to current-time format.
17490
17491 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
17492 by using time-since and float-time.
17493
17494 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
17495 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
17496 + NNN microseconds".
17497
17498 * type-break.el (type-break-time-sum): Rewrite using time-add.
17499
17500 * play/hanoi.el (hanoi-current-time-float): Remove.
17501 All uses replaced by float-time.
17502
17503 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
17504 This yields a more-accurate answer.
17505 (rng-time-to-float): Remove; no longer needed.
17506
17507 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
17508
17509 * calendar/timeclock.el (timeclock-seconds-to-time):
17510 Defalias to seconds-to-time, since they're the same thing.
17511
17512 * emacs-lisp/elp.el (elp-elapsed-time):
17513 * emacs-lisp/benchmark.el (benchmark-elapse):
17514 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
17515
17516 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
17517
17518 * window.el (bury-buffer): Don't iconify the only frame.
17519 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
17520 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
17521
17522 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
17523
17524 * eshell/em-smart.el (eshell-smart-display-navigate-list):
17525 Add mouse-yank-primary.
17526
17527 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
17528
17529 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
17530
17531 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
17532
17533 * emacs-lisp/find-func.el (find-library--load-name): New fun.
17534 (find-library-name): Use it to find relative load names when provided
17535 absolute file name (bug#8803).
17536
17537 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
17538
17539 * textmodes/flyspell.el (flyspell-word): Consider words that
17540 differ only in case as potential doublons (bug#5687).
17541
17542 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
17543 Remove two rather uninteresting debugging-like messages to make
17544 debbugs.el more silent.
17545
17546 * comint.el (comint-password-prompt-regexp): Accept "Response" as
17547 a password-like phrase.
17548
17549 2011-06-30 Masatake YAMATO <yamato@redhat.com>
17550
17551 * progmodes/cc-guess.el: New file.
17552
17553 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
17554
17555 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
17556 derived from `c-basic-common-init'.
17557
17558 * progmodes/cc-mode.el (top-level): Require cc-guess.
17559 (c-basic-common-init): Use `cc-choose-style-for-mode'.
17560
17561 2011-06-30 Lawrence Mitchell <wence@gmx.li>
17562
17563 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
17564
17565 2011-06-30 Alan Mackenzie <acm@muc.de>
17566
17567 * progmodes/cc-engine.el (c-guess-continued-construct):
17568 Correct the handling of template-args-cont, particularly for when font
17569 lock is disabled. Name this case as "CASE G".
17570
17571 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
17572
17573 * allout.el (allout-yank-processing): Fix injection of extra space
17574 between bullet and non-whitespace character in first topic when
17575 pasting, ensuring that the actual spacing in the pasted topic
17576 following the bullet char is preserved. This extra space was
17577 causing pasted encrypted topics to get a decrypted status even
17578 when the content was actually still encrypted. Now the decryption
17579 status from before the paste is preserved.
17580
17581 (allout-flag-region): Set all allout overlays so they evaporate
17582 when reduced to zero length (evanescent), to prevent overlay
17583 leakage.
17584
17585 2011-06-30 Glenn Morris <rgm@gnu.org>
17586
17587 * w32-fns.el (w32-charset-info-alist): Declare.
17588
17589 * find-dired.el (find-grep-options): Simplify.
17590
17591 * term/ns-win.el (ns-set-resource): Declare.
17592
17593 * ses.el (row, col): Declare dynamic variables honestly.
17594
17595 * textmodes/reftex-parse.el (index-tags): Declare.
17596
17597 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
17598
17599 * cus-edit.el (customize-push-and-save): New function.
17600
17601 * files.el (hack-local-variables-confirm): Use it.
17602
17603 * custom.el (load-theme): New arg NO-CONFIRM.
17604 Use customize-push-and-save (Bug#8720).
17605 (custom-enabled-themes): Doc fix.
17606
17607 * cus-theme.el (customize-create-theme)
17608 (custom-theme-merge-theme): Callers to load-theme changed.
17609
17610 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
17611
17612 * thingatpt.el (thing-at-point-short-url-regexp): Require that
17613 short URLs have at least one dot in them (bug #7614).
17614
17615 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
17616 nil, because using a pty is apparently too slow (bug #895).
17617
17618 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
17619
17620 * mail/sendmail.el (sendmail-query-once): New function.
17621 (sendmail-query-once-function): New variable.
17622
17623 2011-06-29 Glenn Morris <rgm@gnu.org>
17624
17625 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
17626
17627 * ses.el (top-level): Require cl when compiling.
17628 (ses-set-localvars): Fix error statement.
17629 Call it at compile time to silence a storm of warnings.
17630
17631 2011-06-29 Martin Rudalics <rudalics@gmx.at>
17632
17633 * window.el (normalize-live-buffer): Rename to
17634 window-normalize-buffer.
17635 (normalize-live-frame): Rename to window-normalize-frame.
17636 (normalize-any-window): Rename to window-normalize-any-window.
17637 (normalize-live-window): Rename to window-normalize-live-window.
17638 (make-window-atom): Rename to window-make-atom.
17639 (window-resize-reset): Rename to window--resize-reset.
17640 (window-resize-reset-1): Rename to window--resize-reset-1.
17641 (resize-mini-window): Rename to window--resize-mini-window.
17642 (resize-subwindows-skip-p): Rename to
17643 window--resize-subwindows-skip-p.
17644 (resize-subwindows-normal): Rename to
17645 window--resize-subwindows-normal.
17646 (resize-subwindows): Rename to window--resize-subwindows.
17647 (resize-other-windows): Rename to window--resize-siblings.
17648 (resize-this-window): Rename to window--resize-this-window.
17649 (resize-root-window): Rename to window--resize-root-window.
17650 (resize-root-window-vertically): Rename to
17651 window--resize-root-window-vertically.
17652 (normalize-buffer-to-display): Rename to
17653 window-normalize-buffer-to-display.
17654 (normalize-buffer-to-switch-to): Rename to
17655 window-normalize-buffer-to-switch-to.
17656 Correspondingly update all callers of the functions listed
17657 above.
17658 (display-buffer-alist, display-buffer-normalize-arguments)
17659 (display-buffer-normalize-options, display-buffer)
17660 (display-buffer-alist-set): Use "function" instead of
17661 "fun-with-args".
17662
17663 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
17664
17665 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
17666 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
17667 debbugs.gnu.org. Mention acknowledgment email.
17668
17669 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
17670
17671 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
17672 buffer multibyteness, since it shouldn't matter.
17673
17674 2011-06-28 Martin Rudalics <rudalics@gmx.at>
17675
17676 * window.el (display-buffer-in-side-window): Handle dedicated
17677 windows as in display-buffer-reuse-window.
17678 (display-buffer-normalize-alist): Use value of override
17679 specifier.
17680 (display-buffer-normalize-specifiers): Use value of
17681 other-window-means-other-frame specifier.
17682 (display-buffer-alist): Rewrite some texts in widgets.
17683 (display-buffer): Spread arguments when calling function
17684 specified by fun-with-args.
17685
17686 2011-06-28 Deniz Dogan <deniz@dogan.se>
17687
17688 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
17689 Unnest `let'.
17690
17691 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
17692 selectors (Bug#5732).
17693 (css-proprietary-nmstart-re): Use `regexp-opt'.
17694
17695 2011-06-27 Jari Aalto <jari.aalto@cante.net>
17696
17697 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
17698 (eshell-ls-date-format): New defcustom.
17699 (eshell-ls-file): Use it.
17700
17701 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
17702
17703 * help-fns.el (describe-variable): Fix message for terminal-local vars.
17704
17705 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
17706
17707 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
17708 (ange-ftp-make-tmp-name): New arg.
17709 (ange-ftp-file-local-copy): Use it.
17710
17711 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
17712
17713 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
17714 no-conversion (Bug#8870).
17715
17716 2011-06-27 Martin Rudalics <rudalics@gmx.at>
17717
17718 * window.el (window-right, window-left, window-child)
17719 (window-child-count, window-last-child)
17720 (window-iso-combination-p, walk-window-tree-1)
17721 (window-atom-check-1, window-tree-1, delete-window)
17722 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
17723 new naming conventions - window-vchild, window-hchild,
17724 window-next and window-prev are now called window-top-child,
17725 window-left-child, window-next-sibling and window-prev-sibling
17726 respectively.
17727 (resize-window-reset): Rename to window-resize-reset.
17728 (resize-window-reset-1): Rename to window-resize-reset-1.
17729 (resize-window): Rename to window-resize.
17730 (window-min-height, window-min-width)
17731 (resize-mini-window, resize-this-window, resize-root-window)
17732 (resize-root-window-vertically, adjust-window-trailing-edge)
17733 (enlarge-window, shrink-window, maximize-window)
17734 (minimize-window, delete-window, quit-restore-window)
17735 (split-window, balance-windows, balance-windows-area-adjust)
17736 (balance-windows-area, window-state-put-2)
17737 (display-buffer-even-window-sizes, display-buffer-set-height)
17738 (display-buffer-set-width, set-window-text-height)
17739 (fit-window-to-buffer): Rename all "resize-window" prefixed
17740 calls to use the "window-resize" prefix convention.
17741 (display-buffer-alist): Fix symbol for label specifier.
17742 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
17743 corresponding specifier.
17744 Reported by Juanma Barranquero <lekktu@gmail.com>.
17745
17746 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
17747
17748 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
17749 convention.
17750 (ses-call-printer): Does not pass an empty string to formatter when the
17751 cell is empty to keep from barking printer Calc math-format-value.
17752
17753 2011-06-27 Richard Stallman <rms@gnu.org>
17754
17755 * battery.el (battery-mode-line-limit): New variable.
17756 (battery-update): Handle it.
17757
17758 * mail/rmailmm.el (rmail-mime-process-multipart):
17759 Handle truncated messages.
17760
17761 2011-06-27 Glenn Morris <rgm@gnu.org>
17762
17763 * progmodes/flymake.el (flymake-err-line-patterns):
17764 Allow for column numbers in the ant/javac pattern. (Bug#8866)
17765
17766 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
17767
17768 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
17769 (ses--clean-!, ses--clean-_): New functions.
17770 (ses-range): Add configurability of readout order, and conversion
17771 to Calc vector.
17772
17773 * ses.el (ses-repair-cell-reference-all): New function.
17774 (ses-cell-symbol): Set macro as safe, so that it can be used in
17775 formulas.
17776
17777 * ses.el: Update cycle detection algorithm.
17778 (ses-localvars): Add ses--Dijkstra-attempt-nb and
17779 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
17780 (ses-set-localvars): New function.
17781 (ses-make-cell): Add property-list as a cell element.
17782 (ses-cell-property-get-fun, ses-cell-property-get)
17783 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
17784 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
17785 New functions.
17786 (ses-cell-property-set, ses-cell-property-pop)
17787 (ses-cell-property-get-handle): New macro.
17788 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
17789 New aliases, used for code readability.
17790 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
17791 cycle detection.
17792 (ses-self-reference-early-detection): New defcustom.
17793 (ses-formula-references): Robustify against self-referring cells.
17794 (ses-mode): Use ses-set-localvars.
17795 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
17796 before lauching the update processing.
17797 (ses-initialize-Dijkstra-attempt): New function.
17798 (ses-recalculate-cell): Update for cycle detection based on
17799 Dijkstra algorithm.
17800
17801 * ses.el: Fix commenting and indenting convention.
17802
17803 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
17804
17805 * bs.el (bs-cycle-next): Complete last change.
17806
17807 2011-06-27 Drew Adams <drew.adams@oracle.com>
17808
17809 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
17810
17811 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
17812
17813 * net/network-stream.el (network-stream-open-starttls):
17814 Don't re-get capabilities unless we've reestablished connection.
17815 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
17816
17817 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
17818 to binary to possibly avoid line encoding issues on Windows (among
17819 other things).
17820
17821 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
17822
17823 * net/network-stream.el (open-network-stream): Return an :error
17824 saying what the problem was, if possible.
17825
17826 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
17827 server.
17828
17829 * net/network-stream.el (network-stream-open-starttls): If we
17830 wanted to use STARTTLS, and the server offered it, but we weren't
17831 able to because we had no STARTTLS support, then close the connection.
17832 (open-network-stream): Return an :error element, if present.
17833
17834 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
17835
17836 * hl-line.el (hl-line-sticky-flag): Doc fix.
17837 (global-hl-line-sticky-flag): New option (Bug#8323).
17838 (global-hl-line-highlight): Obey it.
17839
17840 * vc/vc.el (vc-revert-show-diff): Default to t.
17841
17842 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
17843
17844 * allout-widgets.el (allout-widgets-post-command-business):
17845 Stop decorating intermediate isearch matches. They're not being
17846 undecorated when an isearch is continued past, and isearch
17847 automatically collapses them. This leads to "widget leaks", where
17848 decorated items accumulate in collapsed areas. Lines with lots of
17849 hidden widgets can slow down cursor travel, substantially.
17850 Too much complicated machinery would be needed to ensure undecoration,
17851 so we're doing without this nicety.
17852
17853 (allout-widgets-tally-string): Don't try to do a hash-table-count
17854 of allout-widgets-tally when it's nil. This eliminates spurious "Error
17855 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
17856 *Messages* when allout-widgets-maintain-tally is t.
17857
17858 2011-06-26 Martin Rudalics <rudalics@gmx.at>
17859
17860 * window.el (display-buffer-normalize-argument): Rename to
17861 display-buffer-normalize-arguments. Handle special meaning of
17862 LABEL argument. Respect special-display-function when popping up
17863 a new frame. Fix code searching for a window showing the buffer
17864 on another frame.
17865 (display-buffer-normalize-specifiers):
17866 Call display-buffer-normalize-arguments.
17867 (display-buffer-in-window): Don't undedicate the window if its
17868 buffer remains the same.
17869 Reported by Drew Adams <drew.adams@oracle.com>.
17870 (display-buffer-alist): Add choice for same-window macro
17871 specfier.
17872 (display-buffer): Mention special meaning of LABEL argument in
17873 doc-string. Fix quoting. Don't pop up a new frame even as
17874 fallback.
17875
17876 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
17877
17878 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
17879 avoid deleting the current window in some cases (bug#8911).
17880
17881 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
17882
17883 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
17884 (Bug#8934)
17885
17886 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
17887
17888 * net/network-stream.el (network-stream-open-starttls):
17889 Use built-in TLS support if `gnutls-available-p' is true.
17890 (network-stream-open-tls): Ditto.
17891
17892 2011-06-26 Leo Liu <sdl.web@gmail.com>
17893
17894 * register.el (registerv): New struct.
17895 (registerv-make): New function.
17896 (jump-to-register, describe-register-1, insert-register):
17897 Support the jump-func, print-func and insert-func slot of a registerv
17898 struct. (Bug#8415)
17899
17900 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
17901
17902 * vc/vc.el (vc-revert-show-diff): New defcustom.
17903 (vc-diff-internal): New arg specifying diff buffer.
17904 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
17905 reuse an existing *vc-diff* buffer (Bug#8927).
17906
17907 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
17908
17909 2011-06-26 Glenn Morris <rgm@gnu.org>
17910
17911 * progmodes/f90.el (f90-critical-indent): New option.
17912 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
17913 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
17914 (f90-mode): Doc fix.
17915 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
17916 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
17917 (f90-beginning-of-block, f90-next-block, f90-indent-region)
17918 (f90-match-end): Handle block, critical.
17919
17920 2011-06-25 Glenn Morris <rgm@gnu.org>
17921
17922 * calendar/diary-lib.el (diary-included-files): Doc fix.
17923 (diary-include-files): New function, extracted from
17924 diary-include-other-diary-files and diary-mark-included-diary-files.
17925 (diary-include-other-diary-files, diary-mark-included-diary-files):
17926 Just call diary-include-files.
17927 (diary-mark-entries): Reset diary-included-files on first call.
17928
17929 * calendar/diary-lib.el (diary-mark-entries)
17930 (diary-mark-included-diary-files):
17931 Visit included diary-files in temp buffers.
17932
17933 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
17934 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
17935 (f90-start-block-re, f90-imenu-generic-expression)
17936 (f90-looking-at-program-block-start, f90-no-block-limit):
17937 Add support for submodules.
17938
17939 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
17940 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
17941
17942 2011-06-25 Eli Zaretskii <eliz@gnu.org>
17943
17944 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
17945 buffer-file-type before setting its value, to avoid disastrous
17946 global effects on decoding files for DOS/Windows systems. (Bug#8780)
17947
17948 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
17949
17950 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
17951
17952 * ses.el (ses-unload-function):
17953 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
17954
17955 * proced.el (proced-unload-function):
17956 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
17957
17958 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
17959
17960 * server.el (server-create-window-system-frame): Add parameters arg.
17961 (server-process-filter): Doc fix. Handle frame-parameters.
17962
17963 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
17964
17965 Fix bug#8730, bug#8781.
17966
17967 * loadhist.el (unload--set-major-mode): New function.
17968 (unload-feature): Use it.
17969
17970 * progmodes/python.el (python-after-info-look): Add autoload cookie.
17971 (python-unload-function): New function.
17972
17973 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
17974
17975 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
17976
17977 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
17978
17979 * net/browse-url.el (browse-url-firefox-program): Add icecat to
17980 the candidates list.
17981
17982 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
17983
17984 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
17985
17986 2011-06-23 Richard Stallman <rms@gnu.org>
17987
17988 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
17989 (rmail-variables): Set next-error-move-function.
17990 (rmail-what-message): Take argument POS.
17991 (rmail-next-error-move): New function.
17992
17993 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
17994
17995 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
17996 messages for adjacent non-terminals.
17997
17998 2011-06-23 Richard Stallman <rms@gnu.org>
17999
18000 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
18001 (rmail-show-message-1): Preserve buffer modified flag.
18002 (rmail-start-mail): Don't specify use of rmail-mail-return;
18003 that's done by mail-bury now.
18004 (rmail-mail-return): Handle arg NEWBUF.
18005
18006 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
18007
18008 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
18009 SIZE is a number.
18010
18011 2011-06-23 Martin Rudalics <rudalics@gmx.at>
18012
18013 * window.el (get-lru-window, get-mru-window)
18014 (get-largest-window): Never return a minibuffer window.
18015 (display-buffer-pop-up-window): Fix a bug that could lead to
18016 reusing the minibuffer window.
18017 (display-buffer): Pass original specifier argument to
18018 display-buffer-function instead of the normalized one.
18019 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
18020
18021 2011-06-22 Leo Liu <sdl.web@gmail.com>
18022
18023 * minibuffer.el (completing-read-function)
18024 (completing-read-default): Move from minibuf.c.
18025
18026 2011-06-22 Richard Stallman <rms@gnu.org>
18027
18028 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
18029 to Rmail even if not started by a special Rmail command.
18030
18031 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
18032 Copy the buffer currently showing just one message.
18033
18034 2011-06-22 Roland Winkler <winkler@gnu.org>
18035
18036 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
18037 (bibtex-clean-entry): First delete the old key so that a
18038 customized algorithm for generating the new key does not get
18039 confused by the old key.
18040 (bibtex-url): Obey regexp of first step.
18041 (bibtex-search-entries): Do not use add-to-list with local
18042 list-var.
18043
18044 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
18045
18046 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
18047 stored a user name, then query for the password first, instead of
18048 waiting for SMTP to give an error message and the trying again.
18049
18050 2011-06-22 Lawrence Mitchell <wence@gmx.li>
18051
18052 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
18053 BUFFER in call-process.
18054
18055 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
18056
18057 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
18058 QUIT twice.
18059 (smtpmail-try-auth-methods): Require user name and password from
18060 auth-source.
18061
18062 2011-06-22 Martin Rudalics <rudalics@gmx.at>
18063
18064 * window.el (display-buffer-default-specifiers)
18065 (display-buffer-alist): Remove entries for pop-up-frame-alist.
18066 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
18067 (split-window): Normalize SIDE argument (Bug#8916).
18068
18069 * frame.el (pop-up-frame-alist, pop-up-frame-function)
18070 (special-display-frame-alist, special-display-popup-frame):
18071 Remove duplicate declarations. These are now in window.el.
18072
18073 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
18074
18075 * mail/smtpmail.el (smtpmail-via-smtp):
18076 Set :use-starttls-if-possible so that we always use STARTTLS if the
18077 server supports it. SMTP servers that support STARTTLS commonly
18078 require it.
18079
18080 * net/network-stream.el (network-stream-open-starttls): Support
18081 upgrading to STARTTLS always, even if we don't have built-in support.
18082 (open-network-stream): Add the :always-query-capabilities keyword.
18083
18084 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
18085 upgrades with `open-network-stream', and rely solely on
18086 auth-source for all credentials. Big changes throughout the file,
18087 but in particular:
18088 (smtpmail-auth-credentials): Remove.
18089 (smtpmail-starttls-credentials): Remove.
18090 (smtpmail-via-smtp): Check for servers saying they want AUTH after
18091 MAIL FROM, too.
18092
18093 * net/network-stream.el (network-stream-open-starttls):
18094 Provide support for client certificates both for external and built-in
18095 STARTTLS.
18096 (auth-source): Require.
18097 (open-network-stream): Document the :client-certificate keyword.
18098 (network-stream-certificate): Change cert-cert to cert and
18099 cert-key to key.
18100
18101 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
18102
18103 * net/tramp-cache.el (top): Don't load the persistency file when
18104 "emacs -Q" has been called.
18105
18106 2011-06-21 Tim Harper <timcharper@gmail.com>
18107
18108 * term/ns-win.el (ns-initialize-window-system):
18109 Set application-specific `ApplePressAndHoldEnabled' system
18110 resource to NO as it is not yet supported by the NS port.
18111
18112 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
18113
18114 * misc.el (list-dynamic-libraries--refresh): Compute header here...
18115 (list-dynamic-libraries): ...not here.
18116
18117 2011-06-21 Leo Liu <sdl.web@gmail.com>
18118
18119 * subr.el (sha1): Implement sha1 using secure-hash.
18120
18121 2011-06-21 Martin Rudalics <rudalics@gmx.at>
18122
18123 * window.el (display-buffer-alist): In default value do not
18124 enforce searching a window on any but the selected frame.
18125 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
18126 (display-buffer-select-window): Remove function.
18127 (display-buffer-in-window): When a window on another frame gets
18128 reused, do not select it any more but just raise its frame if
18129 necessary (Bug#8851) and (Bug#8856).
18130 (display-buffer-normalize-options): Handle pop-up-frames related
18131 options more faithfully.
18132 (pop-to-buffer): Don't rely on `display-buffer' selecting the
18133 window if it is on another frame.
18134 (display-buffer-alist, display-buffer-default-specifiers):
18135 Don't make new frame unsplittable by default.
18136 (display-buffer-normalize-argument): Fix doc-string typo and use
18137 'same-frame-other-window instead of 'other-window when associating
18138 with display-buffer-macro-specifiers.
18139
18140 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
18141
18142 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
18143 New functions.
18144 (5x5-mode-map, 5x5-mode-menu): Bind them.
18145 (5x5-draw-grid): Tweak the solver's rendering.
18146
18147 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
18148
18149 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
18150 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
18151
18152 2011-06-21 Drew Adams <drew.adams@oracle.com>
18153
18154 * menu-bar.el: Use function variable instead of switch-to-buffer.
18155 (menu-bar-select-buffer-function): New variable.
18156 (menu-bar-update-buffers): Use it (bug#8876).
18157
18158 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
18159
18160 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
18161 variable's status.
18162
18163 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
18164
18165 * x-dnd.el (x-dnd-version-from-flags)
18166 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
18167 and long as number (Bug#8899).
18168 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
18169
18170 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
18171
18172 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
18173 (completion-try-completion, completion-all-completions): Compute the
18174 metadata argument if it's missing; make it optional (bug#8795).
18175
18176 * wid-edit.el: Use lex-bind and move towards completion-at-point.
18177 (widget-complete): Use new :completion-function property.
18178 (widget-completions-at-point): New function.
18179 (default): Use :completion-function instead of :complete.
18180 (widget-default-completions): Rename from widget-default-complete;
18181 Rewrite.
18182 (widget-string-complete, widget-file-complete, widget-color-complete):
18183 Remove functions.
18184 (file, symbol, function, variable, coding-system, color):
18185 * international/mule-cmds.el (default-input-method, charset)
18186 (language-info-custom-alist):
18187 * cus-edit.el (face): Use new property :completions.
18188
18189 * progmodes/pascal.el (pascal-completions-at-point): New function.
18190 (pascal-mode): Use it.
18191 (pascal-mode-map): Use completion-at-point.
18192 (pascal-toggle-completions): Make obsolete.
18193 (pascal-complete-word, pascal-show-completions):
18194 * progmodes/octave-mod.el (octave-complete-symbol):
18195 Redefine as obsolete alias.
18196 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
18197 Signal absence of completion info for old Octave,
18198 (inferior-octave-complete): Redefine as obsolete alias.
18199 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
18200 (meta-completions-at-point): Rename from meta-complete-symbol and
18201 adapt it for use on completion-at-point-functions.
18202 (meta-common-mode): Use it.
18203 (meta-looking-at-backward, meta-match-buffer): Remove.
18204 (meta-complete-symbol): Redefine as obsolete alias.
18205 (meta-common-mode-map): Use completion-at-point.
18206 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
18207 (makefile-mode-map): Use completion-at-point.
18208 (makefile-completions-at-point): Rename from makefile-complete and
18209 adapt it for use on completion-at-point-functions.
18210 (makefile-mode): Use it.
18211 (makefile-complete): Redefine as obsolete alias.
18212
18213 2011-06-20 Deniz Dogan <deniz@dogan.se>
18214
18215 * net/rcirc.el: Delete trailing whitespaces once and for all.
18216
18217 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
18218
18219 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
18220
18221 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
18222
18223 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
18224
18225 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
18226
18227 2011-06-19 Martin Rudalics <rudalics@gmx.at>
18228
18229 * window.el (display-buffer-other-window-means-other-frame):
18230 Call display-buffer-normalize-alist.
18231 (display-buffer-normalize-specifiers-1): Rename to
18232 display-buffer-normalize-argument. New argument other-frame.
18233 Rewrite.
18234 (display-buffer-normalize-specifiers-2): Rename to
18235 display-buffer-normalize-options.
18236 (display-buffer-normalize-alist-1): New function.
18237 (display-buffer-normalize-specifiers-3): Rename to
18238 display-buffer-normalize-alist.
18239 Call display-buffer-normalize-alist-1.
18240 (display-buffer-normalize-options-inhibit): New variable.
18241 (display-buffer-normalize-specifiers): Rewrite calling
18242 display-buffer-normalize-alist,
18243 display-buffer-normalize-argument, and
18244 display-buffer-normalize-options. Don't call the latter if
18245 display-buffer-normalize-options-inhibit is non-nil.
18246 (frame-auto-delete): New option.
18247 (window-deletable-p): Use frame-auto-delete.
18248 (window-list-no-nils, window-state-ignored-parameters)
18249 (window-state-get-1, window-state-get, window-state-put-list)
18250 (window-state-put-1, window-state-put-2, window-state-put):
18251 New functions.
18252 (display-buffer-normalize-options): Move special-display-p group
18253 after pop-up-frame group (Bug#8851) and (Bug#8856).
18254
18255 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
18256
18257 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
18258 groups (Bug#8776).
18259 (rx-submatch-n): New function.
18260 (rx): Document it.
18261
18262 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
18263 (Bug#8768).
18264
18265 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
18266
18267 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
18268
18269 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
18270 anytime existing face settings are present (Bug#8889).
18271
18272 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
18273 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
18274 Remove unused argument.
18275
18276 2011-06-18 Martin Rudalics <rudalics@gmx.at>
18277
18278 * window.el (display-buffer-default-specifiers):
18279 Remove pop-up-frame. Add pop-up-window-min-height,
18280 pop-up-window-min-width, and another reuse-window specifier
18281 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
18282 (display-buffer-normalize-specifiers-2):
18283 Handle split-height-threshold and split-width-threshold also when
18284 pop-up-windows is unset. Add a reuse-window specifier for the
18285 case popping up a new window fails.
18286 (special-display-popup-frame): Remove double quoting.
18287 (display-buffer-normalize-specifiers-1): Fix thinko.
18288
18289 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
18290
18291 * shell.el (shell-completion-vars): Set pcomplete-termination-string
18292 according to comint-completion-addsuffix.
18293
18294 * pcomplete.el: Convert to lexical binding and fix bug#8819.
18295 (pcomplete-suffix-list): Mark as obsolete.
18296 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
18297 pcomplete-seen in the closure.
18298 (pcomplete-comint-setup): Setup completion-at-point as well.
18299 (pcomplete--entries): New function.
18300 (pcomplete--env-regexp): New var.
18301 (pcomplete-entries): Rewrite to work with partial-completion and
18302 without relying on pcomplete-suffix-list.
18303 (pcomplete-pare-list): Remove, unused.
18304
18305 2011-06-17 Martin Rudalics <rudalics@gmx.at>
18306
18307 * window.el (display-buffer-alist): Set pop-up-window-min-height
18308 and pop-up-window-min-width in default value. Reported by
18309 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
18310 other-window-means-other-frame.
18311 (display-buffer-macro-specifiers): Comment out entry for
18312 other-window specifier.
18313 (display-buffer-other-window-means-other-frame): New function.
18314 (display-buffer-normalize-specifiers-1): New arguments
18315 buffer-name and label. Treat other-window case specially.
18316 (display-buffer-normalize-specifiers-2): Treat other-window case
18317 specially.
18318 (display-buffer-normalize-specifiers-3): New function.
18319 (display-buffer-normalize-specifiers):
18320 Call display-buffer-normalize-specifiers-3.
18321
18322 2011-06-17 Martin Rudalics <rudalics@gmx.at>
18323
18324 * window.el (same-window-p): Fix two typos introduced when
18325 adding with-no-warnings.
18326 (display-buffer-normalize-specifiers-1): Don't check
18327 pop-up-frames for 'unset initialization.
18328 (display-buffer-normalize-specifiers-2): Major rewrite using
18329 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
18330 (pop-up-frames, display-buffer-reuse-frames)
18331 (display-buffer-mark-dedicated): Don't initialize to 'unset.
18332 Suggested by David Engster <deng@randomsample.de>.
18333 (even-window-heights): Initialize to 'unset.
18334 (display-buffer-alist-set): Handle new 'unset initializations.
18335 (display-buffer-macro-specifiers): Don't pop up a new frame in the
18336 other window case.
18337
18338 2011-06-16 Martin Rudalics <rudalics@gmx.at>
18339
18340 * window.el (display-buffer-normalize-specifiers-1):
18341 Respect current value of pop-up-frames for most reasonable values of
18342 second argument of display-buffer (Bug#8865).
18343 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
18344 (switch-to-buffer-other-window-same-frame)
18345 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
18346 Adams (Bug#8875).
18347 (display-buffer): Don't check noninteractive when calling
18348 display-buffer-pop-up-frame.
18349 (display-buffer-pop-up-frame): Never pop up a frame in
18350 noninteractive mode (Bug#8857).
18351 (enlarge-window, shrink-window): Don't report an error when the
18352 window can't be resized as requested (Bug#8862).
18353
18354 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
18355
18356 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
18357
18358 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
18359
18360 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
18361
18362 2011-06-15 Alan Mackenzie <acm@muc.de>
18363
18364 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
18365 for declarators, disable knr checking to speed up for normal files.
18366 2: Refactor, replacing a sequence of nested if forms by a cond form.
18367
18368 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
18369
18370 * net/network-stream.el (open-network-stream): Add the keyword
18371 :always-query-capabilities for the case where you want to force a
18372 `plain' network connection, but the protocol still requires the
18373 capabilitiy command (i.e., SMTP and EHLO).
18374
18375 * subr.el (process-live-p): Rename from `process-alive-p' for
18376 consistency with other `-live-p' functions.
18377
18378 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
18379
18380 * window.el (same-window-buffer-names, same-window-regexps)
18381 (special-display-frame-alist, special-display-popup-frame)
18382 (special-display-function, special-display-buffer-names)
18383 (special-display-regexps, pop-up-frame-alist)
18384 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
18385 (pop-up-windows, split-window-preferred-function)
18386 (split-height-threshold, split-width-threshold, even-window-heights)
18387 (display-buffer-mark-dedicated): Don't encourage the use of
18388 display-buffer-alist from Elisp code.
18389
18390 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
18391
18392 * progmodes/python.el (python-mode): Derive from prog-mode.
18393 * progmodes/ps-mode.el (ps-mode):
18394 * progmodes/mixal-mode.el (mixal-mode):
18395 * progmodes/cfengine.el (cfengine-mode):
18396 * progmodes/ld-script.el (ld-script-mode): Likewise.
18397
18398 2011-06-15 Martin Rudalics <rudalics@gmx.at>
18399
18400 * window.el (display-buffer-alist): Trim default value to avoid
18401 popping up a new frame (Bug#8857) or reusing an arbitrary window
18402 on another frame.
18403 (display-buffer): Do not fall back on popping up a new frame in
18404 batch mode (Bug#8857).
18405
18406 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
18407
18408 * cus-theme.el (describe-theme-1): Use custom-theme-p.
18409 (custom-theme-summary): New function.
18410 (customize-themes): Use it.
18411
18412 2011-06-13 Glenn Morris <rgm@gnu.org>
18413
18414 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
18415
18416 2011-06-13 Martin Rudalics <rudalics@gmx.at>
18417
18418 * help.el (help-window): Remove variable.
18419 (help-window-point-marker, temp-buffer-max-height)
18420 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
18421 (help-print-return-message): Don't set help-window.
18422 (resize-temp-buffer-window): Rewrite cod eand doc-string.
18423 (help-window-setup-finish): Remove.
18424 (help-window-display-message, help-window-setup)
18425 (with-help-window): Major rewrite based on new
18426 display-buffer-window variable.
18427
18428 * help-mode.el (help-mode-finish): Remove help-window related
18429 code.
18430
18431 * view.el (view-exits-all-viewing-windows): Remove reference to
18432 view-return-to-alist in doc-string.
18433 (view-return-to-alist): Make obsolete.
18434 (view-buffer): Call pop-to-buffer-same-window and remove
18435 undo-window code.
18436 (view-buffer-other-window): Call pop-to-buffer-other-window and
18437 simplify code. Ignore second argument.
18438 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
18439 simplify code. Ignore second argument.
18440 (view-return-to-alist-update): Make obsolete.
18441 (view-mode-enter): Rename second argument to QUIT-RESTORE.
18442 Rewrite using quit-restore window parameters.
18443 (view-mode-exit): Rename second argument to EXIT-ONLY.
18444 Rewrite using quit-restore-window.
18445 (View-exit, View-exit-and-edit, View-leave, View-quit)
18446 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
18447 appropriate arguments.
18448 (view-end-message): Use quit-restore window parameter.
18449
18450 * window.el (display-buffer-function): Rewrite doc-string.
18451 (display-buffer-window, display-buffer-alist): New variables.
18452 (display-buffer-split-specifiers)
18453 (display-buffer-side-specifiers)
18454 (display-buffer-macro-specifiers): New constants.
18455 (display-buffer-even-window-sizes, display-buffer-set-height)
18456 (display-buffer-set-width, display-buffer-select-window)
18457 (display-buffer-in-window, display-buffer-reuse-window)
18458 (display-buffer-split-window-1, display-buffer-split-window)
18459 (display-buffer-split-atom-window, display-buffer-pop-up-window)
18460 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
18461 (display-buffer-in-side-window, normalize-buffer-to-display)
18462 (display-buffer-normalize-specifiers-1)
18463 (display-buffer-normalize-specifiers-2)
18464 (display-buffer-normalize-specifiers, display-buffer-frame):
18465 New functions.
18466 (display-buffer): Major rewrite.
18467 (display-buffer-other-window, display-buffer-other-frame)
18468 (pop-to-buffer, switch-to-buffer-other-window)
18469 (switch-to-buffer-other-frame): Rewrite.
18470 (display-buffer-same-window, display-buffer-same-frame)
18471 (display-buffer-same-frame-other-window)
18472 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
18473 (pop-to-buffer-other-window)
18474 (pop-to-buffer-same-frame-other-window)
18475 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
18476 (switch-to-buffer-other-window-same-frame): New functions.
18477 (same-window-p, special-display-p): Rewrite disabling warnings.
18478 Make obsolete.
18479 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
18480 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
18481 Make obsolete
18482 (same-window-buffer-names, same-window-regexps)
18483 (special-display-frame-alist, special-display-popup-frame)
18484 (special-display-function, special-display-buffer-names)
18485 (special-display-regexps, pop-up-frame-alist)
18486 (pop-up-frame-function, split-window-preferred-function)
18487 (split-height-threshold, split-width-threshold)
18488 (even-window-heights): Make obsolete.
18489
18490 2011-06-12 Glenn Morris <rgm@gnu.org>
18491
18492 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
18493 Misc simplifications.
18494
18495 2011-06-12 Martin Rudalics <rudalics@gmx.at>
18496
18497 * window.el (window-safely-shrinkable-p): Restore function which
18498 was inadvertently removed in change from 2011-06-11. Declare as
18499 obsolete.
18500
18501 * calendar/calendar.el (calendar-generate-window):
18502 Use window-iso-combined-p instead of combination of one-window-p and
18503 window-safely-shrinkable-p.
18504
18505 2011-06-12 Glenn Morris <rgm@gnu.org>
18506
18507 * progmodes/fortran.el (fortran-mode-syntax-table):
18508 * progmodes/f90.el (f90-mode-syntax-table):
18509 Set % to punctuation. (Bug#8820)
18510 (f90-find-tag-default): Remove, no longer needed.
18511
18512 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
18513
18514 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
18515
18516 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
18517
18518 * image.el (image-animated-p): Return animation delay in seconds.
18519 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
18520 (image-animate-timeout): Remove DELAY argument. Don't assume
18521 every subimage has the same delay; get it from image-animated-p.
18522 (image-animate): Caller changed.
18523
18524 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
18525
18526 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
18527 to ignored backtrace functions.
18528
18529 2011-06-11 Glenn Morris <rgm@gnu.org>
18530
18531 * calendar/appt.el (appt-disp-window-function): Doc fix.
18532 (appt-check): Handle overlapping appointments. (Bug#8337)
18533
18534 2011-06-11 Martin Rudalics <rudalics@gmx.at>
18535
18536 * window.el (window-tree-1, window-tree): New functions, moving
18537 the latter to window.el.
18538 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
18539 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
18540 (bw-refresh-edges): Remove.
18541 (balance-windows-1, balance-windows-2): New functions.
18542 (balance-windows): Rewrite in terms of window tree functions,
18543 balance-windows-1 and balance-windows-2.
18544 (bw-adjust-window): Remove.
18545 (balance-windows-area-adjust): New function with functionality of
18546 bw-adjust-window but using resize-window.
18547 (set-window-text-height): Rewrite doc-string.
18548 Use normalize-live-window and resize-window.
18549 (enlarge-window-horizontally, shrink-window-horizontally):
18550 Rename argument to DELTA.
18551 (window-buffer-height): New function.
18552 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
18553 Rewrite using new window resize routines.
18554 (kill-buffer-and-window, mouse-autoselect-window-select):
18555 Use ignore-errors instead of condition-case.
18556 (quit-window): Call delete-frame instead of delete-windows-on
18557 for the only buffer on frame.
18558
18559 2011-06-10 Martin Rudalics <rudalics@gmx.at>
18560
18561 * loadup.el (top-level): Load window before files for the sake
18562 of replace-buffer-in-windows.
18563
18564 * files.el (read-buffer-to-switch)
18565 (switch-to-buffer-other-window)
18566 (switch-to-buffer-other-frame, display-buffer-other-frame):
18567 Move to window.el.
18568
18569 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
18570 (previous-buffer): Move to window.el.
18571
18572 * bindings.el (unbury-buffer): Move to window.el.
18573
18574 * window.el (delete-other-windows-vertically): Move after
18575 definition of delete-other-windows.
18576 (other-window, delete-windows-on, replace-buffer-in-windows):
18577 Move here from window.c.
18578 (record-window-buffer, unrecord-window-buffer)
18579 (set-window-buffer-start-and-point, switch-to-prev-buffer)
18580 (switch-to-next-buffer): New functions.
18581 (get-next-valid-buffer, last-buffer, next-buffer): Move here
18582 from simple.el. Call switch-to-next-buffer.
18583 (previous-buffer): Move here from simple.el.
18584 Call switch-to-prev-buffer.
18585 (bury-buffer): Move here from buffer.c. Switch to previous
18586 buffer when window cannot be deleted.
18587 (unbury-buffer): Move here from bindings.el.
18588 (ctl-x-map): Move binding for other-window from window.c to
18589 here.
18590 (read-buffer-to-switch, switch-to-buffer-other-window)
18591 (switch-to-buffer-other-frame): Move here from files.el.
18592 (normalize-buffer-to-switch-to): New functions.
18593 (switch-to-buffer): Move here from buffer.c.
18594 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
18595
18596 2011-06-10 Martin Rudalics <rudalics@gmx.at>
18597
18598 * window.el (window-min-height, window-min-width): Move here
18599 from window.c. Add defcustoms and rewrite doc-strings.
18600 (resize-mini-window, resize-window): New functions.
18601 (adjust-window-trailing-edge, enlarge-window, shrink-window):
18602 Move here from window.c.
18603 (maximize-window, minimize-window): New functions.
18604 (delete-window, delete-other-windows, split-window): Move here
18605 from window.c.
18606 (window-split-min-size): New function.
18607 (split-window-keep-point): Mention split-window-above-each-other
18608 instead of split-window-vertically.
18609 (split-window-above-each-other, split-window-vertically):
18610 Rename split-window-vertically to split-window-above-each-other
18611 and provide defalias for old definition.
18612 (split-window-side-by-side, split-window-horizontally):
18613 Rename split-window-horizontally to split-window-side-by-side
18614 and provide defalias for the old definition.
18615 (ctl-x-map): Move bindings for delete-window,
18616 delete-other-windows and enlarge-window here from window.c.
18617 Replace bindings for split-window-vertically and
18618 split-window-horizontally by bindings for
18619 split-window-above-each-other and split-window-side-by-side.
18620
18621 * cus-start.el (all): Remove entries for window-min-height and
18622 window-min-width. Add entries for window-splits and
18623 window-nest.
18624
18625 2011-06-09 Glenn Morris <rgm@gnu.org>
18626
18627 * calendar/appt.el (appt-mode-line): New function.
18628 (appt-check, appt-disp-window): Use it.
18629
18630 * files.el (hack-one-local-variable-eval-safep):
18631 Allow minor-modes with explicit +/-1 arguments.
18632
18633 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
18634
18635 * term/xterm.el (xterm): Add defgroup.
18636 (xterm-extra-capabilities): Add defcustom to supply known xterm
18637 capabilities, skip querying them, or query them (default).
18638 (terminal-init-xterm): Use it.
18639 (terminal-init-xterm-modify-other-keys): New function to set up
18640 modifyOtherKeys support to simplify `terminal-init-xterm'.
18641
18642 2011-06-09 Martin Rudalics <rudalics@gmx.at>
18643
18644 * window.el (resize-window-reset, resize-window-reset-1)
18645 (resize-subwindows-skip-p, resize-subwindows-normal)
18646 (resize-subwindows, resize-other-windows, resize-this-window)
18647 (resize-root-window, resize-root-window-vertically)
18648 (window-deletable-p, window-or-subwindow-p)
18649 (frame-root-window-p): New functions.
18650
18651 2011-06-09 Glenn Morris <rgm@gnu.org>
18652
18653 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
18654 (ange-ftp-get-files): Use it.
18655
18656 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
18657
18658 * mail/sendmail.el (mail-recover-1, mail-recover):
18659 * files.el (recover-file, recover-session):
18660 Handle dired-listing-switches not being just a single short option.
18661
18662 2011-06-09 Glenn Morris <rgm@gnu.org>
18663
18664 * calendar/appt.el (appt-display-message, appt-disp-window):
18665 Handle lists of appointments.
18666
18667 2011-06-08 Martin Rudalics <rudalics@gmx.at>
18668
18669 * window.el (one-window-p): Move down in code.
18670 Rewrite doc-string.
18671 (window-current-scroll-bars): Rewrite doc-string.
18672 Normalize live window argument.
18673 (walk-windows, get-window-with-predicate, count-windows):
18674 Rewrite doc-string. Use window-list-1.
18675 (window-in-direction-2, window-in-direction, get-mru-window):
18676 New functions.
18677
18678 2011-06-08 Reuben Thomas <rrt@sc3d.org>
18679
18680 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
18681 Doc fix (Bug#8713).
18682
18683 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
18684
18685 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
18686
18687 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
18688
18689 * loadhist.el (unload-feature-special-hooks):
18690 Add `comint-output-filter-functions'.
18691
18692 2011-06-08 Ivan Kanis <gnu@kanis.fr>
18693
18694 * calendar/appt.el (appt-check): Move some initializations into the let.
18695
18696 2011-06-08 Martin Rudalics <rudalics@gmx.at>
18697
18698 * window.el (window-height): Defalias to window-total-height.
18699 (window-width): Defalias to window-body-width.
18700
18701 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
18702
18703 * image-mode.el (image-toggle-animation): New command.
18704 (image-mode-map): Bind it to RET.
18705 (image-mode): Update message.
18706 (image-toggle-display-image): Avoid a spurious cache flush.
18707 (image-transform-rotation): Doc fix.
18708 (image-transform-properties): Return quickly in the normal case.
18709 (image-animate-loop): Rename from image-animate-max-time.
18710
18711 * image.el (image-animate-max-time): Move to image-mode.el.
18712 (create-animated-image): Remove unnecessary function.
18713 (image-animate): Rename from image-animate-start. New arg.
18714 (image-animate-stop): Remove; just use image-animate-timer.
18715 (image-animate-timer): Use car-safe.
18716 (image-animate-timeout): Rename argument.
18717
18718 2011-06-07 Martin Rudalics <rudalics@gmx.at>
18719
18720 * window.el (get-lru-window, get-largest-window): Move here from
18721 window.c. Rename first argument to ALL-FRAMES.
18722 Rephrase doc-strings.
18723 (get-buffer-window-list): Rewrite using window-list-1.
18724 Rephrase doc-string.
18725 (window-safe-min-height, window-safe-min-width): New constants.
18726 (window-size-ignore, window-min-size, window-min-size-1)
18727 (window-sizable, window-sizable-p, window-size-fixed-1)
18728 (window-size-fixed-p, window-min-delta-1, window-min-delta)
18729 (window-max-delta-1, window-max-delta, window-resizable)
18730 (window-resizable-p, window-total-height, window-total-width)
18731 (window-body-width): New functions.
18732 (window-full-height-p, window-full-width-p): Rewrite using
18733 window-total-size.
18734 (window-body-height): Rewrite using window-body-size.
18735
18736 2011-06-06 Martin Rudalics <rudalics@gmx.at>
18737
18738 * window.el (window-right, window-left, window-child)
18739 (window-child-count, window-last-child, window-any-p)
18740 (normalize-live-buffer, normalize-live-frame)
18741 (normalize-any-window, normalize-live-window)
18742 (window-iso-combination-p, window-iso-combined-p)
18743 (window-iso-combinations)
18744 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
18745 (windows-with-parameter, window-with-parameter)
18746 (window-atom-root, make-window-atom, window-atom-check-1)
18747 (window-atom-check, window-side-check, window-check):
18748 New functions.
18749 (ignore-window-parameters, window-sides, window-sides-vertical)
18750 (window-sides-slots): New variables.
18751 (window-size-fixed): Move down in code. Minor doc-string fix.
18752
18753 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
18754
18755 * comint.el (comint-dynamic-complete-as-filename)
18756 (comint-dynamic-complete-filename): Correctly call
18757 completion-in-region.
18758
18759 2011-06-05 Deniz Dogan <deniz@dogan.se>
18760
18761 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
18762 in last change.
18763
18764 2011-06-05 Deniz Dogan <deniz@dogan.se>
18765
18766 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
18767 (rcirc): Use it to prompt for encryption.
18768
18769 2011-06-05 Roland Winkler <winkler@gnu.org>
18770
18771 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
18772 (bibtex-search-entries): New command bound to C-c C-a.
18773 (bibtex-display-entries): New function.
18774
18775 2011-06-05 Roland Winkler <winkler@gnu.org>
18776
18777 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
18778 (bibtex-insert-kill): After yanking insert newline if necessary.
18779 (bibtex-initialize): Call bibtex-string-files-init only once.
18780 (bibtex-mode): Do not call easy-menu-add.
18781 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
18782 (bibtex-yank): Set arg properly if nil.
18783
18784 2011-06-05 Roland Winkler <winkler@gnu.org>
18785
18786 * textmodes/bibtex.el (bibtex-search-entry-globally):
18787 New variable.
18788 (bibtex-search-entry): Use it.
18789
18790 2011-06-05 Roland Winkler <winkler@gnu.org>
18791
18792 * textmodes/bibtex.el (bibtex-entry-format): New option
18793 sort-fields.
18794 (bibtex-format-entry, bibtex-reformat): Honor this option.
18795 (bibtex-parse-entry): Return fields in proper order.
18796
18797 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
18798
18799 * doc-view.el (doc-view-remove-if): Move computation of result out
18800 of `dolist' to silence misleading lexical-binding warning.
18801
18802 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
18803
18804 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
18805 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
18806
18807 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
18808
18809 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
18810 "SunOS 5.10".
18811
18812 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
18813
18814 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
18815 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
18816 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
18817 (tramp-parse-putty):
18818 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
18819 (tramp-completion-function-alist-ssh)
18820 (tramp-completion-function-alist-telnet)
18821 (tramp-completion-function-alist-su)
18822 (tramp-completion-function-alist-putty): Set `tramp-autoload'
18823 cookie.
18824
18825 * net/tramp-ftp.el:
18826 * net/tramp-sh.el:
18827 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
18828 load "tramp.el" `tramp-set-completion-function'.
18829
18830 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
18831
18832 * shell.el: Require and use pcomplete.
18833 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
18834 (shell-completion-vars): Set pcomplete-default-completion-function.
18835
18836 2011-06-04 Deniz Dogan <deniz@dogan.se>
18837
18838 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
18839 `memq' (Bug#8799).
18840
18841 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
18842
18843 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
18844
18845 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
18846
18847 * bs.el (bs--mark-unmark, bs--nth-wrapper):
18848 * mpc.el (mpc-select-extend, mpc-songpointer-context):
18849 * vc/log-view.el (log-view-beginning-of-defun):
18850 * vc/smerge-mode.el (smerge-apply-resolution-patch)
18851 (smerge-refine-forward, smerge-refine-chopup-region):
18852 Silence warning for unused `dotimes' counter variables.
18853
18854 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
18855
18856 * net/tramp.el (tramp-with-progress-reporter): Rename from
18857 with-progress-reporter. Use `declare'.
18858 * net/tramp-smb.el:
18859 * net/tramp-sh.el:
18860 * net/tramp-gvfs.el: Update all uses.
18861
18862 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
18863
18864 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
18865 buffer isn't killed before making it current.
18866
18867 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
18868
18869 Silence various byte-compiler warnings.
18870 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
18871 `access-type' and new obsolescence format.
18872 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
18873 new format.
18874 (byte-compile-check-variable): New `access-type' argument.
18875 Only warn if the access-type is obsolete.
18876 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
18877 (byte-compile-variable-set): Adjust callers.
18878 * help-fns.el (describe-variable): Adjust to new obsolescence format.
18879 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
18880 setting it as obsolete.
18881 * simple.el (minibuffer-completing-symbol):
18882 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
18883 access as obsolete.
18884 * minibuffer.el (minibuffer-completing-file-name): Don't make it
18885 obsolete yet.
18886 * international/quail.el (quail-mouse-choose-completion): Remove unused
18887 code referring to obsolete var.
18888 (quail-choose-completion-string): Remove.
18889 * server.el (server-clients-with, server-kill-buffer-query-function)
18890 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
18891 * proced.el (proced-send-signal):
18892 * emacs-lisp/lisp.el (lisp-complete-symbol):
18893 Replace completion-annotate-function with completion-extra-properties.
18894
18895 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
18896
18897 * simple.el (goto-line): Use read-number.
18898 (overriding-map-is-bound): Remove.
18899 (saved-overriding-map): Change default.
18900 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
18901 Take the map as argument.
18902 (universal-argument, negative-argument, digit-argument): Use it.
18903 (restore-overriding-map): Adjust.
18904 (do-auto-fill): Use fill-forward-paragraph.
18905 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
18906
18907 * minibuffer.el (minibuffer-inactive-mode-map): New var.
18908 (minibuffer-inactive-mode): New major mode.
18909 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
18910 the *Messages* buffer" hack.
18911 (mouse-popup-menubar): Don't burp if the event is a normal key.
18912
18913 Miscellaneous tweaks.
18914 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
18915 lexical scoping as in subr.el's dolist and dotimes.
18916 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
18917 Silence compiler warning.
18918 * thingatpt.el (forward-whitespace): Trivial coding style fix.
18919 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
18920 * international/ccl.el (ccl-compile): Trivial simplification.
18921 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
18922 * emacs-lisp/testcover.el (testcover-end): Remove spurious
18923 `printflag' argument.
18924 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
18925 Purecopy the whole obsolescence data.
18926
18927 2011-06-01 Leo Liu <sdl.web@gmail.com>
18928
18929 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
18930 improve doc-string as suggested by Marco Pessotto
18931 <melmothx@gmail.com>.
18932 (rcirc-print): Fix last change.
18933
18934 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
18935
18936 * minibuffer.el (complete-with-action): Return nil for the metadata and
18937 boundaries of non-functional tables.
18938 (completion-table-dynamic): Return nil for the metadata.
18939 (completion-table-with-terminator): Add default case, using
18940 complete-with-action.
18941 (completion--metadata): New function.
18942 (completion-all-sorted-completions, minibuffer-completion-help): Use it
18943 to try and avoid pathological performance problems.
18944 (completion--embedded-envvar-table): Return `category' metadata.
18945
18946 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
18947
18948 * subr.el (process-alive-p): New tiny convenience function.
18949
18950 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
18951
18952 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
18953 content but also its previous major mode.
18954
18955 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
18956
18957 * emacs-lisp/debug.el (debug): Restore the previous content of the
18958 *Backtrace* buffer when we exit with C-M-c.
18959
18960 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
18961
18962 * minibuffer.el: Add metadata method to completion tables.
18963 (completion-category-overrides): New defcustom.
18964 (completion-metadata, completion--field-metadata)
18965 (completion-metadata-get, completion--styles)
18966 (completion--cycle-threshold): New functions.
18967 (completion-try-completion, completion-all-completions):
18968 Add `metadata' argument to choose completion-styles.
18969 (completion--do-completion): Use metadata to choose cycling.
18970 (completion-all-sorted-completions): Use metadata for sorting.
18971 Remove :completion-cycle-penalty which is not needed any more.
18972 (completion--try-word-completion): Add `metadata' argument.
18973 (minibuffer-completion-help): Check metadata for annotation function
18974 and sorting.
18975 (completion-file-name-table): Return `category' metadata.
18976 (minibuffer-completing-file-name): Make obsolete.
18977 * simple.el (minibuffer-completing-symbol): Make obsolete.
18978 * icomplete.el (icomplete-completions): Pass new `metadata' param to
18979 completion-try-completion.
18980
18981 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
18982
18983 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
18984
18985 2011-05-30 Leo Liu <sdl.web@gmail.com>
18986
18987 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
18988 (rcirc-print): Decode all incoming messages (bug#8744).
18989 (rcirc-decode-coding-system): Allow value nil for automatic coding
18990 system detection.
18991
18992 2011-06-01 Glenn Morris <rgm@gnu.org>
18993
18994 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
18995
18996 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
18997
18998 * image.el (image-animate-max-time): Allow nil and t values.
18999 Default to nil.
19000 (create-animated-image): Doc fix.
19001 (image-animate-start): Remove second arg; just use
19002 image-animate-max-time.
19003 (image-animate-timeout): Doc fix. Args changed.
19004
19005 * image-mode.el (image-toggle-display-image): Ensure that the
19006 image spec passed to the animate timer is the same object as in
19007 the buffer's display property (Bug#6981).
19008 (image-transform-properties): Doc fix.
19009
19010 * image.el (image-animate-max-time): Default to nil.
19011
19012 2011-05-29 Martin Rudalics <rudalics@gmx.at>
19013
19014 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
19015 entire buffer list (Bug#8184).
19016
19017 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
19018
19019 * image.el (imagemagick-types-inhibit)
19020 (imagemagick-register-types): Doc fix.
19021
19022 2011-05-29 Deniz Dogan <deniz@dogan.se>
19023
19024 * net/rcirc.el (rcirc): Use the user's stored encryption method by
19025 default.
19026
19027 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
19028
19029 * select.el: Don't perform clipboard-manager saving in hooks;
19030 leave the hooks empty.
19031
19032 2011-05-28 Leo Liu <sdl.web@gmail.com>
19033
19034 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
19035 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
19036 (occur-edit-mode): New major mode (Bug#8463).
19037 (occur-after-change-function): New function.
19038 (occur-engine): Give Occur tags a read-only property.
19039
19040 2011-05-28 Kevin Ryde <user42@zip.com.au>
19041
19042 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
19043
19044 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
19045
19046 * bindings.el (help-echo): Make the initial non-indicator dash
19047 empty on graphical terminals (Bug#7295).
19048
19049 * files.el (auto-mode-alist): Move config rule after the
19050 in-stripping one (Bug#8547).
19051
19052 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
19053
19054 * startup.el (normal-splash-screen): Remove gratuitous mode-line
19055 setting (Bug#8740).
19056
19057 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
19058
19059 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
19060 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
19061 (Bug#8539).
19062
19063 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
19064
19065 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
19066
19067 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
19068
19069 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
19070 (hs-hide-block-at-point, hs-find-block-beginning)
19071 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
19072 (Bug#8279).
19073
19074 2011-05-28 Glenn Morris <rgm@gnu.org>
19075
19076 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
19077
19078 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
19079
19080 * help-fns.el (describe-function-1): If the function is a derived
19081 major mode, print the parent mode.
19082
19083 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
19084 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
19085
19086 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
19087
19088 * minibuffer.el (completion--capf-wrapper): Check applicability before
19089 returning non-nil for non-exclusive completion data.
19090 * progmodes/etags.el (tags-completion-at-point-function):
19091 * info-look.el (info-lookup-completions-at-point): Mark as
19092 non-exclusive.
19093 (info-complete): Adjust accordingly.
19094
19095 * info-look.el: Convert to lexical-binding and completion-at-point.
19096 (info-lookup-completions-at-point): New function.
19097 (info-complete): Use it and completion-in-region.
19098
19099 2011-05-28 Drew Adams <drew.adams@oracle.com>
19100
19101 * isearch.el: Let M-e start with point at the first mismatched char.
19102 (isearch-fail-pos): New function.
19103 (isearch-edit-string): Use it.
19104
19105 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
19106
19107 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
19108
19109 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
19110
19111 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
19112 traversal functions for avl-trees.
19113 (avl-tree--stack): New struct.
19114 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
19115 (avl-tree-enter): Add optional `updatefun' arg.
19116 (avl-tree--do-enter): Add optional `updatefun' arg.
19117 Change return value.
19118 (avl-tree-delete): Add optional `test' and `nilflag' args.
19119 (avl-tree--do-delete): Add `test' and `nilflag' args.
19120 Change return value.
19121 (avl-tree-member): Add optional `nilflag'
19122 (avl-tree-member-p): New function.
19123 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
19124 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
19125 (avl-tree-stack-empty-p): New functions.
19126
19127 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
19128 avl-tree--del-balance1 and make it work both ways.
19129 (avl-tree--del-balance2): Remove.
19130 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
19131 make it work both ways.
19132 (avl-tree--enter-balance2): Remove.
19133 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
19134 New macros.
19135 (avl-tree--mapc, avl-tree-map): Add direction argument.
19136
19137 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
19138
19139 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
19140
19141 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
19142
19143 * select.el: Support clipboard managers with built-in function
19144 x-clipboard-manager-save, via delete-frame-functions and
19145 kill-emacs-hook.
19146 (xselect-convert-to-targets): Add MULTIPLE target to list.
19147 (xselect-convert-to-save-targets): New function.
19148
19149 2011-05-27 Kenichi Handa <handa@m17n.org>
19150
19151 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
19152 let-binding rfc2047-encode-encoded-words to nil.
19153
19154 2011-05-27 Glenn Morris <rgm@gnu.org>
19155
19156 * mail/emacsbug.el: Don't require url-util.
19157
19158 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
19159
19160 * files.el (set-auto-mode):
19161 Also respect mode: entries at the end of the file. (Bug#8586)
19162
19163 2011-05-26 Glenn Morris <rgm@gnu.org>
19164
19165 * files.el (hack-local-variables-prop-line, hack-local-variables):
19166 Downcase mode names, as seems to be traditional.
19167 (hack-local-variables, hack-local-variables-apply): Doc fixes.
19168
19169 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
19170 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
19171
19172 2011-05-25 Julien Danjou <julien@danjou.info>
19173
19174 * textmodes/rst.el (rst-define-level-faces): Do not define face
19175 symbol if it is already defined.
19176
19177 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
19178
19179 * play/5x5.el (5x5-new-game, 5x5-randomize):
19180 Reset 5x5-solver-output to nil when a new grid is cast.
19181 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
19182 these debugging traces, as defmacro breaks the compiled code.
19183
19184 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
19185
19186 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
19187
19188 2011-05-24 Leo Liu <sdl.web@gmail.com>
19189
19190 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
19191 (vc-bzr-sha1): Adapt.
19192
19193 * sha1.el: Remove. Function `sha1' is now builtin.
19194
19195 * bindings.el: Provide sha1 feature.
19196
19197 2011-05-24 Kenichi Handa <handa@m17n.org>
19198
19199 * mail/sendmail.el: Require `rfc2047'.
19200 (mail-insert-from-field): Do not perform RFC2047 encoding.
19201 (mail-encode-header): New function.
19202 (sendmail-send-it): Set buffer-file-coding-system of the work
19203 buffer to the return value of select-message-coding-system.
19204 Call mail-encode-header.
19205
19206 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
19207
19208 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
19209
19210 * mail/supercite.el (sc-default-cite-frame):
19211 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
19212
19213 2011-05-24 Glenn Morris <rgm@gnu.org>
19214
19215 * progmodes/python.el (brm-menu): Declare.
19216
19217 * emulation/viper.el (viper-set-hooks): Declare.
19218
19219 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
19220 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
19221 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
19222 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
19223 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
19224 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
19225
19226 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
19227
19228 Add an :exit-function for completion-at-point.
19229
19230 * minibuffer.el (completion--done): New fun.
19231 (completion--do-completion): Use it. New arg `expect-exact'.
19232 (minibuffer-complete, minibuffer-complete-word): Don't output message,
19233 since completion--do-completion does it for us now.
19234 (minibuffer-force-complete): Use completion--done and
19235 completion--replace. Handle sole-completion case with more care.
19236 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
19237 (completion-extra-properties): New var.
19238 (completion-annotate-function): Make obsolete.
19239 (minibuffer-completion-help): Adjust accordingly.
19240 Use completion-list-insert-choice-function.
19241 (completion-at-point, completion-help-at-point):
19242 Bind completion-extra-properties.
19243 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
19244 * simple.el (completion-list-insert-choice-function): New var.
19245 (completion-setup-function): Preserve it.
19246 (choose-completion): Pay attention to it, shuffle the code a bit.
19247 (choose-completion-string): New arg `insert-function'.
19248
19249 * textmodes/bibtex.el: Convert to lexical binding.
19250 (bibtex-mode-map): Use completion-at-point.
19251 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
19252 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
19253 (bibtex-complete): Define as obsolete alias.
19254 (bibtex-complete-internal): Remove.
19255 (bibtex-format-entry): Remove unused sub-group in regexp.
19256 * shell.el (shell--command-completion-data)
19257 (shell-environment-variable-completion):
19258 * pcomplete.el (pcomplete-completions-at-point):
19259 * comint.el (comint--complete-file-name-data): Use :exit-function
19260 instead of completion-table-with-terminator so it also works for
19261 choose-completion.
19262
19263 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
19264
19265 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
19266
19267 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
19268 (bug#8710).
19269
19270 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
19271
19272 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
19273
19274 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
19275 customization variable and implement: If non-nil, auto-fill will
19276 be inhibited while on topic's header line.
19277
19278 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
19279
19280 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
19281 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
19282 always have a solution in grid size = 5 cases.
19283 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
19284 (5x5-solver-output, 5x5-log-buffer): New vars.
19285 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
19286 Make these variables buffer local to achieve 5x5 multi-session-ness.
19287 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
19288 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
19289 (5x5-solve-suggest): New funs.
19290 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
19291 randomize a grid so that we ensure that there is always a solution.
19292 (5x5-make-random-grid): Allow other movement than flipping.
19293
19294 2011-05-23 Kevin Ryde <user42@zip.com.au>
19295
19296 * emacs-lisp/advice.el (ad-read-advised-function):
19297 Use `function-called-at-point' as the default, if it has
19298 advice and passes PREDICATE.
19299
19300 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
19301
19302 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
19303 byte-compile-lambda if it's actually a lambda.
19304
19305 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
19306 Fix function quoting. Use backquote better.
19307
19308 2011-05-22 Yuanle Song <sylecn@gmail.com>
19309
19310 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
19311 matching (Bug#8516).
19312
19313 2011-01-22 Jari Aalto <jari.aalto@cante.net>
19314
19315 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
19316 different face (Bug#8178).
19317
19318 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
19319
19320 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
19321 defface (Bug#8144).
19322
19323 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
19324
19325 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
19326 funcall as well (bug#8712). Warn when performing those conversions.
19327 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
19328
19329 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
19330
19331 2011-05-22 Glenn Morris <rgm@gnu.org>
19332
19333 * files.el (hack-local-variables-prop-line): Small simplifications.
19334 (hack-local-variables, hack-local-variables-prop-line):
19335 If MODE-ONLY, return the mode, rather than just `t'.
19336
19337 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
19338
19339 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
19340
19341 2011-05-21 Glenn Morris <rgm@gnu.org>
19342
19343 * files.el (hack-local-variables-prop-line, hack-local-variables):
19344 If only interested in the mode, don't bother doing the other stuff.
19345
19346 * image-mode.el (image-after-revert-hook):
19347 Redraw all frames on which the image is visible. (Bug#8567)
19348
19349 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
19350
19351 * wid-edit.el (widget-checklist-match-inline):
19352 Fix 2011-04-19 change. (Bug#8649)
19353
19354 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
19355
19356 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
19357 Also allow singlespace after single-letter capitals followed by a dot.
19358
19359 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
19360 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
19361
19362 2011-05-20 Nix <nix@esperi.org.uk>
19363
19364 * files.el (basic-save-buffer-2):
19365 Fix handling of break-hardlink-on-save with non-existent files.
19366
19367 2011-05-19 Deniz Dogan <deniz@dogan.se>
19368
19369 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
19370 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
19371
19372 2011-05-19 Glenn Morris <rgm@gnu.org>
19373
19374 * progmodes/f90.el (f90-type-def-re):
19375 Handle "type, bind(c)". (Bug#8691)
19376
19377 * emacs-lisp/autoload.el (batch-update-autoloads):
19378 Set autoload-excludes by parsing loadup.el rather than Makefiles.
19379
19380 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
19381
19382 * net/tramp.el (tramp-process-actions): Set "first-password-request"
19383 property for the correct connection in case of multihops.
19384
19385 2011-05-18 Glenn Morris <rgm@gnu.org>
19386
19387 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
19388 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
19389
19390 Rationalize calendar handling of day and month abbrev-arrays.
19391 * calendar/calendar.el (calendar-customized-p): New function.
19392 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
19393 (calendar-day-name-array, calendar-month-name-array): Doc fix.
19394 Add :set function.
19395 (calendar-abbrev-length, calendar-day-abbrev-array)
19396 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
19397 (calendar-day-abbrev-array, calendar-month-abbrev-array):
19398 Elements may no longer be nil.
19399 (calendar-day-name, calendar-month-name):
19400 Update for changed nature of abbrev arrays.
19401 * calendar/diary-lib.el (diary-name-pattern):
19402 Update for changed nature of abbrev arrays.
19403 (diary-mark-entries-1): Update calendar-make-alist calls.
19404 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
19405 * calendar/cal-html.el (cal-html-day-abbrev-array):
19406 Simply inherit from calendar-day-abbrev-array.
19407
19408 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
19409
19410 * progmodes/grep.el (grep-mode): Disable default
19411 compilation-directory-matcher setting (bug#8684).
19412
19413 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
19414
19415 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
19416 instead of "head" and "tail". There were problems with SunOS 5.9,
19417 and it performs better.
19418
19419 2011-05-17 Glenn Morris <rgm@gnu.org>
19420
19421 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
19422
19423 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
19424 Replace obsolete function.
19425
19426 * shell.el (pcomplete-parse-arguments-function): Declare.
19427
19428 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
19429 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
19430 (appt-check): Doc fixes.
19431 (appt-disp-window-function, appt-delete-window-function):
19432 Remove needless special case in custom :type.
19433 (appt-display-count): Default to 0, not nil.
19434 (appt-check): Reset appt-display-count to 0, not nil.
19435
19436 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
19437
19438 * progmodes/python.el (python-font-lock-keywords):
19439 Add the Python 3.X keyword "nonlocal" (bug#8639).
19440
19441 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
19442
19443 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
19444
19445 2011-05-16 Kevin Ryde <user42@zip.com.au>
19446
19447 * info-look.el (makefile-automake-mode): New setups, looking in
19448 automake manual, then makefile-mode.
19449 (makefile-mode): Remove automake manual, have it just in
19450 makefile-automake-mode since there's various things different or
19451 not relevant to plain make.
19452 (makefile-mode): Remove "other-modes" non-existent automake-mode,
19453 believe a hypothetical automake-mode would go to makefile-mode,
19454 not the other way around.
19455
19456 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
19457
19458 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
19459 hunk-end tags (Bug#8672).
19460
19461 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
19462 vc-annotate-show-diff-revision-at-line (Bug#8671).
19463
19464 2011-05-14 Glenn Morris <rgm@gnu.org>
19465
19466 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
19467 in the middle of an existing one with multiple authors. (Bug#8645)
19468 (change-log-font-lock-keywords): Also handle multiple author lines
19469 with leading tabs. (Bug#8644)
19470
19471 * calendar/appt.el (appt-check): Rename some local variables.
19472 Some simplification/reordering.
19473
19474 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
19475 (feedmail-sendmail-f-doesnt-sell-me-out)
19476 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
19477 (feedmail-debug-sit-for, feedmail-queue-express-hook)
19478 (feedmail-queue-runner-message-sender): Set :version.
19479 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
19480 (bbdb-dwim-net-address, vm-mail): Declare.
19481 (feedmail-binmail-gnulinuxish-template):
19482 Rename from feedmail-binmail-linuxish-template.
19483 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
19484 Use insert-buffer-substring.
19485
19486 2011-05-14 Bill Carpenter <bill@carpenter.org>
19487
19488 * mail/feedmail.el (feedmail-patch-level): Increase.
19489 (feedmail-debug): New custom group.
19490 (feedmail-confirm-outgoing-timeout)
19491 (feedmail-sendmail-f-doesnt-sell-me-out)
19492 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
19493 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
19494 (feedmail-sender-line, feedmail-from-line)
19495 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
19496 (feedmail-spray-this-address)
19497 (feedmail-spray-address-fiddle-plex-list)
19498 (feedmail-queue-use-send-time-for-date)
19499 (feedmail-queue-use-send-time-for-message-id)
19500 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
19501 (feedmail-buffer-eating-function):
19502 Doc fixes.
19503 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
19504 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
19505 (feedmail-message-action-scroll-down): New functions.
19506 (feedmail-queue-directory, feedmail-queue-draft-directory):
19507 Use expand-file-name.
19508 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
19509 Remove C-v help entry.
19510 (feedmail-queue-buffer-file-name): New variable.
19511 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
19512 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
19513 (feedmail-message-action-send-strong, feedmail-message-action-edit)
19514 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
19515 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
19516 (feedmail-message-action-toggle-spray)
19517 (feedmail-run-the-queue-no-prompts)
19518 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
19519 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
19520 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
19521 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
19522 (feedmail-envelope-deducer, feedmail-fiddle-from)
19523 (feedmail-fiddle-sender, feedmail-default-date-generator)
19524 (feedmail-fiddle-date, feedmail-fiddle-message-id)
19525 (feedmail-fiddle-spray-address)
19526 (feedmail-fiddle-list-of-spray-fiddle-plexes)
19527 (feedmail-fiddle-list-of-fiddle-plexes)
19528 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
19529 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
19530 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
19531 Change default. Doc fix.
19532 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
19533 (feedmail-binmail-linuxish-template): New constant.
19534 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
19535 Respect feedmail-sendmail-f-doesnt-sell-me-out.
19536 (feedmail-send-it): Add debug call.
19537 Use feedmail-queue-buffer-file-name, and
19538 feedmail-send-it-immediately-wrapper.
19539 (feedmail-message-action-send): Add debug call.
19540 Use feedmail-send-it-immediately-wrapper.
19541 (feedmail-queue-express-to-queue): Add debug call.
19542 Run feedmail-queue-express-hook.
19543 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
19544 (feedmail-message-action-help-blat):
19545 Rename from feedmail-queue-send-edit-prompt-help-first.
19546 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
19547 Check line-endings. Handle errors better.
19548 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
19549 Doc fix. Add debug call.
19550 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
19551 Use feedmail-queue-send-edit-prompt-inner.
19552 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
19553 (feedmail-queue-send-edit-prompt-inner): New function, extracted
19554 from feedmail-queue-send-edit-prompt.
19555 (feedmail-queue-send-edit-prompt-help)
19556 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
19557 (feedmail-tidy-up-slug): Add debug call.
19558 Respect feedmail-queue-slug-suspect-regexp.
19559 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
19560 (feedmail-dump-message-to-queue): Add debug call.
19561 Expand queue-directory.
19562 (feedmail-dump-message-to-queue): Change message slightly.
19563 Use feedmail-say-chatter.
19564 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
19565 (feedmail-send-it-immediately-wrapper): New function.
19566 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
19567 Insert empty string rather than newline. Handle full-frame case.
19568 Use catch/throw. Use feedmail-say-chatter.
19569 (feedmail-fiddle-from): Try mail-host-address.
19570 (feedmail-default-message-id-generator): Doc fix.
19571 Bind system-time-locale. Handle missing end.
19572 (feedmail-fiddle-x-mailer): Add debug call.
19573 Handle feedmail-x-mailer-line being nil.
19574 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
19575 Add debug call. Use buffer-substring-no-properties.
19576 (feedmail-say-debug, feedmail-say-chatter): New functions.
19577 (feedmail-find-eoh): Give an explicit error.
19578
19579 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
19580
19581 * net/newst-treeview.el (newsticker-treeview-face): Change default
19582 family from helvetica to sans.
19583 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
19584 etc/images/newsticker.
19585
19586 * net/newst-reader.el (newsticker-feed-face): Change default
19587 family from helvetica to sans.
19588
19589 * net/newst-plainview.el (newsticker-new-item-face)
19590 (newsticker-old-item-face, newsticker-immortal-item-face)
19591 (newsticker-obsolete-item-face, newsticker-date-face)
19592 (newsticker-statistics-face): Change default family from
19593 helvetica to sans.
19594 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
19595 etc/images/newsticker.
19596
19597 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
19598 (newsticker--process-auto-mark-filter-match): Tell user about
19599 auto-marking.
19600
19601 2011-05-13 Didier Verna <didier@xemacs.org>
19602
19603 Common Lisp indentation improvements on defmethod and lambda-lists.
19604 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
19605 TODO entries.
19606 (lisp-lambda-list-keyword-parameter-indentation)
19607 (lisp-lambda-list-keyword-parameter-alignment)
19608 (lisp-lambda-list-keyword-alignment): New customizable user options.
19609 (lisp-indent-defun-method): Improve docstring.
19610 (extended-loop-p): Fix comment.
19611 (lisp-indent-lambda-list-keywords-regexp): New variable.
19612 (lisp-indent-lambda-list): New function.
19613 (lisp-indent-259): Use it.
19614 (lisp-indent-defmethod): Support for more than one
19615 method qualifier and properly indent methods lambda-lists.
19616 (defgeneric): Provide a missing common-lisp-indent-function property.
19617
19618 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
19619
19620 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
19621 bounds for the empty string (bug#8667).
19622
19623 2011-05-13 Glenn Morris <rgm@gnu.org>
19624
19625 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
19626
19627 * mail/sendmail.el (sendmail-program): Try executable-find first.
19628 (sendmail-send-it): `sendmail-program' cannot be unbound.
19629
19630 * calendar/appt.el (appt-make-list): Simplify.
19631 (appt-time-msg-list): Doc fix.
19632 (appt-check): Change mode-line message at the time of the appointment.
19633
19634 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
19635
19636 * progmodes/ld-script.el (ld-script-keywords)
19637 (ld-script-builtins): Update keywords list.
19638
19639 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
19640
19641 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
19642
19643 * shell.el (shell-completion-vars): New function.
19644 (shell-mode):
19645 * simple.el (read-shell-command): Use it.
19646 (blink-matching-open): No need for " [...]" in minibuffer-message.
19647
19648 2011-05-12 Glenn Morris <rgm@gnu.org>
19649
19650 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
19651 (appt-check): Simplify.
19652
19653 2011-05-12 Eli Zaretskii <eliz@gnu.org>
19654
19655 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
19656 literal "/dev/null".
19657
19658 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
19659
19660 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
19661 Fix typo.
19662
19663 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
19664
19665 * progmodes/which-func.el (which-function):
19666 Use add-log-current-defun instead of add-log-current-defun-function,
19667 which might not be defined (Bug#8260).
19668
19669 2011-05-12 Glenn Morris <rgm@gnu.org>
19670
19671 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
19672 Let byte-compile-initial-macro-environment always take precedence.
19673
19674 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
19675
19676 * net/rcirc.el: Add support for SSL/TLS connections.
19677 (rcirc-server-alist): New field `encryption'.
19678 (rcirc): Check `encryption' settings.
19679 (rcirc-connect): New arg `encryption'. Use open-network-stream.
19680 Merge make-local-variable into `set'.
19681 (rcirc--connection-open-p): New function.
19682 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
19683 the process is not a network process (e.g. running gnutls-cli).
19684 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
19685 Make rcirc-(en|de)code-coding-system local here.
19686 (rcirc-mode): Merge make-local-variable into `set'.
19687 (rcirc-parent-buffer): Make permanent buffer-local.
19688 (rcirc-multiline-minor-mode): Don't do it here.
19689 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
19690 there's no server buffer.
19691
19692 2011-05-11 Glenn Morris <rgm@gnu.org>
19693
19694 * newcomment.el (comment-kill): Prefix "unused" local.
19695
19696 * term/w32console.el (get-screen-color): Declare.
19697
19698 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
19699 Handle symbol elements of byte-compile-initial-macro-environment.
19700
19701 2011-05-10 Leo Liu <sdl.web@gmail.com>
19702
19703 * bookmark.el (bookmark-bmenu-mode-map):
19704 Bind bookmark-bmenu-search to `/'.
19705
19706 * mail/footnote.el: Convert to utf-8 encoding.
19707 (footnote-unicode-string, footnote-unicode-regexp): New variable.
19708 (Footnote-unicode): New function.
19709 (footnote-style-alist): Add unicode style to the list.
19710 (footnote-style): Doc fix.
19711
19712 2011-05-10 Jim Meyering <meyering@redhat.com>
19713
19714 Fix doubled-word typos.
19715 * international/quail.el (quail-insert-kbd-layout): and and -> and
19716 * kermit.el: and and -> and
19717 * net/ldap.el (ldap-search-internal): to to -> to
19718 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
19719 * progmodes/js.el (js-mode): and and -> and
19720 * textmodes/artist.el (artist-move-to-xy): at at -> at
19721 (artist-draw-region-trim-line-endings): if if -> if
19722 And Safetyc -> Safety.
19723 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
19724
19725 2011-05-10 Glenn Morris <rgm@gnu.org>
19726 Stefan Monnier <monnier@iro.umontreal.ca>
19727
19728 * files.el (hack-one-local-variable-eval-safep):
19729 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
19730
19731 2011-05-10 Glenn Morris <rgm@gnu.org>
19732
19733 * calendar/diary-lib.el (diary-list-entries-hook)
19734 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
19735 (diary-nongregorian-marking-hook, diary-list-entries)
19736 (diary-include-other-diary-files, diary-mark-entries)
19737 (diary-mark-included-diary-files): Doc fixes.
19738
19739 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
19740
19741 * misc.el: Require tabulated-list.el during compilation.
19742
19743 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
19744
19745 * progmodes/compile.el (compilation-start):
19746 Run compilation-filter-hook for the async case too.
19747 (compilation-filter-hook): Doc fix.
19748
19749 2011-05-09 Deniz Dogan <deniz@dogan.se>
19750
19751 * wdired.el: Remove outdated installation comment. Fix usage
19752 comment.
19753
19754 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
19755
19756 * misc.el: Implement new command `list-dynamic-libraries'.
19757 (list-dynamic-libraries--loaded-only-p): New variable.
19758 (list-dynamic-libraries--refresh): New function.
19759 (list-dynamic-libraries): New command.
19760
19761 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
19762
19763 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19764 Fix the ant regexp to handle end-line and end-column info from jikes.
19765 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
19766 higher priority to avoid clobbering by gnu.
19767
19768 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
19769
19770 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
19771 if the face has existing theme settings (Bug#8454).
19772
19773 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
19774
19775 * progmodes/perl-mode.el (perl-imenu-generic-expression):
19776 Only match variables declared via `my' or `our' (Bug#8261).
19777
19778 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
19779 special file names `.' and `..' (Bug#8259).
19780
19781 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
19782
19783 * progmodes/grep.el (grep-mode-font-lock-keywords):
19784 Remove buffer-changing entries.
19785 (grep-filter): New function.
19786 (grep-mode): Add it to compilation-filter-hook.
19787
19788 * progmodes/compile.el (compilation-filter-hook)
19789 (compilation-filter-start): New defvars.
19790 (compilation-filter): Call compilation-filter-hook prior to
19791 updating the process mark.
19792
19793 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
19794
19795 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
19796
19797 2011-05-07 Eli Zaretskii <eliz@gnu.org>
19798
19799 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
19800 mailclient-send-it even if window-system is nil. (Bug#8595)
19801
19802 * term/w32console.el (terminal-init-w32console):
19803 Call get-screen-color and use its output to set the frame
19804 background-mode. (Bug#8597)
19805
19806 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
19807
19808 Make bytecomp.el understand that defmethod defines funs (bug#8631).
19809 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
19810 New functions.
19811 (defgeneric, eieio--defmethod): Use them.
19812 (eieio-defgeneric): Remove.
19813 (defmethod): Call defgeneric in a way visible to the byte-compiler.
19814
19815 2011-05-07 Glenn Morris <rgm@gnu.org>
19816
19817 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
19818 Use let rather than let*.
19819 (timeclock-find-discrep): Remove unused local.
19820
19821 * calendar/diary-lib.el (diary-comment-start): Doc fix.
19822
19823 * calendar/appt.el (appt-time-msg-list): Doc fix.
19824
19825 2011-05-06 Noah Friedman <friedman@splode.com>
19826
19827 * apropos.el (apropos-print-doc): Only use
19828 emacs-lisp-docstring-fill-column when it is bound to an integer,
19829 per that variable's documentation.
19830
19831 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
19832
19833 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
19834 and warnings are not silently discarded (e.g. use -d instead of -P).
19835
19836 2011-05-06 Glenn Morris <rgm@gnu.org>
19837
19838 * calendar/appt.el (appt-message-warning-time): Doc fix.
19839 (appt-warning-time-regexp): New option.
19840 (appt-make-list): Respect appt-message-warning-time.
19841
19842 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
19843 New options.
19844 (diary-add-to-list): Strip comments from the displayed string.
19845 (diary-mode): Set comment-start and comment-end.
19846
19847 * vc/diff-mode.el (smerge-refine-subst): Declare.
19848 (diff-refine-hunk): Don't require smerge-mode when compiling.
19849
19850 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
19851
19852 * simple.el (list-processes): Return nil as the docstring says.
19853
19854 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
19855
19856 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
19857 to "".
19858 (ange-ftp-write-region, ange-ftp-insert-file-contents)
19859 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
19860 determining of binary transfer. (Bug#7383)
19861
19862 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
19863
19864 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
19865 Fix port computation bug. (Bug#8618)
19866
19867 2011-05-05 Glenn Morris <rgm@gnu.org>
19868
19869 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
19870
19871 * simple.el (shell-dynamic-complete-functions)
19872 (comint-dynamic-complete-functions): Declare.
19873
19874 * net/network-stream.el (gnutls-negotiate):
19875 * simple.el (tabulated-list-print): Fix declarations.
19876
19877 * progmodes/gud.el (syntax-symbol, syntax-point):
19878 Remove unnecessary and incorrect declarations.
19879
19880 * emacs-lisp/check-declare.el (check-declare-scan):
19881 Handle byte-compile-initial-macro-environment in bytecomp.el.
19882
19883 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
19884
19885 Fix earlier half-done eieio-defmethod change (bug#8338).
19886 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
19887 Streamline and change calling convention.
19888 (defmethod): Adjust accordingly and simplify.
19889 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
19890 new eieio--defmethod.
19891 (slot-boundp): Minor CSE simplification.
19892
19893 2011-05-05 Milan Zamazal <pdm@zamazal.org>
19894
19895 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
19896 (glasses-make-readable): Use glasses-separate-capital-groups.
19897
19898 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
19899
19900 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
19901 (warning-series): Doc fix.
19902 (display-warning): Don't try to create the buffer if we just found it.
19903
19904 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
19905
19906 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
19907 (autoload-find-generated-file): New function.
19908 (generate-file-autoloads): Bind generated-autoload-file to
19909 buffer-file-name.
19910 (update-file-autoloads, update-directory-autoloads):
19911 Use autoload-find-generated-file. If called interactively, prompt for
19912 output file (Bug#7989).
19913 (batch-update-autoloads): Doc fix.
19914
19915 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
19916
19917 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
19918
19919 2011-05-04 Glenn Morris <rgm@gnu.org>
19920
19921 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
19922 function, so it follows changes in calendar-date-style.
19923 (diary-fancy-date-matcher): New function.
19924 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
19925 (diary-fancy-font-lock-fontify-region-function):
19926 Use diary-fancy-date-pattern as a function.
19927
19928 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
19929 non-numbers for `year' etc pseudo-variables. (Bug#8583)
19930
19931 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
19932
19933 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
19934 instead of positional arguments. Allow :keylist and :crlfiles
19935 arguments.
19936 (open-gnutls-stream): Call it.
19937
19938 * net/network-stream.el (network-stream-open-starttls): Adjust to
19939 call `gnutls-negotiate' with :process and :hostname arguments.
19940
19941 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
19942
19943 * minibuffer.el (completion--message): New function.
19944 (completion--do-completion, minibuffer-complete)
19945 (minibuffer-force-complete, minibuffer-complete-word): Use it.
19946 (completion--do-completion): Don't ignore completion-auto-help when in
19947 icomplete-mode.
19948
19949 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
19950 internal encoding (e.g. tibetan zero is not whitespace).
19951 (global-whitespace-mode): Prefer save-current-buffer.
19952 (whitespace-trailing-regexp): Remove useless save-match-data.
19953 (whitespace-empty-at-bob-regexp): Minor simplification.
19954
19955 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
19956
19957 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
19958
19959 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
19960
19961 * textmodes/ispell.el (ispell-add-per-file-word-list):
19962 Use `concat' to create string for insertion.
19963
19964 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
19965
19966 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
19967 Avoid open-line which runs post-self-insert-hook.
19968 (bibtex-fill-entry): Remove unused `end' var.
19969
19970 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
19971
19972 * textmodes/ispell.el (ispell-add-per-file-word-list):
19973 Protect against `nil' value of `comment-start' (Bug#8579).
19974
19975 2011-05-03 Leo Liu <sdl.web@gmail.com>
19976
19977 * isearch.el (isearch-yank-pop): New command.
19978 (isearch-mode-map): Bind it to `M-y'.
19979 (isearch-forward): Mention it.
19980
19981 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
19982
19983 * simple.el (minibuffer-complete-shell-command): Remove.
19984 (minibuffer-local-shell-command-map): Use completion-at-point.
19985 (read-shell-command): Setup completion vars here instead.
19986 (read-expression-map): Bind TAB to symbol completion.
19987
19988 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
19989 error directly rather via storing it into `results'.
19990
19991 2011-05-02 Leo Liu <sdl.web@gmail.com>
19992
19993 * vc/diff.el: Fix description.
19994
19995 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
19996
19997 * server.el (server-eval-at): New function.
19998
19999 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
20000
20001 * net/network-stream.el (open-network-stream): Take a :nowait
20002 parameter and pass it on to `make-network-process'.
20003 (network-stream-open-plain): Ditto.
20004
20005 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
20006
20007 * faces.el (face-spec-set-match-display): Don't match toolkit
20008 options on terminal frames.
20009
20010 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
20011
20012 * progmodes/pascal.el: Use lexical binding.
20013 (pascal-mode-map): Remove author preferences.
20014
20015 * pcomplete.el (pcomplete-std-complete): Don't abuse
20016 completion-at-point.
20017
20018 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
20019
20020 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
20021 removing code that has been dead since 1991 or so.
20022
20023 * startup.el (command-line): When warning about "_emacs", use a
20024 delayed warning to allow the user to filter it out.
20025
20026 2011-04-28 Deniz Dogan <deniz@dogan.se>
20027
20028 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
20029 user has not joined.
20030
20031 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
20032
20033 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
20034 aren't any completions at point.
20035
20036 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
20037
20038 * subr.el (display-delayed-warnings): New function.
20039 (delayed-warnings-hook): New variable.
20040
20041 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
20042
20043 * minibuffer.el (completion-at-point, completion-help-at-point):
20044 Don't presume that a given completion-at-point-function will always
20045 use the same calling convention.
20046
20047 * pcomplete.el (pcomplete-completions-at-point):
20048 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
20049 pcomplete-seen is non-nil.
20050 (pcomplete-comint-setup): Also recognize the new comint/shell
20051 completion functions.
20052 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
20053 pcomplete-seen is non-nil.
20054
20055 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
20056
20057 * calendar/icalendar.el (diary-lib): Add require statement.
20058 (icalendar--create-uid): Read out a uid from a text-property on
20059 the first character in the entry. This allows for code to add its
20060 own uid to the entry.
20061 (icalendar--convert-float-to-ical): Add export of
20062 `diary-float'-entries save for those with the optional DAY
20063 argument.
20064
20065 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
20066
20067 * subr.el (shell-quote-argument): Use alternate escaping strategy
20068 when we spot a variable reference in a string.
20069
20070 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
20071
20072 * cus-start.el (all): Define customization for debug-on-event.
20073
20074 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
20075
20076 * subr.el (shell-quote-argument): Escape correctly under Windows.
20077
20078 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
20079
20080 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
20081
20082 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
20083
20084 * net/tramp.el (tramp-process-actions): Add POS argument.
20085 Delete region between POS and (pos).
20086
20087 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
20088 Use `nil' position in `tramp-process-actions' call.
20089 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
20090
20091 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
20092 position in `tramp-process-actions' call.
20093
20094 * net/trampver.el: Update release number.
20095
20096 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
20097
20098 * custom.el (defcustom): Obey lexical-binding.
20099
20100 Fix octave-inf completion problems reported by Alexander Klimov.
20101 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
20102 Inherit from octave-mode-syntax-table.
20103 (inferior-octave-mode): Set info-lookup-mode.
20104 (inferior-octave-completion-at-point): New function.
20105 (inferior-octave-complete): Use it and completion-in-region.
20106 (inferior-octave-dynamic-complete-functions): Use it as well, and use
20107 comint-filename-completion.
20108 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
20109 symbol elements which shouldn't be word elements.
20110 (octave-font-lock-keywords, octave-beginning-of-defun)
20111 (octave-function-header-regexp): Adjust regexps accordingly.
20112 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
20113
20114 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
20115
20116 * net/gnutls.el (gnutls-errorp): Declare before first use.
20117
20118 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
20119
20120 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
20121 verify-error, and verify-hostname-error parameters. Check whether
20122 default trustfile exists before going to use it. Add missing
20123 argument to gnutls-message-maybe call. Return value.
20124 Reported by Claudio Bley <claudio.bley@gmail.com>.
20125 (open-gnutls-stream): Add usage example.
20126
20127 * net/network-stream.el (network-stream-open-starttls): Give host
20128 parameter to `gnutls-negotiate'.
20129 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
20130 * subr.el (shell-quote-argument): Escape correctly under Windows.
20131
20132 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
20133
20134 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
20135 Use correct match group (bug#8438).
20136
20137 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
20138
20139 * emacs-lisp/package.el (package-built-in-p): Fix typo.
20140 (package-menu--generate): New arg specifying packages to show.
20141 (package-menu-refresh, package-menu-execute, list-packages):
20142 Callers changed.
20143 (package-show-package-list): New function, replacing deleted
20144 package--list-packages (renamed because it is non-internal).
20145
20146 * finder.el (finder-list-matches): Use package-show-package-list
20147 instead of deleted package--list-packages.
20148
20149 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
20150 Based on a previous implementation by Juanma Barranquero (Bug#8366).
20151 (vc-annotate-mode-map): Bind it to RET.
20152
20153 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
20154
20155 * progmodes/etags.el (next-file): Don't use set-buffer to change
20156 buffers (Bug#8478).
20157
20158 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
20159
20160 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
20161
20162 * apropos.el (apropos-label-face): Avoid variable-pitch face.
20163 (apropos-accumulator): Doc fix.
20164 (apropos-function, apropos-macro, apropos-command)
20165 (apropos-variable, apropos-face, apropos-group, apropos-widget)
20166 (apropos-plist): Add face property.
20167 (apropos-symbols-internal): Fix indentation.
20168 (apropos-print): Simplify help, and recognize apropos-multi-type.
20169 (apropos-print-doc): Use button-type-get to extract the button's
20170 face property. Fill docstring (Bug#8352).
20171
20172 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
20173
20174 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
20175
20176 * play/mpuz.el (mpuz-silent): Doc fix.
20177 (mpuz-mode-map): Use mapc.
20178 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
20179 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
20180 Fix typos in docstrings.
20181
20182 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
20183 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
20184
20185 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
20186
20187 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
20188
20189 * minibuffer.el (completion--do-completion): Avoid the "Next char
20190 not unique" prompt if icomplete-mode is enabled (Bug#5849).
20191
20192 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
20193 mouse-2 into unread-command-events, it is interpreted correctly.
20194
20195 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
20196 (image-toggle-display): Doc fix.
20197
20198 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
20199
20200 * textmodes/page.el (what-page): Use line-number-at-pos to
20201 calculate line number (Bug#6825).
20202
20203 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
20204
20205 * eshell/esh-mode.el (find-tag-interactive): Declare function.
20206 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
20207 Pass argument NO-DEFAULT to `find-tag-interactive'.
20208
20209 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
20210
20211 Lexical-binding cleanup.
20212
20213 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
20214 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
20215 * progmodes/ada-prj.el (ada-prj-initialize-values)
20216 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
20217 (ada-prj-show-value):
20218 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
20219 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
20220 (antlr-invalidate-context-cache, antlr-options-menu-filter)
20221 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
20222 * progmodes/bug-reference.el (bug-reference-push-button):
20223 * progmodes/fortran.el (fortran-line-length):
20224 * progmodes/glasses.el (glasses-change):
20225 * progmodes/octave-mod.el (octave-fill-paragraph):
20226 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
20227 (python-pdbtrack-grub-for-buffer, python-sentinel):
20228 * progmodes/sql.el (sql-save-connection):
20229 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
20230 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
20231 Mark unused parameters.
20232
20233 * progmodes/compile.el (compilation--flush-directory-cache)
20234 (compilation--flush-parse, compile-internal): Mark unused parameters.
20235 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
20236 (compilation-next-error-function): Remove unused variable `timestamp'.
20237
20238 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
20239 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
20240
20241 * progmodes/dcl-mode.el (dcl-end-of-command):
20242 Remove unused variable `start'.
20243 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
20244 (dcl-option-value-basic, dcl-option-value-offset)
20245 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
20246 Mark unused parameters.
20247 (dcl-save-local-variable): Remove unused variable `val'.
20248 (mode): Declare.
20249
20250 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
20251 Mark unused parameters.
20252 (delphi-ignore-changes): Move before first use.
20253 (delphi-charset-token-at): Remove unused variable `start'.
20254 (delphi-else-start): Remove unused variable `if-count'.
20255 (delphi-comment-block-start, delphi-comment-block-end):
20256 Remove unused variable `kind'.
20257 (delphi-indent-line): Remove unused variable `new-point'.
20258
20259 * progmodes/ebrowse.el (ebrowse-files-list)
20260 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
20261 Mark unused parameters. Don't quote `lambda'.
20262 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
20263 Don't quote `lambda'.
20264 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
20265 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
20266 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
20267 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
20268 Use `ignore-errors'.
20269 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
20270 (ebrowse-view/find-file-and-search-pattern)
20271 (ebrowse-view/find-member-declaration/definition):
20272 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
20273 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
20274 Rename parameter PREFIX-ARG to PREFIX.
20275 (ebrowse-tags-read-name): Remove unused variables `start' and
20276 `member-info'.
20277 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
20278 to `tags-file'.
20279
20280 * progmodes/etags.el (local-find-tag-hook): Declare.
20281 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
20282 Mark unused parameters.
20283
20284 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
20285 (executable-interpret): Mark unused parameter.
20286
20287 * progmodes/flymake.el (flymake-process-sentinel)
20288 (flymake-after-change-function)
20289 (flymake-create-temp-with-folder-structure)
20290 (flymake-get-include-dirs-dot): Mark unused parameters.
20291 (flymake-safe-delete-directory): Remove unused variable `err'.
20292
20293 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
20294 (speedbar-timer-fn, speedbar-line-text)
20295 (speedbar-change-expand-button-char, speedbar-delete-subblock)
20296 (speedbar-center-buffer-smartly): Declare functions.
20297 (gdb-find-watch-expression): Remove unused variable `array'.
20298 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
20299 (gdb-starting): Mark unused parameters.
20300 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
20301 (gdb-table-string): Remove unused variable `res'.
20302 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
20303 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
20304 (gdb-display-buffer): Remove unused variable `cur-size'.
20305
20306 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
20307 allow lexical-binding compilation.
20308 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
20309 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
20310 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
20311 Mark unused parameters.
20312 (gud-gdb-marker-filter): Remove unused variable `match'.
20313 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
20314 lambda expressions and funcall them, instead of using `fset'.
20315
20316 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
20317 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
20318
20319 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
20320 variable `header-beg'; use `let'.
20321
20322 * progmodes/icon.el (indent-icon-exp): Remove unused variables
20323 `restart', `last-sexp' and `at-do'.
20324
20325 * progmodes/js.el (js--debug): Mark unused parameter.
20326 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
20327 (js--splice-into-items): Remove unused variable `item'.
20328 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
20329
20330 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
20331 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
20332 (makefile-complete): Remove unused variable `try'.
20333 (makefile-fill-paragraph, makefile-match-function-end):
20334 Mark unused parameters.
20335
20336 * progmodes/octave-inf.el (inferior-octave-complete):
20337 Remove unused variable `proc'.
20338 (inferior-octave-output-digest): Mark unused parameter.
20339
20340 * progmodes/perl-mode.el (perl-calculate-indent):
20341 Remove unused variable `err'.
20342
20343 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
20344 (prolog-indent-line): Mark unused parameters.
20345 (prolog-indent-line): Remove unused variable `beg'.
20346
20347 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
20348 (reporter-dont-compact-list): Declare.
20349
20350 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
20351 Remove unused variable `char'.
20352 (sh-debug): Mark unused parameter.
20353 (sh-get-indent-info): Remove unused variable `start'.
20354 (sh-calculate-indent): Remove unused variable `var'.
20355
20356 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
20357 (simula-electric-keyword): Remove unused variable `null'.
20358 (simula-search-backward, simula-search-forward): Remove unused
20359 variables `begin' and `end'.
20360
20361 * progmodes/vera-mode.el (vera-guess-basic-syntax):
20362 Remove unused variable `pos'.
20363 (vera-electric-tab, vera-comment-uncomment-region):
20364 Mark unused parameters.
20365 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
20366
20367 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
20368
20369 * emacs-lisp/package.el (package--builtins, package-alist)
20370 (package-load-descriptor, package-built-in-p, package-activate)
20371 (define-package, package-installed-p)
20372 (package-compute-transaction, package-buffer-info)
20373 (package--push): Doc fix. Distinguish more clearly between
20374 version strings and version lists.
20375
20376 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
20377
20378 Lexical-binding cleanup.
20379
20380 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
20381 (5x5-make-mutate-best):
20382 * play/fortune.el (fortune-in-buffer):
20383 * play/gomoku.el (gomoku-init-display):
20384 * play/solitaire.el (solitaire, solitaire-do-check):
20385 * play/tetris.el (tetris-default-update-speed-function):
20386 Mark unused parameters.
20387
20388 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
20389 (bubbles--shift): Remove unused variable `char-org'.
20390 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
20391 (bubbles--show-images): Remove unused variable `char'.
20392
20393 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
20394 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
20395 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
20396 (decipher-analyze-buffer): Use ?\s.
20397 (decipher-make-checkpoint): Remove unused variable `mapping'.
20398
20399 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
20400
20401 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
20402 Remove unused variable `result'; use `let'.
20403
20404 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
20405 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
20406 (gametree-children-shown-p, gametree-compute-reduced-score):
20407 Use `ignore-errors'.
20408
20409 * play/handwrite.el (ps-lpr-switches): Declare.
20410 (handwrite): Remove unused variables `pmin' and `lastp'.
20411
20412 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
20413
20414 * play/landmark.el (landmark-init-display)
20415 (landmark-update-naught-weights): Mark unused parameters.
20416 (landmark-y): Remove unused variable `noise'. Simplify.
20417 (landmark-human-plays): Remove unused variable `score'.
20418
20419 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
20420 (mpuz-try-proposal): Remove unused variable `game'.
20421
20422 * play/zone.el (life-patterns): Declare.
20423
20424 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
20425
20426 * vc/vc.el (ediff-vc-internal): Declare function.
20427
20428 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
20429
20430 * shell.el: Use lexical-binding and std completion UI.
20431 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
20432 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
20433 comint-preoutput-filter-functions rather than on
20434 comint-output-filter-functions.
20435 (shell-command-completion, shell--command-completion-data)
20436 (shell-filename-completion, shell-environment-variable-completion)
20437 (shell-c-a-p-replace-by-expanded-directory): New functions.
20438 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
20439 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
20440 (shell-dynamic-complete-environment-variable): Use them.
20441 (shell-dynamic-complete-as-environment-variable)
20442 (shell-dynamic-complete-as-command): Remove.
20443 (shell-match-partial-variable): Match past point.
20444 * comint.el: Clean up use of completion-at-point-functions.
20445 (comint-completion-at-point): New function.
20446 (comint-mode): Use it completion-at-point-functions.
20447 (comint-dynamic-complete): Make it obsolete.
20448 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
20449 (comint-c-a-p-replace-by-expanded-history): New function.
20450 (comint-dynamic-complete-functions)
20451 (comint-replace-by-expanded-history): Use it.
20452 * minibuffer.el (completion-table-with-terminator): Allow dynamic
20453 termination strings. Try harder to avoid second try-completion.
20454 (completion-in-region-mode-map): Disable bindings that don't work yet.
20455
20456 * comint.el: Use lexical-binding. Require CL.
20457 (comint-dynamic-complete-functions): Use comint-filename-completion.
20458 (comint-completion-addsuffix): Tweak custom type.
20459 (comint-filename-completion, comint--common-suffix)
20460 (comint--common-quoted-suffix, comint--table-subvert)
20461 (comint--complete-file-name-data): New functions.
20462 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
20463 (comint-dynamic-list-filename-completions): Use them.
20464 (comint-dynamic-simple-complete): Make obsolete.
20465
20466 * minibuffer.el (completion-in-region-mode):
20467 Keep completion-in-region-mode--predicate global.
20468 (completion-in-region--postch):
20469 Assume completion-in-region-mode--predicate is not null.
20470
20471 * progmodes/flymake.el (flymake-start-syntax-check-process):
20472 Obey `dir'. Simplify.
20473
20474 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
20475 we're in VC after all.
20476
20477 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
20478
20479 * vc/vc.el (vc-diff-build-argument-list-internal)
20480 (vc-version-ediff, vc-ediff): New commands.
20481 (vc-version-diff): Use vc-diff-build-argument-list-internal.
20482
20483 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
20484
20485 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
20486 add sanity check.
20487
20488 * obsolete/erc-hecomplete.el: Make obsolete.
20489 * obsolete/: Standardize obsolescence info in the header.
20490
20491 2011-04-20 Glenn Morris <rgm@gnu.org>
20492
20493 * calendar/solar.el (solar-horizontal-coordinates):
20494 Use the longitude argument rather than `calendar-longitude'.
20495 (solar-date-next-longitude): Remove unused locals.
20496
20497 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
20498
20499 * whitespace.el: New version 13.2.1.
20500
20501 2011-04-20 felix <EmacsWiki> (tiny change)
20502
20503 * whitespace.el (global-whitespace-mode): Keep highlight when
20504 switching between major modes on a file.
20505
20506 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
20507
20508 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
20509 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
20510 multi-line comments as well.
20511
20512 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
20513
20514 Lexical-binding cleanup.
20515
20516 * arc-mode.el (archive-mode-revert):
20517 * cmuscheme.el (scheme-interactively-start-process):
20518 * custom.el (custom-initialize-delay):
20519 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
20520 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
20521 * emacs-lock.el (emacs-lock-clear-sentinel):
20522 * ezimage.el (defezimage):
20523 * follow.el (follow-avoid-tail-recenter):
20524 * fringe.el (set-fringe-mode-1):
20525 * generic-x.el (bat-generic-mode-compile):
20526 * help-mode.el (help-info-variable, help-do-xref)
20527 (help-mode-revert-buffer):
20528 * help.el (view-emacs-todo):
20529 * iswitchb.el (iswitchb-completion-help):
20530 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
20531 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
20532 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
20533 * locate.el (locate-update):
20534 * longlines.el (longlines-encode-region)
20535 (longlines-after-change-function):
20536 * outline.el (outline-isearch-open-invisible):
20537 * ps-def.el (declare-function, charset-dimension, char-width)
20538 (encode-char):
20539 * ps-mule.el (ps-mule-plot-string):
20540 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
20541 (recentf-edit-list-select, recentf-edit-list-validate)
20542 (recentf-open-files-action):
20543 * rect.el (delete-whitespace-rectangle-line)
20544 (rectangle-number-line-callback):
20545 * register.el (window-configuration-to-register)
20546 (frame-configuration-to-register):
20547 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
20548 * select.el (xselect-convert-to-string, xselect-convert-to-length)
20549 (xselect-convert-to-targets, xselect-convert-to-delete)
20550 (xselect-convert-to-filename, xselect-convert-to-charpos)
20551 (xselect-convert-to-lineno, xselect-convert-to-colno)
20552 (xselect-convert-to-os, xselect-convert-to-host)
20553 (xselect-convert-to-user, xselect-convert-to-class)
20554 (xselect-convert-to-name, xselect-convert-to-integer)
20555 (xselect-convert-to-atom, xselect-convert-to-identity):
20556 * subr.el (declare, ignore, process-kill-without-query)
20557 (text-clone-maintain):
20558 * terminal.el (te-get-char, te-tic-sentinel):
20559 * tool-bar.el (tool-bar-make-keymap):
20560 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
20561 * type-break.el (type-break-mode, type-break-noninteractive-query):
20562 * view.el (View-back-to-mark):
20563 * wid-browse.el (widget-browse-action, widget-browse-widget)
20564 (widget-browse-widgets, widget-browse-sexp):
20565 * widget.el (define-widget-keywords):
20566 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
20567 Mark unused parameters.
20568
20569 * align.el (align-adjust-col-for-rule): Mark unused parameter.
20570 (align-areas): Remove unused variable `look'.
20571 (align-region): Remove unused variables `real-end' and `pos-list'.
20572
20573 * apropos.el (apropos-score-doc): Remove unused variable `i'.
20574
20575 * bindings.el (mode-line-modified, mode-line-remote):
20576 Mark unused parameters.
20577 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
20578
20579 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
20580 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
20581
20582 * comint.el (comint-history-isearch-pop-state)
20583 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
20584 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
20585 (comint-substitute-in-file-name): Doc fix.
20586
20587 * completion.el (cmpl-statistics-block): Mark unused parameter.
20588 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
20589 (save-completions-to-file, load-completions-from-file):
20590 Remove unused local variable `e'.
20591
20592 * composite.el (compose-chars): Remove unused variable `len'.
20593 (lgstring-insert-glyph): Remove unused variable `g'.
20594 (compose-glyph-string): Remove unused variables `ascent',
20595 `descent', `lbearing' and `rbearing'.
20596 (compose-glyph-string-relative): Remove unused variables
20597 `lbearing', `rbearing' and `wadjust'.
20598 (compose-gstring-for-graphic): Remove unused variables `header',
20599 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
20600 (compose-gstring-for-terminal): Remove unused variables `header'
20601 and `nchars'. Use `let', not `let*'.
20602
20603 * cus-edit.el (Custom-set, Custom-save, custom-reset)
20604 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
20605 (Custom-buffer-done, custom-buffer-create-internal)
20606 (custom-browse-visibility-action, custom-browse-group-tag-action)
20607 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
20608 (widget-magic-mouse-down-action, custom-toggle-parent)
20609 (custom-add-parent-links, custom-toggle-hide-variable)
20610 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
20611 (custom-toggle-hide-face, face, hook, custom-group-link-action)
20612 (custom-face-menu-create, custom-variable-menu-create, get)
20613 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
20614 (custom-reset-standard-save-and-update): Remove unused variable `value'.
20615 (customize-apropos): Remove unused variable `tests'.
20616 (custom-group-value-create): Remove unused variable `hidden-p'.
20617 (sort-fold-case): Declare.
20618
20619 * cus-theme.el (custom-reset-standard-faces-list)
20620 (custom-reset-standard-variables-list): Declare.
20621 (customize-create-theme, custom-theme-revert, custom-theme-write)
20622 (custom-theme-choose-mode, customize-themes, custom-theme-save):
20623 Mark unused parameters.
20624
20625 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
20626
20627 * delim-col.el (delimit-columns-max): Move defvar before first use.
20628
20629 * descr-text.el (describe-char-categories): Don't quote `lambda'.
20630 (describe-char): Don't quote `lambda'. Mark unused parameter.
20631
20632 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
20633 (auto-insert): Declare.
20634 (desktop-restore-file-buffer): Rename desktop-* parameters;
20635 mark unused ones.
20636 (desktop-create-buffer): Rename desktop-* parameters and bind them.
20637 (desktop-buffer): Rename desktop-* parameters.
20638
20639 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
20640 (dframe-reposition-frame-xemacs, dframe-help-echo)
20641 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
20642 Mark unused parameters.
20643
20644 * dired-aux.el (backup-extract-version-start, overwrite-query)
20645 (overwrite-backup-query, rename-regexp-query)
20646 (rename-non-directory-query): Declare.
20647 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
20648 (dired-add-entry): Remove unused variable `orig-file-name'.
20649 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
20650 Use parameter PRESERVE-TIME instead of accessing dynamic variable
20651 `dired-copy-preserve-time' directly.
20652 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
20653 (dired-insert-subdir-newpos): Rename unused variable `pos'.
20654
20655 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
20656 (dired-virtual-revert, dired-make-relative-symlink):
20657 Mark unused parameters.
20658 (manual-program): Declare.
20659 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
20660 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
20661 wrapped in `with-no-warnings' to avoid replacing one warning by another.
20662
20663 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
20664
20665 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
20666
20667 * echistory.el (electric-history-in-progress, Helper-return-blurb):
20668 Declare.
20669
20670 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
20671
20672 * electric.el (Electric-command-loop): Rename parameter
20673 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
20674
20675 * expand.el (expand-in-literal): Remove unused variable `here'.
20676
20677 * facemenu.el (facemenu-add-new-color):
20678 Remove unused variable `docstring'.
20679
20680 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
20681 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
20682 (face-attr-construct): Mark unused parameter. Doc fix.
20683 (read-color): Remove unused variable `hex-string'.
20684
20685 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
20686 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
20687 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
20688 (display-buffer-other-frame): Remove unused variable `old-window'.
20689 (kill-buffer-hook): Declare.
20690 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
20691 Mark unused parameters.
20692 (after-find-file): Pass 1 to `auto-save-mode', not t.
20693
20694 * files-x.el (auto-insert): Declare.
20695 (modify-file-local-variable-prop-line): Remove unused variable `val'.
20696
20697 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
20698 variable `buf'. Mark unused parameter.
20699 (find-lisp-insert-directory): Mark unused parameter.
20700
20701 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
20702 (format-encode-region): Remove unused variables `cur-buf' and `result'.
20703 (format-common-tail): Remove, unused.
20704 (format-deannotate-region): Remove unused variable `loc'.
20705 (format-annotate-region): Remove unused variable `p'.
20706 (format-annotate-single-property-change): Remove unused variables
20707 `default' and `tail'.
20708
20709 * forms.el (read-file-filter): Declare.
20710 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
20711
20712 * frame.el (frame-creation-function-alist): Mark unused parameter.
20713 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
20714
20715 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
20716 Remove unused parameters.
20717 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
20718 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
20719
20720 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
20721 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
20722 (hfy-prepare-tag-map): Mark unused parameters.
20723 (htmlfontify-buffer): Use `called-interactively-p'.
20724
20725 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
20726 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
20727 (ibuffer-do-occur): Mark unused parameters.
20728 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
20729 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
20730
20731 * ibuffer.el: Don't quote `lambda'.
20732 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
20733 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
20734 Mark unused parameters.
20735
20736 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
20737 (ido-completing-read): Mark unused parameters.
20738 (ido-copy-current-word): Mark unused parameters;
20739 remove unused variable `name'.
20740 (ido-sort-merged-list): Remove unused parameter `dirs'.
20741
20742 * ielm.el (ielm-input-sender): Mark unused parameter.
20743 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
20744 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
20745 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
20746 `ielm-string' as a dynamic variable accessible from the IELM prompt.
20747 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
20748
20749 * image-dired.el (image-dired-display-thumbs): Remove unused
20750 variables `curr-file' and `count'.
20751 (image-dired-remove-tag): Remove unused variable `start'.
20752 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
20753 variable `curr-file'
20754 (image-dired-rotate-original): Remove unused variable `temp-file'.
20755 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
20756 Remove unused variable `file'.
20757 (image-dired-gallery-generate): Remove unused variable `curr'.
20758 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
20759
20760 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
20761
20762 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
20763
20764 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
20765
20766 * isearch.el (minibuffer-history-symbol): Declare.
20767 (isearch-edit-string): Remove unused variable `err'.
20768 (isearch-message-prefix, isearch-message-suffix):
20769 Mark unused parameters.
20770
20771 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
20772
20773 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
20774
20775 * makesum.el (double-column): Remove unused variable `cnt'.
20776
20777 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
20778 (ido-ignore-item-temp-list): Declare.
20779
20780 * mouse-drag.el (mouse-drag-throw): Remove unused variables
20781 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
20782 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
20783 (mouse-drag-drag): Remove unused variables `mouse-delta' and
20784 `mouse-col-delta'.
20785
20786 * mouse-sel.el (mouse-extend-internal):
20787 Remove unused variable `orig-window-frame'.
20788
20789 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
20790 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
20791 Move declarations before first use.
20792 (pcomplete-opt): Mark unused parameters; doc fix.
20793
20794 * proced.el (proced-revert): Mark unused parameter.
20795 (proced-send-signal): Remove unused variable `err'.
20796
20797 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
20798 Rename parameter PREFIX-ARG to ARG.
20799 (ps-basic-plot-string, ps-basic-plot-whitespace):
20800 Mark unused parameters.
20801
20802 * replace.el (replace-count): Define.
20803 (occur-revert-function): Mark unused parameters.
20804 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
20805 (isearch-case-fold-search, isearch-string): Declare.
20806 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
20807 bind `case-fold-search'. Remove unused variables `beg' and `end',
20808 and simplify.
20809 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
20810 COUNT and bind `replace-count'.
20811 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
20812 to COUNT.
20813
20814 * savehist.el (print-readably, print-string-length): Declare.
20815
20816 * shadowfile.el (shadow-expand-cluster-in-file-name):
20817 Remove unused variable `cluster'.
20818 (shadow-copy-file): Remove unused variable `i'.
20819 (shadow-noquery, shadow-clusters, shadow-site-cluster)
20820 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
20821 (shadow-define-literal-group, shadow-define-regexp-group)
20822 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
20823
20824 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
20825 (shell): Use `called-interactively-p'.
20826 (shell-directory-tracker): Remove unused variable `chdir-failure'.
20827
20828 * simple.el (compilation-context-lines, comint-file-name-quote-list)
20829 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
20830 (delete-backward-char): Remove unused variable `ocol'.
20831 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
20832 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
20833 (event-apply-hyper-modifier, event-apply-shift-modifier)
20834 (event-apply-control-modifier, event-apply-meta-modifier):
20835 Mark unused parameters.
20836 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
20837 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
20838
20839 * speedbar.el (speedbar-ignored-directory-expressions)
20840 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
20841 (speedbar-find-file, speedbar-dir-follow)
20842 (speedbar-directory-buttons-follow, speedbar-tag-find)
20843 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
20844 (speedbar-buffers-line-directory, speedbar-buffer-click):
20845 Mark unused parameters.
20846 (speedbar-tag-file): Remove unused variable `mode'.
20847 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
20848
20849 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
20850
20851 * talk.el (talk): Remove unused variable `display'.
20852
20853 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
20854 (tar-write-region-annotate): Mark unused parameter.
20855
20856 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
20857 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
20858 Declare them, wrapped in `with-no-warnings' to avoid replacing one
20859 warning by another.
20860
20861 * time-stamp.el (time-stamp-string-preprocess):
20862 Remove unused variable `require-padding'.
20863
20864 * tree-widget.el (widget-glyph-enable): Declare.
20865 (tree-widget-action): Mark unused parameter.
20866
20867 * w32-fns.el (x-get-selection): Mark unused parameter.
20868 (autoload-make-program, generated-autoload-file): Declare.
20869
20870 * wdired.el (wdired-revert): Mark unused parameters.
20871 (wdired-xcase-word): Remove unused variable `err'.
20872
20873 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
20874 (whitespace-help-scroll): Remove unused variable `data-help'.
20875
20876 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
20877 (widget-image-insert, widget-after-change, default)
20878 (widget-default-format-handler, widget-default-notify)
20879 (widget-default-prompt-value, widget-info-link-action)
20880 (widget-url-link-action, widget-function-link-action)
20881 (widget-variable-link-action, widget-file-link-action)
20882 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
20883 (widget-field-prompt-internal, widget-field-action, widget-field-match)
20884 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
20885 (widget-insert-button-action, widget-delete-button-action, visibility)
20886 (widget-documentation-link-action, widget-documentation-string-action)
20887 (widget-const-prompt-value, widget-regexp-match, symbol)
20888 (widget-coding-system-prompt-value)
20889 (widget-key-sequence-value-to-external, sexp)
20890 (widget-sexp-value-to-internal, character, vector, cons)
20891 (widget-choice-prompt-value, widget-boolean-prompt-value)
20892 (widget-color--choose-action): Mark unused parameters.
20893 (widget-item-match-inline, widget-choice-match-inline)
20894 (widget-checklist-match, widget-checklist-match-inline)
20895 (widget-group-match): Rename parameter VALUES to VALS.
20896 (widget-field-value-set): Remove unused variable `size'.
20897 (widget-color-action): Remove unused variables `value' and `start'.
20898
20899 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
20900 variable `dir'. Doc fix.
20901 (windmove-find-other-window): Don't pass it.
20902
20903 * window.el (count-windows): Mark unused parameter.
20904 (bw-adjust-window): Remove unused variable `err'.
20905
20906 * woman.el (woman-file-name): Remove unused variable `default'.
20907 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
20908 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
20909 (global-font-lock-mode): Declare.
20910 (woman-decode-region): Mark unused parameter.
20911 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
20912
20913 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
20914 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
20915 (x-dnd-handle-moz-url): Remove unused variable `title'.
20916 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
20917
20918 * xml.el (xml-parse-tag, xml-parse-attlist):
20919 Remove unused variable `pos'.
20920
20921 2011-04-19 Glenn Morris <rgm@gnu.org>
20922
20923 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
20924 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
20925 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
20926 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
20927 * calendar/cal-html.el (cal-html-insert-minical):
20928 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
20929 (calendar-mark-date-pattern):
20930 Prefix "unused" locals.
20931
20932 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
20933 optional argument `style'.
20934
20935 * calendar/appt.el (appt-make-list):
20936 * calendar/cal-china.el (calendar-chinese-date-string):
20937 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
20938 (diary-hebrew-yahrzeit):
20939 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
20940 * calendar/calendar.el (calendar-generate-window):
20941 * calendar/time-date.el (time-to-days):
20942 Remove unused local variables.
20943
20944 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
20945
20946 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
20947 glyphless-char-display table.
20948 (tabulated-list-glyphless-char-display): New var.
20949
20950 2011-04-18 Sam Steingold <sds@gnu.org>
20951
20952 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
20953 to acknowledgments.
20954
20955 2011-04-17 Glenn Morris <rgm@gnu.org>
20956
20957 * calendar/diary-lib.el (diary-sexp-entry):
20958 * calendar/holidays.el (holiday-sexp):
20959 Set debug-on-error rather than the removed stack-trace-on-error.
20960
20961 2011-04-16 Glenn Morris <rgm@gnu.org>
20962
20963 * progmodes/f90.el: Use lexical-binding.
20964 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
20965
20966 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
20967
20968 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
20969 (mail-mode): Setup mailalias completion here instead.
20970 * mail/mailalias.el: Use lexical-binding.
20971 (pattern, mailalias-done): Declare dynamic.
20972 (mail-completion-at-point-function): New function, from mail-complete.
20973 (mail-complete): Use it.
20974 (mail-completion-expand): New function.
20975 (mail-get-names): Use it.
20976 (mail-directory, mail-directory-process, mail-directory-stream):
20977 Don't use `pattern' for lexically bound arg.
20978
20979 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
20980
20981 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
20982 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
20983 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
20984
20985 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
20986 (byte-save-window-excursion, byte-temp-output-buffer-setup)
20987 (byte-interactive-p): Define them again, for use when inlining
20988 old code.
20989
20990 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
20991
20992 * loadup.el: Use `string-to-number', not `string-to-int'.
20993
20994 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
20995
20996 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
20997 gud-gdb-complete-command.
20998 (gud-gdb-completions): New function, from gud-gdb-complete-command.
20999 (gud-gdb-completion-at-point): New function.
21000 (gud-gdb-completions): Remove.
21001
21002 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
21003
21004 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
21005 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
21006 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
21007 whether `executable-find' is bound.
21008
21009 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
21010
21011 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
21012
21013 * minibuffer.el (completion-in-region-mode-predicate)
21014 (completion-in-region-mode--predicate): New vars.
21015 (completion-in-region, completion-in-region--postch)
21016 (completion-in-region-mode): Use them.
21017 (completion--capf-wrapper): Also return the hook function.
21018 (completion-at-point, completion-help-at-point):
21019 Adjust and provide a predicate.
21020
21021 Preserve arg names for advice of subr and lexical functions (bug#8457).
21022 * help-fns.el (help-function-arglist): Consolidate the subr and
21023 new-byte-code cases. Add argument `preserve-names' to extract names
21024 from the docstring when needed.
21025 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
21026 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
21027 (ad-arglist): Use help-function-arglist's new arg.
21028 (ad-definition-type): Use cond.
21029
21030 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
21031
21032 * autorevert.el (auto-revert-handler):
21033 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
21034 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
21035 Don't quote lambda.
21036
21037 * image-mode.el (image-transform-set-scale):
21038 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
21039
21040 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
21041
21042 * net/network-stream.el (network-stream-open-starttls): Only do
21043 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
21044 Upgrades via gnutls-cli are too slow to be done opportunistically.
21045
21046 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
21047
21048 * dframe.el (dframe-current-frame): Remove spurious quote.
21049
21050 2011-04-12 Glenn Morris <rgm@gnu.org>
21051
21052 * calendar/cal-tex.el (cal-tex-end-document):
21053 Try to automatically use latin1 input if needed.
21054
21055 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
21056 Don't try to cons a mark onto an empty element.
21057
21058 2011-04-11 Leo Liu <sdl.web@gmail.com>
21059
21060 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
21061 buffers.
21062 (ido-kill-buffer-at-head): Support killing virtual buffers.
21063
21064 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
21065
21066 * minibuffer.el (completion-show-inline-help): New var.
21067 (completion--do-completion, minibuffer-complete)
21068 (minibuffer-force-complete, minibuffer-complete-word):
21069 Inhibit minibuffer messages if completion-show-inline-help is nil.
21070
21071 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
21072 to avoid interference from inline help (Bug#5849).
21073
21074 2011-04-10 Leo Liu <sdl.web@gmail.com>
21075
21076 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
21077 Fix typo.
21078
21079 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
21080
21081 * image-mode.el (image-toggle-display-image): Signal an error if
21082 not in Image mode.
21083 (image-transform-mode, image-transform-resize)
21084 (image-transform-set-rotation): Doc fix.
21085 (image-transform-set-resize): Delete.
21086 (image-transform-set-scale, image-transform-fit-to-height)
21087 (image-transform-fit-to-width): Handle image-toggle-display-image
21088 and image-transform-resize directly.
21089
21090 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
21091
21092 * doc-view.el (doc-view-fit-width-to-window)
21093 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
21094 New functions for fitting the shown image to the Emacs window size.
21095 (doc-view-mode-map): Add bindings for the new functions.
21096
21097 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
21098
21099 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
21100 Fix typo in docstring.
21101
21102 2011-04-08 Eli Zaretskii <eliz@gnu.org>
21103
21104 * files.el (file-size-human-readable): Produce one digit after
21105 decimal, like "ls -lh" does.
21106
21107 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
21108 the file size representation.
21109
21110 * simple.el (list-processes): If async subprocesses are not
21111 available, error out with a clear error message.
21112
21113 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
21114
21115 * help.el (help-form-show): New function, to be called from C.
21116 Put help-form output in a buffer named differently than *Help*.
21117
21118 2011-04-08 Eli Zaretskii <eliz@gnu.org>
21119
21120 * files.el (file-size-human-readable): New function.
21121
21122 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
21123 computing the representation inline. Don't require `cl'.
21124
21125 2011-04-08 Glenn Morris <rgm@gnu.org>
21126
21127 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
21128
21129 * net/browse-url.el (browse-url-firefox):
21130 Test system-type, not system-configuration.
21131
21132 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
21133 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
21134 Use log-edit-empty-buffer-p. (Bug#7598)
21135
21136 * net/rlogin.el (rlogin-process-connection-type): Simplify.
21137 (rlogin-mode-map): Initialize in the defvar.
21138 (rlogin): Use ignore-errors.
21139
21140 * replace.el (occur-mode-map): Some fixes for menu items.
21141
21142 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
21143
21144 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
21145
21146 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
21147
21148 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
21149 issuing unused warnings.
21150
21151 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
21152 macro directly.
21153
21154 * simple.el: Lisp reimplement of list-processes. Based on an
21155 earlier reimplementation by Leo Liu, but using tabulated-list.el.
21156 (process-menu-mode): New major mode.
21157 (list-processes--refresh, list-processes):
21158 (process-menu-visit-buffer): New functions.
21159
21160 * files.el (save-buffers-kill-emacs): Don't assume any return
21161 value of list-processes, which is undocumented anyway.
21162
21163 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
21164
21165 * emacs-lisp/tabulated-list.el: New file.
21166
21167 * emacs-lisp/package.el: Use Tabulated List mode.
21168 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
21169 (package-menu-mode): Derive from tabulated-list-mode. Set up the
21170 table format using Tabulated List mode variables.
21171 (package--push): New macro, replacing package-list-maybe-add.
21172 (package-menu--generate): Use package--push. Renamed from
21173 package--generate-package-list.
21174 (package-menu-refresh, list-packages): Use it.
21175 (package-menu--print-info): Rename from package-print-package.
21176 Return insertion data instead of inserting it directly.
21177 (package-menu-describe-package, package-menu-execute):
21178 Use tabulated-list-get-id.
21179 (package-menu-mark-delete, package-menu-mark-install)
21180 (package-menu-mark-unmark, package-menu-backup-unmark)
21181 (package-menu-mark-obsolete-for-deletion):
21182 Use tabulated-list-put-tag.
21183 (package--list-packages, package-menu-revert)
21184 (package-menu-get-package, package-menu-get-version)
21185 (package-menu-sort-by-column): Functions deleted.
21186 (package-menu-package-list, package-menu-sort-key): Vars deleted.
21187 (package-menu--status-predicate, package-menu--version-predicate)
21188 (package-menu--name-predicate)
21189 (package-menu--description-predicate): Handle arguments in the
21190 Tabulated List format.
21191 (package-list-packages-no-fetch): Call list-packages.
21192
21193 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
21194
21195 * files.el (after-find-file-from-revert-buffer): Remove variable.
21196 (after-find-file): Don't bind it.
21197 (revert-buffer-in-progress-p): New variable.
21198 (revert-buffer): Bind it.
21199 Pass nil for `after-find-file-from-revert-buffer'.
21200
21201 * saveplace.el (save-place-find-file-hook): Use new variable
21202 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
21203
21204 2011-04-06 Glenn Morris <rgm@gnu.org>
21205
21206 * Makefile.in (AUTOGEN_VCS): New variable.
21207 (autoloads): Use $AUTOGEN_VCS.
21208
21209 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
21210 * calendar/calendar.el (calendar-mode-map):
21211 Check for toolkit scroll bars. (Bug#8305)
21212
21213 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
21214
21215 * minibuffer.el (completion-in-region--postch)
21216 (completion-in-region-mode): Remove unnecessary messages.
21217
21218 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
21219
21220 * font-lock.el (font-lock-refresh-defaults):
21221 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
21222 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
21223
21224 * info.el (Info-directory-list, Info-read-node-name-2)
21225 (Info-split-parameter-string): Doc fixes.
21226 (Info-virtual-nodes): Reflow docstring.
21227 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
21228 (Info-apropos-toc-nodes, info-finder, Info-get-token)
21229 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
21230 Fix typos in docstrings.
21231 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
21232 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
21233 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
21234 (Info-restore-desktop-buffer): Mark unused parameters.
21235 (Info-directory-find-file, Info-directory-find-node)
21236 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
21237 (Info-virtual-index-find-node, Info-apropos-find-file)
21238 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
21239 Mark unused parameters; fix typos in docstrings.
21240 (Info-virtual-index): Remove unused local variable `nodename'.
21241
21242 2011-04-05 Deniz Dogan <deniz@dogan.se>
21243
21244 * net/rcirc.el: Update my e-mail address.
21245 (rcirc-mode-map): Remove M-o binding.
21246
21247 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
21248
21249 * startup.el (command-line): Save the cursor's theme-face
21250 directly, instead of using face-override-spec.
21251
21252 * custom.el (load-theme): Minor optimization in assigning faces.
21253
21254 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
21255
21256 * help-fns.el (describe-variable): Complete all variables having
21257 documentation, including keywords.
21258 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
21259
21260 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
21261
21262 Convert to lexical-binding.
21263
21264 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
21265 (bs--get-marked-string, bs--get-modified-string)
21266 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
21267 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
21268 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
21269
21270 * ehelp.el (electric-help-execute-extended)
21271 (electric-help-ctrl-x-prefix):
21272 * hexl.el (hexl-revert-buffer-function):
21273 * linum.el (linum-after-change, linum-after-scroll):
21274 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
21275
21276 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
21277
21278 2011-04-04 Daiki Ueno <ueno@unixuser.org>
21279
21280 * epa-dired.el:
21281 * epa-mail.el:
21282 * epa-hook.el:
21283 * epa-file.el:
21284 * epa.el:
21285 * epg.el: Use lexical binding.
21286
21287 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
21288
21289 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
21290
21291 * textmodes/flyspell.el (flyspell-word): Recognize default
21292 dictionary case for flyspell-mark-duplications-exceptions.
21293 Use regexp matching for languages.
21294 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
21295 default dictionary (Bug#7926).
21296
21297 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
21298
21299 * emacs-lisp/package.el (package--with-work-buffer):
21300 Recognize https URLs.
21301
21302 * net/network-stream.el: Move from gnus/proto-stream.el.
21303 Change prefix to network-stream throughout.
21304 (open-protocol-stream): Merge into open-network-stream, leaving
21305 open-protocol-stream as an alias. Handle nil BUFFER args.
21306
21307 * subr.el (open-network-stream): Move to net/network-stream.el.
21308
21309 2011-04-02 Glenn Morris <rgm@gnu.org>
21310
21311 * find-dired.el (find-exec-terminator): New option.
21312 (find-ls-option): Test for -ls support.
21313 (find-ls-subdir-switches): Test for -b in find-ls-option.
21314 (find-dired, find-grep-dired): Doc fixes.
21315 (find-dired): Use find-exec-terminator.
21316
21317 * find-dired.el (find-ls-option, find-ls-subdir-switches)
21318 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
21319 (find-name-arg): Remove purecopy.
21320
21321 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
21322 (grep-compute-defaults): Check for `-exec COMMAND +' support.
21323 Set grep-find-use-xargs, grep-find-command, and grep-find-template
21324 accordingly. Don't add the null-device if not needed.
21325
21326 * files.el (save-some-buffers): Doc fix.
21327
21328 2011-04-02 Eli Zaretskii <eliz@gnu.org>
21329
21330 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
21331
21332 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
21333
21334 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
21335 Use `dolist' rather than `mapcar'.
21336
21337 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
21338
21339 Add lexical binding.
21340
21341 * subr.el (apply-partially): Use new closures rather than CL.
21342 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
21343 (dolist, dotimes): Use slightly different expansion for lexical code.
21344 (functionp): Move to C.
21345 (letrec): New macro.
21346 (with-wrapper-hook): Use it and apply-partially instead of CL.
21347 (eval-after-load): Preserve lexical-binding.
21348 (save-window-excursion, with-output-to-temp-buffer): Turn them
21349 into macros.
21350
21351 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
21352
21353 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
21354 than the arglist.
21355 (help-add-fundoc-usage): Don't add `Not documented'.
21356 (help-function-arglist): Handle closures, subroutines, and new
21357 byte-code-functions.
21358 (help-make-usage): Remove leading underscores.
21359 (describe-function-1): Handle closures.
21360 (describe-variable): Use special-variable-p for completion.
21361
21362 * files.el (lexical-binding): Declare safe.
21363
21364 * emacs-lisp/pcase.el: Don't use destructuring-bind.
21365 (pcase--memoize): Rename from pcase-memoize. Change weakness.
21366 (pcase): Add `let' pattern.
21367 Change memoization so it actually works.
21368 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
21369 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
21370 <let>: New case.
21371
21372 * emacs-lisp/macroexp.el: Use lexical binding.
21373 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
21374 Don't convert ' to #' without checking that it's indeed quoting
21375 a lambda.
21376
21377 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
21378 Use eval-sexp-add-defvars.
21379 (eval-sexp-add-defvars): New fun.
21380
21381 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
21382
21383 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
21384 Don't autoload.
21385 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
21386 than the internal `byte-compile-lambda'.
21387 (defmethod): Don't hide code under quotes.
21388 (eieio-defmethod): New `code' argument.
21389
21390 * emacs-lisp/eieio-comp.el: Remove.
21391
21392 * emacs-lisp/edebug.el (edebug-eval-defun)
21393 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
21394 (edebug-toggle): Avoid `eval'.
21395
21396 * emacs-lisp/disass.el (disassemble-internal): Handle new
21397 `closure' objects.
21398 (disassemble-1): Handle new byte codes.
21399
21400 * emacs-lisp/cl.el (pushnew): Silence warning.
21401
21402 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
21403 (cl-byte-compile-throw): Remove.
21404 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
21405
21406 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
21407 closures.
21408
21409 * emacs-lisp/cconv.el: New file.
21410
21411 * emacs-lisp/bytecomp.el: Use lexical binding instead of
21412 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
21413 (byte-compile-initial-macro-environment):
21414 Handle declare-function here.
21415 (byte-compile--lexical-environment): New var.
21416 (byte-stack-ref, byte-stack-set, byte-discardN)
21417 (byte-discardN-preserve-tos): New lap codes.
21418 (byte-interactive-p): Don't use any more.
21419 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
21420 New macros.
21421 (byte-compile-lapcode): Use them and handle new lap codes.
21422 (byte-compile-obsolete): Remove.
21423 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
21424 (byte-compile-arglist-warn): Check late def of inlinable funs.
21425 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
21426 since they should have been expanded by now.
21427 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
21428 (byte-compile-from-buffer): Remove unused second arg.
21429 (byte-compile-preprocess): New function.
21430 (byte-compile-toplevel-file-form): New function to distinguish
21431 file-form calls from outside from file-form calls from hunk-handlers.
21432 (byte-compile-file-form): Simplify.
21433 (byte-compile-file-form-defsubst): Remove.
21434 (byte-compile-file-form-defmumble): Simplify now that
21435 byte-compile-lambda always returns a byte-code-function.
21436 (byte-compile): Preprocess.
21437 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
21438 Remove, not used any more.
21439 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
21440 (byte-compile-make-args-desc): New funs.
21441 (byte-compile-lambda): Handle lexical functions. Always return
21442 a byte-code-function.
21443 (byte-compile-reserved-constants): New var, to make up room for
21444 closed-over variables.
21445 (byte-compile-constants-vector): Obey it.
21446 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
21447 (byte-compile-macroexpand-declare-function): New function.
21448 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
21449 byte-code-functions.
21450 (byte-compile-form): Check obsolescence here.
21451 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
21452 (byte-compile-variable-ref): Remove.
21453 (byte-compile-dynamic-variable-op): New fun.
21454 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
21455 (byte-compile-variable-set): New funs.
21456 (byte-compile-discard): Add 2 args.
21457 (byte-compile-stack-ref, byte-compile-stack-set)
21458 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
21459 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
21460 macroexpand-all instead.
21461 (byte-compile-quote-form): Remove.
21462 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
21463 (byte-compile-bind, byte-compile-unbind): New funs.
21464 (byte-compile-let): Handle let* and lexical binding.
21465 (byte-compile-let*): Remove.
21466 (byte-compile-catch, byte-compile-unwind-protect)
21467 (byte-compile-track-mouse, byte-compile-condition-case):
21468 Handle a new :fun-body form, used for lexical scoping.
21469 (byte-compile-save-window-excursion)
21470 (byte-compile-with-output-to-temp-buffer): Remove.
21471 (byte-compile-defun): Simplify.
21472 (byte-compile-stack-adjustment): New fun.
21473 (byte-compile-out): Use it.
21474 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
21475
21476 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
21477 handler any more.
21478
21479 * emacs-lisp/byte-opt.el: Use lexical binding.
21480 (byte-inline-lapcode): Remove (to bytecomp).
21481 (byte-compile-inline-expand): Pay attention to inlining to/from
21482 lexically bound code.
21483 (byte-compile-unfold-lambda): Don't handle byte-code-functions
21484 any more.
21485 (byte-optimize-form-code-walker): Don't handle save-window-excursion
21486 any more and don't call compiler-macros.
21487 (byte-compile-splice-in-already-compiled-code): Remove.
21488 (byte-code): Don't inline any more.
21489 (disassemble-offset): Receive `bytes' as argument rather than via
21490 dynamic scoping.
21491 (byte-compile-tag-number): Declare before first use.
21492 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
21493 `return' even if make-spliceable.
21494 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
21495 obsolete interactive-p.
21496 (byte-optimize-lapcode): Optimize new lap-codes.
21497 Don't trip up on new form of `byte-constant' lap code.
21498
21499 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
21500
21501 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
21502
21503 * custom.el (custom-initialize-default, custom-declare-variable):
21504 Use `defvar'.
21505
21506 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
21507 New variables.
21508 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
21509 (COMPILE_FIRST): Add macroexp and cconv.
21510 * makefile.w32-in: Mirror changes in Makefile.in.
21511
21512 * vc/cvs-status.el:
21513 * vc/diff-mode.el:
21514 * vc/log-edit.el:
21515 * vc/log-view.el:
21516 * vc/smerge-mode.el:
21517 * textmodes/bibtex-style.el:
21518 * textmodes/css-mode.el:
21519 * startup.el:
21520 * uniquify.el:
21521 * minibuffer.el:
21522 * newcomment.el:
21523 * reveal.el:
21524 * server.el:
21525 * mpc.el:
21526 * emacs-lisp/smie.el:
21527 * doc-view.el:
21528 * dired.el:
21529 * abbrev.el: Use lexical binding.
21530
21531 2011-04-01 Eli Zaretskii <eliz@gnu.org>
21532
21533 * info.el (info-display-manual): New function.
21534
21535 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
21536
21537 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
21538
21539 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
21540
21541 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
21542 an entry for that server in rcirc-authinfo. (Bug#8385)
21543
21544 2011-03-31 Glenn Morris <rgm@gnu.org>
21545
21546 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
21547
21548 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
21549
21550 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
21551
21552 * progmodes/python.el (python-default-interpreter)
21553 (python-python-command-args, python-jython-command-args)
21554 (python-which-shell, python-which-args, python-which-bufname)
21555 (python-file-queue, python-comint-output-filter-function)
21556 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
21557 variables and functions.
21558
21559 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
21560
21561 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
21562 (completion-in-region-mode): New minor mode.
21563 (completion-in-region): Use it.
21564 (completion-in-region--data, completion-in-region-mode-map): New vars.
21565 (completion-in-region--postch): New function.
21566 (completion--capf-misbehave-funs, completion--capf-safe-funs):
21567 New vars.
21568 (completion--capf-wrapper): New function.
21569 (completion-at-point): Use it to track well-behavedness of
21570 hook functions.
21571 (completion-help-at-point): New command.
21572
21573 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
21574
21575 * vc/add-log.el (add-change-log-entry): Don't use whitespace
21576 syntax class to search for whitespace on a single line
21577 (Message-ID: <4D938140.4030905@redhat.com>).
21578
21579 2011-03-30 Leo Liu <sdl.web@gmail.com>
21580
21581 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
21582 New commands.
21583 (edit-abbrevs-map): Bind them here.
21584 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
21585
21586 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
21587
21588 * allout.el (allout-hide-by-annotation, allout-flag-region):
21589 Reduce possibility of overlay leakage by making them volatile.
21590
21591 * allout-widgets.el (allout-widgets-tally): Define as nil so the
21592 hash is not shared between buffers. Mode initialization is
21593 responsible for giving it a useful starting value.
21594 (allout-item-span): Reduce possibility of overlay leakage by
21595 making them volatile.
21596 (allout-widgets-count-buttons-in-region): Add diagnostic function
21597 for tracking down button overlay leaks.
21598
21599 2011-03-29 Leo Liu <sdl.web@gmail.com>
21600
21601 * ido.el (ido-read-internal): Use the default history var
21602 minibuffer-history if no HISTORY is specified.
21603
21604 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
21605
21606 * net/imap.el (imap-shell-open, imap-process-connection-type):
21607 Use imap-process-connection-type for 'shell' streams as well as
21608 Kerberos, SSL, other subprocesses.
21609
21610 2011-03-28 Leo Liu <sdl.web@gmail.com>
21611
21612 * abbrev.el (abbrev-table-empty-p): New function.
21613 (prepare-abbrev-list-buffer): Place empty abbrev tables after
21614 nonempty ones. (Bug#5937)
21615
21616 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
21617
21618 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
21619
21620 2011-03-27 Leo Liu <sdl.web@gmail.com>
21621
21622 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
21623 for foreground and background colors.
21624 (ansi-color-make-color-map): Adapt.
21625
21626 2011-03-25 Leo Liu <sdl.web@gmail.com>
21627
21628 * midnight.el (midnight-time-float): Remove. Note it calculates
21629 the microsecond component incorrectly and seconds-to-time does the
21630 same job.
21631 Remove redundant (require 'timer).
21632
21633 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
21634 (ido-completions): Remove unused arguments. (Bug#8329)
21635
21636 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
21637
21638 * minibuffer.el (completion--flush-all-sorted-completions):
21639 Remove itself from hook.
21640 (completion-at-point): Let the functions perform the completion
21641 immediately and return nil or t.
21642 * comint.el (comint-dynamic-complete-functions): Now identical to
21643 completion-at-point-functions.
21644 (comint-dynamic-list-input-ring): Remove unused var `index'.
21645 (comint--match-partial-filename, comint--unquote&expand-filename):
21646 New funs, split from comint-match-partial-filename.
21647 (comint-dynamic-complete): Use completion-at-point.
21648 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
21649
21650 2011-03-24 Drew Adams <drew.adams@oracle.com>
21651
21652 * thingatpt.el: Support `defun'.
21653
21654 2011-03-23 Leo Liu <sdl.web@gmail.com>
21655
21656 * abbrevlist.el: Move to obsolete/abbrevlist.el.
21657
21658 * help-mode.el (help-mode-finish): Tweak regexp.
21659
21660 2011-03-23 Glenn Morris <rgm@gnu.org>
21661
21662 * eshell/esh-opt.el (eshell-eval-using-options):
21663 Do not bind unused local variable `eshell-option-stub'.
21664
21665 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
21666
21667 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
21668
21669 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
21670 keymap variable in `with-no-warnings' to avoid a warning when the
21671 keymap has been already `defconst'ed.
21672
21673 2011-03-22 Leo Liu <sdl.web@gmail.com>
21674
21675 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
21676 encode all chars in abbrevs; otherwise use emacs-mule or
21677 utf-8-emacs. (Bug#8308)
21678
21679 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
21680
21681 * simple.el (backward-delete-char-untabify):
21682 Avoid warning about using `delete-backward-char'.
21683
21684 * image.el (image-type-file-name-regexps): Make it variable.
21685 `imagemagick-register-types' modifies it, and the user may want
21686 to add new extensions for known image types.
21687 (imagemagick-register-types): Throw error if not using ImageMagick.
21688
21689 2011-03-22 Leo Liu <sdl.web@gmail.com>
21690
21691 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
21692 located before rcirc-prompt-end-marker.
21693 (rcirc-complete): Error if point is not after rcirc prompt.
21694 Handle the case when table is nil.
21695 (rcirc-user-authenticated): Define to fix compiler warning.
21696
21697 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
21698
21699 * custom.el (custom--inhibit-theme-enable): Make it affect only
21700 custom-theme-set-variables and custom-theme-set-faces.
21701 (provide-theme): Ignore custom--inhibit-theme-enable.
21702 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
21703 (custom-enabling-themes): Delete variable.
21704 (enable-theme): Accept only loaded themes as arguments.
21705 Ignore the special custom-enabled-themes variable.
21706 (custom-enabled-themes): Forbid themes from setting this.
21707 Eliminate use of custom-enabling-themes.
21708 (custom-push-theme): Quote "changed" custom var entry.
21709
21710 2011-03-21 Leo Liu <sdl.web@gmail.com>
21711
21712 * ido.el (ido-read-internal): Add ido-selected to history instead
21713 of user input.
21714
21715 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
21716
21717 * subr.el (deferred-action-list, deferred-action-function):
21718 Mark obsolete.
21719
21720 2011-03-21 Leo Liu <sdl.web@gmail.com>
21721
21722 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
21723 change on 2011-02-13 (bug#8309).
21724
21725 * minibuffer.el (read-file-name-function): Change default value.
21726 (read-file-name--defaults): Rename from read-file-name-defaults.
21727 (read-file-name-default): Rename from read-file-name.
21728 (read-file-name): Call read-file-name-function.
21729
21730 2011-03-21 Glenn Morris <rgm@gnu.org>
21731
21732 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
21733 Doc fixes.
21734
21735 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
21736
21737 * cus-theme.el: Add missing provide statement.
21738 (customize-create-theme): Extract theme value correctly.
21739 (custom-theme-visit-theme): Autoload.
21740 (customize-create-theme): Prompt before inserting default faces.
21741
21742 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
21743
21744 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
21745 units and musical notes.
21746
21747 2011-03-20 Leo Liu <sdl.web@gmail.com>
21748
21749 * ido.el (ido-read-internal): Use completing-read-default.
21750 (ido-completing-read): Fix compatibility with completing-read.
21751
21752 2011-03-20 Christian Ohler <ohler@gnu.org>
21753
21754 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
21755 (ert-delete-all-tests): Use `called-interactively-p' rather than
21756 `interactive-p'.
21757 (ert--make-xrefs-region): Respect END.
21758
21759 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
21760
21761 * dired-aux.el (dired-create-directory): Signal an error if the
21762 directory already exists (Bug#8246).
21763
21764 * facemenu.el (list-colors-display): Call list-faces-display
21765 inside with-help-window.
21766 (list-colors-print): Use display property to align the final
21767 column, instead of checking window-width.
21768
21769 2011-03-19 Eli Zaretskii <eliz@gnu.org>
21770
21771 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
21772 windows-nt systems.
21773 (emerge-protect-metachars): Quote correctly for ms-dos and
21774 windows-nt systems.
21775
21776 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
21777
21778 * info.el (info-initialize): Replace all uses of `:' with
21779 path-separator for compatibility with non-Unix systems.
21780 Cache quoting of path-separator. (Bug#8258)
21781
21782 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
21783
21784 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
21785 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
21786 (mouse-avoidance-mode): Fix typos in docstrings.
21787
21788 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
21789
21790 * startup.el (package-subdirectory-regexp): Move from package.el.
21791 Omit \\` and \\', and let callers add them.
21792
21793 * emacs-lisp/package.el (package-strip-version)
21794 (package-load-all-descriptors): Add \\` and \\' to
21795 package-subdirectory-regexp before using it.
21796 (package-untar-buffer): New arg DIR; ensure that file untars only
21797 into this expected directory. Remove superfluous delete-region.
21798 (package-unpack): Caller changed.
21799 (package-tar-file-info): Use package-subdirectory-regexp.
21800
21801 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
21802
21803 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
21804 diff-mode-shared-map (bug#8284).
21805 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
21806
21807 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
21808
21809 * calendar/time-date.el (format-seconds): Use assoc instead of
21810 assoc-string, since assoc-string doesn't exist in XEmacs.
21811
21812 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
21813
21814 * custom.el (custom-known-themes): Reflow docstring.
21815 (custom-theme-load-path): Fix typo in docstring.
21816 (load-theme): Fix typo in error message.
21817 (custom-available-themes, custom-variable-theme-value):
21818 Use `let', not `let*'.
21819
21820 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
21821
21822 * calc/README: Mention inclusion of musical notes.
21823
21824 * calc/calc-units.el (calc-lu-quant): Rename from
21825 `calc-logunits-quantity'.
21826 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
21827 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
21828 (calc-db): Rename from `calc-dblevel'.
21829 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
21830 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
21831 (calc-np): Rename from `calc-nplevel'.
21832 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
21833 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
21834 (calc-lu-plus): Rename from `calc-logunits-add'.
21835 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
21836 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
21837 (calc-lu-minus): Rename from `calc-logunits-sub'.
21838 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
21839 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
21840 (calc-lu-times): Rename from `calc-logunits-mul'.
21841 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
21842 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
21843 (calc-lu-divide): Rename from `calc-logunits-div'.
21844 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
21845 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
21846
21847 * calc/calc-ext.el (calc-init-extensions): Update the names of the
21848 functions being autoloaded.
21849
21850 * calc/calc.el (calc-lu-power-reference): Rename from
21851 `calc-logunits-power-reference'.
21852 (calc-lu-field-reference): Rename from
21853 `calc-logunits-field-reference'.
21854
21855 * calc/calc-help.el (calc-l-prefix-help):
21856 Mention musical note functions.
21857
21858 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
21859
21860 * minibuffer.el (completion-all-sorted-completions):
21861 Use :completion-cycle-penalty text property if present.
21862
21863 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
21864
21865 * allout.el (allout-yank-processing): Adjust for new rebulleting
21866 regime so bullet being yanked is used without prompting the user
21867 for a choice.
21868
21869 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
21870
21871 * startup.el (command-line): Warn the user that _emacs is deprecated.
21872
21873 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
21874
21875 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
21876 (delphi-verbose, delphi-comment-face, delphi-string-face)
21877 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
21878 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
21879 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
21880 (delphi-new-comment-line, delphi-font-lock-defaults)
21881 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
21882 Fix typos in docstrings.
21883
21884 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
21885
21886 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
21887 Invert the roles of character and string values for INSTEAD, so a
21888 string is used for the more common case of a defaulting prompt.
21889
21890 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
21891
21892 * progmodes/ruby-mode.el (ruby-backward-sexp):
21893 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
21894 * play/gamegrid.el (gamegrid-make-face):
21895 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
21896 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
21897 * notifications.el (notifications-notify):
21898 * net/xesam.el (xesam-search-engines):
21899 * net/quickurl.el (quickurl-list-insert):
21900 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
21901
21902 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
21903
21904 * startup.el (command-line): Update package subdirectory regexp.
21905
21906 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
21907
21908 * allout.el (allout-abbreviate-flattened-numbering)
21909 (allout-mode-deactivate-hook): Fix up obsolescence "date".
21910
21911 * subr.el (read-char-choice): Only show the cursor after the prompt,
21912 not after the answer.
21913
21914 2011-03-15 Kevin Ryde <user42@zip.com.au>
21915
21916 * help-fns.el (variable-at-point): Skip leading quotes, if any
21917 (bug#8253).
21918
21919 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
21920
21921 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
21922 warning message.
21923
21924 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
21925
21926 * shell.el (shell): When called interactively, offer to change the
21927 shell file name on remote hosts.
21928
21929 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
21930
21931 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
21932 integration for LDAP parameters. The host, base, user or binddn,
21933 and secret tokens can be specified in a netrc file, for instance.
21934 This is optional because an `auth-source' parameter must be
21935 specified in the search attributes.
21936
21937 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
21938
21939 * help.el (describe-mode): Link to the mode's definition (bug#8185).
21940
21941 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
21942
21943 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
21944 into declaration. Remove redundant and harmful binding.
21945
21946 2011-03-12 Eli Zaretskii <eliz@gnu.org>
21947
21948 * files.el (file-ownership-preserved-p): Pass `integer' as an
21949 explicit 2nd argument to `file-attributes'. If the file's owner
21950 is the Administrators group on Windows, and the current user is
21951 Administrator, consider that a match.
21952
21953 * server.el (server-ensure-safe-dir): Consider server directory
21954 safe on MS-Windows if its owner is the Administrators group while
21955 the current Emacs user is Administrator. Use `=' to compare
21956 numerical UIDs, since they could be integers or floats.
21957
21958 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
21959
21960 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
21961
21962 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
21963
21964 Sync with Tramp 2.2.1.
21965
21966 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
21967
21968 * net/trampver.el: Update release number.
21969
21970 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
21971
21972 * progmodes/compile.el (compilation--previous-directory): Fix up
21973 various nil/dead-marker mismatches (bug#8014).
21974 (compilation-directory-properties, compilation-error-properties):
21975 Don't call it at a position past the one we're about to change.
21976
21977 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
21978 Disable obsolescence warnings in the file that declares it.
21979
21980 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
21981
21982 * allout-widgets.el (allout-widgets-tally):
21983 Initialize allout-widgets-tally as a hash table rather than nil to
21984 prevent mode-line redisplay warnings. Also, clarify the module
21985 description and fix a comment typo.
21986
21987 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
21988
21989 * help-fns.el (describe-variable): Don't complete keywords.
21990 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
21991
21992 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
21993
21994 * emacs-lisp/package.el (package-version-join): Impose a standard
21995 string representation for pre/alpha/beta version lists.
21996 (package-unpack-single): Standardize the directory name by passing
21997 it through package-version-join.
21998 (package-strip-rcs-id): Accept any version string that does not
21999 signal an error in version-to-list.
22000
22001 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
22002
22003 * simple.el (delete-trailing-whitespace): Return nil for the
22004 benefit of `write-file-functions'.
22005
22006 2011-03-10 Glenn Morris <rgm@gnu.org>
22007
22008 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
22009
22010 * vc/vc-git.el (vc-git-program): New option.
22011 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
22012 (vc-git--call): Use it.
22013
22014 * eshell/esh-util.el (eshell-condition-case): Doc fix.
22015
22016 * cus-edit.el (Custom-newline): If no button at point, look
22017 for a subgroup button at start-of-line. (Bug#2298)
22018
22019 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
22020
22021 2011-03-10 Julien Danjou <julien@danjou.info>
22022
22023 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
22024 `cursor-type' is nil.
22025
22026 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
22027
22028 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
22029
22030 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
22031
22032 * allout.el: Change so yank of distinctive-bullet items
22033 preserves the existing header prefix, rebulleting it if necessary,
22034 rather than replacing it. This is necessary for proper operation
22035 of cooperative addons like allout-widgets.
22036 (allout-make-topic-prefix, allout-rebullet-heading):
22037 Change SOLICIT arg to INSTEAD, and interpret additionally a string
22038 value as alternate bullet to be used, instead of prompting the user
22039 for a bullet character.
22040
22041 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
22042
22043 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
22044 Do not use `tramp-file-name-port', because this returns also
22045 `tramp-default-port'.
22046
22047 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
22048
22049 * net/rcirc.el (rcirc-handler-001): Remove useless
22050 with-rcirc-process-buffer.
22051 (rcirc-check-auth-status): Swap arguments to string-match.
22052
22053 2011-03-09 Glenn Morris <rgm@gnu.org>
22054
22055 * shell.el (shell-mode):
22056 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
22057
22058 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
22059 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
22060
22061 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
22062
22063 * emacs-lisp/package.el (package-refresh-contents)
22064 (package-menu-execute): Use condition-case-no-debug.
22065
22066 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
22067
22068 * simple.el (shell-command-to-string): Use `process-file'.
22069
22070 * emacs-lisp/package.el (package-tar-file-info): Handle also
22071 remote files.
22072
22073 * emacs-lisp/package-x.el (package-upload-buffer-internal):
22074 Use `equal' for upload base check.
22075
22076 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
22077
22078 * textmodes/texinfo.el (texinfo-environments):
22079 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
22080
22081 2011-03-08 Glenn Morris <rgm@gnu.org>
22082
22083 * cus-start.el (cursor-in-non-selected-windows):
22084 Fix :set quoting oddness. (Bug#8192)
22085
22086 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
22087 in some setf expressions. (Bug#2159)
22088
22089 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
22090
22091 * custom.el (custom-available-themes): Return themes in
22092 alphabetical order.
22093
22094 See ChangeLog.15 for earlier changes.
22095
22096 ;; Local Variables:
22097 ;; coding: utf-8
22098 ;; End:
22099
22100 Copyright (C) 2011-2012 Free Software Foundation, Inc.
22101
22102 This file is part of GNU Emacs.
22103
22104 GNU Emacs is free software: you can redistribute it and/or modify
22105 it under the terms of the GNU General Public License as published by
22106 the Free Software Foundation, either version 3 of the License, or
22107 (at your option) any later version.
22108
22109 GNU Emacs is distributed in the hope that it will be useful,
22110 but WITHOUT ANY WARRANTY; without even the implied warranty of
22111 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22112 GNU General Public License for more details.
22113
22114 You should have received a copy of the GNU General Public License
22115 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.