Improve completion behavior of info-display-manual.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
04b14f2b
CY
12012-12-05 Chong Yidong <cyd@gnu.org>
2
3 * info.el (info-display-manual): Add existing Info buffers, whose
4 files may not be in Info-directory-list, to the completion.
5 (info--manual-names): New helper function.
6
49596095
GM
72012-12-05 Glenn Morris <rgm@gnu.org>
8
9 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
10 New functions, for detecting and resolving conflicts. (Bug#10709)
11
b85aec93
J
122012-12-04 Jambunathan K <kjambunathan@gmail.com>
13
14 * hi-lock.el (hi-lock-auto-select-face): New user variable.
15 (hi-lock-auto-select-face-defaults): New buffer local variable.
16 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
17 (hi-lock-unface-buffer): Prompt user with useful defaults.
18 With prefix arg, unhighlight all hi-lock patterns in buffer.
19
8515507f
SM
202012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
21
22 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
23
72cebfb7
MA
242012-12-04 Michael Albinus <michael.albinus@gmx.de>
25
26 * Makefile.in (TRAMP_SRC):
27 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
28
0ec3f7ea
JH
292012-12-04 Juergen Hoetzel <juergen@archlinux.org>
30
31 * net/tramp-adb.el: New package.
32
770de7cf
CY
332012-12-04 Chong Yidong <cyd@gnu.org>
34
ce3e7725
CY
35 * terminal.el: Move to obsolete/.
36
770de7cf
CY
37 * longlines.el: Move to obsolete/.
38
39 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
40 Remove code referring to longlines mode.
41
c38a186c
JL
422012-12-03 Juri Linkov <juri@jurta.org>
43
44 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
45
329bfd64
AM
462012-12-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
47
48 * textmodes/ispell.el (ispell-init-process)
475eea6f
AM
49 (ispell-start-process, ispell-internal-change-dictionary):
50 Make sure personal dictionary name is expanded after initial
51 `default-directory' value. Use expanded strings for
52 keep/restart checks and for value (Bug#13019).
329bfd64 53
77a74935
JB
542012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
55
56 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
57
c5bc2d1d 582012-12-03 Leo Liu <sdl.web@gmail.com>
ff3d86d0
LL
59
60 * files.el (dir-locals-read-from-file): Check file non-empty
61 before reading. (Bug#13038)
62
c5bc2d1d 632012-12-03 Glenn Morris <rgm@gnu.org>
6247eff5
GM
64
65 * jka-cmpr-hook.el (jka-compr-get-compression-info):
66 Remove any version extension before checking filename. (Bug#13006)
67 (jka-compr-compression-info-list): Belated :version bump.
68
c5bc2d1d 692012-12-03 Chong Yidong <cyd@gnu.org>
a5bf43ba 70
8ecba97d
CY
71 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
72
a5bf43ba
CY
73 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
74 (buffer-menu): Doc fix (Bug#12294).
75
c5bc2d1d 762012-12-03 Roland Winkler <winkler@gnu.org>
34755291
RW
77
78 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
79 of diary-show-all-entries in the diary buffer (Bug#12994).
80
c5bc2d1d 812012-12-03 Michael Albinus <michael.albinus@gmx.de>
c2f5b60a
MA
82
83 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
84 "<STDIN>". This is binary safe.
85
682ceaf8
JB
862012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
87
88 * calc/calc-forms.el (math-absolute-from-iso-dt)
89 (math-date-to-iso-dt, math-parse-iso-date-validate)
90 (math-iso-dt-to-date): New functions.
91 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
92 (math-fd-isoweekday): New variables.
93 (calc-date-notation, math-parse-standard-date, math-format-date)
94 (math-format-date-part): Add support for more formatting codes.
95
db47d5e9
DG
962012-12-02 Dmitry Gutov <dgutov@yandex.ru>
97
98 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
99 current buffer's file name when called interactively (Bug#12488).
100
3faf4944
JL
1012012-12-02 Juri Linkov <juri@jurta.org>
102
103 * info.el (info-display-manual): Don't clobber an existing Info
010db6da 104 buffer (Bug#10770). Add completion (Bug#10771).
3faf4944 105
cb5d51dc
YN
1062012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
107
108 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
109 before using it for comparison (Bug#5297).
110
f38cd76e
JA
1112012-12-01 Jari Aalto <jari.aalto@cante.net>
112
113 * textmodes/css-mode.el (css-current-defun-name): New function.
114 (css-mode): Use it.
115
116 * textmodes/sgml-mode.el (html-current-defun-name): New function.
117 (html-mode): Use it.
118
ba03d0d9
CY
1192012-12-01 Chong Yidong <cyd@gnu.org>
120
121 Modularize add-log-current-defun (Bug#2224).
122 Suggested by Jari Aalto.
123
124 * vc/add-log.el (add-log-current-defun-function): Doc fix.
125 (add-log-current-defun): Move mode-specific code to other files.
126 (add-log-lisp-like-modes, add-log-c-like-modes)
127 (add-log-tex-like-modes): Variables deleted.
128
129 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
130 (lisp-mode-variables): Use it.
131
132 * progmodes/cc-mode.el (c-common-init):
133 * progmodes/cperl-mode.el (cperl-mode): Set a value for
134 add-log-current-defun-function.
135
136 * progmodes/m4-mode.el (m4-current-defun-name): New function.
137 (m4-mode): Use it.
138
139 * progmodes/perl-mode.el (perl-current-defun-name): New.
140 (perl-mode): Use it.
141
142 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode): Use
143 lisp-current-defun-name.
144
145 * textmodes/tex-mode.el (tex-current-defun-name): New.
146 (tex-common-initialization): Use it.
147
148 * textmodes/texinfo.el (texinfo-current-defun-name): New.
149 (texinfo-mode): Use it.
150
92eadba5
CY
1512012-12-01 Chong Yidong <cyd@gnu.org>
152
153 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
154 * progmodes/autoconf.el (autoconf-mode):
155 * progmodes/js.el (js-mode):
156 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
157 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
158 * progmodes/perl-mode.el (perl-mode):
159 * progmodes/sh-script.el (sh-mode, sh-set-shell):
160 * textmodes/css-mode.el (css-mode):
161 * textmodes/sgml-mode.el (html-mode, sgml-mode)
162 (sgml-tags-invisible, sgml-guess-indent):
163 * textmodes/tex-mode.el (tex-common-initialization)
164 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
165 (doctex-mode, plain-tex-mode, latex-mode):
166 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
167
3ddbf803
KK
1682012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
169
170 * vc/vc-hg.el (vc-hg-next-revision):
171 Ensure use of default "tip" output format. (Bug#6968)
172
f0b6ae63
KS
1732012-12-01 Kim F. Storm <storm@cua.dk>
174
175 * startup.el (fancy-startup-tail): Add a clickable link
176 (Bug#2176).
177
c01bf73e
CY
1782012-12-01 Chong Yidong <cyd@gnu.org>
179
180 * startup.el (fancy-startup-tail): Improve the message about
181 auto-save files (Bug#2176).
182
f0b6ae63
KS
183 * files.el (recover-session): Improve the descriptive message, and
184 use substitute-command-keys.
185
a9400458
GM
1862012-12-01 Glenn Morris <rgm@gnu.org>
187
188 * ido.el (ido-file-internal):
189 Handle other-window, other-frame for dired. (Bug#13036)
190
fb3bf6ce
GM
1912012-11-30 Glenn Morris <rgm@gnu.org>
192
193 * icomplete.el (icomplete-separator): Fix :version.
194
a813fe3f
CY
1952012-11-30 Chong Yidong <cyd@gnu.org>
196
197 * shell.el (shell): For C-u M-x shell, use an inactive shell
198 buffer as the default (Bug#1975).
276479fd
CY
199 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
200 (shell-mode): Use them to reapply ansi colorization if Shell mode
201 is re-enabled.
a813fe3f 202
a8b733a5
CY
2032012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
204
205 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
206
6fccd6e8
SB
2072012-11-30 Samuel Bronson <naesten@gmail.com>
208
209 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
210 flag to xargs, for compatibility with BSD xargs (Bug#11703).
211
53c9a337
TT
2122012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
213
214 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
215 by move-to-column (Bug#3234).
216
ccf520bb
CY
2172012-11-30 Chong Yidong <cyd@gnu.org>
218
219 * longlines.el (longlines-wrap-line, longlines-encode-region):
220 Preserve text properties (Bug#1425).
221
171b0949
OT
2222012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
223
224 * vc/vc.el (vc-register): Allow registering a file which is
225 already registered with a different backend (Bug#10589).
226
cc37e70f
J
2272012-11-29 Jambunathan K <kjambunathan@gmail.com>
228 Stefan Monnier <monnier@iro.umontreal.ca>
229
230 * icomplete.el: Change separator; add ido-style commands.
231 (icomplete-show-key-bindings): Remove custom var.
232 (icomplete-get-keys): Remove function.
233 (icomplete-forward-completions, icomplete-backward-completions):
234 New commands.
235 (icomplete-minibuffer-map): New var.
236 (icomplete-minibuffer-setup): Use it.
237 (icomplete-exhibit): Don't delay if the list of completions is known.
238 (icomplete-separator): New custom.
239 (icomplete-completions): Use it.
240 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
241 (minibuffer-force-complete-and-exit): New command.
242 (minibuffer--complete-and-exit): New function extracted from
243 minibuffer-complete-and-exit.
244 (minibuffer-complete-and-exit): Use it.
83e12fe0
SM
245
246 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
247 error message when the file doesn't exist (bug#12974).
248
31646597
KD
2492012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
250
251 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
252
e9df8f87
GM
2532012-11-29 Glenn Morris <rgm@gnu.org>
254
824eefe4
GM
255 * files.el (hack-dir-local-variables): Warn if try to set
256 coding via dir-locals, since it doesn't work. (Bug#7169)
257
4ad900d9
GM
258 Add desktop support for restoring vc-dir buffers. (Bug#10606)
259 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
260 Set buffer-local value of desktop-save-buffer.
261 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
262 New functions.
263 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
264 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
265
e9df8f87
GM
266 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
267 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
268 Doc fix.
269 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
270 Doc fixes.
271
e7c8fcc4
JB
2722012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
273
274 * calc/calc-forms.el (calc-date-notation): Fix regexp
275 used to find time codes. Fix symbol for seconds.
276
48d6d9c0
GM
2772012-11-27 Glenn Morris <rgm@gnu.org>
278
279 * emacs-lisp/derived.el (derived-mode-make-docstring):
280 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
281
369f945d
SM
2822012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
283
284 * textmodes/table.el (table-insert): Don't use `symbol-name' on
285 lexically scoped variables (bug#13005).
286
5c9cf0a3 2872012-11-27 Glenn Morris <rgm@gnu.org>
98f99594 288
999e745e
GM
289 * vc/vc-hooks.el (vc-mistrust-permissions):
290 Default to t, to avoid data-loss. (Bug#11490)
98f99594 291
5c9cf0a3 2922012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
207cb73c 293
999e745e
GM
294 * progmodes/python.el (python-indent-guess-indent-offset):
295 If indentation is guessed make python-indent-offset buffer-local.
296
207cb73c 297 Fix Imenu regression.
999e745e
GM
298 * progmodes/python.el (python-nav-beginning-of-defun):
299 Fix forward movement when statement(s) separates point from defun.
207cb73c
FEG
300 (python-imenu-prev-index-position): New function.
301
5c9cf0a3 3022012-11-27 Eli Zaretskii <eliz@gnu.org>
33a488e4
EZ
303
304 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
305
306 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
865f7d8f 307 Don't set buffer-file-type. Return nil. (Bug#12989)
33a488e4 308
5c9cf0a3 3092012-11-27 Glenn Morris <rgm@gnu.org>
50207191
GM
310
311 * hippie-exp.el (hippie-expand-try-functions-list):
312 Re-autoload it. (Bug#12982)
313
5c9cf0a3 3142012-11-27 Eli Zaretskii <eliz@gnu.org>
2147c6ab 315
369f945d
SM
316 * descr-text.el (describe-char-padded-string):
317 Call internal-char-font only on GUI frames. (Bug#11964)
2147c6ab 318
5c9cf0a3 3192012-11-27 Andreas Schwab <schwab@linux-m68k.org>
58b1ae1e
AS
320
321 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
322 and obsoletion message.
323
5c9cf0a3 3242012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
35a10516
SM
325
326 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
327 the constructs to keep outside of the `cl-block' (bug#12977).
328
5c9cf0a3 3292012-11-27 Chong Yidong <cyd@gnu.org>
0c5ef133
CY
330
331 * mouse.el (mouse-drag-line): Even if the line is not draggable,
332 keep reading until we get the up-event anyway, in order to process
333 the up-event for mouse-1-click-follows-link (Bug#12971).
334
848a2dd1
SM
3352012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
336
337 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
338 base function is not yet defined (bug#12965).
339 (ad-activate-advised-definition): Use ad-compile-function.
340 (ad-activate): Use cond.
341
9ad79506
LL
3422012-11-25 Leo Liu <sdl.web@gmail.com>
343
344 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
345 (Bug#12979)
346
e2cb57f5
VB
3472012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
348
349 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
350 reftex-section-info-function in order to be compatible with
351 Texinfo integration.
352
353 * textmodes/reftex.el (reftex-section-pre-regexp)
848a2dd1
SM
354 (reftex-section-post-regexp, reftex-section-info-function):
355 New variable.
356 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
357 reftex-section-post-regexp, and reftex-section-info-function in order
358 to be compatible with Texinfo integration.
359
360 * textmodes/reftex-toc.el (reftex-toc-promote-action):
361 use reftex-section-pre-regexp variable in order to be compatible with
e2cb57f5
VB
362 Texinfo integration.
363
1c4f115d
CY
3642012-11-25 Chong Yidong <cyd@gnu.org>
365
366 * faces.el: Make face-spec-set more analogous to setq.
367 (face-spec-set): Change the third arg to specify whether this
368 function is being called via defface, customize, or a third party.
369 Set the appropriate symbol properties. Clear the override spec if
370 setting via Custom. Initialize face if necessary. (Bug#4988)
371 (face-spec-recalc): Allow theme faces to completely replace the
372 defface spec, in the same way as custom faces (Bug#8454).
373
374 * cus-face.el (custom-declare-face): Move face initialization to
375 face-spec-set.
376 (custom-theme-set-faces): Don't initialize the face name here, as
377 that is now done in face-spec-set.
378
379 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
380 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
381 Simplify by using the new arg to face-spec-set.
382
383 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
384 reset face-override-spec too, and use custom-declare-face.
385
c2350548
JD
3862012-11-24 Jan Djärv <jan.h.d@swipnet.se>
387
388 * term/ns-win.el (ns-initialize-window-system): Move creation of
389 fontsets here (Bug#11964).
390
ecfc364c
VB
3912012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
392
393 * ses.el (ses-rename-cell): Correct bug on mode-line update after
394 cell renaming.
395
0917cc54
CY
3962012-11-24 Chong Yidong <cyd@gnu.org>
397
433212bf
CY
398 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
399 obsolete.
400
0917cc54
CY
401 * custom.el (custom-theme-set-variables): Use a topological sort
402 for ordering by custom dependencies (Bug#12952).
403 (custom--sort-vars, custom--sort-vars-1): New functions.
404
d125ca15 4052012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
002c019c
SM
406
407 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
408 lexical-binding (bug#12938).
409
d125ca15 4102012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
977f9325
WJ
411
412 * image-mode.el (image-transform-check-size): Use assertions only
413 for images of type imagemagick.
414
415 Otherwise no error, image-transform-fit-to-{width,height} is
416 silently ignored, as before. Doc fix.
417
d125ca15 4182012-11-24 Chong Yidong <cyd@gnu.org>
bccffa83
CY
419
420 * faces.el (color-defined-p): Doc fix (Bug#12853).
421
d125ca15 4222012-11-24 Juri Linkov <juri@jurta.org>
61a2a122
JL
423
424 * dired.el (dired-mark): Add optional arg `interactive'.
425 Check for `use-region-p' if `interactive' is non-nil.
426 (dired-unmark, dired-flag-file-deletion): Add optional arg
427 `interactive'. Call `dired-mark' with the arg `interactive'.
428 (Bug#10624)
429
cc4c01bd
JL
430 * wdired.el: Revert 2012-10-17 change partly and replace it with
431 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
432 (wdired-finish-edit): Add marks for new file names to
433 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
434 after `revert-buffer'.
435 (wdired-do-renames): Remove calls to `dired-remove-file',
436 `dired-add-file', `dired-add-entry'. (Bug#11795)
437
d125ca15 4382012-11-24 Alan Mackenzie <acm@muc.de>
b03aabda 439
dc310ed0
AM
440 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
441
b03aabda
AM
442 Fix bugs in the state cache. Enhance a debugging mechanism.
443 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
444 "brace at column zero" strategy for C++.
445 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
446 (c-parse-state-point): New variable.
447 (c-record-parse-state-state): Record old parse state with
448 `copy-tree'. Record previous value of point.
449 (c-debug-parse-state-double-cons): New debugging function.
450 (c-debug-parse-state): Call the above new function.
451 (c-toggle-parse-state-debug): Output a confirmatory message.
452
002c019c
SM
453 * progmodes/cc-mode.el (c-before-change, c-after-change):
454 Call c-invalidate-state-cache from `c-before-change' instead of
b03aabda
AM
455 `c-after-change'.
456
930a6273
CY
4572012-11-23 Chong Yidong <cyd@gnu.org>
458
459 * find-cmd.el (find-constituents): Add executable, ipath,
460 readable, samefile, writable, daystart, regextype (Bug#12856).
461
15c9d04e
SM
4622012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
463
464 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
465
2ecb2679
PE
4662012-11-22 Paul Eggert <eggert@cs.ucla.edu>
467
468 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
469 definition. This fixes a bootstrap failure.
a14a5a40
PE
470 (calc-gregorian-switch): In menu, put dates before regions.
471 This is easier to follow, lines up better in the menu, and lets us
472 coalesce regions that switch at the same time. Give country
15c9d04e
SM
473 names, not "Vatican", as that's better for non-expert users.
474 Use names that are stable between the date of switch and now, e.g.,
a14a5a40
PE
475 Bohemia and Moravia (which existed then and now) and not
476 Czechoslovakia (which didn't exist then and doesn't exist now).
477 What is now the U.S. mostly did not switch at the same time as
478 Britain, so omit the U.S. Correct spelling of "Britain".
479 Catholic Switzerland was too much of a mess, so omit it.
2ecb2679 480
723da6aa
JB
4812012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
482
483 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
484 after the variable is changed.
485
21fa2482
DC
4862012-11-21 Daniel Colascione <dancol@dancol.org>
487
488 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
b6096e85
DC
489 in SQL declarations for font-lock.
490 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
21fa2482 491
3ca2f1bf
GM
4922012-11-21 Glenn Morris <rgm@gnu.org>
493
1bf335cf
GM
494 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
495 (face-italic-p): Add optional argument "inherit".
496
3ca2f1bf
GM
497 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
498 Remove -p suffix from names, for consistency with other set-face-*.
499 (set-face-inverse-video): Fix interactive spec.
500 * play/gamegrid.el (gamegrid-make-mono-tty-face):
501 * textmodes/table.el (table--update-cell-face):
502 Use set-face-inverse-video rather than now obsolete alias.
503
6ef2e5ef 5042012-11-21 Eli Zaretskii <eliz@gnu.org>
7cf95797
EZ
505
506 * simple.el (line-move): Don't call line-move-partial if
507 scroll-conservatively is in effect. (Bug#12927)
508
6ef2e5ef 5092012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
63f25172 510
93b05041
SM
511 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
512 Fallback on completion-at-point rather than
513 pcomplete-expand-and-complete, and only if pcomplete actually failed.
514 (eshell-cmpl-initialize): Setup completion-at-point.
515
516 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
517
bc715d67
SM
518 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
519
6ef2e5ef 5202012-11-21 Michael Albinus <michael.albinus@gmx.de>
d7f2a65c
MA
521
522 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
523 are remote, check out-of-band property for both.
524
6ef2e5ef 5252012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
d1c0cddf
SM
526
527 * window.el (switch-to-buffer): Re-add the warning that was lost in the
528 code rewrite.
529
6ef2e5ef 5302012-11-21 Paul Eggert <eggert@cs.ucla.edu>
0c93aa38 531
535efd4a
PE
532 More minor time fixes.
533 * calendar/time-date.el: Commentary fix.
534 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
535 too much other code depends on (0 0) time stamps.
536 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
537 Add a couple of FIXME comments.
538
0c93aa38
PE
539 Minor cleanup for times as lists of four integers.
540 * files.el (dir-locals-directory-cache):
541 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
542 Doc fixes.
543 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
544 * ps-bdf.el (bdf-file-newer-than-time):
545 Process four-integers time stamps, not two. Doc fixes.
546
23ba2705
SM
5472012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
548
2e31777b
SM
549 * uniquify.el (uniquify-managed): Use defvar-local.
550 (rename-buffer, create-file-buffer): Advise with advice-add.
551 (uniquify-unload-function): Unadvise accordingly.
552
8b62d742
SM
553 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
554 (trace-buffer): Don't purecopy.
555 (trace-entry-message, trace-exit-message): Add `context' arg.
556 (trace--timer): New var.
557 (trace-make-advice): Adjust for use in nadvice.
558 Add `context' argument. Delay `display-buffer' via a timer.
559 (trace-function-internal): Use advice-add.
560 (trace--read-args): New function.
561 (trace-function-foreground, trace-function-background): Use it.
562 (trace-function): Rename to trace-function-foreground and redefine as
563 an alias to that new name.
564 (untrace-function, untrace-all): Adjust to the use of nadvice.
565
5d0ccd95
SM
566 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
567
3837d988
SM
568 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
569
23ba2705
SM
570 * subr.el (called-interactively-p-functions): New var.
571 (internal--called-interactively-p--get-frame): New macro.
572 (called-interactively-p, interactive-p): Rewrite in Lisp.
573 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
574 (called-interactively-p-functions): Use it.
575 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
576 (called-interactively-p-functions): Use it.
577 * allout.el (allout-called-interactively-p): Don't assume
578 called-interactively-p is a subr.
579
b0636be7
GM
5802012-11-20 Glenn Morris <rgm@gnu.org>
581
582 * profiler.el (profiler-report-mode-map): Add a menu.
583 No need to bind `q' because we derive from special-mode.
584 (profiler-report-find-entry): Handle calls from the menu-bar.
585
855b17af
SM
5862012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
587
14146222
SM
588 * emacs-lisp/byte-run.el (defun-declarations-alist):
589 Allow a compiler-macro to be a lambda expression.
590
591 * progmodes/python.el: Use cl-lib. Move var declarations outside of
592 eval-when-compile.
593 (python-syntax-context): Add compiler-macro.
594 (python-font-lock-keywords): Simplify with De Morgan.
595
1000d895
SM
596 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
597
ac5392dc
SM
598 * files.el (load-file): Require match in minibuffer selection, as was
599 the case in Emacs-20 before we changed the spec to allow .elc files
600 (bug#12935).
601
19dc7206
SM
602 * json.el: Don't require cl since we don't use it.
603 * color.el: Don't require cl.
604 (color-complement): `caddr' -> `nth 2'.
605
855b17af
SM
606 * calendar/time-date.el (time-to-seconds): De-obsolete.
607
e8909bdc
JB
6082012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
609
610 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
611 year numbers.
612 (math-date-to-julian-dt): Adjust the initial approximation for the
613 year to deal with the new definition of the DATE.
614
6e9f7997
DC
6152012-11-19 Daniel Colascione <dancol@dancol.org>
616
855b17af
SM
617 * term/w32-win.el (cygwin-convert-path-from-windows):
618 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
6e9f7997 619
6a3dd257
CY
6202012-11-18 Chong Yidong <cyd@gnu.org>
621
622 * filecache.el (file-cache--read-list): New function.
623 (file-cache-add-directory-list, file-cache-add-file-list)
624 (file-cache-delete-file-list, file-cache-delete-directory-list):
625 Use it to read a list of files or directories (Bug#12846).
626 (file-cache-add-file, file-cache-add-directory)
627 (file-cache-delete-file-list, file-cache-delete-file-regexp)
628 (file-cache-delete-directory): Print an message.
629
eef97f35
JB
6302012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
631
632 * calc/calc-forms.el (math-date-to-dt): Use integer date when
633 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
634
913c8291
GM
6352012-11-18 Glenn Morris <rgm@gnu.org>
636
637 * image.el (insert-image, insert-sliced-image): Doc fix.
638
2ac9538d 6392012-11-18 Chong Yidong <cyd@gnu.org>
ec6f8ce6
CY
640
641 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
642 (Bug#12810).
643
2ac9538d 6442012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
c2d07557
CY
645
646 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
647 response when the target file is in a subdirectory (Bug#12757).
648
2ac9538d 6492012-11-18 Chong Yidong <cyd@gnu.org>
33f8917c
CY
650
651 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
652
2ac9538d 6532012-11-18 Glenn Morris <rgm@gnu.org>
65463c40 654
9a5e2ee3
GM
655 * emacs-lisp/cl-lib.el (face-underline-p):
656 Use set-face-underline rather than the alias set-face-underline-p.
657
65463c40 658 * window.el (with-temp-buffer-window): Doc fix.
95f0501e
GM
659 * subr.el (with-output-to-temp-buffer):
660 Add doc xref to with-temp-buffer-window.
65463c40 661
c9ed8e3d
JB
6622012-11-18 Juanma Barranquero <lekktu@gmail.com>
663
664 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
665 * calc/calc.el (math-format-date-cache): Declare.
666
310e60d9
PE
6672012-11-17 Paul Eggert <eggert@cs.ucla.edu>
668
6f6b82d6
PE
669 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
670 It also uses January 1, 1 AD as its day number 1.
310e60d9 671 * calc/calc-forms.el (math-julian-date-beginning)
6f6b82d6 672 (math-julian-date-beginning-int): Implement this.
310e60d9 673
d7fe6352
JB
6742012-11-17 Juanma Barranquero <lekktu@gmail.com>
675
676 * descr-text.el (quail-find-key):
677 * dired.el (desktop-file-name):
678 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
679 * generic-x.el (comint-mode, comint-exec):
680 * image-dired.el (widget-forward):
681 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
682 (speedbar-change-expand-button-char)
683 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
684 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
685 * printing.el (easy-menu-add-item, easy-menu-remove-item)
686 (widget-field-action, widget-value-set):
687 * speedbar.el (imenu--make-index-alist):
688 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
689 (ring-length, ring-insert):
690 * vcursor.el (compare-windows-skip-whitespace):
691 * woman.el (dired-get-filename):
692 Declare functions.
693
694 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
695
c9f618db
JB
6962012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
697
698 * calc/calc.el (calc-gregorian-switch): New variable.
699
700 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
701 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
702 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
703 (math-leap-year-p): Add option to distinguish between Julian
704 and Gregorian calendars.
705 (math-day-number): Use `math-day-in-year' to do the computations.
706 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
707 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
708 to do the computations.
709 (math-date-to-dt): Use `math-date-to-julian-dt' and
710 `math-date-to-gregorian-dt' to do the computations.
711 (calcFunc-weekday, math-format-date-part): Use the new version of
712 the DATE to determine the weekday.
713 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
714 when necessary.
715
3804f7bc
EZ
7162012-11-17 Eli Zaretskii <eliz@gnu.org>
717
718 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
719 Cygwin; otherwise use 'file:'. (Bug#12914)
720 (cygwin-convert-path-from-windows): Declare, to avoid
721 byte-compiler warnings.
722
de959d4d
AP
7232012-11-17 Andreas Politz <politza@fh-trier.de>
724
725 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
726 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
727 prefix and negative numeric prefix args (Bug#12795).
728
e45deaef
SB
7292012-11-17 Stephen Berman <stephen.berman@gmx.net>
730
731 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
732 Don't signal an error with a score that is too low to add to the
733 list of top scores. (Bug#12779)
734
ec15e0ff
CY
7352012-11-17 Chong Yidong <cyd@gnu.org>
736
8e7696a1
CY
737 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
738
ec15e0ff
CY
739 * filecache.el (file-cache-add-file): Handle relative file name in
740 the argument (Bug#12694).
741
60c4ee66
JH
7422012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
743
744 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
745
cdc5d88c
SM
7462012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
747
dd0c5bbb
SM
748 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
749
cdc5d88c
SM
750 * emacs-lisp/cl-lib.el: Set more meaningful version number.
751
0ff7851c
MR
7522012-11-16 Martin Rudalics <rudalics@gmx.at>
753
754 * window.el (enlarge-window, shrink-window): Don't mention return
755 value in doc-string (Bug#12896).
756 (window--display-buffer): Don't resize frames - it won't work
757 with all window managers and defeat pop-up-frame-alist.
758 (display-buffer-alist): In doc-string explain that CONDITION can
759 be a function and which arguments are passed to it (Bug#12854).
760 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
761 expressions (Bug#12854).
762 (display-buffer): Pass ACTION argument to
763 display-buffer-assq-regexp.
764
dedd1884
GM
7652012-11-16 Glenn Morris <rgm@gnu.org>
766
7c82753d
GM
767 * window.el (fit-frame-to-buffer-bottom-margin)
768 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
769
dedd1884
GM
770 * faces.el (face-underline-p): Use face-attribute-specified-or.
771
96e05507 7722012-11-16 Juanma Barranquero <lekktu@gmail.com>
662b0ee6
JB
773
774 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
775
96e05507 7762012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
eb31fa40
SM
777
778 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
779
96e05507 7802012-11-16 Glenn Morris <rgm@gnu.org>
e2e13f18 781
17c083ac
GM
782 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
783 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
784
bde3c6c0
GM
785 * faces.el (face-underline-p): Doc fix. Handle :underline being
786 things other than `t' (a string, a list).
787 (face-inverse-video-p): Doc fix.
788 (set-face-underline): Rename it back from set-face-underline-p.
789 Doc fix. Allow interactive input of values other than t.
790 (read-face-attribute): Apply formatting to :underline,
791 since like :box and :stipple it can take list values.
792
e2e13f18
GM
793 * term.el (ansi-term): Don't let C-x escape-char binding
794 clobber the more standard C-c binding. (Bug#12842)
795
e0ea8060
GM
796 * subr.el (set-temporary-overlay-map): Doc fix.
797
96e05507 7982012-11-16 Martin Rudalics <rudalics@gmx.at>
92346275
MR
799
800 * window.el (record-window-buffer)
801 (display-buffer-record-window): When copying the markers to
802 window-point preserve window-point-insertion-type. (Bug#12588)
803
96e05507 8042012-11-16 Glenn Morris <rgm@gnu.org>
7b1bf173
GM
805
806 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
807 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
808 Use new names for hooks rather than obsolete aliases.
809
faeafc01
DC
8102012-11-15 Daniel Colascione <dancol@dancol.org>
811
812 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
9533048d
DC
813 prefix instead of "file:" so that when FILE-NAME begins with "//",
814 as it does when the target file is on a network share, url-handler
815 isn't confused.
816
1232d6c2
SM
8172012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
818
819 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
820 a preactivated advice from an old advice.el; they're not compatible!
821
47f01a8a
KY
8222012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
823
824 * emacs-lisp/nadvice.el (advice--make-interactive-form):
825 Fix string-spec case.
826
827 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
828
a61428c4
SM
8292012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
830
831 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
832 (advice--buffer-local-function-sample): New var.
833 (advice--set-buffer-local, advice--buffer-local): New functions.
834 (add-function, remove-function): Use them.
835
875ce3a7
DA
8362012-11-15 Drew Adams <drew.adams@oracle.com>
837
838 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
839
589fc479
SM
8402012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
841
842 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
843 potential binding of print-gensym to t, and prettify (back)quotes in
844 case they appear in args's default values (bug#12884).
845
1668ea90
SM
8462012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
847
848 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
849 (advice-eval-interactive-spec): New function.
850 (advice--make-interactive-form): Support around advice (bug#12844).
851
8619323f
DG
8522012-11-14 Dmitry Gutov <dgutov@yandex.ru>
853
854 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
855 more strict. Add docstring.
c62792e7
DG
856 (ruby-expression-expansion-re): Extract from
857 `ruby-match-expression-expansion'.
858 (ruby-syntax-propertize-function): After everything else, search
859 for expansions in string literals, mark their insides as
860 whitespace syntax and save match data for font-lock.
861 (ruby-font-lock-keywords): Use the 2nd group from expression
862 expansion matches.
863 (ruby-match-expression-expansion): Use the match data saved to the
864 text property in ruby-syntax-propertize-function.
8619323f 865
9c3912d3
SM
8662012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
867
868 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
869 (bug#12879).
870
5e9419e8
DG
8712012-11-13 Dmitry Gutov <dgutov@yandex.ru>
872
873 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
874 start/end keyword a bit harder. Works with different values of N.
875 Add more comments.
876 (ruby-end-of-block): Update accordingly.
877
3c442f8b
SM
8782012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
879
fa470af0
SM
880 * woman.el (woman-file-name): Don't mess with unread-command-events
881 (bug#12861).
882
3c442f8b
SM
883 * emacs-lisp/advice.el: Layer on top of nadvice.el.
884 Remove out of date self-require hack.
885 (ad-do-advised-functions): Use simple `dolist'.
886 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
887 (ad-advice-definition): Redefine as functions.
888 (ad-advice-classes): Move before first use.
889 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
fa470af0 890 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
3c442f8b 891 (ad--defalias-fset): Remove functions.
fa470af0 892 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
3c442f8b
SM
893 (ad-get-orig-definition): Rewrite.
894 (ad-make-advised-definition-docstring): Change base docstring.
895 (ad-real-orig-definition): Rewrite.
896 (ad-map-arglists): Change name of called function.
897 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
898 (ad-make-advised-definition): Simplify.
899 (ad-assemble-advised-definition): Tweak for new calling context.
fa470af0 900 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
3c442f8b
SM
901 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
902 function and call ad-activate if needed.
903 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
904 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
905 (ad-compile-function): Compile ad-Advice-*.
906 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
907 (ad-start-advice, ad-stop-advice): Remove.
908
5745cae6
DG
9092012-11-13 Dmitry Gutov <dgutov@yandex.ru>
910
911 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
912 period before class method names, not after. Remove handling of
913 one impossible case. Add comments.
914
413d4689
SM
9152012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
916
7db1bda8
SM
917 * emacs-lisp/advice.el: Remove support for freezing.
918 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
919 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
920 Remove support for `freeze'.
921
413d4689
SM
922 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
923 override the default.
924 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
925 cl--dotimes/dolist.
926 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
927 `cl' is loaded.
928
929 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
930 from add-advice.
931 (advice--strip-macro): New function.
932 (advice--defalias-fset): Use them to handle macros.
933 (advice-add): Use them.
934 (advice-member-p): Correctly handle macros.
935
f178c32d
DG
9362012-11-13 Dmitry Gutov <dgutov@yandex.ru>
937
7db1bda8
SM
938 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
939 Never font-lock the beginning of singleton class as heredoc.
f178c32d 940
f78ee6af 9412012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
f8705f6e
SM
942
943 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
944
f78ee6af 9452012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
9db94175
WJ
946
947 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
f78ee6af
GM
948 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
949 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
9db94175 950
f78ee6af 9512012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
2e6625b5
FEG
952
953 Fix end-of-defun misbehavior.
954 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
955 python-beginning-of-defun-function. Handle nested defuns
956 correctly.
957 (python-nav-end-of-defun): Rename from
958 python-end-of-defun-function. Ensure forward movement.
f8705f6e 959 (python-info-current-defun): Reimplement to work as intended
2e6625b5
FEG
960 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
961 parent defuns as soon as possible.
962
f78ee6af 9632012-11-13 Glenn Morris <rgm@gnu.org>
24c38527
GM
964
965 * progmodes/flymake.el (flymake-error-bitmap)
966 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
967 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
968
f78ee6af 9692012-11-13 Dmitry Gutov <dgutov@yandex.ru>
d1e1e53d
DG
970
971 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
972 backward, always stop at indentation. Reverts the change from
973 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
974
f78ee6af 9752012-11-13 Glenn Morris <rgm@gnu.org>
68146aa5 976
a1d3e07e
GM
977 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
978 Add ibuffer-filter-by-derived-mode.
979
84acf328
GM
980 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
981 the same name shadowing each other.
982
38785e75
GM
983 * window.el (with-temp-buffer-window): Doc tweak.
984
57fc0fee
GM
985 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
986
6ba6a3e5
GM
987 * help.el (temp-buffer-max-height):
988 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
68146aa5
GM
989 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
990
231d8498
SM
9912012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
992
993 * emacs-lisp/nadvice.el: New package.
994 * subr.el (special-form-p): New function.
995 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
996 (elp-all-instrumented-list): Remove var.
997 (elp-not-profilable): Remove elp-wrapper.
998 (elp-profilable-p): Use autoloadp and special-form-p.
999 (elp--advice-name): New const.
1000 (elp-instrument-function): Use advice-add.
1001 (elp--instrumented-p): New predicate.
1002 (elp-restore-function): Use advice-remove.
1003 (elp-restore-all, elp-reset-all): Use mapatoms.
1004 (elp-set-master): Use elp--instrumented-p.
1005 (elp--make-wrapper): Rename from elp-wrapper, return a function
1006 suitable for advice-add. Use cl-inf.
1007 (elp-results): Use mapatoms+elp--instrumented-p.
1008 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
1009 (debug-function-list): Remove var.
1010 (debug): Rename arg, and then let-bind it explicitly inside.
1011 (debugger-setup-buffer): Rename arg.
1012 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
1013 (debugger-frame-number): Adjust to new debug-on-entry setup.
1014 (debug--implement-debug-on-entry): Rename from
1015 implement-debug-on-entry, add argument.
1016 (debugger-special-form-p): Remove, use special-form-p instead.
1017 (debug-on-entry): Use advice-add.
1018 (debug--function-list): New function.
1019 (cancel-debug-on-entry): Use it, along with advice-remove.
1020 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
1021 (debugger-list-functions): Use debug--function-list instead of
1022 debug-function-list.
1023 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
1024 (ad-special-form-p): Remove, use special-form-p instead.
1025 (ad-set-advice-info): Use add-function and remove-function.
1026 (ad--defalias-fset): Adjust accordingly.
1027
19e09879
GM
10282012-11-10 Glenn Morris <rgm@gnu.org>
1029
714cebd1
GM
1030 * mail/emacsbug.el (report-emacs-bug-tracker-url)
1031 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
1032 (report-emacs-bug-create-existing-bugs-buffer)
1033 (report-emacs-bug-parse-query-results)
1034 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
1035
bf67dafa
GM
1036 * term.el (term-default-fg-color, term-default-bg-color):
1037 Make obsolete, rather than just saying "deprecated" in the doc.
1038
19e09879
GM
1039 * term.el (term): Rename from `term-face'.
1040 (term-current-face, ansi-term-color-vector)
1041 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
1042 Update all users.
1043
6baf66d5 10442012-11-10 Jan Djärv <jan.h.d@swipnet.se>
531bdce6
JD
1045
1046 * server.el (server-create-window-system-frame): Handle Nextstep
1047 specially (Bug#12780).
1048
6baf66d5 10492012-11-10 Glenn Morris <rgm@gnu.org>
fedb154e
GM
1050
1051 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
1052 Unautoload, and make obsolete. (Bug#7449)
1053
6baf66d5 10542012-11-10 Chong Yidong <cyd@gnu.org>
9d9e48d9
CY
1055
1056 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
1057 rename from diff-remove-trailing-whitespace (Bug#12831).
1058
6baf66d5 10592012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
32170f7f
SM
1060
1061 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
1062 miscompilation of trace.el.
1063
6baf66d5 10642012-11-10 Glenn Morris <rgm@gnu.org>
26f59676
GM
1065
1066 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
1067
6baf66d5 10682012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
41626722
SM
1069
1070 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
1071 (bug#12812).
1072
6baf66d5 10732012-11-10 Chong Yidong <cyd@gnu.org>
7d806bfe
CY
1074
1075 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
1076 a defcustom with an appropriate :set function.
1077 (minibuffer-default--in-prompt-regexps): New function.
1078
6baf66d5 10792012-11-10 Glenn Morris <rgm@gnu.org>
2ee1d59f 1080
031b2ea7
GM
1081 * emacs-lisp/cl.el (define-setf-expander, defsetf)
1082 (define-modify-macro): Doc fixes.
1083
2ee1d59f
GM
1084 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
1085 (gv-define-simple-setter): Update doc of `fix-return'.
1086
6baf66d5 10872012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
d57c286e 1088
b715ed44
SM
1089 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
1090 twice when `fix-return' is set (bug#12813).
1091
d57c286e
SM
1092 * emacs-lisp/cl.el (defsetf): Pass the third arg to
1093 gv-define-simple-setter (bug#12812).
1094
c9cac599
SM
1095 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
1096 (bug#12756).
1097
6baf66d5 10982012-11-10 Glenn Morris <rgm@gnu.org>
6b3770fb
GM
1099
1100 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
1101
5593ed90
GM
1102 * emacs-lisp/cl-extra.el (cl-prettyexpand):
1103 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
1104 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
1105 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
1106
1107 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
1108
05a859c1
LL
11092012-11-10 Leo Liu <sdl.web@gmail.com>
1110
1111 * ido.el (ido-set-matches-1): Improve flex matching performance by
1112 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
1113
32e5c58c
SM
11142012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
1115
1116 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
1117 (ad--defalias-fset): New function.
1118 (ad-safe-fset): Remove.
1119 (ad-make-freeze-definition): Use cl-letf*.
1120
f5925cd9
SM
11212012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
1122
da03ef8a
SM
1123 * subr.el (dolist): Don't bind VAR in RESULT.
1124
6858633a
SM
1125 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
1126 (fset, documentation): Don't save real def since we don't advise.
1127 (ad-do-advised-functions): Remove problematic `result-form'.
1128 (ad-safe-fset): `ad-real-fset' => `fset'.
1129 (ad-read-advised-function): Don't assume that ad-do-advised-functions
1130 uses CL's dolist internally.
1131 (ad-arglist): Remove unused arg `name'.
1132 (ad-docstring, ad-make-advised-docstring):
1133 `ad-real-documentation' => `documentation'.
1134 (warning-suppress-types): Declare.
1135 (ad-set-arguments): Simple CSE.
1136 (ad-recover-normality): Sanity check.
1137
f5925cd9
SM
1138 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
1139 (funcall '(lambda ..) ..) into ((lambda ..) ..).
1140
93a66b3a
VB
11412012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
1142
1143 * ses.el: symbol to coordinate mapping is made by symbol property
f5925cd9
SM
1144 `ses-cell'. This means that the same mapping is done for all SES
1145 sheets. That is good enough for cells with standard A1 names, but
1146 not for named cell. So a hash map is added for the latter.
1147 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
93a66b3a
VB
1148 (ses-sym-rowcol): Use hashmap for named cell.
1149 (ses-is-cell-sym-p): New defun.
1150 (ses-decode-cell-symbol): New defun.
f5925cd9
SM
1151 (ses-create-cell-variable): Add cell to hashmap when name is not
1152 A1-like.
93a66b3a
VB
1153 (ses-rename-cell): Check that cell new name is not already in
1154 spreadsheet with the use of ses-is-cell-sym-p
1155 (ses-rename-cell): Use hash map for named cells, but accept also
1156 renaming back to A1-like.
1157
67dd8ad1
SM
11582012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
1159
57618ecf
SM
1160 * emacs-lisp/advice.el: Use new dynamic docstrings.
1161 (ad-make-advised-definition-docstring, ad-advised-definition-p):
1162 Use dynamic-docstring-function instead of ad-advice-info.
1163 (ad--make-advised-docstring): New function extracted from
1164 ad-make-advised-docstring.
1165 (ad-make-advised-docstring): Use it.
1166 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
1167 from sql-help.
1168 (sql-help): Use it with dynamic-docstring-function.
1169
67dd8ad1
SM
1170 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
1171
be883b34
SM
11722012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1173
d41706aa
SM
1174 * files.el (hack-one-local-variable--obsolete): New function.
1175 (hack-one-local-variable): Use it for obsolete settings.
1176
85e55412
SM
1177 * subr.el (locate-user-emacs-file): If both old and new name exist, use
1178 the new name.
1179
be883b34
SM
1180 * progmodes/js.el (js--filling-paragraph): New var.
1181 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
1182 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
1183 less sneaky.
1184
cabc040a
JD
11852012-11-08 Julien Danjou <julien@danjou.info>
1186
1187 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
1188 `auto-mode-alist' (Bug#12835).
1189
d14bb752
SM
11902012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1191
79b3e376
SM
1192 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
1193 (perl--prettify-symbols-alist): New const.
1194 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
1195 New functions.
1196 (perl-font-lock-keywords-2): Use them.
1197 (perl-electric-noindent-p): New function.
1198 (perl-mode): Use it to set up electric-indent-mode.
1199 (perl-electric-terminator, perl-indent-command): Mark obsolete.
1200 (perl-mode-map): Remove bindings for them.
1201 (perl-imenu-generic-expression, perl-outline-level):
1202 Match functions&packages in column>0.
1203
3b11e6ac
SM
1204 * env.el (env--substitute-vars-regexp): New const.
1205 (substitute-env-vars): Use it. Add `only-defined' arg.
1206 * net/tramp.el (tramp-replace-environment-variables): Use it.
1207
784c1a7b
SM
1208 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
1209 Byte-compile *before* eval in eval-and-compile.
1210 (byte-compile-log-warning): Remove redundant inhibit-read-only.
1211 (byte-compile-file-form-autoload): Don't hide actual definition.
1212 (byte-compile-maybe-guarded): Accept `functionp' as well.
1213
d14bb752
SM
1214 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
1215
499a0f7a
MA
12162012-11-07 Michael Albinus <michael.albinus@gmx.de>
1217
1218 * notifications.el (notifications-get-server-information-method):
1219 New defconst.
1220 (notifications-get-capabilities): Fix docstring.
1221 (notifications-get-server-information): New defun.
1222
f0704a9a
AM
12232012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1224
1225 * textmodes/ispell.el (ispell-region): Standard re-indent for better
1226 readability.
1227
b159a1fd
AM
1228 * textmodes/ispell.el: Experimental support for support debugging.
1229 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
1230 buffer for ispell.
1231 (ispell-print-if-debug): New function to print stuff to
1232 `ispell-debug-buffer' if debugging is enabled.
1233 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
1234 show some debugging info.
1235 (ispell-buffer-with-debug): New function that creates a debugging
1236 buffer and calls `ispell-buffer' with debugging enabled.
1237
056cb3a1
AM
1238 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
1239 comment in autoconf mode. (Bug#12768)
1240
8e6a67b7
DA
12412012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
1242
1243 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
1244 frame-first-window, frame-root-window, frame-selected-window,
1245 minibuffer-selected-window, minibuffer-window,
1246 window-absolute-pixel-edges, window-at, window-body-height,
1247 window-body-width, window-display-table, window-combination-limit,
1248 window-frame, window-fringes, window-inside-absolute-pixel-edges,
1249 window-inside-edges, window-inside-pixel-edges, window-left-child,
1250 window-left-column, window-margins, window-next-buffers,
1251 window-next-sibling, window-new-normal, window-new-total,
1252 window-normal-size, window-parameter, window-parameters, window-parent,
1253 window-pixel-edges, window-point, window-prev-buffers,
1254 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
1255 window-start, window-text-height, window-top-child, window-top-line,
1256 window-total-height, window-total-width and window-use-time to the list
1257 of functions without side-effects.
1258 (toplevel): Add window-valid-p to the list of error-free functions
1259 without side-effects.
1260
53fc914f
AM
12612012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1262
f5925cd9
SM
1263 * textmodes/ispell.el (ispell-program-name):
1264 Update spellchecker parameters when customized.
53fc914f 1265
9749e2b0
GM
12662012-11-04 Glenn Morris <rgm@gnu.org>
1267
1268 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
1269
2cbafa56
CY
12702012-11-04 Chong Yidong <cyd@gnu.org>
1271
1272 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
1273 same-window-* variables.
1274
85178ca1
JL
12752012-11-04 Juri Linkov <juri@jurta.org>
1276
1277 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
1278 (isearch-describe-key, isearch-describe-mode): Use a display
1279 action instead of binding same-window-* variables (Bug#10040).
1280
5c677d44
GM
12812012-11-03 Glenn Morris <rgm@gnu.org>
1282
49138400
GM
1283 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
1284 Rename handler properties back from cl-- to cl-. (Bug#12788)
1285
5c677d44
GM
1286 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
1287
1d4341f9
EZ
12882012-11-03 Eli Zaretskii <eliz@gnu.org>
1289
1290 * term/pc-win.el: Don't load term/internal from here.
1291
1292 * loadup.el: Load term/internal from here.
1293
12fd5ee1
FEG
12942012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
1295
1296 * progmodes/python.el (inferior-python-mode): Fix hang in
1297 jit-lock (Bug#12645).
1298
43bcfda6
MR
12992012-11-03 Martin Rudalics <rudalics@gmx.at>
1300
1301 * window.el (switch-to-visible-buffer)
1302 (switch-to-buffer-preserve-window-point): Fix doc-strings.
1303
376a8e83
GM
13042012-11-03 Glenn Morris <rgm@gnu.org>
1305
1306 * emacs-lisp/cl-lib.el (cl--random-time):
1307 Rename from cl-random-time. (Bug#12773)
1308 (cl--gensym-counter, cl--random-state): Update callers.
1309 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
1310
0f7b074f
CY
13112012-11-03 Chong Yidong <cyd@gnu.org>
1312
1313 * cus-start.el: Make cursor-type customizable (Bug#11633).
1314
3a6851d9
GM
13152012-11-02 Glenn Morris <rgm@gnu.org>
1316
00a3b041
GM
1317 * filecache.el: No need to load find-lisp when compiling.
1318 (find-lisp-find-files): Autoload it.
1319 (file-cache-add-directory-recursively): Don't require find-lisp.
1320
11fef14a
GM
1321 * image.el (image-type-from-file-name): Trivial simplification.
1322
3a6851d9
GM
1323 * emacs-lisp/bytecomp.el (byte-compile-eval):
1324 Decouple "noruntime" and "cl-functions" warnings.
1325
b4b096e4
SB
13262012-11-01 Stephen Berman <stephen.berman@gmx.net>
1327
1328 * play/gomoku.el (gomoku-display-statistics): Update mode line
1329 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
1330
218e997a
MR
13312012-10-31 Martin Rudalics <rudalics@gmx.at>
1332
1333 * window.el (quit-restore-window): If the window has been
1334 created on an existing frame and ended up as the sole window on
1335 that frame, do not delete it (Bug#12764).
1336
b08b6da7
SM
13372012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
1338
3618df45
SM
1339 * progmodes/sh-script.el (sh--inside-noncommand-expression):
1340 Rename from sh--inside-arithmetic-expression, handle more cases
1341 (bug#11263).
1342
b08b6da7
SM
1343 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
1344 (sh-font-lock-open-heredoc): Use it (bug#12770).
1345
4ddedf94
GM
13462012-10-30 Glenn Morris <rgm@gnu.org>
1347
f43a5263
GM
1348 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
1349
4ddedf94
GM
1350 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
1351
748b0d84
CY
13522012-10-29 Chong Yidong <cyd@gnu.org>
1353
b5dd9a77
CY
1354 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
1355 function key is stored in a keyboard macro (Bug#4894).
1356
748b0d84
CY
1357 * thingatpt.el (number-at-point): Apply a thing-at-point property.
1358
e07fcbdc
SM
13592012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1360
d7f9cc85
SM
1361 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
1362 header comments".
1363 (diff-unified->context, diff-context->unified)
1364 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
1365
c606253c
SM
1366 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
1367
e07fcbdc
SM
1368 * files.el (find-alternate-file): Only ask one question (bug#12487).
1369
894b9dd9
CY
13702012-10-29 Chong Yidong <cyd@gnu.org>
1371
1dc2755a
CY
1372 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
1373 Suggested by Dan Nicolaescu (Bug#6326).
1374
329c48d8
CY
1375 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
1376
2230fa5b 1377 * startup.el (fancy-about-screen): Don't message (Bug#12680).
5c2f2631 1378
e84cad57
CY
1379 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
1380
1913c5f5
CY
1381 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
1382
894b9dd9
CY
1383 * face-remap.el (face-remap-add-relative): Handle the case where a
1384 face-remapping-alist entry is a cons cell (Bug#12762).
1385
329c48d8
CY
13862012-10-29 Kevin Ryde <user42@zip.com.au>
1387
1388 * woman.el (woman-parse-numeric-value): Handle picas correctly
1389 (Bug#12639).
1390
a0ccbcbd
GM
13912012-10-29 Glenn Morris <rgm@gnu.org>
1392
1393 * emacs-lisp/cl.el (defsetf): Doc fix.
1394
b3871e59
SM
13952012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1396
1397 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
1398 syntax to the matching opener, if any (bug#12547).
1399 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
1400 matching open as a "case-(".
1401 (sh-smie-rc-grammar): Add a corresponding rule for it.
1402
cd44022c
DH
14032012-10-28 Daniel Hackney <dan@haxney.org>
1404
1405 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
1406 "PKGNAME-autoloads.el" in case we created it.
1407
70edffb1
SM
14082012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
1409
86957a0c
SM
1410 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
1411 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
b9383404 1412 (completion--twq-all): Disable too-strict assertions.
86957a0c 1413
70edffb1
SM
1414 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
1415
d069271c
EZ
14162012-10-27 Eli Zaretskii <eliz@gnu.org>
1417
1418 * profiler.el (profiler-report-make-entry-part): Fix help-echo
1419 text to match the real keybindings.
1420
e2f022a3
JL
14212012-10-27 Juri Linkov <juri@jurta.org>
1422
1423 * wdired.el (wdired-keep-marker-rename): New defcustom.
1424 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
1425 (Bug#11795)
1426
1427 * dired.el (dired-keep-marker-rename): Add reference to
1428 `wdired-keep-marker-rename' in the docstring.
1429 Add default character value ?R to display initially in
1430 Customization UI instead of ?@.
1431
df171c23
MR
14322012-10-27 Martin Rudalics <rudalics@gmx.at>
1433
1434 * window.el (display-buffer): In doc-string describe
1435 window-height and window-width alist entries.
1436
1437 * time.el (display-time-world): Restore fit-window-to-buffer
1438 behavior.
1439
05b621a6
CY
14402012-10-27 Chong Yidong <cyd@gnu.org>
1441
1442 * subr.el (insert-buffer-substring-as-yank): Doc fix.
1443
55f197b2
J
14442012-10-26 Jambunathan K <kjambunathan@gmail.com>
1445
1446 * minibuffer.el (completion-category-overrides): New completion
1447 category `bookmark' (bug#11131).
1448
372212df
SM
14492012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
1450
150f809c
SM
1451 * emacs-lisp/advice.el (ad-assemble-advised-definition):
1452 Silence bogus compiler warnings for ad-do-it.
1453
372212df
SM
1454 * bookmark.el (bookmark-completing-read): Set the completion category
1455 to `bookmark' (bug#11131).
1456
c5772569
B
14572012-10-26 Bastien <bzg@altern.org>
1458 Stefan Monnier <monnier@iro.umontreal.ca>
1459
1460 * face-remap.el: Use lexical-binding.
1461 (text-scale-adjust): Improve docstring. Use itself for the temporary
1462 overlay-map bindings, so as to repeat the "Use..." message each time.
1463
a2be0357
SM
14642012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
1465
63314e57
SM
1466 * emacs-lisp/macroexp.el (macroexp--expand-all):
1467 Obey byte-compile-warning-enabled-p (bug#12486).
1468
a2be0357
SM
1469 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
1470 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
1471
8c7727c3
MR
14722012-10-26 Martin Rudalics <rudalics@gmx.at>
1473
1474 * mouse.el (mouse-drag-line): Move last form into preceding when
1475 clause (Bug#12731).
1476
1477 * help.el (resize-temp-buffer-window): Fix doc-string.
1478
3f2a848d
DE
14792012-10-25 David Engster <deng@randomsample.de>
1480
1481 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
a2be0357 1482 Remove. This feature is already integrated in imenu.
3f2a848d
DE
1483
1484 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
1485 always loaded. Require `speedbar' unconditionally.
1486
a7723be6
SM
14872012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1488
aaabfc8b
SM
1489 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
1490
414a8595
SM
1491 * minibuffer.el (minibuffer-force-complete): Fix thinko.
1492
fb5b9475
SM
1493 * net/ldap.el (ldap-search-internal): The official ldif format starts
1494 with a "version: 1" header (bug#12724).
1495
a7723be6
SM
1496 * emacs-lisp/package.el (package-installed-p): Warn if not ready
1497 (bug#12721).
1498
a05cb6e3
GM
14992012-10-25 Glenn Morris <rgm@gnu.org>
1500
1501 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
1502
3c92de70
SM
15032012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1504
1505 * minibuffer.el (minibuffer-force-complete): Use one more marker
1506 for the temporary-overlay-map command (bug#12619).
1507
a4b6d7c6
CY
15082012-10-24 Chong Yidong <cyd@gnu.org>
1509
1510 * time.el (display-time-world-mode): Derive from special-mode.
1511 (display-time-world): Use display-buffer (Bug#12708).
1512 (display-time-world-mode-map): Variable deleted.
9321d8d7
CY
1513 (display-time-world-display): Wrap the final delete-char inside
1514 inhibit-read-only.
a4b6d7c6 1515
75e8f9d2
CY
15162012-10-24 Chong Yidong <cyd@gnu.org>
1517
cd996018
CY
1518 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
1519 Doc fix.
1520
75e8f9d2
CY
1521 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
1522
d92df117
SM
15232012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1524
1525 * minibuffer.el (completion--all-sorted-completions-location): New var.
1526 (completion--cache-all-sorted-completions)
1527 (completion--flush-all-sorted-completions): Use it.
1528 (completion-in-region, completion-in-region--postch)
1529 (completion-at-point, completion-help-at-point): Use markers in
1530 completion-in-region--data (bug#12619).
1531
9c3e39f3
SM
15322012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1533
c79825bd
SM
1534 * progmodes/compile.el (compilation-start): Try to handle common
1535 quoting of `cd' argument (bug#12640).
1536
9c3e39f3
SM
1537 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
1538 (bug#12671).
1539
a6709bc7
GM
15402012-10-23 Glenn Morris <rgm@gnu.org>
1541
1542 * progmodes/gud.el (gud-menu-map):
1543 Check gdb-active-process is bound. (Bug#12358)
1544
d1069532
SM
15452012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1546
d20d69c0
SM
1547 * repeat.el (repeat): Set real-this-command (bug#12232).
1548
d1069532
SM
1549 * htmlfontify.el (hfy-post-html-hook):
1550 * filesets.el (filesets-cache-fill-content-hook):
1551 * arc-mode.el (archive-extract-hook):
1552 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
1553 * net/rcirc.el (rcirc-sentinel-functions)
1554 (rcirc-receive-message-functions, rcirc-activity-functions)
1555 (rcirc-print-functions):
1556 * net/dbus.el (dbus-event-error-functions):
1557 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
1558 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
1559 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
1560 * term/sun.el (sun-raw-prefix-hooks):
1561 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
1562
f7eac6d8
MA
15632012-10-23 Michael Albinus <michael.albinus@gmx.de>
1564
d1069532
SM
1565 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
1566 Set `tramp-chunksize' to 1. This improves the performance.
f7eac6d8
MA
1567 (tramp-smb-wait-for-output): Add timeout to
1568 `tramp-accept-process-output' calls.
1569
608d9d7c
CY
15702012-10-23 Chong Yidong <cyd@gnu.org>
1571
49238e7f
CY
1572 * faces.el (font-list-limit): Define as an obsolete variable.
1573
1574 * startup.el (command-line):
1575 * cus-start.el: Don't refer to font-list-limit.
1576
608d9d7c
CY
1577 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
1578
4ff5b1b2
SM
15792012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1580
1581 * subr.el (internal-temp-output-buffer-show): Rename from
1582 temp-output-buffer-show, since previously compiled files expect this name.
1583
ea1d4aac
GM
15842012-10-23 Glenn Morris <rgm@gnu.org>
1585
1586 * image.el (image-type-from-file-name): If multiple types match,
1587 return the first one that is supported. (Bug#9045)
1588
eda82a31
GM
15892012-10-22 Glenn Morris <rgm@gnu.org>
1590
1591 * image.el (imagemagick-enabled-types): Doc fix.
1592
4f020bec
TA
15932012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
1594
1595 * progmodes/which-func.el (which-func-current): The hash-table may have
1596 an explicit nil (bug#12338).
1597
c77d37e2
SM
15982012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
1599
1600 * electric.el (electric-pair-delete-selection-self-insert-function):
1601 Rename to electric-pair-will-use-region, return a boolean.
1602 (electric-pair-mode): Adjust accordingly. Don't require delsel.
1603
1604 * delsel.el (delete-selection-helper): Use a function instead of a hook.
1605 (delete-selection-pre-hook): Use use-region-p.
1606 (delete-selection-self-insert-function): Remove.
1607 (self-insert-command): Obey self-insert-uses-region-functions.
1608 (self-insert-iso): Revert to previous setting, since we don't actually
1609 know what that command does.
1610 (delete-selection-self-insert-hooks): Remove.
1611
b1d39ccc
SL
16122012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
1613
1614 * delsel.el (delete-selection-helper): New function, extracted from
1615 delete-selection-pre-hook.
1616 (delete-selection-pre-hook): Use it.
1617 (delete-selection-self-insert-function): New function.
1618 (delete-selection-self-insert-hooks): New hook.
1619 (self-insert-command, self-insert-iso): Use it.
1620 * electric.el (electric-pair-syntax): New function, extracted from
1621 electric-pair-post-self-insert-function.
1622 (electric-pair-post-self-insert-function): Use it.
1623 (electric-pair-delete-selection-self-insert-function): New function.
1624 (electric-pair-mode): Require delsel and setup
1625 delete-selection-self-insert-hooks (bug#11520).
1626
045ef729
CY
16272012-10-20 Chong Yidong <cyd@gnu.org>
1628
4c5d08a8
CY
1629 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
1630 no changes to show (Bug#12586).
1631
045ef729
CY
1632 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
1633 list explicitly (Bug#12571).
1634
3503c798 16352012-10-20 Arne Jørgensen <arne@arnested.dk>
79e1997a 1636
b1d39ccc
SL
1637 * progmodes/flymake.el (flymake-create-temp-inplace):
1638 Use file-truename.
79e1997a 1639
2068905b
EZ
16402012-10-20 Eli Zaretskii <eliz@gnu.org>
1641
1642 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
1643
4c9e9550
JB
16442012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
1645
1646 * calc/calc-units.el (math-extract-units): Properly extract powers
1647 of units.
1648
1a6e7e38
DC
16492012-10-20 Daniel Colascione <dancol@dancol.org>
1650
1651 * frame.el (make-frame): Set x-display-name as we used to in order
1652 to unbreak creating an X11 frame from an Emacs daemon started
1653 without a display.
1654
8e808318
SM
16552012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
1656
1657 * minibuffer.el (minibuffer-force-complete): Make the next completion use
f5925cd9 1658 the same completion-field (bug#12221).
8e808318 1659
fb0104da
MR
16602012-10-19 Martin Rudalics <rudalics@gmx.at>
1661
1662 * emacs-lisp/debug.el (debug): Record height of debugger window
1663 also when debugger will be back (Bug#8789).
1664
8c27235e
CY
16652012-10-18 Chong Yidong <cyd@gnu.org>
1666
1667 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
1668 Convert to defcustom.
1669 (gdb-get-source-file): Don't bind pop-up-windows.
1670
1671 * progmodes/gud.el (gud-display-line): Don't specially re-use
1672 other frames for the gdb-mi case (Bug#12648).
1673
90eacf99
SM
16742012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
1675
aaf0c300
SM
1676 * emacs-lisp/advice.el: Clean up commentary a bit.
1677 (ad-do-advised-functions, ad-with-originals): Use `declare'.
1678 (byte-code-function-p): Never redefine.
1679
90eacf99
SM
1680 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
1681
281c9d2b
GM
16822012-10-18 Glenn Morris <rgm@gnu.org>
1683
40714e3d
GM
1684 * dired.el (dired-sort-toggle): Some ls implementations only allow
1685 a single option string. (Bug#12666)
1686
281c9d2b
GM
1687 * minibuffer.el (completion-cycle-threshold): Doc fix.
1688
b278604e
KH
16892012-10-17 Kenichi Handa <handa@gnu.org>
1690
90eacf99
SM
1691 * international/mule.el (set-keyboard-coding-system):
1692 Recover input meta mode when the new coding system doesn not use 8-bit.
b278604e
KH
1693 Supply TERMINAL arg to set-input-meta-mode.
1694
df171c23 16952012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
7ebc5f5a
MH
1696
1697 * wdired.el (wdired-old-marks): New variable.
1698 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
1699 (wdired-do-renames): Move point with renamed file and don't lose
1700 mark status (Bug#11795).
1701
e5a94ec4
JL
17022012-10-16 Juri Linkov <juri@jurta.org>
1703
1704 * replace.el (query-replace-help): Mention multi-buffer replacement
1705 keys in the Help message. (Bug#12655)
1706
d18a0d24
CY
17072012-10-15 Chong Yidong <cyd@gnu.org>
1708
1709 * emacs-lisp/byte-run.el (defsubst): Doc fix.
1710
8111f5e6
EZ
17112012-10-14 Eli Zaretskii <eliz@gnu.org>
1712
7b9abf24
EZ
1713 * window.el (display-buffer): Doc fix.
1714
8111f5e6
EZ
1715 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1716 Adjust the msft regexp to the output of Studio 2010, and move msft
1717 before edg-1. See the discussion on emacs-devel,
1718 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
1719 for the details.
1720
5046ef67
SM
17212012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
1722
9760c73c
SM
1723 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
1724 (oset): Move uses of object-class-fast macro after its definition.
1725
5046ef67
SM
1726 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
1727
0d11ff1c
CY
17282012-10-13 Chong Yidong <cyd@gnu.org>
1729
1730 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
1731 enabled, re-enable it (Bug#11963).
1732
88ded8ac
MR
17332012-10-13 Martin Rudalics <rudalics@gmx.at>
1734
1735 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
1736 non-nil, restore window configuration (Bug#12623).
1737
bd0ffffd
SM
17382012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
1739
06485aa8
SM
1740 * help-fns.el (describe-variable, describe-function-1):
1741 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
1742
bd0ffffd
SM
1743 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
1744
3a989246
GM
17452012-10-12 Glenn Morris <rgm@gnu.org>
1746
1747 * mail/rmailsum.el (rmail-header-summary):
1748 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
1749
55cd00c8
FEG
17502012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
1751
bd0ffffd
SM
1752 * progmodes/python.el (python-mode-map):
1753 Replace subtitute-key-definition with proper command remapping.
55cd00c8
FEG
1754 (python-nav--up-list): Fix behavior for blocks on the same level.
1755
ac9fc2c7
SM
17562012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
1757
d8cc4c00 1758 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
d8cc4c00 1759
5253a5fd
SM
1760 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
1761 changes to the format of load-history.
1762
ac9fc2c7
SM
1763 * international/mule-cmds.el (read-char-by-name): Move let-binding of
1764 completion-ignore-case in case that var is buffer-local (bug#12615).
1765
cde44a77
KH
17662012-10-11 Kenichi Handa <handa@gnu.org>
1767
1768 * international/eucjp-ms.el: Re-generated.
1769
4ef4a10d
KH
17702012-10-10 Kenichi Handa <handa@gnu.org>
1771
1772 * select.el (xselect--encode-string): If a coding is specified for
1773 selection, and that is compatible with COMPOUND_TEXT, use it.
1774
9d7f027b
MR
17752012-10-10 Martin Rudalics <rudalics@gmx.at>
1776
1777 * window.el (switch-to-buffer-preserve-window-point): New option.
ac9fc2c7
SM
1778 (switch-to-buffer):
1779 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
9d7f027b 1780
238f3a58
SM
17812012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
1782
1783 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
1784 Don't document nil as a useful value (bug#12583).
1785
1d51f99c
MA
17862012-10-09 Michael Albinus <michael.albinus@gmx.de>
1787
238f3a58
SM
1788 * net/tramp.el (tramp-debug-message):
1789 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
1d51f99c
MA
1790 (with-tramp-progress-reporter): Rename from
1791 `tramp-with-progress-reporter'.
238f3a58
SM
1792 (with-tramp-file-property, with-tramp-connection-property):
1793 Move from tramp-cache.el, rename from `with-file-property' and
1d51f99c
MA
1794 `with-connection-property', respectively.
1795
1796 * net/tramp-cache.el: Remove `with-file-property' and
1797 `with-connection-property'.
1798
1799 * net/tramp.el:
1800 * net/tramp-gvfs.el:
1801 * net/tramp-sh.el:
1802 * net/tramp-smb.el: Adapt callees.
1803
1804 * net/trampver.el: Update release number.
1805
26b77251
GM
18062012-10-09 Glenn Morris <rgm@gnu.org>
1807
9a5f296f
GM
1808 * w32-fns.el (set-message-beep):
1809 * term/w32-win.el (set-message-beep): Update declarations.
1810
94c66ce5
SM
18112012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
1812
10766e9e
SM
1813 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
1814 (mode-line-widen, mode-line-input-method-map)
1815 (mode-line-coding-system-map, mode-line-remote)
1816 (mode-line-unbury-buffer, mode-line-bury-buffer)
1817 (mode-line-next-buffer, mode-line-previous-buffer):
1818 Replace save-selected-window+select-window => with-selected-window.
1819
f754db08
SM
1820 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
1821 * progmodes/cc-vars.el (bq-process): Remove, unused.
1822
94c66ce5
SM
1823 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
1824
a4ff7fe1
FEG
18252012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
1826
1827 Implemented `backward-up-list'-like navigation.
1828 * progmodes/python.el (python-nav-up-list)
1829 (python-nav-backward-up-list): New functions.
1830 (python-mode-map): Define substitute key for backward-up-list to
1831 python-nav-backward-up-list.
1832
24517d82
FEG
18332012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
1834
1835 * progmodes/python.el (python-fill-paragraph): Rename from
1836 python-fill-paragraph-function. Fixed fill-paragraph for
1837 decorators (Bug#12605).
1838
51867ae2
FEG
18392012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
1840
1841 * progmodes/python.el (python-shell-output-filter): Handle extra
1842 carriage return in OSX (Bug#12409).
1843
a5b773c4
FEG
18442012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
1845
1846 Fix shell handling of unbalanced quotes and parens in output.
94c66ce5 1847 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
a5b773c4
FEG
1848 (python-syntax-propertize-function): Use it.
1849 (python-shell-output-syntax-table): New var.
1850 (inferior-python-mode): Prevent unbalanced parens/quotes from
1851 previous output mess with current input context.
1852
13373538
JB
18532012-10-08 Juanma Barranquero <lekktu@gmail.com>
1854
1855 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
1856 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
1857
775a132d
MA
18582012-10-08 Michael Albinus <michael.albinus@gmx.de>
1859
1860 * ffap.el (ffap-replace-file-component): Support Tramp file name
1861 syntax, not only ange-ftp's one.
1862
3ab44929
GM
18632012-10-08 Glenn Morris <rgm@gnu.org>
1864
57f1dee4
GM
1865 * cus-start.el (message-log-max): Set :version.
1866
3ab44929
GM
1867 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
1868
6a088630
MR
18692012-10-08 Martin Rudalics <rudalics@gmx.at>
1870
1871 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
1872 the minibuffer window (Bug#10851).
1873
8dbce54c
FEG
18742012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
1875
1876 Enhancements on forward-sexp movement.
1877 * progmodes/python.el (python-nav-beginning-of-statement)
1878 (python-nav-end-of-statement): Return point-marker.
1879 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
1880 (python-info-current-symbol)
1881 (python-info-statement-starts-block-p): Rename from
1882 python-info-beginning-of-block-p.
1883 (python-info-statement-ends-block-p): Rename from
1884 python-info-end-of-block-p.
1885 (python-info-beginning-of-statement-p)
1886 (python-info-end-of-statement-p)
1887 (python-info-beginning-of-block-p, python-info-end-of-block-p):
1888 New functions.
1889
5acd2b3e
SM
18902012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1891
1892 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
1893 frame-selected-windows.
1894
e08348a0
DC
18952012-10-08 Daniel Colascione <dancol@dancol.org>
1896
1897 * battery.el (battery-status-function): Check for
1898 w32-battery-status itself, not system-time windows-nt.
1899
1900 * frame.el: Require cl-lib.
1901 (display-format-alist): New variable mapping frame types to
1902 functions that initialize them.
1903 (window-system-for-display): New function: interprets
1904 display-format-alist.
1905 (make-frame-on-display): Remove existing display-selection logic
1906 and just forward to make-frame, which will now DTRT.
1907 (make-frame): Restructure to use window-system-for-display to
1908 figure out how to create a frame on a given display.
1909 (display-mouse-p): Look for frame-type w32, not a particular
1910 system-type.
1911
1912 * loadup.el: Load w32 lisp code when we have the w32 feature.
1913
1914 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
1915 system-type windows-nt.
1916
1917 * server.el (server-create-window-system-frame): Look for window
1918 type.
1919 (server-proces-filter): Only force a window system when windows-nt
1920 _and_ w32. Explain why.
1921
1922 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
1923 of window systems we configure for the mode.
1924
1925 * startup.el (command-line): Mark window system is initialized
1926 after we've done it.
1927
1928 * common-win.el (x-select-text): Look for w32, not windows-nt.
1929
1930 * ns-win.el: Require cl-lib. Add ourselves to
1931 display-format-alist.
1932 (ns-initialize-window-system): Assert we're not initialized twice.
1933
1934 * w32-win.el: Enable lexical binding; require cl-lib; add
1935 ourselves to display-format-alist.
1936 (w32-handle-dropped-file): Convert incoming dropped files from
1937 Windows paths to Cygwin ones before passing them on to the rest of
1938 Emacs.
1939 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
1940 (w32-initialize-window-system): Assert we're not initialized twice.
1941
1942 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
1943 (x-initialize-window-system): Assert we're not initialized twice.
1944
1945 * w32-common-fns.el: New File.
1946 (w32-version, w32-using-nt, w32-get-clipboard-data)
1947 (w32-set-clipboard-data, x-set-selection, x-get-selection)
1948 (w32-charset-info-alist, x-last-selected, text)
1949 (x-get-selection-value, x-selection-value): Move here.
1950
1951 * w32-fns.el: Require w32-common-fns.
1952 (w32-version, w32-using-nt, w32-get-clipboard-data)
1953 (w32-set-clipboard-data, x-set-selection, x-get-selection)
1954 (w32-charset-info-alist, x-last-selected, text)
1955 (x-get-selection-value, x-selection-value): Move to
1956 w32-common-fns.
1957
1958 * w32-vars.el:
1959 (w32-allow-system-shell, w32-system-shells): Define only in
1960 non-cygwin case.
1961
795b1482
SM
19622012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1963
1964 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
1965 (read-passwd): Remove a few more potential sources of leaks.
1966
f27c99dc
FEG
19672012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
1968
1969 * progmodes/python.el (inferior-python-mode)
795b1482 1970 (python-shell-make-comint): Fix initialization of local
f27c99dc
FEG
1971 variables copied from parent buffer.
1972
fcacb558
JD
19732012-10-07 Jan Djärv <jan.h.d@swipnet.se>
1974
1975 * term/ns-win.el (ns-read-file-name): Update declaration to match
1976 nsfns.m.
1977 (ns-respond-to-change-font): Change fontsize separatly so we are sure
1978 it is set when font is acted upon.
1979
be0d5bae
FEG
19802012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
1981
1982 Enhancements to indentation.
1983 * progmodes/python.el (python-indent-context): Give priority to
1984 inside-string context. Make comments indentation markers.
1985 (python-indent-region): Do not mess with strings, unless it's the
1986 enclosing set of quotes.
1987
13af0d10
SM
19882012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1989
662a9d0e
SM
1990 * window.el (internal--before-save-selected-window)
1991 (internal--after-save-selected-window): New functions extracted from
1992 save-selected-window. Make sure we return the `alist' we construct.
1993 (save-selected-window): Use them.
1994
1995 * textmodes/tex-mode.el (tex-recenter-output-buffer):
1996 Use with-selected-window.
1997
13af0d10
SM
1998 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
1999 forms that define macros (bug#12593).
2000
6aa75fb6
KH
20012012-10-07 Kenichi Handa <handa@gnu.org>
2002
13af0d10
SM
2003 * international/mule-conf.el (compound-text-with-extensions):
2004 Add :mime-charset property as x-ctext.
6aa75fb6 2005
78d876b9
SM
20062012-10-07 Stefan Merten <smerten@oekonux.de>
2007
2008 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
2009 (rst-indent-literal-normal, rst-indent-literal-minimized)
2010 (rst-indent-comment): Correct :version tag.
557337e9 2011 (rst-official-cvs-rev): Correct version string.
78d876b9 2012
99a1e701
GM
20132012-10-07 Glenn Morris <rgm@gnu.org>
2014
2015 * mail/rmailmm.el (rmail-mime-process-multipart):
2016 Do not confuse a multipart message with an epilogue
2017 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
2018
08f18c3d
FEG
20192012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
2020
2021 Fix shell output retrieval and comint-prompt-regexp init.
2022 * progmodes/python.el (inferior-python-mode):
2023 (python-shell-make-comint): Fix initialization of
2024 comint-prompt-regexp from copied file local variables.
2025 (python-shell-fetched-lines): Remove var.
2026 (python-shell-output-filter-in-progress): Rename from
2027 python-shell-fetch-lines-in-progress.
2028 (python-shell-output-filter-buffer): Rename from
2029 python-shell-fetch-lines-string.
2030 (python-shell-fetch-lines-filter): Delete function.
2031 (python-shell-output-filter): New function.
2032 (python-shell-send-string-no-output): Use them.
2033
82ed3ab4
GM
20342012-10-07 Glenn Morris <rgm@gnu.org>
2035
1595ecfa
GM
2036 * hi-lock.el (hi-lock-process-phrase):
2037 Try to make it less fragile. (Bug#7161)
2038
82ed3ab4
GM
2039 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
2040
f1f4dba0
GM
20412012-10-06 Glenn Morris <rgm@gnu.org>
2042
addc11ed 2043 * ehelp.el (electric-help-mode): Use help-mode rather than
32939005
GM
2044 non-existent mode `help'.
2045 (electric-help-map): Use button-buffer-map. (Bug#10917)
addc11ed 2046
460042b8
GM
2047 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
2048 (reftex-create-bibtex-footer): Fix custom types.
2049
67667c70
GM
2050 * progmodes/sh-script.el (sh-indent-after-continuation):
2051 Add explicit :group.
2052
18dec750
GM
2053 * textmodes/rst.el (rst-preferred-decorations)
2054 (rst-shift-basic-offset): Clarify obsolescence versions.
2055
d1a1c7e6
GM
2056 * profiler.el (profiler): Add missing group :version tag.
2057 * avoid.el (mouse-avoidance-banish-position):
2058 * proced.el (proced-renice-command):
2059 * calc/calc.el (calc-ensure-consistent-units):
2060 * calendar/icalendar.el (icalendar-import-format-uid):
2061 * net/tramp.el (tramp-save-ad-hoc-proxies):
2062 * progmodes/bug-reference.el (bug-reference-bug-regexp):
2063 * progmodes/flymake.el (flymake-error-bitmap)
2064 (flymake-warning-bitmap, flymake-fringe-indicator-position):
2065 * progmodes/sh-script.el (sh-indent-after-continuation):
2066 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
2067 (verilog-before-save-font-hook, verilog-after-save-font-hook):
2068 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
2069 (vhdl-array-index-record-field-in-sensitivity-list)
2070 (vhdl-indent-comment-like-next-code-line):
2071 * textmodes/reftex-vars.el (reftex-ref-style-alist)
2072 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
2073 (reftex-cite-key-separator, reftex-create-bibtex-header)
2074 (reftex-create-bibtex-footer):
2075 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
2076 (rst-indent-literal-normal, rst-indent-literal-minimized)
2077 (rst-indent-comment): Add missing custom :version tags.
2078
ef35abb4
GM
2079 * calendar/timeclock.el (timeclock-modeline-display):
2080 Add missing obsolete alias for renamed user option.
2081
d1aae614
GM
2082 * strokes.el (strokes-modeline-string):
2083 * emulation/crisp.el (crisp-mode-modeline-string):
2084 * eshell/esh-mode.el (eshell-status-in-modeline):
2085 Aliases to defcustoms must come before the defcustom.
2086
f1f4dba0
GM
2087 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
2088 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
2089 (cal-tex-cursor-week-monday): Doc fixes.
2090 (cal-tex-cursor-week2-summary): Doc fix.
2091 Rename from cal-tex-cursor-week-at-a-glance.
2092
2093 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
2094 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
2095
2096 * calendar/calendar.el (calendar-mode-map):
2097 Add cal-tex-cursor-week2-summary.
2098
d39109c3
SM
20992012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
2100
685f87b0
SM
2101 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
2102
d39109c3
SM
2103 * subr.el (read-passwd-map): New var.
2104 (read-passwd): Use `read-string' again.
2105 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
2106
5694896d
J
21072012-10-06 Jambunathan K <kjambunathan@gmail.com>
2108
2109 * register.el (append-to-register, prepend-to-register):
2110 Deactivate mark, as does `copy-to-register' (bug#12389).
2111
9414dd8d
CY
21122012-10-06 Chong Yidong <cyd@gnu.org>
2113
2114 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
2115
2b89bca4
KH
21162012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
2117
2118 * international/characters.el: Fix simple mistake ((car chars) ->
2119 elt), delete duplicated code.
2120
d5acb99a
GM
21212012-10-06 Glenn Morris <rgm@gnu.org>
2122
2123 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
2124
123ec157
JS
21252012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
2126
2127 * color.el (color-hsl-to-rgb): Fix incorrect results for
2128 small and large hue values. (Bug#12559)
2129
7fa36ccb
FEG
21302012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
2131
2132 Enhancements to docstring formatting when filling paragraphs.
2133 * progmodes/python.el (python-fill-docstring-style): Rename from
2134 python-fill-string-style. Added new style.
2135 (python-fill-string): Use new style. Better checks for
2136 docstrings.
2137
d8788e1e
GM
21382012-10-05 Glenn Morris <rgm@gnu.org>
2139
204f3953
GM
2140 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
2141
d8788e1e
GM
2142 * color.el (color-name-to-rgb, color-rgb-to-hex)
2143 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
2144 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
2145 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
2146 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
2147
8d956cef
GM
2148 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
2149
e8757f09 21502012-10-05 Juanma Barranquero <lekktu@gmail.com>
ea9a3563
JB
2151
2152 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
2153 to get the correct size across symlinks.
2154
e8757f09
GM
2155 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
2156
0e2ae83d
JL
21572012-10-04 Juri Linkov <juri@jurta.org>
2158
2159 * replace.el (query-replace-interactive): Declare obsolete.
2160 (query-replace-read-from): Add the last incremental search string
2161 to the list of default values accessible via M-n.
2162 (map-query-replace-regexp): Use `read-regexp'.
2163 (query-replace, query-replace-regexp, query-replace-regexp-eval)
2164 (map-query-replace-regexp, replace-string, replace-regexp):
2165 Fix docstrings to replace mentions of `query-replace-interactive'
2166 with alternatives. (Bug#12526)
2167
93cacb6d
JL
21682012-10-04 Juri Linkov <juri@jurta.org>
2169
2170 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
2171 (dired-pop-to-buffer): Declare obsolete.
2172 (dired-mark-pop-up): Doc fix.
2173
fc345011
FEG
21742012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
2175
2176 Allow user to set docstring style for fill-paragraph.
2177 * progmodes/python.el
2178 (python-fill-comment-function, python-fill-string-function)
2179 (python-fill-decorator-function, python-fill-paren-function):
2180 Remove :safe for defcustoms.
2181 (python-fill-string-style): New defcustom
5694896d 2182 (python-fill-paragraph-function): Enhance context detection.
fc345011
FEG
2183 (python-fill-string): Honor python-fill-string-style settings.
2184
6bab5d8b
MR
21852012-10-04 Martin Rudalics <rudalics@gmx.at>
2186
2187 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
2188 after setting its buffer (Bug#10805).
2189
a1a9f411
FEG
21902012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
2191
2192 Fix cornercase for string syntax.
2193 * progmodes/python.el (python-syntax-propertize-function):
2194 Simplify and enhance the regexp for unescaped quotes. Now it also
2195 matches quotes in weird situations like the single quote in
2196 "something\"'".
2197 (python-syntax-stringify): Simplify num-quotes detecting code.
2198
05e153a6
GM
21992012-10-03 Glenn Morris <rgm@gnu.org>
2200
2201 * help-macro.el (three-step-help):
2202 Revert 2012-09-29 change. (Bug#12567)
2203
2e566ecb
MR
22042012-10-03 Martin Rudalics <rudalics@gmx.at>
2205
96ef9ccd
MR
2206 * menu-bar.el (kill-this-buffer): Don't do anything when
2207 `menu-frame' is not alive or visible (Bug#8184).
2208
2e566ecb
MR
2209 * emacs-lisp/debug.el (debug): When quitting the debugger window
2210 restore current buffer (Bug#12502).
2211
a96e1cb7
CY
22122012-10-02 Chong Yidong <cyd@gnu.org>
2213
5694896d
J
2214 * progmodes/hideif.el (hif-lookup, hif-defined):
2215 Handle semantic-c-takeover-hideif.
a96e1cb7 2216
b3ecad33
PE
22172012-10-02 Paul Eggert <eggert@cs.ucla.edu>
2218
2219 Change sampling interval units from ms to ns.
2220 * profiler.el (profiler-sampling-interval): Change units
2221 from ms to ns, multiplying the default by 1000000 so that
2222 it remains 1 ms.
2223 (profiler-report-cpu-line-format): Give enough room for
2224 the maximum counters on 64-bit hosts.
2225 (profiler-report-render-calltree-1): Call them "CPU samples",
2226 not "Time (ms)", since they are not milliseconds now (and
2227 never really were).
2228
8cb51b66 22292012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
c623f81a 2230
5694896d
J
2231 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
2232 Fix querying BBDB for entries without a last name (Bug#11580).
c623f81a 2233
fd795bf4
CY
22342012-10-02 Chong Yidong <cyd@gnu.org>
2235
2236 * emacs-lisp/eieio.el: Restore Version header.
2237
fe0a74f9
SM
22382012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
2239
6be9197e
SM
2240 * vc/diff-mode.el (diff--auto-refine-data): New var.
2241 (diff-hunk): Use it to delay refinement.
2242 (diff-mode): Remove overlays when we turn off font-lock.
2243
18486139
SM
2244 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
2245 (table-initialize-table-fixed-width-mode)
2246 (table-set-table-fixed-width-mode): Remove functions.
2247 (table-command-list): Move initialization into declaration.
2248 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
2249 (table-with-cache-buffer): Use `declare'.
2250 (table-span-cell): Simplify via CSE.
2251 (table-fixed-width-mode): Use define-minor-mode.
2252 (table-call-interactively, table-funcall, table-apply): Remove.
2253 (table-function): New function, to replace them.
2254
d83ef976
SM
2255 * bookmark.el (bookmark-search-pattern): Remove var.
2256 (bookmark-read-search-input): Remove function.
2257 (bookmark-bmenu-search): Reimplement using a minibuffer.
2258
cd386662
SM
2259 * faces.el (modeline): Remove obsolete face name.
2260
fe0a74f9
SM
2261 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
2262 and give a non-nil default value.
2263 (add-change-log-entry): Simplify accordingly.
2264
9f7b98f8
DG
22652012-10-01 Dmitry Gutov <dgutov@yandex.ru>
2266
2267 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
2268 (vc-git-log-edit-toggle-amend): New function.
2269 (vc-git-log-edit-toggle-signoff): New function.
2270 (vc-git-log-edit-mode): New major mode.
2271 (vc-git-log-edit-mode-map): Keymap for it.
2272 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
2273
2274 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
2275 header names.
2276 (log-edit-toggle-header): New function.
2277 (log-edit-extract-headers): Accept function values in HEADERS alist.
2278
62a81506
CY
22792012-10-01 David Engster <deng@randomsample.de>
2280
2281 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
2282 from symbol property and change message to be more consistent with
2283 Emacs proper.
2284 (eieio-describe-generic): Add filename for each implementation.
2285 Fix indices for generic and normal methods.
2286 (eieio-method-def, eieio-class-def): New buttons.
2287 (eieio-help-find-method-definition)
2288 (eieio-help-find-class-definition): New functions.
2289 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
2290 class, constructor and method definitions.
2291
2292 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
2293 information in symbol property.
2294 (scoped-class): Remove.
2295 (eieio-slot-name-index, call-next-method): Check if it is bound.
2296
22972012-10-01 Leo P. White <lpw25@cam.ac.uk>
2298
2299 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
2300 (eieio-custom-mode): New major mode.
2301 (eieio-customize-object): Use it.
2302
23032012-10-01 Eric Ludlam <zappo@gnu.org>
2304
2305 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
2306 specifying the expected class, and whether subclassing is allowed.
2307 (eieio-persistent-convert-list-to-object):
1f9f395d
JB
2308 (eieio-persistent-validate/fix-slot-value)
2309 (eieio-persistent-slot-type-is-class-p): New functions.
2310 (eieio-named::slot-missing): Doc fix.
62a81506
CY
2311
2312 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
2313 Stop using unused publd variable.
2314
2315 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
2316 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
2317 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
2318 (eieio-speedbar-handle-click): Do not specify a class for the
2319 method. Fixes method invocation order problems with EDE.
2320
375e49d4
SM
23212012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
2322
2323 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
2324 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
2325
16ce6ccd
KF
23262012-10-01 Karl Fogel <kfogel@red-bean.com>
2327
2328 * bookmark.el (bookmark-version-control): Give tags in the
2329 :type choices (Bug#12309), and improve doc string.
e4c4abdd
KF
2330 (bookmark-write-file): Bind `print-circle' to `t' to allow
2331 circular custom bookmark types. (Bug#12503)
16ce6ccd 2332
19e54a4d
PE
23332012-10-01 Paul Eggert <eggert@cs.ucla.edu>
2334
86ec63ba
PE
2335 Revert the FOLLOW-SYMLINKS change for file-attributes.
2336 * files.el (remote-file-name-inhibit-cache, after-find-file):
2337 * time.el (display-time-file-nonempty-p): Undo last change.
2338
19e54a4d
PE
2339 * profiler.el (profiler-sampling-interval): Change default back to 1.
2340 See Stefan Monnier in
2341 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
2342
0478776b
FEG
23432012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
2344
2345 Shell output catching a la gud-gdb.
2346 * progmodes/python.el (python-shell-fetch-lines-in-progress)
375e49d4
SM
2347 (python-shell-fetch-lines-string, python-shell-fetched-lines):
2348 New Vars.
0478776b
FEG
2349 (python-shell-fetch-lines-filter): New function.
2350 (python-shell-send-string-no-output): Use them.
2351
c22bac2c
TM
23522012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
2353
2354 * profiler.el (profiler-sampling-interval): Rename from
2355 profiler-sample-interval.
2356 (profiler-sampling-interval): Default to 10.
2357 (profiler-find-profile): New command (was profiler-find-log).
2358 (profiler-find-profile-other-window): New command.
2359 (profiler-find-profile-other-frame): New command.
2360 (profiler-profile): Introduce API-level data structure.
2361
e7a2937b
PE
23622012-09-30 Paul Eggert <eggert@cs.ucla.edu>
2363
2364 file-attributes has a new optional arg FOLLOW-SYMLINKS.
2365 * files.el (remote-file-name-inhibit-cache):
2366 * time.el (display-time-file-nonempty-p): Use it.
2367 * files.el (after-find-file): Don't chase links before calling
2368 file-exists-p, as file-exists-p already does the right thing.
2369
4f595e15
RA
23702012-09-30 Ralf Angeli <angeli@caeruleus.net>
2371
2372 Merge from standalone RefTeX repository.
2373
2374 The following ChangeLog entries are shortened versions of the
2375 original ones with file paths adapted. A not so strongly edited
2376 version of the original ChangeLog can be found in the commit log.
2377
2378 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
375e49d4
SM
2379 (reftex-arg-cite): Use `reftex-cite-key-separator'.
2380 Correctly handle new value type returned by `reftex-citation'.
4f595e15
RA
2381
2382 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
375e49d4
SM
2383 that entries with whitespace at various places are found.
2384 Doc fix. Include entries that are cross-referenced from cited entries.
4f595e15
RA
2385 Include @String definitions in the resulting bib file. Add header
2386 and footer defined in `reftex-create-bibtex-header' and
2387 `reftex-create-bibtex-footer'.
2388 (reftex-do-citation): Make it possible again to insert
2389 non-existent entries. Save match data when asking for optional
2390 arguments. Return all keys, not just the first one.
2391 (reftex-all-used-citation-keys): Fix regexp to correctly extract
2392 all citations in the same line.
2393 (reftex-parse-bibtex-entry): Accept additional optional argument
2394 `raw' and keep quotes or braces if it is non-nil. Match fields
2395 containing hyphens besides word constituents.
2396 (reftex-get-string-refs): New function.
2397 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
2398 and ask if it should be reread in case it did.
2399 (reftex-pop-to-bibtex-entry)
2400 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
2401 entries with spaces or tabs in front of arguments.
2402 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
375e49d4
SM
2403 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
2404 Match entries containing numbers and symbol constituents.
2405 (reftex-do-citation, reftex-figure-out-cite-format):
2406 Use `reftex-cite-key-separator'.
4f595e15
RA
2407
2408 * textmodes/reftex-dcr.el: Move provide statement to end of file.
2409 (reftex-mouse-view-crossref): Explain why point is set.
2410
2411 * textmodes/reftex-global.el: Whitespace changes.
2412
2413 * textmodes/reftex-index.el: Move provide statement to end of
2414 file.
2415 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
2416 (reftex-index-visit-phrases-buffer): Set marker when visiting
2417 buffer. This allows for returning from the phrases file to the
2418 file one was just editing instead of the file where the last
2419 phrases was added from.
2420 (reftex-index-phrases-syntax-table): New variable. Give ?\"
2421 punctuation syntax as it usually is not used as string quote in
2422 TeX-related modes and may occur unmatched. The change also
2423 prevents fontification of quoted content.
2424 (reftex-index-phrases-mode): Use it.
2425
375e49d4
SM
2426 * textmodes/reftex-parse.el (reftex-parse-from-file):
2427 Move backward one char if a `\' was matched after a section macro.
4f595e15
RA
2428 (reftex-parse-from-file): Use beginning of match instead of end as
2429 bound.
2430
2431 * textmodes/reftex-ref.el: Adapt creation of
2432 `reftex-<package>-<macro>' functions to new structure of
2433 `reftex-ref-style-alist'.
375e49d4
SM
2434 (reftex-reference): Use `reftex-ref-style-list' function.
2435 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
4f595e15
RA
2436 reference macro if `reftex-ref-macro-prompt' is non-nil.
2437 (reftex-reference): Pass refstyle to `reftex-format-special'.
2438 Determine reference macro by looking at
375e49d4
SM
2439 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
2440 Use only one special format function.
4f595e15
RA
2441 (reftex-varioref-vref, reftex-fancyref-fref)
2442 (reftex-fancyref-Fref): Remove definitions. The functions are now
2443 generated from `reftex-ref-style-alist'.
2444 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
2445 Remove.
2446 (reftex-format-special): New function.
2447
2448 * textmodes/reftex-sel.el
2449 (reftex-select-cycle-ref-style-internal): Adapt to new structure
2450 of `reftex-ref-style-alist'. Remove code for testing macro type.
2451 (reftex-select-toggle-varioref)
2452 (reftex-select-toggle-fancyref): Remove.
2453 (reftex-select-cycle-ref-style-internal)
2454 (reftex-select-cycle-ref-style-forward)
2455 (reftex-select-cycle-ref-style-backward): New functions.
2456 (reftex-select-label-map): Use `v' and `V' for general cycling
2457 through reference styles. Add `p' for switching between number
2458 and page reference types.
2459
375e49d4
SM
2460 * textmodes/reftex-toc.el (reftex-re-enlarge):
2461 Call `enlarge-window' only if there is something to do because in Emacs
4f595e15
RA
2462 the horizontal version throws an error even if the parameter is 0.
2463
2464 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
2465 (reftex-plug-into-AUCTeX): Doc fix.
2466 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
2467 string. Adapt to new name.
2468 (reftex-ref-style-alist): Change structure so that it is not
2469 possible to use multiple different package names within a style.
375e49d4
SM
2470 Remove the symbols for symbols for macro type distinction.
2471 Add characters for macro selection.
4f595e15
RA
2472 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
2473 (reftex-create-bibtex-footer): New variables.
2474 (reftex-format-ref-function): Mention third argument of special
2475 format function.
375e49d4
SM
2476 (reftex-ref-style-alist, reftex-ref-style-default-list):
2477 New variables.
4f595e15
RA
2478 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
2479 to new implementation. Mark as obsolete. Add compatibility code
2480 for honoring the variable values in case they are set.
375e49d4
SM
2481 (reftex-cite-format-builtin, reftex-bibliography-commands):
2482 Add support for ConTeXt.
2483 (reftex-format-ref-function, reftex-format-cite-function):
2484 Fix custom type.
4f595e15
RA
2485 (reftex-cite-key-separator): New variable.
2486
2487 * textmodes/reftex.el (reftex-syntax-table-for-bib)
2488 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
2489 `reftex-syntax-table' because parens have to retain their paren
2490 syntax in order for parsing of BibTeX entries like @book(...) to
2491 work.
2492 (reftex-in-comment): Do not error out if `comment-start-skip' is
2493 not set. Deal correctly with escaped comment characters.
375e49d4
SM
2494 (reftex-tie-multifile-symbols): Add doc string.
2495 Initialize `reftex-ref-style-list'.
4f595e15
RA
2496 (reftex-untie-multifile-symbols): Add doc string.
2497 (reftex-add-index-macros): Doc fix.
2498 (reftex-ref-style-activate, reftex-ref-style-toggle)
2499 (reftex-ref-style-list): New functions.
2500 (reftex-mode-menu): Use them. Adapt to new structure of
2501 `reftex-ref-style-alist'.
2502 (reftex-select-with-char): Kill the RefTeX Select buffer when
2503 done.
2504 (reftex-remove-if): New function.
2505 (reftex-erase-all-selection-and-index-buffers)
2506 (reftex-mode-menu): Reference styles are now computed from
2507 `reftex-ref-style-alist'. Fix typo.
2508 (reftex-report-bug): New function.
2509 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
2510 algorithms with O(n log n). Introduce optional argument SORT (not
2511 yet used).
2512
440ba395
FEG
25132012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
2514
2515 Enhancements for triple-quote string syntax.
375e49d4
SM
2516 * progmodes/python.el (python-syntax-propertize-function):
2517 Match both quote cases in one regexp.
440ba395
FEG
2518 (python-syntax-stringify): Handle matches properly.
2519
4c478e6b
JL
25202012-09-30 Juri Linkov <juri@jurta.org>
2521
2522 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
93cacb6d 2523 to nil around the call to `insert' to prevent
4c478e6b
JL
2524 directory time modification by lock_file. (Bug#2295)
2525 * tar-mode.el (tar-summarize-buffer): Idem.
2526
d80d54b2
JL
25272012-09-30 Juri Linkov <juri@jurta.org>
2528
2529 * facemenu.el (list-colors-sort): Add option "Luminance".
2530 (list-colors-sort-key): Implement it.
2531
2532 * vc/diff-mode.el (diff-refine-removed):
2533 * vc/ediff-init.el (ediff-fine-diff-A):
2534 * vc/smerge-mode.el (smerge-refined-removed):
2535 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
2536
d7e642cc
JD
25372012-09-30 Jan Djärv <jan.h.d@swipnet.se>
2538
2539 * term/ns-win.el (x-file-dialog): New function.
2540
ee41332b
JB
25412012-09-30 Juanma Barranquero <lekktu@gmail.com>
2542
2543 * ido.el (ido-max-directory-size): Default to nil; the current
2544 default is small for POSIX systems, and impractical on Windows 7
2545 now that lstat returns directory sizes for NTFS.
2546
5938d519
MR
25472012-09-30 Martin Rudalics <rudalics@gmx.at>
2548
2549 In buffer display functions handle window-height/window-width
2550 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
375e49d4
SM
2551 * window.el (window--display-buffer): New argument ALIST.
2552 Obey window-height and window-width alist entries.
2553 (window--try-to-split-window): New argument ALIST.
2554 Bind window-combination-limit to t when the window's size shall be
5938d519
MR
2555 changed and window-combination-limit equals `window-size'.
2556 (display-buffer-in-atom-window)
2557 (display-buffer-in-major-side-window)
2558 (display-buffer-in-side-window, display-buffer-same-window)
2559 (display-buffer-reuse-window, display-buffer-pop-up-frame)
2560 (display-buffer-pop-up-window, display-buffer-below-selected)
2561 (display-buffer-at-bottom, display-buffer-in-previous-window)
2562 (display-buffer-use-some-window): Adjust all callers of
2563 window--display-buffer and window--try-to-split-window.
2564 (fit-frame-to-buffer): New option.
2565 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
2566 is non-nil.
2567 (display-buffer-in-major-side-window): Evaluate window-height /
2568 window-width alist entries.
2569
2570 * help.el (temp-buffer-resize-frames)
2571 (temp-buffer-resize-regexps): Remove options.
2572 (temp-buffer-resize-mode): Adjust doc-string.
2573 (resize-temp-buffer-window): Don't consult
2574 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
2575 temp-buffer-resize-frames.
2576
375e49d4
SM
2577 * dired.el (dired-mark-pop-up):
2578 Call display-buffer-below-selected with a fit-window-to-buffer alist
5938d519
MR
2579 entry.
2580
c4c0c2df
CY
25812012-09-30 Chong Yidong <cyd@gnu.org>
2582
48de8b12
CY
2583 * server.el (server-host): Document the security implications.
2584 (server-auth-key): Doc fix.
2585
2586 * startup.el (initial-buffer-choice): Doc fix.
2587
2588 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
2589
a97dc380
CY
2590 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
2591 restriction change.
2592
d39d3c8e
CY
2593 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
2594
c4c0c2df
CY
2595 * help-fns.el (help-fns--obsolete): Fix last change.
2596
98a5e33b
SM
25972012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
2598
34cf6f39
SM
2599 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
2600 (minor-mode-map-alist): Remove redundant code.
2601
e01c13fe
SM
2602 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
2603 visited in a buffer.
2604 (cvs-insert-visited-file): New function.
2605 (find-file-hook): Use it.
2606
2607 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
2608
02661b3a
SM
2609 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
2610 chose face.
2611 (log-edit-empty-buffer-p): Don't require a space after a header.
2612
43711d4b
SM
2613 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
2614
38a30d64
SM
2615 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
2616
4ffb41a9
SM
2617 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
2618 a proper minor-mode.
2619
98a5e33b
SM
2620 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
2621
de82e29b
GM
26222012-09-29 Glenn Morris <rgm@gnu.org>
2623
5cc2e639
GM
2624 * winner.el (winner-mode): Remove variable (let define-minor-mode
2625 handle it).
2626 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
2627 Doc fixes.
2628 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
2629 (winner-mode): Use define-minor-mode.
2630
7bd302eb
GM
2631 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
2632 the full definition in loaddefs, rather than duplicating it.
2633
2923922f 2634 * help-macro.el (three-step-help): No need to autoload defcustom.
ced08382 2635
0e3e4156
GM
2636 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
2637 (inferior-lisp-program, inferior-lisp-load-command)
2638 (inferior-lisp-prompt, inferior-lisp-mode-hook):
2923922f 2639 No need to autoload defcustoms.
0e3e4156 2640
de82e29b
GM
2641 * hippie-exp.el (hippie-expand-try-functions-list)
2642 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
2643 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
2644 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
2923922f 2645 (hippie-expand-only-buffers): No need to autoload defcustoms.
de82e29b
GM
2646 * progmodes/vhdl-mode.el (vhdl-line-expand):
2647 Explicitly load hippie-exp, so it does not get autoloaded
2648 while hippie-expand-try-functions-list is let-bound.
2649
e60b51ab
GM
26502012-09-28 Glenn Morris <rgm@gnu.org>
2651
277f0cfa
GM
2652 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
2653
e60b51ab
GM
2654 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
2655 Only "cl.el" counts as cl these days.
2656
53baf48a
JL
26572012-09-28 Juri Linkov <juri@jurta.org>
2658
2659 Display archive errors in the echo area instead of inserting
2660 to the file buffer.
2661
2662 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
2663 to STDERR-TEST that can be a regexp matching a successful output.
2664 Create a temporary file and redirect stderr to it. Search for
2665 STDERR-TEST in the stderr output and display it in the echo area
2666 if no match is found.
2667 (archive-extract-by-file): New function like
2668 `archive-extract-by-stdout' but extracting archives to files
2669 and looking for successful matches in stdout. Function body is
2670 mostly copied from `archive-rar-extract'.
2671 (archive-rar-extract): Use `archive-extract-by-file'.
2672 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
2673
9c1228c3
LL
26742012-09-28 Leo Liu <sdl.web@gmail.com>
2675
375e49d4
SM
2676 * pcomplete.el (pcomplete-show-completions):
2677 Use minibuffer-message to make pcomplete usable in minibuffer.
147c0425 2678
9c1228c3
LL
2679 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
2680
7f457c06
SM
26812012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
2682
3df749b0
SM
2683 * type-break.el: Use lexical-binding.
2684 (type-break-mode): Use define-minor-mode.
2685
7f457c06
SM
2686 * emacs-lisp/pcase.el (pcase--mark-used): New.
2687 (pcase--u1): Use it (bug#12512).
2688
2689 * custom.el (load-theme): Set buffer-file-name so the load is recorded
2690 in load-history with the right file name.
2691
c00ebc98
TH
26922012-09-28 Tassilo Horn <tsdh@gnu.org>
2693
2694 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
2695 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
2696 (doc-view-get-bounding-box): Make bounding box slicing work for
2697 ODF and DVI documents.
2698
96fb7170
GM
26992012-09-28 Glenn Morris <rgm@gnu.org>
2700
2701 * type-break.el (type-break-mode, type-break-interval)
2702 (type-break-good-rest-interval, type-break-keystroke-threshold):
2703 No need to autoload.
2704 (type-break-good-rest-interval, type-break-keystroke-threshold):
2705 Add :set-after.
2706
5bc93c67
CY
27072012-09-28 Chong Yidong <cyd@gnu.org>
2708
2709 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
2710 Add :version tag.
2711
9cad61d6
SM
27122012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
2713
e28e67b3 2714 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
9cad61d6 2715
daee954c
GM
27162012-09-27 Glenn Morris <rgm@gnu.org>
2717
a88324d4
GM
2718 * faces.el (x-display-name): Declare (for without-x builds).
2719
8e5064e5
GM
2720 * linum.el (linum-format): Don't autoload it. Improve :type.
2721
cc1783c2
GM
2722 * progmodes/tcl.el: Don't require outline when compiling.
2723 (outline-regexp, outline-level): Declare.
1dddcf4c
GM
2724 * textmodes/sgml-mode.el: Don't require outline when compiling.
2725 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
2726
48c339f2
GM
2727 * term.el (term-ansi-reset):
2728 Try setting term-ansi-face-already-done to nil. (Bug#11785)
2729
daee954c
GM
2730 * vc/vc.el (vc-next-action): Only gripe about committing read-only
2731 files for RCS and SCCS. (Bug#9781)
2732
b7f42161
CY
27332012-09-27 Chong Yidong <cyd@gnu.org>
2734
2735 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
2736 change; value should be t.
2737
a2e770db
SM
27382012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
2739
83600dc8
SM
2740 * image-mode.el: Use lexical-binding.
2741 (image-mode-winprops): Use t to stand for the window of
2742 a buffer that's not displayed.
2743 * doc-view.el (doc-view-new-window-function): Handle the new
2744 t in winprops.
2745 (doc-view-enlarge): Make it a real nop if the size is not changed.
2746 (doc-view-display): Handle the case where the buffer is not (yet?)
2747 displayed in any window.
2748 (doc-view-saved-settings): New var.
2749 (doc-view-mode): Use it.
2750 (doc-view-fallback-mode): Set it.
2751
a2e770db
SM
2752 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
2753 Set lexical-binding.
2754 (minibuffer-eldef-shorten-default): New var.
2755 (minibuffer-default-in-prompt-regexps): Use it for new default.
2756 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
2757
e3b60857
JB
27582012-09-26 Juanma Barranquero <lekktu@gmail.com>
2759
2760 * international/uni-bidi.el:
2761 * international/uni-category.el:
2762 * international/uni-name.el:
2763 * international/uni-numeric.el: Regenerate.
2764
3a880af4
SM
27652012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
2766 Stefan Monnier <monnier@iro.umontreal.ca>
2767
2768 * profiler.el: New file.
2769
07b1a5fb
SM
27702012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
2771
2772 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
2773 (testcover-reinstrument): Simplify with CSE.
2774
42019c2e
JB
27752012-09-26 Juanma Barranquero <lekktu@gmail.com>
2776
2777 * window.el (temp-buffer-window-setup): Fix typo in docstring.
2778
179f044b
WS
27792012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
2780
2781 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
2782 (verilog-auto-input, verilog-auto-insert-lisp)
2783 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
2784 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
2785 (verilog-auto-unused, verilog-auto-wire)
2786 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
2787 newline. Reported by Andrew Jones.
2788 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
2789 Reported by Brad Dobbie.
07b1a5fb
SM
2790 (verilog-batch-delete-trailing-whitespace):
2791 Create verilog-batch-delete-trailing-whitespace.
2792 Reported by Brad Dobbie.
179f044b
WS
2793 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
2794 parameters from another module. Reported by Dan Katz.
2795 (verilog-auto, verilog-auto-assign-modport)
2796 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
2797 AUTOINOUTMODPORT for UVM interface module shell generation.
2798 Reported by Brad Dobbie.
2799 (verilog-auto-inst-interfaced-ports): Make default nil, as more
2800 standard behavior.
2801 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
2802 Reported by Matt Martin.
2803
9c52dd5a
MR
28042012-09-25 Martin Rudalics <rudalics@gmx.at>
2805
2806 * window.el (window--resize-child-windows): When resizing child
2807 windows proportionally, process them in reverse order to
2808 preserve the "when splitting a window the new one gets the odd
2809 line" behavior.
2810 (window--resize-root-window-vertically): When resizing the
2811 minibuffer window try to affect only windows at the bottom of the
2812 frame. (Bug#12419)
2813
863666eb
CY
28142012-09-25 Chong Yidong <cyd@gnu.org>
2815
2816 * subr.el (declare): Doc fix.
2817
2818 * help-fns.el (help-fns--obsolete): Handle macros properly.
2819
59f7af81
CY
28202012-09-25 Chong Yidong <cyd@gnu.org>
2821
2822 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
2823 this function obsolete.
2824
2825 * calendar/cal-x.el (calendar-two-frame-setup)
2826 (calendar-only-one-frame-setup, calendar-one-frame-setup):
2827 * calendar/calendar.el (american-calendar, european-calendar)
2828 (calendar-for-loop):
2829 * comint.el (comint-dynamic-simple-complete)
2830 (comint-dynamic-complete-as-filename, comint-unquote-filename):
2831 * desktop.el (desktop-load-default):
2832 * dired-x.el (dired-omit-here-always)
2833 (dired-hack-local-variables, dired-default-directory):
2834 * emacs-lisp/derived.el (derived-mode-class):
2835 * emacs-lisp/timer.el (timer-set-time-with-usecs):
2836 * emacs-lock.el (toggle-emacs-lock):
2837 * epa.el (epa-display-verify-result):
2838 * epg.el (epg-sign-keys, epg-start-sign-keys)
2839 (epg-passphrase-callback-function):
2840 * eshell/esh-util.el (eshell-for):
2841 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
2842 (eshell-add-to-window-buffer-names):
2843 * files.el (locate-file-completion):
2844 * imenu.el (imenu-example--create-c-index)
2845 (imenu-example--create-lisp-index)
2846 (imenu-example--lisp-extract-index-name)
2847 (imenu-example--name-and-position):
2848 * international/mule-cmds.el (princ-list):
2849 * international/mule-diag.el (decode-codepage-char):
2850 * international/mule-util.el (detect-coding-with-priority):
2851 * iswitchb.el (iswitchb-read-buffer):
2852 * mail/mailalias.el (mail-complete):
2853 * mail/sendmail.el (mail-sent-via):
2854 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
2855 (mouse-major-mode-menu):
2856 * password-cache.el (password-read-and-add):
2857 * pcomplete.el (pcomplete-parse-comint-arguments):
2858 * progmodes/sh-script.el (sh-maybe-here-document):
2859 * replace.el (query-replace-regexp-eval):
2860 * savehist.el (savehist-load):
2861 * simple.el (choose-completion-delete-max-match):
2862 * term.el (term-dynamic-simple-complete):
2863 * vc/ediff-init.el (ediff-check-version):
2864 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
2865 * vc/vc.el (vc-diff-switches-list):
2866 * view.el (view-return-to-alist-update): Likewise.
2867
2868 * subr.el (eval-next-after-load, makehash, insert-string)
2869 (assoc-ignore-representation, assoc-ignore-case): Use declare to
2870 mark obsolete.
2871 (mode-line-inverse-video): Variable deleted.
2872
2873 * international/mule-util.el (string-to-sequence): Remove.
2874
2875 * calendar/calendar.el (calendar-version):
2876 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
2877 (icalendar-convert-diary-to-ical):
2878 * cus-edit.el (custom-mode):
2879 * ansi-color.el (ansi-color-unfontify-region):
2880 * international/latin1-disp.el (latin1-char-displayable-p):
2881 * progmodes/cwarn.el (turn-on-cwarn-mode):
07b1a5fb
SM
2882 * progmodes/which-func.el (which-func-update-1):
2883 Use define-obsolete-function-alias.
59f7af81
CY
2884
2885 * net/newst-backend.el (newsticker-cache-filename):
07b1a5fb
SM
2886 * net/newst-treeview.el (newsticker-groups-filename):
2887 Fix incorrect obsolescence declaration.
59f7af81
CY
2888
2889 * allout.el (allout-passphrase-hint-string): Likewise.
2890 (allout-init): Use a declare form to mark obsolete.
2891
2892 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
2893 this applies to functions.
2894
2895 * iswitchb.el (iswitchb-read-buffer): Move code of
2896 iswitchb-define-mode-map here, and delete that obsolete function.
2897
2898 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
2899 font-lock-reference-face.
2900
cca96c97
GM
29012012-09-25 Glenn Morris <rgm@gnu.org>
2902
b06eeda8
GM
2903 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
2904 Doc fixes.
2905
cca96c97
GM
2906 * eshell/em-term.el (eshell-term-name):
2907 Default to term-term-name. (Bug#12485)
2908
dc4f818b
FEG
29092012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
2910
cca96c97
GM
2911 * progmodes/python.el (python-shell-send-buffer): Better handling
2912 of "if __name__ == '__main__':" conditionals when sending the buffer.
dc4f818b 2913
289c24bd
GM
29142012-09-24 Glenn Morris <rgm@gnu.org>
2915
2916 * eshell/esh-cmd.el (eshell-find-alias-function):
2917 Tighten up file-name regexp. (Bug#12499)
2918
8fb8b88f
FEG
29192012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
2920
2921 Enhancements for triple-quote string syntax.
2922 * progmodes/python.el (python-quote-syntax): Remove.
2923 (python-syntax-propertize-function): New value.
07b1a5fb
SM
2924 (python-syntax-count-quotes, python-syntax-stringify):
2925 New functions.
8fb8b88f 2926
6c27f0f8
CY
29272012-09-24 Chong Yidong <cyd@gnu.org>
2928
a5f2b6ec
CY
2929 * mail/supercite.el (sc-version): Remove obsolete function.
2930 (sc-describe): Don't mark as obsolete, since it is bound.
2931 (sc-submit-bug-report): Remove.
2932
2933 * vc/log-edit.el (cvs-changelog-full-paragraphs)
2934 (cvs-commit-buffer-require-final-newline): Remove.
0c765e5f
CY
2935 (log-edit-require-final-newline)
2936 (log-edit-changelog-full-paragraphs): Default to t.
a5f2b6ec
CY
2937
2938 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
2939 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
2940 * vc/vc.el (vc-checkout-carefully): Likewise.
2941
2942 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
2943 (emerge-version): Remove.
2944
2945 * progmodes/compile.el (compile-internal): Remove.
2946 (compilation-parse-errors-function): Fix typo.
2947
2948 * international/mule.el (set-char-table-default): Remove.
2949 (set-coding-priority, make-coding-system, generic-char-p)
2950 (charset-list, charset-bytes, charset-id): Use declare to mark
2951 functions as obsolete.
2952
2953 * vc/pcvs-defs.el (cvs-buffer-name-alist)
2954 (cvs-invert-ignore-marks): Remove references to obsolete vars.
2955 * vc/vc-hooks.el (vc-default-registered): Don't use
2956 vc-master-templates.
2957
07b1a5fb
SM
2958 * font-lock.el (font-lock-reference-face):
2959 Use define-obsolete-variable-alias.
6c27f0f8
CY
2960
2961 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
2962 * calendar/calendar.el (calendar-font-lock-keywords):
2963 * calendar/diary-lib.el (diary-font-lock-keywords)
2964 (diary-fancy-font-lock-keywords):
2965 * textmodes/reftex-sel.el (reftex-insert-docstruct):
2966 * textmodes/reftex-index.el (reftex-insert-index):
2967 * textmodes/reftex-cite.el (reftex-format-bib-entry):
2968 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2969 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
2970 * progmodes/prolog.el (prolog-font-lock-keywords):
2971 * progmodes/idlwave.el (idlwave-idl-keywords):
2972 * progmodes/ada-mode.el (ada-font-lock-keywords):
2973 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
2974
bcc0adbf
GM
29752012-09-24 Glenn Morris <rgm@gnu.org>
2976
2977 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
2978
095bb823
FEG
29792012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
2980
2981 * progmodes/python.el (python-indent-line): More consistent cursor
2982 movement behavior.
2983
70efc5c9
SM
29842012-09-23 Stefan Merten <smerten@oekonux.de>
2985
2986 * textmodes/rst.el: Fix compiler warning.
2987
2f438239
RW
29882012-09-23 Roland Winkler <winkler@gnu.org>
2989
07b1a5fb
SM
2990 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
2991 Transcribe also LaTeX hyphenation.
2f438239
RW
2992 (bibtex-reformat): Bug fix. Do not quote twice the elements of
2993 bibtex-reformat-previous-options.
2994
936ad041
RW
29952012-09-23 Roland Winkler <winkler@gnu.org>
2996
2997 * proced.el (proced-renice-command): New variable.
2998 (proced-marked-processes): New function.
2999 (proced-with-processes-buffer): New macro.
3000 (proced-send-signal): Use them.
3001 (proced-renice): New command bound to r.
3002
6fab0274
RW
30032012-09-23 Roland Winkler <winkler@gnu.org>
3004
3005 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
3006 ibuffer-saved-filter-groups has one element, shortcut the call of
3007 completing-read. (Bug#12331)
3008
9a930676
CY
30092012-09-23 Chong Yidong <cyd@gnu.org>
3010
3011 * bindings.el (mode-line-toggle-read-only):
3012 * bs.el (bs-toggle-readonly):
3013 * buff-menu.el (Buffer-menu-toggle-read-only):
3014 * dired.el (dired-toggle-read-only):
3015 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
3016
d07ff9db
CY
30172012-09-23 Chong Yidong <cyd@gnu.org>
3018
3019 * image.el (image-type-available-p): Adapt to init-image-library
3020 argument changes.
3021
51c4474e
JL
30222012-09-22 Juri Linkov <juri@jurta.org>
3023
3024 * dired.el (dired-mode-map): Add [remap read-only-mode] for
3025 `dired-toggle-read-only'. (Bug#12462)
3026
43bf5e8e
MR
30272012-09-22 Martin Rudalics <rudalics@gmx.at>
3028
3029 * subr.el (temp-output-buffer-show): New function.
3030 (with-output-to-temp-buffer): Call temp-output-buffer-show
3031 instead of internal-temp-output-buffer-show.
3032
c88b867f
CY
30332012-09-22 Chong Yidong <cyd@gnu.org>
3034
3df47cd5
CY
3035 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
3036 (Bug#12462).
3037
c88b867f
CY
3038 * repeat.el (repeat): Doc fix (Bug#12348).
3039
3040 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
3041 (Bug#10909).
3042
3043 * simple.el (shell-command-on-region): Doc fix.
3171e303 3044 (read-only-mode): Doc fix.
c88b867f 3045
df9685f3
EZ
30462012-09-22 Eli Zaretskii <eliz@gnu.org>
3047
3048 * emacs-lisp/timer.el (run-with-idle-timer)
3049 (timer-activate-when-idle): Warn against reinvoking an idle timer
3050 from within its own timer action. (Bug#12447)
3051
8e17c9ba
MR
30522012-09-22 Martin Rudalics <rudalics@gmx.at>
3053
3054 * cus-start.el (window-combination-limit): Add new optional
3055 values.
3056 * window.el (temp-buffer-window-show)
3057 (window--try-to-split-window): Handle new values of
3058 window-combination-limit (Bug#1806).
3059 (split-window): Test window-combination-limit for t instead of
3060 non-nil.
3061 (display-buffer-at-bottom): New buffer display action function.
3062 * help.el (temp-buffer-resize-regexps): New option.
3063 (temp-buffer-resize-mode): Rewrite doc-string.
3064 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
bd909927 3065 Don't resize reused window. Suggested by Glenn Morris.
8e17c9ba 3066
48a24920
SM
30672012-09-22 Stefan Merten <smerten@oekonux.de>
3068
70efc5c9 3069 * textmodes/rst.el: Revamp section title faces.
48a24920
SM
3070 (rst-official-version)
3071 (rst-package-emacs-version-alist): Sync with official version
3072 V1.4.0.
3073 (rst-faces-defaults, rst-set-level-default)
3074 (rst-level-face-max, rst-level-face-base-color)
3075 (rst-level-face-base-light, rst-level-face-format-light)
3076 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
3077 (rst-adornment-faces-alist): Match new setup.
3078 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
3079 (rst-level-5, rst-level-6): New faces.
3080
82f8cd94
CY
30812012-09-22 Chong Yidong <cyd@gnu.org>
3082
3083 * simple.el (undo): Handle indirect buffers (Bug#8207).
3084
acfa068f 30852012-09-21 Leo Liu <sdl.web@gmail.com>
a8c14da8
LL
3086
3087 IDO: Disable match re-ordering for buffer switching.
2bc9406c 3088 * ido.el (ido-buffer-disable-smart-matches): New variable.
a8c14da8
LL
3089 (ido-set-matches-1): Use it. (Bug#2042)
3090
acfa068f 30912012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
a316d229
JM
3092
3093 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
3094 Fix 2011-05-17 change. (Bug#12418)
3095
acfa068f 30962012-09-21 Leo Liu <sdl.web@gmail.com>
d02e58f8
LL
3097
3098 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
3099
acfa068f 31002012-09-21 Glenn Morris <rgm@gnu.org>
511fd0b2
GM
3101
3102 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
3103 Be more robust about locating simple.el.
3104
acfa068f 31052012-09-21 Glenn Morris <rgm@gnu.org>
fa05bfe0
GM
3106
3107 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
3108
acfa068f
CY
31092012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
3110
3111 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
3112
41a97e6f
JL
31132012-09-20 Juri Linkov <juri@jurta.org>
3114
eb2deaff
JL
3115 * replace.el (query-replace-read-from): Use `read-regexp' instead
3116 of `read-from-minibuffer' when `regexp-flag' is non-nil.
3117 (occur-read-primary-args): Use `read-regexp' instead of
3118 `read-string'.
3119 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
3120 `read-from-minibuffer'.
3121 * isearch.el (isearch-occur): Use `read-regexp' instead of
3122 `read-string'.
3123 * dired.el (dired-read-regexp): Use `read-regexp' instead of
3124 `read-from-minibuffer'.
3125 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
3126 of `read-string'. (Bug#7567)
3127
5825610b
JL
3128 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
3129 and allow accepting a list of strings prepended to a list of
3130 standard default values. Doc fix. (Bug#12321)
3131
eebbf404
JL
3132 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
3133
41a97e6f
JL
3134 * replace.el (read-regexp): Don't add ": " when PROMPT already
3135 ends with a colon and space. (Bug#12321)
3136
c9e452d3
TH
31372012-09-20 Tassilo Horn <tsdh@gnu.org>
3138
3139 * doc-view.el (doc-view-display): Better fix for the cl-assertion
3140 error.
3141
ee97deee
SM
31422012-09-20 Stefan Merten <smerten@oekonux.de>
3143
70efc5c9 3144 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
ee97deee
SM
3145 Fixes feature request bug#11711.
3146 (rst-mode): Create `imenu-create-index-function'.
3147 (rst-get-stripped-line): Delete after refactoring.
3148 (rst-section-tree, rst-section-tree-rec)
3149 (rst-section-tree-point): Refactor and document properly.
3150 (rst-imenu-find-adornments-for-position)
07b1a5fb
SM
3151 (rst-imenu-convert-cell, rst-imenu-create-index):
3152 New function.
ee97deee 3153
f490dab9
SM
31542012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3155
95b9712e
SM
3156 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
3157 (macroexp--expand-all): Use it.
3158 (macroexp--funcall-and-return): Remove by folding it into its sole
3159 caller (macroexp--warn-and-return).
3160 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
3161 Use macroexp--obsolete-warning.
3162
f490dab9
SM
3163 * calc/calc.el: Fix last change by removing the whole chunk, since it
3164 was only needed back when Calc was not bundled.
3165
96e8d411
MR
31662012-09-20 Martin Rudalics <rudalics@gmx.at>
3167
3168 * emacs-lisp/debug.el (debug): Restore assignment to
3169 debugger-old-buffer removed on 2012-09-08.
3170
0876a82d
JL
31712012-09-20 Juri Linkov <juri@jurta.org>
3172
3173 * dired-aux.el (dired-diff): Remove (require 'diff) since
3174 `diff-latest-backup-file' is now autoloaded.
3175
9f7c28f0
CY
31762012-09-20 Chong Yidong <cyd@gnu.org>
3177
3178 * vc/diff.el (diff-latest-backup-file): Autoload.
3179
7a04bee9
SM
31802012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3181
e6f0a80d
SM
3182 * calc/calc.el: Remove redundant autoload shape check.
3183 (sel-mode): Don't defvar.
3184 (calc-get-stack-element): Add `sel-mode' arg instead.
3185 (calc-top, calc-top-list): Pass it this additional argument.
3186 * calc/calc-store.el (calc-store-map):
3187 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
3188 (calc-map-equation, calc-outer-product, calc-inner-product):
3189 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
3190
7a04bee9
SM
3191 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
3192
12734222
JL
31932012-09-19 Juri Linkov <juri@jurta.org>
3194
3195 * dired-aux.el (dired-diff): Add (require 'diff) because
3196 `diff-latest-backup-file' is not autoloaded.
3197 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
3198 of `dired-get-filename' to t to not report error when there is
3199 no default file on the current line.
3200
46624b4f
SM
32012012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3202
ce97595b
SM
3203 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
3204 macroexp--eval-if-compile.
3205 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
3206 (macroexp--expand-all): Use them (bug#12371).
3207
46624b4f
SM
3208 * doc-view.el (doc-view-guess-paper-size)
3209 (doc-view-scale-bounding-box): Fix unbound `caddr'.
3210
db8a5a18
TH
32112012-09-19 Tassilo Horn <tsdh@gnu.org>
3212
3213 New feature: set optimal slice from BoundingBox information.
3214 * doc-view.el (doc-view-mode-map): Add keybinding.
3215 (doc-view-menu): Add menu entry.
3216 (doc-view-set-slice): Adapt docstring.
3217 (doc-view-get-bounding-box, doc-view-guess-paper-size)
3218 (doc-view-scale-bounding-box)
3219 (doc-view-set-slice-from-bounding-box): New functions.
3220 (doc-view-paper-sizes): New defvar.
3221
69f6644c
GM
32222012-09-19 Glenn Morris <rgm@gnu.org>
3223
35f5b19d
GM
3224 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
3225 (byte-compile-log-warning): Autoload. (Bug#12371)
3226
69f6644c
GM
3227 * calendar/calendar.el (calendar-american-month-header)
3228 (calendar-european-month-header, calendar-iso-month-header)
3229 (calendar-month-header): New options.
3230 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
3231 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
3232
e543ae91
JD
32332012-09-19 Jan Djärv <jan.h.d@swipnet.se>
3234
3235 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
3236
2fd5e67d
JL
32372012-09-18 Juri Linkov <juri@jurta.org>
3238
3239 * dired-aux.el (dired-diff): Restore original functionality of
3240 getting the default value, but keep new feature of using the
3241 latest existing backup file (`diff-latest-backup-file').
3242
42917e79
JL
32432012-09-18 Juri Linkov <juri@jurta.org>
3244
3245 * dired.el (dired-mark): If the region is active in Transient Mark
3246 mode, mark all files in the active region. Doc fix.
3247 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
3248 Doc fix. (Bug#10624)
3249
20f70ede
JL
32502012-09-18 Juri Linkov <juri@jurta.org>
3251
3252 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
3253 attributes for M-n are pulled from the file at point.
3254 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
3255 Suggested by Drew Adams. (Bug#10624)
3256
32fb8162
DG
32572012-09-18 Dmitry Gutov <dgutov@yandex.ru>
3258
3259 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
3260 whitespace after "end".
3261 (ruby-do-end-to-brace): Collapse block to one line if it fits
3262 within fill-column.
3263
37ab5092
MR
32642012-09-18 Martin Rudalics <rudalics@gmx.at>
3265
3266 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
3267 value.
3268 (debug): Don't remove debugger window when debugger is expected
3269 to be back.
3270
ed1f0bd3
CY
32712012-09-18 Chong Yidong <cyd@gnu.org>
3272
3273 * custom.el (defface): Doc fix.
3274
3275 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
3276
a11035b8
MB
32772012-09-18 Martin Blais <blais@furius.ca> (tiny change)
3278
3279 * progmodes/compile.el (compilation-start): Use compilation-always-kill
3280 to initialize query-on-exit; then test that instead (bug#12288).
3281
64f6a736
SM
32822012-09-17 Stefan Merten <smerten@oekonux.de>
3283
70efc5c9 3284 * textmodes/rst.el: Add support for `testcover'.
64f6a736
SM
3285 (rst-defcustom-testcover, rst-testcover-add-compose)
3286 (rst-testcover-add-1value): New functions.
3287 (rst-portable-mark-active-p): Replace by `use-region-p'.
3288 (rst-update-section, rst-classify-adornment)
3289 (rst-find-title-line): Mark `1value' forms.
3290 (rst-classify-adornment): Remove superfluous form.
3291 (rst-update-section, rst-get-adornments-around)
3292 (rst-adornment-complete-p, rst-get-next-adornment)
3293 (rst-adjust, rst-promote-region)
3294 (rst-display-adornments-hierarchy, rst-straighten-adornments)
3295 (rst-find-pfx-in-region, rst-section-tree-rec)
3296 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
3297 (rst-toc-node, rst-toc, rst-forward-section)
3298 (rst-iterate-leftmost-paragraphs)
3299 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
3300 (rst-bullet-list-region)
3301 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
3302 (rst-compile-find-conf, rst-compile)
3303 (rst-repeat-last-character): Fix style.
3304
580bd868
CY
33052012-09-17 Chong Yidong <cyd@gnu.org>
3306
3307 * comint.el (comint--complete-file-name-data): Don't add a space
3308 if the status is `sole'; that adds a gratuitous space in the
3309 completion-cycling case (Bug#12092).
3310
3311 * pcomplete.el (pcomplete-completions-at-point): Likewise.
3312
69de3ec6
RS
33132012-09-17 Richard Stallman <rms@gnu.org>
3314
0dee970c
RS
3315 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
3316 only in the mime-shown mode, not in raw mode.
3317 (rmail-mime): Toggle off mime by displaying the message without
6b250df6 3318 mime processing. (Bug#12305)
0dee970c 3319
6b250df6
GM
3320 * mail/rmail.el (rmail-retry-failure):
3321 Turn off mime processing first. (Bug#12037)
acb1c47b 3322
69de3ec6
RS
3323 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
3324
d079ee5f
CY
33252012-09-17 Chong Yidong <cyd@gnu.org>
3326
3327 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
3328 (shell-dynamic-complete-functions): Convert to defcustom.
3329 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
3330
865fe16f
CY
3331 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
3332 * comint.el (comint-prompt-read-only):
3333 * custom.el (defcustom):
3334 * hi-lock.el (hi-lock-mode):
3335 * ibuffer.el (ibuffer-formats):
3336 * ielm.el (ielm-prompt-read-only):
3337 * novice.el (disable-command):
3338 * saveplace.el (toggle-save-place):
3339 * speedbar.el (speedbar-supported-extension-expressions):
3340 * startup.el (auto-save-list-file-prefix, init-file-user)
3341 (after-init-hook, inhibit-startup-echo-area-message):
3342 * strokes.el (strokes-help):
3343 * time-stamp.el (time-stamp):
3344 * calendar/calendar.el (calendar, diary-file):
3345 * calendar/diary-lib.el (diary-mail-entries, diary)
3346 (diary-list-entries-hook):
3347 * calendar/holidays.el (holidays, calendar-holidays):
3348 * calendar/lunar.el (lunar-phases):
3349 * calendar/solar.el (sunrise-sunset):
3350 * emulation/edt.el (edt-load-keys):
3351 * emulation/viper.el (viper-mode):
3352 * eshell/em-alias.el (eshell-command-aliases-list):
3353 * eshell/esh-util.el (eshell-convert-numeric-arguments):
3354 * international/ogonek.el (ogonek-information):
3355 * net/tramp-cmds.el (tramp-bug):
3356 * net/quickurl.el (quickurl-reread-hook-postfix):
3357 * play/decipher.el (decipher-font-lock-keywords):
3358 * progmodes/cc-styles.el (c-set-style):
3359 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
3360 * progmodes/inf-lisp.el (inferior-lisp-prompt):
3361 * progmodes/octave-mod.el (octave-mode):
3362 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
3363 * progmodes/verilog-mode.el (verilog-read-defines):
3364 * textmodes/two-column.el (2C-mode): Likewise.
3365
48093eb9
KY
33662012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
3367
3368 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
3369 that holds many addresses.
3370
c584eaf9
CY
33712012-09-16 Chong Yidong <cyd@gnu.org>
3372
40d70ecb
CY
3373 * align.el (align-areas): Call the indication function with
3374 positions instead of markers for arguments (Bug#12343).
3375
1667e065
CY
3376 * files.el (parse-colon-path): Use split-string (Bug#12351).
3377
fdc2806d 3378 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
71ce58e7 3379 (display-buffer-function): Mark as obsolete.
fdc2806d 3380
f1be615c 3381 * progmodes/compile.el (compilation-parse-errors): Accept list
ce97595b
SM
3382 values similar to font-lock-keywords (Bug#12136).
3383 Suggested by Oleksandr Manzyuk.
c584eaf9
CY
3384 (compilation-error-regexp-alist): Doc fix.
3385
f40a9709
GM
33862012-09-15 Glenn Morris <rgm@gnu.org>
3387
72aa16e1
GM
3388 * version.el (emacs-bzr-version-bzr): New function.
3389 (emacs-bzr-get-version): Add optional EXTERNAL argument.
3390
82375160
GM
3391 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
3392 checkouts, check the parent dirstate matches the branch.
3393 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
3394 empty string.
3395
f40a9709
GM
3396 * version.el (emacs-bzr-version): Doc fix.
3397 (emacs-bzr-version-dirstate): New function.
3398 (emacs-bzr-get-version): For lightweight checkouts, if the parent
3399 is local try and check that it matches the branch. If not, just
3400 use dirstate information. (Bug#12441)
3401
cb26b7f5
JL
34022012-09-14 Juri Linkov <juri@jurta.org>
3403
3404 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
3405 (Bug#12399)
3406
2de39f08
SM
34072012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
3408
0fb3cb7c
SM
3409 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
3410
2de39f08
SM
3411 * emacs-lisp/edebug.el: Miscellaneous cleanup.
3412 Remove obsolete byte-compiler hack that tried to silence some warnings.
3413 (edebug-submit-bug-report): Remove.
3414 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
3415 Remove aliases, use the un-prefixed name instead.
3416 (edebug-pop-to-buffer): Consider other frames.
3417 (edebug-original-read):: Make it more obvious that it's always defined.
3418 (edebug--make-form-data-entry, edebug--form-data-name)
3419 (edebug--form-data-begin, edebug--form-data-end): Rename from the
3420 single-dashed name, and implement with cl-defstruct.
3421 (edebug-set-form-data-entry): Use the standard accessors.
3422 (edebug-make-top-form-data-entry): Use push.
3423 (edebug-no-match): Drop useless `funcall'.
3424 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
3425 to functions.
3426 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
3427 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
3428 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
3429 (easy-menu-define, with-custom-print): Remove redundant specs.
3430 (edebug-outside-overriding-local-map)
3431 (edebug-outside-overriding-terminal-local-map): Remove, unused.
3432 (edebug--display): Bind unread-command-events directly to nil rather
3433 than binding it to unread-command-events and later setting it to nil.
3434 (edebug--display): Kill edebug-eval-buffer here...
3435 (edebug--recursive-edit): ...rather than here.
3436 Bind standard-output and standard-input.
3437 (edebug-eval): Check cl-macroexpand-all is fboundp.
3438 (edebug-temp-display-freq-count): Fix last change.
3439
3440 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
3441 * subr.el (noreturn, 1value): Add `debug' spec.
3442 * emacs-lisp/advice.el: Require cl-lib.
3443 (ad-copy-tree): Remove, use copy-tree instead.
3444 (ad-dolist): Remove use dolist or cl-dolist instead.
3445 (ad-do-return): Remove, use cl-return instead.
3446 (defadvice): Add `debug' spec.
3447
5b68b333
JL
34482012-09-13 Juri Linkov <juri@jurta.org>
3449
3450 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
3451 (Bug#12399)
3452
b9800ec4
GM
34532012-09-13 Glenn Morris <rgm@gnu.org>
3454
6a2e6868
GM
3455 * calc/calc.el (math-compose-expr):
3456 * calc/calc-ext.el (math-compose-expr):
3457 * progmodes/cc-defs.el (cl-macroexpand-all):
3458 * progmodes/cc-langs.el (delete-duplicates, mapcan)
3459 (cl-macroexpand-all): Update declarations.
3460
b9800ec4
GM
3461 * vc/vc.el: No need to require ediff.
3462 (ediff-load-version-control): Declare.
3463 (ediff-vc-internal): Fix declaration.
3464 (vc-version-ediff): Require ediff.
3465
c18e885b
PE
34662012-09-13 Paul Eggert <eggert@cs.ucla.edu>
3467
3468 Use a more backwards-compatible timer format (Bug#12430).
3469 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
3470 being right after USECS, as that better supports old code that
3471 inadvisedly looked directly at the timer vector.
3472
d607d303
KH
34732012-09-13 Kenichi Handa <handa@gnu.org>
3474
3475 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
3476 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
3477 `coding-priority' property of these language environment.
3478
72eac303
PE
34792012-09-13 Paul Eggert <eggert@cs.ucla.edu>
3480
3481 Fix glitches caused by addition of psec to timers (Bug#12430).
3482 * image.el (image-animate-timer):
3483 * time.el (display-time-world-timer):
3484 Use timer--function and timer--args rather than raw access to
3485 timer vector.
3486
2168fe4f
GM
34872012-09-13 Glenn Morris <rgm@gnu.org>
3488
3489 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
3490 If not compiling a file, try using load-file-name.
3491
bd8d6108
SM
34922012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
3493
c0c54fbd
SM
3494 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
3495 Fix last change.
3496 (edebug-update-eval-list): Use `push'.
3497
bd8d6108
SM
3498 * emacs-lisp/edebug.el: Use lexical-binding.
3499 Remove the "edebug-" prefix from non-dynamically-scoped variables.
3500 Mark unused args with underscore.
3501 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
3502 (edebug-form-data): Use defvar-local.
3503 (edebug-make-before-and-after-form, edebug-make-after-form):
3504 Use backquote.
3505 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
3506 Not dynamically scoped any more.
3507 (edebug--enter-trace): Add arguments `function' and `args'.
3508 Rename from edebug-enter-trace.
3509 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
3510 (edebug--update-coverage): Add `after-index' and `value' args.
3511 Rename from edebug-update-coverage.
3512 (edebug-slow-after): Call it accordingly.
3513 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
3514 edebug-recursive-edit.
3515 (edebug--display): Call it accordingly. Add args `value',
3516 `offset-index', and `arg-mode'. Rename from edebug-display.
3517 (edebug-debugger, edebug): Call it accordingly.
3518 (edebug-eval-display-list): Use dolist.
3519
a9f9d9de
JL
35202012-09-12 Juri Linkov <juri@jurta.org>
3521
3522 * info.el (Info-search): Don't check for isearch-mode and
3523 isearch-regexp before let-binding search-spaces-regexp to
3524 Info-search-whitespace-regexp.
3525 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
3526 search-whitespace-regexp if isearch-lax-whitespace or
3527 isearch-regexp-lax-whitespace is non-nil.
3528 (Info-mode): Don't set local variable search-whitespace-regexp.
3529 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
3530
bfeae2cf
SM
35312012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3532
3533 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
3534 (debugger-env-macro): Remove support for unread-command-char.
3535
3536 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
3537 the temporary map re-appearing on emulation-mode-map-alists.
3538
3539 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
3540 since 22.1.
3541
3542 * ehelp.el (with-electric-help): Accept functions in
3543 electric-help-form-to-execute.
3544 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
3545 And replace unread-command-char -> unread-command-events.
3546
fbbcaf1b
MA
35472012-09-12 Michael Albinus <michael.albinus@gmx.de>
3548
3549 Sync with Tramp 2.2.6.
3550
3551 * net/tramp.el (tramp-accept-process-output): Don't use
3552 JUST-THIS-ONE in the XEmacs case.
3553
3554 * net/trampver.el: Update release number.
3555
4dece104
MR
35562012-09-12 Martin Rudalics <rudalics@gmx.at>
3557
bfeae2cf
SM
3558 * emacs-lisp/debug.el (debugger-previous-window-height):
3559 New variable.
4dece104
MR
3560 (debug): When debugger-jumping-flag is non-nil try to restore
3561 height of debugger window. (Bug#8789)
3562
45b82ad0
SM
35632012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3564
60c49c0f
SM
3565 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
3566 overriding-local-map and pre/post-command-hook here.
3567 (edebug-recursive-edit): Do it here instead (bug#12345).
3568 (edebug-outside-unread-command-char): Remove all uses of
3569 unread-command-char.
3570
45b82ad0
SM
3571 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
3572 inhibit-debugger is bound instead.
3573
baa26ea0
BG
35742012-09-11 Bastien Guerry <bzg@gnu.org>
3575
3576 * subr.el (set-temporary-overlay-map): Add a docstring.
fc0c31f8 3577 (Bug#12346)
baa26ea0 3578
04e8abfa
BG
35792012-09-11 Bastien Guerry <bzg@gnu.org>
3580
96d03571 3581 * minibuffer.el (completion-table-subvert): Fix docstring.
fc0c31f8 3582 (Bug#12347)
96d03571
BG
3583
35842012-09-11 Bastien Guerry <bzg@gnu.org>
3585
fc0c31f8 3586 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
04e8abfa 3587
04e082b0
MM
35882012-09-10 Michael R. Mauger <mmaug@yahoo.com>
3589
3590 * progmodes/sql.el: Version 3.1
3591 (sql-db2-escape-newlines): New variable.
3592 (sql-escape-newlines-filter): Use it.
3593
399a361b
JB
35942012-09-10 Juanma Barranquero <lekktu@gmail.com>
3595
3596 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
3597
0780c517
DN
35982012-09-10 Dan Nicolaescu <dann@gnu.org>
3599
45b82ad0
SM
3600 * vc/diff-mode.el (diff-mode-menu):
3601 Bind diff-remove-trailing-whitespace.
0780c517 3602
9b851e25
SM
36032012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
3604
3605 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
fc0c31f8
JB
3606 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
3607 (emacs-lisp-byte-code-mode): New functions.
9b851e25
SM
3608 (eval-sexp-add-defvars): Don't skip defvars in column >0.
3609 (eval-defun-2): Remove bogus interactive spec.
3610 (lisp-indent-line): Remove redundant whole-exp code, now done in
3611 indent-according-to-mode.
3612 (save-match-data): Remove redundant indent data.
3613
3614 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
3615 Use `declare'.
3616
3231d532
JL
36172012-09-09 Juri Linkov <juri@jurta.org>
3618
3619 * replace.el (replace-regexp-lax-whitespace): New defcustom.
3620 (replace-lax-whitespace, query-replace-regexp)
3621 (query-replace-regexp-eval, replace-regexp): Doc fix.
3622 (perform-replace, replace-highlight): Let-bind
3623 isearch-lax-whitespace to replace-lax-whitespace and
3624 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
3625
3626 * isearch.el (isearch-query-replace): Let-bind
3627 replace-lax-whitespace to isearch-lax-whitespace and
3628 replace-regexp-lax-whitespace to
3629 isearch-regexp-lax-whitespace. (Bug#10885)
3630
70fe8236
SM
36312012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
3632
3633 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
3634
8ed43f15
AM
36352012-09-09 Alan Mackenzie <acm@muc.de>
3636
70fe8236
SM
3637 * progmodes/cc-engine.el (c-state-cache-init):
3638 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
3639 (c-record-parse-state-state):
3640 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
8ed43f15 3641
bfabf70a
AS
36422012-09-09 Andreas Schwab <schwab@linux-m68k.org>
3643
3644 * register.el (register-separator): Rename from
3645 separator-register. All uses changed. Doc fix.
3646 (register): Fix version.
3647
011474aa
CY
36482012-09-09 Chong Yidong <cyd@gnu.org>
3649
3650 * replace.el (query-replace-map): Bind four new symbols for
3651 requesting window scrolling.
3652
3653 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
3654 query-replace-map (Bug#8948).
3655
3656 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
3657
3658 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
3659 since they are now in query-replace-map.
3660
3661 * window.el (scroll-other-window-down): Make the arg optional.
3662
a8b7cd8d
CY
36632012-09-09 Chong Yidong <cyd@gnu.org>
3664
3665 * files.el (hack-local-variables-confirm): Use quit-window to kill
3666 the *Local Variables* buffer.
3667
c3268831
DG
36682012-09-08 Dmitry Gutov <dgutov@yandex.ru>
3669
3670 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
3671 not just expect to be at its beginning. Adjust callees.
3672 Succeed when do-end block has no space before the pipe character.
3673 (ruby-brace-to-do-end): When the original block is one-liner,
3674 convert to multiline. Reindent the result.
3675
0979429b
J
36762012-09-08 Jambunathan K <kjambunathan@gmail.com>
3677
3678 * register.el (register): New group.
27359e99 3679 (separator-register): New user option.
0979429b
J
3680 (increment-register): Route it to `append-to-register', if
3681 register contains text. Implication is that `C-x r +' can now be
3682 used for appending to a text register (bug#12217).
3683 (append-to-register, prepend-to-register): Add separator based on
5b9c45a6 3684 `separator-register'.
0979429b 3685
ace2989a
AM
36862012-09-08 Alan Mackenzie <acm@muc.de>
3687
3688 AWK Mode: make auto-newline work when there's "==" in the pattern.
3689 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
3690 correctly.
0979429b
J
3691 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
3692 Test more rigorously for "=" token.
ace2989a 3693
616c6c36
DG
36942012-09-08 Dmitry Gutov <dgutov@yandex.ru>
3695
0979429b
J
3696 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
3697 Only fail when reached LIMIT.
616c6c36 3698
35d98877
CY
36992012-09-08 Chong Yidong <cyd@gnu.org>
3700
3701 * dired.el (dired-mode-map): Don't bind M-=.
3702
3703 * dired-aux.el (dired-diff): Use backup file as default.
3704
1715f2db
DA
37052012-09-08 Drew Adams <drew.adams@oracle.com>
3706
3707 * subr.el (add-to-history): Fix delete usage (Bug#12314).
3708
6dcef6ec
CY
37092012-09-08 Chong Yidong <cyd@gnu.org>
3710
3711 * subr.el (syntax-after, syntax-class): Doc fix.
3712
fa2bcf43
MR
37132012-09-08 Martin Rudalics <rudalics@gmx.at>
3714
3715 * window.el (display-buffer-in-previous-window): New buffer
3716 display action function.
3717
3718 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
3719 (debugger-previous-window): New variable.
3720 (debug): Rewrite using display-buffer-in-previous-window,
3721 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
3722
daac280a
SM
37232012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
3724
3725 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
3726
9dd40b00
MM
37272012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
3728
daac280a
SM
3729 * progmodes/python.el (python-shell-send-string):
3730 When default-directory is remote, create temp file on remote
9dd40b00
MM
3731 filesystem.
3732 (python-shell-send-file): When file is remote, pass local view of
3733 file paths to remote Python interpreter. (Bug#12340)
3734
145823ec
CY
37352012-09-07 Chong Yidong <cyd@gnu.org>
3736
cee2e90d
CY
3737 * window.el (switch-to-buffer): Doc fix (Bug#12181).
3738
0d7eb2ea
CY
3739 * files.el (after-find-file): Don't fail on a read-only buffer if
3740 require-final-newline is `visit' or `visit-save' (Bug#11156).
3741
145823ec
CY
3742 * subr.el (read-char-choice): Allow quitting via ESC ESC.
3743
daac280a
SM
3744 * userlock.el (ask-user-about-supersession-threat):
3745 Use read-char-choice (Bug#12093).
145823ec 3746
74c582e6
CY
37472012-09-07 Chong Yidong <cyd@gnu.org>
3748
e5c2edf7
CY
3749 * subr.el (buffer-narrowed-p): New function.
3750
3751 * ses.el (ses-widen):
3752 * simple.el (count-words--buffer-message):
1f9f395d 3753 * net/browse-url.el (browse-url-of-buffer): Use it.
e5c2edf7
CY
3754
3755 * simple.el (count-words-region): Don't signal an error if there
3756 is a non-nil prefix arg and the mark is not set.
c640e87d 3757
74c582e6
CY
3758 * help.el (describe-key-briefly): Allow the message to be seen
3759 when invoked from the minibuffer (Bug#7014).
3760
d81ceaaf
DG
37612012-09-07 Dmitry Gutov <dgutov@yandex.ru>
3762
3763 * progmodes/ruby-mode.el (ruby-end-of-defun)
3764 (ruby-beginning-of-defun): Simplify, allow indentation before
3765 block beginning and end keywords.
8f06acce
DG
3766 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
3767 (ruby-end-of-defun): Expect that the point is at the beginning of
3768 the defun.
d81ceaaf 3769
d458ef98
SM
37702012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3771
3772 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
3773 (bug#12367).
3774 (cl--make-usage-args): Strip _ from argument names.
3775
20367d28
RS
37762012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3777
3778 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
3779 obsolete alias speedbar-key-map.
3780 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
3781 (vhdl-index-menu-init): Don't use obsolete variable
3782 font-lock-maximum-size.
3783
3424a4f6
CY
37842012-09-06 Chong Yidong <cyd@gnu.org>
3785
3786 * frame.el (window-system-version): Mark as obsolete.
3787
fcbfbdea
CY
3788 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
3789 of obsolete variable speedbar-key-map.
3790
826b3235
JL
37912012-09-06 Juri Linkov <juri@jurta.org>
3792
3793 * replace.el (replace-lax-whitespace): New defcustom.
3794 (query-replace, query-replace-regexp, query-replace-regexp-eval)
3795 (replace-string, replace-regexp): Mention it in docstrings.
3796 (perform-replace, replace-highlight): Let-bind
3797 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
3798 to the values of replace-lax-whitespace and regexp-flag.
3799 Don't let-bind search-whitespace-regexp. (Bug#10885)
3800
3801 * isearch.el (isearch-query-replace): Let-bind
3802 replace-lax-whitespace instead of let-binding
3803 replace-search-function and replace-re-search-function.
3804 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
3805 and isearch-regexp-lax-whitespace to lazy-highlight variables.
3806 (isearch-toggle-symbol): Set isearch-regexp to nil
3807 in isearch-word mode (like in isearch-toggle-word).
3808
1ec5e41d
JL
38092012-09-06 Juri Linkov <juri@jurta.org>
3810
3811 * replace.el (replace-search-function)
3812 (replace-re-search-function): Set default values to nil.
3813 (perform-replace): Let-bind isearch-related variables based on
3814 replace-related values, call `isearch-search-fun' and let-bind
3815 the result to `search-function'. Remove code that sets
3816 `search-function' and `search-string' separately for
3817 `delimited-flag'.
3818 (replace-highlight): Add new argument `delimited-flag' and
3819 rename other arguments to the names used in `perform-replace'.
3820 Let-bind `isearch-word' to the argument `delimited-flag'.
3821 (Bug#10885, bug#10887)
3822
0ba2d4b6
DG
38232012-09-07 Dmitry Gutov <dgutov@yandex.ru>
3824
3825 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
3826 ruby-beginning-of-indent, simplify, allow all keywords to have
3827 indentation before them.
3828 (ruby-beginning-of-indent): Adjust for above. Search until the
3829 found point is not inside a string or comment.
3830 (ruby-font-lock-keywords): Allow symbols to start with "@"
3831 character, give them higher priority than variables.
3832 (ruby-syntax-propertize-function)
3833 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
3834 matchers. Expression expansions are not comments when inside a
3835 string, and there comment syntax status is irrelevant.
3836 (ruby-match-expression-expansion): New function. Check that
3837 expression expansion is inside a string, and it's not escaped.
3838 (ruby-font-lock-keywords): Use it.
3839
ef654460
MR
38402012-09-05 Martin Rudalics <rudalics@gmx.at>
3841
3842 * help.el (temp-buffer-max-height): New default value.
3843 (temp-buffer-resize-frames): New option.
3844 (resize-temp-buffer-window): Optionally resize frame.
3845
3846 * window.el (fit-frame-to-buffer-bottom-margin): New option.
3847 (fit-frame-to-buffer): New function.
3848
7e570fbf 38492012-09-05 Glenn Morris <rgm@gnu.org>
72308848
GM
3850
3851 * emulation/cua-rect.el (cua--init-rectangles):
3852 * textmodes/picture.el (picture-mode-map):
3853 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
3854 like forward-char and backward-char. (Bug#12317)
3855
7e570fbf 38562012-09-05 Leo Liu <sdl.web@gmail.com>
3aca1291
LL
3857
3858 * progmodes/flymake.el (flymake-warning-re): New variable.
3859 (flymake-parse-line): Use it.
3860
7e570fbf 38612012-09-05 Glenn Morris <rgm@gnu.org>
b6683353
GM
3862
3863 * calendar/holidays.el (holiday-christian-holidays):
3864 Rename an entry. (Bug#12289)
3865
7e570fbf 38662012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
64f8c4bd
SM
3867
3868 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
3869 (bug#12222).
3870
972debf2
SM
38712012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
3872
3873 * loadup.el: Load macroexp. Remove hack.
3874 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
3875 (macroexp--expand-all): Use it to get better warnings.
3876 (macroexp--backtrace, macroexp--trim-backtrace-frame)
3877 (internal-macroexpand-for-load): New functions.
3878 (macroexp--pending-eager-loads): New var.
3879 (emacs-startup-hook): New hack to replace one in loadup.el.
3880 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
3881 (cl--compiler-macro-cXXr): Move to top, before they can be used.
3882 (cl-psetf): Simplify.
3883 (cl-defstruct): Add indent rule.
3884
8ce192e3
LI
38852012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
3886
3887 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
3888 over `user-mail-address' for the SMTP MAIL FROM envelope.
3889 (smtpmail-via-smtp): Ditto.
3890
6578b4d8
DG
38912012-09-04 Dmitry Gutov <dgutov@yandex.ru>
3892
3893 * progmodes/ruby-mode.el: Clean up keybindings.
3894 (ruby-mode-map): Don't bind ruby-electric-brace,
3895 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
3896 backward-kill-word, reindent-then-newline-and-indent.
3897 (ruby-mark-defun): Remove.
3898 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
3899 (ruby-mode): Set local beginning-of-defun-function and
3900 end-of-defun-function values.
3901
c5e28e39
MR
39022012-09-03 Martin Rudalics <rudalics@gmx.at>
3903
3904 * window.el (temp-buffer-window-setup-hook)
3905 (temp-buffer-window-show-hook): New hooks.
3906 (temp-buffer-window-setup, temp-buffer-window-show)
3907 (with-temp-buffer-window): New functions.
972debf2
SM
3908 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
3909 (special-display-popup-frame): Make sure the window used shows BUFFER.
c5e28e39
MR
3910
3911 * help.el (temp-buffer-resize-mode): Fix doc-string.
3912 (resize-temp-buffer-window): New optional argument WINDOW.
3913
3914 * files.el (recover-file, save-buffers-kill-emacs):
3915 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
3916
73406194
MA
39172012-09-02 Michael Albinus <michael.albinus@gmx.de>
3918
3919 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
3920 remote definition of `default-directory', ensure we can connect.
3921
63dd1c6f
JL
39222012-09-02 Juri Linkov <juri@jurta.org>
3923
3924 Toggle whitespace matching mode with M-s SPC.
3925 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
3926
3927 * isearch.el (search-whitespace-regexp): Doc fix.
3928 Remove cons cell customization.
3929 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
3930 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
3931 New variables.
3932 (isearch-forward, isearch-forward-regexp): Doc fix.
3933 (isearch-toggle-lax-whitespace): New command.
3934 (search-forward-lax-whitespace, search-backward-lax-whitespace)
3935 (re-search-forward-lax-whitespace)
3936 (re-search-backward-lax-whitespace): New functions.
3937 (isearch-whitespace-regexp): Remove function.
3938 (isearch-query-replace): Let-bind replace-search-function and
3939 replace-re-search-function.
3940 (isearch-occur): Let-bind search-spaces-regexp according to the
3941 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
3942 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
3943 condition for C-q SPC.
3944 (isearch-search-fun-default): Use new functions mentioned above.
3945 (isearch-search-forward, isearch-search-backward): Remove functions.
3946 (isearch-search): Don't let-bind search-spaces-regexp.
3947 (isearch-lazy-highlight-space-regexp): Remove variable.
3948 (isearch-lazy-highlight-lax-whitespace)
3949 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
3950 (isearch-lazy-highlight-new-loop): Use them.
3951 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
3952
af7dda05
CY
39532012-09-02 Chong Yidong <cyd@gnu.org>
3954
3955 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
3956
d67d3afd
GM
39572012-09-02 Glenn Morris <rgm@gnu.org>
3958
3959 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
3960
69678719
GM
39612012-09-01 Glenn Morris <rgm@gnu.org>
3962
3963 * term.el: Tidy up menu definitions.
3964 (term-mode-map): Use easymenu for In/Out, Complete menus.
3965 (term-pager-break-map): Initialize in the defvar.
3966 (term-terminal-menu, term-signals-menu): Define with easymenu.
3967 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
3968 (term-pager-menu): New, extracted from term-process-pager.
3969 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
3970 (term-update-mode-line): Propertize line/char and page items.
3971 (term-process-pager): Move keymap initialization elsewhere.
3972
78dd6ab1
MR
39732012-09-01 Martin Rudalics <rudalics@gmx.at>
3974
3975 * window.el (switch-to-prev-buffer): Handle additional values of
3976 BURY-OR-KILL argument. Don't switch in minibuffer window.
3977 (switch-to-next-buffer): Don't switch in minibuffer window.
3978 (quit-restore-window): New function based on quit-window.
3979 Handle additional values of former KILL argument.
3980 (quit-window): Call quit-restore-window with appropriate
3981 interpretation of KILL argument.
3982 (display-buffer-below-selected): New buffer display action
3983 function.
3984
3d10e134
SM
39852012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
3986
3987 * minibuffer.el (completion-at-point-functions): Complete docstring
3988 (bug#12254).
3989
0e23ef9d
PE
39902012-09-01 Paul Eggert <eggert@cs.ucla.edu>
3991
3992 Better seed support for (random).
3993 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
3994 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
3995 * play/mpuz.el, play/tetris.el, play/zone.el:
3996 * calc/calc-comb.el (math-init-random-base):
3997 * play/blackbox.el (bb-init-board):
3998 * play/life.el (life):
3999 * server.el (server-use-tcp):
4000 * type-break.el (type-break):
4001 Remove unnecessary call to (random t).
4002 * net/sasl.el (sasl-unique-id-function):
4003 Change (random t) to (random), now that the latter is more random.
4004 * play/life.el (life-initialized): Remove no-longer-needed var.
4005
862382df
MR
40062012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
4007
4008 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
4009 Consider frame's buffer predicate when choosing the buffer.
4010 (Bug#12081)
4011
262a66e1
RS
40122012-08-30 Richard Stallman <rms@gnu.org>
4013
4014 * simple.el (special-mode-map): Delete binding for `z'.
4015
f17e1d00
AS
40162012-08-30 Andreas Schwab <schwab@linux-m68k.org>
4017
4018 * progmodes/compile.el (compilation-always-kill): Doc fix.
4019
24777832
CY
40202012-08-30 Chong Yidong <cyd@gnu.org>
4021
4022 * window.el (display-buffer-reuse-frames): Make the obsolescence
4023 message more informative.
4024
69ba1f04
GM
40252012-08-30 Glenn Morris <rgm@gnu.org>
4026
4027 * paren.el (show-paren-delay):
4028 Add a :set function. Doc fix. (Bug#12297)
4029
f0019ede
MB
40302012-08-29 Martin Blais <blais@furius.ca> (tiny change)
4031
4032 * progmodes/compile.el (compilation-always-kill): New var.
4033 (compilation-start): Use it.
4034
35e62fc9
SM
40352012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4036
af070a1c
SM
4037 * simple.el (read-only-mode): Move from files.el for bootstrapping.
4038 * files.el (read-only-mode): Move to simple.el.
4039
35e62fc9
SM
4040 * files.el (read-only-mode): New minor mode.
4041 (toggle-read-only): Use it and mark obsolete.
4042 (find-file--read-only):
4043 * vc/vc.el (vc-next-action, vc-checkout):
4044 * vc/vc-cvs.el (vc-cvs-checkout):
4045 * obsolete/vc-mcvs.el (vc-mcvs-update):
4046 * ffap.el (ffap--toggle-read-only): Update callers.
4047
c2c43c23
MA
40482012-08-29 Michael Albinus <michael.albinus@gmx.de>
4049
4050 * eshell/esh-ext.el (eshell-external-command): Do not examine
972debf2
SM
4051 remote shell scripts.
4052 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
c2c43c23
MA
4053
4054 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
4055 "/usr/local/sbin".
4056
9fba804b
SM
40572012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4058
4059 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
4060
eada0861 40612012-08-28 Leo Liu <sdl.web@gmail.com>
22ab32ef 4062
806f0cc7
LL
4063 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
4064 completion-at-point. (Bug#12220)
4065
3bb213b9
LL
4066 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
4067
22ab32ef
LL
4068 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
4069
eada0861 40702012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
db148c21 4071
19c17fc1
CY
4072 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
4073 be buffer-local; add delete-trailing-whitespace (bug#12259).
db148c21 4074
eada0861 40752012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
ffe6eaf1
JM
4076
4077 * progmodes/hideif.el (hif-compress-define-list):
4078 Fix typo. (Bug#11951)
4079
eada0861 40802012-08-28 Dan Nicolaescu <dann@gnu.org>
d30aca1b
DN
4081
4082 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
4083 buffer local setting.
4084
27d6c5a8
LL
4085 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
4086 rcirc-encode-coding-system.
4087
eada0861 40882012-08-28 Leo Liu <sdl.web@gmail.com>
4432d2e2
LL
4089
4090 * net/rcirc.el (rcirc-split-message): New function.
4091 (rcirc-send-message): Use it. (Bug#12051)
4092
d44688e4
JL
40932012-08-28 Juri Linkov <juri@jurta.org>
4094
4095 * info.el (Info-fontify-node): Hide empty lines at the end of
4096 the node. (Bug#12272)
4097
34f10d41
MR
40982012-08-27 Drew Adams <drew.adams@oracle.com>
4099
4100 * dired.el (dired-pop-to-buffer): Make window start at beginning
4101 of buffer (Bug#12281).
4102
77f1f99c
CY
41032012-08-26 Chong Yidong <cyd@gnu.org>
4104
4105 * window.el (special-display-regexps, special-display-frame-alist)
4106 (special-display-buffer-names, special-display-function)
4107 (display-buffer-reuse-frames): Mark as obsolete.
4108
4109 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
4110
4111 * help.el (help-print-return-message): Don't treat
4112 display-buffer-reuse-frames specially.
4113
d97af5a0
CY
41142012-08-26 Chong Yidong <cyd@gnu.org>
4115
9fba804b
SM
4116 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
4117 New variable, replacing gdb-frame-parameters.
d97af5a0
CY
4118 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
4119 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
4120 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
4121 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
4122 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
4123 the functions directly with gdb-display-buffer-other-frame-action.
4124 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
4125 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
4126 (gdb-display-stack-buffer, gdb-display-locals-buffer)
4127 (gdb-display-registers-buffer): Define directly.
4128 (def-gdb-display-buffer): Macro deleted.
4129 (gdb-display-buffer): Remove second and third args, callers don't
4130 use them. Defer to the default display-buffer behavior, apart
4131 from making windows dedicated.
4132 (gdb-setup-windows): Don't call display-buffer unnecessarily.
4133
4134 * progmodes/gud.el (gud-display-line): Just use display-buffer.
4135
4136 * window.el (display-buffer-pop-up-frame): Handle a
4137 pop-up-frame-parameters alist entry.
4138 (display-buffer): Document it.
4139
dd7ffad6
CY
41402012-08-26 Chong Yidong <cyd@gnu.org>
4141
4142 * isearch.el (search-whitespace-regexp): Make string and nil
4143 values apply to both ordinary and regexp search. Allow a cons
4144 cell value to distinguish between the two.
4145 (isearch-whitespace-regexp, isearch-search-forward)
4146 (isearch-search-backward): New functions.
4147 (isearch-occur, isearch-search-fun-default, isearch-search)
4148 (isearch-lazy-highlight-new-loop): Use them.
4149 (isearch-forward, isearch-forward-regexp): Doc fix.
4150
4c47bd1e
CY
41512012-08-26 Chong Yidong <cyd@gnu.org>
4152
4153 * faces.el (help-argument-name): Always inherit from italic
4154 (Bug#12213).
4155
9aba119d
MR
41562012-08-25 Martin Rudalics <rudalics@gmx.at>
4157
4158 * window.el (window--even-window-heights): Even heights when
4159 WINDOW and the selected window form a vertical combination.
4160 (display-buffer-use-some-window): Provide that window used gets
4161 sized back by quit-window. (Bug#11880) and (Bug#12091)
4162
ca5256ad
PE
41632012-08-24 Paul Eggert <eggert@cs.ucla.edu>
4164
4165 Fix file time stamp problem with bzr and CVS (Bug#12001).
4166 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
4167 in the file's time stamp, since the version control system loses
4168 that information.
4169
d1c0d176
JL
41702012-08-22 Juri Linkov <juri@jurta.org>
4171
4172 * info.el (Info-fontify-node): Hide the suffix of the
4173 Info file name in the header line. (Bug#12187)
4174
141562ff
GM
41752012-08-22 Glenn Morris <rgm@gnu.org>
4176
4177 * calendar/cal-tex.el (cal-tex-weekly-common):
4178 Restore leading blank page.
4179
61a48e19 41802012-08-22 Le Wang <l26wang@gmail.com> (tiny change)
add9ca2d
BG
4181
4182 * misc.el (forward-to-word, backward-to-word): Activate or extend
61a48e19
GM
4183 the region under `shift-select-mode'. (Bug#12231)
4184
41852012-08-22 Bastien Guerry <bzg@gnu.org>
0fcd3d9f
BG
4186
4187 * progmodes/executable.el (executable-prefix): Set to "#!" instead
4188 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
4189 gives details on why the space is never needed.
4190
ea95074e
MR
41912012-08-22 Martin Rudalics <rudalics@gmx.at>
4192
9fba804b
SM
4193 * window.el (walk-window-tree, window-with-parameter):
4194 New optional argument MINIBUF to control whether these functions
ea95074e
MR
4195 should run on the minibuffer window.
4196 (window-at-side-list): Don't operate on minibuffer window.
4197 (window-in-direction): Simplify and rewrite doc-string.
9fba804b
SM
4198 (window--size-ignore): Rename to window--size-ignore-p.
4199 Update callers.
caceae25
MR
4200 (display-buffer-in-atom-window, window--major-non-side-window)
4201 (window--major-side-window, display-buffer-in-major-side-window)
9fba804b
SM
4202 (delete-side-window, display-buffer-in-side-window):
4203 New functions.
caceae25
MR
4204 (window--side-check, window-deletable-p, delete-window)
4205 (delete-other-windows, split-window): Handle side windows and
4206 atomic windows appropriately.
4207 (window--display-buffer): Call display-buffer-record-window also
4208 when the window buffer did not change.
ea95074e 4209
80a51fa0
CS
42102012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
4211
4212 * help-fns.el (help-fns--key-bindings):
4213 Abbreviate non-symbol remap targets. (Bug#12174)
4214
fbb6300b
MR
42152012-08-22 Martin Rudalics <rudalics@gmx.at>
4216
4217 * dired.el (dired-mark-remembered): Don't clobber point.
4218 (Bug#11795)
4219
2b2c0794
GM
42202012-08-22 Glenn Morris <rgm@gnu.org>
4221
4222 * progmodes/bug-reference.el (bug-reference): New custom group.
4223 (bug-reference-bug-regexp): Make it a defcustom.
4224
37219830
DU
42252012-08-22 Daiki Ueno <ueno@unixuser.org>
4226
4227 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
4228 (js-paren-indent-offset, js-square-indent-offset)
4229 (js-curly-indent-offset): Add :safe (Bug#12257).
4230
94e0e559
EC
42312012-08-22 Edward O'Connor <hober0@gmail.com>
4232
4233 * json.el (json-key-format): Add error properties.
4234 (json-encode-key): New function.
4235 (json-encode-hash-table, json-encode-alist, json-encode-plist):
4236 Use json-encode-key.
4237
da485f5e
GM
42382012-08-22 Glenn Morris <rgm@gnu.org>
4239
4240 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
4241 (cal-tex-leftday, cal-tex-rightday): Remove functions.
4242 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
4243 Update for above change.
4244
c6cc78b8
AS
42452012-08-21 Andreas Schwab <schwab@linux-m68k.org>
4246
4247 * cus-face.el (custom-face-attributes): Fix customize type for the
4248 :underline attribute. (Bug#11805)
4249
5481664a
MR
42502012-08-21 Martin Rudalics <rudalics@gmx.at>
4251
4252 * window.el (window-point-1, set-window-point-1): Remove.
4253 (window-in-direction, record-window-buffer)
4254 (set-window-buffer-start-and-point, split-window-below)
9fba804b
SM
4255 (window--state-get-1, display-buffer-record-window):
4256 Replace calls to window-point-1 and set-window-point-1 by calls to
5481664a
MR
4257 window-point and set-window-point respectively.
4258
6d74698e
GM
42592012-08-21 Glenn Morris <rgm@gnu.org>
4260
b7fa2691
GM
4261 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
4262 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
4263 Use it.
4264
52f56d5a
GM
4265 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
4266 (cal-tex-shortday): New function.
4267 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
4268 (cal-tex-cursor-filofax-daily): Use the above.
4269
9f1ee09e
GM
4270 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
4271 New functions.
4272 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
4273 (cal-tex-cursor-filofax-week): Use them.
4274
79858159
GM
4275 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
4276 New constants.
4277 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
4278 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
4279
d346b2b4
GM
4280 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
4281 (cal-tex-end-document): Don't rely on buffer name.
4282
b2403709
GM
4283 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
4284 Use cal-tex-vspace.
4285 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
4286 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2d225a3a
GM
4287 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
4288 Use cal-tex-arg.
b2403709 4289
1cebb5c0
GM
4290 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
4291 (cal-tex-cursor-week, cal-tex-cursor-week2)
4292 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
4293 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
4294 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
4295 (cal-tex-insert-preamble, cal-tex-b-document)
4296 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
4297 Improve cal-tex-cmd usage.
4298
c68cd5d4
GM
4299 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
4300 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
4301 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
4302 (cal-tex-weekly-paper): New function.
4303 (cal-tex-cursor-week, cal-tex-cursor-week2)
4304 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
4305 (cal-tex-cursor-day): Use it.
4306
9dca4801
GM
4307 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
4308 (cal-tex-cursor-filofax-week): Remove leading blank page.
4309
1941e134
GM
4310 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
4311 Add autoload cookie. For now at least, don't use color, since
4312 no other cal-tex function does.
4313
6d74698e
GM
4314 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
4315 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
4316 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
4317
64cde199
JL
43182012-08-21 Juri Linkov <juri@jurta.org>
4319
4320 * info.el (Info-file-attributes): New variable.
4321 (info-insert-file-contents): Add file attributes to
4322 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
4323 `Info-toc-nodes' when previous modtime of the Info file is less
4324 than new modtime.
4325 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
4326 of info.el. (Bug#12230)
4327
32757648
GM
43282012-08-20 Glenn Morris <rgm@gnu.org>
4329
4330 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
4331 * calendar/holidays.el (calendar-holiday-list):
4332 Report errors with display-warning rather than beep'n'sleep.
4333
a32fbbcf
MA
43342012-08-20 Michael Albinus <michael.albinus@gmx.de>
4335
4336 * net/tramp.el (tramp-accept-process-output): Accept only output
4337 from PROC. Otherwise, process filters and sentinels might be
4338 confused. (Bug#12145)
4339
a05731a0
CY
43402012-08-20 Chong Yidong <cyd@gnu.org>
4341
4342 * descr-text.el (describe-text-properties-1): Use overlays-in to
4343 report on empty overlays (Bug#3322).
4344
36e8d1eb
GM
43452012-08-20 Glenn Morris <rgm@gnu.org>
4346
3d300447
GM
4347 * mail/rmailout.el (rmail-output-read-file-name):
4348 Trap and report errors in rmail-output-file-alist elements.
4349
36e8d1eb
GM
4350 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
4351 since most non-font-lock faces are not also variables).
4352
b96e5814
ER
43532012-08-20 Edward Reingold <reingold@iit.edu>
4354
4355 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
4356 New function. (Bug12160)
4357
7cef3569
GM
43582012-08-19 Glenn Morris <rgm@gnu.org>
4359
4360 * mail/rmailout.el (rmail-output-read-file-name):
4361 Fix previous change (when the alist is nil or does not match).
4362
17975d7f
CY
43632012-08-19 Chong Yidong <cyd@gnu.org>
4364
4365 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
4366 (Bug#12228).
4367
2170b1bd
CY
43682012-08-18 Chong Yidong <cyd@gnu.org>
4369
4370 * simple.el (yank-handled-properties): New defcustom.
4371 (yank-excluded-properties): Add font-lock-face and category.
4372 (yank): Doc fix.
4373
9fba804b
SM
4374 * subr.el (remove-yank-excluded-properties):
4375 Obey yank-handled-properties. The special handling of font-lock-face
2170b1bd
CY
4376 and category is now done this way, instead of being hard-coded.
4377 (insert-for-yank-1): Remove font-lock-face handling.
4378 (yank-handle-font-lock-face-property)
4379 (yank-handle-category-property): New function.
4380
ee218151
GM
43812012-08-17 Glenn Morris <rgm@gnu.org>
4382
4383 * mail/rmailout.el (rmail-output-read-file-name):
4384 Check rmail-output-file-alist against the full message body
4385 in the correct rmail buffer. (Bug#12214)
4386
4a6bc3fd
MA
43872012-08-17 Michael Albinus <michael.albinus@gmx.de>
4388
9fba804b
SM
4389 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
4390 Eliminate superfluous prompt. (Bug#12203)
4a6bc3fd 4391
383dcbf9
CY
43922012-08-17 Chong Yidong <cyd@gnu.org>
4393
4394 * mouse.el (mouse-appearance-menu): If x-select-font returns a
4395 font spec, set the font directly (Bug#3228).
4396
998c4a6a
MR
43972012-08-17 Martin Rudalics <rudalics@gmx.at>
4398
4399 * window.el (delete-window): Fix last fix.
4400
52162052
MR
44012012-08-16 Martin Rudalics <rudalics@gmx.at>
4402
4403 * window.el (window-valid-p): Move to window.c.
85c2386b
MR
4404 (window-child, window-child-count, window-last-child)
4405 (window-normalize-window, window-combined-p)
4406 (window-combinations, window-atom-root, window-min-size)
4407 (window-sizable, window-sizable-p, window-size-fixed-p)
4408 (window-min-delta, window-max-delta, window--resizable)
4409 (window--resizable-p, window-resizable, window-total-size)
4410 (window-full-height-p, window-full-width-p, window-body-size)
4411 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
4412 (minimize-window, window-deletable-p, delete-window)
4413 (delete-other-windows, set-window-buffer-start-and-point)
4414 (next-buffer, previous-buffer, split-window, balance-windows-2)
4415 (set-window-text-height, window-buffer-height)
4416 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
9fba804b
SM
4417 (truncated-partial-width-window-p): Minor code adjustments.
4418 In doc-strings state whether the argument window has to denote a
85c2386b 4419 live, valid or any window.
52162052 4420
1c308380
PS
44212012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
4422
4423 * progmodes/subword.el (subword-forward-function)
4424 (subword-backward-function, subword-forward-regexp)
4425 (subword-backward-regexp): New variables.
4426 (subword-forward, subword-forward-internal, subword-backward-internal):
4427 Use new variables, eg so that different "word" definitions
4428 can be easily used. (Bug#11411)
4429
94c9ece1
SM
44302012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4431
4432 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
4433 for composite selectors.
4434 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
4435 operation just because we can't find a previous revision.
4436
f2045622
CY
44372012-08-15 Chong Yidong <cyd@gnu.org>
4438
4439 * frame.el (set-frame-font): Accept font objects.
4440
582db660
SM
44412012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4442
4443 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
4444
2f29c200
WJ
44452012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
4446
456e62c2
WJ
4447 * man.el (Man-overstrike-face, Man-underline-face)
4448 (Man-reverse-face): Remove variables.
4449 (Man-overstrike, Man-underline, Man-reverse): New faces.
4450 (Man-fontify-manpage): Use them instead of the variables.
4451 (Man-cleanup-manpage): Comment change.
4452 (Man-ansi-color-map): New variable.
4453 (Man-fontify-manpage): Use it.
4454 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
4455
2f29c200
WJ
4456 Implement ANSI SGR parameters 22-27 (bug#12146).
4457 * ansi-color.el (ansi-colors): Doc fix.
4458 (ansi-color-context, ansi-color-context-region): Doc fix.
4459 (ansi-color--find-face): New function.
4460 (ansi-color-apply, ansi-color-apply-on-region): Use it.
4461 Rename the local variable `face' to `codes' since it is now a list of
4462 ansi codes. Doc fix.
4463 (ansi-color-get-face): Remove.
4464 (ansi-color-parse-sequence): New function, derived from
4465 ansi-color-get-face.
4466 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
4467 codes 22-27.
4468
b4f5e9df
SM
44692012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
4470
4471 * subr.el (read-passwd): Allow use from a minibuffer.
4472
ba025fbd
EZ
44732012-08-14 Eli Zaretskii <eliz@gnu.org>
4474
4475 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
4476 inside comments and strings as identifiers.
4477
4478 * progmodes/gud.el (gud-tooltip-print-command): Quote the
4479 expression to evaluate. This allows to evaluate expressions with
4480 embedded whitespace.
4481 (gud-tooltip-tips): Add a blank before the newline in the
4482 message-box text, for the benefit of message-box emulation on
4483 MS-Windows.
4484
4485 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
4486 messages from GDB, pop them up in a tooltip to give feedback to
4487 user.
b4f5e9df
SM
4488 (gdb-tooltip-print-1): Quote the expression to evaluate.
4489 This allows to evaluate expressions with embedded whitespace.
ba025fbd
EZ
4490 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
4491 if the TTY name is nil or empty (which happens when communicating
4492 with the inferior via pipes, e.g. on MS-Windows).
4493 (gdb-internals): If GDB sends a "&\n" empty debugging message,
4494 don't send that to the GUD buffer.
4495
c548f821
GM
44962012-08-14 Glenn Morris <rgm@gnu.org>
4497
4498 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
4499 Optimize away setq-default with no args, as for setq. (Bug#12195)
4500
55802e4a
CY
45012012-08-14 Chong Yidong <cyd@gnu.org>
4502
4abcdac8
CY
4503 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
4504
55802e4a
CY
4505 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
4506 (Bug#12085).
4507
3c3cda1a
GM
45082012-08-14 Glenn Morris <rgm@gnu.org>
4509
4510 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
4511
e1873bd0
MA
45122012-08-14 Michael Albinus <michael.albinus@gmx.de>
4513
4514 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
4515 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
4516 Use cached shell name.
4517
925411b4
FEG
45182012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
4519
4520 * progmodes/python.el (python-shell-send-string):
3c3cda1a 4521 (python-shell-send-setup-code): Do not use `format' with `message'.
925411b4 4522
e636fafe
DG
45232012-08-14 Dmitry Gutov <dgutov@yandex.ru>
4524
4525 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
4526 (ruby-percent-literal-beg-re): New constant.
4527 (ruby-syntax-general-delimiters-goto-beg): Rename to
4528 `ruby-syntax-enclosing-percent-literal', improve literal type check.
4529 (ruby-syntax-propertize-general-delimiters): Rename to
4530 `ruby-syntax-propertize-percent-literal', it's a shorter and more
4531 popular term. Adjust comments everywhere.
4532 (ruby-syntax-propertize-percent-literal): Only propertize when not
4533 inside a simple string or comment. When the literal is unclosed,
4534 leave the text after it unpropertized.
f063063a
DG
4535 (ruby-syntax-methods-before-regexp): New constant.
4536 (ruby-syntax-propertize-function): Use it to recognize regexps.
4537 Don't look at the text after regexp, just use the whitelist.
e636fafe 4538
e5b19827
AS
45392012-08-14 Andreas Schwab <schwab@linux-m68k.org>
4540
4541 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
4542 non-nil always load the compiled file if it exists. (Bug#12197)
4543
a9f6f311
CY
45442012-08-14 Chong Yidong <cyd@gnu.org>
4545
4546 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
4547 (hi-lock-set-pattern): When deciding whether to use font lock or
4548 overlays, look at font-lock-mode instead of font-lock-fontified
4549 (Bug#12168).
4550 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
4551 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
4552
7d806b1e
DU
45532012-08-14 Daiki Ueno <ueno@unixuser.org>
4554
4555 * subr.el (internal--after-with-selected-window): Fix typo
4556 (Bug#12193).
4557
5beed586
FEG
45582012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
4559
4560 Use `completion-table-dynamic' for completion functions.
4561 * progmodes/python.el
4562 (python-shell-completion--do-completion-at-point)
e636fafe
DG
4563 (python-shell-completion--get-completions):
4564 Remove functions.
5beed586
FEG
4565 (python-shell-completion-complete-at-point): New function.
4566 (python-completion-complete-at-point): Use it.
4567
92cb3b04
J
45682012-08-13 Jambunathan K <kjambunathan@gmail.com>
4569
4570 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
4571 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
4572
89660017
SM
45732012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4574
3c98c962
SM
4575 * subr.el (function-get): Refine `autoload' arg so it can also
4576 autoload functions for gv.el (bug#12191).
4577 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
4578 autoloads macros.
4579
aa7c6dbe
SM
4580 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
4581 Prefer pcase-let over destructuring-bind.
4582 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
4583 Also, remove whitespace as we go, rather than after accumulating the
4584 various places.
4585
89660017
SM
4586 * subr.el (internal--before-with-selected-window)
4587 (internal--after-with-selected-window): Fix typo seleted->selected.
4588 (with-selected-window): Adjust callers.
4589 Reported by Dmitry Gutov <dgutov@yandex.ru>.
4590
31cd32c9
BG
45912012-08-13 Bastien Guerry <bzg@gnu.org>
4592
0fcd3d9f 4593 * window.el (special-display-popup-frame): Minor docstring
31cd32c9
BG
4594 enhancement. (Bug#12172)
4595
1b15d8ad
AS
45962012-08-13 Andreas Schwab <schwab@linux-m68k.org>
4597
31e54db0
AS
4598 * tar-mode.el (tar-header-data-end): Only ignore size for files of
4599 type 1-6.
4600 (tar-header-block-summarize, tar-get-descriptor): Handle pax
4601 extended headers.
4602
1b15d8ad
AS
4603 * files.el (hack-local-variables-filter): Remove useless eval.
4604
35cb9c06
MR
46052012-08-13 Martin Rudalics <rudalics@gmx.at>
4606
4607 * subr.el (with-selected-window): Fix last change.
4608
1439443b
SM
46092012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
4610
4611 * subr.el (internal--before-with-seleted-window)
4612 (internal--after-with-seleted-window): New functions.
1b15d8ad
AS
4613 (with-selected-window): Use them, to replace dependency on
4614 tty-top-frame.
1439443b 4615
0d9e2599
NN
46162012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
4617
4618 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
4619 binding for `newline'.
4620 (ruby-move-to-block): When moving backward, stop at block opening,
4621 not indentation.
4622 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
4623 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
4624 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
4625 `ruby-toggle-block'.
4626
ba10c48c
SM
46272012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
4628
4629 * ibuffer.el (ibuffer-do-toggle-read-only):
4630 * dired.el (dired-toggle-read-only):
4631 * buff-menu.el (Buffer-menu-toggle-read-only):
4632 * bindings.el (mode-line-toggle-read-only):
4633 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
4634
9229c658
AS
46352012-08-12 Andreas Schwab <schwab@linux-m68k.org>
4636
4637 * descr-text.el (describe-char): Put the overlays over the
4638 "displayed as" character.
4639
0fd09128
JB
46402012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
4641
4642 * calc/calc-units.el (math-default-units-table): Give an
4643 initial value.
4644 (math-put-default-units): Add options to put composite units and
4645 unit systems in the default units table.
4646 (calc-convert-units): Send composite units to
4647 `math-put-default-units' when appropriate.
4648
9ff9402d 46492012-08-11 Glenn Morris <rgm@gnu.org>
7aacaf15 4650
fbb5e336
GM
4651 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
4652
7aacaf15
GM
4653 * tutorial.el (help-with-tutorial):
4654 * emacs-lisp/copyright.el (copyright-update-directory):
4655 * emacs-lisp/autoload.el (autoload-find-generated-file)
4656 (autoload-find-file): Disable local eval: (for insurance).
4657
f40b9f10
GM
4658 * files.el (hack-local-variables-filter): If an eval: form is not
4659 known to be safe, and enable-local-variables is :safe, then ignore
4660 the form totally, as is done for non-eval forms. (Bug#12155)
6f97980a 4661 This is CVE-2012-3479.
f40b9f10 4662
daa9f1a6
SM
46632012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
4664
4665 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
4666 (rx-form): Simplify.
4667
9cd80478
DG
46682012-08-09 Dmitry Gutov <dgutov@yandex.ru>
4669
0d9e2599
NN
4670 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
4671 ?, _, and : are symbol constituents, ! is not (but kinda should be).
4672 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
4673 (ruby-syntax-propertize-function): Adjust for changes in
4674 `ruby-syntax-propertize-heredoc'.
4675
46762012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
4677
9cd80478
DG
4678 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
4679 binding (use `M-;' instead).
9cd80478 4680 (ruby-singleton-class-p): New function.
0d9e2599 4681 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9cd80478 4682
d301b413
SM
46832012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
4684
4685 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
4686
1530c98e
CY
46872012-08-10 Chong Yidong <cyd@gnu.org>
4688
4689 * progmodes/python.el (python-shell-get-process-name): Don't mess
4690 with same-window-buffer-names.
4691
4692 * eshell/eshell.el (eshell-add-to-window-buffer-names)
4693 (eshell-remove-from-window-buffer-names): Make obsolete.
4694 (eshell-buffer-name, eshell-unload-hook): Don't use them.
4695 (eshell): Just use pop-to-buffer-same-window instead.
4696
e1293765
CY
46972012-08-10 Chong Yidong <cyd@gnu.org>
4698
4699 * bindings.el: Bind M-= back to count-words-region.
4700
4701 * simple.el (count-words-region): Accept a prefix arg for acting
4702 on the entire buffer.
4703 (count-words--buffer-message): New helper function.
4704
e1894109
SM
47052012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
4706
4707 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
4708 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
4709 (event-start, event-end): Use posn-at-point to return a more
4710 informative posn.
4711 (posnp): New function.
4712 * mouse.el (popup-menu-normalize-position): Use it.
4713
c69f56a2
MY
47142012-08-10 Masatake YAMATO <yamato@redhat.com>
4715
4716 * mouse.el (popup-menu-normalize-position): New function.
4717 (popup-menu): Use `popup-menu-normalize-position' to normalize
4718 the form for POSITION argument.
4719
4720 * term/x-win.el (x-menu-bar-open):
4721 Use the value returend from (posn-at-point) as position
4722 passed to `popup-menu'.
4723
31673780
JB
47242012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
4725
4726 * calc/calccomp.el (math-compose-expr): Add extra argument
4727 indicating that parentheses should be put around products in
4728 denominators. Give multiplication precedence over division during
4729 composition.
4730
dab7711b
CY
47312012-08-09 Chong Yidong <cyd@gnu.org>
4732
dee4ef93
CY
4733 * man.el (Man-switches, Man-sed-command, Man-awk-command)
4734 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
4735 (Man-untabify-command, manual-program): Convert to defcustom
4736 (Bug#10429).
4737
73e2bbc5
CY
4738 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
4739
3e861c8a
CY
4740 * descr-text.el (describe-char): Don't insert extra newlines
4741 (Bug#10127).
4742
a9f5a649
CY
4743 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
4744 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
4745
dab7711b
CY
4746 * align.el (align-region): Delete temporary markers (Bug#10047).
4747 Plus some code cleanups.
4748
e0cc4efa
FEG
47492012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
4750
4751 * progmodes/python.el (python-pdbtrack-tracked-buffer)
4752 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
4753 (python-shell-internal-last-output): Use make-local-variable
4754 instead of make-variable-buffer-local.
4755
489af14f
FEG
47562012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
4757
4758 * progmodes/python.el: Enhancements to forward-sexp.
4759 (python-nav-forward-sexp): Rename from
4760 python-nav-forward-sexp-function.
c69f56a2
MY
4761 (python-nav--forward-sexp, python-nav--backward-sexp):
4762 New functions.
489af14f 4763
0fc50303
JB
47642012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
4765
4766 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
4767 modes and simplification modes.
4768
5d65606a
SM
47692012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
4770
4771 * delsel.el (delete-selection-pre-hook): Don't propagate the
4772 file-supersession signals (bug#12161).
4773
4250fdf5
SM
47742012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4775
4776 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
4777 (cl-map-extents): Add compatibility aliases (bug#12135).
4778
d9f9b465
MA
47792012-08-08 Michael Albinus <michael.albinus@gmx.de>
4780
4781 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
4782 tests by `ignore-error'.
4783 (tramp-find-shell): Open also a new shell, when cache is already
4784 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
4785
ce0fcefa
JL
47862012-08-08 Juri Linkov <juri@jurta.org>
4787
4788 * bookmark.el: Add `defaults' property to the bookmark record.
4789 (bookmark-current-buffer): Doc fix.
4790 (bookmark-make-record): Add `defaults' property with default values
4791 to the bookmark record.
4792 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
4793 with `bookmark-insert-current-bookmark'.
4794 (bookmark-set): Get `defaults' property from the bookmark record
4795 and use it in `read-from-minibuffer'.
4796 (bookmark-insert-current-bookmark): Remove function.
4797
4798 * info.el (Info-bookmark-make-record): Add `defaults' property
4799 with values of canonical Info node name, the current Info file
4800 name and the current Info node name. (Bug#12107)
4801
53fa8652
JL
48022012-08-08 Juri Linkov <juri@jurta.org>
4803
4804 * files.el (basic-save-buffer): Use `buffer-name' as the default
4805 of `read-file-name' when buffer is not visiting a file (bug#12128).
4806
242c0a95
JL
48072012-08-08 Juri Linkov <juri@jurta.org>
4808
4809 * info.el (Info-isearch-search): Doc fix.
4810 (Info-search): Change search-failed message from "initial node" to
4811 "end of node" (bug#12078).
4812 (Info-isearch-search): Change `isearch-string-state' to
4813 `isearch--state-string'.
4814
32ac3a6b
GM
48152012-08-08 Glenn Morris <rgm@gnu.org>
4816
4817 * language/persian.el: Remove file.
f8c1afd5 4818 * language/misc-lang.el: Move unique part of persian.el here.
32ac3a6b
GM
4819 * loadup.el: Remove language/persian.
4820
2c2d9c9c
OF
48212012-08-08 Óscar Fuentes <ofv@wanadoo.es>
4822
4823 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
4824
2d79ec42
FEG
48252012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
4826
4827 * progmodes/python.el Fixed defsubst warning.
4828 (python-syntax-context) Rename from python-info-ppss-context.
4829 (python-syntax-context-type): Rename from
4830 python-info-ppss-context-type.
4831 (python-syntax-comment-or-string-p): Rename from
4832 python-info-ppss-comment-or-string-p.
4833
2bd255dd
JB
48342012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
4835
4836 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
4837
c395097f
AS
48382012-08-07 Andreas Schwab <schwab@linux-m68k.org>
4839
6125983e
AS
4840 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
4841 a defcustom that is quoted with backquote.
4842
4250fdf5
SM
4843 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
4844 Fix handling of interactive spec when the body uses return.
651eaf36
AS
4845 (math-do-arg-check, math-define-function-body): Use backquote forms.
4846 * calc/calc-ext.el (math-defcache): Likewise.
4847 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
4848 * allout.el (allout-new-exposure): Likewise.
4849 * calc/calcalg2.el (math-tracing-integral): Likewise.
4850 * info.el (Info-last-menu-item): Likewise.
4851 * emulation/vip.el (vip-loop): Likewise.
4852 * textmodes/artist.el (artist-funcall): Likewise.
4853 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
4854 Construct menu-item directly.
4855
4250fdf5
SM
4856 * progmodes/autoconf.el (font-lock-syntactic-keywords):
4857 Don't declare.
c395097f 4858
5fb50dd3
CY
48592012-08-07 Chong Yidong <cyd@gnu.org>
4860
4861 * simple.el (deactivate-mark): Preserve text properties when
4862 saving the primary selection (Bug#8384).
4863
54eea618
KR
48642012-08-07 Kevin Ryde <user42@zip.com.au>
4865
4866 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
4867 (woman-parse-numeric-value): On a bad .IP line, issue a warning
4868 and continue processing (Bug#12110).
4869
638eaeb9
SM
48702012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
4871
4872 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
4873 syntax-propertize-function (bug#10095).
4874
ea376861
SM
48752012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
4876
f91b35be
SM
4877 * help-fns.el (help-fns--key-bindings, help-fns--signature)
4878 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
4879 describe-function-1.
4880 (describe-function-1): Use them. Move compiler macro after sig.
4881 (help-fns--compiler-macro): Use function-get. Assume we're already in
4882 standard-output. Adjust layout to new call order.
4883
ea376861
SM
4884 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
4885 re-binding a symbol that has a symbol-macro (bug#12119).
4886
d5be7bd0
MB
48872012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
4888
4889 * language/persian.el: New file. (Bug#11812)
4890 * loadup.el: Add language/persian.el.
4891
90749b53
CY
48922012-08-06 Chong Yidong <cyd@gnu.org>
4893
4894 * window.el (window--maybe-raise-frame): New function.
4895 (window--display-buffer): Split off from here.
4896 (display-buffer-reuse-window, display-buffer-pop-up-frame)
4897 (display-buffer-pop-up-window, display-buffer-use-some-window):
4898 Obey an inhibit-switch-frame action alist entry.
4899 (display-buffer): Update doc.
4900
4901 * replace.el (occur-after-change-function): Avoid losing focus by
4902 using the inhibit-switch-frame display parameter (Bug#12139).
4903
ba7b0154
FEG
49042012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
4905
4906 Make internal shell process buffer names start with space.
4907 * progmodes/python.el (python-shell-make-comint): Add optional
4908 argument INTERNAL.
4909 (run-python-internal): Use it.
4910 (python-shell-internal-get-or-create-process): Check for new
4911 internal buffer names.
4912
5eaeacb5
GM
49132012-08-06 Glenn Morris <rgm@gnu.org>
4914
e296d94b 4915 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5eaeacb5
GM
4916 Do less getting and setting of environment variables.
4917
b7ccbdc2
CY
49182012-08-05 Chong Yidong <cyd@gnu.org>
4919
777fe95e
CY
4920 * proced.el (proced): Add substitution string to docstring to
4921 trigger autoloading of the proced library on C-h f (Bug#1768).
4922
4250fdf5
SM
4923 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
4924 Don't show defvars which have no second argument (Bug#8638).
b7ccbdc2
CY
4925
4926 * imenu.el (imenu-generic-expression): Move documentation here
4927 from imenu--generic-function.
4928 (imenu--generic-function): Refer to imenu-generic-expression.
4929
9e3b7800 49302012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
d5c31f1d
4931
4932 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
4933 indentation declaration.
4934 (viper-loop): Add indentation declaration (Bug#7025).
4935
e5d9c0d1
CY
49362012-08-05 Chong Yidong <cyd@gnu.org>
4937
f0422feb
CY
4938 * help-fns.el (describe-variable): Add hyperlink for
4939 directory-local variables files. Improve buffer-local and
4940 permanent-local reporting; suggested by MON KEY (Bug#6644).
4941
4942 * help-mode.el (help-dir-local-var-def): New button type.
4943
e5d9c0d1
CY
4944 * files.el (kill-buffer-hook): Provide a defvar.
4945
a4f2deaa
GM
49462012-08-05 Glenn Morris <rgm@gnu.org>
4947
4948 * eshell/esh-ext.el (eshell/addpath):
4949 Also update eshell-path-env. (Bug#12013)
4950
a9dd5754
CY
49512012-08-05 Chong Yidong <cyd@gnu.org>
4952
a4f2deaa 4953 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
615b0bf0 4954
d014c740
CY
4955 * fringe.el (fringe-styles): Add docstring.
4956 (fringe--check-mode): New function.
4957 (set-fringe-mode, set-fringe-style): Use it.
4958 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
4959
a9dd5754
CY
4960 * files.el (set-auto-mode): Fix invalid setq call.
4961
7c2dc8bd
SM
49622012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4963
4964 * isearch.el: Misc simplification; use defstruct.
4965 (isearch-mode-map): Dense maps now work like sparse ones.
4966 (isearch--state): New defstruct.
4967 (isearch-string-state, isearch-message-state, isearch-point-state)
4968 (isearch-success-state, isearch-forward-state)
4969 (isearch-other-end-state, isearch-word-state, isearch-error-state)
4970 (isearch-wrapped-state, isearch-barrier-state)
4971 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
4972 replaced by defstruct's accessors.
4973 (isearch--set-state): Rename from isearch-top-state and change
4974 calling convention.
4975 (isearch-push-state): Use new isearch--get-state.
4976 (isearch-toggle-word): Disable regexp when enabling word.
4977 (isearch-message-prefix): Remove unused arg _c-q-hack.
4978 (isearch-message-suffix): Remove unused arg _ellipsis.
4979
7fcc0070
AS
49802012-08-04 Andreas Schwab <schwab@linux-m68k.org>
4981
4982 * simple.el (list-processes--refresh): For a server use :host or
4983 :local as the address.
97ad0769 4984 (list-processes): Doc fix.
7fcc0070 4985
a11035b8 49862012-08-04 Michal Nazarewicz <mina86@mina86.com>
00340faf
MN
4987
4988 * lisp/mpc.el: Support password in host argument.
4989 (mpc--proc-connect): Parse and use new password element.
4990 Set mpc-proc variable instead of returning process.
4991 (mpc-proc): Adjust accordingly.
4992
6dad7178
EZ
49932012-08-03 Eli Zaretskii <eliz@gnu.org>
4994
18949c2f
EZ
4995 * whitespace.el (whitespace-display-mappings): Use Unicode
4996 codepoints, instead of emacs-mule codepoints. See
4997 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
4998 for the details.
4999
6dad7178
EZ
5000 * files.el (file-truename): Don't skip symlink-chasing part on
5001 windows-nt. Incorporate the resolution of 8+3 short aliases on
4250fdf5
SM
5002 Windows into the loop that recursively chases symlinks.
5003 Compare directory and its parent case-insensitively on MS-Windows and
6dad7178
EZ
5004 MS-DOS.
5005
385b0198
CY
50062012-08-03 Chong Yidong <cyd@gnu.org>
5007
6200f3c4
CY
5008 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
5009
385b0198
CY
5010 * sort.el (sort-regexp-fields): Doc fix.
5011
b9e74744
TH
50122012-08-03 Tassilo Horn <tsdh@gnu.org>
5013
5014 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
5015 labels regex position point at the expected place.
5016
41013cb4
MK
50172012-08-03 MON KEY <monkey@sandpframing.com>
5018
5019 * net/imap.el (imap-interactive-login, imap-authenticate)
5020 (imap-mailbox-lsub, imap-mailbox-list)
5021 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
5022 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
5023 (imap-parse-response): Doc fix.
5024
0ffee616
JT
50252012-08-03 João Távora <joaotavora@gmail.com>
5026
5027 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
5028 if sexp scanning does not move point (Bug#5734).
5029
cfcc9cc8
TH
50302012-08-02 Tassilo Horn <tsdh@gnu.org>
5031
5032 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
5033 Add listings, minted, and ctable packages.
5034 (reftex-label-alist-builtin): Move listings, minted, and ctable
5035 entries before LaTeX.
a01bbb84 5036 (reftex-label-alist): Docfix.
cfcc9cc8 5037
66ec2442
BG
50382012-08-02 Bastien Guerry <bzg@gnu.org>
5039
5040 * replace.el (occur): Fix docstring (bug#12122).
5041
837b365b
GM
50422012-08-02 Glenn Morris <rgm@gnu.org>
5043
5044 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
5045
e098de97
PE
50462012-08-02 Paul Eggert <eggert@cs.ucla.edu>
5047
5048 Obsolete alias inactivate-current-input-method-function (Bug#10150).
5049 * international/mule-cmds.el: Create
5050 inactivate-current-input-method-function as an obsolete alias for
5051 deactivate-current-input-method-function. See Katsumi Yamaoka in
5052 <http://bugs.gnu.org/10150#46>.
5053
a0f95636
JB
50542012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
5055
5056 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
5057 of nested `if's.
5058
0d26d7c4
GM
50592012-08-01 Glenn Morris <rgm@gnu.org>
5060
5061 * progmodes/autoconf.el (autoconf-definition-regexp):
5062 Add AH_TEMPLATE, adjust submatch numbering.
5063 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
5064 (autoconf-current-defun-function): Update for above change.
5065 (autoconf-current-defun-function): First skip to end of current word.
5066
b686ba06
RS
50672012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
5068
5069 * calendar/cal-html.el (cal-html-insert-agenda-days):
5070 Fix typo. (Bug#12018)
5071
0d49da68
FEG
50722012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
5073
5074 Shell processes: enhancements to startup and CEDET compatibility.
5075 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
5076 (python-shell-make-comint): accept-process-output at startup.
5077 (run-python-internal): Set inferior-python-mode-hook to nil.
5078 (python-shell-internal-get-or-create-process): call sit-for.
5079 (python-preoutput-result): Add obsolete alias.
5080 (python-shell-internal-send-string): Use it.
5081 (python-shell-send-setup-code): Remove call to
5082 accept-process-output.
5083
f1a71c6e
AS
50842012-07-31 Andreas Schwab <schwab@linux-m68k.org>
5085
5086 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
5087 (Bug#12108)
5088
d2605269
JB
50892012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
5090
5091 * calc-mode.el (calc-basic-simplification-mode): Rename from
5092 `calc-limited-simplification-mode'.
5093 (calc-alg-simplification-mode): New function.
fc0c31f8 5094 (calc-set-simplify-mode): Adjust message.
f1a71c6e 5095
d2605269
JB
5096 * calc.el (calc-set-mode-line): Adjust mode line display for
5097 basic simplification mode.
5098
5099 * calc-help.el (calc-m-prefix-help): Update help message.
5100
5101 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
5102 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
5103
a3827a43
BG
51042012-07-31 Bastien Guerry <bzg@gnu.org>
5105
5106 * man.el (man): Fix comment. (bug#12101)
5107
502e3f89
MR
51082012-07-31 Martin Rudalics <rudalics@gmx.at>
5109
5110 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
5111 Don't return a non-nil value when no suitable buffer was found.
5112
d7714961
FEG
51132012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
5114
5115 * progmodes/python.el (run-python-internal): Disable font lock for
5116 internal shells.
5117
1f45e27e
SM
51182012-07-30 Stefan Merten <smerten@oekonux.de>
5119
70efc5c9 5120 * textmodes/rst.el: Silence `checkdoc-ispell'.
1f45e27e
SM
5121 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
5122 (rst-official-version, rst-official-cvs-rev)
5123 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
5124 (rst-mode-map): New key binding.
5125
0aee6912
PE
51262012-07-30 Paul Eggert <eggert@cs.ucla.edu>
5127
5128 Update .PHONY listings in makefiles.
5129 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
5130 autoloads, update-subdirs, updates, bzr-update, update-authors,
5131 compile-onefile, compile-calc, backup-compiled-files,
5132 compile-after-backup, compile-one-process, mh-autoloads,
5133 bootstrap-clean, distclean, maintainer-clean.
5134
9052f9f0
JB
51352012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
5136
1823ac5a
JB
5137 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
5138 (calc-set-mode-line): Don't display "AlgSimp ".
5139
5140 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
5141 (calc-lim-simplify-mode): New function.
5142 (calc-set-simplify-mode): Default to 'alg.
5143 (calc-default-simplify-mode): Make algebraic simplifications
5144 the default.
5145
5146 * calc/calc-ext.el (calc-init-extensions): Remove binding for
5147 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
5148
8d7c7eed 5149 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
5150 indicate new simplification modes.
5151
1823ac5a
JB
5152 * calc/README: Mention new default simplification mode.
5153
9052f9f0
JB
5154 * calc/calc.el (math-normalize-error): New variable.
5155 (math-normalize): Set `math-normalize-error' to t
5156 when there's an error.
5157
5158 * calc/calc-alg.el (math-simplify): Don't simplify when
5159 `math-normalize' returns an error.
5160
20ba0cb4
EZ
51612012-07-29 Eli Zaretskii <eliz@gnu.org>
5162
5163 * international/mule-cmds.el (set-locale-environment): Revert last
5164 change, since display-graphic-p returns nil when this function is
5165 called during startup. Instead...
5166
5167 * term/w32console.el (terminal-init-w32console): ...setup the
5168 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
5169
a5dcc929
JL
51702012-07-29 Juri Linkov <juri@jurta.org>
5171
5172 * simple.el (goto-line): Don't display default line number in the
5173 prompt because it should be displayed by `read-number' (bug#9952).
5174 Add the current line number to the defaults of `goto-line' to
5175 allow its easier modification by users with `M-n' (bug#9201).
5176
5177 * subr.el (read-number): Support multiple default values like in
5178 other minibuffer reading functions. Replace `read' with
5179 `string-to-number' for consistency with `number-to-string'.
5180
72b255c7
PE
51812012-07-29 Paul Eggert <eggert@cs.ucla.edu>
5182
5183 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
5184 * emulation/viper-init.el (viper-deactivate-input-method-action):
5185 Rename from viper-inactivate-input-method-action.
5186 (viper-deactivate-input-method):
5187 Rename from viper-inactivate-input-method.
5188 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
5189 * international/mule-cmds.el (deactivate-input-method):
5190 Rename from inactivate-input-method.
5191 Also run input-method-deactivate-hook.
5192 (deactivate-current-input-method-function):
5193 Rename from inactivate-current-input-method-function.
5194 (input-method-deactivate-hook): New hook.
5195 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
5196 (inactivate-input-method): Mark obsolete.
5197
72b255c7
PE
5198 * international/quail.el (quail-activate):
5199 Also run quail-deactivate-hook.
5200 (quail-deactivate): Rename from quail-inactivate.
5201 * international/robin.el (robin-activate):
5202 Also run robin-deactivate-hook.
5203 (robin-deactivate): Rename from robin-inactivate.
5204
2549c068
CY
52052012-07-29 Chong Yidong <cyd@gnu.org>
5206
5207 * simple.el (indicate-copied-region): New function.
5208 (kill-ring-save): Split off from here.
5209
5210 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
5211 (kill-rectangle): Set deactivate-mark to t on read-only error.
5212
5213 * register.el (copy-to-register, copy-rectangle-to-register):
5214 Deactivate the mark, and use indicate-copied-region (Bug#10056).
4c478e6b
JL
5215 (append-to-register, prepend-to-register): Call indicate-copied-region.
5216
52172012-07-29 Juri Linkov <juri@jurta.org>
17711ed9
JL
5218
5219 * simple.el (async-shell-command-buffer): New defcustom.
5220 (shell-command): Use it. (Bug#4719)
5221
01bd1b0d
EZ
52222012-07-28 Eli Zaretskii <eliz@gnu.org>
5223
5224 * international/mule-cmds.el (set-locale-environment): In a
5225 console session on MS-Windows, set up keyboard and terminal
5226 encoding from the OEM codepage, not the ANSI codepage.
5227 (Bug#12055)
5228
a55739d3
CY
52292012-07-28 Chong Yidong <cyd@gnu.org>
5230
5231 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
5232 gdb-get-location.
5233
0e1a094f 52342012-07-28 Leo Liu <sdl.web@gmail.com>
9a0f8f2e
LL
5235
5236 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
5237 the alist (bug#12029).
5238
20329d73
EZ
52392012-07-28 Eli Zaretskii <eliz@gnu.org>
5240
5241 * makefile.w32-in (custom-deps, finder-data, updates, compile)
5242 (compile-always, compile-first)
5243 ($(lisp)/calendar/cal-loaddefs.el)
5244 ($(lisp)/calendar/diary-loaddefs.el)
5245 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
5246 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
5247 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
5248 instead of on update-subdirs.
5249 (bootstrap-clean): Delete $(lisp)/subdirs.el.
5250
345a2258
CY
52512012-07-28 Chong Yidong <cyd@gnu.org>
5252
1eee6341
CY
5253 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
5254 directory if vc-deduce-backend returns nil (Bug#7350).
5255
345a2258
CY
5256 * simple.el (delete-trailing-lines): New option.
5257 (delete-trailing-whitespace): Obey it (Bug#11879).
5258
049a0936
DE
52592012-07-28 David Engster <deng@randomsample.de>
5260
5261 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
5262 Explanation of new 'symbol-qnames feature in doc-strings.
5263 (xml-maybe-do-ns): Return expanded names as plain symbols if
5264 'symbol-qnames was provided in XML-NS argument (Bug#11916).
5265 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
5266
aa81af71
FEG
52672012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
5268
5269 Consistent completion in inferior python with emacs -nw.
5270 * progmodes/python.el (inferior-python-mode): replace "<tab>"
5271 binding in inferior-python-mode-map with "\t".
5272 (python-shell-completion-complete-at-point)
5273 (python-completion-complete-at-point): Remove interactive spec.
5274
e827b1eb
JB
52752012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
5276
5277 * calc/calccomp.el (math-compose-expr): Undo previous change.
5278
a90dfb95
FEG
52792012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
5280
4250fdf5 5281 * progmodes/python.el (python-mode-map): Add keybinding for
a90dfb95
FEG
5282 run-python.
5283 (python-shell-make-comint): Fix pop-to-buffer call.
5284 (run-python): Autoload. New arg SHOW.
5285 (python-shell-get-or-create-process): Do not pop python process
5286 buffer.
5287
32770973 52882012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
5289
5290 * notifications.el (notifications-on-action-signal)
5291 (notifications-on-closed-signal): Use also the bus address for the map.
5292 (notifications-notify, notifications-close-notification)
fc0c31f8 5293 (notifications-get-capabilities): Add optional argument BUS.
1c6ef030 5294
86332df2
TH
52952012-07-27 Tassilo Horn <tsdh@gnu.org>
5296
4250fdf5
SM
5297 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
5298 Add support for the lstlisting and minted environments, and for the
86332df2
TH
5299 ctable macro.
5300 * textmodes/reftex.el (reftex-compile-variables): Also recognize
5301 labels written in keyvals syntax.
5302
ca1302a4
JB
53032012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
5304
5305 * calc/calccomp.el (math-compose-expr): Use parentheses when
5306 there is a product in the denominator of a fraction.
5307
f8b91036
EZ
53082012-07-26 Eli Zaretskii <eliz@gnu.org>
5309
5310 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
5311 ($(lisp)/calendar/diary-loaddefs.el)
5312 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4250fdf5
SM
5313 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
5314 Fixes failures in parallel bootstrap because subdirs.el is being
f8b91036
EZ
5315 rewritten while the autoload files are built at the same time,
5316 which needs to load subdirs.el.
5317
c8e5a42c
MR
53182012-07-26 Martin Rudalics <rudalics@gmx.at>
5319
5320 * mouse.el (popup-menu): Fix doc-string and re-indent code.
5321 (mouse-drag-line): Don't exit tracking when a switch-frame or
5322 switch-window event occurs (Bug#12006).
5323
670d85ea
SM
53242012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5325
5326 * mouse.el (popup-menu): Fix last change.
5327
7abaf5cc
SM
53282012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5329
5330 Autoload from Lisp with more care. Follow aliases when looking for
5331 function properties.
5332 * subr.el (autoloadp): New function.
5333 (symbol-file): Use it.
5334 (function-get): New function.
5335 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
5336 autoload-do-load.
5337 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
5338 (lisp-indent-function):
5339 * emacs-lisp/gv.el (gv-get):
5340 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
5341 * emacs-lisp/byte-opt.el (byte-optimize-form):
5342 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
5343 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
5344 Use function-get.
5345 * emacs-lisp/cl.el: Don't propagate function properties any more.
5346
5347 * speedbar.el (speedbar-add-localized-speedbar-support):
5348 * emacs-lisp/disass.el (disassemble-internal):
5349 * desktop.el (desktop-load-file):
5350 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
5351 (describe-function-1):
5352 * emacs-lisp/find-func.el (find-function-noselect):
5353 * emacs-lisp/elp.el (elp-instrument-function):
5354 * emacs-lisp/advice.el (ad-has-proper-definition):
5355 * apropos.el (apropos-safe-documentation, apropos-macrop):
5356 * emacs-lisp/debug.el (debug-on-entry):
5357 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
5358 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
5359 * calc/calc.el (name): Use autoloadp & autoload-do-load.
5360
b1364986
AA
53612012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
5362
5363 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
5364 function, not an obsolete variable (Bug#12046).
5365
67ada220
AS
53662012-07-25 Andreas Schwab <schwab@linux-m68k.org>
5367
5368 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
5369
f08088e3
CS
53702012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
5371
5372 * emacs-lisp/pp.el (pp-display-expression): Select old selected
5373 window only if it is still live (Bug#12034).
5374
8137e7b3
MR
53752012-07-25 Martin Rudalics <rudalics@gmx.at>
5376
5377 * subr.el (redirect-frame-focus): Add advertised calling
5378 convention (Bug#12030).
5379
09ae5da1
PE
53802012-07-25 Paul Eggert <eggert@cs.ucla.edu>
5381
5382 Prefer typical American spelling for "acknowledgment".
5383 * vc/add-log.el (change-log-acknowledgment): Rename from
5384 change-log-acknowledgement, with an alias for the old name.
5385
3cc5a3a8
JB
53862012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
5387
5388 * calc-alg.el (math-simplify-divide): Don't cross multiply
5389 in an equation when the lhs is a variable.
5390
b7af7f62
JD
53912012-07-24 Julien Danjou <julien@danjou.info>
5392
5393 * net/netrc.el (netrc-find-service-number, netrc-store-data):
5394 Remove, unused.
5395
ec1b09b1
EZ
53962012-07-23 Eli Zaretskii <eliz@gnu.org>
5397
5398 * startup.el (command-line): Don't display an empty user name in
5399 the error message about non-existent home directory, when
5400 init-file-user was set to an empty string. See
5401 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
5402 for the details and context.
5403
b525fd8a
VB
54042012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
5405
5406 * ses.el (ses-cell-formula-aset): New macro.
5407 (ses-cell-references-aset): New macro.
5408 (ses-cell-p): New function.
5409 (ses-rename-cell): Do no longer rely on complex operations like
5410 ses-cell-set-formula or ses-set-cell to change the cell and handle
5411 the undo at the same time, but rather use lower level new macros
5412 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
fc0c31f8 5413 the undo directly. Refresh the mode line.
b525fd8a 5414
2c73e345
LL
54152012-07-21 Leo Liu <sdl.web@gmail.com>
5416
670d85ea
SM
5417 * progmodes/cc-cmds.el (c-defun-name):
5418 Use match-string-no-properties instead for consistency.
2c73e345 5419
542dfbde
LL
54202012-07-20 Leo Liu <sdl.web@gmail.com>
5421
3646bcd6
LL
5422 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
5423 (Bug#7879)
5424
542dfbde
LL
5425 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
5426
25721031
CY
54272012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
5428
5429 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
5430 * progmodes/bug-reference.el, misearch.el: Provide themselves
5431 (bug#11915).
5432
5433 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
5434 of narrowed buffer (bug#11966).
5435
316e68a7
VB
54362012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
5437
5438 * ses.el (ses-rename-cell): Set new name also in reference list of
5439 cells of which the renamed cell depends.
5440
bbf0e7d9
MY
54412012-07-20 Masatake YAMATO <yamato@redhat.com>
5442
5443 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
5444 to check whether menu-bar is shown or not. If not shown,
5445 show the menu-bar as a popup menu instead of using tmm.
5446 * mouse.el (popup-menu): Accept `point' as `position' argument.
5447
c28662a8
DG
54482012-07-20 Dmitry Gutov <dgutov@yandex.ru>
5449
5450 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
5451 up inside string symbol literal (bug#11923).
5452
87ab808f
EZ
54532012-07-20 Eli Zaretskii <eliz@gnu.org>
5454
5455 * startup.el (fancy-startup-text): Read the whole tutorial, not
5456 just its first 256 bytes. Prevents gibberish in display of the
5457 tutorial title.
5458
89dea803
DA
54592012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
5460
5461 Drop idle buffer compaction due to an absence of the
5462 proved efficiency.
5463 * compact.el: Remove.
5464
8a4e6db8
SS
54652012-07-19 Sam Steingold <sds@gnu.org>
5466
5467 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
5468 vc-bzr-pull & vc-bzr-merge-branch.
5469 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
5470 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
5471 for consistency with compilation-error-regexp-alist.
5472 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
5473 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
5474 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
5475 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
5476
5db81e33
SM
54772012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
5478
5479 * emacs-lisp/chart.el: Use lexical-binding.
5480 (chart-emacs-storage): Don't hardcode the list of entries.
5481
5b835e1d
DA
54822012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
5483
5484 Next round of tweaks caused by Fgarbage_collect changes.
5485 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
5486
9cd47b72
DA
54872012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
5488
5489 Compact buffers when idle.
5490 * compact.el: New file.
5491
1d6fc0df
SM
54922012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
5493
5494 * subr.el (eventp): Presume that if it looks vaguely like an event,
5495 it's an event (bug#10190).
5496
1d29cc7d
FEG
54972012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
5498
5499 Enhancements to ppss related code (thanks Stefan).
5500 * progmodes/python.el (python-indent-context)
5501 (python-indent-calculate-indentation, python-indent-dedent-line)
5502 (python-indent-electric-colon, python-nav-forward-block)
5503 (python-mode-abbrev-table)
1d6fc0df 5504 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
5505 for ppss context.
5506 (python-info-continuation-line-p): Cleanup.
5507 (python-info-ppss-context): Do not catch 'quote.
5508 (python-info-ppss-context-type)
5509 (python-info-ppss-comment-or-string-p): Simplify.
5510
d583cbe6
FEG
55112012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
5512
5513 * progmodes/python.el: Enhancements to eldoc support.
5514 (python-info-current-symbol): New function.
5515 (python-eldoc-at-point): Use python-info-current-symbol.
5516 (python-info-current-defun): Fix cornercase on first defun scan.
5517 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
5518 and signal error when no inferior python process is available.
5519
eceb6feb
DG
55202012-07-18 Dmitry Gutov <dgutov@yandex.ru>
5521
5522 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
5523 assume it's always t.
5524 (vc-git-registered): Remove caching, the function is only called
5525 once.
5526 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
5527
4c8ff0fe
CY
55282012-07-18 Chong Yidong <cyd@gnu.org>
5529
19fb7186
CY
5530 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
5531
9587c688
CY
5532 * simple.el (count-words): Report on narrowing (Bug#9959).
5533
0fe776a1
CY
5534 * bindings.el: Bind M-= to count-words.
5535
4c8ff0fe
CY
5536 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
5537
7f5331cc
MY
55382012-07-18 Masatake YAMATO <yamato@redhat.com>
5539
5540 * progmodes/sh-script.el (sh-imenu-generic-expression):
5541 Capture a function with `function' keyword and without parentheses
5542 like "function FOO" (bug#11856).
5543
2dc2a609
TH
55442012-07-18 Tassilo Horn <tassilo@member.fsf.org>
5545
5546 * window.el (split-window-sensibly): Make WINDOW argument
5547 optional.
5548
439f7677
CY
55492012-07-18 Chong Yidong <cyd@gnu.org>
5550
9aeb25a6
CY
5551 * subr.el (keyboard-translate): Doc fix (Bug#7261).
5552
439f7677
CY
5553 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
5554 and make C-x 8 RET exit isearch (Bug#11439).
5555
5556 * international/iso-transl.el: Move isearch-mode-map key
5557 definitions to isearch.el.
5558
12999ea8
SM
55592012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
5560
5561 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
5562 (eieio-defclass): Use gv-define-setter when possible.
5563
3ab6e069
DA
55642012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
5565
5566 Reflect recent changes in Fgarbage_collect.
5567 * emacs-lisp/chart.el (chart-emacs-storage): Change to
5568 reflect new format of data returned by Fgarbage_collect.
5569
0a60bc10
FEG
55702012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
5571
5572 New utility functions + python-info-ppss-context fix (Bug#11910).
5573 * progmodes/python.el (python-info-beginning-of-block-statement-p)
5574 (python-info-ppss-comment-or-string-p): New functions.
5575 (python-info-ppss-context): Small fix for string check.
5576
6dafa0d5
JL
55772012-07-17 Juri Linkov <juri@jurta.org>
5578
5579 * dired-aux.el (dired-do-async-shell-command): Doc fix.
5580 (dired-do-async-shell-command): Don't add `*' at the end of the
5581 command (Bug#11815).
5582 (dired-do-shell-command): Doc fix.
5583 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
5584 Join the individual commands using either "&" or ";" as the
5585 separator depending on the values of these trailing characters.
5586 At the end re-add the trailing "&". (Bug#10598)
5587
5588 * simple.el (async-shell-command): Sync the interactive spec with
5589 `shell-command'. Doc fix.
5590 (shell-command): Doc fix.
5591
b19dd9d1
JL
55922012-07-17 Juri Linkov <juri@jurta.org>
5593
5594 * descr-text.el (describe-char): Fix format args. (Bug#10129)
5595
bcdc27d7 55962012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 5597
bcdc27d7 5598 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
5599 * progmodes/python.el (python-nav-beginning-of-statement):
5600 Rename from python-nav-statement-start.
bcdc27d7
FEG
5601 (python-nav-end-of-statement): Rename from
5602 python-nav-statement-end.
5603 (python-nav-beginning-of-block): Rename from
5604 python-nav-block-start.
5605 (python-nav-end-of-block): Rename from python-nav-block-end.
5606
191da00e
FEG
56072012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
5608
7f5331cc
MY
5609 * progmodes/python.el (python-shell-send-string-no-output):
5610 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
5611 future interactions (Bug#11868).
5612
4dc7c8d5 56132012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 5614
88ecaf8f
SM
5615 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
5616
ef501ef0
SM
5617 * emacs-lisp/elint.el (elint-find-args-in-code):
5618 Use help-function-arglist, so as to handle lexical byte-code.
5619
aa7aaf8f
SM
5620 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
5621 change (bug#11826).
5622
45fd731c
SM
56232012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
5624
2143fa32
SM
5625 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
5626 Avoid spuriously marking the buffer as modified because of c-is-sws.
5627
efc26dbe
SM
5628 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
5629 as not-a-comment (bug#11946).
5630
f5695c9a
SM
5631 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
5632 for uninterned vars.
5633
5634 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
5635 Use read-event since we don't really want to read chars but bytes.
5636
45fd731c
SM
5637 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
5638 $$..$$ but also $..$ using regexps (bug#11953).
5639 Use tex-verbatim for \url and \path.
5640 (tex-font-lock-keywords): Define as defconst like the others.
5641 (tex-common-initialization): Don't use font-lock-syntax-table any more.
5642
ddfc8813
RK
56432012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
5644
5645 * international/mule-cmds.el (ucs-insert): Make it an obsolete
5646 alias for insert-char.
5647
758e556a
FEG
56482012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
5649
5650 * progmodes/python.el: Simplified imenu implementation.
5651 (python-nav-jump-to-defun): Remove command.
5652 (python-mode-map): Use `imenu' instead.
5653 (python-nav-list-defun-positions-cache)
5654 (python-imenu-include-defun-type, python-imenu-make-tree)
5655 (python-imenu-subtree-root-label, python-imenu-index-alist):
5656 Remove vars.
5657 (python-nav-list-defun-positions, python-nav-read-defun)
5658 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
5659 (python-imenu-make-tree, python-imenu-create-index):
5660 Remove functions.
758e556a
FEG
5661 (python-mode): Update to interact with imenu by setting
5662 `imenu-extract-index-name-function' only.
5663
032d23ab
FEG
56642012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
5665
5666 * progmodes/python.el: Enhancements to navigation commands.
5667 (python-nav-backward-sentence)
5668 (python-nav-forward-sentence): Remove.
5669 (python-nav-backward-statement, python-nav-forward-statement)
5670 (python-nav-statement-start, python-nav-statement-end)
5671 (python-nav-backward-block, python-nav-forward-block)
5672 (python-nav-block-start, python-nav-block-end)
5673 (python-nav-forward-sexp-function)
5674 (python-info-current-line-comment-p)
5675 (python-info-current-line-empty-p): New functions.
5676 (python-indent-context): Use `python-nav-statement-start'.
5677
01795a1b
MA
56782012-07-16 Michael Albinus <michael.albinus@gmx.de>
5679
9328d9aa
MA
5680 * eshell/em-ls.el (eshell/ls): Use `apply'.
5681
5682 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
5683 multi-hops, instead of Tramp internals.
5684
01795a1b
MA
5685 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
5686
5687 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
5688 when F1 and F2 are located on different hosts.
5689
63408057
CY
56902012-07-14 Chong Yidong <cyd@gnu.org>
5691
5692 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
5693 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
5694 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
5695 (xterm-mouse--read-event-sequence-1000)
5696 (xterm-mouse--read-event-sequence-1006): New functions. For old
5697 mouse protocol, handle M-mouse-X events correctly.
5698 (xterm-mouse-event): New arg specifying mouse protocol.
5699 (turn-on-xterm-mouse-tracking-on-terminal)
5700 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
5701 sequence to toggle extended coordinates on newer XTerms.
5702 This appears to be harmless on terminals which do not support this.
63408057 5703
cd276f6e
LL
57042012-07-14 Leo Liu <sdl.web@gmail.com>
5705
28ca98ac
LL
5706 Add fringe bitmap indicators for flymake. (Bug#11253)
5707 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
5708 (flymake-make-overlay): New arg BITMAP.
5709 (flymake-error-bitmap, flymake-warning-bitmap)
5710 (flymake-fringe-indicator-position): New user variables.
5711
cd276f6e
LL
5712 * fringe.el: New bitmap exclamation-mark.
5713
04408072
JD
57142012-07-14 Jan Djärv <jan.h.d@swipnet.se>
5715
5716 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
5717 also (Bug#7879).
5718
b5cf7fc4
CY
57192012-07-14 Chong Yidong <cyd@gnu.org>
5720
5721 * electric.el (electric-pair-post-self-insert-function): Fix pair
5722 insertion in empty-region case (Bug#11520).
5723
be755c79
RT
57242012-07-14 Chong Yidong <cyd@gnu.org>
5725
45fd731c
SM
5726 * bindings.el: Consolidate ctl-x-r-map bindings.
5727 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
5728
5729 * rect.el, register.el: Move bindings to bindings.el.
5730
57312012-07-14 Reuben Thomas <rrt@sc3d.org>
5732
5733 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
5734
7f5b3198
AS
57352012-07-13 Andreas Schwab <schwab@linux-m68k.org>
5736
5737 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
5738
97662200
JB
57392012-07-13 Juanma Barranquero <lekktu@gmail.com>
5740
80185fed
JB
5741 * bindings.el (top): Use `mapc' instead of `mapcar'.
5742
97662200
JB
5743 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
5744
2bb1ae55
MA
57452012-07-13 Michael Albinus <michael.albinus@gmx.de>
5746
5747 * progmodes/sql.el (sql-comint): Suppress the check for program on
5748 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
5749 (Bug#11908)
5750
dea31bd3
CY
57512012-07-13 Chong Yidong <cyd@gnu.org>
5752
5753 * bindings.el: Assign a non-nil permanent-local property to
5754 per-buffer variables which lack a default value (Bug#11930).
5755
5756 * help-fns.el (describe-variable): In the "automatically becomes
5757 local" notice, take note of permanent-local variables.
5758
b68b3337
CY
57592012-07-13 Chong Yidong <cyd@gnu.org>
5760
5761 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
5762 to allow printing the message when called from Lisp.
5763
5764 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
5765 Remove toggle-read-only.
5766
5767 * bs.el (bs-toggle-readonly):
45fd731c
SM
5768 * buff-menu.el (Buffer-menu-toggle-read-only):
5769 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
5770
5771 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
5772 Remove with-no-warnings around toggle-read-only.
5773 (ffap-read-only, ffap-read-only-other-window)
5774 (ffap-read-only-other-frame): Callers changed.
5775
5776 * help-mode.el: Don't require view package.
5777 (help-mode-finish): Set buffer-read-only instead of calling
5778 toggle-read-only.
5779
5780 * bindings.el (mode-line-toggle-read-only):
5781 * dired.el (dired-toggle-read-only):
5782 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
5783 with non-nil second arg.
5784
5785 * emacs-lisp/eieio-custom.el (eieio-customize-object):
5786 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
5787 directly.
5788
56bc1586
EZ
57892012-07-12 Eli Zaretskii <eliz@gnu.org>
5790
5791 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
5792 not incf.
5793
a464a6c7
SM
57942012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
5795
5796 More CL cleanups and reduction of use of cl.el.
5797 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
5798 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
5799 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
5800 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
5801 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
5802 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
5803 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
5804 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
5805 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
5806 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
5807 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
5808 * eshell/em-cmpl.el, eshell/em-banner.el:
5809 * calendar/parse-time.el: Use cl-lib.
5810 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
5811 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
5812 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
5813 * term/ns-win.el, term.el, shell.el, ps-samp.el:
5814 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
5815 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
5816 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
5817 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
5818 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
5819 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
5820 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
5821 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
5822 `lambda' rather than with `quote'.
5823 (eshell-do-opt): Adjust accordingly.
5824 (eshell-process-option): Simplify.
5825 * eshell/esh-var.el:
5826 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
5827 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
5828 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
5829 to `pcase--dontcare'.
5830 * emacs-lisp/cl.el (labels): Mark obsolete.
5831 (cl--letf, letf): Move to cl-lib.
5832 (cl--letf*, letf*): Remove.
5833 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
5834 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
5835 (cl-progv): Rewrite.
5836 (cl--letf, cl-letf): Move from cl.el.
5837 (cl-letf*): New macro.
5838 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
5839
7ad4afe1
MA
58402012-07-11 Michael Albinus <michael.albinus@gmx.de>
5841
5842 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
5843
9af57756
CY
58442012-07-11 Chong Yidong <cyd@gnu.org>
5845
5846 * vc/log-edit.el (log-edit-vc-backend): New variable.
5847 (log-edit): Doc fix.
5848
5849 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
5850 argument of log-edit to set up all local variables.
5851 (vc-start-logentry): New optional arg specifying VC backend.
5852
5853 * vc/vc.el (vc-checkin): Use it.
5854 (vc-deduce-fileset): Handle Log Edit buffers.
5855 (vc-diff): Make first argument optional too.
5856
5857 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
5858
8477cc7a
MA
58592012-07-10 Michael Albinus <michael.albinus@gmx.de>
5860
5861 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
5862 command, just in case. The function is not needed anymore.
5863 (eshell-external-command): Do not call `eshell-remote-command'.
5864
19faa8e8
SM
58652012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
5866
f58e0fd5
SM
5867 Reduce use of (require 'cl).
5868 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
5869 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
5870 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
5871 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
5872 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
5873 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
5874 * battery.el, avoid.el, abbrev.el: Use cl-lib.
5875 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
5876 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
5877 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
5878 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
5879 * calculator.el, autorevert.el, apropos.el: Don't require CL.
5880 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
5881 (byte-compile-unfold-bcf, byte-compile-check-variable):
5882 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
5883 (byte-compile-nilconstp):
5884 * emacs-lisp/autoload.el (make-autoload): Use pcase.
5885 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
5886
2519d43a
SM
5887 * emacs-lisp/gv.el (cond): Make it a valid place.
5888 (if): Simplify slightly.
5889
19faa8e8
SM
5890 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
5891 (pcase--self-quoting-p): New function.
5892 (pcase--u1): Use it.
5893
c4907a5e
GM
58942012-07-10 Glenn Morris <rgm@gnu.org>
5895
5896 * emacs-lisp/authors.el (authors-fixed-entries):
5897 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
5898
c4444d16
PE
58992012-07-09 Paul Eggert <eggert@cs.ucla.edu>
5900
5901 Rename configure.in to configure.ac (Bug#11603).
5902 * emacs-lisp/authors.el (authors-canonical-file-name):
5903 * progmodes/autoconf.el (autoconf-mode):
5904 Prefer configure.ac to configure.in.
5905
d75be97d
CY
59062012-07-08 Chong Yidong <cyd@gnu.org>
5907
01ac65bd
CY
5908 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
5909 Implement the mouse-1-click-follows-link handling properly.
5910
5911 * info.el (Info-link-keymap): Use follow-link mechanism for
5912 header-line links (Bug#374).
5913
d75be97d
CY
5914 * simple.el (deactivate-mark): Do not set the primary selection
5915 if another program has acquired it (Bug#11772).
5916
87a92845 59172012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
5918
5919 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
5920 (woman-decode-region): Replace escaped-escapes without destroying
5921 bold or underline (Bug#11552).
87a92845 5922 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 5923
621b9d6c
CY
59242012-07-07 Chong Yidong <cyd@gnu.org>
5925
5926 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
5927 (interprogram-cut-function, interprogram-paste-function):
5928 Mention that we typically mean the clipboard.
621b9d6c 5929
133a11fc
GM
59302012-07-06 Glenn Morris <rgm@gnu.org>
5931
0d27a45e
GM
5932 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
5933
133a11fc
GM
5934 * files.el (toggle-read-only): Restrict message to interactive use.
5935
07b151f1
MA
59362012-07-06 Michael Albinus <michael.albinus@gmx.de>
5937
5938 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
5939
5940 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
5941
211b896b
GM
59422012-07-06 Glenn Morris <rgm@gnu.org>
5943
50394322
GM
5944 * Makefile.in (compile-one-process): Rename from "recompile".
5945
211b896b
GM
5946 * Makefile.in (bzr-update): "compile" is the same as "recompile
5947 autoloads", but parallelizable, so use that instead.
5948
4737eec9
DG
59492012-07-06 Dmitry Gutov <dgutov@yandex.ru>
5950
5951 * window.el (quit-window): Always restore window height when
8137e7b3 5952 it's saved in quit-restore parameter (Bug#11810).
4737eec9 5953
226c3633 59542012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
5955
5956 * simple.el (kill-whole-line): Doc tweak.
5957
226c3633 59582012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
5959
5960 * files.el (file-relative-name): Compare file names
5961 case-insensitively if on MS-Windows or MS-DOS, or if
5962 read-file-name-completion-ignore-case is non-nil. Don't use
5963 case-fold-search for this purpose. (Bug#11827)
5964
4dc7c8d5
SM
59652012-07-17 Andreas Schwab <schwab@linux-m68k.org>
5966
5967 * calendar/cal-dst.el (calendar-current-time-zone):
5968 Return calendar-current-time-zone-cache if non-nil.
5969
59702012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 59712012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 5972
19faa8e8
SM
5973 * calendar/cal-dst.el (calendar-current-time-zone):
5974 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 5975
60198fc9
GM
59762012-07-06 Glenn Morris <rgm@gnu.org>
5977
5978 * Makefile.in (cvs-update): Remove old alias.
5979
957b3189
MA
59802012-07-05 Michael Albinus <michael.albinus@gmx.de>
5981
5982 Sync with Tramp 2.2.6-pre.
5983
5984 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
5985 compatible declaration.
5986
19faa8e8
SM
5987 * net/tramp-cmds.el (tramp-append-tramp-buffers):
5988 Protect `list-load-path-shadows' call.
957b3189
MA
5989
5990 * net/tramp-compat.el (top): Require packages, which aren't
5991 autoloaded anymore for XEmacs. Protect call of
5992 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
5993 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
5994 it hurts at least for SXEmacs.
5995 (tramp-compat-temporary-file-directory): In XEmacs, there is no
5996 standard-value for `temporary-file-directory'.
5997
5998 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
5999 Redirect stderr to /dev/null.
6000 (tramp-sh-handle-write-region): uid and gid can be floats.
6001 Reported by Russell Sim <russell.sim@gmail.com>.
6002 (tramp-sh-handle-vc-registered): Hide errors.
6003 (tramp-vc-file-name-handler): Use dummy results for `process-file'
6004 and `start-file-process'.
6005 (tramp-maybe-open-connection): Check also whether `non-essential'
6006 is bound.
6007
566df3fc
CY
60082012-07-04 Chong Yidong <cyd@gnu.org>
6009
6010 * xml.el (xml--parse-buffer): Use xml-syntax-table.
6011 (xml-parse-tag): Likewise, and avoid changing entity tables.
6012 (xml-syntax-table): Define from scratch, making sure not to give
6013 x2000 and other Unicode spaces whitespace syntax, since those are
6014 not spaces in XML.
6015 (xml-parse-fragment): Delete unused function.
6016 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
6017 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
6018 (xml-entity-ref, xml-pe-reference-re)
6019 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
6020 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
6021 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
6022 (xml-entity-value-re): Use syntax references in regexps where
6023 possible; no need to define inside a let-binding.
6024 (xml-parse-dtd): Use xml-pe-reference-re.
6025 (xml-entity-or-char-ref-re): New defconst.
6026 (xml-parse-string, xml-substitute-special): Use it.
6027
30eabd7a
SM
60282012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
6029
0781098a
SM
6030 * files.el (locate-dominating-file): Allow `name' to be a predicate.
6031 (find-file--read-only): New function.
6032 (find-file-read-only, find-file-read-only-other-window)
6033 (find-file-read-only-other-frame): Use it.
6034 (insert-file-contents-literally): Don't `fset'.
6035 (get-free-disk-space): Use locate-dominating-file.
6036
b5771c0d
SM
6037 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
6038 function is already compiled.
6039
30eabd7a
SM
6040 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
6041
b4886f6e
MA
60422012-07-03 Michael Albinus <michael.albinus@gmx.de>
6043
6044 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
6045 files on the same host.
6046
b9d82339
AS
60472012-07-03 Andreas Schwab <schwab@linux-m68k.org>
6048
6049 * help-fns.el (describe-function-1): Only call
6050 help-fns--autoloaded-p when we have a file name. (Bug#11848)
6051
a76e6535
CY
60522012-07-03 Chong Yidong <cyd@gnu.org>
6053
6054 * xml.el: Protect parser against XML bombs.
6055 (xml-entity-expansion-limit): New variable.
6056 (xml-parse-string, xml-substitute-special): Use it.
6057 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
6058
b544fef2
GM
60592012-07-03 Glenn Morris <rgm@gnu.org>
6060
6061 * progmodes/bug-reference.el (bug-reference-bug-regexp):
6062 Allow linking to specific messages in debbugs reports (eg 123#5).
6063
a7aef6f5
CY
60642012-07-02 Chong Yidong <cyd@gnu.org>
6065
6066 * xml.el: Fix entity and character reference expansion, allowing
6067 them to expand into markup as per XML spec.
6068 (xml-default-ns): New variable.
6069 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
6070 (xml-parse-region): Make first two arguments optional.
6071 Discard text properties.
6072 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
6073 All callers changed.
a7aef6f5
CY
6074 (xml-parse-tag): Call xml-parse-tag-1. For backward
6075 compatibility, this function should not modify buffer contents.
6076 (xml-parse-tag-1): Fix opening-tag regexp.
6077 (xml-parse-string): Rewrite, handling entity and character
6078 references properly.
6079 (xml--entity-replacement-text): Signal an error if a parameter
6080 entity is undefined.
6081
3df31c9f
SM
60822012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
6083
2b5208f1
SM
6084 * comint.el (comint-output-filter): Filter out repeated prompts.
6085
3df31c9f
SM
6086 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
6087 and file-name-absolute-p.
6088 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
6089 internal calls.
6090
e3ac1281
PE
60912012-07-02 Paul Eggert <eggert@cs.ucla.edu>
6092
6093 Spelling fixes.
6094 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
6095 Rename from byte-compile--refiy-function. All uses changed.
6096
fbf2e7ad
CY
60972012-07-01 Chong Yidong <cyd@gnu.org>
6098
6099 * xml.el (xml--parse-buffer): New function. Move most of
6100 xml-parse-region here.
6101 (xml-parse-region): Copy region into a temporary buffer, since
6102 parameter entity substitution requires changing buffer contents.
6103 Use xml--parse-buffer.
6104 (xml-parse-file): Use xml--parse-buffer.
6105 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 6106 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 6107
9bf0aa15
GM
61082012-06-30 Glenn Morris <rgm@gnu.org>
6109
bbce2853
GM
6110 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
6111
9bf0aa15
GM
6112 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
6113 Remove outdated and unnecessary dbus declarations.
6114
0d23c240
EZ
61152012-06-30 Eli Zaretskii <eliz@gnu.org>
6116
6117 * emacs-lisp/timer.el (timer-until): Subtract results of
6118 float-time, instead of taking float-time of the result of
6119 time-subtract, since float-time signals an error for negative time
6120 arguments.
6121
b3218de1
CY
61222012-06-30 Chong Yidong <cyd@gnu.org>
6123
6124 * xml.el (xml-*-re): Convert defvars into defconsts, and
6125 eval-and-compile them so eval-and-compile works on derivatives.
6126 (xml--entity-replacement-text): Use eval-and-comple.
6127
a40c87a0
MA
61282012-06-30 Michael Albinus <michael.albinus@gmx.de>
6129
6130 * vc/vc-git.el (vc-git-registered): Use cache property
6131 `git-registered'.
6132 (vc-git-mode-line-string): Call `vc-working-revision' instead of
6133 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 6134 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 6135
ac87de97
DG
61362012-06-30 Dmitry Gutov <dgutov@yandex.ru>
6137
6138 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 6139 removed (likely outside Emacs). (Bug#11757)
ac87de97 6140
ac10fe06
SM
61412012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
6142
3df31c9f 6143 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 6144
7f3fbd5d
CY
61452012-06-30 Chong Yidong <cyd@gnu.org>
6146
6147 * xml.el: Implement XML parameter entities.
6148 (xml-parameter-entity-alist): New variable.
6149 (xml-parse-region, xml-parse-fragment): Preserve previous values
6150 of xml-entity-alist and xml-parameter-entity-alist, so that
6151 repeated calls on different documents do not change them.
6152 (xml-parse-tag): Fix doctype regexp.
6153 (xml--entity-replacement-text): New function.
6154 (xml-parse-dtd): Use it. Don't handle system entities; doing that
6155 properly requires url retrieval which is unimplemented.
6156 (xml-escape-string): Doc fix.
6157
3cfbebba
SM
61582012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
6159
6160 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
6161
2af3565e
DA
61622012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
6163
6164 * fringe.el (fringe-mode): Doc fix.
6165
929df0e7
MA
61662012-06-29 Michael Albinus <michael.albinus@gmx.de>
6167
6168 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
6169 is non-nil.
6170 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
6171 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
6172
c8d3a25c 61732012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 6174
c8d3a25c
GM
6175 * calendar/cal-dst.el (calendar-current-time-zone):
6176 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 6177
c8d3a25c 61782012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
6179
6180 * progmodes/which-func.el (which-func-format):
6181 Add mouse-face. (Bug#11698)
6182
c8d3a25c
GM
61832012-06-29 Leo Liu <sdl.web@gmail.com>
6184
6185 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
6186
61872012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
6188
6189 * minibuffer.el (minibuffer-confirm-exit-commands):
6190 Add completion-at-point (bug#11725).
6191
61922012-06-29 Glenn Morris <rgm@gnu.org>
6193
6194 * progmodes/f90.el (f90-font-lock-keywords-2):
6195 Add some preprocessor elements. (Bug#10499)
6196
61972012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
6198
6199 * progmodes/cperl-mode.el (cperl-update-syntaxification):
6200 Use syntax-propertize (bug#11739).
6201
2badeec4
JB
62022012-06-28 Juanma Barranquero <lekktu@gmail.com>
6203
6204 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
6205
ae4969c2
JD
62062012-06-28 Julien Danjou <julien@danjou.info>
6207
6208 * term.el (term-handle-colors-array): Use a set of new faces to
6209 color the terminal. Also uses :inverse-video property.
6210 (term-default-fg-color): Set to nil by default, deprecate in favor
6211 of `term-face'.
6212 (term-default-bg-color): Set to nil by default, deprecate in favor
6213 of `term-face'.
6214 (term-current-face): Use `term-face' by default.
6215 (term-bold-attribute): Variable deleted.
6216
1c9bd870
GM
62172012-06-28 Glenn Morris <rgm@gnu.org>
6218
6219 * simple.el (completion-list-mode-finish):
6220 Don't use toggle-read-only. (Since completion-list-mode has
6221 a special mode-class, it wasn't doing anything extra anyway.)
6222
c207708c
SM
62232012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
6224
6225 Make inlining of other-mode interpreted functions work (bug#11799).
6226 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
6227 (byte-compile): Use it to fix compilation of lexical-binding closures.
6228 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
6229 function, if needed.
6230
3fd56834
SM
62312012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
6232
04901786
SM
6233 * help-mode.el (help-make-xrefs): Don't just withstand
6234 cyclic-variable-indirection but any error in documentation-property.
6235
1ec4b7b2
SM
6236 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
6237 memory use.
6238 * bindings.el (bindings--define-key): New function.
6239 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
6240 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
6241 * bindings.el: Use it to purecopy define-key bindings.
6242
e309e2a5
SM
6243 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
6244
d5c6faf9
SM
6245 * emacs-lisp/cl.el (flet): Mark obsolete.
6246 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
6247 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
6248 * progmodes/js.el (js-c-fill-paragraph):
6249 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
6250 (ebrowse-switch-member-buffer-to-derived-class):
6251 * play/5x5.el (5x5-solver): Use cl-flet.
6252
6e9590e2
SM
6253 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
6254 (cl--symbol-function): New macro.
6255 (cl--letf, cl--letf*): Use it.
6256
3fd56834
SM
6257 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
6258 Strip "toggle-" if any.
6259
35ff222c
GM
62602012-06-27 Glenn Morris <rgm@gnu.org>
6261
1ba6038a
GM
6262 * info.el (Info-default-directory-list): Move here from paths.el.
6263 * paths.el: Remove file, which is now empty.
6264 * loadup.el: No longer load "paths".
6265
0ea0e51b
GM
6266 * custom.el (custom-initialize-delay): Doc fix.
6267
35ff222c
GM
6268 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
6269 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
6270 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
6271 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
6272 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
6273 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
6274 * eshell/eshell.el (eshell-defgroup): Remove alias.
6275
c89926a5
CY
62762012-06-27 Chong Yidong <cyd@gnu.org>
6277
6278 * help.el (help-enable-auto-load): New variable.
6279
6280 * help-fns.el (help-fns--autoloaded-p): New function.
6281 (describe-function-1): Refer to a function as "autoloaded" if it
6282 was autoloaded at any time in the past. Perform autoloading if
6283 help-enable-auto-load is non-nil.
6284
cc06e7e7
EZ
62852012-06-26 Eli Zaretskii <eliz@gnu.org>
6286
6287 * makefile.w32-in (compile, compile-always): Depend on
6288 update-subdirs, not on subdirs.el. Otherwise, several different
6289 sub-targets of 'bootstrap' running in parallel could
6290 simultaneously write to subdirs.el, producing a garbled file.
6291
d2c32364
SS
62922012-06-26 Sam Steingold <sds@gnu.org>
6293
6294 * files.el (file-name-base): New convenience function.
0d14cc21
GM
6295 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
6296 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
6297 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
6298 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
6299 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
6300 * textmodes/tex-mode.el: Use it.
6301 Did not touch cedet and org because they are maintained elsewhere.
6302
5cf983b2
MR
63032012-06-26 Martin Rudalics <rudalics@gmx.at>
6304
6305 * calendar/calendar.el (calendar-exit): Don't try to delete or
6306 iconify last frame. See:
6307 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
6308
8c4f2952
JD
63092012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
6310
6311 * server.el (server-process-filter): Remember dir in the
6312 process's `server-client-directory' properties.
6313
772b2e2c
CY
63142012-06-24 Chong Yidong <cyd@gnu.org>
6315
6316 * xml.el (xml-parse-tag): Correctly handle comment embedded in
6317 non-tag text.
6318
711b11e1
JB
63192012-06-23 Juanma Barranquero <lekktu@gmail.com>
6320
6321 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
6322
dc5d230c
SM
63232012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
6324
6325 * help-fns.el (describe-variable): Don't croak when doc is not found.
6326 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
6327 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
6328 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
6329 * emacs-lisp/smie.el (smie-next-sexp): CSE.
6330 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
6331 ((lambda ..) ..).
6332 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
6333
136e1c1d
CY
63342012-06-23 Chong Yidong <cyd@gnu.org>
6335
e8c1cabf
CY
6336 * info.el (Info-mouse-follow-link): Accept symbol values of
6337 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
6338 (Info-fontify-node): Use Info-link-keymap for all navigation
6339 buttons, with link-args property to perform the desired action.
6340 (Info-link-keymap): Doc fix.
6341 (Info-next-link-keymap, Info-prev-link-keymap)
6342 (Info-up-link-keymap): Delete now-unused keymaps.
6343
0e9e6c6a
CY
63442012-06-23 Chong Yidong <cyd@gnu.org>
6345
05e89fea
CY
6346 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
6347
0e9e6c6a
CY
6348 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
6349 system abbrevs.
6350
6351 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
6352
e33c6771
SM
63532012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
6354
b68581e2
SM
6355 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
6356 (bug#11719).
6357
e33c6771
SM
6358 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
6359 the requote function doesn't work properly (bug#11714).
6360
7117e105
GM
63612012-06-23 Glenn Morris <rgm@gnu.org>
6362
6363 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
6364
36cec983
SM
63652012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6366
6367 Further GV/CL cleanups.
6368 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
6369 gv-expander.
6370 (gv--defun-declaration): New function.
6371 (defun-declarations-alist): Use it.
6372 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
6373 (gv-place): Autoload.
6374 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
6375 original definition of dotimes and dolist.
6376 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
6377 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
6378 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
6379 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
6380 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
6381 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
6382 to the function's definition.
6383 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
6384 * window.el:
6385 * files.el:
6386 * faces.el:
6387 * env.el: Don't use CL.
6388
d35af63c
PE
63892012-06-22 Paul Eggert <eggert@cs.ucla.edu>
6390
6391 Support higher-resolution time stamps (Bug#9000).
6392
6393 * calendar/time-date.el (with-decoded-time-value): New arg
6394 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
6395 (encode-time-value): New optional arg PICO. New type 3.
6396 (time-to-seconds) [!float-time]: Support the new picoseconds
6397 component if it's used.
6398 (seconds-to-time, time-subtract, time-add):
6399 Support ps-resolution time stamps as well.
6400
6401 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
6402 (timerp): Timer vectors now have length 9, not 8.
6403 (timer--time): Support new-style (4-part) time stamps.
6404 (timer-next-integral-multiple-of-time): Time stamps now have
6405 picosecond resolution, so take a bit more care about rounding.
6406 (timer-relative-time, timer-inc-time): New optional arg psecs.
6407 (timer-set-time-with-usecs): Set psecs to 0.
6408 (timer--activate): Check psecs component, too.
6409
6410 * proced.el (proced-time-lessp): Support ps-resolution stamps.
6411
ac77b21a
SM
64122012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6413
f143bfe3
SM
6414 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
6415 Move the non-essential binding to the post/pre-command-hook where it is
6416 more obviously correct.
6417
ac77b21a
SM
6418 * subr.el (read-passwd): Don't use a history at all.
6419 * savehist.el (savehist-save): Remove password saved accidentally
6420 because of the above bug.
6421
76386c5a
BG
64222012-06-22 Bastien Guerry <bzg@gnu.org>
6423
6424 * files.el (toggle-read-only): Display a message telling whether
6425 the buffer is read-only or not (bug#11726).
6426
2ee3d7f0
SM
64272012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6428
6429 * emacs-lisp/gv.el: New file.
6430 * subr.el (push, pop): Extend to generalized variables.
6431 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
6432 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
6433 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
6434 gv-define-simple-setter, and gv-define-expander.
6435 Remove setf-methods defined in gv. Rename cl-setf -> setf.
6436 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
6437 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
6438 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
6439 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
6440 gv-letplace.
6441 (cl-defstruct): Don't define setf-method any more.
6442 * emacs-lisp/cl.el (flet): Don't autoload.
6443 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
6444 (define-setf-expander, defsetf, define-modify-macro)
6445 (cl-struct-setf-expander): Move from cl-lib.el.
6446 * emacs-lisp/syntax.el:
6447 * emacs-lisp/ewoc.el:
6448 * emacs-lisp/smie.el:
6449 * emacs-lisp/cconv.el:
6450 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
6451 (timer--time): Use gv-define-simple-setter.
6452 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
6453 to avoid coding-system problems in subr.el. Adjust all users.
6454 (macroexp--maxsize, macroexp-small-p): New functions.
6455 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
6456 * scroll-bar.el (scroll-bar-mode):
6457 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
6458 (normal-erase-is-backspace-mode): Don't use the `eq' place.
6459 * winner.el (winner-configuration, winner-make-point-alist)
6460 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
6461 * files.el (locate-file-completion-table): Avoid list*.
6462
c5695d1d
CY
64632012-06-22 Chong Yidong <cyd@gnu.org>
6464
6465 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
6466 (dired-create-files): Doc fix (Bug#11329).
6467 (dired-do-copy): Doc fix (Bug#11334).
6468 (dired-mark-read-string): Doc fix (Bug#11553).
6469
2ee3d7f0
SM
6470 * dired.el (dired-recursive-copies, dired-recursive-deletes):
6471 Doc fix (Bug#11326).
c5695d1d
CY
6472 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
6473 (dired-dwim-target): Doc fix.
6474
6475 * wdired.el (wdired-mode): Doc fix.
6476
89b5595a
GM
64772012-06-22 Glenn Morris <rgm@gnu.org>
6478
575db3f1
GM
6479 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
6480 (pcmpl-rpm-cache-stamp-file): New constant.
6481 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
6482 (pcmpl-rpm-packages): Optionally cache list of packages.
6483
a4c8dd51
GM
6484 * pcmpl-rpm.el (pcmpl-rpm): New group.
6485 (pcmpl-rpm-query-options): New option.
6486 (pcmpl-rpm-packages): No need to inline it.
6487 Use pcmpl-rpm-query-options.
6488
89b5595a
GM
6489 * calendar/calendar.el (calendar-in-read-only-buffer):
6490 Avoid some needless mode changes.
6491
e76f0800
CY
64922012-06-21 Chong Yidong <cyd@gnu.org>
6493
6494 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
6495 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 6496 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 6497
297a8f1d
CY
64982012-06-20 Chong Yidong <cyd@gnu.org>
6499
6500 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
6501
d34c18b1
DR
65022012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
6503
6504 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
6505 (bug#11201).
6506
32f7f28e
CY
65072012-06-20 Chong Yidong <cyd@gnu.org>
6508
6509 * term.el (term-window-width): Handle the case of a missing right
6510 fringe (Bug#8837).
6511 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
6512 (term-mode): Use define-derived-mode. Minor cleanups.
6513 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
6514 (term-move-columns, term-insert-char, term-emulate-terminal)
6515 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 6516
493c6688
MA
65172012-06-20 Michael Albinus <michael.albinus@gmx.de>
6518
d34c18b1
DR
6519 * net/ange-ftp.el (ange-ftp-get-passwd):
6520 Bind `enable-recursive-minibuffers'.
493c6688
MA
6521 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
6522
3f06ecf4
DR
65232012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
6524
6525 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
6526
68f12411
GM
65272012-06-19 Glenn Morris <rgm@gnu.org>
6528
6529 * progmodes/python.el (python-mode): Derive from prog-mode.
6530
b3820318
KG
65312012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
6532
6533 * emulation/edt.el (edt-default-menu-bar-update-buffers)
6534 (edt-user-menu-bar-update-buffers): New functions.
6535 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
6536
c6bf3022
CY
65372012-06-19 Chong Yidong <cyd@gnu.org>
6538
6539 * subr.el (with-selected-window): Preserve the selected window's
6540 terminal's top-frame (Bug#4702).
6541
6542 * window.el (save-selected-window): Likewise.
6543
25f09295
SM
65442012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6545
6546 * progmodes/python.el (python-rx-constituents): Move backquote.
6547 (python-skeleton-define, python-define-auxiliary-skeleton):
6548 Use `declare'.
6549
6b11952a
MA
65502012-06-18 Michael Albinus <michael.albinus@gmx.de>
6551
6552 * minibuffer.el (read-file-name-default): Revert the patch from
6553 2012-06-17.
6554
ee4b1330
SM
65552012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6556
6557 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
6558 (pcase--u1, pcase--q1): Don't use apply-partially.
6559
35647f79
GM
65602012-06-18 Glenn Morris <rgm@gnu.org>
6561
6562 * progmodes/python.el (python-proc, python-buffer)
6563 (python-send-receive, python-send-string): Fix obsolete versions.
6564
24b0cff0
MR
65652012-06-18 Martin Rudalics <rudalics@gmx.at>
6566
6567 * window.el (special-display-p): Completely remove stringp
6568 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
6569
29855149
MA
65702012-06-17 Michael Albinus <michael.albinus@gmx.de>
6571
6572 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
6573
6574 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
6575
6576 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
6577 * net/tramp-sh.el (tramp-maybe-open-connection):
6578 Throw if `non-essential' is non-nil.
6579
07463363
MR
65802012-06-17 Martin Rudalics <rudalics@gmx.at>
6581
6582 * window.el (special-display-p): Signal an error if BUFFER-NAME
6583 is not a string (Bug#11713).
6584
48d1354e
PE
65852012-06-17 Paul Eggert <eggert@cs.ucla.edu>
6586
6587 * progmodes/python.el (python-info-beginning-of-backslash):
6588 Rename from python-info-beginning-of-backlash, as a spelling fix.
6589
eb4a8a9a
CY
65902012-06-17 Chong Yidong <cyd@gnu.org>
6591
6592 * term.el (term-emulate-terminal): If term-check-size is called,
6593 move point to the process mark without resetting point (Bug#4635).
6594
ddfbf826 65952012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
6596
6597 * international/mule-cmds.el (mule-menu-keymap)
6598 (set-language-environment, set-locale-environment): Doc tweaks.
6599
9b0e3eba
AA
66002012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
6601
6602 * cus-face.el (custom-face-attributes): Add wave-style underline
6603 attribute.
6604 * faces.el (set-face-attribute): Update docstring to describe
6605 wave-style underline attribute.
6606
771e3eae
CY
66072012-06-16 Chong Yidong <cyd@gnu.org>
6608
6609 * term/xterm.el (terminal-init-xterm): Discard input before
6610 querying background mode (Bug#10959).
6611
7ae2ea10
SM
66122012-06-16 Stefan Merten <smerten@oekonux.de>
6613
6614 * textmodes/rst.el: Added and corrected some comments.
6615 (rst-re-alist-def): Improve symbol syntax.
6616 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
6617 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
6618 (rst-official-version, rst-official-cvs-rev): Update version
6619 information.
7ae2ea10 6620
b6974efa
JB
66212012-06-15 Juanma Barranquero <lekktu@gmail.com>
6622
6623 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
6624 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
6625
8826d473
GM
66262012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
6627
6628 * progmodes/python.el: New python.el merge.
6629 (python-guess-indent): Obsolete var.
6630 (python-indent-guess-indent-offset): New defcustom.
6631 (python-indent): Obsolete var.
6632 (python-indent-offset): New defcustom.
6633 (python-python-command, python-jython-command): Delete var.
6634 (python-shell-interpreter): New defcustom.
6635 (python-pdbtrack-do-tracking-p): Delete var.
6636 (python-pdbtrack-activate): New defcustom.
6637 (python-use-skeletons): Obsolete var.
6638 (python-skeleton-autoinsert): New defcustom.
6639 (inferior-python-filter-regexp, python-continuation-offset)
6640 (python-honour-comment-indentation, python-indent-string-contents)
6641 (python-jython-packages, python-mode-hook)
6642 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
6643 (python-shell-prompt-alist)
6644 (python-source-modes): Delete defcustoms.
6645 (python-check-buffer-name, python-eldoc-setup-code)
6646 (python-eldoc-string-code, python-ffap-setup-code)
6647 (python-ffap-string-code, python-fill-comment-function)
6648 (python-fill-decorator-function, python-fill-paren-function)
6649 (python-fill-string-function, python-imenu-include-defun-type)
6650 (python-imenu-make-tree, python-imenu-subtree-root-label)
6651 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
6652 (python-shell-compilation-regexp-alist)
6653 (python-shell-completion-module-string-code)
6654 (python-shell-completion-pdb-string-code)
6655 (python-shell-completion-setup-code)
6656 (python-shell-completion-string-code)
6657 (python-shell-enable-font-lock, python-shell-exec-path)
6658 (python-shell-extra-pythonpaths)
6659 (python-shell-internal-buffer-name, python-shell-interpreter-args)
6660 (python-shell-process-environment)
6661 (python-shell-prompt-block-regexp)
6662 (python-shell-prompt-output-regexp)
6663 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
6664 (python-shell-send-setup-max-wait, python-shell-setup-codes)
6665 (python-shell-virtualenv-path): New defcustoms.
6666 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
6667 (inferior-python-mode-syntax-table, python--prompt-regexp)
6668 (python-buffer, python-command python-python-command)
6669 (python-default-template, python-imports, python-indent-index)
6670 (python-indent-list, python-indent-list-length)
6671 (python-mode-running, python-pdbtrack-is-tracking-p)
6672 (python-preoutput-continuation, python-preoutput-leftover)
6673 (python-preoutput-result, python-preoutput-skip-next-prompt)
6674 (python-prev-dir/file, python-recursing)
6675 (python-saved-check-command, python-version-checked)
6676 (python-which-func-length-limit)
6677 (view-return-to-alist): Delete vars.
6678 (python-check-custom-command, python-dotty-syntax-table)
6679 (python-imenu-index-alist, python-indent-current-level)
6680 (python-indent-dedenters, python-indent-levels)
6681 (python-nav-beginning-of-defun-regexp)
6682 (python-nav-list-defun-positions-cache)
6683 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
6684 (python-shell-internal-buffer)
6685 (python-skeleton-available): New vars.
6686 (def-python-skeleton): Delete macro.
6687 (python-skeleton-define): New macro.
6688 (python-define-auxiliary-skeleton, python-rx): New macros.
6689 (python-insert-class): Delete command.
6690 (python-skeleton-class): New command.
6691 (python-insert-def): Delete command.
6692 (python-skeleton-def): New command.
6693 (python-insert-for): Delete command.
6694 (python-skeleton-for): New command.
6695 (python-insert-if): Delete command.
6696 (python-skeleton-if): New command.
6697 (python-insert-try/except, python-insert-try/finally): Delete commands.
6698 (python-skeleton-try): New command.
6699 (python-insert-while): Delete command.
6700 (python-skeleton-while): New command.
6701 (python-backspace): Delete command.
6702 (python-indent-dedent-line-backspace): New command.
6703 (python-electric-colon): Delete command.
6704 (python-indent-electric-colon): New command.
6705 (python-guess-indent): Delete command.
6706 (python-indent-guess-indent-offset): New command.
6707 (python-shift-left): Delete command.
6708 (python-indent-shift-left): New command.
6709 (python-shift-right): Delete command.
6710 (python-indent-shift-right): New command.
6711 (python-find-function): Delete command.
6712 (python-nav-jump-to-defun): New command.
6713 (python-next-statement): Delete command.
6714 (python-nav-forward-sentence): New command.
6715 (python-previous-statement): Delete command.
6716 (python-nav-backward-sentence): New command.
6717 (python-fill-paragraph): Delete command.
6718 (python-fill-paragraph-function): New command.
6719 (python-send-buffer): Delete command.
6720 (python-shell-send-buffer): New command.
6721 (python-send-defun): Delete command.
6722 (python-shell-send-defun): New command.
6723 (python-send-region, python-send-region-and-go): Delete commands.
6724 (python-shell-send-region)
6725 (python-shell-switch-to-shell): New commands.
6726 (python-send-string): Delete command.
6727 (python-shell-send-string): New command.
6728 (python-switch-to-python): Delete command.
6729 (python-shell-switch-to-shell): New command.
6730 (python-describe-symbol): Delete command.
6731 (python-eldoc-at-point): New command.
6732 (python--set-prompt-regexp, python-args-to-list)
6733 (python-after-info-look, python-check-version)
6734 (python-check-comint-prompt, python-find-imports)
6735 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
6736 (python-unload-function, python-expand-template)
6737 (python-maybe-jython, python-preoutput-filter)
6738 (python-pdbtrack-get-source-buffer)
6739 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
6740 (python-pdbtrack-toggle-stack-tracking)
6741 (python-pdbtrack-track-stack-file, python-initial-text)
6742 (python-first-word, python-comment-line-p, python-send-command)
6743 (python-setup-brm, python-sentinel, python-set-proc)
6744 (python-skip-out, python-input-filter, python-outdent-p)
6745 (python-outline-level, python-backslash-continuation-line-p)
6746 (python-end-of-block, python-end-of-statement, python-mark-block)
6747 (python-beginning-of-block, python-beginning-of-statement)
6748 (python-blank-line-p, python-beginning-of-string)
6749 (python-open-block-statement-p): Delete functions.
6750 (python-indent-line, python-indent-line-1): Delete functions.
6751 (python-indent-line): New function.
6752 (python-indentation-levels): Delete function.
6753 (python-indent-calculate-levels): New function.
6754 (python-proc): Delete function.
6755 (python-shell-get-process): New function.
6756 (python-send-receive): Delete function.
6757 (python-shell-send-string-no-output): New function.
6758 (python-module-path): Delete function.
6759 (python-ffap-module-path): New function.
6760 (python-completion-at-point)
6761 (python-symbol-completions): Delete functions.
6762 (python-completion-complete-at-point): New function.
6763 (python-load-file): Delete function.
6764 (python-shell-send-file): New function.
6765 (python-calculate-indentation): Delete function.
6766 (python-indent-calculate-indentation): New function.
6767 (python-skip-comments/blanks): Delete function.
6768 (python-util-forward-comment): New function.
6769 (python-continuation-line-p): Delete function.
6770 (python-info-continuation-line-p): New function.
6771 (python-which-func, python-current-defun): Delete function.
6772 (python-info-current-defun): New function.
6773 (python-beginning-of-defun): Delete function.
6774 (python-nav-beginning-of-defun): New function.
6775 (python-close-block-statement-p)
6776 (python-block-end-p): Delete function.
6777 (python-info-closing-block): New function.
6778 (python-comint-output-filter-function)
6779 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
6780 (python-fill-comment, python-fill-decorator, python-fill-paren)
6781 (python-fill-string, python-imenu-make-element-tree)
6782 (python-imenu-make-tree, python-imenu-tree-assoc)
6783 (python-indent-context, python-indent-dedent-line)
6784 (python-indent-line-function)
6785 (python-indent-post-self-insert-function)
6786 (python-indent-toggle-levels)
6787 (python-info-assignment-continuation-line-p)
6788 (python-info-beginning-of-backlash)
6789 (python-info-block-continuation-line-p)
6790 (python-info-closing-block-message)
6791 (python-info-line-ends-backslash-p)
6792 (python-info-looking-at-beginning-of-defun)
6793 (python-info-ppss-context, python-info-ppss-context-type)
6794 (python-nav-list-defun-positions, python-nav-read-defun)
6795 (python-nav-sentence-end, python-nav-sentence-start)
6796 (python-pdbtrack-comint-output-filter-function)
6797 (python-pdbtrack-set-tracked-buffer)
6798 (python-shell-calculate-exec-path)
6799 (python-shell-calculate-process-environment)
6800 (python-shell-completion--do-completion-at-point)
6801 (python-shell-completion--get-completions)
6802 (python-shell-completion-complete-at-point)
6803 (python-shell-completion-complete-or-indent)
6804 (python-shell-get-or-create-process)
6805 (python-shell-get-process-name)
6806 (python-shell-internal-get-or-create-process)
6807 (python-shell-internal-get-process-name)
6808 (python-shell-internal-send-string, python-shell-make-comint)
6809 (python-shell-parse-command, python-shell-send-setup-code)
6810 (python-skeleton-add-menu-items)
6811 (python-util-clone-local-variables, python-util-position)
6812 (run-python-internal, python-indentation-levels)
6813 (python-nav-beginning-of-defun)
6814 (python-completion-complete-at-point): New functions.
6815 (run-python): Change arguments. New API requirements.
6816
4302f5ba
SM
68172012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
6818
f38ea36d
SM
6819 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
6820 (bug#11649).
6821
6822 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
6823 (macroexp--expand-all): Use it.
6824
4302f5ba
SM
6825 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
6826 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
6827 Use `cl-function' instead.
6828
33377562
JB
68292012-06-14 Juanma Barranquero <lekktu@gmail.com>
6830
6831 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
6832 Suggested by Stefan Monnier while discussing bug#11657.
6833
54c5ba1a
SS
68342012-06-14 Sam Steingold <sds@gnu.org>
6835
6836 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
6837
f9f1b1fe
AS
68382012-06-14 Andreas Schwab <schwab@linux-m68k.org>
6839
6840 * play/doctor.el (doctor-doc): Remove parameter and use
6841 doctor-sent instead of sent.
6842 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
6843
a81068ba
SM
68442012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6845
5a315f9c
SM
6846 * files.el: Require cl-lib.
6847 (file-name-non-special): Replace case -> cl-case.
6848
6849 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
6850
a81068ba
SM
6851 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
6852 mapping from #' to function*.
6853
8cca9703
CY
68542012-06-13 Chong Yidong <cyd@gnu.org>
6855
6856 * mouse.el (mouse-drag-track): Do not set the mark if the user
6857 releases the mouse without selecting anything (Bug#11588).
6858
a12ac9d7
SM
68592012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6860
ccf1dc18
SM
6861 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
6862 as well (bug#11646).
6863
ef62b23d
SM
6864 * loadup.el: Count byte-code functions as well.
6865
c4c8444a
SM
6866 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
6867 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
6868
a12ac9d7
SM
6869 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
6870 (bug#11649). Add cl-defun and cl-defmacro.
6871
87e6e64f
DA
68722012-06-13 Drew Adams <drew.adams@oracle.com>
6873
6874 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
6875 Fix last change.
6876
682cefaf
MA
68772012-06-13 Michael Albinus <michael.albinus@gmx.de>
6878
6879 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
6880 Otherwise, it blocks in batch mode.
6881
773e1f08
JB
68822012-06-13 Juanma Barranquero <lekktu@gmail.com>
6883
6884 * help-mode.el (bookmark-make-record-default): Declare.
6885
60057926
CY
68862012-06-13 Chong Yidong <cyd@gnu.org>
6887
6888 * emacs-lisp/package.el (list-packages): Compute a list of
6889 packages that are newly-available since the last list-packages
6890 invocation.
6891 (package-menu--new-package-list): New var.
6892 (package-menu--generate, package-menu--print-info)
6893 (package-menu--status-predicate, package-menu-mark-install):
6894 Handle new status label "new".
6895
ad4d226c
SM
68962012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6897
6898 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
6899 conversion to backquotes.
6900
f1a4e679
CY
69012012-06-12 Chong Yidong <cyd@gnu.org>
6902
6903 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
6904 Rename from gud-inhibit-global-bindings.
6905
6906 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
6907
6908 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
6909 hook from nxml-glyph-set-hook.
6910
6911 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
6912 declaration.
6913
6914 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
6915
6916 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
6917 Convert to defcustom.
6918
0c9e42b5
DA
69192012-06-12 Drew Adams <drew.adams@oracle.com>
6920
6921 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
6922 New functions.
6923 (help-mode): Use them.
6924
09e06855
GM
69252012-06-11 Glenn Morris <rgm@gnu.org>
6926
6927 * progmodes/fortran.el (fortran-font-lock-keywords-3):
6928 Use preprocessor face for directives.
6929 (fortran-directive-re): Doc fix.
6930
71adb94b
SM
69312012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6932
2eb87922
SM
6933 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
6934 conversion to backquotes (bug#11652).
6935
71adb94b
SM
6936 Fix compiler-expansion of CL's cXXr functions (bug#11673).
6937 * emacs-lisp/cl-lib.el (cl--defalias): New function.
6938 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
6939 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
6940 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
6941 (cl-ninth, cl-tenth): Mark them as inlinable.
6942 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
6943 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
6944 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
6945 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
6946 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
6947 (cl-list*, cl-adjoin): Don't put an autoload manually.
6948 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
6949 (cl--compiler-macro-list*): Add autoload cookie.
6950 (cl--compiler-macro-cXXr): New function.
2eb87922 6951
71adb94b
SM
6952 * help-fns.el (help-fns--compiler-macro): New function extracted from
6953 describe-function-1; follow aliases and use `compiler-macro' property.
6954 (describe-function-1): Use it.
6955
a6674402
CY
69562012-06-11 Chong Yidong <cyd@gnu.org>
6957
6958 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
6959 is uninstalled, if imagemagick is installed.
6960
bb3faf5b
SM
69612012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6962
6963 * emacs-lisp/cl-lib.el: Use lexical-binding.
6964 (cl-map-extents, cl-maclisp-member): Remove.
6965 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
6966 (cl--set-substring, cl--block-wrapper, cl--block-throw)
6967 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
6968 * emacs-lisp/cl-extra.el: Use lexical-binding.
6969 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
6970 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
6971 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
6972 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
6973 * emacs-lisp/cl-seq.el: Use lexical-binding.
6974 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
6975 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
6976 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
6977 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
6978 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
6979 CL's internals.
6980
2fe4b125
MA
69812012-06-11 Michael Albinus <michael.albinus@gmx.de>
6982
6983 Sync with Tramp 2.2.6-pre.
6984
6985 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
6986 `print-length' and `print-level' to nil, in order to avoid
6987 truncation. Reported by Christopher Schmidt
6988 <christopher@ristopher.com>.
6989
6990 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
6991
6992 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
6993 New defmacro.
6994 (tramp-compat-copy-directory): Add optional argument
6995 COPY-CONTENTS. It is not handled yet.
6996
6997 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
6998 (tramp-ftp-file-name-p): Simplify.
6999
7000 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
7001 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
7002 connection vector.
7003
7004 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
7005 (tramp-methods): Do not use `tramp-password-end-of-line'.
7006 (tramp-completion-function-alist-putty): Handle UNIX case.
7007 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
7008 (tramp-do-file-attributes-with-stat)
7009 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
7010 gid as real numbers. They could run out of integer range on cygwin.
7011 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
7012 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
7013 (tramp-open-connection-setup-interactive-shell):
7014 Use `tramp-cleanup'. Move check for busyboxes ...
7015 (tramp-find-shell): ... here. Simplify implementation.
7016 Set "remote-shell" property also for alternative shells.
7017 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
7018 If failing, a regular file would be written otherwise.
7019 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
7020 (tramp-find-inline-encoding): Cache the coding commands in the
7021 process cache. Apply test command on the remote side, if defined.
7022 (tramp-find-inline-compress): Cache the compress commands in the
7023 process cache.
7024 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
7025 when requested. Handle hops.
7026 (tramp-current-connection): New defvar.
87e6e64f
DA
7027 (tramp-maybe-open-connection): Use `tramp-cleanup'.
7028 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 7029 Handle user interrupt. (Bug#10187)
87e6e64f
DA
7030 (tramp-get-inline-compress, tramp-get-inline-coding):
7031 Read connection properties from the process cache.
2fe4b125
MA
7032
7033 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
7034 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
7035 New defconsts.
2fe4b125
MA
7036 (tramp-smb-prompt): Extend for powershell prompt.
7037 (tramp-smb-file-name-handler-alist): Add handlers for
7038 `process-file', `shell-command' and `start-file-process'.
7039 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
7040 (tramp-smb-winexe-shell-command-switch): New defcustoms.
7041 (tramp-smb-file-name-p): Simplify.
7042 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
7043 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
7044 (tramp-smb-shell-quote-argument): New defuns.
7045 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
7046 Implement using "tar". By this, time-stamps are preserved.
7047 (tramp-smb-handle-copy-file): Handle also the case of directories.
7048 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
7049 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
7050 Use `tramp-get-connection-buffer').
2fe4b125
MA
7051 (tramp-smb-handle-rename-file): Use "rename", when source and
7052 target are on the same share.
87e6e64f
DA
7053 (tramp-smb-maybe-open-connection): Handle wrong passwords.
7054 Use `tramp-smb-server-version'.
2fe4b125
MA
7055 (tramp-smb-wait-for-output): Remove prompt.
7056
7057 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
7058 (tramp-methods, tramp-rsh-end-of-line):
7059 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
7060 (tramp-save-ad-hoc-proxies): New defcustom.
7061 (tramp-completion-function-alist): Adapt docstring.
7062 (tramp-default-password-end-of-line): Remove defcustom.
7063 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
7064 (tramp-user-regexp, tramp-file-name-regexp-unified)
7065 (tramp-file-name-regexp-url): Extend regexp by hop separator.
7066 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
7067 (tramp-remote-file-name-spec-regexp): New defconst.
7068 (tramp-file-name-structure): Extend structure for hops.
7069 (tramp-get-method-parameter): Move up.
7070 (tramp-file-name-p, tramp-dissect-file-name)
7071 (with-parsed-tramp-file-name): Handle hops.
7072 (tramp-file-name-hop): New defun.
7073 (tramp-make-tramp-file-name): New optional arg HOP.
7074 (tramp-message-show-progress-reporter-message): New defvar.
7075 (tramp-with-progress-reporter): Use it. We cannot use
7076 `tramp-message-show-message' here, because this suppresses also
7077 error buffers.
7078 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
7079 `tramp-message-show-message' is nil.
7080 Use `tramp-get-connection-buffer'.
2fe4b125
MA
7081 (tramp-cleanup): New defun.
7082 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
7083 (tramp-file-name-handler): If `debug-on-error' is set, propagate
7084 an error unchanged.
7085 (tramp-completion-handle-file-name-all-completions): Handle hops.
7086 Fix an error when called from ido.
7087 (tramp-completion-dissect-file-name): Use better local variable
7088 name. Add hop to the vector.
7089 (tramp-handle-insert-file-contents): Use progress-reporter for the
7090 whole scenario.
7091 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
7092 to `t'.
7093 (tramp-check-for-regexp): Simplify search.
7094 (tramp-enter-password): Remove it. Move implementation ...
7095 (tramp-action-password): ... here.
7096 (tramp-mode-string-to-int, tramp-local-host-p)
7097 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
7098 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
7099 Set tramp-autoload cookie.
2fe4b125
MA
7100
7101 * net/trampver.el: Update release number.
7102
71032012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7104 Michael Albinus <michael.albinus@gmx.de>
7105
7106 * net/tramp.el (tramp-set-completion-function): Fix docstring.
7107 (tramp-parse-group, tramp-parse-file)
7108 (tramp-parse-shostkeys-sknownhosts): New defuns.
7109 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
7110 (tramp-parse-shosts-group, tramp-parse-sconfig)
7111 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
7112 (tramp-parse-sknownhosts, tramp-parse-hosts)
7113 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
7114 Use them.
7115 (tramp-parse-passwd-group, tramp-parse-netrc-group)
7116 (tramp-parse-putty-group): Don't narrow.
7117 (tramp-parse-putty): Make a loop.
7118 (tramp-file-name-handler): Catch the `suppress' signal.
7119
72834e10
CY
71202012-06-11 Chong Yidong <cyd@gnu.org>
7121
7122 * image.el (imagemagick-register-types): Put the ImageMagick entry
7123 at the end of image-type-file-name-regexps.
7124
a4712e11
JB
71252012-06-11 Johan Bockgård <bojohan@gnu.org>
7126
7127 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
7128 (pcase, pcase-let*, pcase-dolist): Use them.
7129
82ad98e3
SM
71302012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7131
7132 * emacs-lisp/pcase.el (pcase--let*): New function.
7133 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
7134 (pcase--expand): Use macroexp-let².
7135
f80efb86
SM
71362012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
7137
7138 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
7139 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
7140 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
7141 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
7142 * emacs-lisp/derived.el: Use pcase instead of `cl'.
7143 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
7144
31ca4639 71452012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 7146
31ca4639
CY
7147 * mail/rmail.el (rmail-yank-current-message): Leave point at
7148 correct position. (Bug#11660)
94f0aa34 7149
31ca4639 71502012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 7151
31ca4639 7152 * allout-widgets.el: Fix code header.
9e1b8ec4 7153
31ca4639 71542012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 7155
f80efb86
SM
7156 * cus-edit.el (customize-changed-options-previous-release):
7157 Bump to 24.1.
31ca4639 7158
642b6d30
AS
71592012-06-09 Andreas Schwab <schwab@linux-m68k.org>
7160
7161 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
7162
4f5d2ba1
CY
71632012-06-09 Chong Yidong <cyd@gnu.org>
7164
7165 * ebuff-menu.el (electric-buffer-list): Preserve header line.
7166
e75852fd
MR
71672012-06-09 Martin Rudalics <rudalics@gmx.at>
7168
7169 * window.el (special-display-popup-frame): Don't use
7170 window--display-buffer (Bug#11651).
7171
1e48e282
EZ
71722012-06-09 Eli Zaretskii <eliz@gnu.org>
7173
8a26b487
EZ
7174 Fix parallel builds: make sure loaddefs.el is not being written
7175 while Lisp files are compiled.
7176 (compile): Don't depend on 'mh-autoloads'.
7177 (compile-CMD, compile-SH): Depend on 'autoloads'.
7178 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
7179
1e48e282
EZ
7180 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
7181
6175e34b
CY
71822012-06-09 Chong Yidong <cyd@gnu.org>
7183
7184 * face-remap.el (face-remap-add-relative, face-remap-set-base)
7185 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
7186 Doc fixes (Bug#11225).
7187
d9857e53
SM
71882012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
7189
7190 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
7191 a function if there's a clear indication that it has a compiler-macro.
7192 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
7193 (macro-declarations-alist): Add arglist to declaration functions.
7194 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
7195 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
7196 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
7197 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
7198 Also add autoload to find the compiler macro.
7199 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
7200 (cl--compiler-macro-member, cl--compiler-macro-assoc)
7201 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
7202 (cl--compiler-macro-get): New functions, replacing calls to
7203 cl-define-compiler-macro.
7204 (cl-typep) [compiler-macro]: Use macroexp-let².
7205
f81298f8 72062012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
7207
7208 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
7209 string properly, fixes Bug#11473.
7210
4b56d0fe
CY
72112012-06-08 Chong Yidong <cyd@gnu.org>
7212
7213 * faces.el (set-face-attribute): Doc fix.
7214 (modify-face): Don't use :bold and :italic.
7215 (error, warning, success): Tweak definitions.
7216
7217 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
7218 (custom-modified, custom-set, custom-changed, custom-themed)
7219 (custom-saved, custom-button, custom-button-mouse)
7220 (custom-button-pressed, custom-state, custom-comment-tag)
7221 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
7222 (custom-group-subtitle): Use new-style face specs.
7223 (custom-invalid-face, custom-rogue-face, custom-modified-face)
7224 (custom-set-face, custom-changed-face, custom-saved-face)
7225 (custom-button-face, custom-button-pressed-face)
7226 (custom-documentation-face, custom-state-face)
7227 (custom-comment-face, custom-comment-tag-face)
7228 (custom-variable-tag-face, custom-variable-button-face)
7229 (custom-face-tag-face, custom-group-tag-face-1)
7230 (custom-group-tag-face): Remove obsolete face alias.
7231
7232 * epa.el (epa-validity-high, epa-validity-medium)
7233 (epa-validity-low, epa-mark, epa-field-name, epa-string)
7234 (epa-field-name, epa-field-body):
7235 * font-lock.el (font-lock-comment-face, font-lock-string-face)
7236 (font-lock-keyword-face, font-lock-builtin-face)
7237 (font-lock-function-name-face, font-lock-variable-name-face)
7238 (font-lock-type-face, font-lock-constant-face):
7239 * ido.el (ido-first-match, ido-only-match, ido-subdir)
7240 (ido-virtual, ido-indicator, ido-incomplete-regexp):
7241 * speedbar.el (speedbar-button-face, speedbar-file-face)
7242 (speedbar-directory-face, speedbar-tag-face)
7243 (speedbar-selected-face, speedbar-highlight-face)
7244 (speedbar-separator-face):
7245 * whitespace.el (whitespace-newline, whitespace-space)
7246 (whitespace-hspace, whitespace-tab, whitespace-trailing)
7247 (whitespace-line, whitespace-space-before-tab)
7248 (whitespace-space-after-tab, whitespace-indentation)
7249 (whitespace-empty):
7250 * emulation/cua-base.el (cua-global-mark):
7251 * eshell/em-prompt.el (eshell-prompt):
7252 * net/newst-plainview.el (newsticker-new-item-face)
7253 (newsticker-old-item-face, newsticker-immortal-item-face)
7254 (newsticker-obsolete-item-face, newsticker-date-face)
7255 (newsticker-statistics-face, newsticker-default-face):
7256 * net/newst-reader.el (newsticker-feed-face)
7257 (newsticker-extra-face, newsticker-enclosure-face):
7258 * net/newst-treeview.el (newsticker-treeview-face)
7259 (newsticker-treeview-new-face, newsticker-treeview-old-face)
7260 (newsticker-treeview-immortal-face)
7261 (newsticker-treeview-obsolete-face)
7262 (newsticker-treeview-selection-face):
7263 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
7264 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
7265 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
7266 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
7267 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
7268 (nxml-outline-active-indicator, nxml-outline-ellipsis):
7269 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
7270 (mpuz-text):
7271 * progmodes/vera-mode.el (vera-font-lock-number)
7272 (vera-font-lock-function, vera-font-lock-interface):
7273 * textmodes/table.el (table-cell): Use new-style face specs, and
7274 don't use the old :bold and :italic attributes.
7275
7276 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
7277 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
7278 (ebrowse-member-class, ebrowse-progress): Likewise.
7279 (ebrowse-tree-mark-face, ebrowse-root-class-face)
7280 (ebrowse-file-name-face, ebrowse-default-face)
7281 (ebrowse-member-attribute-face, ebrowse-member-class-face)
7282 (ebrowse-progress-face): Remove obsolete faces.
7283
7284 * progmodes/flymake.el (flymake-errline, flymake-warnline):
7285 Inherit from error and warning faces respectively.
7286
7287 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
7288 Likewise.
f80efb86
SM
7289 (flyspell-incorrect-face, flyspell-duplicate-face):
7290 Remove obsolete aliases.
4b56d0fe 7291
03310646
MA
72922012-06-08 Michael Albinus <michael.albinus@gmx.de>
7293
7294 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
7295 Avoid infloop.
7296
513749ee
SM
72972012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
7298
7299 * startup.el (argv, argi): Make lexically scoped.
7300 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
7301 * emacs-lisp/cl-macs.el: Use lexical-binding.
7302 Rename cl-bind-* to cl--bind-*.
7303 * files.el: Don't require `cl' since it doesn't use it.
7304 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
7305
595ef4ad
JB
73062012-06-08 Juanma Barranquero <lekktu@gmail.com>
7307
7308 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
7309 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
7310 instead of calling external sort utility.
7311 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
7312
e9f66fcb
EZ
73132012-06-08 Eli Zaretskii <eliz@gnu.org>
7314
7315 * descr-text.el (describe-char): Mention how to insert the
7316 character, if the current input method doesn't support it.
7317 See the discussion in this thread for the details:
7318 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
7319
3d10db47
SS
73202012-06-08 Sam Steingold <sds@gnu.org>
7321
7322 * bindings.el (global-map): Bind XF86Forward to next-buffer and
7323 XF86Back to previous-buffer.
7324 (minibuffer-local-map): Bind them to next-history-element and
7325 previous-history-element respectively.
7326 * help-mode.el (help-mode-map): Bind them to help-go-forward and
7327 help-go-back respectively.
7328 * info.el (Info-mode-map): Bind them to Info-history-forward and
7329 Info-history-back respectively.
7330 These are the keys next to Up on the ThinkPad keyboard.
7331
de7e2b36
SM
73322012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
7333
7334 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
7335 * emacs-lisp/cl-macs.el: Provide itself.
7336 (cl--labels-convert-cache): New var.
7337 (cl--labels-convert): New function.
7338 (cl-flet, cl-labels): New implementation with new semantics, relying on
7339 lexical-binding.
7340 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
7341 (cl-closure-vars, cl--function-convert-cache)
7342 (cl--function-convert): Move from cl-macs.el.
7343 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
7344 rename by removing the "cl-" prefix.
7345 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
7346
6fa6c4ae
SM
73472012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7348
7349 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
7350 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
7351 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
7352 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
7353 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
7354 (cl-hash-table-count): Add old compatibility aliases.
7355
7356 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
7357 Use macroexpand-all-environment instead.
7358 (cl--old-macroexpand): New var.
7359 (cl--sm-macroexpand): New function.
7360 (cl-symbol-macrolet): Use it during macro expansion.
7361 (cl--function-convert-cache): New var.
7362 (cl--function-convert): New function, extracted from
7363 cl-macroexpand-all.
7364 (cl-lexical-let): Use it.
7365
7366 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
7367 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
7368 (cl-member): Remove old alias.
7369
7370 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
7371 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
7372 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
7373 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
7374 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
7375 (cl-macroexpand-cmacs): Remove var.
7376 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
7377 Use macroexpand-all instead.
7378
4dd1c416
SM
73792012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7380
7381 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
7382 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
7383 (macroexp-copyable-p): New functions and macros.
7384 * emacs-lisp/edebug.el (edebug-unwrap):
7385 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
7386 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
7387 (pcase--let*): Remove.
7388 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
7389 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
7390 macroexp-const-p instead.
7391 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
7392
7393 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
7394 instead of "cl-" for internal definitions. Use macroexp-const-p.
7395 (cl-old-bc-file-form): Remove var.
7396 (cl-const-exprs-p): Remove fun.
7397 (cl-labels, cl-macrolet): Use backquote.
7398 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
7399 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
7400 (cl-define-setf-expander): Rename from cl-define-setf-method.
7401 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
7402
7403 * international/mule-cmds.el: Don't require CL.
7404 (view-hello-file): Don't use `letf'.
7405
ed8bd4d7
SM
74062012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7407
7287f2f3
SM
7408 * tmm.el (tmm-prompt): Use string-prefix-p.
7409 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
7410 (tmm-add-prompt): Use minibuffer-completion-help.
7411 (tmm-delete-map): Remove.
7412
ed8bd4d7
SM
7413 * subr.el (kbd): Make it its own function.
7414
7b4cdbf4
SM
74152012-06-07 Stefan Merten <smerten@oekonux.de>
7416
7417 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
7418 Silence compiler warnings. Fix versions.
ed8bd4d7 7419 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 7420 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 7421 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
7422 (rst-package-emacs-version-alist): Correct Emacs version to
7423 represent major merge with upstream.
ed8bd4d7 7424 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 7425
2b48d721
GM
74262012-06-06 Glenn Morris <rgm@gnu.org>
7427
7428 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
7429 Only print environment variables if set.
7430
fa779ab0
SM
74312012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
7432
7433 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
7434 (macroexp--cons): Rename from maybe-cons.
7435 (macroexp--accumulate): Rename from macroexp-accumulate.
7436 (macroexp--all-forms): Rename from macroexpand-all-forms.
7437 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
7438 (macroexp--expand-all): Rename from macroexpand-all-1.
7439
628299e0
SS
74402012-06-06 Sam Steingold <sds@gnu.org>
7441
7442 * calendar/calendar.el (calendar-in-read-only-buffer):
7443 Call `special-mode' to enable the standard read-only keybindings.
7444
b7bb5838
SM
74452012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
7446
7447 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
7448 with "loading" messages (bug#11635).
7449
dfb308ba
MA
74502012-06-06 Michael Albinus <michael.albinus@gmx.de>
7451
7452 * files.el (enable-remote-dir-locals): New option.
7453 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
7454
0372ee92
MA
7455 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
7456 Ensure, that the temp directory is local.
7457
7458 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
7459 `temporary-file-directory'.
7460
eed0bb91
MA
7461 * progmodes/python.el (python-send-region): Ensure, that the
7462 temporary file is created also in the remote case.
7463
7a58f64d
GM
74642012-06-06 Glenn Morris <rgm@gnu.org>
7465
f7dd4e98
GM
7466 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
7467 (vc-rcs-update-changelog): Use it.
7468
090bd7cb 7469 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 7470
7a58f64d
GM
7471 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
7472 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
7473 (vc-sccs-diff): Replace use of the external vcdiff script.
7474
daed4003
GM
74752012-06-05 Glenn Morris <rgm@gnu.org>
7476
7477 * ledit.el: Move to obsolete/.
7478
48c455c7
SS
74792012-06-05 Sam Steingold <sds@gnu.org>
7480
ed9265fc 7481 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
7482 patch (Bug#11140).
7483
57a7d507
SM
74842012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7485
090bd7cb 7486 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 7487
53aacf21
SM
7488 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
7489 compiler-macro expansion.
7490
57a7d507
SM
7491 Add native compiler-macro support.
7492 * emacs-lisp/macroexp.el (macroexpand-all-1):
7493 Support compiler-macros directly. Properly follow aliases and apply
7494 the compiler macros more thoroughly.
7495 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
7496 macroexpand now properly follows aliases.
7497 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
7498 (cl-compiler-macroexpand): Use new prop.
7499 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
7500
7501 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
7502
51a5f9d8
MR
75032012-06-05 Martin Rudalics <rudalics@gmx.at>
7504
7505 * window.el (get-lru-window, get-mru-window, get-largest-window):
7506 New argument NOT-SELECTED to avoid picking the selected window.
7507 (window--display-buffer-1, window--display-buffer-2): Replace by
7508 new function window--display-buffer
7509 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
7510 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7511 Use window--display-buffer.
51a5f9d8
MR
7512 (display-buffer-use-some-window): Remove temporary dedication
7513 hack by calling get-lru-window and get-largest-window with
7514 NOT-SELECTED argument non-nil. Call window--display-buffer.
7515
08f9f738
GM
75162012-06-05 Glenn Morris <rgm@gnu.org>
7517
7518 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
7519 Replace external vcdiff script.
7520
e364a2b7
SM
75212012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
7522
7523 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
7524
041df390
CY
75252012-06-04 Chong Yidong <cyd@gnu.org>
7526
e364a2b7
SM
7527 * image.el (imagemagick-types-inhibit): Revert last change.
7528 Add INFO and M.
47b36b94 7529 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 7530
7c1898a7
SM
75312012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
7532
7533 * emacs-lisp/cl-lib.el: Rename from cl.el.
7534 * emacs-lisp/cl.el: New compatibility file.
7535 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
7536 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
7537 to obey the "cl-" prefix.
7538 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
7539
0c3461de
GM
75402012-06-03 Glenn Morris <rgm@gnu.org>
7541
1e266c88
GM
7542 * emacs-lisp/authors.el (authors-aliases): Addition.
7543
0c3461de
GM
7544 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
7545 Fix :version.
7546
d8a52e15
SM
75472012-06-03 Stefan Merten <smerten@oekonux.de>
7548
7549 * textmodes/rst.el: Add comments.
7550 (rst-transition, rst-adornment): New faces.
7551 (rst-adornment-faces-alist): Make default safe to reevaluate.
7552 Fixes
7553 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
7554 Improve customization tags.
7555 (rst-define-level-faces): Clarify meaning.
7556
5205d6f6
CY
75572012-06-03 Chong Yidong <cyd@gnu.org>
7558
7559 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
7560 (compilation-mode-line-run, compilation-mode-line-exit):
7561 New faces.
5205d6f6
CY
7562 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
7563
757ee657
JD
75642012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
7565
7c1898a7
SM
7566 * progmodes/which-func.el (which-func-update-ediff-windows):
7567 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 7568
5f2c76c6
CY
75692012-06-03 Chong Yidong <cyd@gnu.org>
7570
7571 * bindings.el: Remove explicit help text from format-mode-line.
7572 It is now supplied by mode-line-default-help-echo.
7573 (mode-line-front-space, mode-line-end-spaces)
7574 (mode-line-misc-info): New variables.
7575 (mode-line-modes, mode-line-position): Move the default value to
7576 the variable definition.
7577 (mode-line-default-help-echo): New defcustom.
383f7350
CY
7578 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
7579 (mode-line-modified-help-echo): New functions.
7580 (mode-line-mule-info, mode-line-modified): Use them.
7581 (mode-line-eol-desc, propertized-buffer-identification):
7582 Consistency fixes for help text.
cbe46e5f
CY
7583 (mode-line-coding-system-map): Allow using mouse-3 to invoke
7584 set-buffer-file-coding-system (Bug#289).
7585 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 7586
f2d6a3df
SM
75872012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
7588
7589 * simple.el (execute-extended-command): Set real-this-command
7590 (bug#11506).
7591
37269466
CY
75922012-06-02 Chong Yidong <cyd@gnu.org>
7593
7594 Remove incorrect uses of "modeline" in comments, docstrings, and
7595 function/variable names (Bug#10329).
7596
7597 * cus-edit.el (mode-line):
7598 * dframe.el (dframe-mouse-hscroll):
7599 * emacs-lisp/re-builder.el:
7600 * emacs-lisp/easy-mmode.el (define-minor-mode):
7601 * frame.el (set-frame-name):
7602 * help.el (lookup-minor-mode-from-indicator):
7603 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
7604 * progmodes/cc-cmds.el (c-toggle-auto-newline)
7605 (c-toggle-hungry-state):
7606 * progmodes/antlr-mode.el (antlr-language-alist):
7607 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
7608 * progmodes/vhdl-mode.el (vhdl-mode):
7609 * progmodes/which-func.el (which-func, which-func-cleanup-function):
7610 * term/ns-win.el (ns-face-at-pos):
7611 * term/sup-mouse.el (sup-mouse-report):
7612 * textmodes/flyspell.el (flyspell-mode-line-string):
7613 * textmodes/ispell.el (ispell-highlight-face):
7614 * textmodes/reftex-global.el:
7615 * vc/vc-arch.el (vc-arch-mode-line-string):
7616 * vc/vc-cvs.el (vc-cvs-mode-line-string):
7617 * vc/vc-git.el (vc-git-mode-line-string):
7618 * vc/vc-hooks.el (vc-display-status)
7619 (vc-default-mode-line-string):
7620 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
7621
7622 * ansi-color.el (ansi-color-faces-vector): Change default faces.
7623
7624 * dired.el (dired-sort-set-mode-line): Rename from
7625 dired-sort-set-modeline. All callers changed.
7626
7627 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
7628 eshell-status-in-modeline.
7629
7630 * foldout.el (foldout-mode-line-string): Rename from
7631 foldout-modeline-string. All callers changed.
7632 (foldout-update-mode-line): Rename from foldout-update-modeline.
7633
7634 * subr.el (redraw-modeline): Make into obsolete alias.
7635
7636 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
7637 timeclock-modeline-display. Make old name an alias.
7638 (timeclock-update-mode-line): Likewise. All callers changed.
7639 (timeclock-mode-line-display): No need to check before using
7640 add-hook.
7641 (timeclock-relative, timeclock-day-over-hook)
7642 (timeclock-use-elapsed, timeclock-mode-string)
7643 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
7644
7645 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
7646 crisp-mode-modeline-string.
7647
7648 * play/solitaire.el (solitaire-build-mode-line): Rename from
7649 solitaire-build-modeline. All callers changed.
7650
7651 * play/zone.el (zone-hiding-mode-line): Rename from
7652 zone-hiding-modeline. All callers changed.
7653 (zone): Remove unusued `modeline-hidden-level' property.
7654
7655 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
7656 xscheme-modeline-initialize. All callers changed.
7657
7658 * strokes.el (strokes-lighter): Rename from
7659 strokes-modeline-string.
7660
7661 * textmodes/sgml-mode.el (html-face-tag-alist)
7662 (html-tag-face-alist): Use mode-line face instead of obsolete
7663 alias modeline.
7664
42152ee4
SM
76652012-06-02 Stefan Merten <smerten@oekonux.de>
7666
7667 * textmodes/rst.el: Always require `cl'.
4cf9b38d 7668 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 7669
95f520b5
CY
76702012-06-02 Chong Yidong <cyd@gnu.org>
7671
7672 * image.el (imagemagick-enabled-types): Rename from
7673 imagemagick-types-enable. Add many more types.
7674 (imagemagick-types-inhibit): Change default to nil.
7675 (imagemagick-filter-types): Caller changed.
7676
4a5f187a
SM
76772012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
7678
03fef3e6
SM
7679 * emacs-lisp/cl-macs.el: Use backquotes.
7680 (cl-transform-function-property): Use eval-and-compile rather than
7681 abusing `require'.
7682 (defstruct): Use declare-function instead of with-no-warnings.
7683
4a5f187a
SM
7684 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
7685 (byte-compile-output-docform): Re-add the print-circle bindings.
7686 (byte-compile-fix-header): Use #$ just because it's shorter.
7687 (byte-compile-output-file-form): Remove defun/defmacro.
7688
bd56924f
MR
76892012-06-01 Martin Rudalics <rudalics@gmx.at>
7690
7691 * simple.el (choose-completion): Remove now obsolete binding for
7692 owindow.
7693
046e38ce
MA
76942012-06-01 Michael Albinus <michael.albinus@gmx.de>
7695
7696 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
7697 in order to avoid "Stack overflow in regexp matcher".
7698
32d72c2f
GM
76992012-05-31 Glenn Morris <rgm@gnu.org>
7700
7701 * image.el: For clarity, call imagemagick-register-types at
7702 top-level, rather than relying on a custom :initialize.
7703 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
7704 (imagemagick-filter-types): New function. (Bug#7406)
7705 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
7706 If disabling support, remove elements altogether rather
7707 than using an impossible regexp.
7708 (imagemagick-types-inhibit): Give it the default init function.
7709
dd41169b
SM
77102012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
7711
4a5f187a
SM
7712 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
7713 Handle arbitrary file name lengths (Bug#11585).
dd41169b 7714
efc00ab1 77152012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
7716
7717 * desktop.el (desktop-read): Clear previous and next buffers for
7718 all windows and bury *Messages* buffer (bug#11556).
7719
500fcedc
SM
77202012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
7721
7722 Add `declare' for `defun'. Align `defmacro's with it.
7723 * emacs-lisp/easy-mmode.el (define-minor-mode)
7724 (define-globalized-minor-mode): Don't autoload the var definitions.
7725 * emacs-lisp/byte-run.el: Use lexical-binding.
7726 (defun-declarations-alist, macro-declarations-alist): New vars.
7727 (defmacro, defun): Use them.
7728 (make-obsolete, define-obsolete-function-alias)
7729 (make-obsolete-variable, define-obsolete-variable-alias):
7730 Use `declare'.
7731 (macro-declaration-function): Mark obsolete.
7732 * emacs-lisp/autoload.el: Use lexical-binding.
7733 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
7734
6e8a1786
AM
77352012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7736
7737 * textmodes/ispell.el (ispell-with-no-warnings):
7738 Define as a macro.
500fcedc
SM
7739 (ispell-kill-ispell, ispell-change-dictionary):
7740 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
7741 `interactive-p'.
7742
61b108cc
SM
77432012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7744
7745 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
7746 (macro-declaration-function): Move var from C code.
7747 (macro-declaration-function): Define function with defalias.
7748 * emacs-lisp/macroexp.el (macroexpand-all-1):
7749 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
7750 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
7751 defun/defmacro any more.
7752 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
7753 Provide fallback for unknown arglist.
7754 (byte-compile-arglist-warn): Change calling convention.
7755 (byte-compile-output-file-form): Move print-vars binding.
7756 (byte-compile-output-docform): Simplify accordingly.
7757 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
7758 (byte-compile-defmacro-declaration): Remove.
7759 (byte-compile-file-form-defmumble): Generalize to defalias.
7760 (byte-compile-output-as-comment): Return byte-positions.
7761 Simplify callers accordingly.
7762 (byte-compile-lambda): Use `assert'.
7763 (byte-compile-defun, byte-compile-defmacro): Remove.
7764 (byte-compile-file-form-defalias):
7765 Use byte-compile-file-form-defmumble.
7766 (byte-compile-defalias-warn): Remove.
7767
6d3f7c2f
SM
77682012-05-29 Stefan Merten <smerten@oekonux.de>
7769
7770 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 7771 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
7772
7773 (rst-mode-abbrev-table): Merge definition.
7774 (rst-mode): Make sure `font-lock-defaults' is buffer local.
7775 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
7776
6dbaa1c7
UJ
77772012-05-29 Ulf Jasper <ulf.jasper@web.de>
7778
7779 * calendar/icalendar.el
7780 (icalendar-export-region): Export UID properly.
7781
d209e2fb 77822012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
7783 * calendar/icalendar.el (icalendar-import-format):
7784 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
7785 (icalendar-import-format-uid): New.
7786 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
7787 Export UID.
7788
6876a58d
SM
77892012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
7790
7791 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
7792 different alternative patterns.
7793 (pcase-codegen): Be more careful to preserve identity.
7794 (pcase--u1): Don't forget to mark vars as used.
7795
7796 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
7797 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
7798 (byte-compile-from-buffer): ...rather than here.
7799
7800 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
7801 functions from byte-compile-function-environment.
7802
46b7967e
TN
78032012-05-29 Troels Nielsen <bn.troels@gmail.com>
7804
7805 * window.el (window-deletable-p): Avoid deleting the root window
7806 of a frame with an active minibuffer.
7807
69d565e2
MR
78082012-05-29 Martin Rudalics <rudalics@gmx.at>
7809
7810 * simple.el (choose-completion): Use quit-window (Bug#11567).
7811
a149fa51
CY
78122012-05-29 Chong Yidong <cyd@gnu.org>
7813
7814 * whitespace.el (whitespace-cleanup): Fix usage of
7815 whitespace-empty-at-bob-regexp (Bug#11492).
7816
2b311310
AH
78172012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7818
7819 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
7820 revert (Bug#11488).
7821
b9cb2387
JL
78222012-05-29 Juri Linkov <juri@jurta.org>
7823
7824 * isearch.el (isearch-mode-map): Bind `M-s _' to
7825 `isearch-toggle-symbol'. Bind `M-s c' to
7826 `isearch-toggle-case-fold'.
7827 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
7828 (isearch-forward): Add `M-s _' to the docstring.
7829 (isearch-forward-symbol, isearch-toggle-case-fold)
7830 (isearch-symbol-regexp): New functions. (Bug#11381)
7831
d5e61c1c
JL
78322012-05-29 Juri Linkov <juri@jurta.org>
7833
7834 * isearch.el (isearch-word): Add docstring. (Bug#11381)
7835 (isearch-occur, isearch-search-and-update): If `isearch-word' is
7836 a function, call it to get the regexp.
7837 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
7838 property `isearch-message-prefix' instead of the string "word ".
7839 (isearch-search-fun-default): For the case of `isearch-word',
7840 return a lambda that calls re-search-forward/re-search-backward
7841 with a regexp returned by `word-search-regexp' or by the function
7842 in `isearch-word'.
7843
8cbd80f7
JL
78442012-05-29 Juri Linkov <juri@jurta.org>
7845
7846 * isearch.el (isearch-search-fun-default): New function.
7847 (isearch-search-fun): Move default part to the new function
7848 `isearch-search-fun-default'.
7849 (isearch-search-fun-function): Set the default value to
7850 `isearch-search-fun-default'. (Bug#11381)
7851
7852 * comint.el (comint-history-isearch-end):
7853 Use `isearch-search-fun-default'.
7854 (comint-history-isearch-search): Use `isearch-search-fun-default'
7855 and remove spacial case for `isearch-word'.
7856 (comint-history-isearch-wrap): Remove spacial case for
7857 `isearch-word'.
7858
7859 * hexl.el (hexl-isearch-search-function):
7860 Use `isearch-search-fun-default'.
7861
7862 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
7863 Use `word-search-regexp' for `isearch-word'.
7864
7865 * misearch.el (multi-isearch-search-fun):
7866 Use `isearch-search-fun-default'.
7867
7868 * simple.el (minibuffer-history-isearch-search):
7869 Use `isearch-search-fun-default' and remove spacial case for
7870 `isearch-word'.
7871 (minibuffer-history-isearch-wrap): Remove spacial case for
7872 `isearch-word'.
7873
7874 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
7875 Remove spacial case for `isearch-word'.
7876 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
7877
85c8c5b6
AM
78782012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7879
7880 Decrease XEmacs incompatibilities.
7881 * textmodes/flyspell.el (flyspell-check-pre-word-p):
7882 Use `string-match'.
7883 (flyspell-delete-region-overlays): Use alternative definition for
7884 XEmacs.
7885 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
7886 (flyspell-word): Use `process-kill-without-query' if XEmacs.
7887 (flyspell-mode-on): Use `interactive-p' if XEmacs.
7888 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
7889 `define-obsolete-face-alias' under XEmacs, but old method.
7890
7891 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
7892 `with-no-warnings' definition or Emacs alias.
7893 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
7894 (ispell-word): Do not use `region-p' if XEmacs.
7895
8cab9efc
AM
78962012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7897
7898 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
7899 Check for `ispell-dictionary-base-alist' instead of full
7900 `ispell-dictionary-alist'.
7901 (ispell-init-process): Show spellchecker when starting new Ispell
7902 process.
7903
fda91268
RZ
79042012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
7905
7906 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
7907 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
7908
694ea8e3
JB
79092012-05-27 Juanma Barranquero <lekktu@gmail.com>
7910
7911 * version.el (motif-version-string, gtk-version-string)
7912 (ns-version-string): Declare.
7913
e4d4f539
JL
79142012-05-27 Juri Linkov <juri@jurta.org>
7915
7916 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
7917 after the `eval-defun-1' specialcaseing
7918 like in `edebug-eval-defun' (bug#10181).
7919
7920 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
7921 like in `eval-defun-1'.
7922
33017faf 79232012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 7924
fda91268
RZ
7925 * mail/sendmail.el (mail-yank-region):
7926 Recognize rmail-yank-current-message in addition to insert-buffer.
7927 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
7928 a *mail* buffer created through rmail-start-mail with sendmail as
7929 mail-user-agent.
7930
33017faf
GM
79312012-05-27 Chong Yidong <cyd@gnu.org>
7932
7933 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
7934 Default to 256 (Bug#11267).
7935
7936 * help.el (describe-mode): Doc fix.
7937
04188bb9
GM
79382012-05-26 Glenn Morris <rgm@gnu.org>
7939
38264cc9
GM
7940 * w32-fns.el (w32-init-info): Remove.
7941 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
7942
eb7afdad
GM
7943 * info.el (info-initialize): For self-contained NS builds, put the
7944 included info/ directory at the front. (Bug#2791)
7945
04188bb9
GM
7946 * paths.el (Info-default-directory-list): Make it a defcustom,
7947 mainly so that we can use custom-initialize-delay.
7948
a179e3f7
SM
79492012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
7950
43416392
SM
7951 * subr.el (buffer-has-markers-at): Mark obsolete.
7952
a179e3f7 7953 * subr.el (lambda): Use declare.
43416392 7954
a179e3f7
SM
7955 * emacs-lisp/lisp-mode.el (lambda):
7956 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
7957
34a008d9
AH
79582012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7959
7960 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
7961
0a3b289f
GM
79622012-05-26 Glenn Morris <rgm@gnu.org>
7963
7964 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
7965
758c81e8
GM
79662012-05-25 Glenn Morris <rgm@gnu.org>
7967
f9f334f0
GM
7968 * paths.el: Remove no-byte-compile.
7969 * loadup.el: No need to load paths.el uncompiled.
7970
87eb79c2
GM
7971 * image.el (imagemagick-types-inhibit): Doc fix.
7972
758c81e8
GM
7973 * version.el: Remove no-byte-compile and associated formatting.
7974 * loadup.el: No need to load version.el uncompiled. AFAICS, this
7975 is ancient code from when there was an "inc-vers.el".
7976
e7e85dc0
SM
79772012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7978
7979 * progmodes/gdb-mi.el: Minor style changes.
7980 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
7981 Turn into minor modes.
7982 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
7983 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
7984 (gdb-shell): Remove unneeded let-binding.
7985 (gdb-get-many-fields): Eliminate O(n²) behavior.
7986
f31237a4
EZ
79872012-05-25 Eli Zaretskii <eliz@gnu.org>
7988
7989 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
7990 platforms that don't link in fontset.c.
7991
bc1b21bb
JL
79922012-05-25 Juri Linkov <juri@jurta.org>
7993
7994 Use the same diff color scheme as in modern VCSes (bug#10181).
7995
7996 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
7997 to avoid confusion with `diff-added' that now uses green colors.
7998 (diff-removed): Use shades of red.
7999 (diff-added): Use shades of green.
8000 (diff-changed): Leave just the yellow color.
8001 (diff-use-changed-face): New variable.
8002 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
8003 how to highlight context diff changes.
8004 (diff-refine-change): Use shades of yellow.
8005 (diff-refine-removed): New face that uses shades of red.
8006 (diff-refine-added): New face that uses shades of green.
8007 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
8008 `diff-refine-removed' in the call to `smerge-refine-subst'
8009 depending on the value of `diff-use-changed-face'.
8010
8011 * vc/smerge-mode.el (smerge-mine): Use shades of red.
8012 (smerge-other): Use shades of green.
8013 (smerge-base): Use shades of yellow.
8014 (smerge-refined-change): Empty face.
8015 (smerge-refined-removed): New face that uses shades of red.
8016 (smerge-refined-added): New face that uses shades of green.
8017 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
8018 args `props-r' and `props-a', and use them. Doc fix.
8019 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
8020 on its value use different faces `smerge-refined-change',
8021 `smerge-refined-removed', `smerge-refined-added' in the call to
8022 `smerge-refine-subst'.
8023
8024 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
8025 Add face condition `min-colors 88' with shades of red.
8026 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
8027 `min-colors 88' with shades of green.
8028 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
8029 `min-colors 88' with shades of yellow.
8030
6df9112c
GM
80312012-05-24 Glenn Morris <rgm@gnu.org>
8032
ead5edc0
GM
8033 * paths.el (prune-directory-list, remote-shell-program): Move to...
8034 * files.el (prune-directory-list, remote-shell-program): ...here.
8035 For the latter, delay initialization, prefer ssh, just search PATH.
8036
f18b81e6
GM
8037 * paths.el (term-file-prefix): Move to faces.el (the only user).
8038 * faces.el (term-file-prefix): Move here, make it a defcustom.
8039
ee2f89a6
GM
8040 * paths.el (news-directory, news-path, news-inews-program):
8041 Move to gnus/nnspool.el.
61a583ca 8042
f8815e4c
GM
8043 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
8044
c8f3b42c
GM
8045 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
8046 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
8047 Make the latter a defcustom, with a delayed initialization.
8048
6df9112c
GM
8049 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
8050 These were deleted from Gnus itself late 2010.
8051
5dadff36
JB
80522012-05-22 Juanma Barranquero <lekktu@gmail.com>
8053
9e1701c6
JB
8054 * progmodes/which-func.el (which-func-ff-hook):
8055 Check against user-error, not error.
8056
bd7239f5 8057 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
8058 cl-specs.el, which no longer exists.
8059
3290526d
GM
80602012-05-22 Glenn Morris <rgm@gnu.org>
8061
8062 * info.el (info-emacs-bug): New command.
8063 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
8064 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
8065
ff0c3cfb
GM
80662012-05-21 Glenn Morris <rgm@gnu.org>
8067
8068 * makefile.w32-in (update-subdirs-SH):
8069 * Makefile.in (update-subdirs): Update for moved update-subdirs.
8070
5814f126
SM
80712012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
8072
a52c0aa0
SM
8073 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
8074
5814f126
SM
8075 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8076 Simplify Maven regexp, and make sure the file can't start with a space
8077 (bug#11517).
8078
b847032c
GM
80792012-05-21 Glenn Morris <rgm@gnu.org>
8080
8081 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
8082 Scrap superfluous subshells.
8083
3858bfe7
SM
80842012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
8085
8086 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
8087 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
8088
d14b0029
JB
80892012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
8090
8091 * calc/calc.el (calc-ensure-consistent-units): New variable.
8092
a52c0aa0
SM
8093 * calc/calc-units.el (math-consistent-units-p)
8094 (math-check-unit-consistency): New functions.
8095 (calc-quick-units, calc-convert-units):
8096 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
8097 is non-nil.
d14b0029
JB
8098 (calc-extract-units): Fix typo.
8099
60c4db3a
SM
81002012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
8101
77f3b62e
SM
8102 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
8103
60c4db3a
SM
8104 * textmodes/flyspell.el: Commenting style, plus code simplifications.
8105 (flyspell-default-deplacement-commands): Don't spell check after
8106 repeated window/frame switches (e.g. triggered by mouse-movement).
8107 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
8108 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
8109 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
8110 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
8111 Remove unused vars.
8112 (flyspell-get-casechars, flyspell-get-not-casechars):
8113 Simplify; Don't bother removing a ] just to add it back.
8114 * textmodes/ispell.el (ispell-program-name): Use executable-find.
8115
d209e2fb 81162012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
8117
8118 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
8119 New functions.
bd7239f5 8120 (math-function-table): Add support for more C functions.
b1a10716 8121
3f1b25b5
AM
81222012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8123
090bd7cb
JB
8124 * textmodes/flyspell.el (flyspell-check-pre-word-p)
8125 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
8126 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 8127
b581bb5c
SM
81282012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
8129
8130 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
8131 their respective macro declarations.
8132 * skeleton.el (define-skeleton):
8133 * progmodes/compile.el (define-compilation-mode):
8134 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
8135 (define-ibuffer-filter):
8136 * emacs-lisp/generic.el (define-generic-mode):
8137 * emacs-lisp/easy-mmode.el (define-minor-mode)
8138 (define-globalized-minor-mode):
8139 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
8140 * emacs-lisp/byte-run.el (defsubst):
8141 * custom.el (deftheme): Add doc-string metadata.
8142
70b8ef8f
SM
81432012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8144
8145 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
8146
b1198e17
SM
81472012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8148
9abdc45d
SM
8149 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
8150
b1198e17
SM
8151 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
8152 * emacs-lisp/cl-macs.el: Idem.
8153 * emacs-lisp/cl-specs.el: Remove.
8154
4735906a
SM
81552012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8156
8157 Minor renaming of internal CL functions and variables.
8158 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
8159 (cl--position): Rename from cl-position.
8160 (cl--delete-duplicates): Rename from cl-delete-duplicates.
8161 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
8162 (cl--random-state): Rename from *random-state*.
8163
ac348012
SM
81642012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8165
8166 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
8167 parens around the arg list (bug#11499).
8168
a0a79cde
JL
81692012-05-17 Juri Linkov <juri@jurta.org>
8170
8171 * isearch.el (word-search-regexp, word-search-backward)
8172 (word-search-forward, word-search-backward-lax)
8173 (word-search-forward-lax): Move functions from search.c
8174 (bug#10145, bug#11381).
8175
65034a51
AM
81762012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8177
090bd7cb
JB
8178 * textmodes/flyspell.el (flyspell-check-pre-word-p)
8179 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
8180 Delay for otherchars as for normal word components.
65034a51 8181
1a72a195
SM
81822012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
8183
8184 * minibuffer.el (completion--sifn-requote): Fix last change.
8185 (minibuffer-local-must-match-filename-map):
8186 Move define-obsolete-variable-alias before its var.
8187
fdb058c2
SM
81882012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8189
c41045e6
SM
8190 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
8191
036dfb8b
SM
8192 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
8193 behavior.
8194 (completion--string-equal-p): New function.
8195 (completion--twq-all): Use it to get better assertion failure data.
8196
2473256d
SM
8197 Only handle ".." and '..' quoting in shell-mode (bug#11466).
8198 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
8199 (shell--requote-argument): New functions.
8200 (shell-completion-vars): Use them.
8201 (shell--parse-pcomplete-arguments): Rename from
8202 shell-parse-pcomplete-arguments.
8203 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
8204 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
8205 Obey comint-file-name-quote-list.
8206
fdb058c2
SM
8207 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
8208 (smie-indent-keyword): Use it.
8209
51fa99f1
SM
82102012-05-14 Stefan Merten <smerten@oekonux.de>
8211
8212 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
8213
e18afed7 82142012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
8215
8216 * net/rlogin.el (rlogin-mode-map): Fix last change.
8217
e18afed7 82182012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
8219
8220 * mail/smtpmail.el (smtpmail-send-command): Send the command and
8221 the following \r\n using a single `process-send-string', since the
8222 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 8223 with two `process-send-string's (Bug#11444).
8633b1f4 8224
e18afed7 82252012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 8226
fdb058c2
SM
8227 * shell.el (shell-parse-pcomplete-arguments):
8228 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 8229
2d21d7f6
WJ
82302012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
8231
e18afed7 8232 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
8233 (image-transform-scale, image-transform-right-angle-fudge): New vars.
8234 (image-transform-width, image-transform-fit-width): New functions.
8235 (image-transform-properties): Use them.
8236 (image-transform-check-size): New function.
8237 (image-toggle-display-image): Use it (for testing).
8238 (image-transform-set-rotation): Reduce angle mod 360.
8239 Delete obsolete comment.
8240
7102e6d0
WJ
82412012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
8242
8243 * image-mode.el: Fix scaling (bug#11399).
8244 (image-transform-resize): Doc fix.
8245 (image-transform-properties): Default scale is 1 and height should
8246 be an integer.
8247
06bc5e6e
SM
82482012-05-13 Johan Bockgård <bojohan@gnu.org>
8249
8250 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
8251 than hard-coding `car', to fix misbehavior when moving forward.
8252
0ae03b6a
CY
82532012-05-13 Chong Yidong <cyd@gnu.org>
8254
8255 * emacs-lisp/tabulated-list.el (tabulated-list-format)
8256 (tabulated-list-entries, tabulated-list-padding)
8257 (tabulated-list-sort-key): Make permanent-local.
8258
8259 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
8260 (electric-buffer-list): Put electric buffer menu
8261 command descriptions in this docstring, instead of the docstring
8262 of electric-buffer-menu-mode. Code cleanups.
8263 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
8264 Electric-buffer-menu-mode.
8265 (electric-buffer-update-highlight): Minor code cleanup.
8266
205a7391
MA
82672012-05-13 Michael Albinus <michael.albinus@gmx.de>
8268
8269 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
8270 (Bug#11447)
8271
e5bd0a28
SM
82722012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
8273
8274 Move define-obsolete-variable-alias before the var's definition.
8275 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
8276 * tooltip.el (tooltip-hook):
8277 * textmodes/reftex-toc.el (reftex-toc-map):
8278 * textmodes/reftex-sel.el (reftex-select-label-map)
8279 (reftex-select-bib-map):
8280 * textmodes/reftex-index.el (reftex-index-map)
8281 (reftex-index-phrases-map):
8282 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
8283 * progmodes/meta-mode.el (meta-mode-map):
8284 * novice.el (disabled-command-hook):
8285 * loadhist.el (unload-hook-features-list):
8286 * frame.el (blink-cursor):
8287 * files.el (find-file-not-found-hooks, write-file-hooks)
8288 (write-contents-hooks):
8289 * emulation/tpu-edt.el (GOLD-map):
8290 * emacs-lock.el (emacs-lock-from-exiting):
8291 * emacs-lisp/generic.el (generic-font-lock-defaults):
8292 * emacs-lisp/chart.el (chart-map):
8293 * dos-fns.el (register-name-alist):
8294 * dired-x.el (dired-omit-files-p):
8295 * desktop.el (desktop-enable):
8296 * cus-edit.el (custom-mode-hook):
8297 * buff-menu.el (buffer-menu-mode-hook):
8298 * bookmark.el (bookmark-read-annotation-text-func)
8299 (bookmark-exit-hooks):
8300 * allout.el (allout-mode-deactivate-hook)
8301 (allout-exposure-change-hook, allout-structure-added-hook)
8302 (allout-structure-deleted-hook, allout-structure-shifted-hook):
8303 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
8304 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
8305 comes before the corresponding variable's definition.
8306
ac59c2f6
CY
83072012-05-12 Chong Yidong <cyd@gnu.org>
8308
8309 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
8310 (Buffer-menu-mouse-select): Restore function (Bug#11459).
8311 (Buffer-menu-mode-map): Bind it.
8312 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 8313
dee6c9a3
SM
83142012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
8315
2171cea5
SM
8316 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
8317 (prolog-upper-case-string, prolog-lower-case-string)
8318 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
8319 (prolog-use-smie, prolog-smie-grammar): New vars.
8320 (prolog-smie-forward-token, prolog-smie-backward-token)
8321 (prolog-smie-rules): New funs.
8322 (prolog-comment-indent): Remove.
8323 (prolog-mode-variables): Use default comment indentation instead.
8324 Setup SMIE.
8325 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
8326 (prolog-mode): Don't call them any more.
8327 (prolog-electric-colon, prolog-electric-dash)
8328 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
8329
aa0382bd
SM
8330 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
8331
dbacb4bd
SM
8332 * minibuffer.el (completion--twq-all): Again, allow case differences.
8333
13bdd94c
SM
8334 * term.el: Move keymap initialization code to be more idiomatic.
8335 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
8336 (term-terminal-menu): Move initialization into declaration.
8337 (term-escape-char): Let the user set it in her .emacs.
8338
ff46c759
SM
8339 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
8340 Provide SMIE-based indentation (not enabled by default yet).
8341 (sh-mode-map): Don't bind electric keys.
8342 Use electric-pair-mode instead of skeleton-pair.
8343 (sh-assignment-regexp): Fit within 80 columns.
8344 (sh-indent-supported): Specify actual shell name instead of boolean.
8345 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
8346 (sh-maybe-here-document): Use it. Make obsolete.
8347 (sh-electric-here-document-mode) New minor mode.
8348 (sh-mode): Use it. Don't set sh-indent-supported-here here.
8349 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
8350 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
8351 (sh-smie-rc-grammar, sh-use-smie): New vars.
8352 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
8353 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
8354 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
8355 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
8356 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
8357 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
8358 (sh-set-shell): Use smie-setup if requested.
8359
dee6c9a3
SM
8360 * term.el (term-set-escape-char): Properly set term-escape-char.
8361 See http://stackoverflow.com/questions/10524656.
8362
9f9aa044
CY
83632012-05-10 Chong Yidong <cyd@gnu.org>
8364
8365 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
8366 Use url-generic-parse-url, and handle host names and Windows
8367 filenames properly.
8368 (ffap-url-unwrap-remote): Use url-generic-parse-url.
8369 (ffap-url-unwrap-remote): Accept list values, specifying a list of
8370 URL schemes to work on.
8371 (ffap--toggle-read-only): New function.
8372 (ffap-read-only, ffap-read-only-other-window)
8373 (ffap-read-only-other-frame): Use it.
8374 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
8375 necessary for ffap-url-unwrap-remote.
8376
836d29b3
DA
83772012-05-10 Dave Abrahams <dave@boostpro.com>
8378
8379 * cus-start.el (create-lockfiles): Add it.
8380
00fd78ed
CY
83812012-05-09 Chong Yidong <cyd@gnu.org>
8382
8383 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
8384 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
8385
666b903b 83862012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
8387
8388 * shell.el (shell-completion-vars): Fix last change (bug#11348).
8389
666b903b 83902012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
8391
8392 * ansi-color.el (ansi-color-process-output): Check for validity of
8393 comint-last-output-start before using it. This avoids a bad
8394 interaction with gdb-mi's input/output buffer.
8395
666b903b 83962012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
8397
8398 * files.el (dir-locals-read-from-file):
8399 Mention dir-locals in any error message.
8400
666b903b 84012012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
8402
8403 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
8404 package (Bug#11410).
8405
f677562b
CY
8406 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
8407 variables into description.
8408
666b903b 84092012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
8410
8411 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
8412 shell-delimiter-argument-list (bug#11348).
8413 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
8414
b499d8d0
JB
84152012-05-09 Juanma Barranquero <lekktu@gmail.com>
8416
8f6b6da8
JB
8417 * textmodes/rst.el: Silence byte-compiler warnings.
8418 (rst-re-alist, rst-reset-section-caches): Move around.
8419 (rst-re): Use `characterp', not `char-valid-p'.
8420 (font-lock-beg, font-lock-end): Declare.
8421
4824146a
JB
8422 * progmodes/idlw-shell.el (specs): Remove reference to deleted
8423 variable `idlwave-shell-activate-alt-keybindings' and simplify.
8424
b499d8d0
JB
8425 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
8426
ad89bb83
GM
84272012-05-08 Glenn Morris <rgm@gnu.org>
8428
8429 * files.el (auto-mode-alist): Treat ".make" like ".mk".
8430
8bba5a75
SM
84312012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8432
49ed9c8e
SM
8433 * vc/log-edit.el: Add GNU coding standards highlighting.
8434 (log-edit-font-lock-gnu-style)
8435 (log-edit-font-lock-gnu-keywords): New vars.
8436 (log-edit-font-lock-keywords): New fun.
8437 (log-edit-mode): Don't fold case in font-lock.
8438 (log-edit-font-lock-keywords): Do not assume case-folding.
8439
07d00b56
SM
8440 * imenu.el: Misc cleanup. Make docstrings out of comments.
8441 Use lexical-binding.
8442 (imenu--index-alist, imenu--last-menubar-index-alist)
8443 (imenu-menubar-modified-tick): Use defvar-local.
8444 (imenu--split-menu): Remove unused var.
8445 (imenu--cleanup-seen): Declare as global.
8446 (imenu--cleanup): Use dolist.
8447
8bba5a75
SM
8448 * subr.el (defvar-local): Add debug spec and doc-string position.
8449
5075bdb5
GM
84502012-05-08 Glenn Morris <rgm@gnu.org>
8451
090bd7cb 8452 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
8453 * language/english.el, language/georgian.el, language/greek.el:
8454 * language/japanese.el, language/khmer.el, language/korean.el:
8455 * language/lao.el, language/misc-lang.el, language/romanian.el:
8456 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
8457 * language/thai.el, language/utf-8-lang.el:
8458 Remove no-byte-compile setting.
8459
5075bdb5
GM
8460 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
8461
06f679a7
AH
84622012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
8463
8464 * progmodes/make-mode.el (makefile-browse):
8465 Remove unnecessary interactive. (Bug#11324)
8466
03794570
GM
84672012-05-07 Glenn Morris <rgm@gnu.org>
8468
af8630f4
GM
8469 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
8470
03794570
GM
8471 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
8472
f0809a9d
SM
84732012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
8474
28be5ce7
SM
8475 * loadup.el: Preload newcomment.el.
8476 * newcomment.el: Move autoload-only code to toplevel.
8477
f0809a9d
SM
8478 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
8479 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
8480 Handle new :right-align column property.
8481 (tabulated-list-print-col): Idem, plus use `display' text-property to
8482 try and preserve alignment for variable pitch fonts.
8483
1241b724
CY
84842012-05-07 Chong Yidong <cyd@gnu.org>
8485
8486 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
8487 (tabulated-list-use-header-line): New var.
8488 (tabulated-list-init-header): Use it.
8489 (tabulated-list-print-fake-header): New function.
8490 (tabulated-list-print): Use it.
8491 (tabulated-list-sort-button-map): Add non-header-line commands.
8492 (tabulated-list-init-header): Add column name property to basic
8493 labels as well.
8494 (tabulated-list-col-sort): Handle non-header-line button case.
8495 (tabulated-list--sort-by-column-name): Fix a corner case.
8496
f0809a9d
SM
8497 * buff-menu.el (list-buffers--refresh):
8498 Handle Buffer-menu-use-header-line.
1241b724 8499
e5f9458f
CY
85002012-05-06 Chong Yidong <cyd@gnu.org>
8501
8502 * buff-menu.el: Convert to Tabulated List mode.
8503 (Buffer-menu-buffer+size-width): Make obsolete.
8504 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
8505 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
8506 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
8507 documentation into docstring of buffer-menu.
8508 (Buffer-menu-toggle-files-only): Add an informative message.
8509 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
8510 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
8511 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
8512 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
8513 (Buffer-menu-execute, Buffer-menu-select)
8514 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
8515 (Buffer-menu-bury): Use Tabulated List machinery.
8516 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
8517 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 8518 Delete.
e5f9458f
CY
8519 (list-buffers--refresh): New function.
8520 (list-buffers-noselect): Use it.
8521 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
8522 (Buffer-menu--pretty-file-name): New helper functions.
8523
8524 * loadup.el: Preload tabulated-list.
8525
8526 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
8527 tabulated-list-sort-column.
8528 (tabulated-list-init-header): Add the initial aligning space even
8529 if tabulated-list-padding is zero.
8530
e129292c
CS
85312012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
8532
8533 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
8534 whose cdr is not a cons cell correctly (bug#11038).
8535
6632d361
CY
85362012-05-06 Chong Yidong <cyd@gnu.org>
8537
e129292c
CS
8538 * emacs-lisp/tabulated-list.el (tabulated-list-format):
8539 Accept additional plist in column descriptors.
6632d361
CY
8540 (tabulated-list-init-header): Obey it.
8541 (tabulated-list-get-entry): New function.
8542 (tabulated-list-put-tag): Use it. Use string-width instead of
8543 length.
8544 (tabulated-list--column-number): New function.
8545 (tabulated-list-print): Use it.
e129292c
CS
8546 (tabulated-list-print-col): New function.
8547 Set `tabulated-list-column-name' property on each column's text.
6632d361 8548 (tabulated-list-print-entry): Use it.
e129292c
CS
8549 (tabulated-list-delete-entry, tabulated-list-set-col):
8550 New functions.
6632d361
CY
8551 (tabulated-list-sort-column): New command (Bug#11337).
8552
3cc99f68
CY
8553 * buff-menu.el (list-buffers): Move C-x C-b binding from
8554 buff-menu.el to bindings.el.
8555
8556 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
8557 :advertised-binding feature.
8558
52b61776
TN
85592012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
8560
8561 * progmodes/compile.el (compilation-internal-error-properties):
8562 Calculate start position correctly when end-col is set but
8563 end-line is not (Bug#11382).
8564
ebfe2597
WJ
85652012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
8566
8567 * man.el (Man-unindent): Use text-property-default-nonsticky to
8568 prevent untabify from inheriting face properties (Bug#11408).
8569
6d3f7c2f
SM
85702012-05-05 Stefan Merten <smerten@oekonux.de>
8571
8572 * textmodes/rst.el: Major merge with upstream development up to
8573 Docutils SVN r7399 / rst.el V1.2.1.
8574
8575 Clarify maintainership and authors.
8576
8577 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
8578 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
8579 (rst-official-version, rst-official-cvs-rev, rst-version)
8580 (rst-package-emacs-version-alist): New functions and variables
8581 for version information.
8582
8583 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
8584 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
8585 (rst-mode-syntax-table, rst-mode): New and corrected functions
8586 and variables representing reStructuredText features.
8587
8588 (rst-re): New function for reStructuredText regexes. Use in
8589 many places.
8590
8591 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
8592 (rst-mode-map): Rebind keys.
8593
8594 (rst-mode-lazy, rst-font-lock-keywords)
8595 (rst-font-lock-extend-region)
8596 (rst-font-lock-extend-region-internal)
8597 (rst-font-lock-extend-region-extend)
8598 (rst-font-lock-find-unindented-line-limit)
8599 (rst-font-lock-find-unindented-line-match)
8600 (rst-adornment-level, rst-font-lock-adornment-level)
8601 (rst-font-lock-adornment-match)
8602 (rst-font-lock-handle-adornment-pre-match-form)
8603 (rst-font-lock-handle-adornment-matcher): Major revision of
8604 font-locking. Integrate with other code. Use `jit-lock-mode'.
8605
8606 (rst-preferred-adornments, rst-adjust-hook)
8607 (rst-new-adornment-down, rst-preferred-bullets)
8608 (rst-preferred-bullets, rst-indent, rst-indent-width)
8609 (rst-indent-field, rst-indent-literal-normal)
8610 (rst-indent-literal-minimized, rst-indent-comment): Change,
8611 extend and improve customization.
8612
8613 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
8614 (rst-normalize-cursor-position, rst-get-decoration)
8615 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
8616 (rst-rstrip, rst-toc-insert-find-delete-contents)
8617 (rst-shift-fill-region, rst-compute-bullet-tabs)
8618 (rst-debug-print-tabs, rst-debug-mark-found)
8619 (rst-shift-region-guts, rst-shift-region-right)
8620 (rst-shift-region-left, rst-use-char-classes)
8621 (rst-font-lock-keywords-function)
8622 (rst-font-lock-indentation-point)
8623 (rst-font-lock-find-unindented-line-begin)
8624 (rst-font-lock-find-unindented-line-end)
8625 (rst-font-lock-find-unindented-line)
8626 (rst-font-lock-adornment-point, rst-font-lock-level)
8627 (rst-adornment-level-alist): Remove functions and variables.
8628
8629 (rst-compare-adornments, rst-get-adornment-match)
8630 (rst-suggest-new-adornment, rst-get-adornments-around)
8631 (rst-adornment-complete-p, rst-get-next-adornment)
8632 (rst-adjust-adornment, rst-display-adornments-hierarchy)
8633 (rst-straighten-adornments): Standardize function names to
8634 use "adornment" instead of "decoration". Correct callers.
8635 Similar standardizing in many places.
8636
8637 (rst-update-section, rst-adjust, rst-promote-region)
8638 (rst-enumerate-region, rst-bullet-list-region)
8639 (rst-repeat-last-character): Correct use of `interactive'.
8640
8641 (rst-classify-adornment, rst-find-all-adornments)
8642 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
8643 (rst-find-leftmost-column, rst-repeat-last-character):
8644 Refactor functions.
8645
8646 (rst-find-title-line, rst-reset-section-caches)
8647 (rst-get-adornments-around, rst-adjust-adornment-work)
8648 (rst-arabic-to-roman, rst-roman-to-arabic)
8649 (rst-insert-list-pos, rst-insert-list-new-item)
8650 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
8651 New functions.
8652
8653 (rst-all-sections, rst-section-hierarchy)
8654 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
8655 New variables.
8656
8657 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
8658 configuration instead of only buffer. Change where necessary.
8659
8660 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
8661 (rst-shift-region, rst-adaptive-fill): New functions for
8662 indentation and filling.
8663
8664 (rst-comment-line-break, rst-comment-indent)
8665 (rst-comment-insert-comment, rst-comment-region)
8666 (rst-uncomment-region): New functions for handling comments.
8667
8668 (rst-compile): Quote shell arguments.
8669
8670 (rst-compile-pdf-preview, rst-compile-slides-preview):
8671 Delete temporary files after use.
8672
a43f98b3
GM
86732012-05-05 Glenn Morris <rgm@gnu.org>
8674
48176e8b
GM
8675 * calendar/cal-html.el: Optionally include holidays in the output.
8676 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
8677 (cal-html-holidays): New option.
8678 (cal-html-css-default): Add holiday entry.
8679 (holiday-in-range): Autoload it.
8680 (cal-html-htmlify-entry): Add optional class argument.
8681 (cal-html-htmlify-list): Add optional holidays argument.
8682 (cal-html-insert-agenda-days): Include holidays in the output.
8683 (cal-html-one-month): Maybe include holidays.
8684
a43f98b3
GM
8685 * calendar/holidays.el (holiday-in-range):
8686 Move here from cal-tex-list-holidays.
8687 * calendar/cal-tex.el (cal-tex-list-holidays):
8688 Make it an obsolete alias for holiday-in-range. Update all callers.
8689
fef9d149 86902012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
8691
8692 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
8693 Nextstep.
8694
248da2f4
RW
86952012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
8696
8697 * files.el (file-auto-mode-skip): New var.
8698 (set-auto-mode-1): Use it.
8699
f95e9344
SM
87002012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
8701
df96ab1e
SM
8702 * repeat.el: Use lexical-binding.
8703 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
8704 (repeat-undo-count): Remove.
8705 (repeat):
8706 * progmodes/octave-mod.el (octave-abbrev-start):
8707 * progmodes/f90.el (f90-abbrev-start):
8708 * face-remap.el (text-scale-adjust):
8709 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
8710
5342bb06
SM
8711 * emacs-lisp/pcase.el (pcase--let*): New function.
8712 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
8713 a bit more.
8714 (pcase--split-pred): Be more clever about ruling out overlap between
8715 a predicate and some constant pattern.
8716 (pcase--q1): Use `null' instead of (eq foo nil).
8717
f95e9344
SM
8718 * subr.el (setq-local, defvar-local): New macros.
8719 (kbd): Redefine as an alias.
8720 (with-selected-window): Leave unrelated frames alone.
8721 (set-temporary-overlay-map): New function.
8722
71873e2b
SM
87232012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
8724
8725 * subr.el (user-error): New function.
8726 * window.el (switch-to-buffer):
8727 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
8728 (smerge-match-conflict):
8729 * simple.el (previous-matching-history-element)
8730 (next-matching-history-element, goto-history-element, undo-more)
8731 (undo-start):
8732 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
8733 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
8734 (next-file, tags-loop-scan, list-tags, complete-tag):
8735 * progmodes/compile.el (compilation-loop):
8736 * mouse.el (mouse-minibuffer-check):
8737 * man.el (Man-bgproc-sentinel, Man-goto-page):
8738 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
8739 (Info-history-forward, Info-follow-reference, Info-menu)
8740 (Info-extract-menu-item, Info-extract-menu-counting)
8741 (Info-forward-node, Info-backward-node, Info-next-menu-item)
8742 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
8743 (Info-next-reference, Info-prev-reference, Info-index)
8744 (Info-index-next, Info-follow-nearest-node)
8745 (Info-copy-current-node-name):
8746 * imenu.el (imenu--make-index-alist)
8747 (imenu-default-create-index-function, imenu-add-to-menubar):
8748 * files.el (basic-save-buffer, recover-file):
8749 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
8750 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
8751 (checkdoc-message-text, checkdoc-defun):
8752 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
8753 * cus-edit.el (customize-changed-options, customize-rogue)
8754 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
8755 (custom-variable-mark-to-reset-standard)
8756 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
8757 (custom-file):
8758 * completion.el (check-completion-length):
8759 * comint.el (comint-search-arg)
8760 (comint-previous-matching-input-string-position)
8761 (comint-previous-matching-input)
8762 (comint-replace-by-expanded-history-before-point, comint-send-input)
8763 (comint-copy-old-input, comint-backward-matching-input)
8764 (comint-goto-process-mark, comint-set-process-mark):
8765 * calendar/calendar.el (calendar-cursor-to-date): Use it.
8766 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
8767
8a61ee22
SM
87682012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
8769
66408d1e
SM
8770 * dabbrev.el (dabbrev--ignore-case-p): New function.
8771 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
8772 Use it.
8773
8a61ee22
SM
8774 * files.el (automount-dir-prefix): Mark as obsolete.
8775
3c74813a
GM
87762012-05-04 Glenn Morris <rgm@gnu.org>
8777
8778 * patcomp.el, play/bruce.el: Move to obsolete/.
8779
0bfcf5c5
PE
87802012-05-04 Paul Eggert <eggert@cs.ucla.edu>
8781
8782 Fix minor Y10k bugs.
8783 * arc-mode.el (archive-unixdate):
8784 * autoinsert.el (auto-insert-alist):
8785 * calc/calc-forms.el (math-this-year):
8786 * emacs-lisp/copyright.el (copyright-current-year)
8787 (copyright-update-year, copyright):
8788 * tar-mode.el (tar-clip-time-string):
8789 * time.el (display-time-update):
8790 Don't assume years have 4 digits.
8791
78f3273a
CY
87922012-05-04 Chong Yidong <cyd@gnu.org>
8793
8794 * dos-w32.el (file-name-buffer-file-type-alist)
8795 (direct-print-region-use-command-dot-com):
8796 * ffap.el (ffap-menu-regexp):
8797 * find-file.el (ff-special-constructs):
8798 * follow.el (follow-debug):
8799 * forms.el (forms--debug):
8800 * iswitchb.el (iswitchb-all-frames):
8801 * ido.el (ido-all-frames):
8802 * emacs-lisp/timer.el (timer-max-repeats):
8803 * mail/feedmail.el (feedmail-mail-send-hook)
8804 (feedmail-mail-send-hook-queued):
8805 * mail/footnote.el (footnote-signature-separator):
8806 * mail/mailabbrev.el (mail-alias-separator-string)
8807 (mail-abbrev-mode-regexp):
8808 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
8809 * progmodes/idlwave.el (idlwave-libinfo-file)
8810 (idlwave-default-completion-case-is-down)
8811 (idlwave-library-routines): Convert defvars to defcustoms.
8812
8813 * mail/rmail.el (rmail-decode-mime-charset):
8814 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
8815 (idlwave-shell-fix-inserted-breaks)
8816 (idlwave-shell-activate-alt-keybindings)
8817 (idlwave-shell-use-breakpoint-glyph):
8818 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
8819
f7ae6719
SM
88202012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
8821
8822 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
8823
47086495
WS
88242012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
8825
8826 * progmodes/verilog-mode.el (font-lock-keywords):
8827 Fix mis-highligting auto. Reported by Craig Barner.
8828 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
fc0c31f8 8829 defines from global name space. Reported by Dan Dever.
47086495
WS
8830 (verilog-auto-reset, verilog-auto-reset-widths)
8831 (verilog-auto-tieoff): Support using unbased numbers for
8832 AUTORESET and AUTOTIEOFF.
8833 (verilog-submit-bug-report): Update variable list.
8834 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
fc0c31f8 8835 parenthesis from not matching. Reported by Michael Rytting.
47086495
WS
8836 (verilog-auto-template-lint): Fix hash error when linting modules
8837 with no used templates.
8838 (verilog-warn, verilog-warn-error)
8839 (verilog-warn-fatal): When non-interactive report multiple
8840 warnings before exiting. Suggested by Brad Dobbie.
8841 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
8842 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
8843 to report unused template errors. Reported by Brad Dobbie.
8844 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
fc0c31f8 8845 nets, bug438. Reported by Vns Blore.
47086495
WS
8846 (verilog-auto-inout-module, verilog-auto-reg)
8847 (verilog-read-decls, verilog-read-sub-decls-sig)
8848 (verilog-signals-edit-wire-reg, verilog-signals-with):
8849 Fix passing of Verilog data types in ANSI input/output ports
fc0c31f8 8850 such as "output logic" into the AUTOs. Special case "wire" and
47086495
WS
8851 "reg" for backwards compatibility presuming Verilog 2001.
8852 (verilog-auto-ascii-enum): Add "auto enum" as alias.
8853 (verilog-preprocess): Fix replication of preprocess output.
8854 Reported by Brad Dobbie.
8855 (verilog-auto-inst-interfaced-ports):
8856 Create verilog-auto-inst-interfaced-ports, bug429.
8857 Reported by Julian Gorfajn.
8858 (verilog-after-save-font-hook)
8859 (verilog-before-save-font-hook): New variable.
8860 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
8861 (verilog-save-font-mods): Wrap disabling fontification, reported
8862 by David Rogoff.
8863 (verilog-do-indent, verilog-pretty-declarations-auto)
8864 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
8865 Reported by Pierre-David Pfister.
8866 (verilog-set-auto-endcomments): Fix endtask auto comments outside
8867 of class declarations, bug292. Reported by Kevin Heilman.
8868 (verilog-read-decls): Fix 'parameter type' not appearing in
8869 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
8870 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
fc0c31f8 8871 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
47086495
WS
8872 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
8873 Reported by David Kravitz.
8874
88752012-05-03 Michael McNamara <mac@mail.brushroad.com>
8876
8877 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
8878 assignment with tests in ifs and for loops.
8879 (verilog-extended-complete-re, verilog-complete-reg): Change so
8880 that DPI inport functions don't look like fuction declarations.
8881 (verilog-pretty-expr): Don't line up assignment
8882 operations to the test and increment in if and for loops
8883 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 8884 that DPI inport functions don't look like fuction declarations.
47086495 8885
2e51d4b5
KH
88862012-05-03 Kenichi Handa <handa@m17n.org>
8887
8888 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 8889 decoding, and show a warning message without signaling an error
2e51d4b5
KH
8890 (Bug#11282).
8891
2bd785a2
SM
88922012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
8893
8894 * emacs-lisp/bytecomp.el
8895 (byte-compile-file-form-custom-declare-variable): Compile all elements,
8896 since cconv.el might have introduced :fun-body, internal-make-closure,
8897 and friends for bytecomp to handle (bug#11391).
8898 * custom.el (defcustom): Avoid ((λ ..) ..).
8899
99d27583
SM
89002012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
8901
8902 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
8903
55a71479
JB
89042012-05-02 Juanma Barranquero <lekktu@gmail.com>
8905
8906 * notifications.el (dbus-debug):
8907 * term/linux.el (gpm-mouse-enable):
8908 * term/screen.el (xterm-register-default-colors): Declare.
8909
7b97c764
CY
89102012-05-02 Chong Yidong <cyd@gnu.org>
8911
2bc356d7
CY
8912 * cus-start.el (gc-cons-percentage, exec-suffixes)
8913 (dos-display-scancodes, dos-hyper-key, dos-super-key)
8914 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
8915 (make-cursor-line-fully-visible, void-text-area-pointer)
8916 (font-list-limit): Add customization data.
8917
7b97c764
CY
8918 * allout.el (allout-exposure-change-functions)
8919 (allout-structure-added-functions)
8920 (allout-structure-deleted-functions)
8921 (allout-structure-shifted-functions): Rename abnormal hooks from
8922 *-hook, and convert to defcustoms.
5d3385a0
JB
8923 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
8924 Convert to defcustoms.
7b97c764
CY
8925 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
8926
8927 * allout-widgets.el: Hook callers changed.
8928
90207a15 89292012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
8930
8931 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
8932 the yanked message in preference to the default value of
8933 buffer-file-coding-system.
8934
90207a15 89352012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 8936
5d3385a0
JB
8937 * window.el (display-buffer--action-function-custom-type):
8938 Fix entry.
d9558cad 8939
90207a15 89402012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
8941
8942 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
8943
d80ac57b
GM
89442012-05-01 Glenn Morris <rgm@gnu.org>
8945
976f7668
GM
8946 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
8947
beb83b5a
GM
8948 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
8949
d80ac57b
GM
8950 * cus-edit.el (custom-variable-documentation): Simplify with format.
8951
b593d6a9 89522012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 8953 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
8954
8955 * simple.el (suggest-key-bindings, execute-extended-command):
8956 Move from keyboard.c.
8957
782fbf2a
CY
89582012-05-01 Chong Yidong <cyd@gnu.org>
8959
8960 * follow.el: Eliminate advice.
8961 (set-process-filter, process-filter, sit-for): Advice deleted.
8962 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
8963 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
8964 Vars deleted.
782fbf2a
CY
8965 (follow-auto): Use a :set function.
8966 (follow-mode): Rewritten. Don't advise process filters.
8967 (follow-switch-to-current-buffer-all, follow-scroll-up)
8968 (follow-scroll-down): Assume follow-mode is bound.
8969 (follow-comint-scroll-to-bottom)
8970 (follow-align-compilation-windows): New functions.
8971 (follow--window-sorter): New function.
8972 (follow-all-followers): Use it to explicitly sort windows by their
8973 positions; don't make assumptions about next-window order.
8974 (follow-windows-start-end, follow-delete-other-windows-and-split)
8975 (follow-calc-win-start): Doc fix.
8976 (follow-windows-aligned-p, follow-select-if-visible): Don't call
8977 vertical-motion unnecessarily.
8978 (follow-adjust-window): New function.
8979 (follow-post-command-hook): Use it.
8980 (follow-call-set-process-filter, follow-call-process-filter)
8981 (follow-intercept-process-output, follow-tidy-process-filter-alist)
8982 (follow-stop-intercept-process-output, follow-generic-filter):
8983 Functions deleted.
8984 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
8985 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
8986 New functions, replacing advice on scroll-bar-* commands.
87233a14 8987 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
8988
8989 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
8990 (comint-postoutput-scroll-to-bottom): Use it.
8991 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 8992
290af740
GM
89932012-05-01 Glenn Morris <rgm@gnu.org>
8994
8995 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
8996 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
8997 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
8998 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
8999 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
9000 Remove no-byte-compile setting.
9001
6eac8dc9
SM
90022012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
9003
9004 * minibuffer.el (completion-table-with-quoting): Fix compatibility
9005 all-completions code to not return a number in the last cdr.
9006
9cc7819c
LL
90072012-04-30 Leo Liu <sdl.web@gmail.com>
9008
9009 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
9010 read-only error.
9011
c93b886f
CY
90122012-04-29 Chong Yidong <cyd@gnu.org>
9013
9014 * follow.el (follow-calc-win-end): Rewrite to handle partial
9015 screen lines correctly (Bug#8390).
9016 (follow-avoid-tail-recenter): Minor cleanup.
9017
8b6c19f4
SM
90182012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
9019
9020 Avoid the obsolete `assoc' package.
9021 * speedbar.el (speedbar-refresh): Avoid adelete.
9022 (speedbar-file-lists): Simplify and avoid aput.
9023 * man.el (Man--sections, Man--refpages): New vars, replacing
9024 Man-sections-alist and Man-refpages-alist.
9025 (Man-build-section-alist, Man-build-references-alist):
9026 Use them; avoid aput.
9027 (Man--last-section, Man--last-refpage): New vars.
9028 (Man-follow-manual-reference): Use them.
9029 Use the `default' arg of completing-read.
9030 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
9031
c5bb7569
CY
90322012-04-27 Chong Yidong <cyd@gnu.org>
9033
d1d2e2e8
CY
9034 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
9035
15cd8efd
CY
9036 * startup.el (x-apply-session-resources): New function.
9037
9038 * term/ns-win.el (ns-initialize-window-system):
9039 * term/w32-win.el (w32-initialize-window-system):
9040 * term/x-win.el (x-initialize-window-system): Use it to properly
9041 set menu-bar-mode and other vars from X resources, even if the
9042 initial frame is not a window-system frame (Bug#2299).
9043
c5bb7569
CY
9044 * subr.el (read-key): Avoid running filter function when setting
9045 up temporary tool bar entries (Bug#9922).
9046
a8e7d6d7 90472012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
9048
9049 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
9050 (Bug#11344)
9051
a8e7d6d7 90522012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
9053
9054 * select.el (xselect--encode-string): New function, split from
9055 xselect-convert-to-string.
9056 (xselect-convert-to-string): Use it.
9057 (xselect-convert-to-filename, xselect-convert-to-os)
9058 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
9059 returned strings are properly encoded (Bug#11315).
9060
a8e7d6d7 90612012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
9062
9063 * simple.el (delete-active-region): Move to killing custom group.
9064
a8e7d6d7 90652012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
9066
9067 * progmodes/which-func.el (which-func-current): Quote %
9068 characters for mode-line processing.
9069
578c1d4b 90702012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
9071
9072 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
9073 reaching eob (Bug#11286).
9074
a8e7d6d7 90752012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
9076
9077 * progmodes/gdb-mi.el (gdb-control-level): New variable.
9078 (gdb): Make it buffer-local and init to zero.
9079 (gdb-control-commands-regexp): New variable.
9080 (gdb-send): Don't wrap in "-interpreter-exec console" if
9081 gdb-control-level is positive. Increment gdb-control-level
9082 whenever the command matches gdb-control-commands-regexp, and
9083 decrement it each time the command is "end". (Bug#11279)
9084
a8e7d6d7 90852012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
9086
9087 * window.el (adjust-window-trailing-edge, enlarge-window)
9088 (shrink-window, window-resize):
9089 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
9090 windows (Bug#11276).
9091
b3608390
CY
90922012-04-27 Chong Yidong <cyd@gnu.org>
9093
9094 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 9095 fix "missing prefix" warning. All callers changed.
b3608390 9096
797e6e88
SM
90972012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
9098
9099 * emacs-lisp/assoc.el: Move to obsolete/.
9100
e95a67dc
SM
91012012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
9102
657c21e4 9103 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
9104
9105 * term/ns-win.el (ns-define-service):
9106 * progmodes/pascal.el (pascal-goto-defun):
9107 * progmodes/js.el (js--read-tab):
9108 * progmodes/etags.el (tags-lazy-completion-table):
9109 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
9110 * emacs-lisp/ewoc.el (ewoc--wrap):
9111 * emacs-lisp/assoc.el (aput, adelete, amake):
9112 * doc-view.el (doc-view-convert-current-doc):
9113 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
9114
cb3e7ae0
CY
91152012-04-26 Chong Yidong <cyd@gnu.org>
9116
dce04f7f
CY
9117 * image.el (image-type-from-buffer): Only return supported image
9118 type (Bug#9045).
9119
cb3e7ae0
CY
9120 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
9121 value, for symmetry with diff-end-of-hunk.
9122 (diff-split-hunk, diff-find-source-location)
9123 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
9124 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
9125 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
9126 compute the relevant hunk or file properly (Bug#6005).
9127 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
9128
0d42eb3e
SM
91292012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
9130
9131 * vc/vc-mtn.el:
9132 * vc/vc-hg.el:
9133 * vc/vc-git.el:
9134 * vc/vc-dir.el:
9135 * vc/vc-cvs.el:
9136 * vc/vc-bzr.el:
9137 * vc/vc-arch.el:
9138 * vc/vc.el: Replace lexical-let by lexical-binding.
9139 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
9140 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
9141 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
9142
f08ae1c9
CY
91432012-04-26 Chong Yidong <cyd@gnu.org>
9144
8b71081d
CY
9145 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
9146 (diff-mode-shared-map): Bind it to / and [remap undo].
9147
f08ae1c9
CY
9148 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
9149 (ediff-window-setup-function): Use it as the default, to set up
9150 windows based on whether the current frame is graphical (Bug#2138).
9151 (ediff-choose-window-setup-function-automatically): Make obsolete.
9152
9153 * vc/ediff-init.el: Always define ediff-pixel-width/height.
9154
ef24141c
SM
91552012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9156
cc356a5d
SM
9157 * ffap.el: Remove old code for obsolete package.
9158 (ffap-complete-as-file-p): Remove.
9159
b4ff4f1f
SM
9160 Use completion-table-with-quoting for comint and pcomplete.
9161 * comint.el (comint--unquote&requote-argument)
9162 (comint--unquote-argument, comint--requote-argument): New functions.
9163 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
9164 (comint-quote-filename): Use regexp-opt-charset.
9165 (comint--common-suffix, comint--common-quoted-suffix)
9166 (comint--table-subvert): Remove.
9167 (comint-unquote-function, comint-requote-function): New vars.
9168 (comint--complete-file-name-data): Use them with
9169 completion-table-with-quoting.
9170 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
9171 * pcomplete.el (pcomplete-arg-quote-list)
9172 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
9173 (pcomplete-unquote-argument-function): Default to non-nil.
9174 (pcomplete-unquote-argument): Simplify.
9175 (pcomplete--common-quoted-suffix): Remove.
9176 (pcomplete-requote-argument-function): New var.
9177 (pcomplete--common-suffix): New function.
9178 (pcomplete-completions-at-point): Use completion-table-with-quoting
9179 and completion-table-subvert.
9180
79c4eeb4
SM
9181 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
9182 (minibuffer--double-dollars): Preserve properties.
9183 (completion--sifn-requote): New function.
9184 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
9185
ef24141c
SM
9186 * minibuffer.el: Add support for completion of quoted/escaped data.
9187 (completion-table-with-quoting, completion-table-subvert): New funs.
9188 (completion--twq-try, completion--twq-all): New functions.
9189 (completion--nth-completion): New function.
9190 (completion-try-completion, completion-all-completions): Use it.
9191
784e7d6e
LL
91922012-04-25 Leo Liu <sdl.web@gmail.com>
9193
dd2ac746
SM
9194 * progmodes/python.el (python-pdbtrack-get-source-buffer):
9195 Use compilation-message if available to find real filename.
784e7d6e 9196
07875ee7
CY
91972012-04-25 Chong Yidong <cyd@gnu.org>
9198
9199 * vc/diff-mode.el (diff-setup-whitespace): New function.
9200 (diff-mode): Use it.
9201
9202 * vc/diff.el (diff-sentinel):
9203 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
9204 Whitespace mode variables based on diff style (Bug#8612).
9205
5055880d
LL
92062012-04-25 Leo Liu <sdl.web@gmail.com>
9207
daf75653
LL
9208 * progmodes/python.el (python-send-region): Add suffix .py to the
9209 temp file.
9210
5055880d
LL
9211 * files.el (auto-mode-alist): Use javascript-mode instead.
9212
db9b177b
AH
92132012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
9214
ef24141c 9215 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 9216
090bd7cb 9217 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 9218 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 9219 references, see Bug#9.
ef24141c 9220 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 9221 when receiving a fault reply.
ef24141c 9222 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 9223
090bd7cb 9224 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 9225 (soap-inspect-simple-type): New function.
db9b177b 9226
090bd7cb 9227 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 9228 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
9229 (soap-decode-basic-type, soap-encode-basic-type):
9230 support unsignedInt and double basic types.
db9b177b 9231 (soap-resolve-references-for-simple-type)
ef24141c
SM
9232 (soap-parse-simple-type, soap-encode-simple-type): New function.
9233 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 9234
090bd7cb 9235 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
9236 (soap-default-soapenc-types): Add integer, byte and anyURI types.
9237 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
9238 the local name of "soapenc:Array".
9239 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
9240 decoding integer, byte and anyURI xsd types.
9241
1fc6097b
CY
92422012-04-25 Chong Yidong <cyd@gnu.org>
9243
9244 * cus-edit.el (custom-buffer-create-internal): Update header text.
9245
afc6df87
EZ
92462012-04-25 Eli Zaretskii <eliz@gnu.org>
9247
9248 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
9249 settings on 'system-type', not on 'window-system'. On MS-Windows,
9250 set interactive-mode on in GDB.
9251
dfbd787f
SM
92522012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
9253
9254 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
9255 (ruby-syntax-propertize-regexp): Remove.
9256 (ruby-syntax-propertize-function): Split regexp into chunks.
9257 Match following code directly.
9258
85222d44
DG
92592012-04-24 Dmitry Gutov <dgutov@yandex.ru>
9260
51a8ea2a
DG
9261 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
9262 (ruby-syntax-propertize-regexp): New function.
9263 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
9264 by a special keyword.
9265
85222d44
DG
9266 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
9267 (ruby-syntax-general-delimiters-goto-beg)
9268 (ruby-syntax-propertize-general-delimiters): New functions.
9269 (ruby-syntax-propertize-function): Use them to handle GDL.
9270 (ruby-font-lock-keywords): Move old handling of GDL...
9271 (ruby-font-lock-syntactic-keywords): .. to here.
9272 (ruby-calculate-indent): Adjust indentation for GDL.
9273
b613912b
MA
92742012-04-24 Michael Albinus <michael.albinus@gmx.de>
9275
b5380639
MA
9276 * notifications.el (top): Remove unneeded declarations.
9277 (notifications-specification-version): Change to "1.2".
e43042fe 9278 (notifications-interface, notifications-notify-method)
b613912b
MA
9279 (notifications-close-notification-method): Fix docstring.
9280 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
9281 (notifications-notify): Add :action-items, :resident and
9282 :transient hints. Change "image_data" to "image-data" and
9283 "image_path" to "image-path".
b613912b
MA
9284 (notifications-get-capabilities): New defun.
9285
257440aa
LL
92862012-04-24 Leo Liu <sdl.web@gmail.com>
9287
9288 * progmodes/python.el: Move hideshow setup to the end.
9289
b1bac16e
MR
92902012-04-24 Martin Rudalics <rudalics@gmx.at>
9291
9292 * window.el (handle-select-window): Clear echo area since this is
9293 no more done by read_char (Bug#11304).
9294
d81bd059
SM
92952012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
9296
9297 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
9298 and `/ M' to filter-derived-mode.
9299 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
9300 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
9301 (ibuffer-mark-by-mode): Use default rather than initial-input.
9302 (ibuffer-filter-by-derived-mode): Autoload and require-match.
9303
c4cf6d91
IA
93042012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
9305
9306 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
9307 (ibuffer-filter-by-derived-mode): New filter.
9308 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
9309
7511ded8
CY
93102012-04-23 Andreas Politz <politza@fh-trier.de>
9311
9312 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
9313
775c916b
CY
93142012-04-23 Chong Yidong <cyd@gnu.org>
9315
9316 * cus-edit.el (customize-apropos, customize-apropos-options):
9317 Disable matching of non-option variables (Bug#11176).
9318 (customize-option, customize-option-other-window)
9319 (customize-changed-options): Doc fix.
9320 (customize-apropos-options, customize-apropos-faces)
9321 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
9322
9323 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 9324 Fix word list splitting (Bug#11132).
46c71e23
CY
9325 (apropos-symbol, apropos-keybinding, apropos-label)
9326 (apropos-property, apropos-function-button)
9327 (apropos-variable-button, apropos-misc-button): New faces.
9328 (apropos-symbol-face, apropos-keybinding-face)
9329 (apropos-label-face, apropos-property-face, apropos-match-face):
9330 Variables removed (Bug#8396).
9331 (apropos-library-button, apropos-format-plist, apropos-print)
9332 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 9333
2df41f9c
MA
93342012-04-23 Michael Albinus <michael.albinus@gmx.de>
9335
9336 * net/xesam.el (xesam-mode-map): Use let-bound map in
9337 initialization. (Bug#11292)
9338
da00640a
AM
93392012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9340
9341 Preserve ispell session localwords when switching back to
9342 original buffer.
9343
090bd7cb
JB
9344 * textmodes/ispell.el (ispell-buffer-session-localwords):
9345 New buffer-local variable to hold buffer session localwords.
ed9265fc 9346 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
9347 localwords.
9348 (ispell-command-loop, ispell-change-dictionary)
9349 (ispell-buffer-local-words): Preserve session localwords when
9350 needed.
9351
090bd7cb
JB
9352 * textmodes/flyspell.el (flyspell-process-localwords)
9353 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 9354
f621ccf5
AM
93552012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9356
090bd7cb
JB
9357 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
9358 using obsolete `translation-table-for-input'.
ef24141c
SM
9359 (ispell-word, ispell-process-line, ispell-complete-word):
9360 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 9361
c2d1019e
CY
93622012-04-22 Chong Yidong <cyd@gnu.org>
9363
9364 * cus-edit.el (custom-variable-menu)
9365 (custom-variable-reset-saved, custom-face-menu)
9366 (custom-face-reset-saved): If there is no saved value, make the
9367 "reset-saved" operation bring back the default (Bug#9509).
9368 (custom-face-state): Properly detect themed faces.
9369
eeddc531
CY
9370 * faces.el (face-spec-set): Stop supporting deprecated form of
9371 third arg.
9372
dcbf5805
MA
93732012-04-22 Michael Albinus <michael.albinus@gmx.de>
9374
9375 Move functions from C to Lisp. Make non-blocking method calls
9376 the default. Implement further D-Bus standard interfaces.
9377
ef24141c
SM
9378 * net/dbus.el (dbus-message-internal): Declare function.
9379 Remove unneeded function declarations.
dcbf5805
MA
9380 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
9381 (dbus-message-type-method-return, dbus-message-type-error)
9382 (dbus-message-type-signal): Declare variables. Remove local
9383 definitions.
9384 (dbus-interface-dbus, dbus-interface-peer)
9385 (dbus-interface-introspectable, dbus-interface-properties)
9386 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
9387 Adapt docstring.
9388 (dbus-interface-objectmanager): New defconst.
9389 (dbus-call-method, dbus-call-method-asynchronously)
9390 (dbus-send-signal, dbus-method-return-internal)
9391 (dbus-method-error-internal, dbus-register-service)
9392 (dbus-register-signal, dbus-register-method): New defuns, moved
9393 from dbusbind.c
9394 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
9395 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
9396 New defuns.
dcbf5805
MA
9397 (dbus-call-method-non-blocking): Make it an obsolete function.
9398 (dbus-unregister-object, dbus-unregister-service)
9399 (dbus-handle-event, dbus-register-property)
9400 (dbus-property-handler): Obey the new structure of
9401 `bus-registered-objects'.
9402 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
9403 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
9404 Use `dbus-call-method'.
9405
cf20dee0
CY
94062012-04-22 Chong Yidong <cyd@gnu.org>
9407
9408 * cus-edit.el (custom-commands, custom-reset-menu)
9409 (Custom-reset-standard): Tweak labels.
9410 (custom-reset-button-menu): Change default to t.
9411 (custom-buffer-create-internal): For the custom-reset-button-menu
9412 case, put the revert button first.
9413 (custom-group-subtitle): New face.
9414 (custom-group-value-create): Align docstring to a specific column.
9415
9416 * wid-edit.el (widget-documentation-link-add): Don't handle
9417 indentation in this function.
9418 (widget-documentation-string-indent-to): New function.
9419 (widget-documentation-string-value-create): Use it.
9420
9421 * autorevert.el (auto-revert):
9422 * epg-config.el (epg):
9423 * ibuffer.el (ibuffer):
9424 * mpc.el (mpc):
9425 * ses.el (ses):
9426 * eshell/eshell.el (eshell):
9427 * net/ange-ftp.el (ange-ftp):
9428 * progmodes/ebnf2ps.el (postscript):
9429 * progmodes/flymake.el (flymake):
9430 * progmodes/prolog.el (prolog):
9431 * progmodes/verilog-mode.el (verilog-mode):
9432 * progmodes/which-func.el (which-func):
9433 * term/xterm.el (xterm):
9434 * textmodes/picture.el (picture):
9435 * textmodes/tildify.el (tildify):
9436 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
9437 customization buffers.
9438
583e23bd
AM
94392012-04-22 Alan Mackenzie <acm@muc.de>
9440
9441 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
9442 Adding a ) can hide the resulting (..) from searches. Fix it.
9443 Bound the backward search to the position of the existing (.
9444
7dd51bf1
JB
94452012-04-21 Juanma Barranquero <lekktu@gmail.com>
9446
9447 * progmodes/verilog-mode.el (verilog-mode): Check whether
9448 which-func-modes is t before adding verilog-mode.
9449 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
9450
d64a438f
LL
94512012-04-21 Leo Liu <sdl.web@gmail.com>
9452
7dd51bf1 9453 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 9454
081e8d65
MV
94552012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
9456
9457 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
9458 filling of the last column of a table (Bug#5635).
9459 (woman-find-next-control-line): New arg, specifying an additional
9460 regexp component for the control line.
9461 (woman2-roff-buffer): Use it.
9462 (woman-break-table): New function.
9463 (woman2-TS): Use it.
9464
94652012-04-21 Chong Yidong <cyd@gnu.org>
9466
9467 * woman.el (woman-set-buffer-display-table, woman-decode-region)
9468 (woman-horizontal-escapes, woman-negative-vertical-space)
9469 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
9470 (WoMan-warn-ignored): Use ?\s instead of ?\ .
9471
ed571ccb
SM
94722012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9473
9474 * minibuffer.el (completion-file-name-table): Complete user names.
9475
39773899
LL
94762012-04-20 Leo Liu <sdl.web@gmail.com>
9477
9478 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
9479 and pcase-let*.
9480
de6ff46d
CY
94812012-04-20 Chong Yidong <cyd@gnu.org>
9482
9483 * server.el (server-execute): Respect initial-buffer-choice if it
9484 is a string and there are no files to open (Bug#2825).
9485 (server-create-window-system-frame, server-create-tty-frame):
9486 Don't switch buffers here.
2d0e8e61
CY
9487 (server-process-filter): Only try to open a window system frame if
9488 compiled with graphical support (Bug#8314).
de6ff46d 9489
54071013
DN
94902012-04-20 Dan Nicolaescu <dann@gnu.org>
9491
9492 * battery.el (battery-echo-area-format): Display remaining time
9493 for sysfs backend too (Bug#11269).
9494 (battery-linux-sysfs): Fix conditional for the charge.
9495
f30d612a
CY
94962012-04-20 Chong Yidong <cyd@gnu.org>
9497
c07a4c0b 9498 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
9499 (gdb-inferior-io--init-proc): New function.
9500 (gdb-init-1): Use it.
9501 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
9502 responsible for allocating a new pty and hooking it to gdb when
9503 the old pty gets an EIO due to process exit.
9504 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
9505 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
9506 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
9507
2116e93c
EZ
95082012-04-20 Eli Zaretskii <eliz@gnu.org>
9509
9510 * window.el (window-min-size, window-sizable, window-min-delta)
9511 (window-max-delta, window--resizable, window-resizable)
9512 (window-total-size, window-full-height-p, window-full-width-p)
9513 (window-in-direction, window--resize-mini-window, window-resize)
9514 (window--resize-child-windows-normal)
9515 (window--resize-child-windows, window--resize-siblings)
9516 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 9517 (enlarge-window, shrink-window): Doc fixes.
2116e93c 9518
c07a4c0b 95192012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 9520
ef24141c
SM
9521 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
9522 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
9523 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
9524 pty process (Bug#11273).
9525 (gdb-update): New arg to suppress talking to the gdb process.
9526 (gdb-done-or-error): Use it.
9527 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
9528 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
9529 sentinel not being called.
9530
9531 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
9532
d02766ab
CY
9533 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
9534
c07a4c0b 95352012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
9536
9537 * net/network-stream.el (open-network-stream): Doc fix.
9538
c07a4c0b 95392012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
9540
9541 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
9542
c07a4c0b 95432012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
9544
9545 Ensure searching for keywords is case sensitive.
9546
9547 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
9548 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
9549 (c-defun-name, c-mark-function, c-cpp-define-name)
9550 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 9551 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 9552
ef24141c
SM
9553 * progmodes/cc-mode.el (c-font-lock-fontify-region):
9554 Bind case-fold-search to nil.
f0f6bc35 9555
c07a4c0b 95562012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
9557
9558 * mail/sendmail.el (mail-bury): Call return action with the right
9559 Rmail buffer (Bug#11242).
9560
9a864fa2
CY
9561 * server.el (server-process-filter): Handle corner case where both
9562 tty and nowait options are present (Bug#11102).
9563
539aa513
EZ
95642012-04-20 Eli Zaretskii <eliz@gnu.org>
9565
9566 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
9567 (top level): Put into the executable the ident-style '$Id:' tag on
9568 windows-nt as well.
539aa513 9569
cfc7d5da
SM
95702012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9571
9572 * electric.el (electric-indent-post-self-insert-function): Check that
9573 electric-indent-mode is enabled in current buffer.
9574
5b01685c
JB
95752012-04-19 Juanma Barranquero <lekktu@gmail.com>
9576
9577 * imenu.el (imenu-progress-message): Restore; it is "used" in
9578 erc/erc-imenu.el and net/snmp-mode.el.
9579
4d6769e1
JB
95802012-04-19 Juanma Barranquero <lekktu@gmail.com>
9581
9582 * avoid.el (mouse-avoidance-mode): Mark unused arg.
9583 (mouse-avoidance-nudge-mouse): Remove unused binding.
9584
9585 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
9586
9587 * descr-text.el (describe-char):
9588 * progmodes/python.el (python-describe-symbol):
9589 Don't call `toggle-read-only', set `buffer-read-only'.
9590
9591 * imenu.el (imenu-default-goto-function): Mark unused args.
9592 (imenu-progress-message): Remove obsolete macro; all callers changed.
9593
9594 * subr.el (keymap-canonicalize): Remove unused binding.
9595 (read-passwd): Mark unused arg.
9596
9597 * tutorial.el (tutorial--display-changes): Remove unused binding.
9598 (tutorial--save-tutorial-to): Remove unused variable.
9599
9600 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
9601 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
9602 (package-generate-autoloads, package-menu--generate)
9603 (package-menu--find-upgrades): Remove unused bindings.
9604
9605 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
9606 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
9607 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
9608 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
9609 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
9610 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
9611 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
9612 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
9613 (cua-delete-char-rectangle): Mark unused args.
9614 (cua-align-rectangle): Remove unused binding.
9615
9616 * mail/rmail.el (compilation--message->loc)
9617 (epa--find-coding-system-for-mime-charset): Declare.
9618
9619 * net/dbus.el (dbus-register-service): Declare.
9620 (dbus-name-owner-changed-handler): Remove unused binding.
9621
9622 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
9623 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
9624 (nxml-scan-backward-within): Mark unused arg.
9625 (nxml-dynamic-markup-word): Remove unused binding.
9626
9627 * mouse.el (mouse-menu-major-mode-map):
9628 * emacs-lisp/authors.el (authors-scan-change-log)
9629 (authors-add-to-author-list):
9630 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
9631 * emacs-lisp/smie.el (smie-auto-fill):
9632 * mail/sendmail.el (mail-bury):
9633 * mail/unrmail.el (unrmail):
9634 * net/tls.el (open-tls-stream):
9635 * textmodes/picture.el (picture-mouse-set-point):
9636 Remove unused bindings.
9637
8c8fc5df
MA
96382012-04-19 Michael Albinus <michael.albinus@gmx.de>
9639
9640 * net/tramp.el (tramp-action-password): Let-bind
9641 `enable-recursive-minibuffers' to t.
9642
a77b0ac9
SS
96432012-04-18 Sam Steingold <sds@gnu.org>
9644
9645 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
9646 instead of 'string to accommodate values like [f11].
9647 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
9648 * progmodes/gdb-mi.el: Likewise.
9649
12a106a9
LL
96502012-04-18 Leo Liu <sdl.web@gmail.com>
9651
9652 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
9653 current buffer.
9654 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
9655 LOCAL is nil.
9656
bc6494ef
CY
96572012-04-18 Chong Yidong <cyd@gnu.org>
9658
9659 * simple.el (line-move): Use forward-line if in batch mode
9660 (Bug#11053).
9661
c09c46b2
CS
96622012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
9663
9664 * files.el (after-find-file): Do not try to add a final newline if
9665 the buffer is read-only (Bug#11156).
9666
5f6530ea
RS
96672012-04-17 Richard Stallman <rms@gnu.org>
9668
9669 * mail/rmail.el (rmail-start-mail):
9670 Pass (rmail-mail-return...) for the return-action.
9671 Pass (rmail-yank-current-message...) for the yank-action.
9672 (rmail-yank-current-message): New function.
9673 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
9674 (rmail-reply): Likewise.
9675 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
9676
9677 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 9678 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
9679 buffer, not newbuf.
9680
197b6f3c
JB
96812012-04-17 Juanma Barranquero <lekktu@gmail.com>
9682
9683 * server.el (server-ensure-safe-dir): Simplify.
9684
2311d8e5 96852012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 9686
2311d8e5
GM
9687 * emacs-lisp/smie.el: Provide smarter auto-filling.
9688 (smie-auto-fill): New function.
9689 (smie-setup): Use it.
98fb480e 9690
2311d8e5
GM
9691 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
9692
96932012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
9694
9695 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
9696 (comment-indent): Use it.
9697
2311d8e5 96982012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
9699
9700 * ses.el: The overall change is to add cell renaming, that is
9701 setting fancy names for cell symbols other than name matching
9702 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 9703 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 9704 (ses-create-cell-variable): New defun.
2311d8e5 9705 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
9706 (ses-relocate-formula): Relocate formulas only for cells the
9707 symbols of which are not renamed, i.e. symbols whose names do not
9708 match regexp "\\`[A-Z]+[0-9]+\\'".
9709 (ses-relocate-all): Relocate values only for cells the symbols of
9710 which are not renamed.
9711 (ses-load): Create cells variables as the (ses-cell ...) are read,
9712 in order to check row col consistency with cell symbol name only
9713 for cells that are not renamed.
9714 (ses-replace-name-in-formula): New defun.
9715 (ses-rename-cell): New defun.
4bdf2ad2 9716
fc72b15c
PO
97172012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
9718
9719 * progmodes/perl-mode.el (perl-indent-parens-as-block):
9720 New option (bug#11118).
9721 (perl-calculate-indent): Respect it.
9722
12e10e61
GM
97232012-04-17 Glenn Morris <rgm@gnu.org>
9724
9725 * dired-aux.el (dired-mark-read-string): Doc fix.
9726
30009afd
DA
97272012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
9728
9729 * dired-aux.el (dired-mark-read-string): Offer optional completion.
9730 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
9731
41f03f4d
GM
97322012-04-17 Glenn Morris <rgm@gnu.org>
9733
9734 * mouse.el (mouse-drag-track):
9735 * speedbar.el (speedbar-frame-mode):
9736 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
9737
f45f90f3
LL
97382012-04-16 Leo Liu <sdl.web@gmail.com>
9739
9740 * progmodes/python.el: Trivial cleanup.
9741
94ee8db5
GM
97422012-04-16 Glenn Morris <rgm@gnu.org>
9743
121b8917
GM
9744 * vc/vc.el (vc-string-prefix-p):
9745 * vc/pcvs-util.el (cvs-string-prefix-p):
9746 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
9747 * mpc.el (mpc-string-prefix-p):
9748 Make all of these into obsolete aliases for string-prefix-p.
9749 Update callers.
9750 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
9751
1197ecfa
GM
9752 * textmodes/two-column.el: Move custom options to the start.
9753 (frame-width): Remove compat definition.
9754 (2C-associate-buffer, 2C-dissociate):
9755 Use with-current-buffer rather than save-excursion.
9756 (2C-dissociate): Force a mode-line update.
9757 (2C-autoscroll): Use ignore-errors.
9758
099e7202
GM
9759 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
9760 Autoload trivia.
9761
bf350d6a
GM
9762 * emacs-lisp/cl-extra.el (*random-state*):
9763 Remove unnecessary declaration.
9764
0e829eab
GM
9765 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
9766
e3ad7552
GM
9767 * play/cookie1.el (cookie-snarf):
9768 Give an explicit error if input file cannot be read.
9769
68892d27
GM
9770 * play/yow.el (yow-file): Use expand-file-name rather than concat.
9771
20f0c46d
GM
9772 * progmodes/perl-mode.el (c-macro-expand):
9773 Remove unnecessary autoload (it is in loaddefs.el).
9774
5a0978ce
GM
9775 * textmodes/picture.el (picture-desired-column)
9776 (picture-update-desired-column): Convert comments to doc-strings.
9777 (picture-substitute): Remove function.
9778 (picture-mode-map): Initialize in the defvar.
9779
6b955486
GM
9780 * woman.el: Remove eval-after-load for tar-mode.
9781 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
9782 (woman-tar-extract-file): Autoload it.
9783
94ee8db5
GM
9784 * frame.el (automatic-hscrolling): Make this alias obsolete.
9785
177eca34
AM
97862012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9787
090bd7cb 9788 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 9789 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
9790 (ispell-dictionary-base-alist): Revert to original XEmacs
9791 friendly version for default. [:alpha:] will be added in
090bd7cb 9792 `ispell-set-spellchecker-params' if needed.
177eca34 9793
c505aaeb
CY
97942012-04-16 Chong Yidong <cyd@gnu.org>
9795
b19dd9d1 9796 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
9797 (imagemagick-register-types): Use it.
9798 (imagemagick-types-inhibit): Add :set function. Allow new value
9799 of t to inhibit all types.
9800
9801 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
9802 so we can preload it.
9803
9804 * loadup.el (fboundp): Preload regexp-opt, needed by
9805 imagemagick-register-types.
9806
60efac0f
CY
98072012-04-15 Chong Yidong <cyd@gnu.org>
9808
9809 * frame.el (scrolling): Remove nearly unused customization group.
9810
9811 * scroll-all.el (scroll-all-mode): Move to windows group.
9812
5dd1713e
CY
98132012-04-15 Chong Yidong <cyd@gnu.org>
9814
9815 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
9816
e6fd457e
CY
98172012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9818
9819 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 9820 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 9821
e153c136
GM
98222012-04-15 Glenn Morris <rgm@gnu.org>
9823
9824 * simple.el (process-file-side-effects): Doc fix.
9825
e6fd457e 98262012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
9827
9828 * international/mule-cmds.el (set-language-environment): Doc fix.
9829
3603c3b1
JB
98302012-04-14 Juanma Barranquero <lekktu@gmail.com>
9831
9832 * server.el (server-auth-key, server-generate-key): Doc fixes.
9833 (server-get-auth-key): Doc fix. Use `string-match-p'.
9834 (server-start): Reflow docstring.
9835
e6de100c
LI
98362012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
9837
9838 * server.el (server-generate-key): `called-interactively-p'
9839 requires a parameter.
9840
29734c21
MN
98412012-04-14 Michal Nazarewicz <mina86@mina86.com>
9842
9843 * server.el (server-auth-key): New variable.
75f1671a 9844 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
9845 (server-start): Use the new variable and functions to allow
9846 setting a permanent server key (bug#9423).
9847
d65c9521
LL
98482012-04-14 Leo Liu <sdl.web@gmail.com>
9849
9850 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
9851
5ae255c7
PE
98522012-04-14 Paul Eggert <eggert@cs.ucla.edu>
9853
9854 Spelling fixes.
9855 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
9856 Emacs uses American spelling.
9857
d5e6342e
JB
98582012-04-14 Juanma Barranquero <lekktu@gmail.com>
9859
9860 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
9861 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
9862 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
9863 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
9864
ab036cd7
SM
98652012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9866
9867 * progmodes/which-func.el (which-func-modes): Change default.
9868
35dc09a1 98692012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
9870
9871 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
9872 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
9873
35dc09a1 98742012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
9875
9876 * custom.el (custom-theme-set-variables): Doc fix.
9877
35dc09a1 98782012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
9879
9880 * international/mule.el (set-auto-coding-for-load): Doc fix.
9881
35dc09a1 98822012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 9883
35dc09a1
GM
9884 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
9885 imenu work again for Objective C Mode. Correct the *-index values,
9886 these having been disturbed by a previous change in 2011-08.
57f845ee 9887
0de3da9f
AM
9888 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
9889 Correct two search limits.
9890
35dc09a1 98912012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
9892
9893 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
9894
35dc09a1 98952012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
9896
9897 * international/characters.el: Fix sorting.
9898
35dc09a1 98992012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
9900
9901 * international/characters.el: Add more missing Latin case pairs.
9902
35dc09a1 99032012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
9904
9905 * files.el (dir-locals-set-class-variables): Doc fix.
9906
35dc09a1 99072012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 9908
3f1b5bf8
EZ
9909 * international/characters.el: Add set-case-syntax-pair call for
9910 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
9911 counterpart. (Bug#11209)
9912
9f847f41
EZ
9913 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
9914
35dc09a1 99152012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
9916
9917 * calendar/holidays.el (calendar-check-holidays): Doc fix.
9918
35dc09a1 99192012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 9920
35dc09a1
GM
9921 * textmodes/ispell.el (ispell-dictionary-base-alist):
9922 Add data for Hebrew.
e2627d21 9923
35dc09a1 99242012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 9925
35dc09a1
GM
9926 * net/rcirc.el (rcirc-cmd-quit):
9927 Revert 2012-03-18 change (Bug#11192).
5c14e333 9928
35dc09a1 99292012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
9930
9931 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
9932
35dc09a1 99332012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 9934
4517fe3a
SM
9935 * minibuffer.el (completion-in-region-mode-map):
9936 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 9937
b472a594
VD
99382012-04-13 Vivek Dasmohapatra <vivek@etla.org>
9939
9940 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
9941
09b95ce3
MY
99422012-04-13 Masatake YAMATO <yamato@redhat.com>
9943
9944 * minibuffer.el (minibuffer-local-filename-syntax): New variable
9945 to allow `C-M-f' and `C-M-b' to move to the nearest path
9946 separator (bug#9511).
9947
4b63a9ca
LI
99482012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
9949
9950 * avoid.el: Require cl when compiling. And also move the
9951 `provide' to the end.
9952
7b55b8bf
TV
99532012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9954
9955 * avoid.el (mouse-avoidance-banish-position): New variable.
9956 (mouse-avoidance-banish-destination): Use it (bug#10165).
9957
adedaa1f
LL
99582012-04-13 Leo Liu <sdl.web@gmail.com>
9959
9960 * progmodes/which-func.el (which-func-modes): Add objc-mode.
9961
70e74021
KB
99622012-04-13 Ken Brown <kbrown@cornell.edu>
9963
9964 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 9965 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
9966 (browse-url-filename-alist): For the same reason, don't modify
9967 file:// URLs on Cygwin.
9968
e75e89ba
SM
99692012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
9970
9971 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
9972 the region on shift if the binding is already shifted (bug#11221).
9973
82f289a4
GM
99742012-04-12 Glenn Morris <rgm@gnu.org>
9975
9976 * mail/mailpost.el: Move to obsolete/.
9977
d333dc4c
DA
99782012-04-12 Drew Adams <drew.adams@oracle.com>
9979
9980 * imenu.el (imenu--generic-function): Ignore invisible definitions
9981 (bug#10123).
9982
0d15b5ba
VD
99832012-04-12 Vivek Dasmohapatra <vivek@etla.org>
9984
9985 * hexl.el (hexl-bits): New variable.
9986 (hexl-options): Mention the variable in the doc string.
75f1671a 9987 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 9988 (hexl-mode): Mention the new variable.
75f1671a
JB
9989 (hexl-mode, hexl-current-address, hexl-current-address):
9990 Use the displen.
0d15b5ba
VD
9991 (hexl-ascii-start-column): New function.
9992 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
9993 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
9994
64a440db
AM
99952012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9996
9997 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
9998 '("-i" ENCODING), in 2 separate command-line arguments, to specify
9999 the encoding, as expected by hunspell.
10000
6decb6c2
SM
100012012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
10002
10003 * battery.el (battery--linux-sysfs-regexp): New const.
10004 (battery-status-function): Use it. Remove yeeloong special case.
10005 (battery-yeeloong-sysfs): Remove.
10006 (battery-echo-area-format): Remove yeeloong special case.
10007
088be6fb
SM
100082012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
10009
6622e416
SM
10010 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
10011 Reported by Noah Friedman.
10012
088be6fb
SM
10013 * subr.el (read-passwd): Use read-string.
10014
b49f886e
LMI
100152012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10016
10017 * vcursor.el (vcursor-move): Increase the priority of the overlay
10018 (bug#9663).
10019
a63067fc
DD
100202012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
10021
10022 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
10023 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
10024
ac3cf14a
WS
100252012-04-11 William Stevenson <yhvh2000@gmail.com>
10026
10027 * textmodes/artist.el (artist-mode): Convert artist-mode to use
10028 define-minor-mode (bug#10760).
10029
c4fc691b 100302012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 10031
4d6769e1 10032 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
10033 that directories matching `grep-find-ignored-files' won't be
10034 pruned (bug#10351).
10035
af23e2e5
CY
100362012-04-11 Chong Yidong <cyd@gnu.org>
10037
10038 * startup.el (command-line): Remove support for long-obsolete
10039 variable font-lock-face-attributes.
10040
ab7ce8c1
GM
100412012-04-11 Glenn Morris <rgm@gnu.org>
10042
10043 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
10044
de8c03dc
SM
100452012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
10046
10047 * window.el (window--state-get-1): Obey window-point-insertion-type.
10048
050cc68b
LB
100492012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
10050
10051 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
10052 to previous function when point is on the first character of a
75f1671a 10053 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 10054
a38c310c
GM
100552012-04-11 Glenn Morris <rgm@gnu.org>
10056
effed0c2
GM
10057 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
10058 not just file-errors.
10059
a38c310c
GM
10060 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
10061 (vc-bzr-sha1): Use internal sha1.
10062
0221e323
SM
100632012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
10064
10065 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
10066
43956923
SG
100672012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
10068
10069 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
10070 that start in the middle of the line (bug#10496).
10071
6a8c9eaf
DN
100722012-04-10 Dan Nicolaescu <dann@gnu.org>
10073
10074 * battery.el (battery-linux-proc-acpi): Only one battery is
10075 discharged at a time, but that seems to confuse battery.el when
10076 computing `rate-type' for the battery not being discharged
10077 (bug#10332).
10078
1930bf5d
SM
100792012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
10080
2a718f6f
SM
10081 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
10082
599430d0
SM
10083 * international/quail.el: Use dolist and simplify.
10084 (quail-define-package, quail-update-keyboard-layout)
10085 (quail-define-rules): Use dolist.
10086 (quail-insert-kbd-layout, quail-get-translation): CSE.
10087
a2754b6c
SM
10088 * tmm.el: Use dolist, remove left over hook.
10089 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
10090 Use dolist.
10091 (calendar-load-hook): Don't mess with it.
10092
1930bf5d
SM
10093 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
10094 Use derived-mode-p. Run the diff asynchronously.
10095
9f67961c
LMI
100962012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
10097
10098 * obsolete/mouse-sel.el: Add an Obsolete-since header.
10099
2a8ce227
JB
101002012-04-10 Juanma Barranquero <lekktu@gmail.com>
10101
10102 * misc.el: Display absolute path of loaded DLLs (bug#10424).
10103 (list-dynamic-libraries--loaded): New function.
10104 (list-dynamic-libraries--refresh): Use it.
10105
8f33b5f8
NW
101062012-04-10 Nathan Weizenbaum <nweiz@google.com>
10107
1930bf5d
SM
10108 * progmodes/python.el (python-fill-paragraph):
10109 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
10110 disabled (bug#7018).
10111
b12f0439
L
101122012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
10113
1930bf5d 10114 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
10115 DOS/MS Windows for the Baltic languages. There are still plenty
10116 of texts written in this encoding/codepage (bug#6519).
b12f0439 10117
57c3bd01
GM
101182012-04-10 Glenn Morris <rgm@gnu.org>
10119
10120 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
10121 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
10122
6c3eab30
FA
101232012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
10124
1930bf5d 10125 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
10126 next-line "n" and previous-line "p" in order to make recentf more
10127 consistent with ibuffer, dired or org-mode (bug#9387).
10128
24d78a88
LMI
101292012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
10130
bc72b5d9
LMI
10131 * image.el (put-image): Return the overlay created instead of the
10132 optional input string (bug#7834). Note that this may break code
10133 that is (for some reason or other) depending on `put-image'
10134 returning the string.
10135
bd2dba5a
LMI
10136 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
10137
74beb59f
LMI
10138 * simple.el (zap-to-char): Allow zapping using input methods
10139 (bug#1580).
10140
24d78a88
LMI
10141 * textmodes/fill.el (fill-region): Leave point and mark where they
10142 were before filling (bug#5399).
10143
263f20cd
GM
101442012-04-09 Glenn Morris <rgm@gnu.org>
10145
10146 * version.el (emacs-bzr-get-version):
10147 Handle lightweight checkouts of local branches.
10148
58d1f797
AS
101492012-04-09 Andreas Schwab <schwab@linux-m68k.org>
10150
263f20cd 10151 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 10152
b4d3bc10
CY
101532012-04-09 Chong Yidong <cyd@gnu.org>
10154
10155 * custom.el (custom-variable-p): Return nil for non-symbol
10156 arguments instead of signaling an error.
10157 (user-variable-p): Obsolete alias for custom-variable-p.
10158
10159 * apropos.el (apropos-variable):
10160 * files-x.el (read-file-local-variable):
10161 * simple.el (set-variable):
10162 * woman.el (woman-mini-help):
10163 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
10164
fd06db5d
GM
101652012-04-09 Glenn Morris <rgm@gnu.org>
10166
e5fcdb5e
GM
10167 * startup.el (normal-top-level): Don't look for leim-list.el
10168 in places where it will not be found. (Bug#910)
10169
fd06db5d
GM
10170 * international/mule-cmds.el (set-default-coding-systems):
10171 * files.el (normal-mode):
10172 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
10173 This function was removed with ucs-tables.el in 2008.
10174
b39bb7e1
EZ
101752012-04-08 Eli Zaretskii <eliz@gnu.org>
10176
10177 * textmodes/ispell.el (ispell-check-version): For hunspell, set
10178 ispell-encoding8-command to "-i", without a trailing space.
10179 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
10180 separate command-line arguments, to specify the encoding, since
10181 that's how hunspell expects it.
10182
5c5b8e23
GM
101832012-04-08 Glenn Morris <rgm@gnu.org>
10184
10185 * loadup.el: Load bindings before cus-start.
10186 This reduces somewhat the number of "rogue" settings in emacs -Q.
10187
a1ed8b05
GM
101882012-04-07 Glenn Morris <rgm@gnu.org>
10189
10190 * version.el (emacs-bzr-get-version): New function.
dfae128a 10191 (emacs-bzr-version): New variable.
a1ed8b05
GM
10192 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
10193 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
10194
b142f158
EZ
101952012-04-07 Eli Zaretskii <eliz@gnu.org>
10196
dfae128a
GM
10197 * international/uni-bidi.el, international/uni-category.el:
10198 * international/uni-combining.el, international/uni-decimal.el:
10199 * international/uni-decomposition.el, international/uni-digit.el:
10200 * international/uni-lowercase.el, international/uni-mirrored.el:
10201 * international/uni-name.el, international/uni-numeric.el:
10202 * international/uni-titlecase.el, international/uni-uppercase.el:
10203 Update for Unicode 6.1.
b142f158 10204
9078ead6
EZ
102052012-04-07 Eli Zaretskii <eliz@gnu.org>
10206
10207 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
10208
f23d2c7d
LMI
102092012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
10210
10211 * window.el (shrink-window): Mention the `window-min-height'
10212 variable in the doc string.
10213
0a0a3573
BG
102142012-04-05 Bastien Guerry <bzg@altern.org>
10215
10216 * color.el (color-lighten-name): Fix typo.
10217
e5248ac9
SM
102182012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
10219
10220 * server.el (server--on-display-p): New function.
10221 (server--on-display-p): Use it.
10222
b4243e22
GV
102232012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
10224
10225 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
10226 (bug#11145).
10227
305d9f44
SM
102282012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
10229
10230 * comint.el (comint--common-quoted-suffix): Check string boundary
10231 before comparing (bug#11158).
10232 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
10233
3d439cd1
CY
102342012-04-04 Chong Yidong <cyd@gnu.org>
10235
321cc491
CY
10236 * minibuffer.el (completion-extra-properties): Doc fix.
10237
3d439cd1
CY
10238 * subr.el (delayed-warnings-hook): Doc fix.
10239
2d562c0f
DU
102402012-04-04 Daiki Ueno <ueno@unixuser.org>
10241
10242 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
10243 selection (Bug#11159).
10244 (epa-insert-keys): Inform that the default public key will be
10245 exported if no key is selected.
10246
4443f204
RS
102472012-04-04 Richard Stallman <rms@gnu.org>
10248
10249 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
10250
529c06b6
CY
102512012-04-03 Chong Yidong <cyd@gnu.org>
10252
10253 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
10254 mail-insert-file, not its obsolete alias mail-attach-file.
10255
66b907dc
MA
102562012-04-03 Michael Albinus <michael.albinus@gmx.de>
10257
10258 * notifications.el (notifications-notify): Fix docstring.
10259
c0ea195d
GM
102602012-04-02 Glenn Morris <rgm@gnu.org>
10261
10262 * emacs-lisp/authors.el (authors-aliases): Another addition.
10263
5ca64e00
MA
102642012-04-02 Michael Albinus <michael.albinus@gmx.de>
10265
10266 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
10267 `tramp-compat-call-process' instead of `tramp-local-call-process'.
10268 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
10269
42ee526b
CY
102702012-04-01 Chong Yidong <cyd@gnu.org>
10271
10272 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
10273 Handle root directory properly.
10274 (copy-directory): Caller changed.
10275
10276 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
10277 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
10278
0b021094
GM
102792012-03-31 Glenn Morris <rgm@gnu.org>
10280
40f86458
GM
10281 * term/xterm.el (xterm-extra-capabilities): Doc fix.
10282
7019c177
GM
10283 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
10284
a1daddd6
GM
10285 * calendar/calendar.el (calendar-window-list)
10286 (calendar-hide-window): Restore. (Bug#11140)
10287 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
10288
0b021094
GM
10289 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
10290
40311efc
TV
102912012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10292
10293 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
10294 Check if file is a symlink (Bug#10489).
10295
10296 * files.el (copy-directory): Likewise.
10297
5319014e
CY
102982012-03-30 Chong Yidong <cyd@gnu.org>
10299
10300 * image.el (imagemagick-types-inhibit)
10301 (imagemagick-register-types): Doc fix.
10302
935d1290
AM
103032012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10304
090bd7cb 10305 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 10306 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 10307 and treats ~word as ordinary words in pipe mode.
935d1290 10308
61c6e8fd
GM
103092012-03-30 Glenn Morris <rgm@gnu.org>
10310
10311 * tutorial.el (help-with-tutorial): Ensure local variables don't
10312 happen to make the buffer read-only. (Bug#11127)
10313
81fdff00
SM
103142012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
10315
10316 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
10317 (perl-calculate-indent): Return `noindent' in strings.
10318
6e7a6ec0
SS
103192012-03-28 Sam Steingold <sds@gnu.org>
10320
10321 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
10322 instead of the broken adhockery which does not prevent calendar
10323 buffers from being displayed at random after exit.
10324 (calendar-window-list, calendar-hide-window): Remove the broken
10325 adhockery.
10326
fee88ca0
GM
103272012-03-28 Glenn Morris <rgm@gnu.org>
10328
10329 * replace.el (query-replace-map): Doc fix.
10330
38de3354
AS
103312012-03-28 Andreas Schwab <schwab@linux-m68k.org>
10332
10333 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
10334 contents. (Bug#11109)
10335
b973155e
SM
103362012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
10337
10338 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
10339 (bug#11077).
10340 (avl-tree--check, avl-tree--check-node): New funs.
10341
dcb6e7b3
MR
103422012-03-27 Martin Rudalics <rudalics@gmx.at>
10343
10344 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
10345 (switch-to-prev-buffer, switch-to-next-buffer):
10346 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
10347 showing a buffer already is done on the same frame.
10348
b4fa35fa
GM
103492012-03-27 Glenn Morris <rgm@gnu.org>
10350
10351 * startup.el (mail-host-address): Doc fix.
10352
f9210e18
SM
103532012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10354
10355 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
10356 than 197 variables.
10357
c0bf7753
AF
103582012-03-26 Ami Fischman <ami@fischman.org>
10359
10360 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
10361
33da7b16
GM
103622012-03-26 Glenn Morris <rgm@gnu.org>
10363
02243d9d
GM
10364 * files.el (save-buffers-kill-emacs): Doc fix.
10365
33da7b16
GM
10366 * startup.el (normal-top-level, command-line, command-line-1):
10367 Give them doc strings.
10368
e5a69fd0
EZ
103692012-03-25 Eli Zaretskii <eliz@gnu.org>
10370
10371 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 10372 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 10373
9a69676a
CY
103742012-03-25 Chong Yidong <cyd@gnu.org>
10375
4125cb8b
CY
10376 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
10377 theme if it was previously enabled before (Bug#11031).
10378
dd470960
CY
10379 * cus-theme.el (custom-theme-write-faces): Retrieve current face
10380 spec with custom-face-get-current-spec if its :shown-value is not
10381 determined yet (Bug#9337).
4125cb8b 10382 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 10383
9a69676a
CY
10384 * button.el (button-at): Minor addition to docstring.
10385
6e7e90fa
SL
103862012-03-24 Simon Leinen <simon.leinen@gmail.com>
10387
10388 * vc/vc.el (vc-merge): Fix a prompt.
10389
f06e2758
CY
103902012-03-24 Chong Yidong <cyd@gnu.org>
10391
10392 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
10393 point (Bug#9623).
10394
6e7e90fa
SL
10395 * button.el (button-at): Minor addition to docstring.
10396
b9d0879b
SM
103972012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
10398
10399 * newcomment.el (comment-choose-indent): No space after BOL.
10400
e71cebb3
SS
104012012-03-22 Sam Steingold <sds@gnu.org>
10402
10403 * window.el (switch-to-prev-buffer): Revert last patch because the
10404 bug turned out to be an advertised feature (Elisp manual 28.14).
10405
335aff35
GM
104062012-03-22 Glenn Morris <rgm@gnu.org>
10407
10408 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
10409 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
10410
c676576a
LMI
104112012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
10412
10413 * net/network-stream.el (network-stream-open-starttls): Make error
10414 message under Windows be less misleading.
10415
126f3d39
LW
104162012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
10417
10418 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
10419 understands (bug#9942).
10420
64fee311
CY
104212012-03-22 Chong Yidong <cyd@gnu.org>
10422
10423 * simple.el (end-of-visible-line): Handle return value of
10424 next-single-property-change properly (Bug#9371).
10425
a640d29a
KH
104262012-03-22 Kenichi Handa <handa@m17n.org>
10427
10428 * international/quail.el (quail-insert-kbd-layout): Fix previous
10429 change. To avoid unwanted bidi reordering, use
10430 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
10431
39675016
DG
104322012-03-21 Dmitry Gutov <dgutov@yandex.ru>
10433
10434 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
10435 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
10436 (ruby-beginning-of-indent): Be more careful with the difference
10437 between word-boundary and symbol boundary.
10438 (ruby-mode-syntax-table): Make : a symbol constituent.
10439
0a6934fc 104402012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 10441
3d008e4f
SM
10442 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
10443
0a6934fc
SM
104442012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
10445
af67c9d7
SM
10446 * progmodes/etags.el (tags-completion-at-point-function):
10447 Improve last fix.
10448
1acad97c
SM
10449 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
10450
e298b5da
SS
104512012-03-21 Sam Steingold <sds@gnu.org>
10452
10453 * progmodes/etags.el (tags-completion-at-point-function):
10454 Avoid the error when point is inside the pattern.
10455
91d82a70
JY
104562012-03-21 John Yates <john@yates-sheets.org> (tiny change)
10457
10458 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
10459 line (Bug#10855).
10460
69188b79
CY
104612012-03-21 Drew Adams <drew.adams@oracle.com>
10462
10463 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
10464
99fc91fe
AK
104652012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
10466
10467 * ido.el (ido-set-current-directory, ido-read-internal)
10468 (ido-choose-completion-string, ido-completion-help): Handle nil
10469 value of ido-completion-buffer (Bug#11008).
10470
087bbb4c
SS
104712012-03-21 Sam Steingold <sds@gnu.org>
10472
10473 * window.el (switch-to-prev-buffer): Do not switch to a visible
10474 window previous buffer, just like with the frame previous buffers.
10475
fb5b8aca
CY
104762012-03-21 Chong Yidong <cyd@gnu.org>
10477
10478 * faces.el (make-face, make-empty-face, copy-face):
10479 * face-remap.el (face-remap-add-relative, face-remap-set-base):
10480 Doc fixes.
10481
dc9924b8
SM
104822012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
10483
10484 * wid-edit.el (widget-complete-field): Remove (bug#11051).
10485 (widget-complete): Remove broken use of it.
10486
f0bcceb9
CY
104872012-03-20 Chong Yidong <cyd@gnu.org>
10488
dc9924b8
SM
10489 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
10490 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
10491 characters.
10492
ee52ebf3
TH
104932012-03-20 Tassilo Horn <tassilo@member.fsf.org>
10494
10495 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
10496 to draw rectangles, not squares. (Regression introduced by revno
10497 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
10498
4c5779ab
CY
104992012-03-18 Chong Yidong <cyd@gnu.org>
10500
10501 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
10502 it is not yet defined (for temacs).
10503
15360934
LL
105042012-03-18 Leo Liu <sdl.web@gmail.com>
10505
735135f9
PE
10506 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
10507 prefix.
15360934 10508
d9a8eb66
EZ
105092012-03-17 Eli Zaretskii <eliz@gnu.org>
10510
10511 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
10512 (ispell-choices-win-default-height, ispell-silently-savep)
10513 (ispell-dictionary-alist, ispell-encoding8-command)
10514 (ispell-check-version, ispell-aspell-find-dictionary)
10515 (ispell-valid-dictionary-list, ispell-words-keyword)
10516 (ispell-get-word, ispell-internal-change-dictionary)
10517 (ispell-region, ispell-skip-region-list)
10518 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
10519 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
10520 (ispell-message-text-end, ispell-message)
10521 (ispell-buffer-local-parsing): Doc fix.
10522
f02ff80d
J
105232012-03-13 Jambunathan K <kjambunathan@gmail.com>
10524
10525 * htmlfontify.el: Add support for code block fontification for ODT
10526 export (Bug #9914).
10527 (hfy-optimisations): Define new option
10528 `body-text-only'
10529 (hfy-fontify-buffer): Honor above setting.
10530 (hfy-begin-span, hfy-end-span): New routines factored out form
10531 `hfy-fontify-buffer'.
10532 (hfy-begin-span-handler, hfy-end-span-handler): New variables
10533 that permit insertion of custom tags.
10534 (hfy-fontify-buffer): Use above handlers.
10535 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
10536 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 10537 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 10538 over multiple runs. This is made possible by having the caller let
f02ff80d
J
10539 bind a special variable `hfy-user-sheet-assoc'.
10540 (htmlfontify-string): New defun.
10541 (hfy-compile-face-map): Make sure that the last char in the
10542 buffer is correctly fontified.
10543 (hfy-face-resolve-face): Whitespace only change.
10544
9ac7a13f
EZ
105452012-03-17 Eli Zaretskii <eliz@gnu.org>
10546
10547 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
10548 message more clear.
10549
e2b5bdd7
LL
105502012-03-16 Leo Liu <sdl.web@gmail.com>
10551
10552 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
10553
2e492df3
AM
105542012-03-16 Alan Mackenzie <acm@muc.de>
10555
10556 Further optimise the handling of large macros.
10557
10558 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
10559 limit to a call of `c-literal-limits'.
10560 (c-determine-+ve-limit): New function.
dc9924b8
SM
10561 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
10562 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
10563 In CASE 5B, restrict a search limit to 500.
10564 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
10565
10566 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
10567 Restrict macro bounds to +-500 from after-change's BEG END.
10568
50e94f0c
LL
105692012-03-16 Leo Liu <sdl.web@gmail.com>
10570
10571 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
10572
6f09f6ed
AH
105732012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
10574
10575 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 10576 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 10577
c7e73d51
GM
105782012-03-16 Glenn Morris <rgm@gnu.org>
10579
da986230
GM
10580 * view.el (view-buffer, view-buffer-other-window)
10581 (view-buffer-other-frame): Doc fixes re special mode-class.
10582
0835f01e
GM
10583 * subr.el (eval-after-load): If named feature is provided not from
10584 a file, run after-load forms. (Bug#10946)
10585
c7e73d51
GM
10586 * calendar/calendar.el (calendar-insert-at-column):
10587 Handle non-unit-width characters a bit better. (Bug#10978)
10588
3f2eafd1
CY
105892012-03-15 Chong Yidong <cyd@gnu.org>
10590
10591 * emacs-lisp/ring.el (ring-extend): New function.
10592 (ring-insert+extend): Extend the ring correctly (Bug#11019).
10593
10594 * comint.el (comint-read-input-ring)
10595 (comint-add-to-input-history): Grow comint-input-ring lazily.
10596
103af3fe
SM
105972012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
10598
663b1677
SM
10599 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
10600 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
10601
103af3fe
SM
10602 * imenu.el: Fix multiple inheritance breakage (bug#9199).
10603 (imenu-add-to-menubar): Don't add a redundant index.
10604 (imenu-update-menubar): Handle a dynamically composed keymap.
10605
899cb7cb
KY
106062012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
10607
10608 * mail/sendmail.el (mail-encode-header):
10609 Bind rfc2047-encode-encoded-words to nil.
10610
3809f91d
GM
106112012-03-13 Glenn Morris <rgm@gnu.org>
10612
10613 * calendar/calendar.el (calendar-string-spread):
10614 Handle non-unit-width characters a bit better. (Bug#10978)
10615
9e345a01
LL
106162012-03-13 Leo Liu <sdl.web@gmail.com>
10617
10618 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
10619 directory and file as argument (Bug#10822).
10620
4a07df36
KS
106212012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
10622
10623 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
10624 For dynamically generated code, follow $PC.
10625 (gdb-disassembly-handler-custom): Handle no function name case.
10626
4aaa9356
TL
106272012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
10628
10629 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
10630 * emulation/ws-mode.el (ws-query-replace):
10631 * sort.el (sort-regexp-fields):
10632 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
10633
225979da
SM
106342012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10635
10636 * dabbrev.el: Fix cycle completion order (bug#10963).
10637 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
10638 (dabbrev-completion): Don't use an obarray; provide
10639 a cycle-sort-function.
10640
e2f1fdab
LL
106412012-03-12 Leo Liu <sdl.web@gmail.com>
10642
dc9924b8 10643 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
10644 (kill-do-not-save-duplicates): Doc fix.
10645
b19490ed
SM
106462012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10647
10648 * dabbrev.el: Fix cycle completion (bug#10963).
10649 Use lexical binding and wrap to 80 columns.
10650 (dabbrev-completion): Delay computing the list of completions.
10651
4b05d722
KH
106522012-03-12 Kenichi Handa <handa@m17n.org>
10653
10654 * international/quail.el (quail-insert-kbd-layout): Surround each
10655 row by LRO and PDF instead of inserting many LRMs. Pad the left
10656 and right of each non-spacing marks. Insert invisible space
10657 between lower and upper characters to prevent composition.
10658
dbbc2e69
SM
106592012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10660
10661 * minibuffer.el (minibuffer-complete): Don't get confused when the
10662 function is run twice via different commands (bug#10958).
10663 (complete-with-action): Fix docstring.
10664
292112ed
CY
106652012-03-12 Chong Yidong <cyd@gnu.org>
10666
5d1ac394
CY
10667 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
10668 (nxml-completion-at-point-function): New function.
10669 (nxml-mode): Use it.
10670 (nxml-bind-meta-tab-to-complete-flag): Default to t.
10671
292112ed
CY
10672 * emacs-lisp/package.el (package-unpack, package-unpack-single):
10673 Load generated autoloads file before byte compiling (Bug#10970).
10674 (package--make-autoloads-and-compile): New helper fun.
10675
4098f8f7
CS
106762012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
10677
10678 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
10679
8f754691
MA
106802012-03-11 Michael Albinus <michael.albinus@gmx.de>
10681
10682 * autorevert.el (auto-revert-handler): Ensure, that
10683 file-readable-p is applied only for local files or in
10684 auto-revert-tail-mode.
10685
e29ab36b
AS
106862012-03-11 Andreas Schwab <schwab@linux-m68k.org>
10687
dbbc2e69
SM
10688 * server.el (server-eval-at): Handle non-tcp connections.
10689 Decode result string.
ad0bf5b6 10690
e29ab36b
AS
10691 * server.el (server-msg-size): New constant.
10692 (server-reply-print): New function.
10693 (server-eval-and-print): Use it.
10694 (server-eval-at): Use server-quote-arg and server-unquote-arg.
10695 Handle -print-nonl.
10696
de5939ba
CS
106972012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
10698
10699 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
10700 (Bug#10987).
10701
0c93eabf
CY
107022012-03-11 Chong Yidong <cyd@gnu.org>
10703
397a688f
CY
10704 * simple.el (goto-line): Doc fix (Bug#9938).
10705
2cc775f9
CY
10706 * subr.el (save-window-excursion): Doc fix (Bug#9979).
10707
0c93eabf
CY
10708 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
10709 when finished (Bug#10963).
10710
c491fa41
MR
107112012-03-11 Martin Rudalics <rudalics@gmx.at>
10712
10713 * window.el (split-window-below): Fix bug in case where
10714 split-window-keep-point is nil (Bug#10971).
10715
300e8fa5
JL
107162012-03-11 Juri Linkov <juri@jurta.org>
10717
10718 * replace.el (replace-highlight): Set isearch-word to nil
10719 unconditionally. (Bug#10887)
10720
dbf6c5a1
EZ
107212012-03-10 Eli Zaretskii <eliz@gnu.org>
10722
10723 * net/mairix.el (mairix-replace-invalid-chars): Rename from
10724 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 10725 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
10726 (mairix-widget-create-query): Add usage information about mairix
10727 search forms: negating words, searching for substrings, etc.
10728
b9e501de
JP
107292012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
10730
10731 * international/fontset.el (font-encoding-alist): Add an entry for
10732 ksx1001 (Bug#5667).
10733
92795c91
RS
107342012-03-10 Richard Stallman <rms@gnu.org>
10735
1694e6c1
RS
10736 * mail/sendmail.el (mail-encode-header):
10737 Set rfc2047-encode-encoded-words.
10738
607e8555
RS
10739 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
10740
de3bc99a
RS
10741 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
10742 view buffer means not swapped.
10743 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
10744 (rmail-write-region-annotate): Error if real text has disappeared.
10745
92795c91
RS
10746 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
10747
699bd04e
CY
107482012-03-10 Chong Yidong <cyd@gnu.org>
10749
10750 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
10751 * emulation/cua-base.el (cua--init-keymaps):
10752 Add delete-forward-char to remappings (Bug#9666).
699bd04e 10753
570a1714
MR
107542012-03-10 Martin Rudalics <rudalics@gmx.at>
10755
dbbc2e69
SM
10756 * speedbar.el (speedbar-unhighlight-one-tag-line):
10757 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 10758
82dcf4e4
CY
107592012-03-10 Chong Yidong <cyd@gnu.org>
10760
7a2c7ca7
CY
10761 * minibuffer.el (completion-in-region, completion-help-at-point):
10762 Give the completion field overlay a high priority (Bug#6830).
10763
82dcf4e4
CY
10764 * dired.el (dired-goto-file): Recognize absolute file name
10765 listings (Bug#7126).
10766 (dired-goto-file-1): New helper function.
10767 (dired-toggle-read-only): Inhibit warnings.
10768
052e28ac
MA
107692012-03-09 Michael Albinus <michael.albinus@gmx.de>
10770
75f1671a 10771 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
10772 there are no properties.
10773
95d5e396
LL
107742012-03-09 Leo Liu <sdl.web@gmail.com>
10775
10776 * savehist.el (savehist-printable): Stricter check for string
10777 value (Bug#10937).
10778
3f018d6d
EZ
107792012-03-09 Eli Zaretskii <eliz@gnu.org>
10780
dbbc2e69
SM
10781 * mail/smtpmail.el (smtpmail-send-it):
10782 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
10783 valid mbox format.
10784
f7fd3d79
GM
107852012-03-09 Glenn Morris <rgm@gnu.org>
10786
10787 * files.el (dir-locals-find-file):
10788 Don't check result is regular, readable.
10789 (dir-locals-read-from-file): Demote errors.
10790
6ff6e72f
EZ
107912012-03-08 Eli Zaretskii <eliz@gnu.org>
10792
dbbc2e69
SM
10793 * international/quail.el (quail-insert-kbd-layout):
10794 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
10795 layout cell, to prevent their reordering by bidi display engine.
10796 For details, see the discussion in
10797 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
10798
9cec7834
AM
107992012-03-08 Alan Mackenzie <acm@muc.de>
10800
10801 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
10802 the starting position; make it extend the marked region when
10803 invoked repeatedly - all under appropriate circumstances.
10804 Fixes bugs #5525, #10906.
10805
9a40b8d4
GM
108062012-03-08 Glenn Morris <rgm@gnu.org>
10807
10808 * files.el (locate-dominating-file, dir-locals-find-file):
10809 Undo 2012-03-06 change.
10810
7a08ed35
EZ
108112012-03-07 Eli Zaretskii <eliz@gnu.org>
10812
dbbc2e69
SM
10813 * international/quail.el (quail-help):
10814 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
10815 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
10816 for the reason.
10817
5aca4f71 108182012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
10819
10820 Avoid superfluous registering of signals. (Bug#10807)
10821
10822 * notifications.el (notifications-on-action-object)
10823 (notifications-on-close-object): New defvars.
10824 (notifications-on-action-signal, notifications-on-closed-signal):
10825 Unregister the signal if not needed any longer.
10826 (notifications-notify): Register `notifications-action-signal' or
10827 `notifications-closed-signal', if :on-action or :on-close has been
10828 passed as argument.
10829
78e8b10a
CY
108302012-03-07 Chong Yidong <cyd@gnu.org>
10831
10832 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
10833 non-X platforms.
10834
69481eb8
GM
108352012-03-06 Glenn Morris <rgm@gnu.org>
10836
10837 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
10838 (x-disown-selection-internal, x-get-selection-internal):
10839 Doc fix (add arglist signatures). (Bug#10783)
10840
133b8e11
KS
108412012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
10842
10843 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
10844 Handle breakpoints with no "type".
10845
99a83064
GM
108462012-03-06 Glenn Morris <rgm@gnu.org>
10847
10848 * files.el (locate-dominating-file): Add optional predicate argument.
10849 (dir-locals-find-file): Make use of above change.
10850
17798e78
TTN
108512012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
10852
10853 * info.el (Info-insert-dir): Also try "dir.gz".
10854
eb182446
GM
108552012-03-06 Glenn Morris <rgm@gnu.org>
10856
8f2114ee
GM
10857 * files.el (dir-locals-find-file):
10858 Ignore non-readable or non-regular files. (Bug#10928)
10859
eb182446
GM
10860 * files.el (locate-dominating-file): Doc fix.
10861
24679323
AS
108622012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
10863
10864 * calendar/calendar.el (calendar-set-mode-line):
10865 `getenv' returns a string. (Bug#10951)
10866
01d972a9
LL
108672012-03-05 Leo Liu <sdl.web@gmail.com>
10868
109aa8a9
LL
10869 * simple.el (backward-delete-char-untabify): Constrain point to
10870 field (Bug#10939).
10871
01d972a9
LL
10872 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
10873
10607bea
CY
108742012-03-05 Chong Yidong <cyd@gnu.org>
10875
10876 * simple.el (count-words): If called from Lisp, return the word
10877 count, for symmetry with `count-lines'. Arglist changed.
10878 (count-words--message): Args changed. Consolidate counting code
10879 from count-words and count-words-region.
10880 (count-words-region): Caller changed.
10881 (count-lines-region): Make it an obsolete alias.
10882
5dd11cfe
TH
108832012-03-04 Tassilo Horn <tassilo@member.fsf.org>
10884
10885 * saveplace.el (save-place-to-alist)
10886 (save-place-ignore-files-regexp): Allow value nil to disable this
10887 feature.
10888
c349f4e6
CY
108892012-03-04 Chong Yidong <cyd@gnu.org>
10890
10891 * faces.el (face-spec-reset-face): For the default face, reset the
10892 attributes to default values (Bug#10748).
10893
e627be4c
LMI
108942012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
10895
10896 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
10897 previous patch: Check `message-send-mail-function', and not the
10898 default function (bug#10897).
10899
ebeabff4
MA
109002012-03-04 Michael Albinus <michael.albinus@gmx.de>
10901
a41a6cf4
MA
10902 * notifications.el (notifications-on-action-signal)
10903 (notifications-on-closed-signal): Check for unique service name of
10904 incoming event. Fix error in removing entry.
ebeabff4 10905 (top): Register for signals with wildcard service name.
a41a6cf4 10906 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 10907
c1ca42b4
CY
109082012-03-04 Chong Yidong <cyd@gnu.org>
10909
dc9924b8 10910 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 10911
ea16568d
GM
109122012-03-04 Glenn Morris <rgm@gnu.org>
10913
10914 * abbrev.el (copy-abbrev-table, abbrev-table-p)
10915 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
10916 (expand-abbrev, define-abbrev-table): Doc fixes.
10917
fbae4637
LMI
109182012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10919
10920 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
10921 `message-default-send-mail-function' and not `send-mail-function'
10922 when doing the prompting for `sendmail-query-once' before sending
10923 in Message buffers (bug#10897).
10924
a1e7225c
LMI
10925 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
10926 This is inconsistent with all the other stream functions, which leave
10927 the setting up to the higher levels (if so wanted) (bug#10931).
10928
56d093a9
AM
109292012-03-02 Alan Mackenzie <acm@muc.de>
10930
10931 Depessimize the handling of very large macros.
10932
10933 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
10934 (c-macro-cache-syntactic): New variables to implement a one
10935 element macro cache.
10936 (c-invalidate-macro-cache): New function.
10937 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
10938 Adapt to use the new cache.
10939 (c-state-safe-place): Use better the cache of safe positions.
10940 (c-state-semi-nonlit-pos-cache)
10941 (c-state-semi-nonlit-pos-cache-limit):
10942 New variables for...
10943 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
10944 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
10945 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
10946 Use c-state-semi-safe-place.
56d093a9 10947
dbbc2e69
SM
10948 * progmodes/cc-langs.el (c-get-state-before-change-functions):
10949 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 10950
817e5c3d
MA
109512012-03-02 Michael Albinus <michael.albinus@gmx.de>
10952
dbbc2e69
SM
10953 * jka-compr.el (jka-compr-call-process):
10954 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
10955 not remote.
10956
a032a702
MA
109572012-03-01 Michael Albinus <michael.albinus@gmx.de>
10958
10959 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
10960 access of FILE2, if FILE1 does not exist.
10961
99a54f21
MA
10962 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
10963 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
10964
10965 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
10966 Add "PAGER=" to `process-environment'.
10967
f6561e1f
MM
109682012-03-01 Michael R. Mauger <mmaug@yahoo.com>
10969
10970 * progmodes/sql.el: Bug fix
10971 (sql-get-login-ext): Save login values in globals.
10972 (sql-get-login): Use new version of `sql-get-login-ext'.
10973 (sql-interactive-mode): Set global `sql-connection' to nil.
10974 (sql-connect): Set global values for connection.
10975 (sql-product-interactive): Save global values as buffer local.
10976
2d44d9cc
LL
109772012-02-29 Leo Liu <sdl.web@gmail.com>
10978
10979 * abbrev.el (define-abbrevs): Reset sys to nil.
10980
96b49301 109812012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10982
bf7f9bc5
JB
10983 * files.el (file-equal-p): Rename from `files-equal-p'.
10984 Return nil when one or both files don't exist.
96b49301 10985 (file-subdir-of-p): Now only top directory must exists,
10986 return nil if it doesn't.
bf7f9bc5
JB
10987 (copy-directory): No need to test with `file-subdir-of-p' after
10988 creating dir.
10989 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
10990 to `file-equal-p'.
96b49301 10991
44e97401
GM
109922012-02-28 Glenn Morris <rgm@gnu.org>
10993
10994 * shell.el (shell-mode):
10995 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
10996 * play/landmark.el (landmark-font-lock-face-O):
10997 * play/handwrite.el (handwrite):
10998 * play/gomoku.el (gomoku-O):
10999 * net/browse-url.el (browse-url-browser-display):
11000 * international/mule.el (define-charset):
11001 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
11002 * filesets.el (filesets-find-file-delay):
11003 * eshell/em-xtra.el (eshell-xtra):
11004 * eshell/em-unix.el (eshell-grep):
11005 * emulation/viper.el (viper-mode):
11006 * emacs-lisp/regexp-opt.el (regexp-opt-group):
11007 * emacs-lisp/easymenu.el (easy-menu-define):
11008 * calendar/timeclock.el (timeclock-use-display-time):
11009 * bs.el (bs-mode):
11010 * bookmark.el (bookmark-save-flag):
11011 Doc fix (standardize possessive apostrophe usage).
11012
c98c6276
CY
110132012-02-27 Chong Yidong <cyd@gnu.org>
11014
bf7f9bc5
JB
11015 * emulation/viper-cmd.el (viper-intercept-ESC-key):
11016 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 11017
c98c6276
CY
11018 * font-lock.el (font-lock-specified-p): Rename from
11019 font-lock-spec-present. Callers changed.
11020
9c62cd04 110212012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 11022
bf7f9bc5
JB
11023 * emacs-lisp/package.el (package-compute-transaction):
11024 Handle holding a package version to t in package-load-list.
8ac9e529 11025
530739c9
MA
110262012-02-26 Michael Albinus <michael.albinus@gmx.de>
11027
11028 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
11029 (tramp-get-inode, tramp-get-device): Use cached values.
11030
487915d7
AM
110312012-02-26 Alan Mackenzie <acm@muc.de>
11032
11033 Check there is a font-lock specification before doing initial
11034 fontification.
11035
11036 * font-core.el (font-lock-mode): Move the conditional from
11037 :after-hook to font-lock-initial-fontify.
11038 (font-lock-default-function): Move the check for a specification
11039 to font-lock-spec-present.
11040
dc9924b8 11041 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
11042 (font-lock-spec-present): New function.
11043
4fd96557
JB
110442012-02-26 Jim Blandy <jimb@red-bean.com>
11045
11046 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
11047 (gdb-send): Apply it to the operand of the '-interpreter-exec
11048 console' command, so that we can pass arguments with (say) quotes
11049 in them. Store exact string sent in gdb-debug-log (Bug#10765).
11050
9a4888c0
CY
110512012-02-26 Chong Yidong <cyd@gnu.org>
11052
07498861
CY
11053 * help-fns.el (describe-function-1): Clarify description of
11054 remapping (Bug#10844).
11055
9a4888c0
CY
11056 * files.el (files-equal-p): Doc fix.
11057 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
11058 and quit the loop once a mismatch is found.
11059
ea8fb88d
JB
110602012-02-25 Juanma Barranquero <lekktu@gmail.com>
11061
11062 * bs.el (bs--show-with-configuration): Don't throw an error
11063 if the window cannot be split; otherwise, subsequent calls to
11064 bs-show fail, restoring a stale window config. (Bug#10882)
11065
525795c1
JD
110662012-02-25 Jan Djärv <jan.h.d@swipnet.se>
11067
11068 * term/ns-win.el (global-map): Bind ns-drag-file to
11069 ns-find-file (Bug#5855, Bug#10050).
11070
f008086f
AS
110712012-02-25 Andreas Schwab <schwab@linux-m68k.org>
11072
11073 * calendar/parse-time.el (parse-time-string): Allow extractor to
11074 return nil.
11075
a3fcfa99
MA
110762012-02-25 Michael Albinus <michael.albinus@gmx.de>
11077
91027d08
JB
11078 * net/tramp.el (tramp-file-name-for-operation):
11079 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
11080
11081 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
11082 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
11083 Add COPY-CONTENTS argument.
a3fcfa99 11084
67b0de11
CY
110852012-02-25 Chong Yidong <cyd@gnu.org>
11086
11087 Add custom groups for VC backends, for consistency with vc-bzr.
11088
11089 * vc/vc-arch.el (vc-arch):
11090 * vc/vc-cvs.el (vc-cvs):
11091 * vc/vc-git.el (vc-git):
11092 * vc/vc-hg.el (vc-hg):
11093 * vc/vc-mtn.el (vc-mtn):
11094 * vc/vc-rcs.el (vc-rcs):
11095 * vc/vc-sccs.el (vc-sccs):
11096 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
11097 All relevant defcustoms reassigned.
11098
3c9dfce6
CY
110992012-02-25 Chong Yidong <cyd@gnu.org>
11100
1339bf43
CY
11101 * newcomment.el (comment-styles): Add autoload (Bug#10868).
11102
3c9dfce6
CY
11103 * term/x-win.el (x-initialize-window-system): Reduce default for
11104 x-selection-timeout to 5 seconds (Bug#8869).
11105
25b2e303 111062012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11107
ec70a47d
GM
11108 * files.el (files-equal-p, file-subdir-of-p): New functions.
11109 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 11110 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
11111 * dired-aux.el (dired-copy-file-recursive): Same.
11112 (dired-create-files): Modify destination when source is equal to
11113 dest when copying files.
53a46cd0 11114 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 11115
914260cd
MA
111162012-02-24 Michael Albinus <michael.albinus@gmx.de>
11117
11118 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
11119 (Bug#10874)
11120
2cb228f7
AM
111212012-02-23 Alan Mackenzie <acm@muc.de>
11122
11123 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
11124 parameter "after-hook:" to allow the expansion to run code after
11125 the execution of the mode hooks.
11126
11127 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 11128 from font-lock-mode-internal.
2cb228f7 11129
91027d08 11130 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
11131 :after-hook.
11132
8f0fde21
SM
111332012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
11134
3e88618b
SM
11135 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
11136 (completion--cache-all-sorted-completions): New function.
11137 (completion-all-sorted-completions): Use it.
11138 (completion--do-completion, minibuffer-force-complete):
11139 Use it to re-instate the flush hook.
11140
8f0fde21
SM
11141 * icomplete.el (icomplete-completions): Replace last fix with a better
11142 one (bug#10850).
11143
8e911f6f
DG
111442012-02-23 Dmitry Gutov <dgutov@yandex.ru>
11145
11146 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
11147 when it might call us back infinitely (bug#10797).
11148
49fe4321
GM
111492012-02-23 Glenn Morris <rgm@gnu.org>
11150
11151 * minibuffer.el (completion-category-overrides): Doc fix.
11152
b291b572
SM
111532012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
11154
11155 * minibuffer.el (completion-table-with-context): Fix inf-loop.
11156 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
11157
31a9ef2e
GM
111582012-02-23 Glenn Morris <rgm@gnu.org>
11159
5e6e6794 11160 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
11161 (authors-obsolete-files-regexps, authors-ignored-files)
11162 (authors-ambiguous-files, authors-renamed-files-alist):
11163 Add more entries.
11164
0bd1e074
JL
111652012-02-23 Juri Linkov <juri@jurta.org>
11166
11167 * isearch.el (isearch-occur): Sync interactive spec with occur's
11168 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
11169
b617673c
JL
11170 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
11171
19e9789e
JL
111722012-02-22 Juri Linkov <juri@jurta.org>
11173
11174 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
11175 (ucs-insert): Doc fix. Check for hex digits in the string.
11176 Don't display `nil' in the error message. (Bug#10857)
11177
f41ce09d
AM
111782012-02-22 Alan Mackenzie <acm@muc.de>
11179
7a71b18d 11180 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 11181
ac2eceee
GM
111822012-02-22 Glenn Morris <rgm@gnu.org>
11183
11184 * ffap.el (ffap-c-path):
11185 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
11186
abd1f678
CY
111872012-02-22 Chong Yidong <cyd@gnu.org>
11188
11189 * custom.el (load-theme): Doc fix.
11190
f25aef2e
GM
111912012-02-22 Glenn Morris <rgm@gnu.org>
11192
11193 * dired-x.el (dired-guess-shell-alist-default):
11194 Remove escape sequences from nroff output. (Bug#172)
11195
5f8dc2ca
GM
111962012-02-21 Glenn Morris <rgm@gnu.org>
11197
6ff86ec4
GM
11198 * vc/emerge.el (emerge-defvar-local):
11199 Set `permanent-local' property rather than unused `preserved'.
11200
be3223a3 11201 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
11202 (picture-mode-map): Use it. (Bug#10860)
11203 (picture-mode): Doc fix.
11204
3fe58f4f
JB
112052012-02-21 Juanma Barranquero <lekktu@gmail.com>
11206
11207 * newcomment.el (uncomment-region-default): Remove unused binding.
11208
f9a998c3
GM
112092012-02-21 Glenn Morris <rgm@gnu.org>
11210
11211 * textmodes/picture.el (picture-motion, picture-motion-reverse)
11212 (picture-self-insert, picture-tab-chars): Doc fix.
11213 (picture-mode-map): Fix C-a, C-e.
11214
c6029348
GM
112152012-02-20 Glenn Morris <rgm@gnu.org>
11216
11217 * emacs-lisp/authors.el (authors-aliases): Add another entry.
11218
ab1ce9d7
LL
112192012-02-20 Leo Liu <sdl.web@gmail.com>
11220
11221 * icomplete.el (icomplete-completions): Check FROM arg before
11222 passing to substring (Bug#10850).
11223
0fd40f89
CY
112242012-02-19 Chong Yidong <cyd@gnu.org>
11225
11226 * comint.el: Require ansi-color.
11227 (comint-output-filter-functions): Add ansi-color-process-output.
11228
11229 * ansi-color.el: Don't set comint-output-filter-functions; it is
11230 now in the initial value defined in comint.el.
11231 (ansi-color-apply-face-function): New variable.
11232 (ansi-color-apply-on-region): Use it.
11233 (ansi-color-apply-overlay-face): New function.
11234
11235 * shell.el (shell): No need to require ansi-color.
11236 (shell-mode): Use ansi-color-apply-face-function to highlight
11237 color escapes using font-lock-face property (Bug#10835).
11238
20af2394
CY
112392012-02-19 Chong Yidong <cyd@gnu.org>
11240
11241 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
11242 mode-line formats (Bug#10839).
11243
e23a3fbe
GM
112442012-02-18 Glenn Morris <rgm@gnu.org>
11245
b474519e
GM
11246 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
11247
11248 * mail/undigest.el (unforward-rmail-message): Doc fix.
11249
e23a3fbe
GM
11250 * saveplace.el (save-place-ignore-files-regexp): Add :version.
11251
57939ff4
EZ
112522012-02-18 Eli Zaretskii <eliz@gnu.org>
11253
11254 * international/characters.el (script-list): Sync with the latest
11255 Unicode Character Database.
11256
0c23686e
AS
112572012-02-18 Andreas Schwab <schwab@linux-m68k.org>
11258
11259 * international/titdic-cnv.el: Remove duplicate coding tag.
11260 * language/cham.el: Likewise.
11261 * language/tai-viet.el: Likewise.
11262
6818b449
GM
112632012-02-18 Glenn Morris <rgm@gnu.org>
11264
11265 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
11266 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
11267 (calendar-bahai-all-holidays-flag, calendar-other-dates):
11268 * calendar/diary-lib.el (diary-abbreviated-year-flag):
11269 * calendar/holidays.el (holiday-bahai-holidays)
11270 (calendar-holidays, list-holidays):
11271 Use utf-8 Bahá'í in doc-strings, menus, etc.
11272
0311a3fc
TH
112732012-02-17 Tassilo Horn <tassilo@member.fsf.org>
11274
11275 * saveplace.el (save-place-ignore-files-regexp): New variable
11276 allowing for excluding files from saving their location of point.
11277 The default value matches the temporary commit message editing
11278 files from Git, SVN, Bazaar, and Mercurial.
11279 (save-place-to-alist): Use it.
11280
d209e2fb 112812012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 11282 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
11283
11284 * newcomment.el (uncomment-region-default): Don't leave extra space
11285 when an arg is provided (bug#8150).
11286
ee0ce425
TZ
112872012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
11288
eb864a71 11289 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 11290
95ddf442
GM
112912012-02-17 Glenn Morris <rgm@gnu.org>
11292
11293 * net/socks.el: Require network-stream. (Bug#10599)
11294
48dd1e39 112952012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
11296
11297 * international/charprop.el:
11298 * international/uni-name.el:
11299 * international/uni-old-name.el:
11300 * international/uni-comment.el: Regenerate.
11301
d68cd087
GM
113022012-02-16 Glenn Morris <rgm@gnu.org>
11303
11304 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
11305 Interactively in calendar buffer, give an error if not on a date.
11306
13932042
GM
113072012-02-15 Glenn Morris <rgm@gnu.org>
11308
11309 * shell.el (shell-delimiter-argument-list):
11310 Revert 2011-02-17 change. (Bug#8027)
11311
c3a70e2b
CY
113122012-02-15 Chong Yidong <cyd@gnu.org>
11313
60236b0d
CY
11314 * minibuffer.el (completion-at-point-functions): Doc fix.
11315
c3a70e2b
CY
11316 * custom.el (defcustom): Doc fix; note use of defvar.
11317
9f26dc24
GM
113182012-02-15 Glenn Morris <rgm@gnu.org>
11319
11320 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
11321 Doc fixes.
11322
6546b134
GM
113232012-02-14 Glenn Morris <rgm@gnu.org>
11324
11325 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
11326
d29b2b4c
LI
113272012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
11328
11329 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
11330 way the ports list is computed.
835bdcba
LI
11331 (smtpmail-query-smtp-server): Prompt the user for a port number if
11332 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 11333
08dcdbc9
TZ
113342012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
11335
11336 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
11337
2605051a
GM
113382012-02-13 Glenn Morris <rgm@gnu.org>
11339
11340 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
11341
7ee99f32
TZ
113422012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
11343
11344 * net/gnutls.el (gnutls-trustfiles): New variable.
11345 (gnutls-negotiate): Use it.
11346
5f0af64f
LI
113472012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
11348
11349 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
11350 does its stuff if Gnus is running.
11351
c14fcc95
AM
113522012-02-13 Alan Mackenzie <acm@muc.de>
11353
11354 Fix a loop in c-set-fl-decl-start.
11355
7a71b18d 11356 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
11357 c-backward-syntactic-ws actually moves backwards.
11358
142b4d90
LL
113592012-02-13 Leo Liu <sdl.web@gmail.com>
11360
11361 * net/rcirc.el (rcirc-markup-attributes): Move point to the
11362 beginning so that all \C-o chars are removed.
11363
fa9958a6
TZ
113642012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
11365
dc9924b8 11366 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 11367
0bc5886a
AM
113682012-02-12 Alan Mackenzie <acm@muc.de>
11369
11370 Fix infinite loop with long macros.
4d6769e1 11371 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 11372
d4bd55e7
CY
113732012-02-12 Chong Yidong <cyd@gnu.org>
11374
11375 * window.el (display-buffer): Doc fix (Bug#10785).
11376
66f3fe22
GM
113772012-02-12 Glenn Morris <rgm@gnu.org>
11378
bd7da63e
GM
11379 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
11380 (x-disown-selection-internal, x-get-selection-internal):
11381 Sync docs with the xselect.c versions.
11382
66f3fe22
GM
11383 * allout-widgets.el: Add missing license notice.
11384
3e0d2fa7
GM
113852012-02-11 Glenn Morris <rgm@gnu.org>
11386
cfecdf09
GM
11387 * select.el (x-get-selection-internal, x-own-selection-internal)
11388 (x-disown-selection-internal):
11389 * x-dnd.el (x-get-selection-internal): Update declarations.
11390
6d216d7f
GM
11391 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
11392
2bed3f04
GM
11393 * window.el (window-sides-slots):
11394 * tool-bar.el (tool-bar-position):
11395 * term/xterm.el (xterm-extra-capabilities):
11396 * ses.el (ses-self-reference-early-detection):
11397 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
11398 (verilog-auto-wire-type)
11399 (verilog-auto-delete-trailing-whitespace)
11400 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
11401 (verilog-auto-tieoff-declaration):
11402 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
11403 (sql-oracle-statement-starters, sql-oracle-scan-on):
11404 * progmodes/prolog.el (prolog-align-comments-flag)
11405 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
11406 (prolog-left-indent-regexp, prolog-paren-indent-p)
11407 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
11408 (prolog-types, prolog-mode-specificators)
11409 (prolog-determinism-specificators, prolog-directives)
11410 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
11411 (prolog-electric-dot-flag)
11412 (prolog-electric-dot-full-predicate-template)
11413 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
11414 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
11415 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
11416 (prolog-program-switches, prolog-prompt-regexp)
11417 (prolog-debug-on-string, prolog-debug-off-string)
11418 (prolog-trace-on-string, prolog-trace-off-string)
11419 (prolog-zip-on-string, prolog-zip-off-string)
11420 (prolog-use-standard-consult-compile-method-flag)
11421 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
11422 (prolog-imenu-max-lines, prolog-info-predicate-index)
11423 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
11424 (prolog-char-quote-workaround):
11425 * progmodes/cc-vars.el (c-defun-tactic):
11426 * net/tramp.el (tramp-encoding-command-interactive)
11427 (tramp-local-end-of-line):
11428 * net/soap-client.el (soap-client):
11429 * net/netrc.el (netrc-file):
11430 * net/gnutls.el (gnutls):
11431 * minibuffer.el (completion-category-overrides)
11432 (completion-cycle-threshold)
11433 (completion-pcm-complete-word-inserts-delimiters):
11434 * man.el (Man-name-local-regexp):
11435 * mail/feedmail.el (feedmail-display-full-frame):
11436 * international/characters.el (glyphless-char-display-control):
11437 * eshell/em-ls.el (eshell-ls-date-format):
11438 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
11439 (lisp-lambda-list-keyword-parameter-indentation)
11440 (lisp-lambda-list-keyword-parameter-alignment):
11441 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
11442 * dired-x.el (dired-omit-verbose):
11443 * cus-theme.el (custom-theme-allow-multiple-selections):
11444 * calc/calc.el (calc-highlight-selections-with-faces)
11445 (calc-lu-field-reference, calc-lu-power-reference)
11446 (calc-note-threshold):
11447 * battery.el (battery-mode-line-limit):
11448 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
11449 (archive-7z-update):
11450 * allout.el (allout-prefixed-keybindings)
11451 (allout-unprefixed-keybindings)
11452 (allout-inhibit-auto-fill-on-headline)
11453 (allout-flattened-numbering-abbreviation):
11454 * allout-widgets.el (allout-widgets-auto-activation)
11455 (allout-widgets-icons-dark-subdir)
11456 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
11457 (allout-widgets-theme-dark-background)
11458 (allout-widgets-theme-light-background)
11459 (allout-widgets-item-image-properties-emacs)
11460 (allout-widgets-item-image-properties-xemacs)
11461 (allout-widgets-run-unit-tests-on-load)
11462 (allout-widgets-time-decoration-activity)
11463 (allout-widgets-hook-error-post-time)
11464 (allout-widgets-track-decoration):
11465 Add missing :version tags to new defcustoms and defgroups.
11466
5fec1b8e
GM
11467 * progmodes/sql.el (sql-ansi-statement-starters)
11468 (sql-oracle-statement-starters): Add custom type.
11469
3e0d2fa7
GM
11470 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
11471 (prolog-system-version): Give it a type.
11472
90b671e2
EZ
114732012-02-11 Eli Zaretskii <eliz@gnu.org>
11474
11475 * term/pc-win.el (x-select-text, x-selection-owner-p)
11476 (x-own-selection-internal, x-disown-selection-internal)
11477 (x-get-selection-internal): Sync doc strings and argument lists
11478 with xselect.c, common-win.el and x-win.el. (Bug#10783)
11479
5eac0c02
LL
114802012-02-11 Leo Liu <sdl.web@gmail.com>
11481
11482 * progmodes/python.el (python-end-of-statement): Fix infinite
11483 loop. (Bug#10788)
11484
f82cb659
GM
114852012-02-10 Glenn Morris <rgm@gnu.org>
11486
11487 * international/mule-cmds.el (unify-8859-on-encoding-mode)
11488 (unify-8859-on-decoding-mode): Properly mark as obsolete.
11489
cc26d239
LI
114902012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
11491
11492 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
11493 about SMTP before checking the From header.
11494
91027d08 11495 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
11496 into own function for reuse by emacsbug.el.
11497
1be3ca5a
LL
114982012-02-10 Leo Liu <sdl.web@gmail.com>
11499
11500 * subr.el (condition-case-unless-debug): Rename from
11501 condition-case-no-debug. All callers changed.
11502 (with-demoted-errors): Fix caller.
11503
11504 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
11505 * nxml/rng-valid.el (rng-do-some-validation):
11506 * emacs-lisp/package.el (package-refresh-contents)
11507 (package-menu-execute):
11508 * desktop.el (desktop-create-buffer):
91027d08 11509 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 11510
b011fbfe
GM
115112012-02-10 Glenn Morris <rgm@gnu.org>
11512
b2096d72
GM
11513 * textmodes/bibtex.el:
11514 Add missing :version tags for new/changed defcustoms.
11515
b011fbfe
GM
11516 * files.el (remote-file-name-inhibit-cache): Doc fixes.
11517
4c7e65bf
LI
115182012-02-09 Lars Ingebrigtsen <larsi@rusty>
11519
11520 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
11521 (smtpmail-via-smtp): Use it, or fall back on the From address.
11522 (smtpmail-send-it): Ditto.
11523
f3934f6f
SM
115242012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
11525
11526 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
11527 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
11528 (byte-compile-tmp-var): New const.
11529 (byte-compile-defvar): Use it to minimize .elc size.
11530 Just use `defvar' rather than simulate it (bug#10761).
11531
a075a2c5
GM
115322012-02-09 Glenn Morris <rgm@gnu.org>
11533
cf3aa21b
GM
11534 * files.el (rename-uniquely): Doc fix. (Bug#3806)
11535
354998cd
GM
11536 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
11537 Add :version tags.
11538
dc9924b8
SM
11539 * progmodes/compile.el (compilation-error-screen-columns)
11540 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 11541
dab3703d
GM
11542 * vc/log-view.el (log-view-toggle-entry-display):
11543 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
11544
3f88cd72
GM
11545 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
11546 (report-emacs-bug-can-use-xdg-email):
11547 (report-emacs-bug-insert-to-mailer): Doc fixes.
11548 (report-emacs-bug): Message fix.
11549
d95b247d
GM
11550 * net/browse-url.el (browse-url-can-use-xdg-open)
11551 (browse-url-xdg-open): Doc fixes.
11552
a075a2c5
GM
11553 * electric.el (electric-indent-mode, electric-pair-mode)
11554 (electric-layout-rules, electric-layout-mode): Doc fixes.
11555 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
11556
ffb6157e
MR
115572012-02-08 Martin Rudalics <rudalics@gmx.at>
11558
11559 * server.el (server-unselect-display): Don't inadvertently kill
11560 the current buffer. (Bug#10729)
11561
e1ac4066
GM
115622012-02-08 Glenn Morris <rgm@gnu.org>
11563
34e8a2da
GM
11564 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
11565 (sql-list-table): Doc fixes.
11566
b4ac6e8c
GM
11567 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
11568 Comment out (does nothing).
11569
e1ac4066
GM
11570 * completion.el (dynamic-completion-mode):
11571 * dirtrack.el (dirtrack-debug-mode):
11572 * electric.el (electric-layout-mode):
11573 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
11574 * face-remap.el (text-scale-mode, buffer-face-mode):
11575 * iimage.el (iimage-mode):
11576 * image-mode.el (image-transform-mode):
11577 * minibuffer.el (completion-in-region-mode):
11578 * scroll-lock.el (scroll-lock-mode):
11579 * simple.el (next-error-follow-minor-mode):
11580 * tar-mode.el (tar-subfile-mode):
11581 * tooltip.el (tooltip-mode):
11582 * vcursor.el (vcursor-use-vcursor-map):
11583 * wid-browse.el (widget-minor-mode):
11584 * emulation/tpu-edt.el (tpu-edt-mode):
11585 * emulation/tpu-extras.el (tpu-cursor-free-mode):
11586 * international/iso-ascii.el (iso-ascii-mode):
11587 * language/thai-util.el (thai-word-mode):
11588 * mail/supercite.el (sc-minor-mode):
11589 * net/goto-addr.el (goto-address-mode):
11590 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
11591 * progmodes/cwarn.el (cwarn-mode):
11592 * progmodes/flymake.el (flymake-mode):
11593 * progmodes/glasses.el (glasses-mode):
11594 * progmodes/hideshow.el (hs-minor-mode):
11595 * progmodes/pascal.el (pascal-outline-mode):
11596 * textmodes/enriched.el (enriched-mode):
11597 * vc/smerge-mode.el (smerge-mode):
11598 Doc fixes (minor mode argument).
11599
5e0d957f
EZ
116002012-02-07 Eli Zaretskii <eliz@gnu.org>
11601
11602 * ls-lisp.el (ls-lisp-sanitize): New function.
11603 (ls-lisp-insert-directory): Use it to fix or remove any elements
11604 in file-alist with missing attributes. (Bug#4673)
11605
98d7371e
AM
116062012-02-07 Alan Mackenzie <acm@muc.de>
11607
11608 Fix spurious recognition of c-in-knr-argdecl.
11609
11610 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
11611 putative K&R region.
11612
667ced3a
AM
116132012-02-07 Alan Mackenzie <acm@muc.de>
11614
eb864a71
LM
11615 * progmodes/cc-engine.el (c-forward-objc-directive):
11616 Prevent looping in "#pragma mark @implementation".
667ced3a 11617
5b77774d
MA
116182012-02-07 Michael Albinus <michael.albinus@gmx.de>
11619
11620 * notifications.el (notifications-on-closed-signal): Make `reason'
11621 optional. (Bug#10744)
11622
af008560
GM
116232012-02-07 Glenn Morris <rgm@gnu.org>
11624
60d47423
GM
11625 * emacs-lisp/easy-mmode.el (define-minor-mode):
11626 Doc fixes for the macro and the mode it defines.
11627
dd605cc4
GM
11628 * image.el (imagemagick-types-inhibit): Doc fix.
11629
af008560
GM
11630 * cus-start.el (imagemagick-render-type): Add it.
11631
5cc59a37
LI
116322012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
11633
4d6769e1
JB
11634 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
11635 Set the default at load time, too, so that `font-lock-fontify-buffer'
11636 can be called without setting up the entire mode first. This fixes
11637 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 11638
9a6dd747
CY
116392012-02-06 Chong Yidong <cyd@gnu.org>
11640
2d16b285
CY
11641 * simple.el (list-processes--refresh): Delete exited processes
11642 (Bug#8094).
11643
171e9b6e
CY
11644 * comint.el (comint-next-prompt): next-single-char-property-change
11645 and prev-single-char-property-change never return nil (Bug#8657).
11646
9a6dd747
CY
11647 * custom.el (defcustom): Doc fix (Bug#9711).
11648
aa4589a7
CY
116492012-02-05 Chong Yidong <cyd@gnu.org>
11650
5c2a252f
CY
11651 * cus-edit.el (custom-variable-reset-backup): Quote the value
11652 before storing it in the customized-value property (Bug#6712).
4aab9006 11653 (custom-display): Add a customization type tag.
983b9602 11654 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 11655
aa4589a7
CY
11656 * wid-edit.el (widget-field-value-get): New optional arg to
11657 suppress trailing whitespace truncation.
11658 (character): Use it (Bug#2689).
11659
1ff980ae
AS
116602012-02-05 Andreas Schwab <schwab@linux-m68k.org>
11661
11662 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
11663 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
11664
03988c98
CY
116652012-02-05 Chong Yidong <cyd@gnu.org>
11666
eeb6cc88
CY
11667 * cus-edit.el (custom-variable-value-create): For mismatched
11668 types, show the current value (Bug#7600).
11669
03988c98
CY
11670 * custom.el (defcustom): Doc fix.
11671
f8cdeef0
GM
116722012-02-05 Glenn Morris <rgm@gnu.org>
11673
11674 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
11675
0696d255
JB
116762012-02-05 Juanma Barranquero <lekktu@gmail.com>
11677
11678 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
11679 (pp-buffer): Use `ignore-errors', `looking-at-p'.
11680 (pp-last-sexp): Use `looking-at-p'.
11681
34c99998
GM
116822012-02-04 Glenn Morris <rgm@gnu.org>
11683
8f05da42
GM
11684 * files.el (revert-buffer):
11685 Doc fix (mention revert-buffer-in-progress-p).
11686
f160676e
GM
11687 * emacs-lisp/ert-x.el (ert-simulate-command):
11688 Check deferred-action-list (which is obsolete) is bound.
11689
c7291ad9
GM
11690 * subr.el (with-wrapper-hook): Doc fixes.
11691
34c99998
GM
11692 * simple.el (filter-buffer-substring-functions)
11693 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
11694
6283a7d3
LL
116952012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
11696
11697 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
11698 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
11699
e96e3013
LL
117002012-02-04 Leo Liu <sdl.web@gmail.com>
11701
11702 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
11703
8ded50f2
GM
117042012-02-04 Glenn Morris <rgm@gnu.org>
11705
82ff1d13
GM
11706 * image.el (image-extension-data): Add obsolete alias.
11707
987a0a16
GM
11708 * isearch.el (isearch-update): Doc fix.
11709
ea32ef46
GM
11710 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
11711
8ded50f2
GM
11712 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
11713
eea14f31
GM
117142012-02-03 Glenn Morris <rgm@gnu.org>
11715
11716 * image.el (image-animated-p): Doc fix. Use image-animated-types.
11717 (image-animate-timeout): Doc fix.
11718
11719 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
11720
12f381b7
GM
117212012-02-02 Glenn Morris <rgm@gnu.org>
11722
953cebf5
GM
11723 * server.el (server-auth-dir): Doc fix.
11724 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
11725
12f381b7
GM
11726 * subr.el (run-mode-hooks): Doc fix.
11727
953a8c3b
JL
117282012-02-02 Juri Linkov <juri@jurta.org>
11729
11730 * image-mode.el (image-toggle-display-image): Remove tautological
11731 `major-mode' from the `derived-mode-p' test.
11732
c5d3843c
KH
117332012-02-02 Kenichi Handa <handa@m17n.org>
11734
9f6e692e 11735 * composite.el (compose-region): Cancel previous change.
c5d3843c 11736
159462d4 117372012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
11738
11739 * composite.el (compose-region, compose-string): Signal error for
11740 a null string component (Bug#6988).
11741
9f562668
CY
117422012-02-01 Chong Yidong <cyd@gnu.org>
11743
e2cef717
CY
11744 * view.el (view-buffer-other-window, view-buffer-other-frame):
11745 Handle special modes like view-buffer (Bug#10650).
11746 (view-buffer): Simplify.
11747
9f562668
CY
11748 * frame.el (set-frame-font): Tweak meaning of third argument.
11749
9f6e692e
JB
11750 * dynamic-setting.el (font-setting-change-default-font):
11751 Use set-frame-font (Bug#9982).
9f562668 11752
781acb9f
GM
117532012-02-01 Glenn Morris <rgm@gnu.org>
11754
6035be52
GM
11755 * progmodes/compile.el (compilation-internal-error-properties):
11756 Respect compilation-first-column in the "*compilation*" buffer.
11757
781acb9f
GM
11758 * emacs-lisp/easy-mmode.el (define-minor-mode):
11759 Relax :variable's test for a named function.
11760
abbceb00
AM
117612012-01-31 Alan Mackenzie <acm@muc.de>
11762
11763 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
11764 off by one error.
11765
fce3fdeb
CY
117662012-01-31 Chong Yidong <cyd@gnu.org>
11767
11768 * frame.el (set-frame-font): New arg ALL-FRAMES.
11769
11770 * menu-bar.el (menu-set-font): Use set-frame-font.
11771
11772 * faces.el (face-spec-reset-face): Don't apply unspecified
11773 attribute values to the default face.
11774
47893581
JB
117752012-01-31 Juanma Barranquero <lekktu@gmail.com>
11776
11777 * progmodes/cwarn.el (cwarn): Remove dead link.
11778 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
11779 Remove * from defcustom docstrings.
11780 (turn-on-cwarn-mode): Make obsolete.
11781 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
11782 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
11783
e58e988a
GM
117842012-01-31 Glenn Morris <rgm@gnu.org>
11785
60dc2671 11786 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 11787 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 11788 Allow named functions to be used as the cdr of :variable.
e58e988a 11789
7a3f511d
GM
117902012-01-30 Glenn Morris <rgm@gnu.org>
11791
11792 * emacs-lisp/authors.el (authors-fixed-entries):
11793 Remove reference to deleted file rnewspost.el.
11794
cb882333
JB
117952012-01-29 Juanma Barranquero <lekktu@gmail.com>
11796
11797 * window.el (window-with-parameter): Remove unused variable `windows'.
11798 (window--side-check): Remove unused variable `code'.
11799 (window--resize-siblings): Remove unused variable `first'.
11800 (adjust-window-trailing-edge): Remove unused variable `failed'.
11801 (window-deletable-p, window--delete): Remove unused variable `buffer'.
11802 Use `let', not `let*'.
11803 (balance-windows-2): Remove unused variable `found'.
11804 (window--state-put-2): Remove unused variable `splits'.
11805 (window-state-put): Remove unused variable `selected'.
11806 (same-window-p): Use `string-match-p'.
11807 (display-buffer-assq-regexp): Remove unused variable `value'.
11808 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
11809 Mark argument ALIST as ignored.
11810 (pop-to-buffer): Remove unused variable `old-window'.
11811
907201af
EZ
118122012-01-29 Eli Zaretskii <eliz@gnu.org>
11813
11814 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
11815 and .lzma compressed files.
11816
ea162670
CY
118172012-01-29 Chong Yidong <cyd@gnu.org>
11818
5b95ee8a
CY
11819 * frame.el (window-system-default-frame-alist): Doc fix.
11820
ea162670
CY
11821 * dynamic-setting.el (font-setting-change-default-font): Don't
11822 change the default face if SET-FONT argument is non-nil (Bug#9982).
11823
6fccd6e8 118242012-01-29 Samuel Bronson <naesten@gmail.com>
d6e6f4b1
SB
11825
11826 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
11827
0f29fa41 118282012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
11829
11830 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
11831 breakpoints in files outside current directory (Bug#6098).
11832
db174434
CY
118332012-01-29 Chong Yidong <cyd@gnu.org>
11834
6b25e4e2
SE
11835 * progmodes/python.el: Require ansi-color at top-level.
11836
6df6ae42
JB
11837 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
11838 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
11839 (lisp-mode-abbrev-table): Add doc.
11840 (lisp-mode-variables): Don't set local-abbrev-table.
11841 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
11842
e70ee681
RW
118432012-01-28 Roland Winkler <winkler@gnu.org>
11844
11845 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
11846
ace88aa2
RW
118472012-01-28 Roland Winkler <winkler@gnu.org>
11848
11849 * textmodes/bibtex.el (bibtex-entry-alist): New function.
11850 (bibtex-set-dialect): Use it. Either set global values of
11851 dialect-dependent variables or bind these variables buffer-locally
11852 (Bug#10254).
11853 (bibtex-mode): Call bibtex-set-dialect via
11854 hack-local-variables-hook.
eb864a71
LM
11855 (bibtex-dialect): Update docstring.
11856 Add safe-local-variable predicate.
ace88aa2
RW
11857 (bibtex-entry-alist, bibtex-field-alist): Initialize via
11858 bibtex-set-dialect.
11859 (bibtex-mode-map): Define menu for each dialect.
11860 (bibtex-entry): Fix docstring.
11861
93376c5b
CY
118622012-01-28 Chong Yidong <cyd@gnu.org>
11863
11864 * eshell/esh-arg.el (eshell-quote-argument): New function.
11865
11866 * eshell/esh-ext.el (eshell-invoke-batch-file):
11867 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
11868 first arg to eshell-parse-command (Bug#10523).
11869
4372494f
DA
118702012-01-28 Drew Adams <drew.adams@oracle.com>
11871
11872 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
11873 `default-directory' is non-nil.
11874
4d4ec1f8
EZ
118752012-01-28 Eli Zaretskii <eliz@gnu.org>
11876
11877 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
11878 line that displays system-configuration-options. (Bug#9924)
11879
7c188927
DA
118802012-01-28 Drew Adams <drew.adams@oracle.com>
11881
11882 * descr-text.el (describe-char): Show information about POS, in
11883 addition to information about the character at POS. Improve and
11884 update the doc string. Change "code point" to "code point in
11885 charset", to avoid confusion with the character's Unicode code
11886 point shown above that. (Bug#10129)
11887
e0da685a
EZ
118882012-01-28 Eli Zaretskii <eliz@gnu.org>
11889
11890 * descr-text.el (describe-char): Show the raw character, not only
11891 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
11892 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
11893 for the reasons.
11894
70550acf
PH
118952012-01-28 Phil Hagelberg <phil@hagelb.org>
11896
eb864a71
LM
11897 * emacs-lisp/package.el (package-install):
11898 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 11899
0ce8e868
CY
119002012-01-28 Chong Yidong <cyd@gnu.org>
11901
cb882333
JB
11902 * emacs-lisp/package.el (package-maybe-load-descriptor):
11903 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
11904 (package-maybe-load-descriptor): Use it.
11905 (package-download-transaction): Fully load required packages
11906 inside the loop, so that `require' calls work (Bug#10593).
11907 (package-install): No need to call package-initialize now.
11908
2e7f3bea
CY
119092012-01-28 Chong Yidong <cyd@gnu.org>
11910
6e9bad14
CY
11911 * simple.el (deactivate-mark): Doc fix (Bug#8614).
11912
f823b8ca
CY
11913 * tooltip.el (tooltip-mode): Doc fix.
11914 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
11915
2680c309
CY
11916 * frame.el (set-cursor-color): Doc fix (Bug#352).
11917
d7a9e63b
CY
11918 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
11919 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
11920
2e7f3bea
CY
11921 * cus-edit.el (custom-buffer-create-internal): Fix search button
11922 action (Bug#10542).
2ae01800 11923 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 11924
fc4f7a23
EW
119252012-01-27 Eduard Wiebe <usenet@pusto.de>
11926
11927 * dired.el (dired-mark-files-regexp):
11928 Include any subdirectory components. (Bug#10445)
11929
7dd37071
ML
119302012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
11931
11932 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
11933 Handle [host]:port syntax. (Bug#10533)
11934
a268160b
AH
119352012-01-27 Alex Harsanyi <harsanyi@mac.com>
11936
11937 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
11938
e43273ef
GM
119392012-01-26 Glenn Morris <rgm@gnu.org>
11940
11941 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
11942 * term.el (term-raw-escape-map): Use Control-X-prefix.
11943 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
11944
1edf595d
MR
119452012-01-25 Martin Rudalics <rudalics@gmx.at>
11946
11947 * window.el (window-state-get, window--state-get-1): Don't deal
11948 with fixed-sizeness of windows. Simplify code.
11949
fa8eafef
JC
119502012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
11951
6df6ae42
JB
11952 * window.el (window--state-get-1, window--state-put-2):
11953 Don't save and restore the mark.
fa8eafef 11954
0b21c100
CY
119552012-01-25 Chong Yidong <cyd@gnu.org>
11956
11957 * custom.el (custom-variable-p): Doc fix.
11958
5ae1a6c8
GM
119592012-01-25 Glenn Morris <rgm@gnu.org>
11960
40047858
GM
11961 * dired.el (dired-goto-file): Handle some of the more common
11962 characters that `ls -b' escapes. (Bug#10596)
11963
5ddce96c
GM
11964 * progmodes/compile.el (compilation-next-error-function):
11965 Respect compilation-first-column in the "*compilation*" buffer.
11966 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
11967
5ae1a6c8
GM
11968 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
11969
b559f1a9
GM
119702012-01-24 Glenn Morris <rgm@gnu.org>
11971
11972 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
11973
6725d21a
JD
119742012-01-24 Julien Danjou <julien@danjou.info>
11975
11976 * color.el (color-rgb-to-hsl): Fix value computing.
11977 (color-hue-to-rgb): New function.
11978 (color-hsl-to-rgb): New function.
11979 (color-clamp, color-saturate-hsl, color-saturate-name)
11980 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
11981 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
11982
70df4bbe
GM
119832012-01-24 Glenn Morris <rgm@gnu.org>
11984
11985 * vc/vc-rcs.el (vc-rcs-create-tag):
11986 * vc/vc-sccs.el (vc-sccs-create-tag):
11987 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
11988
802a2ae2
ML
119892012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
11990
11991 * eshell/esh-util.el (eshell-read-hosts-file):
11992 Skip comment lines. (Bug#10549)
11993
d7128bb1
ML
11994 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
11995
d1a5c3b4
JB
119962012-01-23 Juanma Barranquero <lekktu@gmail.com>
11997
2724d9c7
JB
11998 * subr.el (display-delayed-warnings): Doc fix.
11999 (collapse-delayed-warnings): New function to collapse identical
12000 adjacent warnings.
12001 (delayed-warnings-hook): Add it.
d1a5c3b4 12002
a5509865
MA
120032012-01-22 Michael Albinus <michael.albinus@gmx.de>
12004
12005 * net/tramp.el (tramp-action-login): Set connection property "login-as".
12006
a5509865
MA
12007 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
12008 (tramp-default-user-alist): Don't add "pscp".
12009 (tramp-do-copy-or-rename-file-out-of-band): Use connection
12010 property "login-as", if set. (Bug#10530)
12011
cc6d5805
MA
120122012-01-21 Michael Albinus <michael.albinus@gmx.de>
12013
12014 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
12015 "plink1" and "psftp". (Bug#10530)
12016
120172012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
12018
12019 * international/mule-cmds.el (prefer-coding-system): Show a
12020 warning message if the default value of file-name-coding-system
12021 was not changed.
12022
f0960428
JC
120232012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
12024
cb882333
JB
12025 * windmove.el (windmove-reference-loc):
12026 Fix windmove-reference-loc miscalculation.
f0960428 12027
dd6f2a63
JB
120282012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
12029
12030 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
12031 default unit.
12032
7b447e9b
GM
120332012-01-21 Glenn Morris <rgm@gnu.org>
12034
117a9ea1
GM
12035 * international/mule.el (auto-coding-alist): Add .tbz.
12036
7b447e9b
GM
12037 * files.el (local-enable-local-variables): Doc fix.
12038 (inhibit-local-variables-regexps): Rename from
12039 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
12040 Doc fix. Add some extensions from auto-coding-alist.
12041 (inhibit-local-variables-suffixes):
12042 Rename from inhibit-first-line-modes-suffixes. Doc fix.
12043 (inhibit-local-variables-p):
12044 New function, extracted from set-auto-mode-1.
12045 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
12046 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
12047 (hack-local-variables): Doc fix. Make the mode-only case
12048 respect enable-local-variables and friends.
12049 Respect inhibit-local-variables-regexps for file-locals, but
12050 not for directory-locals.
12051 (set-visited-file-name):
12052 Take account of inhibit-local-variables-regexps.
12053 Whether it applies may change as the file name is changed.
12054 * jka-cmpr-hook.el (jka-compr-install):
12055 * jka-compr.el (jka-compr-uninstall):
12056 Update for inhibit-first-line-modes-suffixes name change.
12057
dd6e3cdd
MR
120582012-01-20 Martin Rudalics <rudalics@gmx.at>
12059
12060 * help-macro.el (make-help-screen): Temporarily restore original
12061 binding for minor-mode-map-alist (Bug#10454).
12062
0d0deb38
JD
120632012-01-19 Julien Danjou <julien@danjou.info>
12064
12065 * color.el (color-name-to-rgb): Use the white color to find the max
12066 color component value and return correctly computed values.
12067 (color-name-to-rgb): Add missing float conversion for max value.
12068
34a02f46
MR
120692012-01-19 Martin Rudalics <rudalics@gmx.at>
12070
12071 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
12072 special state value for window-persistent-parameters.
12073 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
12074 (window--state-put-2): Reset all window parameters to nil before
12075 assigning values of persistent parameters.
12076
606c44c4
AM
120772012-01-18 Alan Mackenzie <acm@muc.de>
12078
12079 Eliminate sluggishness and hangs in fontification of "semicolon
12080 deserts".
12081
cb882333
JB
12082 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
12083 Change value 10000 -> 3000.
606c44c4
AM
12084 (c-state-safe-place): Reformulate so it doesn't stack up an
12085 infinite number of wrong entries in c-state-nonlit-pos-cache.
12086 (c-determine-limit-get-base, c-determine-limit): New functions to
12087 determine backward search limits disregarding literals.
12088 (c-find-decl-spots): Amend commenting.
12089 (c-cheap-inside-bracelist-p): New function which detects "={".
12090
12091 * progmodes/cc-fonts.el
12092 (c-make-font-lock-BO-decl-search-function): Give a limit to a
12093 backward search.
12094 (c-font-lock-declarations): Fix an occurrence of point being
12095 undefined. Check additionally for point being in a bracelist or
12096 near a macro invocation without a semicolon so as to avoid a
12097 fruitless time consuming search for a declarator. Give a more
12098 precise search limit for declarators using the new
12099 c-determine-limit.
12100
f3860cea
GM
121012012-01-18 Glenn Morris <rgm@gnu.org>
12102
12103 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
12104 (set-auto-mode): Doc fixes.
12105
1db03b16
GM
121062012-01-17 Glenn Morris <rgm@gnu.org>
12107
0e6038be
GM
12108 * isearch.el (search-nonincremental-instead): Fix doc typo.
12109
1db03b16
GM
12110 * dired.el (dired-insert-directory): Handle newlines in directory name.
12111 (dired-build-subdir-alist): Unescape newlines in directory name.
12112
4cb0aa75
MA
121132012-01-17 Michael Albinus <michael.albinus@gmx.de>
12114
12115 * net/tramp.el (tramp-local-end-of-line): New defcustom.
12116 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
12117 (tramp-action-terminal): Use it. (Bug#10530)
12118
1d00653d
SM
121192012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
12120
12121 * minibuffer.el (completion--replace): Strip properties (bug#10062).
12122
6a6ee00d
MR
121232012-01-16 Martin Rudalics <rudalics@gmx.at>
12124
12125 * window.el (window-state-ignored-parameters): Remove variable.
12126 (window--state-get-1): Rename argument MARKERS to IGNORE.
12127 Handle persistent window parameters. Make copy of clone-of
12128 parameter only if requested. (Bug#10348)
12129 (window--state-put-2): Install a window parameter only if it has
12130 a non-nil value or an existing parameter shall be overwritten.
12131
97912def
MA
121322012-01-15 Michael Albinus <michael.albinus@gmx.de>
12133
12134 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
12135
688070a5
EZ
121362012-01-14 Eli Zaretskii <eliz@gnu.org>
12137
12138 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
12139 don't pass the (nil) value of `upnode' to string-match.
12140
301afadc
CY
121412012-01-14 Chong Yidong <cyd@gnu.org>
12142
12143 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 12144 Fix values recognized by the cursorBlink resource.
301afadc 12145
9e5788aa
PE
121462012-01-14 Paul Eggert <eggert@cs.ucla.edu>
12147
12148 * epg.el (epg--make-temp-file): Avoid permission race condition
12149 when running on old Emacs versions (bug#10403).
12150
3cdb7f5a
GM
121512012-01-14 Glenn Morris <rgm@gnu.org>
12152
12153 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
12154
8c82b1b4
AM
121552012-01-13 Alan Mackenzie <acm@muc.de>
12156
12157 Fix filling for when filladapt mode is enabled.
12158
12159 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
12160 c-mask-paragraph, pass in `fill-paragraph' rather than
12161 `fill-region-as-paragraph'. (This is a reversion of a previous
12162 change.)
eb864a71
LM
12163 * progmodes/cc-mode.el (c-basic-common-init):
12164 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 12165
e517eda4
GM
121662012-01-13 Glenn Morris <rgm@gnu.org>
12167
1498536e
GM
12168 * dired.el (dired-switches-escape-p): New function.
12169 (dired-insert-directory): Use dired-switches-escape-p.
12170 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
12171
e517eda4
GM
12172 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
12173
328f984d
GM
121742012-01-12 Glenn Morris <rgm@gnu.org>
12175
12176 * mail/sendmail.el (mail-mode): Update paragraph-separate for
12177 changes in adaptive-fill-regexp. (Bug#10276)
12178
2cc769a8
AM
121792012-01-11 Alan Mackenzie <acm@muc.de>
12180
12181 Fix Emacs bug #10463 - put `widen's around the critical spots.
12182
1d00653d 12183 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
12184 widen around each invocation of c-state-pp-to-literal. Remove an
12185 unused let variable.
12186
e52c37fa
GM
121872012-01-11 Glenn Morris <rgm@gnu.org>
12188
12189 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 12190 Doc fix.
e52c37fa 12191
96f8741e
CY
121922012-01-10 Chong Yidong <cyd@gnu.org>
12193
1d00653d
SM
12194 * net/network-stream.el (network-stream-open-starttls):
12195 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
12196 response to the capability command.
12197
b09a806e
GM
121982012-01-10 Glenn Morris <rgm@gnu.org>
12199
12200 * mail/unrmail.el (unrmail): Tweak previous change.
12201
7655cb66
CY
122022012-01-09 Chong Yidong <cyd@gnu.org>
12203
12204 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
12205
9d5a8f0b
AM
122062012-01-08 Alan Mackenzie <acm@muc.de>
12207
12208 Optimise font locking in long enum definitions.
12209
12210 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
12211 arm to a cond form to handle enums.
12212 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
12213 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
12214
9a0115ab 122152012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
12216
12217 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 12218 (Bug#10401)
6bb72cbd 12219
f186bb95
LMI
122202012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
12221
29232a68
LMI
12222 * faces.el (set-face-attribute): Clarify the meaning of the nil
12223 frame (bug#10294).
12224
4e5d086d
LMI
12225 * subr.el (with-selected-frame): Mention that the selected frame
12226 is restored (bug#9980).
12227
8e66aebe
LMI
12228 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
12229 (bug#9759).
12230
cd394be1 12231 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
12232 (password-read): Don't autoload unused function.
12233
adf4e762
JB
122342012-01-07 Juanma Barranquero <lekktu@gmail.com>
12235
12236 * progmodes/which-func.el (which-func-mode): Turn into a
12237 non-interactive function and mark as obsolete (bug#10428).
12238
89bd9ccd
CY
122392012-01-06 Chong Yidong <cyd@gnu.org>
12240
12241 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
12242 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
12243 functions, along with 1 and -1.
12244
4afee9d5
EZ
122452012-01-06 Eli Zaretskii <eliz@gnu.org>
12246
12247 * time.el (display-time-load-average)
12248 (display-time-default-load-average): Doc fixes. See the thread
12249 starting at
12250 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
12251 for the details.
12252
536aea70
GM
122532012-01-06 Glenn Morris <rgm@gnu.org>
12254
665ae865
GM
12255 * mail/unrmail.el (unrmail): Give an explicit error if the input file
12256 has no messages. (Bug#10377)
12257
c869783d
GM
12258 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
12259 than Info-edit. (Bug#10385)
12260
2bb4227e
GM
12261 * time.el (display-time-load-average, display-time-next-load-average):
12262 Doc fixes.
12263
7d5944b9
GM
12264 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
12265 local setting of buffer-read-only to the input buffer. (Bug#10419)
12266
536aea70
GM
12267 * calendar/calendar.el (calendar-mode):
12268 Locally set scroll-margin to 0. (Bug#10379)
12269
7dccca16
UM
122702012-01-06 Ulrich Mueller <ulm@gentoo.org>
12271
12272 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
12273
afbb7930
GM
122742012-01-05 Glenn Morris <rgm@gnu.org>
12275
12276 * eshell/em-unix.el (diff-no-select): Autoload it.
12277 (eshell/diff): Use diff-no-select. (Bug#10420)
12278
04482335
CY
122792012-01-05 Chong Yidong <cyd@gnu.org>
12280
7baca3bc
CY
12281 * shell.el (shell-dynamic-complete-functions): Revert last change.
12282 (shell-command-completion-function): New function.
12283 (shell-completion-vars): Use it to implement
12284 shell-completion-execonly (Bug#10417).
12285
04482335
CY
12286 * custom.el (enable-theme): Don't set custom-safe-themes.
12287
1d00653d
SM
12288 * cus-theme.el (custom-theme-merge-theme):
12289 Ignore custom-enabled-themes and custom-safe-themes.
04482335 12290
bb5aa5d6
MM
122912012-01-05 Michael R. Mauger <mmaug@yahoo.com>
12292
12293 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
12294 first prompt in `sql-interacive-mode'.
12295 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 12296 keywords.
6df6ae42 12297 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
12298 (sql-product-interactive): Bug fix: Set `sql-buffer' in
12299 context of original buffer. Invoke `sql-login-hook'.
12300
a7183d7c
EZ
123012012-01-04 Eli Zaretskii <eliz@gnu.org>
12302
12303 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
12304 letters in cite-prefix.
12305
a1eacd1e
LMI
123062012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12307
12308 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
12309
787cdb34
CY
123102012-01-03 Chong Yidong <cyd@gnu.org>
12311
1d00653d
SM
12312 * shell.el (shell-dynamic-complete-functions):
12313 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
12314 comint-filename-completion first (Bug#10417).
12315
30710442
RS
123162012-01-02 Richard Stallman <rms@gnu.org>
12317
12318 * battery.el (battery-status-function):
12319 Detect when to use battery-yeeloong-sysfs.
12320 (battery-echo-area-format): Add string for Yeeloong.
12321 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
12322 (battery-yeeloong-sysfs): New function.
12323
f75bfc33
CY
123242012-01-02 Chong Yidong <cyd@gnu.org>
12325
12326 * dirtrack.el (dirtrack-list): Eliminate unused third element.
12327 (dirtrack): Merge code for handling relative filenames in prompt
12328 from shell-dir-cookie-watcher.
12329 (dirtrack-debug-message): New arg to avoid excess format calls.
12330
12331 * shell.el (shell-dir-cookie-re): Variable deleted.
12332 (shell-dir-cookie-watcher): Function deleted.
12333 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
12334 with dirtrack-mode.
12335
651e947e
EZ
123362012-01-01 Eli Zaretskii <eliz@gnu.org>
12337
1d00653d
SM
12338 * term/w32-win.el (dynamic-library-alist) <gnutls>:
12339 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
12340 libgnutls-26.dll.
12341
94d4c7dc
AS
123422011-12-31 Andreas Schwab <schwab@linux-m68k.org>
12343
12344 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
12345
8d43f3cd
EZ
123462011-12-31 Eli Zaretskii <eliz@gnu.org>
12347
12348 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
12349 headers of non-MIME messages, when rmail-enable-mime is non-nil.
12350
98c8795a
MA
123512011-12-29 Michael Albinus <michael.albinus@gmx.de>
12352
12353 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
12354 also for alternative shells.
12355 (tramp-open-connection-setup-interactive-shell): Check, whether
12356 the shell is a busybox.
12357 (tramp-send-command): Don't suppress multiple prompts for
12358 busyboxes, it hurts.
12359
51281b32
CY
123602011-12-28 Chong Yidong <cyd@gnu.org>
12361
12362 * progmodes/gdb-mi.el (gdb-get-source-file-list)
12363 (gdb-get-source-file): Move mode line update to
12364 gdb-get-source-file (Bug#10087).
12365
2170cb53
CY
123662011-12-25 Chong Yidong <cyd@gnu.org>
12367
12368 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
12369 gud-gdb-marker-filter without taking it as an argument.
12370 (gud-gdb-run-command-fetch-lines): Caller changed.
12371 (gud-gdb-completion-function): New variable.
12372 (gud-gdb-completion-at-point): Use it.
12373 (gud-gdb-completions-1): Split from gud-gdb-completions.
12374
12375 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
12376 function as separate arguments.
12377 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
12378 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
12379 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
12380 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
12381 (gdb-stopped, def-gdb-auto-update-trigger)
12382 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
12383 (gdb-get-changed-registers, gdb-get-main-selected-frame):
12384 Callers changed.
2170cb53
CY
12385 (gud-gdbmi-completions): New function.
12386 (gdb): Use it for generating the completion table.
12387
be8b11bb
AM
123882011-12-24 Alan Mackenzie <acm@muc.de>
12389
12390 Introduce a mechanism to widen the region used in context font
1d00653d 12391 locking. Use this to protect declarations from losing their contexts.
be8b11bb 12392
1d00653d
SM
12393 * progmodes/cc-langs.el (c-before-font-lock-functions):
12394 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 12395 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
12396 functions to be run just before context (etc.) font locking.
12397
12398 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 12399 New, functionality extracted from
be8b11bb 12400 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 12401 (c-in-after-change-fontification): New variable.
be8b11bb
AM
12402 (c-after-change): Set c-in-after-change-fontification.
12403 (c-set-fl-decl-start): Rejig its interface, so it can be called
12404 from both after-change and context fontifying.
b81d40f0
JB
12405 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
12406 New functions.
12407 (c-standard-font-lock-fontify-region-function): New variable.
12408 (c-font-lock-fontify-region): New function.
be8b11bb 12409
341cf6ac
JL
124102011-12-24 Juri Linkov <juri@jurta.org>
12411
12412 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
12413 (Bug#10348)
12414
bffcee0a
MA
124152011-12-23 Michael Albinus <michael.albinus@gmx.de>
12416
12417 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
12418 existence of source file. (Bug#10325)
12419
cb5e207c
AM
124202011-12-23 Alan Mackenzie <acm@muc.de>
12421
12422 Fix unstable fontification inside templates.
12423
b81d40f0
JB
12424 * progmodes/cc-langs.el (c-before-font-lock-functions):
12425 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
12426 additionally has c-set-fl-decl-start. The other languages (apart
12427 from AWK) have that as a single entry.
12428
b81d40f0
JB
12429 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
12430 The functionality for "local" declarations has been extracted to
cb5e207c
AM
12431 c-set-fl-decl-start.
12432
b81d40f0
JB
12433 * progmodes/cc-mode.el (c-common-init, c-after-change):
12434 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
12435 (c-set-fl-decl-start): New function, extracted from
12436 c-font-lock-enclosing-decls and enhanced.
12437
60ff536c
JB
124382011-12-23 Juanma Barranquero <lekktu@gmail.com>
12439
12440 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
12441
1c4757d6
JL
124422011-12-22 Juri Linkov <juri@jurta.org>
12443
12444 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
12445
d031f2c7
CY
124462011-12-22 Chong Yidong <cyd@gnu.org>
12447
12448 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
12449
bace743a
DA
124502011-12-21 Drew Adams <drew.adams@oracle.com>
12451
12452 * files.el (file-remote-p): Fix docstring. (Bug#10319)
12453
728a1f2b
JC
124542011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
12455
12456 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
12457
0d373f73
TZ
124582011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
12459
fec0aaa4
TZ
12460 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
12461 highlighting and support. Fix up comments for capitalization.
12462 (cfengine-mode-debug): New var.
12463 (cfengine3-mode): Change the modeline indicator to "CFE3".
12464 (cfengine3-font-lock-keywords): Improve defun highlighting.
12465 (cfengine2-actions): Rename from `cfengine-actions'.
12466 (cfengine2-font-lock-keywords): Rename from
12467 `cfengine-font-lock-keywords'.
12468 (cfengine2-imenu-expression): Rename from
12469 `cfengine-imenu-expression'.
12470 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
12471 (cfengine2-beginning-of-defun): Rename from
12472 `cfengine-beginning-of-defun'.
12473 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
12474 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
12475 (cfengine2-mode): Rename from `cfengine-mode'. Change the
12476 modeline indicator to "CFE2".
12477 (cfengine-mode): Defalias to `cfengine-auto-mode'.
12478 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 12479
bc86f573
CY
124802011-12-21 Chong Yidong <cyd@gnu.org>
12481
12482 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
12483 filename argument.
12484
d45ba96b
MR
124852011-12-20 Martin Rudalics <rudalics@gmx.at>
12486
12487 * window.el (window-normalize-buffer-to-display): Remove.
12488 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
12489
a6198c90
CY
124902011-12-19 Chong Yidong <cyd@gnu.org>
12491
12492 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
12493 Don't signal an error in a predicate function; return non-nil.
12494 (vc-dir-mark-file): Move the error here.
12495 (vc-dir-mark-unmark): If acting on the region, keep going if one
12496 of the entries cannot be marked/unmarked.
12497 (vc-dir-mark-all-files): If current entry is a directory, mark
12498 only child files, as documented.
12499
34c5fb55
VB
125002011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
12501
12502 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
12503 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
12504 addition.
12505
c803b2b7
JD
125062011-12-18 Jan Djärv <jan.h.d@swipnet.se>
12507
12508 * term/ns-win.el (ns-get-selection-internal)
12509 (ns-store-selection-internal): Declare.
1154d12e
JB
12510 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
12511 Declare as obsolete.
12512 (ns-get-pasteboard, ns-paste-secondary):
12513 Use ns-get-selection-internal.
41e9b956 12514 (ns-set-pasteboard, ns-copy-including-secondary):
1154d12e 12515 Use ns-store-selection-internal.
c803b2b7 12516
9cff91f8 125172011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
12518
12519 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 12520 (vc-deduce-fileset): Doc fix.
99a289d9 12521
f16c898a
AS
125222011-12-16 Andreas Schwab <schwab@linux-m68k.org>
12523
12524 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
12525
763237c4
SS
125262011-12-13 Sam Steingold <sds@gnu.org>
12527
12528 * man.el (Man-getpage-in-background): When running under a
12529 window-system, ignore $MANWIDTH and $COLUMNS.
12530
5fc1c122
KH
125312011-12-15 Kenichi Handa <handa@m17n.org>
12532
12533 * language/ethio-util.el: Change coding tag to utf-8-emacs.
12534 (setup-ethiopic-environment-internal): Comment out key-binding for
12535 ethio-toggle-punctuation.
12536
13d49cbb
AM
125372011-12-13 Alan Mackenzie <acm@muc.de>
12538
898169a2
AM
12539 Add the switch statement to AWK Mode.
12540
7a71b18d 12541 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
12542 "default" to the keywords regexp.
12543
7a71b18d 12544 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 12545 expression as the rest.
1d00653d
SM
12546 (c-nonlabel-token-key): Allow string literals for AWK.
12547 Refactor for the other modes.
898169a2 12548
13d49cbb 12549 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 12550 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
12551 routines. Limit backward searching in c-font-lock-enclosing.decl.
12552
12553 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
12554 pp-state and literal type in addition to the limits.
1d00653d 12555 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 12556 (c-state-literal-at): Use the above new defun.
1d00653d
SM
12557 (c-slow-in-literal, c-fast-in-literal): Remove.
12558 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
12559
12560 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
12561 being in a literal. Add a limit for backward searching.
12562
12563 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
12564 c-slow-in-literal.
12565
15e0efc7
SM
125662011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
12567
12568 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
12569
454592a6
MR
125702011-12-13 Martin Rudalics <rudalics@gmx.at>
12571
12572 * window.el (delete-other-windows): Use correct frame in call to
12573 window-with-parameter.
12574
87393f26
DP
125752011-12-12 Daniel Pfeiffer <occitan@t-online.de>
12576
12577 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
12578 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
12579 (makefile-gmake-statements, makefile-makepp-statements):
12580 Use it and add new makepp keywords.
12581 (makefile-makepp-font-lock-keywords): Add new patterns.
12582 (makefile-match-function-end): Match new [...] and [[...]].
12583
11636b22
JB
125842011-12-11 Juanma Barranquero <lekktu@gmail.com>
12585
12586 * ses.el (ses-call-printer-return, ses-cell-property-get)
12587 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
12588 (ses-create-cell-variable, ses-reset-header-string)
12589 (ses-cell-set-formula, ses-repair-cell-reference-all)
12590 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
12591 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
12592 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
12593 (ses-aset-with-undo, ses-load, ses-truncate-cell)
12594 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
12595 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
12596 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
12597 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
12598 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
12599 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
12600 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
12601 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
12602
cf018193
VB
126032011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
12604
12605 * ses.el: The overall change is to add cell renaming, that is
12606 setting fancy names for cell symbols other than name matching
12607 "\\`[A-Z]+[0-9]+\\'" regexp .
12608 (ses-create-cell-variable): New defun.
12609 (ses-relocate-formula): Relocate formulas only for cells the
12610 symbols of which are not renamed, i.e. symbols whose names do not
12611 match regexp "\\`[A-Z]+[0-9]+\\'".
12612 (ses-relocate-all): Relocate values only for cells the symbols of
12613 which are not renamed.
12614 (ses-load): Create cells variables as the (ses-cell ...) are read,
12615 in order to check row col consistency with cell symbol name only
12616 for cells that are not renamed.
12617 (ses-replace-name-in-formula): New defun.
12618 (ses-rename-cell): New defun.
12619
ee957461
CY
126202011-12-11 Chong Yidong <cyd@gnu.org>
12621
12622 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
12623 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
12624
9a9e9ef0
MR
126252011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
12626
12627 * window.el (other-window): Fix docstring.
12628
92a8eba5
EZ
126292011-12-10 Eli Zaretskii <eliz@gnu.org>
12630
12631 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
12632 `from' or `to' address before taking its substring.
12633 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
12634 encoded name is chopped in the middle of the encoded string, and
12635 thus displayed encoded.
12636
e152e577
JB
126372011-12-10 Juanma Barranquero <lekktu@gmail.com>
12638
12639 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
12640
e5d84bfe
EZ
126412011-12-10 Eli Zaretskii <eliz@gnu.org>
12642
12643 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
12644 to use texinfo-update-node and commands that call it if the
12645 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 12646 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
12647 (texinfo-all-menus-update, texinfo-master-menu)
12648 (texinfo-update-node, texinfo-every-node-update)
12649 (texinfo-multiple-files-update): Doc fix. Warn against updating
12650 all the @node lines.
12651 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
12652 argument is numeric. Explain better in the doc string what the
12653 function really does.
12654 (texinfo-insert-master-menu-list): Improve the error message
12655 displayed if there's no menu in the Top node.
12656 (Bug#2975) See also this thread:
e5d84bfe
EZ
12657 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
12658
1d84e9bb
MG
126592011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
12660
12661 * speedbar.el (speedbar-supported-extension-expressions):
12662 Add .adb and .ads, commonly used for Ada source code (bug#10256).
12663
382c953b
JB
126642011-12-09 Juanma Barranquero <lekktu@gmail.com>
12665
12666 * printing.el (pr-mode-alist):
12667 * simple.el (filter-buffer-substring-functions)
12668 (completion-list-insert-choice-function):
12669 * window.el (window-with-parameter, window-atom-root)
12670 (window-sides-slots, window-size-fixed, window-min-delta)
12671 (window-max-delta, window--resize-mini-window)
12672 (window--resize-child-windows-normal, window-tree)
12673 (delete-other-windows, quit-window, split-window)
12674 (display-buffer-record-window, special-display-buffer-names)
12675 (special-display-regexps, special-display-popup-frame)
12676 (same-window-p, split-window-sensibly)
12677 (display-buffer-overriding-action, display-buffer-alist)
12678 (display-buffer-base-action, display-buffer, switch-to-buffer)
12679 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
12680 (fit-window-to-buffer, recenter-positions)
12681 (mouse-autoselect-window-state, mouse-autoselect-window-select):
12682 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
12683 and remove unneeded backslashes in docstrings.
12684
39c9faef
SM
126852011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
12686
98449af8
SM
12687 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
12688
39c9faef
SM
12689 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
12690 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
12691 end in ".mk".
12692 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
12693 when reading the makefile (bug#10116).
12694
86ed9fdc
SM
126952011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
12696
12697 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
12698 (bug#10116).
12699
5580f89d
GM
127002011-12-06 Glenn Morris <rgm@gnu.org>
12701
12702 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
12703
28d3917c
CY
127042011-12-06 Chong Yidong <cyd@gnu.org>
12705
12706 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
12707
a98edce9
JB
127082011-12-06 Juanma Barranquero <lekktu@gmail.com>
12709
12710 * textmodes/table.el (table-shorten-cell): Fix typo.
12711
e65adfac
CG
127122011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
12713
12714 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
12715
71cc0b74
EZ
127162011-12-05 Eli Zaretskii <eliz@gnu.org>
12717
12718 * descr-text.el (describe-char): Fix display of strong
12719 right-to-left characters and directional embeddings and overrides.
12720
12721 * simple.el (what-cursor-position): Fix display of codepoints of
12722 strong right-to-left characters.
12723
315bc30d
CY
127242011-12-05 Chong Yidong <cyd@gnu.org>
12725
12726 * faces.el (read-color): Doc fix.
12727
58a70b94
GM
127282011-12-05 Glenn Morris <rgm@gnu.org>
12729
12730 * align.el (align--set-marker): Add doc-string.
12731 Don't try to move something that is not a marker. (Bug#10216)
12732
5158face
GM
127332011-12-04 Glenn Morris <rgm@gnu.org>
12734
12735 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
12736 overly zealous deletion of trailing whitespace.
12737
520fca41
JB
127382011-12-04 Juanma Barranquero <lekktu@gmail.com>
12739
12740 * server.el (server-delete-client): On Windows, do not try to delete
12741 the only terminal.
12742 (server-process-filter): On Windows, treat requests for a tty frame as
12743 if they were for a GUI frame if the running server is in GUI mode.
12744
5e605a2e
GM
127452011-12-03 Glenn Morris <rgm@gnu.org>
12746
12747 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
12748
5c3fe83f
SM
127492011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
12750
6f5e57e7
SM
12751 * electric.el: Streamline electric-indent's hook.
12752 (electric-indent-chars): Revert to simple list.
12753 (electric-indent-functions): New var.
12754 (electric-indent-post-self-insert-function): Use it.
12755
5c3fe83f
SM
12756 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
12757 there's no inferior buffer (bug#10196).
12758 (prolog-consult-compile): Don't use toggle-read-only.
12759
6bdac736
MA
127602011-12-02 Michael Albinus <michael.albinus@gmx.de>
12761
12762 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
12763 interrupt. (Bug#10187)
12764
6131ba7f
SM
127652011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
12766
99c79fee
SM
12767 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
12768 (bug#9160).
12769
6131ba7f
SM
12770 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
12771 (bug#10191).
12772
cb0a02ea
JL
127732011-12-02 Juri Linkov <juri@jurta.org>
12774
12775 * info.el (Info-search): Display "end of manual" when Isearch
12776 reaches the end of single-file Info manual. (Bug#9918)
12777
66e0570c
EZ
127782011-12-02 Eli Zaretskii <eliz@gnu.org>
12779
12780 * isearch.el (isearch-message-prefix): Run the input method part
12781 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
12782
02b16839
JL
127832011-12-02 Juri Linkov <juri@jurta.org>
12784
12785 * isearch.el (isearch-occur): Use `word-search-regexp' for
12786 `isearch-word'.
12787 (isearch-search-and-update): Add condition for `isearch-word' and
12788 call `word-search-regexp'. (Bug#10145)
12789
0b950688
GM
127902011-12-01 Glenn Morris <rgm@gnu.org>
12791
12792 * eshell/em-hist.el (eshell-hist-initialize):
12793 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 12794 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 12795
9505c3c7
SM
127962011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
12797
12798 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
12799
1bbe96b2 128002011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 12801
a1beca85
SM
12802 * progmodes/verilog-mode.el (verilog-pretty-expr):
12803 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
12804 verilog, such as += *= and the like.
12805 (verilog-assignment-operator-re): Regular expression to find the
12806 assigment operator in a verilog assignment.
12807 (verilog-assignment-operation-re): Regular expression to find an
12808 assignment statement for pretty-expr.
12809 (verilog-in-attribute-p): Query returns true if point is in an
12810 attribute context; used to skip these for expression line up from
12811 pretty-expr.
12812 (verilog-in-parameter-p): Query returns true if point is in an
12813 parameter definition context; used to skip these for expression
12814 line up from pretty-expr.
12815 (verilog-in-parenthesis-p): Query returns true if point is in a
12816 parenthetical expression, specifically ( ) but not [ ] or { };
12817 used by pretty-expr.
12818 (verilog-just-one-space): If there is no space, don't add one.
12819 (verilog-get-lineup-indent-2): Specifically skip just attribute
12820 contexts for expression lineup, rather than skipping all
12821 parenthetical expressions.
12822 (verilog-calculate-indent): Fix comment, and fix indent.
12823 (verilog-do-indent): Indent declarations in lists (suggested by
12824 Joachim Lechner).
12825 (verilog-mode-abbrev-table): Populate abbrev mode with the various
12826 skeleton items.
12827 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
12828 by Alain Mellan).
12829
1bbe96b2 128302011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
12831
12832 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
12833 parameters with embedded comments. Reported by Ray Stevens.
12834 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
12835 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
12836 Reported by Tim Holt.
12837 (verilog-auto): Fix AUTOing a upper module then AUTOing module
12838 instantiated by upper module causing wrong expansion until AUTOed a
12839 second time. Reported by K C Buckenmaier.
12840 (verilog-diff-auto): Fix showing .* as a difference when
12841 `verilog-auto-star-save' off. Reported by Dan Dever.
12842 (verilog-auto-reset, verilog-read-always-signals)
12843 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
12844 temporary signals in reset list if
12845 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
12846 style to each signal's assignment type, bug381.
12847 Reported by Thomas Esposito.
6288f0ca
WS
12848 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
12849 (verilog-uvm-statement-re): Support UVM indentation and
12850 highlighting, with old OVM keywords only.
a1beca85 12851 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
12852 Support AUTOTIEOFF creating non-wire data types.
12853 Suggested by Jonathan Greenlaw.
6288f0ca
WS
12854 (verilog-auto-insert-lisp, verilog-delete-to-paren)
12855 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
12856 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
12857 (verilog-read-sub-decls, verilog-read-sub-decls-line):
12858 Fix mismatching parenthesis inside commented out code when deleting
382c953b 12859 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
12860 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
12861 non-numeric vector width. Reported by Alex Reed.
12862 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 12863 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
12864 (verilog-auto-delete-trailing-whitespace):
12865 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
12866 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
12867 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
12868 Fix verilog-scan-cache corruption when running user AUTO expansion
12869 hooks that call indentation routines.
12870 (verilog-simplify-range-expression): Fix typo ignoring lower case
12871 identifiers.
12872 (verilog-delete-auto): Fix delete-autos to also remove user created
12873 automatics, as long as they start with AUTO.
12874 (verilog-batch-diff-auto, verilog-diff-auto)
12875 (verilog-diff-function): Add `verilog-diff-auto' and bind to
12876 "C-c?" to report differences in AUTO expansion, ignoring spaces.
12877 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
12878 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
12879 (verilog-re-search-forward-quick, verilog-syntax-ppss):
12880 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
12881 is disabled and its cache will get corrupt, causing AUTOS not to
12882 expand. Instead use only -quick functions.
12883 (verilog-scan-region): Fix scanning over escaped quotes.
12884 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
12885 (verilog-re-search-backward-quick)
12886 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
12887 related functions now ignore strings, to fix misparsing of strings
12888 with magic comments embedded in them.
a1beca85
SM
12889 (verilog-read-auto-template):
12890 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
12891 Reported by Brad Dobbie.
12892 (verilog-read-auto-template):
12893 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 12894 Reported by Brad Dobbie.
6288f0ca
WS
12895 (verilog-auto-inst, verilog-auto-inst-param)
12896 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
12897 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
12898 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
12899 debugging templates without merge conflicts, bug357.
12900 Reported by Brad Dobbie.
12901 (verilog-read-auto-template):
12902 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
12903 Reported by Brad Dobbie.
12904 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
12905 abbrevs so user won't be asked to save.
12906 (verilog-read-auto-lisp-present): Fix to start at beginning of
12907 buffer in case called outside of verilog-auto.
12908 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
12909 to "X-2". Reported by Matthew Myers.
12910 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
12911 all inputs from module templates. Reported by Leith Johnson.
12912 (verilog-module-inside-filename-p): Fix locating programs as with
12913 modules.
12914 (verilog-auto-inst-port): Fix vl-width expressions when using
12915 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
12916 (verilog-decls-get-regs, verilog-decls-get-signals,
12917 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
12918 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
12919 verilog-read-decls): Combine reg and wire structures into one var
12920 structure to represent SystemVerilog concepts.
12921 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
12922 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
12923 (verilog-auto-wire-type, verilog-insert-definition):
12924 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
12925 SystemVerilog "logic" keyword instead of "wire"/"reg".
12926 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
12927 to declares outputs that also have assignments (presumably in an
a1beca85
SM
12928 ifdef or generate if so there's not a driver conflict).
12929 Reported by Matthew Myers.
12930 (verilog-auto-declare-nettype, verilog-insert-definition):
12931 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
12932 `default_nettype none. Reported by Julian Gorfajn.
12933 (verilog-read-always-signals-recurse, verilog-read-decls)
12934 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
12935 malformed end statement, bug325. Reported by Joshua Wise and
12936 Andrew Drake.
12937 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
12938 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
12939 when expanding .* in interfaces, bug320.
12940 Reported by Pierre-David Pfister.
6288f0ca 12941 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
12942 name and open parenthesis, bug317.
12943 Reported by Pierre-David Pfister.
6288f0ca
WS
12944 (verilog-simplify-range-expression): Fix simplification of
12945 multiplications inside AUTOWIRE connections, bug303.
12946 (verilog-auto-inst-port): Support parameter expansion in
12947 multidimensional arrays.
12948 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
12949 after "assert property". Reported by Julian Gorfajn.
12950 (verilog-simplify-range-expression): Fix "couldn't merge" errors
12951 with multiplication, bug303.
12952 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
12953 Reported by Jan Frode Lonnum.
12954
1bbe96b2
GM
129552011-11-30 Juanma Barranquero <lekktu@gmail.com>
12956
12957 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
12958 (hfy-shell-file-name, hfy-shell):
12959 * international/fontset.el (x-decompose-font-name): Fix typos.
12960
129612011-11-29 Ken Brown <kbrown@cornell.edu>
12962
12963 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
12964 (gdb-version): Remove defvar.
12965 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
12966 (gdb-gud-context-command, gdb-non-stop-handler)
12967 (gdb-current-context-command, gdb-stopped): Use it.
12968 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
12969 (gdb-non-stop-handler): Don't enable pretty-printing here.
12970 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
12971 non-stop mode. Use the following.
12972 (gdb-check-target-async): New defun.
12973 (gud-watch, gdb-stopped): Fix whitespace.
12974 (gdb-get-source-file): Don't try to display the source file if
12975 `gdb-main-file' is nil.
12976
129772011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
12978
12979 * align.el: Try to generate fewer markers (bug#10047).
12980 (align--set-marker): New macro.
12981 (align-region): Use it.
12982
c935221f
SM
129832011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
12984
12985 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
12986
e70b5064
CY
129872011-11-29 Chong Yidong <cyd@gnu.org>
12988
12989 * indent.el (indent-for-tab-command, indent-according-to-mode):
12990 Doc fix.
12991 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
12992
f3af92b7
MA
129932011-11-29 Michael Albinus <michael.albinus@gmx.de>
12994
12995 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
12996 aware of remote file names. (Bug#10124)
12997
ed472be9
CY
129982011-11-29 Chong Yidong <cyd@gnu.org>
12999
13000 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
13001
24510c22
SM
130022011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
13003
13004 * files.el (find-file): Don't use force-same-window (bug#10144).
13005 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
13006 use pop-to-buffer if the selected window can't be used.
13007 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
13008
c60c3703
EZ
130092011-11-28 Eli Zaretskii <eliz@gnu.org>
13010
13011 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
13012 special-mode-map.
13013
e95def75
CY
130142011-11-28 Chong Yidong <cyd@gnu.org>
13015
13016 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
13017
c3f1c606
NR
130182011-11-27 Nick Roberts <nickrob@snap.net.nz>
13019
13020 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
13021 gdb-get-source-file-list on gdb-create-source-file-list.
13022
00db469c
EZ
130232011-11-26 Eli Zaretskii <eliz@gnu.org>
13024
13025 * whitespace.el (whitespace-newline): Use a different foreground
13026 color for 16-color light-background displays.
13027
4ad3bc2a
CY
130282011-11-24 Chong Yidong <cyd@gnu.org>
13029
13030 * window.el (display-buffer--special-action): Doc fix.
13031
e9fce1ac
JB
130322011-11-25 Juanma Barranquero <lekktu@gmail.com>
13033
13034 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
13035 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
13036 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
13037 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
13038 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
13039 (avl-tree-stack-first):
13040 * emacs-lisp/cconv.el (cconv--analyse-use):
13041 * net/gnutls.el (gnutls-negotiate): Fix typos.
13042
cb825e5d
GM
130432011-11-24 Glenn Morris <rgm@gnu.org>
13044
3adbe224
GM
13045 * lpr.el (lpr-windows-system, lpr-lp-system):
13046 * mail/binhex.el (binhex-begin-line):
13047 * progmodes/grep.el (grep-history, grep-find-history):
13048 * textmodes/flyspell.el:
13049 * vc/pcvs-defs.el (cvs-global-menu):
13050 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
13051 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
13052 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
13053
321decc8
GM
13054 * net/tls.el: Fix case of "GnuTLS".
13055
420b63ad
GM
13056 * paths.el (rmail-file-name): Format doc-string for make-docfile.
13057
cb825e5d
GM
13058 * version.el (emacs-build-system): Give it a doc-string.
13059
a0649f08
JL
130602011-11-24 Juri Linkov <juri@jurta.org>
13061
13062 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
13063
c0bc0fd4
GM
130642011-11-24 Glenn Morris <rgm@gnu.org>
13065
13066 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
13067 if called on a non-mime message just toggle the headers. (Bug#8006)
13068
20db1522
JB
130692011-11-24 Juanma Barranquero <lekktu@gmail.com>
13070
13071 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
13072 (allout-lead-with-comment-string, allout-structure-deleted-hook)
13073 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
13074 (allout-rebullet-heading, allout-open-sibtopic)
13075 (allout-toggle-current-subtree-encryption)
13076 (allout-toggle-subtree-encryption, allout-encrypt-string)
13077 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
13078 (allout-distinctive-bullets-string, allout-auto-activation):
13079 * window.el (window-normalize-buffer-to-display):
13080 * progmodes/verilog-mode.el (verilog-batch-indent):
13081 * textmodes/bibtex.el (bibtex-field-braces-opt)
13082 (bibtex-field-strings-opt):
13083 * vc/cvs-status.el (cvs-tree-merge):
13084 Fix typos.
13085
7262a87c
MA
130862011-11-23 Michael Albinus <michael.albinus@gmx.de>
13087
13088 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
13089 `non-essential' to t, in order to avoid remote connections.
13090
283430a1
EZ
130912011-11-23 Eli Zaretskii <eliz@gnu.org>
13092
a1beca85
SM
13093 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
13094 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
13095 case-insensitively.
13096
d2992a38
ML
130972011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
13098
13099 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
13100
50419064
GM
131012011-11-23 Glenn Morris <rgm@gnu.org>
13102
da94eca1
GM
13103 * paths.el (rmail-file-name): Reformat the doc-string so that it
13104 is picked up.
13105
9aac4de2
GM
13106 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
13107 (rmail-auto-file): Ignore case in the "special" field names,
13108 as mail-fetch-field does for all others.
13109
8038d2d2
GM
13110 * mail/rmail.el (rmail-forward):
13111 * mail/rmailkwd.el (rmail-set-label):
13112 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
13113 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
13114
f3fe222a
GM
13115 * mail/rmail.el (rmail-current-message): Doc fix.
13116
50419064
GM
13117 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
13118
28109f49
SM
131192011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
13120
13121 * server.el (server-eval-and-print): Allow C-g (bug#6585).
13122
394c65f1
GM
131232011-11-22 Glenn Morris <rgm@gnu.org>
13124
13125 * mail/rmailmm.el (test-rmail-mime-handler)
13126 (test-rmail-mime-bulk-handler)
13127 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
13128
f2a0aa3a
JL
131292011-11-21 Juri Linkov <juri@jurta.org>
13130
1154d12e
JB
13131 * calc/calc.el (calc-read-key-sequence):
13132 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 13133
9c34a344
LMI
131342011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13135
13136 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
13137 Tell the caller that the next line needs recomputation, even
13138 though it doesn't start a sexp (bug#10094).
13139
f04a3be9
SM
131402011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
13141
13142 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
13143
7978747f
SM
131442011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
13145
f04a3be9
SM
13146 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
13147 Use force-same-window.
7978747f 13148
fe7a3057
JB
131492011-11-20 Juanma Barranquero <lekktu@gmail.com>
13150
13151 * descr-text.el (describe-char-unicode-data):
13152 * json.el (json-string-escape):
13153 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
13154 (Footnote-unicode, Footnote-style-p):
13155 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
13156
24901d61
CY
131572011-11-20 Chong Yidong <cyd@gnu.org>
13158
13159 * window.el (replace-buffer-in-windows): Restore interactive spec.
13160
bac7ff22
SM
131612011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
13162
24f3d7b9
SM
13163 * electric.el (electric-indent-mode): Fix last change (too optimistic).
13164
bac7ff22
SM
13165 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
13166 (byte-compile-global-not-obsolete-vars): New var.
13167 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
13168 Use it.
13169 (byte-compile-warn-obsolete): Align text with the one in *Help*.
13170
cd1181db
JB
131712011-11-20 Juanma Barranquero <lekktu@gmail.com>
13172
13173 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
13174 * progmodes/pascal.el (electric-pascal-equal):
13175 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
13176 * xml.el (xml-substitute-special): Fix typos.
13177
7fb18e9e
GM
131782011-11-20 Glenn Morris <rgm@gnu.org>
13179
13180 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
13181 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
13182 Doc fixes.
13183 (rmail-decode-mime-charset): Mark as obsolete.
13184
13185 * mail/rmailsum.el (rmail-message-regexp-p-1):
13186 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
13187 Before using mime functions, check they are set. (Bug#10077)
13188
d5a6b3ba
JL
131892011-11-19 Juri Linkov <juri@jurta.org>
13190
13191 * info.el (Info-finder-find-node): Use `package--builtins' instead
13192 of `package-alist'. Use node names formed by the pattern "Keyword "
13193 and the keyword name.
13194
e981b61f
AS
131952011-11-19 Andreas Schwab <schwab@linux-m68k.org>
13196
1d00653d 13197 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 13198
3ffbc301
JL
131992011-11-19 Juri Linkov <juri@jurta.org>
13200
13201 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
13202 that calls `revert-buffer' on all Info buffers. (Bug#9915)
13203 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
13204 `old-history', `old-history-forward'. Add let-binding
13205 `window-selected'. Remove calls to `kill-buffer',
13206 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
13207 before calling `Info-find-node', so `Info-find-node-2' will reread
13208 the Info file. Restore window positions only when `window-selected'
13209 is non-nil.
13210
30c62133
JL
132112011-11-19 Juri Linkov <juri@jurta.org>
13212
13213 * isearch.el (isearch-lazy-highlight-new-loop):
13214 Remove condition `(not isearch-error)'. (Bug#9918)
13215
13216 * misearch.el (multi-isearch-search-fun): Add condition
13217 `(not bound)' to ignore lazy-highlighting search.
13218 Add the search-failed message "end of multi" when the end of
13219 multi-sequence is reached. Uncapitalize the search-failed
13220 message "Repeat for next buffer".
13221
13222 * info.el (Info-search): Add the search-failed message
13223 "end of the manual" when the end of the manual is reached
13224 in Isearch mode.
13225
645ca9cf
JL
132262011-11-19 Juri Linkov <juri@jurta.org>
13227
13228 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
13229 Use non-destructive `remove' instead of `delete' because
13230 `Info-history-list' stored to `Info-isearch-initial-history-list' in
13231 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
13232
df754f66
JL
132332011-11-19 Juri Linkov <juri@jurta.org>
13234
13235 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
13236 to nil instead of binding `search-ring' and `regexp-search-ring'.
13237 (Bug#9185)
13238
0e23d96a
EZ
132392011-11-19 Eli Zaretskii <eliz@gnu.org>
13240
13241 * simple.el (line-move): Force movement by logical lines for any
13242 hscrolled window, not only when auto-hscroll-mode is on.
13243 (line-move-visual): Update doc string to that effect. (Bug#10076)
13244
8a6ccb66
AS
132452011-11-19 Andreas Schwab <schwab@linux-m68k.org>
13246
13247 * language/european.el (macintosh): Define as alias for mac-roman.
13248
49ae5b39
EZ
132492011-11-19 Eli Zaretskii <eliz@gnu.org>
13250
13251 * mail/rmailmm.el (rmail-mime-display-header)
13252 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
13253 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
13254 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
13255 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
13256 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
13257 of a raw aref.
13258 (rmail-mime-entity-segment): To get past the tagline, move forward
13259 2 more lines, to account for the 2 empty lines that precede and
13260 follow the line with the buttons.
13261 (rmail-mime-update-tagline): Move one more line, to get past the
13262 empty line that follows the buttons in the tagline. (Bug#9520)
13263
c56cad4a
MR
132642011-11-19 Martin Rudalics <rudalics@gmx.at>
13265
13266 * window.el (window-max-delta-1, window-min-delta-1)
13267 (window-min-size-1, window-state-get-1, window-state-put-1)
13268 (window-state-put-2): Use "window--" prefix.
13269
cbe71af3
SM
132702011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
13271
2ad52c60
SM
13272 * emacs-lisp/smie.el: Improve warnings and conflict detection.
13273 (smie-warning-count): New var.
13274 (smie-set-prec2tab): Use it.
13275 (smie-bnf->prec2): Improve warnings. Add docstring.
13276 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
13277 (smie-bnf--set-class): New function.
13278 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
13279 corner case.
13280
6944dbc1
SM
13281 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
13282 (compilation-error-properties, compilation-move-to-column):
13283 Handle compilation-first-column while in the target buffer.
13284
c400c4d7
SM
13285 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
13286 Don't hardcode point-min==1.
13287
6dbe3e96
SM
13288 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
13289 (eshell-rewrite-for-command): Remove workaround.
13290 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
13291 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
13292 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
13293
cbe71af3
SM
13294 * files-x.el (modify-file-local-variable): Obey commenting conventions.
13295
a8e1496d
GM
132962011-11-17 Glenn Morris <rgm@gnu.org>
13297
13298 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
13299 Ignore buffer-local generated-autoload-file if it is the same
13300 as the global value. (Bug#10049)
13301
df85d315
JB
133022011-11-17 Juanma Barranquero <lekktu@gmail.com>
13303
13304 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
13305 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
13306 (reftex-toc-previous-heading, reftex-toc-max-level)
13307 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
13308 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
13309 (reftex-toc-do-promote, reftex-toc-promote-prepare)
13310 (reftex-toc-promote-action, reftex-toc-extract-section-number)
13311 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
13312 (reftex-toc-rename-label, reftex-toc-visit-location)
13313 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
13314 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
13315 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
13316 leaving "*toc*" only for references to the buffer.
13317
a0c2d0ae
MR
133182011-11-17 Martin Rudalics <rudalics@gmx.at>
13319
13320 * window.el (window-resize, delete-window, split-window):
13321 Replace window-splits by window-combination-resize.
1d00653d 13322 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 13323
35c0bac8
GM
133242011-11-17 Glenn Morris <rgm@gnu.org>
13325
13326 * progmodes/sh-script.el (sh-font-lock-keywords-var):
13327 Make bash entry derive from sh entry, not shell entry.
13328
d0c8fc8a
MA
133292011-11-16 Michael Albinus <michael.albinus@gmx.de>
13330
7262a87c
MA
13331 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
13332 local file name.
13333
7877f373
JB
133342011-11-16 Juanma Barranquero <lekktu@gmail.com>
13335
13336 * menu-bar.el (menu-bar-file-menu):
13337 * printing.el (pr-ps-utility):
13338 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
13339 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
13340 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
13341 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
13342 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
13343 (icalendar--convert-cyclic-to-ical)
13344 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
13345 (icalendar--convert-ical-to-diary)
13346 (icalendar--convert-recurring-to-diary)
13347 (icalendar--convert-non-recurring-all-day-to-diary)
13348 (icalendar-import-format-sample):
13349 * progmodes/idlw-shell.el (idlwave-shell-mode):
13350 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
13351 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
13352 (vhdl-ps-print-init): Fix typos.
13353
10649b82
KM
133542011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
13355
9d0cfcd6
GM
13356 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
13357 FSF and collapse date sequence, obscure author/maintainer email address
13358 better, remove extra version line, track relocation of author's webpage.
10649b82 13359
9d0cfcd6
GM
13360 * progmodes/python.el (python-pdbtrack-input-prompt)
13361 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
13362 regular python pdb prompts. Adjustments shamelessly taken exactly as
13363 suggested in EmacsWiki page (tiny change):
13364 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 13365
58179cce
JB
133662011-11-16 Juanma Barranquero <lekktu@gmail.com>
13367
13368 * expand.el (expand-pos, expand-index, expand-point):
13369 Remove redundant info from docstring.
13370 (expand-add-abbrevs): Doc fix.
13371 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
13372 (expand-sample-perl-mode-expand-list): Fix typos.
13373
13374 * net/dbus.el (dbus-event-member-name):
13375 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
13376 * term/pc-win.el (msdos-create-frame-with-faces):
13377 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
13378
b6f67890
MR
133792011-11-16 Martin Rudalics <rudalics@gmx.at>
13380
13381 * window.el (split-window, window-state-get-1)
13382 (window-state-put-1, window-state-put-2): Rename occurrences of
13383 window-nest to window-combination-limit.
1d00653d 13384 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 13385
ce7ddba0
CY
133862011-11-16 Chong Yidong <cyd@gnu.org>
13387
13388 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
13389 regexp (Bug#10033).
13390
3ae704f4
SM
133912011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
13392
13393 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
13394 `completing-read' will remove *Completions* and will preserve
13395 current-buffer for us.
13396 (tmm-add-prompt): Users of *Completions* will always (re)set its
13397 major mode.
13398 (tmm-old-comp-map): Remove.
13399
6ad1cdde
GM
134002011-11-16 Glenn Morris <rgm@gnu.org>
13401
13402 * mail/rmailedit.el: Require rmailmm when compiling.
13403 (rmail-old-mime-state): New declaration.
13404 (rmail-edit-current-message): If editing a mime message,
13405 edit the "raw" message from the mbox buffer.
13406 (rmail-cease-edit): Handle mime messages. (Bug#9840)
13407
d20faa20
GM
134082011-11-15 Glenn Morris <rgm@gnu.org>
13409
13410 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
13411 which wasn't being used. Add optional arg to force given state.
13412 (rmail-mime): Add optional arg to force given state.
13413
c7015153
JB
134142011-11-15 Juanma Barranquero <lekktu@gmail.com>
13415
13416 * allout.el (allout-encryption-plaintext-sanitization-regexps):
13417 * frame.el (display-mm-dimensions-alist):
13418 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
13419 (outline-move-subtree-down):
13420 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
13421 (newsticker--treeview-do-get-node):
13422 * net/quickurl.el (quickurl-list-buffer-name):
13423 * progmodes/dcl-mode.el (dcl-mode):
13424 * progmodes/gdb-mi.el (gdb-mapcar*):
13425 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
13426
45261b50
GM
134272011-11-15 Glenn Morris <rgm@gnu.org>
13428
13429 * mail/rmail.el (rmail-file-coding-system): It's only ever used
13430 in a boolean sense, so just make it a boolean, and fix the doc.
13431 (rmail-show-mime-function, rmail-mime-feature)
13432 (rmail-require-mime-maybe): Doc fixes.
13433 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
13434
13435 * mail/rmailmm.el (rmail-show-mime): Doc fix.
13436
0d26e0b6
JB
134372011-11-15 Juanma Barranquero <lekktu@gmail.com>
13438
13439 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
13440 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
13441 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
13442 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
13443
447f30f6
GM
134442011-11-15 Glenn Morris <rgm@gnu.org>
13445
672b871d
GM
13446 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
13447 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
13448 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
13449 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
13450 (rmail-mime, rmail-show-mime): Doc fixes.
13451
f6aa5bb1
GM
13452 * term/ns-win.el (mode-line-frame-identification):
13453 Leave it alone. (Bug#10051)
13454
947cd66b
GM
13455 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
13456
447f30f6
GM
13457 * mail/rmailout.el (rmail-output-to-rmail-buffer):
13458 Handle empty buffers. (Bug#9978)
13459
0b381c7e
JB
134602011-11-14 Juanma Barranquero <lekktu@gmail.com>
13461
13462 * international/mule.el (define-charset):
13463 * mail/rmailmm.el (rmail-mime-find-header-encoding):
13464 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
13465 * progmodes/verilog-mode.el (verilog-backward-token):
13466 * textmodes/ispell.el (lookup-words):
13467 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
13468
71e027ac
GM
134692011-11-14 Glenn Morris <rgm@gnu.org>
13470
56632ce4
GM
13471 * progmodes/executable.el
13472 (executable-make-buffer-file-executable-if-script-p):
13473 Handle file-modes returning nil.
13474
40500957
GM
13475 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
13476 message - not necessary, and causes problems. (Bug#9831)
13477
071c2340
GM
13478 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
13479
d3cfca60
GM
13480 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
13481
71e027ac
GM
13482 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
13483 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
13484 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
13485
89d61221
MR
134862011-11-12 Martin Rudalics <rudalics@gmx.at>
13487
13488 * window.el (window-resize, delete-window): Use window-splits
13489 variable instead of function.
13490 (window-state-get-1, window-state-put-2, window-state-put):
13491 Don't deal with windows' splits status.
13492
98282f6f
GM
134932011-11-12 Glenn Morris <rgm@gnu.org>
13494
13495 * apropos.el (apropos-do-all, apropos-library, apropos-value)
13496 (apropos-documentation): Doc fixes.
13497
40a8bdf6
JB
134982011-11-11 Juanma Barranquero <lekktu@gmail.com>
13499
13500 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
13501 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
13502
65bd19ff
SM
135032011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
13504
13505 * electric.el (electric-indent-post-self-insert-function): Make it
13506 possible for a char to only indent in some circumstances.
13507 (electric-indent-mode): Simplify.
13508
54f9154c
MR
135092011-11-11 Martin Rudalics <rudalics@gmx.at>
13510
13511 * window.el (windows-with-parameter): Remove unused function.
13512 (windows-at-side): Rename to window-at-side-list.
13513 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
13514 (window-side-check, window-size-ignore, window-size-fixed-1)
13515 (window-in-direction-2): Prefix with "window--".
13516 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 13517
68cbc58b
GM
135182011-11-11 Glenn Morris <rgm@gnu.org>
13519
13520 * subr.el (eval-after-load): If FILE is already loaded,
13521 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
13522
b2621720
GM
135232011-11-10 Glenn Morris <rgm@gnu.org>
13524
9a4de110
GM
13525 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
13526 Call svn via vc-svn-command rather than vc-do-command.
13527 (vc-svn-command): Add --non-interactive. (Bug#9993)
13528 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
13529
b2621720
GM
13530 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
13531 Add toggle-read-only. (Bug#7292)
13532 * files.el (toggle-read-only): Mention that it should only
13533 be used interactively. (Bug#10006)
13534
1dce7193
SM
135352011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
13536
d9ac1a1e
SM
13537 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13538 Adjust regexp for OCaml warnings.
13539
0c325082
SM
13540 * electric.el (electric-pair-post-self-insert-function): Let user
13541 turn it off buffer-locally (bug#9932).
13542
90132c14
SM
13543 * progmodes/python.el (python-beginning-of-statement):
13544 Rewrite (bug#2703).
13545
1dce7193
SM
13546 * progmodes/compile.el: Better handle TABs (bug#9749).
13547 (compilation-internal-error-properties)
13548 (compilation-next-error-function): Obey the target buffer's
13549 compilation-error-screen-columns.
13550
c4e7c63a
JB
135512011-11-09 Juanma Barranquero <lekktu@gmail.com>
13552
13553 * progmodes/meta-mode.el: Remove obsolete comments.
13554 (meta-right-comment-regexp, meta-ignore-comment-regexp):
13555 Fix typos in docstrings.
13556
2cffd681
MR
135572011-11-09 Martin Rudalics <rudalics@gmx.at>
13558
13559 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 13560 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
13561 (window--resizable): New function. Make all callers of
13562 window-resizable call window--resizable instead.
13563 (window-resizable): Rewrite in terms of window--resizable.
13564
0edcba87
GM
135652011-11-08 Glenn Morris <rgm@gnu.org>
13566
13567 * progmodes/delphi.el (delphi-mode-syntax-table):
13568 Let define-derived-mode define a proper syntax table. (Bug#9994)
13569
4b0d61e3
SM
135702011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
13571
13572 * window.el: Stay away from defsubst.
13573 (window-list-no-nils): Remove.
13574 (window-state-get-1, window-state-get): Use backquote instead.
13575
cd394be1 135762011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 13577
4b0d61e3 13578 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 13579 Fix incorrect use of default argument in `completing-read'.
13580
e1c2c6f2
MR
135812011-11-08 Martin Rudalics <rudalics@gmx.at>
13582
13583 * window.el (display-buffer-function, special-display-function):
13584 Mention display-buffer-record-window but do not mention
13585 help-setup parameter in doc-strings.
b3f4a882 13586 (window-min-delta): Fix doc-string typo.
e1c2c6f2 13587
105216ed
CY
135882011-11-08 Chong Yidong <cyd@gnu.org>
13589
13590 * window.el (window-total-height, window-total-width): Doc fix.
13591 (window-body-size): Move from C.
13592 (window-body-height, window-body-width): Move to C.
13593
0a9f9ab5
SM
135942011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
13595
13596 * window.el: Make special-display like display-buffer-alist (bug#9532).
13597 (display-buffer--special-action): New function, morphed
13598 from display-buffer--special.
13599 (display-buffer): Use it to handle special-display-buffers at higher
13600 priority (just after display-buffer-alist).
13601 (display-buffer-fallback-action, display-buffer--other-frame-action)
13602 (pop-to-buffer-same-window): Remove display-buffer--special.
13603
a769dd15
GM
136042011-11-07 Glenn Morris <rgm@gnu.org>
13605
13606 * calendar/cal-menu.el (cal-menu-set-date-title):
13607 Do nothing if not in a calendar. (Bug#9976)
13608
05a61ee3
SM
136092011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
13610
13611 * files.el (find-file): Always use selected-window.
13612
be7f5545
MR
136132011-11-07 Martin Rudalics <rudalics@gmx.at>
13614
13615 * window.el (window-combinations): Make WINDOW argument
13616 mandatory. Rewrite doc-string.
13617 (walk-window-subtree, window-atom-check, window-min-delta)
13618 (window-max-delta, window--resize-this-window)
13619 (window--resize-root-window-vertically, window-tree)
13620 (balance-windows, window-state-put): Rewrite doc-strings as to
13621 not mention the term "subwindow".
13622 (window--resize-subwindows-skip-p): Rename to
13623 window--resize-child-windows-skip-p.
13624 (window--resize-subwindows-normal): Rename to
13625 window--resize-child-windows-normal.
13626 (window--resize-subwindows): Rename to
13627 window--resize-child-windows.
13628 (window-or-subwindow-p): Rename to window--in-subtree-p.
13629
3c6702ef
ML
136302011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
13631
13632 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
13633 Ensure that mbox format messages end in two newlines (Bug#9974).
13634
49745b39
CY
136352011-11-06 Chong Yidong <cyd@gnu.org>
13636
13637 * window.el (window-combination-p): Function deleted; its
13638 side-effect is not used in any existing code.
13639 (window-combinations, window-combined-p): Call window-*-child
13640 directly.
13641
24300f5f
CY
136422011-11-05 Chong Yidong <cyd@gnu.org>
13643
13644 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
13645 (window-size-ignore, window-state-get): Callers changed.
13646 (window-normalize-window): Rename from window-normalize-any-window.
13647 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 13648 (window-normalize-live-window): Delete.
447f16b8
CY
13649 (window-combination-p, window-combined-p, window-combinations)
13650 (walk-window-subtree, window-atom-root, window-min-size)
13651 (window-sizable, window-sizable-p, window-size-fixed-p)
13652 (window-min-delta, window-max-delta, window-resizable)
13653 (window-resizable-p, window-full-height-p, window-full-width-p)
13654 (window-current-scroll-bars, window-point-1, set-window-point-1)
13655 (window-at-side-p, window-in-direction, window-resize)
13656 (adjust-window-trailing-edge, maximize-window, minimize-window)
13657 (window-deletable-p, delete-window, delete-other-windows)
13658 (record-window-buffer, unrecord-window-buffer)
13659 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
13660 (quit-window, split-window, window-state-put)
13661 (set-window-text-height, fit-window-to-buffer)
13662 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 13663
89bd5ee1
EZ
136642011-11-04 Eli Zaretskii <eliz@gnu.org>
13665
53479029
EZ
13666 * mail/rmail.el (rmail-simplified-subject): Decode subject with
13667 rfc2047-decode-string.
13668 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
13669 warnings.
13670
89bd5ee1
EZ
13671 * window.el (window-body-height, window-body-width): Mention in
13672 the doc string that the return values are in frame's canonical
13673 units. (Bug#9949)
13674
bd17fdee
AM
136752011-11-03 Alan Mackenzie <acm@muc.de>
13676
13677 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
13678 change in cc-engine.el.
13679
acc825c5
SM
136802011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
13681
13682 * window.el (switch-to-buffer): Use `force-same-window' interactively.
13683
1885e5b8
MR
136842011-11-02 Martin Rudalics <rudalics@gmx.at>
13685
13686 * window.el (quit-window): Call unrecord-window-buffer after
13687 showing another buffer in the window. (Bug#9937)
acc825c5 13688 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 13689
ebe06da9
JB
136902011-11-02 Juanma Barranquero <lekktu@gmail.com>
13691
13692 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
13693 Accept status with more than 9 shelves. (Bug#9935)
13694 Reported by Colin D Bennett <colin@gibibit.com>.
13695
4ee88440
MR
136962011-11-01 Martin Rudalics <rudalics@gmx.at>
13697
13698 * help.el (with-help-window): Don't reference
13699 temp-buffer-show-specifiers in doc-string.
13700
08e1d82c
AS
137012011-10-31 Andreas Schwab <schwab@linux-m68k.org>
13702
13703 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
13704 menu-item.
13705
84bd6e9e
VJL
137062011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
13707
13708 * whitespace.el: New version 13.2.2.
13709 (whitespace-newline-mode): Disable properly. Reported by Sarah
13710 <EmacsWiki>.
13711
dba0634a
UJ
137122011-10-30 Ulf Jasper <ulf.jasper@web.de>
13713
13714 * net/newst-treeview.el: Remove "Time-stamp".
13715 (newsticker--group-manage-orphan-feeds): Do not call
13716 newsticker--treeview-tree-update.
db22a3c2
JB
13717 (newsticker-treeview-update, newsticker-treeview):
13718 Call newsticker--treeview-tree-update if necessary.
dba0634a 13719
3d8daefe
MR
137202011-10-30 Martin Rudalics <rudalics@gmx.at>
13721
13722 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
13723 (window-iso-combinations): Remove "iso-" infix.
13724 Suggested by Chong Yidong.
3d8daefe
MR
13725 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
13726 (window-max-delta-1, window-resize, window--resize-siblings)
13727 (window--resize-this-window, adjust-window-trailing-edge)
13728 (split-window, balance-windows-1)
13729 (shrink-window-if-larger-than-buffer):
13730 * calendar/calendar.el (calendar-generate-window):
db22a3c2 13731 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 13732
1bc4c3ae
SM
137332011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
13734
13735 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
13736 in place (bug#9907).
13737 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
13738 (eshell-rewrite-if-command, eshell-rewrite-for-command)
13739 (eshell-structure-basic-command, eshell-rewrite-while-command)
13740 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
13741 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
13742 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
13743 (eshell-do-pipelines-synchronously, eshell-eval-command):
13744 Use backquotes and prefer setq to set.
13745 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
13746 (eshell-macrop): Use functionp.
c1e2f5fa 13747 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 13748
30b65d9c
CY
137492011-10-30 Chong Yidong <cyd@gnu.org>
13750
13751 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
13752 instead of set-mark (Bug#9810).
13753
2d197ffb
CY
137542011-10-30 Chong Yidong <cyd@gnu.org>
13755
13756 * window.el (split-window-below, split-window-right): Rename from
13757 split-window-above-each-other and split-window-side-by-side
13758 respectively. All callers changed.
13759 (split-window-sensibly, split-window-sensibly): Use them.
13760 (split-window-keep-point): Doc fix.
13761
13762 * isearch.el: Add isearch-scroll property to split-window-below
13763 and split-window-right.
13764
13765 * follow.el (follow-mode):
13766 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
13767 * progmodes/ada-xref.el (ada-gdb-application):
13768 * emulation/vip.el (vip-buffer-in-two-windows):
13769 * image-dired.el (image-dired-dired-with-window-configuration):
13770 * dired-x.el (dired-do-find-marked-files):
13771 * dired.el (dired-pop-to-buffer):
13772 * bs.el (bs--show-with-configuration):
13773 * vc/emerge.el (emerge-setup-windows):
13774 * textmodes/two-column.el (2C-two-columns):
13775 * textmodes/reftex-toc.el (reftex-toc):
13776 * progmodes/gdb-mi.el (gdb-setup-windows):
13777 * progmodes/fortran.el (fortran-window-create):
13778 * net/newst-treeview.el (newsticker--treeview-window-init):
13779 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
13780 * emulation/tpu-edt.el (tpu-gold-map):
13781 * emulation/crisp.el (crisp-mode-map):
13782 * calendar/calendar.el (calendar-basic-setup): Callers changed.
13783
38bb2ca8
CY
137842011-10-29 Chong Yidong <cyd@gnu.org>
13785
aa4de341
CY
13786 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
13787
e1eb5385
CY
13788 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
13789
5d2ece3c
CY
13790 * textmodes/flyspell.el (flyspell-word): Fix char offset for
13791 forged Ispell output (Bug#7904).
13792
38bb2ca8
CY
13793 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
13794
d0af9f77
SM
137952011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
13796
13797 * doc-view.el: Avoid ugly errors about not finding nil.
13798 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
13799 (doc-view-dvipdf-program, doc-view-unoconv-program)
13800 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
13801 Avoid nil or absolute file name as default value.
13802 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
13803
52bedd34
AM
138042011-10-28 Alan Mackenzie <acm@muc.de>
13805
db22a3c2 13806 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 13807
7e43cfa5
AM
138082011-10-28 Alan Mackenzie <acm@muc.de>
13809
13810 Amend the handling of c-beginning/end-of-defun in nested declaration
13811 scopes.
13812
52bedd34
AM
13813 * progmodes/cc-vars.el (c-defun-tactic): Move here from
13814 cc-langs.el. Change it to a defcustom.
7e43cfa5 13815
52bedd34
AM
13816 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
13817 cc-vars.el.
7e43cfa5 13818
d0af9f77
SM
13819 * progmodes/cc-engine.el (c-beginning-of-statement-1):
13820 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 13821
52bedd34 13822 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 13823 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
13824 (c-widen-to-enclosing-decl-scope): New function.
13825 (c-while-widening-to-decl-block): New macro.
13826 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
13827 outward for defun boundaries, and correspondingly change symbol
13828 `respect-enclosure' to `go-outward'.
13829 (c-declaration-limits): Change algorithm to report only the "innermost"
13830 defun's boundaries.
13831
1a2ce9ee
DD
138322011-10-28 Deniz Dogan <deniz@dogan.se>
13833
13834 * net/rcirc.el (rcirc-mode): Use hard newlines.
13835
bc97a826
AM
138362011-10-28 Alan Mackenzie <acm@muc.de>
13837
13838 Amend to indent and fontify macros "which include their own semicolon"
13839 correctly, using the "virtual semicolon" mechanism.
13840
52bedd34 13841 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 13842
d0af9f77 13843 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 13844 Recode to scan one line at a time rather than having \n and \r
58179cce 13845 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 13846 (c-forward-label): Amend for virtual semicolons.
58179cce 13847 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 13848
52bedd34
AM
13849 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
13850 of the new C macros.
bc97a826 13851
52bedd34 13852 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
13853 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
13854 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
13855 (c-opt-cpp-macro-define): Make into a full language variable.
13856 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
13857 AWK Mode (including \n, \r) removed, no longer needed.
13858
d0af9f77
SM
13859 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
13860 Invoke c-make-macro-with-semi-re.
bc97a826 13861
52bedd34
AM
13862 * progmodes/cc-vars.el (c-macro-with-semi-re):
13863 (c-macro-names-with-semicolon): New variables.
58179cce 13864 (c-make-macro-with-semi-re): New function.
bc97a826 13865
7a6c0941
SM
138662011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
13867
13868 * vc/log-edit.el: Fill empty field rather than adding new one.
13869 (log-edit-add-field): New function.
13870 (log-edit-insert-changelog): Use it.
13871
b0c4cdcf
ML
138722011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
13873
13874 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
13875
ee1f1da9
SM
138762011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
13877
13878 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
13879 (gdb--check-interpreter): New function.
13880 (gdb): Use it.
13881
51bc5f8b
GM
138822011-10-27 Glenn Morris <rgm@gnu.org>
13883
416a2c45
GM
13884 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
13885 (least-positive-float, least-negative-float)
13886 (least-positive-normalized-float, least-negative-normalized-float)
13887 (float-epsilon, float-negative-epsilon):
13888 Remove unnecessary declarations.
13889
13890 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
13891 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
13892 (least-positive-float, least-negative-float)
13893 (least-positive-normalized-float, least-negative-normalized-float)
13894 (float-epsilon, float-negative-epsilon): Add doc-strings,
13895 based on those in cl.texi.
13896
51bc5f8b
GM
13897 * files.el (set-visited-file-name): If the major-mode changed,
13898 reload the local variables. (Bug#9796)
13899
15de15c6
CY
139002011-10-27 Chong Yidong <cyd@gnu.org>
13901
13902 * subr.el (change-major-mode-after-body-hook): New hook.
13903 (run-mode-hooks): Run it.
13904
ee1f1da9
SM
13905 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
13906 Use change-major-mode-before-body-hook.
15de15c6
CY
13907
13908 * simple.el (fundamental-mode):
13909 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
13910 change introducing fundamental-mode-hook.
13911
5430d399
JB
139122011-10-26 Juanma Barranquero <lekktu@gmail.com>
13913
acc825c5 13914 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 13915
ad74a69e
MA
139162011-10-26 Michael Albinus <michael.albinus@gmx.de>
13917
13918 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 13919 tramp.el explicitly. (Bug#7583)
ad74a69e 13920
71d4c2a5
SM
139212011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
13922
13923 * progmodes/octave-mod.el:
13924 * progmodes/octave-inf.el: Update maintainer.
13925
b1f6fa26
CY
139262011-10-26 Chong Yidong <cyd@gnu.org>
13927
13928 * subr.el (with-wrapper-hook): Rewrite doc.
13929
3f04efd6
MA
139302011-10-25 Michael Albinus <michael.albinus@gmx.de>
13931
13932 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 13933 filenames "/method:foo:". (Bug#9793)
3f04efd6 13934
410488d3
SM
139352011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
13936
13937 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
13938 (bug#9865).
13939
c1ebb47e
GM
139402011-10-24 Glenn Morris <rgm@gnu.org>
13941
13942 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
13943
7f5c46c7
MA
139442011-10-24 Michael Albinus <michael.albinus@gmx.de>
13945
13946 * notifications.el: Add the requirement of a running D-Bus session
13947 bus to the Commentary.
13948
db2440b6
JL
139492011-10-24 Juri Linkov <juri@jurta.org>
13950
13951 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
13952 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
13953 (Bug#9364)
13954
feecf435
JL
139552011-10-24 Juri Linkov <juri@jurta.org>
13956
13957 * info.el (Info-following-node-name-re): Add newline to the list
13958 of allowed characters for leading space. (Bug#9824)
13959
a3839de2
SM
139602011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
13961
acc825c5
SM
13962 * progmodes/octave-inf.el (inferior-octave-mode-map):
13963 Fix C-c C-h binding.
a3839de2
SM
13964 * progmodes/octave-mod.el (octave-help): Remove.
13965
09388e76
MA
139662011-10-23 Michael Albinus <michael.albinus@gmx.de>
13967
13968 Sync with Tramp 2.2.3.
13969
13970 * net/tramp-cache.el (top): Pacify byte-compiler using
13971 `init-file-user' and `site-run-file'.
13972
13973 * net/trampver.el: Update release number.
13974
86c60681
CY
139752011-10-23 Chong Yidong <cyd@gnu.org>
13976
13977 * files.el (toggle-read-only): Remove obsolete comment about
13978 version control.
13979
13980 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
13981 for toggle-read-only. Note that this hasn't called vc-next-action
13982 since 2008-05-02, though it wasn't documented at the time.
13983
a3839de2
SM
13984 * vc/ediff-init.el (ediff-toggle-read-only-function):
13985 Use toggle-read-only.
86c60681 13986
cd5495ff
AM
139872011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
13988
13989 Fix bug #9560, sporadic wrong indentation; improve instrumentation
13990 of c-parse-state.
13991
00b77525 13992 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 13993 correct faulty logical expression.
cd5495ff
AM
13994 (c-parse-state-state, c-record-parse-state-state):
13995 (c-replay-parse-state-state): New defvar/defuns.
13996 (c-debug-parse-state): Use new functions.
13997
42ee24ed
MR
139982011-10-22 Martin Rudalics <rudalics@gmx.at>
13999
14000 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 14001 last fix. Use window-in-direction correctly.
42ee24ed 14002
a7dee7e7
CY
140032011-10-21 Chong Yidong <cyd@gnu.org>
14004
14005 * progmodes/idlwave.el (idlwave-mode):
14006 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
14007 require-final-newline; that's done in prog-mode.
14008 Suggested by Stefan Monnier.
a7dee7e7 14009
e07b9a6d
MR
140102011-10-21 Martin Rudalics <rudalics@gmx.at>
14011
14012 * mouse.el (mouse-drag-window-above)
14013 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
14014 (mouse-drag-mode-line-1, mouse-drag-header-line)
14015 (mouse-drag-vertical-line-rightward-window): Remove.
14016 (mouse-drag-line): New function.
14017 (mouse-drag-mode-line, mouse-drag-header-line)
14018 (mouse-drag-vertical-line): Call mouse-drag-line.
14019 * window.el (window-at-side-p, windows-at-side): New functions.
14020
7e1361d9
UM
140212011-10-21 Ulrich Mueller <ulm@gentoo.org>
14022
14023 * tar-mode.el (tar-grind-file-mode):
14024 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
14025
30fcaf3a
CY
140262011-10-21 Chong Yidong <cyd@gnu.org>
14027
14028 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
14029 * progmodes/vera-mode.el (vera-mode):
14030 Use mode-require-final-newline.
30fcaf3a 14031
516eddb0
GM
140322011-10-20 Glenn Morris <rgm@gnu.org>
14033
db22a3c2 14034 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 14035
10d5f513
CS
140362011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
14037
14038 * emulation/cua-base.el (cua-set-mark): Fix case of string.
14039
ac6c8639
CY
140402011-10-20 Chong Yidong <cyd@gnu.org>
14041
14042 * emulation/cua-base.el (cua-mode):
14043 * mail/footnote.el (footnote-mode):
14044 * mail/mailabbrev.el (mail-abbrevs-mode):
14045 * net/xesam.el (xesam-minor-mode):
14046 * progmodes/bug-reference.el (bug-reference-mode):
14047 * progmodes/cap-words.el (capitalized-words-mode):
14048 * progmodes/compile.el (compilation-minor-mode)
14049 (compilation-shell-minor-mode):
14050 * progmodes/gud.el (gud-tooltip-mode):
14051 * progmodes/hideif.el (hide-ifdef-mode):
14052 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
14053 * progmodes/subword.el (subword-mode):
14054 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
14055 * progmodes/which-func.el (which-function-mode):
14056 * term/tvi970.el (tvi970-set-keypad-mode):
14057 * term/vt100.el (vt100-wide-mode):
14058 * textmodes/flyspell.el (flyspell-mode):
14059 * textmodes/ispell.el (ispell-minor-mode):
14060 * textmodes/nroff-mode.el (nroff-electric-mode):
14061 * textmodes/paragraphs.el (use-hard-newlines):
14062 * textmodes/refill.el (refill-mode):
14063 * textmodes/reftex.el (reftex-mode):
14064 * textmodes/rst.el (rst-minor-mode):
14065 * textmodes/sgml-mode.el (html-autoview-mode)
14066 (sgml-electric-tag-pair-mode):
14067 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
14068 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
14069 * emulation/crisp.el (crisp-mode):
14070 * emacs-lisp/eldoc.el (eldoc-mode):
14071 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
14072 minor mode behavior.
14073
aa42ab43
JL
140742011-10-19 Juri Linkov <juri@jurta.org>
14075
14076 * descr-text.el (describe-char): Add #x2010 and #x2011 to
14077 the list of hard-coded chars with escape-glyph face.
14078
89400f1d
SM
140792011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
14080
14081 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
14082
305c07f6
MA
140832011-10-19 Michael Albinus <michael.albinus@gmx.de>
14084
14085 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
14086 running process.
14087
13754b54
GM
140882011-10-19 Glenn Morris <rgm@gnu.org>
14089
14090 * vc/vc-bzr.el (vc-bzr-after-dir-status):
14091 Ignore ignored files. (Bug#9726)
14092
06e21633
CY
140932011-10-19 Chong Yidong <cyd@gnu.org>
14094
14095 Doc fix for minor modes, stating that an omitted argument enables
14096 the mode unconditionally when called from Lisp.
14097
14098 * abbrev.el (abbrev-mode):
14099 * allout.el (allout-mode):
14100 * autoinsert.el (auto-insert-mode):
14101 * autoarg.el (autoarg-mode, autoarg-kp-mode):
14102 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
14103 (global-auto-revert-mode):
14104 * battery.el (display-battery-mode):
14105 * composite.el (global-auto-composition-mode)
14106 (auto-composition-mode):
14107 * delsel.el (delete-selection-mode):
14108 * desktop.el (desktop-save-mode):
14109 * dired-x.el (dired-omit-mode):
14110 * dirtrack.el (dirtrack-mode):
14111 * doc-view.el (doc-view-minor-mode):
14112 * double.el (double-mode):
14113 * electric.el (electric-indent-mode, electric-pair-mode):
14114 * emacs-lock.el (emacs-lock-mode):
14115 * epa-hook.el (auto-encryption-mode):
14116 * follow.el (follow-mode):
14117 * font-core.el (font-lock-mode):
14118 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
14119 * help.el (temp-buffer-resize-mode):
14120 * hilit-chg.el (highlight-changes-mode)
14121 (highlight-changes-visible-mode):
14122 * hi-lock.el (hi-lock-mode):
14123 * hl-line.el (hl-line-mode, global-hl-line-mode):
14124 * icomplete.el (icomplete-mode):
14125 * ido.el (ido-everywhere):
14126 * image-file.el (auto-image-file-mode):
14127 * image-mode.el (image-minor-mode):
14128 * iswitchb.el (iswitchb-mode):
14129 * jka-cmpr-hook.el (auto-compression-mode):
14130 * linum.el (linum-mode):
14131 * longlines.el (longlines-mode):
14132 * master.el (master-mode):
14133 * mb-depth.el (minibuffer-depth-indicate-mode):
14134 * menu-bar.el (menu-bar-mode):
14135 * minibuf-eldef.el (minibuffer-electric-default-mode):
14136 * mouse-sel.el (mouse-sel-mode):
14137 * msb.el (msb-mode):
14138 * mwheel.el (mouse-wheel-mode):
14139 * outline.el (outline-minor-mode):
14140 * paren.el (show-paren-mode):
14141 * recentf.el (recentf-mode):
14142 * reveal.el (reveal-mode, global-reveal-mode):
14143 * rfn-eshadow.el (file-name-shadow-mode):
14144 * ruler-mode.el (ruler-mode):
14145 * savehist.el (savehist-mode):
14146 * scroll-all.el (scroll-all-mode):
14147 * scroll-bar.el (scroll-bar-mode):
14148 * server.el (server-mode):
14149 * shell.el (shell-dirtrack-mode):
14150 * simple.el (auto-fill-mode, transient-mark-mode)
14151 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
14152 (line-number-mode, column-number-mode, size-indication-mode)
14153 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
14154 * strokes.el (strokes-mode):
14155 * time.el (display-time-mode):
14156 * t-mouse.el (gpm-mouse-mode):
14157 * tool-bar.el (tool-bar-mode):
14158 * tooltip.el (tooltip-mode):
14159 * type-break.el (type-break-mode-line-message-mode)
14160 (type-break-query-mode):
14161 * view.el (view-mode):
14162 * whitespace.el (whitespace-mode, whitespace-newline-mode)
14163 (global-whitespace-mode, global-whitespace-newline-mode):
14164 * xt-mouse.el (xterm-mouse-mode): Doc fix.
14165
a3839de2
SM
14166 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14167 Fix autogenerated docstring.
06e21633 14168
5214e501
JL
141692011-10-19 Juri Linkov <juri@jurta.org>
14170
14171 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
14172 by checking environment variables "DESKTOP_SESSION" and
14173 "XDG_CURRENT_DESKTOP". (Bug#9779)
14174
195f8db9
JL
141752011-10-19 Juri Linkov <juri@jurta.org>
14176
14177 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
14178 (browse-url-chromium-program, browse-url-chromium-arguments):
14179 New defcustoms.
14180 (browse-url-default-browser): Check for `browse-url-chromium' and
14181 call `browse-url-chromium-program'.
14182 (browse-url-chromium): New command. (Bug#9779)
14183
343a34ff
JB
141842011-10-18 Juanma Barranquero <lekktu@gmail.com>
14185
14186 * facemenu.el (list-colors-duplicates): On Windows, detect more
14187 duplicates by assuming that only colors matching "^System" are
14188 special "system colors". (Bug#9722)
14189
6978a151
SM
141902011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
14191
14192 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
14193 to distinguish the author from the committer.
14194
6a80b297
MA
141952011-10-18 Michael Albinus <michael.albinus@gmx.de>
14196
14197 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
14198
b31a5677
JK
141992011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
14200
14201 * international/mule.el (sgml-html-meta-auto-coding-function):
14202 Add support for detecting encoding in HTML5 specified only as
14203 <meta charset="UTF-8">. Implementation just makes http-equiv and
14204 content-type parts from HTML4 encoding string optional. (Bug#9716)
14205
80c6d77f
GM
142062011-10-18 Glenn Morris <rgm@gnu.org>
14207
14208 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
14209
08b0fee8
CY
142102011-10-18 Chong Yidong <cyd@gnu.org>
14211
14212 * faces.el (cursor): Doc fix.
14213
67e729a5
CY
142142011-10-17 Chong Yidong <cyd@gnu.org>
14215
14216 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
14217
343a34ff 142182011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
14219
14220 * dirtrack.el (dirtrack): Support shell buffers with path
14221 prefixes, e.g. tramp-based remote shells. (Bug#9647)
14222
0bc06380
TZ
142232011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
14224
14225 * json.el: Bump version to 1.3 and note change in History.
14226 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
14227
8b79f3e0
SM
142282011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
14229
5a7c536b
SM
14230 * comint.el (comint-insert-input, comint-send-input)
14231 (comint-get-old-input-default, comint-backward-matching-input)
14232 (comint-next-prompt): Use nil instead of `input' for field property of
14233 past user input (bug#114).
14234
96a8a0df
SM
14235 * minibuffer.el (completion--replace): Inherit surrounding properties
14236 (bug#114).
14237 (minibuffer-complete-and-exit): Use it.
14238
8b79f3e0
SM
14239 * comint.el (comint--table-subvert): Quote the all-completions output
14240 (bug#9160).
14241
b8f7ff0d
MR
142422011-10-17 Martin Rudalics <rudalics@gmx.at>
14243
8b79f3e0 14244 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 14245
b8f7ff0d 14246 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 14247 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
14248 entries and separate them from frame entries.
14249
c235b555
GM
142502011-10-15 Glenn Morris <rgm@gnu.org>
14251
14252 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
14253 Doc fixes.
14254
6bbfa6e1
CY
142552011-10-15 Chong Yidong <cyd@stupidchicken.com>
14256
8b79f3e0
SM
14257 * net/network-stream.el (network-stream-open-starttls):
14258 Improve detection of failure due to lack of TLS support.
ec5c990d 14259
6bbfa6e1
CY
14260 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
14261 putting the input text in front and in bold.
14262
98488977
SM
142632011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
14264
3d1337be
SM
14265 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
14266
ee0b45e4
SM
14267 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
14268 empty buffer.
14269
98488977
SM
14270 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
14271 unread-command-events rather than pushing yet-another event.
14272
186f4720
EZ
142732011-10-14 Eli Zaretskii <eliz@gnu.org>
14274
14275 * mail/sendmail.el (sendmail-query-once): Improve the wording of
14276 the explanation of the possible choices. Make the options passed
14277 to completing-read shorter.
14278
8b7a997c
AM
142792011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14280
14281 * textmodes/flyspell.el (flyspell-large-region): Make sure
14282 extended character mode is used if defined (Bug#1339).
14283
12587bbb
EZ
142842011-10-13 Eli Zaretskii <eliz@gnu.org>
14285
14286 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
14287 character info for LRE, LRO, RLE, and RLO characters by appending
14288 an invisible PDF.
12587bbb 14289
bad41229
SM
142902011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
14291
14292 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
14293 even in case of error; add debug spec; simplify data flow.
14294 (with-timeout-handler): Remove.
14295
28dbc92f
MA
142962011-10-12 Michael Albinus <michael.albinus@gmx.de>
14297
14298 Fix Bug#6019, Bug#9315.
14299
14300 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
14301 complete `buffer-file-name', the local file name part could look
14302 remotely (for example on VMS).
14303
14304 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
14305 `tramp-run-real-handler'.
14306 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
14307 already quoted by '"'.
14308
14309 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
14310 Let `file-name-handler-alist' be nil, the local file name part
14311 could look remotely (for example on VMS).
14312
e1b0b23a
SM
143132011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
14314
14315 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
14316 from here...
14317 (flyspell-post-command-hook): ...to here.
14318
a120bde9
SM
143192011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
14320
14321 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
14322 if not needed.
14323 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
14324 using completion. Protect against "slow" callers.
14325 Remove the "message hack".
14326
7ce7717b
JL
143272011-10-11 Juri Linkov <juri@jurta.org>
14328
14329 * isearch.el (isearch-lazy-highlight-word): New variable.
14330 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
14331 Use it. (Bug#9727)
14332
c02ee9d6
GM
143332011-10-11 Glenn Morris <rgm@gnu.org>
14334
14335 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
14336 like f90-previous-statement does.
14337
93e616fd 143382011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14339
1f190e73 14340 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
14341 only in interactive use, to avoid error.
14342
af7b6078
SM
143432011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
14344
14345 * minibuffer.el (completion-file-name-table): Fix last change,
14346 i.e. ignore normal errors but not the other ones.
14347
0563dae9
MR
143482011-10-10 Martin Rudalics <rudalics@gmx.at>
14349
14350 * window.el (special-display-buffer-names)
14351 (special-display-regexps): Remove some remnants of earlier
14352 changes from doc-strings.
366ca7f3
MR
14353 (quit-windows-on): New function.
14354
14355 * vc/vc.el (vc-revert, vc-rollback):
14356 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
14357 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 14358 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 14359
49677495
MR
143602011-10-09 Martin Rudalics <rudalics@gmx.at>
14361
14362 * window.el (frame-auto-hide-function): Add version tag.
14363 (Bug#9699)
14364
56f2d1e1
MA
143652011-10-09 Michael Albinus <michael.albinus@gmx.de>
14366
14367 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
14368 condition.
14369
112a6592
LL
143702011-10-09 Leo Liu <sdl.web@gmail.com>
14371
14372 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
14373 (Bug#9701)
14374
0812589b
GM
143752011-10-08 Glenn Morris <rgm@gnu.org>
14376
14377 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
14378 before the first code statement zero indent. (Bug#9690)
14379
b2b0776e
CY
143802011-10-08 Chong Yidong <cyd@stupidchicken.com>
14381
14382 * simple.el (count-words-region): Always count in the region.
14383 Report the number of lines and characters too.
14384 (count-words): New command, which counts in the buffer if the
14385 region is inactive, as count-words-region used to.
14386 (count-words--message): New function. Handle plurals.
14387 (count-lines-region): Make it an alias for count-words-region.
14388
14389 * bindings.el (esc-map): Replace count-lines-region with
14390 count-words-region.
14391
c557cd6b
MR
143922011-10-08 Martin Rudalics <rudalics@gmx.at>
14393
14394 * window.el (window--delete): Delete dedicated frame
14395 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 14396 (switch-to-buffer): Fix doc-string typo.
c557cd6b 14397
61a57ef4 143982011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14399
3a7d293b 14400 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 14401
c3833279
CY
144022011-10-07 Chong Yidong <cyd@stupidchicken.com>
14403
14404 * bindings.el ([M-left],[M-right]): Bind to left-word and
14405 right-word respectively.
14406
21ce8245
GM
144072011-10-07 Glenn Morris <rgm@gnu.org>
14408
14409 * cus-start.el (debug-on-quit): Fix custom type.
14410
6d823bb2
LMI
144112011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
14412
0181e193
LMI
14413 * subr.el (define-key-after): Clarify that the function is not
14414 useful for non-menu keymaps.
14415
6d823bb2
LMI
14416 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
14417
8e3459ce 144182011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14419
21ce8245 14420 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 14421 in current minibuffer (Fix bug with recursive minibuffers).
14422
a1c2d21e
CY
144232011-10-06 Chong Yidong <cyd@stupidchicken.com>
14424
14425 * progmodes/gdb-mi.el (gdb): Doc fix.
14426
5a4cf282
MR
144272011-10-05 Martin Rudalics <rudalics@gmx.at>
14428
14429 * window.el (frame-auto-hide-function): New option replacing
14430 frame-auto-delete. Suggested by Stefan Monnier.
14431 (window--delete): Call frame-auto-hide-function instead of
14432 investigating frame-auto-delete.
c96111ea
MR
14433 (window-point-1, set-window-point-1): New functions.
14434 (window-in-direction, record-window-buffer, window-state-get-1)
14435 (display-buffer-record-window): Use window-point-1 instead of
14436 window-point.
14437 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 14438
9854542e
SM
144392011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
14440
14441 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
14442
8943cfb0
GM
144432011-10-05 Glenn Morris <rgm@gnu.org>
14444
14445 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
14446 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
14447
647ab967
LL
144482011-10-05 Leo Liu <sdl.web@gmail.com>
14449
14450 * subr.el (read-char-choice): Fix argument to buffer-live-p which
14451 works with buffer object.
14452
3ddfbced
SM
144532011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
14454
14455 * mpc.el (mpc-tool-bar-map): Add labels.
14456
bdfa5dd2
GM
144572011-10-04 Glenn Morris <rgm@gnu.org>
14458
14459 * calendar/holidays.el (calendar-check-holidays): Doc fix.
14460
0e2070b5
MR
144612011-10-04 Martin Rudalics <rudalics@gmx.at>
14462
14463 * window.el (window--delete): New function.
14464 (frame-auto-delete): Resuscitate option.
14465 (bury-buffer, replace-buffer-in-windows)
14466 (quit-window): Rewrite using window--delete.
14467 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
14468 Pass display-buffer-mark-dedicated to window--display-buffer-2
14469 (Bug#9639).
14470
3dc61a09
SM
144712011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
14472
915a9b64
SM
14473 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
14474 returns a list (bug#9554). Add remote file name completion.
14475 * comint.el (comint--table-subvert): Curry and get quote&unquote
14476 functions as arguments.
14477 (comint--complete-file-name-data): Adjust call accordingly.
14478 * pcomplete.el (pcomplete--table-subvert): Remove.
14479 (pcomplete-completions-at-point): Use comint--table-subvert instead.
14480
3dc61a09
SM
14481 * minibuffer.el (completion-table-case-fold): Use currying.
14482 (completion--styles-type, completion--cycling-threshold-type):
14483 New constants.
14484 (completion-styles, completion-category-overrides)
14485 (completion-cycle-threshold): Use them.
14486 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
14487 completion-table-case-fold.
14488
8ea0a993
SB
144892011-10-03 Stephen Berman <stephen.berman@gmx.net>
14490
14491 * minibuffer.el (completion-category-overrides): Fix type of styles
14492 and add more user friendly tags (bug#9660).
14493
8c24b7f6
SM
144942011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
14495
14496 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
14497 (mule-input-method-string): New widget.
14498 (default-input-method, language-info-custom-alist): Use it.
14499
428fe61a
SM
145002011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
14501
32c1fffd
SM
14502 * pcomplete.el: Require comint.
14503 (pcomplete--common-suffix): Remove.
14504 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
14505 (pcomplete--table-subvert): Sync with comint--table-subvert.
14506 (pcomplete--entries): Use comint-completion-file-name-table.
14507 * comint.el (comint-unquote-filename): Simplify.
14508 (comint-completion-file-name-table): New function (bug#9616).
14509 (comint--complete-file-name-data): Use it.
14510
428fe61a
SM
14511 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
14512 (pcmpl-gnu-tar-buffer): Remove.
14513 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
14514 around. Make sure pcomplete-suffix-list is only changed temporarily.
14515 Don't look inside the tar's file if it's too large.
428fe61a 14516
04c52e2f
CY
145172011-10-01 Chong Yidong <cyd@stupidchicken.com>
14518
ce3cefcc
CY
14519 * cus-edit.el (custom-mode-map):
14520 * epa.el (epa-key-list-mode-map):
14521 * man.el (Man-mode-map):
14522 * startup.el (splash-screen-keymap):
14523 * simple.el (special-mode-map): Use scroll-up-command and
14524 scroll-down-command.
14525
14526 * progmodes/idlw-help.el (idlwave-help-mode-map):
14527 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
14528 * net/newst-plainview.el (newsticker-mode-map):
14529 * emulation/ws-mode.el (wordstar-mode-map):
14530 * emulation/vi.el (vi-com-map):
14531 * calc/calc-graph.el (calc-graph-show-dumb):
14532 * term/sun.el (terminal-init-sun):
14533 * term/ns-win.el (global-map):
14534 * progmodes/grep.el (grep-mode-map):
14535 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
14536 * mail/rmail.el (rmail-mode-map):
14537 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
14538
04c52e2f
CY
14539 * custom.el (custom-safe-themes, load-theme): Treat value of t for
14540 custom-safe-themes as special.
14541
79adf8c8
JD
145422011-10-01 Julien Danjou <julien@danjou.info>
14543
14544 * notifications.el (notifications-notify): Fix docstring.
14545
63bd50d3
PS
145462011-10-01 Per Starbäck <per@starback.se>
14547
14548 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
14549
199e4c7e
MR
145502011-09-30 Martin Rudalics <rudalics@gmx.at>
14551
14552 * startup.el (command-line-1): Fix last fix by inserting
14553 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 14554 (Bug#9605) and (Bug#9636)
199e4c7e 14555
fe5f08dd
EZ
145562011-09-29 Eli Zaretskii <eliz@gnu.org>
14557
14558 * simple.el (line-move): If auto-hscroll-mode is disabled and the
14559 window is hscrolled, move by logical lines. (Bug#9607)
14560 (line-move-visual): Update the doc string to the above effect.
14561
b5516bbd
MR
145622011-09-29 Martin Rudalics <rudalics@gmx.at>
14563
ccee00c0
MR
14564 * window.el (display-buffer-record-window): When WINDOW is the
14565 selected window use `point' instead of `window-point'. (Bug#9626)
14566
b5516bbd
MR
14567 * startup.el (command-line-1): Use insert-before-markers when
14568 inserting initial-scratch-message. (Bug#9605)
ccee00c0 14569
b5516bbd
MR
14570 * help.el (help-window): Remove variable.
14571
52aa0014
GM
145722011-09-29 Glenn Morris <rgm@gnu.org>
14573
14574 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
14575
df9a7357
JB
145762011-09-29 Juanma Barranquero <lekktu@gmail.com>
14577
14578 * descr-text.el (describe-char-categories): Accept category
14579 descriptions more than one line long.
14580
a8406c20
SM
145812011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
14582
88d9610c
SM
14583 * simple.el (delete-trailing-whitespace): Fix last change.
14584
a5daf810
SM
14585 * progmodes/perl-mode.el (perl-syntax-propertize-function):
14586 Don't confuse "y => 3" as the beginning of a `y' operation.
14587
a8406c20
SM
14588 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
14589 object has more than 4 slots (bug#9613).
14590
a239d4e9
JB
145912011-09-28 Juanma Barranquero <lekktu@gmail.com>
14592
14593 * subr.el (with-output-to-temp-buffer):
14594 * net/quickurl.el (quickurl, quickurl-browse-url):
14595 Fix typos in docstrings.
14596
693fbdb6
EZ
145972011-09-27 Eli Zaretskii <eliz@gnu.org>
14598
14599 * minibuffer.el (completion-styles)
14600 (completion-category-overrides): Cross reference each other in doc
14601 strings.
14602
8b457e28
GM
146032011-09-27 Glenn Morris <rgm@gnu.org>
14604
14605 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
14606 to split-string. (Bug#9606)
14607
85a16208
LMI
146082011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
14609
14610 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
14611 (bug#9615).
14612
502f9ebd
CY
146132011-09-27 Chong Yidong <cyd@stupidchicken.com>
14614
14615 * emacs-lisp/package.el (list-packages): Fix echo area message.
14616
7690bdea
LL
146172011-09-27 Leo Liu <sdl.web@gmail.com>
14618
14619 * ido.el (ido-read-internal): Accept cons cell HIST arg.
14620
e2ee6f30
MA
146212011-09-25 Michael Albinus <michael.albinus@gmx.de>
14622
14623 * net/dbus.el (dbus-unregister-object): Don't release services for
14624 registered signals. (Bug#9581)
14625
f3f98342
TZ
146262011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
14627
14628 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
14629 function that picks between cfengine 2 and 3 support
14630 automatically. Update docs accordingly.
14631
dd7aa8dd
KH
146322011-09-22 Kenichi Handa <handa@m17n.org>
14633
14634 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
14635 ZERO.
14636 (indian-itrans-v5-table-for-tamil): New variable.
14637 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
14638
3f2b07f8
KM
146392011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
14640
14641 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
14642 that's true if the current command involved collapsing of text.
14643 It's reset to false at the beginning of the next command.
14644 (allout-post-command-business): Move the cursor to the beginning
14645 of entry if the cursor is hidden and collapsing activity just
14646 happened.
14647
371d6a61
CY
146482011-09-24 Chong Yidong <cyd@stupidchicken.com>
14649
14650 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
14651 tracking (Bug#9541).
14652
2ac2721a
UJ
146532011-09-24 Ulf Jasper <ulf.jasper@web.de>
14654
14655 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
14656 (newsticker-show-news): Automatically load html rendering package
14657 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
14658 because w3m-fill-column is let-bound" and the error "Symbol's value
14659 as variable is void: w3m-fill-column".
2ac2721a 14660
fac7ae53
MA
146612011-09-24 Michael Albinus <michael.albinus@gmx.de>
14662
14663 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
14664 Release services only if they are defined. (Bug#9581)
14665
e08b633b
RS
146662011-09-23 Richard Stallman <rms@gnu.org>
14667
e488d29c
RS
14668 * textmodes/paragraphs.el (forward-sentence): For backwards case,
14669 distinguish start of paragraph from start of its text.
14670
19c38752
RS
14671 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
14672
e08b633b
RS
14673 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
14674 (rmail-generate-viewer-buffer): Put that hook on view buffer.
14675 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
14676
0a39f27e
AS
146772011-09-23 Andreas Schwab <schwab@linux-m68k.org>
14678
14679 * international/mule-diag.el (mule-diag): Insert a newline after
14680 each fontset description.
14681
db4e950d
SM
146822011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
14683
14684 * simple.el (delete-trailing-whitespace):
14685 Document last change; simplify.
14686
eca3f3ea
PW
146872011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
14688
d68e189a
PW
14689 * simple.el (delete-trailing-whitespace): Also delete
14690 extra newlines at the end of the buffer.
14691
eca3f3ea
PW
14692 * textmodes/picture.el: Make motion commands obey shift-select-mode.
14693 (picture-newline): Use forward-line so as to ignore fields.
14694
01c157cc
SM
146952011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
14696
14697 * subr.el (with-wrapper-hook): Fix edebug spec.
14698
022de23e
LMI
146992011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
14700
14701 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
14702 (bug#4538).
14703
91683089
MA
147042011-09-23 Michael Albinus <michael.albinus@gmx.de>
14705
eca3f3ea
PW
14706 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
14707 Fix nasty bug using wrong cached values.
91683089 14708
5bdd6fa4
AM
147092011-09-23 Alan Mackenzie <acm@muc.de>
14710
14711 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
14712
97adfb97
CY
147132011-09-23 Chong Yidong <cyd@stupidchicken.com>
14714
14715 * window.el (pop-to-buffer): Ensure right window is selected if we
14716 chose another frame.
14717
d4ef2b50
EZ
147182011-09-22 Eli Zaretskii <eliz@gnu.org>
14719
14720 * simple.el (what-cursor-position): Use get-char-property-change
14721 and next-single-char-property-change, to be able to show display
14722 properties that come from overlays as well as text properties.
14723
72258fe5
CY
147242011-09-22 Chong Yidong <cyd@stupidchicken.com>
14725
14726 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
14727
14728 * cmuscheme.el (run-scheme, switch-to-scheme):
14729 * cus-edit.el (customize-group, custom-buffer-create)
14730 (customize-browse):
14731 * info.el (info):
14732 * shell.el (shell):
14733 * mail/sendmail.el (mail):
14734 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
14735
8f098516
RS
147362011-09-22 Richard Stallman <rms@gnu.org>
14737
14738 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
14739 move back only to line beg, don't move back over blank lines.
14740
e74f1bb6
MA
147412011-09-22 Michael Albinus <michael.albinus@gmx.de>
14742
14743 * files.el (copy-directory): Set directory attributes only in case
14744 they could be retrieved from the source directory. (Bug#9565)
14745
bfeef8b6
DK
147462011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
14747
14748 * progmodes/hideshow.el (hs-looking-at-block-start-p)
14749 (hs-find-block-beginning, hs-hide-level-recursive):
14750 Ignore strings as well as comments. (Bug#9502)
14751
7e423bb8
AS
147522011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
14753
14754 * progmodes/sql.el (sql-comint-postgres):
14755 Convert port number to a string. (Bug#9566)
14756
b4d72fcf
MR
147572011-09-22 Martin Rudalics <rudalics@gmx.at>
14758
14759 * window.el (quit-window): Undedicate window when switching to
14760 previous buffer. Reported by Thierry Volpiatto
14761 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
14762 (special-display-popup-frame): When popping up a new frame reset
14763 its previous buffers to nil. Simplify code.
b4d72fcf 14764
a7b88dc6
MA
147652011-09-21 Michael Albinus <michael.albinus@gmx.de>
14766
14767 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
14768 and process filter, as done also in `shell-command'.
14769
cf4eacfd
MR
147702011-09-21 Martin Rudalics <rudalics@gmx.at>
14771
eca3f3ea 14772 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
14773 Call set-window-start with NOFORCE argument t.
14774 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
14775 (quit-window): Reword doc-string. Handle new format of
14776 quit-restore parameter. Don't delete window if it has a
14777 previous buffer we can show instead of the present one.
14778 (display-buffer-record-window): Rewrite using a new format for
14779 the quit-restore window parameter
14780 (special-display-popup-frame, display-buffer-same-window)
14781 (display-buffer-reuse-window, display-buffer-pop-up-frame)
14782 (display-buffer-pop-up-window, display-buffer-use-some-window):
14783 Adapt symbol passed to display-buffer-record-window.
14784 * help.el (help-window-setup): Handle new format of quit-restore
14785 parameter.
14786
8d28cb95
SM
147872011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
14788
94ab793f
SM
14789 * faces.el (face-list): Fix docstring (bug#9564).
14790
8d28cb95
SM
14791 * window.el (display-buffer--action-function-custom-type):
14792 Don't include internal functions in the Custom interface.
14793
3820edeb
JL
147942011-09-20 Juri Linkov <juri@jurta.org>
14795
14796 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
14797 (Info-forward-node, Info-backward-node, Info-next-preorder)
14798 (Info-last-preorder): Use it. (Bug#9528)
14799
5147931d
JL
148002011-09-20 Juri Linkov <juri@jurta.org>
14801
14802 * info.el (Info-last-preorder): Visit last menu item only when
14803 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
14804
cf499a1a
JD
148052011-09-20 Julien Danjou <julien@danjou.info>
14806
14807 * password-cache.el (password-cache-remove): Remove entries even if the
14808 value is nil, so that password with a nil value (negative caching) is
14809 possible to invalidate.
14810
f84e2fe2
LM
148112011-09-20 Lawrence Mitchell <wence@gmx.li>
14812
14813 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
14814 all whitespace around breakpoint. (Bug#9553)
14815 (f90-find-breakpoint): Only break at whitespace inside a comment.
14816
78054a46
SM
148172011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
14818
14819 * minibuffer.el (completion-file-name-table): Keep track of errors.
14820 (completion-table-with-predicate): Handle the case where pred1 is nil.
14821 * pcomplete.el (pcomplete-completions-at-point): Simplify.
14822
345083b2
SM
148232011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
14824
e24e27be
SM
14825 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
14826 (debugger-return-value): Signal an error if the debugging context does
14827 not await any return value.
14828
345083b2
SM
14829 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
14830 * image-mode.el (image-toggle-display-text)
14831 (image-toggle-display-image): Stay away from evil `intangible'.
14832
08d355e3
LL
148332011-09-19 Leo Liu <sdl.web@gmail.com>
14834
14835 * replace.el (occur-revert-arguments): Make it permanent-local.
14836 (occur-mode): Don't call font-lock-defontify.
14837
f01da43f
CY
148382011-09-19 Chong Yidong <cyd@stupidchicken.com>
14839
14840 * net/ldap.el (ldap-search-internal): Don't push empty search
14841 result (Bug#9508).
14842
b6072fa6
SM
148432011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
14844
14845 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
14846
443d6696
MA
148472011-09-19 Michael Albinus <michael.albinus@gmx.de>
14848
14849 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
14850 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
14851
7cc6e154
JL
148522011-09-18 Juri Linkov <juri@jurta.org>
14853
14854 * buff-menu.el (Buffer-menu-mode-map):
14855 * dired.el (dired-mode-map):
14856 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
14857 (lisp-interaction-mode-map):
14858 * emacs-lisp/package.el (package-menu-mode-map):
14859 * epa.el (epa-key-list-mode-map):
14860 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
14861 (menu-bar-options-menu):
14862 * outline.el (outline-mode-menu-bar-map):
14863 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
14864 * vc/vc-dir.el (vc-dir-menu-map):
14865 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
14866 Capitalize non-function content words in menu item strings.
14867
14868 * dired.el (dired-mode-map): Add menu item for
14869 `image-dired-dired-toggle-marked-thumbs'.
14870
80302a81
JL
148712011-09-18 Juri Linkov <juri@jurta.org>
14872
14873 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
14874 to `isearch-case-fold-search' and restore its original value
14875 after the `isearch-mode' call.
14876
46c5cf66
JL
148772011-09-18 Juri Linkov <juri@jurta.org>
14878
14879 * progmodes/grep.el (grep-process-setup): Don't check code for 1
14880 because `zgrep' returns 1 for successful matches (bug#9226).
14881
d18b513b
JL
148822011-09-18 Juri Linkov <juri@jurta.org>
14883
14884 * info.el (Info-extract-menu-node-name): Check the second match
14885 for empty string (second test-case of bug#9528).
14886 (Info-last-preorder): Let-bind `Info-history' to nil to not add
14887 intermediate nodes to the history (first test-case of bug#9528).
14888
72753f87
JL
148892011-09-18 Juri Linkov <juri@jurta.org>
14890
14891 * info.el (Info-mode-syntax-table): New variable.
1154d12e 14892 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 14893
c9384295
JL
148942011-09-18 Juri Linkov <juri@jurta.org>
14895
1154d12e
JB
14896 * info.el (Info-file-supports-index-cookies):
14897 Increment line-beginning-position's arg from 3 to 4 because makeinfo
14898 outputs one more line for long file names (bug#4142).
c9384295 14899
d473dce8
CY
149002011-09-18 Chong Yidong <cyd@stupidchicken.com>
14901
14902 * newcomment.el (comment-normalize-vars): If prompting for
14903 comment-start, set comment-start-skip too (Bug#8424).
14904
2176854d
JB
149052011-09-18 Johan Bockgård <bojohan@gnu.org>
14906
14907 * icomplete.el: Fix previous fix of Bug#5849.
14908 (icomplete-mode): Don't set completion-show-inline-help.
14909 (icomplete-minibuffer-setup): Set completion-show-inline-help
14910 locally during icompletion.
14911
3aace4e4
CY
149122011-09-18 Chong Yidong <cyd@stupidchicken.com>
14913
c940224f
CY
14914 * woman.el (woman2-process-escapes): Don't delete unrecognized
14915 escapes (Bug#7843).
14916
3aace4e4
CY
14917 * files.el (inhibit-first-line-modes-regexps): Add image files.
14918 (hack-local-variables-prop-line): Return nil for malformed
14919 prop-lines (Bug#9044).
14920
710dec63
MA
149212011-09-18 Michael Albinus <michael.albinus@gmx.de>
14922
14923 * net/tramp.el (top): Don't require 'shell.
14924 (tramp-methods): Fix docstring.
14925 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
14926 Return complete remote file name. Handle "smb" case.
14927 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
14928 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
14929
14930 * net/tramp-compat.el (top): Require 'shell.
14931
14932 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
14933 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
14934 `tramp-current-host'.
14935 (tramp-get-remote-tmpdir): Remove.
14936
14937 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
14938 `tramp-tmpdir' entries.
14939 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
14940 (tramp-smb-handle-file-attributes): Ignore errors.
14941 (tramp-smb-wait-for-output): Check also for process end.
14942
5d5ac8ec
LMI
149432011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
14944
14945 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
14946 when sending QUIT (bug#9312).
14947
8c0f49f0
CY
149482011-09-17 Chong Yidong <cyd@stupidchicken.com>
14949
14950 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
14951 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
14952 occur-mode-display-occurrence.
14953 (occur-edit-mode): Add usage message.
14954 (occur-cease-edit): New command.
14955 (occur-after-change-function): Use text properties to find the
14956 position of the prefix text.
14957 (occur-engine): Set stickiness of prefix text properties.
14958
8f1383f7
GM
149592011-09-17 Glenn Morris <rgm@gnu.org>
14960
14961 * progmodes/etags.el (complete-tag):
14962 Fix call to completion-in-region. (Bug#9526)
14963
744ba0e3
JL
149642011-09-17 Juri Linkov <juri@jurta.org>
14965
14966 * textmodes/ispell.el (ispell-word): Add to the error message
14967 the word, ispell program name and current dictionary (bug#9121).
14968 (ispell-tex-arg-end): Capitalize "error" in the error message.
14969
d9bbf400
AS
149702011-09-17 Andreas Schwab <schwab@linux-m68k.org>
14971
14972 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
14973 check. (Bug#4251)
14974
8da11505
JL
149752011-09-17 Juri Linkov <juri@jurta.org>
14976
14977 * window.el (window-safe-min-height, window-safe-min-width):
14978 Fix typos (followup to bug#9522).
14979
a91adc7e
SJ
149802011-09-17 Sven Joachim <svenjoac@gmx.de>
14981
14982 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
14983
064f328a
EZ
149842011-09-16 Eli Zaretskii <eliz@gnu.org>
14985
14986 * simple.el (line-move): If goal-column is set, move by logical
14987 lines, not by display lines. (Bug#971)
14988 (next-line, previous-line, goal-column, line-move-visual): Doc fix
14989 to reflect the above change.
14990
e69df516
SM
149912011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
14992
14993 * image.el (imagemagick-register-types): Use regexp-opt.
14994
cbb0f9ab
CY
149952011-09-15 Chong Yidong <cyd@stupidchicken.com>
14996
14997 * window.el (display-buffer-base-action): Rename from
14998 display-buffer-default-action. Make default value empty.
14999 (display-buffer-overriding-action): Convert to defvar.
15000 (display-buffer-fallback-action): New var.
15001
25322144
CY
150022011-09-15 Chong Yidong <cyd@stupidchicken.com>
15003
15004 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
15005 declaration.
15006 (package--add-to-archive-contents): If there is a duplicate entry
15007 with an older version, remove it.
15008 (package-menu-mark-delete, package-menu-mark-install)
15009 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
15010 (package-menu-mark-obsolete-for-deletion):
15011 Use package-menu-get-status instead of a regexp search.
25322144
CY
15012 (package-menu-get-status): Use tabulated-list-entry.
15013 (package-menu-mark-upgrades): New command.
d770725a 15014 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
15015 (package-menu-execute): Do installation before deletion.
15016 (package-menu-refresh, package-menu-execute): Use derived-mode-p
15017 instead of checking major-mode.
15018 (package-menu--find-upgrades): New function.
15019
7520339c
LMI
150202011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
15021
15022 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
15023 passwords in the log buffer.
65a046c4
LMI
15024 (smtpmail-process-filter): Update the process marker so that the
15025 "broken by peer" status message is inserted in the right place.
7520339c 15026
d3c30954
SM
150272011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
15028
3fe48822
SM
15029 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
15030 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
15031 bibtex-completion-at-point-function.
15032 (bibtex-completion-at-point-function): Use them.
15033
1b8b3954
SM
15034 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
15035
d3c30954
SM
15036 * mpc.el (mpc-constraints-tag-lookup): New function.
15037 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
15038 also to browser "album|playlist".
15039
72779976
JL
150402011-09-14 Juri Linkov <juri@jurta.org>
15041
15042 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
15043 (isearch-edit-string): Use length of `isearch-string' when
15044 `isearch-fail-pos' returns nil.
15045 (isearch-message): Remove duplicate code and call
15046 `isearch-fail-pos' with arg `t'.
15047
a0bf2bcd
CY
150482011-09-14 Chong Yidong <cyd@stupidchicken.com>
15049
17bb0a2d
CY
15050 * replace.el (occur-mode-goto-occurrence): Don't force using other
15051 window (Bug#9499).
15052
a0bf2bcd
CY
15053 * dired-aux.el (dired-do-chmod): Don't provide initial input.
15054
f678e0b6
MR
150552011-09-14 Martin Rudalics <rudalics@gmx.at>
15056
15057 * window.el (display-buffer-window): Remove.
15058 (display-buffer-record-window): Use help-setup window parameter
15059 instead of variable display-buffer-window.
15060 (display-buffer-function, special-display-buffer-names)
15061 (special-display-function): Mention help-setup parameter instead
15062 of display-buffer-window in doc-string.
d3c30954
SM
15063 * help.el (help-window-setup): New argument help-window.
15064 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
15065 Reword some messages.
15066 (with-help-window): Pass window used for displaying the buffer
15067 to help-window-setup. Don't set display-buffer-window.
15068
8e39b2e8
GM
150692011-09-13 Glenn Morris <rgm@gnu.org>
15070
15071 * emacs-lisp/debug.el (debugger-make-xrefs):
15072 Preserve point. (Bug#9462)
15073
85e9c04b
CY
150742011-09-13 Chong Yidong <cyd@stupidchicken.com>
15075
15076 * window.el (window-deletable-p): Use next-frame.
15077
1b36ed6a
MR
150782011-09-13 Martin Rudalics <rudalics@gmx.at>
15079
15080 * window.el (window-auto-delete): Remove.
15081 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 15082 dedication and previous buffers.
1b36ed6a
MR
15083 (switch-to-prev-buffer): Don't delete window.
15084 (delete-windows-on): Delete a window's frame if and only if the
15085 window is dedicated.
15086 (replace-buffer-in-windows): Delete buffer's window or frame if
15087 and only if window is dedicated.
15088 (quit-window): Handle quit-restore as before last change.
4d61f28d 15089 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 15090
ef8ef9fb
CY
150912011-09-13 Chong Yidong <cyd@stupidchicken.com>
15092
15093 * window.el (window-deletable-p): Never delete the last frame on a
15094 given terminal.
15095
b2cba41e
GM
150962011-09-13 Glenn Morris <rgm@gnu.org>
15097
15098 * help.el (describe-key-briefly): Copy previous standard-output change.
15099
51553db6 151002011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
15101
15102 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
15103
b7556719
GM
151042011-09-13 Glenn Morris <rgm@gnu.org>
15105
15106 * emacs-lisp/lisp-mode.el (lisp-indent-function):
15107 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
15108
64b51947
CY
151092011-09-12 Chong Yidong <cyd@stupidchicken.com>
15110
15111 * dired-aux.el (dired-mark-read-string): Don't return default
15112 value on empty input (Bug#9361).
15113 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
15114 Omit initial minibuffer contents.
15115 (dired-do-chmod): Signal an error on empty input.
15116 (dired-mark-read-string): Don't return default on empty input.
15117
15118 * files.el (file-modes-symbolic-to-number): Doc fix.
15119
393a301e
SM
151202011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
15121
15122 * international/mule-cmds.el (ucs-completions): Remove.
15123 (read-char-by-name): Use complete-with-action instead; add metadata.
15124
fa5660f9
CY
151252011-09-11 Chong Yidong <cyd@stupidchicken.com>
15126
15127 * window.el (display-buffer--action-function-custom-type)
15128 (display-buffer--action-custom-type): New vars.
15129 (display-buffer-alist, display-buffer-default-action)
15130 (display-buffer-overriding-action): Add defcustom types.
15131
4a592f66
CY
15132 * frame.el (delete-other-frames): Doc fix (Bug#276).
15133
73d56dbd
LMI
151342011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15135
15136 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
15137
37ac18a3
CY
151382011-09-11 Chong Yidong <cyd@stupidchicken.com>
15139
15140 Change modes that used same-window-* vars to use switch-to-buffer.
15141
15142 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
15143 Use switch-to-buffer.
15144
15145 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
15146 (customize-browse, custom-buffer-create-other-window):
15147 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
15148
15149 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
15150 (Info-prev, Info-up, Info-speedbar-goto-node)
15151 (info-display-manual): Use switch-to-buffer.
15152 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
15153
15154 * mail/sendmail.el (mail): Use switch-to-buffer.
15155 (mail-recover): Use switch-to-buffer-other-window.
15156
15157 * cmuscheme.el (run-scheme, switch-to-scheme):
15158 * ielm.el (ielm):
15159 * shell.el (shell):
15160 * net/rlogin.el (rlogin):
15161 * net/telnet.el (telnet, rsh):
15162 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
15163
10195bd6
AS
151642011-09-11 Andreas Schwab <schwab@linux-m68k.org>
15165
15166 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
15167
b322f63a
LMI
151682011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15169
39d7fed6
LMI
15170 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
15171 so don't mention it (bug#9301).
ba5a81f1 15172 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 15173
ee0e9f11
LMI
15174 * faces.el (face-spec-set-match-display): Make `(type graphic)'
15175 match `x', `w32' and `ns', like the manual says (bug#9029).
15176
0b1c89c1 15177 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
15178 (process-kill-buffer-query-function): Mention the buffer name in
15179 the query.
0b1c89c1 15180
77549ea8
LMI
15181 * image-mode.el (image-next-line): The line parameter is mandatory
15182 (bug#9258).
15183
803ef892
LMI
15184 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
15185 which can be useful (bug#9301).
15186
12980837
LMI
15187 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
15188
91054f8f
LMI
15189 * subr.el (match-string): Mention that the current buffer should
15190 be the same as the search was done in (bug#9282).
15191
b322f63a
LMI
15192 * facemenu.el: Disable the remove-* commands if the mark isn't
15193 active (bug#9162).
15194
3199b96f
CY
151952011-09-10 Chong Yidong <cyd@stupidchicken.com>
15196
15197 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
15198 of display-buffer.
15199 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
15200
15201 * replace.el (occur-mode-goto-occurrence)
15202 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
15203 and display-buffer.
15204
15205 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
15206 display-buffer.
15207
15208 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
15209 special-display and same-window variables.
15210 (mail-other-window): Use switch-to-buffer-other-window.
15211 (mail-other-frame): USe switch-to-buffer-other-frame.
15212
393a301e
SM
15213 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
15214 Use display-buffer-other-frame.
3199b96f
CY
15215 (gdb-display-gdb-buffer): Use pop-to-buffer.
15216
15217 * progmodes/gud.el (gud-goto-info): Use info-other-window.
15218
15219 * progmodes/python.el: Don't set same-window-buffer-names.
15220
15221 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
15222
15223 * window.el (display-buffer-alist): Add *Python*.
15224
8319e0bf
CY
152252011-09-10 Chong Yidong <cyd@stupidchicken.com>
15226
15227 * window.el (display-buffer-alist): Add entry for buffers
15228 previously handled same-window-*.
15229 (display-buffer-alist, display-buffer-default-action)
15230 (display-buffer-overriding-action): Mark as risky.
15231 (display-buffer-alist): Document action function changes.
15232 (display-buffer--same-window-action)
15233 (display-buffer--other-frame-action): New variables.
15234 (switch-to-buffer, display-buffer-other-frame): Use them.
15235 (display-buffer): Rename reuse-frame entry to reusable-frames.
15236 (display-buffer-reuse-selected-window): Function deleted.
15237 (display-buffer-reuse-window): Handle reusable-frames alist entry.
15238 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
15239 (display-buffer-special): New function.
15240 (display-buffer--maybe-pop-up-frame-or-window): Rename from
15241 display-buffer-reuse-or-pop-window. Split off special-display
15242 part into display-buffer-special.
15243 (display-buffer-use-some-window): Don't perform any special
15244 pop-up-frames handling.
15245 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 15246 (display-buffer--maybe-same-window): Rename from
0d3ff375 15247 display-buffer-maybe-same-window.
8319e0bf 15248
919a69aa
CY
15249 * info.el: Don't set same-window-regexps.
15250 (info-setup): New function.
15251 (info-other-window, info): Call it.
15252
15253 * cus-edit.el: Don't set same-window-regexps.
15254 (customize-group): New argument.
15255 (customize-group-other-window): Use it.
15256 (customize-face, customize-face-other-window): Likewise.
15257 (custom-buffer-create-other-window): Use pop-to-buffer directly.
15258
8319e0bf
CY
15259 * net/rlogin.el:
15260 * net/telnet.el:
15261 * progmodes/gud.el: Don't set same-window-regexps.
15262
15263 * cmuscheme.el:
15264 * ielm.el:
15265 * shell.el:
15266 * mail/sendmail.el:
15267 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
15268
25173000
JL
152692011-09-10 Juri Linkov <juri@jurta.org>
15270
15271 * isearch.el (isearch-edit-string): Remove obsolete mention of
15272 `C-w' (`isearch-yank-word-or-char') from docstring.
15273 (isearch-query-replace): Fix typo in docstring (bug#9466).
15274
056e44ef
JL
152752011-09-10 Juri Linkov <juri@jurta.org>
15276
15277 * paren.el (show-paren-function): Don't show escaped parens.
15278 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
15279
c3760c17
EZ
152802011-09-10 Eli Zaretskii <eliz@gnu.org>
15281
15282 * mail/sendmail.el (mml-to-mime, mml-attach-file)
15283 (mm-default-file-encoding): Remove autoload forms, they are
15284 replaced with autoload cookies in mml.el and mm-encode.el.
15285 (mail-add-attachment): New command.
15286 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
15287 (mail-mode): Mention mail-insert-file and mail-add-attachment in
15288 the doc string.
15289 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
15290
fece895e
RT
152912011-09-10 Reuben Thomas <rrt@sc3d.org>
15292
e69df516
SM
15293 * simple.el (count-words-region): Use buffer if there's no region
15294 (bug#9429).
fece895e 15295
5e68ce4a
JL
152962011-09-09 Juri Linkov <juri@jurta.org>
15297
15298 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
15299 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
15300 (wdired-isearch-filter-read-only): New function. (Bug#6362)
15301
0a6b9622
AM
153022011-09-09 Alan Mackenzie <acm@muc.de>
15303
15304 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
15305 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
15306
14a29deb
EZ
153072011-09-09 Eli Zaretskii <eliz@gnu.org>
15308
15309 Fix for Savannah bug#9392.
15310 * simple.el (mail-encode-mml): New defvar.
15311
15312 * mail/rmail.el (mail-encode-mml): Add a defvar.
15313 (rmail-enable-mime-composing): Default to t.
15314 (rmail-forward): Use MIME method of forwarding only if both
15315 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
15316 Set mail-encode-mml non-nil if the MIME method was used.
15317
15318 * mail/sendmail.el (mml-to-mime): Add autoload form.
15319 (mail-encode-mml): Add a defvar.
15320 (mail-mode): Make mail-encode-mml buffer-local and initialize it
15321 to nil.
15322 (mail-send): If mail-encode-mml is non-nil, run the outgoing
15323 message through mml-to-mime, and reset mail-encode-mml to nil.
15324
28c45130
GM
153252011-09-09 Glenn Morris <rgm@gnu.org>
15326
15327 * woman.el (woman-if-body): When processing an .el block,
15328 do not delete the next .el block as well. (Bug#9447)
69f4b618 15329 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 15330
9b1c252e
MR
153312011-09-08 Martin Rudalics <rudalics@gmx.at>
15332
15333 * window.el (window-deletable-p): Make sure window is live before
15334 invoking window-prev-buffers.
15335
567457e3
LL
153362011-09-08 Leo Liu <sdl.web@gmail.com>
15337
15338 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
15339
97f05794
JL
153402011-09-08 Juri Linkov <juri@jurta.org>
15341
15342 * progmodes/compile.el (compilation-environment): Make it
15343 a defcustom (bug#8340).
15344
8b0874b5
MR
153452011-09-08 Martin Rudalics <rudalics@gmx.at>
15346
15347 * window.el (frame-auto-delete): Rename to window-auto-delete.
15348 Make it control auto-deletion of windows and/or frames.
15349 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 15350 for deleting window/frame. (Bug#9419)
8b0874b5
MR
15351 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
15352 Rewrite handling of case when window/frame can be deleted.
15353 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 15354 argument t. (Bug#9456)
8b0874b5 15355
4feb6e73
CY
153562011-09-07 Chong Yidong <cyd@stupidchicken.com>
15357
15358 * help-mode.el (help-mode): Restore autoload.
15359
91ab9c13
JL
153602011-09-07 Juri Linkov <juri@jurta.org>
15361
15362 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
15363 `compilation-environment'. Set buffer-local
15364 `compilation-environment' to `thisenv' later after (funcall mode).
15365 (Bug#8340)
15366
15367 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
15368 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
15369 instead of replacing its value. (Bug#8340)
15370
0527e251
JL
153712011-09-07 Juri Linkov <juri@jurta.org>
15372
15373 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
15374 based on text properties put by `grep-filter' instead of matching
15375 escape sequences.
15376 (grep-mode): Set buffer-local `compilation-error-screen-columns'
15377 to the value of `grep-error-screen-columns' (bug#9438).
15378
249f792c
JL
153792011-09-07 Juri Linkov <juri@jurta.org>
15380
15381 * simple.el (next-error-highlight, next-error-highlight-no-select):
15382 Doc fix (bug#9432).
15383
ff7271b9
OT
153842011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
15385
15386 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
15387 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
15388
183fc730
LL
153892011-09-07 Leo Liu <sdl.web@gmail.com>
15390
15391 * net/rcirc.el (rcirc-mode): Conditionally initialize
15392 rcirc-input-ring.
15393
77694924
SM
153942011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
15395
15396 * emacs-lisp/find-func.el (find-function-C-source): Only set
15397 find-function-C-source-directory after checking that we found a source
15398 file there (bug#9440).
15399
d809b8eb
AM
154002011-09-06 Alan Mackenzie <acm@muc.de>
15401
15402 * isearch.el (isearch-other-meta-char): Wherever a key list is
15403 unread, "unread" the prefix arg, too. This fixes bug #8901.
15404
453de99f
OG
154052011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
15406
15407 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
15408
90439906
JL
154092011-09-05 Juri Linkov <juri@jurta.org>
15410
15411 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
15412
f62bd846
JL
154132011-09-05 Juri Linkov <juri@jurta.org>
15414
15415 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
15416 keeping point where processing of grep matches begins, and
15417 continue to delete remaining escape sequences from the same point.
15418 (grep-filter): Make leading zero optional in "0?1;31m" because
15419 git-grep emits "\033[1;31m" escape sequences unlike expected
15420 "\033[01;31m" as GNU Grep does (bug#9408).
15421 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
15422
045820ec
JL
154232011-09-05 Juri Linkov <juri@jurta.org>
15424
15425 * subr.el (y-or-n-p): Capitalize "yes".
15426
f5e29b9b
MA
154272011-09-04 Michael Albinus <michael.albinus@gmx.de>
15428
15429 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
15430 `tramp-cache-unload-hook' where appropriate.
15431 (tramp-methods): Rename `tramp-remote-sh' to
15432 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
15433 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
15434
15435 * net/tramp-sh.el (top): Don't require 'shell.
15436 (tramp-methods): Add `tramp-remote-shell' and
15437 `tramp-remote-shell-args' entries.
15438 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
15439 (tramp-sh-handle-shell-command): Remove.
15440 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
15441 Use `tramp-remote-shell'.
15442
2784c434
CY
154432011-09-03 Chong Yidong <cyd@stupidchicken.com>
15444
393a301e 15445 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
15446 (sendmail-query-once): Save directly to send-mail-function.
15447 Update message-send-mail-function too.
15448
15449 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
15450
464cdf56
CS
154512011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
15452
15453 * progmodes/python.el (python-mode-map): Use correct function to
15454 start python interpreter from menu-bar (as reported by Geert
15455 Kloosterman).
15456 (inferior-python-mode-map): Fix typo.
393a301e 15457 (python-shell-map): Remove.
464cdf56 15458
d37e5c87
DD
154592011-09-03 Deniz Dogan <deniz@dogan.se>
15460
15461 * net/rcirc.el (rcirc-print): Simplify code for
15462 rcirc-scroll-show-maximum-output. There is no need to walk
15463 through all windows to find the right one.
15464
f3ada0ee
CS
154652011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
15466
15467 * help.el (help-return-method): Doc fix.
15468
1f3c99ca
MR
154692011-09-03 Martin Rudalics <rudalics@gmx.at>
15470
15471 * window.el (window-deletable-p): Don't return a non-nil value
15472 when there's a buffer that was shown in the window before.
15473 (Bug#9419)
393a301e
SM
15474 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
15475 Set window's previous buffers to nil.
1f3c99ca 15476
a3cf097f
EZ
154772011-09-03 Eli Zaretskii <eliz@gnu.org>
15478
15479 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
15480 newline before and after the tag line, so it doesn't interfere
15481 with determining the paragraph direction of bidirectional text.
15482
3d03de90
LL
154832011-09-03 Leo Liu <sdl.web@gmail.com>
15484
15485 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
15486
c3313451
CY
154872011-09-02 Chong Yidong <cyd@stupidchicken.com>
15488
393a301e 15489 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
15490 (pop-to-buffer): Change interactive spec. Pass second argument
15491 directly to display-buffer.
15492 (display-buffer): Fix interactive spec. Use functionp to
15493 distinguish between a function and a list of functions.
15494
15495 * abbrev.el (edit-abbrevs):
15496 * arc-mode.el (archive-extract):
15497 * autoinsert.el (auto-insert):
15498 * bookmark.el (bookmark-bmenu-list):
15499 * files.el (find-file):
15500 * view.el (view-buffer):
15501 * progmodes/compile.el (compilation-goto-locus):
15502 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
15503
89894cd8
CY
155042011-09-02 Chong Yidong <cyd@stupidchicken.com>
15505
15506 * window.el (display-buffer-alist): Doc fix.
15507 (display-buffer): Add docstring. Don't treat
15508 display-buffer-default specially.
15509 (display-buffer-reuse-selected-window)
15510 (display-buffer-same-window, display-buffer-maybe-same-window)
15511 (display-buffer-reuse-window, display-buffer-pop-up-frame)
15512 (display-buffer-pop-up-window)
15513 (display-buffer-reuse-or-pop-window)
15514 (display-buffer-use-some-window): New functions.
15515 (display-buffer-default-action): Use them.
393a301e 15516 (display-buffer-default): Delete.
89894cd8
CY
15517 (pop-to-buffer-1): Fix choice of actions.
15518
ae0bc9fb
SM
155192011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
15520
15521 * minibuffer.el (completion--insert-strings): Don't get confused by
15522 completion entries that end with an LF char.
15523
e9d90883
EZ
155242011-09-01 Eli Zaretskii <eliz@gnu.org>
15525
15526 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
15527
437014c8
CY
155282011-09-01 Chong Yidong <cyd@stupidchicken.com>
15529
15530 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
15531 (display-buffer-same-window, display-buffer-other-window):
15532 New functions.
437014c8
CY
15533 (pop-to-buffer-1): New function. Use the above.
15534 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 15535 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
15536
15537 * view.el (view-buffer-other-window, view-buffer-other-frame):
15538 Just use pop-to-buffer.
15539
a5e063d5
TV
155402011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15541
15542 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
15543
793d32bb
WH
155442011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
15545
15546 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
15547
d65e4c15
RS
155482011-08-31 Richard Stallman <rms@gnu.org>
15549
15550 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
15551 of the separation of rmail-view-buffer from rmail-buffer.
15552 If you say no to "replace original", the decrypt is in the
15553 view buffer. If you say yes, the decrypt goes into the
15554 rmail buffer also.
15555
f818cd2a
MR
155562011-08-31 Martin Rudalics <rudalics@gmx.at>
15557
15558 * window.el (display-buffer-window): Rewrite doc-string.
15559 (display-buffer-record-window): New function.
15560 (display-buffer-macro-specifiers)
15561 (display-buffer-even-window-sizes, display-buffer-set-height)
15562 (display-buffer-set-width, display-buffer-in-window)
15563 (display-buffer-reuse-window, display-buffer-split-specifiers)
15564 (display-buffer-side-specifiers, display-buffer-split-window-1)
15565 (display-buffer-split-window, display-buffer-split-atom-window)
15566 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
15567 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
15568 (display-buffer-other-window-means-other-frame)
15569 (display-buffer-normalize-special)
15570 (display-buffer-normalize-default)
15571 (display-buffer-normalize-argument)
15572 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
15573 (display-buffer-normalize-specifiers, display-buffer-frame)
15574 (display-buffer-same-window, display-buffer-same-frame)
15575 (display-buffer-other-window)
15576 (display-buffer-same-frame-other-window)
15577 (display-buffer-other-frame, pop-to-buffer-same-window)
15578 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
15579 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
15580 (switch-to-buffer-same-frame)
15581 (switch-to-buffer-other-window-same-frame)
15582 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
15583 (display-buffer-alist-set-1, display-buffer-alist-set-2)
15584 (display-buffer-alist-set): Remove.
15585 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
15586 (special-display-regexps, special-display-function):
15587 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
15588 parameter.
15589 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
15590 (special-display-frame-alist, special-display-popup-frame)
15591 (same-window-buffer-names, same-window-regexps, same-window-p)
15592 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
15593 (split-window-preferred-function, split-height-threshold)
15594 (split-width-threshold, window-splittable-p)
15595 (split-window-sensibly, window--try-to-split-window)
15596 (window--frame-usable-p, even-window-heights)
15597 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
15598 (window--display-buffer-2, display-buffer-other-frame):
15599 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
15600 (display-buffer-default, display-buffer-assq-regexp): New functions.
15601 (display-buffer-alist): Rewrite doc-string.
15602 (display-buffer-default-action)
15603 (display-buffer-overriding-action): New variables.
15604 (display-buffer, switch-to-buffer): Rewrite.
15605 (pop-to-buffer): Restore Emacs 23 behavior but use
15606 window-normalize-buffer-to-display.
15607 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
15608 Restore Emacs 23 behavior but use
15609 window-normalize-buffer-to-switch-to.
15610 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
15611 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
15612 Rewrite using Emacs 23 options.
f818cd2a 15613
5bc3b51d
MA
156142011-08-31 Michael Albinus <michael.albinus@gmx.de>
15615
15616 * net/tramp.el (tramp-root-regexp): Remove.
15617 (tramp-completion-file-name-regexp-unified)
15618 (tramp-completion-file-name-regexp-separate)
15619 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 15620 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
15621 (tramp-drop-volume-letter): Simplify definition.
15622 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 15623
b1a4f8e1
SM
156242011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
15625
15626 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
15627 (bug#9356).
15628
5664fa7b
RT
156292011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
15630
b1a4f8e1 15631 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 15632
9a45d6c3
JL
156332011-08-29 Juri Linkov <juri@jurta.org>
15634
15635 * isearch.el (isearch-done): Don't display message "Mark saved"
15636 when arg `edit' is non-nil to prevent its flicker in the echo area.
15637
fb87e0fb
CY
156382011-08-28 Chong Yidong <cyd@stupidchicken.com>
15639
15640 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
15641 obsolete packages for deletion.
15642
09ac1c2a
CS
156432011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
15644
15645 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 15646 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
15647 view-mode from help-mode.
15648 (help-xref-override-view-map): Remove.
15649 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
15650 view-mode is not used anymore.
15651
7a1ff57f
CY
156522011-08-28 Chong Yidong <cyd@stupidchicken.com>
15653
15654 * server.el (server-port): Doc fix.
15655
b9696605
CY
15656 * cus-theme.el (custom-theme-choose-mode): Inherit from
15657 special-mode (Bug#9124).
15658 (custom-theme-choose-mode-map): Add special-mode to parent.
15659
ef8cdf8c
AM
156602011-08-28 Alan Mackenzie <acm@muc.de>
15661
15662 * progmodes/cc-fonts.el
15663 (c-make-font-lock-BO-decl-search-function): New function.
15664 (c-basic-matchers-after - "Fontify the clauses after various
15665 keywords"): Extract the three keyword lists for the 3 erroneous
15666 constructs from the list of four, and use the new function above
15667 in place of an old one.
15668
27de4e20
DD
156692011-08-28 Deniz Dogan <deniz@dogan.se>
15670
15671 * net/rcirc.el (rcirc-insert-prev-input)
15672 (rcirc-insert-next-input): Remove unused argument.
15673
356a3681
SM
156742011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
15675
15676 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
15677
3fc9b218
AM
156782011-08-27 Alan Mackenzie <acm@muc.de>
15679
15680 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
15681 handle function pointer parameters properly.
15682
538a061c
MR
156832011-08-27 Martin Rudalics <rudalics@gmx.at>
15684
15685 * window.el (display-buffer-reuse-window): Fix case where
15686 selected window was reused with non-nil OTHER-WINDOW argument.
15687 (Bug#9381)
15688
35b1c40c
DD
156892011-08-27 Deniz Dogan <deniz@dogan.se>
15690
15691 * net/rcirc.el (rcirc-check-auth-status): Adding support for
15692 oftc's NickServ messages.
15693
2f6a3e79
GM
156942011-08-27 Glenn Morris <rgm@gnu.org>
15695
15696 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
15697
7254299e
CY
156982011-08-26 Chong Yidong <cyd@stupidchicken.com>
15699
15700 * emacs-lisp/package.el (package-install): Call package-initialize
15701 if called interactively.
15702
f8ccf167
LL
157032011-08-26 Leo Liu <sdl.web@gmail.com>
15704
15705 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
15706
3e8cd5ce
JL
157072011-08-25 Juri Linkov <juri@jurta.org>
15708
15709 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
15710 `search-whitespace-regexp' (bug#9364).
15711
93eb7113
JL
157122011-08-25 Juri Linkov <juri@jurta.org>
15713
15714 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
15715 `regexp-search-ring' to their global values to protect from
15716 updating by `read-from-minibuffer' (bug#9185).
15717
f65d1611
JL
157182011-08-25 Juri Linkov <juri@jurta.org>
15719
15720 * textmodes/ispell.el (ispell-command-loop): Add newline
15721 at the end of the "Use option `i'..." line.
15722
f1cf7a31
JL
157232011-08-25 Juri Linkov <juri@jurta.org>
15724
15725 * battery.el (display-battery-mode): If `battery-status-function'
15726 or `battery-mode-line-format' is nil, display the message and set
15727 `display-battery-mode' to nil (bug#9363).
15728
0c95fcf7
EZ
157292011-08-25 Eli Zaretskii <eliz@gnu.org>
15730
15731 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
15732 bidi-string-mark-left-to-right; they are unnecessary now.
15733
a2ebe600
DD
157342011-08-25 Deniz Dogan <deniz@dogan.se>
15735
15736 * net/quickurl.el: Documentation typo fixes.
15737
e4ed06f1
CY
157382011-08-25 Chong Yidong <cyd@stupidchicken.com>
15739
15740 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
15741
e5f1c99e
GM
157422011-08-25 Glenn Morris <rgm@gnu.org>
15743
b2948976
GM
15744 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
15745
e5f1c99e
GM
15746 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
15747 (smtpmail-via-smtp): Handle nil response from smtp.
15748
f22f4808
JL
157492011-08-24 Juri Linkov <juri@jurta.org>
15750
15751 * proced.el (proced-marked): Inherit from `error' instead of
15752 `font-lock-warning-face'.
15753
15754 * ibuffer.el (ibuffer-marked-face): Change default face from
15755 `font-lock-warning-face' to `warning'.
15756 (ibuffer-deletion-face): Change default face from
15757 `font-lock-type-face' to `error'.
15758
15759 * battery.el (battery-update): Use the face `error' instead of
15760 `font-lock-warning-face' (bug#6117).
15761
6a93965e
JL
157622011-08-24 Juri Linkov <juri@jurta.org>
15763
15764 * faces.el (success): Change face color from "Green3" to
15765 "ForestGreen" on light background (bug#9353).
15766
1ed43b09
CY
157672011-08-24 Chong Yidong <cyd@stupidchicken.com>
15768
5664fa7b
RT
15769 * window.el (quit-window): Rename from quit-restore-window.
15770 Use same arglist as old quit-window.
1ed43b09
CY
15771 (frame-auto-delete): Doc fix.
15772
15773 * view.el (view-mode-exit): Use quit-window.
15774
11dcdbb2
JL
157752011-08-24 Juri Linkov <juri@jurta.org>
15776
15777 * isearch.el (isearch-ring-adjust1): Start visiting previous
15778 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
15779 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
15780 for empty search string (when the last search string is reused
15781 automatically) to adjust the isearch ring to the last element and
15782 prepare the correct index for further M-p commands (bug#9185).
15783
de62b4df
KH
157842011-08-24 Kenichi Handa <handa@m17n.org>
15785
15786 * international/ucs-normalize.el: If decomposition property of
15787 CHAR is the default one (i.e. a list of CHAR itself), treat it as
15788 nil.
15789 (nfd, nfkd): Likewise.
15790
963b492b
SM
157912011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
15792
15793 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
15794 from process filters aren't reliably transmitted to the surrounding
15795 accept-process-output.
15796 (mpc-proc-check): New function.
15797 (mpc-proc-sync): Use it (bug#8293)
15798
93b6b5e1
SM
157992011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
15800
15801 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
15802 Add compatibility functions (bug#9313).
15803
bca633fb
EZ
158042011-08-23 Eli Zaretskii <eliz@gnu.org>
15805
b177498a
EZ
15806 * cus-start.el (all): Add entry for bidi-paragraph-direction.
15807
6df6ae42 15808 * international/uni-bidi.el: Regenerate.
bca633fb 15809
0902a04e
KH
158102011-08-23 Kenichi Handa <handa@m17n.org>
15811
15812 * international/charprop.el:
15813 * international/uni-bidi.el:
15814 * international/uni-category.el:
15815 * international/uni-combining.el:
15816 * international/uni-comment.el:
15817 * international/uni-decimal.el:
15818 * international/uni-decomposition.el:
15819 * international/uni-digit.el:
15820 * international/uni-lowercase.el:
15821 * international/uni-mirrored.el:
15822 * international/uni-name.el:
15823 * international/uni-numeric.el:
15824 * international/uni-old-name.el:
15825 * international/uni-titlecase.el:
15826 * international/uni-uppercase.el: Regenerate.
15827
3bbf23bc
MR
158282011-08-23 Martin Rudalics <rudalics@gmx.at>
15829
15830 * help.el (help-window-setup): Fix message displayed when other
15831 window is reused. (Bug#9341)
15832
b3fd59bd
SM
158332011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
15834
1802e444
SM
15835 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
15836 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
15837
b3fd59bd
SM
15838 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
15839 Mark obsolete.
15840 * shell.el (shell-parse-pcomplete-arguments): New function.
15841 (shell-completion-vars): Use it instead (bug#9160).
15842
4eb61348
SM
158432011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
15844
867cab74
SM
15845 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
15846 strings and comments (bug#9333).
15847
4eb61348
SM
15848 * emacs-lisp/debug.el (debug-arglist): New function.
15849 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
15850 (debug-on-entry-1): Handle interpreted closures (bug#9120).
15851
262a1439
JL
158522011-08-22 Juri Linkov <juri@jurta.org>
15853
56ee679c
JL
15854 * progmodes/compile.el (compilation-mode-font-lock-keywords):
15855 Revert regexp that highlights output switches to its old
15856 pre-2010-10-28 value and remove one `?' from it (bug#9319).
15857
262a1439
JL
15858 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
15859 to check for empty output (bug#9226).
15860
f13f86fb
CY
158612011-08-22 Chong Yidong <cyd@stupidchicken.com>
15862
15863 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
15864 symbol-constituent as the default, as that stops font-lock from
15865 working properly (Bug#8843).
15866
c65c9622
LMI
158672011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
15868
15869 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
15870 `coding-system-for-*' around the process open call to avoid
15871 auth-source side effects.
e7f2c178 15872 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
15873 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
15874 probe hangs.
c65c9622 15875
23a8a5ab
CY
158762011-08-21 Chong Yidong <cyd@stupidchicken.com>
15877
ff98b2dd
CY
15878 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
15879
23a8a5ab
CY
15880 * emacs-lisp/find-func.el (find-function-noselect): New arg
15881 lisp-only.
15882
15883 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
15884 signal an error for built-in functions (Bug#6664).
15885
f5e3c598
LMI
158862011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
15887
15888 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
15889 (smtpmail-try-auth-methods): Use it.
15890
a3f2468a
CY
158912011-08-21 Chong Yidong <cyd@stupidchicken.com>
15892
2c34e8da
CY
15893 * font-lock.el (font-lock-fontify-region)
15894 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
15895 (font-lock-default-unfontify-buffer)
15896 (font-lock-default-fontify-region)
15897 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
15898
b3fd59bd
SM
15899 * progmodes/compile.el (compilation-error-properties):
15900 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
15901 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
15902 `ant' regexp.
ee31aabc 15903
a3f2468a
CY
15904 * net/browse-url.el (browse-url-firefox): Don't call
15905 browse-url-firefox-sentinel unless using -remote (Bug#9328).
15906
8e999f70
GM
159072011-08-20 Glenn Morris <rgm@gnu.org>
15908
c21a496a
GM
15909 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
15910
59ee0542
GM
15911 * tutorial.el (tutorial--default-keys): Update some default bindings.
15912
8e999f70
GM
15913 * files.el (hack-local-variables): Fully ignore case for "mode:".
15914
e3715033
AM
159152011-08-20 Alan Mackenzie <acm@muc.de>
15916
15917 Resolve invalid use of a regexp in regexp-opt.
15918
4d61f28d
JB
15919 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
15920 detection for a java annotation.
e3715033 15921
4d61f28d 15922 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
15923 detection for a java annotation.
15924
4d61f28d
JB
15925 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
15926 handling for java.
e3715033
AM
15927 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
15928
04ed2e9c
CY
159292011-08-20 Chong Yidong <cyd@stupidchicken.com>
15930
15931 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
15932 (Bug#9274).
15933
826cee64
AM
159342011-08-20 Alan Mackenzie <acm@muc.de>
15935
58179cce 15936 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
15937 such a construct. Mainly for when jit-lock etc. starts a chunk
15938 here.
15939
58179cce 15940 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 15941 variable.
58179cce 15942 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
15943 c-make-font-lock-search-function.
15944 (c-make-font-lock-search-function): Use the above function.
15945 (c-make-font-lock-context-search-function): New function.
15946 (c-cpp-matchers): Enhance the preprocessor expression case with
15947 the above function
15948 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
15949 which takes an expression.
15950
15951 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
15952
13009bd8
MR
159532011-08-20 Martin Rudalics <rudalics@gmx.at>
15954
15955 * window.el (display-buffer-reuse-window)
15956 (display-buffer-pop-up-window): Don't reuse or split a side
15957 window.
15958
9234ff7f
GM
159592011-08-19 Glenn Morris <rgm@gnu.org>
15960
15961 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 15962 Downcase "Mode:". (Bug#9331)
9234ff7f 15963
f635daa1
CY
159642011-08-18 Chong Yidong <cyd@stupidchicken.com>
15965
15966 * international/characters.el: Add L and R categories.
15967
15968 * subr.el (bidi-string-mark-left-to-right): Rename from
15969 string-mark-left-to-right. Use category search.
15970
15971 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
15972
bc987f8b
JL
159732011-08-18 Juri Linkov <juri@jurta.org>
15974
15975 * faces.el (error, warning, success): New faces with definitions
15976 copied from old default values of `font-lock-warning-face',
15977 `compilation-warning', `compilation-info' (bug#6117).
15978
15979 * font-lock.el (font-lock-warning-face): Inherit from `error'.
15980
15981 * progmodes/compile.el (compilation-error): Inherit from `error'.
15982 (compilation-warning): Inherit from `warning'.
15983 (compilation-info): Inherit from `success'.
15984
15985 * dired.el (dired-marked): Inherit from `warning'.
15986 (dired-flagged): Inherit from `error'.
15987
57173b96
LMI
159882011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
15989
3e79eb87
LMI
15990 * mail/smtpmail.el (auth-source): Require to avoid problems with
15991 binding variables (bug#9298). Also clean up some unused
15992 autoloads.
15993
b3fd59bd
SM
15994 * net/network-stream.el (network-stream-open-starttls):
15995 Support using starttls.el without using gnutls-cli.
57173b96 15996
02b404de
JL
159972011-08-17 Juri Linkov <juri@jurta.org>
15998
15999 * progmodes/grep.el (rgrep): Handle the case when
16000 `grep-find-command' is a cons cell (bug#9278).
16001
8c9177f2
MR
160022011-08-17 Martin Rudalics <rudalics@gmx.at>
16003
16004 * window.el (display-buffer-pop-up-frame): Run frame creation
16005 function with BUFFER current (as special-display-popup-frame
16006 does). Reported by Drew Adams.
16007
3644a0ab
DU
160082011-08-17 Daiki Ueno <ueno@unixuser.org>
16009
16010 * epa-mail.el: Simplify GnuPG group expansion using
16011 epg-expand-group.
16012 (epa-mail-group-alist, epa-mail-group-modtime)
16013 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
16014 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
16015 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
16016 Remove.
16017
5e617bc2 160182011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
16019
16020 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
16021
9c4aeabf
AM
160222011-08-16 Alan Mackenzie <acm@muc.de>
16023
16024 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
16025 Correct, to avoid the inside of macros.
16026
3a99bf64
RS
160272011-08-16 Richard Stallman <rms@gnu.org>
16028
04963aa8
RS
16029 * epa-mail.el: Handle GnuPG group definitions.
16030 (epa-mail-group-alist, epa-mail-group-modtime)
16031 (epa-mail-gnupg-conf-file): New variables.
16032 (epa-mail-parse-groups, epa-mail-sync-groups)
16033 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
16034 (epa-mail-expand-recipients): New functions.
16035 (epa-mail-encrypt): Call epa-mail-expand-recipients.
16036
177549d0
RS
16037 * mail/rmail.el (rmail-epa-decrypt): New command.
16038
fe38beef
RS
16039 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
16040 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
16041 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
16042 (epa-decrypt-armor-in-region): Make error message clearer.
16043
934eacb9
SM
160442011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
16045
16046 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
16047 and "a2b" to "ab" for `prefix'.
16048
d024fb4e
CY
160492011-08-14 Chong Yidong <cyd@stupidchicken.com>
16050
16051 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
16052 filter groups.
de148fee
CY
16053 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
16054 Fourquet (Bug#8804).
d024fb4e 16055
62f1ca49
JB
160562011-08-12 Juanma Barranquero <lekktu@gmail.com>
16057
16058 * startup.el (argi): Declare as global variable (bug#9275).
16059
9ccaaa4b
CY
160602011-08-12 Chong Yidong <cyd@stupidchicken.com>
16061
16062 * subr.el (string-mark-left-to-right): Search the entire string
16063 for RTL script, not just the terminating character. Doc fix.
16064
a3dae87a
SM
160652011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
16066
6cd18349
SM
16067 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
16068 New function.
16069 (js--regexp-literal, js-syntax-propertize-function): Remove.
16070 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
16071 (js-mode-map): Don't rebind electric keys.
16072 (js-insert-and-indent): Remove.
16073 (js-mode): Setup electric-layout and electric-indent instead.
16074
a3dae87a
SM
16075 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
16076
9d5cb631
DU
160772011-08-12 Daiki Ueno <ueno@unixuser.org>
16078
16079 * epa.el (epa-progress-callback-function): Fix the logic of
16080 displaying progress.
16081 * epa-file.el (epa-file-insert-file-contents): Make progress
16082 display more user-friendly.
16083 (epa-file-write-region): Ditto.
16084
3e26a4a2
CY
160852011-08-10 Chong Yidong <cyd@stupidchicken.com>
16086
16087 * subr.el (string-mark-left-to-right): New function.
16088
16089 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
16090 Use string-mark-left-to-right.
16091 (list-buffers-noselect): Caller changed.
16092
a3dae87a
SM
16093 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
16094 Use string-mark-left-to-right.
3e26a4a2
CY
16095 (tabulated-list-print): Recenter after moving point.
16096
ac8cf6e6
JL
160972011-08-10 Juri Linkov <juri@jurta.org>
16098
16099 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
16100 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
16101 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
16102
8d96c9a4
CY
161032011-08-09 Chong Yidong <cyd@stupidchicken.com>
16104
16105 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
16106 (Bug#7554).
16107
7be1c708 161082011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
16109
16110 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
16111 character. (Bug#6594)
16112
37e11a63
CY
161132011-08-08 Chong Yidong <cyd@stupidchicken.com>
16114
839dde57
CY
16115 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
16116 (image-dired--with-db-file): New macro.
16117 (image-dired-write-tags, image-dired-remove-tag)
16118 (image-dired-create-gallery-lists, image-dired-write-comments)
16119 (image-dired-get-comment, image-dired-mark-tagged-files)
16120 (image-dired-list-tags, image-dired-gallery-generate): Use it.
16121 (image-dired-gallery-generate): Use insert-file-contents.
16122
37e11a63
CY
16123 * time.el (display-time-world-list, display-time-world-display):
16124 * time-stamp.el (time-stamp-string):
16125 * vc/add-log.el (add-change-log-entry): Use setenv instead of
16126 set-time-zone-rule (Bug#7337).
16127
0b4946c4
DU
161282011-08-08 Daiki Ueno <ueno@unixuser.org>
16129
16130 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
16131 (epg-error-to-string, epg-errors-to-string): New function.
16132 (epg-wait-for-completion): Reverse errors list.
16133 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
16134 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
16135 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
16136 (epg-sign-keys, epg-generate-key-from-file)
16137 (epg-generate-key-from-string): Format errors by using
16138 epg-errors-to-string (bug#9255).
16139 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
16140
75bfc667
JL
161412011-08-07 Juri Linkov <juri@jurta.org>
16142
16143 * faces.el (list-faces-display): Remove extra angle bracket
16144 from `help-mode-map'.
16145
16146 * info.el (Info-history-toc-nodes): Doc fix.
16147
16148 * longlines.el (longlines-mode): Doc fix.
16149
673e08bb
SM
161502011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
16151
4640dd88
SM
16152 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
16153 of statements and in a few more cases (bug#9183).
16154
673e08bb
SM
16155 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
16156 New functions.
16157 (cl-transform-lambda): Use them (bug#9239).
16158
89b3f019
MR
161592011-08-05 Martin Rudalics <rudalics@gmx.at>
16160
16161 * window.el (display-buffer-same-window)
16162 (display-buffer-same-frame, display-buffer-other-window)
16163 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
16164 (pop-to-buffer-other-window)
16165 (pop-to-buffer-same-frame-other-window)
16166 (pop-to-buffer-other-frame): Make them defuns.
16167 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
16168
640c8776
SM
161692011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
16170
16171 * subr.el (make-composed-keymap): Move from C. Change calling
16172 convention, and improve docstring to bring attention to a subtle point.
16173 * minibuffer.el (completing-read-default): Adjust accordingly.
16174
63648a95
MA
161752011-08-03 Michael Albinus <michael.albinus@gmx.de>
16176
16177 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
16178 (tramp-open-shell): Use `tramp-shell-quote-argument'.
16179
16180 * net/trampver.el: Update release number.
16181
b796c9b7
SM
161822011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
16183
16184 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
16185 "in" (bug#9190).
16186
2239d7d5
LMI
161872011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16188
e07dd7c3
LMI
16189 * mail/sendmail.el (sendmail-query-once): Restore the current
16190 buffer after querying (bug#9074).
16191
0e6a2bd7
LMI
16192 * dired.el (dired-flagged): Use different faces for marked and
16193 flagged files (bug#6117).
16194
ce887515
LMI
16195 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
16196 (bug#4433).
16197
92f2affc
LMI
16198 * ido.el (ido-mode): Switch off the message if called
16199 non-interactively.
16200
57d5aff0
LMI
16201 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
16202 before 587, since it appears that that's more likely to work for
16203 more people.
16204
98cd6c18 16205 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 16206 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
16207 exist.
16208
b96dec83
LMI
16209 * info.el: Remove the `Info-beginning-of-buffer' function
16210 (bug#8325).
16211
b796c9b7
SM
16212 * net/network-stream.el (network-stream-open-starttls):
16213 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 16214
d90e2ea0
MR
162152011-08-01 Martin Rudalics <rudalics@gmx.at>
16216
16217 * window.el (display-buffer-in-window): Don't set dedicated status
16218 of window here (Bug#9215).
16219 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
16220 (display-buffer-pop-up-side-window)
b796c9b7 16221 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 16222
cca09170
SM
162232011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
16224
16225 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
16226 before binding generated-autoload-file.
16227
027b979c
DD
162282011-08-01 Deniz Dogan <deniz@dogan.se>
16229
16230 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
16231
3c7ee4f3
MA
162322011-07-30 Michael Albinus <michael.albinus@gmx.de>
16233
16234 Sync with Tramp 2.2.2.
16235
16236 * net/trampver.el: Update release number.
16237
2cc8e51a
JL
162382011-07-30 Juri Linkov <juri@jurta.org>
16239
16240 * dired-aux.el (dired-touch-initial): Remove function.
16241 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
16242 current time, and `default' to the last modification time of the
16243 current marked file (bug#6887).
16244
a514d856
JM
162452011-07-28 Jose E. Marchesi <jemarch@gnu.org>
16246
16247 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 16248 numeric argument to read-number (bug#9163).
a514d856 16249
8a7eddd7
MA
162502011-07-27 Michael Albinus <michael.albinus@gmx.de>
16251
16252 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
16253 connection process, it could be nil.
16254
1ddd96f5
LL
162552011-07-27 Leo Liu <sdl.web@gmail.com>
16256
16257 Simplify url handling in rcirc-mode.
16258
16259 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
16260 (rcirc-browse-url-at-mouse): Remove.
16261 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
16262
b248a85d
AM
162632011-07-26 Alan Mackenzie <acm@muc.de>
16264
16265 Fontify bitfield declarations properly.
16266
16267 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
16268 (c-symbol-chars): Now exported as a lang variable.
16269 (c-not-primitive-type-keywords): New lang variable.
16270
16271 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
16272 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 16273 parsed as a bitfield declaration.
b248a85d 16274
b796c9b7
SM
16275 * progmodes/cc-engine.el (c-beginning-of-statement-1):
16276 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
16277 (c-punctuation-in): New function.
16278 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
16279 declarations properly.
16280
68575ab0
UJ
162812011-07-26 Ulf Jasper <ulf.jasper@web.de>
16282
16283 * calendar/icalendar.el (icalendar--all-events): Take care of
16284 multiple vcalendars in a single file.
b796c9b7 16285 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 16286
0f0a88b9
DD
162872011-07-25 Deniz Dogan <deniz@dogan.se>
16288
16289 * image.el (insert-image): Clarifying docstring.
16290
0b3f36df
MA
162912011-07-24 Michael Albinus <michael.albinus@gmx.de>
16292
16293 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
16294 `tramp-send-command-and-check' if there is no error.
16295 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
16296
a9901f61
AM
162972011-07-22 Alan Mackenzie <acm@muc.de>
16298
16299 Prevent cc-langs.elc being loaded at run time.
16300
16301 * progmodes/cc-mode.el: Remove two autoload forms which loaded
16302 cc-langs.
16303
4d61f28d 16304 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
16305 "(require 'cc-langs)". Quote a form so it will evaluate at
16306 (cc-mode's) compilation time.
16307
11d074b2
MA
163082011-07-22 Michael Albinus <michael.albinus@gmx.de>
16309
16310 * net/tramp.el (tramp-file-name-handler): Avoid recursive
16311 loading. (Bug#9114)
16312
938b94c8
MR
163132011-07-21 Martin Rudalics <rudalics@gmx.at>
16314
16315 * window.el (display-buffer-pop-up-window)
16316 (display-buffer-pop-up-side-window)
16317 (display-buffer-in-side-window): Call display-buffer-set-height
16318 and display-buffer-set-width after setting the new window's
b796c9b7 16319 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 16320
bfa4f190
SS
163212011-07-20 Sam Steingold <sds@gnu.org>
16322
16323 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
16324 (etags-tags-included-tables): Call `convert-standard-filename' on
16325 the file names contained in TAGS so that windows Emacs can handle
16326 TAGS files created by cygwin ctags.
16327
8ca42262
LMI
163282011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
16329
16330 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
16331 which apparently didn't work.
16332
5db2afd2 163332011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 16334
5db2afd2
RW
16335 * proced.el (proced-send-signal): For *Marked Processes* buffer
16336 put point at beginning of buffer.
16337
92e15d10
SB
163382011-07-19 Stephen Berman <stephen.berman@gmx.net>
16339
16340 * proced.el (proced-format): Make header lines align with the text
16341 (bug#1779).
16342
1bfd59e5
LMI
163432011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
16344
16345 * view.el (view-buffer): Allow running in `special' modes if we're
16346 visiting a file (bug#8615).
16347
f5aae37c
MR
163482011-07-19 Martin Rudalics <rudalics@gmx.at>
16349
16350 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
16351 (display-buffer-alist-set-1, display-buffer-alist-set-2):
16352 New functions.
f5aae37c
MR
16353 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
16354 more accurately.
16355
bf2c1571
AM
163562011-07-18 Alan Mackenzie <acm@muc.de>
16357
16358 Fontify declarators properly when, e.g., a jit-lock chunk begins
16359 inside a declaration.
16360
16361 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
16362
b796c9b7
SM
16363 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
16364 New function.
bf2c1571
AM
16365 (c-complex-decl-matchers): Insert reference to
16366 c-font-lock-enclosing-decls.
16367
16368 * progmodes/cc-engine.el (c-backward-single-comment):
16369 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
16370 to nil around calls to (forward-comment -1).
16371
4e190b80
LMI
163722011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
16373
12dc863d
LMI
16374 * image.el (put-image): Doc typo fix.
16375
a762e966
LMI
16376 * progmodes/etags.el (tags-search): Doc typo fix.
16377
4e190b80
LMI
16378 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
16379 password if we get errors 550 to 554.
16380
f019fb21
LMI
163812011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
16382
b796c9b7 16383 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 16384
81746738
LMI
16385 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
16386 indentation character (bug#6380).
16387
3ee3a1b5
LMI
16388 * files.el (buffer-offer-save): Made permanently local (bug#6241).
16389
c82f64de
LMI
16390 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
16391 to clarify what the problem is (bug#4291).
16392
f019fb21
LMI
16393 * simple.el (current-kill): Clarify what
16394 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
16395 (auto-fill-mode): Document `auto-fill-function' in relation to
16396 `auto-fill-mode' (bug#2470).
f019fb21 16397
0794775d
LM
163982011-07-16 Lawrence Mitchell <wence@gmx.li>
16399
16400 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
16401 method if slot is read-only (bug#9035).
16402
be39b8cc
MR
164032011-07-16 Martin Rudalics <rudalics@gmx.at>
16404
b796c9b7 16405 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 16406 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
16407 selected before, see discussion of (Bug#8615), (Bug#6954).
16408 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 16409
6ccf7859
GM
164102011-07-15 Glenn Morris <rgm@gnu.org>
16411
16412 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 16413 Respect help-form.
6ccf7859 16414
87e86684
LM
164152011-07-09 Lawrence Mitchell <wence@gmx.li>
16416
16417 * net/gnutls.el (gnutls-min-prime-bits): New variable.
16418 (gnutls-negotiate): Use it.
16419
d6066239
LMI
164202011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
16421
b796c9b7
SM
16422 * net/gnutls.el (gnutls-negotiate):
16423 Upcase `gnutls-algorithm-priority'.
d6066239 16424
bd23ebc0
GM
164252011-07-15 Glenn Morris <rgm@gnu.org>
16426
c65bca65
GM
16427 * jka-compr.el (jka-compr-verbose): Move from here...
16428 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
16429 Add missing :version tag.
16430 * info.el: No need to require jka-compr when compiling.
bd23ebc0 16431
478615cc
LMI
164322011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
16433
7b41decb
LMI
16434 * net/gnutls.el (gnutls-algorithm-priority): New variable.
16435 (gnutls-negotiate): Use it.
16436
dbc44fcd
LMI
16437 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
16438
06789f97
LMI
16439 * info.el (Info-beginning-of-buffer): New command.
16440 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
16441 announcing `b' as the key (bug#8325).
ab896c37 16442 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 16443
c39da690
LMI
16444 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
16445
3aa5f34b
LMI
16446 * international/mule-cmds.el
16447 (describe-specified-language-support): Make the error message
16448 clearer (bug#8905).
16449
4bf0979f
LMI
16450 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
16451
478615cc
LMI
16452 * isearch.el (isearch-barrier): Add a doc string, since it's
16453 mentioned in a function doc string (bug#8678).
16454
75c68aa1
MR
164552011-07-15 Martin Rudalics <rudalics@gmx.at>
16456
16457 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
16458 buffer argument (Bug#9083) and self-identifying label argument.
16459
a7c33da2
GM
164602011-07-15 Glenn Morris <rgm@gnu.org>
16461
16462 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
16463
2f5c6024
LMI
164642011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
16465
16466 * man.el (Man-fontify-manpage): Fix message when formatting the
16467 man page (bug#7929).
16468
0bb23927 164692011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
16470
16471 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
16472 argument LRM; if non-nil, append an invisible LRM character to the
16473 buffer name.
16474 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
16475 last argument non-nil, when formatting buffer names.
0bb23927
EZ
16476 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
16477 paragraph direction.
cce4b0a7 16478
621ef9ab
LMI
164792011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
16480
d1583c48
LMI
16481 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
16482 the man page name (bug#7929).
16483
6a57fb5f
LMI
16484 * image.el (put-image): Mention the `put-image' overlay property
16485 (bug#7834).
16486
d7956b14
LMI
16487 * scroll-bar.el (set-scroll-bar-mode): Mention that
16488 `scroll-bar-mode' lists the values (bug#7772).
16489
5b2d4a66
LMI
16490 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
16491 command (bug#7729).
16492
7509a874
LMI
16493 * rect.el (apply-on-rectangle): Return the point after the last
16494 operation.
16495 (string-rectangle): Go to the point after the last operation
16496 (bug#7522).
16497
4fe74b19
LMI
16498 * printing.el (pr-toggle-region): Clarify the documentation
16499 slightly (bug#7493).
16500
b796c9b7
SM
16501 * time.el (display-time-update):
16502 Allow `display-time-mail-function' to return nil (bug#7158).
16503 Fix suggested by Detlev Zundel.
ab283561 16504
fc233c9d
LMI
16505 * vc/diff.el (diff): Clarify the order the file names are read
16506 (bug#7111).
16507
43f5740b
LMI
16508 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
16509 the doc string (bug#7015).
16510
f2182a76
LMI
16511 * font-lock.el (font-lock-maximum-decoration): Mention what
16512 numeric levels mean (bug#6935).
16513
621ef9ab
LMI
16514 * startup.el (initial-buffer-choice): Don't mention the `none'
16515 selection, which is against policy.
16516
adc47434
MR
165172011-07-14 Martin Rudalics <rudalics@gmx.at>
16518
b796c9b7
SM
16519 * window.el (display-buffer-normalize-special):
16520 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 16521
7e5bfb8f
EZ
165222011-07-14 Eli Zaretskii <eliz@gnu.org>
16523
16524 * subr.el (version<, version<=, version=): Mention "-CVS" and
16525 "-12345" alpha version numbers.
16526
27fa387a
CY
165272011-07-14 Chong Yidong <cyd@stupidchicken.com>
16528
16529 * bindings.el: Add advertised binding for set-mark-command
16530 (Bug#5772).
16531
8bdfa064
CY
165322011-07-14 Chong Yidong <cyd@stupidchicken.com>
16533
16534 * bindings.el (mode-line-other-buffer):
16535 * bookmark.el (bookmark-bmenu-2-window):
16536 * bs.el (bs-cycle-next, bs-cycle-previous):
16537 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
16538 switch-to-buffer.
16539
16540 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 16541 Delete.
8bdfa064 16542
5eba16a3
JB
165432011-07-14 Juanma Barranquero <lekktu@gmail.com>
16544
16545 * follow.el (follow-debug-message, follow-redisplay):
16546 * jka-cmpr-hook.el (with-auto-compression-mode):
16547 Fix typos in docstrings.
16548
15853710
LMI
165492011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16550
a28e4607
LMI
16551 * subr.el (with-silent-modifications): Clarify somewhat what the
16552 macro inhibits (bug#6525).
16553
15853710
LMI
16554 * simple.el (eval-expression): Note what it does if called
16555 interactively (bug#6495).
16556
bee0fcef
CY
165572011-07-13 Chong Yidong <cyd@stupidchicken.com>
16558
b796c9b7
SM
16559 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
16560 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
16561
16562 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
16563 Remove switch-to-buffer.
16564
58274504
LMI
165652011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16566
bd2fcc8d
LMI
16567 * files.el (make-directory): Clarify that an error will be raised
16568 if there's an error (bug#6397).
16569
0f04b32c
LMI
16570 * startup.el (initial-buffer-choice): Add `none' as a choice
16571 (bug#6234).
16572
465c5fc8
LMI
16573 * subr.el (add-hook): Clarify section about buffer-local hooks
16574 (bug#6218).
16575
58274504
LMI
16576 * dired.el (dired-flagged): Clarify doc string (bug#6117).
16577
bead9a43
JB
165782011-07-13 Juanma Barranquero <lekktu@gmail.com>
16579
16580 * tabify.el (untabify): Preserve the current column so that point
16581 doesn't move (bug#6032).
16582
3af98a7b
LMI
165832011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16584
b796c9b7
SM
16585 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
16586 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 16587
6240145a
GM
165882011-07-13 Glenn Morris <rgm@gnu.org>
16589
16590 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
16591 (dired-insert-directory): Give a message the first time
16592 if ls is found not to support --dired.
16593
1d8c2ccc
LMI
165942011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16595
16596 * simple.el (toggle-truncate-lines): Clarify what is toggled
16597 (bug#5580). Text by Drew Adams.
16598
5fc4038e
CY
165992011-07-13 Chong Yidong <cyd@stupidchicken.com>
16600
16601 * simple.el (blink-matching-open): Make the error message from the
16602 last change less verbose.
16603
bf6012e5
DN
166042011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
16605
16606 * font-lock.el (font-lock-comment-face): Use the high contrast
16607 "yellow" color for font-lock-comment-face on low color terminals
16608 using a dark background color (bug#4221).
16609
343c3b5a
LMI
166102011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16611
7e9505c5
LMI
16612 * dired.el (dired-insert-set-properties): Make the doc string
16613 reflect what it does now (bug#5325).
16614
c26fdcf5
LMI
16615 * simple.el (blink-matching-open): Say that we were unable to find
16616 the match within the limit, if we're limited (bug#5122).
16617
bb388cc5
LMI
16618 * international/mule-cmds.el (prefer-coding-system): Add an
16619 example (bug#4869).
16620
343c3b5a
LMI
16621 * progmodes/etags.el (tags-search): Document `file-list-form'
16622 (bug#4731).
16623
2a517d45
LM
166242011-07-13 Lawrence Mitchell <wence@gmx.li>
16625
16626 * net/browse-url.el (browse-url-default-browser)
16627 (browse-url-browser-function): Make the default browser choice a
16628 bit more logical (bug#4300). Also clean up the doc string.
16629
b6c78ef2
JB
166302011-07-13 Juanma Barranquero <lekktu@gmail.com>
16631
16632 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
16633 binary endings (bug#4440).
16634
1c4dd947
LMI
166352011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16636
a2014063
LMI
16637 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
16638 which can be pretty annoying (bug#8971).
16639
9c9c2d88
LMI
16640 * jka-compr.el (jka-compr-verbose): New variable, and use
16641 throughout (bug#8971).
16642
1c4dd947
LMI
16643 * info.el (Info-find-file): Fall back on the installation
16644 directory if we can't find the info node anywhere else.
16645
a1c9f41b
SO
166462011-07-13 Sergei Organov <osv@javad.com> (tiny change)
16647
16648 * vc/vc.el (vc-revert-file):
16649 Don't set file time-stamp in the past. (Bug#5181)
16650
536f3d36
LMI
166512011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
16652
7152b011
LMI
16653 * files.el (after-find-file): Give a better error message when
16654 trying to find a symlink that points to a file that doesn't exist
16655 (bug#4398).
16656
536f3d36
LMI
16657 * progmodes/cc-vars.el: Remove (probably) misleading comment
16658 (bug#4396).
16659
460c0fba
JB
166602011-07-12 Johan Bockgård <bojohan@gnu.org>
16661
16662 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
16663
7a6bda45
CY
166642011-07-12 Chong Yidong <cyd@stupidchicken.com>
16665
16666 * mouse-sel.el: Hack restoring functionality, while keeping
16667 compatibility with 2010-07-03 changes to mouse selection.
16668 (mouse-sel-primary-overlay): New var.
16669 (mouse-sel-selection-alist): Use it.
16670 (mouse-sel-mode): Doc fix; remove points that are default features
16671 of mouse.el.
16672
c79598ef
JB
166732011-07-12 Johan Bockgård <bojohan@gnu.org>
16674
16675 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16676 Fix previous fix (bug#2490).
16677
ff8be6ef
RW
166782011-07-12 Roland Winkler <winkler@gnu.org>
16679
b796c9b7
SM
16680 * textmodes/bibtex.el (bibtex-initialize):
16681 Use pop-to-buffer-same-window.
ff8be6ef
RW
16682 (bibtex-search-entries): Fix interactive call.
16683
296ba3ee
LMI
166842011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
16685
f5242a02 16686 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
16687 Fontise bytecomp Error lines more correctly (bug#2490).
16688 Fix suggested by Johan Bockgård.
f5242a02 16689
296ba3ee
LMI
16690 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
16691
16692 * dired-x.el (dired-guess-default): Use `delete-dups'.
16693
f69fd0d2
CY
166942011-07-12 Chong Yidong <cyd@stupidchicken.com>
16695
16696 * dired.el (dired-mark-prompt):
16697 * dired-aux.el (dired-read-shell-command): Doc fix.
16698
eab5dc07
LMI
166992011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
16700
b796c9b7
SM
16701 * mail/sendmail.el (sendmail-query-once):
16702 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
16703 emacs -Q.
16704
16705 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
16706
eab5dc07
LMI
16707 * cus-edit.el (custom-file): Take an optional no-error variable.
16708 (customize-save-variable): Set the variable, and give a warning if
16709 running under "emacs -q".
16710
a1e65d42
JB
167112011-07-11 Juanma Barranquero <lekktu@gmail.com>
16712
16713 * loadhist.el (unload-feature-special-hooks):
16714 Add `auto-coding-functions', `fill-nobreak-predicate' and
16715 `find-directory-functions' (bug#5327).
16716
1d52da10
LMI
167172011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
16718
be958f1d
LMI
16719 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
16720
5bedb26c
LMI
16721 * cus-edit.el (custom-guess-name-alist): -alist variables should
16722 use the `alist' type (bug#3120). Suggested by Drew Adams.
16723
1d52da10
LMI
16724 * printing.el: Add documentation to all the `pr-toggle-' commands.
16725
cd394be1 167262011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
16727
16728 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
16729 backends where it makes sense (bug#2623).
16730
dcc88d8a
LMI
167312011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
16732
c3de9feb
LMI
16733 * dired-x.el (dired-guess-default): Remove duplicate shell command
16734 entries (bug#2028).
8a93078b 16735 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 16736 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 16737
dcc88d8a
LMI
16738 * subr.el (remove-duplicates): New conveniency function.
16739
505e3645
LMI
167402011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
16741
16742 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
16743 (bug#1526).
16744
167452011-07-10 Martin Rudalics <rudalics@gmx.at>
16746
16747 * window.el (display-buffer-normalize-default): Don't invert
16748 meaning of even-window-heights. Reported by Eli Zaretskii
16749 <eliz@gnu.org>.
16750
455e4fa1
BR
167512011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
16752
16753 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
16754
8e0bc3e9
CY
167552011-07-10 Chong Yidong <cyd@stupidchicken.com>
16756
16757 * window.el (display-buffer): Fix arguments to
16758 display-buffer-reuse-window in last change.
16759
fa7c3228
CY
16760 * faces.el (link): Use a less saturated blue on light backgrounds.
16761
16762 * startup.el (fancy-startup-text, fancy-about-text)
16763 (fancy-startup-tail): Use font-lock faces, for background safety.
16764
c0a7f300
BN
167652011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
16766
b796c9b7
SM
16767 * emulation/viper-cmd.el (viper-change-state-to-vi):
16768 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 16769
4dc2a129
MR
167702011-07-09 Martin Rudalics <rudalics@gmx.at>
16771
16772 * window.el (display-buffer-default-specifiers): Remove.
16773 (display-buffer-macro-specifiers): Remove default specifiers.
16774 (display-buffer-alist): Default to nil.
b796c9b7 16775 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
16776 (display-buffer-pop-up-window): Allow splitting internal
16777 windows. Check whether a live window was created.
16778 (display-buffer-other-window-means-other-frame)
16779 (display-buffer-normalize-arguments): Rename to
16780 display-buffer-normalize-argument and rewrite. Set the
16781 other-window specifier.
16782 (display-buffer-normalize-special): New function.
16783 (display-buffer-normalize-options): Rename to
16784 display-buffer-normalize-default and rewrite.
16785 (display-buffer-normalize-options-inhibit): Remove.
16786 (display-buffer-normalize-specifiers): Rewrite.
16787 (display-buffer): Process other-window specifier and call
16788 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
16789 more faithfully.
b796c9b7 16790 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 16791 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
16792 (display-buffer-in-window, display-buffer-alist-set):
16793 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
16794 <tassilo@member.fsf.org>.
16795
2d43b8c9
LL
167962011-07-09 Leo Liu <sdl.web@gmail.com>
16797
16798 * register.el (insert-register): Restore accidental change on
16799 2011-06-26. (Bug#9028)
16800
7f9b7c53
GM
168012011-07-09 Glenn Morris <rgm@gnu.org>
16802
16803 * subr.el (remq): Handle the empty list. (Bug#9024)
16804
f042cfd8
AS
168052011-07-08 Andreas Schwab <schwab@linux-m68k.org>
16806
16807 * mail/sendmail.el (send-mail-function): No longer delay custom
16808 initialization.
16809 * custom.el (custom-initialize-delay): Doc fix.
16810
856b2f11
SM
168112011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
16812
16813 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
16814
afae1d68
MA
168152011-07-08 Michael Albinus <michael.albinus@gmx.de>
16816
16817 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
16818 human-friendly prompt.
16819
0757af94
SM
168202011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
16821
16822 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
16823 provided by a particular plugin.
16824
d760b731
LMI
168252011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
16826
16827 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
16828 save customizations (with "emacs -Q"), just set the variable
16829 instead of erroring out.
16830
16831 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
16832
cd79ce90
JL
168332011-07-08 Juri Linkov <juri@jurta.org>
16834
16835 * arc-mode.el (archive-zip-expunge, archive-zip-update)
16836 (archive-zip-update-case): Use 7z if found by `executable-find'.
16837 The order of searching the available programs is the same as in
16838 `archive-zip-extract' (bug#8968).
16839
14cc04aa
CY
168402011-07-07 Chong Yidong <cyd@stupidchicken.com>
16841
16842 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
16843 (menu-bar-options-menu): Tweak descriptions.
16844
0a1848ec
LMI
168452011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
16846
16847 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
16848 menu items into verb phrases (bug#1421). Also refill to fit under
16849 80 columns.
16850
f5bd0689
CY
168512011-07-07 Chong Yidong <cyd@stupidchicken.com>
16852
538e85c6
CY
16853 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
16854 (Info-read-node-name): Doc fix (Bug#1084).
16855
f5bd0689
CY
16856 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
16857 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
16858 (end-of-sexp, beginning-of-sexp)
16859 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
16860 (forward-symbol, forward-same-syntax, word-at-point)
16861 (sentence-at-point): Doc fix (Bug#1144).
16862
56ec5115
LMI
168632011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
16864
f3f8e37f
LMI
16865 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
16866 should cover it (bug#1281).
16867
0757af94 16868 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 16869
e9fce1ac 16870 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
16871 negotiation fails, then possibly try again with a non-encrypted
16872 connection (bug#9017).
16873
56ec5115
LMI
16874 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
16875 be used.
16876
c2f9aec8
RS
168772011-07-07 Richard Stallman <rms@gnu.org>
16878
16879 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
16880 property, and handle its changed format.
16881 Look for the correct line number.
16882 Use file's line contents (but not past first =) to find
16883 correct line in message.
16884
ef7b981d 168852011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
16886
16887 * international/characters.el (build-unicode-category-table):
16888 Delete it.
0757af94 16889 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 16890
0757af94 16891 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
16892 to src/chartab.c.
16893 (get-char-code-property): Call unicode-property-table-internal to
16894 load a file. Call get-unicode-property-internal where necessary.
16895 (put-char-code-property): Call unicode-property-table-internal to
16896 load a file. Call put-unicode-property-internal where necessary.
16897 put-unicode-property-internal where necessary.
0757af94
SM
16898 (char-code-property-description):
16899 Call unicode-property-table-internal to load a file.
c805dec0
KH
16900
16901 * international/charprop.el:
16902 * international/uni-bidi.el:
16903 * international/uni-category.el:
16904 * international/uni-combining.el:
16905 * international/uni-comment.el:
16906 * international/uni-decimal.el:
16907 * international/uni-decomposition.el:
16908 * international/uni-digit.el:
16909 * international/uni-lowercase.el:
16910 * international/uni-mirrored.el:
16911 * international/uni-name.el:
16912 * international/uni-numeric.el:
16913 * international/uni-old-name.el:
16914 * international/uni-titlecase.el:
16915 * international/uni-uppercase.el: Regenerate.
16916
16917 * loadup.el: Load international/charprop.el before
16918 international/characters.
16919
e14b388a
CY
169202011-07-07 Chong Yidong <cyd@stupidchicken.com>
16921
16922 * window.el (next-buffer, previous-buffer): Signal an error if
16923 called from a minibuffer window.
16924
16925 * bindings.el: Revert 2011-07-04 change.
16926
354cf0ba
RS
169272011-07-06 Richard Stallman <rms@gnu.org>
16928
16929 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
16930 (rmail-mime-insert-bulk, rmail-mime-insert-text):
16931 Treat markers like ints.
16932 (rmail-mime-entity): Doc fix.
16933
a48868a7
LMI
169342011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
16935
4906cd3d
LMI
16936 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
16937 defcustom again for backwards compatibility.
16938
e0457abe
LMI
16939 * simple.el (shell-command-on-region): Fill.
16940
d67f7e1f
LMI
16941 * dired-aux.el (dired-kill-line): Add a doc string.
16942
fe204702
LMI
16943 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
16944 to "\\sw\\|\\s_" (bug#358).
16945
a48868a7
LMI
16946 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
16947 (dired-unmark-backward): Ditto.
16948 (dired-flag-backup-files): Ditto.
16949
16950 * dired-x.el (dired-mark-sexp): Ditto.
16951
aa8a705c
RS
169522011-07-06 Richard Stallman <rms@gnu.org>
16953
16954 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
16955 (rmail-mime-entity): New arg TRUNCATED.
16956 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
16957 New functions.
16958 (rmail-mime-save): Warn if entity is truncated.
16959 (rmail-mime-toggle-hidden): Likewise, for showing.
16960 (rmail-mime-process-multipart): Record when an entity is truncated.
16961
a9a936b9
RS
16962 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
16963 if ENTITY is a string.
16964
1f2b92cb
LMI
169652011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
16966
f4f73198 16967 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
16968 of faces when `M-C-x'-ing their definitions (bug#8378).
16969 Also clean up the code slightly.
f4f73198 16970
12b16734 16971 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 16972 because that makes the colors go away.
12b16734 16973
f0691d22
LMI
16974 * mail/sendmail.el (send-mail-function): Change the default to
16975 `sendmail-query-once'.
9e87df06 16976 (sendmail-query-once): Add an autoload cookie.
f0691d22 16977
1f2b92cb
LMI
16978 * net/network-stream.el (network-stream-open-starttls): Try using
16979 a plain connection even if the server offered STARTTLS, and we
16980 kinda wanted to use it, if Emacs doesn't have any STARTTLS
16981 capability. This should make smtpmail.el work in slightly more
16982 configurations.
16983
1cdd2a1b
MA
169842011-07-06 Michael Albinus <michael.albinus@gmx.de>
16985
16986 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
16987 New defun.
16988 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
16989
fbcc67e2
MM
169902011-07-06 Michael R. Mauger <mmaug@yahoo.com>
16991
16992 * progmodes/sql.el: Version 3.0
0757af94 16993 (sql-product-alist): Add product :completion-object,
fbcc67e2 16994 :completion-column, and :statement attributes.
0757af94 16995 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 16996 (sql-mode-syntax-table): Mark all punctuation.
0757af94 16997 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
16998 ansi keywords.
16999 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 17000 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
17001 (sql-oracle-show-reserved-words): New function for development.
17002 (sql-product-font-lock): Simplify for source code buffers.
17003 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
17004 New functions.
17005 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
17006 (sql-mode-map): Add statement movement functions.
17007 (sql-ansi-statement-starters, sql-oracle-statement-starters):
17008 New variable.
fbcc67e2
MM
17009 (sql-statement-regexp, sql-beginning-of-statement)
17010 (sql-end-of-statement, sql-signum): New functions.
0757af94 17011 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
17012 (sql-show-sqli-buffer): Bug fix.
17013 (sql-interactive-mode): Store connection data as buffer local.
0757af94 17014 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
17015 with sql-interactive-mode.
17016 (sql-save-connection): Save buffer local settings.
0757af94 17017 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
17018 (sql-product-interactive): Bug fix.
17019 (sql-preoutput-hold): New variable.
17020 (sql-interactive-remove-continuation-prompt): Bug fixes.
17021 (sql-debug-redirect): New variable.
17022 (sql-str-literal): New function.
17023 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 17024 Redesign.
fbcc67e2
MM
17025 (sql-oracle-save-settings, sql-oracle-restore-settings)
17026 (sql-oracle-list-all, sql-oracle-list-table): New functions.
17027 (sql-completion-object, sql-completion-column)
17028 (sql-completion-sqlbuf): New variables.
17029 (sql-build-completions-1, sql-build-completions)
17030 (sql-try-completion): New functions.
17031 (sql-read-table-name): Use them.
17032 (sql-contains-names): New buffer local variable.
17033 (sql-list-all, sql-list-table): Use it.
17034 (sql-oracle-completion-types): New variable.
17035 (sql-oracle-completion-object, sql-sqlite-completion-object)
17036 (sql-postgres-completion-object): New functions.
17037
d4eaeab1
GM
170382011-07-06 Glenn Morris <rgm@gnu.org>
17039
17040 * window.el (pop-to-buffer): Doc fix.
17041
322b7dab 170422011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
17043
17044 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
17045
322b7dab 170462011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 17047
322b7dab 17048 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 17049
322b7dab 17050 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 17051
605dd5bf
CY
170522011-07-05 Chong Yidong <cyd@stupidchicken.com>
17053
17054 * button.el (button): Inherit from link face. Suggested by Dan
17055 Nicolaescu.
17056
7dbfa719
SM
170572011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
17058
3db614b0
SM
17059 * progmodes/gdb-mi.el: Fit in 80 columns.
17060 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
17061 switch-to-buffer.
17062
7dbfa719
SM
17063 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
17064 if imenu is simply not configured (bug#8941).
17065
919d884a
KM
170662011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
17067
17068 * allout.el (allout-post-undo-hook): New allout outline-change
17069 event hook to signal undo activity.
17070 (allout-post-command-business): Run allout-post-undo-hook if an
17071 undo just occurred.
7dbfa719
SM
17072 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
17073 * allout-widgets.el (allout-widgets-after-undo-function):
17074 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
17075 in the vicinity of an undo.
17076 (allout-widgets-mode): Include allout-widgets-after-undo-function
17077 on the new allout-post-undo-hook.
17078
450a0f09
SM
170792011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
17080
17081 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
17082 Let define-derived-mode define it.
17083 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
17084 cycles of abbrev-table inheritance (bug#8998).
17085
2de69e00
RW
170862011-07-05 Roland Winkler <winkler@gnu.org>
17087
17088 * textmodes/bibtex.el: Add support for biblatex.
17089 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
17090 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
17091 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
17092 (bibtex-entry-alist, bibtex-field-alist): New variables.
17093 (bibtex-entry-field-alist): Obsolete alias for
17094 bibtex-BibTeX-entry-alist.
17095 (bibtex-entry-alist, bibtex-field-alist): New widgets.
17096 (bibtex-set-dialect): New command.
17097 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
17098 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
17099 Bind via bibtex-set-dialect.
2de69e00
RW
17100 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
17101 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
17102 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
17103 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
17104 Define via bibtex-set-dialect.
450a0f09
SM
17105 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
17106 Obey bibtex-no-opt-remove-re.
2de69e00
RW
17107 (bibtex-vec-push, bibtex-vec-incr): New functions.
17108 (bibtex-format-entry, bibtex-field-list)
17109 (bibtex-print-help-message, bibtex-validate)
17110 (bibtex-search-entries): Use new format of bibtex-entry-alist.
17111
2dcdbdd9
SM
171122011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
17113
17114 * progmodes/compile.el (compilation-goto-locus):
17115 * net/tramp-cmds.el (tramp-append-tramp-buffers):
17116 * bs.el (bs-cycle-next, bs-cycle-previous):
17117 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
17118 * bindings.el (mode-line-other-buffer):
17119 * autoinsert.el (auto-insert):
17120 * arc-mode.el (archive-extract):
17121 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
17122
b27640fe
JB
171232011-07-05 Juanma Barranquero <lekktu@gmail.com>
17124
17125 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
17126 Fix check of `emacs-lock-unlockable-modes'.
17127 Coerce true values of `emacs-lock--try-unlocking' to t.
17128
53bbe3ad
JB
171292011-07-05 Juanma Barranquero <lekktu@gmail.com>
17130
17131 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
17132 * emacs-lock.el: New file.
17133
1d3cdbc7
JD
171342011-07-05 Julien Danjou <julien@danjou.info>
17135
17136 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
17137 than `boundp' to check if face is set.
17138
9173deec
JB
171392011-07-05 Juanma Barranquero <lekktu@gmail.com>
17140
17141 * register.el (registerv-make):
17142 * window.el (window-min-height): Fix typos in docstrings.
17143
869795d6
JD
171442011-07-05 Jan Djärv <jan.h.d@swipnet.se>
17145
9173deec 17146 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
17147 Update doc string.
17148
b768cdcd
JB
171492011-07-04 Juanma Barranquero <lekktu@gmail.com>
17150
17151 * server.el (server-execute): Catch quit and call
17152 `server-return-error' to pass the error back to emacsclient and
17153 close the connection (bug#8942).
17154
13aa217b
KM
171552011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
17156
17157 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
17158 insecure exception for current topic. Also note that auto-saves
17159 are handled differently.
17160
5d3385a0 17161 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
17162 State variables for tracking auto-save inhibition situation.
17163
17164 (allout-write-contents-hook-handler): Rename from
17165 'allout-write-file-hook-handler', and describe how it depends on
17166 write-contents-functions sensitivity to non-nil value to prevent
17167 file write.
17168
17169 (allout-auto-save-hook-handler): Remove. auto-save does not check
17170 this in individual buffers, only in the starting buffer, so this
17171 is not the right way for us to inhibit auto-save in a buffer
17172 according to its condition.
17173
17174 (allout-mode): Use new allout-write-contents-hook-handler, and
17175 only with write-contents-functions. Remove auto-save provisions -
17176 they're implemented elsewhere.
17177
17178 (allout-before-change-handler): If undo is in progress, note that
17179 for attention of allout-post-command-business.
17180
17181 (allout-post-command-business): If the command we're following was
17182 an undo, check for change in the status of encrypted items and
17183 adjust auto-save inhibitions accordingly.
17184
17185 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
17186 according to whether there are or aren't any plain-text topics
17187 pending encryption.
17188
2dcdbdd9 17189 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
17190 Adjust buffer-saved-size and some allout state to inhibit auto-saves
17191 if there are plain-text topics pending encryption.
13aa217b
KM
17192
17193 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
17194 buffer-saved-size and some allout state to not inhibit auto-saves
17195 if there are no longer any plain-text topics pending encryption.
17196
0757af94
SM
17197 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
17198 No longer provide for exemption of the current topic.
13aa217b 17199
ac89b32c
JL
172002011-07-04 Juri Linkov <juri@jurta.org>
17201
17202 Add 7z operations to delete and save changed members (bug#8968).
17203 * arc-mode.el (archive-7z-expunge, archive-7z-update):
17204 New defcustoms.
17205 (archive-7z-write-file-member): New function.
17206 (archive-7z-summarize): Fix the number of dashes in the
17207 listing output.
17208
8fa39615
SM
172092011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
17210
17211 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
17212 (bug#8958).
17213
2f11b3f1
CY
172142011-07-04 Chong Yidong <cyd@stupidchicken.com>
17215
d66fef2b
CY
17216 * bindings.el: Ignore next-buffer and previous-buffer in
17217 minibuffer-local-map.
17218
2f11b3f1
CY
17219 * font-lock.el (font-lock-builtin-face): Change light background
17220 color to dark slate blue (Bug#6693).
17221
f932a347
WD
172222011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
17223
17224 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
17225
c8af70e1
SM
172262011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
17227
17228 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
17229 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
17230 Add switch-to-buffer.
17231
f158badc
LMI
172322011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
17233
17234 * isearch.el (isearch-search-fun-function): Clarify further the
17235 meaning of the function returned.
17236
6d95bd46
MA
172372011-07-04 Michael Albinus <michael.albinus@gmx.de>
17238
17239 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
17240
17241 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
17242 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
17243 Use it.
17244 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
17245 `tramp-default-remote-path' does not exist.
17246 (tramp-send-command-and-read): New optional argument NOERROR.
17247 (tramp-open-connection-setup-interactive-shell)
17248 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
17249 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
17250 (tramp-process-sentinel): Flush also process' connection property.
17251 (tramp-sh-handle-start-file-process): Do not set process
17252 sentinel. It is done now ...
17253 (tramp-maybe-open-connection): ... here. (Bug#8929)
17254
909e6b67
MK
172552011-07-04 MON KEY <monkey@sandpframing.com>
17256
17257 * play/animate.el (animate-string): Doc fixes and allow changing
17258 the buffer name (bug#5417).
17259
172602011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
17261
c8af70e1 17262 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 17263
f34755dc
PE
172642011-07-04 Paul Eggert <eggert@cs.ucla.edu>
17265
396cec72
PE
17266 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
17267 This is simpler and helps future-proof the code.
17268 (timer-until): Use time-subtract and float-time.
08235028 17269 (timer--time-less-p): Use time-less-p.
f34755dc 17270
56e6cc31
JB
172712011-07-04 Juanma Barranquero <lekktu@gmail.com>
17272
3abb79e5
JB
17273 * type-break.el (timep): Use the value of `float-time' to avoid a
17274 byte-compiler warning.
17275
56e6cc31
JB
17276 * server.el (server-eval-and-print): Return any result, even nil.
17277
7b9430b4
PE
172782011-07-03 Paul Eggert <eggert@cs.ucla.edu>
17279
17280 * type-break.el: Accept time formats that the builtins accept.
17281 (timep, type-break-time-difference): Accept any format that
17282 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
17283 This is simpler and helps future-proof the code.
17284 (type-break-time-difference): Round rather than ignoring
17285 subseconds components.
17286
3034e9e7
LMI
172872011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17288
17289 * info.el (Info-apropos-matches): Make non-interactive, since it
17290 doesn't seem to do anything useful as a command (bug#8829).
17291
1485f4c0
CY
172922011-07-03 Chong Yidong <cyd@stupidchicken.com>
17293
17294 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 17295 Move from faces.el.
1485f4c0
CY
17296 (frame-default-terminal-background): New function.
17297
17298 * custom.el (custom-push-theme): Don't record faces in `changed'
17299 theme; this doesn't work correctly for per-frame face settings.
17300 (disable-theme): Use face-set-after-frame-default to reset faces.
17301 (custom--frame-color-default): New function.
17302
9fa3dd45
LMI
173032011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17304
c8af70e1 17305 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
17306 (bug#8769).
17307
6cbbc20c
KR
173082011-03-29 Kevin Ryde <user42@zip.com.au>
17309
17310 * progmodes/compile.el (compilation-error-regexp-alist-alist):
17311 `perl-Test2' extend to match possible "fail #N" rep count
17312 (bug#8377).
17313
c7f98048
LMI
173142011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17315
65676592
LMI
17316 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
17317 `smtpmail-via-smtp' now returns the error instead of nil.
17318
c7f98048
LMI
17319 * isearch.el (isearch-search-fun-function): Clarify the doc string
17320 (bug#8101).
17321
56e6cc31 173222011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
17323
17324 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
17325 unnecessary spaces (bug#8987).
17326
2b216704
LMI
173272011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17328
17329 * net/network-stream.el (open-network-stream): Use the
17330 :end-of-capability command thoughout.
17331
173322011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
17333
17334 * net/network-stream.el (open-network-stream): Add the
17335 :end-of-capability command parameter, used by pop3.el.
17336
36adf6ce
LMI
173372011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17338
1ca0da0e
LMI
17339 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
17340
fc00f69c
LMI
17341 * fringe.el (fringe-query-style): Remove redundant text " (type ?
17342 for list)" (bug#6475).
17343
28fd8759 17344 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 17345 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
17346 an error (bug#6297).
17347
0dd8b6da
LMI
17348 * man.el (Man-reference-regexp): Allow matching possible
17349 word-wrapped references (bug#6289).
17350
ce1438d6
LMI
17351 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
17352 for consistency with the other vc buffers (bug#6197).
17353 (vc-checkin): Ditto.
17354
17355 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
17356
36adf6ce
LMI
17357 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
17358
e83cc1f7
LMI
173592011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
17360
8a20ca4c
LMI
17361 * custom.el (defcustom): Clarify that :set is only used in the
17362 Customize user interface (bug#6089).
17363
83319045
LMI
17364 * progmodes/flymake.el (flymake-mode): If the buffer isn't
17365 associated with a file, refuse to run instead of erroring out
17366 (bug#6084).
17367
a8392169
LMI
17368 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
17369 the doc string, since it appears that using `fill-column' always
17370 controls the width (bug#7845).
17371
e83cc1f7
LMI
17372 * simple.el (shell-command-on-region): Say where the error output
17373 went if `shell-command-default-error-buffer' is set (bug#6857).
17374
e47ca23b
KM
173752011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
17376
17377 * allout.el (allout-yank-processing): Adjust cursor position for
17378 backwards-deleted space.
17379
17380 (allout-rebullet-heading): Register changes with
17381 allout-exposure-changed-hook, so the modified topic is properly
17382 decorated.
17383
5cf56143
LMI
173842011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
17385
08549772
LMI
17386 * minibuffer.el (completion-in-region): Document PREDICATE
17387 (bug#7136).
17388
48e96771
LMI
17389 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
17390 of keyword/argument pairs (bug#6904).
17391
c8af70e1
SM
17392 * replace.el (multi-occur):
17393 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 17394
e17d05e2
LMI
173952011-07-02 Drew Adams <drew.adams@oracle.com>
17396
17397 * dired.el (dired-mark-if): Make the message about whether it's
17398 marking or unmarking clearer (bug#8523).
17399
063b0e45
LMI
174002011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
17401
17402 * disp-table.el (display-table-print-array): New function.
17403 (describe-display-table): Use it to print the vectors more pretty
17404 (Bug#8859).
17405
28545e04
MR
174062011-07-02 Martin Rudalics <rudalics@gmx.at>
17407
17408 * window.el (window-state-get-1): Don't assign clone numbers.
17409 Add clone-of item to list of window parameters.
17410 (window-state-put-2): Don't process clone numbers.
17411 (display-buffer-alist): Fix doc-string.
17412
3349e122
SM
174132011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
17414
17415 * subr.el (remq): Don't allocate if it's not needed.
17416 (keymap--menu-item-binding, keymap--menu-item-with-binding)
17417 (keymap--merge-bindings): New functions.
17418 (keymap-canonicalize): Use them to refine the canonicalization.
17419 * minibuffer.el (minibuffer-local-completion-map)
17420 (minibuffer-local-must-match-map): Move initialization from C.
17421 (minibuffer-local-filename-completion-map): Move initialization from C;
17422 don't inherit from anything here.
17423 (minibuffer-local-filename-must-match-map): Make obsolete.
17424 (completing-read-default): Use make-composed-keymap to combine
17425 minibuffer-local-filename-completion-map with either
17426 minibuffer-local-must-match-map or
17427 minibuffer-local-filename-completion-map.
17428
d224ac83
GM
174292011-07-01 Glenn Morris <rgm@gnu.org>
17430
3de63bf8
GM
17431 * type-break.el (type-break-time-sum): Use dolist.
17432
d224ac83
GM
17433 * textmodes/flyspell.el (flyspell-word-search-backward):
17434 Replace CL function.
17435
1a1e3f32
SM
174362011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
17437
fe3f64d5
SM
17438 * mouse.el (mouse--strip-first-event): New function.
17439 (function-key-map): Use it to map fringe clicks to normal clicks
17440 by default.
17441
eb604e34
SM
17442 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
17443 (vc-bzr-revision-completion-table): Add support for annotate and date.
17444
1a1e3f32
SM
17445 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
17446 inherit from parent.
17447
5bd35902
LMI
174482011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
17449
ace6c69c 17450 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 17451 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 17452
191e2bed
LMI
17453 * dired.el (dired-mode): Fix up the doc string as suggested by
17454 Drew Adams (bug#8817).
17455
5bd35902
LMI
17456 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
17457 cookie, since the manual says that it should be possible to add
17458 this function to `find-file-hook' (bug#8709).
17459
eee8207a
TZ
174602011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
17461
17462 * progmodes/cfengine.el: Moved all cfengine3.el functionality
17463 here. Noted Ted Zlatanov as the maintainer.
17464 (cfengine-common-settings, cfengine-common-syntax): New functions
17465 to set up common things between `cfengine-mode' and
17466 `cfengine3-mode'.
17467 (cfengine3-mode): New mode.
17468 (cfengine3-defuns cfengine3-defuns-regex
17469 (cfengine3-class-selector-regex cfengine3-category-regex)
17470 (cfengine3-vartypes cfengine3-font-lock-keywords)
17471 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 17472 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 17473
36b148cf
MA
174742011-07-01 Michael Albinus <michael.albinus@gmx.de>
17475
17476 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
17477
17478 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
17479
0bf4ba9a
MR
174802011-07-01 Martin Rudalics <rudalics@gmx.at>
17481
17482 * window.el (same-window-buffer-names, same-window-regexps)
17483 (same-window-p, special-display-frame-alist)
17484 (special-display-popup-frame, special-display-function)
17485 (special-display-buffer-names, special-display-regexps)
17486 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
17487 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
17488 (split-window-preferred-function, split-height-threshold)
17489 (split-width-threshold, even-window-heights)
17490 (display-buffer-mark-dedicated, window-splittable-p)
17491 (split-window-sensibly, window-safely-shrinkable-p):
17492 Un-obsolete.
17493 (display-buffer): Don't spread args with function specifier
17494 because special-display-popup-frame won't like it.
17495
35837f51
PE
174962011-07-01 Paul Eggert <eggert@cs.ucla.edu>
17497
d0672f86
PE
17498 Time-stamp simplifications and fixes.
17499 These improve accuracy slightly, and future-proof the code
17500 against some potential changes to current-time format.
17501
b9444d97
PE
17502 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
17503 by using time-since and float-time.
17504
0ef923dc
PE
17505 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
17506 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
17507 + NNN microseconds".
17508
2f81380d
PE
17509 * type-break.el (type-break-time-sum): Rewrite using time-add.
17510
845b5c3e
PE
17511 * play/hanoi.el (hanoi-current-time-float): Remove.
17512 All uses replaced by float-time.
17513
ee6f1be0
PE
17514 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
17515 This yields a more-accurate answer.
17516 (rng-time-to-float): Remove; no longer needed.
17517
fe955043
PE
17518 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
17519
5777162a
PE
17520 * calendar/timeclock.el (timeclock-seconds-to-time):
17521 Defalias to seconds-to-time, since they're the same thing.
17522
3103f8b6 17523 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 17524 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
17525 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
17526
0e61a35f
SM
175272011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
17528
17529 * window.el (bury-buffer): Don't iconify the only frame.
17530 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
17531 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
17532
ddd63a1e
CY
175332011-07-01 Chong Yidong <cyd@stupidchicken.com>
17534
0e61a35f
SM
17535 * eshell/em-smart.el (eshell-smart-display-navigate-list):
17536 Add mouse-yank-primary.
ddd63a1e 17537
055f4923
TZ
175382011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
17539
17540 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
17541
6a2fb145
SM
175422011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
17543
17544 * emacs-lisp/find-func.el (find-library--load-name): New fun.
17545 (find-library-name): Use it to find relative load names when provided
17546 absolute file name (bug#8803).
17547
fd4983f2
LMI
175482011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
17549
887d14ad
LMI
17550 * textmodes/flyspell.el (flyspell-word): Consider words that
17551 differ only in case as potential doublons (bug#5687).
17552
c53dc7fc
LMI
17553 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
17554 Remove two rather uninteresting debugging-like messages to make
17555 debbugs.el more silent.
17556
fd4983f2
LMI
17557 * comint.el (comint-password-prompt-regexp): Accept "Response" as
17558 a password-like phrase.
17559
7a71b18d 175602011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
17561
17562 * progmodes/cc-guess.el: New file.
17563
6a2fb145 17564 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
17565
17566 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
17567 derived from `c-basic-common-init'.
17568
17569 * progmodes/cc-mode.el (top-level): Require cc-guess.
17570 (c-basic-common-init): Use `cc-choose-style-for-mode'.
17571
1fa280a3
LM
175722011-06-30 Lawrence Mitchell <wence@gmx.li>
17573
17574 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
17575
e6597158
AM
175762011-06-30 Alan Mackenzie <acm@muc.de>
17577
1fa280a3
LM
17578 * progmodes/cc-engine.el (c-guess-continued-construct):
17579 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
17580 lock is disabled. Name this case as "CASE G".
17581
68ba37fb
KM
175822011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
17583
17584 * allout.el (allout-yank-processing): Fix injection of extra space
17585 between bullet and non-whitespace character in first topic when
17586 pasting, ensuring that the actual spacing in the pasted topic
17587 following the bullet char is preserved. This extra space was
17588 causing pasted encrypted topics to get a decrypted status even
17589 when the content was actually still encrypted. Now the decryption
17590 status from before the paste is preserved.
17591
17592 (allout-flag-region): Set all allout overlays so they evaporate
17593 when reduced to zero length (evanescent), to prevent overlay
17594 leakage.
17595
887a0b34
GM
175962011-06-30 Glenn Morris <rgm@gnu.org>
17597
94b9acce
GM
17598 * w32-fns.el (w32-charset-info-alist): Declare.
17599
1d9b46d4
GM
17600 * find-dired.el (find-grep-options): Simplify.
17601
cc232200
GM
17602 * term/ns-win.el (ns-set-resource): Declare.
17603
28e77c46
GM
17604 * ses.el (row, col): Declare dynamic variables honestly.
17605
887a0b34
GM
17606 * textmodes/reftex-parse.el (index-tags): Declare.
17607
658d8eb8
CY
176082011-06-30 Chong Yidong <cyd@stupidchicken.com>
17609
17610 * cus-edit.el (customize-push-and-save): New function.
17611
17612 * files.el (hack-local-variables-confirm): Use it.
17613
1fa280a3
LM
17614 * custom.el (load-theme): New arg NO-CONFIRM.
17615 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
17616 (custom-enabled-themes): Doc fix.
17617
17618 * cus-theme.el (customize-create-theme)
17619 (custom-theme-merge-theme): Callers to load-theme changed.
17620
bb617717
LMI
176212011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
17622
d61bdd5d
LMI
17623 * thingatpt.el (thing-at-point-short-url-regexp): Require that
17624 short URLs have at least one dot in them (bug #7614).
17625
bb617717
LMI
17626 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
17627 nil, because using a pty is apparently too slow (bug #895).
17628
2f31f37a
LMI
176292011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
17630
17631 * mail/sendmail.el (sendmail-query-once): New function.
17632 (sendmail-query-once-function): New variable.
17633
3076b24e
GM
176342011-06-29 Glenn Morris <rgm@gnu.org>
17635
faf2a174
GM
17636 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
17637
3076b24e
GM
17638 * ses.el (top-level): Require cl when compiling.
17639 (ses-set-localvars): Fix error statement.
17640 Call it at compile time to silence a storm of warnings.
17641
5386012d
MR
176422011-06-29 Martin Rudalics <rudalics@gmx.at>
17643
17644 * window.el (normalize-live-buffer): Rename to
17645 window-normalize-buffer.
17646 (normalize-live-frame): Rename to window-normalize-frame.
17647 (normalize-any-window): Rename to window-normalize-any-window.
17648 (normalize-live-window): Rename to window-normalize-live-window.
17649 (make-window-atom): Rename to window-make-atom.
17650 (window-resize-reset): Rename to window--resize-reset.
17651 (window-resize-reset-1): Rename to window--resize-reset-1.
17652 (resize-mini-window): Rename to window--resize-mini-window.
17653 (resize-subwindows-skip-p): Rename to
17654 window--resize-subwindows-skip-p.
17655 (resize-subwindows-normal): Rename to
17656 window--resize-subwindows-normal.
17657 (resize-subwindows): Rename to window--resize-subwindows.
17658 (resize-other-windows): Rename to window--resize-siblings.
17659 (resize-this-window): Rename to window--resize-this-window.
17660 (resize-root-window): Rename to window--resize-root-window.
17661 (resize-root-window-vertically): Rename to
17662 window--resize-root-window-vertically.
17663 (normalize-buffer-to-display): Rename to
17664 window-normalize-buffer-to-display.
17665 (normalize-buffer-to-switch-to): Rename to
17666 window-normalize-buffer-to-switch-to.
17667 Correspondingly update all callers of the functions listed
17668 above.
17669 (display-buffer-alist, display-buffer-normalize-arguments)
17670 (display-buffer-normalize-options, display-buffer)
17671 (display-buffer-alist-set): Use "function" instead of
17672 "fun-with-args".
17673
1176868d
CY
176742011-06-28 Chong Yidong <cyd@stupidchicken.com>
17675
17676 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
17677 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
17678 debbugs.gnu.org. Mention acknowledgment email.
17679
20a7a65f
LMI
176802011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
17681
17682 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
17683 buffer multibyteness, since it shouldn't matter.
17684
5f45cca5
MR
176852011-06-28 Martin Rudalics <rudalics@gmx.at>
17686
17687 * window.el (display-buffer-in-side-window): Handle dedicated
17688 windows as in display-buffer-reuse-window.
17689 (display-buffer-normalize-alist): Use value of override
17690 specifier.
17691 (display-buffer-normalize-specifiers): Use value of
17692 other-window-means-other-frame specifier.
17693 (display-buffer-alist): Rewrite some texts in widgets.
17694 (display-buffer): Spread arguments when calling function
17695 specified by fun-with-args.
17696
ad85fe1f
DD
176972011-06-28 Deniz Dogan <deniz@dogan.se>
17698
1fa280a3
LM
17699 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
17700 Unnest `let'.
da68c4c8 17701
ad85fe1f
DD
17702 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
17703 selectors (Bug#5732).
ec49bd31 17704 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 17705
a08cc025
JA
177062011-06-27 Jari Aalto <jari.aalto@cante.net>
17707
17708 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
17709 (eshell-ls-date-format): New defcustom.
17710 (eshell-ls-file): Use it.
17711
e2b551c5
SM
177122011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
17713
17714 * help-fns.el (describe-variable): Fix message for terminal-local vars.
17715
8982b231
KY
177162011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
17717
17718 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
17719 (ange-ftp-make-tmp-name): New arg.
17720 (ange-ftp-file-local-copy): Use it.
17721
36c9fa27
J
177222011-06-27 Jambunathan K <kjambunathan@gmail.com>
17723
17724 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
17725 no-conversion (Bug#8870).
17726
d68443dc
MR
177272011-06-27 Martin Rudalics <rudalics@gmx.at>
17728
17729 * window.el (window-right, window-left, window-child)
17730 (window-child-count, window-last-child)
17731 (window-iso-combination-p, walk-window-tree-1)
17732 (window-atom-check-1, window-tree-1, delete-window)
17733 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
17734 new naming conventions - window-vchild, window-hchild,
17735 window-next and window-prev are now called window-top-child,
17736 window-left-child, window-next-sibling and window-prev-sibling
17737 respectively.
d615d6d2
MR
17738 (resize-window-reset): Rename to window-resize-reset.
17739 (resize-window-reset-1): Rename to window-resize-reset-1.
17740 (resize-window): Rename to window-resize.
17741 (window-min-height, window-min-width)
17742 (resize-mini-window, resize-this-window, resize-root-window)
17743 (resize-root-window-vertically, adjust-window-trailing-edge)
17744 (enlarge-window, shrink-window, maximize-window)
17745 (minimize-window, delete-window, quit-restore-window)
17746 (split-window, balance-windows, balance-windows-area-adjust)
17747 (balance-windows-area, window-state-put-2)
17748 (display-buffer-even-window-sizes, display-buffer-set-height)
17749 (display-buffer-set-width, set-window-text-height)
17750 (fit-window-to-buffer): Rename all "resize-window" prefixed
17751 calls to use the "window-resize" prefix convention.
17752 (display-buffer-alist): Fix symbol for label specifier.
17753 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
17754 corresponding specifier.
17755 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 17756
b6458526
VB
177572011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
17758
17759 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
17760 convention.
17761 (ses-call-printer): Does not pass an empty string to formatter when the
17762 cell is empty to keep from barking printer Calc math-format-value.
17763
d31fd9ac
RS
177642011-06-27 Richard Stallman <rms@gnu.org>
17765
43d5bf84
RS
17766 * battery.el (battery-mode-line-limit): New variable.
17767 (battery-update): Handle it.
17768
d31fd9ac
RS
17769 * mail/rmailmm.el (rmail-mime-process-multipart):
17770 Handle truncated messages.
17771
819a6054
GM
177722011-06-27 Glenn Morris <rgm@gnu.org>
17773
17774 * progmodes/flymake.el (flymake-err-line-patterns):
17775 Allow for column numbers in the ant/javac pattern. (Bug#8866)
17776
cedc73f2
VB
177772011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
17778
819a6054 17779 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
17780 (ses--clean-!, ses--clean-_): New functions.
17781 (ses-range): Add configurability of readout order, and conversion
17782 to Calc vector.
17783
5e5d49b6
VB
17784 * ses.el (ses-repair-cell-reference-all): New function.
17785 (ses-cell-symbol): Set macro as safe, so that it can be used in
17786 formulas.
17787
56e6cc31 17788 * ses.el: Update cycle detection algorithm.
90ca8b49 17789 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 17790 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
17791 (ses-set-localvars): New function.
17792 (ses-make-cell): Add property-list as a cell element.
17793 (ses-cell-property-get-fun, ses-cell-property-get)
17794 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
17795 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
17796 New functions.
90ca8b49
VB
17797 (ses-cell-property-set, ses-cell-property-pop)
17798 (ses-cell-property-get-handle): New macro.
17799 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
17800 New aliases, used for code readability.
17801 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
17802 cycle detection.
17803 (ses-self-reference-early-detection): New defcustom.
fac916bf 17804 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
17805 (ses-mode): Use ses-set-localvars.
17806 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
17807 before lauching the update processing.
17808 (ses-initialize-Dijkstra-attempt): New function.
17809 (ses-recalculate-cell): Update for cycle detection based on
17810 Dijkstra algorithm.
17811
2bb63e81
VB
17812 * ses.el: Fix commenting and indenting convention.
17813
c9d29fb8
SM
178142011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
17815
17816 * bs.el (bs-cycle-next): Complete last change.
17817
d8e4b68b
JB
178182011-06-27 Drew Adams <drew.adams@oracle.com>
17819
17820 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
17821
40098786
LMI
178222011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
17823
c9d29fb8
SM
17824 * net/network-stream.el (network-stream-open-starttls):
17825 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
17826 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
17827
40098786
LMI
17828 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
17829 to binary to possibly avoid line encoding issues on Windows (among
17830 other things).
17831
468d09d4
LMI
178322011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
17833
17834 * net/network-stream.el (open-network-stream): Return an :error
17835 saying what the problem was, if possible.
17836
17837 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
17838 server.
17839
17840 * net/network-stream.el (network-stream-open-starttls): If we
17841 wanted to use STARTTLS, and the server offered it, but we weren't
17842 able to because we had no STARTTLS support, then close the connection.
17843 (open-network-stream): Return an :error element, if present.
17844
16f07dd7
CY
178452011-06-26 Chong Yidong <cyd@stupidchicken.com>
17846
88821ca0
CY
17847 * hl-line.el (hl-line-sticky-flag): Doc fix.
17848 (global-hl-line-sticky-flag): New option (Bug#8323).
17849 (global-hl-line-highlight): Obey it.
17850
16f07dd7
CY
17851 * vc/vc.el (vc-revert-show-diff): Default to t.
17852
6b5ccddf
KM
178532011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
17854
c9d29fb8
SM
17855 * allout-widgets.el (allout-widgets-post-command-business):
17856 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
17857 undecorated when an isearch is continued past, and isearch
17858 automatically collapses them. This leads to "widget leaks", where
17859 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
17860 hidden widgets can slow down cursor travel, substantially.
17861 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
17862 so we're doing without this nicety.
17863
17864 (allout-widgets-tally-string): Don't try to do a hash-table-count
17865 of allout-widgets-tally when it's nil. This eliminates spurious "Error
17866 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
17867 *Messages* when allout-widgets-maintain-tally is t.
17868
355f2e07
MR
178692011-06-26 Martin Rudalics <rudalics@gmx.at>
17870
17871 * window.el (display-buffer-normalize-argument): Rename to
17872 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
17873 LABEL argument. Respect special-display-function when popping up
17874 a new frame. Fix code searching for a window showing the buffer
17875 on another frame.
c9d29fb8
SM
17876 (display-buffer-normalize-specifiers):
17877 Call display-buffer-normalize-arguments.
355f2e07
MR
17878 (display-buffer-in-window): Don't undedicate the window if its
17879 buffer remains the same.
17880 Reported by Drew Adams <drew.adams@oracle.com>.
17881 (display-buffer-alist): Add choice for same-window macro
17882 specfier.
17883 (display-buffer): Mention special meaning of LABEL argument in
17884 doc-string. Fix quoting. Don't pop up a new frame even as
17885 fallback.
17886
7ca8fc42
JB
178872011-06-26 Juanma Barranquero <lekktu@gmail.com>
17888
17889 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
17890 avoid deleting the current window in some cases (bug#8911).
17891
bc312254
AS
178922011-06-26 Andreas Schwab <schwab@linux-m68k.org>
17893
17894 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
17895 (Bug#8934)
17896
2db18f3f
LMI
178972011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
17898
c9d29fb8
SM
17899 * net/network-stream.el (network-stream-open-starttls):
17900 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
17901 (network-stream-open-tls): Ditto.
17902
6302e0d3
LL
179032011-06-26 Leo Liu <sdl.web@gmail.com>
17904
17905 * register.el (registerv): New struct.
17906 (registerv-make): New function.
c9d29fb8
SM
17907 (jump-to-register, describe-register-1, insert-register):
17908 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
17909 struct. (Bug#8415)
17910
5fdd4046
CY
179112011-06-26 Chong Yidong <cyd@stupidchicken.com>
17912
2afef60a
CY
17913 * vc/vc.el (vc-revert-show-diff): New defcustom.
17914 (vc-diff-internal): New arg specifying diff buffer.
17915 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
17916 reuse an existing *vc-diff* buffer (Bug#8927).
17917
5fdd4046
CY
17918 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
17919
e93db24a
GM
179202011-06-26 Glenn Morris <rgm@gnu.org>
17921
17922 * progmodes/f90.el (f90-critical-indent): New option.
17923 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
17924 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
17925 (f90-mode): Doc fix.
17926 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
17927 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
17928 (f90-beginning-of-block, f90-next-block, f90-indent-region)
17929 (f90-match-end): Handle block, critical.
17930
eefff499
GM
179312011-06-25 Glenn Morris <rgm@gnu.org>
17932
f6ba4cc9
GM
17933 * calendar/diary-lib.el (diary-included-files): Doc fix.
17934 (diary-include-files): New function, extracted from
17935 diary-include-other-diary-files and diary-mark-included-diary-files.
17936 (diary-include-other-diary-files, diary-mark-included-diary-files):
17937 Just call diary-include-files.
17938 (diary-mark-entries): Reset diary-included-files on first call.
17939
16712304
GM
17940 * calendar/diary-lib.el (diary-mark-entries)
17941 (diary-mark-included-diary-files):
17942 Visit included diary-files in temp buffers.
17943
5d8e0d43
GM
17944 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
17945 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
17946 (f90-start-block-re, f90-imenu-generic-expression)
17947 (f90-looking-at-program-block-start, f90-no-block-limit):
17948 Add support for submodules.
17949
ccf7a5d5
GM
17950 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
17951 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 17952
11fdef7d 179532011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
17954
17955 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
17956 buffer-file-type before setting its value, to avoid disastrous
eefff499 17957 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 17958
74f53697
JB
179592011-06-25 Juanma Barranquero <lekktu@gmail.com>
17960
17961 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
17962
17963 * ses.el (ses-unload-function):
17964 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
17965
17966 * proced.el (proced-unload-function):
17967 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
17968
18a4ce5e
AR
179692011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
17970
17971 * server.el (server-create-window-system-frame): Add parameters arg.
17972 (server-process-filter): Doc fix. Handle frame-parameters.
17973
519d22cc
JB
179742011-06-25 Juanma Barranquero <lekktu@gmail.com>
17975
17976 Fix bug#8730, bug#8781.
17977
17978 * loadhist.el (unload--set-major-mode): New function.
17979 (unload-feature): Use it.
17980
17981 * progmodes/python.el (python-after-info-look): Add autoload cookie.
17982 (python-unload-function): New function.
17983
c206f5b0
SM
179842011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
17985
17986 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
17987
f9ad64f3
GS
179882011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
17989
17990 * net/browse-url.el (browse-url-firefox-program): Add icecat to
17991 the candidates list.
17992
7d0da90e
JB
179932011-06-24 Juanma Barranquero <lekktu@gmail.com>
17994
17995 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
17996
14b4e83d
RS
179972011-06-23 Richard Stallman <rms@gnu.org>
17998
17999 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
18000 (rmail-variables): Set next-error-move-function.
18001 (rmail-what-message): Take argument POS.
18002 (rmail-next-error-move): New function.
18003
273d2baf
SM
180042011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
18005
18006 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
18007 messages for adjacent non-terminals.
18008
56c2cc9a
RS
180092011-06-23 Richard Stallman <rms@gnu.org>
18010
18011 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 18012 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
18013 (rmail-start-mail): Don't specify use of rmail-mail-return;
18014 that's done by mail-bury now.
18015 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 18016
d59eb518
MA
180172011-06-23 Michael Albinus <michael.albinus@gmx.de>
18018
18019 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
18020 SIZE is a number.
18021
02cfc6d6
MR
180222011-06-23 Martin Rudalics <rudalics@gmx.at>
18023
18024 * window.el (get-lru-window, get-mru-window)
18025 (get-largest-window): Never return a minibuffer window.
18026 (display-buffer-pop-up-window): Fix a bug that could lead to
18027 reusing the minibuffer window.
18028 (display-buffer): Pass original specifier argument to
18029 display-buffer-function instead of the normalized one.
18030 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
18031
4e323265
LL
180322011-06-22 Leo Liu <sdl.web@gmail.com>
18033
18034 * minibuffer.el (completing-read-function)
1f9f395d 18035 (completing-read-default): Move from minibuf.c.
4e323265 18036
7a70468f
RS
180372011-06-22 Richard Stallman <rms@gnu.org>
18038
50718fc2
RS
18039 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
18040 to Rmail even if not started by a special Rmail command.
18041
7a70468f
RS
18042 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
18043 Copy the buffer currently showing just one message.
18044
297dde5a
RW
180452011-06-22 Roland Winkler <winkler@gnu.org>
18046
18047 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
18048 (bibtex-clean-entry): First delete the old key so that a
18049 customized algorithm for generating the new key does not get
18050 confused by the old key.
18051 (bibtex-url): Obey regexp of first step.
18052 (bibtex-search-entries): Do not use add-to-list with local
18053 list-var.
18054
97bb1093
LMI
180552011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
18056
18057 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
18058 stored a user name, then query for the password first, instead of
18059 waiting for SMTP to give an error message and the trying again.
18060
1c0f1a19
JD
180612011-06-22 Lawrence Mitchell <wence@gmx.li>
18062
18063 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
18064 BUFFER in call-process.
18065
396f7c9d
LMI
180662011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
18067
18068 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
18069 QUIT twice.
ddb7ffee
LMI
18070 (smtpmail-try-auth-methods): Require user name and password from
18071 auth-source.
396f7c9d 18072
8998d1b3
MR
180732011-06-22 Martin Rudalics <rudalics@gmx.at>
18074
18075 * window.el (display-buffer-default-specifiers)
18076 (display-buffer-alist): Remove entries for pop-up-frame-alist.
18077 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 18078 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
18079
18080 * frame.el (pop-up-frame-alist, pop-up-frame-function)
18081 (special-display-frame-alist, special-display-popup-frame):
18082 Remove duplicate declarations. These are now in window.el.
18083
4ea31e07
LMI
180842011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
18085
c9d29fb8
SM
18086 * mail/smtpmail.el (smtpmail-via-smtp):
18087 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
18088 server supports it. SMTP servers that support STARTTLS commonly
18089 require it.
18090
18091 * net/network-stream.el (network-stream-open-starttls): Support
18092 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 18093 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 18094
95f41d9a
LMI
18095 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
18096 upgrades with `open-network-stream', and rely solely on
18097 auth-source for all credentials. Big changes throughout the file,
18098 but in particular:
c9d29fb8
SM
18099 (smtpmail-auth-credentials): Remove.
18100 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
18101 (smtpmail-via-smtp): Check for servers saying they want AUTH after
18102 MAIL FROM, too.
95f41d9a 18103
c9d29fb8
SM
18104 * net/network-stream.el (network-stream-open-starttls):
18105 Provide support for client certificates both for external and built-in
4ea31e07
LMI
18106 STARTTLS.
18107 (auth-source): Require.
18108 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
18109 (network-stream-certificate): Change cert-cert to cert and
18110 cert-key to key.
4ea31e07 18111
065ec2c7
MA
181122011-06-21 Michael Albinus <michael.albinus@gmx.de>
18113
18114 * net/tramp-cache.el (top): Don't load the persistency file when
18115 "emacs -Q" has been called.
18116
cd93b359
DR
181172011-06-21 Tim Harper <timcharper@gmail.com>
18118
d8e4b68b
JB
18119 * term/ns-win.el (ns-initialize-window-system):
18120 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
18121 resource to NO as it is not yet supported by the NS port.
18122
ae9c0411
JB
181232011-06-21 Juanma Barranquero <lekktu@gmail.com>
18124
18125 * misc.el (list-dynamic-libraries--refresh): Compute header here...
18126 (list-dynamic-libraries): ...not here.
18127
7f3f739f
LL
181282011-06-21 Leo Liu <sdl.web@gmail.com>
18129
18130 * subr.el (sha1): Implement sha1 using secure-hash.
18131
327c8fb1
MR
181322011-06-21 Martin Rudalics <rudalics@gmx.at>
18133
18134 * window.el (display-buffer-alist): In default value do not
18135 enforce searching a window on any but the selected frame.
18136 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
18137 (display-buffer-select-window): Remove function.
18138 (display-buffer-in-window): When a window on another frame gets
18139 reused, do not select it any more but just raise its frame if
18140 necessary (Bug#8851) and (Bug#8856).
18141 (display-buffer-normalize-options): Handle pop-up-frames related
18142 options more faithfully.
18143 (pop-to-buffer): Don't rely on `display-buffer' selecting the
18144 window if it is on another frame.
c9d29fb8
SM
18145 (display-buffer-alist, display-buffer-default-specifiers):
18146 Don't make new frame unsplittable by default.
9e9de014
MR
18147 (display-buffer-normalize-argument): Fix doc-string typo and use
18148 'same-frame-other-window instead of 'other-window when associating
18149 with display-buffer-macro-specifiers.
327c8fb1 18150
7cf3f556
VB
181512011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
18152
18153 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
18154 New functions.
18155 (5x5-mode-map, 5x5-mode-menu): Bind them.
18156 (5x5-draw-grid): Tweak the solver's rendering.
18157
60a406cf
SM
181582011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
18159
18160 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
18161 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
18162
d8e4b68b 181632011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
18164
18165 * menu-bar.el: Use function variable instead of switch-to-buffer.
18166 (menu-bar-select-buffer-function): New variable.
60a406cf 18167 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 18168
478d6f95
SM
181692011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
18170
18171 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
18172 variable's status.
18173
ca530739
JD
181742011-06-20 Jan Djärv <jan.h.d@swipnet.se>
18175
18176 * x-dnd.el (x-dnd-version-from-flags)
18177 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
18178 and long as number (Bug#8899).
18179 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
18180
bcd70d97
SM
181812011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
18182
60a406cf 18183 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
18184 (completion-try-completion, completion-all-completions): Compute the
18185 metadata argument if it's missing; make it optional (bug#8795).
18186
60a406cf 18187 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
18188 (widget-complete): Use new :completion-function property.
18189 (widget-completions-at-point): New function.
18190 (default): Use :completion-function instead of :complete.
60a406cf
SM
18191 (widget-default-completions): Rename from widget-default-complete;
18192 Rewrite.
bcd70d97
SM
18193 (widget-string-complete, widget-file-complete, widget-color-complete):
18194 Remove functions.
18195 (file, symbol, function, variable, coding-system, color):
18196 * international/mule-cmds.el (default-input-method, charset)
18197 (language-info-custom-alist):
18198 * cus-edit.el (face): Use new property :completions.
18199
18200 * progmodes/pascal.el (pascal-completions-at-point): New function.
18201 (pascal-mode): Use it.
18202 (pascal-mode-map): Use completion-at-point.
18203 (pascal-toggle-completions): Make obsolete.
18204 (pascal-complete-word, pascal-show-completions):
18205 * progmodes/octave-mod.el (octave-complete-symbol):
18206 Redefine as obsolete alias.
18207 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
18208 Signal absence of completion info for old Octave,
18209 (inferior-octave-complete): Redefine as obsolete alias.
18210 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
18211 (meta-completions-at-point): Rename from meta-complete-symbol and
18212 adapt it for use on completion-at-point-functions.
18213 (meta-common-mode): Use it.
18214 (meta-looking-at-backward, meta-match-buffer): Remove.
18215 (meta-complete-symbol): Redefine as obsolete alias.
18216 (meta-common-mode-map): Use completion-at-point.
18217 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
18218 (makefile-mode-map): Use completion-at-point.
18219 (makefile-completions-at-point): Rename from makefile-complete and
18220 adapt it for use on completion-at-point-functions.
18221 (makefile-mode): Use it.
18222 (makefile-complete): Redefine as obsolete alias.
18223
aebf69c8
DD
182242011-06-20 Deniz Dogan <deniz@dogan.se>
18225
18226 * net/rcirc.el: Delete trailing whitespaces once and for all.
18227
bfbbb27d
DC
182282011-06-20 Daniel Colascione <dan.colascione@gmail.com>
18229
18230 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
18231
d264a46b
CY
182322011-06-19 Chong Yidong <cyd@stupidchicken.com>
18233
4ca009e5
CY
18234 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
18235
d264a46b
CY
18236 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
18237
fbf5b3ce
MR
182382011-06-19 Martin Rudalics <rudalics@gmx.at>
18239
18240 * window.el (display-buffer-other-window-means-other-frame):
18241 Call display-buffer-normalize-alist.
18242 (display-buffer-normalize-specifiers-1): Rename to
18243 display-buffer-normalize-argument. New argument other-frame.
18244 Rewrite.
18245 (display-buffer-normalize-specifiers-2): Rename to
18246 display-buffer-normalize-options.
18247 (display-buffer-normalize-alist-1): New function.
18248 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
18249 display-buffer-normalize-alist.
18250 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
18251 (display-buffer-normalize-options-inhibit): New variable.
18252 (display-buffer-normalize-specifiers): Rewrite calling
18253 display-buffer-normalize-alist,
18254 display-buffer-normalize-argument, and
18255 display-buffer-normalize-options. Don't call the latter if
18256 display-buffer-normalize-options-inhibit is non-nil.
18257 (frame-auto-delete): New option.
18258 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
18259 (window-list-no-nils, window-state-ignored-parameters)
18260 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
18261 (window-state-put-1, window-state-put-2, window-state-put):
18262 New functions.
9a028c23
MR
18263 (display-buffer-normalize-options): Move special-display-p group
18264 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 18265
6d10d800
CY
182662011-06-18 Chong Yidong <cyd@stupidchicken.com>
18267
6420d28b
CY
18268 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
18269 groups (Bug#8776).
18270 (rx-submatch-n): New function.
18271 (rx): Document it.
18272
ddb8b596
CY
18273 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
18274 (Bug#8768).
18275
18276 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
18277
77080289
CY
18278 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
18279
61dfb316
CY
18280 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
18281 anytime existing face settings are present (Bug#8889).
18282
6d10d800
CY
18283 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
18284 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
18285 Remove unused argument.
18286
be3fb2b8
MR
182872011-06-18 Martin Rudalics <rudalics@gmx.at>
18288
bcd70d97
SM
18289 * window.el (display-buffer-default-specifiers):
18290 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
18291 pop-up-window-min-width, and another reuse-window specifier
18292 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
18293 (display-buffer-normalize-specifiers-2):
18294 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
18295 pop-up-windows is unset. Add a reuse-window specifier for the
18296 case popping up a new window fails.
18297 (special-display-popup-frame): Remove double quoting.
28dec25a 18298 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 18299
1c6d8c76
SM
183002011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
18301
18302 * shell.el (shell-completion-vars): Set pcomplete-termination-string
18303 according to comint-completion-addsuffix.
18304
18305 * pcomplete.el: Convert to lexical binding and fix bug#8819.
18306 (pcomplete-suffix-list): Mark as obsolete.
18307 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
18308 pcomplete-seen in the closure.
18309 (pcomplete-comint-setup): Setup completion-at-point as well.
18310 (pcomplete--entries): New function.
18311 (pcomplete--env-regexp): New var.
18312 (pcomplete-entries): Rewrite to work with partial-completion and
18313 without relying on pcomplete-suffix-list.
18314 (pcomplete-pare-list): Remove, unused.
18315
25aef8b8
MR
183162011-06-17 Martin Rudalics <rudalics@gmx.at>
18317
18318 * window.el (display-buffer-alist): Set pop-up-window-min-height
18319 and pop-up-window-min-width in default value. Reported by
18320 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
18321 other-window-means-other-frame.
18322 (display-buffer-macro-specifiers): Comment out entry for
18323 other-window specifier.
18324 (display-buffer-other-window-means-other-frame): New function.
18325 (display-buffer-normalize-specifiers-1): New arguments
18326 buffer-name and label. Treat other-window case specially.
18327 (display-buffer-normalize-specifiers-2): Treat other-window case
18328 specially.
18329 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
18330 (display-buffer-normalize-specifiers):
18331 Call display-buffer-normalize-specifiers-3.
25aef8b8 18332
dbad4f69
MR
183332011-06-17 Martin Rudalics <rudalics@gmx.at>
18334
18335 * window.el (same-window-p): Fix two typos introduced when
18336 adding with-no-warnings.
d1067961
MR
18337 (display-buffer-normalize-specifiers-1): Don't check
18338 pop-up-frames for 'unset initialization.
18339 (display-buffer-normalize-specifiers-2): Major rewrite using
18340 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
18341 (pop-up-frames, display-buffer-reuse-frames)
18342 (display-buffer-mark-dedicated): Don't initialize to 'unset.
18343 Suggested by David Engster <deng@randomsample.de>.
18344 (even-window-heights): Initialize to 'unset.
18345 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
18346 (display-buffer-macro-specifiers): Don't pop up a new frame in the
18347 other window case.
dbad4f69 18348
9b9c9e3a
MR
183492011-06-16 Martin Rudalics <rudalics@gmx.at>
18350
bcd70d97
SM
18351 * window.el (display-buffer-normalize-specifiers-1):
18352 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 18353 second argument of display-buffer (Bug#8865).
981d5c09
MR
18354 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
18355 (switch-to-buffer-other-window-same-frame)
18356 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
18357 Adams (Bug#8875).
9c2755e9
MR
18358 (display-buffer): Don't check noninteractive when calling
18359 display-buffer-pop-up-frame.
18360 (display-buffer-pop-up-frame): Never pop up a frame in
18361 noninteractive mode (Bug#8857).
67222e1d
MR
18362 (enlarge-window, shrink-window): Don't report an error when the
18363 window can't be resized as requested (Bug#8862).
9b9c9e3a 18364
2b75be67
SM
183652011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
18366
9ffdd3ba
SM
18367 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
18368
cb581a67
SM
18369 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
18370
2b75be67
SM
18371 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
18372
8c0e3589
AM
183732011-06-15 Alan Mackenzie <acm@muc.de>
18374
cb581a67
SM
18375 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
18376 for declarators, disable knr checking to speed up for normal files.
18377 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 18378
b96e6cde
LMI
183792011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
18380
4bba86e6
LMI
18381 * net/network-stream.el (open-network-stream): Add the keyword
18382 :always-query-capabilities for the case where you want to force a
18383 `plain' network connection, but the protocol still requires the
18384 capabilitiy command (i.e., SMTP and EHLO).
18385
2b75be67 18386 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
18387 consistency with other `-live-p' functions.
18388
efdcdbf8
SM
183892011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
18390
18391 * window.el (same-window-buffer-names, same-window-regexps)
18392 (special-display-frame-alist, special-display-popup-frame)
18393 (special-display-function, special-display-buffer-names)
18394 (special-display-regexps, pop-up-frame-alist)
18395 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
18396 (pop-up-windows, split-window-preferred-function)
18397 (split-height-threshold, split-width-threshold, even-window-heights)
18398 (display-buffer-mark-dedicated): Don't encourage the use of
18399 display-buffer-alist from Elisp code.
18400
c5cde042
DN
184012011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
18402
18403 * progmodes/python.el (python-mode): Derive from prog-mode.
18404 * progmodes/ps-mode.el (ps-mode):
18405 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 18406 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
18407 * progmodes/ld-script.el (ld-script-mode): Likewise.
18408
baa1c9ab
MR
184092011-06-15 Martin Rudalics <rudalics@gmx.at>
18410
18411 * window.el (display-buffer-alist): Trim default value to avoid
18412 popping up a new frame (Bug#8857) or reusing an arbitrary window
18413 on another frame.
18414 (display-buffer): Do not fall back on popping up a new frame in
18415 batch mode (Bug#8857).
18416
c5dd5a51
CY
184172011-06-14 Chong Yidong <cyd@stupidchicken.com>
18418
18419 * cus-theme.el (describe-theme-1): Use custom-theme-p.
18420 (custom-theme-summary): New function.
18421 (customize-themes): Use it.
18422
d647b7c4
GM
184232011-06-13 Glenn Morris <rgm@gnu.org>
18424
18425 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
18426
9481c002
MR
184272011-06-13 Martin Rudalics <rudalics@gmx.at>
18428
357f93d2
MR
18429 * help.el (help-window): Remove variable.
18430 (help-window-point-marker, temp-buffer-max-height)
18431 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
18432 (help-print-return-message): Don't set help-window.
18433 (resize-temp-buffer-window): Rewrite cod eand doc-string.
18434 (help-window-setup-finish): Remove.
18435 (help-window-display-message, help-window-setup)
18436 (with-help-window): Major rewrite based on new
18437 display-buffer-window variable.
18438
18439 * help-mode.el (help-mode-finish): Remove help-window related
18440 code.
18441
18442 * view.el (view-exits-all-viewing-windows): Remove reference to
18443 view-return-to-alist in doc-string.
18444 (view-return-to-alist): Make obsolete.
18445 (view-buffer): Call pop-to-buffer-same-window and remove
18446 undo-window code.
18447 (view-buffer-other-window): Call pop-to-buffer-other-window and
18448 simplify code. Ignore second argument.
18449 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
18450 simplify code. Ignore second argument.
18451 (view-return-to-alist-update): Make obsolete.
18452 (view-mode-enter): Rename second argument to QUIT-RESTORE.
18453 Rewrite using quit-restore window parameters.
2b75be67
SM
18454 (view-mode-exit): Rename second argument to EXIT-ONLY.
18455 Rewrite using quit-restore-window.
357f93d2
MR
18456 (View-exit, View-exit-and-edit, View-leave, View-quit)
18457 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
18458 appropriate arguments.
18459 (view-end-message): Use quit-restore window parameter.
18460
9481c002
MR
18461 * window.el (display-buffer-function): Rewrite doc-string.
18462 (display-buffer-window, display-buffer-alist): New variables.
18463 (display-buffer-split-specifiers)
18464 (display-buffer-side-specifiers)
18465 (display-buffer-macro-specifiers): New constants.
18466 (display-buffer-even-window-sizes, display-buffer-set-height)
18467 (display-buffer-set-width, display-buffer-select-window)
18468 (display-buffer-in-window, display-buffer-reuse-window)
18469 (display-buffer-split-window-1, display-buffer-split-window)
18470 (display-buffer-split-atom-window, display-buffer-pop-up-window)
18471 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
18472 (display-buffer-in-side-window, normalize-buffer-to-display)
18473 (display-buffer-normalize-specifiers-1)
18474 (display-buffer-normalize-specifiers-2)
2b75be67
SM
18475 (display-buffer-normalize-specifiers, display-buffer-frame):
18476 New functions.
9481c002
MR
18477 (display-buffer): Major rewrite.
18478 (display-buffer-other-window, display-buffer-other-frame)
18479 (pop-to-buffer, switch-to-buffer-other-window)
18480 (switch-to-buffer-other-frame): Rewrite.
18481 (display-buffer-same-window, display-buffer-same-frame)
18482 (display-buffer-same-frame-other-window)
18483 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
18484 (pop-to-buffer-other-window)
18485 (pop-to-buffer-same-frame-other-window)
18486 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
18487 (switch-to-buffer-other-window-same-frame): New functions.
18488 (same-window-p, special-display-p): Rewrite disabling warnings.
18489 Make obsolete.
18490 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
18491 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
18492 Make obsolete
18493 (same-window-buffer-names, same-window-regexps)
18494 (special-display-frame-alist, special-display-popup-frame)
18495 (special-display-function, special-display-buffer-names)
18496 (special-display-regexps, pop-up-frame-alist)
18497 (pop-up-frame-function, split-window-preferred-function)
18498 (split-height-threshold, split-width-threshold)
18499 (even-window-heights): Make obsolete.
18500
9db51aca
GM
185012011-06-12 Glenn Morris <rgm@gnu.org>
18502
18503 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 18504 Misc simplifications.
9db51aca 18505
39cffb44
MR
185062011-06-12 Martin Rudalics <rudalics@gmx.at>
18507
18508 * window.el (window-safely-shrinkable-p): Restore function which
18509 was inadvertently removed in change from 2011-06-11. Declare as
18510 obsolete.
18511
2b75be67
SM
18512 * calendar/calendar.el (calendar-generate-window):
18513 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
18514 window-safely-shrinkable-p.
18515
a8955be7
GM
185162011-06-12 Glenn Morris <rgm@gnu.org>
18517
18518 * progmodes/fortran.el (fortran-mode-syntax-table):
18519 * progmodes/f90.el (f90-mode-syntax-table):
18520 Set % to punctuation. (Bug#8820)
18521 (f90-find-tag-default): Remove, no longer needed.
18522
f0d4059d
DC
185232011-06-12 Daniel Colascione <dan.colascione@gmail.com>
18524
18525 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
18526
1100a63c
CY
185272011-06-11 Chong Yidong <cyd@stupidchicken.com>
18528
18529 * image.el (image-animated-p): Return animation delay in seconds.
18530 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
18531 (image-animate-timeout): Remove DELAY argument. Don't assume
18532 every subimage has the same delay; get it from image-animated-p.
18533 (image-animate): Caller changed.
18534
def722bf
MA
185352011-06-11 Michael Albinus <michael.albinus@gmx.de>
18536
18537 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
18538 to ignored backtrace functions.
18539
0a2bb1a9
GM
185402011-06-11 Glenn Morris <rgm@gnu.org>
18541
18542 * calendar/appt.el (appt-disp-window-function): Doc fix.
18543 (appt-check): Handle overlapping appointments. (Bug#8337)
18544
6198ccd0
MR
185452011-06-11 Martin Rudalics <rudalics@gmx.at>
18546
18547 * window.el (window-tree-1, window-tree): New functions, moving
18548 the latter to window.el.
18549 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
18550 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
18551 (bw-refresh-edges): Remove.
18552 (balance-windows-1, balance-windows-2): New functions.
18553 (balance-windows): Rewrite in terms of window tree functions,
18554 balance-windows-1 and balance-windows-2.
18555 (bw-adjust-window): Remove.
18556 (balance-windows-area-adjust): New function with functionality of
18557 bw-adjust-window but using resize-window.
2b75be67
SM
18558 (set-window-text-height): Rewrite doc-string.
18559 Use normalize-live-window and resize-window.
18560 (enlarge-window-horizontally, shrink-window-horizontally):
18561 Rename argument to DELTA.
6198ccd0
MR
18562 (window-buffer-height): New function.
18563 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
18564 Rewrite using new window resize routines.
2b75be67
SM
18565 (kill-buffer-and-window, mouse-autoselect-window-select):
18566 Use ignore-errors instead of condition-case.
6198ccd0
MR
18567 (quit-window): Call delete-frame instead of delete-windows-on
18568 for the only buffer on frame.
18569
9397e56f
MR
185702011-06-10 Martin Rudalics <rudalics@gmx.at>
18571
18572 * loadup.el (top-level): Load window before files for the sake
18573 of replace-buffer-in-windows.
18574
18575 * files.el (read-buffer-to-switch)
18576 (switch-to-buffer-other-window)
2b75be67
SM
18577 (switch-to-buffer-other-frame, display-buffer-other-frame):
18578 Move to window.el.
9397e56f
MR
18579
18580 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
18581 (previous-buffer): Move to window.el.
18582
18583 * bindings.el (unbury-buffer): Move to window.el.
18584
18585 * window.el (delete-other-windows-vertically): Move after
18586 definition of delete-other-windows.
18587 (other-window, delete-windows-on, replace-buffer-in-windows):
18588 Move here from window.c.
18589 (record-window-buffer, unrecord-window-buffer)
18590 (set-window-buffer-start-and-point, switch-to-prev-buffer)
18591 (switch-to-next-buffer): New functions.
18592 (get-next-valid-buffer, last-buffer, next-buffer): Move here
18593 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
18594 (previous-buffer): Move here from simple.el.
18595 Call switch-to-prev-buffer.
9397e56f
MR
18596 (bury-buffer): Move here from buffer.c. Switch to previous
18597 buffer when window cannot be deleted.
18598 (unbury-buffer): Move here from bindings.el.
18599 (ctl-x-map): Move binding for other-window from window.c to
18600 here.
18601 (read-buffer-to-switch, switch-to-buffer-other-window)
18602 (switch-to-buffer-other-frame): Move here from files.el.
18603 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
18604 (switch-to-buffer): Move here from buffer.c.
18605 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 18606
562dd5e9
MR
186072011-06-10 Martin Rudalics <rudalics@gmx.at>
18608
18609 * window.el (window-min-height, window-min-width): Move here
18610 from window.c. Add defcustoms and rewrite doc-strings.
18611 (resize-mini-window, resize-window): New functions.
18612 (adjust-window-trailing-edge, enlarge-window, shrink-window):
18613 Move here from window.c.
18614 (maximize-window, minimize-window): New functions.
18615 (delete-window, delete-other-windows, split-window): Move here
18616 from window.c.
18617 (window-split-min-size): New function.
18618 (split-window-keep-point): Mention split-window-above-each-other
18619 instead of split-window-vertically.
2b75be67 18620 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
18621 Rename split-window-vertically to split-window-above-each-other
18622 and provide defalias for old definition.
18623 (split-window-side-by-side, split-window-horizontally):
18624 Rename split-window-horizontally to split-window-side-by-side
18625 and provide defalias for the old definition.
562dd5e9
MR
18626 (ctl-x-map): Move bindings for delete-window,
18627 delete-other-windows and enlarge-window here from window.c.
18628 Replace bindings for split-window-vertically and
18629 split-window-horizontally by bindings for
18630 split-window-above-each-other and split-window-side-by-side.
18631
18632 * cus-start.el (all): Remove entries for window-min-height and
18633 window-min-width. Add entries for window-splits and
18634 window-nest.
18635
f0da764a
GM
186362011-06-09 Glenn Morris <rgm@gnu.org>
18637
80675c21
GM
18638 * calendar/appt.el (appt-mode-line): New function.
18639 (appt-check, appt-disp-window): Use it.
18640
f0da764a
GM
18641 * files.el (hack-one-local-variable-eval-safep):
18642 Allow minor-modes with explicit +/-1 arguments.
18643
59f623b7
TZ
186442011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
18645
18646 * term/xterm.el (xterm): Add defgroup.
18647 (xterm-extra-capabilities): Add defcustom to supply known xterm
18648 capabilities, skip querying them, or query them (default).
18649 (terminal-init-xterm): Use it.
18650 (terminal-init-xterm-modify-other-keys): New function to set up
18651 modifyOtherKeys support to simplify `terminal-init-xterm'.
18652
9aab8e0d
MR
186532011-06-09 Martin Rudalics <rudalics@gmx.at>
18654
18655 * window.el (resize-window-reset, resize-window-reset-1)
18656 (resize-subwindows-skip-p, resize-subwindows-normal)
18657 (resize-subwindows, resize-other-windows, resize-this-window)
18658 (resize-root-window, resize-root-window-vertically)
18659 (window-deletable-p, window-or-subwindow-p)
18660 (frame-root-window-p): New functions.
18661
e8b08aee
GM
186622011-06-09 Glenn Morris <rgm@gnu.org>
18663
18664 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
18665 (ange-ftp-get-files): Use it.
18666
254c37a5
AK
186672011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
18668
18669 * mail/sendmail.el (mail-recover-1, mail-recover):
18670 * files.el (recover-file, recover-session):
18671 Handle dired-listing-switches not being just a single short option.
18672
35d7dbd3
GM
186732011-06-09 Glenn Morris <rgm@gnu.org>
18674
18675 * calendar/appt.el (appt-display-message, appt-disp-window):
18676 Handle lists of appointments.
18677
387522b2
MR
186782011-06-08 Martin Rudalics <rudalics@gmx.at>
18679
2b75be67
SM
18680 * window.el (one-window-p): Move down in code.
18681 Rewrite doc-string.
18682 (window-current-scroll-bars): Rewrite doc-string.
18683 Normalize live window argument.
387522b2
MR
18684 (walk-windows, get-window-with-predicate, count-windows):
18685 Rewrite doc-string. Use window-list-1.
18686 (window-in-direction-2, window-in-direction, get-mru-window):
18687 New functions.
18688
d8e4b68b 186892011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
18690
18691 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
18692 Doc fix (Bug#8713).
18693
186942011-06-08 Chong Yidong <cyd@stupidchicken.com>
18695
18696 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
18697
186982011-06-08 Juanma Barranquero <lekktu@gmail.com>
18699
18700 * loadhist.el (unload-feature-special-hooks):
18701 Add `comint-output-filter-functions'.
18702
0de12c52
IK
187032011-06-08 Ivan Kanis <gnu@kanis.fr>
18704
18705 * calendar/appt.el (appt-check): Move some initializations into the let.
18706
f3d1777e
MR
187072011-06-08 Martin Rudalics <rudalics@gmx.at>
18708
18709 * window.el (window-height): Defalias to window-total-height.
18710 (window-width): Defalias to window-body-width.
18711
18af70d0
CY
187122011-06-07 Chong Yidong <cyd@stupidchicken.com>
18713
18714 * image-mode.el (image-toggle-animation): New command.
18715 (image-mode-map): Bind it to RET.
18716 (image-mode): Update message.
18717 (image-toggle-display-image): Avoid a spurious cache flush.
18718 (image-transform-rotation): Doc fix.
18719 (image-transform-properties): Return quickly in the normal case.
18720 (image-animate-loop): Rename from image-animate-max-time.
18721
2b75be67 18722 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
18723 (create-animated-image): Remove unnecessary function.
18724 (image-animate): Rename from image-animate-start. New arg.
2b75be67 18725 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
18726 (image-animate-timer): Use car-safe.
18727 (image-animate-timeout): Rename argument.
18728
190b47e6
MR
187292011-06-07 Martin Rudalics <rudalics@gmx.at>
18730
18731 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
18732 window.c. Rename first argument to ALL-FRAMES.
18733 Rephrase doc-strings.
18734 (get-buffer-window-list): Rewrite using window-list-1.
18735 Rephrase doc-string.
a1511caf
MR
18736 (window-safe-min-height, window-safe-min-width): New constants.
18737 (window-size-ignore, window-min-size, window-min-size-1)
18738 (window-sizable, window-sizable-p, window-size-fixed-1)
18739 (window-size-fixed-p, window-min-delta-1, window-min-delta)
18740 (window-max-delta-1, window-max-delta, window-resizable)
18741 (window-resizable-p, window-total-height, window-total-width)
18742 (window-body-width): New functions.
18743 (window-full-height-p, window-full-width-p): Rewrite using
18744 window-total-size.
18745 (window-body-height): Rewrite using window-body-size.
190b47e6 18746
85cc1f11
MR
187472011-06-06 Martin Rudalics <rudalics@gmx.at>
18748
18749 * window.el (window-right, window-left, window-child)
18750 (window-child-count, window-last-child, window-any-p)
18751 (normalize-live-buffer, normalize-live-frame)
18752 (normalize-any-window, normalize-live-window)
18753 (window-iso-combination-p, window-iso-combined-p)
18754 (window-iso-combinations)
18755 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
18756 (windows-with-parameter, window-with-parameter)
18757 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
18758 (window-atom-check, window-side-check, window-check):
18759 New functions.
85cc1f11
MR
18760 (ignore-window-parameters, window-sides, window-sides-vertical)
18761 (window-sides-slots): New variables.
18762 (window-size-fixed): Move down in code. Minor doc-string fix.
18763
e7156492
AS
187642011-06-05 Andreas Schwab <schwab@linux-m68k.org>
18765
18766 * comint.el (comint-dynamic-complete-as-filename)
18767 (comint-dynamic-complete-filename): Correctly call
18768 completion-in-region.
18769
7e821d0d
DD
187702011-06-05 Deniz Dogan <deniz@dogan.se>
18771
18772 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
18773 in last change.
18774
ac09b8a1
DD
187752011-06-05 Deniz Dogan <deniz@dogan.se>
18776
18777 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
18778 (rcirc): Use it to prompt for encryption.
18779
34699b85
RW
187802011-06-05 Roland Winkler <winkler@gnu.org>
18781
18782 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
18783 (bibtex-search-entries): New command bound to C-c C-a.
18784 (bibtex-display-entries): New function.
18785
004dedd3
RW
187862011-06-05 Roland Winkler <winkler@gnu.org>
18787
18788 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
18789 (bibtex-insert-kill): After yanking insert newline if necessary.
18790 (bibtex-initialize): Call bibtex-string-files-init only once.
18791 (bibtex-mode): Do not call easy-menu-add.
18792 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
18793 (bibtex-yank): Set arg properly if nil.
18794
022fe7ce
RW
187952011-06-05 Roland Winkler <winkler@gnu.org>
18796
2b75be67
SM
18797 * textmodes/bibtex.el (bibtex-search-entry-globally):
18798 New variable.
022fe7ce
RW
18799 (bibtex-search-entry): Use it.
18800
b7c3692a
RW
188012011-06-05 Roland Winkler <winkler@gnu.org>
18802
18803 * textmodes/bibtex.el (bibtex-entry-format): New option
18804 sort-fields.
18805 (bibtex-format-entry, bibtex-reformat): Honor this option.
18806 (bibtex-parse-entry): Return fields in proper order.
18807
8eda563d
JB
188082011-06-05 Juanma Barranquero <lekktu@gmail.com>
18809
18810 * doc-view.el (doc-view-remove-if): Move computation of result out
18811 of `dolist' to silence misleading lexical-binding warning.
18812
7dbe3dbc
CY
188132011-06-04 Chong Yidong <cyd@stupidchicken.com>
18814
18815 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
18816 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
18817
0c33dd17
MA
188182011-06-04 Michael Albinus <michael.albinus@gmx.de>
18819
18820 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
18821 "SunOS 5.10".
18822
f8f91c2b
MA
188232011-06-04 Michael Albinus <michael.albinus@gmx.de>
18824
18825 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
18826 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
18827 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
18828 (tramp-parse-putty):
18829 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
18830 (tramp-completion-function-alist-ssh)
18831 (tramp-completion-function-alist-telnet)
18832 (tramp-completion-function-alist-su)
18833 (tramp-completion-function-alist-putty): Set `tramp-autoload'
18834 cookie.
18835
18836 * net/tramp-ftp.el:
18837 * net/tramp-sh.el:
18838 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
18839 load "tramp.el" `tramp-set-completion-function'.
18840
e17d9003
SM
188412011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
18842
18843 * shell.el: Require and use pcomplete.
18844 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
18845 (shell-completion-vars): Set pcomplete-default-completion-function.
18846
6c4cab03
DD
188472011-06-04 Deniz Dogan <deniz@dogan.se>
18848
18849 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
18850 `memq' (Bug#8799).
18851
ea9fafe0
SM
188522011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
18853
18854 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
18855
b3e945d3
JB
188562011-06-02 Juanma Barranquero <lekktu@gmail.com>
18857
18858 * bs.el (bs--mark-unmark, bs--nth-wrapper):
18859 * mpc.el (mpc-select-extend, mpc-songpointer-context):
18860 * vc/log-view.el (log-view-beginning-of-defun):
18861 * vc/smerge-mode.el (smerge-apply-resolution-patch)
18862 (smerge-refine-forward, smerge-refine-chopup-region):
18863 Silence warning for unused `dotimes' counter variables.
18864
7d520089
SM
188652011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
18866
18867 * net/tramp.el (tramp-with-progress-reporter): Rename from
18868 with-progress-reporter. Use `declare'.
18869 * net/tramp-smb.el:
18870 * net/tramp-sh.el:
18871 * net/tramp-gvfs.el: Update all uses.
18872
a1c2400f
JB
188732011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
18874
18875 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
18876 buffer isn't killed before making it current.
18877
2403c841
SM
188782011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
18879
18880 Silence various byte-compiler warnings.
18881 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
18882 `access-type' and new obsolescence format.
18883 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
18884 new format.
18885 (byte-compile-check-variable): New `access-type' argument.
18886 Only warn if the access-type is obsolete.
18887 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
18888 (byte-compile-variable-set): Adjust callers.
18889 * help-fns.el (describe-variable): Adjust to new obsolescence format.
18890 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
18891 setting it as obsolete.
18892 * simple.el (minibuffer-completing-symbol):
18893 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
18894 access as obsolete.
18895 * minibuffer.el (minibuffer-completing-file-name): Don't make it
18896 obsolete yet.
18897 * international/quail.el (quail-mouse-choose-completion): Remove unused
18898 code referring to obsolete var.
18899 (quail-choose-completion-string): Remove.
18900 * server.el (server-clients-with, server-kill-buffer-query-function)
18901 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
18902 * proced.el (proced-send-signal):
18903 * emacs-lisp/lisp.el (lisp-complete-symbol):
18904 Replace completion-annotate-function with completion-extra-properties.
18905
2462470b
SM
189062011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
18907
fb5b2591
SM
18908 * simple.el (goto-line): Use read-number.
18909 (overriding-map-is-bound): Remove.
18910 (saved-overriding-map): Change default.
18911 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
18912 Take the map as argument.
18913 (universal-argument, negative-argument, digit-argument): Use it.
18914 (restore-overriding-map): Adjust.
18915 (do-auto-fill): Use fill-forward-paragraph.
18916 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
18917
fd6fa53f
SM
18918 * minibuffer.el (minibuffer-inactive-mode-map): New var.
18919 (minibuffer-inactive-mode): New major mode.
18920 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
18921 the *Messages* buffer" hack.
18922 (mouse-popup-menubar): Don't burp if the event is a normal key.
18923
2462470b
SM
18924 Miscellaneous tweaks.
18925 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
18926 lexical scoping as in subr.el's dolist and dotimes.
18927 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
18928 Silence compiler warning.
18929 * thingatpt.el (forward-whitespace): Trivial coding style fix.
18930 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
18931 * international/ccl.el (ccl-compile): Trivial simplification.
18932 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
18933 * emacs-lisp/testcover.el (testcover-end): Remove spurious
18934 `printflag' argument.
18935 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
18936 Purecopy the whole obsolescence data.
18937
108bf785
LL
189382011-06-01 Leo Liu <sdl.web@gmail.com>
18939
18940 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
18941 improve doc-string as suggested by Marco Pessotto
18942 <melmothx@gmail.com>.
18943 (rcirc-print): Fix last change.
18944
30a23501
SM
189452011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
18946
18947 * minibuffer.el (complete-with-action): Return nil for the metadata and
18948 boundaries of non-functional tables.
18949 (completion-table-dynamic): Return nil for the metadata.
18950 (completion-table-with-terminator): Add default case, using
18951 complete-with-action.
18952 (completion--metadata): New function.
18953 (completion-all-sorted-completions, minibuffer-completion-help): Use it
18954 to try and avoid pathological performance problems.
18955 (completion--embedded-envvar-table): Return `category' metadata.
18956
bcd54f83
LMI
189572011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
18958
18959 * subr.el (process-alive-p): New tiny convenience function.
18960
e227544d
SM
189612011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
18962
18963 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
18964 content but also its previous major mode.
18965
e8296fdc
HE
189662011-05-31 Helmut Eller <eller.helmut@gmail.com>
18967
4d61f28d 18968 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
18969 *Backtrace* buffer when we exit with C-M-c.
18970
620c53a6
SM
189712011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
18972
18973 * minibuffer.el: Add metadata method to completion tables.
18974 (completion-category-overrides): New defcustom.
18975 (completion-metadata, completion--field-metadata)
18976 (completion-metadata-get, completion--styles)
18977 (completion--cycle-threshold): New functions.
18978 (completion-try-completion, completion-all-completions):
18979 Add `metadata' argument to choose completion-styles.
18980 (completion--do-completion): Use metadata to choose cycling.
18981 (completion-all-sorted-completions): Use metadata for sorting.
18982 Remove :completion-cycle-penalty which is not needed any more.
18983 (completion--try-word-completion): Add `metadata' argument.
18984 (minibuffer-completion-help): Check metadata for annotation function
18985 and sorting.
18986 (completion-file-name-table): Return `category' metadata.
18987 (minibuffer-completing-file-name): Make obsolete.
18988 * simple.el (minibuffer-completing-symbol): Make obsolete.
18989 * icomplete.el (icomplete-completions): Pass new `metadata' param to
18990 completion-try-completion.
18991
1257e755
SM
189922011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
18993
18994 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
18995
3767e706
LL
189962011-05-30 Leo Liu <sdl.web@gmail.com>
18997
18998 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
18999 (rcirc-print): Decode all incoming messages (bug#8744).
19000 (rcirc-decode-coding-system): Allow value nil for automatic coding
19001 system detection.
3767e706 19002
d1a5d56a
GM
190032011-06-01 Glenn Morris <rgm@gnu.org>
19004
19005 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
19006
e8cbec34
CY
190072011-05-29 Chong Yidong <cyd@stupidchicken.com>
19008
19009 * image.el (image-animate-max-time): Allow nil and t values.
19010 Default to nil.
19011 (create-animated-image): Doc fix.
19012 (image-animate-start): Remove second arg; just use
19013 image-animate-max-time.
19014 (image-animate-timeout): Doc fix. Args changed.
19015
19016 * image-mode.el (image-toggle-display-image): Ensure that the
19017 image spec passed to the animate timer is the same object as in
58179cce 19018 the buffer's display property (Bug#6981).
e8cbec34
CY
19019 (image-transform-properties): Doc fix.
19020
19021 * image.el (image-animate-max-time): Default to nil.
19022
159daf87
MR
190232011-05-29 Martin Rudalics <rudalics@gmx.at>
19024
19025 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
19026 entire buffer list (Bug#8184).
19027
d66c4c7c
CY
190282011-05-29 Chong Yidong <cyd@stupidchicken.com>
19029
19030 * image.el (imagemagick-types-inhibit)
19031 (imagemagick-register-types): Doc fix.
19032
80aec780
DD
190332011-05-29 Deniz Dogan <deniz@dogan.se>
19034
19035 * net/rcirc.el (rcirc): Use the user's stored encryption method by
19036 default.
19037
1dd3c2d9
CY
190382011-05-29 Chong Yidong <cyd@stupidchicken.com>
19039
19040 * select.el: Don't perform clipboard-manager saving in hooks;
19041 leave the hooks empty.
19042
60e56523
LL
190432011-05-28 Leo Liu <sdl.web@gmail.com>
19044
19045 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
19046 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
19047 (occur-edit-mode): New major mode (Bug#8463).
19048 (occur-after-change-function): New function.
19049 (occur-engine): Give Occur tags a read-only property.
19050
2b1e1a22
KR
190512011-05-28 Kevin Ryde <user42@zip.com.au>
19052
19053 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
19054
5d344e88
CY
190552011-05-28 Chong Yidong <cyd@stupidchicken.com>
19056
8e6ca83d
CY
19057 * bindings.el (help-echo): Make the initial non-indicator dash
19058 empty on graphical terminals (Bug#7295).
19059
5d344e88
CY
19060 * files.el (auto-mode-alist): Move config rule after the
19061 in-stripping one (Bug#8547).
19062
bfbbace7
CY
19063 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
19064
fbeba6e2
CY
19065 * startup.el (normal-splash-screen): Remove gratuitous mode-line
19066 setting (Bug#8740).
19067
60ed8c72
AA
190682011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
19069
4ac619f0
AA
19070 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
19071 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
19072 (Bug#8539).
60ed8c72 19073
23db196e
CY
190742011-05-28 Chong Yidong <cyd@stupidchicken.com>
19075
19076 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
19077
5012f24c
DK
190782011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
19079
19080 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
19081 (hs-hide-block-at-point, hs-find-block-beginning)
19082 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
19083 (Bug#8279).
19084
6a639b16
GM
190852011-05-28 Glenn Morris <rgm@gnu.org>
19086
19087 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
19088
d43eaf2c
CY
190892011-05-28 Chong Yidong <cyd@stupidchicken.com>
19090
5199bde1
CY
19091 * help-fns.el (describe-function-1): If the function is a derived
19092 major mode, print the parent mode.
19093
d43eaf2c
CY
19094 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
19095 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
19096
423428a8
SM
190972011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
19098
0ff8e1ba 19099 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 19100 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
19101 * progmodes/etags.el (tags-completion-at-point-function):
19102 * info-look.el (info-lookup-completions-at-point): Mark as
19103 non-exclusive.
19104 (info-complete): Adjust accordingly.
19105
423428a8
SM
19106 * info-look.el: Convert to lexical-binding and completion-at-point.
19107 (info-lookup-completions-at-point): New function.
19108 (info-complete): Use it and completion-in-region.
19109
b74aa22b
DA
191102011-05-28 Drew Adams <drew.adams@oracle.com>
19111
19112 * isearch.el: Let M-e start with point at the first mismatched char.
19113 (isearch-fail-pos): New function.
19114 (isearch-edit-string): Use it.
19115
66e2e71d
DK
191162011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
19117
19118 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
19119
b1890b0f 191202011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
19121
19122 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
19123 traversal functions for avl-trees.
19124 (avl-tree--stack): New struct.
19125 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
19126 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
19127 (avl-tree--do-enter): Add optional `updatefun' arg.
19128 Change return value.
eb95d01d 19129 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
19130 (avl-tree--do-delete): Add `test' and `nilflag' args.
19131 Change return value.
eb95d01d
TC
19132 (avl-tree-member): Add optional `nilflag'
19133 (avl-tree-member-p): New function.
19134 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
19135 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
19136 (avl-tree-stack-empty-p): New functions.
19137
3769ddcf
TC
19138 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
19139 avl-tree--del-balance1 and make it work both ways.
19140 (avl-tree--del-balance2): Remove.
19141 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
19142 make it work both ways.
19143 (avl-tree--enter-balance2): Remove.
19144 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
19145 New macros.
19146 (avl-tree--mapc, avl-tree-map): Add direction argument.
19147
eb95d01d 191482011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
19149
19150 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
19151
a9f737ee
CY
191522011-05-27 Chong Yidong <cyd@stupidchicken.com>
19153
19154 * select.el: Support clipboard managers with built-in function
19155 x-clipboard-manager-save, via delete-frame-functions and
19156 kill-emacs-hook.
19157 (xselect-convert-to-targets): Add MULTIPLE target to list.
19158 (xselect-convert-to-save-targets): New function.
19159
c92a1e54
KH
191602011-05-27 Kenichi Handa <handa@m17n.org>
19161
19162 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
19163 let-binding rfc2047-encode-encoded-words to nil.
19164
e145f188
GM
191652011-05-27 Glenn Morris <rgm@gnu.org>
19166
5ec8a862
GM
19167 * mail/emacsbug.el: Don't require url-util.
19168
4b29d9fb
GM
19169 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
19170
e145f188
GM
19171 * files.el (set-auto-mode):
19172 Also respect mode: entries at the end of the file. (Bug#8586)
19173
7d15102b
GM
191742011-05-26 Glenn Morris <rgm@gnu.org>
19175
98f593b8
GM
19176 * files.el (hack-local-variables-prop-line, hack-local-variables):
19177 Downcase mode names, as seems to be traditional.
27b48e63 19178 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 19179
7d15102b
GM
19180 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
19181 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
19182
51d5b4ec
JD
191832011-05-25 Julien Danjou <julien@danjou.info>
19184
19185 * textmodes/rst.el (rst-define-level-faces): Do not define face
19186 symbol if it is already defined.
19187
91513f63
VB
191882011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
19189
19190 * play/5x5.el (5x5-new-game, 5x5-randomize):
19191 Reset 5x5-solver-output to nil when a new grid is cast.
19192 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
19193 these debugging traces, as defmacro breaks the compiled code.
19194
4d90d6d0
DK
191952011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
19196
19197 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
19198
e1b90ef6
LL
191992011-05-24 Leo Liu <sdl.web@gmail.com>
19200
19201 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
19202 (vc-bzr-sha1): Adapt.
19203
d8e4b68b 19204 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
19205
19206 * bindings.el: Provide sha1 feature.
19207
db0406bb 192082011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
19209
19210 * mail/sendmail.el: Require `rfc2047'.
19211 (mail-insert-from-field): Do not perform RFC2047 encoding.
19212 (mail-encode-header): New function.
19213 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
19214 buffer to the return value of select-message-coding-system.
19215 Call mail-encode-header.
b8d747b9
KH
19216
19217 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
19218
db0406bb 192192011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 19220
4d90d6d0
DK
19221 * mail/supercite.el (sc-default-cite-frame):
19222 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 19223
eb8a5e9b
GM
192242011-05-24 Glenn Morris <rgm@gnu.org>
19225
f8630703
GM
19226 * progmodes/python.el (brm-menu): Declare.
19227
8831bbed
GM
19228 * emulation/viper.el (viper-set-hooks): Declare.
19229
eb8a5e9b
GM
19230 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
19231 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
19232 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
19233 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
19234 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
19235 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
19236
a2a25d24
SM
192372011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
19238
19239 Add an :exit-function for completion-at-point.
19240
19241 * minibuffer.el (completion--done): New fun.
19242 (completion--do-completion): Use it. New arg `expect-exact'.
19243 (minibuffer-complete, minibuffer-complete-word): Don't output message,
19244 since completion--do-completion does it for us now.
19245 (minibuffer-force-complete): Use completion--done and
19246 completion--replace. Handle sole-completion case with more care.
19247 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
19248 (completion-extra-properties): New var.
19249 (completion-annotate-function): Make obsolete.
19250 (minibuffer-completion-help): Adjust accordingly.
19251 Use completion-list-insert-choice-function.
19252 (completion-at-point, completion-help-at-point):
19253 Bind completion-extra-properties.
19254 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
19255 * simple.el (completion-list-insert-choice-function): New var.
19256 (completion-setup-function): Preserve it.
19257 (choose-completion): Pay attention to it, shuffle the code a bit.
19258 (choose-completion-string): New arg `insert-function'.
19259
19260 * textmodes/bibtex.el: Convert to lexical binding.
19261 (bibtex-mode-map): Use completion-at-point.
19262 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
19263 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
19264 (bibtex-complete): Define as obsolete alias.
19265 (bibtex-complete-internal): Remove.
19266 (bibtex-format-entry): Remove unused sub-group in regexp.
19267 * shell.el (shell--command-completion-data)
19268 (shell-environment-variable-completion):
19269 * pcomplete.el (pcomplete-completions-at-point):
19270 * comint.el (comint--complete-file-name-data): Use :exit-function
19271 instead of completion-table-with-terminator so it also works for
19272 choose-completion.
19273
e44e373d
SM
192742011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
19275
4f91a816
SM
19276 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
19277
782fc819
SM
19278 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
19279 (bug#8710).
19280
e44e373d
SM
19281 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
19282
381987c3
KM
192832011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
19284
19285 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
19286 customization variable and implement: If non-nil, auto-fill will
19287 be inhibited while on topic's header line.
19288
b776bc70
VB
192892011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
19290
19291 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 19292 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
19293 always have a solution in grid size = 5 cases.
19294 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
19295 (5x5-solver-output, 5x5-log-buffer): New vars.
19296 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
19297 Make these variables buffer local to achieve 5x5 multi-session-ness.
19298 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
19299 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
19300 (5x5-solve-suggest): New funs.
19301 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
19302 randomize a grid so that we ensure that there is always a solution.
19303 (5x5-make-random-grid): Allow other movement than flipping.
19304
7de88b6e
KR
193052011-05-23 Kevin Ryde <user42@zip.com.au>
19306
19307 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 19308 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
19309 advice and passes PREDICATE.
19310
b1ef1257
SM
193112011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
19312
bbca48fe
SM
19313 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
19314 byte-compile-lambda if it's actually a lambda.
19315
b1ef1257
SM
19316 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
19317 Fix function quoting. Use backquote better.
19318
92a9cc65
YS
193192011-05-22 Yuanle Song <sylecn@gmail.com>
19320
19321 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
19322 matching (Bug#8516).
19323
f0fb8059
JA
193242011-01-22 Jari Aalto <jari.aalto@cante.net>
19325
19326 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
19327 different face (Bug#8178).
19328
d5b44c93
CY
193292011-05-22 Chong Yidong <cyd@stupidchicken.com>
19330
19331 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
19332 defface (Bug#8144).
19333
79106a44
SM
193342011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
19335
9c848d8a
SM
19336 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
19337 funcall as well (bug#8712). Warn when performing those conversions.
19338 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
19339
79106a44
SM
19340 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
19341
88dfa756
GM
193422011-05-22 Glenn Morris <rgm@gnu.org>
19343
19344 * files.el (hack-local-variables-prop-line): Small simplifications.
19345 (hack-local-variables, hack-local-variables-prop-line):
19346 If MODE-ONLY, return the mode, rather than just `t'.
19347
b7cf2c79
SM
193482011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
19349
19350 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
19351
3f1a8558
GM
193522011-05-21 Glenn Morris <rgm@gnu.org>
19353
7e4ccca3
GM
19354 * files.el (hack-local-variables-prop-line, hack-local-variables):
19355 If only interested in the mode, don't bother doing the other stuff.
19356
637d46ca
GM
19357 * image-mode.el (image-after-revert-hook):
19358 Redraw all frames on which the image is visible. (Bug#8567)
19359
973d955b
GM
19360 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
19361
3f1a8558
GM
19362 * wid-edit.el (widget-checklist-match-inline):
19363 Fix 2011-04-19 change. (Bug#8649)
19364
96479927
SM
193652011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
19366
1dcf791f
SM
19367 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
19368 Also allow singlespace after single-letter capitals followed by a dot.
19369
96479927
SM
19370 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
19371 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
19372
35fd0881
N
193732011-05-20 Nix <nix@esperi.org.uk>
19374
19375 * files.el (basic-save-buffer-2):
19376 Fix handling of break-hardlink-on-save with non-existent files.
19377
82745640
DD
193782011-05-19 Deniz Dogan <deniz@dogan.se>
19379
19380 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 19381 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 19382
4a720484
GM
193832011-05-19 Glenn Morris <rgm@gnu.org>
19384
d1f21341
GM
19385 * progmodes/f90.el (f90-type-def-re):
19386 Handle "type, bind(c)". (Bug#8691)
19387
4a720484
GM
19388 * emacs-lisp/autoload.el (batch-update-autoloads):
19389 Set autoload-excludes by parsing loadup.el rather than Makefiles.
19390
2fb0a219
MA
193912011-05-18 Michael Albinus <michael.albinus@gmx.de>
19392
19393 * net/tramp.el (tramp-process-actions): Set "first-password-request"
19394 property for the correct connection in case of multihops.
19395
e565dd37
GM
193962011-05-18 Glenn Morris <rgm@gnu.org>
19397
c2571358 19398 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
19399 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
19400
e565dd37
GM
19401 Rationalize calendar handling of day and month abbrev-arrays.
19402 * calendar/calendar.el (calendar-customized-p): New function.
19403 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
19404 (calendar-day-name-array, calendar-month-name-array): Doc fix.
19405 Add :set function.
19406 (calendar-abbrev-length, calendar-day-abbrev-array)
19407 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
19408 (calendar-day-abbrev-array, calendar-month-abbrev-array):
19409 Elements may no longer be nil.
19410 (calendar-day-name, calendar-month-name):
19411 Update for changed nature of abbrev arrays.
19412 * calendar/diary-lib.el (diary-name-pattern):
19413 Update for changed nature of abbrev arrays.
19414 (diary-mark-entries-1): Update calendar-make-alist calls.
19415 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
19416 * calendar/cal-html.el (cal-html-day-abbrev-array):
19417 Simply inherit from calendar-day-abbrev-array.
19418
1d99a745
SM
194192011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
19420
19421 * progmodes/grep.el (grep-mode): Disable default
19422 compilation-directory-matcher setting (bug#8684).
19423
7c1d9aa0
MA
194242011-05-17 Michael Albinus <michael.albinus@gmx.de>
19425
19426 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
19427 instead of "head" and "tail". There were problems with SunOS 5.9,
19428 and it performs better.
19429
3952e9d8
GM
194302011-05-17 Glenn Morris <rgm@gnu.org>
19431
2dd12e7f
GM
19432 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
19433
e4157b9c
GM
19434 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
19435 Replace obsolete function.
19436
8e249bbd
GM
19437 * shell.el (pcomplete-parse-arguments-function): Declare.
19438
3952e9d8
GM
19439 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
19440 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
19441 (appt-check): Doc fixes.
19442 (appt-disp-window-function, appt-delete-window-function):
19443 Remove needless special case in custom :type.
19444 (appt-display-count): Default to 0, not nil.
19445 (appt-check): Reset appt-display-count to 0, not nil.
19446
c71a0d48 194472011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 19448
c71a0d48
GM
19449 * progmodes/python.el (python-font-lock-keywords):
19450 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 19451
31d55be9
SM
194522011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
19453
19454 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
19455
3bfacb2f
KR
194562011-05-16 Kevin Ryde <user42@zip.com.au>
19457
19458 * info-look.el (makefile-automake-mode): New setups, looking in
19459 automake manual, then makefile-mode.
19460 (makefile-mode): Remove automake manual, have it just in
19461 makefile-automake-mode since there's various things different or
19462 not relevant to plain make.
19463 (makefile-mode): Remove "other-modes" non-existent automake-mode,
19464 believe a hypothetical automake-mode would go to makefile-mode,
19465 not the other way around.
19466
c8e83751
CY
194672011-05-15 Chong Yidong <cyd@stupidchicken.com>
19468
5e9e35cd
CY
19469 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
19470 hunk-end tags (Bug#8672).
19471
c8e83751
CY
19472 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
19473 vc-annotate-show-diff-revision-at-line (Bug#8671).
19474
50b23e5a
GM
194752011-05-14 Glenn Morris <rgm@gnu.org>
19476
7210a739
GM
19477 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
19478 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
19479 (change-log-font-lock-keywords): Also handle multiple author lines
19480 with leading tabs. (Bug#8644)
7210a739 19481
4691905a
GM
19482 * calendar/appt.el (appt-check): Rename some local variables.
19483 Some simplification/reordering.
19484
50b23e5a
GM
19485 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
19486 (feedmail-sendmail-f-doesnt-sell-me-out)
19487 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
19488 (feedmail-debug-sit-for, feedmail-queue-express-hook)
19489 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
19490 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
19491 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
19492 (feedmail-binmail-gnulinuxish-template):
19493 Rename from feedmail-binmail-linuxish-template.
19494 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
19495 Use insert-buffer-substring.
19496
215cda7c
BC
194972011-05-14 Bill Carpenter <bill@carpenter.org>
19498
19499 * mail/feedmail.el (feedmail-patch-level): Increase.
19500 (feedmail-debug): New custom group.
19501 (feedmail-confirm-outgoing-timeout)
19502 (feedmail-sendmail-f-doesnt-sell-me-out)
19503 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
19504 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
19505 (feedmail-sender-line, feedmail-from-line)
19506 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 19507 (feedmail-spray-this-address)
215cda7c
BC
19508 (feedmail-spray-address-fiddle-plex-list)
19509 (feedmail-queue-use-send-time-for-date)
19510 (feedmail-queue-use-send-time-for-message-id)
19511 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
19512 (feedmail-buffer-eating-function):
19513 Doc fixes.
19514 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
19515 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
19516 (feedmail-message-action-scroll-down): New functions.
19517 (feedmail-queue-directory, feedmail-queue-draft-directory):
19518 Use expand-file-name.
19519 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
19520 Remove C-v help entry.
19521 (feedmail-queue-buffer-file-name): New variable.
19522 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
19523 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
19524 (feedmail-message-action-send-strong, feedmail-message-action-edit)
19525 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
19526 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
19527 (feedmail-message-action-toggle-spray)
19528 (feedmail-run-the-queue-no-prompts)
19529 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
19530 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
19531 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
19532 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
19533 (feedmail-envelope-deducer, feedmail-fiddle-from)
19534 (feedmail-fiddle-sender, feedmail-default-date-generator)
19535 (feedmail-fiddle-date, feedmail-fiddle-message-id)
19536 (feedmail-fiddle-spray-address)
19537 (feedmail-fiddle-list-of-spray-fiddle-plexes)
19538 (feedmail-fiddle-list-of-fiddle-plexes)
19539 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
19540 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
19541 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
19542 Change default. Doc fix.
19543 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
19544 (feedmail-binmail-linuxish-template): New constant.
19545 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
19546 Respect feedmail-sendmail-f-doesnt-sell-me-out.
19547 (feedmail-send-it): Add debug call.
19548 Use feedmail-queue-buffer-file-name, and
19549 feedmail-send-it-immediately-wrapper.
19550 (feedmail-message-action-send): Add debug call.
19551 Use feedmail-send-it-immediately-wrapper.
19552 (feedmail-queue-express-to-queue): Add debug call.
19553 Run feedmail-queue-express-hook.
19554 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
19555 (feedmail-message-action-help-blat):
19556 Rename from feedmail-queue-send-edit-prompt-help-first.
19557 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
19558 Check line-endings. Handle errors better.
19559 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
19560 Doc fix. Add debug call.
19561 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
19562 Use feedmail-queue-send-edit-prompt-inner.
19563 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
19564 (feedmail-queue-send-edit-prompt-inner): New function, extracted
19565 from feedmail-queue-send-edit-prompt.
19566 (feedmail-queue-send-edit-prompt-help)
19567 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
19568 (feedmail-tidy-up-slug): Add debug call.
19569 Respect feedmail-queue-slug-suspect-regexp.
19570 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
19571 (feedmail-dump-message-to-queue): Add debug call.
19572 Expand queue-directory.
19573 (feedmail-dump-message-to-queue): Change message slightly.
19574 Use feedmail-say-chatter.
19575 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
19576 (feedmail-send-it-immediately-wrapper): New function.
19577 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
19578 Insert empty string rather than newline. Handle full-frame case.
19579 Use catch/throw. Use feedmail-say-chatter.
19580 (feedmail-fiddle-from): Try mail-host-address.
19581 (feedmail-default-message-id-generator): Doc fix.
19582 Bind system-time-locale. Handle missing end.
19583 (feedmail-fiddle-x-mailer): Add debug call.
19584 Handle feedmail-x-mailer-line being nil.
19585 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
19586 Add debug call. Use buffer-substring-no-properties.
19587 (feedmail-say-debug, feedmail-say-chatter): New functions.
19588 (feedmail-find-eoh): Give an explicit error.
19589
42c7e61e
UJ
195902011-05-13 Ulf Jasper <ulf.jasper@web.de>
19591
c2571358 19592 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 19593 family from helvetica to sans.
c2571358 19594 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
19595 etc/images/newsticker.
19596
c2571358 19597 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
19598 family from helvetica to sans.
19599
19600 * net/newst-plainview.el (newsticker-new-item-face)
19601 (newsticker-old-item-face, newsticker-immortal-item-face)
19602 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 19603 (newsticker-statistics-face): Change default family from
42c7e61e 19604 helvetica to sans.
c2571358 19605 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
19606 etc/images/newsticker.
19607
5d3385a0
JB
19608 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
19609 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
19610 auto-marking.
19611
8497a297
DV
196122011-05-13 Didier Verna <didier@xemacs.org>
19613
19614 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
19615 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
19616 TODO entries.
8497a297
DV
19617 (lisp-lambda-list-keyword-parameter-indentation)
19618 (lisp-lambda-list-keyword-parameter-alignment)
19619 (lisp-lambda-list-keyword-alignment): New customizable user options.
19620 (lisp-indent-defun-method): Improve docstring.
19621 (extended-loop-p): Fix comment.
19622 (lisp-indent-lambda-list-keywords-regexp): New variable.
19623 (lisp-indent-lambda-list): New function.
19624 (lisp-indent-259): Use it.
19625 (lisp-indent-defmethod): Support for more than one
19626 method qualifier and properly indent methods lambda-lists.
19627 (defgeneric): Provide a missing common-lisp-indent-function property.
19628
f278f87f
SM
196292011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
19630
19631 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
19632 bounds for the empty string (bug#8667).
19633
5233edd7
GM
196342011-05-13 Glenn Morris <rgm@gnu.org>
19635
5237a44f
GM
19636 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
19637
8340026c 19638 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 19639 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 19640
5233edd7 19641 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 19642 (appt-time-msg-list): Doc fix.
a5464014 19643 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 19644
92d10796
AS
196452011-05-12 Andreas Schwab <schwab@linux-m68k.org>
19646
19647 * progmodes/ld-script.el (ld-script-keywords)
19648 (ld-script-builtins): Update keywords list.
19649
914a0ae1
SM
196502011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
19651
c89be45f
SM
19652 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
19653
914a0ae1
SM
19654 * shell.el (shell-completion-vars): New function.
19655 (shell-mode):
19656 * simple.el (read-shell-command): Use it.
19657 (blink-matching-open): No need for " [...]" in minibuffer-message.
19658
98dc3df3
GM
196592011-05-12 Glenn Morris <rgm@gnu.org>
19660
19661 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
19662 (appt-check): Simplify.
19663
d2fc7e3d 196642011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 19665
4d61f28d 19666 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
19667 literal "/dev/null".
19668
d2fc7e3d 196692011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
19670
19671 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
19672 Fix typo.
19673
d2fc7e3d 196742011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 19675
3f254caa
SM
19676 * progmodes/which-func.el (which-function):
19677 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
19678 which might not be defined (Bug#8260).
19679
d45885f7
GM
196802011-05-12 Glenn Morris <rgm@gnu.org>
19681
19682 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
19683 Let byte-compile-initial-macro-environment always take precedence.
19684
488086f4
SM
196852011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
19686
19687 * net/rcirc.el: Add support for SSL/TLS connections.
19688 (rcirc-server-alist): New field `encryption'.
19689 (rcirc): Check `encryption' settings.
19690 (rcirc-connect): New arg `encryption'. Use open-network-stream.
19691 Merge make-local-variable into `set'.
19692 (rcirc--connection-open-p): New function.
19693 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
19694 the process is not a network process (e.g. running gnutls-cli).
19695 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
19696 Make rcirc-(en|de)code-coding-system local here.
19697 (rcirc-mode): Merge make-local-variable into `set'.
19698 (rcirc-parent-buffer): Make permanent buffer-local.
19699 (rcirc-multiline-minor-mode): Don't do it here.
19700 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
19701 there's no server buffer.
19702
7d3b9d44
GM
197032011-05-11 Glenn Morris <rgm@gnu.org>
19704
f64049c6
GM
19705 * newcomment.el (comment-kill): Prefix "unused" local.
19706
93c9df73
GM
19707 * term/w32console.el (get-screen-color): Declare.
19708
7d3b9d44
GM
19709 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
19710 Handle symbol elements of byte-compile-initial-macro-environment.
19711
9e2dd53f
LL
197122011-05-10 Leo Liu <sdl.web@gmail.com>
19713
488086f4
SM
19714 * bookmark.el (bookmark-bmenu-mode-map):
19715 Bind bookmark-bmenu-search to `/'.
8b340240 19716
9e2dd53f 19717 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
19718 (footnote-unicode-string, footnote-unicode-regexp): New variable.
19719 (Footnote-unicode): New function.
19720 (footnote-style-alist): Add unicode style to the list.
19721 (footnote-style): Doc fix.
9e2dd53f 19722
79b70037
GM
197232011-05-10 Jim Meyering <meyering@redhat.com>
19724
19725 Fix doubled-word typos.
19726 * international/quail.el (quail-insert-kbd-layout): and and -> and
19727 * kermit.el: and and -> and
19728 * net/ldap.el (ldap-search-internal): to to -> to
19729 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
19730 * progmodes/js.el (js-mode): and and -> and
19731 * textmodes/artist.el (artist-move-to-xy): at at -> at
19732 (artist-draw-region-trim-line-endings): if if -> if
19733 And Safetyc -> Safety.
19734 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
19735
b8f82dc1 197362011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 19737 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
19738
19739 * files.el (hack-one-local-variable-eval-safep):
19740 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
19741
4f99f44b
GM
197422011-05-10 Glenn Morris <rgm@gnu.org>
19743
19744 * calendar/diary-lib.el (diary-list-entries-hook)
19745 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
19746 (diary-nongregorian-marking-hook, diary-list-entries)
19747 (diary-include-other-diary-files, diary-mark-entries)
19748 (diary-mark-included-diary-files): Doc fixes.
19749
84f29e6b
JB
197502011-05-09 Juanma Barranquero <lekktu@gmail.com>
19751
19752 * misc.el: Require tabulated-list.el during compilation.
19753
9bedd73a
CY
197542011-05-09 Chong Yidong <cyd@stupidchicken.com>
19755
488086f4
SM
19756 * progmodes/compile.el (compilation-start):
19757 Run compilation-filter-hook for the async case too.
9bedd73a
CY
19758 (compilation-filter-hook): Doc fix.
19759
797c735c
DD
197602011-05-09 Deniz Dogan <deniz@dogan.se>
19761
19762 * wdired.el: Remove outdated installation comment. Fix usage
19763 comment.
19764
5f4b1dfe
JB
197652011-05-09 Juanma Barranquero <lekktu@gmail.com>
19766
19767 * misc.el: Implement new command `list-dynamic-libraries'.
19768 (list-dynamic-libraries--loaded-only-p): New variable.
19769 (list-dynamic-libraries--refresh): New function.
19770 (list-dynamic-libraries): New command.
19771
4c44026c
CY
197722011-05-09 Chong Yidong <cyd@stupidchicken.com>
19773
488086f4
SM
19774 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19775 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
19776 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
19777 higher priority to avoid clobbering by gnu.
19778
027f966d
CY
197792011-05-08 Chong Yidong <cyd@stupidchicken.com>
19780
19781 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
19782 if the face has existing theme settings (Bug#8454).
19783
085f5d7d
CY
197842011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
19785
488086f4
SM
19786 * progmodes/perl-mode.el (perl-imenu-generic-expression):
19787 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 19788
2a86a00c
RS
19789 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
19790 special file names `.' and `..' (Bug#8259).
19791
d9c54a06
CY
197922011-05-08 Chong Yidong <cyd@stupidchicken.com>
19793
488086f4
SM
19794 * progmodes/grep.el (grep-mode-font-lock-keywords):
19795 Remove buffer-changing entries.
d9c54a06
CY
19796 (grep-filter): New function.
19797 (grep-mode): Add it to compilation-filter-hook.
19798
19799 * progmodes/compile.el (compilation-filter-hook)
19800 (compilation-filter-start): New defvars.
19801 (compilation-filter): Call compilation-filter-hook prior to
19802 updating the process mark.
19803
c4662635
SM
198042011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
19805
19806 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
19807
b0512a1d
EZ
198082011-05-07 Eli Zaretskii <eliz@gnu.org>
19809
605c9376
EZ
19810 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
19811 mailclient-send-it even if window-system is nil. (Bug#8595)
19812
c4662635
SM
19813 * term/w32console.el (terminal-init-w32console):
19814 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
19815 background-mode. (Bug#8597)
19816
d1dc2cc2
SM
198172011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
19818
19819 Make bytecomp.el understand that defmethod defines funs (bug#8631).
19820 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
19821 New functions.
19822 (defgeneric, eieio--defmethod): Use them.
19823 (eieio-defgeneric): Remove.
19824 (defmethod): Call defgeneric in a way visible to the byte-compiler.
19825
915d1300
GM
198262011-05-07 Glenn Morris <rgm@gnu.org>
19827
a3961c3e
GM
19828 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
19829 Use let rather than let*.
19830 (timeclock-find-discrep): Remove unused local.
19831
314347b9
GM
19832 * calendar/diary-lib.el (diary-comment-start): Doc fix.
19833
915d1300
GM
19834 * calendar/appt.el (appt-time-msg-list): Doc fix.
19835
275b59b0
NF
198362011-05-06 Noah Friedman <friedman@splode.com>
19837
19838 * apropos.el (apropos-print-doc): Only use
19839 emacs-lisp-docstring-fill-column when it is bound to an integer,
19840 per that variable's documentation.
19841
6c19f744
SM
198422011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
19843
19844 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 19845 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 19846
60f884b2
GM
198472011-05-06 Glenn Morris <rgm@gnu.org>
19848
5006e634
GM
19849 * calendar/appt.el (appt-message-warning-time): Doc fix.
19850 (appt-warning-time-regexp): New option.
19851 (appt-make-list): Respect appt-message-warning-time.
19852
548d0a63
GM
19853 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
19854 New options.
19855 (diary-add-to-list): Strip comments from the displayed string.
19856 (diary-mode): Set comment-start and comment-end.
19857
60f884b2
GM
19858 * vc/diff-mode.el (smerge-refine-subst): Declare.
19859 (diff-refine-hunk): Don't require smerge-mode when compiling.
19860
989681bb
JB
198612011-05-06 Juanma Barranquero <lekktu@gmail.com>
19862
19863 * simple.el (list-processes): Return nil as the docstring says.
19864
a6bc05e1
MA
198652011-05-05 Michael Albinus <michael.albinus@gmx.de>
19866
19867 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
19868 to "".
19869 (ange-ftp-write-region, ange-ftp-insert-file-contents)
19870 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
19871 determining of binary transfer. (Bug#7383)
19872
23c22e9a
MA
198732011-05-05 Michael Albinus <michael.albinus@gmx.de>
19874
c4662635
SM
19875 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
19876 Fix port computation bug. (Bug#8618)
23c22e9a 19877
0bff894f
GM
198782011-05-05 Glenn Morris <rgm@gnu.org>
19879
b8296902
GM
19880 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
19881
1f522ce8
GM
19882 * simple.el (shell-dynamic-complete-functions)
19883 (comint-dynamic-complete-functions): Declare.
19884
cf5bee67
GM
19885 * net/network-stream.el (gnutls-negotiate):
19886 * simple.el (tabulated-list-print): Fix declarations.
19887
19888 * progmodes/gud.el (syntax-symbol, syntax-point):
19889 Remove unnecessary and incorrect declarations.
19890
0bff894f 19891 * emacs-lisp/check-declare.el (check-declare-scan):
1f9f395d 19892 Handle byte-compile-initial-macro-environment in bytecomp.el.
0bff894f 19893
9869b3ae
SM
198942011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
19895
19896 Fix earlier half-done eieio-defmethod change (bug#8338).
19897 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
19898 Streamline and change calling convention.
19899 (defmethod): Adjust accordingly and simplify.
19900 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
19901 new eieio--defmethod.
19902 (slot-boundp): Minor CSE simplification.
19903
9c1d5ac5
MZ
199042011-05-05 Milan Zamazal <pdm@zamazal.org>
19905
19906 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
19907 (glasses-make-readable): Use glasses-separate-capital-groups.
19908
455c834e
JB
199092011-05-05 Juanma Barranquero <lekktu@gmail.com>
19910
19911 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
19912 (warning-series): Doc fix.
19913 (display-warning): Don't try to create the buffer if we just found it.
19914
9ed7c8cb
CY
199152011-05-04 Chong Yidong <cyd@stupidchicken.com>
19916
19917 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
19918 (autoload-find-generated-file): New function.
19919 (generate-file-autoloads): Bind generated-autoload-file to
19920 buffer-file-name.
9869b3ae
SM
19921 (update-file-autoloads, update-directory-autoloads):
19922 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
19923 output file (Bug#7989).
19924 (batch-update-autoloads): Doc fix.
19925
0898ca10
JB
199262011-05-04 Juanma Barranquero <lekktu@gmail.com>
19927
19928 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
19929
31dfb76c
GM
199302011-05-04 Glenn Morris <rgm@gnu.org>
19931
f330b642
GM
19932 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
19933 function, so it follows changes in calendar-date-style.
19934 (diary-fancy-date-matcher): New function.
19935 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
19936 (diary-fancy-font-lock-fontify-region-function):
19937 Use diary-fancy-date-pattern as a function.
19938
31dfb76c
GM
19939 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
19940 non-numbers for `year' etc pseudo-variables. (Bug#8583)
19941
48e79d6a
TZ
199422011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
19943
19944 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
19945 instead of positional arguments. Allow :keylist and :crlfiles
19946 arguments.
19947 (open-gnutls-stream): Call it.
19948
19949 * net/network-stream.el (network-stream-open-starttls): Adjust to
19950 call `gnutls-negotiate' with :process and :hostname arguments.
19951
dd5a5ee0
SM
199522011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
19953
ef80fc09
SM
19954 * minibuffer.el (completion--message): New function.
19955 (completion--do-completion, minibuffer-complete)
19956 (minibuffer-force-complete, minibuffer-complete-word): Use it.
19957 (completion--do-completion): Don't ignore completion-auto-help when in
19958 icomplete-mode.
19959
dd5a5ee0
SM
19960 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
19961 internal encoding (e.g. tibetan zero is not whitespace).
19962 (global-whitespace-mode): Prefer save-current-buffer.
19963 (whitespace-trailing-regexp): Remove useless save-match-data.
19964 (whitespace-empty-at-bob-regexp): Minor simplification.
19965
b7d22a83
CY
199662011-05-03 Chong Yidong <cyd@stupidchicken.com>
19967
19968 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
19969
5192af46
AM
199702011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
19971
19972 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 19973 Use `concat' to create string for insertion.
5192af46 19974
5767d190
SM
199752011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
19976
19977 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
19978 Avoid open-line which runs post-self-insert-hook.
19979 (bibtex-fill-entry): Remove unused `end' var.
19980
bf242939
AM
199812011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
19982
5767d190
SM
19983 * textmodes/ispell.el (ispell-add-per-file-word-list):
19984 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 19985
25666126
LL
199862011-05-03 Leo Liu <sdl.web@gmail.com>
19987
19988 * isearch.el (isearch-yank-pop): New command.
5767d190 19989 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
19990 (isearch-forward): Mention it.
19991
52d3c2d0
SM
199922011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
19993
1bcace58
SM
19994 * simple.el (minibuffer-complete-shell-command): Remove.
19995 (minibuffer-local-shell-command-map): Use completion-at-point.
19996 (read-shell-command): Setup completion vars here instead.
19997 (read-expression-map): Bind TAB to symbol completion.
19998
52d3c2d0
SM
19999 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
20000 error directly rather via storing it into `results'.
20001
35813471
LL
200022011-05-02 Leo Liu <sdl.web@gmail.com>
20003
20004 * vc/diff.el: Fix description.
20005
e793a940
LMI
200062011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
20007
20008 * server.el (server-eval-at): New function.
20009
8de66e05
LMI
200102011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
20011
20012 * net/network-stream.el (open-network-stream): Take a :nowait
20013 parameter and pass it on to `make-network-process'.
20014 (network-stream-open-plain): Ditto.
20015
dcb79f20
AS
200162011-04-30 Andreas Schwab <schwab@linux-m68k.org>
20017
20018 * faces.el (face-spec-set-match-display): Don't match toolkit
20019 options on terminal frames.
20020
14a7fbd8
SM
200212011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
20022
7eabc1be
SM
20023 * progmodes/pascal.el: Use lexical binding.
20024 (pascal-mode-map): Remove author preferences.
20025
14a7fbd8
SM
20026 * pcomplete.el (pcomplete-std-complete): Don't abuse
20027 completion-at-point.
20028
50f84510
JB
200292011-04-28 Juanma Barranquero <lekktu@gmail.com>
20030
6e087a44
JB
20031 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
20032 removing code that has been dead since 1991 or so.
20033
50f84510
JB
20034 * startup.el (command-line): When warning about "_emacs", use a
20035 delayed warning to allow the user to filter it out.
20036
0ba690bd
DD
200372011-04-28 Deniz Dogan <deniz@dogan.se>
20038
20039 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
20040 user has not joined.
20041
08abfaad
SM
200422011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
20043
20044 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
20045 aren't any completions at point.
20046
638f053a
JB
200472011-04-28 Juanma Barranquero <lekktu@gmail.com>
20048
20049 * subr.el (display-delayed-warnings): New function.
20050 (delayed-warnings-hook): New variable.
20051
8fff8daa
SM
200522011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
20053
08abfaad
SM
20054 * minibuffer.el (completion-at-point, completion-help-at-point):
20055 Don't presume that a given completion-at-point-function will always
20056 use the same calling convention.
20057
8fff8daa
SM
20058 * pcomplete.el (pcomplete-completions-at-point):
20059 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
20060 pcomplete-seen is non-nil.
20061 (pcomplete-comint-setup): Also recognize the new comint/shell
20062 completion functions.
20063 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
20064 pcomplete-seen is non-nil.
20065
841a1577 200662011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 20067
841a1577 20068 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 20069 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 20070 the first character in the entry. This allows for code to add its
211ec907
UJ
20071 own uid to the entry.
20072 (icalendar--convert-float-to-ical): Add export of
20073 `diary-float'-entries save for those with the optional DAY
20074 argument.
20075
2a782793
DC
200762011-04-27 Daniel Colascione <dan.colascione@gmail.com>
20077
20078 * subr.el (shell-quote-argument): Use alternate escaping strategy
20079 when we spot a variable reference in a string.
20080
0438ce91
DC
200812011-04-26 Daniel Colascione <dan.colascione@gmail.com>
20082
20083 * cus-start.el (all): Define customization for debug-on-event.
20084
841a1577 200852011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
20086
20087 * subr.el (shell-quote-argument): Escape correctly under Windows.
20088
d090ed6c
SM
200892011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
20090
20091 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
20092
bfd31217
MA
200932011-04-25 Michael Albinus <michael.albinus@gmx.de>
20094
d090ed6c
SM
20095 * net/tramp.el (tramp-process-actions): Add POS argument.
20096 Delete region between POS and (pos).
bfd31217 20097
d090ed6c
SM
20098 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
20099 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
20100 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
20101
20102 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
20103 position in `tramp-process-actions' call.
20104
20105 * net/trampver.el: Update release number.
20106
e92f3bd3
SM
201072011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
20108
850256b5
SM
20109 * custom.el (defcustom): Obey lexical-binding.
20110
e92f3bd3
SM
20111 Fix octave-inf completion problems reported by Alexander Klimov.
20112 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
20113 Inherit from octave-mode-syntax-table.
20114 (inferior-octave-mode): Set info-lookup-mode.
20115 (inferior-octave-completion-at-point): New function.
20116 (inferior-octave-complete): Use it and completion-in-region.
20117 (inferior-octave-dynamic-complete-functions): Use it as well, and use
20118 comint-filename-completion.
20119 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
20120 symbol elements which shouldn't be word elements.
20121 (octave-font-lock-keywords, octave-beginning-of-defun)
20122 (octave-function-header-regexp): Adjust regexps accordingly.
20123 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
20124
cd22b309
JB
201252011-04-25 Juanma Barranquero <lekktu@gmail.com>
20126
20127 * net/gnutls.el (gnutls-errorp): Declare before first use.
20128
8b492194
TZ
201292011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
20130
20131 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
20132 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 20133 default trustfile exists before going to use it. Add missing
5a5fa834 20134 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
20135 Reported by Claudio Bley <claudio.bley@gmail.com>.
20136 (open-gnutls-stream): Add usage example.
20137
20138 * net/network-stream.el (network-stream-open-starttls): Give host
20139 parameter to `gnutls-negotiate'.
20140 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 20141 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 20142
841a1577 201432011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 20144
cd22b309
JB
20145 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
20146 Use correct match group (bug#8438).
05842630 20147
3ba7869c
CY
201482011-04-24 Chong Yidong <cyd@stupidchicken.com>
20149
512e3ae1
CY
20150 * emacs-lisp/package.el (package-built-in-p): Fix typo.
20151 (package-menu--generate): New arg specifying packages to show.
20152 (package-menu-refresh, package-menu-execute, list-packages):
20153 Callers changed.
20154 (package-show-package-list): New function, replacing deleted
20155 package--list-packages (renamed because it is non-internal).
20156
20157 * finder.el (finder-list-matches): Use package-show-package-list
20158 instead of deleted package--list-packages.
20159
e92f3bd3
SM
20160 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
20161 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
20162 (vc-annotate-mode-map): Bind it to RET.
20163
7031be6d
UR
201642011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
20165
20166 * progmodes/etags.el (next-file): Don't use set-buffer to change
20167 buffers (Bug#8478).
20168
4ef177aa
CY
201692011-04-24 Chong Yidong <cyd@stupidchicken.com>
20170
c8d173eb
CY
20171 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
20172
4ef177aa
CY
20173 * apropos.el (apropos-label-face): Avoid variable-pitch face.
20174 (apropos-accumulator): Doc fix.
20175 (apropos-function, apropos-macro, apropos-command)
20176 (apropos-variable, apropos-face, apropos-group, apropos-widget)
20177 (apropos-plist): Add face property.
20178 (apropos-symbols-internal): Fix indentation.
20179 (apropos-print): Simplify help, and recognize apropos-multi-type.
20180 (apropos-print-doc): Use button-type-get to extract the button's
20181 face property. Fill docstring (Bug#8352).
20182
4ffd0d6b 201832011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
20184
20185 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
20186
c6c32125 20187 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 20188 (mpuz-mode-map): Use mapc.
c6c32125
JB
20189 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
20190 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
20191 Fix typos in docstrings.
20192
58d468b4
JB
20193 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
20194 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
20195
6470c3c6
JB
20196 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
20197
4ffd0d6b 201982011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
20199
20200 * minibuffer.el (completion--do-completion): Avoid the "Next char
20201 not unique" prompt if icomplete-mode is enabled (Bug#5849).
20202
3ad8bad0
CY
20203 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
20204 mouse-2 into unread-command-events, it is interpreted correctly.
20205
71d73c9c 20206 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 20207 (image-toggle-display): Doc fix.
71d73c9c 20208
841a1577 202092011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 20210
4ffd0d6b
GM
20211 * textmodes/page.el (what-page): Use line-number-at-pos to
20212 calculate line number (Bug#6825).
6e1dbaa9 20213
c2fb1b60
JB
202142011-04-22 Juanma Barranquero <lekktu@gmail.com>
20215
20216 * eshell/esh-mode.el (find-tag-interactive): Declare function.
20217 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
20218 Pass argument NO-DEFAULT to `find-tag-interactive'.
20219
e02f48d7
JB
202202011-04-22 Juanma Barranquero <lekktu@gmail.com>
20221
20222 Lexical-binding cleanup.
20223
20224 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
20225 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
20226 * progmodes/ada-prj.el (ada-prj-initialize-values)
20227 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
20228 (ada-prj-show-value):
20229 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
20230 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
20231 (antlr-invalidate-context-cache, antlr-options-menu-filter)
20232 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
20233 * progmodes/bug-reference.el (bug-reference-push-button):
20234 * progmodes/fortran.el (fortran-line-length):
20235 * progmodes/glasses.el (glasses-change):
20236 * progmodes/octave-mod.el (octave-fill-paragraph):
20237 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
20238 (python-pdbtrack-grub-for-buffer, python-sentinel):
20239 * progmodes/sql.el (sql-save-connection):
20240 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
20241 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
20242 Mark unused parameters.
20243
20244 * progmodes/compile.el (compilation--flush-directory-cache)
20245 (compilation--flush-parse, compile-internal): Mark unused parameters.
20246 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
20247 (compilation-next-error-function): Remove unused variable `timestamp'.
20248
20249 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
20250 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
20251
20252 * progmodes/dcl-mode.el (dcl-end-of-command):
20253 Remove unused variable `start'.
20254 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
20255 (dcl-option-value-basic, dcl-option-value-offset)
20256 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
20257 Mark unused parameters.
20258 (dcl-save-local-variable): Remove unused variable `val'.
20259 (mode): Declare.
20260
20261 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
20262 Mark unused parameters.
20263 (delphi-ignore-changes): Move before first use.
20264 (delphi-charset-token-at): Remove unused variable `start'.
20265 (delphi-else-start): Remove unused variable `if-count'.
20266 (delphi-comment-block-start, delphi-comment-block-end):
20267 Remove unused variable `kind'.
20268 (delphi-indent-line): Remove unused variable `new-point'.
20269
20270 * progmodes/ebrowse.el (ebrowse-files-list)
20271 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
20272 Mark unused parameters. Don't quote `lambda'.
20273 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
20274 Don't quote `lambda'.
20275 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
20276 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
20277 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
20278 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
20279 Use `ignore-errors'.
20280 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
20281 (ebrowse-view/find-file-and-search-pattern)
20282 (ebrowse-view/find-member-declaration/definition):
20283 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
20284 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
20285 Rename parameter PREFIX-ARG to PREFIX.
20286 (ebrowse-tags-read-name): Remove unused variables `start' and
20287 `member-info'.
20288 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
20289 to `tags-file'.
20290
20291 * progmodes/etags.el (local-find-tag-hook): Declare.
20292 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
20293 Mark unused parameters.
20294
20295 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
20296 (executable-interpret): Mark unused parameter.
20297
20298 * progmodes/flymake.el (flymake-process-sentinel)
20299 (flymake-after-change-function)
20300 (flymake-create-temp-with-folder-structure)
20301 (flymake-get-include-dirs-dot): Mark unused parameters.
20302 (flymake-safe-delete-directory): Remove unused variable `err'.
20303
20304 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
20305 (speedbar-timer-fn, speedbar-line-text)
20306 (speedbar-change-expand-button-char, speedbar-delete-subblock)
20307 (speedbar-center-buffer-smartly): Declare functions.
20308 (gdb-find-watch-expression): Remove unused variable `array'.
20309 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
20310 (gdb-starting): Mark unused parameters.
20311 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
20312 (gdb-table-string): Remove unused variable `res'.
20313 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
20314 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
20315 (gdb-display-buffer): Remove unused variable `cur-size'.
20316
20317 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
20318 allow lexical-binding compilation.
20319 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
20320 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
20321 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
20322 Mark unused parameters.
20323 (gud-gdb-marker-filter): Remove unused variable `match'.
20324 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
20325 lambda expressions and funcall them, instead of using `fset'.
20326
20327 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
20328 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
20329
20330 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
20331 variable `header-beg'; use `let'.
20332
20333 * progmodes/icon.el (indent-icon-exp): Remove unused variables
20334 `restart', `last-sexp' and `at-do'.
20335
20336 * progmodes/js.el (js--debug): Mark unused parameter.
20337 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
20338 (js--splice-into-items): Remove unused variable `item'.
20339 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
20340
20341 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
20342 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
20343 (makefile-complete): Remove unused variable `try'.
20344 (makefile-fill-paragraph, makefile-match-function-end):
20345 Mark unused parameters.
20346
20347 * progmodes/octave-inf.el (inferior-octave-complete):
20348 Remove unused variable `proc'.
20349 (inferior-octave-output-digest): Mark unused parameter.
20350
20351 * progmodes/perl-mode.el (perl-calculate-indent):
20352 Remove unused variable `err'.
20353
20354 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
20355 (prolog-indent-line): Mark unused parameters.
20356 (prolog-indent-line): Remove unused variable `beg'.
20357
20358 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
20359 (reporter-dont-compact-list): Declare.
20360
20361 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
20362 Remove unused variable `char'.
20363 (sh-debug): Mark unused parameter.
20364 (sh-get-indent-info): Remove unused variable `start'.
20365 (sh-calculate-indent): Remove unused variable `var'.
20366
20367 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
20368 (simula-electric-keyword): Remove unused variable `null'.
20369 (simula-search-backward, simula-search-forward): Remove unused
20370 variables `begin' and `end'.
20371
20372 * progmodes/vera-mode.el (vera-guess-basic-syntax):
20373 Remove unused variable `pos'.
20374 (vera-electric-tab, vera-comment-uncomment-region):
20375 Mark unused parameters.
20376 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
20377
7ede3b65
CY
203782011-04-22 Chong Yidong <cyd@stupidchicken.com>
20379
20380 * emacs-lisp/package.el (package--builtins, package-alist)
20381 (package-load-descriptor, package-built-in-p, package-activate)
20382 (define-package, package-installed-p)
20383 (package-compute-transaction, package-buffer-info)
20384 (package--push): Doc fix. Distinguish more clearly between
20385 version strings and version lists.
20386
121656e9
JB
203872011-04-21 Juanma Barranquero <lekktu@gmail.com>
20388
20389 Lexical-binding cleanup.
20390
20391 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
20392 (5x5-make-mutate-best):
20393 * play/fortune.el (fortune-in-buffer):
20394 * play/gomoku.el (gomoku-init-display):
20395 * play/solitaire.el (solitaire, solitaire-do-check):
20396 * play/tetris.el (tetris-default-update-speed-function):
20397 Mark unused parameters.
20398
20399 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
20400 (bubbles--shift): Remove unused variable `char-org'.
20401 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
20402 (bubbles--show-images): Remove unused variable `char'.
20403
20404 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
20405 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
20406 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
20407 (decipher-analyze-buffer): Use ?\s.
20408 (decipher-make-checkpoint): Remove unused variable `mapping'.
20409
20410 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
20411
20412 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
20413 Remove unused variable `result'; use `let'.
20414
20415 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
20416 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
20417 (gametree-children-shown-p, gametree-compute-reduced-score):
20418 Use `ignore-errors'.
20419
20420 * play/handwrite.el (ps-lpr-switches): Declare.
20421 (handwrite): Remove unused variables `pmin' and `lastp'.
20422
20423 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
20424
20425 * play/landmark.el (landmark-init-display)
20426 (landmark-update-naught-weights): Mark unused parameters.
20427 (landmark-y): Remove unused variable `noise'. Simplify.
20428 (landmark-human-plays): Remove unused variable `score'.
20429
20430 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
20431 (mpuz-try-proposal): Remove unused variable `game'.
20432
20433 * play/zone.el (life-patterns): Declare.
20434
80f499c7
JB
204352011-04-20 Juanma Barranquero <lekktu@gmail.com>
20436
20437 * vc/vc.el (ediff-vc-internal): Declare function.
20438
024ff170
SM
204392011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
20440
c0a193ea
SM
20441 * shell.el: Use lexical-binding and std completion UI.
20442 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
20443 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
20444 comint-preoutput-filter-functions rather than on
20445 comint-output-filter-functions.
20446 (shell-command-completion, shell--command-completion-data)
20447 (shell-filename-completion, shell-environment-variable-completion)
20448 (shell-c-a-p-replace-by-expanded-directory): New functions.
20449 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
20450 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
20451 (shell-dynamic-complete-environment-variable): Use them.
20452 (shell-dynamic-complete-as-environment-variable)
20453 (shell-dynamic-complete-as-command): Remove.
20454 (shell-match-partial-variable): Match past point.
20455 * comint.el: Clean up use of completion-at-point-functions.
20456 (comint-completion-at-point): New function.
20457 (comint-mode): Use it completion-at-point-functions.
20458 (comint-dynamic-complete): Make it obsolete.
20459 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
20460 (comint-c-a-p-replace-by-expanded-history): New function.
20461 (comint-dynamic-complete-functions)
20462 (comint-replace-by-expanded-history): Use it.
20463 * minibuffer.el (completion-table-with-terminator): Allow dynamic
20464 termination strings. Try harder to avoid second try-completion.
20465 (completion-in-region-mode-map): Disable bindings that don't work yet.
20466
2dbaa080
SM
20467 * comint.el: Use lexical-binding. Require CL.
20468 (comint-dynamic-complete-functions): Use comint-filename-completion.
20469 (comint-completion-addsuffix): Tweak custom type.
20470 (comint-filename-completion, comint--common-suffix)
20471 (comint--common-quoted-suffix, comint--table-subvert)
20472 (comint--complete-file-name-data): New functions.
20473 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
20474 (comint-dynamic-list-filename-completions): Use them.
20475 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 20476
2dbaa080
SM
20477 * minibuffer.el (completion-in-region-mode):
20478 Keep completion-in-region-mode--predicate global.
20479 (completion-in-region--postch):
20480 Assume completion-in-region-mode--predicate is not null.
20481
c79a6f38
SM
20482 * progmodes/flymake.el (flymake-start-syntax-check-process):
20483 Obey `dir'. Simplify.
20484
024ff170
SM
20485 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
20486 we're in VC after all.
20487
1c6c854e
CS
204882011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
20489
20490 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 20491 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
20492 (vc-version-diff): Use vc-diff-build-argument-list-internal.
20493
bed7f140
SM
204942011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
20495
332e62ab
SM
20496 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
20497 add sanity check.
20498
bed7f140
SM
20499 * obsolete/erc-hecomplete.el: Make obsolete.
20500 * obsolete/: Standardize obsolescence info in the header.
20501
f195c582
GM
205022011-04-20 Glenn Morris <rgm@gnu.org>
20503
20504 * calendar/solar.el (solar-horizontal-coordinates):
20505 Use the longitude argument rather than `calendar-longitude'.
20506 (solar-date-next-longitude): Remove unused locals.
20507
cb79b8c0
VJL
205082011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
20509
20510 * whitespace.el: New version 13.2.1.
20511
205122011-04-20 felix <EmacsWiki> (tiny change)
20513
d8e4b68b 20514 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
20515 switching between major modes on a file.
20516
602ea69d
SM
205172011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
20518
20519 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
20520 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
20521 multi-line comments as well.
20522
06b60517
JB
205232011-04-19 Juanma Barranquero <lekktu@gmail.com>
20524
20525 Lexical-binding cleanup.
20526
20527 * arc-mode.el (archive-mode-revert):
20528 * cmuscheme.el (scheme-interactively-start-process):
20529 * custom.el (custom-initialize-delay):
20530 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
20531 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
20532 * emacs-lock.el (emacs-lock-clear-sentinel):
20533 * ezimage.el (defezimage):
20534 * follow.el (follow-avoid-tail-recenter):
20535 * fringe.el (set-fringe-mode-1):
20536 * generic-x.el (bat-generic-mode-compile):
20537 * help-mode.el (help-info-variable, help-do-xref)
20538 (help-mode-revert-buffer):
20539 * help.el (view-emacs-todo):
20540 * iswitchb.el (iswitchb-completion-help):
20541 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
20542 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
20543 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
20544 * locate.el (locate-update):
20545 * longlines.el (longlines-encode-region)
20546 (longlines-after-change-function):
20547 * outline.el (outline-isearch-open-invisible):
20548 * ps-def.el (declare-function, charset-dimension, char-width)
20549 (encode-char):
20550 * ps-mule.el (ps-mule-plot-string):
20551 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
20552 (recentf-edit-list-select, recentf-edit-list-validate)
20553 (recentf-open-files-action):
20554 * rect.el (delete-whitespace-rectangle-line)
20555 (rectangle-number-line-callback):
20556 * register.el (window-configuration-to-register)
20557 (frame-configuration-to-register):
20558 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
20559 * select.el (xselect-convert-to-string, xselect-convert-to-length)
20560 (xselect-convert-to-targets, xselect-convert-to-delete)
20561 (xselect-convert-to-filename, xselect-convert-to-charpos)
20562 (xselect-convert-to-lineno, xselect-convert-to-colno)
20563 (xselect-convert-to-os, xselect-convert-to-host)
20564 (xselect-convert-to-user, xselect-convert-to-class)
20565 (xselect-convert-to-name, xselect-convert-to-integer)
20566 (xselect-convert-to-atom, xselect-convert-to-identity):
20567 * subr.el (declare, ignore, process-kill-without-query)
20568 (text-clone-maintain):
20569 * terminal.el (te-get-char, te-tic-sentinel):
20570 * tool-bar.el (tool-bar-make-keymap):
20571 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
20572 * type-break.el (type-break-mode, type-break-noninteractive-query):
20573 * view.el (View-back-to-mark):
20574 * wid-browse.el (widget-browse-action, widget-browse-widget)
20575 (widget-browse-widgets, widget-browse-sexp):
20576 * widget.el (define-widget-keywords):
20577 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
20578 Mark unused parameters.
20579
20580 * align.el (align-adjust-col-for-rule): Mark unused parameter.
20581 (align-areas): Remove unused variable `look'.
20582 (align-region): Remove unused variables `real-end' and `pos-list'.
20583
20584 * apropos.el (apropos-score-doc): Remove unused variable `i'.
20585
20586 * bindings.el (mode-line-modified, mode-line-remote):
20587 Mark unused parameters.
20588 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
20589
20590 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
20591 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
20592
20593 * comint.el (comint-history-isearch-pop-state)
20594 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
20595 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
20596 (comint-substitute-in-file-name): Doc fix.
20597
20598 * completion.el (cmpl-statistics-block): Mark unused parameter.
20599 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
20600 (save-completions-to-file, load-completions-from-file):
20601 Remove unused local variable `e'.
20602
20603 * composite.el (compose-chars): Remove unused variable `len'.
20604 (lgstring-insert-glyph): Remove unused variable `g'.
20605 (compose-glyph-string): Remove unused variables `ascent',
20606 `descent', `lbearing' and `rbearing'.
20607 (compose-glyph-string-relative): Remove unused variables
20608 `lbearing', `rbearing' and `wadjust'.
20609 (compose-gstring-for-graphic): Remove unused variables `header',
20610 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
20611 (compose-gstring-for-terminal): Remove unused variables `header'
20612 and `nchars'. Use `let', not `let*'.
20613
20614 * cus-edit.el (Custom-set, Custom-save, custom-reset)
20615 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
20616 (Custom-buffer-done, custom-buffer-create-internal)
20617 (custom-browse-visibility-action, custom-browse-group-tag-action)
20618 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
20619 (widget-magic-mouse-down-action, custom-toggle-parent)
20620 (custom-add-parent-links, custom-toggle-hide-variable)
20621 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
20622 (custom-toggle-hide-face, face, hook, custom-group-link-action)
20623 (custom-face-menu-create, custom-variable-menu-create, get)
20624 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
20625 (custom-reset-standard-save-and-update): Remove unused variable `value'.
20626 (customize-apropos): Remove unused variable `tests'.
20627 (custom-group-value-create): Remove unused variable `hidden-p'.
20628 (sort-fold-case): Declare.
20629
20630 * cus-theme.el (custom-reset-standard-faces-list)
20631 (custom-reset-standard-variables-list): Declare.
20632 (customize-create-theme, custom-theme-revert, custom-theme-write)
20633 (custom-theme-choose-mode, customize-themes, custom-theme-save):
20634 Mark unused parameters.
20635
20636 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
20637
20638 * delim-col.el (delimit-columns-max): Move defvar before first use.
20639
20640 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 20641 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
20642
20643 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
20644 (auto-insert): Declare.
20645 (desktop-restore-file-buffer): Rename desktop-* parameters;
20646 mark unused ones.
20647 (desktop-create-buffer): Rename desktop-* parameters and bind them.
20648 (desktop-buffer): Rename desktop-* parameters.
20649
20650 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
20651 (dframe-reposition-frame-xemacs, dframe-help-echo)
20652 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
20653 Mark unused parameters.
20654
20655 * dired-aux.el (backup-extract-version-start, overwrite-query)
20656 (overwrite-backup-query, rename-regexp-query)
20657 (rename-non-directory-query): Declare.
20658 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
20659 (dired-add-entry): Remove unused variable `orig-file-name'.
20660 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
20661 Use parameter PRESERVE-TIME instead of accessing dynamic variable
20662 `dired-copy-preserve-time' directly.
20663 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
20664 (dired-insert-subdir-newpos): Rename unused variable `pos'.
20665
20666 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
20667 (dired-virtual-revert, dired-make-relative-symlink):
20668 Mark unused parameters.
20669 (manual-program): Declare.
20670 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
20671 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
20672 wrapped in `with-no-warnings' to avoid replacing one warning by another.
20673
20674 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
20675
20676 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
20677
20678 * echistory.el (electric-history-in-progress, Helper-return-blurb):
20679 Declare.
20680
20681 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
20682
20683 * electric.el (Electric-command-loop): Rename parameter
20684 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
20685
20686 * expand.el (expand-in-literal): Remove unused variable `here'.
20687
20688 * facemenu.el (facemenu-add-new-color):
20689 Remove unused variable `docstring'.
20690
20691 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
20692 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
20693 (face-attr-construct): Mark unused parameter. Doc fix.
20694 (read-color): Remove unused variable `hex-string'.
20695
20696 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
20697 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
20698 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
20699 (display-buffer-other-frame): Remove unused variable `old-window'.
20700 (kill-buffer-hook): Declare.
20701 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
20702 Mark unused parameters.
20703 (after-find-file): Pass 1 to `auto-save-mode', not t.
20704
20705 * files-x.el (auto-insert): Declare.
20706 (modify-file-local-variable-prop-line): Remove unused variable `val'.
20707
20708 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 20709 variable `buf'. Mark unused parameter.
06b60517
JB
20710 (find-lisp-insert-directory): Mark unused parameter.
20711
20712 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
20713 (format-encode-region): Remove unused variables `cur-buf' and `result'.
20714 (format-common-tail): Remove, unused.
20715 (format-deannotate-region): Remove unused variable `loc'.
20716 (format-annotate-region): Remove unused variable `p'.
20717 (format-annotate-single-property-change): Remove unused variables
20718 `default' and `tail'.
20719
20720 * forms.el (read-file-filter): Declare.
20721 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
20722
20723 * frame.el (frame-creation-function-alist): Mark unused parameter.
20724 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
20725
20726 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
20727 Remove unused parameters.
20728 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
20729 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
20730
20731 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
20732 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
20733 (hfy-prepare-tag-map): Mark unused parameters.
20734 (htmlfontify-buffer): Use `called-interactively-p'.
20735
20736 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
20737 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
20738 (ibuffer-do-occur): Mark unused parameters.
20739 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
20740 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
20741
20742 * ibuffer.el: Don't quote `lambda'.
20743 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
20744 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
20745 Mark unused parameters.
20746
20747 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
20748 (ido-completing-read): Mark unused parameters.
20749 (ido-copy-current-word): Mark unused parameters;
20750 remove unused variable `name'.
20751 (ido-sort-merged-list): Remove unused parameter `dirs'.
20752
20753 * ielm.el (ielm-input-sender): Mark unused parameter.
20754 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
20755 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
20756 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
20757 `ielm-string' as a dynamic variable accessible from the IELM prompt.
20758 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
20759
20760 * image-dired.el (image-dired-display-thumbs): Remove unused
20761 variables `curr-file' and `count'.
20762 (image-dired-remove-tag): Remove unused variable `start'.
20763 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
20764 variable `curr-file'
20765 (image-dired-rotate-original): Remove unused variable `temp-file'.
20766 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
20767 Remove unused variable `file'.
20768 (image-dired-gallery-generate): Remove unused variable `curr'.
20769 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
20770
20771 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
20772
20773 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
20774
20775 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
20776
20777 * isearch.el (minibuffer-history-symbol): Declare.
20778 (isearch-edit-string): Remove unused variable `err'.
20779 (isearch-message-prefix, isearch-message-suffix):
20780 Mark unused parameters.
20781
20782 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
20783
20784 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
20785
20786 * makesum.el (double-column): Remove unused variable `cnt'.
20787
20788 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
20789 (ido-ignore-item-temp-list): Declare.
20790
20791 * mouse-drag.el (mouse-drag-throw): Remove unused variables
20792 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
20793 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
20794 (mouse-drag-drag): Remove unused variables `mouse-delta' and
20795 `mouse-col-delta'.
20796
20797 * mouse-sel.el (mouse-extend-internal):
20798 Remove unused variable `orig-window-frame'.
20799
20800 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
20801 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
20802 Move declarations before first use.
20803 (pcomplete-opt): Mark unused parameters; doc fix.
20804
20805 * proced.el (proced-revert): Mark unused parameter.
20806 (proced-send-signal): Remove unused variable `err'.
20807
20808 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
20809 Rename parameter PREFIX-ARG to ARG.
20810 (ps-basic-plot-string, ps-basic-plot-whitespace):
20811 Mark unused parameters.
20812
20813 * replace.el (replace-count): Define.
20814 (occur-revert-function): Mark unused parameters.
20815 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
20816 (isearch-case-fold-search, isearch-string): Declare.
20817 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
20818 bind `case-fold-search'. Remove unused variables `beg' and `end',
20819 and simplify.
20820 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
20821 COUNT and bind `replace-count'.
20822 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
20823 to COUNT.
20824
20825 * savehist.el (print-readably, print-string-length): Declare.
20826
20827 * shadowfile.el (shadow-expand-cluster-in-file-name):
20828 Remove unused variable `cluster'.
20829 (shadow-copy-file): Remove unused variable `i'.
20830 (shadow-noquery, shadow-clusters, shadow-site-cluster)
20831 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
20832 (shadow-define-literal-group, shadow-define-regexp-group)
20833 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
20834
20835 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
20836 (shell): Use `called-interactively-p'.
20837 (shell-directory-tracker): Remove unused variable `chdir-failure'.
20838
20839 * simple.el (compilation-context-lines, comint-file-name-quote-list)
20840 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
20841 (delete-backward-char): Remove unused variable `ocol'.
20842 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
20843 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
20844 (event-apply-hyper-modifier, event-apply-shift-modifier)
20845 (event-apply-control-modifier, event-apply-meta-modifier):
20846 Mark unused parameters.
20847 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
20848 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
20849
20850 * speedbar.el (speedbar-ignored-directory-expressions)
20851 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
20852 (speedbar-find-file, speedbar-dir-follow)
20853 (speedbar-directory-buttons-follow, speedbar-tag-find)
20854 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
20855 (speedbar-buffers-line-directory, speedbar-buffer-click):
20856 Mark unused parameters.
20857 (speedbar-tag-file): Remove unused variable `mode'.
20858 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
20859
20860 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
20861
20862 * talk.el (talk): Remove unused variable `display'.
20863
20864 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
20865 (tar-write-region-annotate): Mark unused parameter.
20866
20867 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
20868 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
20869 Declare them, wrapped in `with-no-warnings' to avoid replacing one
20870 warning by another.
20871
20872 * time-stamp.el (time-stamp-string-preprocess):
20873 Remove unused variable `require-padding'.
20874
20875 * tree-widget.el (widget-glyph-enable): Declare.
20876 (tree-widget-action): Mark unused parameter.
20877
20878 * w32-fns.el (x-get-selection): Mark unused parameter.
20879 (autoload-make-program, generated-autoload-file): Declare.
20880
20881 * wdired.el (wdired-revert): Mark unused parameters.
20882 (wdired-xcase-word): Remove unused variable `err'.
20883
20884 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
20885 (whitespace-help-scroll): Remove unused variable `data-help'.
20886
20887 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
20888 (widget-image-insert, widget-after-change, default)
20889 (widget-default-format-handler, widget-default-notify)
20890 (widget-default-prompt-value, widget-info-link-action)
20891 (widget-url-link-action, widget-function-link-action)
20892 (widget-variable-link-action, widget-file-link-action)
20893 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
20894 (widget-field-prompt-internal, widget-field-action, widget-field-match)
20895 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
20896 (widget-insert-button-action, widget-delete-button-action, visibility)
20897 (widget-documentation-link-action, widget-documentation-string-action)
20898 (widget-const-prompt-value, widget-regexp-match, symbol)
20899 (widget-coding-system-prompt-value)
20900 (widget-key-sequence-value-to-external, sexp)
20901 (widget-sexp-value-to-internal, character, vector, cons)
20902 (widget-choice-prompt-value, widget-boolean-prompt-value)
20903 (widget-color--choose-action): Mark unused parameters.
20904 (widget-item-match-inline, widget-choice-match-inline)
20905 (widget-checklist-match, widget-checklist-match-inline)
20906 (widget-group-match): Rename parameter VALUES to VALS.
20907 (widget-field-value-set): Remove unused variable `size'.
20908 (widget-color-action): Remove unused variables `value' and `start'.
20909
20910 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 20911 variable `dir'. Doc fix.
06b60517
JB
20912 (windmove-find-other-window): Don't pass it.
20913
20914 * window.el (count-windows): Mark unused parameter.
20915 (bw-adjust-window): Remove unused variable `err'.
20916
20917 * woman.el (woman-file-name): Remove unused variable `default'.
20918 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
20919 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
20920 (global-font-lock-mode): Declare.
20921 (woman-decode-region): Mark unused parameter.
20922 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
20923
20924 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
20925 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
20926 (x-dnd-handle-moz-url): Remove unused variable `title'.
20927 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
20928
20929 * xml.el (xml-parse-tag, xml-parse-attlist):
20930 Remove unused variable `pos'.
20931
bc4f7f3d
GM
209322011-04-19 Glenn Morris <rgm@gnu.org>
20933
20934 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
20935 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
20936 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
20937 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
20938 * calendar/cal-html.el (cal-html-insert-minical):
20939 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
20940 (calendar-mark-date-pattern):
20941 Prefix "unused" locals.
20942
20943 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
20944 optional argument `style'.
20945
20946 * calendar/appt.el (appt-make-list):
20947 * calendar/cal-china.el (calendar-chinese-date-string):
20948 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
20949 (diary-hebrew-yahrzeit):
20950 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
20951 * calendar/calendar.el (calendar-generate-window):
20952 * calendar/time-date.el (time-to-days):
20953 Remove unused local variables.
20954
16a43933
CY
209552011-04-18 Chong Yidong <cyd@stupidchicken.com>
20956
20957 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
20958 glyphless-char-display table.
20959 (tabulated-list-glyphless-char-display): New var.
20960
7eed1860
SS
209612011-04-18 Sam Steingold <sds@gnu.org>
20962
20963 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
20964 to acknowledgments.
20965
4d2d1ccd
GM
209662011-04-17 Glenn Morris <rgm@gnu.org>
20967
20968 * calendar/diary-lib.el (diary-sexp-entry):
20969 * calendar/holidays.el (holiday-sexp):
20970 Set debug-on-error rather than the removed stack-trace-on-error.
20971
239da61d
GM
209722011-04-16 Glenn Morris <rgm@gnu.org>
20973
20974 * progmodes/f90.el: Use lexical-binding.
20975 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
20976
8b05752a
SM
209772011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
20978
daca8ba5
SM
20979 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
20980 (mail-mode): Setup mailalias completion here instead.
20981 * mail/mailalias.el: Use lexical-binding.
20982 (pattern, mailalias-done): Declare dynamic.
20983 (mail-completion-at-point-function): New function, from mail-complete.
20984 (mail-complete): Use it.
20985 (mail-completion-expand): New function.
20986 (mail-get-names): Use it.
20987 (mail-directory, mail-directory-process, mail-directory-stream):
20988 Don't use `pattern' for lexically bound arg.
20989
6f542485
SM
20990 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
20991
037e7c3f
SM
20992 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
20993 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
20994 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
20995
8b05752a
SM
20996 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
20997 (byte-save-window-excursion, byte-temp-output-buffer-setup)
20998 (byte-interactive-p): Define them again, for use when inlining
20999 old code.
21000
49093f60
JB
210012011-04-15 Juanma Barranquero <lekktu@gmail.com>
21002
21003 * loadup.el: Use `string-to-number', not `string-to-int'.
21004
b5b8e7de
SM
210052011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
21006
21007 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
21008 gud-gdb-complete-command.
21009 (gud-gdb-completions): New function, from gud-gdb-complete-command.
21010 (gud-gdb-completion-at-point): New function.
21011 (gud-gdb-completions): Remove.
21012
f42efeb5
MA
210132011-04-14 Michael Albinus <michael.albinus@gmx.de>
21014
49093f60
JB
21015 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
21016 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
21017 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
21018 whether `executable-find' is bound.
f42efeb5
MA
21019
21020 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
21021
e240cc21
SM
210222011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
21023
21024 * minibuffer.el (completion-in-region-mode-predicate)
21025 (completion-in-region-mode--predicate): New vars.
21026 (completion-in-region, completion-in-region--postch)
21027 (completion-in-region-mode): Use them.
21028 (completion--capf-wrapper): Also return the hook function.
21029 (completion-at-point, completion-help-at-point):
21030 Adjust and provide a predicate.
c2bd2ab0
SM
21031
21032 Preserve arg names for advice of subr and lexical functions (bug#8457).
21033 * help-fns.el (help-function-arglist): Consolidate the subr and
21034 new-byte-code cases. Add argument `preserve-names' to extract names
21035 from the docstring when needed.
21036 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
21037 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
21038 (ad-arglist): Use help-function-arglist's new arg.
21039 (ad-definition-type): Use cond.
21040
c183f693
JB
210412011-04-13 Juanma Barranquero <lekktu@gmail.com>
21042
06641a47
JB
21043 * autorevert.el (auto-revert-handler):
21044 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
21045 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
21046 Don't quote lambda.
21047
c183f693
JB
21048 * image-mode.el (image-transform-set-scale):
21049 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
21050
1e3b6001
G
210512011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
21052
21053 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 21054 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
21055 Upgrades via gnutls-cli are too slow to be done opportunistically.
21056
2d6af8dd
JB
210572011-04-12 Juanma Barranquero <lekktu@gmail.com>
21058
21059 * dframe.el (dframe-current-frame): Remove spurious quote.
21060
c0749a51
GM
210612011-04-12 Glenn Morris <rgm@gnu.org>
21062
088d0d61
GM
21063 * calendar/cal-tex.el (cal-tex-end-document):
21064 Try to automatically use latin1 input if needed.
21065
c0749a51
GM
21066 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
21067 Don't try to cons a mark onto an empty element.
21068
5c90fde0
LL
210692011-04-11 Leo Liu <sdl.web@gmail.com>
21070
21071 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
21072 buffers.
21073 (ido-kill-buffer-at-head): Support killing virtual buffers.
21074
369e974d
CY
210752011-04-10 Chong Yidong <cyd@stupidchicken.com>
21076
21077 * minibuffer.el (completion-show-inline-help): New var.
21078 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
21079 (minibuffer-force-complete, minibuffer-complete-word):
21080 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
21081
21082 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
21083 to avoid interference from inline help (Bug#5849).
21084
37f1c930
LL
210852011-04-10 Leo Liu <sdl.web@gmail.com>
21086
099c39a4
JB
21087 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
21088 Fix typo.
37f1c930 21089
a32d4040
CY
210902011-04-09 Chong Yidong <cyd@stupidchicken.com>
21091
21092 * image-mode.el (image-toggle-display-image): Signal an error if
21093 not in Image mode.
21094 (image-transform-mode, image-transform-resize)
21095 (image-transform-set-rotation): Doc fix.
daca8ba5 21096 (image-transform-set-resize): Delete.
a32d4040
CY
21097 (image-transform-set-scale, image-transform-fit-to-height)
21098 (image-transform-fit-to-width): Handle image-toggle-display-image
21099 and image-transform-resize directly.
21100
099c39a4 211012011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
21102
21103 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
21104 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
21105 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
21106 (doc-view-mode-map): Add bindings for the new functions.
21107
099c39a4 211082011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 21109
4d61f28d 21110 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
21111 Fix typo in docstring.
21112
3726838a
EZ
211132011-04-08 Eli Zaretskii <eliz@gnu.org>
21114
04f33f1e
EZ
21115 * files.el (file-size-human-readable): Produce one digit after
21116 decimal, like "ls -lh" does.
21117
21118 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
21119 the file size representation.
21120
3726838a
EZ
21121 * simple.el (list-processes): If async subprocesses are not
21122 available, error out with a clear error message.
21123
cbb59342
CY
211242011-04-08 Chong Yidong <cyd@stupidchicken.com>
21125
21126 * help.el (help-form-show): New function, to be called from C.
21127 Put help-form output in a buffer named differently than *Help*.
21128
e3971c44
EZ
211292011-04-08 Eli Zaretskii <eliz@gnu.org>
21130
21131 * files.el (file-size-human-readable): New function.
21132
21133 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
21134 computing the representation inline. Don't require `cl'.
21135
12544bbe
GM
211362011-04-08 Glenn Morris <rgm@gnu.org>
21137
a1de6c6a
GM
21138 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
21139
3c4671f4
GM
21140 * net/browse-url.el (browse-url-firefox):
21141 Test system-type, not system-configuration.
21142
b605679c
GM
21143 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
21144 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
21145 Use log-edit-empty-buffer-p. (Bug#7598)
21146
56442f0c
GM
21147 * net/rlogin.el (rlogin-process-connection-type): Simplify.
21148 (rlogin-mode-map): Initialize in the defvar.
21149 (rlogin): Use ignore-errors.
21150
12544bbe
GM
21151 * replace.el (occur-mode-map): Some fixes for menu items.
21152
eb237b0f
AH
211532011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
21154
21155 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
21156
7d668f2c
CY
211572011-04-06 Chong Yidong <cyd@stupidchicken.com>
21158
e67a13ab
CY
21159 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
21160 issuing unused warnings.
21161
21162 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
21163 macro directly.
21164
7d668f2c
CY
21165 * simple.el: Lisp reimplement of list-processes. Based on an
21166 earlier reimplementation by Leo Liu, but using tabulated-list.el.
21167 (process-menu-mode): New major mode.
21168 (list-processes--refresh, list-processes):
21169 (process-menu-visit-buffer): New functions.
21170
21171 * files.el (save-buffers-kill-emacs): Don't assume any return
21172 value of list-processes, which is undocumented anyway.
21173
a83ec3c9
CY
211742011-04-06 Chong Yidong <cyd@stupidchicken.com>
21175
21176 * emacs-lisp/tabulated-list.el: New file.
21177
e91a96fe
CY
21178 * emacs-lisp/package.el: Use Tabulated List mode.
21179 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
21180 (package-menu-mode): Derive from tabulated-list-mode. Set up the
21181 table format using Tabulated List mode variables.
21182 (package--push): New macro, replacing package-list-maybe-add.
21183 (package-menu--generate): Use package--push. Renamed from
21184 package--generate-package-list.
21185 (package-menu-refresh, list-packages): Use it.
daca8ba5 21186 (package-menu--print-info): Rename from package-print-package.
e91a96fe 21187 Return insertion data instead of inserting it directly.
099c39a4
JB
21188 (package-menu-describe-package, package-menu-execute):
21189 Use tabulated-list-get-id.
e91a96fe
CY
21190 (package-menu-mark-delete, package-menu-mark-install)
21191 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
21192 (package-menu-mark-obsolete-for-deletion):
21193 Use tabulated-list-put-tag.
e91a96fe
CY
21194 (package--list-packages, package-menu-revert)
21195 (package-menu-get-package, package-menu-get-version)
21196 (package-menu-sort-by-column): Functions deleted.
21197 (package-menu-package-list, package-menu-sort-key): Vars deleted.
21198 (package-menu--status-predicate, package-menu--version-predicate)
21199 (package-menu--name-predicate)
21200 (package-menu--description-predicate): Handle arguments in the
21201 Tabulated List format.
21202 (package-list-packages-no-fetch): Call list-packages.
21203
3e214b50
JB
212042011-04-06 Juanma Barranquero <lekktu@gmail.com>
21205
21206 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 21207 (after-find-file): Don't bind it.
3e214b50
JB
21208 (revert-buffer-in-progress-p): New variable.
21209 (revert-buffer): Bind it.
21210 Pass nil for `after-find-file-from-revert-buffer'.
21211
21212 * saveplace.el (save-place-find-file-hook): Use new variable
21213 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
21214
3f0f1700
GM
212152011-04-06 Glenn Morris <rgm@gnu.org>
21216
c0274801
GM
21217 * Makefile.in (AUTOGEN_VCS): New variable.
21218 (autoloads): Use $AUTOGEN_VCS.
21219
3f0f1700
GM
21220 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
21221 * calendar/calendar.el (calendar-mode-map):
21222 Check for toolkit scroll bars. (Bug#8305)
21223
41ea9e48
CY
212242011-04-05 Chong Yidong <cyd@stupidchicken.com>
21225
21226 * minibuffer.el (completion-in-region--postch)
21227 (completion-in-region-mode): Remove unnecessary messages.
21228
6194c800
JB
212292011-04-05 Juanma Barranquero <lekktu@gmail.com>
21230
33256f14
JB
21231 * font-lock.el (font-lock-refresh-defaults):
21232 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
21233 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
21234
6194c800
JB
21235 * info.el (Info-directory-list, Info-read-node-name-2)
21236 (Info-split-parameter-string): Doc fixes.
21237 (Info-virtual-nodes): Reflow docstring.
21238 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
21239 (Info-apropos-toc-nodes, info-finder, Info-get-token)
21240 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
21241 Fix typos in docstrings.
21242 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
21243 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
21244 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
21245 (Info-restore-desktop-buffer): Mark unused parameters.
21246 (Info-directory-find-file, Info-directory-find-node)
21247 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
21248 (Info-virtual-index-find-node, Info-apropos-find-file)
21249 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 21250 Mark unused parameters; fix typos in docstrings.
6194c800
JB
21251 (Info-virtual-index): Remove unused local variable `nodename'.
21252
b87a8200 212532011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 21254
b87a8200
DD
21255 * net/rcirc.el: Update my e-mail address.
21256 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 21257
3b2ff876
CY
212582011-04-05 Chong Yidong <cyd@stupidchicken.com>
21259
21260 * startup.el (command-line): Save the cursor's theme-face
21261 directly, instead of using face-override-spec.
21262
21263 * custom.el (load-theme): Minor optimization in assigning faces.
21264
8d17e7ca
JB
212652011-04-04 Juanma Barranquero <lekktu@gmail.com>
21266
21267 * help-fns.el (describe-variable): Complete all variables having
21268 documentation, including keywords.
21269 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
21270
2fbc1934
JB
212712011-04-04 Juanma Barranquero <lekktu@gmail.com>
21272
21273 Convert to lexical-binding.
21274
21275 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
21276 (bs--get-marked-string, bs--get-modified-string)
21277 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
21278 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
21279 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
21280
21281 * ehelp.el (electric-help-execute-extended)
21282 (electric-help-ctrl-x-prefix):
21283 * hexl.el (hexl-revert-buffer-function):
21284 * linum.el (linum-after-change, linum-after-scroll):
21285 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
21286
21287 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
21288
74f50695
DU
212892011-04-04 Daiki Ueno <ueno@unixuser.org>
21290
21291 * epa-dired.el:
21292 * epa-mail.el:
21293 * epa-hook.el:
21294 * epa-file.el:
21295 * epa.el:
21296 * epg.el: Use lexical binding.
21297
c11325f7
CY
212982011-04-03 Chong Yidong <cyd@stupidchicken.com>
21299
0d9e9a12
CY
21300 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
21301
c11325f7 21302 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
21303 dictionary case for flyspell-mark-duplications-exceptions.
21304 Use regexp matching for languages.
c11325f7
CY
21305 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
21306 default dictionary (Bug#7926).
21307
da91b5f2
CY
213082011-04-02 Chong Yidong <cyd@stupidchicken.com>
21309
099c39a4
JB
21310 * emacs-lisp/package.el (package--with-work-buffer):
21311 Recognize https URLs.
da91b5f2 21312
099c39a4
JB
21313 * net/network-stream.el: Move from gnus/proto-stream.el.
21314 Change prefix to network-stream throughout.
da91b5f2
CY
21315 (open-protocol-stream): Merge into open-network-stream, leaving
21316 open-protocol-stream as an alias. Handle nil BUFFER args.
21317
21318 * subr.el (open-network-stream): Move to net/network-stream.el.
21319
afa8e9f6
GM
213202011-04-02 Glenn Morris <rgm@gnu.org>
21321
1d2e369d
GM
21322 * find-dired.el (find-exec-terminator): New option.
21323 (find-ls-option): Test for -ls support.
21324 (find-ls-subdir-switches): Test for -b in find-ls-option.
21325 (find-dired, find-grep-dired): Doc fixes.
21326 (find-dired): Use find-exec-terminator.
21327
8abb7da8 21328 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
21329 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
21330 (find-name-arg): Remove purecopy.
8abb7da8 21331
f3ca7378
GM
21332 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
21333 (grep-compute-defaults): Check for `-exec COMMAND +' support.
21334 Set grep-find-use-xargs, grep-find-command, and grep-find-template
21335 accordingly. Don't add the null-device if not needed.
21336
afa8e9f6
GM
21337 * files.el (save-some-buffers): Doc fix.
21338
35eae264
EZ
213392011-04-02 Eli Zaretskii <eliz@gnu.org>
21340
21341 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
21342
26b51db5
JB
213432011-04-01 Juanma Barranquero <lekktu@gmail.com>
21344
21345 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
21346 Use `dolist' rather than `mapcar'.
21347
7200d79c
SM
213482011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
21349
03408648 21350 Add lexical binding.
7200d79c 21351
03408648
SM
21352 * subr.el (apply-partially): Use new closures rather than CL.
21353 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
21354 (dolist, dotimes): Use slightly different expansion for lexical code.
21355 (functionp): Move to C.
21356 (letrec): New macro.
21357 (with-wrapper-hook): Use it and apply-partially instead of CL.
21358 (eval-after-load): Preserve lexical-binding.
21359 (save-window-excursion, with-output-to-temp-buffer): Turn them
21360 into macros.
7200d79c 21361
03408648
SM
21362 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
21363
21364 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
21365 than the arglist.
21366 (help-add-fundoc-usage): Don't add `Not documented'.
21367 (help-function-arglist): Handle closures, subroutines, and new
21368 byte-code-functions.
21369 (help-make-usage): Remove leading underscores.
21370 (describe-function-1): Handle closures.
21371 (describe-variable): Use special-variable-p for completion.
21372
21373 * files.el (lexical-binding): Declare safe.
f488fb65 21374
03408648
SM
21375 * emacs-lisp/pcase.el: Don't use destructuring-bind.
21376 (pcase--memoize): Rename from pcase-memoize. Change weakness.
21377 (pcase): Add `let' pattern.
21378 Change memoization so it actually works.
21379 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
21380 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
21381 <let>: New case.
f488fb65 21382
03408648
SM
21383 * emacs-lisp/macroexp.el: Use lexical binding.
21384 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
21385 Don't convert ' to #' without checking that it's indeed quoting
21386 a lambda.
21387
21388 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 21389 Use eval-sexp-add-defvars.
03408648
SM
21390 (eval-sexp-add-defvars): New fun.
21391
21392 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
21393
21394 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
21395 Don't autoload.
21396 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
21397 than the internal `byte-compile-lambda'.
21398 (defmethod): Don't hide code under quotes.
21399 (eieio-defmethod): New `code' argument.
21400
21401 * emacs-lisp/eieio-comp.el: Remove.
21402
21403 * emacs-lisp/edebug.el (edebug-eval-defun)
21404 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
21405 (edebug-toggle): Avoid `eval'.
21406
21407 * emacs-lisp/disass.el (disassemble-internal): Handle new
21408 `closure' objects.
21409 (disassemble-1): Handle new byte codes.
21410
21411 * emacs-lisp/cl.el (pushnew): Silence warning.
21412
21413 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
21414 (cl-byte-compile-throw): Remove.
21415 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
21416
21417 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
21418 closures.
21419
21420 * emacs-lisp/cconv.el: New file.
21421
21422 * emacs-lisp/bytecomp.el: Use lexical binding instead of
21423 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
21424 (byte-compile-initial-macro-environment):
21425 Handle declare-function here.
21426 (byte-compile--lexical-environment): New var.
21427 (byte-stack-ref, byte-stack-set, byte-discardN)
21428 (byte-discardN-preserve-tos): New lap codes.
21429 (byte-interactive-p): Don't use any more.
21430 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
21431 New macros.
21432 (byte-compile-lapcode): Use them and handle new lap codes.
21433 (byte-compile-obsolete): Remove.
21434 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
21435 (byte-compile-arglist-warn): Check late def of inlinable funs.
21436 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
21437 since they should have been expanded by now.
21438 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
21439 (byte-compile-from-buffer): Remove unused second arg.
21440 (byte-compile-preprocess): New function.
21441 (byte-compile-toplevel-file-form): New function to distinguish
21442 file-form calls from outside from file-form calls from hunk-handlers.
21443 (byte-compile-file-form): Simplify.
21444 (byte-compile-file-form-defsubst): Remove.
21445 (byte-compile-file-form-defmumble): Simplify now that
21446 byte-compile-lambda always returns a byte-code-function.
21447 (byte-compile): Preprocess.
21448 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
21449 Remove, not used any more.
21450 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
21451 (byte-compile-make-args-desc): New funs.
21452 (byte-compile-lambda): Handle lexical functions. Always return
21453 a byte-code-function.
21454 (byte-compile-reserved-constants): New var, to make up room for
21455 closed-over variables.
21456 (byte-compile-constants-vector): Obey it.
21457 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
21458 (byte-compile-macroexpand-declare-function): New function.
21459 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
21460 byte-code-functions.
21461 (byte-compile-form): Check obsolescence here.
21462 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
21463 (byte-compile-variable-ref): Remove.
21464 (byte-compile-dynamic-variable-op): New fun.
21465 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
21466 (byte-compile-variable-set): New funs.
21467 (byte-compile-discard): Add 2 args.
21468 (byte-compile-stack-ref, byte-compile-stack-set)
21469 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
21470 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
21471 macroexpand-all instead.
21472 (byte-compile-quote-form): Remove.
21473 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
21474 (byte-compile-bind, byte-compile-unbind): New funs.
21475 (byte-compile-let): Handle let* and lexical binding.
21476 (byte-compile-let*): Remove.
21477 (byte-compile-catch, byte-compile-unwind-protect)
21478 (byte-compile-track-mouse, byte-compile-condition-case):
21479 Handle a new :fun-body form, used for lexical scoping.
21480 (byte-compile-save-window-excursion)
21481 (byte-compile-with-output-to-temp-buffer): Remove.
21482 (byte-compile-defun): Simplify.
21483 (byte-compile-stack-adjustment): New fun.
21484 (byte-compile-out): Use it.
21485 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
21486
21487 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
21488 handler any more.
21489
21490 * emacs-lisp/byte-opt.el: Use lexical binding.
21491 (byte-inline-lapcode): Remove (to bytecomp).
21492 (byte-compile-inline-expand): Pay attention to inlining to/from
21493 lexically bound code.
21494 (byte-compile-unfold-lambda): Don't handle byte-code-functions
21495 any more.
21496 (byte-optimize-form-code-walker): Don't handle save-window-excursion
21497 any more and don't call compiler-macros.
21498 (byte-compile-splice-in-already-compiled-code): Remove.
21499 (byte-code): Don't inline any more.
21500 (disassemble-offset): Receive `bytes' as argument rather than via
21501 dynamic scoping.
21502 (byte-compile-tag-number): Declare before first use.
21503 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
21504 `return' even if make-spliceable.
21505 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
21506 obsolete interactive-p.
21507 (byte-optimize-lapcode): Optimize new lap-codes.
21508 Don't trip up on new form of `byte-constant' lap code.
21509
21510 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
21511
21512 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
21513
21514 * custom.el (custom-initialize-default, custom-declare-variable):
21515 Use `defvar'.
21516
21517 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
21518 New variables.
21519 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
21520 (COMPILE_FIRST): Add macroexp and cconv.
21521 * makefile.w32-in: Mirror changes in Makefile.in.
21522
21523 * vc/cvs-status.el:
21524 * vc/diff-mode.el:
21525 * vc/log-edit.el:
21526 * vc/log-view.el:
21527 * vc/smerge-mode.el:
21528 * textmodes/bibtex-style.el:
090bd7cb 21529 * textmodes/css-mode.el:
03408648
SM
21530 * startup.el:
21531 * uniquify.el:
da91b5f2
CY
21532 * minibuffer.el:
21533 * newcomment.el:
21534 * reveal.el:
21535 * server.el:
21536 * mpc.el:
21537 * emacs-lisp/smie.el:
21538 * doc-view.el:
21539 * dired.el:
03408648
SM
21540 * abbrev.el: Use lexical binding.
21541
0f0c1f27
EZ
215422011-04-01 Eli Zaretskii <eliz@gnu.org>
21543
21544 * info.el (info-display-manual): New function.
21545
c82b2579
SM
215462011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
21547
21548 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
21549
221ddf68
TH
215502011-03-31 Tassilo Horn <tassilo@member.fsf.org>
21551
21552 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 21553 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 21554
cba6e77e
GM
215552011-03-31 Glenn Morris <rgm@gnu.org>
21556
e040639f
GM
21557 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
21558
cba6e77e
GM
21559 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
21560
6d0f1c9e
CS
215612011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
21562
21563 * progmodes/python.el (python-default-interpreter)
21564 (python-python-command-args, python-jython-command-args)
21565 (python-which-shell, python-which-args, python-which-bufname)
21566 (python-file-queue, python-comint-output-filter-function)
21567 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
21568 variables and functions.
21569
3e2d70fd
SM
215702011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
21571
21572 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
21573 (completion-in-region-mode): New minor mode.
21574 (completion-in-region): Use it.
21575 (completion-in-region--data, completion-in-region-mode-map): New vars.
21576 (completion-in-region--postch): New function.
21577 (completion--capf-misbehave-funs, completion--capf-safe-funs):
21578 New vars.
21579 (completion--capf-wrapper): New function.
21580 (completion-at-point): Use it to track well-behavedness of
21581 hook functions.
21582 (completion-help-at-point): New command.
21583
f3e4086c
JM
215842011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
21585
21586 * vc/add-log.el (add-change-log-entry): Don't use whitespace
21587 syntax class to search for whitespace on a single line
21588 (Message-ID: <4D938140.4030905@redhat.com>).
21589
eb7ffc14
LL
215902011-03-30 Leo Liu <sdl.web@gmail.com>
21591
21592 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
21593 New commands.
21594 (edit-abbrevs-map): Bind them here.
21595 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
21596
d806ab68
KM
215972011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
21598
21599 * allout.el (allout-hide-by-annotation, allout-flag-region):
21600 Reduce possibility of overlay leakage by making them volatile.
21601
21602 * allout-widgets.el (allout-widgets-tally): Define as nil so the
21603 hash is not shared between buffers. Mode initialization is
21604 responsible for giving it a useful starting value.
21605 (allout-item-span): Reduce possibility of overlay leakage by
21606 making them volatile.
21607 (allout-widgets-count-buttons-in-region): Add diagnostic function
21608 for tracking down button overlay leaks.
21609
ea622834
LL
216102011-03-29 Leo Liu <sdl.web@gmail.com>
21611
21612 * ido.el (ido-read-internal): Use the default history var
21613 minibuffer-history if no HISTORY is specified.
21614
b62f8267
G
216152011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
21616
03408648
SM
21617 * net/imap.el (imap-shell-open, imap-process-connection-type):
21618 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
21619 Kerberos, SSL, other subprocesses.
21620
947b6566
LL
216212011-03-28 Leo Liu <sdl.web@gmail.com>
21622
21623 * abbrev.el (abbrev-table-empty-p): New function.
21624 (prepare-abbrev-list-buffer): Place empty abbrev tables after
21625 nonempty ones. (Bug#5937)
21626
5ffb62aa
JD
216272011-03-27 Jan Djärv <jan.h.d@swipnet.se>
21628
21629 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
21630
7a097943
LL
216312011-03-27 Leo Liu <sdl.web@gmail.com>
21632
21633 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
21634 for foreground and background colors.
21635 (ansi-color-make-color-map): Adapt.
21636
c5b40130
LL
216372011-03-25 Leo Liu <sdl.web@gmail.com>
21638
1f48f7d2
LL
21639 * midnight.el (midnight-time-float): Remove. Note it calculates
21640 the microsecond component incorrectly and seconds-to-time does the
21641 same job.
625897ec 21642 Remove redundant (require 'timer).
1f48f7d2 21643
c5b40130
LL
21644 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
21645 (ido-completions): Remove unused arguments. (Bug#8329)
21646
d86d2721
SM
216472011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
21648
21649 * minibuffer.el (completion--flush-all-sorted-completions):
21650 Remove itself from hook.
21651 (completion-at-point): Let the functions perform the completion
21652 immediately and return nil or t.
21653 * comint.el (comint-dynamic-complete-functions): Now identical to
21654 completion-at-point-functions.
21655 (comint-dynamic-list-input-ring): Remove unused var `index'.
21656 (comint--match-partial-filename, comint--unquote&expand-filename):
21657 New funs, split from comint-match-partial-filename.
21658 (comint-dynamic-complete): Use completion-at-point.
21659 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
21660
e8974c48
DA
216612011-03-24 Drew Adams <drew.adams@oracle.com>
21662
21663 * thingatpt.el: Support `defun'.
21664
def71b5e
LL
216652011-03-23 Leo Liu <sdl.web@gmail.com>
21666
cb5af48e
LL
21667 * abbrevlist.el: Move to obsolete/abbrevlist.el.
21668
def71b5e
LL
21669 * help-mode.el (help-mode-finish): Tweak regexp.
21670
927c53e7
GM
216712011-03-23 Glenn Morris <rgm@gnu.org>
21672
18d05bed
GM
21673 * eshell/esh-opt.el (eshell-eval-using-options):
21674 Do not bind unused local variable `eshell-option-stub'.
21675
927c53e7
GM
21676 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
21677
9d0da923
JB
216782011-03-22 Juanma Barranquero <lekktu@gmail.com>
21679
21680 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
21681 keymap variable in `with-no-warnings' to avoid a warning when the
21682 keymap has been already `defconst'ed.
21683
4b978a67
LL
216842011-03-22 Leo Liu <sdl.web@gmail.com>
21685
21686 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
21687 encode all chars in abbrevs; otherwise use emacs-mule or
21688 utf-8-emacs. (Bug#8308)
21689
5fd62452
JB
216902011-03-22 Juanma Barranquero <lekktu@gmail.com>
21691
0b1596c6
JB
21692 * simple.el (backward-delete-char-untabify):
21693 Avoid warning about using `delete-backward-char'.
21694
5fd62452
JB
21695 * image.el (image-type-file-name-regexps): Make it variable.
21696 `imagemagick-register-types' modifies it, and the user may want
21697 to add new extensions for known image types.
21698 (imagemagick-register-types): Throw error if not using ImageMagick.
21699
0b4e93f1
LL
217002011-03-22 Leo Liu <sdl.web@gmail.com>
21701
21702 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
21703 located before rcirc-prompt-end-marker.
21704 (rcirc-complete): Error if point is not after rcirc prompt.
21705 Handle the case when table is nil.
9882e214 21706 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 21707
fccee4ab
CY
217082011-03-22 Chong Yidong <cyd@stupidchicken.com>
21709
21710 * custom.el (custom--inhibit-theme-enable): Make it affect only
21711 custom-theme-set-variables and custom-theme-set-faces.
21712 (provide-theme): Ignore custom--inhibit-theme-enable.
21713 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
21714 (custom-enabling-themes): Delete variable.
d86d2721
SM
21715 (enable-theme): Accept only loaded themes as arguments.
21716 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
21717 (custom-enabled-themes): Forbid themes from setting this.
21718 Eliminate use of custom-enabling-themes.
21719 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 21720
af896da6
LL
217212011-03-21 Leo Liu <sdl.web@gmail.com>
21722
21723 * ido.el (ido-read-internal): Add ido-selected to history instead
21724 of user input.
21725
78f64af0
SM
217262011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
21727
21728 * subr.el (deferred-action-list, deferred-action-function):
21729 Mark obsolete.
21730
b16ac1ec
LL
217312011-03-21 Leo Liu <sdl.web@gmail.com>
21732
810f7698
LL
21733 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
21734 change on 2011-02-13 (bug#8309).
21735
b16ac1ec
LL
21736 * minibuffer.el (read-file-name-function): Change default value.
21737 (read-file-name--defaults): Rename from read-file-name-defaults.
21738 (read-file-name-default): Rename from read-file-name.
21739 (read-file-name): Call read-file-name-function.
21740
4e05e67e
GM
217412011-03-21 Glenn Morris <rgm@gnu.org>
21742
21743 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
21744 Doc fixes.
21745
4359915b
CY
217462011-03-21 Chong Yidong <cyd@stupidchicken.com>
21747
21748 * cus-theme.el: Add missing provide statement.
21749 (customize-create-theme): Extract theme value correctly.
21750 (custom-theme-visit-theme): Autoload.
21751 (customize-create-theme): Prompt before inserting default faces.
21752
1fe275ee
JB
217532011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
21754
21755 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
21756 units and musical notes.
21757
cd394be1 217582011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
21759
21760 * ido.el (ido-read-internal): Use completing-read-default.
21761 (ido-completing-read): Fix compatibility with completing-read.
21762
7d476bde
CO
217632011-03-20 Christian Ohler <ohler@gnu.org>
21764
21765 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
21766 (ert-delete-all-tests): Use `called-interactively-p' rather than
21767 `interactive-p'.
21768 (ert--make-xrefs-region): Respect END.
21769
fe0fb33e
CY
217702011-03-19 Chong Yidong <cyd@stupidchicken.com>
21771
ff854b0b
CY
21772 * dired-aux.el (dired-create-directory): Signal an error if the
21773 directory already exists (Bug#8246).
21774
fe0fb33e
CY
21775 * facemenu.el (list-colors-display): Call list-faces-display
21776 inside with-help-window.
21777 (list-colors-print): Use display property to align the final
21778 column, instead of checking window-width.
21779
576bce32
EZ
217802011-03-19 Eli Zaretskii <eliz@gnu.org>
21781
4d61f28d 21782 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
21783 windows-nt systems.
21784 (emerge-protect-metachars): Quote correctly for ms-dos and
21785 windows-nt systems.
21786
89c41d68 217872011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
21788
21789 * info.el (info-initialize): Replace all uses of `:' with
21790 path-separator for compatibility with non-Unix systems.
21791 Cache quoting of path-separator. (Bug#8258)
21792
b14e3e21 217932011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
21794
21795 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
21796 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
21797 (mouse-avoidance-mode): Fix typos in docstrings.
21798
4525ce3e
CY
217992011-03-19 Chong Yidong <cyd@stupidchicken.com>
21800
21801 * startup.el (package-subdirectory-regexp): Move from package.el.
21802 Omit \\` and \\', and let callers add them.
21803
21804 * emacs-lisp/package.el (package-strip-version)
21805 (package-load-all-descriptors): Add \\` and \\' to
21806 package-subdirectory-regexp before using it.
21807 (package-untar-buffer): New arg DIR; ensure that file untars only
21808 into this expected directory. Remove superfluous delete-region.
21809 (package-unpack): Caller changed.
21810 (package-tar-file-info): Use package-subdirectory-regexp.
21811
a904a09a 218122011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 21813
a904a09a
SM
21814 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
21815 diff-mode-shared-map (bug#8284).
21816 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
21817
218182011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
21819
21820 * calendar/time-date.el (format-seconds): Use assoc instead of
21821 assoc-string, since assoc-string doesn't exist in XEmacs.
21822
171fc304
JB
218232011-03-17 Juanma Barranquero <lekktu@gmail.com>
21824
21825 * custom.el (custom-known-themes): Reflow docstring.
21826 (custom-theme-load-path): Fix typo in docstring.
21827 (load-theme): Fix typo in error message.
21828 (custom-available-themes, custom-variable-theme-value):
21829 Use `let', not `let*'.
21830
d71990a1
JB
218312011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
21832
21833 * calc/README: Mention inclusion of musical notes.
21834
21835 * calc/calc-units.el (calc-lu-quant): Rename from
21836 `calc-logunits-quantity'.
21837 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
21838 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
21839 (calc-db): Rename from `calc-dblevel'.
21840 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
21841 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
21842 (calc-np): Rename from `calc-nplevel'.
21843 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
21844 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
21845 (calc-lu-plus): Rename from `calc-logunits-add'.
21846 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
21847 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
21848 (calc-lu-minus): Rename from `calc-logunits-sub'.
21849 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
21850 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
21851 (calc-lu-times): Rename from `calc-logunits-mul'.
21852 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
21853 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
21854 (calc-lu-divide): Rename from `calc-logunits-div'.
21855 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
21856 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
21857
21858 * calc/calc-ext.el (calc-init-extensions): Update the names of the
21859 functions being autoloaded.
21860
21861 * calc/calc.el (calc-lu-power-reference): Rename from
21862 `calc-logunits-power-reference'.
21863 (calc-lu-field-reference): Rename from
21864 `calc-logunits-field-reference'.
21865
7a71b18d
GM
21866 * calc/calc-help.el (calc-l-prefix-help):
21867 Mention musical note functions.
d71990a1 21868
40c2934b
SM
218692011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
21870
21871 * minibuffer.el (completion-all-sorted-completions):
21872 Use :completion-cycle-penalty text property if present.
21873
b0911414
KM
218742011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
21875
21876 * allout.el (allout-yank-processing): Adjust for new rebulleting
21877 regime so bullet being yanked is used without prompting the user
21878 for a choice.
21879
8a05b668
JB
218802011-03-16 Juanma Barranquero <lekktu@gmail.com>
21881
21882 * startup.el (command-line): Warn the user that _emacs is deprecated.
21883
5ba5fb81
JB
218842011-03-16 Juanma Barranquero <lekktu@gmail.com>
21885
21886 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
21887 (delphi-verbose, delphi-comment-face, delphi-string-face)
21888 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
21889 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
21890 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
21891 (delphi-new-comment-line, delphi-font-lock-defaults)
21892 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
21893 Fix typos in docstrings.
21894
2dab465b
KM
218952011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
21896
5ba5fb81 21897 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
21898 Invert the roles of character and string values for INSTEAD, so a
21899 string is used for the more common case of a defaulting prompt.
21900
0adf5618
SM
219012011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
21902
21903 * progmodes/ruby-mode.el (ruby-backward-sexp):
21904 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
21905 * play/gamegrid.el (gamegrid-make-face):
21906 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
21907 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
21908 * notifications.el (notifications-notify):
21909 * net/xesam.el (xesam-search-engines):
21910 * net/quickurl.el (quickurl-list-insert):
21911 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
21912
d72700e5
CY
219132011-03-15 Chong Yidong <cyd@stupidchicken.com>
21914
21915 * startup.el (command-line): Update package subdirectory regexp.
21916
49c5410a
SM
219172011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
21918
c6eee9aa
SM
21919 * allout.el (allout-abbreviate-flattened-numbering)
21920 (allout-mode-deactivate-hook): Fix up obsolescence "date".
21921
49c5410a
SM
21922 * subr.el (read-char-choice): Only show the cursor after the prompt,
21923 not after the answer.
21924
047b2bb9
KR
219252011-03-15 Kevin Ryde <user42@zip.com.au>
21926
21927 * help-fns.el (variable-at-point): Skip leading quotes, if any
21928 (bug#8253).
21929
0a57d256
SM
219302011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
21931
21932 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
21933 warning message.
21934
77c992bc
MA
219352011-03-14 Michael Albinus <michael.albinus@gmx.de>
21936
21937 * shell.el (shell): When called interactively, offer to change the
21938 shell file name on remote hosts.
21939
eebc475d
TZ
219402011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
21941
21942 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
21943 integration for LDAP parameters. The host, base, user or binddn,
21944 and secret tokens can be specified in a netrc file, for instance.
21945 This is optional because an `auth-source' parameter must be
21946 specified in the search attributes.
21947
9d05d1ba
JB
219482011-03-13 Juanma Barranquero <lekktu@gmail.com>
21949
21950 * help.el (describe-mode): Link to the mode's definition (bug#8185).
21951
09d9db2c
GM
219522011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
21953
21954 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
21955 into declaration. Remove redundant and harmful binding.
21956
219572011-03-12 Eli Zaretskii <eliz@gnu.org>
21958
21959 * files.el (file-ownership-preserved-p): Pass `integer' as an
21960 explicit 2nd argument to `file-attributes'. If the file's owner
21961 is the Administrators group on Windows, and the current user is
21962 Administrator, consider that a match.
21963
21964 * server.el (server-ensure-safe-dir): Consider server directory
21965 safe on MS-Windows if its owner is the Administrators group while
21966 the current Emacs user is Administrator. Use `=' to compare
21967 numerical UIDs, since they could be integers or floats.
21968
219bd536
JB
219692011-03-12 Juanma Barranquero <lekktu@gmail.com>
21970
21971 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
21972
f3afd36b
MA
219732011-03-12 Michael Albinus <michael.albinus@gmx.de>
21974
21975 Sync with Tramp 2.2.1.
21976
21977 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
21978
21979 * net/trampver.el: Update release number.
21980
3aaaa6f1
SM
219812011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
21982
94642599
SM
21983 * progmodes/compile.el (compilation--previous-directory): Fix up
21984 various nil/dead-marker mismatches (bug#8014).
21985 (compilation-directory-properties, compilation-error-properties):
21986 Don't call it at a position past the one we're about to change.
21987
3aaaa6f1
SM
21988 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
21989 Disable obsolescence warnings in the file that declares it.
21990
14239447
KM
219912011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
21992
099c39a4
JB
21993 * allout-widgets.el (allout-widgets-tally):
21994 Initialize allout-widgets-tally as a hash table rather than nil to
21995 prevent mode-line redisplay warnings. Also, clarify the module
21996 description and fix a comment typo.
14239447 21997
135e287c
JB
219982011-03-11 Juanma Barranquero <lekktu@gmail.com>
21999
22000 * help-fns.el (describe-variable): Don't complete keywords.
22001 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
22002
ffbf300e
CY
220032011-03-10 Chong Yidong <cyd@stupidchicken.com>
22004
ba08b241
CY
22005 * emacs-lisp/package.el (package-version-join): Impose a standard
22006 string representation for pre/alpha/beta version lists.
22007 (package-unpack-single): Standardize the directory name by passing
22008 it through package-version-join.
22009 (package-strip-rcs-id): Accept any version string that does not
22010 signal an error in version-to-list.
ffbf300e 22011
f346fd6b
MA
220122011-03-10 Michael Albinus <michael.albinus@gmx.de>
22013
22014 * simple.el (delete-trailing-whitespace): Return nil for the
22015 benefit of `write-file-functions'.
22016
ccb55d27
GM
220172011-03-10 Glenn Morris <rgm@gnu.org>
22018
5ceaac0c
GM
22019 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
22020
02da65ff
GM
22021 * vc/vc-git.el (vc-git-program): New option.
22022 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
22023 (vc-git--call): Use it.
22024
b2f603cc
GM
22025 * eshell/esh-util.el (eshell-condition-case): Doc fix.
22026
5772caab
GM
22027 * cus-edit.el (Custom-newline): If no button at point, look
22028 for a subgroup button at start-of-line. (Bug#2298)
22029
ccb55d27
GM
22030 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
22031
ec6ecaed
JD
220322011-03-10 Julien Danjou <julien@danjou.info>
22033
22034 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
22035 `cursor-type' is nil.
22036
9d5aa01d
JB
220372011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
22038
22039 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
22040
b6a5875b
KM
220412011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
22042
7a71b18d 22043 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
22044 preserves the existing header prefix, rebulleting it if necessary,
22045 rather than replacing it. This is necessary for proper operation
22046 of cooperative addons like allout-widgets.
1154d12e
JB
22047 (allout-make-topic-prefix, allout-rebullet-heading):
22048 Change SOLICIT arg to INSTEAD, and interpret additionally a string
22049 value as alternate bullet to be used, instead of prompting the user
22050 for a bullet character.
b6a5875b 22051
ee545c35
MA
220522011-03-09 Michael Albinus <michael.albinus@gmx.de>
22053
d86d2721
SM
22054 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
22055 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
22056 `tramp-default-port'.
22057
c47971d7
DD
220582011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
22059
22060 * net/rcirc.el (rcirc-handler-001): Remove useless
22061 with-rcirc-process-buffer.
22062 (rcirc-check-auth-status): Swap arguments to string-match.
22063
13522cb4
GM
220642011-03-09 Glenn Morris <rgm@gnu.org>
22065
0be6f4f1
GM
22066 * shell.el (shell-mode):
22067 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
22068
13522cb4
GM
22069 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
22070 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
22071
515de2e3
CY
220722011-03-08 Chong Yidong <cyd@stupidchicken.com>
22073
22074 * emacs-lisp/package.el (package-refresh-contents)
22075 (package-menu-execute): Use condition-case-no-debug.
22076
b511b994
MA
220772011-03-08 Michael Albinus <michael.albinus@gmx.de>
22078
22079 * simple.el (shell-command-to-string): Use `process-file'.
22080
22081 * emacs-lisp/package.el (package-tar-file-info): Handle also
22082 remote files.
22083
d86d2721
SM
22084 * emacs-lisp/package-x.el (package-upload-buffer-internal):
22085 Use `equal' for upload base check.
b511b994 22086
25bbfb31
AM
220872011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
22088
22089 * textmodes/texinfo.el (texinfo-environments):
22090 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
22091
be996521
GM
220922011-03-08 Glenn Morris <rgm@gnu.org>
22093
e9c8529f
GM
22094 * cus-start.el (cursor-in-non-selected-windows):
22095 Fix :set quoting oddness. (Bug#8192)
22096
be996521
GM
22097 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
22098 in some setf expressions. (Bug#2159)
22099
2bb5649e
CY
221002011-03-08 Chong Yidong <cyd@stupidchicken.com>
22101
22102 * custom.el (custom-available-themes): Return themes in
22103 alphabetical order.
22104
33383987 22105See ChangeLog.15 for earlier changes.
e3d51b27
MR
22106
22107;; Local Variables:
22108;; coding: utf-8
e3d51b27
MR
22109;; End:
22110
acaf905b 22111 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
22112
22113 This file is part of GNU Emacs.
22114
22115 GNU Emacs is free software: you can redistribute it and/or modify
22116 it under the terms of the GNU General Public License as published by
22117 the Free Software Foundation, either version 3 of the License, or
22118 (at your option) any later version.
22119
22120 GNU Emacs is distributed in the hope that it will be useful,
22121 but WITHOUT ANY WARRANTY; without even the implied warranty of
22122 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22123 GNU General Public License for more details.
22124
22125 You should have received a copy of the GNU General Public License
22126 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.