* frame.h (x_char_width, x_char_height): Remove prototypes.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
5504e2c7
MA
12012-12-06 Michael Albinus <michael.albinus@gmx.de>
2
3 * net/tramp.el (tramp-replace-environment-variables): Hide
4 compiler warning.
5 (tramp-file-name-for-operation): Remove `executable-find',
6 `start-process', `call-process' and `call-process-region'.
7
8 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
9
10 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
11 compatibility.
12
13 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
14
e1d51545
CY
152012-12-06 Chong Yidong <cyd@gnu.org>
16
17 * ffap.el (ffap-replace-file-component): Fix typo.
18
d8ad4d3f 192012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
ef54d315
SM
20
21 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
22 fix open-paren-like token test (bug#12785).
23
d8ad4d3f 242012-12-06 Glenn Morris <rgm@gnu.org>
52d129cd
GM
25
26 * mail/rmailsum.el (rmail-new-summary): Tweak for
27 rmail-maybe-display-summary changing buffer. (Bug#13066)
28
d8ad4d3f 292012-12-06 Juri Linkov <juri@jurta.org>
68bf4e09
JL
30
31 * info.el (Info-fontify-node): Don't hide the last newline.
32 (Bug#12272)
33
9ad948e2
KY
342012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
35
36 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
37 so as to enable message-read-from-minibuffer to expand mail aliases.
38
4b5c89ee
SM
392012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
40
41 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
42 the `intangible' property.
43 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
44
5602a53a
DD
452012-12-05 Deniz Dogan <deniz@dogan.se>
46
47 * net/rcirc.el (rcirc-urls): Update documentation.
48 (rcirc-condition-filter): New function.
49 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
50 and exclude consecutive duplicate URLs (Bug#6082).
51
51b890ac
MA
522012-12-05 Michael Albinus <michael.albinus@gmx.de>
53
d5f97f62
MA
54 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
55 Check return code of copy command.
56
51b890ac
MA
57 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt): Use
58 group `tramp'. Add version.
59
04b14f2b
CY
602012-12-05 Chong Yidong <cyd@gnu.org>
61
a3680194
CY
62 * ffap.el (ffap-url-regexp): Don't require matching at front of
63 string (Bug#4952).
64 (ffap-url-p): If only a substring matches, return that.
65 (ffap-url-at-point): Use the return value of ffap-url-p.
66 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
67 (find-file-at-point, dired-at-point, dired-at-point-prompter)
68 (ffap-guess-file-name-at-point): Likewise.
69 (ffap-replace-file-component): Fix typo.
70
04b14f2b
CY
71 * info.el (info-display-manual): Add existing Info buffers, whose
72 files may not be in Info-directory-list, to the completion.
73 (info--manual-names): New helper function.
74
49596095
GM
752012-12-05 Glenn Morris <rgm@gnu.org>
76
77 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
78 New functions, for detecting and resolving conflicts. (Bug#10709)
79
b85aec93
J
802012-12-04 Jambunathan K <kjambunathan@gmail.com>
81
82 * hi-lock.el (hi-lock-auto-select-face): New user variable.
83 (hi-lock-auto-select-face-defaults): New buffer local variable.
84 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
85 (hi-lock-unface-buffer): Prompt user with useful defaults.
86 With prefix arg, unhighlight all hi-lock patterns in buffer.
87
8515507f
SM
882012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
89
90 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
91
72cebfb7
MA
922012-12-04 Michael Albinus <michael.albinus@gmx.de>
93
94 * Makefile.in (TRAMP_SRC):
95 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
96
0ec3f7ea
JH
972012-12-04 Juergen Hoetzel <juergen@archlinux.org>
98
99 * net/tramp-adb.el: New package.
100
770de7cf
CY
1012012-12-04 Chong Yidong <cyd@gnu.org>
102
ce3e7725
CY
103 * terminal.el: Move to obsolete/.
104
770de7cf
CY
105 * longlines.el: Move to obsolete/.
106
107 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
108 Remove code referring to longlines mode.
109
c38a186c
JL
1102012-12-03 Juri Linkov <juri@jurta.org>
111
112 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
113
329bfd64
AM
1142012-12-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
115
116 * textmodes/ispell.el (ispell-init-process)
475eea6f
AM
117 (ispell-start-process, ispell-internal-change-dictionary):
118 Make sure personal dictionary name is expanded after initial
119 `default-directory' value. Use expanded strings for
120 keep/restart checks and for value (Bug#13019).
329bfd64 121
77a74935
JB
1222012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
123
124 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
125
c5bc2d1d 1262012-12-03 Leo Liu <sdl.web@gmail.com>
ff3d86d0
LL
127
128 * files.el (dir-locals-read-from-file): Check file non-empty
129 before reading. (Bug#13038)
130
c5bc2d1d 1312012-12-03 Glenn Morris <rgm@gnu.org>
6247eff5
GM
132
133 * jka-cmpr-hook.el (jka-compr-get-compression-info):
134 Remove any version extension before checking filename. (Bug#13006)
135 (jka-compr-compression-info-list): Belated :version bump.
136
c5bc2d1d 1372012-12-03 Chong Yidong <cyd@gnu.org>
a5bf43ba 138
8ecba97d
CY
139 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
140
a5bf43ba
CY
141 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
142 (buffer-menu): Doc fix (Bug#12294).
143
c5bc2d1d 1442012-12-03 Roland Winkler <winkler@gnu.org>
34755291
RW
145
146 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
147 of diary-show-all-entries in the diary buffer (Bug#12994).
148
c5bc2d1d 1492012-12-03 Michael Albinus <michael.albinus@gmx.de>
c2f5b60a
MA
150
151 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
152 "<STDIN>". This is binary safe.
153
682ceaf8
JB
1542012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
155
156 * calc/calc-forms.el (math-absolute-from-iso-dt)
157 (math-date-to-iso-dt, math-parse-iso-date-validate)
158 (math-iso-dt-to-date): New functions.
159 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
160 (math-fd-isoweekday): New variables.
161 (calc-date-notation, math-parse-standard-date, math-format-date)
162 (math-format-date-part): Add support for more formatting codes.
163
db47d5e9
DG
1642012-12-02 Dmitry Gutov <dgutov@yandex.ru>
165
166 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
167 current buffer's file name when called interactively (Bug#12488).
168
3faf4944
JL
1692012-12-02 Juri Linkov <juri@jurta.org>
170
171 * info.el (info-display-manual): Don't clobber an existing Info
010db6da 172 buffer (Bug#10770). Add completion (Bug#10771).
3faf4944 173
cb5d51dc
YN
1742012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
175
176 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
177 before using it for comparison (Bug#5297).
178
f38cd76e
JA
1792012-12-01 Jari Aalto <jari.aalto@cante.net>
180
181 * textmodes/css-mode.el (css-current-defun-name): New function.
182 (css-mode): Use it.
183
184 * textmodes/sgml-mode.el (html-current-defun-name): New function.
185 (html-mode): Use it.
186
ba03d0d9
CY
1872012-12-01 Chong Yidong <cyd@gnu.org>
188
189 Modularize add-log-current-defun (Bug#2224).
190 Suggested by Jari Aalto.
191
192 * vc/add-log.el (add-log-current-defun-function): Doc fix.
193 (add-log-current-defun): Move mode-specific code to other files.
194 (add-log-lisp-like-modes, add-log-c-like-modes)
195 (add-log-tex-like-modes): Variables deleted.
196
197 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
198 (lisp-mode-variables): Use it.
199
200 * progmodes/cc-mode.el (c-common-init):
201 * progmodes/cperl-mode.el (cperl-mode): Set a value for
202 add-log-current-defun-function.
203
204 * progmodes/m4-mode.el (m4-current-defun-name): New function.
205 (m4-mode): Use it.
206
207 * progmodes/perl-mode.el (perl-current-defun-name): New.
208 (perl-mode): Use it.
209
210 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode): Use
211 lisp-current-defun-name.
212
213 * textmodes/tex-mode.el (tex-current-defun-name): New.
214 (tex-common-initialization): Use it.
215
216 * textmodes/texinfo.el (texinfo-current-defun-name): New.
217 (texinfo-mode): Use it.
218
92eadba5
CY
2192012-12-01 Chong Yidong <cyd@gnu.org>
220
221 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
222 * progmodes/autoconf.el (autoconf-mode):
223 * progmodes/js.el (js-mode):
224 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
225 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
226 * progmodes/perl-mode.el (perl-mode):
227 * progmodes/sh-script.el (sh-mode, sh-set-shell):
228 * textmodes/css-mode.el (css-mode):
229 * textmodes/sgml-mode.el (html-mode, sgml-mode)
230 (sgml-tags-invisible, sgml-guess-indent):
231 * textmodes/tex-mode.el (tex-common-initialization)
232 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
233 (doctex-mode, plain-tex-mode, latex-mode):
234 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
235
3ddbf803
KK
2362012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
237
238 * vc/vc-hg.el (vc-hg-next-revision):
239 Ensure use of default "tip" output format. (Bug#6968)
240
f0b6ae63
KS
2412012-12-01 Kim F. Storm <storm@cua.dk>
242
243 * startup.el (fancy-startup-tail): Add a clickable link
244 (Bug#2176).
245
c01bf73e
CY
2462012-12-01 Chong Yidong <cyd@gnu.org>
247
248 * startup.el (fancy-startup-tail): Improve the message about
249 auto-save files (Bug#2176).
250
f0b6ae63
KS
251 * files.el (recover-session): Improve the descriptive message, and
252 use substitute-command-keys.
253
a9400458
GM
2542012-12-01 Glenn Morris <rgm@gnu.org>
255
256 * ido.el (ido-file-internal):
257 Handle other-window, other-frame for dired. (Bug#13036)
258
fb3bf6ce
GM
2592012-11-30 Glenn Morris <rgm@gnu.org>
260
261 * icomplete.el (icomplete-separator): Fix :version.
262
a813fe3f
CY
2632012-11-30 Chong Yidong <cyd@gnu.org>
264
265 * shell.el (shell): For C-u M-x shell, use an inactive shell
266 buffer as the default (Bug#1975).
276479fd
CY
267 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
268 (shell-mode): Use them to reapply ansi colorization if Shell mode
269 is re-enabled.
a813fe3f 270
a8b733a5
CY
2712012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
272
273 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
274
6fccd6e8
SB
2752012-11-30 Samuel Bronson <naesten@gmail.com>
276
277 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
278 flag to xargs, for compatibility with BSD xargs (Bug#11703).
279
53c9a337
TT
2802012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
281
282 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
283 by move-to-column (Bug#3234).
284
ccf520bb
CY
2852012-11-30 Chong Yidong <cyd@gnu.org>
286
287 * longlines.el (longlines-wrap-line, longlines-encode-region):
288 Preserve text properties (Bug#1425).
289
171b0949
OT
2902012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
291
292 * vc/vc.el (vc-register): Allow registering a file which is
293 already registered with a different backend (Bug#10589).
294
cc37e70f
J
2952012-11-29 Jambunathan K <kjambunathan@gmail.com>
296 Stefan Monnier <monnier@iro.umontreal.ca>
297
298 * icomplete.el: Change separator; add ido-style commands.
299 (icomplete-show-key-bindings): Remove custom var.
300 (icomplete-get-keys): Remove function.
301 (icomplete-forward-completions, icomplete-backward-completions):
302 New commands.
303 (icomplete-minibuffer-map): New var.
304 (icomplete-minibuffer-setup): Use it.
305 (icomplete-exhibit): Don't delay if the list of completions is known.
306 (icomplete-separator): New custom.
307 (icomplete-completions): Use it.
308 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
309 (minibuffer-force-complete-and-exit): New command.
310 (minibuffer--complete-and-exit): New function extracted from
311 minibuffer-complete-and-exit.
312 (minibuffer-complete-and-exit): Use it.
83e12fe0
SM
313
314 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
315 error message when the file doesn't exist (bug#12974).
316
31646597
KD
3172012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
318
319 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
320
e9df8f87
GM
3212012-11-29 Glenn Morris <rgm@gnu.org>
322
824eefe4
GM
323 * files.el (hack-dir-local-variables): Warn if try to set
324 coding via dir-locals, since it doesn't work. (Bug#7169)
325
4ad900d9
GM
326 Add desktop support for restoring vc-dir buffers. (Bug#10606)
327 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
328 Set buffer-local value of desktop-save-buffer.
329 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
330 New functions.
331 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
332 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
333
e9df8f87
GM
334 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
335 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
336 Doc fix.
337 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
338 Doc fixes.
339
e7c8fcc4
JB
3402012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
341
342 * calc/calc-forms.el (calc-date-notation): Fix regexp
343 used to find time codes. Fix symbol for seconds.
344
48d6d9c0
GM
3452012-11-27 Glenn Morris <rgm@gnu.org>
346
347 * emacs-lisp/derived.el (derived-mode-make-docstring):
348 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
349
369f945d
SM
3502012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
351
352 * textmodes/table.el (table-insert): Don't use `symbol-name' on
353 lexically scoped variables (bug#13005).
354
5c9cf0a3 3552012-11-27 Glenn Morris <rgm@gnu.org>
98f99594 356
999e745e
GM
357 * vc/vc-hooks.el (vc-mistrust-permissions):
358 Default to t, to avoid data-loss. (Bug#11490)
98f99594 359
5c9cf0a3 3602012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
207cb73c 361
999e745e
GM
362 * progmodes/python.el (python-indent-guess-indent-offset):
363 If indentation is guessed make python-indent-offset buffer-local.
364
207cb73c 365 Fix Imenu regression.
999e745e
GM
366 * progmodes/python.el (python-nav-beginning-of-defun):
367 Fix forward movement when statement(s) separates point from defun.
207cb73c
FEG
368 (python-imenu-prev-index-position): New function.
369
5c9cf0a3 3702012-11-27 Eli Zaretskii <eliz@gnu.org>
33a488e4
EZ
371
372 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
373
374 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
865f7d8f 375 Don't set buffer-file-type. Return nil. (Bug#12989)
33a488e4 376
5c9cf0a3 3772012-11-27 Glenn Morris <rgm@gnu.org>
50207191
GM
378
379 * hippie-exp.el (hippie-expand-try-functions-list):
380 Re-autoload it. (Bug#12982)
381
5c9cf0a3 3822012-11-27 Eli Zaretskii <eliz@gnu.org>
2147c6ab 383
369f945d
SM
384 * descr-text.el (describe-char-padded-string):
385 Call internal-char-font only on GUI frames. (Bug#11964)
2147c6ab 386
5c9cf0a3 3872012-11-27 Andreas Schwab <schwab@linux-m68k.org>
58b1ae1e
AS
388
389 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
390 and obsoletion message.
391
5c9cf0a3 3922012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
35a10516
SM
393
394 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
395 the constructs to keep outside of the `cl-block' (bug#12977).
396
5c9cf0a3 3972012-11-27 Chong Yidong <cyd@gnu.org>
0c5ef133
CY
398
399 * mouse.el (mouse-drag-line): Even if the line is not draggable,
400 keep reading until we get the up-event anyway, in order to process
401 the up-event for mouse-1-click-follows-link (Bug#12971).
402
848a2dd1
SM
4032012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
404
405 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
406 base function is not yet defined (bug#12965).
407 (ad-activate-advised-definition): Use ad-compile-function.
408 (ad-activate): Use cond.
409
9ad79506
LL
4102012-11-25 Leo Liu <sdl.web@gmail.com>
411
412 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
413 (Bug#12979)
414
e2cb57f5
VB
4152012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
416
417 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
418 reftex-section-info-function in order to be compatible with
419 Texinfo integration.
420
421 * textmodes/reftex.el (reftex-section-pre-regexp)
848a2dd1
SM
422 (reftex-section-post-regexp, reftex-section-info-function):
423 New variable.
424 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
425 reftex-section-post-regexp, and reftex-section-info-function in order
426 to be compatible with Texinfo integration.
427
428 * textmodes/reftex-toc.el (reftex-toc-promote-action):
429 use reftex-section-pre-regexp variable in order to be compatible with
e2cb57f5
VB
430 Texinfo integration.
431
1c4f115d
CY
4322012-11-25 Chong Yidong <cyd@gnu.org>
433
434 * faces.el: Make face-spec-set more analogous to setq.
435 (face-spec-set): Change the third arg to specify whether this
436 function is being called via defface, customize, or a third party.
437 Set the appropriate symbol properties. Clear the override spec if
438 setting via Custom. Initialize face if necessary. (Bug#4988)
439 (face-spec-recalc): Allow theme faces to completely replace the
440 defface spec, in the same way as custom faces (Bug#8454).
441
442 * cus-face.el (custom-declare-face): Move face initialization to
443 face-spec-set.
444 (custom-theme-set-faces): Don't initialize the face name here, as
445 that is now done in face-spec-set.
446
447 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
448 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
449 Simplify by using the new arg to face-spec-set.
450
451 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
452 reset face-override-spec too, and use custom-declare-face.
453
c2350548
JD
4542012-11-24 Jan Djärv <jan.h.d@swipnet.se>
455
456 * term/ns-win.el (ns-initialize-window-system): Move creation of
457 fontsets here (Bug#11964).
458
ecfc364c
VB
4592012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
460
461 * ses.el (ses-rename-cell): Correct bug on mode-line update after
462 cell renaming.
463
0917cc54
CY
4642012-11-24 Chong Yidong <cyd@gnu.org>
465
433212bf
CY
466 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
467 obsolete.
468
0917cc54
CY
469 * custom.el (custom-theme-set-variables): Use a topological sort
470 for ordering by custom dependencies (Bug#12952).
471 (custom--sort-vars, custom--sort-vars-1): New functions.
472
d125ca15 4732012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
002c019c
SM
474
475 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
476 lexical-binding (bug#12938).
477
d125ca15 4782012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
977f9325
WJ
479
480 * image-mode.el (image-transform-check-size): Use assertions only
481 for images of type imagemagick.
482
483 Otherwise no error, image-transform-fit-to-{width,height} is
484 silently ignored, as before. Doc fix.
485
d125ca15 4862012-11-24 Chong Yidong <cyd@gnu.org>
bccffa83
CY
487
488 * faces.el (color-defined-p): Doc fix (Bug#12853).
489
d125ca15 4902012-11-24 Juri Linkov <juri@jurta.org>
61a2a122
JL
491
492 * dired.el (dired-mark): Add optional arg `interactive'.
493 Check for `use-region-p' if `interactive' is non-nil.
494 (dired-unmark, dired-flag-file-deletion): Add optional arg
495 `interactive'. Call `dired-mark' with the arg `interactive'.
496 (Bug#10624)
497
cc4c01bd
JL
498 * wdired.el: Revert 2012-10-17 change partly and replace it with
499 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
500 (wdired-finish-edit): Add marks for new file names to
501 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
502 after `revert-buffer'.
503 (wdired-do-renames): Remove calls to `dired-remove-file',
504 `dired-add-file', `dired-add-entry'. (Bug#11795)
505
d125ca15 5062012-11-24 Alan Mackenzie <acm@muc.de>
b03aabda 507
dc310ed0
AM
508 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
509
b03aabda
AM
510 Fix bugs in the state cache. Enhance a debugging mechanism.
511 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
512 "brace at column zero" strategy for C++.
513 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
514 (c-parse-state-point): New variable.
515 (c-record-parse-state-state): Record old parse state with
516 `copy-tree'. Record previous value of point.
517 (c-debug-parse-state-double-cons): New debugging function.
518 (c-debug-parse-state): Call the above new function.
519 (c-toggle-parse-state-debug): Output a confirmatory message.
520
002c019c
SM
521 * progmodes/cc-mode.el (c-before-change, c-after-change):
522 Call c-invalidate-state-cache from `c-before-change' instead of
b03aabda
AM
523 `c-after-change'.
524
930a6273
CY
5252012-11-23 Chong Yidong <cyd@gnu.org>
526
527 * find-cmd.el (find-constituents): Add executable, ipath,
528 readable, samefile, writable, daystart, regextype (Bug#12856).
529
15c9d04e
SM
5302012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
531
532 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
533
2ecb2679
PE
5342012-11-22 Paul Eggert <eggert@cs.ucla.edu>
535
536 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
537 definition. This fixes a bootstrap failure.
a14a5a40
PE
538 (calc-gregorian-switch): In menu, put dates before regions.
539 This is easier to follow, lines up better in the menu, and lets us
540 coalesce regions that switch at the same time. Give country
15c9d04e
SM
541 names, not "Vatican", as that's better for non-expert users.
542 Use names that are stable between the date of switch and now, e.g.,
a14a5a40
PE
543 Bohemia and Moravia (which existed then and now) and not
544 Czechoslovakia (which didn't exist then and doesn't exist now).
545 What is now the U.S. mostly did not switch at the same time as
546 Britain, so omit the U.S. Correct spelling of "Britain".
547 Catholic Switzerland was too much of a mess, so omit it.
2ecb2679 548
723da6aa
JB
5492012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
550
551 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
552 after the variable is changed.
553
21fa2482
DC
5542012-11-21 Daniel Colascione <dancol@dancol.org>
555
556 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
b6096e85
DC
557 in SQL declarations for font-lock.
558 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
21fa2482 559
3ca2f1bf
GM
5602012-11-21 Glenn Morris <rgm@gnu.org>
561
1bf335cf
GM
562 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
563 (face-italic-p): Add optional argument "inherit".
564
3ca2f1bf
GM
565 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
566 Remove -p suffix from names, for consistency with other set-face-*.
567 (set-face-inverse-video): Fix interactive spec.
568 * play/gamegrid.el (gamegrid-make-mono-tty-face):
569 * textmodes/table.el (table--update-cell-face):
570 Use set-face-inverse-video rather than now obsolete alias.
571
6ef2e5ef 5722012-11-21 Eli Zaretskii <eliz@gnu.org>
7cf95797
EZ
573
574 * simple.el (line-move): Don't call line-move-partial if
575 scroll-conservatively is in effect. (Bug#12927)
576
6ef2e5ef 5772012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
63f25172 578
93b05041
SM
579 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
580 Fallback on completion-at-point rather than
581 pcomplete-expand-and-complete, and only if pcomplete actually failed.
582 (eshell-cmpl-initialize): Setup completion-at-point.
583
584 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
585
bc715d67
SM
586 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
587
6ef2e5ef 5882012-11-21 Michael Albinus <michael.albinus@gmx.de>
d7f2a65c
MA
589
590 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
591 are remote, check out-of-band property for both.
592
6ef2e5ef 5932012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
d1c0cddf
SM
594
595 * window.el (switch-to-buffer): Re-add the warning that was lost in the
596 code rewrite.
597
6ef2e5ef 5982012-11-21 Paul Eggert <eggert@cs.ucla.edu>
0c93aa38 599
535efd4a
PE
600 More minor time fixes.
601 * calendar/time-date.el: Commentary fix.
602 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
603 too much other code depends on (0 0) time stamps.
604 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
605 Add a couple of FIXME comments.
606
0c93aa38
PE
607 Minor cleanup for times as lists of four integers.
608 * files.el (dir-locals-directory-cache):
609 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
610 Doc fixes.
611 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
612 * ps-bdf.el (bdf-file-newer-than-time):
613 Process four-integers time stamps, not two. Doc fixes.
614
23ba2705
SM
6152012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
616
2e31777b
SM
617 * uniquify.el (uniquify-managed): Use defvar-local.
618 (rename-buffer, create-file-buffer): Advise with advice-add.
619 (uniquify-unload-function): Unadvise accordingly.
620
8b62d742
SM
621 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
622 (trace-buffer): Don't purecopy.
623 (trace-entry-message, trace-exit-message): Add `context' arg.
624 (trace--timer): New var.
625 (trace-make-advice): Adjust for use in nadvice.
626 Add `context' argument. Delay `display-buffer' via a timer.
627 (trace-function-internal): Use advice-add.
628 (trace--read-args): New function.
629 (trace-function-foreground, trace-function-background): Use it.
630 (trace-function): Rename to trace-function-foreground and redefine as
631 an alias to that new name.
632 (untrace-function, untrace-all): Adjust to the use of nadvice.
633
5d0ccd95
SM
634 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
635
3837d988
SM
636 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
637
23ba2705
SM
638 * subr.el (called-interactively-p-functions): New var.
639 (internal--called-interactively-p--get-frame): New macro.
640 (called-interactively-p, interactive-p): Rewrite in Lisp.
641 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
642 (called-interactively-p-functions): Use it.
643 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
644 (called-interactively-p-functions): Use it.
645 * allout.el (allout-called-interactively-p): Don't assume
646 called-interactively-p is a subr.
647
b0636be7
GM
6482012-11-20 Glenn Morris <rgm@gnu.org>
649
650 * profiler.el (profiler-report-mode-map): Add a menu.
651 No need to bind `q' because we derive from special-mode.
652 (profiler-report-find-entry): Handle calls from the menu-bar.
653
855b17af
SM
6542012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
655
14146222
SM
656 * emacs-lisp/byte-run.el (defun-declarations-alist):
657 Allow a compiler-macro to be a lambda expression.
658
659 * progmodes/python.el: Use cl-lib. Move var declarations outside of
660 eval-when-compile.
661 (python-syntax-context): Add compiler-macro.
662 (python-font-lock-keywords): Simplify with De Morgan.
663
1000d895
SM
664 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
665
ac5392dc
SM
666 * files.el (load-file): Require match in minibuffer selection, as was
667 the case in Emacs-20 before we changed the spec to allow .elc files
668 (bug#12935).
669
19dc7206
SM
670 * json.el: Don't require cl since we don't use it.
671 * color.el: Don't require cl.
672 (color-complement): `caddr' -> `nth 2'.
673
855b17af
SM
674 * calendar/time-date.el (time-to-seconds): De-obsolete.
675
e8909bdc
JB
6762012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
677
678 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
679 year numbers.
680 (math-date-to-julian-dt): Adjust the initial approximation for the
681 year to deal with the new definition of the DATE.
682
6e9f7997
DC
6832012-11-19 Daniel Colascione <dancol@dancol.org>
684
855b17af
SM
685 * term/w32-win.el (cygwin-convert-path-from-windows):
686 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
6e9f7997 687
6a3dd257
CY
6882012-11-18 Chong Yidong <cyd@gnu.org>
689
690 * filecache.el (file-cache--read-list): New function.
691 (file-cache-add-directory-list, file-cache-add-file-list)
692 (file-cache-delete-file-list, file-cache-delete-directory-list):
693 Use it to read a list of files or directories (Bug#12846).
694 (file-cache-add-file, file-cache-add-directory)
695 (file-cache-delete-file-list, file-cache-delete-file-regexp)
696 (file-cache-delete-directory): Print an message.
697
eef97f35
JB
6982012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
699
700 * calc/calc-forms.el (math-date-to-dt): Use integer date when
701 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
702
913c8291
GM
7032012-11-18 Glenn Morris <rgm@gnu.org>
704
705 * image.el (insert-image, insert-sliced-image): Doc fix.
706
2ac9538d 7072012-11-18 Chong Yidong <cyd@gnu.org>
ec6f8ce6
CY
708
709 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
710 (Bug#12810).
711
2ac9538d 7122012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
c2d07557
CY
713
714 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
715 response when the target file is in a subdirectory (Bug#12757).
716
2ac9538d 7172012-11-18 Chong Yidong <cyd@gnu.org>
33f8917c
CY
718
719 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
720
2ac9538d 7212012-11-18 Glenn Morris <rgm@gnu.org>
65463c40 722
9a5e2ee3
GM
723 * emacs-lisp/cl-lib.el (face-underline-p):
724 Use set-face-underline rather than the alias set-face-underline-p.
725
65463c40 726 * window.el (with-temp-buffer-window): Doc fix.
95f0501e
GM
727 * subr.el (with-output-to-temp-buffer):
728 Add doc xref to with-temp-buffer-window.
65463c40 729
c9ed8e3d
JB
7302012-11-18 Juanma Barranquero <lekktu@gmail.com>
731
732 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
733 * calc/calc.el (math-format-date-cache): Declare.
734
310e60d9
PE
7352012-11-17 Paul Eggert <eggert@cs.ucla.edu>
736
6f6b82d6
PE
737 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
738 It also uses January 1, 1 AD as its day number 1.
310e60d9 739 * calc/calc-forms.el (math-julian-date-beginning)
6f6b82d6 740 (math-julian-date-beginning-int): Implement this.
310e60d9 741
d7fe6352
JB
7422012-11-17 Juanma Barranquero <lekktu@gmail.com>
743
744 * descr-text.el (quail-find-key):
745 * dired.el (desktop-file-name):
746 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
747 * generic-x.el (comint-mode, comint-exec):
748 * image-dired.el (widget-forward):
749 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
750 (speedbar-change-expand-button-char)
751 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
752 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
753 * printing.el (easy-menu-add-item, easy-menu-remove-item)
754 (widget-field-action, widget-value-set):
755 * speedbar.el (imenu--make-index-alist):
756 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
757 (ring-length, ring-insert):
758 * vcursor.el (compare-windows-skip-whitespace):
759 * woman.el (dired-get-filename):
760 Declare functions.
761
762 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
763
c9f618db
JB
7642012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
765
766 * calc/calc.el (calc-gregorian-switch): New variable.
767
768 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
769 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
770 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
771 (math-leap-year-p): Add option to distinguish between Julian
772 and Gregorian calendars.
773 (math-day-number): Use `math-day-in-year' to do the computations.
774 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
775 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
776 to do the computations.
777 (math-date-to-dt): Use `math-date-to-julian-dt' and
778 `math-date-to-gregorian-dt' to do the computations.
779 (calcFunc-weekday, math-format-date-part): Use the new version of
780 the DATE to determine the weekday.
781 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
782 when necessary.
783
3804f7bc
EZ
7842012-11-17 Eli Zaretskii <eliz@gnu.org>
785
786 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
787 Cygwin; otherwise use 'file:'. (Bug#12914)
788 (cygwin-convert-path-from-windows): Declare, to avoid
789 byte-compiler warnings.
790
de959d4d
AP
7912012-11-17 Andreas Politz <politza@fh-trier.de>
792
793 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
794 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
795 prefix and negative numeric prefix args (Bug#12795).
796
e45deaef
SB
7972012-11-17 Stephen Berman <stephen.berman@gmx.net>
798
799 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
800 Don't signal an error with a score that is too low to add to the
801 list of top scores. (Bug#12779)
802
ec15e0ff
CY
8032012-11-17 Chong Yidong <cyd@gnu.org>
804
8e7696a1
CY
805 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
806
ec15e0ff
CY
807 * filecache.el (file-cache-add-file): Handle relative file name in
808 the argument (Bug#12694).
809
60c4ee66
JH
8102012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
811
812 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
813
cdc5d88c
SM
8142012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
815
dd0c5bbb
SM
816 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
817
cdc5d88c
SM
818 * emacs-lisp/cl-lib.el: Set more meaningful version number.
819
0ff7851c
MR
8202012-11-16 Martin Rudalics <rudalics@gmx.at>
821
822 * window.el (enlarge-window, shrink-window): Don't mention return
823 value in doc-string (Bug#12896).
824 (window--display-buffer): Don't resize frames - it won't work
825 with all window managers and defeat pop-up-frame-alist.
826 (display-buffer-alist): In doc-string explain that CONDITION can
827 be a function and which arguments are passed to it (Bug#12854).
828 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
829 expressions (Bug#12854).
830 (display-buffer): Pass ACTION argument to
831 display-buffer-assq-regexp.
832
dedd1884
GM
8332012-11-16 Glenn Morris <rgm@gnu.org>
834
7c82753d
GM
835 * window.el (fit-frame-to-buffer-bottom-margin)
836 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
837
dedd1884
GM
838 * faces.el (face-underline-p): Use face-attribute-specified-or.
839
96e05507 8402012-11-16 Juanma Barranquero <lekktu@gmail.com>
662b0ee6
JB
841
842 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
843
96e05507 8442012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
eb31fa40
SM
845
846 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
847
96e05507 8482012-11-16 Glenn Morris <rgm@gnu.org>
e2e13f18 849
17c083ac
GM
850 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
851 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
852
bde3c6c0
GM
853 * faces.el (face-underline-p): Doc fix. Handle :underline being
854 things other than `t' (a string, a list).
855 (face-inverse-video-p): Doc fix.
856 (set-face-underline): Rename it back from set-face-underline-p.
857 Doc fix. Allow interactive input of values other than t.
858 (read-face-attribute): Apply formatting to :underline,
859 since like :box and :stipple it can take list values.
860
e2e13f18
GM
861 * term.el (ansi-term): Don't let C-x escape-char binding
862 clobber the more standard C-c binding. (Bug#12842)
863
e0ea8060
GM
864 * subr.el (set-temporary-overlay-map): Doc fix.
865
96e05507 8662012-11-16 Martin Rudalics <rudalics@gmx.at>
92346275
MR
867
868 * window.el (record-window-buffer)
869 (display-buffer-record-window): When copying the markers to
870 window-point preserve window-point-insertion-type. (Bug#12588)
871
96e05507 8722012-11-16 Glenn Morris <rgm@gnu.org>
7b1bf173
GM
873
874 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
875 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
876 Use new names for hooks rather than obsolete aliases.
877
faeafc01
DC
8782012-11-15 Daniel Colascione <dancol@dancol.org>
879
880 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
9533048d
DC
881 prefix instead of "file:" so that when FILE-NAME begins with "//",
882 as it does when the target file is on a network share, url-handler
883 isn't confused.
884
1232d6c2
SM
8852012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
886
887 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
888 a preactivated advice from an old advice.el; they're not compatible!
889
47f01a8a
KY
8902012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
891
892 * emacs-lisp/nadvice.el (advice--make-interactive-form):
893 Fix string-spec case.
894
895 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
896
a61428c4
SM
8972012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
898
899 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
900 (advice--buffer-local-function-sample): New var.
901 (advice--set-buffer-local, advice--buffer-local): New functions.
902 (add-function, remove-function): Use them.
903
875ce3a7
DA
9042012-11-15 Drew Adams <drew.adams@oracle.com>
905
906 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
907
589fc479
SM
9082012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
909
910 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
911 potential binding of print-gensym to t, and prettify (back)quotes in
912 case they appear in args's default values (bug#12884).
913
1668ea90
SM
9142012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
915
916 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
917 (advice-eval-interactive-spec): New function.
918 (advice--make-interactive-form): Support around advice (bug#12844).
919
8619323f
DG
9202012-11-14 Dmitry Gutov <dgutov@yandex.ru>
921
922 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
923 more strict. Add docstring.
c62792e7
DG
924 (ruby-expression-expansion-re): Extract from
925 `ruby-match-expression-expansion'.
926 (ruby-syntax-propertize-function): After everything else, search
927 for expansions in string literals, mark their insides as
928 whitespace syntax and save match data for font-lock.
929 (ruby-font-lock-keywords): Use the 2nd group from expression
930 expansion matches.
931 (ruby-match-expression-expansion): Use the match data saved to the
932 text property in ruby-syntax-propertize-function.
8619323f 933
9c3912d3
SM
9342012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
935
936 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
937 (bug#12879).
938
5e9419e8
DG
9392012-11-13 Dmitry Gutov <dgutov@yandex.ru>
940
941 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
942 start/end keyword a bit harder. Works with different values of N.
943 Add more comments.
944 (ruby-end-of-block): Update accordingly.
945
3c442f8b
SM
9462012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
947
fa470af0
SM
948 * woman.el (woman-file-name): Don't mess with unread-command-events
949 (bug#12861).
950
3c442f8b
SM
951 * emacs-lisp/advice.el: Layer on top of nadvice.el.
952 Remove out of date self-require hack.
953 (ad-do-advised-functions): Use simple `dolist'.
954 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
955 (ad-advice-definition): Redefine as functions.
956 (ad-advice-classes): Move before first use.
957 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
fa470af0 958 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
3c442f8b 959 (ad--defalias-fset): Remove functions.
fa470af0 960 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
3c442f8b
SM
961 (ad-get-orig-definition): Rewrite.
962 (ad-make-advised-definition-docstring): Change base docstring.
963 (ad-real-orig-definition): Rewrite.
964 (ad-map-arglists): Change name of called function.
965 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
966 (ad-make-advised-definition): Simplify.
967 (ad-assemble-advised-definition): Tweak for new calling context.
fa470af0 968 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
3c442f8b
SM
969 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
970 function and call ad-activate if needed.
971 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
972 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
973 (ad-compile-function): Compile ad-Advice-*.
974 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
975 (ad-start-advice, ad-stop-advice): Remove.
976
5745cae6
DG
9772012-11-13 Dmitry Gutov <dgutov@yandex.ru>
978
979 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
980 period before class method names, not after. Remove handling of
981 one impossible case. Add comments.
982
413d4689
SM
9832012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
984
7db1bda8
SM
985 * emacs-lisp/advice.el: Remove support for freezing.
986 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
987 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
988 Remove support for `freeze'.
989
413d4689
SM
990 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
991 override the default.
992 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
993 cl--dotimes/dolist.
994 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
995 `cl' is loaded.
996
997 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
998 from add-advice.
999 (advice--strip-macro): New function.
1000 (advice--defalias-fset): Use them to handle macros.
1001 (advice-add): Use them.
1002 (advice-member-p): Correctly handle macros.
1003
f178c32d
DG
10042012-11-13 Dmitry Gutov <dgutov@yandex.ru>
1005
7db1bda8
SM
1006 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1007 Never font-lock the beginning of singleton class as heredoc.
f178c32d 1008
f78ee6af 10092012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
f8705f6e
SM
1010
1011 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
1012
f78ee6af 10132012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
9db94175
WJ
1014
1015 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
f78ee6af
GM
1016 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
1017 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
9db94175 1018
f78ee6af 10192012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
2e6625b5
FEG
1020
1021 Fix end-of-defun misbehavior.
1022 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
1023 python-beginning-of-defun-function. Handle nested defuns
1024 correctly.
1025 (python-nav-end-of-defun): Rename from
1026 python-end-of-defun-function. Ensure forward movement.
f8705f6e 1027 (python-info-current-defun): Reimplement to work as intended
2e6625b5
FEG
1028 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
1029 parent defuns as soon as possible.
1030
f78ee6af 10312012-11-13 Glenn Morris <rgm@gnu.org>
24c38527
GM
1032
1033 * progmodes/flymake.el (flymake-error-bitmap)
1034 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
1035 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
1036
f78ee6af 10372012-11-13 Dmitry Gutov <dgutov@yandex.ru>
d1e1e53d
DG
1038
1039 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
1040 backward, always stop at indentation. Reverts the change from
1041 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
1042
f78ee6af 10432012-11-13 Glenn Morris <rgm@gnu.org>
68146aa5 1044
a1d3e07e
GM
1045 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
1046 Add ibuffer-filter-by-derived-mode.
1047
84acf328
GM
1048 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
1049 the same name shadowing each other.
1050
38785e75
GM
1051 * window.el (with-temp-buffer-window): Doc tweak.
1052
57fc0fee
GM
1053 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
1054
6ba6a3e5
GM
1055 * help.el (temp-buffer-max-height):
1056 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
68146aa5
GM
1057 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
1058
231d8498
SM
10592012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
1060
1061 * emacs-lisp/nadvice.el: New package.
1062 * subr.el (special-form-p): New function.
1063 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
1064 (elp-all-instrumented-list): Remove var.
1065 (elp-not-profilable): Remove elp-wrapper.
1066 (elp-profilable-p): Use autoloadp and special-form-p.
1067 (elp--advice-name): New const.
1068 (elp-instrument-function): Use advice-add.
1069 (elp--instrumented-p): New predicate.
1070 (elp-restore-function): Use advice-remove.
1071 (elp-restore-all, elp-reset-all): Use mapatoms.
1072 (elp-set-master): Use elp--instrumented-p.
1073 (elp--make-wrapper): Rename from elp-wrapper, return a function
1074 suitable for advice-add. Use cl-inf.
1075 (elp-results): Use mapatoms+elp--instrumented-p.
1076 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
1077 (debug-function-list): Remove var.
1078 (debug): Rename arg, and then let-bind it explicitly inside.
1079 (debugger-setup-buffer): Rename arg.
1080 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
1081 (debugger-frame-number): Adjust to new debug-on-entry setup.
1082 (debug--implement-debug-on-entry): Rename from
1083 implement-debug-on-entry, add argument.
1084 (debugger-special-form-p): Remove, use special-form-p instead.
1085 (debug-on-entry): Use advice-add.
1086 (debug--function-list): New function.
1087 (cancel-debug-on-entry): Use it, along with advice-remove.
1088 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
1089 (debugger-list-functions): Use debug--function-list instead of
1090 debug-function-list.
1091 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
1092 (ad-special-form-p): Remove, use special-form-p instead.
1093 (ad-set-advice-info): Use add-function and remove-function.
1094 (ad--defalias-fset): Adjust accordingly.
1095
19e09879
GM
10962012-11-10 Glenn Morris <rgm@gnu.org>
1097
714cebd1
GM
1098 * mail/emacsbug.el (report-emacs-bug-tracker-url)
1099 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
1100 (report-emacs-bug-create-existing-bugs-buffer)
1101 (report-emacs-bug-parse-query-results)
1102 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
1103
bf67dafa
GM
1104 * term.el (term-default-fg-color, term-default-bg-color):
1105 Make obsolete, rather than just saying "deprecated" in the doc.
1106
19e09879
GM
1107 * term.el (term): Rename from `term-face'.
1108 (term-current-face, ansi-term-color-vector)
1109 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
1110 Update all users.
1111
6baf66d5 11122012-11-10 Jan Djärv <jan.h.d@swipnet.se>
531bdce6
JD
1113
1114 * server.el (server-create-window-system-frame): Handle Nextstep
1115 specially (Bug#12780).
1116
6baf66d5 11172012-11-10 Glenn Morris <rgm@gnu.org>
fedb154e
GM
1118
1119 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
1120 Unautoload, and make obsolete. (Bug#7449)
1121
6baf66d5 11222012-11-10 Chong Yidong <cyd@gnu.org>
9d9e48d9
CY
1123
1124 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
1125 rename from diff-remove-trailing-whitespace (Bug#12831).
1126
6baf66d5 11272012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
32170f7f
SM
1128
1129 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
1130 miscompilation of trace.el.
1131
6baf66d5 11322012-11-10 Glenn Morris <rgm@gnu.org>
26f59676
GM
1133
1134 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
1135
6baf66d5 11362012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
41626722
SM
1137
1138 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
1139 (bug#12812).
1140
6baf66d5 11412012-11-10 Chong Yidong <cyd@gnu.org>
7d806bfe
CY
1142
1143 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
1144 a defcustom with an appropriate :set function.
1145 (minibuffer-default--in-prompt-regexps): New function.
1146
6baf66d5 11472012-11-10 Glenn Morris <rgm@gnu.org>
2ee1d59f 1148
031b2ea7
GM
1149 * emacs-lisp/cl.el (define-setf-expander, defsetf)
1150 (define-modify-macro): Doc fixes.
1151
2ee1d59f
GM
1152 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
1153 (gv-define-simple-setter): Update doc of `fix-return'.
1154
6baf66d5 11552012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
d57c286e 1156
b715ed44
SM
1157 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
1158 twice when `fix-return' is set (bug#12813).
1159
d57c286e
SM
1160 * emacs-lisp/cl.el (defsetf): Pass the third arg to
1161 gv-define-simple-setter (bug#12812).
1162
c9cac599
SM
1163 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
1164 (bug#12756).
1165
6baf66d5 11662012-11-10 Glenn Morris <rgm@gnu.org>
6b3770fb
GM
1167
1168 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
1169
5593ed90
GM
1170 * emacs-lisp/cl-extra.el (cl-prettyexpand):
1171 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
1172 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
1173 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
1174
1175 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
1176
05a859c1
LL
11772012-11-10 Leo Liu <sdl.web@gmail.com>
1178
1179 * ido.el (ido-set-matches-1): Improve flex matching performance by
1180 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
1181
32e5c58c
SM
11822012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
1183
1184 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
1185 (ad--defalias-fset): New function.
1186 (ad-safe-fset): Remove.
1187 (ad-make-freeze-definition): Use cl-letf*.
1188
f5925cd9
SM
11892012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
1190
da03ef8a
SM
1191 * subr.el (dolist): Don't bind VAR in RESULT.
1192
6858633a
SM
1193 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
1194 (fset, documentation): Don't save real def since we don't advise.
1195 (ad-do-advised-functions): Remove problematic `result-form'.
1196 (ad-safe-fset): `ad-real-fset' => `fset'.
1197 (ad-read-advised-function): Don't assume that ad-do-advised-functions
1198 uses CL's dolist internally.
1199 (ad-arglist): Remove unused arg `name'.
1200 (ad-docstring, ad-make-advised-docstring):
1201 `ad-real-documentation' => `documentation'.
1202 (warning-suppress-types): Declare.
1203 (ad-set-arguments): Simple CSE.
1204 (ad-recover-normality): Sanity check.
1205
f5925cd9
SM
1206 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
1207 (funcall '(lambda ..) ..) into ((lambda ..) ..).
1208
93a66b3a
VB
12092012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
1210
1211 * ses.el: symbol to coordinate mapping is made by symbol property
f5925cd9
SM
1212 `ses-cell'. This means that the same mapping is done for all SES
1213 sheets. That is good enough for cells with standard A1 names, but
1214 not for named cell. So a hash map is added for the latter.
1215 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
93a66b3a
VB
1216 (ses-sym-rowcol): Use hashmap for named cell.
1217 (ses-is-cell-sym-p): New defun.
1218 (ses-decode-cell-symbol): New defun.
f5925cd9
SM
1219 (ses-create-cell-variable): Add cell to hashmap when name is not
1220 A1-like.
93a66b3a
VB
1221 (ses-rename-cell): Check that cell new name is not already in
1222 spreadsheet with the use of ses-is-cell-sym-p
1223 (ses-rename-cell): Use hash map for named cells, but accept also
1224 renaming back to A1-like.
1225
67dd8ad1
SM
12262012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
1227
57618ecf
SM
1228 * emacs-lisp/advice.el: Use new dynamic docstrings.
1229 (ad-make-advised-definition-docstring, ad-advised-definition-p):
1230 Use dynamic-docstring-function instead of ad-advice-info.
1231 (ad--make-advised-docstring): New function extracted from
1232 ad-make-advised-docstring.
1233 (ad-make-advised-docstring): Use it.
1234 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
1235 from sql-help.
1236 (sql-help): Use it with dynamic-docstring-function.
1237
67dd8ad1
SM
1238 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
1239
be883b34
SM
12402012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1241
d41706aa
SM
1242 * files.el (hack-one-local-variable--obsolete): New function.
1243 (hack-one-local-variable): Use it for obsolete settings.
1244
85e55412
SM
1245 * subr.el (locate-user-emacs-file): If both old and new name exist, use
1246 the new name.
1247
be883b34
SM
1248 * progmodes/js.el (js--filling-paragraph): New var.
1249 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
1250 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
1251 less sneaky.
1252
cabc040a
JD
12532012-11-08 Julien Danjou <julien@danjou.info>
1254
1255 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
1256 `auto-mode-alist' (Bug#12835).
1257
d14bb752
SM
12582012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1259
79b3e376
SM
1260 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
1261 (perl--prettify-symbols-alist): New const.
1262 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
1263 New functions.
1264 (perl-font-lock-keywords-2): Use them.
1265 (perl-electric-noindent-p): New function.
1266 (perl-mode): Use it to set up electric-indent-mode.
1267 (perl-electric-terminator, perl-indent-command): Mark obsolete.
1268 (perl-mode-map): Remove bindings for them.
1269 (perl-imenu-generic-expression, perl-outline-level):
1270 Match functions&packages in column>0.
1271
3b11e6ac
SM
1272 * env.el (env--substitute-vars-regexp): New const.
1273 (substitute-env-vars): Use it. Add `only-defined' arg.
1274 * net/tramp.el (tramp-replace-environment-variables): Use it.
1275
784c1a7b
SM
1276 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
1277 Byte-compile *before* eval in eval-and-compile.
1278 (byte-compile-log-warning): Remove redundant inhibit-read-only.
1279 (byte-compile-file-form-autoload): Don't hide actual definition.
1280 (byte-compile-maybe-guarded): Accept `functionp' as well.
1281
d14bb752
SM
1282 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
1283
499a0f7a
MA
12842012-11-07 Michael Albinus <michael.albinus@gmx.de>
1285
1286 * notifications.el (notifications-get-server-information-method):
1287 New defconst.
1288 (notifications-get-capabilities): Fix docstring.
1289 (notifications-get-server-information): New defun.
1290
f0704a9a
AM
12912012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1292
1293 * textmodes/ispell.el (ispell-region): Standard re-indent for better
1294 readability.
1295
b159a1fd
AM
1296 * textmodes/ispell.el: Experimental support for support debugging.
1297 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
1298 buffer for ispell.
1299 (ispell-print-if-debug): New function to print stuff to
1300 `ispell-debug-buffer' if debugging is enabled.
1301 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
1302 show some debugging info.
1303 (ispell-buffer-with-debug): New function that creates a debugging
1304 buffer and calls `ispell-buffer' with debugging enabled.
1305
056cb3a1
AM
1306 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
1307 comment in autoconf mode. (Bug#12768)
1308
8e6a67b7
DA
13092012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
1310
1311 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
1312 frame-first-window, frame-root-window, frame-selected-window,
1313 minibuffer-selected-window, minibuffer-window,
1314 window-absolute-pixel-edges, window-at, window-body-height,
1315 window-body-width, window-display-table, window-combination-limit,
1316 window-frame, window-fringes, window-inside-absolute-pixel-edges,
1317 window-inside-edges, window-inside-pixel-edges, window-left-child,
1318 window-left-column, window-margins, window-next-buffers,
1319 window-next-sibling, window-new-normal, window-new-total,
1320 window-normal-size, window-parameter, window-parameters, window-parent,
1321 window-pixel-edges, window-point, window-prev-buffers,
1322 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
1323 window-start, window-text-height, window-top-child, window-top-line,
1324 window-total-height, window-total-width and window-use-time to the list
1325 of functions without side-effects.
1326 (toplevel): Add window-valid-p to the list of error-free functions
1327 without side-effects.
1328
53fc914f
AM
13292012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1330
f5925cd9
SM
1331 * textmodes/ispell.el (ispell-program-name):
1332 Update spellchecker parameters when customized.
53fc914f 1333
9749e2b0
GM
13342012-11-04 Glenn Morris <rgm@gnu.org>
1335
1336 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
1337
2cbafa56
CY
13382012-11-04 Chong Yidong <cyd@gnu.org>
1339
1340 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
1341 same-window-* variables.
1342
85178ca1
JL
13432012-11-04 Juri Linkov <juri@jurta.org>
1344
1345 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
1346 (isearch-describe-key, isearch-describe-mode): Use a display
1347 action instead of binding same-window-* variables (Bug#10040).
1348
5c677d44
GM
13492012-11-03 Glenn Morris <rgm@gnu.org>
1350
49138400
GM
1351 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
1352 Rename handler properties back from cl-- to cl-. (Bug#12788)
1353
5c677d44
GM
1354 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
1355
1d4341f9
EZ
13562012-11-03 Eli Zaretskii <eliz@gnu.org>
1357
1358 * term/pc-win.el: Don't load term/internal from here.
1359
1360 * loadup.el: Load term/internal from here.
1361
12fd5ee1
FEG
13622012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
1363
1364 * progmodes/python.el (inferior-python-mode): Fix hang in
1365 jit-lock (Bug#12645).
1366
43bcfda6
MR
13672012-11-03 Martin Rudalics <rudalics@gmx.at>
1368
1369 * window.el (switch-to-visible-buffer)
1370 (switch-to-buffer-preserve-window-point): Fix doc-strings.
1371
376a8e83
GM
13722012-11-03 Glenn Morris <rgm@gnu.org>
1373
1374 * emacs-lisp/cl-lib.el (cl--random-time):
1375 Rename from cl-random-time. (Bug#12773)
1376 (cl--gensym-counter, cl--random-state): Update callers.
1377 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
1378
0f7b074f
CY
13792012-11-03 Chong Yidong <cyd@gnu.org>
1380
1381 * cus-start.el: Make cursor-type customizable (Bug#11633).
1382
3a6851d9
GM
13832012-11-02 Glenn Morris <rgm@gnu.org>
1384
00a3b041
GM
1385 * filecache.el: No need to load find-lisp when compiling.
1386 (find-lisp-find-files): Autoload it.
1387 (file-cache-add-directory-recursively): Don't require find-lisp.
1388
11fef14a
GM
1389 * image.el (image-type-from-file-name): Trivial simplification.
1390
3a6851d9
GM
1391 * emacs-lisp/bytecomp.el (byte-compile-eval):
1392 Decouple "noruntime" and "cl-functions" warnings.
1393
b4b096e4
SB
13942012-11-01 Stephen Berman <stephen.berman@gmx.net>
1395
1396 * play/gomoku.el (gomoku-display-statistics): Update mode line
1397 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
1398
218e997a
MR
13992012-10-31 Martin Rudalics <rudalics@gmx.at>
1400
1401 * window.el (quit-restore-window): If the window has been
1402 created on an existing frame and ended up as the sole window on
1403 that frame, do not delete it (Bug#12764).
1404
b08b6da7
SM
14052012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
1406
3618df45
SM
1407 * progmodes/sh-script.el (sh--inside-noncommand-expression):
1408 Rename from sh--inside-arithmetic-expression, handle more cases
1409 (bug#11263).
1410
b08b6da7
SM
1411 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
1412 (sh-font-lock-open-heredoc): Use it (bug#12770).
1413
4ddedf94
GM
14142012-10-30 Glenn Morris <rgm@gnu.org>
1415
f43a5263
GM
1416 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
1417
4ddedf94
GM
1418 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
1419
748b0d84
CY
14202012-10-29 Chong Yidong <cyd@gnu.org>
1421
b5dd9a77
CY
1422 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
1423 function key is stored in a keyboard macro (Bug#4894).
1424
748b0d84
CY
1425 * thingatpt.el (number-at-point): Apply a thing-at-point property.
1426
e07fcbdc
SM
14272012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1428
d7f9cc85
SM
1429 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
1430 header comments".
1431 (diff-unified->context, diff-context->unified)
1432 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
1433
c606253c
SM
1434 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
1435
e07fcbdc
SM
1436 * files.el (find-alternate-file): Only ask one question (bug#12487).
1437
894b9dd9
CY
14382012-10-29 Chong Yidong <cyd@gnu.org>
1439
1dc2755a
CY
1440 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
1441 Suggested by Dan Nicolaescu (Bug#6326).
1442
329c48d8
CY
1443 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
1444
2230fa5b 1445 * startup.el (fancy-about-screen): Don't message (Bug#12680).
5c2f2631 1446
e84cad57
CY
1447 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
1448
1913c5f5
CY
1449 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
1450
894b9dd9
CY
1451 * face-remap.el (face-remap-add-relative): Handle the case where a
1452 face-remapping-alist entry is a cons cell (Bug#12762).
1453
329c48d8
CY
14542012-10-29 Kevin Ryde <user42@zip.com.au>
1455
1456 * woman.el (woman-parse-numeric-value): Handle picas correctly
1457 (Bug#12639).
1458
a0ccbcbd
GM
14592012-10-29 Glenn Morris <rgm@gnu.org>
1460
1461 * emacs-lisp/cl.el (defsetf): Doc fix.
1462
b3871e59
SM
14632012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1464
1465 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
1466 syntax to the matching opener, if any (bug#12547).
1467 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
1468 matching open as a "case-(".
1469 (sh-smie-rc-grammar): Add a corresponding rule for it.
1470
cd44022c
DH
14712012-10-28 Daniel Hackney <dan@haxney.org>
1472
1473 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
1474 "PKGNAME-autoloads.el" in case we created it.
1475
70edffb1
SM
14762012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
1477
86957a0c
SM
1478 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
1479 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
b9383404 1480 (completion--twq-all): Disable too-strict assertions.
86957a0c 1481
70edffb1
SM
1482 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
1483
d069271c
EZ
14842012-10-27 Eli Zaretskii <eliz@gnu.org>
1485
1486 * profiler.el (profiler-report-make-entry-part): Fix help-echo
1487 text to match the real keybindings.
1488
e2f022a3
JL
14892012-10-27 Juri Linkov <juri@jurta.org>
1490
1491 * wdired.el (wdired-keep-marker-rename): New defcustom.
1492 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
1493 (Bug#11795)
1494
1495 * dired.el (dired-keep-marker-rename): Add reference to
1496 `wdired-keep-marker-rename' in the docstring.
1497 Add default character value ?R to display initially in
1498 Customization UI instead of ?@.
1499
df171c23
MR
15002012-10-27 Martin Rudalics <rudalics@gmx.at>
1501
1502 * window.el (display-buffer): In doc-string describe
1503 window-height and window-width alist entries.
1504
1505 * time.el (display-time-world): Restore fit-window-to-buffer
1506 behavior.
1507
05b621a6
CY
15082012-10-27 Chong Yidong <cyd@gnu.org>
1509
1510 * subr.el (insert-buffer-substring-as-yank): Doc fix.
1511
55f197b2
J
15122012-10-26 Jambunathan K <kjambunathan@gmail.com>
1513
1514 * minibuffer.el (completion-category-overrides): New completion
1515 category `bookmark' (bug#11131).
1516
372212df
SM
15172012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
1518
150f809c
SM
1519 * emacs-lisp/advice.el (ad-assemble-advised-definition):
1520 Silence bogus compiler warnings for ad-do-it.
1521
372212df
SM
1522 * bookmark.el (bookmark-completing-read): Set the completion category
1523 to `bookmark' (bug#11131).
1524
c5772569
B
15252012-10-26 Bastien <bzg@altern.org>
1526 Stefan Monnier <monnier@iro.umontreal.ca>
1527
1528 * face-remap.el: Use lexical-binding.
1529 (text-scale-adjust): Improve docstring. Use itself for the temporary
1530 overlay-map bindings, so as to repeat the "Use..." message each time.
1531
a2be0357
SM
15322012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
1533
63314e57
SM
1534 * emacs-lisp/macroexp.el (macroexp--expand-all):
1535 Obey byte-compile-warning-enabled-p (bug#12486).
1536
a2be0357
SM
1537 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
1538 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
1539
8c7727c3
MR
15402012-10-26 Martin Rudalics <rudalics@gmx.at>
1541
1542 * mouse.el (mouse-drag-line): Move last form into preceding when
1543 clause (Bug#12731).
1544
1545 * help.el (resize-temp-buffer-window): Fix doc-string.
1546
3f2a848d
DE
15472012-10-25 David Engster <deng@randomsample.de>
1548
1549 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
a2be0357 1550 Remove. This feature is already integrated in imenu.
3f2a848d
DE
1551
1552 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
1553 always loaded. Require `speedbar' unconditionally.
1554
a7723be6
SM
15552012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1556
aaabfc8b
SM
1557 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
1558
414a8595
SM
1559 * minibuffer.el (minibuffer-force-complete): Fix thinko.
1560
fb5b9475
SM
1561 * net/ldap.el (ldap-search-internal): The official ldif format starts
1562 with a "version: 1" header (bug#12724).
1563
a7723be6
SM
1564 * emacs-lisp/package.el (package-installed-p): Warn if not ready
1565 (bug#12721).
1566
a05cb6e3
GM
15672012-10-25 Glenn Morris <rgm@gnu.org>
1568
1569 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
1570
3c92de70
SM
15712012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1572
1573 * minibuffer.el (minibuffer-force-complete): Use one more marker
1574 for the temporary-overlay-map command (bug#12619).
1575
a4b6d7c6
CY
15762012-10-24 Chong Yidong <cyd@gnu.org>
1577
1578 * time.el (display-time-world-mode): Derive from special-mode.
1579 (display-time-world): Use display-buffer (Bug#12708).
1580 (display-time-world-mode-map): Variable deleted.
9321d8d7
CY
1581 (display-time-world-display): Wrap the final delete-char inside
1582 inhibit-read-only.
a4b6d7c6 1583
75e8f9d2
CY
15842012-10-24 Chong Yidong <cyd@gnu.org>
1585
cd996018
CY
1586 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
1587 Doc fix.
1588
75e8f9d2
CY
1589 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
1590
d92df117
SM
15912012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1592
1593 * minibuffer.el (completion--all-sorted-completions-location): New var.
1594 (completion--cache-all-sorted-completions)
1595 (completion--flush-all-sorted-completions): Use it.
1596 (completion-in-region, completion-in-region--postch)
1597 (completion-at-point, completion-help-at-point): Use markers in
1598 completion-in-region--data (bug#12619).
1599
9c3e39f3
SM
16002012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1601
c79825bd
SM
1602 * progmodes/compile.el (compilation-start): Try to handle common
1603 quoting of `cd' argument (bug#12640).
1604
9c3e39f3
SM
1605 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
1606 (bug#12671).
1607
a6709bc7
GM
16082012-10-23 Glenn Morris <rgm@gnu.org>
1609
1610 * progmodes/gud.el (gud-menu-map):
1611 Check gdb-active-process is bound. (Bug#12358)
1612
d1069532
SM
16132012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1614
d20d69c0
SM
1615 * repeat.el (repeat): Set real-this-command (bug#12232).
1616
d1069532
SM
1617 * htmlfontify.el (hfy-post-html-hook):
1618 * filesets.el (filesets-cache-fill-content-hook):
1619 * arc-mode.el (archive-extract-hook):
1620 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
1621 * net/rcirc.el (rcirc-sentinel-functions)
1622 (rcirc-receive-message-functions, rcirc-activity-functions)
1623 (rcirc-print-functions):
1624 * net/dbus.el (dbus-event-error-functions):
1625 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
1626 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
1627 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
1628 * term/sun.el (sun-raw-prefix-hooks):
1629 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
1630
f7eac6d8
MA
16312012-10-23 Michael Albinus <michael.albinus@gmx.de>
1632
d1069532
SM
1633 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
1634 Set `tramp-chunksize' to 1. This improves the performance.
f7eac6d8
MA
1635 (tramp-smb-wait-for-output): Add timeout to
1636 `tramp-accept-process-output' calls.
1637
608d9d7c
CY
16382012-10-23 Chong Yidong <cyd@gnu.org>
1639
49238e7f
CY
1640 * faces.el (font-list-limit): Define as an obsolete variable.
1641
1642 * startup.el (command-line):
1643 * cus-start.el: Don't refer to font-list-limit.
1644
608d9d7c
CY
1645 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
1646
4ff5b1b2
SM
16472012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1648
1649 * subr.el (internal-temp-output-buffer-show): Rename from
1650 temp-output-buffer-show, since previously compiled files expect this name.
1651
ea1d4aac
GM
16522012-10-23 Glenn Morris <rgm@gnu.org>
1653
1654 * image.el (image-type-from-file-name): If multiple types match,
1655 return the first one that is supported. (Bug#9045)
1656
eda82a31
GM
16572012-10-22 Glenn Morris <rgm@gnu.org>
1658
1659 * image.el (imagemagick-enabled-types): Doc fix.
1660
4f020bec
TA
16612012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
1662
1663 * progmodes/which-func.el (which-func-current): The hash-table may have
1664 an explicit nil (bug#12338).
1665
c77d37e2
SM
16662012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
1667
1668 * electric.el (electric-pair-delete-selection-self-insert-function):
1669 Rename to electric-pair-will-use-region, return a boolean.
1670 (electric-pair-mode): Adjust accordingly. Don't require delsel.
1671
1672 * delsel.el (delete-selection-helper): Use a function instead of a hook.
1673 (delete-selection-pre-hook): Use use-region-p.
1674 (delete-selection-self-insert-function): Remove.
1675 (self-insert-command): Obey self-insert-uses-region-functions.
1676 (self-insert-iso): Revert to previous setting, since we don't actually
1677 know what that command does.
1678 (delete-selection-self-insert-hooks): Remove.
1679
b1d39ccc
SL
16802012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
1681
1682 * delsel.el (delete-selection-helper): New function, extracted from
1683 delete-selection-pre-hook.
1684 (delete-selection-pre-hook): Use it.
1685 (delete-selection-self-insert-function): New function.
1686 (delete-selection-self-insert-hooks): New hook.
1687 (self-insert-command, self-insert-iso): Use it.
1688 * electric.el (electric-pair-syntax): New function, extracted from
1689 electric-pair-post-self-insert-function.
1690 (electric-pair-post-self-insert-function): Use it.
1691 (electric-pair-delete-selection-self-insert-function): New function.
1692 (electric-pair-mode): Require delsel and setup
1693 delete-selection-self-insert-hooks (bug#11520).
1694
045ef729
CY
16952012-10-20 Chong Yidong <cyd@gnu.org>
1696
4c5d08a8
CY
1697 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
1698 no changes to show (Bug#12586).
1699
045ef729
CY
1700 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
1701 list explicitly (Bug#12571).
1702
3503c798 17032012-10-20 Arne Jørgensen <arne@arnested.dk>
79e1997a 1704
b1d39ccc
SL
1705 * progmodes/flymake.el (flymake-create-temp-inplace):
1706 Use file-truename.
79e1997a 1707
2068905b
EZ
17082012-10-20 Eli Zaretskii <eliz@gnu.org>
1709
1710 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
1711
4c9e9550
JB
17122012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
1713
1714 * calc/calc-units.el (math-extract-units): Properly extract powers
1715 of units.
1716
1a6e7e38
DC
17172012-10-20 Daniel Colascione <dancol@dancol.org>
1718
1719 * frame.el (make-frame): Set x-display-name as we used to in order
1720 to unbreak creating an X11 frame from an Emacs daemon started
1721 without a display.
1722
8e808318
SM
17232012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
1724
1725 * minibuffer.el (minibuffer-force-complete): Make the next completion use
f5925cd9 1726 the same completion-field (bug#12221).
8e808318 1727
fb0104da
MR
17282012-10-19 Martin Rudalics <rudalics@gmx.at>
1729
1730 * emacs-lisp/debug.el (debug): Record height of debugger window
1731 also when debugger will be back (Bug#8789).
1732
8c27235e
CY
17332012-10-18 Chong Yidong <cyd@gnu.org>
1734
1735 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
1736 Convert to defcustom.
1737 (gdb-get-source-file): Don't bind pop-up-windows.
1738
1739 * progmodes/gud.el (gud-display-line): Don't specially re-use
1740 other frames for the gdb-mi case (Bug#12648).
1741
90eacf99
SM
17422012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
1743
aaf0c300
SM
1744 * emacs-lisp/advice.el: Clean up commentary a bit.
1745 (ad-do-advised-functions, ad-with-originals): Use `declare'.
1746 (byte-code-function-p): Never redefine.
1747
90eacf99
SM
1748 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
1749
281c9d2b
GM
17502012-10-18 Glenn Morris <rgm@gnu.org>
1751
40714e3d
GM
1752 * dired.el (dired-sort-toggle): Some ls implementations only allow
1753 a single option string. (Bug#12666)
1754
281c9d2b
GM
1755 * minibuffer.el (completion-cycle-threshold): Doc fix.
1756
b278604e
KH
17572012-10-17 Kenichi Handa <handa@gnu.org>
1758
90eacf99
SM
1759 * international/mule.el (set-keyboard-coding-system):
1760 Recover input meta mode when the new coding system doesn not use 8-bit.
b278604e
KH
1761 Supply TERMINAL arg to set-input-meta-mode.
1762
df171c23 17632012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
7ebc5f5a
MH
1764
1765 * wdired.el (wdired-old-marks): New variable.
1766 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
1767 (wdired-do-renames): Move point with renamed file and don't lose
1768 mark status (Bug#11795).
1769
e5a94ec4
JL
17702012-10-16 Juri Linkov <juri@jurta.org>
1771
1772 * replace.el (query-replace-help): Mention multi-buffer replacement
1773 keys in the Help message. (Bug#12655)
1774
d18a0d24
CY
17752012-10-15 Chong Yidong <cyd@gnu.org>
1776
1777 * emacs-lisp/byte-run.el (defsubst): Doc fix.
1778
8111f5e6
EZ
17792012-10-14 Eli Zaretskii <eliz@gnu.org>
1780
7b9abf24
EZ
1781 * window.el (display-buffer): Doc fix.
1782
8111f5e6
EZ
1783 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1784 Adjust the msft regexp to the output of Studio 2010, and move msft
1785 before edg-1. See the discussion on emacs-devel,
1786 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
1787 for the details.
1788
5046ef67
SM
17892012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
1790
9760c73c
SM
1791 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
1792 (oset): Move uses of object-class-fast macro after its definition.
1793
5046ef67
SM
1794 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
1795
0d11ff1c
CY
17962012-10-13 Chong Yidong <cyd@gnu.org>
1797
1798 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
1799 enabled, re-enable it (Bug#11963).
1800
88ded8ac
MR
18012012-10-13 Martin Rudalics <rudalics@gmx.at>
1802
1803 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
1804 non-nil, restore window configuration (Bug#12623).
1805
bd0ffffd
SM
18062012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
1807
06485aa8
SM
1808 * help-fns.el (describe-variable, describe-function-1):
1809 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
1810
bd0ffffd
SM
1811 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
1812
3a989246
GM
18132012-10-12 Glenn Morris <rgm@gnu.org>
1814
1815 * mail/rmailsum.el (rmail-header-summary):
1816 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
1817
55cd00c8
FEG
18182012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
1819
bd0ffffd
SM
1820 * progmodes/python.el (python-mode-map):
1821 Replace subtitute-key-definition with proper command remapping.
55cd00c8
FEG
1822 (python-nav--up-list): Fix behavior for blocks on the same level.
1823
ac9fc2c7
SM
18242012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
1825
d8cc4c00 1826 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
d8cc4c00 1827
5253a5fd
SM
1828 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
1829 changes to the format of load-history.
1830
ac9fc2c7
SM
1831 * international/mule-cmds.el (read-char-by-name): Move let-binding of
1832 completion-ignore-case in case that var is buffer-local (bug#12615).
1833
cde44a77
KH
18342012-10-11 Kenichi Handa <handa@gnu.org>
1835
1836 * international/eucjp-ms.el: Re-generated.
1837
4ef4a10d
KH
18382012-10-10 Kenichi Handa <handa@gnu.org>
1839
1840 * select.el (xselect--encode-string): If a coding is specified for
1841 selection, and that is compatible with COMPOUND_TEXT, use it.
1842
9d7f027b
MR
18432012-10-10 Martin Rudalics <rudalics@gmx.at>
1844
1845 * window.el (switch-to-buffer-preserve-window-point): New option.
ac9fc2c7
SM
1846 (switch-to-buffer):
1847 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
9d7f027b 1848
238f3a58
SM
18492012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
1850
1851 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
1852 Don't document nil as a useful value (bug#12583).
1853
1d51f99c
MA
18542012-10-09 Michael Albinus <michael.albinus@gmx.de>
1855
238f3a58
SM
1856 * net/tramp.el (tramp-debug-message):
1857 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
1d51f99c
MA
1858 (with-tramp-progress-reporter): Rename from
1859 `tramp-with-progress-reporter'.
238f3a58
SM
1860 (with-tramp-file-property, with-tramp-connection-property):
1861 Move from tramp-cache.el, rename from `with-file-property' and
1d51f99c
MA
1862 `with-connection-property', respectively.
1863
1864 * net/tramp-cache.el: Remove `with-file-property' and
1865 `with-connection-property'.
1866
1867 * net/tramp.el:
1868 * net/tramp-gvfs.el:
1869 * net/tramp-sh.el:
1870 * net/tramp-smb.el: Adapt callees.
1871
1872 * net/trampver.el: Update release number.
1873
26b77251
GM
18742012-10-09 Glenn Morris <rgm@gnu.org>
1875
9a5f296f
GM
1876 * w32-fns.el (set-message-beep):
1877 * term/w32-win.el (set-message-beep): Update declarations.
1878
94c66ce5
SM
18792012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
1880
10766e9e
SM
1881 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
1882 (mode-line-widen, mode-line-input-method-map)
1883 (mode-line-coding-system-map, mode-line-remote)
1884 (mode-line-unbury-buffer, mode-line-bury-buffer)
1885 (mode-line-next-buffer, mode-line-previous-buffer):
1886 Replace save-selected-window+select-window => with-selected-window.
1887
f754db08
SM
1888 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
1889 * progmodes/cc-vars.el (bq-process): Remove, unused.
1890
94c66ce5
SM
1891 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
1892
a4ff7fe1
FEG
18932012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
1894
1895 Implemented `backward-up-list'-like navigation.
1896 * progmodes/python.el (python-nav-up-list)
1897 (python-nav-backward-up-list): New functions.
1898 (python-mode-map): Define substitute key for backward-up-list to
1899 python-nav-backward-up-list.
1900
24517d82
FEG
19012012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
1902
1903 * progmodes/python.el (python-fill-paragraph): Rename from
1904 python-fill-paragraph-function. Fixed fill-paragraph for
1905 decorators (Bug#12605).
1906
51867ae2
FEG
19072012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
1908
1909 * progmodes/python.el (python-shell-output-filter): Handle extra
1910 carriage return in OSX (Bug#12409).
1911
a5b773c4
FEG
19122012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
1913
1914 Fix shell handling of unbalanced quotes and parens in output.
94c66ce5 1915 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
a5b773c4
FEG
1916 (python-syntax-propertize-function): Use it.
1917 (python-shell-output-syntax-table): New var.
1918 (inferior-python-mode): Prevent unbalanced parens/quotes from
1919 previous output mess with current input context.
1920
13373538
JB
19212012-10-08 Juanma Barranquero <lekktu@gmail.com>
1922
1923 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
1924 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
1925
775a132d
MA
19262012-10-08 Michael Albinus <michael.albinus@gmx.de>
1927
1928 * ffap.el (ffap-replace-file-component): Support Tramp file name
1929 syntax, not only ange-ftp's one.
1930
3ab44929
GM
19312012-10-08 Glenn Morris <rgm@gnu.org>
1932
57f1dee4
GM
1933 * cus-start.el (message-log-max): Set :version.
1934
3ab44929
GM
1935 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
1936
6a088630
MR
19372012-10-08 Martin Rudalics <rudalics@gmx.at>
1938
1939 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
1940 the minibuffer window (Bug#10851).
1941
8dbce54c
FEG
19422012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
1943
1944 Enhancements on forward-sexp movement.
1945 * progmodes/python.el (python-nav-beginning-of-statement)
1946 (python-nav-end-of-statement): Return point-marker.
1947 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
1948 (python-info-current-symbol)
1949 (python-info-statement-starts-block-p): Rename from
1950 python-info-beginning-of-block-p.
1951 (python-info-statement-ends-block-p): Rename from
1952 python-info-end-of-block-p.
1953 (python-info-beginning-of-statement-p)
1954 (python-info-end-of-statement-p)
1955 (python-info-beginning-of-block-p, python-info-end-of-block-p):
1956 New functions.
1957
5acd2b3e
SM
19582012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1959
1960 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
1961 frame-selected-windows.
1962
e08348a0
DC
19632012-10-08 Daniel Colascione <dancol@dancol.org>
1964
1965 * battery.el (battery-status-function): Check for
1966 w32-battery-status itself, not system-time windows-nt.
1967
1968 * frame.el: Require cl-lib.
1969 (display-format-alist): New variable mapping frame types to
1970 functions that initialize them.
1971 (window-system-for-display): New function: interprets
1972 display-format-alist.
1973 (make-frame-on-display): Remove existing display-selection logic
1974 and just forward to make-frame, which will now DTRT.
1975 (make-frame): Restructure to use window-system-for-display to
1976 figure out how to create a frame on a given display.
1977 (display-mouse-p): Look for frame-type w32, not a particular
1978 system-type.
1979
1980 * loadup.el: Load w32 lisp code when we have the w32 feature.
1981
1982 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
1983 system-type windows-nt.
1984
1985 * server.el (server-create-window-system-frame): Look for window
1986 type.
1987 (server-proces-filter): Only force a window system when windows-nt
1988 _and_ w32. Explain why.
1989
1990 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
1991 of window systems we configure for the mode.
1992
1993 * startup.el (command-line): Mark window system is initialized
1994 after we've done it.
1995
1996 * common-win.el (x-select-text): Look for w32, not windows-nt.
1997
1998 * ns-win.el: Require cl-lib. Add ourselves to
1999 display-format-alist.
2000 (ns-initialize-window-system): Assert we're not initialized twice.
2001
2002 * w32-win.el: Enable lexical binding; require cl-lib; add
2003 ourselves to display-format-alist.
2004 (w32-handle-dropped-file): Convert incoming dropped files from
2005 Windows paths to Cygwin ones before passing them on to the rest of
2006 Emacs.
2007 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
2008 (w32-initialize-window-system): Assert we're not initialized twice.
2009
2010 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
2011 (x-initialize-window-system): Assert we're not initialized twice.
2012
2013 * w32-common-fns.el: New File.
2014 (w32-version, w32-using-nt, w32-get-clipboard-data)
2015 (w32-set-clipboard-data, x-set-selection, x-get-selection)
2016 (w32-charset-info-alist, x-last-selected, text)
2017 (x-get-selection-value, x-selection-value): Move here.
2018
2019 * w32-fns.el: Require w32-common-fns.
2020 (w32-version, w32-using-nt, w32-get-clipboard-data)
2021 (w32-set-clipboard-data, x-set-selection, x-get-selection)
2022 (w32-charset-info-alist, x-last-selected, text)
2023 (x-get-selection-value, x-selection-value): Move to
2024 w32-common-fns.
2025
2026 * w32-vars.el:
2027 (w32-allow-system-shell, w32-system-shells): Define only in
2028 non-cygwin case.
2029
795b1482
SM
20302012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2031
2032 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
2033 (read-passwd): Remove a few more potential sources of leaks.
2034
f27c99dc
FEG
20352012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
2036
2037 * progmodes/python.el (inferior-python-mode)
795b1482 2038 (python-shell-make-comint): Fix initialization of local
f27c99dc
FEG
2039 variables copied from parent buffer.
2040
fcacb558
JD
20412012-10-07 Jan Djärv <jan.h.d@swipnet.se>
2042
2043 * term/ns-win.el (ns-read-file-name): Update declaration to match
2044 nsfns.m.
2045 (ns-respond-to-change-font): Change fontsize separatly so we are sure
2046 it is set when font is acted upon.
2047
be0d5bae
FEG
20482012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
2049
2050 Enhancements to indentation.
2051 * progmodes/python.el (python-indent-context): Give priority to
2052 inside-string context. Make comments indentation markers.
2053 (python-indent-region): Do not mess with strings, unless it's the
2054 enclosing set of quotes.
2055
13af0d10
SM
20562012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2057
662a9d0e
SM
2058 * window.el (internal--before-save-selected-window)
2059 (internal--after-save-selected-window): New functions extracted from
2060 save-selected-window. Make sure we return the `alist' we construct.
2061 (save-selected-window): Use them.
2062
2063 * textmodes/tex-mode.el (tex-recenter-output-buffer):
2064 Use with-selected-window.
2065
13af0d10
SM
2066 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
2067 forms that define macros (bug#12593).
2068
6aa75fb6
KH
20692012-10-07 Kenichi Handa <handa@gnu.org>
2070
13af0d10
SM
2071 * international/mule-conf.el (compound-text-with-extensions):
2072 Add :mime-charset property as x-ctext.
6aa75fb6 2073
78d876b9
SM
20742012-10-07 Stefan Merten <smerten@oekonux.de>
2075
2076 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
2077 (rst-indent-literal-normal, rst-indent-literal-minimized)
2078 (rst-indent-comment): Correct :version tag.
557337e9 2079 (rst-official-cvs-rev): Correct version string.
78d876b9 2080
99a1e701
GM
20812012-10-07 Glenn Morris <rgm@gnu.org>
2082
2083 * mail/rmailmm.el (rmail-mime-process-multipart):
2084 Do not confuse a multipart message with an epilogue
2085 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
2086
08f18c3d
FEG
20872012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
2088
2089 Fix shell output retrieval and comint-prompt-regexp init.
2090 * progmodes/python.el (inferior-python-mode):
2091 (python-shell-make-comint): Fix initialization of
2092 comint-prompt-regexp from copied file local variables.
2093 (python-shell-fetched-lines): Remove var.
2094 (python-shell-output-filter-in-progress): Rename from
2095 python-shell-fetch-lines-in-progress.
2096 (python-shell-output-filter-buffer): Rename from
2097 python-shell-fetch-lines-string.
2098 (python-shell-fetch-lines-filter): Delete function.
2099 (python-shell-output-filter): New function.
2100 (python-shell-send-string-no-output): Use them.
2101
82ed3ab4
GM
21022012-10-07 Glenn Morris <rgm@gnu.org>
2103
1595ecfa
GM
2104 * hi-lock.el (hi-lock-process-phrase):
2105 Try to make it less fragile. (Bug#7161)
2106
82ed3ab4
GM
2107 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
2108
f1f4dba0
GM
21092012-10-06 Glenn Morris <rgm@gnu.org>
2110
addc11ed 2111 * ehelp.el (electric-help-mode): Use help-mode rather than
32939005
GM
2112 non-existent mode `help'.
2113 (electric-help-map): Use button-buffer-map. (Bug#10917)
addc11ed 2114
460042b8
GM
2115 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
2116 (reftex-create-bibtex-footer): Fix custom types.
2117
67667c70
GM
2118 * progmodes/sh-script.el (sh-indent-after-continuation):
2119 Add explicit :group.
2120
18dec750
GM
2121 * textmodes/rst.el (rst-preferred-decorations)
2122 (rst-shift-basic-offset): Clarify obsolescence versions.
2123
d1a1c7e6
GM
2124 * profiler.el (profiler): Add missing group :version tag.
2125 * avoid.el (mouse-avoidance-banish-position):
2126 * proced.el (proced-renice-command):
2127 * calc/calc.el (calc-ensure-consistent-units):
2128 * calendar/icalendar.el (icalendar-import-format-uid):
2129 * net/tramp.el (tramp-save-ad-hoc-proxies):
2130 * progmodes/bug-reference.el (bug-reference-bug-regexp):
2131 * progmodes/flymake.el (flymake-error-bitmap)
2132 (flymake-warning-bitmap, flymake-fringe-indicator-position):
2133 * progmodes/sh-script.el (sh-indent-after-continuation):
2134 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
2135 (verilog-before-save-font-hook, verilog-after-save-font-hook):
2136 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
2137 (vhdl-array-index-record-field-in-sensitivity-list)
2138 (vhdl-indent-comment-like-next-code-line):
2139 * textmodes/reftex-vars.el (reftex-ref-style-alist)
2140 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
2141 (reftex-cite-key-separator, reftex-create-bibtex-header)
2142 (reftex-create-bibtex-footer):
2143 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
2144 (rst-indent-literal-normal, rst-indent-literal-minimized)
2145 (rst-indent-comment): Add missing custom :version tags.
2146
ef35abb4
GM
2147 * calendar/timeclock.el (timeclock-modeline-display):
2148 Add missing obsolete alias for renamed user option.
2149
d1aae614
GM
2150 * strokes.el (strokes-modeline-string):
2151 * emulation/crisp.el (crisp-mode-modeline-string):
2152 * eshell/esh-mode.el (eshell-status-in-modeline):
2153 Aliases to defcustoms must come before the defcustom.
2154
f1f4dba0
GM
2155 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
2156 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
2157 (cal-tex-cursor-week-monday): Doc fixes.
2158 (cal-tex-cursor-week2-summary): Doc fix.
2159 Rename from cal-tex-cursor-week-at-a-glance.
2160
2161 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
2162 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
2163
2164 * calendar/calendar.el (calendar-mode-map):
2165 Add cal-tex-cursor-week2-summary.
2166
d39109c3
SM
21672012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
2168
685f87b0
SM
2169 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
2170
d39109c3
SM
2171 * subr.el (read-passwd-map): New var.
2172 (read-passwd): Use `read-string' again.
2173 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
2174
5694896d
J
21752012-10-06 Jambunathan K <kjambunathan@gmail.com>
2176
2177 * register.el (append-to-register, prepend-to-register):
2178 Deactivate mark, as does `copy-to-register' (bug#12389).
2179
9414dd8d
CY
21802012-10-06 Chong Yidong <cyd@gnu.org>
2181
2182 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
2183
2b89bca4
KH
21842012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
2185
2186 * international/characters.el: Fix simple mistake ((car chars) ->
2187 elt), delete duplicated code.
2188
d5acb99a
GM
21892012-10-06 Glenn Morris <rgm@gnu.org>
2190
2191 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
2192
123ec157
JS
21932012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
2194
2195 * color.el (color-hsl-to-rgb): Fix incorrect results for
2196 small and large hue values. (Bug#12559)
2197
7fa36ccb
FEG
21982012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
2199
2200 Enhancements to docstring formatting when filling paragraphs.
2201 * progmodes/python.el (python-fill-docstring-style): Rename from
2202 python-fill-string-style. Added new style.
2203 (python-fill-string): Use new style. Better checks for
2204 docstrings.
2205
d8788e1e
GM
22062012-10-05 Glenn Morris <rgm@gnu.org>
2207
204f3953
GM
2208 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
2209
d8788e1e
GM
2210 * color.el (color-name-to-rgb, color-rgb-to-hex)
2211 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
2212 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
2213 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
2214 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
2215
8d956cef
GM
2216 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
2217
e8757f09 22182012-10-05 Juanma Barranquero <lekktu@gmail.com>
ea9a3563
JB
2219
2220 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
2221 to get the correct size across symlinks.
2222
e8757f09
GM
2223 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
2224
0e2ae83d
JL
22252012-10-04 Juri Linkov <juri@jurta.org>
2226
2227 * replace.el (query-replace-interactive): Declare obsolete.
2228 (query-replace-read-from): Add the last incremental search string
2229 to the list of default values accessible via M-n.
2230 (map-query-replace-regexp): Use `read-regexp'.
2231 (query-replace, query-replace-regexp, query-replace-regexp-eval)
2232 (map-query-replace-regexp, replace-string, replace-regexp):
2233 Fix docstrings to replace mentions of `query-replace-interactive'
2234 with alternatives. (Bug#12526)
2235
93cacb6d
JL
22362012-10-04 Juri Linkov <juri@jurta.org>
2237
2238 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
2239 (dired-pop-to-buffer): Declare obsolete.
2240 (dired-mark-pop-up): Doc fix.
2241
fc345011
FEG
22422012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
2243
2244 Allow user to set docstring style for fill-paragraph.
2245 * progmodes/python.el
2246 (python-fill-comment-function, python-fill-string-function)
2247 (python-fill-decorator-function, python-fill-paren-function):
2248 Remove :safe for defcustoms.
2249 (python-fill-string-style): New defcustom
5694896d 2250 (python-fill-paragraph-function): Enhance context detection.
fc345011
FEG
2251 (python-fill-string): Honor python-fill-string-style settings.
2252
6bab5d8b
MR
22532012-10-04 Martin Rudalics <rudalics@gmx.at>
2254
2255 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
2256 after setting its buffer (Bug#10805).
2257
a1a9f411
FEG
22582012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
2259
2260 Fix cornercase for string syntax.
2261 * progmodes/python.el (python-syntax-propertize-function):
2262 Simplify and enhance the regexp for unescaped quotes. Now it also
2263 matches quotes in weird situations like the single quote in
2264 "something\"'".
2265 (python-syntax-stringify): Simplify num-quotes detecting code.
2266
05e153a6
GM
22672012-10-03 Glenn Morris <rgm@gnu.org>
2268
2269 * help-macro.el (three-step-help):
2270 Revert 2012-09-29 change. (Bug#12567)
2271
2e566ecb
MR
22722012-10-03 Martin Rudalics <rudalics@gmx.at>
2273
96ef9ccd
MR
2274 * menu-bar.el (kill-this-buffer): Don't do anything when
2275 `menu-frame' is not alive or visible (Bug#8184).
2276
2e566ecb
MR
2277 * emacs-lisp/debug.el (debug): When quitting the debugger window
2278 restore current buffer (Bug#12502).
2279
a96e1cb7
CY
22802012-10-02 Chong Yidong <cyd@gnu.org>
2281
5694896d
J
2282 * progmodes/hideif.el (hif-lookup, hif-defined):
2283 Handle semantic-c-takeover-hideif.
a96e1cb7 2284
b3ecad33
PE
22852012-10-02 Paul Eggert <eggert@cs.ucla.edu>
2286
2287 Change sampling interval units from ms to ns.
2288 * profiler.el (profiler-sampling-interval): Change units
2289 from ms to ns, multiplying the default by 1000000 so that
2290 it remains 1 ms.
2291 (profiler-report-cpu-line-format): Give enough room for
2292 the maximum counters on 64-bit hosts.
2293 (profiler-report-render-calltree-1): Call them "CPU samples",
2294 not "Time (ms)", since they are not milliseconds now (and
2295 never really were).
2296
8cb51b66 22972012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
c623f81a 2298
5694896d
J
2299 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
2300 Fix querying BBDB for entries without a last name (Bug#11580).
c623f81a 2301
fd795bf4
CY
23022012-10-02 Chong Yidong <cyd@gnu.org>
2303
2304 * emacs-lisp/eieio.el: Restore Version header.
2305
fe0a74f9
SM
23062012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
2307
6be9197e
SM
2308 * vc/diff-mode.el (diff--auto-refine-data): New var.
2309 (diff-hunk): Use it to delay refinement.
2310 (diff-mode): Remove overlays when we turn off font-lock.
2311
18486139
SM
2312 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
2313 (table-initialize-table-fixed-width-mode)
2314 (table-set-table-fixed-width-mode): Remove functions.
2315 (table-command-list): Move initialization into declaration.
2316 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
2317 (table-with-cache-buffer): Use `declare'.
2318 (table-span-cell): Simplify via CSE.
2319 (table-fixed-width-mode): Use define-minor-mode.
2320 (table-call-interactively, table-funcall, table-apply): Remove.
2321 (table-function): New function, to replace them.
2322
d83ef976
SM
2323 * bookmark.el (bookmark-search-pattern): Remove var.
2324 (bookmark-read-search-input): Remove function.
2325 (bookmark-bmenu-search): Reimplement using a minibuffer.
2326
cd386662
SM
2327 * faces.el (modeline): Remove obsolete face name.
2328
fe0a74f9
SM
2329 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
2330 and give a non-nil default value.
2331 (add-change-log-entry): Simplify accordingly.
2332
9f7b98f8
DG
23332012-10-01 Dmitry Gutov <dgutov@yandex.ru>
2334
2335 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
2336 (vc-git-log-edit-toggle-amend): New function.
2337 (vc-git-log-edit-toggle-signoff): New function.
2338 (vc-git-log-edit-mode): New major mode.
2339 (vc-git-log-edit-mode-map): Keymap for it.
2340 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
2341
2342 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
2343 header names.
2344 (log-edit-toggle-header): New function.
2345 (log-edit-extract-headers): Accept function values in HEADERS alist.
2346
62a81506
CY
23472012-10-01 David Engster <deng@randomsample.de>
2348
2349 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
2350 from symbol property and change message to be more consistent with
2351 Emacs proper.
2352 (eieio-describe-generic): Add filename for each implementation.
2353 Fix indices for generic and normal methods.
2354 (eieio-method-def, eieio-class-def): New buttons.
2355 (eieio-help-find-method-definition)
2356 (eieio-help-find-class-definition): New functions.
2357 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
2358 class, constructor and method definitions.
2359
2360 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
2361 information in symbol property.
2362 (scoped-class): Remove.
2363 (eieio-slot-name-index, call-next-method): Check if it is bound.
2364
23652012-10-01 Leo P. White <lpw25@cam.ac.uk>
2366
2367 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
2368 (eieio-custom-mode): New major mode.
2369 (eieio-customize-object): Use it.
2370
23712012-10-01 Eric Ludlam <zappo@gnu.org>
2372
2373 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
2374 specifying the expected class, and whether subclassing is allowed.
2375 (eieio-persistent-convert-list-to-object):
1f9f395d
JB
2376 (eieio-persistent-validate/fix-slot-value)
2377 (eieio-persistent-slot-type-is-class-p): New functions.
2378 (eieio-named::slot-missing): Doc fix.
62a81506
CY
2379
2380 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
2381 Stop using unused publd variable.
2382
2383 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
2384 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
2385 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
2386 (eieio-speedbar-handle-click): Do not specify a class for the
2387 method. Fixes method invocation order problems with EDE.
2388
375e49d4
SM
23892012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
2390
2391 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
2392 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
2393
16ce6ccd
KF
23942012-10-01 Karl Fogel <kfogel@red-bean.com>
2395
2396 * bookmark.el (bookmark-version-control): Give tags in the
2397 :type choices (Bug#12309), and improve doc string.
e4c4abdd
KF
2398 (bookmark-write-file): Bind `print-circle' to `t' to allow
2399 circular custom bookmark types. (Bug#12503)
16ce6ccd 2400
19e54a4d
PE
24012012-10-01 Paul Eggert <eggert@cs.ucla.edu>
2402
86ec63ba
PE
2403 Revert the FOLLOW-SYMLINKS change for file-attributes.
2404 * files.el (remote-file-name-inhibit-cache, after-find-file):
2405 * time.el (display-time-file-nonempty-p): Undo last change.
2406
19e54a4d
PE
2407 * profiler.el (profiler-sampling-interval): Change default back to 1.
2408 See Stefan Monnier in
2409 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
2410
0478776b
FEG
24112012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
2412
2413 Shell output catching a la gud-gdb.
2414 * progmodes/python.el (python-shell-fetch-lines-in-progress)
375e49d4
SM
2415 (python-shell-fetch-lines-string, python-shell-fetched-lines):
2416 New Vars.
0478776b
FEG
2417 (python-shell-fetch-lines-filter): New function.
2418 (python-shell-send-string-no-output): Use them.
2419
c22bac2c
TM
24202012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
2421
2422 * profiler.el (profiler-sampling-interval): Rename from
2423 profiler-sample-interval.
2424 (profiler-sampling-interval): Default to 10.
2425 (profiler-find-profile): New command (was profiler-find-log).
2426 (profiler-find-profile-other-window): New command.
2427 (profiler-find-profile-other-frame): New command.
2428 (profiler-profile): Introduce API-level data structure.
2429
e7a2937b
PE
24302012-09-30 Paul Eggert <eggert@cs.ucla.edu>
2431
2432 file-attributes has a new optional arg FOLLOW-SYMLINKS.
2433 * files.el (remote-file-name-inhibit-cache):
2434 * time.el (display-time-file-nonempty-p): Use it.
2435 * files.el (after-find-file): Don't chase links before calling
2436 file-exists-p, as file-exists-p already does the right thing.
2437
4f595e15
RA
24382012-09-30 Ralf Angeli <angeli@caeruleus.net>
2439
2440 Merge from standalone RefTeX repository.
2441
2442 The following ChangeLog entries are shortened versions of the
2443 original ones with file paths adapted. A not so strongly edited
2444 version of the original ChangeLog can be found in the commit log.
2445
2446 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
375e49d4
SM
2447 (reftex-arg-cite): Use `reftex-cite-key-separator'.
2448 Correctly handle new value type returned by `reftex-citation'.
4f595e15
RA
2449
2450 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
375e49d4
SM
2451 that entries with whitespace at various places are found.
2452 Doc fix. Include entries that are cross-referenced from cited entries.
4f595e15
RA
2453 Include @String definitions in the resulting bib file. Add header
2454 and footer defined in `reftex-create-bibtex-header' and
2455 `reftex-create-bibtex-footer'.
2456 (reftex-do-citation): Make it possible again to insert
2457 non-existent entries. Save match data when asking for optional
2458 arguments. Return all keys, not just the first one.
2459 (reftex-all-used-citation-keys): Fix regexp to correctly extract
2460 all citations in the same line.
2461 (reftex-parse-bibtex-entry): Accept additional optional argument
2462 `raw' and keep quotes or braces if it is non-nil. Match fields
2463 containing hyphens besides word constituents.
2464 (reftex-get-string-refs): New function.
2465 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
2466 and ask if it should be reread in case it did.
2467 (reftex-pop-to-bibtex-entry)
2468 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
2469 entries with spaces or tabs in front of arguments.
2470 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
375e49d4
SM
2471 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
2472 Match entries containing numbers and symbol constituents.
2473 (reftex-do-citation, reftex-figure-out-cite-format):
2474 Use `reftex-cite-key-separator'.
4f595e15
RA
2475
2476 * textmodes/reftex-dcr.el: Move provide statement to end of file.
2477 (reftex-mouse-view-crossref): Explain why point is set.
2478
2479 * textmodes/reftex-global.el: Whitespace changes.
2480
2481 * textmodes/reftex-index.el: Move provide statement to end of
2482 file.
2483 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
2484 (reftex-index-visit-phrases-buffer): Set marker when visiting
2485 buffer. This allows for returning from the phrases file to the
2486 file one was just editing instead of the file where the last
2487 phrases was added from.
2488 (reftex-index-phrases-syntax-table): New variable. Give ?\"
2489 punctuation syntax as it usually is not used as string quote in
2490 TeX-related modes and may occur unmatched. The change also
2491 prevents fontification of quoted content.
2492 (reftex-index-phrases-mode): Use it.
2493
375e49d4
SM
2494 * textmodes/reftex-parse.el (reftex-parse-from-file):
2495 Move backward one char if a `\' was matched after a section macro.
4f595e15
RA
2496 (reftex-parse-from-file): Use beginning of match instead of end as
2497 bound.
2498
2499 * textmodes/reftex-ref.el: Adapt creation of
2500 `reftex-<package>-<macro>' functions to new structure of
2501 `reftex-ref-style-alist'.
375e49d4
SM
2502 (reftex-reference): Use `reftex-ref-style-list' function.
2503 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
4f595e15
RA
2504 reference macro if `reftex-ref-macro-prompt' is non-nil.
2505 (reftex-reference): Pass refstyle to `reftex-format-special'.
2506 Determine reference macro by looking at
375e49d4
SM
2507 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
2508 Use only one special format function.
4f595e15
RA
2509 (reftex-varioref-vref, reftex-fancyref-fref)
2510 (reftex-fancyref-Fref): Remove definitions. The functions are now
2511 generated from `reftex-ref-style-alist'.
2512 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
2513 Remove.
2514 (reftex-format-special): New function.
2515
2516 * textmodes/reftex-sel.el
2517 (reftex-select-cycle-ref-style-internal): Adapt to new structure
2518 of `reftex-ref-style-alist'. Remove code for testing macro type.
2519 (reftex-select-toggle-varioref)
2520 (reftex-select-toggle-fancyref): Remove.
2521 (reftex-select-cycle-ref-style-internal)
2522 (reftex-select-cycle-ref-style-forward)
2523 (reftex-select-cycle-ref-style-backward): New functions.
2524 (reftex-select-label-map): Use `v' and `V' for general cycling
2525 through reference styles. Add `p' for switching between number
2526 and page reference types.
2527
375e49d4
SM
2528 * textmodes/reftex-toc.el (reftex-re-enlarge):
2529 Call `enlarge-window' only if there is something to do because in Emacs
4f595e15
RA
2530 the horizontal version throws an error even if the parameter is 0.
2531
2532 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
2533 (reftex-plug-into-AUCTeX): Doc fix.
2534 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
2535 string. Adapt to new name.
2536 (reftex-ref-style-alist): Change structure so that it is not
2537 possible to use multiple different package names within a style.
375e49d4
SM
2538 Remove the symbols for symbols for macro type distinction.
2539 Add characters for macro selection.
4f595e15
RA
2540 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
2541 (reftex-create-bibtex-footer): New variables.
2542 (reftex-format-ref-function): Mention third argument of special
2543 format function.
375e49d4
SM
2544 (reftex-ref-style-alist, reftex-ref-style-default-list):
2545 New variables.
4f595e15
RA
2546 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
2547 to new implementation. Mark as obsolete. Add compatibility code
2548 for honoring the variable values in case they are set.
375e49d4
SM
2549 (reftex-cite-format-builtin, reftex-bibliography-commands):
2550 Add support for ConTeXt.
2551 (reftex-format-ref-function, reftex-format-cite-function):
2552 Fix custom type.
4f595e15
RA
2553 (reftex-cite-key-separator): New variable.
2554
2555 * textmodes/reftex.el (reftex-syntax-table-for-bib)
2556 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
2557 `reftex-syntax-table' because parens have to retain their paren
2558 syntax in order for parsing of BibTeX entries like @book(...) to
2559 work.
2560 (reftex-in-comment): Do not error out if `comment-start-skip' is
2561 not set. Deal correctly with escaped comment characters.
375e49d4
SM
2562 (reftex-tie-multifile-symbols): Add doc string.
2563 Initialize `reftex-ref-style-list'.
4f595e15
RA
2564 (reftex-untie-multifile-symbols): Add doc string.
2565 (reftex-add-index-macros): Doc fix.
2566 (reftex-ref-style-activate, reftex-ref-style-toggle)
2567 (reftex-ref-style-list): New functions.
2568 (reftex-mode-menu): Use them. Adapt to new structure of
2569 `reftex-ref-style-alist'.
2570 (reftex-select-with-char): Kill the RefTeX Select buffer when
2571 done.
2572 (reftex-remove-if): New function.
2573 (reftex-erase-all-selection-and-index-buffers)
2574 (reftex-mode-menu): Reference styles are now computed from
2575 `reftex-ref-style-alist'. Fix typo.
2576 (reftex-report-bug): New function.
2577 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
2578 algorithms with O(n log n). Introduce optional argument SORT (not
2579 yet used).
2580
440ba395
FEG
25812012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
2582
2583 Enhancements for triple-quote string syntax.
375e49d4
SM
2584 * progmodes/python.el (python-syntax-propertize-function):
2585 Match both quote cases in one regexp.
440ba395
FEG
2586 (python-syntax-stringify): Handle matches properly.
2587
4c478e6b
JL
25882012-09-30 Juri Linkov <juri@jurta.org>
2589
2590 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
93cacb6d 2591 to nil around the call to `insert' to prevent
4c478e6b
JL
2592 directory time modification by lock_file. (Bug#2295)
2593 * tar-mode.el (tar-summarize-buffer): Idem.
2594
d80d54b2
JL
25952012-09-30 Juri Linkov <juri@jurta.org>
2596
2597 * facemenu.el (list-colors-sort): Add option "Luminance".
2598 (list-colors-sort-key): Implement it.
2599
2600 * vc/diff-mode.el (diff-refine-removed):
2601 * vc/ediff-init.el (ediff-fine-diff-A):
2602 * vc/smerge-mode.el (smerge-refined-removed):
2603 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
2604
d7e642cc
JD
26052012-09-30 Jan Djärv <jan.h.d@swipnet.se>
2606
2607 * term/ns-win.el (x-file-dialog): New function.
2608
ee41332b
JB
26092012-09-30 Juanma Barranquero <lekktu@gmail.com>
2610
2611 * ido.el (ido-max-directory-size): Default to nil; the current
2612 default is small for POSIX systems, and impractical on Windows 7
2613 now that lstat returns directory sizes for NTFS.
2614
5938d519
MR
26152012-09-30 Martin Rudalics <rudalics@gmx.at>
2616
2617 In buffer display functions handle window-height/window-width
2618 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
375e49d4
SM
2619 * window.el (window--display-buffer): New argument ALIST.
2620 Obey window-height and window-width alist entries.
2621 (window--try-to-split-window): New argument ALIST.
2622 Bind window-combination-limit to t when the window's size shall be
5938d519
MR
2623 changed and window-combination-limit equals `window-size'.
2624 (display-buffer-in-atom-window)
2625 (display-buffer-in-major-side-window)
2626 (display-buffer-in-side-window, display-buffer-same-window)
2627 (display-buffer-reuse-window, display-buffer-pop-up-frame)
2628 (display-buffer-pop-up-window, display-buffer-below-selected)
2629 (display-buffer-at-bottom, display-buffer-in-previous-window)
2630 (display-buffer-use-some-window): Adjust all callers of
2631 window--display-buffer and window--try-to-split-window.
2632 (fit-frame-to-buffer): New option.
2633 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
2634 is non-nil.
2635 (display-buffer-in-major-side-window): Evaluate window-height /
2636 window-width alist entries.
2637
2638 * help.el (temp-buffer-resize-frames)
2639 (temp-buffer-resize-regexps): Remove options.
2640 (temp-buffer-resize-mode): Adjust doc-string.
2641 (resize-temp-buffer-window): Don't consult
2642 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
2643 temp-buffer-resize-frames.
2644
375e49d4
SM
2645 * dired.el (dired-mark-pop-up):
2646 Call display-buffer-below-selected with a fit-window-to-buffer alist
5938d519
MR
2647 entry.
2648
c4c0c2df
CY
26492012-09-30 Chong Yidong <cyd@gnu.org>
2650
48de8b12
CY
2651 * server.el (server-host): Document the security implications.
2652 (server-auth-key): Doc fix.
2653
2654 * startup.el (initial-buffer-choice): Doc fix.
2655
2656 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
2657
a97dc380
CY
2658 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
2659 restriction change.
2660
d39d3c8e
CY
2661 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
2662
c4c0c2df
CY
2663 * help-fns.el (help-fns--obsolete): Fix last change.
2664
98a5e33b
SM
26652012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
2666
34cf6f39
SM
2667 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
2668 (minor-mode-map-alist): Remove redundant code.
2669
e01c13fe
SM
2670 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
2671 visited in a buffer.
2672 (cvs-insert-visited-file): New function.
2673 (find-file-hook): Use it.
2674
2675 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
2676
02661b3a
SM
2677 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
2678 chose face.
2679 (log-edit-empty-buffer-p): Don't require a space after a header.
2680
43711d4b
SM
2681 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
2682
38a30d64
SM
2683 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
2684
4ffb41a9
SM
2685 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
2686 a proper minor-mode.
2687
98a5e33b
SM
2688 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
2689
de82e29b
GM
26902012-09-29 Glenn Morris <rgm@gnu.org>
2691
5cc2e639
GM
2692 * winner.el (winner-mode): Remove variable (let define-minor-mode
2693 handle it).
2694 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
2695 Doc fixes.
2696 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
2697 (winner-mode): Use define-minor-mode.
2698
7bd302eb
GM
2699 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
2700 the full definition in loaddefs, rather than duplicating it.
2701
2923922f 2702 * help-macro.el (three-step-help): No need to autoload defcustom.
ced08382 2703
0e3e4156
GM
2704 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
2705 (inferior-lisp-program, inferior-lisp-load-command)
2706 (inferior-lisp-prompt, inferior-lisp-mode-hook):
2923922f 2707 No need to autoload defcustoms.
0e3e4156 2708
de82e29b
GM
2709 * hippie-exp.el (hippie-expand-try-functions-list)
2710 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
2711 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
2712 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
2923922f 2713 (hippie-expand-only-buffers): No need to autoload defcustoms.
de82e29b
GM
2714 * progmodes/vhdl-mode.el (vhdl-line-expand):
2715 Explicitly load hippie-exp, so it does not get autoloaded
2716 while hippie-expand-try-functions-list is let-bound.
2717
e60b51ab
GM
27182012-09-28 Glenn Morris <rgm@gnu.org>
2719
277f0cfa
GM
2720 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
2721
e60b51ab
GM
2722 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
2723 Only "cl.el" counts as cl these days.
2724
53baf48a
JL
27252012-09-28 Juri Linkov <juri@jurta.org>
2726
2727 Display archive errors in the echo area instead of inserting
2728 to the file buffer.
2729
2730 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
2731 to STDERR-TEST that can be a regexp matching a successful output.
2732 Create a temporary file and redirect stderr to it. Search for
2733 STDERR-TEST in the stderr output and display it in the echo area
2734 if no match is found.
2735 (archive-extract-by-file): New function like
2736 `archive-extract-by-stdout' but extracting archives to files
2737 and looking for successful matches in stdout. Function body is
2738 mostly copied from `archive-rar-extract'.
2739 (archive-rar-extract): Use `archive-extract-by-file'.
2740 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
2741
9c1228c3
LL
27422012-09-28 Leo Liu <sdl.web@gmail.com>
2743
375e49d4
SM
2744 * pcomplete.el (pcomplete-show-completions):
2745 Use minibuffer-message to make pcomplete usable in minibuffer.
147c0425 2746
9c1228c3
LL
2747 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
2748
7f457c06
SM
27492012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
2750
3df749b0
SM
2751 * type-break.el: Use lexical-binding.
2752 (type-break-mode): Use define-minor-mode.
2753
7f457c06
SM
2754 * emacs-lisp/pcase.el (pcase--mark-used): New.
2755 (pcase--u1): Use it (bug#12512).
2756
2757 * custom.el (load-theme): Set buffer-file-name so the load is recorded
2758 in load-history with the right file name.
2759
c00ebc98
TH
27602012-09-28 Tassilo Horn <tsdh@gnu.org>
2761
2762 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
2763 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
2764 (doc-view-get-bounding-box): Make bounding box slicing work for
2765 ODF and DVI documents.
2766
96fb7170
GM
27672012-09-28 Glenn Morris <rgm@gnu.org>
2768
2769 * type-break.el (type-break-mode, type-break-interval)
2770 (type-break-good-rest-interval, type-break-keystroke-threshold):
2771 No need to autoload.
2772 (type-break-good-rest-interval, type-break-keystroke-threshold):
2773 Add :set-after.
2774
5bc93c67
CY
27752012-09-28 Chong Yidong <cyd@gnu.org>
2776
2777 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
2778 Add :version tag.
2779
9cad61d6
SM
27802012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
2781
e28e67b3 2782 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
9cad61d6 2783
daee954c
GM
27842012-09-27 Glenn Morris <rgm@gnu.org>
2785
a88324d4
GM
2786 * faces.el (x-display-name): Declare (for without-x builds).
2787
8e5064e5
GM
2788 * linum.el (linum-format): Don't autoload it. Improve :type.
2789
cc1783c2
GM
2790 * progmodes/tcl.el: Don't require outline when compiling.
2791 (outline-regexp, outline-level): Declare.
1dddcf4c
GM
2792 * textmodes/sgml-mode.el: Don't require outline when compiling.
2793 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
2794
48c339f2
GM
2795 * term.el (term-ansi-reset):
2796 Try setting term-ansi-face-already-done to nil. (Bug#11785)
2797
daee954c
GM
2798 * vc/vc.el (vc-next-action): Only gripe about committing read-only
2799 files for RCS and SCCS. (Bug#9781)
2800
b7f42161
CY
28012012-09-27 Chong Yidong <cyd@gnu.org>
2802
2803 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
2804 change; value should be t.
2805
a2e770db
SM
28062012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
2807
83600dc8
SM
2808 * image-mode.el: Use lexical-binding.
2809 (image-mode-winprops): Use t to stand for the window of
2810 a buffer that's not displayed.
2811 * doc-view.el (doc-view-new-window-function): Handle the new
2812 t in winprops.
2813 (doc-view-enlarge): Make it a real nop if the size is not changed.
2814 (doc-view-display): Handle the case where the buffer is not (yet?)
2815 displayed in any window.
2816 (doc-view-saved-settings): New var.
2817 (doc-view-mode): Use it.
2818 (doc-view-fallback-mode): Set it.
2819
a2e770db
SM
2820 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
2821 Set lexical-binding.
2822 (minibuffer-eldef-shorten-default): New var.
2823 (minibuffer-default-in-prompt-regexps): Use it for new default.
2824 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
2825
e3b60857
JB
28262012-09-26 Juanma Barranquero <lekktu@gmail.com>
2827
2828 * international/uni-bidi.el:
2829 * international/uni-category.el:
2830 * international/uni-name.el:
2831 * international/uni-numeric.el: Regenerate.
2832
3a880af4
SM
28332012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
2834 Stefan Monnier <monnier@iro.umontreal.ca>
2835
2836 * profiler.el: New file.
2837
07b1a5fb
SM
28382012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
2839
2840 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
2841 (testcover-reinstrument): Simplify with CSE.
2842
42019c2e
JB
28432012-09-26 Juanma Barranquero <lekktu@gmail.com>
2844
2845 * window.el (temp-buffer-window-setup): Fix typo in docstring.
2846
179f044b
WS
28472012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
2848
2849 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
2850 (verilog-auto-input, verilog-auto-insert-lisp)
2851 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
2852 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
2853 (verilog-auto-unused, verilog-auto-wire)
2854 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
2855 newline. Reported by Andrew Jones.
2856 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
2857 Reported by Brad Dobbie.
07b1a5fb
SM
2858 (verilog-batch-delete-trailing-whitespace):
2859 Create verilog-batch-delete-trailing-whitespace.
2860 Reported by Brad Dobbie.
179f044b
WS
2861 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
2862 parameters from another module. Reported by Dan Katz.
2863 (verilog-auto, verilog-auto-assign-modport)
2864 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
2865 AUTOINOUTMODPORT for UVM interface module shell generation.
2866 Reported by Brad Dobbie.
2867 (verilog-auto-inst-interfaced-ports): Make default nil, as more
2868 standard behavior.
2869 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
2870 Reported by Matt Martin.
2871
9c52dd5a
MR
28722012-09-25 Martin Rudalics <rudalics@gmx.at>
2873
2874 * window.el (window--resize-child-windows): When resizing child
2875 windows proportionally, process them in reverse order to
2876 preserve the "when splitting a window the new one gets the odd
2877 line" behavior.
2878 (window--resize-root-window-vertically): When resizing the
2879 minibuffer window try to affect only windows at the bottom of the
2880 frame. (Bug#12419)
2881
863666eb
CY
28822012-09-25 Chong Yidong <cyd@gnu.org>
2883
2884 * subr.el (declare): Doc fix.
2885
2886 * help-fns.el (help-fns--obsolete): Handle macros properly.
2887
59f7af81
CY
28882012-09-25 Chong Yidong <cyd@gnu.org>
2889
2890 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
2891 this function obsolete.
2892
2893 * calendar/cal-x.el (calendar-two-frame-setup)
2894 (calendar-only-one-frame-setup, calendar-one-frame-setup):
2895 * calendar/calendar.el (american-calendar, european-calendar)
2896 (calendar-for-loop):
2897 * comint.el (comint-dynamic-simple-complete)
2898 (comint-dynamic-complete-as-filename, comint-unquote-filename):
2899 * desktop.el (desktop-load-default):
2900 * dired-x.el (dired-omit-here-always)
2901 (dired-hack-local-variables, dired-default-directory):
2902 * emacs-lisp/derived.el (derived-mode-class):
2903 * emacs-lisp/timer.el (timer-set-time-with-usecs):
2904 * emacs-lock.el (toggle-emacs-lock):
2905 * epa.el (epa-display-verify-result):
2906 * epg.el (epg-sign-keys, epg-start-sign-keys)
2907 (epg-passphrase-callback-function):
2908 * eshell/esh-util.el (eshell-for):
2909 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
2910 (eshell-add-to-window-buffer-names):
2911 * files.el (locate-file-completion):
2912 * imenu.el (imenu-example--create-c-index)
2913 (imenu-example--create-lisp-index)
2914 (imenu-example--lisp-extract-index-name)
2915 (imenu-example--name-and-position):
2916 * international/mule-cmds.el (princ-list):
2917 * international/mule-diag.el (decode-codepage-char):
2918 * international/mule-util.el (detect-coding-with-priority):
2919 * iswitchb.el (iswitchb-read-buffer):
2920 * mail/mailalias.el (mail-complete):
2921 * mail/sendmail.el (mail-sent-via):
2922 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
2923 (mouse-major-mode-menu):
2924 * password-cache.el (password-read-and-add):
2925 * pcomplete.el (pcomplete-parse-comint-arguments):
2926 * progmodes/sh-script.el (sh-maybe-here-document):
2927 * replace.el (query-replace-regexp-eval):
2928 * savehist.el (savehist-load):
2929 * simple.el (choose-completion-delete-max-match):
2930 * term.el (term-dynamic-simple-complete):
2931 * vc/ediff-init.el (ediff-check-version):
2932 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
2933 * vc/vc.el (vc-diff-switches-list):
2934 * view.el (view-return-to-alist-update): Likewise.
2935
2936 * subr.el (eval-next-after-load, makehash, insert-string)
2937 (assoc-ignore-representation, assoc-ignore-case): Use declare to
2938 mark obsolete.
2939 (mode-line-inverse-video): Variable deleted.
2940
2941 * international/mule-util.el (string-to-sequence): Remove.
2942
2943 * calendar/calendar.el (calendar-version):
2944 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
2945 (icalendar-convert-diary-to-ical):
2946 * cus-edit.el (custom-mode):
2947 * ansi-color.el (ansi-color-unfontify-region):
2948 * international/latin1-disp.el (latin1-char-displayable-p):
2949 * progmodes/cwarn.el (turn-on-cwarn-mode):
07b1a5fb
SM
2950 * progmodes/which-func.el (which-func-update-1):
2951 Use define-obsolete-function-alias.
59f7af81
CY
2952
2953 * net/newst-backend.el (newsticker-cache-filename):
07b1a5fb
SM
2954 * net/newst-treeview.el (newsticker-groups-filename):
2955 Fix incorrect obsolescence declaration.
59f7af81
CY
2956
2957 * allout.el (allout-passphrase-hint-string): Likewise.
2958 (allout-init): Use a declare form to mark obsolete.
2959
2960 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
2961 this applies to functions.
2962
2963 * iswitchb.el (iswitchb-read-buffer): Move code of
2964 iswitchb-define-mode-map here, and delete that obsolete function.
2965
2966 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
2967 font-lock-reference-face.
2968
cca96c97
GM
29692012-09-25 Glenn Morris <rgm@gnu.org>
2970
b06eeda8
GM
2971 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
2972 Doc fixes.
2973
cca96c97
GM
2974 * eshell/em-term.el (eshell-term-name):
2975 Default to term-term-name. (Bug#12485)
2976
dc4f818b
FEG
29772012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
2978
cca96c97
GM
2979 * progmodes/python.el (python-shell-send-buffer): Better handling
2980 of "if __name__ == '__main__':" conditionals when sending the buffer.
dc4f818b 2981
289c24bd
GM
29822012-09-24 Glenn Morris <rgm@gnu.org>
2983
2984 * eshell/esh-cmd.el (eshell-find-alias-function):
2985 Tighten up file-name regexp. (Bug#12499)
2986
8fb8b88f
FEG
29872012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
2988
2989 Enhancements for triple-quote string syntax.
2990 * progmodes/python.el (python-quote-syntax): Remove.
2991 (python-syntax-propertize-function): New value.
07b1a5fb
SM
2992 (python-syntax-count-quotes, python-syntax-stringify):
2993 New functions.
8fb8b88f 2994
6c27f0f8
CY
29952012-09-24 Chong Yidong <cyd@gnu.org>
2996
a5f2b6ec
CY
2997 * mail/supercite.el (sc-version): Remove obsolete function.
2998 (sc-describe): Don't mark as obsolete, since it is bound.
2999 (sc-submit-bug-report): Remove.
3000
3001 * vc/log-edit.el (cvs-changelog-full-paragraphs)
3002 (cvs-commit-buffer-require-final-newline): Remove.
0c765e5f
CY
3003 (log-edit-require-final-newline)
3004 (log-edit-changelog-full-paragraphs): Default to t.
a5f2b6ec
CY
3005
3006 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
3007 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
3008 * vc/vc.el (vc-checkout-carefully): Likewise.
3009
3010 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
3011 (emerge-version): Remove.
3012
3013 * progmodes/compile.el (compile-internal): Remove.
3014 (compilation-parse-errors-function): Fix typo.
3015
3016 * international/mule.el (set-char-table-default): Remove.
3017 (set-coding-priority, make-coding-system, generic-char-p)
3018 (charset-list, charset-bytes, charset-id): Use declare to mark
3019 functions as obsolete.
3020
3021 * vc/pcvs-defs.el (cvs-buffer-name-alist)
3022 (cvs-invert-ignore-marks): Remove references to obsolete vars.
3023 * vc/vc-hooks.el (vc-default-registered): Don't use
3024 vc-master-templates.
3025
07b1a5fb
SM
3026 * font-lock.el (font-lock-reference-face):
3027 Use define-obsolete-variable-alias.
6c27f0f8
CY
3028
3029 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
3030 * calendar/calendar.el (calendar-font-lock-keywords):
3031 * calendar/diary-lib.el (diary-font-lock-keywords)
3032 (diary-fancy-font-lock-keywords):
3033 * textmodes/reftex-sel.el (reftex-insert-docstruct):
3034 * textmodes/reftex-index.el (reftex-insert-index):
3035 * textmodes/reftex-cite.el (reftex-format-bib-entry):
3036 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3037 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
3038 * progmodes/prolog.el (prolog-font-lock-keywords):
3039 * progmodes/idlwave.el (idlwave-idl-keywords):
3040 * progmodes/ada-mode.el (ada-font-lock-keywords):
3041 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
3042
bcc0adbf
GM
30432012-09-24 Glenn Morris <rgm@gnu.org>
3044
3045 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
3046
095bb823
FEG
30472012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
3048
3049 * progmodes/python.el (python-indent-line): More consistent cursor
3050 movement behavior.
3051
70efc5c9
SM
30522012-09-23 Stefan Merten <smerten@oekonux.de>
3053
3054 * textmodes/rst.el: Fix compiler warning.
3055
2f438239
RW
30562012-09-23 Roland Winkler <winkler@gnu.org>
3057
07b1a5fb
SM
3058 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
3059 Transcribe also LaTeX hyphenation.
2f438239
RW
3060 (bibtex-reformat): Bug fix. Do not quote twice the elements of
3061 bibtex-reformat-previous-options.
3062
936ad041
RW
30632012-09-23 Roland Winkler <winkler@gnu.org>
3064
3065 * proced.el (proced-renice-command): New variable.
3066 (proced-marked-processes): New function.
3067 (proced-with-processes-buffer): New macro.
3068 (proced-send-signal): Use them.
3069 (proced-renice): New command bound to r.
3070
6fab0274
RW
30712012-09-23 Roland Winkler <winkler@gnu.org>
3072
3073 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
3074 ibuffer-saved-filter-groups has one element, shortcut the call of
3075 completing-read. (Bug#12331)
3076
9a930676
CY
30772012-09-23 Chong Yidong <cyd@gnu.org>
3078
3079 * bindings.el (mode-line-toggle-read-only):
3080 * bs.el (bs-toggle-readonly):
3081 * buff-menu.el (Buffer-menu-toggle-read-only):
3082 * dired.el (dired-toggle-read-only):
3083 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
3084
d07ff9db
CY
30852012-09-23 Chong Yidong <cyd@gnu.org>
3086
3087 * image.el (image-type-available-p): Adapt to init-image-library
3088 argument changes.
3089
51c4474e
JL
30902012-09-22 Juri Linkov <juri@jurta.org>
3091
3092 * dired.el (dired-mode-map): Add [remap read-only-mode] for
3093 `dired-toggle-read-only'. (Bug#12462)
3094
43bf5e8e
MR
30952012-09-22 Martin Rudalics <rudalics@gmx.at>
3096
3097 * subr.el (temp-output-buffer-show): New function.
3098 (with-output-to-temp-buffer): Call temp-output-buffer-show
3099 instead of internal-temp-output-buffer-show.
3100
c88b867f
CY
31012012-09-22 Chong Yidong <cyd@gnu.org>
3102
3df47cd5
CY
3103 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
3104 (Bug#12462).
3105
c88b867f
CY
3106 * repeat.el (repeat): Doc fix (Bug#12348).
3107
3108 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
3109 (Bug#10909).
3110
3111 * simple.el (shell-command-on-region): Doc fix.
3171e303 3112 (read-only-mode): Doc fix.
c88b867f 3113
df9685f3
EZ
31142012-09-22 Eli Zaretskii <eliz@gnu.org>
3115
3116 * emacs-lisp/timer.el (run-with-idle-timer)
3117 (timer-activate-when-idle): Warn against reinvoking an idle timer
3118 from within its own timer action. (Bug#12447)
3119
8e17c9ba
MR
31202012-09-22 Martin Rudalics <rudalics@gmx.at>
3121
3122 * cus-start.el (window-combination-limit): Add new optional
3123 values.
3124 * window.el (temp-buffer-window-show)
3125 (window--try-to-split-window): Handle new values of
3126 window-combination-limit (Bug#1806).
3127 (split-window): Test window-combination-limit for t instead of
3128 non-nil.
3129 (display-buffer-at-bottom): New buffer display action function.
3130 * help.el (temp-buffer-resize-regexps): New option.
3131 (temp-buffer-resize-mode): Rewrite doc-string.
3132 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
bd909927 3133 Don't resize reused window. Suggested by Glenn Morris.
8e17c9ba 3134
48a24920
SM
31352012-09-22 Stefan Merten <smerten@oekonux.de>
3136
70efc5c9 3137 * textmodes/rst.el: Revamp section title faces.
48a24920
SM
3138 (rst-official-version)
3139 (rst-package-emacs-version-alist): Sync with official version
3140 V1.4.0.
3141 (rst-faces-defaults, rst-set-level-default)
3142 (rst-level-face-max, rst-level-face-base-color)
3143 (rst-level-face-base-light, rst-level-face-format-light)
3144 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
3145 (rst-adornment-faces-alist): Match new setup.
3146 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
3147 (rst-level-5, rst-level-6): New faces.
3148
82f8cd94
CY
31492012-09-22 Chong Yidong <cyd@gnu.org>
3150
3151 * simple.el (undo): Handle indirect buffers (Bug#8207).
3152
acfa068f 31532012-09-21 Leo Liu <sdl.web@gmail.com>
a8c14da8
LL
3154
3155 IDO: Disable match re-ordering for buffer switching.
2bc9406c 3156 * ido.el (ido-buffer-disable-smart-matches): New variable.
a8c14da8
LL
3157 (ido-set-matches-1): Use it. (Bug#2042)
3158
acfa068f 31592012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
a316d229
JM
3160
3161 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
3162 Fix 2011-05-17 change. (Bug#12418)
3163
acfa068f 31642012-09-21 Leo Liu <sdl.web@gmail.com>
d02e58f8
LL
3165
3166 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
3167
acfa068f 31682012-09-21 Glenn Morris <rgm@gnu.org>
511fd0b2
GM
3169
3170 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
3171 Be more robust about locating simple.el.
3172
acfa068f 31732012-09-21 Glenn Morris <rgm@gnu.org>
fa05bfe0
GM
3174
3175 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
3176
acfa068f
CY
31772012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
3178
3179 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
3180
41a97e6f
JL
31812012-09-20 Juri Linkov <juri@jurta.org>
3182
eb2deaff
JL
3183 * replace.el (query-replace-read-from): Use `read-regexp' instead
3184 of `read-from-minibuffer' when `regexp-flag' is non-nil.
3185 (occur-read-primary-args): Use `read-regexp' instead of
3186 `read-string'.
3187 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
3188 `read-from-minibuffer'.
3189 * isearch.el (isearch-occur): Use `read-regexp' instead of
3190 `read-string'.
3191 * dired.el (dired-read-regexp): Use `read-regexp' instead of
3192 `read-from-minibuffer'.
3193 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
3194 of `read-string'. (Bug#7567)
3195
5825610b
JL
3196 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
3197 and allow accepting a list of strings prepended to a list of
3198 standard default values. Doc fix. (Bug#12321)
3199
eebbf404
JL
3200 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
3201
41a97e6f
JL
3202 * replace.el (read-regexp): Don't add ": " when PROMPT already
3203 ends with a colon and space. (Bug#12321)
3204
c9e452d3
TH
32052012-09-20 Tassilo Horn <tsdh@gnu.org>
3206
3207 * doc-view.el (doc-view-display): Better fix for the cl-assertion
3208 error.
3209
ee97deee
SM
32102012-09-20 Stefan Merten <smerten@oekonux.de>
3211
70efc5c9 3212 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
ee97deee
SM
3213 Fixes feature request bug#11711.
3214 (rst-mode): Create `imenu-create-index-function'.
3215 (rst-get-stripped-line): Delete after refactoring.
3216 (rst-section-tree, rst-section-tree-rec)
3217 (rst-section-tree-point): Refactor and document properly.
3218 (rst-imenu-find-adornments-for-position)
07b1a5fb
SM
3219 (rst-imenu-convert-cell, rst-imenu-create-index):
3220 New function.
ee97deee 3221
f490dab9
SM
32222012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3223
95b9712e
SM
3224 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
3225 (macroexp--expand-all): Use it.
3226 (macroexp--funcall-and-return): Remove by folding it into its sole
3227 caller (macroexp--warn-and-return).
3228 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
3229 Use macroexp--obsolete-warning.
3230
f490dab9
SM
3231 * calc/calc.el: Fix last change by removing the whole chunk, since it
3232 was only needed back when Calc was not bundled.
3233
96e8d411
MR
32342012-09-20 Martin Rudalics <rudalics@gmx.at>
3235
3236 * emacs-lisp/debug.el (debug): Restore assignment to
3237 debugger-old-buffer removed on 2012-09-08.
3238
0876a82d
JL
32392012-09-20 Juri Linkov <juri@jurta.org>
3240
3241 * dired-aux.el (dired-diff): Remove (require 'diff) since
3242 `diff-latest-backup-file' is now autoloaded.
3243
9f7c28f0
CY
32442012-09-20 Chong Yidong <cyd@gnu.org>
3245
3246 * vc/diff.el (diff-latest-backup-file): Autoload.
3247
7a04bee9
SM
32482012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3249
e6f0a80d
SM
3250 * calc/calc.el: Remove redundant autoload shape check.
3251 (sel-mode): Don't defvar.
3252 (calc-get-stack-element): Add `sel-mode' arg instead.
3253 (calc-top, calc-top-list): Pass it this additional argument.
3254 * calc/calc-store.el (calc-store-map):
3255 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
3256 (calc-map-equation, calc-outer-product, calc-inner-product):
3257 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
3258
7a04bee9
SM
3259 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
3260
12734222
JL
32612012-09-19 Juri Linkov <juri@jurta.org>
3262
3263 * dired-aux.el (dired-diff): Add (require 'diff) because
3264 `diff-latest-backup-file' is not autoloaded.
3265 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
3266 of `dired-get-filename' to t to not report error when there is
3267 no default file on the current line.
3268
46624b4f
SM
32692012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3270
ce97595b
SM
3271 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
3272 macroexp--eval-if-compile.
3273 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
3274 (macroexp--expand-all): Use them (bug#12371).
3275
46624b4f
SM
3276 * doc-view.el (doc-view-guess-paper-size)
3277 (doc-view-scale-bounding-box): Fix unbound `caddr'.
3278
db8a5a18
TH
32792012-09-19 Tassilo Horn <tsdh@gnu.org>
3280
3281 New feature: set optimal slice from BoundingBox information.
3282 * doc-view.el (doc-view-mode-map): Add keybinding.
3283 (doc-view-menu): Add menu entry.
3284 (doc-view-set-slice): Adapt docstring.
3285 (doc-view-get-bounding-box, doc-view-guess-paper-size)
3286 (doc-view-scale-bounding-box)
3287 (doc-view-set-slice-from-bounding-box): New functions.
3288 (doc-view-paper-sizes): New defvar.
3289
69f6644c
GM
32902012-09-19 Glenn Morris <rgm@gnu.org>
3291
35f5b19d
GM
3292 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
3293 (byte-compile-log-warning): Autoload. (Bug#12371)
3294
69f6644c
GM
3295 * calendar/calendar.el (calendar-american-month-header)
3296 (calendar-european-month-header, calendar-iso-month-header)
3297 (calendar-month-header): New options.
3298 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
3299 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
3300
e543ae91
JD
33012012-09-19 Jan Djärv <jan.h.d@swipnet.se>
3302
3303 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
3304
2fd5e67d
JL
33052012-09-18 Juri Linkov <juri@jurta.org>
3306
3307 * dired-aux.el (dired-diff): Restore original functionality of
3308 getting the default value, but keep new feature of using the
3309 latest existing backup file (`diff-latest-backup-file').
3310
42917e79
JL
33112012-09-18 Juri Linkov <juri@jurta.org>
3312
3313 * dired.el (dired-mark): If the region is active in Transient Mark
3314 mode, mark all files in the active region. Doc fix.
3315 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
3316 Doc fix. (Bug#10624)
3317
20f70ede
JL
33182012-09-18 Juri Linkov <juri@jurta.org>
3319
3320 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
3321 attributes for M-n are pulled from the file at point.
3322 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
3323 Suggested by Drew Adams. (Bug#10624)
3324
32fb8162
DG
33252012-09-18 Dmitry Gutov <dgutov@yandex.ru>
3326
3327 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
3328 whitespace after "end".
3329 (ruby-do-end-to-brace): Collapse block to one line if it fits
3330 within fill-column.
3331
37ab5092
MR
33322012-09-18 Martin Rudalics <rudalics@gmx.at>
3333
3334 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
3335 value.
3336 (debug): Don't remove debugger window when debugger is expected
3337 to be back.
3338
ed1f0bd3
CY
33392012-09-18 Chong Yidong <cyd@gnu.org>
3340
3341 * custom.el (defface): Doc fix.
3342
3343 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
3344
a11035b8
MB
33452012-09-18 Martin Blais <blais@furius.ca> (tiny change)
3346
3347 * progmodes/compile.el (compilation-start): Use compilation-always-kill
3348 to initialize query-on-exit; then test that instead (bug#12288).
3349
64f6a736
SM
33502012-09-17 Stefan Merten <smerten@oekonux.de>
3351
70efc5c9 3352 * textmodes/rst.el: Add support for `testcover'.
64f6a736
SM
3353 (rst-defcustom-testcover, rst-testcover-add-compose)
3354 (rst-testcover-add-1value): New functions.
3355 (rst-portable-mark-active-p): Replace by `use-region-p'.
3356 (rst-update-section, rst-classify-adornment)
3357 (rst-find-title-line): Mark `1value' forms.
3358 (rst-classify-adornment): Remove superfluous form.
3359 (rst-update-section, rst-get-adornments-around)
3360 (rst-adornment-complete-p, rst-get-next-adornment)
3361 (rst-adjust, rst-promote-region)
3362 (rst-display-adornments-hierarchy, rst-straighten-adornments)
3363 (rst-find-pfx-in-region, rst-section-tree-rec)
3364 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
3365 (rst-toc-node, rst-toc, rst-forward-section)
3366 (rst-iterate-leftmost-paragraphs)
3367 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
3368 (rst-bullet-list-region)
3369 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
3370 (rst-compile-find-conf, rst-compile)
3371 (rst-repeat-last-character): Fix style.
3372
580bd868
CY
33732012-09-17 Chong Yidong <cyd@gnu.org>
3374
3375 * comint.el (comint--complete-file-name-data): Don't add a space
3376 if the status is `sole'; that adds a gratuitous space in the
3377 completion-cycling case (Bug#12092).
3378
3379 * pcomplete.el (pcomplete-completions-at-point): Likewise.
3380
69de3ec6
RS
33812012-09-17 Richard Stallman <rms@gnu.org>
3382
0dee970c
RS
3383 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
3384 only in the mime-shown mode, not in raw mode.
3385 (rmail-mime): Toggle off mime by displaying the message without
6b250df6 3386 mime processing. (Bug#12305)
0dee970c 3387
6b250df6
GM
3388 * mail/rmail.el (rmail-retry-failure):
3389 Turn off mime processing first. (Bug#12037)
acb1c47b 3390
69de3ec6
RS
3391 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
3392
d079ee5f
CY
33932012-09-17 Chong Yidong <cyd@gnu.org>
3394
3395 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
3396 (shell-dynamic-complete-functions): Convert to defcustom.
3397 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
3398
865fe16f
CY
3399 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
3400 * comint.el (comint-prompt-read-only):
3401 * custom.el (defcustom):
3402 * hi-lock.el (hi-lock-mode):
3403 * ibuffer.el (ibuffer-formats):
3404 * ielm.el (ielm-prompt-read-only):
3405 * novice.el (disable-command):
3406 * saveplace.el (toggle-save-place):
3407 * speedbar.el (speedbar-supported-extension-expressions):
3408 * startup.el (auto-save-list-file-prefix, init-file-user)
3409 (after-init-hook, inhibit-startup-echo-area-message):
3410 * strokes.el (strokes-help):
3411 * time-stamp.el (time-stamp):
3412 * calendar/calendar.el (calendar, diary-file):
3413 * calendar/diary-lib.el (diary-mail-entries, diary)
3414 (diary-list-entries-hook):
3415 * calendar/holidays.el (holidays, calendar-holidays):
3416 * calendar/lunar.el (lunar-phases):
3417 * calendar/solar.el (sunrise-sunset):
3418 * emulation/edt.el (edt-load-keys):
3419 * emulation/viper.el (viper-mode):
3420 * eshell/em-alias.el (eshell-command-aliases-list):
3421 * eshell/esh-util.el (eshell-convert-numeric-arguments):
3422 * international/ogonek.el (ogonek-information):
3423 * net/tramp-cmds.el (tramp-bug):
3424 * net/quickurl.el (quickurl-reread-hook-postfix):
3425 * play/decipher.el (decipher-font-lock-keywords):
3426 * progmodes/cc-styles.el (c-set-style):
3427 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
3428 * progmodes/inf-lisp.el (inferior-lisp-prompt):
3429 * progmodes/octave-mod.el (octave-mode):
3430 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
3431 * progmodes/verilog-mode.el (verilog-read-defines):
3432 * textmodes/two-column.el (2C-mode): Likewise.
3433
48093eb9
KY
34342012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
3435
3436 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
3437 that holds many addresses.
3438
c584eaf9
CY
34392012-09-16 Chong Yidong <cyd@gnu.org>
3440
40d70ecb
CY
3441 * align.el (align-areas): Call the indication function with
3442 positions instead of markers for arguments (Bug#12343).
3443
1667e065
CY
3444 * files.el (parse-colon-path): Use split-string (Bug#12351).
3445
fdc2806d 3446 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
71ce58e7 3447 (display-buffer-function): Mark as obsolete.
fdc2806d 3448
f1be615c 3449 * progmodes/compile.el (compilation-parse-errors): Accept list
ce97595b
SM
3450 values similar to font-lock-keywords (Bug#12136).
3451 Suggested by Oleksandr Manzyuk.
c584eaf9
CY
3452 (compilation-error-regexp-alist): Doc fix.
3453
f40a9709
GM
34542012-09-15 Glenn Morris <rgm@gnu.org>
3455
72aa16e1
GM
3456 * version.el (emacs-bzr-version-bzr): New function.
3457 (emacs-bzr-get-version): Add optional EXTERNAL argument.
3458
82375160
GM
3459 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
3460 checkouts, check the parent dirstate matches the branch.
3461 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
3462 empty string.
3463
f40a9709
GM
3464 * version.el (emacs-bzr-version): Doc fix.
3465 (emacs-bzr-version-dirstate): New function.
3466 (emacs-bzr-get-version): For lightweight checkouts, if the parent
3467 is local try and check that it matches the branch. If not, just
3468 use dirstate information. (Bug#12441)
3469
cb26b7f5
JL
34702012-09-14 Juri Linkov <juri@jurta.org>
3471
3472 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
3473 (Bug#12399)
3474
2de39f08
SM
34752012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
3476
0fb3cb7c
SM
3477 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
3478
2de39f08
SM
3479 * emacs-lisp/edebug.el: Miscellaneous cleanup.
3480 Remove obsolete byte-compiler hack that tried to silence some warnings.
3481 (edebug-submit-bug-report): Remove.
3482 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
3483 Remove aliases, use the un-prefixed name instead.
3484 (edebug-pop-to-buffer): Consider other frames.
3485 (edebug-original-read):: Make it more obvious that it's always defined.
3486 (edebug--make-form-data-entry, edebug--form-data-name)
3487 (edebug--form-data-begin, edebug--form-data-end): Rename from the
3488 single-dashed name, and implement with cl-defstruct.
3489 (edebug-set-form-data-entry): Use the standard accessors.
3490 (edebug-make-top-form-data-entry): Use push.
3491 (edebug-no-match): Drop useless `funcall'.
3492 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
3493 to functions.
3494 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
3495 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
3496 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
3497 (easy-menu-define, with-custom-print): Remove redundant specs.
3498 (edebug-outside-overriding-local-map)
3499 (edebug-outside-overriding-terminal-local-map): Remove, unused.
3500 (edebug--display): Bind unread-command-events directly to nil rather
3501 than binding it to unread-command-events and later setting it to nil.
3502 (edebug--display): Kill edebug-eval-buffer here...
3503 (edebug--recursive-edit): ...rather than here.
3504 Bind standard-output and standard-input.
3505 (edebug-eval): Check cl-macroexpand-all is fboundp.
3506 (edebug-temp-display-freq-count): Fix last change.
3507
3508 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
3509 * subr.el (noreturn, 1value): Add `debug' spec.
3510 * emacs-lisp/advice.el: Require cl-lib.
3511 (ad-copy-tree): Remove, use copy-tree instead.
3512 (ad-dolist): Remove use dolist or cl-dolist instead.
3513 (ad-do-return): Remove, use cl-return instead.
3514 (defadvice): Add `debug' spec.
3515
5b68b333
JL
35162012-09-13 Juri Linkov <juri@jurta.org>
3517
3518 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
3519 (Bug#12399)
3520
b9800ec4
GM
35212012-09-13 Glenn Morris <rgm@gnu.org>
3522
6a2e6868
GM
3523 * calc/calc.el (math-compose-expr):
3524 * calc/calc-ext.el (math-compose-expr):
3525 * progmodes/cc-defs.el (cl-macroexpand-all):
3526 * progmodes/cc-langs.el (delete-duplicates, mapcan)
3527 (cl-macroexpand-all): Update declarations.
3528
b9800ec4
GM
3529 * vc/vc.el: No need to require ediff.
3530 (ediff-load-version-control): Declare.
3531 (ediff-vc-internal): Fix declaration.
3532 (vc-version-ediff): Require ediff.
3533
c18e885b
PE
35342012-09-13 Paul Eggert <eggert@cs.ucla.edu>
3535
3536 Use a more backwards-compatible timer format (Bug#12430).
3537 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
3538 being right after USECS, as that better supports old code that
3539 inadvisedly looked directly at the timer vector.
3540
d607d303
KH
35412012-09-13 Kenichi Handa <handa@gnu.org>
3542
3543 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
3544 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
3545 `coding-priority' property of these language environment.
3546
72eac303
PE
35472012-09-13 Paul Eggert <eggert@cs.ucla.edu>
3548
3549 Fix glitches caused by addition of psec to timers (Bug#12430).
3550 * image.el (image-animate-timer):
3551 * time.el (display-time-world-timer):
3552 Use timer--function and timer--args rather than raw access to
3553 timer vector.
3554
2168fe4f
GM
35552012-09-13 Glenn Morris <rgm@gnu.org>
3556
3557 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
3558 If not compiling a file, try using load-file-name.
3559
bd8d6108
SM
35602012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
3561
c0c54fbd
SM
3562 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
3563 Fix last change.
3564 (edebug-update-eval-list): Use `push'.
3565
bd8d6108
SM
3566 * emacs-lisp/edebug.el: Use lexical-binding.
3567 Remove the "edebug-" prefix from non-dynamically-scoped variables.
3568 Mark unused args with underscore.
3569 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
3570 (edebug-form-data): Use defvar-local.
3571 (edebug-make-before-and-after-form, edebug-make-after-form):
3572 Use backquote.
3573 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
3574 Not dynamically scoped any more.
3575 (edebug--enter-trace): Add arguments `function' and `args'.
3576 Rename from edebug-enter-trace.
3577 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
3578 (edebug--update-coverage): Add `after-index' and `value' args.
3579 Rename from edebug-update-coverage.
3580 (edebug-slow-after): Call it accordingly.
3581 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
3582 edebug-recursive-edit.
3583 (edebug--display): Call it accordingly. Add args `value',
3584 `offset-index', and `arg-mode'. Rename from edebug-display.
3585 (edebug-debugger, edebug): Call it accordingly.
3586 (edebug-eval-display-list): Use dolist.
3587
a9f9d9de
JL
35882012-09-12 Juri Linkov <juri@jurta.org>
3589
3590 * info.el (Info-search): Don't check for isearch-mode and
3591 isearch-regexp before let-binding search-spaces-regexp to
3592 Info-search-whitespace-regexp.
3593 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
3594 search-whitespace-regexp if isearch-lax-whitespace or
3595 isearch-regexp-lax-whitespace is non-nil.
3596 (Info-mode): Don't set local variable search-whitespace-regexp.
3597 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
3598
bfeae2cf
SM
35992012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3600
3601 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
3602 (debugger-env-macro): Remove support for unread-command-char.
3603
3604 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
3605 the temporary map re-appearing on emulation-mode-map-alists.
3606
3607 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
3608 since 22.1.
3609
3610 * ehelp.el (with-electric-help): Accept functions in
3611 electric-help-form-to-execute.
3612 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
3613 And replace unread-command-char -> unread-command-events.
3614
fbbcaf1b
MA
36152012-09-12 Michael Albinus <michael.albinus@gmx.de>
3616
3617 Sync with Tramp 2.2.6.
3618
3619 * net/tramp.el (tramp-accept-process-output): Don't use
3620 JUST-THIS-ONE in the XEmacs case.
3621
3622 * net/trampver.el: Update release number.
3623
4dece104
MR
36242012-09-12 Martin Rudalics <rudalics@gmx.at>
3625
bfeae2cf
SM
3626 * emacs-lisp/debug.el (debugger-previous-window-height):
3627 New variable.
4dece104
MR
3628 (debug): When debugger-jumping-flag is non-nil try to restore
3629 height of debugger window. (Bug#8789)
3630
45b82ad0
SM
36312012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3632
60c49c0f
SM
3633 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
3634 overriding-local-map and pre/post-command-hook here.
3635 (edebug-recursive-edit): Do it here instead (bug#12345).
3636 (edebug-outside-unread-command-char): Remove all uses of
3637 unread-command-char.
3638
45b82ad0
SM
3639 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
3640 inhibit-debugger is bound instead.
3641
baa26ea0
BG
36422012-09-11 Bastien Guerry <bzg@gnu.org>
3643
3644 * subr.el (set-temporary-overlay-map): Add a docstring.
fc0c31f8 3645 (Bug#12346)
baa26ea0 3646
04e8abfa
BG
36472012-09-11 Bastien Guerry <bzg@gnu.org>
3648
96d03571 3649 * minibuffer.el (completion-table-subvert): Fix docstring.
fc0c31f8 3650 (Bug#12347)
96d03571
BG
3651
36522012-09-11 Bastien Guerry <bzg@gnu.org>
3653
fc0c31f8 3654 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
04e8abfa 3655
04e082b0
MM
36562012-09-10 Michael R. Mauger <mmaug@yahoo.com>
3657
3658 * progmodes/sql.el: Version 3.1
3659 (sql-db2-escape-newlines): New variable.
3660 (sql-escape-newlines-filter): Use it.
3661
399a361b
JB
36622012-09-10 Juanma Barranquero <lekktu@gmail.com>
3663
3664 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
3665
0780c517
DN
36662012-09-10 Dan Nicolaescu <dann@gnu.org>
3667
45b82ad0
SM
3668 * vc/diff-mode.el (diff-mode-menu):
3669 Bind diff-remove-trailing-whitespace.
0780c517 3670
9b851e25
SM
36712012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
3672
3673 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
fc0c31f8
JB
3674 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
3675 (emacs-lisp-byte-code-mode): New functions.
9b851e25
SM
3676 (eval-sexp-add-defvars): Don't skip defvars in column >0.
3677 (eval-defun-2): Remove bogus interactive spec.
3678 (lisp-indent-line): Remove redundant whole-exp code, now done in
3679 indent-according-to-mode.
3680 (save-match-data): Remove redundant indent data.
3681
3682 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
3683 Use `declare'.
3684
3231d532
JL
36852012-09-09 Juri Linkov <juri@jurta.org>
3686
3687 * replace.el (replace-regexp-lax-whitespace): New defcustom.
3688 (replace-lax-whitespace, query-replace-regexp)
3689 (query-replace-regexp-eval, replace-regexp): Doc fix.
3690 (perform-replace, replace-highlight): Let-bind
3691 isearch-lax-whitespace to replace-lax-whitespace and
3692 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
3693
3694 * isearch.el (isearch-query-replace): Let-bind
3695 replace-lax-whitespace to isearch-lax-whitespace and
3696 replace-regexp-lax-whitespace to
3697 isearch-regexp-lax-whitespace. (Bug#10885)
3698
70fe8236
SM
36992012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
3700
3701 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
3702
8ed43f15
AM
37032012-09-09 Alan Mackenzie <acm@muc.de>
3704
70fe8236
SM
3705 * progmodes/cc-engine.el (c-state-cache-init):
3706 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
3707 (c-record-parse-state-state):
3708 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
8ed43f15 3709
bfabf70a
AS
37102012-09-09 Andreas Schwab <schwab@linux-m68k.org>
3711
3712 * register.el (register-separator): Rename from
3713 separator-register. All uses changed. Doc fix.
3714 (register): Fix version.
3715
011474aa
CY
37162012-09-09 Chong Yidong <cyd@gnu.org>
3717
3718 * replace.el (query-replace-map): Bind four new symbols for
3719 requesting window scrolling.
3720
3721 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
3722 query-replace-map (Bug#8948).
3723
3724 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
3725
3726 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
3727 since they are now in query-replace-map.
3728
3729 * window.el (scroll-other-window-down): Make the arg optional.
3730
a8b7cd8d
CY
37312012-09-09 Chong Yidong <cyd@gnu.org>
3732
3733 * files.el (hack-local-variables-confirm): Use quit-window to kill
3734 the *Local Variables* buffer.
3735
c3268831
DG
37362012-09-08 Dmitry Gutov <dgutov@yandex.ru>
3737
3738 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
3739 not just expect to be at its beginning. Adjust callees.
3740 Succeed when do-end block has no space before the pipe character.
3741 (ruby-brace-to-do-end): When the original block is one-liner,
3742 convert to multiline. Reindent the result.
3743
0979429b
J
37442012-09-08 Jambunathan K <kjambunathan@gmail.com>
3745
3746 * register.el (register): New group.
27359e99 3747 (separator-register): New user option.
0979429b
J
3748 (increment-register): Route it to `append-to-register', if
3749 register contains text. Implication is that `C-x r +' can now be
3750 used for appending to a text register (bug#12217).
3751 (append-to-register, prepend-to-register): Add separator based on
5b9c45a6 3752 `separator-register'.
0979429b 3753
ace2989a
AM
37542012-09-08 Alan Mackenzie <acm@muc.de>
3755
3756 AWK Mode: make auto-newline work when there's "==" in the pattern.
3757 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
3758 correctly.
0979429b
J
3759 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
3760 Test more rigorously for "=" token.
ace2989a 3761
616c6c36
DG
37622012-09-08 Dmitry Gutov <dgutov@yandex.ru>
3763
0979429b
J
3764 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
3765 Only fail when reached LIMIT.
616c6c36 3766
35d98877
CY
37672012-09-08 Chong Yidong <cyd@gnu.org>
3768
3769 * dired.el (dired-mode-map): Don't bind M-=.
3770
3771 * dired-aux.el (dired-diff): Use backup file as default.
3772
1715f2db
DA
37732012-09-08 Drew Adams <drew.adams@oracle.com>
3774
3775 * subr.el (add-to-history): Fix delete usage (Bug#12314).
3776
6dcef6ec
CY
37772012-09-08 Chong Yidong <cyd@gnu.org>
3778
3779 * subr.el (syntax-after, syntax-class): Doc fix.
3780
fa2bcf43
MR
37812012-09-08 Martin Rudalics <rudalics@gmx.at>
3782
3783 * window.el (display-buffer-in-previous-window): New buffer
3784 display action function.
3785
3786 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
3787 (debugger-previous-window): New variable.
3788 (debug): Rewrite using display-buffer-in-previous-window,
3789 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
3790
daac280a
SM
37912012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
3792
3793 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
3794
9dd40b00
MM
37952012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
3796
daac280a
SM
3797 * progmodes/python.el (python-shell-send-string):
3798 When default-directory is remote, create temp file on remote
9dd40b00
MM
3799 filesystem.
3800 (python-shell-send-file): When file is remote, pass local view of
3801 file paths to remote Python interpreter. (Bug#12340)
3802
145823ec
CY
38032012-09-07 Chong Yidong <cyd@gnu.org>
3804
cee2e90d
CY
3805 * window.el (switch-to-buffer): Doc fix (Bug#12181).
3806
0d7eb2ea
CY
3807 * files.el (after-find-file): Don't fail on a read-only buffer if
3808 require-final-newline is `visit' or `visit-save' (Bug#11156).
3809
145823ec
CY
3810 * subr.el (read-char-choice): Allow quitting via ESC ESC.
3811
daac280a
SM
3812 * userlock.el (ask-user-about-supersession-threat):
3813 Use read-char-choice (Bug#12093).
145823ec 3814
74c582e6
CY
38152012-09-07 Chong Yidong <cyd@gnu.org>
3816
e5c2edf7
CY
3817 * subr.el (buffer-narrowed-p): New function.
3818
3819 * ses.el (ses-widen):
3820 * simple.el (count-words--buffer-message):
1f9f395d 3821 * net/browse-url.el (browse-url-of-buffer): Use it.
e5c2edf7
CY
3822
3823 * simple.el (count-words-region): Don't signal an error if there
3824 is a non-nil prefix arg and the mark is not set.
c640e87d 3825
74c582e6
CY
3826 * help.el (describe-key-briefly): Allow the message to be seen
3827 when invoked from the minibuffer (Bug#7014).
3828
d81ceaaf
DG
38292012-09-07 Dmitry Gutov <dgutov@yandex.ru>
3830
3831 * progmodes/ruby-mode.el (ruby-end-of-defun)
3832 (ruby-beginning-of-defun): Simplify, allow indentation before
3833 block beginning and end keywords.
8f06acce
DG
3834 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
3835 (ruby-end-of-defun): Expect that the point is at the beginning of
3836 the defun.
d81ceaaf 3837
d458ef98
SM
38382012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3839
3840 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
3841 (bug#12367).
3842 (cl--make-usage-args): Strip _ from argument names.
3843
20367d28
RS
38442012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3845
3846 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
3847 obsolete alias speedbar-key-map.
3848 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
3849 (vhdl-index-menu-init): Don't use obsolete variable
3850 font-lock-maximum-size.
3851
3424a4f6
CY
38522012-09-06 Chong Yidong <cyd@gnu.org>
3853
3854 * frame.el (window-system-version): Mark as obsolete.
3855
fcbfbdea
CY
3856 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
3857 of obsolete variable speedbar-key-map.
3858
826b3235
JL
38592012-09-06 Juri Linkov <juri@jurta.org>
3860
3861 * replace.el (replace-lax-whitespace): New defcustom.
3862 (query-replace, query-replace-regexp, query-replace-regexp-eval)
3863 (replace-string, replace-regexp): Mention it in docstrings.
3864 (perform-replace, replace-highlight): Let-bind
3865 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
3866 to the values of replace-lax-whitespace and regexp-flag.
3867 Don't let-bind search-whitespace-regexp. (Bug#10885)
3868
3869 * isearch.el (isearch-query-replace): Let-bind
3870 replace-lax-whitespace instead of let-binding
3871 replace-search-function and replace-re-search-function.
3872 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
3873 and isearch-regexp-lax-whitespace to lazy-highlight variables.
3874 (isearch-toggle-symbol): Set isearch-regexp to nil
3875 in isearch-word mode (like in isearch-toggle-word).
3876
1ec5e41d
JL
38772012-09-06 Juri Linkov <juri@jurta.org>
3878
3879 * replace.el (replace-search-function)
3880 (replace-re-search-function): Set default values to nil.
3881 (perform-replace): Let-bind isearch-related variables based on
3882 replace-related values, call `isearch-search-fun' and let-bind
3883 the result to `search-function'. Remove code that sets
3884 `search-function' and `search-string' separately for
3885 `delimited-flag'.
3886 (replace-highlight): Add new argument `delimited-flag' and
3887 rename other arguments to the names used in `perform-replace'.
3888 Let-bind `isearch-word' to the argument `delimited-flag'.
3889 (Bug#10885, bug#10887)
3890
0ba2d4b6
DG
38912012-09-07 Dmitry Gutov <dgutov@yandex.ru>
3892
3893 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
3894 ruby-beginning-of-indent, simplify, allow all keywords to have
3895 indentation before them.
3896 (ruby-beginning-of-indent): Adjust for above. Search until the
3897 found point is not inside a string or comment.
3898 (ruby-font-lock-keywords): Allow symbols to start with "@"
3899 character, give them higher priority than variables.
3900 (ruby-syntax-propertize-function)
3901 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
3902 matchers. Expression expansions are not comments when inside a
3903 string, and there comment syntax status is irrelevant.
3904 (ruby-match-expression-expansion): New function. Check that
3905 expression expansion is inside a string, and it's not escaped.
3906 (ruby-font-lock-keywords): Use it.
3907
ef654460
MR
39082012-09-05 Martin Rudalics <rudalics@gmx.at>
3909
3910 * help.el (temp-buffer-max-height): New default value.
3911 (temp-buffer-resize-frames): New option.
3912 (resize-temp-buffer-window): Optionally resize frame.
3913
3914 * window.el (fit-frame-to-buffer-bottom-margin): New option.
3915 (fit-frame-to-buffer): New function.
3916
7e570fbf 39172012-09-05 Glenn Morris <rgm@gnu.org>
72308848
GM
3918
3919 * emulation/cua-rect.el (cua--init-rectangles):
3920 * textmodes/picture.el (picture-mode-map):
3921 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
3922 like forward-char and backward-char. (Bug#12317)
3923
7e570fbf 39242012-09-05 Leo Liu <sdl.web@gmail.com>
3aca1291
LL
3925
3926 * progmodes/flymake.el (flymake-warning-re): New variable.
3927 (flymake-parse-line): Use it.
3928
7e570fbf 39292012-09-05 Glenn Morris <rgm@gnu.org>
b6683353
GM
3930
3931 * calendar/holidays.el (holiday-christian-holidays):
3932 Rename an entry. (Bug#12289)
3933
7e570fbf 39342012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
64f8c4bd
SM
3935
3936 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
3937 (bug#12222).
3938
972debf2
SM
39392012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
3940
3941 * loadup.el: Load macroexp. Remove hack.
3942 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
3943 (macroexp--expand-all): Use it to get better warnings.
3944 (macroexp--backtrace, macroexp--trim-backtrace-frame)
3945 (internal-macroexpand-for-load): New functions.
3946 (macroexp--pending-eager-loads): New var.
3947 (emacs-startup-hook): New hack to replace one in loadup.el.
3948 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
3949 (cl--compiler-macro-cXXr): Move to top, before they can be used.
3950 (cl-psetf): Simplify.
3951 (cl-defstruct): Add indent rule.
3952
8ce192e3
LI
39532012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
3954
3955 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
3956 over `user-mail-address' for the SMTP MAIL FROM envelope.
3957 (smtpmail-via-smtp): Ditto.
3958
6578b4d8
DG
39592012-09-04 Dmitry Gutov <dgutov@yandex.ru>
3960
3961 * progmodes/ruby-mode.el: Clean up keybindings.
3962 (ruby-mode-map): Don't bind ruby-electric-brace,
3963 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
3964 backward-kill-word, reindent-then-newline-and-indent.
3965 (ruby-mark-defun): Remove.
3966 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
3967 (ruby-mode): Set local beginning-of-defun-function and
3968 end-of-defun-function values.
3969
c5e28e39
MR
39702012-09-03 Martin Rudalics <rudalics@gmx.at>
3971
3972 * window.el (temp-buffer-window-setup-hook)
3973 (temp-buffer-window-show-hook): New hooks.
3974 (temp-buffer-window-setup, temp-buffer-window-show)
3975 (with-temp-buffer-window): New functions.
972debf2
SM
3976 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
3977 (special-display-popup-frame): Make sure the window used shows BUFFER.
c5e28e39
MR
3978
3979 * help.el (temp-buffer-resize-mode): Fix doc-string.
3980 (resize-temp-buffer-window): New optional argument WINDOW.
3981
3982 * files.el (recover-file, save-buffers-kill-emacs):
3983 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
3984
73406194
MA
39852012-09-02 Michael Albinus <michael.albinus@gmx.de>
3986
3987 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
3988 remote definition of `default-directory', ensure we can connect.
3989
63dd1c6f
JL
39902012-09-02 Juri Linkov <juri@jurta.org>
3991
3992 Toggle whitespace matching mode with M-s SPC.
3993 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
3994
3995 * isearch.el (search-whitespace-regexp): Doc fix.
3996 Remove cons cell customization.
3997 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
3998 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
3999 New variables.
4000 (isearch-forward, isearch-forward-regexp): Doc fix.
4001 (isearch-toggle-lax-whitespace): New command.
4002 (search-forward-lax-whitespace, search-backward-lax-whitespace)
4003 (re-search-forward-lax-whitespace)
4004 (re-search-backward-lax-whitespace): New functions.
4005 (isearch-whitespace-regexp): Remove function.
4006 (isearch-query-replace): Let-bind replace-search-function and
4007 replace-re-search-function.
4008 (isearch-occur): Let-bind search-spaces-regexp according to the
4009 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
4010 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
4011 condition for C-q SPC.
4012 (isearch-search-fun-default): Use new functions mentioned above.
4013 (isearch-search-forward, isearch-search-backward): Remove functions.
4014 (isearch-search): Don't let-bind search-spaces-regexp.
4015 (isearch-lazy-highlight-space-regexp): Remove variable.
4016 (isearch-lazy-highlight-lax-whitespace)
4017 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
4018 (isearch-lazy-highlight-new-loop): Use them.
4019 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
4020
af7dda05
CY
40212012-09-02 Chong Yidong <cyd@gnu.org>
4022
4023 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
4024
d67d3afd
GM
40252012-09-02 Glenn Morris <rgm@gnu.org>
4026
4027 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
4028
69678719
GM
40292012-09-01 Glenn Morris <rgm@gnu.org>
4030
4031 * term.el: Tidy up menu definitions.
4032 (term-mode-map): Use easymenu for In/Out, Complete menus.
4033 (term-pager-break-map): Initialize in the defvar.
4034 (term-terminal-menu, term-signals-menu): Define with easymenu.
4035 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
4036 (term-pager-menu): New, extracted from term-process-pager.
4037 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
4038 (term-update-mode-line): Propertize line/char and page items.
4039 (term-process-pager): Move keymap initialization elsewhere.
4040
78dd6ab1
MR
40412012-09-01 Martin Rudalics <rudalics@gmx.at>
4042
4043 * window.el (switch-to-prev-buffer): Handle additional values of
4044 BURY-OR-KILL argument. Don't switch in minibuffer window.
4045 (switch-to-next-buffer): Don't switch in minibuffer window.
4046 (quit-restore-window): New function based on quit-window.
4047 Handle additional values of former KILL argument.
4048 (quit-window): Call quit-restore-window with appropriate
4049 interpretation of KILL argument.
4050 (display-buffer-below-selected): New buffer display action
4051 function.
4052
3d10e134
SM
40532012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
4054
4055 * minibuffer.el (completion-at-point-functions): Complete docstring
4056 (bug#12254).
4057
0e23ef9d
PE
40582012-09-01 Paul Eggert <eggert@cs.ucla.edu>
4059
4060 Better seed support for (random).
4061 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
4062 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
4063 * play/mpuz.el, play/tetris.el, play/zone.el:
4064 * calc/calc-comb.el (math-init-random-base):
4065 * play/blackbox.el (bb-init-board):
4066 * play/life.el (life):
4067 * server.el (server-use-tcp):
4068 * type-break.el (type-break):
4069 Remove unnecessary call to (random t).
4070 * net/sasl.el (sasl-unique-id-function):
4071 Change (random t) to (random), now that the latter is more random.
4072 * play/life.el (life-initialized): Remove no-longer-needed var.
4073
862382df
MR
40742012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
4075
4076 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
4077 Consider frame's buffer predicate when choosing the buffer.
4078 (Bug#12081)
4079
262a66e1
RS
40802012-08-30 Richard Stallman <rms@gnu.org>
4081
4082 * simple.el (special-mode-map): Delete binding for `z'.
4083
f17e1d00
AS
40842012-08-30 Andreas Schwab <schwab@linux-m68k.org>
4085
4086 * progmodes/compile.el (compilation-always-kill): Doc fix.
4087
24777832
CY
40882012-08-30 Chong Yidong <cyd@gnu.org>
4089
4090 * window.el (display-buffer-reuse-frames): Make the obsolescence
4091 message more informative.
4092
69ba1f04
GM
40932012-08-30 Glenn Morris <rgm@gnu.org>
4094
4095 * paren.el (show-paren-delay):
4096 Add a :set function. Doc fix. (Bug#12297)
4097
f0019ede
MB
40982012-08-29 Martin Blais <blais@furius.ca> (tiny change)
4099
4100 * progmodes/compile.el (compilation-always-kill): New var.
4101 (compilation-start): Use it.
4102
35e62fc9
SM
41032012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4104
af070a1c
SM
4105 * simple.el (read-only-mode): Move from files.el for bootstrapping.
4106 * files.el (read-only-mode): Move to simple.el.
4107
35e62fc9
SM
4108 * files.el (read-only-mode): New minor mode.
4109 (toggle-read-only): Use it and mark obsolete.
4110 (find-file--read-only):
4111 * vc/vc.el (vc-next-action, vc-checkout):
4112 * vc/vc-cvs.el (vc-cvs-checkout):
4113 * obsolete/vc-mcvs.el (vc-mcvs-update):
4114 * ffap.el (ffap--toggle-read-only): Update callers.
4115
c2c43c23
MA
41162012-08-29 Michael Albinus <michael.albinus@gmx.de>
4117
4118 * eshell/esh-ext.el (eshell-external-command): Do not examine
972debf2
SM
4119 remote shell scripts.
4120 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
c2c43c23
MA
4121
4122 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
4123 "/usr/local/sbin".
4124
9fba804b
SM
41252012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4126
4127 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
4128
eada0861 41292012-08-28 Leo Liu <sdl.web@gmail.com>
22ab32ef 4130
806f0cc7
LL
4131 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
4132 completion-at-point. (Bug#12220)
4133
3bb213b9
LL
4134 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
4135
22ab32ef
LL
4136 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
4137
eada0861 41382012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
db148c21 4139
19c17fc1
CY
4140 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
4141 be buffer-local; add delete-trailing-whitespace (bug#12259).
db148c21 4142
eada0861 41432012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
ffe6eaf1
JM
4144
4145 * progmodes/hideif.el (hif-compress-define-list):
4146 Fix typo. (Bug#11951)
4147
eada0861 41482012-08-28 Dan Nicolaescu <dann@gnu.org>
d30aca1b
DN
4149
4150 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
4151 buffer local setting.
4152
27d6c5a8
LL
4153 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
4154 rcirc-encode-coding-system.
4155
eada0861 41562012-08-28 Leo Liu <sdl.web@gmail.com>
4432d2e2
LL
4157
4158 * net/rcirc.el (rcirc-split-message): New function.
4159 (rcirc-send-message): Use it. (Bug#12051)
4160
d44688e4
JL
41612012-08-28 Juri Linkov <juri@jurta.org>
4162
4163 * info.el (Info-fontify-node): Hide empty lines at the end of
4164 the node. (Bug#12272)
4165
34f10d41
MR
41662012-08-27 Drew Adams <drew.adams@oracle.com>
4167
4168 * dired.el (dired-pop-to-buffer): Make window start at beginning
4169 of buffer (Bug#12281).
4170
77f1f99c
CY
41712012-08-26 Chong Yidong <cyd@gnu.org>
4172
4173 * window.el (special-display-regexps, special-display-frame-alist)
4174 (special-display-buffer-names, special-display-function)
4175 (display-buffer-reuse-frames): Mark as obsolete.
4176
4177 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
4178
4179 * help.el (help-print-return-message): Don't treat
4180 display-buffer-reuse-frames specially.
4181
d97af5a0
CY
41822012-08-26 Chong Yidong <cyd@gnu.org>
4183
9fba804b
SM
4184 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
4185 New variable, replacing gdb-frame-parameters.
d97af5a0
CY
4186 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
4187 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
4188 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
4189 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
4190 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
4191 the functions directly with gdb-display-buffer-other-frame-action.
4192 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
4193 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
4194 (gdb-display-stack-buffer, gdb-display-locals-buffer)
4195 (gdb-display-registers-buffer): Define directly.
4196 (def-gdb-display-buffer): Macro deleted.
4197 (gdb-display-buffer): Remove second and third args, callers don't
4198 use them. Defer to the default display-buffer behavior, apart
4199 from making windows dedicated.
4200 (gdb-setup-windows): Don't call display-buffer unnecessarily.
4201
4202 * progmodes/gud.el (gud-display-line): Just use display-buffer.
4203
4204 * window.el (display-buffer-pop-up-frame): Handle a
4205 pop-up-frame-parameters alist entry.
4206 (display-buffer): Document it.
4207
dd7ffad6
CY
42082012-08-26 Chong Yidong <cyd@gnu.org>
4209
4210 * isearch.el (search-whitespace-regexp): Make string and nil
4211 values apply to both ordinary and regexp search. Allow a cons
4212 cell value to distinguish between the two.
4213 (isearch-whitespace-regexp, isearch-search-forward)
4214 (isearch-search-backward): New functions.
4215 (isearch-occur, isearch-search-fun-default, isearch-search)
4216 (isearch-lazy-highlight-new-loop): Use them.
4217 (isearch-forward, isearch-forward-regexp): Doc fix.
4218
4c47bd1e
CY
42192012-08-26 Chong Yidong <cyd@gnu.org>
4220
4221 * faces.el (help-argument-name): Always inherit from italic
4222 (Bug#12213).
4223
9aba119d
MR
42242012-08-25 Martin Rudalics <rudalics@gmx.at>
4225
4226 * window.el (window--even-window-heights): Even heights when
4227 WINDOW and the selected window form a vertical combination.
4228 (display-buffer-use-some-window): Provide that window used gets
4229 sized back by quit-window. (Bug#11880) and (Bug#12091)
4230
ca5256ad
PE
42312012-08-24 Paul Eggert <eggert@cs.ucla.edu>
4232
4233 Fix file time stamp problem with bzr and CVS (Bug#12001).
4234 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
4235 in the file's time stamp, since the version control system loses
4236 that information.
4237
d1c0d176
JL
42382012-08-22 Juri Linkov <juri@jurta.org>
4239
4240 * info.el (Info-fontify-node): Hide the suffix of the
4241 Info file name in the header line. (Bug#12187)
4242
141562ff
GM
42432012-08-22 Glenn Morris <rgm@gnu.org>
4244
4245 * calendar/cal-tex.el (cal-tex-weekly-common):
4246 Restore leading blank page.
4247
61a48e19 42482012-08-22 Le Wang <l26wang@gmail.com> (tiny change)
add9ca2d
BG
4249
4250 * misc.el (forward-to-word, backward-to-word): Activate or extend
61a48e19
GM
4251 the region under `shift-select-mode'. (Bug#12231)
4252
42532012-08-22 Bastien Guerry <bzg@gnu.org>
0fcd3d9f
BG
4254
4255 * progmodes/executable.el (executable-prefix): Set to "#!" instead
4256 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
4257 gives details on why the space is never needed.
4258
ea95074e
MR
42592012-08-22 Martin Rudalics <rudalics@gmx.at>
4260
9fba804b
SM
4261 * window.el (walk-window-tree, window-with-parameter):
4262 New optional argument MINIBUF to control whether these functions
ea95074e
MR
4263 should run on the minibuffer window.
4264 (window-at-side-list): Don't operate on minibuffer window.
4265 (window-in-direction): Simplify and rewrite doc-string.
9fba804b
SM
4266 (window--size-ignore): Rename to window--size-ignore-p.
4267 Update callers.
caceae25
MR
4268 (display-buffer-in-atom-window, window--major-non-side-window)
4269 (window--major-side-window, display-buffer-in-major-side-window)
9fba804b
SM
4270 (delete-side-window, display-buffer-in-side-window):
4271 New functions.
caceae25
MR
4272 (window--side-check, window-deletable-p, delete-window)
4273 (delete-other-windows, split-window): Handle side windows and
4274 atomic windows appropriately.
4275 (window--display-buffer): Call display-buffer-record-window also
4276 when the window buffer did not change.
ea95074e 4277
80a51fa0
CS
42782012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
4279
4280 * help-fns.el (help-fns--key-bindings):
4281 Abbreviate non-symbol remap targets. (Bug#12174)
4282
fbb6300b
MR
42832012-08-22 Martin Rudalics <rudalics@gmx.at>
4284
4285 * dired.el (dired-mark-remembered): Don't clobber point.
4286 (Bug#11795)
4287
2b2c0794
GM
42882012-08-22 Glenn Morris <rgm@gnu.org>
4289
4290 * progmodes/bug-reference.el (bug-reference): New custom group.
4291 (bug-reference-bug-regexp): Make it a defcustom.
4292
37219830
DU
42932012-08-22 Daiki Ueno <ueno@unixuser.org>
4294
4295 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
4296 (js-paren-indent-offset, js-square-indent-offset)
4297 (js-curly-indent-offset): Add :safe (Bug#12257).
4298
94e0e559
EC
42992012-08-22 Edward O'Connor <hober0@gmail.com>
4300
4301 * json.el (json-key-format): Add error properties.
4302 (json-encode-key): New function.
4303 (json-encode-hash-table, json-encode-alist, json-encode-plist):
4304 Use json-encode-key.
4305
da485f5e
GM
43062012-08-22 Glenn Morris <rgm@gnu.org>
4307
4308 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
4309 (cal-tex-leftday, cal-tex-rightday): Remove functions.
4310 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
4311 Update for above change.
4312
c6cc78b8
AS
43132012-08-21 Andreas Schwab <schwab@linux-m68k.org>
4314
4315 * cus-face.el (custom-face-attributes): Fix customize type for the
4316 :underline attribute. (Bug#11805)
4317
5481664a
MR
43182012-08-21 Martin Rudalics <rudalics@gmx.at>
4319
4320 * window.el (window-point-1, set-window-point-1): Remove.
4321 (window-in-direction, record-window-buffer)
4322 (set-window-buffer-start-and-point, split-window-below)
9fba804b
SM
4323 (window--state-get-1, display-buffer-record-window):
4324 Replace calls to window-point-1 and set-window-point-1 by calls to
5481664a
MR
4325 window-point and set-window-point respectively.
4326
6d74698e
GM
43272012-08-21 Glenn Morris <rgm@gnu.org>
4328
b7fa2691
GM
4329 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
4330 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
4331 Use it.
4332
52f56d5a
GM
4333 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
4334 (cal-tex-shortday): New function.
4335 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
4336 (cal-tex-cursor-filofax-daily): Use the above.
4337
9f1ee09e
GM
4338 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
4339 New functions.
4340 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
4341 (cal-tex-cursor-filofax-week): Use them.
4342
79858159
GM
4343 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
4344 New constants.
4345 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
4346 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
4347
d346b2b4
GM
4348 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
4349 (cal-tex-end-document): Don't rely on buffer name.
4350
b2403709
GM
4351 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
4352 Use cal-tex-vspace.
4353 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
4354 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2d225a3a
GM
4355 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
4356 Use cal-tex-arg.
b2403709 4357
1cebb5c0
GM
4358 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
4359 (cal-tex-cursor-week, cal-tex-cursor-week2)
4360 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
4361 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
4362 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
4363 (cal-tex-insert-preamble, cal-tex-b-document)
4364 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
4365 Improve cal-tex-cmd usage.
4366
c68cd5d4
GM
4367 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
4368 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
4369 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
4370 (cal-tex-weekly-paper): New function.
4371 (cal-tex-cursor-week, cal-tex-cursor-week2)
4372 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
4373 (cal-tex-cursor-day): Use it.
4374
9dca4801
GM
4375 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
4376 (cal-tex-cursor-filofax-week): Remove leading blank page.
4377
1941e134
GM
4378 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
4379 Add autoload cookie. For now at least, don't use color, since
4380 no other cal-tex function does.
4381
6d74698e
GM
4382 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
4383 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
4384 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
4385
64cde199
JL
43862012-08-21 Juri Linkov <juri@jurta.org>
4387
4388 * info.el (Info-file-attributes): New variable.
4389 (info-insert-file-contents): Add file attributes to
4390 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
4391 `Info-toc-nodes' when previous modtime of the Info file is less
4392 than new modtime.
4393 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
4394 of info.el. (Bug#12230)
4395
32757648
GM
43962012-08-20 Glenn Morris <rgm@gnu.org>
4397
4398 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
4399 * calendar/holidays.el (calendar-holiday-list):
4400 Report errors with display-warning rather than beep'n'sleep.
4401
a32fbbcf
MA
44022012-08-20 Michael Albinus <michael.albinus@gmx.de>
4403
4404 * net/tramp.el (tramp-accept-process-output): Accept only output
4405 from PROC. Otherwise, process filters and sentinels might be
4406 confused. (Bug#12145)
4407
a05731a0
CY
44082012-08-20 Chong Yidong <cyd@gnu.org>
4409
4410 * descr-text.el (describe-text-properties-1): Use overlays-in to
4411 report on empty overlays (Bug#3322).
4412
36e8d1eb
GM
44132012-08-20 Glenn Morris <rgm@gnu.org>
4414
3d300447
GM
4415 * mail/rmailout.el (rmail-output-read-file-name):
4416 Trap and report errors in rmail-output-file-alist elements.
4417
36e8d1eb
GM
4418 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
4419 since most non-font-lock faces are not also variables).
4420
b96e5814
ER
44212012-08-20 Edward Reingold <reingold@iit.edu>
4422
4423 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
4424 New function. (Bug12160)
4425
7cef3569
GM
44262012-08-19 Glenn Morris <rgm@gnu.org>
4427
4428 * mail/rmailout.el (rmail-output-read-file-name):
4429 Fix previous change (when the alist is nil or does not match).
4430
17975d7f
CY
44312012-08-19 Chong Yidong <cyd@gnu.org>
4432
4433 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
4434 (Bug#12228).
4435
2170b1bd
CY
44362012-08-18 Chong Yidong <cyd@gnu.org>
4437
4438 * simple.el (yank-handled-properties): New defcustom.
4439 (yank-excluded-properties): Add font-lock-face and category.
4440 (yank): Doc fix.
4441
9fba804b
SM
4442 * subr.el (remove-yank-excluded-properties):
4443 Obey yank-handled-properties. The special handling of font-lock-face
2170b1bd
CY
4444 and category is now done this way, instead of being hard-coded.
4445 (insert-for-yank-1): Remove font-lock-face handling.
4446 (yank-handle-font-lock-face-property)
4447 (yank-handle-category-property): New function.
4448
ee218151
GM
44492012-08-17 Glenn Morris <rgm@gnu.org>
4450
4451 * mail/rmailout.el (rmail-output-read-file-name):
4452 Check rmail-output-file-alist against the full message body
4453 in the correct rmail buffer. (Bug#12214)
4454
4a6bc3fd
MA
44552012-08-17 Michael Albinus <michael.albinus@gmx.de>
4456
9fba804b
SM
4457 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
4458 Eliminate superfluous prompt. (Bug#12203)
4a6bc3fd 4459
383dcbf9
CY
44602012-08-17 Chong Yidong <cyd@gnu.org>
4461
4462 * mouse.el (mouse-appearance-menu): If x-select-font returns a
4463 font spec, set the font directly (Bug#3228).
4464
998c4a6a
MR
44652012-08-17 Martin Rudalics <rudalics@gmx.at>
4466
4467 * window.el (delete-window): Fix last fix.
4468
52162052
MR
44692012-08-16 Martin Rudalics <rudalics@gmx.at>
4470
4471 * window.el (window-valid-p): Move to window.c.
85c2386b
MR
4472 (window-child, window-child-count, window-last-child)
4473 (window-normalize-window, window-combined-p)
4474 (window-combinations, window-atom-root, window-min-size)
4475 (window-sizable, window-sizable-p, window-size-fixed-p)
4476 (window-min-delta, window-max-delta, window--resizable)
4477 (window--resizable-p, window-resizable, window-total-size)
4478 (window-full-height-p, window-full-width-p, window-body-size)
4479 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
4480 (minimize-window, window-deletable-p, delete-window)
4481 (delete-other-windows, set-window-buffer-start-and-point)
4482 (next-buffer, previous-buffer, split-window, balance-windows-2)
4483 (set-window-text-height, window-buffer-height)
4484 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
9fba804b
SM
4485 (truncated-partial-width-window-p): Minor code adjustments.
4486 In doc-strings state whether the argument window has to denote a
85c2386b 4487 live, valid or any window.
52162052 4488
1c308380
PS
44892012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
4490
4491 * progmodes/subword.el (subword-forward-function)
4492 (subword-backward-function, subword-forward-regexp)
4493 (subword-backward-regexp): New variables.
4494 (subword-forward, subword-forward-internal, subword-backward-internal):
4495 Use new variables, eg so that different "word" definitions
4496 can be easily used. (Bug#11411)
4497
94c9ece1
SM
44982012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4499
4500 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
4501 for composite selectors.
4502 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
4503 operation just because we can't find a previous revision.
4504
f2045622
CY
45052012-08-15 Chong Yidong <cyd@gnu.org>
4506
4507 * frame.el (set-frame-font): Accept font objects.
4508
582db660
SM
45092012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4510
4511 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
4512
2f29c200
WJ
45132012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
4514
456e62c2
WJ
4515 * man.el (Man-overstrike-face, Man-underline-face)
4516 (Man-reverse-face): Remove variables.
4517 (Man-overstrike, Man-underline, Man-reverse): New faces.
4518 (Man-fontify-manpage): Use them instead of the variables.
4519 (Man-cleanup-manpage): Comment change.
4520 (Man-ansi-color-map): New variable.
4521 (Man-fontify-manpage): Use it.
4522 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
4523
2f29c200
WJ
4524 Implement ANSI SGR parameters 22-27 (bug#12146).
4525 * ansi-color.el (ansi-colors): Doc fix.
4526 (ansi-color-context, ansi-color-context-region): Doc fix.
4527 (ansi-color--find-face): New function.
4528 (ansi-color-apply, ansi-color-apply-on-region): Use it.
4529 Rename the local variable `face' to `codes' since it is now a list of
4530 ansi codes. Doc fix.
4531 (ansi-color-get-face): Remove.
4532 (ansi-color-parse-sequence): New function, derived from
4533 ansi-color-get-face.
4534 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
4535 codes 22-27.
4536
b4f5e9df
SM
45372012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
4538
4539 * subr.el (read-passwd): Allow use from a minibuffer.
4540
ba025fbd
EZ
45412012-08-14 Eli Zaretskii <eliz@gnu.org>
4542
4543 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
4544 inside comments and strings as identifiers.
4545
4546 * progmodes/gud.el (gud-tooltip-print-command): Quote the
4547 expression to evaluate. This allows to evaluate expressions with
4548 embedded whitespace.
4549 (gud-tooltip-tips): Add a blank before the newline in the
4550 message-box text, for the benefit of message-box emulation on
4551 MS-Windows.
4552
4553 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
4554 messages from GDB, pop them up in a tooltip to give feedback to
4555 user.
b4f5e9df
SM
4556 (gdb-tooltip-print-1): Quote the expression to evaluate.
4557 This allows to evaluate expressions with embedded whitespace.
ba025fbd
EZ
4558 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
4559 if the TTY name is nil or empty (which happens when communicating
4560 with the inferior via pipes, e.g. on MS-Windows).
4561 (gdb-internals): If GDB sends a "&\n" empty debugging message,
4562 don't send that to the GUD buffer.
4563
c548f821
GM
45642012-08-14 Glenn Morris <rgm@gnu.org>
4565
4566 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
4567 Optimize away setq-default with no args, as for setq. (Bug#12195)
4568
55802e4a
CY
45692012-08-14 Chong Yidong <cyd@gnu.org>
4570
4abcdac8
CY
4571 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
4572
55802e4a
CY
4573 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
4574 (Bug#12085).
4575
3c3cda1a
GM
45762012-08-14 Glenn Morris <rgm@gnu.org>
4577
4578 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
4579
e1873bd0
MA
45802012-08-14 Michael Albinus <michael.albinus@gmx.de>
4581
4582 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
4583 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
4584 Use cached shell name.
4585
925411b4
FEG
45862012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
4587
4588 * progmodes/python.el (python-shell-send-string):
3c3cda1a 4589 (python-shell-send-setup-code): Do not use `format' with `message'.
925411b4 4590
e636fafe
DG
45912012-08-14 Dmitry Gutov <dgutov@yandex.ru>
4592
4593 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
4594 (ruby-percent-literal-beg-re): New constant.
4595 (ruby-syntax-general-delimiters-goto-beg): Rename to
4596 `ruby-syntax-enclosing-percent-literal', improve literal type check.
4597 (ruby-syntax-propertize-general-delimiters): Rename to
4598 `ruby-syntax-propertize-percent-literal', it's a shorter and more
4599 popular term. Adjust comments everywhere.
4600 (ruby-syntax-propertize-percent-literal): Only propertize when not
4601 inside a simple string or comment. When the literal is unclosed,
4602 leave the text after it unpropertized.
f063063a
DG
4603 (ruby-syntax-methods-before-regexp): New constant.
4604 (ruby-syntax-propertize-function): Use it to recognize regexps.
4605 Don't look at the text after regexp, just use the whitelist.
e636fafe 4606
e5b19827
AS
46072012-08-14 Andreas Schwab <schwab@linux-m68k.org>
4608
4609 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
4610 non-nil always load the compiled file if it exists. (Bug#12197)
4611
a9f6f311
CY
46122012-08-14 Chong Yidong <cyd@gnu.org>
4613
4614 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
4615 (hi-lock-set-pattern): When deciding whether to use font lock or
4616 overlays, look at font-lock-mode instead of font-lock-fontified
4617 (Bug#12168).
4618 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
4619 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
4620
7d806b1e
DU
46212012-08-14 Daiki Ueno <ueno@unixuser.org>
4622
4623 * subr.el (internal--after-with-selected-window): Fix typo
4624 (Bug#12193).
4625
5beed586
FEG
46262012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
4627
4628 Use `completion-table-dynamic' for completion functions.
4629 * progmodes/python.el
4630 (python-shell-completion--do-completion-at-point)
e636fafe
DG
4631 (python-shell-completion--get-completions):
4632 Remove functions.
5beed586
FEG
4633 (python-shell-completion-complete-at-point): New function.
4634 (python-completion-complete-at-point): Use it.
4635
92cb3b04
J
46362012-08-13 Jambunathan K <kjambunathan@gmail.com>
4637
4638 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
4639 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
4640
89660017
SM
46412012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4642
3c98c962
SM
4643 * subr.el (function-get): Refine `autoload' arg so it can also
4644 autoload functions for gv.el (bug#12191).
4645 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
4646 autoloads macros.
4647
aa7c6dbe
SM
4648 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
4649 Prefer pcase-let over destructuring-bind.
4650 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
4651 Also, remove whitespace as we go, rather than after accumulating the
4652 various places.
4653
89660017
SM
4654 * subr.el (internal--before-with-selected-window)
4655 (internal--after-with-selected-window): Fix typo seleted->selected.
4656 (with-selected-window): Adjust callers.
4657 Reported by Dmitry Gutov <dgutov@yandex.ru>.
4658
31cd32c9
BG
46592012-08-13 Bastien Guerry <bzg@gnu.org>
4660
0fcd3d9f 4661 * window.el (special-display-popup-frame): Minor docstring
31cd32c9
BG
4662 enhancement. (Bug#12172)
4663
1b15d8ad
AS
46642012-08-13 Andreas Schwab <schwab@linux-m68k.org>
4665
31e54db0
AS
4666 * tar-mode.el (tar-header-data-end): Only ignore size for files of
4667 type 1-6.
4668 (tar-header-block-summarize, tar-get-descriptor): Handle pax
4669 extended headers.
4670
1b15d8ad
AS
4671 * files.el (hack-local-variables-filter): Remove useless eval.
4672
35cb9c06
MR
46732012-08-13 Martin Rudalics <rudalics@gmx.at>
4674
4675 * subr.el (with-selected-window): Fix last change.
4676
1439443b
SM
46772012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
4678
4679 * subr.el (internal--before-with-seleted-window)
4680 (internal--after-with-seleted-window): New functions.
1b15d8ad
AS
4681 (with-selected-window): Use them, to replace dependency on
4682 tty-top-frame.
1439443b 4683
0d9e2599
NN
46842012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
4685
4686 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
4687 binding for `newline'.
4688 (ruby-move-to-block): When moving backward, stop at block opening,
4689 not indentation.
4690 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
4691 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
4692 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
4693 `ruby-toggle-block'.
4694
ba10c48c
SM
46952012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
4696
4697 * ibuffer.el (ibuffer-do-toggle-read-only):
4698 * dired.el (dired-toggle-read-only):
4699 * buff-menu.el (Buffer-menu-toggle-read-only):
4700 * bindings.el (mode-line-toggle-read-only):
4701 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
4702
9229c658
AS
47032012-08-12 Andreas Schwab <schwab@linux-m68k.org>
4704
4705 * descr-text.el (describe-char): Put the overlays over the
4706 "displayed as" character.
4707
0fd09128
JB
47082012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
4709
4710 * calc/calc-units.el (math-default-units-table): Give an
4711 initial value.
4712 (math-put-default-units): Add options to put composite units and
4713 unit systems in the default units table.
4714 (calc-convert-units): Send composite units to
4715 `math-put-default-units' when appropriate.
4716
9ff9402d 47172012-08-11 Glenn Morris <rgm@gnu.org>
7aacaf15 4718
fbb5e336
GM
4719 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
4720
7aacaf15
GM
4721 * tutorial.el (help-with-tutorial):
4722 * emacs-lisp/copyright.el (copyright-update-directory):
4723 * emacs-lisp/autoload.el (autoload-find-generated-file)
4724 (autoload-find-file): Disable local eval: (for insurance).
4725
f40b9f10
GM
4726 * files.el (hack-local-variables-filter): If an eval: form is not
4727 known to be safe, and enable-local-variables is :safe, then ignore
4728 the form totally, as is done for non-eval forms. (Bug#12155)
6f97980a 4729 This is CVE-2012-3479.
f40b9f10 4730
daa9f1a6
SM
47312012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
4732
4733 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
4734 (rx-form): Simplify.
4735
9cd80478
DG
47362012-08-09 Dmitry Gutov <dgutov@yandex.ru>
4737
0d9e2599
NN
4738 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
4739 ?, _, and : are symbol constituents, ! is not (but kinda should be).
4740 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
4741 (ruby-syntax-propertize-function): Adjust for changes in
4742 `ruby-syntax-propertize-heredoc'.
4743
47442012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
4745
9cd80478
DG
4746 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
4747 binding (use `M-;' instead).
9cd80478 4748 (ruby-singleton-class-p): New function.
0d9e2599 4749 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9cd80478 4750
d301b413
SM
47512012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
4752
4753 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
4754
1530c98e
CY
47552012-08-10 Chong Yidong <cyd@gnu.org>
4756
4757 * progmodes/python.el (python-shell-get-process-name): Don't mess
4758 with same-window-buffer-names.
4759
4760 * eshell/eshell.el (eshell-add-to-window-buffer-names)
4761 (eshell-remove-from-window-buffer-names): Make obsolete.
4762 (eshell-buffer-name, eshell-unload-hook): Don't use them.
4763 (eshell): Just use pop-to-buffer-same-window instead.
4764
e1293765
CY
47652012-08-10 Chong Yidong <cyd@gnu.org>
4766
4767 * bindings.el: Bind M-= back to count-words-region.
4768
4769 * simple.el (count-words-region): Accept a prefix arg for acting
4770 on the entire buffer.
4771 (count-words--buffer-message): New helper function.
4772
e1894109
SM
47732012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
4774
4775 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
4776 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
4777 (event-start, event-end): Use posn-at-point to return a more
4778 informative posn.
4779 (posnp): New function.
4780 * mouse.el (popup-menu-normalize-position): Use it.
4781
c69f56a2
MY
47822012-08-10 Masatake YAMATO <yamato@redhat.com>
4783
4784 * mouse.el (popup-menu-normalize-position): New function.
4785 (popup-menu): Use `popup-menu-normalize-position' to normalize
4786 the form for POSITION argument.
4787
4788 * term/x-win.el (x-menu-bar-open):
4789 Use the value returend from (posn-at-point) as position
4790 passed to `popup-menu'.
4791
31673780
JB
47922012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
4793
4794 * calc/calccomp.el (math-compose-expr): Add extra argument
4795 indicating that parentheses should be put around products in
4796 denominators. Give multiplication precedence over division during
4797 composition.
4798
dab7711b
CY
47992012-08-09 Chong Yidong <cyd@gnu.org>
4800
dee4ef93
CY
4801 * man.el (Man-switches, Man-sed-command, Man-awk-command)
4802 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
4803 (Man-untabify-command, manual-program): Convert to defcustom
4804 (Bug#10429).
4805
73e2bbc5
CY
4806 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
4807
3e861c8a
CY
4808 * descr-text.el (describe-char): Don't insert extra newlines
4809 (Bug#10127).
4810
a9f5a649
CY
4811 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
4812 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
4813
dab7711b
CY
4814 * align.el (align-region): Delete temporary markers (Bug#10047).
4815 Plus some code cleanups.
4816
e0cc4efa
FEG
48172012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
4818
4819 * progmodes/python.el (python-pdbtrack-tracked-buffer)
4820 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
4821 (python-shell-internal-last-output): Use make-local-variable
4822 instead of make-variable-buffer-local.
4823
489af14f
FEG
48242012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
4825
4826 * progmodes/python.el: Enhancements to forward-sexp.
4827 (python-nav-forward-sexp): Rename from
4828 python-nav-forward-sexp-function.
c69f56a2
MY
4829 (python-nav--forward-sexp, python-nav--backward-sexp):
4830 New functions.
489af14f 4831
0fc50303
JB
48322012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
4833
4834 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
4835 modes and simplification modes.
4836
5d65606a
SM
48372012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
4838
4839 * delsel.el (delete-selection-pre-hook): Don't propagate the
4840 file-supersession signals (bug#12161).
4841
4250fdf5
SM
48422012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4843
4844 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
4845 (cl-map-extents): Add compatibility aliases (bug#12135).
4846
d9f9b465
MA
48472012-08-08 Michael Albinus <michael.albinus@gmx.de>
4848
4849 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
4850 tests by `ignore-error'.
4851 (tramp-find-shell): Open also a new shell, when cache is already
4852 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
4853
ce0fcefa
JL
48542012-08-08 Juri Linkov <juri@jurta.org>
4855
4856 * bookmark.el: Add `defaults' property to the bookmark record.
4857 (bookmark-current-buffer): Doc fix.
4858 (bookmark-make-record): Add `defaults' property with default values
4859 to the bookmark record.
4860 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
4861 with `bookmark-insert-current-bookmark'.
4862 (bookmark-set): Get `defaults' property from the bookmark record
4863 and use it in `read-from-minibuffer'.
4864 (bookmark-insert-current-bookmark): Remove function.
4865
4866 * info.el (Info-bookmark-make-record): Add `defaults' property
4867 with values of canonical Info node name, the current Info file
4868 name and the current Info node name. (Bug#12107)
4869
53fa8652
JL
48702012-08-08 Juri Linkov <juri@jurta.org>
4871
4872 * files.el (basic-save-buffer): Use `buffer-name' as the default
4873 of `read-file-name' when buffer is not visiting a file (bug#12128).
4874
242c0a95
JL
48752012-08-08 Juri Linkov <juri@jurta.org>
4876
4877 * info.el (Info-isearch-search): Doc fix.
4878 (Info-search): Change search-failed message from "initial node" to
4879 "end of node" (bug#12078).
4880 (Info-isearch-search): Change `isearch-string-state' to
4881 `isearch--state-string'.
4882
32ac3a6b
GM
48832012-08-08 Glenn Morris <rgm@gnu.org>
4884
4885 * language/persian.el: Remove file.
f8c1afd5 4886 * language/misc-lang.el: Move unique part of persian.el here.
32ac3a6b
GM
4887 * loadup.el: Remove language/persian.
4888
2c2d9c9c
OF
48892012-08-08 Óscar Fuentes <ofv@wanadoo.es>
4890
4891 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
4892
2d79ec42
FEG
48932012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
4894
4895 * progmodes/python.el Fixed defsubst warning.
4896 (python-syntax-context) Rename from python-info-ppss-context.
4897 (python-syntax-context-type): Rename from
4898 python-info-ppss-context-type.
4899 (python-syntax-comment-or-string-p): Rename from
4900 python-info-ppss-comment-or-string-p.
4901
2bd255dd
JB
49022012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
4903
4904 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
4905
c395097f
AS
49062012-08-07 Andreas Schwab <schwab@linux-m68k.org>
4907
6125983e
AS
4908 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
4909 a defcustom that is quoted with backquote.
4910
4250fdf5
SM
4911 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
4912 Fix handling of interactive spec when the body uses return.
651eaf36
AS
4913 (math-do-arg-check, math-define-function-body): Use backquote forms.
4914 * calc/calc-ext.el (math-defcache): Likewise.
4915 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
4916 * allout.el (allout-new-exposure): Likewise.
4917 * calc/calcalg2.el (math-tracing-integral): Likewise.
4918 * info.el (Info-last-menu-item): Likewise.
4919 * emulation/vip.el (vip-loop): Likewise.
4920 * textmodes/artist.el (artist-funcall): Likewise.
4921 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
4922 Construct menu-item directly.
4923
4250fdf5
SM
4924 * progmodes/autoconf.el (font-lock-syntactic-keywords):
4925 Don't declare.
c395097f 4926
5fb50dd3
CY
49272012-08-07 Chong Yidong <cyd@gnu.org>
4928
4929 * simple.el (deactivate-mark): Preserve text properties when
4930 saving the primary selection (Bug#8384).
4931
54eea618
KR
49322012-08-07 Kevin Ryde <user42@zip.com.au>
4933
4934 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
4935 (woman-parse-numeric-value): On a bad .IP line, issue a warning
4936 and continue processing (Bug#12110).
4937
638eaeb9
SM
49382012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
4939
4940 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
4941 syntax-propertize-function (bug#10095).
4942
ea376861
SM
49432012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
4944
f91b35be
SM
4945 * help-fns.el (help-fns--key-bindings, help-fns--signature)
4946 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
4947 describe-function-1.
4948 (describe-function-1): Use them. Move compiler macro after sig.
4949 (help-fns--compiler-macro): Use function-get. Assume we're already in
4950 standard-output. Adjust layout to new call order.
4951
ea376861
SM
4952 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
4953 re-binding a symbol that has a symbol-macro (bug#12119).
4954
d5be7bd0
MB
49552012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
4956
4957 * language/persian.el: New file. (Bug#11812)
4958 * loadup.el: Add language/persian.el.
4959
90749b53
CY
49602012-08-06 Chong Yidong <cyd@gnu.org>
4961
4962 * window.el (window--maybe-raise-frame): New function.
4963 (window--display-buffer): Split off from here.
4964 (display-buffer-reuse-window, display-buffer-pop-up-frame)
4965 (display-buffer-pop-up-window, display-buffer-use-some-window):
4966 Obey an inhibit-switch-frame action alist entry.
4967 (display-buffer): Update doc.
4968
4969 * replace.el (occur-after-change-function): Avoid losing focus by
4970 using the inhibit-switch-frame display parameter (Bug#12139).
4971
ba7b0154
FEG
49722012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
4973
4974 Make internal shell process buffer names start with space.
4975 * progmodes/python.el (python-shell-make-comint): Add optional
4976 argument INTERNAL.
4977 (run-python-internal): Use it.
4978 (python-shell-internal-get-or-create-process): Check for new
4979 internal buffer names.
4980
5eaeacb5
GM
49812012-08-06 Glenn Morris <rgm@gnu.org>
4982
e296d94b 4983 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5eaeacb5
GM
4984 Do less getting and setting of environment variables.
4985
b7ccbdc2
CY
49862012-08-05 Chong Yidong <cyd@gnu.org>
4987
777fe95e
CY
4988 * proced.el (proced): Add substitution string to docstring to
4989 trigger autoloading of the proced library on C-h f (Bug#1768).
4990
4250fdf5
SM
4991 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
4992 Don't show defvars which have no second argument (Bug#8638).
b7ccbdc2
CY
4993
4994 * imenu.el (imenu-generic-expression): Move documentation here
4995 from imenu--generic-function.
4996 (imenu--generic-function): Refer to imenu-generic-expression.
4997
9e3b7800 49982012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
d5c31f1d
4999
5000 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
5001 indentation declaration.
5002 (viper-loop): Add indentation declaration (Bug#7025).
5003
e5d9c0d1
CY
50042012-08-05 Chong Yidong <cyd@gnu.org>
5005
f0422feb
CY
5006 * help-fns.el (describe-variable): Add hyperlink for
5007 directory-local variables files. Improve buffer-local and
5008 permanent-local reporting; suggested by MON KEY (Bug#6644).
5009
5010 * help-mode.el (help-dir-local-var-def): New button type.
5011
e5d9c0d1
CY
5012 * files.el (kill-buffer-hook): Provide a defvar.
5013
a4f2deaa
GM
50142012-08-05 Glenn Morris <rgm@gnu.org>
5015
5016 * eshell/esh-ext.el (eshell/addpath):
5017 Also update eshell-path-env. (Bug#12013)
5018
a9dd5754
CY
50192012-08-05 Chong Yidong <cyd@gnu.org>
5020
a4f2deaa 5021 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
615b0bf0 5022
d014c740
CY
5023 * fringe.el (fringe-styles): Add docstring.
5024 (fringe--check-mode): New function.
5025 (set-fringe-mode, set-fringe-style): Use it.
5026 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
5027
a9dd5754
CY
5028 * files.el (set-auto-mode): Fix invalid setq call.
5029
7c2dc8bd
SM
50302012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5031
5032 * isearch.el: Misc simplification; use defstruct.
5033 (isearch-mode-map): Dense maps now work like sparse ones.
5034 (isearch--state): New defstruct.
5035 (isearch-string-state, isearch-message-state, isearch-point-state)
5036 (isearch-success-state, isearch-forward-state)
5037 (isearch-other-end-state, isearch-word-state, isearch-error-state)
5038 (isearch-wrapped-state, isearch-barrier-state)
5039 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
5040 replaced by defstruct's accessors.
5041 (isearch--set-state): Rename from isearch-top-state and change
5042 calling convention.
5043 (isearch-push-state): Use new isearch--get-state.
5044 (isearch-toggle-word): Disable regexp when enabling word.
5045 (isearch-message-prefix): Remove unused arg _c-q-hack.
5046 (isearch-message-suffix): Remove unused arg _ellipsis.
5047
7fcc0070
AS
50482012-08-04 Andreas Schwab <schwab@linux-m68k.org>
5049
5050 * simple.el (list-processes--refresh): For a server use :host or
5051 :local as the address.
97ad0769 5052 (list-processes): Doc fix.
7fcc0070 5053
a11035b8 50542012-08-04 Michal Nazarewicz <mina86@mina86.com>
00340faf
MN
5055
5056 * lisp/mpc.el: Support password in host argument.
5057 (mpc--proc-connect): Parse and use new password element.
5058 Set mpc-proc variable instead of returning process.
5059 (mpc-proc): Adjust accordingly.
5060
6dad7178
EZ
50612012-08-03 Eli Zaretskii <eliz@gnu.org>
5062
18949c2f
EZ
5063 * whitespace.el (whitespace-display-mappings): Use Unicode
5064 codepoints, instead of emacs-mule codepoints. See
5065 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
5066 for the details.
5067
6dad7178
EZ
5068 * files.el (file-truename): Don't skip symlink-chasing part on
5069 windows-nt. Incorporate the resolution of 8+3 short aliases on
4250fdf5
SM
5070 Windows into the loop that recursively chases symlinks.
5071 Compare directory and its parent case-insensitively on MS-Windows and
6dad7178
EZ
5072 MS-DOS.
5073
385b0198
CY
50742012-08-03 Chong Yidong <cyd@gnu.org>
5075
6200f3c4
CY
5076 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
5077
385b0198
CY
5078 * sort.el (sort-regexp-fields): Doc fix.
5079
b9e74744
TH
50802012-08-03 Tassilo Horn <tsdh@gnu.org>
5081
5082 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
5083 labels regex position point at the expected place.
5084
41013cb4
MK
50852012-08-03 MON KEY <monkey@sandpframing.com>
5086
5087 * net/imap.el (imap-interactive-login, imap-authenticate)
5088 (imap-mailbox-lsub, imap-mailbox-list)
5089 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
5090 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
5091 (imap-parse-response): Doc fix.
5092
0ffee616
JT
50932012-08-03 João Távora <joaotavora@gmail.com>
5094
5095 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
5096 if sexp scanning does not move point (Bug#5734).
5097
cfcc9cc8
TH
50982012-08-02 Tassilo Horn <tsdh@gnu.org>
5099
5100 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
5101 Add listings, minted, and ctable packages.
5102 (reftex-label-alist-builtin): Move listings, minted, and ctable
5103 entries before LaTeX.
a01bbb84 5104 (reftex-label-alist): Docfix.
cfcc9cc8 5105
66ec2442
BG
51062012-08-02 Bastien Guerry <bzg@gnu.org>
5107
5108 * replace.el (occur): Fix docstring (bug#12122).
5109
837b365b
GM
51102012-08-02 Glenn Morris <rgm@gnu.org>
5111
5112 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
5113
e098de97
PE
51142012-08-02 Paul Eggert <eggert@cs.ucla.edu>
5115
5116 Obsolete alias inactivate-current-input-method-function (Bug#10150).
5117 * international/mule-cmds.el: Create
5118 inactivate-current-input-method-function as an obsolete alias for
5119 deactivate-current-input-method-function. See Katsumi Yamaoka in
5120 <http://bugs.gnu.org/10150#46>.
5121
a0f95636
JB
51222012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
5123
5124 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
5125 of nested `if's.
5126
0d26d7c4
GM
51272012-08-01 Glenn Morris <rgm@gnu.org>
5128
5129 * progmodes/autoconf.el (autoconf-definition-regexp):
5130 Add AH_TEMPLATE, adjust submatch numbering.
5131 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
5132 (autoconf-current-defun-function): Update for above change.
5133 (autoconf-current-defun-function): First skip to end of current word.
5134
b686ba06
RS
51352012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
5136
5137 * calendar/cal-html.el (cal-html-insert-agenda-days):
5138 Fix typo. (Bug#12018)
5139
0d49da68
FEG
51402012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
5141
5142 Shell processes: enhancements to startup and CEDET compatibility.
5143 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
5144 (python-shell-make-comint): accept-process-output at startup.
5145 (run-python-internal): Set inferior-python-mode-hook to nil.
5146 (python-shell-internal-get-or-create-process): call sit-for.
5147 (python-preoutput-result): Add obsolete alias.
5148 (python-shell-internal-send-string): Use it.
5149 (python-shell-send-setup-code): Remove call to
5150 accept-process-output.
5151
f1a71c6e
AS
51522012-07-31 Andreas Schwab <schwab@linux-m68k.org>
5153
5154 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
5155 (Bug#12108)
5156
d2605269
JB
51572012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
5158
5159 * calc-mode.el (calc-basic-simplification-mode): Rename from
5160 `calc-limited-simplification-mode'.
5161 (calc-alg-simplification-mode): New function.
fc0c31f8 5162 (calc-set-simplify-mode): Adjust message.
f1a71c6e 5163
d2605269
JB
5164 * calc.el (calc-set-mode-line): Adjust mode line display for
5165 basic simplification mode.
5166
5167 * calc-help.el (calc-m-prefix-help): Update help message.
5168
5169 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
5170 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
5171
a3827a43
BG
51722012-07-31 Bastien Guerry <bzg@gnu.org>
5173
5174 * man.el (man): Fix comment. (bug#12101)
5175
502e3f89
MR
51762012-07-31 Martin Rudalics <rudalics@gmx.at>
5177
5178 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
5179 Don't return a non-nil value when no suitable buffer was found.
5180
d7714961
FEG
51812012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
5182
5183 * progmodes/python.el (run-python-internal): Disable font lock for
5184 internal shells.
5185
1f45e27e
SM
51862012-07-30 Stefan Merten <smerten@oekonux.de>
5187
70efc5c9 5188 * textmodes/rst.el: Silence `checkdoc-ispell'.
1f45e27e
SM
5189 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
5190 (rst-official-version, rst-official-cvs-rev)
5191 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
5192 (rst-mode-map): New key binding.
5193
0aee6912
PE
51942012-07-30 Paul Eggert <eggert@cs.ucla.edu>
5195
5196 Update .PHONY listings in makefiles.
5197 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
5198 autoloads, update-subdirs, updates, bzr-update, update-authors,
5199 compile-onefile, compile-calc, backup-compiled-files,
5200 compile-after-backup, compile-one-process, mh-autoloads,
5201 bootstrap-clean, distclean, maintainer-clean.
5202
9052f9f0
JB
52032012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
5204
1823ac5a
JB
5205 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
5206 (calc-set-mode-line): Don't display "AlgSimp ".
5207
5208 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
5209 (calc-lim-simplify-mode): New function.
5210 (calc-set-simplify-mode): Default to 'alg.
5211 (calc-default-simplify-mode): Make algebraic simplifications
5212 the default.
5213
5214 * calc/calc-ext.el (calc-init-extensions): Remove binding for
5215 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
5216
8d7c7eed 5217 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
5218 indicate new simplification modes.
5219
1823ac5a
JB
5220 * calc/README: Mention new default simplification mode.
5221
9052f9f0
JB
5222 * calc/calc.el (math-normalize-error): New variable.
5223 (math-normalize): Set `math-normalize-error' to t
5224 when there's an error.
5225
5226 * calc/calc-alg.el (math-simplify): Don't simplify when
5227 `math-normalize' returns an error.
5228
20ba0cb4
EZ
52292012-07-29 Eli Zaretskii <eliz@gnu.org>
5230
5231 * international/mule-cmds.el (set-locale-environment): Revert last
5232 change, since display-graphic-p returns nil when this function is
5233 called during startup. Instead...
5234
5235 * term/w32console.el (terminal-init-w32console): ...setup the
5236 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
5237
a5dcc929
JL
52382012-07-29 Juri Linkov <juri@jurta.org>
5239
5240 * simple.el (goto-line): Don't display default line number in the
5241 prompt because it should be displayed by `read-number' (bug#9952).
5242 Add the current line number to the defaults of `goto-line' to
5243 allow its easier modification by users with `M-n' (bug#9201).
5244
5245 * subr.el (read-number): Support multiple default values like in
5246 other minibuffer reading functions. Replace `read' with
5247 `string-to-number' for consistency with `number-to-string'.
5248
72b255c7
PE
52492012-07-29 Paul Eggert <eggert@cs.ucla.edu>
5250
5251 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
5252 * emulation/viper-init.el (viper-deactivate-input-method-action):
5253 Rename from viper-inactivate-input-method-action.
5254 (viper-deactivate-input-method):
5255 Rename from viper-inactivate-input-method.
5256 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
5257 * international/mule-cmds.el (deactivate-input-method):
5258 Rename from inactivate-input-method.
5259 Also run input-method-deactivate-hook.
5260 (deactivate-current-input-method-function):
5261 Rename from inactivate-current-input-method-function.
5262 (input-method-deactivate-hook): New hook.
5263 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
5264 (inactivate-input-method): Mark obsolete.
5265
72b255c7
PE
5266 * international/quail.el (quail-activate):
5267 Also run quail-deactivate-hook.
5268 (quail-deactivate): Rename from quail-inactivate.
5269 * international/robin.el (robin-activate):
5270 Also run robin-deactivate-hook.
5271 (robin-deactivate): Rename from robin-inactivate.
5272
2549c068
CY
52732012-07-29 Chong Yidong <cyd@gnu.org>
5274
5275 * simple.el (indicate-copied-region): New function.
5276 (kill-ring-save): Split off from here.
5277
5278 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
5279 (kill-rectangle): Set deactivate-mark to t on read-only error.
5280
5281 * register.el (copy-to-register, copy-rectangle-to-register):
5282 Deactivate the mark, and use indicate-copied-region (Bug#10056).
4c478e6b
JL
5283 (append-to-register, prepend-to-register): Call indicate-copied-region.
5284
52852012-07-29 Juri Linkov <juri@jurta.org>
17711ed9
JL
5286
5287 * simple.el (async-shell-command-buffer): New defcustom.
5288 (shell-command): Use it. (Bug#4719)
5289
01bd1b0d
EZ
52902012-07-28 Eli Zaretskii <eliz@gnu.org>
5291
5292 * international/mule-cmds.el (set-locale-environment): In a
5293 console session on MS-Windows, set up keyboard and terminal
5294 encoding from the OEM codepage, not the ANSI codepage.
5295 (Bug#12055)
5296
a55739d3
CY
52972012-07-28 Chong Yidong <cyd@gnu.org>
5298
5299 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
5300 gdb-get-location.
5301
0e1a094f 53022012-07-28 Leo Liu <sdl.web@gmail.com>
9a0f8f2e
LL
5303
5304 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
5305 the alist (bug#12029).
5306
20329d73
EZ
53072012-07-28 Eli Zaretskii <eliz@gnu.org>
5308
5309 * makefile.w32-in (custom-deps, finder-data, updates, compile)
5310 (compile-always, compile-first)
5311 ($(lisp)/calendar/cal-loaddefs.el)
5312 ($(lisp)/calendar/diary-loaddefs.el)
5313 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
5314 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
5315 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
5316 instead of on update-subdirs.
5317 (bootstrap-clean): Delete $(lisp)/subdirs.el.
5318
345a2258
CY
53192012-07-28 Chong Yidong <cyd@gnu.org>
5320
1eee6341
CY
5321 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
5322 directory if vc-deduce-backend returns nil (Bug#7350).
5323
345a2258
CY
5324 * simple.el (delete-trailing-lines): New option.
5325 (delete-trailing-whitespace): Obey it (Bug#11879).
5326
049a0936
DE
53272012-07-28 David Engster <deng@randomsample.de>
5328
5329 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
5330 Explanation of new 'symbol-qnames feature in doc-strings.
5331 (xml-maybe-do-ns): Return expanded names as plain symbols if
5332 'symbol-qnames was provided in XML-NS argument (Bug#11916).
5333 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
5334
aa81af71
FEG
53352012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
5336
5337 Consistent completion in inferior python with emacs -nw.
5338 * progmodes/python.el (inferior-python-mode): replace "<tab>"
5339 binding in inferior-python-mode-map with "\t".
5340 (python-shell-completion-complete-at-point)
5341 (python-completion-complete-at-point): Remove interactive spec.
5342
e827b1eb
JB
53432012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
5344
5345 * calc/calccomp.el (math-compose-expr): Undo previous change.
5346
a90dfb95
FEG
53472012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
5348
4250fdf5 5349 * progmodes/python.el (python-mode-map): Add keybinding for
a90dfb95
FEG
5350 run-python.
5351 (python-shell-make-comint): Fix pop-to-buffer call.
5352 (run-python): Autoload. New arg SHOW.
5353 (python-shell-get-or-create-process): Do not pop python process
5354 buffer.
5355
32770973 53562012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
5357
5358 * notifications.el (notifications-on-action-signal)
5359 (notifications-on-closed-signal): Use also the bus address for the map.
5360 (notifications-notify, notifications-close-notification)
fc0c31f8 5361 (notifications-get-capabilities): Add optional argument BUS.
1c6ef030 5362
86332df2
TH
53632012-07-27 Tassilo Horn <tsdh@gnu.org>
5364
4250fdf5
SM
5365 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
5366 Add support for the lstlisting and minted environments, and for the
86332df2
TH
5367 ctable macro.
5368 * textmodes/reftex.el (reftex-compile-variables): Also recognize
5369 labels written in keyvals syntax.
5370
ca1302a4
JB
53712012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
5372
5373 * calc/calccomp.el (math-compose-expr): Use parentheses when
5374 there is a product in the denominator of a fraction.
5375
f8b91036
EZ
53762012-07-26 Eli Zaretskii <eliz@gnu.org>
5377
5378 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
5379 ($(lisp)/calendar/diary-loaddefs.el)
5380 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4250fdf5
SM
5381 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
5382 Fixes failures in parallel bootstrap because subdirs.el is being
f8b91036
EZ
5383 rewritten while the autoload files are built at the same time,
5384 which needs to load subdirs.el.
5385
c8e5a42c
MR
53862012-07-26 Martin Rudalics <rudalics@gmx.at>
5387
5388 * mouse.el (popup-menu): Fix doc-string and re-indent code.
5389 (mouse-drag-line): Don't exit tracking when a switch-frame or
5390 switch-window event occurs (Bug#12006).
5391
670d85ea
SM
53922012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5393
5394 * mouse.el (popup-menu): Fix last change.
5395
7abaf5cc
SM
53962012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5397
5398 Autoload from Lisp with more care. Follow aliases when looking for
5399 function properties.
5400 * subr.el (autoloadp): New function.
5401 (symbol-file): Use it.
5402 (function-get): New function.
5403 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
5404 autoload-do-load.
5405 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
5406 (lisp-indent-function):
5407 * emacs-lisp/gv.el (gv-get):
5408 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
5409 * emacs-lisp/byte-opt.el (byte-optimize-form):
5410 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
5411 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
5412 Use function-get.
5413 * emacs-lisp/cl.el: Don't propagate function properties any more.
5414
5415 * speedbar.el (speedbar-add-localized-speedbar-support):
5416 * emacs-lisp/disass.el (disassemble-internal):
5417 * desktop.el (desktop-load-file):
5418 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
5419 (describe-function-1):
5420 * emacs-lisp/find-func.el (find-function-noselect):
5421 * emacs-lisp/elp.el (elp-instrument-function):
5422 * emacs-lisp/advice.el (ad-has-proper-definition):
5423 * apropos.el (apropos-safe-documentation, apropos-macrop):
5424 * emacs-lisp/debug.el (debug-on-entry):
5425 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
5426 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
5427 * calc/calc.el (name): Use autoloadp & autoload-do-load.
5428
b1364986
AA
54292012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
5430
5431 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
5432 function, not an obsolete variable (Bug#12046).
5433
67ada220
AS
54342012-07-25 Andreas Schwab <schwab@linux-m68k.org>
5435
5436 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
5437
f08088e3
CS
54382012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
5439
5440 * emacs-lisp/pp.el (pp-display-expression): Select old selected
5441 window only if it is still live (Bug#12034).
5442
8137e7b3
MR
54432012-07-25 Martin Rudalics <rudalics@gmx.at>
5444
5445 * subr.el (redirect-frame-focus): Add advertised calling
5446 convention (Bug#12030).
5447
09ae5da1
PE
54482012-07-25 Paul Eggert <eggert@cs.ucla.edu>
5449
5450 Prefer typical American spelling for "acknowledgment".
5451 * vc/add-log.el (change-log-acknowledgment): Rename from
5452 change-log-acknowledgement, with an alias for the old name.
5453
3cc5a3a8
JB
54542012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
5455
5456 * calc-alg.el (math-simplify-divide): Don't cross multiply
5457 in an equation when the lhs is a variable.
5458
b7af7f62
JD
54592012-07-24 Julien Danjou <julien@danjou.info>
5460
5461 * net/netrc.el (netrc-find-service-number, netrc-store-data):
5462 Remove, unused.
5463
ec1b09b1
EZ
54642012-07-23 Eli Zaretskii <eliz@gnu.org>
5465
5466 * startup.el (command-line): Don't display an empty user name in
5467 the error message about non-existent home directory, when
5468 init-file-user was set to an empty string. See
5469 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
5470 for the details and context.
5471
b525fd8a
VB
54722012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
5473
5474 * ses.el (ses-cell-formula-aset): New macro.
5475 (ses-cell-references-aset): New macro.
5476 (ses-cell-p): New function.
5477 (ses-rename-cell): Do no longer rely on complex operations like
5478 ses-cell-set-formula or ses-set-cell to change the cell and handle
5479 the undo at the same time, but rather use lower level new macros
5480 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
fc0c31f8 5481 the undo directly. Refresh the mode line.
b525fd8a 5482
2c73e345
LL
54832012-07-21 Leo Liu <sdl.web@gmail.com>
5484
670d85ea
SM
5485 * progmodes/cc-cmds.el (c-defun-name):
5486 Use match-string-no-properties instead for consistency.
2c73e345 5487
542dfbde
LL
54882012-07-20 Leo Liu <sdl.web@gmail.com>
5489
3646bcd6
LL
5490 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
5491 (Bug#7879)
5492
542dfbde
LL
5493 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
5494
25721031
CY
54952012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
5496
5497 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
5498 * progmodes/bug-reference.el, misearch.el: Provide themselves
5499 (bug#11915).
5500
5501 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
5502 of narrowed buffer (bug#11966).
5503
316e68a7
VB
55042012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
5505
5506 * ses.el (ses-rename-cell): Set new name also in reference list of
5507 cells of which the renamed cell depends.
5508
bbf0e7d9
MY
55092012-07-20 Masatake YAMATO <yamato@redhat.com>
5510
5511 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
5512 to check whether menu-bar is shown or not. If not shown,
5513 show the menu-bar as a popup menu instead of using tmm.
5514 * mouse.el (popup-menu): Accept `point' as `position' argument.
5515
c28662a8
DG
55162012-07-20 Dmitry Gutov <dgutov@yandex.ru>
5517
5518 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
5519 up inside string symbol literal (bug#11923).
5520
87ab808f
EZ
55212012-07-20 Eli Zaretskii <eliz@gnu.org>
5522
5523 * startup.el (fancy-startup-text): Read the whole tutorial, not
5524 just its first 256 bytes. Prevents gibberish in display of the
5525 tutorial title.
5526
89dea803
DA
55272012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
5528
5529 Drop idle buffer compaction due to an absence of the
5530 proved efficiency.
5531 * compact.el: Remove.
5532
8a4e6db8
SS
55332012-07-19 Sam Steingold <sds@gnu.org>
5534
5535 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
5536 vc-bzr-pull & vc-bzr-merge-branch.
5537 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
5538 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
5539 for consistency with compilation-error-regexp-alist.
5540 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
5541 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
5542 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
5543 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
5544
5db81e33
SM
55452012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
5546
5547 * emacs-lisp/chart.el: Use lexical-binding.
5548 (chart-emacs-storage): Don't hardcode the list of entries.
5549
5b835e1d
DA
55502012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
5551
5552 Next round of tweaks caused by Fgarbage_collect changes.
5553 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
5554
9cd47b72
DA
55552012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
5556
5557 Compact buffers when idle.
5558 * compact.el: New file.
5559
1d6fc0df
SM
55602012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
5561
5562 * subr.el (eventp): Presume that if it looks vaguely like an event,
5563 it's an event (bug#10190).
5564
1d29cc7d
FEG
55652012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
5566
5567 Enhancements to ppss related code (thanks Stefan).
5568 * progmodes/python.el (python-indent-context)
5569 (python-indent-calculate-indentation, python-indent-dedent-line)
5570 (python-indent-electric-colon, python-nav-forward-block)
5571 (python-mode-abbrev-table)
1d6fc0df 5572 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
5573 for ppss context.
5574 (python-info-continuation-line-p): Cleanup.
5575 (python-info-ppss-context): Do not catch 'quote.
5576 (python-info-ppss-context-type)
5577 (python-info-ppss-comment-or-string-p): Simplify.
5578
d583cbe6
FEG
55792012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
5580
5581 * progmodes/python.el: Enhancements to eldoc support.
5582 (python-info-current-symbol): New function.
5583 (python-eldoc-at-point): Use python-info-current-symbol.
5584 (python-info-current-defun): Fix cornercase on first defun scan.
5585 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
5586 and signal error when no inferior python process is available.
5587
eceb6feb
DG
55882012-07-18 Dmitry Gutov <dgutov@yandex.ru>
5589
5590 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
5591 assume it's always t.
5592 (vc-git-registered): Remove caching, the function is only called
5593 once.
5594 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
5595
4c8ff0fe
CY
55962012-07-18 Chong Yidong <cyd@gnu.org>
5597
19fb7186
CY
5598 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
5599
9587c688
CY
5600 * simple.el (count-words): Report on narrowing (Bug#9959).
5601
0fe776a1
CY
5602 * bindings.el: Bind M-= to count-words.
5603
4c8ff0fe
CY
5604 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
5605
7f5331cc
MY
56062012-07-18 Masatake YAMATO <yamato@redhat.com>
5607
5608 * progmodes/sh-script.el (sh-imenu-generic-expression):
5609 Capture a function with `function' keyword and without parentheses
5610 like "function FOO" (bug#11856).
5611
2dc2a609
TH
56122012-07-18 Tassilo Horn <tassilo@member.fsf.org>
5613
5614 * window.el (split-window-sensibly): Make WINDOW argument
5615 optional.
5616
439f7677
CY
56172012-07-18 Chong Yidong <cyd@gnu.org>
5618
9aeb25a6
CY
5619 * subr.el (keyboard-translate): Doc fix (Bug#7261).
5620
439f7677
CY
5621 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
5622 and make C-x 8 RET exit isearch (Bug#11439).
5623
5624 * international/iso-transl.el: Move isearch-mode-map key
5625 definitions to isearch.el.
5626
12999ea8
SM
56272012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
5628
5629 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
5630 (eieio-defclass): Use gv-define-setter when possible.
5631
3ab6e069
DA
56322012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
5633
5634 Reflect recent changes in Fgarbage_collect.
5635 * emacs-lisp/chart.el (chart-emacs-storage): Change to
5636 reflect new format of data returned by Fgarbage_collect.
5637
0a60bc10
FEG
56382012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
5639
5640 New utility functions + python-info-ppss-context fix (Bug#11910).
5641 * progmodes/python.el (python-info-beginning-of-block-statement-p)
5642 (python-info-ppss-comment-or-string-p): New functions.
5643 (python-info-ppss-context): Small fix for string check.
5644
6dafa0d5
JL
56452012-07-17 Juri Linkov <juri@jurta.org>
5646
5647 * dired-aux.el (dired-do-async-shell-command): Doc fix.
5648 (dired-do-async-shell-command): Don't add `*' at the end of the
5649 command (Bug#11815).
5650 (dired-do-shell-command): Doc fix.
5651 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
5652 Join the individual commands using either "&" or ";" as the
5653 separator depending on the values of these trailing characters.
5654 At the end re-add the trailing "&". (Bug#10598)
5655
5656 * simple.el (async-shell-command): Sync the interactive spec with
5657 `shell-command'. Doc fix.
5658 (shell-command): Doc fix.
5659
b19dd9d1
JL
56602012-07-17 Juri Linkov <juri@jurta.org>
5661
5662 * descr-text.el (describe-char): Fix format args. (Bug#10129)
5663
bcdc27d7 56642012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 5665
bcdc27d7 5666 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
5667 * progmodes/python.el (python-nav-beginning-of-statement):
5668 Rename from python-nav-statement-start.
bcdc27d7
FEG
5669 (python-nav-end-of-statement): Rename from
5670 python-nav-statement-end.
5671 (python-nav-beginning-of-block): Rename from
5672 python-nav-block-start.
5673 (python-nav-end-of-block): Rename from python-nav-block-end.
5674
191da00e
FEG
56752012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
5676
7f5331cc
MY
5677 * progmodes/python.el (python-shell-send-string-no-output):
5678 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
5679 future interactions (Bug#11868).
5680
4dc7c8d5 56812012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 5682
88ecaf8f
SM
5683 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
5684
ef501ef0
SM
5685 * emacs-lisp/elint.el (elint-find-args-in-code):
5686 Use help-function-arglist, so as to handle lexical byte-code.
5687
aa7aaf8f
SM
5688 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
5689 change (bug#11826).
5690
45fd731c
SM
56912012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
5692
2143fa32
SM
5693 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
5694 Avoid spuriously marking the buffer as modified because of c-is-sws.
5695
efc26dbe
SM
5696 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
5697 as not-a-comment (bug#11946).
5698
f5695c9a
SM
5699 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
5700 for uninterned vars.
5701
5702 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
5703 Use read-event since we don't really want to read chars but bytes.
5704
45fd731c
SM
5705 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
5706 $$..$$ but also $..$ using regexps (bug#11953).
5707 Use tex-verbatim for \url and \path.
5708 (tex-font-lock-keywords): Define as defconst like the others.
5709 (tex-common-initialization): Don't use font-lock-syntax-table any more.
5710
ddfc8813
RK
57112012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
5712
5713 * international/mule-cmds.el (ucs-insert): Make it an obsolete
5714 alias for insert-char.
5715
758e556a
FEG
57162012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
5717
5718 * progmodes/python.el: Simplified imenu implementation.
5719 (python-nav-jump-to-defun): Remove command.
5720 (python-mode-map): Use `imenu' instead.
5721 (python-nav-list-defun-positions-cache)
5722 (python-imenu-include-defun-type, python-imenu-make-tree)
5723 (python-imenu-subtree-root-label, python-imenu-index-alist):
5724 Remove vars.
5725 (python-nav-list-defun-positions, python-nav-read-defun)
5726 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
5727 (python-imenu-make-tree, python-imenu-create-index):
5728 Remove functions.
758e556a
FEG
5729 (python-mode): Update to interact with imenu by setting
5730 `imenu-extract-index-name-function' only.
5731
032d23ab
FEG
57322012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
5733
5734 * progmodes/python.el: Enhancements to navigation commands.
5735 (python-nav-backward-sentence)
5736 (python-nav-forward-sentence): Remove.
5737 (python-nav-backward-statement, python-nav-forward-statement)
5738 (python-nav-statement-start, python-nav-statement-end)
5739 (python-nav-backward-block, python-nav-forward-block)
5740 (python-nav-block-start, python-nav-block-end)
5741 (python-nav-forward-sexp-function)
5742 (python-info-current-line-comment-p)
5743 (python-info-current-line-empty-p): New functions.
5744 (python-indent-context): Use `python-nav-statement-start'.
5745
01795a1b
MA
57462012-07-16 Michael Albinus <michael.albinus@gmx.de>
5747
9328d9aa
MA
5748 * eshell/em-ls.el (eshell/ls): Use `apply'.
5749
5750 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
5751 multi-hops, instead of Tramp internals.
5752
01795a1b
MA
5753 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
5754
5755 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
5756 when F1 and F2 are located on different hosts.
5757
63408057
CY
57582012-07-14 Chong Yidong <cyd@gnu.org>
5759
5760 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
5761 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
5762 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
5763 (xterm-mouse--read-event-sequence-1000)
5764 (xterm-mouse--read-event-sequence-1006): New functions. For old
5765 mouse protocol, handle M-mouse-X events correctly.
5766 (xterm-mouse-event): New arg specifying mouse protocol.
5767 (turn-on-xterm-mouse-tracking-on-terminal)
5768 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
5769 sequence to toggle extended coordinates on newer XTerms.
5770 This appears to be harmless on terminals which do not support this.
63408057 5771
cd276f6e
LL
57722012-07-14 Leo Liu <sdl.web@gmail.com>
5773
28ca98ac
LL
5774 Add fringe bitmap indicators for flymake. (Bug#11253)
5775 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
5776 (flymake-make-overlay): New arg BITMAP.
5777 (flymake-error-bitmap, flymake-warning-bitmap)
5778 (flymake-fringe-indicator-position): New user variables.
5779
cd276f6e
LL
5780 * fringe.el: New bitmap exclamation-mark.
5781
04408072
JD
57822012-07-14 Jan Djärv <jan.h.d@swipnet.se>
5783
5784 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
5785 also (Bug#7879).
5786
b5cf7fc4
CY
57872012-07-14 Chong Yidong <cyd@gnu.org>
5788
5789 * electric.el (electric-pair-post-self-insert-function): Fix pair
5790 insertion in empty-region case (Bug#11520).
5791
be755c79
RT
57922012-07-14 Chong Yidong <cyd@gnu.org>
5793
45fd731c
SM
5794 * bindings.el: Consolidate ctl-x-r-map bindings.
5795 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
5796
5797 * rect.el, register.el: Move bindings to bindings.el.
5798
57992012-07-14 Reuben Thomas <rrt@sc3d.org>
5800
5801 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
5802
7f5b3198
AS
58032012-07-13 Andreas Schwab <schwab@linux-m68k.org>
5804
5805 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
5806
97662200
JB
58072012-07-13 Juanma Barranquero <lekktu@gmail.com>
5808
80185fed
JB
5809 * bindings.el (top): Use `mapc' instead of `mapcar'.
5810
97662200
JB
5811 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
5812
2bb1ae55
MA
58132012-07-13 Michael Albinus <michael.albinus@gmx.de>
5814
5815 * progmodes/sql.el (sql-comint): Suppress the check for program on
5816 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
5817 (Bug#11908)
5818
dea31bd3
CY
58192012-07-13 Chong Yidong <cyd@gnu.org>
5820
5821 * bindings.el: Assign a non-nil permanent-local property to
5822 per-buffer variables which lack a default value (Bug#11930).
5823
5824 * help-fns.el (describe-variable): In the "automatically becomes
5825 local" notice, take note of permanent-local variables.
5826
b68b3337
CY
58272012-07-13 Chong Yidong <cyd@gnu.org>
5828
5829 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
5830 to allow printing the message when called from Lisp.
5831
5832 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
5833 Remove toggle-read-only.
5834
5835 * bs.el (bs-toggle-readonly):
45fd731c
SM
5836 * buff-menu.el (Buffer-menu-toggle-read-only):
5837 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
5838
5839 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
5840 Remove with-no-warnings around toggle-read-only.
5841 (ffap-read-only, ffap-read-only-other-window)
5842 (ffap-read-only-other-frame): Callers changed.
5843
5844 * help-mode.el: Don't require view package.
5845 (help-mode-finish): Set buffer-read-only instead of calling
5846 toggle-read-only.
5847
5848 * bindings.el (mode-line-toggle-read-only):
5849 * dired.el (dired-toggle-read-only):
5850 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
5851 with non-nil second arg.
5852
5853 * emacs-lisp/eieio-custom.el (eieio-customize-object):
5854 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
5855 directly.
5856
56bc1586
EZ
58572012-07-12 Eli Zaretskii <eliz@gnu.org>
5858
5859 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
5860 not incf.
5861
a464a6c7
SM
58622012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
5863
5864 More CL cleanups and reduction of use of cl.el.
5865 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
5866 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
5867 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
5868 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
5869 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
5870 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
5871 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
5872 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
5873 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
5874 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
5875 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
5876 * eshell/em-cmpl.el, eshell/em-banner.el:
5877 * calendar/parse-time.el: Use cl-lib.
5878 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
5879 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
5880 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
5881 * term/ns-win.el, term.el, shell.el, ps-samp.el:
5882 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
5883 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
5884 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
5885 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
5886 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
5887 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
5888 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
5889 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
5890 `lambda' rather than with `quote'.
5891 (eshell-do-opt): Adjust accordingly.
5892 (eshell-process-option): Simplify.
5893 * eshell/esh-var.el:
5894 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
5895 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
5896 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
5897 to `pcase--dontcare'.
5898 * emacs-lisp/cl.el (labels): Mark obsolete.
5899 (cl--letf, letf): Move to cl-lib.
5900 (cl--letf*, letf*): Remove.
5901 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
5902 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
5903 (cl-progv): Rewrite.
5904 (cl--letf, cl-letf): Move from cl.el.
5905 (cl-letf*): New macro.
5906 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
5907
7ad4afe1
MA
59082012-07-11 Michael Albinus <michael.albinus@gmx.de>
5909
5910 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
5911
9af57756
CY
59122012-07-11 Chong Yidong <cyd@gnu.org>
5913
5914 * vc/log-edit.el (log-edit-vc-backend): New variable.
5915 (log-edit): Doc fix.
5916
5917 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
5918 argument of log-edit to set up all local variables.
5919 (vc-start-logentry): New optional arg specifying VC backend.
5920
5921 * vc/vc.el (vc-checkin): Use it.
5922 (vc-deduce-fileset): Handle Log Edit buffers.
5923 (vc-diff): Make first argument optional too.
5924
5925 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
5926
8477cc7a
MA
59272012-07-10 Michael Albinus <michael.albinus@gmx.de>
5928
5929 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
5930 command, just in case. The function is not needed anymore.
5931 (eshell-external-command): Do not call `eshell-remote-command'.
5932
19faa8e8
SM
59332012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
5934
f58e0fd5
SM
5935 Reduce use of (require 'cl).
5936 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
5937 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
5938 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
5939 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
5940 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
5941 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
5942 * battery.el, avoid.el, abbrev.el: Use cl-lib.
5943 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
5944 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
5945 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
5946 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
5947 * calculator.el, autorevert.el, apropos.el: Don't require CL.
5948 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
5949 (byte-compile-unfold-bcf, byte-compile-check-variable):
5950 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
5951 (byte-compile-nilconstp):
5952 * emacs-lisp/autoload.el (make-autoload): Use pcase.
5953 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
5954
2519d43a
SM
5955 * emacs-lisp/gv.el (cond): Make it a valid place.
5956 (if): Simplify slightly.
5957
19faa8e8
SM
5958 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
5959 (pcase--self-quoting-p): New function.
5960 (pcase--u1): Use it.
5961
c4907a5e
GM
59622012-07-10 Glenn Morris <rgm@gnu.org>
5963
5964 * emacs-lisp/authors.el (authors-fixed-entries):
5965 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
5966
c4444d16
PE
59672012-07-09 Paul Eggert <eggert@cs.ucla.edu>
5968
5969 Rename configure.in to configure.ac (Bug#11603).
5970 * emacs-lisp/authors.el (authors-canonical-file-name):
5971 * progmodes/autoconf.el (autoconf-mode):
5972 Prefer configure.ac to configure.in.
5973
d75be97d
CY
59742012-07-08 Chong Yidong <cyd@gnu.org>
5975
01ac65bd
CY
5976 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
5977 Implement the mouse-1-click-follows-link handling properly.
5978
5979 * info.el (Info-link-keymap): Use follow-link mechanism for
5980 header-line links (Bug#374).
5981
d75be97d
CY
5982 * simple.el (deactivate-mark): Do not set the primary selection
5983 if another program has acquired it (Bug#11772).
5984
87a92845 59852012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
5986
5987 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
5988 (woman-decode-region): Replace escaped-escapes without destroying
5989 bold or underline (Bug#11552).
87a92845 5990 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 5991
621b9d6c
CY
59922012-07-07 Chong Yidong <cyd@gnu.org>
5993
5994 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
5995 (interprogram-cut-function, interprogram-paste-function):
5996 Mention that we typically mean the clipboard.
621b9d6c 5997
133a11fc
GM
59982012-07-06 Glenn Morris <rgm@gnu.org>
5999
0d27a45e
GM
6000 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
6001
133a11fc
GM
6002 * files.el (toggle-read-only): Restrict message to interactive use.
6003
07b151f1
MA
60042012-07-06 Michael Albinus <michael.albinus@gmx.de>
6005
6006 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
6007
6008 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
6009
211b896b
GM
60102012-07-06 Glenn Morris <rgm@gnu.org>
6011
50394322
GM
6012 * Makefile.in (compile-one-process): Rename from "recompile".
6013
211b896b
GM
6014 * Makefile.in (bzr-update): "compile" is the same as "recompile
6015 autoloads", but parallelizable, so use that instead.
6016
4737eec9
DG
60172012-07-06 Dmitry Gutov <dgutov@yandex.ru>
6018
6019 * window.el (quit-window): Always restore window height when
8137e7b3 6020 it's saved in quit-restore parameter (Bug#11810).
4737eec9 6021
226c3633 60222012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
6023
6024 * simple.el (kill-whole-line): Doc tweak.
6025
226c3633 60262012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
6027
6028 * files.el (file-relative-name): Compare file names
6029 case-insensitively if on MS-Windows or MS-DOS, or if
6030 read-file-name-completion-ignore-case is non-nil. Don't use
6031 case-fold-search for this purpose. (Bug#11827)
6032
4dc7c8d5
SM
60332012-07-17 Andreas Schwab <schwab@linux-m68k.org>
6034
6035 * calendar/cal-dst.el (calendar-current-time-zone):
6036 Return calendar-current-time-zone-cache if non-nil.
6037
60382012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 60392012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 6040
19faa8e8
SM
6041 * calendar/cal-dst.el (calendar-current-time-zone):
6042 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 6043
60198fc9
GM
60442012-07-06 Glenn Morris <rgm@gnu.org>
6045
6046 * Makefile.in (cvs-update): Remove old alias.
6047
957b3189
MA
60482012-07-05 Michael Albinus <michael.albinus@gmx.de>
6049
6050 Sync with Tramp 2.2.6-pre.
6051
6052 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
6053 compatible declaration.
6054
19faa8e8
SM
6055 * net/tramp-cmds.el (tramp-append-tramp-buffers):
6056 Protect `list-load-path-shadows' call.
957b3189
MA
6057
6058 * net/tramp-compat.el (top): Require packages, which aren't
6059 autoloaded anymore for XEmacs. Protect call of
6060 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
6061 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
6062 it hurts at least for SXEmacs.
6063 (tramp-compat-temporary-file-directory): In XEmacs, there is no
6064 standard-value for `temporary-file-directory'.
6065
6066 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
6067 Redirect stderr to /dev/null.
6068 (tramp-sh-handle-write-region): uid and gid can be floats.
6069 Reported by Russell Sim <russell.sim@gmail.com>.
6070 (tramp-sh-handle-vc-registered): Hide errors.
6071 (tramp-vc-file-name-handler): Use dummy results for `process-file'
6072 and `start-file-process'.
6073 (tramp-maybe-open-connection): Check also whether `non-essential'
6074 is bound.
6075
566df3fc
CY
60762012-07-04 Chong Yidong <cyd@gnu.org>
6077
6078 * xml.el (xml--parse-buffer): Use xml-syntax-table.
6079 (xml-parse-tag): Likewise, and avoid changing entity tables.
6080 (xml-syntax-table): Define from scratch, making sure not to give
6081 x2000 and other Unicode spaces whitespace syntax, since those are
6082 not spaces in XML.
6083 (xml-parse-fragment): Delete unused function.
6084 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
6085 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
6086 (xml-entity-ref, xml-pe-reference-re)
6087 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
6088 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
6089 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
6090 (xml-entity-value-re): Use syntax references in regexps where
6091 possible; no need to define inside a let-binding.
6092 (xml-parse-dtd): Use xml-pe-reference-re.
6093 (xml-entity-or-char-ref-re): New defconst.
6094 (xml-parse-string, xml-substitute-special): Use it.
6095
30eabd7a
SM
60962012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
6097
0781098a
SM
6098 * files.el (locate-dominating-file): Allow `name' to be a predicate.
6099 (find-file--read-only): New function.
6100 (find-file-read-only, find-file-read-only-other-window)
6101 (find-file-read-only-other-frame): Use it.
6102 (insert-file-contents-literally): Don't `fset'.
6103 (get-free-disk-space): Use locate-dominating-file.
6104
b5771c0d
SM
6105 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
6106 function is already compiled.
6107
30eabd7a
SM
6108 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
6109
b4886f6e
MA
61102012-07-03 Michael Albinus <michael.albinus@gmx.de>
6111
6112 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
6113 files on the same host.
6114
b9d82339
AS
61152012-07-03 Andreas Schwab <schwab@linux-m68k.org>
6116
6117 * help-fns.el (describe-function-1): Only call
6118 help-fns--autoloaded-p when we have a file name. (Bug#11848)
6119
a76e6535
CY
61202012-07-03 Chong Yidong <cyd@gnu.org>
6121
6122 * xml.el: Protect parser against XML bombs.
6123 (xml-entity-expansion-limit): New variable.
6124 (xml-parse-string, xml-substitute-special): Use it.
6125 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
6126
b544fef2
GM
61272012-07-03 Glenn Morris <rgm@gnu.org>
6128
6129 * progmodes/bug-reference.el (bug-reference-bug-regexp):
6130 Allow linking to specific messages in debbugs reports (eg 123#5).
6131
a7aef6f5
CY
61322012-07-02 Chong Yidong <cyd@gnu.org>
6133
6134 * xml.el: Fix entity and character reference expansion, allowing
6135 them to expand into markup as per XML spec.
6136 (xml-default-ns): New variable.
6137 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
6138 (xml-parse-region): Make first two arguments optional.
6139 Discard text properties.
6140 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
6141 All callers changed.
a7aef6f5
CY
6142 (xml-parse-tag): Call xml-parse-tag-1. For backward
6143 compatibility, this function should not modify buffer contents.
6144 (xml-parse-tag-1): Fix opening-tag regexp.
6145 (xml-parse-string): Rewrite, handling entity and character
6146 references properly.
6147 (xml--entity-replacement-text): Signal an error if a parameter
6148 entity is undefined.
6149
3df31c9f
SM
61502012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
6151
2b5208f1
SM
6152 * comint.el (comint-output-filter): Filter out repeated prompts.
6153
3df31c9f
SM
6154 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
6155 and file-name-absolute-p.
6156 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
6157 internal calls.
6158
e3ac1281
PE
61592012-07-02 Paul Eggert <eggert@cs.ucla.edu>
6160
6161 Spelling fixes.
6162 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
6163 Rename from byte-compile--refiy-function. All uses changed.
6164
fbf2e7ad
CY
61652012-07-01 Chong Yidong <cyd@gnu.org>
6166
6167 * xml.el (xml--parse-buffer): New function. Move most of
6168 xml-parse-region here.
6169 (xml-parse-region): Copy region into a temporary buffer, since
6170 parameter entity substitution requires changing buffer contents.
6171 Use xml--parse-buffer.
6172 (xml-parse-file): Use xml--parse-buffer.
6173 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 6174 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 6175
9bf0aa15
GM
61762012-06-30 Glenn Morris <rgm@gnu.org>
6177
bbce2853
GM
6178 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
6179
9bf0aa15
GM
6180 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
6181 Remove outdated and unnecessary dbus declarations.
6182
0d23c240
EZ
61832012-06-30 Eli Zaretskii <eliz@gnu.org>
6184
6185 * emacs-lisp/timer.el (timer-until): Subtract results of
6186 float-time, instead of taking float-time of the result of
6187 time-subtract, since float-time signals an error for negative time
6188 arguments.
6189
b3218de1
CY
61902012-06-30 Chong Yidong <cyd@gnu.org>
6191
6192 * xml.el (xml-*-re): Convert defvars into defconsts, and
6193 eval-and-compile them so eval-and-compile works on derivatives.
6194 (xml--entity-replacement-text): Use eval-and-comple.
6195
a40c87a0
MA
61962012-06-30 Michael Albinus <michael.albinus@gmx.de>
6197
6198 * vc/vc-git.el (vc-git-registered): Use cache property
6199 `git-registered'.
6200 (vc-git-mode-line-string): Call `vc-working-revision' instead of
6201 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 6202 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 6203
ac87de97
DG
62042012-06-30 Dmitry Gutov <dgutov@yandex.ru>
6205
6206 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 6207 removed (likely outside Emacs). (Bug#11757)
ac87de97 6208
ac10fe06
SM
62092012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
6210
3df31c9f 6211 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 6212
7f3fbd5d
CY
62132012-06-30 Chong Yidong <cyd@gnu.org>
6214
6215 * xml.el: Implement XML parameter entities.
6216 (xml-parameter-entity-alist): New variable.
6217 (xml-parse-region, xml-parse-fragment): Preserve previous values
6218 of xml-entity-alist and xml-parameter-entity-alist, so that
6219 repeated calls on different documents do not change them.
6220 (xml-parse-tag): Fix doctype regexp.
6221 (xml--entity-replacement-text): New function.
6222 (xml-parse-dtd): Use it. Don't handle system entities; doing that
6223 properly requires url retrieval which is unimplemented.
6224 (xml-escape-string): Doc fix.
6225
3cfbebba
SM
62262012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
6227
6228 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
6229
2af3565e
DA
62302012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
6231
6232 * fringe.el (fringe-mode): Doc fix.
6233
929df0e7
MA
62342012-06-29 Michael Albinus <michael.albinus@gmx.de>
6235
6236 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
6237 is non-nil.
6238 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
6239 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
6240
c8d3a25c 62412012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 6242
c8d3a25c
GM
6243 * calendar/cal-dst.el (calendar-current-time-zone):
6244 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 6245
c8d3a25c 62462012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
6247
6248 * progmodes/which-func.el (which-func-format):
6249 Add mouse-face. (Bug#11698)
6250
c8d3a25c
GM
62512012-06-29 Leo Liu <sdl.web@gmail.com>
6252
6253 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
6254
62552012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
6256
6257 * minibuffer.el (minibuffer-confirm-exit-commands):
6258 Add completion-at-point (bug#11725).
6259
62602012-06-29 Glenn Morris <rgm@gnu.org>
6261
6262 * progmodes/f90.el (f90-font-lock-keywords-2):
6263 Add some preprocessor elements. (Bug#10499)
6264
62652012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
6266
6267 * progmodes/cperl-mode.el (cperl-update-syntaxification):
6268 Use syntax-propertize (bug#11739).
6269
2badeec4
JB
62702012-06-28 Juanma Barranquero <lekktu@gmail.com>
6271
6272 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
6273
ae4969c2
JD
62742012-06-28 Julien Danjou <julien@danjou.info>
6275
6276 * term.el (term-handle-colors-array): Use a set of new faces to
6277 color the terminal. Also uses :inverse-video property.
6278 (term-default-fg-color): Set to nil by default, deprecate in favor
6279 of `term-face'.
6280 (term-default-bg-color): Set to nil by default, deprecate in favor
6281 of `term-face'.
6282 (term-current-face): Use `term-face' by default.
6283 (term-bold-attribute): Variable deleted.
6284
1c9bd870
GM
62852012-06-28 Glenn Morris <rgm@gnu.org>
6286
6287 * simple.el (completion-list-mode-finish):
6288 Don't use toggle-read-only. (Since completion-list-mode has
6289 a special mode-class, it wasn't doing anything extra anyway.)
6290
c207708c
SM
62912012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
6292
6293 Make inlining of other-mode interpreted functions work (bug#11799).
6294 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
6295 (byte-compile): Use it to fix compilation of lexical-binding closures.
6296 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
6297 function, if needed.
6298
3fd56834
SM
62992012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
6300
04901786
SM
6301 * help-mode.el (help-make-xrefs): Don't just withstand
6302 cyclic-variable-indirection but any error in documentation-property.
6303
1ec4b7b2
SM
6304 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
6305 memory use.
6306 * bindings.el (bindings--define-key): New function.
6307 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
6308 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
6309 * bindings.el: Use it to purecopy define-key bindings.
6310
e309e2a5
SM
6311 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
6312
d5c6faf9
SM
6313 * emacs-lisp/cl.el (flet): Mark obsolete.
6314 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
6315 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
6316 * progmodes/js.el (js-c-fill-paragraph):
6317 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
6318 (ebrowse-switch-member-buffer-to-derived-class):
6319 * play/5x5.el (5x5-solver): Use cl-flet.
6320
6e9590e2
SM
6321 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
6322 (cl--symbol-function): New macro.
6323 (cl--letf, cl--letf*): Use it.
6324
3fd56834
SM
6325 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
6326 Strip "toggle-" if any.
6327
35ff222c
GM
63282012-06-27 Glenn Morris <rgm@gnu.org>
6329
1ba6038a
GM
6330 * info.el (Info-default-directory-list): Move here from paths.el.
6331 * paths.el: Remove file, which is now empty.
6332 * loadup.el: No longer load "paths".
6333
0ea0e51b
GM
6334 * custom.el (custom-initialize-delay): Doc fix.
6335
35ff222c
GM
6336 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
6337 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
6338 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
6339 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
6340 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
6341 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
6342 * eshell/eshell.el (eshell-defgroup): Remove alias.
6343
c89926a5
CY
63442012-06-27 Chong Yidong <cyd@gnu.org>
6345
6346 * help.el (help-enable-auto-load): New variable.
6347
6348 * help-fns.el (help-fns--autoloaded-p): New function.
6349 (describe-function-1): Refer to a function as "autoloaded" if it
6350 was autoloaded at any time in the past. Perform autoloading if
6351 help-enable-auto-load is non-nil.
6352
cc06e7e7
EZ
63532012-06-26 Eli Zaretskii <eliz@gnu.org>
6354
6355 * makefile.w32-in (compile, compile-always): Depend on
6356 update-subdirs, not on subdirs.el. Otherwise, several different
6357 sub-targets of 'bootstrap' running in parallel could
6358 simultaneously write to subdirs.el, producing a garbled file.
6359
d2c32364
SS
63602012-06-26 Sam Steingold <sds@gnu.org>
6361
6362 * files.el (file-name-base): New convenience function.
0d14cc21
GM
6363 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
6364 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
6365 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
6366 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
6367 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
6368 * textmodes/tex-mode.el: Use it.
6369 Did not touch cedet and org because they are maintained elsewhere.
6370
5cf983b2
MR
63712012-06-26 Martin Rudalics <rudalics@gmx.at>
6372
6373 * calendar/calendar.el (calendar-exit): Don't try to delete or
6374 iconify last frame. See:
6375 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
6376
8c4f2952
JD
63772012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
6378
6379 * server.el (server-process-filter): Remember dir in the
6380 process's `server-client-directory' properties.
6381
772b2e2c
CY
63822012-06-24 Chong Yidong <cyd@gnu.org>
6383
6384 * xml.el (xml-parse-tag): Correctly handle comment embedded in
6385 non-tag text.
6386
711b11e1
JB
63872012-06-23 Juanma Barranquero <lekktu@gmail.com>
6388
6389 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
6390
dc5d230c
SM
63912012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
6392
6393 * help-fns.el (describe-variable): Don't croak when doc is not found.
6394 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
6395 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
6396 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
6397 * emacs-lisp/smie.el (smie-next-sexp): CSE.
6398 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
6399 ((lambda ..) ..).
6400 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
6401
136e1c1d
CY
64022012-06-23 Chong Yidong <cyd@gnu.org>
6403
e8c1cabf
CY
6404 * info.el (Info-mouse-follow-link): Accept symbol values of
6405 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
6406 (Info-fontify-node): Use Info-link-keymap for all navigation
6407 buttons, with link-args property to perform the desired action.
6408 (Info-link-keymap): Doc fix.
6409 (Info-next-link-keymap, Info-prev-link-keymap)
6410 (Info-up-link-keymap): Delete now-unused keymaps.
6411
0e9e6c6a
CY
64122012-06-23 Chong Yidong <cyd@gnu.org>
6413
05e89fea
CY
6414 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
6415
0e9e6c6a
CY
6416 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
6417 system abbrevs.
6418
6419 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
6420
e33c6771
SM
64212012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
6422
b68581e2
SM
6423 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
6424 (bug#11719).
6425
e33c6771
SM
6426 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
6427 the requote function doesn't work properly (bug#11714).
6428
7117e105
GM
64292012-06-23 Glenn Morris <rgm@gnu.org>
6430
6431 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
6432
36cec983
SM
64332012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6434
6435 Further GV/CL cleanups.
6436 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
6437 gv-expander.
6438 (gv--defun-declaration): New function.
6439 (defun-declarations-alist): Use it.
6440 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
6441 (gv-place): Autoload.
6442 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
6443 original definition of dotimes and dolist.
6444 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
6445 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
6446 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
6447 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
6448 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
6449 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
6450 to the function's definition.
6451 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
6452 * window.el:
6453 * files.el:
6454 * faces.el:
6455 * env.el: Don't use CL.
6456
d35af63c
PE
64572012-06-22 Paul Eggert <eggert@cs.ucla.edu>
6458
6459 Support higher-resolution time stamps (Bug#9000).
6460
6461 * calendar/time-date.el (with-decoded-time-value): New arg
6462 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
6463 (encode-time-value): New optional arg PICO. New type 3.
6464 (time-to-seconds) [!float-time]: Support the new picoseconds
6465 component if it's used.
6466 (seconds-to-time, time-subtract, time-add):
6467 Support ps-resolution time stamps as well.
6468
6469 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
6470 (timerp): Timer vectors now have length 9, not 8.
6471 (timer--time): Support new-style (4-part) time stamps.
6472 (timer-next-integral-multiple-of-time): Time stamps now have
6473 picosecond resolution, so take a bit more care about rounding.
6474 (timer-relative-time, timer-inc-time): New optional arg psecs.
6475 (timer-set-time-with-usecs): Set psecs to 0.
6476 (timer--activate): Check psecs component, too.
6477
6478 * proced.el (proced-time-lessp): Support ps-resolution stamps.
6479
ac77b21a
SM
64802012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6481
f143bfe3
SM
6482 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
6483 Move the non-essential binding to the post/pre-command-hook where it is
6484 more obviously correct.
6485
ac77b21a
SM
6486 * subr.el (read-passwd): Don't use a history at all.
6487 * savehist.el (savehist-save): Remove password saved accidentally
6488 because of the above bug.
6489
76386c5a
BG
64902012-06-22 Bastien Guerry <bzg@gnu.org>
6491
6492 * files.el (toggle-read-only): Display a message telling whether
6493 the buffer is read-only or not (bug#11726).
6494
2ee3d7f0
SM
64952012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6496
6497 * emacs-lisp/gv.el: New file.
6498 * subr.el (push, pop): Extend to generalized variables.
6499 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
6500 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
6501 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
6502 gv-define-simple-setter, and gv-define-expander.
6503 Remove setf-methods defined in gv. Rename cl-setf -> setf.
6504 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
6505 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
6506 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
6507 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
6508 gv-letplace.
6509 (cl-defstruct): Don't define setf-method any more.
6510 * emacs-lisp/cl.el (flet): Don't autoload.
6511 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
6512 (define-setf-expander, defsetf, define-modify-macro)
6513 (cl-struct-setf-expander): Move from cl-lib.el.
6514 * emacs-lisp/syntax.el:
6515 * emacs-lisp/ewoc.el:
6516 * emacs-lisp/smie.el:
6517 * emacs-lisp/cconv.el:
6518 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
6519 (timer--time): Use gv-define-simple-setter.
6520 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
6521 to avoid coding-system problems in subr.el. Adjust all users.
6522 (macroexp--maxsize, macroexp-small-p): New functions.
6523 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
6524 * scroll-bar.el (scroll-bar-mode):
6525 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
6526 (normal-erase-is-backspace-mode): Don't use the `eq' place.
6527 * winner.el (winner-configuration, winner-make-point-alist)
6528 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
6529 * files.el (locate-file-completion-table): Avoid list*.
6530
c5695d1d
CY
65312012-06-22 Chong Yidong <cyd@gnu.org>
6532
6533 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
6534 (dired-create-files): Doc fix (Bug#11329).
6535 (dired-do-copy): Doc fix (Bug#11334).
6536 (dired-mark-read-string): Doc fix (Bug#11553).
6537
2ee3d7f0
SM
6538 * dired.el (dired-recursive-copies, dired-recursive-deletes):
6539 Doc fix (Bug#11326).
c5695d1d
CY
6540 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
6541 (dired-dwim-target): Doc fix.
6542
6543 * wdired.el (wdired-mode): Doc fix.
6544
89b5595a
GM
65452012-06-22 Glenn Morris <rgm@gnu.org>
6546
575db3f1
GM
6547 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
6548 (pcmpl-rpm-cache-stamp-file): New constant.
6549 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
6550 (pcmpl-rpm-packages): Optionally cache list of packages.
6551
a4c8dd51
GM
6552 * pcmpl-rpm.el (pcmpl-rpm): New group.
6553 (pcmpl-rpm-query-options): New option.
6554 (pcmpl-rpm-packages): No need to inline it.
6555 Use pcmpl-rpm-query-options.
6556
89b5595a
GM
6557 * calendar/calendar.el (calendar-in-read-only-buffer):
6558 Avoid some needless mode changes.
6559
e76f0800
CY
65602012-06-21 Chong Yidong <cyd@gnu.org>
6561
6562 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
6563 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 6564 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 6565
297a8f1d
CY
65662012-06-20 Chong Yidong <cyd@gnu.org>
6567
6568 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
6569
d34c18b1
DR
65702012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
6571
6572 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
6573 (bug#11201).
6574
32f7f28e
CY
65752012-06-20 Chong Yidong <cyd@gnu.org>
6576
6577 * term.el (term-window-width): Handle the case of a missing right
6578 fringe (Bug#8837).
6579 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
6580 (term-mode): Use define-derived-mode. Minor cleanups.
6581 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
6582 (term-move-columns, term-insert-char, term-emulate-terminal)
6583 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 6584
493c6688
MA
65852012-06-20 Michael Albinus <michael.albinus@gmx.de>
6586
d34c18b1
DR
6587 * net/ange-ftp.el (ange-ftp-get-passwd):
6588 Bind `enable-recursive-minibuffers'.
493c6688
MA
6589 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
6590
3f06ecf4
DR
65912012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
6592
6593 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
6594
68f12411
GM
65952012-06-19 Glenn Morris <rgm@gnu.org>
6596
6597 * progmodes/python.el (python-mode): Derive from prog-mode.
6598
b3820318
KG
65992012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
6600
6601 * emulation/edt.el (edt-default-menu-bar-update-buffers)
6602 (edt-user-menu-bar-update-buffers): New functions.
6603 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
6604
c6bf3022
CY
66052012-06-19 Chong Yidong <cyd@gnu.org>
6606
6607 * subr.el (with-selected-window): Preserve the selected window's
6608 terminal's top-frame (Bug#4702).
6609
6610 * window.el (save-selected-window): Likewise.
6611
25f09295
SM
66122012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6613
6614 * progmodes/python.el (python-rx-constituents): Move backquote.
6615 (python-skeleton-define, python-define-auxiliary-skeleton):
6616 Use `declare'.
6617
6b11952a
MA
66182012-06-18 Michael Albinus <michael.albinus@gmx.de>
6619
6620 * minibuffer.el (read-file-name-default): Revert the patch from
6621 2012-06-17.
6622
ee4b1330
SM
66232012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6624
6625 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
6626 (pcase--u1, pcase--q1): Don't use apply-partially.
6627
35647f79
GM
66282012-06-18 Glenn Morris <rgm@gnu.org>
6629
6630 * progmodes/python.el (python-proc, python-buffer)
6631 (python-send-receive, python-send-string): Fix obsolete versions.
6632
24b0cff0
MR
66332012-06-18 Martin Rudalics <rudalics@gmx.at>
6634
6635 * window.el (special-display-p): Completely remove stringp
6636 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
6637
29855149
MA
66382012-06-17 Michael Albinus <michael.albinus@gmx.de>
6639
6640 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
6641
6642 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
6643
6644 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
6645 * net/tramp-sh.el (tramp-maybe-open-connection):
6646 Throw if `non-essential' is non-nil.
6647
07463363
MR
66482012-06-17 Martin Rudalics <rudalics@gmx.at>
6649
6650 * window.el (special-display-p): Signal an error if BUFFER-NAME
6651 is not a string (Bug#11713).
6652
48d1354e
PE
66532012-06-17 Paul Eggert <eggert@cs.ucla.edu>
6654
6655 * progmodes/python.el (python-info-beginning-of-backslash):
6656 Rename from python-info-beginning-of-backlash, as a spelling fix.
6657
eb4a8a9a
CY
66582012-06-17 Chong Yidong <cyd@gnu.org>
6659
6660 * term.el (term-emulate-terminal): If term-check-size is called,
6661 move point to the process mark without resetting point (Bug#4635).
6662
ddfbf826 66632012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
6664
6665 * international/mule-cmds.el (mule-menu-keymap)
6666 (set-language-environment, set-locale-environment): Doc tweaks.
6667
9b0e3eba
AA
66682012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
6669
6670 * cus-face.el (custom-face-attributes): Add wave-style underline
6671 attribute.
6672 * faces.el (set-face-attribute): Update docstring to describe
6673 wave-style underline attribute.
6674
771e3eae
CY
66752012-06-16 Chong Yidong <cyd@gnu.org>
6676
6677 * term/xterm.el (terminal-init-xterm): Discard input before
6678 querying background mode (Bug#10959).
6679
7ae2ea10
SM
66802012-06-16 Stefan Merten <smerten@oekonux.de>
6681
6682 * textmodes/rst.el: Added and corrected some comments.
6683 (rst-re-alist-def): Improve symbol syntax.
6684 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
6685 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
6686 (rst-official-version, rst-official-cvs-rev): Update version
6687 information.
7ae2ea10 6688
b6974efa
JB
66892012-06-15 Juanma Barranquero <lekktu@gmail.com>
6690
6691 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
6692 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
6693
8826d473
GM
66942012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
6695
6696 * progmodes/python.el: New python.el merge.
6697 (python-guess-indent): Obsolete var.
6698 (python-indent-guess-indent-offset): New defcustom.
6699 (python-indent): Obsolete var.
6700 (python-indent-offset): New defcustom.
6701 (python-python-command, python-jython-command): Delete var.
6702 (python-shell-interpreter): New defcustom.
6703 (python-pdbtrack-do-tracking-p): Delete var.
6704 (python-pdbtrack-activate): New defcustom.
6705 (python-use-skeletons): Obsolete var.
6706 (python-skeleton-autoinsert): New defcustom.
6707 (inferior-python-filter-regexp, python-continuation-offset)
6708 (python-honour-comment-indentation, python-indent-string-contents)
6709 (python-jython-packages, python-mode-hook)
6710 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
6711 (python-shell-prompt-alist)
6712 (python-source-modes): Delete defcustoms.
6713 (python-check-buffer-name, python-eldoc-setup-code)
6714 (python-eldoc-string-code, python-ffap-setup-code)
6715 (python-ffap-string-code, python-fill-comment-function)
6716 (python-fill-decorator-function, python-fill-paren-function)
6717 (python-fill-string-function, python-imenu-include-defun-type)
6718 (python-imenu-make-tree, python-imenu-subtree-root-label)
6719 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
6720 (python-shell-compilation-regexp-alist)
6721 (python-shell-completion-module-string-code)
6722 (python-shell-completion-pdb-string-code)
6723 (python-shell-completion-setup-code)
6724 (python-shell-completion-string-code)
6725 (python-shell-enable-font-lock, python-shell-exec-path)
6726 (python-shell-extra-pythonpaths)
6727 (python-shell-internal-buffer-name, python-shell-interpreter-args)
6728 (python-shell-process-environment)
6729 (python-shell-prompt-block-regexp)
6730 (python-shell-prompt-output-regexp)
6731 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
6732 (python-shell-send-setup-max-wait, python-shell-setup-codes)
6733 (python-shell-virtualenv-path): New defcustoms.
6734 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
6735 (inferior-python-mode-syntax-table, python--prompt-regexp)
6736 (python-buffer, python-command python-python-command)
6737 (python-default-template, python-imports, python-indent-index)
6738 (python-indent-list, python-indent-list-length)
6739 (python-mode-running, python-pdbtrack-is-tracking-p)
6740 (python-preoutput-continuation, python-preoutput-leftover)
6741 (python-preoutput-result, python-preoutput-skip-next-prompt)
6742 (python-prev-dir/file, python-recursing)
6743 (python-saved-check-command, python-version-checked)
6744 (python-which-func-length-limit)
6745 (view-return-to-alist): Delete vars.
6746 (python-check-custom-command, python-dotty-syntax-table)
6747 (python-imenu-index-alist, python-indent-current-level)
6748 (python-indent-dedenters, python-indent-levels)
6749 (python-nav-beginning-of-defun-regexp)
6750 (python-nav-list-defun-positions-cache)
6751 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
6752 (python-shell-internal-buffer)
6753 (python-skeleton-available): New vars.
6754 (def-python-skeleton): Delete macro.
6755 (python-skeleton-define): New macro.
6756 (python-define-auxiliary-skeleton, python-rx): New macros.
6757 (python-insert-class): Delete command.
6758 (python-skeleton-class): New command.
6759 (python-insert-def): Delete command.
6760 (python-skeleton-def): New command.
6761 (python-insert-for): Delete command.
6762 (python-skeleton-for): New command.
6763 (python-insert-if): Delete command.
6764 (python-skeleton-if): New command.
6765 (python-insert-try/except, python-insert-try/finally): Delete commands.
6766 (python-skeleton-try): New command.
6767 (python-insert-while): Delete command.
6768 (python-skeleton-while): New command.
6769 (python-backspace): Delete command.
6770 (python-indent-dedent-line-backspace): New command.
6771 (python-electric-colon): Delete command.
6772 (python-indent-electric-colon): New command.
6773 (python-guess-indent): Delete command.
6774 (python-indent-guess-indent-offset): New command.
6775 (python-shift-left): Delete command.
6776 (python-indent-shift-left): New command.
6777 (python-shift-right): Delete command.
6778 (python-indent-shift-right): New command.
6779 (python-find-function): Delete command.
6780 (python-nav-jump-to-defun): New command.
6781 (python-next-statement): Delete command.
6782 (python-nav-forward-sentence): New command.
6783 (python-previous-statement): Delete command.
6784 (python-nav-backward-sentence): New command.
6785 (python-fill-paragraph): Delete command.
6786 (python-fill-paragraph-function): New command.
6787 (python-send-buffer): Delete command.
6788 (python-shell-send-buffer): New command.
6789 (python-send-defun): Delete command.
6790 (python-shell-send-defun): New command.
6791 (python-send-region, python-send-region-and-go): Delete commands.
6792 (python-shell-send-region)
6793 (python-shell-switch-to-shell): New commands.
6794 (python-send-string): Delete command.
6795 (python-shell-send-string): New command.
6796 (python-switch-to-python): Delete command.
6797 (python-shell-switch-to-shell): New command.
6798 (python-describe-symbol): Delete command.
6799 (python-eldoc-at-point): New command.
6800 (python--set-prompt-regexp, python-args-to-list)
6801 (python-after-info-look, python-check-version)
6802 (python-check-comint-prompt, python-find-imports)
6803 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
6804 (python-unload-function, python-expand-template)
6805 (python-maybe-jython, python-preoutput-filter)
6806 (python-pdbtrack-get-source-buffer)
6807 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
6808 (python-pdbtrack-toggle-stack-tracking)
6809 (python-pdbtrack-track-stack-file, python-initial-text)
6810 (python-first-word, python-comment-line-p, python-send-command)
6811 (python-setup-brm, python-sentinel, python-set-proc)
6812 (python-skip-out, python-input-filter, python-outdent-p)
6813 (python-outline-level, python-backslash-continuation-line-p)
6814 (python-end-of-block, python-end-of-statement, python-mark-block)
6815 (python-beginning-of-block, python-beginning-of-statement)
6816 (python-blank-line-p, python-beginning-of-string)
6817 (python-open-block-statement-p): Delete functions.
6818 (python-indent-line, python-indent-line-1): Delete functions.
6819 (python-indent-line): New function.
6820 (python-indentation-levels): Delete function.
6821 (python-indent-calculate-levels): New function.
6822 (python-proc): Delete function.
6823 (python-shell-get-process): New function.
6824 (python-send-receive): Delete function.
6825 (python-shell-send-string-no-output): New function.
6826 (python-module-path): Delete function.
6827 (python-ffap-module-path): New function.
6828 (python-completion-at-point)
6829 (python-symbol-completions): Delete functions.
6830 (python-completion-complete-at-point): New function.
6831 (python-load-file): Delete function.
6832 (python-shell-send-file): New function.
6833 (python-calculate-indentation): Delete function.
6834 (python-indent-calculate-indentation): New function.
6835 (python-skip-comments/blanks): Delete function.
6836 (python-util-forward-comment): New function.
6837 (python-continuation-line-p): Delete function.
6838 (python-info-continuation-line-p): New function.
6839 (python-which-func, python-current-defun): Delete function.
6840 (python-info-current-defun): New function.
6841 (python-beginning-of-defun): Delete function.
6842 (python-nav-beginning-of-defun): New function.
6843 (python-close-block-statement-p)
6844 (python-block-end-p): Delete function.
6845 (python-info-closing-block): New function.
6846 (python-comint-output-filter-function)
6847 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
6848 (python-fill-comment, python-fill-decorator, python-fill-paren)
6849 (python-fill-string, python-imenu-make-element-tree)
6850 (python-imenu-make-tree, python-imenu-tree-assoc)
6851 (python-indent-context, python-indent-dedent-line)
6852 (python-indent-line-function)
6853 (python-indent-post-self-insert-function)
6854 (python-indent-toggle-levels)
6855 (python-info-assignment-continuation-line-p)
6856 (python-info-beginning-of-backlash)
6857 (python-info-block-continuation-line-p)
6858 (python-info-closing-block-message)
6859 (python-info-line-ends-backslash-p)
6860 (python-info-looking-at-beginning-of-defun)
6861 (python-info-ppss-context, python-info-ppss-context-type)
6862 (python-nav-list-defun-positions, python-nav-read-defun)
6863 (python-nav-sentence-end, python-nav-sentence-start)
6864 (python-pdbtrack-comint-output-filter-function)
6865 (python-pdbtrack-set-tracked-buffer)
6866 (python-shell-calculate-exec-path)
6867 (python-shell-calculate-process-environment)
6868 (python-shell-completion--do-completion-at-point)
6869 (python-shell-completion--get-completions)
6870 (python-shell-completion-complete-at-point)
6871 (python-shell-completion-complete-or-indent)
6872 (python-shell-get-or-create-process)
6873 (python-shell-get-process-name)
6874 (python-shell-internal-get-or-create-process)
6875 (python-shell-internal-get-process-name)
6876 (python-shell-internal-send-string, python-shell-make-comint)
6877 (python-shell-parse-command, python-shell-send-setup-code)
6878 (python-skeleton-add-menu-items)
6879 (python-util-clone-local-variables, python-util-position)
6880 (run-python-internal, python-indentation-levels)
6881 (python-nav-beginning-of-defun)
6882 (python-completion-complete-at-point): New functions.
6883 (run-python): Change arguments. New API requirements.
6884
4302f5ba
SM
68852012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
6886
f38ea36d
SM
6887 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
6888 (bug#11649).
6889
6890 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
6891 (macroexp--expand-all): Use it.
6892
4302f5ba
SM
6893 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
6894 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
6895 Use `cl-function' instead.
6896
33377562
JB
68972012-06-14 Juanma Barranquero <lekktu@gmail.com>
6898
6899 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
6900 Suggested by Stefan Monnier while discussing bug#11657.
6901
54c5ba1a
SS
69022012-06-14 Sam Steingold <sds@gnu.org>
6903
6904 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
6905
f9f1b1fe
AS
69062012-06-14 Andreas Schwab <schwab@linux-m68k.org>
6907
6908 * play/doctor.el (doctor-doc): Remove parameter and use
6909 doctor-sent instead of sent.
6910 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
6911
a81068ba
SM
69122012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6913
5a315f9c
SM
6914 * files.el: Require cl-lib.
6915 (file-name-non-special): Replace case -> cl-case.
6916
6917 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
6918
a81068ba
SM
6919 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
6920 mapping from #' to function*.
6921
8cca9703
CY
69222012-06-13 Chong Yidong <cyd@gnu.org>
6923
6924 * mouse.el (mouse-drag-track): Do not set the mark if the user
6925 releases the mouse without selecting anything (Bug#11588).
6926
a12ac9d7
SM
69272012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6928
ccf1dc18
SM
6929 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
6930 as well (bug#11646).
6931
ef62b23d
SM
6932 * loadup.el: Count byte-code functions as well.
6933
c4c8444a
SM
6934 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
6935 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
6936
a12ac9d7
SM
6937 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
6938 (bug#11649). Add cl-defun and cl-defmacro.
6939
87e6e64f
DA
69402012-06-13 Drew Adams <drew.adams@oracle.com>
6941
6942 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
6943 Fix last change.
6944
682cefaf
MA
69452012-06-13 Michael Albinus <michael.albinus@gmx.de>
6946
6947 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
6948 Otherwise, it blocks in batch mode.
6949
773e1f08
JB
69502012-06-13 Juanma Barranquero <lekktu@gmail.com>
6951
6952 * help-mode.el (bookmark-make-record-default): Declare.
6953
60057926
CY
69542012-06-13 Chong Yidong <cyd@gnu.org>
6955
6956 * emacs-lisp/package.el (list-packages): Compute a list of
6957 packages that are newly-available since the last list-packages
6958 invocation.
6959 (package-menu--new-package-list): New var.
6960 (package-menu--generate, package-menu--print-info)
6961 (package-menu--status-predicate, package-menu-mark-install):
6962 Handle new status label "new".
6963
ad4d226c
SM
69642012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6965
6966 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
6967 conversion to backquotes.
6968
f1a4e679
CY
69692012-06-12 Chong Yidong <cyd@gnu.org>
6970
6971 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
6972 Rename from gud-inhibit-global-bindings.
6973
6974 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
6975
6976 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
6977 hook from nxml-glyph-set-hook.
6978
6979 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
6980 declaration.
6981
6982 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
6983
6984 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
6985 Convert to defcustom.
6986
0c9e42b5
DA
69872012-06-12 Drew Adams <drew.adams@oracle.com>
6988
6989 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
6990 New functions.
6991 (help-mode): Use them.
6992
09e06855
GM
69932012-06-11 Glenn Morris <rgm@gnu.org>
6994
6995 * progmodes/fortran.el (fortran-font-lock-keywords-3):
6996 Use preprocessor face for directives.
6997 (fortran-directive-re): Doc fix.
6998
71adb94b
SM
69992012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7000
2eb87922
SM
7001 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
7002 conversion to backquotes (bug#11652).
7003
71adb94b
SM
7004 Fix compiler-expansion of CL's cXXr functions (bug#11673).
7005 * emacs-lisp/cl-lib.el (cl--defalias): New function.
7006 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
7007 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
7008 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
7009 (cl-ninth, cl-tenth): Mark them as inlinable.
7010 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
7011 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
7012 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
7013 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
7014 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
7015 (cl-list*, cl-adjoin): Don't put an autoload manually.
7016 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
7017 (cl--compiler-macro-list*): Add autoload cookie.
7018 (cl--compiler-macro-cXXr): New function.
2eb87922 7019
71adb94b
SM
7020 * help-fns.el (help-fns--compiler-macro): New function extracted from
7021 describe-function-1; follow aliases and use `compiler-macro' property.
7022 (describe-function-1): Use it.
7023
a6674402
CY
70242012-06-11 Chong Yidong <cyd@gnu.org>
7025
7026 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
7027 is uninstalled, if imagemagick is installed.
7028
bb3faf5b
SM
70292012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7030
7031 * emacs-lisp/cl-lib.el: Use lexical-binding.
7032 (cl-map-extents, cl-maclisp-member): Remove.
7033 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
7034 (cl--set-substring, cl--block-wrapper, cl--block-throw)
7035 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
7036 * emacs-lisp/cl-extra.el: Use lexical-binding.
7037 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
7038 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
7039 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
7040 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
7041 * emacs-lisp/cl-seq.el: Use lexical-binding.
7042 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
7043 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
7044 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
7045 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
7046 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
7047 CL's internals.
7048
2fe4b125
MA
70492012-06-11 Michael Albinus <michael.albinus@gmx.de>
7050
7051 Sync with Tramp 2.2.6-pre.
7052
7053 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
7054 `print-length' and `print-level' to nil, in order to avoid
7055 truncation. Reported by Christopher Schmidt
7056 <christopher@ristopher.com>.
7057
7058 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
7059
7060 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
7061 New defmacro.
7062 (tramp-compat-copy-directory): Add optional argument
7063 COPY-CONTENTS. It is not handled yet.
7064
7065 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
7066 (tramp-ftp-file-name-p): Simplify.
7067
7068 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
7069 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
7070 connection vector.
7071
7072 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
7073 (tramp-methods): Do not use `tramp-password-end-of-line'.
7074 (tramp-completion-function-alist-putty): Handle UNIX case.
7075 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
7076 (tramp-do-file-attributes-with-stat)
7077 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
7078 gid as real numbers. They could run out of integer range on cygwin.
7079 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
7080 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
7081 (tramp-open-connection-setup-interactive-shell):
7082 Use `tramp-cleanup'. Move check for busyboxes ...
7083 (tramp-find-shell): ... here. Simplify implementation.
7084 Set "remote-shell" property also for alternative shells.
7085 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
7086 If failing, a regular file would be written otherwise.
7087 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
7088 (tramp-find-inline-encoding): Cache the coding commands in the
7089 process cache. Apply test command on the remote side, if defined.
7090 (tramp-find-inline-compress): Cache the compress commands in the
7091 process cache.
7092 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
7093 when requested. Handle hops.
7094 (tramp-current-connection): New defvar.
87e6e64f
DA
7095 (tramp-maybe-open-connection): Use `tramp-cleanup'.
7096 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 7097 Handle user interrupt. (Bug#10187)
87e6e64f
DA
7098 (tramp-get-inline-compress, tramp-get-inline-coding):
7099 Read connection properties from the process cache.
2fe4b125
MA
7100
7101 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
7102 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
7103 New defconsts.
2fe4b125
MA
7104 (tramp-smb-prompt): Extend for powershell prompt.
7105 (tramp-smb-file-name-handler-alist): Add handlers for
7106 `process-file', `shell-command' and `start-file-process'.
7107 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
7108 (tramp-smb-winexe-shell-command-switch): New defcustoms.
7109 (tramp-smb-file-name-p): Simplify.
7110 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
7111 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
7112 (tramp-smb-shell-quote-argument): New defuns.
7113 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
7114 Implement using "tar". By this, time-stamps are preserved.
7115 (tramp-smb-handle-copy-file): Handle also the case of directories.
7116 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
7117 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
7118 Use `tramp-get-connection-buffer').
2fe4b125
MA
7119 (tramp-smb-handle-rename-file): Use "rename", when source and
7120 target are on the same share.
87e6e64f
DA
7121 (tramp-smb-maybe-open-connection): Handle wrong passwords.
7122 Use `tramp-smb-server-version'.
2fe4b125
MA
7123 (tramp-smb-wait-for-output): Remove prompt.
7124
7125 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
7126 (tramp-methods, tramp-rsh-end-of-line):
7127 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
7128 (tramp-save-ad-hoc-proxies): New defcustom.
7129 (tramp-completion-function-alist): Adapt docstring.
7130 (tramp-default-password-end-of-line): Remove defcustom.
7131 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
7132 (tramp-user-regexp, tramp-file-name-regexp-unified)
7133 (tramp-file-name-regexp-url): Extend regexp by hop separator.
7134 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
7135 (tramp-remote-file-name-spec-regexp): New defconst.
7136 (tramp-file-name-structure): Extend structure for hops.
7137 (tramp-get-method-parameter): Move up.
7138 (tramp-file-name-p, tramp-dissect-file-name)
7139 (with-parsed-tramp-file-name): Handle hops.
7140 (tramp-file-name-hop): New defun.
7141 (tramp-make-tramp-file-name): New optional arg HOP.
7142 (tramp-message-show-progress-reporter-message): New defvar.
7143 (tramp-with-progress-reporter): Use it. We cannot use
7144 `tramp-message-show-message' here, because this suppresses also
7145 error buffers.
7146 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
7147 `tramp-message-show-message' is nil.
7148 Use `tramp-get-connection-buffer'.
2fe4b125
MA
7149 (tramp-cleanup): New defun.
7150 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
7151 (tramp-file-name-handler): If `debug-on-error' is set, propagate
7152 an error unchanged.
7153 (tramp-completion-handle-file-name-all-completions): Handle hops.
7154 Fix an error when called from ido.
7155 (tramp-completion-dissect-file-name): Use better local variable
7156 name. Add hop to the vector.
7157 (tramp-handle-insert-file-contents): Use progress-reporter for the
7158 whole scenario.
7159 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
7160 to `t'.
7161 (tramp-check-for-regexp): Simplify search.
7162 (tramp-enter-password): Remove it. Move implementation ...
7163 (tramp-action-password): ... here.
7164 (tramp-mode-string-to-int, tramp-local-host-p)
7165 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
7166 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
7167 Set tramp-autoload cookie.
2fe4b125
MA
7168
7169 * net/trampver.el: Update release number.
7170
71712012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7172 Michael Albinus <michael.albinus@gmx.de>
7173
7174 * net/tramp.el (tramp-set-completion-function): Fix docstring.
7175 (tramp-parse-group, tramp-parse-file)
7176 (tramp-parse-shostkeys-sknownhosts): New defuns.
7177 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
7178 (tramp-parse-shosts-group, tramp-parse-sconfig)
7179 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
7180 (tramp-parse-sknownhosts, tramp-parse-hosts)
7181 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
7182 Use them.
7183 (tramp-parse-passwd-group, tramp-parse-netrc-group)
7184 (tramp-parse-putty-group): Don't narrow.
7185 (tramp-parse-putty): Make a loop.
7186 (tramp-file-name-handler): Catch the `suppress' signal.
7187
72834e10
CY
71882012-06-11 Chong Yidong <cyd@gnu.org>
7189
7190 * image.el (imagemagick-register-types): Put the ImageMagick entry
7191 at the end of image-type-file-name-regexps.
7192
a4712e11
JB
71932012-06-11 Johan Bockgård <bojohan@gnu.org>
7194
7195 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
7196 (pcase, pcase-let*, pcase-dolist): Use them.
7197
82ad98e3
SM
71982012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7199
7200 * emacs-lisp/pcase.el (pcase--let*): New function.
7201 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
7202 (pcase--expand): Use macroexp-let².
7203
f80efb86
SM
72042012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
7205
7206 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
7207 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
7208 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
7209 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
7210 * emacs-lisp/derived.el: Use pcase instead of `cl'.
7211 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
7212
31ca4639 72132012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 7214
31ca4639
CY
7215 * mail/rmail.el (rmail-yank-current-message): Leave point at
7216 correct position. (Bug#11660)
94f0aa34 7217
31ca4639 72182012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 7219
31ca4639 7220 * allout-widgets.el: Fix code header.
9e1b8ec4 7221
31ca4639 72222012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 7223
f80efb86
SM
7224 * cus-edit.el (customize-changed-options-previous-release):
7225 Bump to 24.1.
31ca4639 7226
642b6d30
AS
72272012-06-09 Andreas Schwab <schwab@linux-m68k.org>
7228
7229 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
7230
4f5d2ba1
CY
72312012-06-09 Chong Yidong <cyd@gnu.org>
7232
7233 * ebuff-menu.el (electric-buffer-list): Preserve header line.
7234
e75852fd
MR
72352012-06-09 Martin Rudalics <rudalics@gmx.at>
7236
7237 * window.el (special-display-popup-frame): Don't use
7238 window--display-buffer (Bug#11651).
7239
1e48e282
EZ
72402012-06-09 Eli Zaretskii <eliz@gnu.org>
7241
8a26b487
EZ
7242 Fix parallel builds: make sure loaddefs.el is not being written
7243 while Lisp files are compiled.
7244 (compile): Don't depend on 'mh-autoloads'.
7245 (compile-CMD, compile-SH): Depend on 'autoloads'.
7246 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
7247
1e48e282
EZ
7248 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
7249
6175e34b
CY
72502012-06-09 Chong Yidong <cyd@gnu.org>
7251
7252 * face-remap.el (face-remap-add-relative, face-remap-set-base)
7253 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
7254 Doc fixes (Bug#11225).
7255
d9857e53
SM
72562012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
7257
7258 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
7259 a function if there's a clear indication that it has a compiler-macro.
7260 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
7261 (macro-declarations-alist): Add arglist to declaration functions.
7262 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
7263 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
7264 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
7265 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
7266 Also add autoload to find the compiler macro.
7267 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
7268 (cl--compiler-macro-member, cl--compiler-macro-assoc)
7269 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
7270 (cl--compiler-macro-get): New functions, replacing calls to
7271 cl-define-compiler-macro.
7272 (cl-typep) [compiler-macro]: Use macroexp-let².
7273
f81298f8 72742012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
7275
7276 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
7277 string properly, fixes Bug#11473.
7278
4b56d0fe
CY
72792012-06-08 Chong Yidong <cyd@gnu.org>
7280
7281 * faces.el (set-face-attribute): Doc fix.
7282 (modify-face): Don't use :bold and :italic.
7283 (error, warning, success): Tweak definitions.
7284
7285 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
7286 (custom-modified, custom-set, custom-changed, custom-themed)
7287 (custom-saved, custom-button, custom-button-mouse)
7288 (custom-button-pressed, custom-state, custom-comment-tag)
7289 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
7290 (custom-group-subtitle): Use new-style face specs.
7291 (custom-invalid-face, custom-rogue-face, custom-modified-face)
7292 (custom-set-face, custom-changed-face, custom-saved-face)
7293 (custom-button-face, custom-button-pressed-face)
7294 (custom-documentation-face, custom-state-face)
7295 (custom-comment-face, custom-comment-tag-face)
7296 (custom-variable-tag-face, custom-variable-button-face)
7297 (custom-face-tag-face, custom-group-tag-face-1)
7298 (custom-group-tag-face): Remove obsolete face alias.
7299
7300 * epa.el (epa-validity-high, epa-validity-medium)
7301 (epa-validity-low, epa-mark, epa-field-name, epa-string)
7302 (epa-field-name, epa-field-body):
7303 * font-lock.el (font-lock-comment-face, font-lock-string-face)
7304 (font-lock-keyword-face, font-lock-builtin-face)
7305 (font-lock-function-name-face, font-lock-variable-name-face)
7306 (font-lock-type-face, font-lock-constant-face):
7307 * ido.el (ido-first-match, ido-only-match, ido-subdir)
7308 (ido-virtual, ido-indicator, ido-incomplete-regexp):
7309 * speedbar.el (speedbar-button-face, speedbar-file-face)
7310 (speedbar-directory-face, speedbar-tag-face)
7311 (speedbar-selected-face, speedbar-highlight-face)
7312 (speedbar-separator-face):
7313 * whitespace.el (whitespace-newline, whitespace-space)
7314 (whitespace-hspace, whitespace-tab, whitespace-trailing)
7315 (whitespace-line, whitespace-space-before-tab)
7316 (whitespace-space-after-tab, whitespace-indentation)
7317 (whitespace-empty):
7318 * emulation/cua-base.el (cua-global-mark):
7319 * eshell/em-prompt.el (eshell-prompt):
7320 * net/newst-plainview.el (newsticker-new-item-face)
7321 (newsticker-old-item-face, newsticker-immortal-item-face)
7322 (newsticker-obsolete-item-face, newsticker-date-face)
7323 (newsticker-statistics-face, newsticker-default-face):
7324 * net/newst-reader.el (newsticker-feed-face)
7325 (newsticker-extra-face, newsticker-enclosure-face):
7326 * net/newst-treeview.el (newsticker-treeview-face)
7327 (newsticker-treeview-new-face, newsticker-treeview-old-face)
7328 (newsticker-treeview-immortal-face)
7329 (newsticker-treeview-obsolete-face)
7330 (newsticker-treeview-selection-face):
7331 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
7332 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
7333 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
7334 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
7335 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
7336 (nxml-outline-active-indicator, nxml-outline-ellipsis):
7337 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
7338 (mpuz-text):
7339 * progmodes/vera-mode.el (vera-font-lock-number)
7340 (vera-font-lock-function, vera-font-lock-interface):
7341 * textmodes/table.el (table-cell): Use new-style face specs, and
7342 don't use the old :bold and :italic attributes.
7343
7344 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
7345 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
7346 (ebrowse-member-class, ebrowse-progress): Likewise.
7347 (ebrowse-tree-mark-face, ebrowse-root-class-face)
7348 (ebrowse-file-name-face, ebrowse-default-face)
7349 (ebrowse-member-attribute-face, ebrowse-member-class-face)
7350 (ebrowse-progress-face): Remove obsolete faces.
7351
7352 * progmodes/flymake.el (flymake-errline, flymake-warnline):
7353 Inherit from error and warning faces respectively.
7354
7355 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
7356 Likewise.
f80efb86
SM
7357 (flyspell-incorrect-face, flyspell-duplicate-face):
7358 Remove obsolete aliases.
4b56d0fe 7359
03310646
MA
73602012-06-08 Michael Albinus <michael.albinus@gmx.de>
7361
7362 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
7363 Avoid infloop.
7364
513749ee
SM
73652012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
7366
7367 * startup.el (argv, argi): Make lexically scoped.
7368 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
7369 * emacs-lisp/cl-macs.el: Use lexical-binding.
7370 Rename cl-bind-* to cl--bind-*.
7371 * files.el: Don't require `cl' since it doesn't use it.
7372 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
7373
595ef4ad
JB
73742012-06-08 Juanma Barranquero <lekktu@gmail.com>
7375
7376 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
7377 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
7378 instead of calling external sort utility.
7379 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
7380
e9f66fcb
EZ
73812012-06-08 Eli Zaretskii <eliz@gnu.org>
7382
7383 * descr-text.el (describe-char): Mention how to insert the
7384 character, if the current input method doesn't support it.
7385 See the discussion in this thread for the details:
7386 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
7387
3d10db47
SS
73882012-06-08 Sam Steingold <sds@gnu.org>
7389
7390 * bindings.el (global-map): Bind XF86Forward to next-buffer and
7391 XF86Back to previous-buffer.
7392 (minibuffer-local-map): Bind them to next-history-element and
7393 previous-history-element respectively.
7394 * help-mode.el (help-mode-map): Bind them to help-go-forward and
7395 help-go-back respectively.
7396 * info.el (Info-mode-map): Bind them to Info-history-forward and
7397 Info-history-back respectively.
7398 These are the keys next to Up on the ThinkPad keyboard.
7399
de7e2b36
SM
74002012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
7401
7402 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
7403 * emacs-lisp/cl-macs.el: Provide itself.
7404 (cl--labels-convert-cache): New var.
7405 (cl--labels-convert): New function.
7406 (cl-flet, cl-labels): New implementation with new semantics, relying on
7407 lexical-binding.
7408 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
7409 (cl-closure-vars, cl--function-convert-cache)
7410 (cl--function-convert): Move from cl-macs.el.
7411 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
7412 rename by removing the "cl-" prefix.
7413 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
7414
6fa6c4ae
SM
74152012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7416
7417 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
7418 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
7419 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
7420 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
7421 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
7422 (cl-hash-table-count): Add old compatibility aliases.
7423
7424 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
7425 Use macroexpand-all-environment instead.
7426 (cl--old-macroexpand): New var.
7427 (cl--sm-macroexpand): New function.
7428 (cl-symbol-macrolet): Use it during macro expansion.
7429 (cl--function-convert-cache): New var.
7430 (cl--function-convert): New function, extracted from
7431 cl-macroexpand-all.
7432 (cl-lexical-let): Use it.
7433
7434 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
7435 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
7436 (cl-member): Remove old alias.
7437
7438 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
7439 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
7440 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
7441 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
7442 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
7443 (cl-macroexpand-cmacs): Remove var.
7444 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
7445 Use macroexpand-all instead.
7446
4dd1c416
SM
74472012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7448
7449 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
7450 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
7451 (macroexp-copyable-p): New functions and macros.
7452 * emacs-lisp/edebug.el (edebug-unwrap):
7453 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
7454 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
7455 (pcase--let*): Remove.
7456 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
7457 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
7458 macroexp-const-p instead.
7459 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
7460
7461 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
7462 instead of "cl-" for internal definitions. Use macroexp-const-p.
7463 (cl-old-bc-file-form): Remove var.
7464 (cl-const-exprs-p): Remove fun.
7465 (cl-labels, cl-macrolet): Use backquote.
7466 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
7467 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
7468 (cl-define-setf-expander): Rename from cl-define-setf-method.
7469 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
7470
7471 * international/mule-cmds.el: Don't require CL.
7472 (view-hello-file): Don't use `letf'.
7473
ed8bd4d7
SM
74742012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7475
7287f2f3
SM
7476 * tmm.el (tmm-prompt): Use string-prefix-p.
7477 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
7478 (tmm-add-prompt): Use minibuffer-completion-help.
7479 (tmm-delete-map): Remove.
7480
ed8bd4d7
SM
7481 * subr.el (kbd): Make it its own function.
7482
7b4cdbf4
SM
74832012-06-07 Stefan Merten <smerten@oekonux.de>
7484
7485 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
7486 Silence compiler warnings. Fix versions.
ed8bd4d7 7487 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 7488 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 7489 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
7490 (rst-package-emacs-version-alist): Correct Emacs version to
7491 represent major merge with upstream.
ed8bd4d7 7492 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 7493
2b48d721
GM
74942012-06-06 Glenn Morris <rgm@gnu.org>
7495
7496 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
7497 Only print environment variables if set.
7498
fa779ab0
SM
74992012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
7500
7501 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
7502 (macroexp--cons): Rename from maybe-cons.
7503 (macroexp--accumulate): Rename from macroexp-accumulate.
7504 (macroexp--all-forms): Rename from macroexpand-all-forms.
7505 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
7506 (macroexp--expand-all): Rename from macroexpand-all-1.
7507
628299e0
SS
75082012-06-06 Sam Steingold <sds@gnu.org>
7509
7510 * calendar/calendar.el (calendar-in-read-only-buffer):
7511 Call `special-mode' to enable the standard read-only keybindings.
7512
b7bb5838
SM
75132012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
7514
7515 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
7516 with "loading" messages (bug#11635).
7517
dfb308ba
MA
75182012-06-06 Michael Albinus <michael.albinus@gmx.de>
7519
7520 * files.el (enable-remote-dir-locals): New option.
7521 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
7522
0372ee92
MA
7523 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
7524 Ensure, that the temp directory is local.
7525
7526 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
7527 `temporary-file-directory'.
7528
eed0bb91
MA
7529 * progmodes/python.el (python-send-region): Ensure, that the
7530 temporary file is created also in the remote case.
7531
7a58f64d
GM
75322012-06-06 Glenn Morris <rgm@gnu.org>
7533
f7dd4e98
GM
7534 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
7535 (vc-rcs-update-changelog): Use it.
7536
090bd7cb 7537 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 7538
7a58f64d
GM
7539 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
7540 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
7541 (vc-sccs-diff): Replace use of the external vcdiff script.
7542
daed4003
GM
75432012-06-05 Glenn Morris <rgm@gnu.org>
7544
7545 * ledit.el: Move to obsolete/.
7546
48c455c7
SS
75472012-06-05 Sam Steingold <sds@gnu.org>
7548
ed9265fc 7549 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
7550 patch (Bug#11140).
7551
57a7d507
SM
75522012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7553
090bd7cb 7554 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 7555
53aacf21
SM
7556 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
7557 compiler-macro expansion.
7558
57a7d507
SM
7559 Add native compiler-macro support.
7560 * emacs-lisp/macroexp.el (macroexpand-all-1):
7561 Support compiler-macros directly. Properly follow aliases and apply
7562 the compiler macros more thoroughly.
7563 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
7564 macroexpand now properly follows aliases.
7565 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
7566 (cl-compiler-macroexpand): Use new prop.
7567 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
7568
7569 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
7570
51a5f9d8
MR
75712012-06-05 Martin Rudalics <rudalics@gmx.at>
7572
7573 * window.el (get-lru-window, get-mru-window, get-largest-window):
7574 New argument NOT-SELECTED to avoid picking the selected window.
7575 (window--display-buffer-1, window--display-buffer-2): Replace by
7576 new function window--display-buffer
7577 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
7578 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7579 Use window--display-buffer.
51a5f9d8
MR
7580 (display-buffer-use-some-window): Remove temporary dedication
7581 hack by calling get-lru-window and get-largest-window with
7582 NOT-SELECTED argument non-nil. Call window--display-buffer.
7583
08f9f738
GM
75842012-06-05 Glenn Morris <rgm@gnu.org>
7585
7586 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
7587 Replace external vcdiff script.
7588
e364a2b7
SM
75892012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
7590
7591 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
7592
041df390
CY
75932012-06-04 Chong Yidong <cyd@gnu.org>
7594
e364a2b7
SM
7595 * image.el (imagemagick-types-inhibit): Revert last change.
7596 Add INFO and M.
47b36b94 7597 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 7598
7c1898a7
SM
75992012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
7600
7601 * emacs-lisp/cl-lib.el: Rename from cl.el.
7602 * emacs-lisp/cl.el: New compatibility file.
7603 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
7604 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
7605 to obey the "cl-" prefix.
7606 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
7607
0c3461de
GM
76082012-06-03 Glenn Morris <rgm@gnu.org>
7609
1e266c88
GM
7610 * emacs-lisp/authors.el (authors-aliases): Addition.
7611
0c3461de
GM
7612 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
7613 Fix :version.
7614
d8a52e15
SM
76152012-06-03 Stefan Merten <smerten@oekonux.de>
7616
7617 * textmodes/rst.el: Add comments.
7618 (rst-transition, rst-adornment): New faces.
7619 (rst-adornment-faces-alist): Make default safe to reevaluate.
7620 Fixes
7621 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
7622 Improve customization tags.
7623 (rst-define-level-faces): Clarify meaning.
7624
5205d6f6
CY
76252012-06-03 Chong Yidong <cyd@gnu.org>
7626
7627 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
7628 (compilation-mode-line-run, compilation-mode-line-exit):
7629 New faces.
5205d6f6
CY
7630 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
7631
757ee657
JD
76322012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
7633
7c1898a7
SM
7634 * progmodes/which-func.el (which-func-update-ediff-windows):
7635 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 7636
5f2c76c6
CY
76372012-06-03 Chong Yidong <cyd@gnu.org>
7638
7639 * bindings.el: Remove explicit help text from format-mode-line.
7640 It is now supplied by mode-line-default-help-echo.
7641 (mode-line-front-space, mode-line-end-spaces)
7642 (mode-line-misc-info): New variables.
7643 (mode-line-modes, mode-line-position): Move the default value to
7644 the variable definition.
7645 (mode-line-default-help-echo): New defcustom.
383f7350
CY
7646 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
7647 (mode-line-modified-help-echo): New functions.
7648 (mode-line-mule-info, mode-line-modified): Use them.
7649 (mode-line-eol-desc, propertized-buffer-identification):
7650 Consistency fixes for help text.
cbe46e5f
CY
7651 (mode-line-coding-system-map): Allow using mouse-3 to invoke
7652 set-buffer-file-coding-system (Bug#289).
7653 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 7654
f2d6a3df
SM
76552012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
7656
7657 * simple.el (execute-extended-command): Set real-this-command
7658 (bug#11506).
7659
37269466
CY
76602012-06-02 Chong Yidong <cyd@gnu.org>
7661
7662 Remove incorrect uses of "modeline" in comments, docstrings, and
7663 function/variable names (Bug#10329).
7664
7665 * cus-edit.el (mode-line):
7666 * dframe.el (dframe-mouse-hscroll):
7667 * emacs-lisp/re-builder.el:
7668 * emacs-lisp/easy-mmode.el (define-minor-mode):
7669 * frame.el (set-frame-name):
7670 * help.el (lookup-minor-mode-from-indicator):
7671 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
7672 * progmodes/cc-cmds.el (c-toggle-auto-newline)
7673 (c-toggle-hungry-state):
7674 * progmodes/antlr-mode.el (antlr-language-alist):
7675 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
7676 * progmodes/vhdl-mode.el (vhdl-mode):
7677 * progmodes/which-func.el (which-func, which-func-cleanup-function):
7678 * term/ns-win.el (ns-face-at-pos):
7679 * term/sup-mouse.el (sup-mouse-report):
7680 * textmodes/flyspell.el (flyspell-mode-line-string):
7681 * textmodes/ispell.el (ispell-highlight-face):
7682 * textmodes/reftex-global.el:
7683 * vc/vc-arch.el (vc-arch-mode-line-string):
7684 * vc/vc-cvs.el (vc-cvs-mode-line-string):
7685 * vc/vc-git.el (vc-git-mode-line-string):
7686 * vc/vc-hooks.el (vc-display-status)
7687 (vc-default-mode-line-string):
7688 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
7689
7690 * ansi-color.el (ansi-color-faces-vector): Change default faces.
7691
7692 * dired.el (dired-sort-set-mode-line): Rename from
7693 dired-sort-set-modeline. All callers changed.
7694
7695 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
7696 eshell-status-in-modeline.
7697
7698 * foldout.el (foldout-mode-line-string): Rename from
7699 foldout-modeline-string. All callers changed.
7700 (foldout-update-mode-line): Rename from foldout-update-modeline.
7701
7702 * subr.el (redraw-modeline): Make into obsolete alias.
7703
7704 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
7705 timeclock-modeline-display. Make old name an alias.
7706 (timeclock-update-mode-line): Likewise. All callers changed.
7707 (timeclock-mode-line-display): No need to check before using
7708 add-hook.
7709 (timeclock-relative, timeclock-day-over-hook)
7710 (timeclock-use-elapsed, timeclock-mode-string)
7711 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
7712
7713 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
7714 crisp-mode-modeline-string.
7715
7716 * play/solitaire.el (solitaire-build-mode-line): Rename from
7717 solitaire-build-modeline. All callers changed.
7718
7719 * play/zone.el (zone-hiding-mode-line): Rename from
7720 zone-hiding-modeline. All callers changed.
7721 (zone): Remove unusued `modeline-hidden-level' property.
7722
7723 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
7724 xscheme-modeline-initialize. All callers changed.
7725
7726 * strokes.el (strokes-lighter): Rename from
7727 strokes-modeline-string.
7728
7729 * textmodes/sgml-mode.el (html-face-tag-alist)
7730 (html-tag-face-alist): Use mode-line face instead of obsolete
7731 alias modeline.
7732
42152ee4
SM
77332012-06-02 Stefan Merten <smerten@oekonux.de>
7734
7735 * textmodes/rst.el: Always require `cl'.
4cf9b38d 7736 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 7737
95f520b5
CY
77382012-06-02 Chong Yidong <cyd@gnu.org>
7739
7740 * image.el (imagemagick-enabled-types): Rename from
7741 imagemagick-types-enable. Add many more types.
7742 (imagemagick-types-inhibit): Change default to nil.
7743 (imagemagick-filter-types): Caller changed.
7744
4a5f187a
SM
77452012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
7746
03fef3e6
SM
7747 * emacs-lisp/cl-macs.el: Use backquotes.
7748 (cl-transform-function-property): Use eval-and-compile rather than
7749 abusing `require'.
7750 (defstruct): Use declare-function instead of with-no-warnings.
7751
4a5f187a
SM
7752 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
7753 (byte-compile-output-docform): Re-add the print-circle bindings.
7754 (byte-compile-fix-header): Use #$ just because it's shorter.
7755 (byte-compile-output-file-form): Remove defun/defmacro.
7756
bd56924f
MR
77572012-06-01 Martin Rudalics <rudalics@gmx.at>
7758
7759 * simple.el (choose-completion): Remove now obsolete binding for
7760 owindow.
7761
046e38ce
MA
77622012-06-01 Michael Albinus <michael.albinus@gmx.de>
7763
7764 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
7765 in order to avoid "Stack overflow in regexp matcher".
7766
32d72c2f
GM
77672012-05-31 Glenn Morris <rgm@gnu.org>
7768
7769 * image.el: For clarity, call imagemagick-register-types at
7770 top-level, rather than relying on a custom :initialize.
7771 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
7772 (imagemagick-filter-types): New function. (Bug#7406)
7773 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
7774 If disabling support, remove elements altogether rather
7775 than using an impossible regexp.
7776 (imagemagick-types-inhibit): Give it the default init function.
7777
dd41169b
SM
77782012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
7779
4a5f187a
SM
7780 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
7781 Handle arbitrary file name lengths (Bug#11585).
dd41169b 7782
efc00ab1 77832012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
7784
7785 * desktop.el (desktop-read): Clear previous and next buffers for
7786 all windows and bury *Messages* buffer (bug#11556).
7787
500fcedc
SM
77882012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
7789
7790 Add `declare' for `defun'. Align `defmacro's with it.
7791 * emacs-lisp/easy-mmode.el (define-minor-mode)
7792 (define-globalized-minor-mode): Don't autoload the var definitions.
7793 * emacs-lisp/byte-run.el: Use lexical-binding.
7794 (defun-declarations-alist, macro-declarations-alist): New vars.
7795 (defmacro, defun): Use them.
7796 (make-obsolete, define-obsolete-function-alias)
7797 (make-obsolete-variable, define-obsolete-variable-alias):
7798 Use `declare'.
7799 (macro-declaration-function): Mark obsolete.
7800 * emacs-lisp/autoload.el: Use lexical-binding.
7801 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
7802
6e8a1786
AM
78032012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7804
7805 * textmodes/ispell.el (ispell-with-no-warnings):
7806 Define as a macro.
500fcedc
SM
7807 (ispell-kill-ispell, ispell-change-dictionary):
7808 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
7809 `interactive-p'.
7810
61b108cc
SM
78112012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7812
7813 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
7814 (macro-declaration-function): Move var from C code.
7815 (macro-declaration-function): Define function with defalias.
7816 * emacs-lisp/macroexp.el (macroexpand-all-1):
7817 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
7818 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
7819 defun/defmacro any more.
7820 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
7821 Provide fallback for unknown arglist.
7822 (byte-compile-arglist-warn): Change calling convention.
7823 (byte-compile-output-file-form): Move print-vars binding.
7824 (byte-compile-output-docform): Simplify accordingly.
7825 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
7826 (byte-compile-defmacro-declaration): Remove.
7827 (byte-compile-file-form-defmumble): Generalize to defalias.
7828 (byte-compile-output-as-comment): Return byte-positions.
7829 Simplify callers accordingly.
7830 (byte-compile-lambda): Use `assert'.
7831 (byte-compile-defun, byte-compile-defmacro): Remove.
7832 (byte-compile-file-form-defalias):
7833 Use byte-compile-file-form-defmumble.
7834 (byte-compile-defalias-warn): Remove.
7835
6d3f7c2f
SM
78362012-05-29 Stefan Merten <smerten@oekonux.de>
7837
7838 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 7839 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
7840
7841 (rst-mode-abbrev-table): Merge definition.
7842 (rst-mode): Make sure `font-lock-defaults' is buffer local.
7843 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
7844
6dbaa1c7
UJ
78452012-05-29 Ulf Jasper <ulf.jasper@web.de>
7846
7847 * calendar/icalendar.el
7848 (icalendar-export-region): Export UID properly.
7849
d209e2fb 78502012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
7851 * calendar/icalendar.el (icalendar-import-format):
7852 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
7853 (icalendar-import-format-uid): New.
7854 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
7855 Export UID.
7856
6876a58d
SM
78572012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
7858
7859 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
7860 different alternative patterns.
7861 (pcase-codegen): Be more careful to preserve identity.
7862 (pcase--u1): Don't forget to mark vars as used.
7863
7864 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
7865 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
7866 (byte-compile-from-buffer): ...rather than here.
7867
7868 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
7869 functions from byte-compile-function-environment.
7870
46b7967e
TN
78712012-05-29 Troels Nielsen <bn.troels@gmail.com>
7872
7873 * window.el (window-deletable-p): Avoid deleting the root window
7874 of a frame with an active minibuffer.
7875
69d565e2
MR
78762012-05-29 Martin Rudalics <rudalics@gmx.at>
7877
7878 * simple.el (choose-completion): Use quit-window (Bug#11567).
7879
a149fa51
CY
78802012-05-29 Chong Yidong <cyd@gnu.org>
7881
7882 * whitespace.el (whitespace-cleanup): Fix usage of
7883 whitespace-empty-at-bob-regexp (Bug#11492).
7884
2b311310
AH
78852012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7886
7887 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
7888 revert (Bug#11488).
7889
b9cb2387
JL
78902012-05-29 Juri Linkov <juri@jurta.org>
7891
7892 * isearch.el (isearch-mode-map): Bind `M-s _' to
7893 `isearch-toggle-symbol'. Bind `M-s c' to
7894 `isearch-toggle-case-fold'.
7895 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
7896 (isearch-forward): Add `M-s _' to the docstring.
7897 (isearch-forward-symbol, isearch-toggle-case-fold)
7898 (isearch-symbol-regexp): New functions. (Bug#11381)
7899
d5e61c1c
JL
79002012-05-29 Juri Linkov <juri@jurta.org>
7901
7902 * isearch.el (isearch-word): Add docstring. (Bug#11381)
7903 (isearch-occur, isearch-search-and-update): If `isearch-word' is
7904 a function, call it to get the regexp.
7905 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
7906 property `isearch-message-prefix' instead of the string "word ".
7907 (isearch-search-fun-default): For the case of `isearch-word',
7908 return a lambda that calls re-search-forward/re-search-backward
7909 with a regexp returned by `word-search-regexp' or by the function
7910 in `isearch-word'.
7911
8cbd80f7
JL
79122012-05-29 Juri Linkov <juri@jurta.org>
7913
7914 * isearch.el (isearch-search-fun-default): New function.
7915 (isearch-search-fun): Move default part to the new function
7916 `isearch-search-fun-default'.
7917 (isearch-search-fun-function): Set the default value to
7918 `isearch-search-fun-default'. (Bug#11381)
7919
7920 * comint.el (comint-history-isearch-end):
7921 Use `isearch-search-fun-default'.
7922 (comint-history-isearch-search): Use `isearch-search-fun-default'
7923 and remove spacial case for `isearch-word'.
7924 (comint-history-isearch-wrap): Remove spacial case for
7925 `isearch-word'.
7926
7927 * hexl.el (hexl-isearch-search-function):
7928 Use `isearch-search-fun-default'.
7929
7930 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
7931 Use `word-search-regexp' for `isearch-word'.
7932
7933 * misearch.el (multi-isearch-search-fun):
7934 Use `isearch-search-fun-default'.
7935
7936 * simple.el (minibuffer-history-isearch-search):
7937 Use `isearch-search-fun-default' and remove spacial case for
7938 `isearch-word'.
7939 (minibuffer-history-isearch-wrap): Remove spacial case for
7940 `isearch-word'.
7941
7942 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
7943 Remove spacial case for `isearch-word'.
7944 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
7945
85c8c5b6
AM
79462012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7947
7948 Decrease XEmacs incompatibilities.
7949 * textmodes/flyspell.el (flyspell-check-pre-word-p):
7950 Use `string-match'.
7951 (flyspell-delete-region-overlays): Use alternative definition for
7952 XEmacs.
7953 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
7954 (flyspell-word): Use `process-kill-without-query' if XEmacs.
7955 (flyspell-mode-on): Use `interactive-p' if XEmacs.
7956 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
7957 `define-obsolete-face-alias' under XEmacs, but old method.
7958
7959 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
7960 `with-no-warnings' definition or Emacs alias.
7961 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
7962 (ispell-word): Do not use `region-p' if XEmacs.
7963
8cab9efc
AM
79642012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7965
7966 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
7967 Check for `ispell-dictionary-base-alist' instead of full
7968 `ispell-dictionary-alist'.
7969 (ispell-init-process): Show spellchecker when starting new Ispell
7970 process.
7971
fda91268
RZ
79722012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
7973
7974 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
7975 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
7976
694ea8e3
JB
79772012-05-27 Juanma Barranquero <lekktu@gmail.com>
7978
7979 * version.el (motif-version-string, gtk-version-string)
7980 (ns-version-string): Declare.
7981
e4d4f539
JL
79822012-05-27 Juri Linkov <juri@jurta.org>
7983
7984 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
7985 after the `eval-defun-1' specialcaseing
7986 like in `edebug-eval-defun' (bug#10181).
7987
7988 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
7989 like in `eval-defun-1'.
7990
33017faf 79912012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 7992
fda91268
RZ
7993 * mail/sendmail.el (mail-yank-region):
7994 Recognize rmail-yank-current-message in addition to insert-buffer.
7995 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
7996 a *mail* buffer created through rmail-start-mail with sendmail as
7997 mail-user-agent.
7998
33017faf
GM
79992012-05-27 Chong Yidong <cyd@gnu.org>
8000
8001 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
8002 Default to 256 (Bug#11267).
8003
8004 * help.el (describe-mode): Doc fix.
8005
04188bb9
GM
80062012-05-26 Glenn Morris <rgm@gnu.org>
8007
38264cc9
GM
8008 * w32-fns.el (w32-init-info): Remove.
8009 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
8010
eb7afdad
GM
8011 * info.el (info-initialize): For self-contained NS builds, put the
8012 included info/ directory at the front. (Bug#2791)
8013
04188bb9
GM
8014 * paths.el (Info-default-directory-list): Make it a defcustom,
8015 mainly so that we can use custom-initialize-delay.
8016
a179e3f7
SM
80172012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
8018
43416392
SM
8019 * subr.el (buffer-has-markers-at): Mark obsolete.
8020
a179e3f7 8021 * subr.el (lambda): Use declare.
43416392 8022
a179e3f7
SM
8023 * emacs-lisp/lisp-mode.el (lambda):
8024 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
8025
34a008d9
AH
80262012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
8027
8028 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
8029
0a3b289f
GM
80302012-05-26 Glenn Morris <rgm@gnu.org>
8031
8032 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
8033
758c81e8
GM
80342012-05-25 Glenn Morris <rgm@gnu.org>
8035
f9f334f0
GM
8036 * paths.el: Remove no-byte-compile.
8037 * loadup.el: No need to load paths.el uncompiled.
8038
87eb79c2
GM
8039 * image.el (imagemagick-types-inhibit): Doc fix.
8040
758c81e8
GM
8041 * version.el: Remove no-byte-compile and associated formatting.
8042 * loadup.el: No need to load version.el uncompiled. AFAICS, this
8043 is ancient code from when there was an "inc-vers.el".
8044
e7e85dc0
SM
80452012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8046
8047 * progmodes/gdb-mi.el: Minor style changes.
8048 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
8049 Turn into minor modes.
8050 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
8051 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
8052 (gdb-shell): Remove unneeded let-binding.
8053 (gdb-get-many-fields): Eliminate O(n²) behavior.
8054
f31237a4
EZ
80552012-05-25 Eli Zaretskii <eliz@gnu.org>
8056
8057 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
8058 platforms that don't link in fontset.c.
8059
bc1b21bb
JL
80602012-05-25 Juri Linkov <juri@jurta.org>
8061
8062 Use the same diff color scheme as in modern VCSes (bug#10181).
8063
8064 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
8065 to avoid confusion with `diff-added' that now uses green colors.
8066 (diff-removed): Use shades of red.
8067 (diff-added): Use shades of green.
8068 (diff-changed): Leave just the yellow color.
8069 (diff-use-changed-face): New variable.
8070 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
8071 how to highlight context diff changes.
8072 (diff-refine-change): Use shades of yellow.
8073 (diff-refine-removed): New face that uses shades of red.
8074 (diff-refine-added): New face that uses shades of green.
8075 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
8076 `diff-refine-removed' in the call to `smerge-refine-subst'
8077 depending on the value of `diff-use-changed-face'.
8078
8079 * vc/smerge-mode.el (smerge-mine): Use shades of red.
8080 (smerge-other): Use shades of green.
8081 (smerge-base): Use shades of yellow.
8082 (smerge-refined-change): Empty face.
8083 (smerge-refined-removed): New face that uses shades of red.
8084 (smerge-refined-added): New face that uses shades of green.
8085 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
8086 args `props-r' and `props-a', and use them. Doc fix.
8087 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
8088 on its value use different faces `smerge-refined-change',
8089 `smerge-refined-removed', `smerge-refined-added' in the call to
8090 `smerge-refine-subst'.
8091
8092 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
8093 Add face condition `min-colors 88' with shades of red.
8094 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
8095 `min-colors 88' with shades of green.
8096 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
8097 `min-colors 88' with shades of yellow.
8098
6df9112c
GM
80992012-05-24 Glenn Morris <rgm@gnu.org>
8100
ead5edc0
GM
8101 * paths.el (prune-directory-list, remote-shell-program): Move to...
8102 * files.el (prune-directory-list, remote-shell-program): ...here.
8103 For the latter, delay initialization, prefer ssh, just search PATH.
8104
f18b81e6
GM
8105 * paths.el (term-file-prefix): Move to faces.el (the only user).
8106 * faces.el (term-file-prefix): Move here, make it a defcustom.
8107
ee2f89a6
GM
8108 * paths.el (news-directory, news-path, news-inews-program):
8109 Move to gnus/nnspool.el.
61a583ca 8110
f8815e4c
GM
8111 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
8112
c8f3b42c
GM
8113 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
8114 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
8115 Make the latter a defcustom, with a delayed initialization.
8116
6df9112c
GM
8117 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
8118 These were deleted from Gnus itself late 2010.
8119
5dadff36
JB
81202012-05-22 Juanma Barranquero <lekktu@gmail.com>
8121
9e1701c6
JB
8122 * progmodes/which-func.el (which-func-ff-hook):
8123 Check against user-error, not error.
8124
bd7239f5 8125 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
8126 cl-specs.el, which no longer exists.
8127
3290526d
GM
81282012-05-22 Glenn Morris <rgm@gnu.org>
8129
8130 * info.el (info-emacs-bug): New command.
8131 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
8132 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
8133
ff0c3cfb
GM
81342012-05-21 Glenn Morris <rgm@gnu.org>
8135
8136 * makefile.w32-in (update-subdirs-SH):
8137 * Makefile.in (update-subdirs): Update for moved update-subdirs.
8138
5814f126
SM
81392012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
8140
a52c0aa0
SM
8141 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
8142
5814f126
SM
8143 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8144 Simplify Maven regexp, and make sure the file can't start with a space
8145 (bug#11517).
8146
b847032c
GM
81472012-05-21 Glenn Morris <rgm@gnu.org>
8148
8149 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
8150 Scrap superfluous subshells.
8151
3858bfe7
SM
81522012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
8153
8154 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
8155 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
8156
d14b0029
JB
81572012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
8158
8159 * calc/calc.el (calc-ensure-consistent-units): New variable.
8160
a52c0aa0
SM
8161 * calc/calc-units.el (math-consistent-units-p)
8162 (math-check-unit-consistency): New functions.
8163 (calc-quick-units, calc-convert-units):
8164 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
8165 is non-nil.
d14b0029
JB
8166 (calc-extract-units): Fix typo.
8167
60c4db3a
SM
81682012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
8169
77f3b62e
SM
8170 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
8171
60c4db3a
SM
8172 * textmodes/flyspell.el: Commenting style, plus code simplifications.
8173 (flyspell-default-deplacement-commands): Don't spell check after
8174 repeated window/frame switches (e.g. triggered by mouse-movement).
8175 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
8176 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
8177 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
8178 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
8179 Remove unused vars.
8180 (flyspell-get-casechars, flyspell-get-not-casechars):
8181 Simplify; Don't bother removing a ] just to add it back.
8182 * textmodes/ispell.el (ispell-program-name): Use executable-find.
8183
d209e2fb 81842012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
8185
8186 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
8187 New functions.
bd7239f5 8188 (math-function-table): Add support for more C functions.
b1a10716 8189
3f1b25b5
AM
81902012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8191
090bd7cb
JB
8192 * textmodes/flyspell.el (flyspell-check-pre-word-p)
8193 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
8194 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 8195
b581bb5c
SM
81962012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
8197
8198 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
8199 their respective macro declarations.
8200 * skeleton.el (define-skeleton):
8201 * progmodes/compile.el (define-compilation-mode):
8202 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
8203 (define-ibuffer-filter):
8204 * emacs-lisp/generic.el (define-generic-mode):
8205 * emacs-lisp/easy-mmode.el (define-minor-mode)
8206 (define-globalized-minor-mode):
8207 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
8208 * emacs-lisp/byte-run.el (defsubst):
8209 * custom.el (deftheme): Add doc-string metadata.
8210
70b8ef8f
SM
82112012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8212
8213 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
8214
b1198e17
SM
82152012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8216
9abdc45d
SM
8217 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
8218
b1198e17
SM
8219 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
8220 * emacs-lisp/cl-macs.el: Idem.
8221 * emacs-lisp/cl-specs.el: Remove.
8222
4735906a
SM
82232012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8224
8225 Minor renaming of internal CL functions and variables.
8226 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
8227 (cl--position): Rename from cl-position.
8228 (cl--delete-duplicates): Rename from cl-delete-duplicates.
8229 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
8230 (cl--random-state): Rename from *random-state*.
8231
ac348012
SM
82322012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8233
8234 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
8235 parens around the arg list (bug#11499).
8236
a0a79cde
JL
82372012-05-17 Juri Linkov <juri@jurta.org>
8238
8239 * isearch.el (word-search-regexp, word-search-backward)
8240 (word-search-forward, word-search-backward-lax)
8241 (word-search-forward-lax): Move functions from search.c
8242 (bug#10145, bug#11381).
8243
65034a51
AM
82442012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8245
090bd7cb
JB
8246 * textmodes/flyspell.el (flyspell-check-pre-word-p)
8247 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
8248 Delay for otherchars as for normal word components.
65034a51 8249
1a72a195
SM
82502012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
8251
8252 * minibuffer.el (completion--sifn-requote): Fix last change.
8253 (minibuffer-local-must-match-filename-map):
8254 Move define-obsolete-variable-alias before its var.
8255
fdb058c2
SM
82562012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8257
c41045e6
SM
8258 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
8259
036dfb8b
SM
8260 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
8261 behavior.
8262 (completion--string-equal-p): New function.
8263 (completion--twq-all): Use it to get better assertion failure data.
8264
2473256d
SM
8265 Only handle ".." and '..' quoting in shell-mode (bug#11466).
8266 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
8267 (shell--requote-argument): New functions.
8268 (shell-completion-vars): Use them.
8269 (shell--parse-pcomplete-arguments): Rename from
8270 shell-parse-pcomplete-arguments.
8271 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
8272 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
8273 Obey comint-file-name-quote-list.
8274
fdb058c2
SM
8275 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
8276 (smie-indent-keyword): Use it.
8277
51fa99f1
SM
82782012-05-14 Stefan Merten <smerten@oekonux.de>
8279
8280 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
8281
e18afed7 82822012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
8283
8284 * net/rlogin.el (rlogin-mode-map): Fix last change.
8285
e18afed7 82862012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
8287
8288 * mail/smtpmail.el (smtpmail-send-command): Send the command and
8289 the following \r\n using a single `process-send-string', since the
8290 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 8291 with two `process-send-string's (Bug#11444).
8633b1f4 8292
e18afed7 82932012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 8294
fdb058c2
SM
8295 * shell.el (shell-parse-pcomplete-arguments):
8296 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 8297
2d21d7f6
WJ
82982012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
8299
e18afed7 8300 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
8301 (image-transform-scale, image-transform-right-angle-fudge): New vars.
8302 (image-transform-width, image-transform-fit-width): New functions.
8303 (image-transform-properties): Use them.
8304 (image-transform-check-size): New function.
8305 (image-toggle-display-image): Use it (for testing).
8306 (image-transform-set-rotation): Reduce angle mod 360.
8307 Delete obsolete comment.
8308
7102e6d0
WJ
83092012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
8310
8311 * image-mode.el: Fix scaling (bug#11399).
8312 (image-transform-resize): Doc fix.
8313 (image-transform-properties): Default scale is 1 and height should
8314 be an integer.
8315
06bc5e6e
SM
83162012-05-13 Johan Bockgård <bojohan@gnu.org>
8317
8318 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
8319 than hard-coding `car', to fix misbehavior when moving forward.
8320
0ae03b6a
CY
83212012-05-13 Chong Yidong <cyd@gnu.org>
8322
8323 * emacs-lisp/tabulated-list.el (tabulated-list-format)
8324 (tabulated-list-entries, tabulated-list-padding)
8325 (tabulated-list-sort-key): Make permanent-local.
8326
8327 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
8328 (electric-buffer-list): Put electric buffer menu
8329 command descriptions in this docstring, instead of the docstring
8330 of electric-buffer-menu-mode. Code cleanups.
8331 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
8332 Electric-buffer-menu-mode.
8333 (electric-buffer-update-highlight): Minor code cleanup.
8334
205a7391
MA
83352012-05-13 Michael Albinus <michael.albinus@gmx.de>
8336
8337 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
8338 (Bug#11447)
8339
e5bd0a28
SM
83402012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
8341
8342 Move define-obsolete-variable-alias before the var's definition.
8343 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
8344 * tooltip.el (tooltip-hook):
8345 * textmodes/reftex-toc.el (reftex-toc-map):
8346 * textmodes/reftex-sel.el (reftex-select-label-map)
8347 (reftex-select-bib-map):
8348 * textmodes/reftex-index.el (reftex-index-map)
8349 (reftex-index-phrases-map):
8350 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
8351 * progmodes/meta-mode.el (meta-mode-map):
8352 * novice.el (disabled-command-hook):
8353 * loadhist.el (unload-hook-features-list):
8354 * frame.el (blink-cursor):
8355 * files.el (find-file-not-found-hooks, write-file-hooks)
8356 (write-contents-hooks):
8357 * emulation/tpu-edt.el (GOLD-map):
8358 * emacs-lock.el (emacs-lock-from-exiting):
8359 * emacs-lisp/generic.el (generic-font-lock-defaults):
8360 * emacs-lisp/chart.el (chart-map):
8361 * dos-fns.el (register-name-alist):
8362 * dired-x.el (dired-omit-files-p):
8363 * desktop.el (desktop-enable):
8364 * cus-edit.el (custom-mode-hook):
8365 * buff-menu.el (buffer-menu-mode-hook):
8366 * bookmark.el (bookmark-read-annotation-text-func)
8367 (bookmark-exit-hooks):
8368 * allout.el (allout-mode-deactivate-hook)
8369 (allout-exposure-change-hook, allout-structure-added-hook)
8370 (allout-structure-deleted-hook, allout-structure-shifted-hook):
8371 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
8372 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
8373 comes before the corresponding variable's definition.
8374
ac59c2f6
CY
83752012-05-12 Chong Yidong <cyd@gnu.org>
8376
8377 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
8378 (Buffer-menu-mouse-select): Restore function (Bug#11459).
8379 (Buffer-menu-mode-map): Bind it.
8380 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 8381
dee6c9a3
SM
83822012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
8383
2171cea5
SM
8384 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
8385 (prolog-upper-case-string, prolog-lower-case-string)
8386 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
8387 (prolog-use-smie, prolog-smie-grammar): New vars.
8388 (prolog-smie-forward-token, prolog-smie-backward-token)
8389 (prolog-smie-rules): New funs.
8390 (prolog-comment-indent): Remove.
8391 (prolog-mode-variables): Use default comment indentation instead.
8392 Setup SMIE.
8393 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
8394 (prolog-mode): Don't call them any more.
8395 (prolog-electric-colon, prolog-electric-dash)
8396 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
8397
aa0382bd
SM
8398 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
8399
dbacb4bd
SM
8400 * minibuffer.el (completion--twq-all): Again, allow case differences.
8401
13bdd94c
SM
8402 * term.el: Move keymap initialization code to be more idiomatic.
8403 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
8404 (term-terminal-menu): Move initialization into declaration.
8405 (term-escape-char): Let the user set it in her .emacs.
8406
ff46c759
SM
8407 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
8408 Provide SMIE-based indentation (not enabled by default yet).
8409 (sh-mode-map): Don't bind electric keys.
8410 Use electric-pair-mode instead of skeleton-pair.
8411 (sh-assignment-regexp): Fit within 80 columns.
8412 (sh-indent-supported): Specify actual shell name instead of boolean.
8413 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
8414 (sh-maybe-here-document): Use it. Make obsolete.
8415 (sh-electric-here-document-mode) New minor mode.
8416 (sh-mode): Use it. Don't set sh-indent-supported-here here.
8417 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
8418 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
8419 (sh-smie-rc-grammar, sh-use-smie): New vars.
8420 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
8421 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
8422 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
8423 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
8424 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
8425 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
8426 (sh-set-shell): Use smie-setup if requested.
8427
dee6c9a3
SM
8428 * term.el (term-set-escape-char): Properly set term-escape-char.
8429 See http://stackoverflow.com/questions/10524656.
8430
9f9aa044
CY
84312012-05-10 Chong Yidong <cyd@gnu.org>
8432
8433 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
8434 Use url-generic-parse-url, and handle host names and Windows
8435 filenames properly.
8436 (ffap-url-unwrap-remote): Use url-generic-parse-url.
8437 (ffap-url-unwrap-remote): Accept list values, specifying a list of
8438 URL schemes to work on.
8439 (ffap--toggle-read-only): New function.
8440 (ffap-read-only, ffap-read-only-other-window)
8441 (ffap-read-only-other-frame): Use it.
8442 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
8443 necessary for ffap-url-unwrap-remote.
8444
836d29b3
DA
84452012-05-10 Dave Abrahams <dave@boostpro.com>
8446
8447 * cus-start.el (create-lockfiles): Add it.
8448
00fd78ed
CY
84492012-05-09 Chong Yidong <cyd@gnu.org>
8450
8451 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
8452 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
8453
666b903b 84542012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
8455
8456 * shell.el (shell-completion-vars): Fix last change (bug#11348).
8457
666b903b 84582012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
8459
8460 * ansi-color.el (ansi-color-process-output): Check for validity of
8461 comint-last-output-start before using it. This avoids a bad
8462 interaction with gdb-mi's input/output buffer.
8463
666b903b 84642012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
8465
8466 * files.el (dir-locals-read-from-file):
8467 Mention dir-locals in any error message.
8468
666b903b 84692012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
8470
8471 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
8472 package (Bug#11410).
8473
f677562b
CY
8474 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
8475 variables into description.
8476
666b903b 84772012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
8478
8479 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
8480 shell-delimiter-argument-list (bug#11348).
8481 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
8482
b499d8d0
JB
84832012-05-09 Juanma Barranquero <lekktu@gmail.com>
8484
8f6b6da8
JB
8485 * textmodes/rst.el: Silence byte-compiler warnings.
8486 (rst-re-alist, rst-reset-section-caches): Move around.
8487 (rst-re): Use `characterp', not `char-valid-p'.
8488 (font-lock-beg, font-lock-end): Declare.
8489
4824146a
JB
8490 * progmodes/idlw-shell.el (specs): Remove reference to deleted
8491 variable `idlwave-shell-activate-alt-keybindings' and simplify.
8492
b499d8d0
JB
8493 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
8494
ad89bb83
GM
84952012-05-08 Glenn Morris <rgm@gnu.org>
8496
8497 * files.el (auto-mode-alist): Treat ".make" like ".mk".
8498
8bba5a75
SM
84992012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8500
49ed9c8e
SM
8501 * vc/log-edit.el: Add GNU coding standards highlighting.
8502 (log-edit-font-lock-gnu-style)
8503 (log-edit-font-lock-gnu-keywords): New vars.
8504 (log-edit-font-lock-keywords): New fun.
8505 (log-edit-mode): Don't fold case in font-lock.
8506 (log-edit-font-lock-keywords): Do not assume case-folding.
8507
07d00b56
SM
8508 * imenu.el: Misc cleanup. Make docstrings out of comments.
8509 Use lexical-binding.
8510 (imenu--index-alist, imenu--last-menubar-index-alist)
8511 (imenu-menubar-modified-tick): Use defvar-local.
8512 (imenu--split-menu): Remove unused var.
8513 (imenu--cleanup-seen): Declare as global.
8514 (imenu--cleanup): Use dolist.
8515
8bba5a75
SM
8516 * subr.el (defvar-local): Add debug spec and doc-string position.
8517
5075bdb5
GM
85182012-05-08 Glenn Morris <rgm@gnu.org>
8519
090bd7cb 8520 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
8521 * language/english.el, language/georgian.el, language/greek.el:
8522 * language/japanese.el, language/khmer.el, language/korean.el:
8523 * language/lao.el, language/misc-lang.el, language/romanian.el:
8524 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
8525 * language/thai.el, language/utf-8-lang.el:
8526 Remove no-byte-compile setting.
8527
5075bdb5
GM
8528 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
8529
06f679a7
AH
85302012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
8531
8532 * progmodes/make-mode.el (makefile-browse):
8533 Remove unnecessary interactive. (Bug#11324)
8534
03794570
GM
85352012-05-07 Glenn Morris <rgm@gnu.org>
8536
af8630f4
GM
8537 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
8538
03794570
GM
8539 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
8540
f0809a9d
SM
85412012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
8542
28be5ce7
SM
8543 * loadup.el: Preload newcomment.el.
8544 * newcomment.el: Move autoload-only code to toplevel.
8545
f0809a9d
SM
8546 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
8547 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
8548 Handle new :right-align column property.
8549 (tabulated-list-print-col): Idem, plus use `display' text-property to
8550 try and preserve alignment for variable pitch fonts.
8551
1241b724
CY
85522012-05-07 Chong Yidong <cyd@gnu.org>
8553
8554 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
8555 (tabulated-list-use-header-line): New var.
8556 (tabulated-list-init-header): Use it.
8557 (tabulated-list-print-fake-header): New function.
8558 (tabulated-list-print): Use it.
8559 (tabulated-list-sort-button-map): Add non-header-line commands.
8560 (tabulated-list-init-header): Add column name property to basic
8561 labels as well.
8562 (tabulated-list-col-sort): Handle non-header-line button case.
8563 (tabulated-list--sort-by-column-name): Fix a corner case.
8564
f0809a9d
SM
8565 * buff-menu.el (list-buffers--refresh):
8566 Handle Buffer-menu-use-header-line.
1241b724 8567
e5f9458f
CY
85682012-05-06 Chong Yidong <cyd@gnu.org>
8569
8570 * buff-menu.el: Convert to Tabulated List mode.
8571 (Buffer-menu-buffer+size-width): Make obsolete.
8572 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
8573 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
8574 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
8575 documentation into docstring of buffer-menu.
8576 (Buffer-menu-toggle-files-only): Add an informative message.
8577 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
8578 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
8579 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
8580 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
8581 (Buffer-menu-execute, Buffer-menu-select)
8582 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
8583 (Buffer-menu-bury): Use Tabulated List machinery.
8584 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
8585 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 8586 Delete.
e5f9458f
CY
8587 (list-buffers--refresh): New function.
8588 (list-buffers-noselect): Use it.
8589 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
8590 (Buffer-menu--pretty-file-name): New helper functions.
8591
8592 * loadup.el: Preload tabulated-list.
8593
8594 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
8595 tabulated-list-sort-column.
8596 (tabulated-list-init-header): Add the initial aligning space even
8597 if tabulated-list-padding is zero.
8598
e129292c
CS
85992012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
8600
8601 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
8602 whose cdr is not a cons cell correctly (bug#11038).
8603
6632d361
CY
86042012-05-06 Chong Yidong <cyd@gnu.org>
8605
e129292c
CS
8606 * emacs-lisp/tabulated-list.el (tabulated-list-format):
8607 Accept additional plist in column descriptors.
6632d361
CY
8608 (tabulated-list-init-header): Obey it.
8609 (tabulated-list-get-entry): New function.
8610 (tabulated-list-put-tag): Use it. Use string-width instead of
8611 length.
8612 (tabulated-list--column-number): New function.
8613 (tabulated-list-print): Use it.
e129292c
CS
8614 (tabulated-list-print-col): New function.
8615 Set `tabulated-list-column-name' property on each column's text.
6632d361 8616 (tabulated-list-print-entry): Use it.
e129292c
CS
8617 (tabulated-list-delete-entry, tabulated-list-set-col):
8618 New functions.
6632d361
CY
8619 (tabulated-list-sort-column): New command (Bug#11337).
8620
3cc99f68
CY
8621 * buff-menu.el (list-buffers): Move C-x C-b binding from
8622 buff-menu.el to bindings.el.
8623
8624 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
8625 :advertised-binding feature.
8626
52b61776
TN
86272012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
8628
8629 * progmodes/compile.el (compilation-internal-error-properties):
8630 Calculate start position correctly when end-col is set but
8631 end-line is not (Bug#11382).
8632
ebfe2597
WJ
86332012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
8634
8635 * man.el (Man-unindent): Use text-property-default-nonsticky to
8636 prevent untabify from inheriting face properties (Bug#11408).
8637
6d3f7c2f
SM
86382012-05-05 Stefan Merten <smerten@oekonux.de>
8639
8640 * textmodes/rst.el: Major merge with upstream development up to
8641 Docutils SVN r7399 / rst.el V1.2.1.
8642
8643 Clarify maintainership and authors.
8644
8645 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
8646 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
8647 (rst-official-version, rst-official-cvs-rev, rst-version)
8648 (rst-package-emacs-version-alist): New functions and variables
8649 for version information.
8650
8651 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
8652 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
8653 (rst-mode-syntax-table, rst-mode): New and corrected functions
8654 and variables representing reStructuredText features.
8655
8656 (rst-re): New function for reStructuredText regexes. Use in
8657 many places.
8658
8659 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
8660 (rst-mode-map): Rebind keys.
8661
8662 (rst-mode-lazy, rst-font-lock-keywords)
8663 (rst-font-lock-extend-region)
8664 (rst-font-lock-extend-region-internal)
8665 (rst-font-lock-extend-region-extend)
8666 (rst-font-lock-find-unindented-line-limit)
8667 (rst-font-lock-find-unindented-line-match)
8668 (rst-adornment-level, rst-font-lock-adornment-level)
8669 (rst-font-lock-adornment-match)
8670 (rst-font-lock-handle-adornment-pre-match-form)
8671 (rst-font-lock-handle-adornment-matcher): Major revision of
8672 font-locking. Integrate with other code. Use `jit-lock-mode'.
8673
8674 (rst-preferred-adornments, rst-adjust-hook)
8675 (rst-new-adornment-down, rst-preferred-bullets)
8676 (rst-preferred-bullets, rst-indent, rst-indent-width)
8677 (rst-indent-field, rst-indent-literal-normal)
8678 (rst-indent-literal-minimized, rst-indent-comment): Change,
8679 extend and improve customization.
8680
8681 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
8682 (rst-normalize-cursor-position, rst-get-decoration)
8683 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
8684 (rst-rstrip, rst-toc-insert-find-delete-contents)
8685 (rst-shift-fill-region, rst-compute-bullet-tabs)
8686 (rst-debug-print-tabs, rst-debug-mark-found)
8687 (rst-shift-region-guts, rst-shift-region-right)
8688 (rst-shift-region-left, rst-use-char-classes)
8689 (rst-font-lock-keywords-function)
8690 (rst-font-lock-indentation-point)
8691 (rst-font-lock-find-unindented-line-begin)
8692 (rst-font-lock-find-unindented-line-end)
8693 (rst-font-lock-find-unindented-line)
8694 (rst-font-lock-adornment-point, rst-font-lock-level)
8695 (rst-adornment-level-alist): Remove functions and variables.
8696
8697 (rst-compare-adornments, rst-get-adornment-match)
8698 (rst-suggest-new-adornment, rst-get-adornments-around)
8699 (rst-adornment-complete-p, rst-get-next-adornment)
8700 (rst-adjust-adornment, rst-display-adornments-hierarchy)
8701 (rst-straighten-adornments): Standardize function names to
8702 use "adornment" instead of "decoration". Correct callers.
8703 Similar standardizing in many places.
8704
8705 (rst-update-section, rst-adjust, rst-promote-region)
8706 (rst-enumerate-region, rst-bullet-list-region)
8707 (rst-repeat-last-character): Correct use of `interactive'.
8708
8709 (rst-classify-adornment, rst-find-all-adornments)
8710 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
8711 (rst-find-leftmost-column, rst-repeat-last-character):
8712 Refactor functions.
8713
8714 (rst-find-title-line, rst-reset-section-caches)
8715 (rst-get-adornments-around, rst-adjust-adornment-work)
8716 (rst-arabic-to-roman, rst-roman-to-arabic)
8717 (rst-insert-list-pos, rst-insert-list-new-item)
8718 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
8719 New functions.
8720
8721 (rst-all-sections, rst-section-hierarchy)
8722 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
8723 New variables.
8724
8725 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
8726 configuration instead of only buffer. Change where necessary.
8727
8728 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
8729 (rst-shift-region, rst-adaptive-fill): New functions for
8730 indentation and filling.
8731
8732 (rst-comment-line-break, rst-comment-indent)
8733 (rst-comment-insert-comment, rst-comment-region)
8734 (rst-uncomment-region): New functions for handling comments.
8735
8736 (rst-compile): Quote shell arguments.
8737
8738 (rst-compile-pdf-preview, rst-compile-slides-preview):
8739 Delete temporary files after use.
8740
a43f98b3
GM
87412012-05-05 Glenn Morris <rgm@gnu.org>
8742
48176e8b
GM
8743 * calendar/cal-html.el: Optionally include holidays in the output.
8744 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
8745 (cal-html-holidays): New option.
8746 (cal-html-css-default): Add holiday entry.
8747 (holiday-in-range): Autoload it.
8748 (cal-html-htmlify-entry): Add optional class argument.
8749 (cal-html-htmlify-list): Add optional holidays argument.
8750 (cal-html-insert-agenda-days): Include holidays in the output.
8751 (cal-html-one-month): Maybe include holidays.
8752
a43f98b3
GM
8753 * calendar/holidays.el (holiday-in-range):
8754 Move here from cal-tex-list-holidays.
8755 * calendar/cal-tex.el (cal-tex-list-holidays):
8756 Make it an obsolete alias for holiday-in-range. Update all callers.
8757
fef9d149 87582012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
8759
8760 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
8761 Nextstep.
8762
248da2f4
RW
87632012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
8764
8765 * files.el (file-auto-mode-skip): New var.
8766 (set-auto-mode-1): Use it.
8767
f95e9344
SM
87682012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
8769
df96ab1e
SM
8770 * repeat.el: Use lexical-binding.
8771 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
8772 (repeat-undo-count): Remove.
8773 (repeat):
8774 * progmodes/octave-mod.el (octave-abbrev-start):
8775 * progmodes/f90.el (f90-abbrev-start):
8776 * face-remap.el (text-scale-adjust):
8777 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
8778
5342bb06
SM
8779 * emacs-lisp/pcase.el (pcase--let*): New function.
8780 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
8781 a bit more.
8782 (pcase--split-pred): Be more clever about ruling out overlap between
8783 a predicate and some constant pattern.
8784 (pcase--q1): Use `null' instead of (eq foo nil).
8785
f95e9344
SM
8786 * subr.el (setq-local, defvar-local): New macros.
8787 (kbd): Redefine as an alias.
8788 (with-selected-window): Leave unrelated frames alone.
8789 (set-temporary-overlay-map): New function.
8790
71873e2b
SM
87912012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
8792
8793 * subr.el (user-error): New function.
8794 * window.el (switch-to-buffer):
8795 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
8796 (smerge-match-conflict):
8797 * simple.el (previous-matching-history-element)
8798 (next-matching-history-element, goto-history-element, undo-more)
8799 (undo-start):
8800 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
8801 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
8802 (next-file, tags-loop-scan, list-tags, complete-tag):
8803 * progmodes/compile.el (compilation-loop):
8804 * mouse.el (mouse-minibuffer-check):
8805 * man.el (Man-bgproc-sentinel, Man-goto-page):
8806 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
8807 (Info-history-forward, Info-follow-reference, Info-menu)
8808 (Info-extract-menu-item, Info-extract-menu-counting)
8809 (Info-forward-node, Info-backward-node, Info-next-menu-item)
8810 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
8811 (Info-next-reference, Info-prev-reference, Info-index)
8812 (Info-index-next, Info-follow-nearest-node)
8813 (Info-copy-current-node-name):
8814 * imenu.el (imenu--make-index-alist)
8815 (imenu-default-create-index-function, imenu-add-to-menubar):
8816 * files.el (basic-save-buffer, recover-file):
8817 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
8818 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
8819 (checkdoc-message-text, checkdoc-defun):
8820 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
8821 * cus-edit.el (customize-changed-options, customize-rogue)
8822 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
8823 (custom-variable-mark-to-reset-standard)
8824 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
8825 (custom-file):
8826 * completion.el (check-completion-length):
8827 * comint.el (comint-search-arg)
8828 (comint-previous-matching-input-string-position)
8829 (comint-previous-matching-input)
8830 (comint-replace-by-expanded-history-before-point, comint-send-input)
8831 (comint-copy-old-input, comint-backward-matching-input)
8832 (comint-goto-process-mark, comint-set-process-mark):
8833 * calendar/calendar.el (calendar-cursor-to-date): Use it.
8834 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
8835
8a61ee22
SM
88362012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
8837
66408d1e
SM
8838 * dabbrev.el (dabbrev--ignore-case-p): New function.
8839 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
8840 Use it.
8841
8a61ee22
SM
8842 * files.el (automount-dir-prefix): Mark as obsolete.
8843
3c74813a
GM
88442012-05-04 Glenn Morris <rgm@gnu.org>
8845
8846 * patcomp.el, play/bruce.el: Move to obsolete/.
8847
0bfcf5c5
PE
88482012-05-04 Paul Eggert <eggert@cs.ucla.edu>
8849
8850 Fix minor Y10k bugs.
8851 * arc-mode.el (archive-unixdate):
8852 * autoinsert.el (auto-insert-alist):
8853 * calc/calc-forms.el (math-this-year):
8854 * emacs-lisp/copyright.el (copyright-current-year)
8855 (copyright-update-year, copyright):
8856 * tar-mode.el (tar-clip-time-string):
8857 * time.el (display-time-update):
8858 Don't assume years have 4 digits.
8859
78f3273a
CY
88602012-05-04 Chong Yidong <cyd@gnu.org>
8861
8862 * dos-w32.el (file-name-buffer-file-type-alist)
8863 (direct-print-region-use-command-dot-com):
8864 * ffap.el (ffap-menu-regexp):
8865 * find-file.el (ff-special-constructs):
8866 * follow.el (follow-debug):
8867 * forms.el (forms--debug):
8868 * iswitchb.el (iswitchb-all-frames):
8869 * ido.el (ido-all-frames):
8870 * emacs-lisp/timer.el (timer-max-repeats):
8871 * mail/feedmail.el (feedmail-mail-send-hook)
8872 (feedmail-mail-send-hook-queued):
8873 * mail/footnote.el (footnote-signature-separator):
8874 * mail/mailabbrev.el (mail-alias-separator-string)
8875 (mail-abbrev-mode-regexp):
8876 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
8877 * progmodes/idlwave.el (idlwave-libinfo-file)
8878 (idlwave-default-completion-case-is-down)
8879 (idlwave-library-routines): Convert defvars to defcustoms.
8880
8881 * mail/rmail.el (rmail-decode-mime-charset):
8882 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
8883 (idlwave-shell-fix-inserted-breaks)
8884 (idlwave-shell-activate-alt-keybindings)
8885 (idlwave-shell-use-breakpoint-glyph):
8886 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
8887
f7ae6719
SM
88882012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
8889
8890 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
8891
47086495
WS
88922012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
8893
8894 * progmodes/verilog-mode.el (font-lock-keywords):
8895 Fix mis-highligting auto. Reported by Craig Barner.
8896 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
fc0c31f8 8897 defines from global name space. Reported by Dan Dever.
47086495
WS
8898 (verilog-auto-reset, verilog-auto-reset-widths)
8899 (verilog-auto-tieoff): Support using unbased numbers for
8900 AUTORESET and AUTOTIEOFF.
8901 (verilog-submit-bug-report): Update variable list.
8902 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
fc0c31f8 8903 parenthesis from not matching. Reported by Michael Rytting.
47086495
WS
8904 (verilog-auto-template-lint): Fix hash error when linting modules
8905 with no used templates.
8906 (verilog-warn, verilog-warn-error)
8907 (verilog-warn-fatal): When non-interactive report multiple
8908 warnings before exiting. Suggested by Brad Dobbie.
8909 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
8910 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
8911 to report unused template errors. Reported by Brad Dobbie.
8912 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
fc0c31f8 8913 nets, bug438. Reported by Vns Blore.
47086495
WS
8914 (verilog-auto-inout-module, verilog-auto-reg)
8915 (verilog-read-decls, verilog-read-sub-decls-sig)
8916 (verilog-signals-edit-wire-reg, verilog-signals-with):
8917 Fix passing of Verilog data types in ANSI input/output ports
fc0c31f8 8918 such as "output logic" into the AUTOs. Special case "wire" and
47086495
WS
8919 "reg" for backwards compatibility presuming Verilog 2001.
8920 (verilog-auto-ascii-enum): Add "auto enum" as alias.
8921 (verilog-preprocess): Fix replication of preprocess output.
8922 Reported by Brad Dobbie.
8923 (verilog-auto-inst-interfaced-ports):
8924 Create verilog-auto-inst-interfaced-ports, bug429.
8925 Reported by Julian Gorfajn.
8926 (verilog-after-save-font-hook)
8927 (verilog-before-save-font-hook): New variable.
8928 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
8929 (verilog-save-font-mods): Wrap disabling fontification, reported
8930 by David Rogoff.
8931 (verilog-do-indent, verilog-pretty-declarations-auto)
8932 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
8933 Reported by Pierre-David Pfister.
8934 (verilog-set-auto-endcomments): Fix endtask auto comments outside
8935 of class declarations, bug292. Reported by Kevin Heilman.
8936 (verilog-read-decls): Fix 'parameter type' not appearing in
8937 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
8938 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
fc0c31f8 8939 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
47086495
WS
8940 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
8941 Reported by David Kravitz.
8942
89432012-05-03 Michael McNamara <mac@mail.brushroad.com>
8944
8945 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
8946 assignment with tests in ifs and for loops.
8947 (verilog-extended-complete-re, verilog-complete-reg): Change so
8948 that DPI inport functions don't look like fuction declarations.
8949 (verilog-pretty-expr): Don't line up assignment
8950 operations to the test and increment in if and for loops
8951 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 8952 that DPI inport functions don't look like fuction declarations.
47086495 8953
2e51d4b5
KH
89542012-05-03 Kenichi Handa <handa@m17n.org>
8955
8956 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 8957 decoding, and show a warning message without signaling an error
2e51d4b5
KH
8958 (Bug#11282).
8959
2bd785a2
SM
89602012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
8961
8962 * emacs-lisp/bytecomp.el
8963 (byte-compile-file-form-custom-declare-variable): Compile all elements,
8964 since cconv.el might have introduced :fun-body, internal-make-closure,
8965 and friends for bytecomp to handle (bug#11391).
8966 * custom.el (defcustom): Avoid ((λ ..) ..).
8967
99d27583
SM
89682012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
8969
8970 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
8971
55a71479
JB
89722012-05-02 Juanma Barranquero <lekktu@gmail.com>
8973
8974 * notifications.el (dbus-debug):
8975 * term/linux.el (gpm-mouse-enable):
8976 * term/screen.el (xterm-register-default-colors): Declare.
8977
7b97c764
CY
89782012-05-02 Chong Yidong <cyd@gnu.org>
8979
2bc356d7
CY
8980 * cus-start.el (gc-cons-percentage, exec-suffixes)
8981 (dos-display-scancodes, dos-hyper-key, dos-super-key)
8982 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
8983 (make-cursor-line-fully-visible, void-text-area-pointer)
8984 (font-list-limit): Add customization data.
8985
7b97c764
CY
8986 * allout.el (allout-exposure-change-functions)
8987 (allout-structure-added-functions)
8988 (allout-structure-deleted-functions)
8989 (allout-structure-shifted-functions): Rename abnormal hooks from
8990 *-hook, and convert to defcustoms.
5d3385a0
JB
8991 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
8992 Convert to defcustoms.
7b97c764
CY
8993 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
8994
8995 * allout-widgets.el: Hook callers changed.
8996
90207a15 89972012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
8998
8999 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
9000 the yanked message in preference to the default value of
9001 buffer-file-coding-system.
9002
90207a15 90032012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 9004
5d3385a0
JB
9005 * window.el (display-buffer--action-function-custom-type):
9006 Fix entry.
d9558cad 9007
90207a15 90082012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
9009
9010 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
9011
d80ac57b
GM
90122012-05-01 Glenn Morris <rgm@gnu.org>
9013
976f7668
GM
9014 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
9015
beb83b5a
GM
9016 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
9017
d80ac57b
GM
9018 * cus-edit.el (custom-variable-documentation): Simplify with format.
9019
b593d6a9 90202012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 9021 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
9022
9023 * simple.el (suggest-key-bindings, execute-extended-command):
9024 Move from keyboard.c.
9025
782fbf2a
CY
90262012-05-01 Chong Yidong <cyd@gnu.org>
9027
9028 * follow.el: Eliminate advice.
9029 (set-process-filter, process-filter, sit-for): Advice deleted.
9030 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
9031 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
9032 Vars deleted.
782fbf2a
CY
9033 (follow-auto): Use a :set function.
9034 (follow-mode): Rewritten. Don't advise process filters.
9035 (follow-switch-to-current-buffer-all, follow-scroll-up)
9036 (follow-scroll-down): Assume follow-mode is bound.
9037 (follow-comint-scroll-to-bottom)
9038 (follow-align-compilation-windows): New functions.
9039 (follow--window-sorter): New function.
9040 (follow-all-followers): Use it to explicitly sort windows by their
9041 positions; don't make assumptions about next-window order.
9042 (follow-windows-start-end, follow-delete-other-windows-and-split)
9043 (follow-calc-win-start): Doc fix.
9044 (follow-windows-aligned-p, follow-select-if-visible): Don't call
9045 vertical-motion unnecessarily.
9046 (follow-adjust-window): New function.
9047 (follow-post-command-hook): Use it.
9048 (follow-call-set-process-filter, follow-call-process-filter)
9049 (follow-intercept-process-output, follow-tidy-process-filter-alist)
9050 (follow-stop-intercept-process-output, follow-generic-filter):
9051 Functions deleted.
9052 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
9053 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
9054 New functions, replacing advice on scroll-bar-* commands.
87233a14 9055 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
9056
9057 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
9058 (comint-postoutput-scroll-to-bottom): Use it.
9059 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 9060
290af740
GM
90612012-05-01 Glenn Morris <rgm@gnu.org>
9062
9063 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
9064 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
9065 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
9066 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
9067 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
9068 Remove no-byte-compile setting.
9069
6eac8dc9
SM
90702012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
9071
9072 * minibuffer.el (completion-table-with-quoting): Fix compatibility
9073 all-completions code to not return a number in the last cdr.
9074
9cc7819c
LL
90752012-04-30 Leo Liu <sdl.web@gmail.com>
9076
9077 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
9078 read-only error.
9079
c93b886f
CY
90802012-04-29 Chong Yidong <cyd@gnu.org>
9081
9082 * follow.el (follow-calc-win-end): Rewrite to handle partial
9083 screen lines correctly (Bug#8390).
9084 (follow-avoid-tail-recenter): Minor cleanup.
9085
8b6c19f4
SM
90862012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
9087
9088 Avoid the obsolete `assoc' package.
9089 * speedbar.el (speedbar-refresh): Avoid adelete.
9090 (speedbar-file-lists): Simplify and avoid aput.
9091 * man.el (Man--sections, Man--refpages): New vars, replacing
9092 Man-sections-alist and Man-refpages-alist.
9093 (Man-build-section-alist, Man-build-references-alist):
9094 Use them; avoid aput.
9095 (Man--last-section, Man--last-refpage): New vars.
9096 (Man-follow-manual-reference): Use them.
9097 Use the `default' arg of completing-read.
9098 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
9099
c5bb7569
CY
91002012-04-27 Chong Yidong <cyd@gnu.org>
9101
d1d2e2e8
CY
9102 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
9103
15cd8efd
CY
9104 * startup.el (x-apply-session-resources): New function.
9105
9106 * term/ns-win.el (ns-initialize-window-system):
9107 * term/w32-win.el (w32-initialize-window-system):
9108 * term/x-win.el (x-initialize-window-system): Use it to properly
9109 set menu-bar-mode and other vars from X resources, even if the
9110 initial frame is not a window-system frame (Bug#2299).
9111
c5bb7569
CY
9112 * subr.el (read-key): Avoid running filter function when setting
9113 up temporary tool bar entries (Bug#9922).
9114
a8e7d6d7 91152012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
9116
9117 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
9118 (Bug#11344)
9119
a8e7d6d7 91202012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
9121
9122 * select.el (xselect--encode-string): New function, split from
9123 xselect-convert-to-string.
9124 (xselect-convert-to-string): Use it.
9125 (xselect-convert-to-filename, xselect-convert-to-os)
9126 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
9127 returned strings are properly encoded (Bug#11315).
9128
a8e7d6d7 91292012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
9130
9131 * simple.el (delete-active-region): Move to killing custom group.
9132
a8e7d6d7 91332012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
9134
9135 * progmodes/which-func.el (which-func-current): Quote %
9136 characters for mode-line processing.
9137
578c1d4b 91382012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
9139
9140 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
9141 reaching eob (Bug#11286).
9142
a8e7d6d7 91432012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
9144
9145 * progmodes/gdb-mi.el (gdb-control-level): New variable.
9146 (gdb): Make it buffer-local and init to zero.
9147 (gdb-control-commands-regexp): New variable.
9148 (gdb-send): Don't wrap in "-interpreter-exec console" if
9149 gdb-control-level is positive. Increment gdb-control-level
9150 whenever the command matches gdb-control-commands-regexp, and
9151 decrement it each time the command is "end". (Bug#11279)
9152
a8e7d6d7 91532012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
9154
9155 * window.el (adjust-window-trailing-edge, enlarge-window)
9156 (shrink-window, window-resize):
9157 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
9158 windows (Bug#11276).
9159
b3608390
CY
91602012-04-27 Chong Yidong <cyd@gnu.org>
9161
9162 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 9163 fix "missing prefix" warning. All callers changed.
b3608390 9164
797e6e88
SM
91652012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
9166
9167 * emacs-lisp/assoc.el: Move to obsolete/.
9168
e95a67dc
SM
91692012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
9170
657c21e4 9171 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
9172
9173 * term/ns-win.el (ns-define-service):
9174 * progmodes/pascal.el (pascal-goto-defun):
9175 * progmodes/js.el (js--read-tab):
9176 * progmodes/etags.el (tags-lazy-completion-table):
9177 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
9178 * emacs-lisp/ewoc.el (ewoc--wrap):
9179 * emacs-lisp/assoc.el (aput, adelete, amake):
9180 * doc-view.el (doc-view-convert-current-doc):
9181 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
9182
cb3e7ae0
CY
91832012-04-26 Chong Yidong <cyd@gnu.org>
9184
dce04f7f
CY
9185 * image.el (image-type-from-buffer): Only return supported image
9186 type (Bug#9045).
9187
cb3e7ae0
CY
9188 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
9189 value, for symmetry with diff-end-of-hunk.
9190 (diff-split-hunk, diff-find-source-location)
9191 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
9192 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
9193 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
9194 compute the relevant hunk or file properly (Bug#6005).
9195 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
9196
0d42eb3e
SM
91972012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
9198
9199 * vc/vc-mtn.el:
9200 * vc/vc-hg.el:
9201 * vc/vc-git.el:
9202 * vc/vc-dir.el:
9203 * vc/vc-cvs.el:
9204 * vc/vc-bzr.el:
9205 * vc/vc-arch.el:
9206 * vc/vc.el: Replace lexical-let by lexical-binding.
9207 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
9208 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
9209 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
9210
f08ae1c9
CY
92112012-04-26 Chong Yidong <cyd@gnu.org>
9212
8b71081d
CY
9213 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
9214 (diff-mode-shared-map): Bind it to / and [remap undo].
9215
f08ae1c9
CY
9216 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
9217 (ediff-window-setup-function): Use it as the default, to set up
9218 windows based on whether the current frame is graphical (Bug#2138).
9219 (ediff-choose-window-setup-function-automatically): Make obsolete.
9220
9221 * vc/ediff-init.el: Always define ediff-pixel-width/height.
9222
ef24141c
SM
92232012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9224
cc356a5d
SM
9225 * ffap.el: Remove old code for obsolete package.
9226 (ffap-complete-as-file-p): Remove.
9227
b4ff4f1f
SM
9228 Use completion-table-with-quoting for comint and pcomplete.
9229 * comint.el (comint--unquote&requote-argument)
9230 (comint--unquote-argument, comint--requote-argument): New functions.
9231 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
9232 (comint-quote-filename): Use regexp-opt-charset.
9233 (comint--common-suffix, comint--common-quoted-suffix)
9234 (comint--table-subvert): Remove.
9235 (comint-unquote-function, comint-requote-function): New vars.
9236 (comint--complete-file-name-data): Use them with
9237 completion-table-with-quoting.
9238 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
9239 * pcomplete.el (pcomplete-arg-quote-list)
9240 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
9241 (pcomplete-unquote-argument-function): Default to non-nil.
9242 (pcomplete-unquote-argument): Simplify.
9243 (pcomplete--common-quoted-suffix): Remove.
9244 (pcomplete-requote-argument-function): New var.
9245 (pcomplete--common-suffix): New function.
9246 (pcomplete-completions-at-point): Use completion-table-with-quoting
9247 and completion-table-subvert.
9248
79c4eeb4
SM
9249 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
9250 (minibuffer--double-dollars): Preserve properties.
9251 (completion--sifn-requote): New function.
9252 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
9253
ef24141c
SM
9254 * minibuffer.el: Add support for completion of quoted/escaped data.
9255 (completion-table-with-quoting, completion-table-subvert): New funs.
9256 (completion--twq-try, completion--twq-all): New functions.
9257 (completion--nth-completion): New function.
9258 (completion-try-completion, completion-all-completions): Use it.
9259
784e7d6e
LL
92602012-04-25 Leo Liu <sdl.web@gmail.com>
9261
dd2ac746
SM
9262 * progmodes/python.el (python-pdbtrack-get-source-buffer):
9263 Use compilation-message if available to find real filename.
784e7d6e 9264
07875ee7
CY
92652012-04-25 Chong Yidong <cyd@gnu.org>
9266
9267 * vc/diff-mode.el (diff-setup-whitespace): New function.
9268 (diff-mode): Use it.
9269
9270 * vc/diff.el (diff-sentinel):
9271 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
9272 Whitespace mode variables based on diff style (Bug#8612).
9273
5055880d
LL
92742012-04-25 Leo Liu <sdl.web@gmail.com>
9275
daf75653
LL
9276 * progmodes/python.el (python-send-region): Add suffix .py to the
9277 temp file.
9278
5055880d
LL
9279 * files.el (auto-mode-alist): Use javascript-mode instead.
9280
db9b177b
AH
92812012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
9282
ef24141c 9283 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 9284
090bd7cb 9285 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 9286 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 9287 references, see Bug#9.
ef24141c 9288 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 9289 when receiving a fault reply.
ef24141c 9290 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 9291
090bd7cb 9292 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 9293 (soap-inspect-simple-type): New function.
db9b177b 9294
090bd7cb 9295 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 9296 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
9297 (soap-decode-basic-type, soap-encode-basic-type):
9298 support unsignedInt and double basic types.
db9b177b 9299 (soap-resolve-references-for-simple-type)
ef24141c
SM
9300 (soap-parse-simple-type, soap-encode-simple-type): New function.
9301 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 9302
090bd7cb 9303 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
9304 (soap-default-soapenc-types): Add integer, byte and anyURI types.
9305 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
9306 the local name of "soapenc:Array".
9307 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
9308 decoding integer, byte and anyURI xsd types.
9309
1fc6097b
CY
93102012-04-25 Chong Yidong <cyd@gnu.org>
9311
9312 * cus-edit.el (custom-buffer-create-internal): Update header text.
9313
afc6df87
EZ
93142012-04-25 Eli Zaretskii <eliz@gnu.org>
9315
9316 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
9317 settings on 'system-type', not on 'window-system'. On MS-Windows,
9318 set interactive-mode on in GDB.
9319
dfbd787f
SM
93202012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
9321
9322 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
9323 (ruby-syntax-propertize-regexp): Remove.
9324 (ruby-syntax-propertize-function): Split regexp into chunks.
9325 Match following code directly.
9326
85222d44
DG
93272012-04-24 Dmitry Gutov <dgutov@yandex.ru>
9328
51a8ea2a
DG
9329 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
9330 (ruby-syntax-propertize-regexp): New function.
9331 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
9332 by a special keyword.
9333
85222d44
DG
9334 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
9335 (ruby-syntax-general-delimiters-goto-beg)
9336 (ruby-syntax-propertize-general-delimiters): New functions.
9337 (ruby-syntax-propertize-function): Use them to handle GDL.
9338 (ruby-font-lock-keywords): Move old handling of GDL...
9339 (ruby-font-lock-syntactic-keywords): .. to here.
9340 (ruby-calculate-indent): Adjust indentation for GDL.
9341
b613912b
MA
93422012-04-24 Michael Albinus <michael.albinus@gmx.de>
9343
b5380639
MA
9344 * notifications.el (top): Remove unneeded declarations.
9345 (notifications-specification-version): Change to "1.2".
e43042fe 9346 (notifications-interface, notifications-notify-method)
b613912b
MA
9347 (notifications-close-notification-method): Fix docstring.
9348 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
9349 (notifications-notify): Add :action-items, :resident and
9350 :transient hints. Change "image_data" to "image-data" and
9351 "image_path" to "image-path".
b613912b
MA
9352 (notifications-get-capabilities): New defun.
9353
257440aa
LL
93542012-04-24 Leo Liu <sdl.web@gmail.com>
9355
9356 * progmodes/python.el: Move hideshow setup to the end.
9357
b1bac16e
MR
93582012-04-24 Martin Rudalics <rudalics@gmx.at>
9359
9360 * window.el (handle-select-window): Clear echo area since this is
9361 no more done by read_char (Bug#11304).
9362
d81bd059
SM
93632012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
9364
9365 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
9366 and `/ M' to filter-derived-mode.
9367 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
9368 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
9369 (ibuffer-mark-by-mode): Use default rather than initial-input.
9370 (ibuffer-filter-by-derived-mode): Autoload and require-match.
9371
c4cf6d91
IA
93722012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
9373
9374 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
9375 (ibuffer-filter-by-derived-mode): New filter.
9376 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
9377
7511ded8
CY
93782012-04-23 Andreas Politz <politza@fh-trier.de>
9379
9380 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
9381
775c916b
CY
93822012-04-23 Chong Yidong <cyd@gnu.org>
9383
9384 * cus-edit.el (customize-apropos, customize-apropos-options):
9385 Disable matching of non-option variables (Bug#11176).
9386 (customize-option, customize-option-other-window)
9387 (customize-changed-options): Doc fix.
9388 (customize-apropos-options, customize-apropos-faces)
9389 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
9390
9391 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 9392 Fix word list splitting (Bug#11132).
46c71e23
CY
9393 (apropos-symbol, apropos-keybinding, apropos-label)
9394 (apropos-property, apropos-function-button)
9395 (apropos-variable-button, apropos-misc-button): New faces.
9396 (apropos-symbol-face, apropos-keybinding-face)
9397 (apropos-label-face, apropos-property-face, apropos-match-face):
9398 Variables removed (Bug#8396).
9399 (apropos-library-button, apropos-format-plist, apropos-print)
9400 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 9401
2df41f9c
MA
94022012-04-23 Michael Albinus <michael.albinus@gmx.de>
9403
9404 * net/xesam.el (xesam-mode-map): Use let-bound map in
9405 initialization. (Bug#11292)
9406
da00640a
AM
94072012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9408
9409 Preserve ispell session localwords when switching back to
9410 original buffer.
9411
090bd7cb
JB
9412 * textmodes/ispell.el (ispell-buffer-session-localwords):
9413 New buffer-local variable to hold buffer session localwords.
ed9265fc 9414 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
9415 localwords.
9416 (ispell-command-loop, ispell-change-dictionary)
9417 (ispell-buffer-local-words): Preserve session localwords when
9418 needed.
9419
090bd7cb
JB
9420 * textmodes/flyspell.el (flyspell-process-localwords)
9421 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 9422
f621ccf5
AM
94232012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9424
090bd7cb
JB
9425 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
9426 using obsolete `translation-table-for-input'.
ef24141c
SM
9427 (ispell-word, ispell-process-line, ispell-complete-word):
9428 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 9429
c2d1019e
CY
94302012-04-22 Chong Yidong <cyd@gnu.org>
9431
9432 * cus-edit.el (custom-variable-menu)
9433 (custom-variable-reset-saved, custom-face-menu)
9434 (custom-face-reset-saved): If there is no saved value, make the
9435 "reset-saved" operation bring back the default (Bug#9509).
9436 (custom-face-state): Properly detect themed faces.
9437
eeddc531
CY
9438 * faces.el (face-spec-set): Stop supporting deprecated form of
9439 third arg.
9440
dcbf5805
MA
94412012-04-22 Michael Albinus <michael.albinus@gmx.de>
9442
9443 Move functions from C to Lisp. Make non-blocking method calls
9444 the default. Implement further D-Bus standard interfaces.
9445
ef24141c
SM
9446 * net/dbus.el (dbus-message-internal): Declare function.
9447 Remove unneeded function declarations.
dcbf5805
MA
9448 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
9449 (dbus-message-type-method-return, dbus-message-type-error)
9450 (dbus-message-type-signal): Declare variables. Remove local
9451 definitions.
9452 (dbus-interface-dbus, dbus-interface-peer)
9453 (dbus-interface-introspectable, dbus-interface-properties)
9454 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
9455 Adapt docstring.
9456 (dbus-interface-objectmanager): New defconst.
9457 (dbus-call-method, dbus-call-method-asynchronously)
9458 (dbus-send-signal, dbus-method-return-internal)
9459 (dbus-method-error-internal, dbus-register-service)
9460 (dbus-register-signal, dbus-register-method): New defuns, moved
9461 from dbusbind.c
9462 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
9463 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
9464 New defuns.
dcbf5805
MA
9465 (dbus-call-method-non-blocking): Make it an obsolete function.
9466 (dbus-unregister-object, dbus-unregister-service)
9467 (dbus-handle-event, dbus-register-property)
9468 (dbus-property-handler): Obey the new structure of
9469 `bus-registered-objects'.
9470 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
9471 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
9472 Use `dbus-call-method'.
9473
cf20dee0
CY
94742012-04-22 Chong Yidong <cyd@gnu.org>
9475
9476 * cus-edit.el (custom-commands, custom-reset-menu)
9477 (Custom-reset-standard): Tweak labels.
9478 (custom-reset-button-menu): Change default to t.
9479 (custom-buffer-create-internal): For the custom-reset-button-menu
9480 case, put the revert button first.
9481 (custom-group-subtitle): New face.
9482 (custom-group-value-create): Align docstring to a specific column.
9483
9484 * wid-edit.el (widget-documentation-link-add): Don't handle
9485 indentation in this function.
9486 (widget-documentation-string-indent-to): New function.
9487 (widget-documentation-string-value-create): Use it.
9488
9489 * autorevert.el (auto-revert):
9490 * epg-config.el (epg):
9491 * ibuffer.el (ibuffer):
9492 * mpc.el (mpc):
9493 * ses.el (ses):
9494 * eshell/eshell.el (eshell):
9495 * net/ange-ftp.el (ange-ftp):
9496 * progmodes/ebnf2ps.el (postscript):
9497 * progmodes/flymake.el (flymake):
9498 * progmodes/prolog.el (prolog):
9499 * progmodes/verilog-mode.el (verilog-mode):
9500 * progmodes/which-func.el (which-func):
9501 * term/xterm.el (xterm):
9502 * textmodes/picture.el (picture):
9503 * textmodes/tildify.el (tildify):
9504 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
9505 customization buffers.
9506
583e23bd
AM
95072012-04-22 Alan Mackenzie <acm@muc.de>
9508
9509 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
9510 Adding a ) can hide the resulting (..) from searches. Fix it.
9511 Bound the backward search to the position of the existing (.
9512
7dd51bf1
JB
95132012-04-21 Juanma Barranquero <lekktu@gmail.com>
9514
9515 * progmodes/verilog-mode.el (verilog-mode): Check whether
9516 which-func-modes is t before adding verilog-mode.
9517 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
9518
d64a438f
LL
95192012-04-21 Leo Liu <sdl.web@gmail.com>
9520
7dd51bf1 9521 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 9522
081e8d65
MV
95232012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
9524
9525 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
9526 filling of the last column of a table (Bug#5635).
9527 (woman-find-next-control-line): New arg, specifying an additional
9528 regexp component for the control line.
9529 (woman2-roff-buffer): Use it.
9530 (woman-break-table): New function.
9531 (woman2-TS): Use it.
9532
95332012-04-21 Chong Yidong <cyd@gnu.org>
9534
9535 * woman.el (woman-set-buffer-display-table, woman-decode-region)
9536 (woman-horizontal-escapes, woman-negative-vertical-space)
9537 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
9538 (WoMan-warn-ignored): Use ?\s instead of ?\ .
9539
ed571ccb
SM
95402012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9541
9542 * minibuffer.el (completion-file-name-table): Complete user names.
9543
39773899
LL
95442012-04-20 Leo Liu <sdl.web@gmail.com>
9545
9546 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
9547 and pcase-let*.
9548
de6ff46d
CY
95492012-04-20 Chong Yidong <cyd@gnu.org>
9550
9551 * server.el (server-execute): Respect initial-buffer-choice if it
9552 is a string and there are no files to open (Bug#2825).
9553 (server-create-window-system-frame, server-create-tty-frame):
9554 Don't switch buffers here.
2d0e8e61
CY
9555 (server-process-filter): Only try to open a window system frame if
9556 compiled with graphical support (Bug#8314).
de6ff46d 9557
54071013
DN
95582012-04-20 Dan Nicolaescu <dann@gnu.org>
9559
9560 * battery.el (battery-echo-area-format): Display remaining time
9561 for sysfs backend too (Bug#11269).
9562 (battery-linux-sysfs): Fix conditional for the charge.
9563
f30d612a
CY
95642012-04-20 Chong Yidong <cyd@gnu.org>
9565
c07a4c0b 9566 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
9567 (gdb-inferior-io--init-proc): New function.
9568 (gdb-init-1): Use it.
9569 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
9570 responsible for allocating a new pty and hooking it to gdb when
9571 the old pty gets an EIO due to process exit.
9572 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
9573 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
9574 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
9575
2116e93c
EZ
95762012-04-20 Eli Zaretskii <eliz@gnu.org>
9577
9578 * window.el (window-min-size, window-sizable, window-min-delta)
9579 (window-max-delta, window--resizable, window-resizable)
9580 (window-total-size, window-full-height-p, window-full-width-p)
9581 (window-in-direction, window--resize-mini-window, window-resize)
9582 (window--resize-child-windows-normal)
9583 (window--resize-child-windows, window--resize-siblings)
9584 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 9585 (enlarge-window, shrink-window): Doc fixes.
2116e93c 9586
c07a4c0b 95872012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 9588
ef24141c
SM
9589 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
9590 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
9591 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
9592 pty process (Bug#11273).
9593 (gdb-update): New arg to suppress talking to the gdb process.
9594 (gdb-done-or-error): Use it.
9595 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
9596 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
9597 sentinel not being called.
9598
9599 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
9600
d02766ab
CY
9601 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
9602
c07a4c0b 96032012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
9604
9605 * net/network-stream.el (open-network-stream): Doc fix.
9606
c07a4c0b 96072012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
9608
9609 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
9610
c07a4c0b 96112012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
9612
9613 Ensure searching for keywords is case sensitive.
9614
9615 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
9616 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
9617 (c-defun-name, c-mark-function, c-cpp-define-name)
9618 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 9619 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 9620
ef24141c
SM
9621 * progmodes/cc-mode.el (c-font-lock-fontify-region):
9622 Bind case-fold-search to nil.
f0f6bc35 9623
c07a4c0b 96242012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
9625
9626 * mail/sendmail.el (mail-bury): Call return action with the right
9627 Rmail buffer (Bug#11242).
9628
9a864fa2
CY
9629 * server.el (server-process-filter): Handle corner case where both
9630 tty and nowait options are present (Bug#11102).
9631
539aa513
EZ
96322012-04-20 Eli Zaretskii <eliz@gnu.org>
9633
9634 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
9635 (top level): Put into the executable the ident-style '$Id:' tag on
9636 windows-nt as well.
539aa513 9637
cfc7d5da
SM
96382012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9639
9640 * electric.el (electric-indent-post-self-insert-function): Check that
9641 electric-indent-mode is enabled in current buffer.
9642
5b01685c
JB
96432012-04-19 Juanma Barranquero <lekktu@gmail.com>
9644
9645 * imenu.el (imenu-progress-message): Restore; it is "used" in
9646 erc/erc-imenu.el and net/snmp-mode.el.
9647
4d6769e1
JB
96482012-04-19 Juanma Barranquero <lekktu@gmail.com>
9649
9650 * avoid.el (mouse-avoidance-mode): Mark unused arg.
9651 (mouse-avoidance-nudge-mouse): Remove unused binding.
9652
9653 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
9654
9655 * descr-text.el (describe-char):
9656 * progmodes/python.el (python-describe-symbol):
9657 Don't call `toggle-read-only', set `buffer-read-only'.
9658
9659 * imenu.el (imenu-default-goto-function): Mark unused args.
9660 (imenu-progress-message): Remove obsolete macro; all callers changed.
9661
9662 * subr.el (keymap-canonicalize): Remove unused binding.
9663 (read-passwd): Mark unused arg.
9664
9665 * tutorial.el (tutorial--display-changes): Remove unused binding.
9666 (tutorial--save-tutorial-to): Remove unused variable.
9667
9668 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
9669 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
9670 (package-generate-autoloads, package-menu--generate)
9671 (package-menu--find-upgrades): Remove unused bindings.
9672
9673 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
9674 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
9675 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
9676 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
9677 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
9678 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
9679 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
9680 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
9681 (cua-delete-char-rectangle): Mark unused args.
9682 (cua-align-rectangle): Remove unused binding.
9683
9684 * mail/rmail.el (compilation--message->loc)
9685 (epa--find-coding-system-for-mime-charset): Declare.
9686
9687 * net/dbus.el (dbus-register-service): Declare.
9688 (dbus-name-owner-changed-handler): Remove unused binding.
9689
9690 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
9691 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
9692 (nxml-scan-backward-within): Mark unused arg.
9693 (nxml-dynamic-markup-word): Remove unused binding.
9694
9695 * mouse.el (mouse-menu-major-mode-map):
9696 * emacs-lisp/authors.el (authors-scan-change-log)
9697 (authors-add-to-author-list):
9698 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
9699 * emacs-lisp/smie.el (smie-auto-fill):
9700 * mail/sendmail.el (mail-bury):
9701 * mail/unrmail.el (unrmail):
9702 * net/tls.el (open-tls-stream):
9703 * textmodes/picture.el (picture-mouse-set-point):
9704 Remove unused bindings.
9705
8c8fc5df
MA
97062012-04-19 Michael Albinus <michael.albinus@gmx.de>
9707
9708 * net/tramp.el (tramp-action-password): Let-bind
9709 `enable-recursive-minibuffers' to t.
9710
a77b0ac9
SS
97112012-04-18 Sam Steingold <sds@gnu.org>
9712
9713 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
9714 instead of 'string to accommodate values like [f11].
9715 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
9716 * progmodes/gdb-mi.el: Likewise.
9717
12a106a9
LL
97182012-04-18 Leo Liu <sdl.web@gmail.com>
9719
9720 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
9721 current buffer.
9722 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
9723 LOCAL is nil.
9724
bc6494ef
CY
97252012-04-18 Chong Yidong <cyd@gnu.org>
9726
9727 * simple.el (line-move): Use forward-line if in batch mode
9728 (Bug#11053).
9729
c09c46b2
CS
97302012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
9731
9732 * files.el (after-find-file): Do not try to add a final newline if
9733 the buffer is read-only (Bug#11156).
9734
5f6530ea
RS
97352012-04-17 Richard Stallman <rms@gnu.org>
9736
9737 * mail/rmail.el (rmail-start-mail):
9738 Pass (rmail-mail-return...) for the return-action.
9739 Pass (rmail-yank-current-message...) for the yank-action.
9740 (rmail-yank-current-message): New function.
9741 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
9742 (rmail-reply): Likewise.
9743 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
9744
9745 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 9746 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
9747 buffer, not newbuf.
9748
197b6f3c
JB
97492012-04-17 Juanma Barranquero <lekktu@gmail.com>
9750
9751 * server.el (server-ensure-safe-dir): Simplify.
9752
2311d8e5 97532012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 9754
2311d8e5
GM
9755 * emacs-lisp/smie.el: Provide smarter auto-filling.
9756 (smie-auto-fill): New function.
9757 (smie-setup): Use it.
98fb480e 9758
2311d8e5
GM
9759 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
9760
97612012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
9762
9763 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
9764 (comment-indent): Use it.
9765
2311d8e5 97662012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
9767
9768 * ses.el: The overall change is to add cell renaming, that is
9769 setting fancy names for cell symbols other than name matching
9770 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 9771 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 9772 (ses-create-cell-variable): New defun.
2311d8e5 9773 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
9774 (ses-relocate-formula): Relocate formulas only for cells the
9775 symbols of which are not renamed, i.e. symbols whose names do not
9776 match regexp "\\`[A-Z]+[0-9]+\\'".
9777 (ses-relocate-all): Relocate values only for cells the symbols of
9778 which are not renamed.
9779 (ses-load): Create cells variables as the (ses-cell ...) are read,
9780 in order to check row col consistency with cell symbol name only
9781 for cells that are not renamed.
9782 (ses-replace-name-in-formula): New defun.
9783 (ses-rename-cell): New defun.
4bdf2ad2 9784
fc72b15c
PO
97852012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
9786
9787 * progmodes/perl-mode.el (perl-indent-parens-as-block):
9788 New option (bug#11118).
9789 (perl-calculate-indent): Respect it.
9790
12e10e61
GM
97912012-04-17 Glenn Morris <rgm@gnu.org>
9792
9793 * dired-aux.el (dired-mark-read-string): Doc fix.
9794
30009afd
DA
97952012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
9796
9797 * dired-aux.el (dired-mark-read-string): Offer optional completion.
9798 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
9799
41f03f4d
GM
98002012-04-17 Glenn Morris <rgm@gnu.org>
9801
9802 * mouse.el (mouse-drag-track):
9803 * speedbar.el (speedbar-frame-mode):
9804 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
9805
f45f90f3
LL
98062012-04-16 Leo Liu <sdl.web@gmail.com>
9807
9808 * progmodes/python.el: Trivial cleanup.
9809
94ee8db5
GM
98102012-04-16 Glenn Morris <rgm@gnu.org>
9811
121b8917
GM
9812 * vc/vc.el (vc-string-prefix-p):
9813 * vc/pcvs-util.el (cvs-string-prefix-p):
9814 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
9815 * mpc.el (mpc-string-prefix-p):
9816 Make all of these into obsolete aliases for string-prefix-p.
9817 Update callers.
9818 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
9819
1197ecfa
GM
9820 * textmodes/two-column.el: Move custom options to the start.
9821 (frame-width): Remove compat definition.
9822 (2C-associate-buffer, 2C-dissociate):
9823 Use with-current-buffer rather than save-excursion.
9824 (2C-dissociate): Force a mode-line update.
9825 (2C-autoscroll): Use ignore-errors.
9826
099e7202
GM
9827 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
9828 Autoload trivia.
9829
bf350d6a
GM
9830 * emacs-lisp/cl-extra.el (*random-state*):
9831 Remove unnecessary declaration.
9832
0e829eab
GM
9833 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
9834
e3ad7552
GM
9835 * play/cookie1.el (cookie-snarf):
9836 Give an explicit error if input file cannot be read.
9837
68892d27
GM
9838 * play/yow.el (yow-file): Use expand-file-name rather than concat.
9839
20f0c46d
GM
9840 * progmodes/perl-mode.el (c-macro-expand):
9841 Remove unnecessary autoload (it is in loaddefs.el).
9842
5a0978ce
GM
9843 * textmodes/picture.el (picture-desired-column)
9844 (picture-update-desired-column): Convert comments to doc-strings.
9845 (picture-substitute): Remove function.
9846 (picture-mode-map): Initialize in the defvar.
9847
6b955486
GM
9848 * woman.el: Remove eval-after-load for tar-mode.
9849 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
9850 (woman-tar-extract-file): Autoload it.
9851
94ee8db5
GM
9852 * frame.el (automatic-hscrolling): Make this alias obsolete.
9853
177eca34
AM
98542012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9855
090bd7cb 9856 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 9857 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
9858 (ispell-dictionary-base-alist): Revert to original XEmacs
9859 friendly version for default. [:alpha:] will be added in
090bd7cb 9860 `ispell-set-spellchecker-params' if needed.
177eca34 9861
c505aaeb
CY
98622012-04-16 Chong Yidong <cyd@gnu.org>
9863
b19dd9d1 9864 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
9865 (imagemagick-register-types): Use it.
9866 (imagemagick-types-inhibit): Add :set function. Allow new value
9867 of t to inhibit all types.
9868
9869 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
9870 so we can preload it.
9871
9872 * loadup.el (fboundp): Preload regexp-opt, needed by
9873 imagemagick-register-types.
9874
60efac0f
CY
98752012-04-15 Chong Yidong <cyd@gnu.org>
9876
9877 * frame.el (scrolling): Remove nearly unused customization group.
9878
9879 * scroll-all.el (scroll-all-mode): Move to windows group.
9880
5dd1713e
CY
98812012-04-15 Chong Yidong <cyd@gnu.org>
9882
9883 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
9884
e6fd457e
CY
98852012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9886
9887 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 9888 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 9889
e153c136
GM
98902012-04-15 Glenn Morris <rgm@gnu.org>
9891
9892 * simple.el (process-file-side-effects): Doc fix.
9893
e6fd457e 98942012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
9895
9896 * international/mule-cmds.el (set-language-environment): Doc fix.
9897
3603c3b1
JB
98982012-04-14 Juanma Barranquero <lekktu@gmail.com>
9899
9900 * server.el (server-auth-key, server-generate-key): Doc fixes.
9901 (server-get-auth-key): Doc fix. Use `string-match-p'.
9902 (server-start): Reflow docstring.
9903
e6de100c
LI
99042012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
9905
9906 * server.el (server-generate-key): `called-interactively-p'
9907 requires a parameter.
9908
29734c21
MN
99092012-04-14 Michal Nazarewicz <mina86@mina86.com>
9910
9911 * server.el (server-auth-key): New variable.
75f1671a 9912 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
9913 (server-start): Use the new variable and functions to allow
9914 setting a permanent server key (bug#9423).
9915
d65c9521
LL
99162012-04-14 Leo Liu <sdl.web@gmail.com>
9917
9918 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
9919
5ae255c7
PE
99202012-04-14 Paul Eggert <eggert@cs.ucla.edu>
9921
9922 Spelling fixes.
9923 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
9924 Emacs uses American spelling.
9925
d5e6342e
JB
99262012-04-14 Juanma Barranquero <lekktu@gmail.com>
9927
9928 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
9929 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
9930 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
9931 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
9932
ab036cd7
SM
99332012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9934
9935 * progmodes/which-func.el (which-func-modes): Change default.
9936
35dc09a1 99372012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
9938
9939 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
9940 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
9941
35dc09a1 99422012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
9943
9944 * custom.el (custom-theme-set-variables): Doc fix.
9945
35dc09a1 99462012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
9947
9948 * international/mule.el (set-auto-coding-for-load): Doc fix.
9949
35dc09a1 99502012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 9951
35dc09a1
GM
9952 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
9953 imenu work again for Objective C Mode. Correct the *-index values,
9954 these having been disturbed by a previous change in 2011-08.
57f845ee 9955
0de3da9f
AM
9956 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
9957 Correct two search limits.
9958
35dc09a1 99592012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
9960
9961 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
9962
35dc09a1 99632012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
9964
9965 * international/characters.el: Fix sorting.
9966
35dc09a1 99672012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
9968
9969 * international/characters.el: Add more missing Latin case pairs.
9970
35dc09a1 99712012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
9972
9973 * files.el (dir-locals-set-class-variables): Doc fix.
9974
35dc09a1 99752012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 9976
3f1b5bf8
EZ
9977 * international/characters.el: Add set-case-syntax-pair call for
9978 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
9979 counterpart. (Bug#11209)
9980
9f847f41
EZ
9981 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
9982
35dc09a1 99832012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
9984
9985 * calendar/holidays.el (calendar-check-holidays): Doc fix.
9986
35dc09a1 99872012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 9988
35dc09a1
GM
9989 * textmodes/ispell.el (ispell-dictionary-base-alist):
9990 Add data for Hebrew.
e2627d21 9991
35dc09a1 99922012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 9993
35dc09a1
GM
9994 * net/rcirc.el (rcirc-cmd-quit):
9995 Revert 2012-03-18 change (Bug#11192).
5c14e333 9996
35dc09a1 99972012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
9998
9999 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
10000
35dc09a1 100012012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 10002
4517fe3a
SM
10003 * minibuffer.el (completion-in-region-mode-map):
10004 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 10005
b472a594
VD
100062012-04-13 Vivek Dasmohapatra <vivek@etla.org>
10007
10008 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
10009
09b95ce3
MY
100102012-04-13 Masatake YAMATO <yamato@redhat.com>
10011
10012 * minibuffer.el (minibuffer-local-filename-syntax): New variable
10013 to allow `C-M-f' and `C-M-b' to move to the nearest path
10014 separator (bug#9511).
10015
4b63a9ca
LI
100162012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
10017
10018 * avoid.el: Require cl when compiling. And also move the
10019 `provide' to the end.
10020
7b55b8bf
TV
100212012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10022
10023 * avoid.el (mouse-avoidance-banish-position): New variable.
10024 (mouse-avoidance-banish-destination): Use it (bug#10165).
10025
adedaa1f
LL
100262012-04-13 Leo Liu <sdl.web@gmail.com>
10027
10028 * progmodes/which-func.el (which-func-modes): Add objc-mode.
10029
70e74021
KB
100302012-04-13 Ken Brown <kbrown@cornell.edu>
10031
10032 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 10033 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
10034 (browse-url-filename-alist): For the same reason, don't modify
10035 file:// URLs on Cygwin.
10036
e75e89ba
SM
100372012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
10038
10039 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
10040 the region on shift if the binding is already shifted (bug#11221).
10041
82f289a4
GM
100422012-04-12 Glenn Morris <rgm@gnu.org>
10043
10044 * mail/mailpost.el: Move to obsolete/.
10045
d333dc4c
DA
100462012-04-12 Drew Adams <drew.adams@oracle.com>
10047
10048 * imenu.el (imenu--generic-function): Ignore invisible definitions
10049 (bug#10123).
10050
0d15b5ba
VD
100512012-04-12 Vivek Dasmohapatra <vivek@etla.org>
10052
10053 * hexl.el (hexl-bits): New variable.
10054 (hexl-options): Mention the variable in the doc string.
75f1671a 10055 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 10056 (hexl-mode): Mention the new variable.
75f1671a
JB
10057 (hexl-mode, hexl-current-address, hexl-current-address):
10058 Use the displen.
0d15b5ba
VD
10059 (hexl-ascii-start-column): New function.
10060 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
10061 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
10062
64a440db
AM
100632012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10064
10065 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
10066 '("-i" ENCODING), in 2 separate command-line arguments, to specify
10067 the encoding, as expected by hunspell.
10068
6decb6c2
SM
100692012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
10070
10071 * battery.el (battery--linux-sysfs-regexp): New const.
10072 (battery-status-function): Use it. Remove yeeloong special case.
10073 (battery-yeeloong-sysfs): Remove.
10074 (battery-echo-area-format): Remove yeeloong special case.
10075
088be6fb
SM
100762012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
10077
6622e416
SM
10078 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
10079 Reported by Noah Friedman.
10080
088be6fb
SM
10081 * subr.el (read-passwd): Use read-string.
10082
b49f886e
LMI
100832012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10084
10085 * vcursor.el (vcursor-move): Increase the priority of the overlay
10086 (bug#9663).
10087
a63067fc
DD
100882012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
10089
10090 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
10091 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
10092
ac3cf14a
WS
100932012-04-11 William Stevenson <yhvh2000@gmail.com>
10094
10095 * textmodes/artist.el (artist-mode): Convert artist-mode to use
10096 define-minor-mode (bug#10760).
10097
c4fc691b 100982012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 10099
4d6769e1 10100 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
10101 that directories matching `grep-find-ignored-files' won't be
10102 pruned (bug#10351).
10103
af23e2e5
CY
101042012-04-11 Chong Yidong <cyd@gnu.org>
10105
10106 * startup.el (command-line): Remove support for long-obsolete
10107 variable font-lock-face-attributes.
10108
ab7ce8c1
GM
101092012-04-11 Glenn Morris <rgm@gnu.org>
10110
10111 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
10112
de8c03dc
SM
101132012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
10114
10115 * window.el (window--state-get-1): Obey window-point-insertion-type.
10116
050cc68b
LB
101172012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
10118
10119 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
10120 to previous function when point is on the first character of a
75f1671a 10121 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 10122
a38c310c
GM
101232012-04-11 Glenn Morris <rgm@gnu.org>
10124
effed0c2
GM
10125 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
10126 not just file-errors.
10127
a38c310c
GM
10128 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
10129 (vc-bzr-sha1): Use internal sha1.
10130
0221e323
SM
101312012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
10132
10133 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
10134
43956923
SG
101352012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
10136
10137 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
10138 that start in the middle of the line (bug#10496).
10139
6a8c9eaf
DN
101402012-04-10 Dan Nicolaescu <dann@gnu.org>
10141
10142 * battery.el (battery-linux-proc-acpi): Only one battery is
10143 discharged at a time, but that seems to confuse battery.el when
10144 computing `rate-type' for the battery not being discharged
10145 (bug#10332).
10146
1930bf5d
SM
101472012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
10148
2a718f6f
SM
10149 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
10150
599430d0
SM
10151 * international/quail.el: Use dolist and simplify.
10152 (quail-define-package, quail-update-keyboard-layout)
10153 (quail-define-rules): Use dolist.
10154 (quail-insert-kbd-layout, quail-get-translation): CSE.
10155
a2754b6c
SM
10156 * tmm.el: Use dolist, remove left over hook.
10157 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
10158 Use dolist.
10159 (calendar-load-hook): Don't mess with it.
10160
1930bf5d
SM
10161 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
10162 Use derived-mode-p. Run the diff asynchronously.
10163
9f67961c
LMI
101642012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
10165
10166 * obsolete/mouse-sel.el: Add an Obsolete-since header.
10167
2a8ce227
JB
101682012-04-10 Juanma Barranquero <lekktu@gmail.com>
10169
10170 * misc.el: Display absolute path of loaded DLLs (bug#10424).
10171 (list-dynamic-libraries--loaded): New function.
10172 (list-dynamic-libraries--refresh): Use it.
10173
8f33b5f8
NW
101742012-04-10 Nathan Weizenbaum <nweiz@google.com>
10175
1930bf5d
SM
10176 * progmodes/python.el (python-fill-paragraph):
10177 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
10178 disabled (bug#7018).
10179
b12f0439
L
101802012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
10181
1930bf5d 10182 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
10183 DOS/MS Windows for the Baltic languages. There are still plenty
10184 of texts written in this encoding/codepage (bug#6519).
b12f0439 10185
57c3bd01
GM
101862012-04-10 Glenn Morris <rgm@gnu.org>
10187
10188 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
10189 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
10190
6c3eab30
FA
101912012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
10192
1930bf5d 10193 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
10194 next-line "n" and previous-line "p" in order to make recentf more
10195 consistent with ibuffer, dired or org-mode (bug#9387).
10196
24d78a88
LMI
101972012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
10198
bc72b5d9
LMI
10199 * image.el (put-image): Return the overlay created instead of the
10200 optional input string (bug#7834). Note that this may break code
10201 that is (for some reason or other) depending on `put-image'
10202 returning the string.
10203
bd2dba5a
LMI
10204 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
10205
74beb59f
LMI
10206 * simple.el (zap-to-char): Allow zapping using input methods
10207 (bug#1580).
10208
24d78a88
LMI
10209 * textmodes/fill.el (fill-region): Leave point and mark where they
10210 were before filling (bug#5399).
10211
263f20cd
GM
102122012-04-09 Glenn Morris <rgm@gnu.org>
10213
10214 * version.el (emacs-bzr-get-version):
10215 Handle lightweight checkouts of local branches.
10216
58d1f797
AS
102172012-04-09 Andreas Schwab <schwab@linux-m68k.org>
10218
263f20cd 10219 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 10220
b4d3bc10
CY
102212012-04-09 Chong Yidong <cyd@gnu.org>
10222
10223 * custom.el (custom-variable-p): Return nil for non-symbol
10224 arguments instead of signaling an error.
10225 (user-variable-p): Obsolete alias for custom-variable-p.
10226
10227 * apropos.el (apropos-variable):
10228 * files-x.el (read-file-local-variable):
10229 * simple.el (set-variable):
10230 * woman.el (woman-mini-help):
10231 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
10232
fd06db5d
GM
102332012-04-09 Glenn Morris <rgm@gnu.org>
10234
e5fcdb5e
GM
10235 * startup.el (normal-top-level): Don't look for leim-list.el
10236 in places where it will not be found. (Bug#910)
10237
fd06db5d
GM
10238 * international/mule-cmds.el (set-default-coding-systems):
10239 * files.el (normal-mode):
10240 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
10241 This function was removed with ucs-tables.el in 2008.
10242
b39bb7e1
EZ
102432012-04-08 Eli Zaretskii <eliz@gnu.org>
10244
10245 * textmodes/ispell.el (ispell-check-version): For hunspell, set
10246 ispell-encoding8-command to "-i", without a trailing space.
10247 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
10248 separate command-line arguments, to specify the encoding, since
10249 that's how hunspell expects it.
10250
5c5b8e23
GM
102512012-04-08 Glenn Morris <rgm@gnu.org>
10252
10253 * loadup.el: Load bindings before cus-start.
10254 This reduces somewhat the number of "rogue" settings in emacs -Q.
10255
a1ed8b05
GM
102562012-04-07 Glenn Morris <rgm@gnu.org>
10257
10258 * version.el (emacs-bzr-get-version): New function.
dfae128a 10259 (emacs-bzr-version): New variable.
a1ed8b05
GM
10260 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
10261 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
10262
b142f158
EZ
102632012-04-07 Eli Zaretskii <eliz@gnu.org>
10264
dfae128a
GM
10265 * international/uni-bidi.el, international/uni-category.el:
10266 * international/uni-combining.el, international/uni-decimal.el:
10267 * international/uni-decomposition.el, international/uni-digit.el:
10268 * international/uni-lowercase.el, international/uni-mirrored.el:
10269 * international/uni-name.el, international/uni-numeric.el:
10270 * international/uni-titlecase.el, international/uni-uppercase.el:
10271 Update for Unicode 6.1.
b142f158 10272
9078ead6
EZ
102732012-04-07 Eli Zaretskii <eliz@gnu.org>
10274
10275 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
10276
f23d2c7d
LMI
102772012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
10278
10279 * window.el (shrink-window): Mention the `window-min-height'
10280 variable in the doc string.
10281
0a0a3573
BG
102822012-04-05 Bastien Guerry <bzg@altern.org>
10283
10284 * color.el (color-lighten-name): Fix typo.
10285
e5248ac9
SM
102862012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
10287
10288 * server.el (server--on-display-p): New function.
10289 (server--on-display-p): Use it.
10290
b4243e22
GV
102912012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
10292
10293 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
10294 (bug#11145).
10295
305d9f44
SM
102962012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
10297
10298 * comint.el (comint--common-quoted-suffix): Check string boundary
10299 before comparing (bug#11158).
10300 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
10301
3d439cd1
CY
103022012-04-04 Chong Yidong <cyd@gnu.org>
10303
321cc491
CY
10304 * minibuffer.el (completion-extra-properties): Doc fix.
10305
3d439cd1
CY
10306 * subr.el (delayed-warnings-hook): Doc fix.
10307
2d562c0f
DU
103082012-04-04 Daiki Ueno <ueno@unixuser.org>
10309
10310 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
10311 selection (Bug#11159).
10312 (epa-insert-keys): Inform that the default public key will be
10313 exported if no key is selected.
10314
4443f204
RS
103152012-04-04 Richard Stallman <rms@gnu.org>
10316
10317 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
10318
529c06b6
CY
103192012-04-03 Chong Yidong <cyd@gnu.org>
10320
10321 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
10322 mail-insert-file, not its obsolete alias mail-attach-file.
10323
66b907dc
MA
103242012-04-03 Michael Albinus <michael.albinus@gmx.de>
10325
10326 * notifications.el (notifications-notify): Fix docstring.
10327
c0ea195d
GM
103282012-04-02 Glenn Morris <rgm@gnu.org>
10329
10330 * emacs-lisp/authors.el (authors-aliases): Another addition.
10331
5ca64e00
MA
103322012-04-02 Michael Albinus <michael.albinus@gmx.de>
10333
10334 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
10335 `tramp-compat-call-process' instead of `tramp-local-call-process'.
10336 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
10337
42ee526b
CY
103382012-04-01 Chong Yidong <cyd@gnu.org>
10339
10340 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
10341 Handle root directory properly.
10342 (copy-directory): Caller changed.
10343
10344 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
10345 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
10346
0b021094
GM
103472012-03-31 Glenn Morris <rgm@gnu.org>
10348
40f86458
GM
10349 * term/xterm.el (xterm-extra-capabilities): Doc fix.
10350
7019c177
GM
10351 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
10352
a1daddd6
GM
10353 * calendar/calendar.el (calendar-window-list)
10354 (calendar-hide-window): Restore. (Bug#11140)
10355 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
10356
0b021094
GM
10357 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
10358
40311efc
TV
103592012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10360
10361 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
10362 Check if file is a symlink (Bug#10489).
10363
10364 * files.el (copy-directory): Likewise.
10365
5319014e
CY
103662012-03-30 Chong Yidong <cyd@gnu.org>
10367
10368 * image.el (imagemagick-types-inhibit)
10369 (imagemagick-register-types): Doc fix.
10370
935d1290
AM
103712012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10372
090bd7cb 10373 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 10374 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 10375 and treats ~word as ordinary words in pipe mode.
935d1290 10376
61c6e8fd
GM
103772012-03-30 Glenn Morris <rgm@gnu.org>
10378
10379 * tutorial.el (help-with-tutorial): Ensure local variables don't
10380 happen to make the buffer read-only. (Bug#11127)
10381
81fdff00
SM
103822012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
10383
10384 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
10385 (perl-calculate-indent): Return `noindent' in strings.
10386
6e7a6ec0
SS
103872012-03-28 Sam Steingold <sds@gnu.org>
10388
10389 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
10390 instead of the broken adhockery which does not prevent calendar
10391 buffers from being displayed at random after exit.
10392 (calendar-window-list, calendar-hide-window): Remove the broken
10393 adhockery.
10394
fee88ca0
GM
103952012-03-28 Glenn Morris <rgm@gnu.org>
10396
10397 * replace.el (query-replace-map): Doc fix.
10398
38de3354
AS
103992012-03-28 Andreas Schwab <schwab@linux-m68k.org>
10400
10401 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
10402 contents. (Bug#11109)
10403
b973155e
SM
104042012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
10405
10406 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
10407 (bug#11077).
10408 (avl-tree--check, avl-tree--check-node): New funs.
10409
dcb6e7b3
MR
104102012-03-27 Martin Rudalics <rudalics@gmx.at>
10411
10412 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
10413 (switch-to-prev-buffer, switch-to-next-buffer):
10414 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
10415 showing a buffer already is done on the same frame.
10416
b4fa35fa
GM
104172012-03-27 Glenn Morris <rgm@gnu.org>
10418
10419 * startup.el (mail-host-address): Doc fix.
10420
f9210e18
SM
104212012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10422
10423 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
10424 than 197 variables.
10425
c0bf7753
AF
104262012-03-26 Ami Fischman <ami@fischman.org>
10427
10428 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
10429
33da7b16
GM
104302012-03-26 Glenn Morris <rgm@gnu.org>
10431
02243d9d
GM
10432 * files.el (save-buffers-kill-emacs): Doc fix.
10433
33da7b16
GM
10434 * startup.el (normal-top-level, command-line, command-line-1):
10435 Give them doc strings.
10436
e5a69fd0
EZ
104372012-03-25 Eli Zaretskii <eliz@gnu.org>
10438
10439 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 10440 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 10441
9a69676a
CY
104422012-03-25 Chong Yidong <cyd@gnu.org>
10443
4125cb8b
CY
10444 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
10445 theme if it was previously enabled before (Bug#11031).
10446
dd470960
CY
10447 * cus-theme.el (custom-theme-write-faces): Retrieve current face
10448 spec with custom-face-get-current-spec if its :shown-value is not
10449 determined yet (Bug#9337).
4125cb8b 10450 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 10451
9a69676a
CY
10452 * button.el (button-at): Minor addition to docstring.
10453
6e7e90fa
SL
104542012-03-24 Simon Leinen <simon.leinen@gmail.com>
10455
10456 * vc/vc.el (vc-merge): Fix a prompt.
10457
f06e2758
CY
104582012-03-24 Chong Yidong <cyd@gnu.org>
10459
10460 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
10461 point (Bug#9623).
10462
6e7e90fa
SL
10463 * button.el (button-at): Minor addition to docstring.
10464
b9d0879b
SM
104652012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
10466
10467 * newcomment.el (comment-choose-indent): No space after BOL.
10468
e71cebb3
SS
104692012-03-22 Sam Steingold <sds@gnu.org>
10470
10471 * window.el (switch-to-prev-buffer): Revert last patch because the
10472 bug turned out to be an advertised feature (Elisp manual 28.14).
10473
335aff35
GM
104742012-03-22 Glenn Morris <rgm@gnu.org>
10475
10476 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
10477 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
10478
c676576a
LMI
104792012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
10480
10481 * net/network-stream.el (network-stream-open-starttls): Make error
10482 message under Windows be less misleading.
10483
126f3d39
LW
104842012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
10485
10486 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
10487 understands (bug#9942).
10488
64fee311
CY
104892012-03-22 Chong Yidong <cyd@gnu.org>
10490
10491 * simple.el (end-of-visible-line): Handle return value of
10492 next-single-property-change properly (Bug#9371).
10493
a640d29a
KH
104942012-03-22 Kenichi Handa <handa@m17n.org>
10495
10496 * international/quail.el (quail-insert-kbd-layout): Fix previous
10497 change. To avoid unwanted bidi reordering, use
10498 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
10499
39675016
DG
105002012-03-21 Dmitry Gutov <dgutov@yandex.ru>
10501
10502 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
10503 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
10504 (ruby-beginning-of-indent): Be more careful with the difference
10505 between word-boundary and symbol boundary.
10506 (ruby-mode-syntax-table): Make : a symbol constituent.
10507
0a6934fc 105082012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 10509
3d008e4f
SM
10510 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
10511
0a6934fc
SM
105122012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
10513
af67c9d7
SM
10514 * progmodes/etags.el (tags-completion-at-point-function):
10515 Improve last fix.
10516
1acad97c
SM
10517 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
10518
e298b5da
SS
105192012-03-21 Sam Steingold <sds@gnu.org>
10520
10521 * progmodes/etags.el (tags-completion-at-point-function):
10522 Avoid the error when point is inside the pattern.
10523
91d82a70
JY
105242012-03-21 John Yates <john@yates-sheets.org> (tiny change)
10525
10526 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
10527 line (Bug#10855).
10528
69188b79
CY
105292012-03-21 Drew Adams <drew.adams@oracle.com>
10530
10531 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
10532
99fc91fe
AK
105332012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
10534
10535 * ido.el (ido-set-current-directory, ido-read-internal)
10536 (ido-choose-completion-string, ido-completion-help): Handle nil
10537 value of ido-completion-buffer (Bug#11008).
10538
087bbb4c
SS
105392012-03-21 Sam Steingold <sds@gnu.org>
10540
10541 * window.el (switch-to-prev-buffer): Do not switch to a visible
10542 window previous buffer, just like with the frame previous buffers.
10543
fb5b8aca
CY
105442012-03-21 Chong Yidong <cyd@gnu.org>
10545
10546 * faces.el (make-face, make-empty-face, copy-face):
10547 * face-remap.el (face-remap-add-relative, face-remap-set-base):
10548 Doc fixes.
10549
dc9924b8
SM
105502012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
10551
10552 * wid-edit.el (widget-complete-field): Remove (bug#11051).
10553 (widget-complete): Remove broken use of it.
10554
f0bcceb9
CY
105552012-03-20 Chong Yidong <cyd@gnu.org>
10556
dc9924b8
SM
10557 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
10558 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
10559 characters.
10560
ee52ebf3
TH
105612012-03-20 Tassilo Horn <tassilo@member.fsf.org>
10562
10563 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
10564 to draw rectangles, not squares. (Regression introduced by revno
10565 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
10566
4c5779ab
CY
105672012-03-18 Chong Yidong <cyd@gnu.org>
10568
10569 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
10570 it is not yet defined (for temacs).
10571
15360934
LL
105722012-03-18 Leo Liu <sdl.web@gmail.com>
10573
735135f9
PE
10574 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
10575 prefix.
15360934 10576
d9a8eb66
EZ
105772012-03-17 Eli Zaretskii <eliz@gnu.org>
10578
10579 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
10580 (ispell-choices-win-default-height, ispell-silently-savep)
10581 (ispell-dictionary-alist, ispell-encoding8-command)
10582 (ispell-check-version, ispell-aspell-find-dictionary)
10583 (ispell-valid-dictionary-list, ispell-words-keyword)
10584 (ispell-get-word, ispell-internal-change-dictionary)
10585 (ispell-region, ispell-skip-region-list)
10586 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
10587 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
10588 (ispell-message-text-end, ispell-message)
10589 (ispell-buffer-local-parsing): Doc fix.
10590
f02ff80d
J
105912012-03-13 Jambunathan K <kjambunathan@gmail.com>
10592
10593 * htmlfontify.el: Add support for code block fontification for ODT
10594 export (Bug #9914).
10595 (hfy-optimisations): Define new option
10596 `body-text-only'
10597 (hfy-fontify-buffer): Honor above setting.
10598 (hfy-begin-span, hfy-end-span): New routines factored out form
10599 `hfy-fontify-buffer'.
10600 (hfy-begin-span-handler, hfy-end-span-handler): New variables
10601 that permit insertion of custom tags.
10602 (hfy-fontify-buffer): Use above handlers.
10603 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
10604 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 10605 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 10606 over multiple runs. This is made possible by having the caller let
f02ff80d
J
10607 bind a special variable `hfy-user-sheet-assoc'.
10608 (htmlfontify-string): New defun.
10609 (hfy-compile-face-map): Make sure that the last char in the
10610 buffer is correctly fontified.
10611 (hfy-face-resolve-face): Whitespace only change.
10612
9ac7a13f
EZ
106132012-03-17 Eli Zaretskii <eliz@gnu.org>
10614
10615 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
10616 message more clear.
10617
e2b5bdd7
LL
106182012-03-16 Leo Liu <sdl.web@gmail.com>
10619
10620 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
10621
2e492df3
AM
106222012-03-16 Alan Mackenzie <acm@muc.de>
10623
10624 Further optimise the handling of large macros.
10625
10626 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
10627 limit to a call of `c-literal-limits'.
10628 (c-determine-+ve-limit): New function.
dc9924b8
SM
10629 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
10630 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
10631 In CASE 5B, restrict a search limit to 500.
10632 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
10633
10634 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
10635 Restrict macro bounds to +-500 from after-change's BEG END.
10636
50e94f0c
LL
106372012-03-16 Leo Liu <sdl.web@gmail.com>
10638
10639 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
10640
6f09f6ed
AH
106412012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
10642
10643 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 10644 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 10645
c7e73d51
GM
106462012-03-16 Glenn Morris <rgm@gnu.org>
10647
da986230
GM
10648 * view.el (view-buffer, view-buffer-other-window)
10649 (view-buffer-other-frame): Doc fixes re special mode-class.
10650
0835f01e
GM
10651 * subr.el (eval-after-load): If named feature is provided not from
10652 a file, run after-load forms. (Bug#10946)
10653
c7e73d51
GM
10654 * calendar/calendar.el (calendar-insert-at-column):
10655 Handle non-unit-width characters a bit better. (Bug#10978)
10656
3f2eafd1
CY
106572012-03-15 Chong Yidong <cyd@gnu.org>
10658
10659 * emacs-lisp/ring.el (ring-extend): New function.
10660 (ring-insert+extend): Extend the ring correctly (Bug#11019).
10661
10662 * comint.el (comint-read-input-ring)
10663 (comint-add-to-input-history): Grow comint-input-ring lazily.
10664
103af3fe
SM
106652012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
10666
663b1677
SM
10667 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
10668 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
10669
103af3fe
SM
10670 * imenu.el: Fix multiple inheritance breakage (bug#9199).
10671 (imenu-add-to-menubar): Don't add a redundant index.
10672 (imenu-update-menubar): Handle a dynamically composed keymap.
10673
899cb7cb
KY
106742012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
10675
10676 * mail/sendmail.el (mail-encode-header):
10677 Bind rfc2047-encode-encoded-words to nil.
10678
3809f91d
GM
106792012-03-13 Glenn Morris <rgm@gnu.org>
10680
10681 * calendar/calendar.el (calendar-string-spread):
10682 Handle non-unit-width characters a bit better. (Bug#10978)
10683
9e345a01
LL
106842012-03-13 Leo Liu <sdl.web@gmail.com>
10685
10686 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
10687 directory and file as argument (Bug#10822).
10688
4a07df36
KS
106892012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
10690
10691 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
10692 For dynamically generated code, follow $PC.
10693 (gdb-disassembly-handler-custom): Handle no function name case.
10694
4aaa9356
TL
106952012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
10696
10697 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
10698 * emulation/ws-mode.el (ws-query-replace):
10699 * sort.el (sort-regexp-fields):
10700 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
10701
225979da
SM
107022012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10703
10704 * dabbrev.el: Fix cycle completion order (bug#10963).
10705 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
10706 (dabbrev-completion): Don't use an obarray; provide
10707 a cycle-sort-function.
10708
e2f1fdab
LL
107092012-03-12 Leo Liu <sdl.web@gmail.com>
10710
dc9924b8 10711 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
10712 (kill-do-not-save-duplicates): Doc fix.
10713
b19490ed
SM
107142012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10715
10716 * dabbrev.el: Fix cycle completion (bug#10963).
10717 Use lexical binding and wrap to 80 columns.
10718 (dabbrev-completion): Delay computing the list of completions.
10719
4b05d722
KH
107202012-03-12 Kenichi Handa <handa@m17n.org>
10721
10722 * international/quail.el (quail-insert-kbd-layout): Surround each
10723 row by LRO and PDF instead of inserting many LRMs. Pad the left
10724 and right of each non-spacing marks. Insert invisible space
10725 between lower and upper characters to prevent composition.
10726
dbbc2e69
SM
107272012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10728
10729 * minibuffer.el (minibuffer-complete): Don't get confused when the
10730 function is run twice via different commands (bug#10958).
10731 (complete-with-action): Fix docstring.
10732
292112ed
CY
107332012-03-12 Chong Yidong <cyd@gnu.org>
10734
5d1ac394
CY
10735 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
10736 (nxml-completion-at-point-function): New function.
10737 (nxml-mode): Use it.
10738 (nxml-bind-meta-tab-to-complete-flag): Default to t.
10739
292112ed
CY
10740 * emacs-lisp/package.el (package-unpack, package-unpack-single):
10741 Load generated autoloads file before byte compiling (Bug#10970).
10742 (package--make-autoloads-and-compile): New helper fun.
10743
4098f8f7
CS
107442012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
10745
10746 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
10747
8f754691
MA
107482012-03-11 Michael Albinus <michael.albinus@gmx.de>
10749
10750 * autorevert.el (auto-revert-handler): Ensure, that
10751 file-readable-p is applied only for local files or in
10752 auto-revert-tail-mode.
10753
e29ab36b
AS
107542012-03-11 Andreas Schwab <schwab@linux-m68k.org>
10755
dbbc2e69
SM
10756 * server.el (server-eval-at): Handle non-tcp connections.
10757 Decode result string.
ad0bf5b6 10758
e29ab36b
AS
10759 * server.el (server-msg-size): New constant.
10760 (server-reply-print): New function.
10761 (server-eval-and-print): Use it.
10762 (server-eval-at): Use server-quote-arg and server-unquote-arg.
10763 Handle -print-nonl.
10764
de5939ba
CS
107652012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
10766
10767 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
10768 (Bug#10987).
10769
0c93eabf
CY
107702012-03-11 Chong Yidong <cyd@gnu.org>
10771
397a688f
CY
10772 * simple.el (goto-line): Doc fix (Bug#9938).
10773
2cc775f9
CY
10774 * subr.el (save-window-excursion): Doc fix (Bug#9979).
10775
0c93eabf
CY
10776 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
10777 when finished (Bug#10963).
10778
c491fa41
MR
107792012-03-11 Martin Rudalics <rudalics@gmx.at>
10780
10781 * window.el (split-window-below): Fix bug in case where
10782 split-window-keep-point is nil (Bug#10971).
10783
300e8fa5
JL
107842012-03-11 Juri Linkov <juri@jurta.org>
10785
10786 * replace.el (replace-highlight): Set isearch-word to nil
10787 unconditionally. (Bug#10887)
10788
dbf6c5a1
EZ
107892012-03-10 Eli Zaretskii <eliz@gnu.org>
10790
10791 * net/mairix.el (mairix-replace-invalid-chars): Rename from
10792 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 10793 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
10794 (mairix-widget-create-query): Add usage information about mairix
10795 search forms: negating words, searching for substrings, etc.
10796
b9e501de
JP
107972012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
10798
10799 * international/fontset.el (font-encoding-alist): Add an entry for
10800 ksx1001 (Bug#5667).
10801
92795c91
RS
108022012-03-10 Richard Stallman <rms@gnu.org>
10803
1694e6c1
RS
10804 * mail/sendmail.el (mail-encode-header):
10805 Set rfc2047-encode-encoded-words.
10806
607e8555
RS
10807 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
10808
de3bc99a
RS
10809 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
10810 view buffer means not swapped.
10811 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
10812 (rmail-write-region-annotate): Error if real text has disappeared.
10813
92795c91
RS
10814 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
10815
699bd04e
CY
108162012-03-10 Chong Yidong <cyd@gnu.org>
10817
10818 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
10819 * emulation/cua-base.el (cua--init-keymaps):
10820 Add delete-forward-char to remappings (Bug#9666).
699bd04e 10821
570a1714
MR
108222012-03-10 Martin Rudalics <rudalics@gmx.at>
10823
dbbc2e69
SM
10824 * speedbar.el (speedbar-unhighlight-one-tag-line):
10825 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 10826
82dcf4e4
CY
108272012-03-10 Chong Yidong <cyd@gnu.org>
10828
7a2c7ca7
CY
10829 * minibuffer.el (completion-in-region, completion-help-at-point):
10830 Give the completion field overlay a high priority (Bug#6830).
10831
82dcf4e4
CY
10832 * dired.el (dired-goto-file): Recognize absolute file name
10833 listings (Bug#7126).
10834 (dired-goto-file-1): New helper function.
10835 (dired-toggle-read-only): Inhibit warnings.
10836
052e28ac
MA
108372012-03-09 Michael Albinus <michael.albinus@gmx.de>
10838
75f1671a 10839 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
10840 there are no properties.
10841
95d5e396
LL
108422012-03-09 Leo Liu <sdl.web@gmail.com>
10843
10844 * savehist.el (savehist-printable): Stricter check for string
10845 value (Bug#10937).
10846
3f018d6d
EZ
108472012-03-09 Eli Zaretskii <eliz@gnu.org>
10848
dbbc2e69
SM
10849 * mail/smtpmail.el (smtpmail-send-it):
10850 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
10851 valid mbox format.
10852
f7fd3d79
GM
108532012-03-09 Glenn Morris <rgm@gnu.org>
10854
10855 * files.el (dir-locals-find-file):
10856 Don't check result is regular, readable.
10857 (dir-locals-read-from-file): Demote errors.
10858
6ff6e72f
EZ
108592012-03-08 Eli Zaretskii <eliz@gnu.org>
10860
dbbc2e69
SM
10861 * international/quail.el (quail-insert-kbd-layout):
10862 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
10863 layout cell, to prevent their reordering by bidi display engine.
10864 For details, see the discussion in
10865 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
10866
9cec7834
AM
108672012-03-08 Alan Mackenzie <acm@muc.de>
10868
10869 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
10870 the starting position; make it extend the marked region when
10871 invoked repeatedly - all under appropriate circumstances.
10872 Fixes bugs #5525, #10906.
10873
9a40b8d4
GM
108742012-03-08 Glenn Morris <rgm@gnu.org>
10875
10876 * files.el (locate-dominating-file, dir-locals-find-file):
10877 Undo 2012-03-06 change.
10878
7a08ed35
EZ
108792012-03-07 Eli Zaretskii <eliz@gnu.org>
10880
dbbc2e69
SM
10881 * international/quail.el (quail-help):
10882 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
10883 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
10884 for the reason.
10885
5aca4f71 108862012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
10887
10888 Avoid superfluous registering of signals. (Bug#10807)
10889
10890 * notifications.el (notifications-on-action-object)
10891 (notifications-on-close-object): New defvars.
10892 (notifications-on-action-signal, notifications-on-closed-signal):
10893 Unregister the signal if not needed any longer.
10894 (notifications-notify): Register `notifications-action-signal' or
10895 `notifications-closed-signal', if :on-action or :on-close has been
10896 passed as argument.
10897
78e8b10a
CY
108982012-03-07 Chong Yidong <cyd@gnu.org>
10899
10900 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
10901 non-X platforms.
10902
69481eb8
GM
109032012-03-06 Glenn Morris <rgm@gnu.org>
10904
10905 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
10906 (x-disown-selection-internal, x-get-selection-internal):
10907 Doc fix (add arglist signatures). (Bug#10783)
10908
133b8e11
KS
109092012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
10910
10911 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
10912 Handle breakpoints with no "type".
10913
99a83064
GM
109142012-03-06 Glenn Morris <rgm@gnu.org>
10915
10916 * files.el (locate-dominating-file): Add optional predicate argument.
10917 (dir-locals-find-file): Make use of above change.
10918
17798e78
TTN
109192012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
10920
10921 * info.el (Info-insert-dir): Also try "dir.gz".
10922
eb182446
GM
109232012-03-06 Glenn Morris <rgm@gnu.org>
10924
8f2114ee
GM
10925 * files.el (dir-locals-find-file):
10926 Ignore non-readable or non-regular files. (Bug#10928)
10927
eb182446
GM
10928 * files.el (locate-dominating-file): Doc fix.
10929
24679323
AS
109302012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
10931
10932 * calendar/calendar.el (calendar-set-mode-line):
10933 `getenv' returns a string. (Bug#10951)
10934
01d972a9
LL
109352012-03-05 Leo Liu <sdl.web@gmail.com>
10936
109aa8a9
LL
10937 * simple.el (backward-delete-char-untabify): Constrain point to
10938 field (Bug#10939).
10939
01d972a9
LL
10940 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
10941
10607bea
CY
109422012-03-05 Chong Yidong <cyd@gnu.org>
10943
10944 * simple.el (count-words): If called from Lisp, return the word
10945 count, for symmetry with `count-lines'. Arglist changed.
10946 (count-words--message): Args changed. Consolidate counting code
10947 from count-words and count-words-region.
10948 (count-words-region): Caller changed.
10949 (count-lines-region): Make it an obsolete alias.
10950
5dd11cfe
TH
109512012-03-04 Tassilo Horn <tassilo@member.fsf.org>
10952
10953 * saveplace.el (save-place-to-alist)
10954 (save-place-ignore-files-regexp): Allow value nil to disable this
10955 feature.
10956
c349f4e6
CY
109572012-03-04 Chong Yidong <cyd@gnu.org>
10958
10959 * faces.el (face-spec-reset-face): For the default face, reset the
10960 attributes to default values (Bug#10748).
10961
e627be4c
LMI
109622012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
10963
10964 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
10965 previous patch: Check `message-send-mail-function', and not the
10966 default function (bug#10897).
10967
ebeabff4
MA
109682012-03-04 Michael Albinus <michael.albinus@gmx.de>
10969
a41a6cf4
MA
10970 * notifications.el (notifications-on-action-signal)
10971 (notifications-on-closed-signal): Check for unique service name of
10972 incoming event. Fix error in removing entry.
ebeabff4 10973 (top): Register for signals with wildcard service name.
a41a6cf4 10974 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 10975
c1ca42b4
CY
109762012-03-04 Chong Yidong <cyd@gnu.org>
10977
dc9924b8 10978 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 10979
ea16568d
GM
109802012-03-04 Glenn Morris <rgm@gnu.org>
10981
10982 * abbrev.el (copy-abbrev-table, abbrev-table-p)
10983 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
10984 (expand-abbrev, define-abbrev-table): Doc fixes.
10985
fbae4637
LMI
109862012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10987
10988 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
10989 `message-default-send-mail-function' and not `send-mail-function'
10990 when doing the prompting for `sendmail-query-once' before sending
10991 in Message buffers (bug#10897).
10992
a1e7225c
LMI
10993 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
10994 This is inconsistent with all the other stream functions, which leave
10995 the setting up to the higher levels (if so wanted) (bug#10931).
10996
56d093a9
AM
109972012-03-02 Alan Mackenzie <acm@muc.de>
10998
10999 Depessimize the handling of very large macros.
11000
11001 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
11002 (c-macro-cache-syntactic): New variables to implement a one
11003 element macro cache.
11004 (c-invalidate-macro-cache): New function.
11005 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
11006 Adapt to use the new cache.
11007 (c-state-safe-place): Use better the cache of safe positions.
11008 (c-state-semi-nonlit-pos-cache)
11009 (c-state-semi-nonlit-pos-cache-limit):
11010 New variables for...
11011 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
11012 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
11013 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
11014 Use c-state-semi-safe-place.
56d093a9 11015
dbbc2e69
SM
11016 * progmodes/cc-langs.el (c-get-state-before-change-functions):
11017 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 11018
817e5c3d
MA
110192012-03-02 Michael Albinus <michael.albinus@gmx.de>
11020
dbbc2e69
SM
11021 * jka-compr.el (jka-compr-call-process):
11022 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
11023 not remote.
11024
a032a702
MA
110252012-03-01 Michael Albinus <michael.albinus@gmx.de>
11026
11027 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
11028 access of FILE2, if FILE1 does not exist.
11029
99a54f21
MA
11030 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
11031 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
11032
11033 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
11034 Add "PAGER=" to `process-environment'.
11035
f6561e1f
MM
110362012-03-01 Michael R. Mauger <mmaug@yahoo.com>
11037
11038 * progmodes/sql.el: Bug fix
11039 (sql-get-login-ext): Save login values in globals.
11040 (sql-get-login): Use new version of `sql-get-login-ext'.
11041 (sql-interactive-mode): Set global `sql-connection' to nil.
11042 (sql-connect): Set global values for connection.
11043 (sql-product-interactive): Save global values as buffer local.
11044
2d44d9cc
LL
110452012-02-29 Leo Liu <sdl.web@gmail.com>
11046
11047 * abbrev.el (define-abbrevs): Reset sys to nil.
11048
96b49301 110492012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11050
bf7f9bc5
JB
11051 * files.el (file-equal-p): Rename from `files-equal-p'.
11052 Return nil when one or both files don't exist.
96b49301 11053 (file-subdir-of-p): Now only top directory must exists,
11054 return nil if it doesn't.
bf7f9bc5
JB
11055 (copy-directory): No need to test with `file-subdir-of-p' after
11056 creating dir.
11057 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
11058 to `file-equal-p'.
96b49301 11059
44e97401
GM
110602012-02-28 Glenn Morris <rgm@gnu.org>
11061
11062 * shell.el (shell-mode):
11063 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
11064 * play/landmark.el (landmark-font-lock-face-O):
11065 * play/handwrite.el (handwrite):
11066 * play/gomoku.el (gomoku-O):
11067 * net/browse-url.el (browse-url-browser-display):
11068 * international/mule.el (define-charset):
11069 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
11070 * filesets.el (filesets-find-file-delay):
11071 * eshell/em-xtra.el (eshell-xtra):
11072 * eshell/em-unix.el (eshell-grep):
11073 * emulation/viper.el (viper-mode):
11074 * emacs-lisp/regexp-opt.el (regexp-opt-group):
11075 * emacs-lisp/easymenu.el (easy-menu-define):
11076 * calendar/timeclock.el (timeclock-use-display-time):
11077 * bs.el (bs-mode):
11078 * bookmark.el (bookmark-save-flag):
11079 Doc fix (standardize possessive apostrophe usage).
11080
c98c6276
CY
110812012-02-27 Chong Yidong <cyd@gnu.org>
11082
bf7f9bc5
JB
11083 * emulation/viper-cmd.el (viper-intercept-ESC-key):
11084 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 11085
c98c6276
CY
11086 * font-lock.el (font-lock-specified-p): Rename from
11087 font-lock-spec-present. Callers changed.
11088
9c62cd04 110892012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 11090
bf7f9bc5
JB
11091 * emacs-lisp/package.el (package-compute-transaction):
11092 Handle holding a package version to t in package-load-list.
8ac9e529 11093
530739c9
MA
110942012-02-26 Michael Albinus <michael.albinus@gmx.de>
11095
11096 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
11097 (tramp-get-inode, tramp-get-device): Use cached values.
11098
487915d7
AM
110992012-02-26 Alan Mackenzie <acm@muc.de>
11100
11101 Check there is a font-lock specification before doing initial
11102 fontification.
11103
11104 * font-core.el (font-lock-mode): Move the conditional from
11105 :after-hook to font-lock-initial-fontify.
11106 (font-lock-default-function): Move the check for a specification
11107 to font-lock-spec-present.
11108
dc9924b8 11109 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
11110 (font-lock-spec-present): New function.
11111
4fd96557
JB
111122012-02-26 Jim Blandy <jimb@red-bean.com>
11113
11114 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
11115 (gdb-send): Apply it to the operand of the '-interpreter-exec
11116 console' command, so that we can pass arguments with (say) quotes
11117 in them. Store exact string sent in gdb-debug-log (Bug#10765).
11118
9a4888c0
CY
111192012-02-26 Chong Yidong <cyd@gnu.org>
11120
07498861
CY
11121 * help-fns.el (describe-function-1): Clarify description of
11122 remapping (Bug#10844).
11123
9a4888c0
CY
11124 * files.el (files-equal-p): Doc fix.
11125 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
11126 and quit the loop once a mismatch is found.
11127
ea8fb88d
JB
111282012-02-25 Juanma Barranquero <lekktu@gmail.com>
11129
11130 * bs.el (bs--show-with-configuration): Don't throw an error
11131 if the window cannot be split; otherwise, subsequent calls to
11132 bs-show fail, restoring a stale window config. (Bug#10882)
11133
525795c1
JD
111342012-02-25 Jan Djärv <jan.h.d@swipnet.se>
11135
11136 * term/ns-win.el (global-map): Bind ns-drag-file to
11137 ns-find-file (Bug#5855, Bug#10050).
11138
f008086f
AS
111392012-02-25 Andreas Schwab <schwab@linux-m68k.org>
11140
11141 * calendar/parse-time.el (parse-time-string): Allow extractor to
11142 return nil.
11143
a3fcfa99
MA
111442012-02-25 Michael Albinus <michael.albinus@gmx.de>
11145
91027d08
JB
11146 * net/tramp.el (tramp-file-name-for-operation):
11147 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
11148
11149 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
11150 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
11151 Add COPY-CONTENTS argument.
a3fcfa99 11152
67b0de11
CY
111532012-02-25 Chong Yidong <cyd@gnu.org>
11154
11155 Add custom groups for VC backends, for consistency with vc-bzr.
11156
11157 * vc/vc-arch.el (vc-arch):
11158 * vc/vc-cvs.el (vc-cvs):
11159 * vc/vc-git.el (vc-git):
11160 * vc/vc-hg.el (vc-hg):
11161 * vc/vc-mtn.el (vc-mtn):
11162 * vc/vc-rcs.el (vc-rcs):
11163 * vc/vc-sccs.el (vc-sccs):
11164 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
11165 All relevant defcustoms reassigned.
11166
3c9dfce6
CY
111672012-02-25 Chong Yidong <cyd@gnu.org>
11168
1339bf43
CY
11169 * newcomment.el (comment-styles): Add autoload (Bug#10868).
11170
3c9dfce6
CY
11171 * term/x-win.el (x-initialize-window-system): Reduce default for
11172 x-selection-timeout to 5 seconds (Bug#8869).
11173
25b2e303 111742012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11175
ec70a47d
GM
11176 * files.el (files-equal-p, file-subdir-of-p): New functions.
11177 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 11178 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
11179 * dired-aux.el (dired-copy-file-recursive): Same.
11180 (dired-create-files): Modify destination when source is equal to
11181 dest when copying files.
53a46cd0 11182 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 11183
914260cd
MA
111842012-02-24 Michael Albinus <michael.albinus@gmx.de>
11185
11186 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
11187 (Bug#10874)
11188
2cb228f7
AM
111892012-02-23 Alan Mackenzie <acm@muc.de>
11190
11191 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
11192 parameter "after-hook:" to allow the expansion to run code after
11193 the execution of the mode hooks.
11194
11195 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 11196 from font-lock-mode-internal.
2cb228f7 11197
91027d08 11198 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
11199 :after-hook.
11200
8f0fde21
SM
112012012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
11202
3e88618b
SM
11203 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
11204 (completion--cache-all-sorted-completions): New function.
11205 (completion-all-sorted-completions): Use it.
11206 (completion--do-completion, minibuffer-force-complete):
11207 Use it to re-instate the flush hook.
11208
8f0fde21
SM
11209 * icomplete.el (icomplete-completions): Replace last fix with a better
11210 one (bug#10850).
11211
8e911f6f
DG
112122012-02-23 Dmitry Gutov <dgutov@yandex.ru>
11213
11214 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
11215 when it might call us back infinitely (bug#10797).
11216
49fe4321
GM
112172012-02-23 Glenn Morris <rgm@gnu.org>
11218
11219 * minibuffer.el (completion-category-overrides): Doc fix.
11220
b291b572
SM
112212012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
11222
11223 * minibuffer.el (completion-table-with-context): Fix inf-loop.
11224 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
11225
31a9ef2e
GM
112262012-02-23 Glenn Morris <rgm@gnu.org>
11227
5e6e6794 11228 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
11229 (authors-obsolete-files-regexps, authors-ignored-files)
11230 (authors-ambiguous-files, authors-renamed-files-alist):
11231 Add more entries.
11232
0bd1e074
JL
112332012-02-23 Juri Linkov <juri@jurta.org>
11234
11235 * isearch.el (isearch-occur): Sync interactive spec with occur's
11236 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
11237
b617673c
JL
11238 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
11239
19e9789e
JL
112402012-02-22 Juri Linkov <juri@jurta.org>
11241
11242 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
11243 (ucs-insert): Doc fix. Check for hex digits in the string.
11244 Don't display `nil' in the error message. (Bug#10857)
11245
f41ce09d
AM
112462012-02-22 Alan Mackenzie <acm@muc.de>
11247
7a71b18d 11248 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 11249
ac2eceee
GM
112502012-02-22 Glenn Morris <rgm@gnu.org>
11251
11252 * ffap.el (ffap-c-path):
11253 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
11254
abd1f678
CY
112552012-02-22 Chong Yidong <cyd@gnu.org>
11256
11257 * custom.el (load-theme): Doc fix.
11258
f25aef2e
GM
112592012-02-22 Glenn Morris <rgm@gnu.org>
11260
11261 * dired-x.el (dired-guess-shell-alist-default):
11262 Remove escape sequences from nroff output. (Bug#172)
11263
5f8dc2ca
GM
112642012-02-21 Glenn Morris <rgm@gnu.org>
11265
6ff86ec4
GM
11266 * vc/emerge.el (emerge-defvar-local):
11267 Set `permanent-local' property rather than unused `preserved'.
11268
be3223a3 11269 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
11270 (picture-mode-map): Use it. (Bug#10860)
11271 (picture-mode): Doc fix.
11272
3fe58f4f
JB
112732012-02-21 Juanma Barranquero <lekktu@gmail.com>
11274
11275 * newcomment.el (uncomment-region-default): Remove unused binding.
11276
f9a998c3
GM
112772012-02-21 Glenn Morris <rgm@gnu.org>
11278
11279 * textmodes/picture.el (picture-motion, picture-motion-reverse)
11280 (picture-self-insert, picture-tab-chars): Doc fix.
11281 (picture-mode-map): Fix C-a, C-e.
11282
c6029348
GM
112832012-02-20 Glenn Morris <rgm@gnu.org>
11284
11285 * emacs-lisp/authors.el (authors-aliases): Add another entry.
11286
ab1ce9d7
LL
112872012-02-20 Leo Liu <sdl.web@gmail.com>
11288
11289 * icomplete.el (icomplete-completions): Check FROM arg before
11290 passing to substring (Bug#10850).
11291
0fd40f89
CY
112922012-02-19 Chong Yidong <cyd@gnu.org>
11293
11294 * comint.el: Require ansi-color.
11295 (comint-output-filter-functions): Add ansi-color-process-output.
11296
11297 * ansi-color.el: Don't set comint-output-filter-functions; it is
11298 now in the initial value defined in comint.el.
11299 (ansi-color-apply-face-function): New variable.
11300 (ansi-color-apply-on-region): Use it.
11301 (ansi-color-apply-overlay-face): New function.
11302
11303 * shell.el (shell): No need to require ansi-color.
11304 (shell-mode): Use ansi-color-apply-face-function to highlight
11305 color escapes using font-lock-face property (Bug#10835).
11306
20af2394
CY
113072012-02-19 Chong Yidong <cyd@gnu.org>
11308
11309 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
11310 mode-line formats (Bug#10839).
11311
e23a3fbe
GM
113122012-02-18 Glenn Morris <rgm@gnu.org>
11313
b474519e
GM
11314 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
11315
11316 * mail/undigest.el (unforward-rmail-message): Doc fix.
11317
e23a3fbe
GM
11318 * saveplace.el (save-place-ignore-files-regexp): Add :version.
11319
57939ff4
EZ
113202012-02-18 Eli Zaretskii <eliz@gnu.org>
11321
11322 * international/characters.el (script-list): Sync with the latest
11323 Unicode Character Database.
11324
0c23686e
AS
113252012-02-18 Andreas Schwab <schwab@linux-m68k.org>
11326
11327 * international/titdic-cnv.el: Remove duplicate coding tag.
11328 * language/cham.el: Likewise.
11329 * language/tai-viet.el: Likewise.
11330
6818b449
GM
113312012-02-18 Glenn Morris <rgm@gnu.org>
11332
11333 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
11334 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
11335 (calendar-bahai-all-holidays-flag, calendar-other-dates):
11336 * calendar/diary-lib.el (diary-abbreviated-year-flag):
11337 * calendar/holidays.el (holiday-bahai-holidays)
11338 (calendar-holidays, list-holidays):
11339 Use utf-8 Bahá'í in doc-strings, menus, etc.
11340
0311a3fc
TH
113412012-02-17 Tassilo Horn <tassilo@member.fsf.org>
11342
11343 * saveplace.el (save-place-ignore-files-regexp): New variable
11344 allowing for excluding files from saving their location of point.
11345 The default value matches the temporary commit message editing
11346 files from Git, SVN, Bazaar, and Mercurial.
11347 (save-place-to-alist): Use it.
11348
d209e2fb 113492012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 11350 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
11351
11352 * newcomment.el (uncomment-region-default): Don't leave extra space
11353 when an arg is provided (bug#8150).
11354
ee0ce425
TZ
113552012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
11356
eb864a71 11357 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 11358
95ddf442
GM
113592012-02-17 Glenn Morris <rgm@gnu.org>
11360
11361 * net/socks.el: Require network-stream. (Bug#10599)
11362
48dd1e39 113632012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
11364
11365 * international/charprop.el:
11366 * international/uni-name.el:
11367 * international/uni-old-name.el:
11368 * international/uni-comment.el: Regenerate.
11369
d68cd087
GM
113702012-02-16 Glenn Morris <rgm@gnu.org>
11371
11372 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
11373 Interactively in calendar buffer, give an error if not on a date.
11374
13932042
GM
113752012-02-15 Glenn Morris <rgm@gnu.org>
11376
11377 * shell.el (shell-delimiter-argument-list):
11378 Revert 2011-02-17 change. (Bug#8027)
11379
c3a70e2b
CY
113802012-02-15 Chong Yidong <cyd@gnu.org>
11381
60236b0d
CY
11382 * minibuffer.el (completion-at-point-functions): Doc fix.
11383
c3a70e2b
CY
11384 * custom.el (defcustom): Doc fix; note use of defvar.
11385
9f26dc24
GM
113862012-02-15 Glenn Morris <rgm@gnu.org>
11387
11388 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
11389 Doc fixes.
11390
6546b134
GM
113912012-02-14 Glenn Morris <rgm@gnu.org>
11392
11393 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
11394
d29b2b4c
LI
113952012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
11396
11397 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
11398 way the ports list is computed.
835bdcba
LI
11399 (smtpmail-query-smtp-server): Prompt the user for a port number if
11400 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 11401
08dcdbc9
TZ
114022012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
11403
11404 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
11405
2605051a
GM
114062012-02-13 Glenn Morris <rgm@gnu.org>
11407
11408 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
11409
7ee99f32
TZ
114102012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
11411
11412 * net/gnutls.el (gnutls-trustfiles): New variable.
11413 (gnutls-negotiate): Use it.
11414
5f0af64f
LI
114152012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
11416
11417 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
11418 does its stuff if Gnus is running.
11419
c14fcc95
AM
114202012-02-13 Alan Mackenzie <acm@muc.de>
11421
11422 Fix a loop in c-set-fl-decl-start.
11423
7a71b18d 11424 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
11425 c-backward-syntactic-ws actually moves backwards.
11426
142b4d90
LL
114272012-02-13 Leo Liu <sdl.web@gmail.com>
11428
11429 * net/rcirc.el (rcirc-markup-attributes): Move point to the
11430 beginning so that all \C-o chars are removed.
11431
fa9958a6
TZ
114322012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
11433
dc9924b8 11434 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 11435
0bc5886a
AM
114362012-02-12 Alan Mackenzie <acm@muc.de>
11437
11438 Fix infinite loop with long macros.
4d6769e1 11439 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 11440
d4bd55e7
CY
114412012-02-12 Chong Yidong <cyd@gnu.org>
11442
11443 * window.el (display-buffer): Doc fix (Bug#10785).
11444
66f3fe22
GM
114452012-02-12 Glenn Morris <rgm@gnu.org>
11446
bd7da63e
GM
11447 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
11448 (x-disown-selection-internal, x-get-selection-internal):
11449 Sync docs with the xselect.c versions.
11450
66f3fe22
GM
11451 * allout-widgets.el: Add missing license notice.
11452
3e0d2fa7
GM
114532012-02-11 Glenn Morris <rgm@gnu.org>
11454
cfecdf09
GM
11455 * select.el (x-get-selection-internal, x-own-selection-internal)
11456 (x-disown-selection-internal):
11457 * x-dnd.el (x-get-selection-internal): Update declarations.
11458
6d216d7f
GM
11459 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
11460
2bed3f04
GM
11461 * window.el (window-sides-slots):
11462 * tool-bar.el (tool-bar-position):
11463 * term/xterm.el (xterm-extra-capabilities):
11464 * ses.el (ses-self-reference-early-detection):
11465 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
11466 (verilog-auto-wire-type)
11467 (verilog-auto-delete-trailing-whitespace)
11468 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
11469 (verilog-auto-tieoff-declaration):
11470 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
11471 (sql-oracle-statement-starters, sql-oracle-scan-on):
11472 * progmodes/prolog.el (prolog-align-comments-flag)
11473 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
11474 (prolog-left-indent-regexp, prolog-paren-indent-p)
11475 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
11476 (prolog-types, prolog-mode-specificators)
11477 (prolog-determinism-specificators, prolog-directives)
11478 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
11479 (prolog-electric-dot-flag)
11480 (prolog-electric-dot-full-predicate-template)
11481 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
11482 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
11483 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
11484 (prolog-program-switches, prolog-prompt-regexp)
11485 (prolog-debug-on-string, prolog-debug-off-string)
11486 (prolog-trace-on-string, prolog-trace-off-string)
11487 (prolog-zip-on-string, prolog-zip-off-string)
11488 (prolog-use-standard-consult-compile-method-flag)
11489 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
11490 (prolog-imenu-max-lines, prolog-info-predicate-index)
11491 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
11492 (prolog-char-quote-workaround):
11493 * progmodes/cc-vars.el (c-defun-tactic):
11494 * net/tramp.el (tramp-encoding-command-interactive)
11495 (tramp-local-end-of-line):
11496 * net/soap-client.el (soap-client):
11497 * net/netrc.el (netrc-file):
11498 * net/gnutls.el (gnutls):
11499 * minibuffer.el (completion-category-overrides)
11500 (completion-cycle-threshold)
11501 (completion-pcm-complete-word-inserts-delimiters):
11502 * man.el (Man-name-local-regexp):
11503 * mail/feedmail.el (feedmail-display-full-frame):
11504 * international/characters.el (glyphless-char-display-control):
11505 * eshell/em-ls.el (eshell-ls-date-format):
11506 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
11507 (lisp-lambda-list-keyword-parameter-indentation)
11508 (lisp-lambda-list-keyword-parameter-alignment):
11509 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
11510 * dired-x.el (dired-omit-verbose):
11511 * cus-theme.el (custom-theme-allow-multiple-selections):
11512 * calc/calc.el (calc-highlight-selections-with-faces)
11513 (calc-lu-field-reference, calc-lu-power-reference)
11514 (calc-note-threshold):
11515 * battery.el (battery-mode-line-limit):
11516 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
11517 (archive-7z-update):
11518 * allout.el (allout-prefixed-keybindings)
11519 (allout-unprefixed-keybindings)
11520 (allout-inhibit-auto-fill-on-headline)
11521 (allout-flattened-numbering-abbreviation):
11522 * allout-widgets.el (allout-widgets-auto-activation)
11523 (allout-widgets-icons-dark-subdir)
11524 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
11525 (allout-widgets-theme-dark-background)
11526 (allout-widgets-theme-light-background)
11527 (allout-widgets-item-image-properties-emacs)
11528 (allout-widgets-item-image-properties-xemacs)
11529 (allout-widgets-run-unit-tests-on-load)
11530 (allout-widgets-time-decoration-activity)
11531 (allout-widgets-hook-error-post-time)
11532 (allout-widgets-track-decoration):
11533 Add missing :version tags to new defcustoms and defgroups.
11534
5fec1b8e
GM
11535 * progmodes/sql.el (sql-ansi-statement-starters)
11536 (sql-oracle-statement-starters): Add custom type.
11537
3e0d2fa7
GM
11538 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
11539 (prolog-system-version): Give it a type.
11540
90b671e2
EZ
115412012-02-11 Eli Zaretskii <eliz@gnu.org>
11542
11543 * term/pc-win.el (x-select-text, x-selection-owner-p)
11544 (x-own-selection-internal, x-disown-selection-internal)
11545 (x-get-selection-internal): Sync doc strings and argument lists
11546 with xselect.c, common-win.el and x-win.el. (Bug#10783)
11547
5eac0c02
LL
115482012-02-11 Leo Liu <sdl.web@gmail.com>
11549
11550 * progmodes/python.el (python-end-of-statement): Fix infinite
11551 loop. (Bug#10788)
11552
f82cb659
GM
115532012-02-10 Glenn Morris <rgm@gnu.org>
11554
11555 * international/mule-cmds.el (unify-8859-on-encoding-mode)
11556 (unify-8859-on-decoding-mode): Properly mark as obsolete.
11557
cc26d239
LI
115582012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
11559
11560 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
11561 about SMTP before checking the From header.
11562
91027d08 11563 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
11564 into own function for reuse by emacsbug.el.
11565
1be3ca5a
LL
115662012-02-10 Leo Liu <sdl.web@gmail.com>
11567
11568 * subr.el (condition-case-unless-debug): Rename from
11569 condition-case-no-debug. All callers changed.
11570 (with-demoted-errors): Fix caller.
11571
11572 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
11573 * nxml/rng-valid.el (rng-do-some-validation):
11574 * emacs-lisp/package.el (package-refresh-contents)
11575 (package-menu-execute):
11576 * desktop.el (desktop-create-buffer):
91027d08 11577 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 11578
b011fbfe
GM
115792012-02-10 Glenn Morris <rgm@gnu.org>
11580
b2096d72
GM
11581 * textmodes/bibtex.el:
11582 Add missing :version tags for new/changed defcustoms.
11583
b011fbfe
GM
11584 * files.el (remote-file-name-inhibit-cache): Doc fixes.
11585
4c7e65bf
LI
115862012-02-09 Lars Ingebrigtsen <larsi@rusty>
11587
11588 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
11589 (smtpmail-via-smtp): Use it, or fall back on the From address.
11590 (smtpmail-send-it): Ditto.
11591
f3934f6f
SM
115922012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
11593
11594 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
11595 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
11596 (byte-compile-tmp-var): New const.
11597 (byte-compile-defvar): Use it to minimize .elc size.
11598 Just use `defvar' rather than simulate it (bug#10761).
11599
a075a2c5
GM
116002012-02-09 Glenn Morris <rgm@gnu.org>
11601
cf3aa21b
GM
11602 * files.el (rename-uniquely): Doc fix. (Bug#3806)
11603
354998cd
GM
11604 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
11605 Add :version tags.
11606
dc9924b8
SM
11607 * progmodes/compile.el (compilation-error-screen-columns)
11608 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 11609
dab3703d
GM
11610 * vc/log-view.el (log-view-toggle-entry-display):
11611 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
11612
3f88cd72
GM
11613 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
11614 (report-emacs-bug-can-use-xdg-email):
11615 (report-emacs-bug-insert-to-mailer): Doc fixes.
11616 (report-emacs-bug): Message fix.
11617
d95b247d
GM
11618 * net/browse-url.el (browse-url-can-use-xdg-open)
11619 (browse-url-xdg-open): Doc fixes.
11620
a075a2c5
GM
11621 * electric.el (electric-indent-mode, electric-pair-mode)
11622 (electric-layout-rules, electric-layout-mode): Doc fixes.
11623 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
11624
ffb6157e
MR
116252012-02-08 Martin Rudalics <rudalics@gmx.at>
11626
11627 * server.el (server-unselect-display): Don't inadvertently kill
11628 the current buffer. (Bug#10729)
11629
e1ac4066
GM
116302012-02-08 Glenn Morris <rgm@gnu.org>
11631
34e8a2da
GM
11632 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
11633 (sql-list-table): Doc fixes.
11634
b4ac6e8c
GM
11635 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
11636 Comment out (does nothing).
11637
e1ac4066
GM
11638 * completion.el (dynamic-completion-mode):
11639 * dirtrack.el (dirtrack-debug-mode):
11640 * electric.el (electric-layout-mode):
11641 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
11642 * face-remap.el (text-scale-mode, buffer-face-mode):
11643 * iimage.el (iimage-mode):
11644 * image-mode.el (image-transform-mode):
11645 * minibuffer.el (completion-in-region-mode):
11646 * scroll-lock.el (scroll-lock-mode):
11647 * simple.el (next-error-follow-minor-mode):
11648 * tar-mode.el (tar-subfile-mode):
11649 * tooltip.el (tooltip-mode):
11650 * vcursor.el (vcursor-use-vcursor-map):
11651 * wid-browse.el (widget-minor-mode):
11652 * emulation/tpu-edt.el (tpu-edt-mode):
11653 * emulation/tpu-extras.el (tpu-cursor-free-mode):
11654 * international/iso-ascii.el (iso-ascii-mode):
11655 * language/thai-util.el (thai-word-mode):
11656 * mail/supercite.el (sc-minor-mode):
11657 * net/goto-addr.el (goto-address-mode):
11658 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
11659 * progmodes/cwarn.el (cwarn-mode):
11660 * progmodes/flymake.el (flymake-mode):
11661 * progmodes/glasses.el (glasses-mode):
11662 * progmodes/hideshow.el (hs-minor-mode):
11663 * progmodes/pascal.el (pascal-outline-mode):
11664 * textmodes/enriched.el (enriched-mode):
11665 * vc/smerge-mode.el (smerge-mode):
11666 Doc fixes (minor mode argument).
11667
5e0d957f
EZ
116682012-02-07 Eli Zaretskii <eliz@gnu.org>
11669
11670 * ls-lisp.el (ls-lisp-sanitize): New function.
11671 (ls-lisp-insert-directory): Use it to fix or remove any elements
11672 in file-alist with missing attributes. (Bug#4673)
11673
98d7371e
AM
116742012-02-07 Alan Mackenzie <acm@muc.de>
11675
11676 Fix spurious recognition of c-in-knr-argdecl.
11677
11678 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
11679 putative K&R region.
11680
667ced3a
AM
116812012-02-07 Alan Mackenzie <acm@muc.de>
11682
eb864a71
LM
11683 * progmodes/cc-engine.el (c-forward-objc-directive):
11684 Prevent looping in "#pragma mark @implementation".
667ced3a 11685
5b77774d
MA
116862012-02-07 Michael Albinus <michael.albinus@gmx.de>
11687
11688 * notifications.el (notifications-on-closed-signal): Make `reason'
11689 optional. (Bug#10744)
11690
af008560
GM
116912012-02-07 Glenn Morris <rgm@gnu.org>
11692
60d47423
GM
11693 * emacs-lisp/easy-mmode.el (define-minor-mode):
11694 Doc fixes for the macro and the mode it defines.
11695
dd605cc4
GM
11696 * image.el (imagemagick-types-inhibit): Doc fix.
11697
af008560
GM
11698 * cus-start.el (imagemagick-render-type): Add it.
11699
5cc59a37
LI
117002012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
11701
4d6769e1
JB
11702 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
11703 Set the default at load time, too, so that `font-lock-fontify-buffer'
11704 can be called without setting up the entire mode first. This fixes
11705 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 11706
9a6dd747
CY
117072012-02-06 Chong Yidong <cyd@gnu.org>
11708
2d16b285
CY
11709 * simple.el (list-processes--refresh): Delete exited processes
11710 (Bug#8094).
11711
171e9b6e
CY
11712 * comint.el (comint-next-prompt): next-single-char-property-change
11713 and prev-single-char-property-change never return nil (Bug#8657).
11714
9a6dd747
CY
11715 * custom.el (defcustom): Doc fix (Bug#9711).
11716
aa4589a7
CY
117172012-02-05 Chong Yidong <cyd@gnu.org>
11718
5c2a252f
CY
11719 * cus-edit.el (custom-variable-reset-backup): Quote the value
11720 before storing it in the customized-value property (Bug#6712).
4aab9006 11721 (custom-display): Add a customization type tag.
983b9602 11722 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 11723
aa4589a7
CY
11724 * wid-edit.el (widget-field-value-get): New optional arg to
11725 suppress trailing whitespace truncation.
11726 (character): Use it (Bug#2689).
11727
1ff980ae
AS
117282012-02-05 Andreas Schwab <schwab@linux-m68k.org>
11729
11730 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
11731 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
11732
03988c98
CY
117332012-02-05 Chong Yidong <cyd@gnu.org>
11734
eeb6cc88
CY
11735 * cus-edit.el (custom-variable-value-create): For mismatched
11736 types, show the current value (Bug#7600).
11737
03988c98
CY
11738 * custom.el (defcustom): Doc fix.
11739
f8cdeef0
GM
117402012-02-05 Glenn Morris <rgm@gnu.org>
11741
11742 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
11743
0696d255
JB
117442012-02-05 Juanma Barranquero <lekktu@gmail.com>
11745
11746 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
11747 (pp-buffer): Use `ignore-errors', `looking-at-p'.
11748 (pp-last-sexp): Use `looking-at-p'.
11749
34c99998
GM
117502012-02-04 Glenn Morris <rgm@gnu.org>
11751
8f05da42
GM
11752 * files.el (revert-buffer):
11753 Doc fix (mention revert-buffer-in-progress-p).
11754
f160676e
GM
11755 * emacs-lisp/ert-x.el (ert-simulate-command):
11756 Check deferred-action-list (which is obsolete) is bound.
11757
c7291ad9
GM
11758 * subr.el (with-wrapper-hook): Doc fixes.
11759
34c99998
GM
11760 * simple.el (filter-buffer-substring-functions)
11761 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
11762
6283a7d3
LL
117632012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
11764
11765 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
11766 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
11767
e96e3013
LL
117682012-02-04 Leo Liu <sdl.web@gmail.com>
11769
11770 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
11771
8ded50f2
GM
117722012-02-04 Glenn Morris <rgm@gnu.org>
11773
82ff1d13
GM
11774 * image.el (image-extension-data): Add obsolete alias.
11775
987a0a16
GM
11776 * isearch.el (isearch-update): Doc fix.
11777
ea32ef46
GM
11778 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
11779
8ded50f2
GM
11780 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
11781
eea14f31
GM
117822012-02-03 Glenn Morris <rgm@gnu.org>
11783
11784 * image.el (image-animated-p): Doc fix. Use image-animated-types.
11785 (image-animate-timeout): Doc fix.
11786
11787 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
11788
12f381b7
GM
117892012-02-02 Glenn Morris <rgm@gnu.org>
11790
953cebf5
GM
11791 * server.el (server-auth-dir): Doc fix.
11792 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
11793
12f381b7
GM
11794 * subr.el (run-mode-hooks): Doc fix.
11795
953a8c3b
JL
117962012-02-02 Juri Linkov <juri@jurta.org>
11797
11798 * image-mode.el (image-toggle-display-image): Remove tautological
11799 `major-mode' from the `derived-mode-p' test.
11800
c5d3843c
KH
118012012-02-02 Kenichi Handa <handa@m17n.org>
11802
9f6e692e 11803 * composite.el (compose-region): Cancel previous change.
c5d3843c 11804
159462d4 118052012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
11806
11807 * composite.el (compose-region, compose-string): Signal error for
11808 a null string component (Bug#6988).
11809
9f562668
CY
118102012-02-01 Chong Yidong <cyd@gnu.org>
11811
e2cef717
CY
11812 * view.el (view-buffer-other-window, view-buffer-other-frame):
11813 Handle special modes like view-buffer (Bug#10650).
11814 (view-buffer): Simplify.
11815
9f562668
CY
11816 * frame.el (set-frame-font): Tweak meaning of third argument.
11817
9f6e692e
JB
11818 * dynamic-setting.el (font-setting-change-default-font):
11819 Use set-frame-font (Bug#9982).
9f562668 11820
781acb9f
GM
118212012-02-01 Glenn Morris <rgm@gnu.org>
11822
6035be52
GM
11823 * progmodes/compile.el (compilation-internal-error-properties):
11824 Respect compilation-first-column in the "*compilation*" buffer.
11825
781acb9f
GM
11826 * emacs-lisp/easy-mmode.el (define-minor-mode):
11827 Relax :variable's test for a named function.
11828
abbceb00
AM
118292012-01-31 Alan Mackenzie <acm@muc.de>
11830
11831 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
11832 off by one error.
11833
fce3fdeb
CY
118342012-01-31 Chong Yidong <cyd@gnu.org>
11835
11836 * frame.el (set-frame-font): New arg ALL-FRAMES.
11837
11838 * menu-bar.el (menu-set-font): Use set-frame-font.
11839
11840 * faces.el (face-spec-reset-face): Don't apply unspecified
11841 attribute values to the default face.
11842
47893581
JB
118432012-01-31 Juanma Barranquero <lekktu@gmail.com>
11844
11845 * progmodes/cwarn.el (cwarn): Remove dead link.
11846 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
11847 Remove * from defcustom docstrings.
11848 (turn-on-cwarn-mode): Make obsolete.
11849 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
11850 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
11851
e58e988a
GM
118522012-01-31 Glenn Morris <rgm@gnu.org>
11853
60dc2671 11854 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 11855 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 11856 Allow named functions to be used as the cdr of :variable.
e58e988a 11857
7a3f511d
GM
118582012-01-30 Glenn Morris <rgm@gnu.org>
11859
11860 * emacs-lisp/authors.el (authors-fixed-entries):
11861 Remove reference to deleted file rnewspost.el.
11862
cb882333
JB
118632012-01-29 Juanma Barranquero <lekktu@gmail.com>
11864
11865 * window.el (window-with-parameter): Remove unused variable `windows'.
11866 (window--side-check): Remove unused variable `code'.
11867 (window--resize-siblings): Remove unused variable `first'.
11868 (adjust-window-trailing-edge): Remove unused variable `failed'.
11869 (window-deletable-p, window--delete): Remove unused variable `buffer'.
11870 Use `let', not `let*'.
11871 (balance-windows-2): Remove unused variable `found'.
11872 (window--state-put-2): Remove unused variable `splits'.
11873 (window-state-put): Remove unused variable `selected'.
11874 (same-window-p): Use `string-match-p'.
11875 (display-buffer-assq-regexp): Remove unused variable `value'.
11876 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
11877 Mark argument ALIST as ignored.
11878 (pop-to-buffer): Remove unused variable `old-window'.
11879
907201af
EZ
118802012-01-29 Eli Zaretskii <eliz@gnu.org>
11881
11882 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
11883 and .lzma compressed files.
11884
ea162670
CY
118852012-01-29 Chong Yidong <cyd@gnu.org>
11886
5b95ee8a
CY
11887 * frame.el (window-system-default-frame-alist): Doc fix.
11888
ea162670
CY
11889 * dynamic-setting.el (font-setting-change-default-font): Don't
11890 change the default face if SET-FONT argument is non-nil (Bug#9982).
11891
6fccd6e8 118922012-01-29 Samuel Bronson <naesten@gmail.com>
d6e6f4b1
SB
11893
11894 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
11895
0f29fa41 118962012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
11897
11898 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
11899 breakpoints in files outside current directory (Bug#6098).
11900
db174434
CY
119012012-01-29 Chong Yidong <cyd@gnu.org>
11902
6b25e4e2
SE
11903 * progmodes/python.el: Require ansi-color at top-level.
11904
6df6ae42
JB
11905 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
11906 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
11907 (lisp-mode-abbrev-table): Add doc.
11908 (lisp-mode-variables): Don't set local-abbrev-table.
11909 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
11910
e70ee681
RW
119112012-01-28 Roland Winkler <winkler@gnu.org>
11912
11913 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
11914
ace88aa2
RW
119152012-01-28 Roland Winkler <winkler@gnu.org>
11916
11917 * textmodes/bibtex.el (bibtex-entry-alist): New function.
11918 (bibtex-set-dialect): Use it. Either set global values of
11919 dialect-dependent variables or bind these variables buffer-locally
11920 (Bug#10254).
11921 (bibtex-mode): Call bibtex-set-dialect via
11922 hack-local-variables-hook.
eb864a71
LM
11923 (bibtex-dialect): Update docstring.
11924 Add safe-local-variable predicate.
ace88aa2
RW
11925 (bibtex-entry-alist, bibtex-field-alist): Initialize via
11926 bibtex-set-dialect.
11927 (bibtex-mode-map): Define menu for each dialect.
11928 (bibtex-entry): Fix docstring.
11929
93376c5b
CY
119302012-01-28 Chong Yidong <cyd@gnu.org>
11931
11932 * eshell/esh-arg.el (eshell-quote-argument): New function.
11933
11934 * eshell/esh-ext.el (eshell-invoke-batch-file):
11935 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
11936 first arg to eshell-parse-command (Bug#10523).
11937
4372494f
DA
119382012-01-28 Drew Adams <drew.adams@oracle.com>
11939
11940 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
11941 `default-directory' is non-nil.
11942
4d4ec1f8
EZ
119432012-01-28 Eli Zaretskii <eliz@gnu.org>
11944
11945 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
11946 line that displays system-configuration-options. (Bug#9924)
11947
7c188927
DA
119482012-01-28 Drew Adams <drew.adams@oracle.com>
11949
11950 * descr-text.el (describe-char): Show information about POS, in
11951 addition to information about the character at POS. Improve and
11952 update the doc string. Change "code point" to "code point in
11953 charset", to avoid confusion with the character's Unicode code
11954 point shown above that. (Bug#10129)
11955
e0da685a
EZ
119562012-01-28 Eli Zaretskii <eliz@gnu.org>
11957
11958 * descr-text.el (describe-char): Show the raw character, not only
11959 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
11960 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
11961 for the reasons.
11962
70550acf
PH
119632012-01-28 Phil Hagelberg <phil@hagelb.org>
11964
eb864a71
LM
11965 * emacs-lisp/package.el (package-install):
11966 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 11967
0ce8e868
CY
119682012-01-28 Chong Yidong <cyd@gnu.org>
11969
cb882333
JB
11970 * emacs-lisp/package.el (package-maybe-load-descriptor):
11971 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
11972 (package-maybe-load-descriptor): Use it.
11973 (package-download-transaction): Fully load required packages
11974 inside the loop, so that `require' calls work (Bug#10593).
11975 (package-install): No need to call package-initialize now.
11976
2e7f3bea
CY
119772012-01-28 Chong Yidong <cyd@gnu.org>
11978
6e9bad14
CY
11979 * simple.el (deactivate-mark): Doc fix (Bug#8614).
11980
f823b8ca
CY
11981 * tooltip.el (tooltip-mode): Doc fix.
11982 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
11983
2680c309
CY
11984 * frame.el (set-cursor-color): Doc fix (Bug#352).
11985
d7a9e63b
CY
11986 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
11987 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
11988
2e7f3bea
CY
11989 * cus-edit.el (custom-buffer-create-internal): Fix search button
11990 action (Bug#10542).
2ae01800 11991 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 11992
fc4f7a23
EW
119932012-01-27 Eduard Wiebe <usenet@pusto.de>
11994
11995 * dired.el (dired-mark-files-regexp):
11996 Include any subdirectory components. (Bug#10445)
11997
7dd37071
ML
119982012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
11999
12000 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
12001 Handle [host]:port syntax. (Bug#10533)
12002
a268160b
AH
120032012-01-27 Alex Harsanyi <harsanyi@mac.com>
12004
12005 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
12006
e43273ef
GM
120072012-01-26 Glenn Morris <rgm@gnu.org>
12008
12009 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
12010 * term.el (term-raw-escape-map): Use Control-X-prefix.
12011 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
12012
1edf595d
MR
120132012-01-25 Martin Rudalics <rudalics@gmx.at>
12014
12015 * window.el (window-state-get, window--state-get-1): Don't deal
12016 with fixed-sizeness of windows. Simplify code.
12017
fa8eafef
JC
120182012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
12019
6df6ae42
JB
12020 * window.el (window--state-get-1, window--state-put-2):
12021 Don't save and restore the mark.
fa8eafef 12022
0b21c100
CY
120232012-01-25 Chong Yidong <cyd@gnu.org>
12024
12025 * custom.el (custom-variable-p): Doc fix.
12026
5ae1a6c8
GM
120272012-01-25 Glenn Morris <rgm@gnu.org>
12028
40047858
GM
12029 * dired.el (dired-goto-file): Handle some of the more common
12030 characters that `ls -b' escapes. (Bug#10596)
12031
5ddce96c
GM
12032 * progmodes/compile.el (compilation-next-error-function):
12033 Respect compilation-first-column in the "*compilation*" buffer.
12034 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
12035
5ae1a6c8
GM
12036 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
12037
b559f1a9
GM
120382012-01-24 Glenn Morris <rgm@gnu.org>
12039
12040 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
12041
6725d21a
JD
120422012-01-24 Julien Danjou <julien@danjou.info>
12043
12044 * color.el (color-rgb-to-hsl): Fix value computing.
12045 (color-hue-to-rgb): New function.
12046 (color-hsl-to-rgb): New function.
12047 (color-clamp, color-saturate-hsl, color-saturate-name)
12048 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
12049 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
12050
70df4bbe
GM
120512012-01-24 Glenn Morris <rgm@gnu.org>
12052
12053 * vc/vc-rcs.el (vc-rcs-create-tag):
12054 * vc/vc-sccs.el (vc-sccs-create-tag):
12055 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
12056
802a2ae2
ML
120572012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
12058
12059 * eshell/esh-util.el (eshell-read-hosts-file):
12060 Skip comment lines. (Bug#10549)
12061
d7128bb1
ML
12062 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
12063
d1a5c3b4
JB
120642012-01-23 Juanma Barranquero <lekktu@gmail.com>
12065
2724d9c7
JB
12066 * subr.el (display-delayed-warnings): Doc fix.
12067 (collapse-delayed-warnings): New function to collapse identical
12068 adjacent warnings.
12069 (delayed-warnings-hook): Add it.
d1a5c3b4 12070
a5509865
MA
120712012-01-22 Michael Albinus <michael.albinus@gmx.de>
12072
12073 * net/tramp.el (tramp-action-login): Set connection property "login-as".
12074
a5509865
MA
12075 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
12076 (tramp-default-user-alist): Don't add "pscp".
12077 (tramp-do-copy-or-rename-file-out-of-band): Use connection
12078 property "login-as", if set. (Bug#10530)
12079
cc6d5805
MA
120802012-01-21 Michael Albinus <michael.albinus@gmx.de>
12081
12082 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
12083 "plink1" and "psftp". (Bug#10530)
12084
120852012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
12086
12087 * international/mule-cmds.el (prefer-coding-system): Show a
12088 warning message if the default value of file-name-coding-system
12089 was not changed.
12090
f0960428
JC
120912012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
12092
cb882333
JB
12093 * windmove.el (windmove-reference-loc):
12094 Fix windmove-reference-loc miscalculation.
f0960428 12095
dd6f2a63
JB
120962012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
12097
12098 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
12099 default unit.
12100
7b447e9b
GM
121012012-01-21 Glenn Morris <rgm@gnu.org>
12102
117a9ea1
GM
12103 * international/mule.el (auto-coding-alist): Add .tbz.
12104
7b447e9b
GM
12105 * files.el (local-enable-local-variables): Doc fix.
12106 (inhibit-local-variables-regexps): Rename from
12107 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
12108 Doc fix. Add some extensions from auto-coding-alist.
12109 (inhibit-local-variables-suffixes):
12110 Rename from inhibit-first-line-modes-suffixes. Doc fix.
12111 (inhibit-local-variables-p):
12112 New function, extracted from set-auto-mode-1.
12113 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
12114 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
12115 (hack-local-variables): Doc fix. Make the mode-only case
12116 respect enable-local-variables and friends.
12117 Respect inhibit-local-variables-regexps for file-locals, but
12118 not for directory-locals.
12119 (set-visited-file-name):
12120 Take account of inhibit-local-variables-regexps.
12121 Whether it applies may change as the file name is changed.
12122 * jka-cmpr-hook.el (jka-compr-install):
12123 * jka-compr.el (jka-compr-uninstall):
12124 Update for inhibit-first-line-modes-suffixes name change.
12125
dd6e3cdd
MR
121262012-01-20 Martin Rudalics <rudalics@gmx.at>
12127
12128 * help-macro.el (make-help-screen): Temporarily restore original
12129 binding for minor-mode-map-alist (Bug#10454).
12130
0d0deb38
JD
121312012-01-19 Julien Danjou <julien@danjou.info>
12132
12133 * color.el (color-name-to-rgb): Use the white color to find the max
12134 color component value and return correctly computed values.
12135 (color-name-to-rgb): Add missing float conversion for max value.
12136
34a02f46
MR
121372012-01-19 Martin Rudalics <rudalics@gmx.at>
12138
12139 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
12140 special state value for window-persistent-parameters.
12141 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
12142 (window--state-put-2): Reset all window parameters to nil before
12143 assigning values of persistent parameters.
12144
606c44c4
AM
121452012-01-18 Alan Mackenzie <acm@muc.de>
12146
12147 Eliminate sluggishness and hangs in fontification of "semicolon
12148 deserts".
12149
cb882333
JB
12150 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
12151 Change value 10000 -> 3000.
606c44c4
AM
12152 (c-state-safe-place): Reformulate so it doesn't stack up an
12153 infinite number of wrong entries in c-state-nonlit-pos-cache.
12154 (c-determine-limit-get-base, c-determine-limit): New functions to
12155 determine backward search limits disregarding literals.
12156 (c-find-decl-spots): Amend commenting.
12157 (c-cheap-inside-bracelist-p): New function which detects "={".
12158
12159 * progmodes/cc-fonts.el
12160 (c-make-font-lock-BO-decl-search-function): Give a limit to a
12161 backward search.
12162 (c-font-lock-declarations): Fix an occurrence of point being
12163 undefined. Check additionally for point being in a bracelist or
12164 near a macro invocation without a semicolon so as to avoid a
12165 fruitless time consuming search for a declarator. Give a more
12166 precise search limit for declarators using the new
12167 c-determine-limit.
12168
f3860cea
GM
121692012-01-18 Glenn Morris <rgm@gnu.org>
12170
12171 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
12172 (set-auto-mode): Doc fixes.
12173
1db03b16
GM
121742012-01-17 Glenn Morris <rgm@gnu.org>
12175
0e6038be
GM
12176 * isearch.el (search-nonincremental-instead): Fix doc typo.
12177
1db03b16
GM
12178 * dired.el (dired-insert-directory): Handle newlines in directory name.
12179 (dired-build-subdir-alist): Unescape newlines in directory name.
12180
4cb0aa75
MA
121812012-01-17 Michael Albinus <michael.albinus@gmx.de>
12182
12183 * net/tramp.el (tramp-local-end-of-line): New defcustom.
12184 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
12185 (tramp-action-terminal): Use it. (Bug#10530)
12186
1d00653d
SM
121872012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
12188
12189 * minibuffer.el (completion--replace): Strip properties (bug#10062).
12190
6a6ee00d
MR
121912012-01-16 Martin Rudalics <rudalics@gmx.at>
12192
12193 * window.el (window-state-ignored-parameters): Remove variable.
12194 (window--state-get-1): Rename argument MARKERS to IGNORE.
12195 Handle persistent window parameters. Make copy of clone-of
12196 parameter only if requested. (Bug#10348)
12197 (window--state-put-2): Install a window parameter only if it has
12198 a non-nil value or an existing parameter shall be overwritten.
12199
97912def
MA
122002012-01-15 Michael Albinus <michael.albinus@gmx.de>
12201
12202 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
12203
688070a5
EZ
122042012-01-14 Eli Zaretskii <eliz@gnu.org>
12205
12206 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
12207 don't pass the (nil) value of `upnode' to string-match.
12208
301afadc
CY
122092012-01-14 Chong Yidong <cyd@gnu.org>
12210
12211 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 12212 Fix values recognized by the cursorBlink resource.
301afadc 12213
9e5788aa
PE
122142012-01-14 Paul Eggert <eggert@cs.ucla.edu>
12215
12216 * epg.el (epg--make-temp-file): Avoid permission race condition
12217 when running on old Emacs versions (bug#10403).
12218
3cdb7f5a
GM
122192012-01-14 Glenn Morris <rgm@gnu.org>
12220
12221 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
12222
8c82b1b4
AM
122232012-01-13 Alan Mackenzie <acm@muc.de>
12224
12225 Fix filling for when filladapt mode is enabled.
12226
12227 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
12228 c-mask-paragraph, pass in `fill-paragraph' rather than
12229 `fill-region-as-paragraph'. (This is a reversion of a previous
12230 change.)
eb864a71
LM
12231 * progmodes/cc-mode.el (c-basic-common-init):
12232 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 12233
e517eda4
GM
122342012-01-13 Glenn Morris <rgm@gnu.org>
12235
1498536e
GM
12236 * dired.el (dired-switches-escape-p): New function.
12237 (dired-insert-directory): Use dired-switches-escape-p.
12238 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
12239
e517eda4
GM
12240 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
12241
328f984d
GM
122422012-01-12 Glenn Morris <rgm@gnu.org>
12243
12244 * mail/sendmail.el (mail-mode): Update paragraph-separate for
12245 changes in adaptive-fill-regexp. (Bug#10276)
12246
2cc769a8
AM
122472012-01-11 Alan Mackenzie <acm@muc.de>
12248
12249 Fix Emacs bug #10463 - put `widen's around the critical spots.
12250
1d00653d 12251 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
12252 widen around each invocation of c-state-pp-to-literal. Remove an
12253 unused let variable.
12254
e52c37fa
GM
122552012-01-11 Glenn Morris <rgm@gnu.org>
12256
12257 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 12258 Doc fix.
e52c37fa 12259
96f8741e
CY
122602012-01-10 Chong Yidong <cyd@gnu.org>
12261
1d00653d
SM
12262 * net/network-stream.el (network-stream-open-starttls):
12263 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
12264 response to the capability command.
12265
b09a806e
GM
122662012-01-10 Glenn Morris <rgm@gnu.org>
12267
12268 * mail/unrmail.el (unrmail): Tweak previous change.
12269
7655cb66
CY
122702012-01-09 Chong Yidong <cyd@gnu.org>
12271
12272 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
12273
9d5a8f0b
AM
122742012-01-08 Alan Mackenzie <acm@muc.de>
12275
12276 Optimise font locking in long enum definitions.
12277
12278 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
12279 arm to a cond form to handle enums.
12280 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
12281 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
12282
9a0115ab 122832012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
12284
12285 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 12286 (Bug#10401)
6bb72cbd 12287
f186bb95
LMI
122882012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
12289
29232a68
LMI
12290 * faces.el (set-face-attribute): Clarify the meaning of the nil
12291 frame (bug#10294).
12292
4e5d086d
LMI
12293 * subr.el (with-selected-frame): Mention that the selected frame
12294 is restored (bug#9980).
12295
8e66aebe
LMI
12296 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
12297 (bug#9759).
12298
cd394be1 12299 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
12300 (password-read): Don't autoload unused function.
12301
adf4e762
JB
123022012-01-07 Juanma Barranquero <lekktu@gmail.com>
12303
12304 * progmodes/which-func.el (which-func-mode): Turn into a
12305 non-interactive function and mark as obsolete (bug#10428).
12306
89bd9ccd
CY
123072012-01-06 Chong Yidong <cyd@gnu.org>
12308
12309 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
12310 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
12311 functions, along with 1 and -1.
12312
4afee9d5
EZ
123132012-01-06 Eli Zaretskii <eliz@gnu.org>
12314
12315 * time.el (display-time-load-average)
12316 (display-time-default-load-average): Doc fixes. See the thread
12317 starting at
12318 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
12319 for the details.
12320
536aea70
GM
123212012-01-06 Glenn Morris <rgm@gnu.org>
12322
665ae865
GM
12323 * mail/unrmail.el (unrmail): Give an explicit error if the input file
12324 has no messages. (Bug#10377)
12325
c869783d
GM
12326 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
12327 than Info-edit. (Bug#10385)
12328
2bb4227e
GM
12329 * time.el (display-time-load-average, display-time-next-load-average):
12330 Doc fixes.
12331
7d5944b9
GM
12332 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
12333 local setting of buffer-read-only to the input buffer. (Bug#10419)
12334
536aea70
GM
12335 * calendar/calendar.el (calendar-mode):
12336 Locally set scroll-margin to 0. (Bug#10379)
12337
7dccca16
UM
123382012-01-06 Ulrich Mueller <ulm@gentoo.org>
12339
12340 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
12341
afbb7930
GM
123422012-01-05 Glenn Morris <rgm@gnu.org>
12343
12344 * eshell/em-unix.el (diff-no-select): Autoload it.
12345 (eshell/diff): Use diff-no-select. (Bug#10420)
12346
04482335
CY
123472012-01-05 Chong Yidong <cyd@gnu.org>
12348
7baca3bc
CY
12349 * shell.el (shell-dynamic-complete-functions): Revert last change.
12350 (shell-command-completion-function): New function.
12351 (shell-completion-vars): Use it to implement
12352 shell-completion-execonly (Bug#10417).
12353
04482335
CY
12354 * custom.el (enable-theme): Don't set custom-safe-themes.
12355
1d00653d
SM
12356 * cus-theme.el (custom-theme-merge-theme):
12357 Ignore custom-enabled-themes and custom-safe-themes.
04482335 12358
bb5aa5d6
MM
123592012-01-05 Michael R. Mauger <mmaug@yahoo.com>
12360
12361 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
12362 first prompt in `sql-interacive-mode'.
12363 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 12364 keywords.
6df6ae42 12365 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
12366 (sql-product-interactive): Bug fix: Set `sql-buffer' in
12367 context of original buffer. Invoke `sql-login-hook'.
12368
a7183d7c
EZ
123692012-01-04 Eli Zaretskii <eliz@gnu.org>
12370
12371 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
12372 letters in cite-prefix.
12373
a1eacd1e
LMI
123742012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12375
12376 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
12377
787cdb34
CY
123782012-01-03 Chong Yidong <cyd@gnu.org>
12379
1d00653d
SM
12380 * shell.el (shell-dynamic-complete-functions):
12381 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
12382 comint-filename-completion first (Bug#10417).
12383
30710442
RS
123842012-01-02 Richard Stallman <rms@gnu.org>
12385
12386 * battery.el (battery-status-function):
12387 Detect when to use battery-yeeloong-sysfs.
12388 (battery-echo-area-format): Add string for Yeeloong.
12389 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
12390 (battery-yeeloong-sysfs): New function.
12391
f75bfc33
CY
123922012-01-02 Chong Yidong <cyd@gnu.org>
12393
12394 * dirtrack.el (dirtrack-list): Eliminate unused third element.
12395 (dirtrack): Merge code for handling relative filenames in prompt
12396 from shell-dir-cookie-watcher.
12397 (dirtrack-debug-message): New arg to avoid excess format calls.
12398
12399 * shell.el (shell-dir-cookie-re): Variable deleted.
12400 (shell-dir-cookie-watcher): Function deleted.
12401 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
12402 with dirtrack-mode.
12403
651e947e
EZ
124042012-01-01 Eli Zaretskii <eliz@gnu.org>
12405
1d00653d
SM
12406 * term/w32-win.el (dynamic-library-alist) <gnutls>:
12407 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
12408 libgnutls-26.dll.
12409
94d4c7dc
AS
124102011-12-31 Andreas Schwab <schwab@linux-m68k.org>
12411
12412 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
12413
8d43f3cd
EZ
124142011-12-31 Eli Zaretskii <eliz@gnu.org>
12415
12416 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
12417 headers of non-MIME messages, when rmail-enable-mime is non-nil.
12418
98c8795a
MA
124192011-12-29 Michael Albinus <michael.albinus@gmx.de>
12420
12421 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
12422 also for alternative shells.
12423 (tramp-open-connection-setup-interactive-shell): Check, whether
12424 the shell is a busybox.
12425 (tramp-send-command): Don't suppress multiple prompts for
12426 busyboxes, it hurts.
12427
51281b32
CY
124282011-12-28 Chong Yidong <cyd@gnu.org>
12429
12430 * progmodes/gdb-mi.el (gdb-get-source-file-list)
12431 (gdb-get-source-file): Move mode line update to
12432 gdb-get-source-file (Bug#10087).
12433
2170cb53
CY
124342011-12-25 Chong Yidong <cyd@gnu.org>
12435
12436 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
12437 gud-gdb-marker-filter without taking it as an argument.
12438 (gud-gdb-run-command-fetch-lines): Caller changed.
12439 (gud-gdb-completion-function): New variable.
12440 (gud-gdb-completion-at-point): Use it.
12441 (gud-gdb-completions-1): Split from gud-gdb-completions.
12442
12443 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
12444 function as separate arguments.
12445 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
12446 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
12447 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
12448 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
12449 (gdb-stopped, def-gdb-auto-update-trigger)
12450 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
12451 (gdb-get-changed-registers, gdb-get-main-selected-frame):
12452 Callers changed.
2170cb53
CY
12453 (gud-gdbmi-completions): New function.
12454 (gdb): Use it for generating the completion table.
12455
be8b11bb
AM
124562011-12-24 Alan Mackenzie <acm@muc.de>
12457
12458 Introduce a mechanism to widen the region used in context font
1d00653d 12459 locking. Use this to protect declarations from losing their contexts.
be8b11bb 12460
1d00653d
SM
12461 * progmodes/cc-langs.el (c-before-font-lock-functions):
12462 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 12463 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
12464 functions to be run just before context (etc.) font locking.
12465
12466 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 12467 New, functionality extracted from
be8b11bb 12468 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 12469 (c-in-after-change-fontification): New variable.
be8b11bb
AM
12470 (c-after-change): Set c-in-after-change-fontification.
12471 (c-set-fl-decl-start): Rejig its interface, so it can be called
12472 from both after-change and context fontifying.
b81d40f0
JB
12473 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
12474 New functions.
12475 (c-standard-font-lock-fontify-region-function): New variable.
12476 (c-font-lock-fontify-region): New function.
be8b11bb 12477
341cf6ac
JL
124782011-12-24 Juri Linkov <juri@jurta.org>
12479
12480 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
12481 (Bug#10348)
12482
bffcee0a
MA
124832011-12-23 Michael Albinus <michael.albinus@gmx.de>
12484
12485 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
12486 existence of source file. (Bug#10325)
12487
cb5e207c
AM
124882011-12-23 Alan Mackenzie <acm@muc.de>
12489
12490 Fix unstable fontification inside templates.
12491
b81d40f0
JB
12492 * progmodes/cc-langs.el (c-before-font-lock-functions):
12493 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
12494 additionally has c-set-fl-decl-start. The other languages (apart
12495 from AWK) have that as a single entry.
12496
b81d40f0
JB
12497 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
12498 The functionality for "local" declarations has been extracted to
cb5e207c
AM
12499 c-set-fl-decl-start.
12500
b81d40f0
JB
12501 * progmodes/cc-mode.el (c-common-init, c-after-change):
12502 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
12503 (c-set-fl-decl-start): New function, extracted from
12504 c-font-lock-enclosing-decls and enhanced.
12505
60ff536c
JB
125062011-12-23 Juanma Barranquero <lekktu@gmail.com>
12507
12508 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
12509
1c4757d6
JL
125102011-12-22 Juri Linkov <juri@jurta.org>
12511
12512 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
12513
d031f2c7
CY
125142011-12-22 Chong Yidong <cyd@gnu.org>
12515
12516 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
12517
bace743a
DA
125182011-12-21 Drew Adams <drew.adams@oracle.com>
12519
12520 * files.el (file-remote-p): Fix docstring. (Bug#10319)
12521
728a1f2b
JC
125222011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
12523
12524 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
12525
0d373f73
TZ
125262011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
12527
fec0aaa4
TZ
12528 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
12529 highlighting and support. Fix up comments for capitalization.
12530 (cfengine-mode-debug): New var.
12531 (cfengine3-mode): Change the modeline indicator to "CFE3".
12532 (cfengine3-font-lock-keywords): Improve defun highlighting.
12533 (cfengine2-actions): Rename from `cfengine-actions'.
12534 (cfengine2-font-lock-keywords): Rename from
12535 `cfengine-font-lock-keywords'.
12536 (cfengine2-imenu-expression): Rename from
12537 `cfengine-imenu-expression'.
12538 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
12539 (cfengine2-beginning-of-defun): Rename from
12540 `cfengine-beginning-of-defun'.
12541 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
12542 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
12543 (cfengine2-mode): Rename from `cfengine-mode'. Change the
12544 modeline indicator to "CFE2".
12545 (cfengine-mode): Defalias to `cfengine-auto-mode'.
12546 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 12547
bc86f573
CY
125482011-12-21 Chong Yidong <cyd@gnu.org>
12549
12550 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
12551 filename argument.
12552
d45ba96b
MR
125532011-12-20 Martin Rudalics <rudalics@gmx.at>
12554
12555 * window.el (window-normalize-buffer-to-display): Remove.
12556 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
12557
a6198c90
CY
125582011-12-19 Chong Yidong <cyd@gnu.org>
12559
12560 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
12561 Don't signal an error in a predicate function; return non-nil.
12562 (vc-dir-mark-file): Move the error here.
12563 (vc-dir-mark-unmark): If acting on the region, keep going if one
12564 of the entries cannot be marked/unmarked.
12565 (vc-dir-mark-all-files): If current entry is a directory, mark
12566 only child files, as documented.
12567
34c5fb55
VB
125682011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
12569
12570 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
12571 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
12572 addition.
12573
c803b2b7
JD
125742011-12-18 Jan Djärv <jan.h.d@swipnet.se>
12575
12576 * term/ns-win.el (ns-get-selection-internal)
12577 (ns-store-selection-internal): Declare.
1154d12e
JB
12578 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
12579 Declare as obsolete.
12580 (ns-get-pasteboard, ns-paste-secondary):
12581 Use ns-get-selection-internal.
41e9b956 12582 (ns-set-pasteboard, ns-copy-including-secondary):
1154d12e 12583 Use ns-store-selection-internal.
c803b2b7 12584
9cff91f8 125852011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
12586
12587 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 12588 (vc-deduce-fileset): Doc fix.
99a289d9 12589
f16c898a
AS
125902011-12-16 Andreas Schwab <schwab@linux-m68k.org>
12591
12592 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
12593
763237c4
SS
125942011-12-13 Sam Steingold <sds@gnu.org>
12595
12596 * man.el (Man-getpage-in-background): When running under a
12597 window-system, ignore $MANWIDTH and $COLUMNS.
12598
5fc1c122
KH
125992011-12-15 Kenichi Handa <handa@m17n.org>
12600
12601 * language/ethio-util.el: Change coding tag to utf-8-emacs.
12602 (setup-ethiopic-environment-internal): Comment out key-binding for
12603 ethio-toggle-punctuation.
12604
13d49cbb
AM
126052011-12-13 Alan Mackenzie <acm@muc.de>
12606
898169a2
AM
12607 Add the switch statement to AWK Mode.
12608
7a71b18d 12609 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
12610 "default" to the keywords regexp.
12611
7a71b18d 12612 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 12613 expression as the rest.
1d00653d
SM
12614 (c-nonlabel-token-key): Allow string literals for AWK.
12615 Refactor for the other modes.
898169a2 12616
13d49cbb 12617 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 12618 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
12619 routines. Limit backward searching in c-font-lock-enclosing.decl.
12620
12621 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
12622 pp-state and literal type in addition to the limits.
1d00653d 12623 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 12624 (c-state-literal-at): Use the above new defun.
1d00653d
SM
12625 (c-slow-in-literal, c-fast-in-literal): Remove.
12626 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
12627
12628 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
12629 being in a literal. Add a limit for backward searching.
12630
12631 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
12632 c-slow-in-literal.
12633
15e0efc7
SM
126342011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
12635
12636 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
12637
454592a6
MR
126382011-12-13 Martin Rudalics <rudalics@gmx.at>
12639
12640 * window.el (delete-other-windows): Use correct frame in call to
12641 window-with-parameter.
12642
87393f26
DP
126432011-12-12 Daniel Pfeiffer <occitan@t-online.de>
12644
12645 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
12646 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
12647 (makefile-gmake-statements, makefile-makepp-statements):
12648 Use it and add new makepp keywords.
12649 (makefile-makepp-font-lock-keywords): Add new patterns.
12650 (makefile-match-function-end): Match new [...] and [[...]].
12651
11636b22
JB
126522011-12-11 Juanma Barranquero <lekktu@gmail.com>
12653
12654 * ses.el (ses-call-printer-return, ses-cell-property-get)
12655 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
12656 (ses-create-cell-variable, ses-reset-header-string)
12657 (ses-cell-set-formula, ses-repair-cell-reference-all)
12658 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
12659 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
12660 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
12661 (ses-aset-with-undo, ses-load, ses-truncate-cell)
12662 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
12663 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
12664 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
12665 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
12666 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
12667 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
12668 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
12669 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
12670
cf018193
VB
126712011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
12672
12673 * ses.el: The overall change is to add cell renaming, that is
12674 setting fancy names for cell symbols other than name matching
12675 "\\`[A-Z]+[0-9]+\\'" regexp .
12676 (ses-create-cell-variable): New defun.
12677 (ses-relocate-formula): Relocate formulas only for cells the
12678 symbols of which are not renamed, i.e. symbols whose names do not
12679 match regexp "\\`[A-Z]+[0-9]+\\'".
12680 (ses-relocate-all): Relocate values only for cells the symbols of
12681 which are not renamed.
12682 (ses-load): Create cells variables as the (ses-cell ...) are read,
12683 in order to check row col consistency with cell symbol name only
12684 for cells that are not renamed.
12685 (ses-replace-name-in-formula): New defun.
12686 (ses-rename-cell): New defun.
12687
ee957461
CY
126882011-12-11 Chong Yidong <cyd@gnu.org>
12689
12690 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
12691 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
12692
9a9e9ef0
MR
126932011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
12694
12695 * window.el (other-window): Fix docstring.
12696
92a8eba5
EZ
126972011-12-10 Eli Zaretskii <eliz@gnu.org>
12698
12699 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
12700 `from' or `to' address before taking its substring.
12701 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
12702 encoded name is chopped in the middle of the encoded string, and
12703 thus displayed encoded.
12704
e152e577
JB
127052011-12-10 Juanma Barranquero <lekktu@gmail.com>
12706
12707 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
12708
e5d84bfe
EZ
127092011-12-10 Eli Zaretskii <eliz@gnu.org>
12710
12711 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
12712 to use texinfo-update-node and commands that call it if the
12713 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 12714 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
12715 (texinfo-all-menus-update, texinfo-master-menu)
12716 (texinfo-update-node, texinfo-every-node-update)
12717 (texinfo-multiple-files-update): Doc fix. Warn against updating
12718 all the @node lines.
12719 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
12720 argument is numeric. Explain better in the doc string what the
12721 function really does.
12722 (texinfo-insert-master-menu-list): Improve the error message
12723 displayed if there's no menu in the Top node.
12724 (Bug#2975) See also this thread:
e5d84bfe
EZ
12725 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
12726
1d84e9bb
MG
127272011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
12728
12729 * speedbar.el (speedbar-supported-extension-expressions):
12730 Add .adb and .ads, commonly used for Ada source code (bug#10256).
12731
382c953b
JB
127322011-12-09 Juanma Barranquero <lekktu@gmail.com>
12733
12734 * printing.el (pr-mode-alist):
12735 * simple.el (filter-buffer-substring-functions)
12736 (completion-list-insert-choice-function):
12737 * window.el (window-with-parameter, window-atom-root)
12738 (window-sides-slots, window-size-fixed, window-min-delta)
12739 (window-max-delta, window--resize-mini-window)
12740 (window--resize-child-windows-normal, window-tree)
12741 (delete-other-windows, quit-window, split-window)
12742 (display-buffer-record-window, special-display-buffer-names)
12743 (special-display-regexps, special-display-popup-frame)
12744 (same-window-p, split-window-sensibly)
12745 (display-buffer-overriding-action, display-buffer-alist)
12746 (display-buffer-base-action, display-buffer, switch-to-buffer)
12747 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
12748 (fit-window-to-buffer, recenter-positions)
12749 (mouse-autoselect-window-state, mouse-autoselect-window-select):
12750 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
12751 and remove unneeded backslashes in docstrings.
12752
39c9faef
SM
127532011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
12754
98449af8
SM
12755 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
12756
39c9faef
SM
12757 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
12758 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
12759 end in ".mk".
12760 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
12761 when reading the makefile (bug#10116).
12762
86ed9fdc
SM
127632011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
12764
12765 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
12766 (bug#10116).
12767
5580f89d
GM
127682011-12-06 Glenn Morris <rgm@gnu.org>
12769
12770 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
12771
28d3917c
CY
127722011-12-06 Chong Yidong <cyd@gnu.org>
12773
12774 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
12775
a98edce9
JB
127762011-12-06 Juanma Barranquero <lekktu@gmail.com>
12777
12778 * textmodes/table.el (table-shorten-cell): Fix typo.
12779
e65adfac
CG
127802011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
12781
12782 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
12783
71cc0b74
EZ
127842011-12-05 Eli Zaretskii <eliz@gnu.org>
12785
12786 * descr-text.el (describe-char): Fix display of strong
12787 right-to-left characters and directional embeddings and overrides.
12788
12789 * simple.el (what-cursor-position): Fix display of codepoints of
12790 strong right-to-left characters.
12791
315bc30d
CY
127922011-12-05 Chong Yidong <cyd@gnu.org>
12793
12794 * faces.el (read-color): Doc fix.
12795
58a70b94
GM
127962011-12-05 Glenn Morris <rgm@gnu.org>
12797
12798 * align.el (align--set-marker): Add doc-string.
12799 Don't try to move something that is not a marker. (Bug#10216)
12800
5158face
GM
128012011-12-04 Glenn Morris <rgm@gnu.org>
12802
12803 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
12804 overly zealous deletion of trailing whitespace.
12805
520fca41
JB
128062011-12-04 Juanma Barranquero <lekktu@gmail.com>
12807
12808 * server.el (server-delete-client): On Windows, do not try to delete
12809 the only terminal.
12810 (server-process-filter): On Windows, treat requests for a tty frame as
12811 if they were for a GUI frame if the running server is in GUI mode.
12812
5e605a2e
GM
128132011-12-03 Glenn Morris <rgm@gnu.org>
12814
12815 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
12816
5c3fe83f
SM
128172011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
12818
6f5e57e7
SM
12819 * electric.el: Streamline electric-indent's hook.
12820 (electric-indent-chars): Revert to simple list.
12821 (electric-indent-functions): New var.
12822 (electric-indent-post-self-insert-function): Use it.
12823
5c3fe83f
SM
12824 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
12825 there's no inferior buffer (bug#10196).
12826 (prolog-consult-compile): Don't use toggle-read-only.
12827
6bdac736
MA
128282011-12-02 Michael Albinus <michael.albinus@gmx.de>
12829
12830 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
12831 interrupt. (Bug#10187)
12832
6131ba7f
SM
128332011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
12834
99c79fee
SM
12835 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
12836 (bug#9160).
12837
6131ba7f
SM
12838 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
12839 (bug#10191).
12840
cb0a02ea
JL
128412011-12-02 Juri Linkov <juri@jurta.org>
12842
12843 * info.el (Info-search): Display "end of manual" when Isearch
12844 reaches the end of single-file Info manual. (Bug#9918)
12845
66e0570c
EZ
128462011-12-02 Eli Zaretskii <eliz@gnu.org>
12847
12848 * isearch.el (isearch-message-prefix): Run the input method part
12849 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
12850
02b16839
JL
128512011-12-02 Juri Linkov <juri@jurta.org>
12852
12853 * isearch.el (isearch-occur): Use `word-search-regexp' for
12854 `isearch-word'.
12855 (isearch-search-and-update): Add condition for `isearch-word' and
12856 call `word-search-regexp'. (Bug#10145)
12857
0b950688
GM
128582011-12-01 Glenn Morris <rgm@gnu.org>
12859
12860 * eshell/em-hist.el (eshell-hist-initialize):
12861 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 12862 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 12863
9505c3c7
SM
128642011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
12865
12866 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
12867
1bbe96b2 128682011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 12869
a1beca85
SM
12870 * progmodes/verilog-mode.el (verilog-pretty-expr):
12871 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
12872 verilog, such as += *= and the like.
12873 (verilog-assignment-operator-re): Regular expression to find the
12874 assigment operator in a verilog assignment.
12875 (verilog-assignment-operation-re): Regular expression to find an
12876 assignment statement for pretty-expr.
12877 (verilog-in-attribute-p): Query returns true if point is in an
12878 attribute context; used to skip these for expression line up from
12879 pretty-expr.
12880 (verilog-in-parameter-p): Query returns true if point is in an
12881 parameter definition context; used to skip these for expression
12882 line up from pretty-expr.
12883 (verilog-in-parenthesis-p): Query returns true if point is in a
12884 parenthetical expression, specifically ( ) but not [ ] or { };
12885 used by pretty-expr.
12886 (verilog-just-one-space): If there is no space, don't add one.
12887 (verilog-get-lineup-indent-2): Specifically skip just attribute
12888 contexts for expression lineup, rather than skipping all
12889 parenthetical expressions.
12890 (verilog-calculate-indent): Fix comment, and fix indent.
12891 (verilog-do-indent): Indent declarations in lists (suggested by
12892 Joachim Lechner).
12893 (verilog-mode-abbrev-table): Populate abbrev mode with the various
12894 skeleton items.
12895 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
12896 by Alain Mellan).
12897
1bbe96b2 128982011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
12899
12900 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
12901 parameters with embedded comments. Reported by Ray Stevens.
12902 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
12903 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
12904 Reported by Tim Holt.
12905 (verilog-auto): Fix AUTOing a upper module then AUTOing module
12906 instantiated by upper module causing wrong expansion until AUTOed a
12907 second time. Reported by K C Buckenmaier.
12908 (verilog-diff-auto): Fix showing .* as a difference when
12909 `verilog-auto-star-save' off. Reported by Dan Dever.
12910 (verilog-auto-reset, verilog-read-always-signals)
12911 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
12912 temporary signals in reset list if
12913 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
12914 style to each signal's assignment type, bug381.
12915 Reported by Thomas Esposito.
6288f0ca
WS
12916 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
12917 (verilog-uvm-statement-re): Support UVM indentation and
12918 highlighting, with old OVM keywords only.
a1beca85 12919 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
12920 Support AUTOTIEOFF creating non-wire data types.
12921 Suggested by Jonathan Greenlaw.
6288f0ca
WS
12922 (verilog-auto-insert-lisp, verilog-delete-to-paren)
12923 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
12924 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
12925 (verilog-read-sub-decls, verilog-read-sub-decls-line):
12926 Fix mismatching parenthesis inside commented out code when deleting
382c953b 12927 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
12928 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
12929 non-numeric vector width. Reported by Alex Reed.
12930 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 12931 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
12932 (verilog-auto-delete-trailing-whitespace):
12933 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
12934 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
12935 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
12936 Fix verilog-scan-cache corruption when running user AUTO expansion
12937 hooks that call indentation routines.
12938 (verilog-simplify-range-expression): Fix typo ignoring lower case
12939 identifiers.
12940 (verilog-delete-auto): Fix delete-autos to also remove user created
12941 automatics, as long as they start with AUTO.
12942 (verilog-batch-diff-auto, verilog-diff-auto)
12943 (verilog-diff-function): Add `verilog-diff-auto' and bind to
12944 "C-c?" to report differences in AUTO expansion, ignoring spaces.
12945 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
12946 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
12947 (verilog-re-search-forward-quick, verilog-syntax-ppss):
12948 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
12949 is disabled and its cache will get corrupt, causing AUTOS not to
12950 expand. Instead use only -quick functions.
12951 (verilog-scan-region): Fix scanning over escaped quotes.
12952 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
12953 (verilog-re-search-backward-quick)
12954 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
12955 related functions now ignore strings, to fix misparsing of strings
12956 with magic comments embedded in them.
a1beca85
SM
12957 (verilog-read-auto-template):
12958 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
12959 Reported by Brad Dobbie.
12960 (verilog-read-auto-template):
12961 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 12962 Reported by Brad Dobbie.
6288f0ca
WS
12963 (verilog-auto-inst, verilog-auto-inst-param)
12964 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
12965 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
12966 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
12967 debugging templates without merge conflicts, bug357.
12968 Reported by Brad Dobbie.
12969 (verilog-read-auto-template):
12970 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
12971 Reported by Brad Dobbie.
12972 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
12973 abbrevs so user won't be asked to save.
12974 (verilog-read-auto-lisp-present): Fix to start at beginning of
12975 buffer in case called outside of verilog-auto.
12976 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
12977 to "X-2". Reported by Matthew Myers.
12978 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
12979 all inputs from module templates. Reported by Leith Johnson.
12980 (verilog-module-inside-filename-p): Fix locating programs as with
12981 modules.
12982 (verilog-auto-inst-port): Fix vl-width expressions when using
12983 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
12984 (verilog-decls-get-regs, verilog-decls-get-signals,
12985 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
12986 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
12987 verilog-read-decls): Combine reg and wire structures into one var
12988 structure to represent SystemVerilog concepts.
12989 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
12990 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
12991 (verilog-auto-wire-type, verilog-insert-definition):
12992 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
12993 SystemVerilog "logic" keyword instead of "wire"/"reg".
12994 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
12995 to declares outputs that also have assignments (presumably in an
a1beca85
SM
12996 ifdef or generate if so there's not a driver conflict).
12997 Reported by Matthew Myers.
12998 (verilog-auto-declare-nettype, verilog-insert-definition):
12999 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
13000 `default_nettype none. Reported by Julian Gorfajn.
13001 (verilog-read-always-signals-recurse, verilog-read-decls)
13002 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
13003 malformed end statement, bug325. Reported by Joshua Wise and
13004 Andrew Drake.
13005 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
13006 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
13007 when expanding .* in interfaces, bug320.
13008 Reported by Pierre-David Pfister.
6288f0ca 13009 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
13010 name and open parenthesis, bug317.
13011 Reported by Pierre-David Pfister.
6288f0ca
WS
13012 (verilog-simplify-range-expression): Fix simplification of
13013 multiplications inside AUTOWIRE connections, bug303.
13014 (verilog-auto-inst-port): Support parameter expansion in
13015 multidimensional arrays.
13016 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
13017 after "assert property". Reported by Julian Gorfajn.
13018 (verilog-simplify-range-expression): Fix "couldn't merge" errors
13019 with multiplication, bug303.
13020 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
13021 Reported by Jan Frode Lonnum.
13022
1bbe96b2
GM
130232011-11-30 Juanma Barranquero <lekktu@gmail.com>
13024
13025 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
13026 (hfy-shell-file-name, hfy-shell):
13027 * international/fontset.el (x-decompose-font-name): Fix typos.
13028
130292011-11-29 Ken Brown <kbrown@cornell.edu>
13030
13031 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
13032 (gdb-version): Remove defvar.
13033 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
13034 (gdb-gud-context-command, gdb-non-stop-handler)
13035 (gdb-current-context-command, gdb-stopped): Use it.
13036 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
13037 (gdb-non-stop-handler): Don't enable pretty-printing here.
13038 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
13039 non-stop mode. Use the following.
13040 (gdb-check-target-async): New defun.
13041 (gud-watch, gdb-stopped): Fix whitespace.
13042 (gdb-get-source-file): Don't try to display the source file if
13043 `gdb-main-file' is nil.
13044
130452011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
13046
13047 * align.el: Try to generate fewer markers (bug#10047).
13048 (align--set-marker): New macro.
13049 (align-region): Use it.
13050
c935221f
SM
130512011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
13052
13053 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
13054
e70b5064
CY
130552011-11-29 Chong Yidong <cyd@gnu.org>
13056
13057 * indent.el (indent-for-tab-command, indent-according-to-mode):
13058 Doc fix.
13059 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
13060
f3af92b7
MA
130612011-11-29 Michael Albinus <michael.albinus@gmx.de>
13062
13063 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
13064 aware of remote file names. (Bug#10124)
13065
ed472be9
CY
130662011-11-29 Chong Yidong <cyd@gnu.org>
13067
13068 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
13069
24510c22
SM
130702011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
13071
13072 * files.el (find-file): Don't use force-same-window (bug#10144).
13073 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
13074 use pop-to-buffer if the selected window can't be used.
13075 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
13076
c60c3703
EZ
130772011-11-28 Eli Zaretskii <eliz@gnu.org>
13078
13079 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
13080 special-mode-map.
13081
e95def75
CY
130822011-11-28 Chong Yidong <cyd@gnu.org>
13083
13084 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
13085
c3f1c606
NR
130862011-11-27 Nick Roberts <nickrob@snap.net.nz>
13087
13088 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
13089 gdb-get-source-file-list on gdb-create-source-file-list.
13090
00db469c
EZ
130912011-11-26 Eli Zaretskii <eliz@gnu.org>
13092
13093 * whitespace.el (whitespace-newline): Use a different foreground
13094 color for 16-color light-background displays.
13095
4ad3bc2a
CY
130962011-11-24 Chong Yidong <cyd@gnu.org>
13097
13098 * window.el (display-buffer--special-action): Doc fix.
13099
e9fce1ac
JB
131002011-11-25 Juanma Barranquero <lekktu@gmail.com>
13101
13102 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
13103 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
13104 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
13105 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
13106 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
13107 (avl-tree-stack-first):
13108 * emacs-lisp/cconv.el (cconv--analyse-use):
13109 * net/gnutls.el (gnutls-negotiate): Fix typos.
13110
cb825e5d
GM
131112011-11-24 Glenn Morris <rgm@gnu.org>
13112
3adbe224
GM
13113 * lpr.el (lpr-windows-system, lpr-lp-system):
13114 * mail/binhex.el (binhex-begin-line):
13115 * progmodes/grep.el (grep-history, grep-find-history):
13116 * textmodes/flyspell.el:
13117 * vc/pcvs-defs.el (cvs-global-menu):
13118 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
13119 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
13120 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
13121
321decc8
GM
13122 * net/tls.el: Fix case of "GnuTLS".
13123
420b63ad
GM
13124 * paths.el (rmail-file-name): Format doc-string for make-docfile.
13125
cb825e5d
GM
13126 * version.el (emacs-build-system): Give it a doc-string.
13127
a0649f08
JL
131282011-11-24 Juri Linkov <juri@jurta.org>
13129
13130 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
13131
c0bc0fd4
GM
131322011-11-24 Glenn Morris <rgm@gnu.org>
13133
13134 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
13135 if called on a non-mime message just toggle the headers. (Bug#8006)
13136
20db1522
JB
131372011-11-24 Juanma Barranquero <lekktu@gmail.com>
13138
13139 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
13140 (allout-lead-with-comment-string, allout-structure-deleted-hook)
13141 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
13142 (allout-rebullet-heading, allout-open-sibtopic)
13143 (allout-toggle-current-subtree-encryption)
13144 (allout-toggle-subtree-encryption, allout-encrypt-string)
13145 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
13146 (allout-distinctive-bullets-string, allout-auto-activation):
13147 * window.el (window-normalize-buffer-to-display):
13148 * progmodes/verilog-mode.el (verilog-batch-indent):
13149 * textmodes/bibtex.el (bibtex-field-braces-opt)
13150 (bibtex-field-strings-opt):
13151 * vc/cvs-status.el (cvs-tree-merge):
13152 Fix typos.
13153
7262a87c
MA
131542011-11-23 Michael Albinus <michael.albinus@gmx.de>
13155
13156 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
13157 `non-essential' to t, in order to avoid remote connections.
13158
283430a1
EZ
131592011-11-23 Eli Zaretskii <eliz@gnu.org>
13160
a1beca85
SM
13161 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
13162 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
13163 case-insensitively.
13164
d2992a38
ML
131652011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
13166
13167 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
13168
50419064
GM
131692011-11-23 Glenn Morris <rgm@gnu.org>
13170
da94eca1
GM
13171 * paths.el (rmail-file-name): Reformat the doc-string so that it
13172 is picked up.
13173
9aac4de2
GM
13174 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
13175 (rmail-auto-file): Ignore case in the "special" field names,
13176 as mail-fetch-field does for all others.
13177
8038d2d2
GM
13178 * mail/rmail.el (rmail-forward):
13179 * mail/rmailkwd.el (rmail-set-label):
13180 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
13181 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
13182
f3fe222a
GM
13183 * mail/rmail.el (rmail-current-message): Doc fix.
13184
50419064
GM
13185 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
13186
28109f49
SM
131872011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
13188
13189 * server.el (server-eval-and-print): Allow C-g (bug#6585).
13190
394c65f1
GM
131912011-11-22 Glenn Morris <rgm@gnu.org>
13192
13193 * mail/rmailmm.el (test-rmail-mime-handler)
13194 (test-rmail-mime-bulk-handler)
13195 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
13196
f2a0aa3a
JL
131972011-11-21 Juri Linkov <juri@jurta.org>
13198
1154d12e
JB
13199 * calc/calc.el (calc-read-key-sequence):
13200 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 13201
9c34a344
LMI
132022011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13203
13204 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
13205 Tell the caller that the next line needs recomputation, even
13206 though it doesn't start a sexp (bug#10094).
13207
f04a3be9
SM
132082011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
13209
13210 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
13211
7978747f
SM
132122011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
13213
f04a3be9
SM
13214 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
13215 Use force-same-window.
7978747f 13216
fe7a3057
JB
132172011-11-20 Juanma Barranquero <lekktu@gmail.com>
13218
13219 * descr-text.el (describe-char-unicode-data):
13220 * json.el (json-string-escape):
13221 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
13222 (Footnote-unicode, Footnote-style-p):
13223 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
13224
24901d61
CY
132252011-11-20 Chong Yidong <cyd@gnu.org>
13226
13227 * window.el (replace-buffer-in-windows): Restore interactive spec.
13228
bac7ff22
SM
132292011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
13230
24f3d7b9
SM
13231 * electric.el (electric-indent-mode): Fix last change (too optimistic).
13232
bac7ff22
SM
13233 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
13234 (byte-compile-global-not-obsolete-vars): New var.
13235 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
13236 Use it.
13237 (byte-compile-warn-obsolete): Align text with the one in *Help*.
13238
cd1181db
JB
132392011-11-20 Juanma Barranquero <lekktu@gmail.com>
13240
13241 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
13242 * progmodes/pascal.el (electric-pascal-equal):
13243 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
13244 * xml.el (xml-substitute-special): Fix typos.
13245
7fb18e9e
GM
132462011-11-20 Glenn Morris <rgm@gnu.org>
13247
13248 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
13249 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
13250 Doc fixes.
13251 (rmail-decode-mime-charset): Mark as obsolete.
13252
13253 * mail/rmailsum.el (rmail-message-regexp-p-1):
13254 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
13255 Before using mime functions, check they are set. (Bug#10077)
13256
d5a6b3ba
JL
132572011-11-19 Juri Linkov <juri@jurta.org>
13258
13259 * info.el (Info-finder-find-node): Use `package--builtins' instead
13260 of `package-alist'. Use node names formed by the pattern "Keyword "
13261 and the keyword name.
13262
e981b61f
AS
132632011-11-19 Andreas Schwab <schwab@linux-m68k.org>
13264
1d00653d 13265 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 13266
3ffbc301
JL
132672011-11-19 Juri Linkov <juri@jurta.org>
13268
13269 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
13270 that calls `revert-buffer' on all Info buffers. (Bug#9915)
13271 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
13272 `old-history', `old-history-forward'. Add let-binding
13273 `window-selected'. Remove calls to `kill-buffer',
13274 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
13275 before calling `Info-find-node', so `Info-find-node-2' will reread
13276 the Info file. Restore window positions only when `window-selected'
13277 is non-nil.
13278
30c62133
JL
132792011-11-19 Juri Linkov <juri@jurta.org>
13280
13281 * isearch.el (isearch-lazy-highlight-new-loop):
13282 Remove condition `(not isearch-error)'. (Bug#9918)
13283
13284 * misearch.el (multi-isearch-search-fun): Add condition
13285 `(not bound)' to ignore lazy-highlighting search.
13286 Add the search-failed message "end of multi" when the end of
13287 multi-sequence is reached. Uncapitalize the search-failed
13288 message "Repeat for next buffer".
13289
13290 * info.el (Info-search): Add the search-failed message
13291 "end of the manual" when the end of the manual is reached
13292 in Isearch mode.
13293
645ca9cf
JL
132942011-11-19 Juri Linkov <juri@jurta.org>
13295
13296 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
13297 Use non-destructive `remove' instead of `delete' because
13298 `Info-history-list' stored to `Info-isearch-initial-history-list' in
13299 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
13300
df754f66
JL
133012011-11-19 Juri Linkov <juri@jurta.org>
13302
13303 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
13304 to nil instead of binding `search-ring' and `regexp-search-ring'.
13305 (Bug#9185)
13306
0e23d96a
EZ
133072011-11-19 Eli Zaretskii <eliz@gnu.org>
13308
13309 * simple.el (line-move): Force movement by logical lines for any
13310 hscrolled window, not only when auto-hscroll-mode is on.
13311 (line-move-visual): Update doc string to that effect. (Bug#10076)
13312
8a6ccb66
AS
133132011-11-19 Andreas Schwab <schwab@linux-m68k.org>
13314
13315 * language/european.el (macintosh): Define as alias for mac-roman.
13316
49ae5b39
EZ
133172011-11-19 Eli Zaretskii <eliz@gnu.org>
13318
13319 * mail/rmailmm.el (rmail-mime-display-header)
13320 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
13321 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
13322 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
13323 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
13324 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
13325 of a raw aref.
13326 (rmail-mime-entity-segment): To get past the tagline, move forward
13327 2 more lines, to account for the 2 empty lines that precede and
13328 follow the line with the buttons.
13329 (rmail-mime-update-tagline): Move one more line, to get past the
13330 empty line that follows the buttons in the tagline. (Bug#9520)
13331
c56cad4a
MR
133322011-11-19 Martin Rudalics <rudalics@gmx.at>
13333
13334 * window.el (window-max-delta-1, window-min-delta-1)
13335 (window-min-size-1, window-state-get-1, window-state-put-1)
13336 (window-state-put-2): Use "window--" prefix.
13337
cbe71af3
SM
133382011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
13339
2ad52c60
SM
13340 * emacs-lisp/smie.el: Improve warnings and conflict detection.
13341 (smie-warning-count): New var.
13342 (smie-set-prec2tab): Use it.
13343 (smie-bnf->prec2): Improve warnings. Add docstring.
13344 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
13345 (smie-bnf--set-class): New function.
13346 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
13347 corner case.
13348
6944dbc1
SM
13349 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
13350 (compilation-error-properties, compilation-move-to-column):
13351 Handle compilation-first-column while in the target buffer.
13352
c400c4d7
SM
13353 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
13354 Don't hardcode point-min==1.
13355
6dbe3e96
SM
13356 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
13357 (eshell-rewrite-for-command): Remove workaround.
13358 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
13359 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
13360 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
13361
cbe71af3
SM
13362 * files-x.el (modify-file-local-variable): Obey commenting conventions.
13363
a8e1496d
GM
133642011-11-17 Glenn Morris <rgm@gnu.org>
13365
13366 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
13367 Ignore buffer-local generated-autoload-file if it is the same
13368 as the global value. (Bug#10049)
13369
df85d315
JB
133702011-11-17 Juanma Barranquero <lekktu@gmail.com>
13371
13372 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
13373 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
13374 (reftex-toc-previous-heading, reftex-toc-max-level)
13375 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
13376 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
13377 (reftex-toc-do-promote, reftex-toc-promote-prepare)
13378 (reftex-toc-promote-action, reftex-toc-extract-section-number)
13379 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
13380 (reftex-toc-rename-label, reftex-toc-visit-location)
13381 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
13382 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
13383 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
13384 leaving "*toc*" only for references to the buffer.
13385
a0c2d0ae
MR
133862011-11-17 Martin Rudalics <rudalics@gmx.at>
13387
13388 * window.el (window-resize, delete-window, split-window):
13389 Replace window-splits by window-combination-resize.
1d00653d 13390 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 13391
35c0bac8
GM
133922011-11-17 Glenn Morris <rgm@gnu.org>
13393
13394 * progmodes/sh-script.el (sh-font-lock-keywords-var):
13395 Make bash entry derive from sh entry, not shell entry.
13396
d0c8fc8a
MA
133972011-11-16 Michael Albinus <michael.albinus@gmx.de>
13398
7262a87c
MA
13399 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
13400 local file name.
13401
7877f373
JB
134022011-11-16 Juanma Barranquero <lekktu@gmail.com>
13403
13404 * menu-bar.el (menu-bar-file-menu):
13405 * printing.el (pr-ps-utility):
13406 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
13407 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
13408 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
13409 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
13410 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
13411 (icalendar--convert-cyclic-to-ical)
13412 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
13413 (icalendar--convert-ical-to-diary)
13414 (icalendar--convert-recurring-to-diary)
13415 (icalendar--convert-non-recurring-all-day-to-diary)
13416 (icalendar-import-format-sample):
13417 * progmodes/idlw-shell.el (idlwave-shell-mode):
13418 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
13419 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
13420 (vhdl-ps-print-init): Fix typos.
13421
10649b82
KM
134222011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
13423
9d0cfcd6
GM
13424 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
13425 FSF and collapse date sequence, obscure author/maintainer email address
13426 better, remove extra version line, track relocation of author's webpage.
10649b82 13427
9d0cfcd6
GM
13428 * progmodes/python.el (python-pdbtrack-input-prompt)
13429 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
13430 regular python pdb prompts. Adjustments shamelessly taken exactly as
13431 suggested in EmacsWiki page (tiny change):
13432 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 13433
58179cce
JB
134342011-11-16 Juanma Barranquero <lekktu@gmail.com>
13435
13436 * expand.el (expand-pos, expand-index, expand-point):
13437 Remove redundant info from docstring.
13438 (expand-add-abbrevs): Doc fix.
13439 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
13440 (expand-sample-perl-mode-expand-list): Fix typos.
13441
13442 * net/dbus.el (dbus-event-member-name):
13443 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
13444 * term/pc-win.el (msdos-create-frame-with-faces):
13445 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
13446
b6f67890
MR
134472011-11-16 Martin Rudalics <rudalics@gmx.at>
13448
13449 * window.el (split-window, window-state-get-1)
13450 (window-state-put-1, window-state-put-2): Rename occurrences of
13451 window-nest to window-combination-limit.
1d00653d 13452 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 13453
ce7ddba0
CY
134542011-11-16 Chong Yidong <cyd@gnu.org>
13455
13456 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
13457 regexp (Bug#10033).
13458
3ae704f4
SM
134592011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
13460
13461 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
13462 `completing-read' will remove *Completions* and will preserve
13463 current-buffer for us.
13464 (tmm-add-prompt): Users of *Completions* will always (re)set its
13465 major mode.
13466 (tmm-old-comp-map): Remove.
13467
6ad1cdde
GM
134682011-11-16 Glenn Morris <rgm@gnu.org>
13469
13470 * mail/rmailedit.el: Require rmailmm when compiling.
13471 (rmail-old-mime-state): New declaration.
13472 (rmail-edit-current-message): If editing a mime message,
13473 edit the "raw" message from the mbox buffer.
13474 (rmail-cease-edit): Handle mime messages. (Bug#9840)
13475
d20faa20
GM
134762011-11-15 Glenn Morris <rgm@gnu.org>
13477
13478 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
13479 which wasn't being used. Add optional arg to force given state.
13480 (rmail-mime): Add optional arg to force given state.
13481
c7015153
JB
134822011-11-15 Juanma Barranquero <lekktu@gmail.com>
13483
13484 * allout.el (allout-encryption-plaintext-sanitization-regexps):
13485 * frame.el (display-mm-dimensions-alist):
13486 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
13487 (outline-move-subtree-down):
13488 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
13489 (newsticker--treeview-do-get-node):
13490 * net/quickurl.el (quickurl-list-buffer-name):
13491 * progmodes/dcl-mode.el (dcl-mode):
13492 * progmodes/gdb-mi.el (gdb-mapcar*):
13493 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
13494
45261b50
GM
134952011-11-15 Glenn Morris <rgm@gnu.org>
13496
13497 * mail/rmail.el (rmail-file-coding-system): It's only ever used
13498 in a boolean sense, so just make it a boolean, and fix the doc.
13499 (rmail-show-mime-function, rmail-mime-feature)
13500 (rmail-require-mime-maybe): Doc fixes.
13501 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
13502
13503 * mail/rmailmm.el (rmail-show-mime): Doc fix.
13504
0d26e0b6
JB
135052011-11-15 Juanma Barranquero <lekktu@gmail.com>
13506
13507 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
13508 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
13509 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
13510 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
13511
447f30f6
GM
135122011-11-15 Glenn Morris <rgm@gnu.org>
13513
672b871d
GM
13514 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
13515 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
13516 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
13517 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
13518 (rmail-mime, rmail-show-mime): Doc fixes.
13519
f6aa5bb1
GM
13520 * term/ns-win.el (mode-line-frame-identification):
13521 Leave it alone. (Bug#10051)
13522
947cd66b
GM
13523 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
13524
447f30f6
GM
13525 * mail/rmailout.el (rmail-output-to-rmail-buffer):
13526 Handle empty buffers. (Bug#9978)
13527
0b381c7e
JB
135282011-11-14 Juanma Barranquero <lekktu@gmail.com>
13529
13530 * international/mule.el (define-charset):
13531 * mail/rmailmm.el (rmail-mime-find-header-encoding):
13532 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
13533 * progmodes/verilog-mode.el (verilog-backward-token):
13534 * textmodes/ispell.el (lookup-words):
13535 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
13536
71e027ac
GM
135372011-11-14 Glenn Morris <rgm@gnu.org>
13538
56632ce4
GM
13539 * progmodes/executable.el
13540 (executable-make-buffer-file-executable-if-script-p):
13541 Handle file-modes returning nil.
13542
40500957
GM
13543 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
13544 message - not necessary, and causes problems. (Bug#9831)
13545
071c2340
GM
13546 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
13547
d3cfca60
GM
13548 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
13549
71e027ac
GM
13550 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
13551 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
13552 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
13553
89d61221
MR
135542011-11-12 Martin Rudalics <rudalics@gmx.at>
13555
13556 * window.el (window-resize, delete-window): Use window-splits
13557 variable instead of function.
13558 (window-state-get-1, window-state-put-2, window-state-put):
13559 Don't deal with windows' splits status.
13560
98282f6f
GM
135612011-11-12 Glenn Morris <rgm@gnu.org>
13562
13563 * apropos.el (apropos-do-all, apropos-library, apropos-value)
13564 (apropos-documentation): Doc fixes.
13565
40a8bdf6
JB
135662011-11-11 Juanma Barranquero <lekktu@gmail.com>
13567
13568 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
13569 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
13570
65bd19ff
SM
135712011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
13572
13573 * electric.el (electric-indent-post-self-insert-function): Make it
13574 possible for a char to only indent in some circumstances.
13575 (electric-indent-mode): Simplify.
13576
54f9154c
MR
135772011-11-11 Martin Rudalics <rudalics@gmx.at>
13578
13579 * window.el (windows-with-parameter): Remove unused function.
13580 (windows-at-side): Rename to window-at-side-list.
13581 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
13582 (window-side-check, window-size-ignore, window-size-fixed-1)
13583 (window-in-direction-2): Prefix with "window--".
13584 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 13585
68cbc58b
GM
135862011-11-11 Glenn Morris <rgm@gnu.org>
13587
13588 * subr.el (eval-after-load): If FILE is already loaded,
13589 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
13590
b2621720
GM
135912011-11-10 Glenn Morris <rgm@gnu.org>
13592
9a4de110
GM
13593 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
13594 Call svn via vc-svn-command rather than vc-do-command.
13595 (vc-svn-command): Add --non-interactive. (Bug#9993)
13596 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
13597
b2621720
GM
13598 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
13599 Add toggle-read-only. (Bug#7292)
13600 * files.el (toggle-read-only): Mention that it should only
13601 be used interactively. (Bug#10006)
13602
1dce7193
SM
136032011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
13604
d9ac1a1e
SM
13605 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13606 Adjust regexp for OCaml warnings.
13607
0c325082
SM
13608 * electric.el (electric-pair-post-self-insert-function): Let user
13609 turn it off buffer-locally (bug#9932).
13610
90132c14
SM
13611 * progmodes/python.el (python-beginning-of-statement):
13612 Rewrite (bug#2703).
13613
1dce7193
SM
13614 * progmodes/compile.el: Better handle TABs (bug#9749).
13615 (compilation-internal-error-properties)
13616 (compilation-next-error-function): Obey the target buffer's
13617 compilation-error-screen-columns.
13618
c4e7c63a
JB
136192011-11-09 Juanma Barranquero <lekktu@gmail.com>
13620
13621 * progmodes/meta-mode.el: Remove obsolete comments.
13622 (meta-right-comment-regexp, meta-ignore-comment-regexp):
13623 Fix typos in docstrings.
13624
2cffd681
MR
136252011-11-09 Martin Rudalics <rudalics@gmx.at>
13626
13627 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 13628 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
13629 (window--resizable): New function. Make all callers of
13630 window-resizable call window--resizable instead.
13631 (window-resizable): Rewrite in terms of window--resizable.
13632
0edcba87
GM
136332011-11-08 Glenn Morris <rgm@gnu.org>
13634
13635 * progmodes/delphi.el (delphi-mode-syntax-table):
13636 Let define-derived-mode define a proper syntax table. (Bug#9994)
13637
4b0d61e3
SM
136382011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
13639
13640 * window.el: Stay away from defsubst.
13641 (window-list-no-nils): Remove.
13642 (window-state-get-1, window-state-get): Use backquote instead.
13643
cd394be1 136442011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 13645
4b0d61e3 13646 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 13647 Fix incorrect use of default argument in `completing-read'.
13648
e1c2c6f2
MR
136492011-11-08 Martin Rudalics <rudalics@gmx.at>
13650
13651 * window.el (display-buffer-function, special-display-function):
13652 Mention display-buffer-record-window but do not mention
13653 help-setup parameter in doc-strings.
b3f4a882 13654 (window-min-delta): Fix doc-string typo.
e1c2c6f2 13655
105216ed
CY
136562011-11-08 Chong Yidong <cyd@gnu.org>
13657
13658 * window.el (window-total-height, window-total-width): Doc fix.
13659 (window-body-size): Move from C.
13660 (window-body-height, window-body-width): Move to C.
13661
0a9f9ab5
SM
136622011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
13663
13664 * window.el: Make special-display like display-buffer-alist (bug#9532).
13665 (display-buffer--special-action): New function, morphed
13666 from display-buffer--special.
13667 (display-buffer): Use it to handle special-display-buffers at higher
13668 priority (just after display-buffer-alist).
13669 (display-buffer-fallback-action, display-buffer--other-frame-action)
13670 (pop-to-buffer-same-window): Remove display-buffer--special.
13671
a769dd15
GM
136722011-11-07 Glenn Morris <rgm@gnu.org>
13673
13674 * calendar/cal-menu.el (cal-menu-set-date-title):
13675 Do nothing if not in a calendar. (Bug#9976)
13676
05a61ee3
SM
136772011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
13678
13679 * files.el (find-file): Always use selected-window.
13680
be7f5545
MR
136812011-11-07 Martin Rudalics <rudalics@gmx.at>
13682
13683 * window.el (window-combinations): Make WINDOW argument
13684 mandatory. Rewrite doc-string.
13685 (walk-window-subtree, window-atom-check, window-min-delta)
13686 (window-max-delta, window--resize-this-window)
13687 (window--resize-root-window-vertically, window-tree)
13688 (balance-windows, window-state-put): Rewrite doc-strings as to
13689 not mention the term "subwindow".
13690 (window--resize-subwindows-skip-p): Rename to
13691 window--resize-child-windows-skip-p.
13692 (window--resize-subwindows-normal): Rename to
13693 window--resize-child-windows-normal.
13694 (window--resize-subwindows): Rename to
13695 window--resize-child-windows.
13696 (window-or-subwindow-p): Rename to window--in-subtree-p.
13697
3c6702ef
ML
136982011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
13699
13700 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
13701 Ensure that mbox format messages end in two newlines (Bug#9974).
13702
49745b39
CY
137032011-11-06 Chong Yidong <cyd@gnu.org>
13704
13705 * window.el (window-combination-p): Function deleted; its
13706 side-effect is not used in any existing code.
13707 (window-combinations, window-combined-p): Call window-*-child
13708 directly.
13709
24300f5f
CY
137102011-11-05 Chong Yidong <cyd@gnu.org>
13711
13712 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
13713 (window-size-ignore, window-state-get): Callers changed.
13714 (window-normalize-window): Rename from window-normalize-any-window.
13715 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 13716 (window-normalize-live-window): Delete.
447f16b8
CY
13717 (window-combination-p, window-combined-p, window-combinations)
13718 (walk-window-subtree, window-atom-root, window-min-size)
13719 (window-sizable, window-sizable-p, window-size-fixed-p)
13720 (window-min-delta, window-max-delta, window-resizable)
13721 (window-resizable-p, window-full-height-p, window-full-width-p)
13722 (window-current-scroll-bars, window-point-1, set-window-point-1)
13723 (window-at-side-p, window-in-direction, window-resize)
13724 (adjust-window-trailing-edge, maximize-window, minimize-window)
13725 (window-deletable-p, delete-window, delete-other-windows)
13726 (record-window-buffer, unrecord-window-buffer)
13727 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
13728 (quit-window, split-window, window-state-put)
13729 (set-window-text-height, fit-window-to-buffer)
13730 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 13731
89bd5ee1
EZ
137322011-11-04 Eli Zaretskii <eliz@gnu.org>
13733
53479029
EZ
13734 * mail/rmail.el (rmail-simplified-subject): Decode subject with
13735 rfc2047-decode-string.
13736 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
13737 warnings.
13738
89bd5ee1
EZ
13739 * window.el (window-body-height, window-body-width): Mention in
13740 the doc string that the return values are in frame's canonical
13741 units. (Bug#9949)
13742
bd17fdee
AM
137432011-11-03 Alan Mackenzie <acm@muc.de>
13744
13745 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
13746 change in cc-engine.el.
13747
acc825c5
SM
137482011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
13749
13750 * window.el (switch-to-buffer): Use `force-same-window' interactively.
13751
1885e5b8
MR
137522011-11-02 Martin Rudalics <rudalics@gmx.at>
13753
13754 * window.el (quit-window): Call unrecord-window-buffer after
13755 showing another buffer in the window. (Bug#9937)
acc825c5 13756 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 13757
ebe06da9
JB
137582011-11-02 Juanma Barranquero <lekktu@gmail.com>
13759
13760 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
13761 Accept status with more than 9 shelves. (Bug#9935)
13762 Reported by Colin D Bennett <colin@gibibit.com>.
13763
4ee88440
MR
137642011-11-01 Martin Rudalics <rudalics@gmx.at>
13765
13766 * help.el (with-help-window): Don't reference
13767 temp-buffer-show-specifiers in doc-string.
13768
08e1d82c
AS
137692011-10-31 Andreas Schwab <schwab@linux-m68k.org>
13770
13771 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
13772 menu-item.
13773
84bd6e9e
VJL
137742011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
13775
13776 * whitespace.el: New version 13.2.2.
13777 (whitespace-newline-mode): Disable properly. Reported by Sarah
13778 <EmacsWiki>.
13779
dba0634a
UJ
137802011-10-30 Ulf Jasper <ulf.jasper@web.de>
13781
13782 * net/newst-treeview.el: Remove "Time-stamp".
13783 (newsticker--group-manage-orphan-feeds): Do not call
13784 newsticker--treeview-tree-update.
db22a3c2
JB
13785 (newsticker-treeview-update, newsticker-treeview):
13786 Call newsticker--treeview-tree-update if necessary.
dba0634a 13787
3d8daefe
MR
137882011-10-30 Martin Rudalics <rudalics@gmx.at>
13789
13790 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
13791 (window-iso-combinations): Remove "iso-" infix.
13792 Suggested by Chong Yidong.
3d8daefe
MR
13793 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
13794 (window-max-delta-1, window-resize, window--resize-siblings)
13795 (window--resize-this-window, adjust-window-trailing-edge)
13796 (split-window, balance-windows-1)
13797 (shrink-window-if-larger-than-buffer):
13798 * calendar/calendar.el (calendar-generate-window):
db22a3c2 13799 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 13800
1bc4c3ae
SM
138012011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
13802
13803 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
13804 in place (bug#9907).
13805 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
13806 (eshell-rewrite-if-command, eshell-rewrite-for-command)
13807 (eshell-structure-basic-command, eshell-rewrite-while-command)
13808 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
13809 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
13810 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
13811 (eshell-do-pipelines-synchronously, eshell-eval-command):
13812 Use backquotes and prefer setq to set.
13813 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
13814 (eshell-macrop): Use functionp.
c1e2f5fa 13815 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 13816
30b65d9c
CY
138172011-10-30 Chong Yidong <cyd@gnu.org>
13818
13819 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
13820 instead of set-mark (Bug#9810).
13821
2d197ffb
CY
138222011-10-30 Chong Yidong <cyd@gnu.org>
13823
13824 * window.el (split-window-below, split-window-right): Rename from
13825 split-window-above-each-other and split-window-side-by-side
13826 respectively. All callers changed.
13827 (split-window-sensibly, split-window-sensibly): Use them.
13828 (split-window-keep-point): Doc fix.
13829
13830 * isearch.el: Add isearch-scroll property to split-window-below
13831 and split-window-right.
13832
13833 * follow.el (follow-mode):
13834 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
13835 * progmodes/ada-xref.el (ada-gdb-application):
13836 * emulation/vip.el (vip-buffer-in-two-windows):
13837 * image-dired.el (image-dired-dired-with-window-configuration):
13838 * dired-x.el (dired-do-find-marked-files):
13839 * dired.el (dired-pop-to-buffer):
13840 * bs.el (bs--show-with-configuration):
13841 * vc/emerge.el (emerge-setup-windows):
13842 * textmodes/two-column.el (2C-two-columns):
13843 * textmodes/reftex-toc.el (reftex-toc):
13844 * progmodes/gdb-mi.el (gdb-setup-windows):
13845 * progmodes/fortran.el (fortran-window-create):
13846 * net/newst-treeview.el (newsticker--treeview-window-init):
13847 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
13848 * emulation/tpu-edt.el (tpu-gold-map):
13849 * emulation/crisp.el (crisp-mode-map):
13850 * calendar/calendar.el (calendar-basic-setup): Callers changed.
13851
38bb2ca8
CY
138522011-10-29 Chong Yidong <cyd@gnu.org>
13853
aa4de341
CY
13854 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
13855
e1eb5385
CY
13856 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
13857
5d2ece3c
CY
13858 * textmodes/flyspell.el (flyspell-word): Fix char offset for
13859 forged Ispell output (Bug#7904).
13860
38bb2ca8
CY
13861 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
13862
d0af9f77
SM
138632011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
13864
13865 * doc-view.el: Avoid ugly errors about not finding nil.
13866 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
13867 (doc-view-dvipdf-program, doc-view-unoconv-program)
13868 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
13869 Avoid nil or absolute file name as default value.
13870 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
13871
52bedd34
AM
138722011-10-28 Alan Mackenzie <acm@muc.de>
13873
db22a3c2 13874 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 13875
7e43cfa5
AM
138762011-10-28 Alan Mackenzie <acm@muc.de>
13877
13878 Amend the handling of c-beginning/end-of-defun in nested declaration
13879 scopes.
13880
52bedd34
AM
13881 * progmodes/cc-vars.el (c-defun-tactic): Move here from
13882 cc-langs.el. Change it to a defcustom.
7e43cfa5 13883
52bedd34
AM
13884 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
13885 cc-vars.el.
7e43cfa5 13886
d0af9f77
SM
13887 * progmodes/cc-engine.el (c-beginning-of-statement-1):
13888 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 13889
52bedd34 13890 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 13891 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
13892 (c-widen-to-enclosing-decl-scope): New function.
13893 (c-while-widening-to-decl-block): New macro.
13894 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
13895 outward for defun boundaries, and correspondingly change symbol
13896 `respect-enclosure' to `go-outward'.
13897 (c-declaration-limits): Change algorithm to report only the "innermost"
13898 defun's boundaries.
13899
1a2ce9ee
DD
139002011-10-28 Deniz Dogan <deniz@dogan.se>
13901
13902 * net/rcirc.el (rcirc-mode): Use hard newlines.
13903
bc97a826
AM
139042011-10-28 Alan Mackenzie <acm@muc.de>
13905
13906 Amend to indent and fontify macros "which include their own semicolon"
13907 correctly, using the "virtual semicolon" mechanism.
13908
52bedd34 13909 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 13910
d0af9f77 13911 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 13912 Recode to scan one line at a time rather than having \n and \r
58179cce 13913 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 13914 (c-forward-label): Amend for virtual semicolons.
58179cce 13915 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 13916
52bedd34
AM
13917 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
13918 of the new C macros.
bc97a826 13919
52bedd34 13920 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
13921 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
13922 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
13923 (c-opt-cpp-macro-define): Make into a full language variable.
13924 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
13925 AWK Mode (including \n, \r) removed, no longer needed.
13926
d0af9f77
SM
13927 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
13928 Invoke c-make-macro-with-semi-re.
bc97a826 13929
52bedd34
AM
13930 * progmodes/cc-vars.el (c-macro-with-semi-re):
13931 (c-macro-names-with-semicolon): New variables.
58179cce 13932 (c-make-macro-with-semi-re): New function.
bc97a826 13933
7a6c0941
SM
139342011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
13935
13936 * vc/log-edit.el: Fill empty field rather than adding new one.
13937 (log-edit-add-field): New function.
13938 (log-edit-insert-changelog): Use it.
13939
b0c4cdcf
ML
139402011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
13941
13942 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
13943
ee1f1da9
SM
139442011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
13945
13946 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
13947 (gdb--check-interpreter): New function.
13948 (gdb): Use it.
13949
51bc5f8b
GM
139502011-10-27 Glenn Morris <rgm@gnu.org>
13951
416a2c45
GM
13952 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
13953 (least-positive-float, least-negative-float)
13954 (least-positive-normalized-float, least-negative-normalized-float)
13955 (float-epsilon, float-negative-epsilon):
13956 Remove unnecessary declarations.
13957
13958 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
13959 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
13960 (least-positive-float, least-negative-float)
13961 (least-positive-normalized-float, least-negative-normalized-float)
13962 (float-epsilon, float-negative-epsilon): Add doc-strings,
13963 based on those in cl.texi.
13964
51bc5f8b
GM
13965 * files.el (set-visited-file-name): If the major-mode changed,
13966 reload the local variables. (Bug#9796)
13967
15de15c6
CY
139682011-10-27 Chong Yidong <cyd@gnu.org>
13969
13970 * subr.el (change-major-mode-after-body-hook): New hook.
13971 (run-mode-hooks): Run it.
13972
ee1f1da9
SM
13973 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
13974 Use change-major-mode-before-body-hook.
15de15c6
CY
13975
13976 * simple.el (fundamental-mode):
13977 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
13978 change introducing fundamental-mode-hook.
13979
5430d399
JB
139802011-10-26 Juanma Barranquero <lekktu@gmail.com>
13981
acc825c5 13982 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 13983
ad74a69e
MA
139842011-10-26 Michael Albinus <michael.albinus@gmx.de>
13985
13986 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 13987 tramp.el explicitly. (Bug#7583)
ad74a69e 13988
71d4c2a5
SM
139892011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
13990
13991 * progmodes/octave-mod.el:
13992 * progmodes/octave-inf.el: Update maintainer.
13993
b1f6fa26
CY
139942011-10-26 Chong Yidong <cyd@gnu.org>
13995
13996 * subr.el (with-wrapper-hook): Rewrite doc.
13997
3f04efd6
MA
139982011-10-25 Michael Albinus <michael.albinus@gmx.de>
13999
14000 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 14001 filenames "/method:foo:". (Bug#9793)
3f04efd6 14002
410488d3
SM
140032011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
14004
14005 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
14006 (bug#9865).
14007
c1ebb47e
GM
140082011-10-24 Glenn Morris <rgm@gnu.org>
14009
14010 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
14011
7f5c46c7
MA
140122011-10-24 Michael Albinus <michael.albinus@gmx.de>
14013
14014 * notifications.el: Add the requirement of a running D-Bus session
14015 bus to the Commentary.
14016
db2440b6
JL
140172011-10-24 Juri Linkov <juri@jurta.org>
14018
14019 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
14020 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
14021 (Bug#9364)
14022
feecf435
JL
140232011-10-24 Juri Linkov <juri@jurta.org>
14024
14025 * info.el (Info-following-node-name-re): Add newline to the list
14026 of allowed characters for leading space. (Bug#9824)
14027
a3839de2
SM
140282011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
14029
acc825c5
SM
14030 * progmodes/octave-inf.el (inferior-octave-mode-map):
14031 Fix C-c C-h binding.
a3839de2
SM
14032 * progmodes/octave-mod.el (octave-help): Remove.
14033
09388e76
MA
140342011-10-23 Michael Albinus <michael.albinus@gmx.de>
14035
14036 Sync with Tramp 2.2.3.
14037
14038 * net/tramp-cache.el (top): Pacify byte-compiler using
14039 `init-file-user' and `site-run-file'.
14040
14041 * net/trampver.el: Update release number.
14042
86c60681
CY
140432011-10-23 Chong Yidong <cyd@gnu.org>
14044
14045 * files.el (toggle-read-only): Remove obsolete comment about
14046 version control.
14047
14048 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
14049 for toggle-read-only. Note that this hasn't called vc-next-action
14050 since 2008-05-02, though it wasn't documented at the time.
14051
a3839de2
SM
14052 * vc/ediff-init.el (ediff-toggle-read-only-function):
14053 Use toggle-read-only.
86c60681 14054
cd5495ff
AM
140552011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
14056
14057 Fix bug #9560, sporadic wrong indentation; improve instrumentation
14058 of c-parse-state.
14059
00b77525 14060 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 14061 correct faulty logical expression.
cd5495ff
AM
14062 (c-parse-state-state, c-record-parse-state-state):
14063 (c-replay-parse-state-state): New defvar/defuns.
14064 (c-debug-parse-state): Use new functions.
14065
42ee24ed
MR
140662011-10-22 Martin Rudalics <rudalics@gmx.at>
14067
14068 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 14069 last fix. Use window-in-direction correctly.
42ee24ed 14070
a7dee7e7
CY
140712011-10-21 Chong Yidong <cyd@gnu.org>
14072
14073 * progmodes/idlwave.el (idlwave-mode):
14074 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
14075 require-final-newline; that's done in prog-mode.
14076 Suggested by Stefan Monnier.
a7dee7e7 14077
e07b9a6d
MR
140782011-10-21 Martin Rudalics <rudalics@gmx.at>
14079
14080 * mouse.el (mouse-drag-window-above)
14081 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
14082 (mouse-drag-mode-line-1, mouse-drag-header-line)
14083 (mouse-drag-vertical-line-rightward-window): Remove.
14084 (mouse-drag-line): New function.
14085 (mouse-drag-mode-line, mouse-drag-header-line)
14086 (mouse-drag-vertical-line): Call mouse-drag-line.
14087 * window.el (window-at-side-p, windows-at-side): New functions.
14088
7e1361d9
UM
140892011-10-21 Ulrich Mueller <ulm@gentoo.org>
14090
14091 * tar-mode.el (tar-grind-file-mode):
14092 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
14093
30fcaf3a
CY
140942011-10-21 Chong Yidong <cyd@gnu.org>
14095
14096 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
14097 * progmodes/vera-mode.el (vera-mode):
14098 Use mode-require-final-newline.
30fcaf3a 14099
516eddb0
GM
141002011-10-20 Glenn Morris <rgm@gnu.org>
14101
db22a3c2 14102 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 14103
10d5f513
CS
141042011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
14105
14106 * emulation/cua-base.el (cua-set-mark): Fix case of string.
14107
ac6c8639
CY
141082011-10-20 Chong Yidong <cyd@gnu.org>
14109
14110 * emulation/cua-base.el (cua-mode):
14111 * mail/footnote.el (footnote-mode):
14112 * mail/mailabbrev.el (mail-abbrevs-mode):
14113 * net/xesam.el (xesam-minor-mode):
14114 * progmodes/bug-reference.el (bug-reference-mode):
14115 * progmodes/cap-words.el (capitalized-words-mode):
14116 * progmodes/compile.el (compilation-minor-mode)
14117 (compilation-shell-minor-mode):
14118 * progmodes/gud.el (gud-tooltip-mode):
14119 * progmodes/hideif.el (hide-ifdef-mode):
14120 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
14121 * progmodes/subword.el (subword-mode):
14122 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
14123 * progmodes/which-func.el (which-function-mode):
14124 * term/tvi970.el (tvi970-set-keypad-mode):
14125 * term/vt100.el (vt100-wide-mode):
14126 * textmodes/flyspell.el (flyspell-mode):
14127 * textmodes/ispell.el (ispell-minor-mode):
14128 * textmodes/nroff-mode.el (nroff-electric-mode):
14129 * textmodes/paragraphs.el (use-hard-newlines):
14130 * textmodes/refill.el (refill-mode):
14131 * textmodes/reftex.el (reftex-mode):
14132 * textmodes/rst.el (rst-minor-mode):
14133 * textmodes/sgml-mode.el (html-autoview-mode)
14134 (sgml-electric-tag-pair-mode):
14135 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
14136 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
14137 * emulation/crisp.el (crisp-mode):
14138 * emacs-lisp/eldoc.el (eldoc-mode):
14139 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
14140 minor mode behavior.
14141
aa42ab43
JL
141422011-10-19 Juri Linkov <juri@jurta.org>
14143
14144 * descr-text.el (describe-char): Add #x2010 and #x2011 to
14145 the list of hard-coded chars with escape-glyph face.
14146
89400f1d
SM
141472011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
14148
14149 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
14150
305c07f6
MA
141512011-10-19 Michael Albinus <michael.albinus@gmx.de>
14152
14153 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
14154 running process.
14155
13754b54
GM
141562011-10-19 Glenn Morris <rgm@gnu.org>
14157
14158 * vc/vc-bzr.el (vc-bzr-after-dir-status):
14159 Ignore ignored files. (Bug#9726)
14160
06e21633
CY
141612011-10-19 Chong Yidong <cyd@gnu.org>
14162
14163 Doc fix for minor modes, stating that an omitted argument enables
14164 the mode unconditionally when called from Lisp.
14165
14166 * abbrev.el (abbrev-mode):
14167 * allout.el (allout-mode):
14168 * autoinsert.el (auto-insert-mode):
14169 * autoarg.el (autoarg-mode, autoarg-kp-mode):
14170 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
14171 (global-auto-revert-mode):
14172 * battery.el (display-battery-mode):
14173 * composite.el (global-auto-composition-mode)
14174 (auto-composition-mode):
14175 * delsel.el (delete-selection-mode):
14176 * desktop.el (desktop-save-mode):
14177 * dired-x.el (dired-omit-mode):
14178 * dirtrack.el (dirtrack-mode):
14179 * doc-view.el (doc-view-minor-mode):
14180 * double.el (double-mode):
14181 * electric.el (electric-indent-mode, electric-pair-mode):
14182 * emacs-lock.el (emacs-lock-mode):
14183 * epa-hook.el (auto-encryption-mode):
14184 * follow.el (follow-mode):
14185 * font-core.el (font-lock-mode):
14186 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
14187 * help.el (temp-buffer-resize-mode):
14188 * hilit-chg.el (highlight-changes-mode)
14189 (highlight-changes-visible-mode):
14190 * hi-lock.el (hi-lock-mode):
14191 * hl-line.el (hl-line-mode, global-hl-line-mode):
14192 * icomplete.el (icomplete-mode):
14193 * ido.el (ido-everywhere):
14194 * image-file.el (auto-image-file-mode):
14195 * image-mode.el (image-minor-mode):
14196 * iswitchb.el (iswitchb-mode):
14197 * jka-cmpr-hook.el (auto-compression-mode):
14198 * linum.el (linum-mode):
14199 * longlines.el (longlines-mode):
14200 * master.el (master-mode):
14201 * mb-depth.el (minibuffer-depth-indicate-mode):
14202 * menu-bar.el (menu-bar-mode):
14203 * minibuf-eldef.el (minibuffer-electric-default-mode):
14204 * mouse-sel.el (mouse-sel-mode):
14205 * msb.el (msb-mode):
14206 * mwheel.el (mouse-wheel-mode):
14207 * outline.el (outline-minor-mode):
14208 * paren.el (show-paren-mode):
14209 * recentf.el (recentf-mode):
14210 * reveal.el (reveal-mode, global-reveal-mode):
14211 * rfn-eshadow.el (file-name-shadow-mode):
14212 * ruler-mode.el (ruler-mode):
14213 * savehist.el (savehist-mode):
14214 * scroll-all.el (scroll-all-mode):
14215 * scroll-bar.el (scroll-bar-mode):
14216 * server.el (server-mode):
14217 * shell.el (shell-dirtrack-mode):
14218 * simple.el (auto-fill-mode, transient-mark-mode)
14219 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
14220 (line-number-mode, column-number-mode, size-indication-mode)
14221 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
14222 * strokes.el (strokes-mode):
14223 * time.el (display-time-mode):
14224 * t-mouse.el (gpm-mouse-mode):
14225 * tool-bar.el (tool-bar-mode):
14226 * tooltip.el (tooltip-mode):
14227 * type-break.el (type-break-mode-line-message-mode)
14228 (type-break-query-mode):
14229 * view.el (view-mode):
14230 * whitespace.el (whitespace-mode, whitespace-newline-mode)
14231 (global-whitespace-mode, global-whitespace-newline-mode):
14232 * xt-mouse.el (xterm-mouse-mode): Doc fix.
14233
a3839de2
SM
14234 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14235 Fix autogenerated docstring.
06e21633 14236
5214e501
JL
142372011-10-19 Juri Linkov <juri@jurta.org>
14238
14239 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
14240 by checking environment variables "DESKTOP_SESSION" and
14241 "XDG_CURRENT_DESKTOP". (Bug#9779)
14242
195f8db9
JL
142432011-10-19 Juri Linkov <juri@jurta.org>
14244
14245 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
14246 (browse-url-chromium-program, browse-url-chromium-arguments):
14247 New defcustoms.
14248 (browse-url-default-browser): Check for `browse-url-chromium' and
14249 call `browse-url-chromium-program'.
14250 (browse-url-chromium): New command. (Bug#9779)
14251
343a34ff
JB
142522011-10-18 Juanma Barranquero <lekktu@gmail.com>
14253
14254 * facemenu.el (list-colors-duplicates): On Windows, detect more
14255 duplicates by assuming that only colors matching "^System" are
14256 special "system colors". (Bug#9722)
14257
6978a151
SM
142582011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
14259
14260 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
14261 to distinguish the author from the committer.
14262
6a80b297
MA
142632011-10-18 Michael Albinus <michael.albinus@gmx.de>
14264
14265 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
14266
b31a5677
JK
142672011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
14268
14269 * international/mule.el (sgml-html-meta-auto-coding-function):
14270 Add support for detecting encoding in HTML5 specified only as
14271 <meta charset="UTF-8">. Implementation just makes http-equiv and
14272 content-type parts from HTML4 encoding string optional. (Bug#9716)
14273
80c6d77f
GM
142742011-10-18 Glenn Morris <rgm@gnu.org>
14275
14276 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
14277
08b0fee8
CY
142782011-10-18 Chong Yidong <cyd@gnu.org>
14279
14280 * faces.el (cursor): Doc fix.
14281
67e729a5
CY
142822011-10-17 Chong Yidong <cyd@gnu.org>
14283
14284 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
14285
343a34ff 142862011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
14287
14288 * dirtrack.el (dirtrack): Support shell buffers with path
14289 prefixes, e.g. tramp-based remote shells. (Bug#9647)
14290
0bc06380
TZ
142912011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
14292
14293 * json.el: Bump version to 1.3 and note change in History.
14294 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
14295
8b79f3e0
SM
142962011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
14297
5a7c536b
SM
14298 * comint.el (comint-insert-input, comint-send-input)
14299 (comint-get-old-input-default, comint-backward-matching-input)
14300 (comint-next-prompt): Use nil instead of `input' for field property of
14301 past user input (bug#114).
14302
96a8a0df
SM
14303 * minibuffer.el (completion--replace): Inherit surrounding properties
14304 (bug#114).
14305 (minibuffer-complete-and-exit): Use it.
14306
8b79f3e0
SM
14307 * comint.el (comint--table-subvert): Quote the all-completions output
14308 (bug#9160).
14309
b8f7ff0d
MR
143102011-10-17 Martin Rudalics <rudalics@gmx.at>
14311
8b79f3e0 14312 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 14313
b8f7ff0d 14314 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 14315 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
14316 entries and separate them from frame entries.
14317
c235b555
GM
143182011-10-15 Glenn Morris <rgm@gnu.org>
14319
14320 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
14321 Doc fixes.
14322
6bbfa6e1
CY
143232011-10-15 Chong Yidong <cyd@stupidchicken.com>
14324
8b79f3e0
SM
14325 * net/network-stream.el (network-stream-open-starttls):
14326 Improve detection of failure due to lack of TLS support.
ec5c990d 14327
6bbfa6e1
CY
14328 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
14329 putting the input text in front and in bold.
14330
98488977
SM
143312011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
14332
3d1337be
SM
14333 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
14334
ee0b45e4
SM
14335 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
14336 empty buffer.
14337
98488977
SM
14338 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
14339 unread-command-events rather than pushing yet-another event.
14340
186f4720
EZ
143412011-10-14 Eli Zaretskii <eliz@gnu.org>
14342
14343 * mail/sendmail.el (sendmail-query-once): Improve the wording of
14344 the explanation of the possible choices. Make the options passed
14345 to completing-read shorter.
14346
8b7a997c
AM
143472011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14348
14349 * textmodes/flyspell.el (flyspell-large-region): Make sure
14350 extended character mode is used if defined (Bug#1339).
14351
12587bbb
EZ
143522011-10-13 Eli Zaretskii <eliz@gnu.org>
14353
14354 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
14355 character info for LRE, LRO, RLE, and RLO characters by appending
14356 an invisible PDF.
12587bbb 14357
bad41229
SM
143582011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
14359
14360 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
14361 even in case of error; add debug spec; simplify data flow.
14362 (with-timeout-handler): Remove.
14363
28dbc92f
MA
143642011-10-12 Michael Albinus <michael.albinus@gmx.de>
14365
14366 Fix Bug#6019, Bug#9315.
14367
14368 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
14369 complete `buffer-file-name', the local file name part could look
14370 remotely (for example on VMS).
14371
14372 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
14373 `tramp-run-real-handler'.
14374 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
14375 already quoted by '"'.
14376
14377 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
14378 Let `file-name-handler-alist' be nil, the local file name part
14379 could look remotely (for example on VMS).
14380
e1b0b23a
SM
143812011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
14382
14383 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
14384 from here...
14385 (flyspell-post-command-hook): ...to here.
14386
a120bde9
SM
143872011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
14388
14389 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
14390 if not needed.
14391 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
14392 using completion. Protect against "slow" callers.
14393 Remove the "message hack".
14394
7ce7717b
JL
143952011-10-11 Juri Linkov <juri@jurta.org>
14396
14397 * isearch.el (isearch-lazy-highlight-word): New variable.
14398 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
14399 Use it. (Bug#9727)
14400
c02ee9d6
GM
144012011-10-11 Glenn Morris <rgm@gnu.org>
14402
14403 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
14404 like f90-previous-statement does.
14405
93e616fd 144062011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14407
1f190e73 14408 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
14409 only in interactive use, to avoid error.
14410
af7b6078
SM
144112011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
14412
14413 * minibuffer.el (completion-file-name-table): Fix last change,
14414 i.e. ignore normal errors but not the other ones.
14415
0563dae9
MR
144162011-10-10 Martin Rudalics <rudalics@gmx.at>
14417
14418 * window.el (special-display-buffer-names)
14419 (special-display-regexps): Remove some remnants of earlier
14420 changes from doc-strings.
366ca7f3
MR
14421 (quit-windows-on): New function.
14422
14423 * vc/vc.el (vc-revert, vc-rollback):
14424 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
14425 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 14426 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 14427
49677495
MR
144282011-10-09 Martin Rudalics <rudalics@gmx.at>
14429
14430 * window.el (frame-auto-hide-function): Add version tag.
14431 (Bug#9699)
14432
56f2d1e1
MA
144332011-10-09 Michael Albinus <michael.albinus@gmx.de>
14434
14435 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
14436 condition.
14437
112a6592
LL
144382011-10-09 Leo Liu <sdl.web@gmail.com>
14439
14440 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
14441 (Bug#9701)
14442
0812589b
GM
144432011-10-08 Glenn Morris <rgm@gnu.org>
14444
14445 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
14446 before the first code statement zero indent. (Bug#9690)
14447
b2b0776e
CY
144482011-10-08 Chong Yidong <cyd@stupidchicken.com>
14449
14450 * simple.el (count-words-region): Always count in the region.
14451 Report the number of lines and characters too.
14452 (count-words): New command, which counts in the buffer if the
14453 region is inactive, as count-words-region used to.
14454 (count-words--message): New function. Handle plurals.
14455 (count-lines-region): Make it an alias for count-words-region.
14456
14457 * bindings.el (esc-map): Replace count-lines-region with
14458 count-words-region.
14459
c557cd6b
MR
144602011-10-08 Martin Rudalics <rudalics@gmx.at>
14461
14462 * window.el (window--delete): Delete dedicated frame
14463 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 14464 (switch-to-buffer): Fix doc-string typo.
c557cd6b 14465
61a57ef4 144662011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14467
3a7d293b 14468 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 14469
c3833279
CY
144702011-10-07 Chong Yidong <cyd@stupidchicken.com>
14471
14472 * bindings.el ([M-left],[M-right]): Bind to left-word and
14473 right-word respectively.
14474
21ce8245
GM
144752011-10-07 Glenn Morris <rgm@gnu.org>
14476
14477 * cus-start.el (debug-on-quit): Fix custom type.
14478
6d823bb2
LMI
144792011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
14480
0181e193
LMI
14481 * subr.el (define-key-after): Clarify that the function is not
14482 useful for non-menu keymaps.
14483
6d823bb2
LMI
14484 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
14485
8e3459ce 144862011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14487
21ce8245 14488 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 14489 in current minibuffer (Fix bug with recursive minibuffers).
14490
a1c2d21e
CY
144912011-10-06 Chong Yidong <cyd@stupidchicken.com>
14492
14493 * progmodes/gdb-mi.el (gdb): Doc fix.
14494
5a4cf282
MR
144952011-10-05 Martin Rudalics <rudalics@gmx.at>
14496
14497 * window.el (frame-auto-hide-function): New option replacing
14498 frame-auto-delete. Suggested by Stefan Monnier.
14499 (window--delete): Call frame-auto-hide-function instead of
14500 investigating frame-auto-delete.
c96111ea
MR
14501 (window-point-1, set-window-point-1): New functions.
14502 (window-in-direction, record-window-buffer, window-state-get-1)
14503 (display-buffer-record-window): Use window-point-1 instead of
14504 window-point.
14505 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 14506
9854542e
SM
145072011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
14508
14509 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
14510
8943cfb0
GM
145112011-10-05 Glenn Morris <rgm@gnu.org>
14512
14513 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
14514 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
14515
647ab967
LL
145162011-10-05 Leo Liu <sdl.web@gmail.com>
14517
14518 * subr.el (read-char-choice): Fix argument to buffer-live-p which
14519 works with buffer object.
14520
3ddfbced
SM
145212011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
14522
14523 * mpc.el (mpc-tool-bar-map): Add labels.
14524
bdfa5dd2
GM
145252011-10-04 Glenn Morris <rgm@gnu.org>
14526
14527 * calendar/holidays.el (calendar-check-holidays): Doc fix.
14528
0e2070b5
MR
145292011-10-04 Martin Rudalics <rudalics@gmx.at>
14530
14531 * window.el (window--delete): New function.
14532 (frame-auto-delete): Resuscitate option.
14533 (bury-buffer, replace-buffer-in-windows)
14534 (quit-window): Rewrite using window--delete.
14535 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
14536 Pass display-buffer-mark-dedicated to window--display-buffer-2
14537 (Bug#9639).
14538
3dc61a09
SM
145392011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
14540
915a9b64
SM
14541 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
14542 returns a list (bug#9554). Add remote file name completion.
14543 * comint.el (comint--table-subvert): Curry and get quote&unquote
14544 functions as arguments.
14545 (comint--complete-file-name-data): Adjust call accordingly.
14546 * pcomplete.el (pcomplete--table-subvert): Remove.
14547 (pcomplete-completions-at-point): Use comint--table-subvert instead.
14548
3dc61a09
SM
14549 * minibuffer.el (completion-table-case-fold): Use currying.
14550 (completion--styles-type, completion--cycling-threshold-type):
14551 New constants.
14552 (completion-styles, completion-category-overrides)
14553 (completion-cycle-threshold): Use them.
14554 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
14555 completion-table-case-fold.
14556
8ea0a993
SB
145572011-10-03 Stephen Berman <stephen.berman@gmx.net>
14558
14559 * minibuffer.el (completion-category-overrides): Fix type of styles
14560 and add more user friendly tags (bug#9660).
14561
8c24b7f6
SM
145622011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
14563
14564 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
14565 (mule-input-method-string): New widget.
14566 (default-input-method, language-info-custom-alist): Use it.
14567
428fe61a
SM
145682011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
14569
32c1fffd
SM
14570 * pcomplete.el: Require comint.
14571 (pcomplete--common-suffix): Remove.
14572 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
14573 (pcomplete--table-subvert): Sync with comint--table-subvert.
14574 (pcomplete--entries): Use comint-completion-file-name-table.
14575 * comint.el (comint-unquote-filename): Simplify.
14576 (comint-completion-file-name-table): New function (bug#9616).
14577 (comint--complete-file-name-data): Use it.
14578
428fe61a
SM
14579 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
14580 (pcmpl-gnu-tar-buffer): Remove.
14581 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
14582 around. Make sure pcomplete-suffix-list is only changed temporarily.
14583 Don't look inside the tar's file if it's too large.
428fe61a 14584
04c52e2f
CY
145852011-10-01 Chong Yidong <cyd@stupidchicken.com>
14586
ce3cefcc
CY
14587 * cus-edit.el (custom-mode-map):
14588 * epa.el (epa-key-list-mode-map):
14589 * man.el (Man-mode-map):
14590 * startup.el (splash-screen-keymap):
14591 * simple.el (special-mode-map): Use scroll-up-command and
14592 scroll-down-command.
14593
14594 * progmodes/idlw-help.el (idlwave-help-mode-map):
14595 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
14596 * net/newst-plainview.el (newsticker-mode-map):
14597 * emulation/ws-mode.el (wordstar-mode-map):
14598 * emulation/vi.el (vi-com-map):
14599 * calc/calc-graph.el (calc-graph-show-dumb):
14600 * term/sun.el (terminal-init-sun):
14601 * term/ns-win.el (global-map):
14602 * progmodes/grep.el (grep-mode-map):
14603 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
14604 * mail/rmail.el (rmail-mode-map):
14605 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
14606
04c52e2f
CY
14607 * custom.el (custom-safe-themes, load-theme): Treat value of t for
14608 custom-safe-themes as special.
14609
79adf8c8
JD
146102011-10-01 Julien Danjou <julien@danjou.info>
14611
14612 * notifications.el (notifications-notify): Fix docstring.
14613
63bd50d3
PS
146142011-10-01 Per Starbäck <per@starback.se>
14615
14616 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
14617
199e4c7e
MR
146182011-09-30 Martin Rudalics <rudalics@gmx.at>
14619
14620 * startup.el (command-line-1): Fix last fix by inserting
14621 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 14622 (Bug#9605) and (Bug#9636)
199e4c7e 14623
fe5f08dd
EZ
146242011-09-29 Eli Zaretskii <eliz@gnu.org>
14625
14626 * simple.el (line-move): If auto-hscroll-mode is disabled and the
14627 window is hscrolled, move by logical lines. (Bug#9607)
14628 (line-move-visual): Update the doc string to the above effect.
14629
b5516bbd
MR
146302011-09-29 Martin Rudalics <rudalics@gmx.at>
14631
ccee00c0
MR
14632 * window.el (display-buffer-record-window): When WINDOW is the
14633 selected window use `point' instead of `window-point'. (Bug#9626)
14634
b5516bbd
MR
14635 * startup.el (command-line-1): Use insert-before-markers when
14636 inserting initial-scratch-message. (Bug#9605)
ccee00c0 14637
b5516bbd
MR
14638 * help.el (help-window): Remove variable.
14639
52aa0014
GM
146402011-09-29 Glenn Morris <rgm@gnu.org>
14641
14642 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
14643
df9a7357
JB
146442011-09-29 Juanma Barranquero <lekktu@gmail.com>
14645
14646 * descr-text.el (describe-char-categories): Accept category
14647 descriptions more than one line long.
14648
a8406c20
SM
146492011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
14650
88d9610c
SM
14651 * simple.el (delete-trailing-whitespace): Fix last change.
14652
a5daf810
SM
14653 * progmodes/perl-mode.el (perl-syntax-propertize-function):
14654 Don't confuse "y => 3" as the beginning of a `y' operation.
14655
a8406c20
SM
14656 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
14657 object has more than 4 slots (bug#9613).
14658
a239d4e9
JB
146592011-09-28 Juanma Barranquero <lekktu@gmail.com>
14660
14661 * subr.el (with-output-to-temp-buffer):
14662 * net/quickurl.el (quickurl, quickurl-browse-url):
14663 Fix typos in docstrings.
14664
693fbdb6
EZ
146652011-09-27 Eli Zaretskii <eliz@gnu.org>
14666
14667 * minibuffer.el (completion-styles)
14668 (completion-category-overrides): Cross reference each other in doc
14669 strings.
14670
8b457e28
GM
146712011-09-27 Glenn Morris <rgm@gnu.org>
14672
14673 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
14674 to split-string. (Bug#9606)
14675
85a16208
LMI
146762011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
14677
14678 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
14679 (bug#9615).
14680
502f9ebd
CY
146812011-09-27 Chong Yidong <cyd@stupidchicken.com>
14682
14683 * emacs-lisp/package.el (list-packages): Fix echo area message.
14684
7690bdea
LL
146852011-09-27 Leo Liu <sdl.web@gmail.com>
14686
14687 * ido.el (ido-read-internal): Accept cons cell HIST arg.
14688
e2ee6f30
MA
146892011-09-25 Michael Albinus <michael.albinus@gmx.de>
14690
14691 * net/dbus.el (dbus-unregister-object): Don't release services for
14692 registered signals. (Bug#9581)
14693
f3f98342
TZ
146942011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
14695
14696 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
14697 function that picks between cfengine 2 and 3 support
14698 automatically. Update docs accordingly.
14699
dd7aa8dd
KH
147002011-09-22 Kenichi Handa <handa@m17n.org>
14701
14702 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
14703 ZERO.
14704 (indian-itrans-v5-table-for-tamil): New variable.
14705 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
14706
3f2b07f8
KM
147072011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
14708
14709 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
14710 that's true if the current command involved collapsing of text.
14711 It's reset to false at the beginning of the next command.
14712 (allout-post-command-business): Move the cursor to the beginning
14713 of entry if the cursor is hidden and collapsing activity just
14714 happened.
14715
371d6a61
CY
147162011-09-24 Chong Yidong <cyd@stupidchicken.com>
14717
14718 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
14719 tracking (Bug#9541).
14720
2ac2721a
UJ
147212011-09-24 Ulf Jasper <ulf.jasper@web.de>
14722
14723 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
14724 (newsticker-show-news): Automatically load html rendering package
14725 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
14726 because w3m-fill-column is let-bound" and the error "Symbol's value
14727 as variable is void: w3m-fill-column".
2ac2721a 14728
fac7ae53
MA
147292011-09-24 Michael Albinus <michael.albinus@gmx.de>
14730
14731 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
14732 Release services only if they are defined. (Bug#9581)
14733
e08b633b
RS
147342011-09-23 Richard Stallman <rms@gnu.org>
14735
e488d29c
RS
14736 * textmodes/paragraphs.el (forward-sentence): For backwards case,
14737 distinguish start of paragraph from start of its text.
14738
19c38752
RS
14739 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
14740
e08b633b
RS
14741 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
14742 (rmail-generate-viewer-buffer): Put that hook on view buffer.
14743 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
14744
0a39f27e
AS
147452011-09-23 Andreas Schwab <schwab@linux-m68k.org>
14746
14747 * international/mule-diag.el (mule-diag): Insert a newline after
14748 each fontset description.
14749
db4e950d
SM
147502011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
14751
14752 * simple.el (delete-trailing-whitespace):
14753 Document last change; simplify.
14754
eca3f3ea
PW
147552011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
14756
d68e189a
PW
14757 * simple.el (delete-trailing-whitespace): Also delete
14758 extra newlines at the end of the buffer.
14759
eca3f3ea
PW
14760 * textmodes/picture.el: Make motion commands obey shift-select-mode.
14761 (picture-newline): Use forward-line so as to ignore fields.
14762
01c157cc
SM
147632011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
14764
14765 * subr.el (with-wrapper-hook): Fix edebug spec.
14766
022de23e
LMI
147672011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
14768
14769 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
14770 (bug#4538).
14771
91683089
MA
147722011-09-23 Michael Albinus <michael.albinus@gmx.de>
14773
eca3f3ea
PW
14774 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
14775 Fix nasty bug using wrong cached values.
91683089 14776
5bdd6fa4
AM
147772011-09-23 Alan Mackenzie <acm@muc.de>
14778
14779 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
14780
97adfb97
CY
147812011-09-23 Chong Yidong <cyd@stupidchicken.com>
14782
14783 * window.el (pop-to-buffer): Ensure right window is selected if we
14784 chose another frame.
14785
d4ef2b50
EZ
147862011-09-22 Eli Zaretskii <eliz@gnu.org>
14787
14788 * simple.el (what-cursor-position): Use get-char-property-change
14789 and next-single-char-property-change, to be able to show display
14790 properties that come from overlays as well as text properties.
14791
72258fe5
CY
147922011-09-22 Chong Yidong <cyd@stupidchicken.com>
14793
14794 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
14795
14796 * cmuscheme.el (run-scheme, switch-to-scheme):
14797 * cus-edit.el (customize-group, custom-buffer-create)
14798 (customize-browse):
14799 * info.el (info):
14800 * shell.el (shell):
14801 * mail/sendmail.el (mail):
14802 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
14803
8f098516
RS
148042011-09-22 Richard Stallman <rms@gnu.org>
14805
14806 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
14807 move back only to line beg, don't move back over blank lines.
14808
e74f1bb6
MA
148092011-09-22 Michael Albinus <michael.albinus@gmx.de>
14810
14811 * files.el (copy-directory): Set directory attributes only in case
14812 they could be retrieved from the source directory. (Bug#9565)
14813
bfeef8b6
DK
148142011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
14815
14816 * progmodes/hideshow.el (hs-looking-at-block-start-p)
14817 (hs-find-block-beginning, hs-hide-level-recursive):
14818 Ignore strings as well as comments. (Bug#9502)
14819
7e423bb8
AS
148202011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
14821
14822 * progmodes/sql.el (sql-comint-postgres):
14823 Convert port number to a string. (Bug#9566)
14824
b4d72fcf
MR
148252011-09-22 Martin Rudalics <rudalics@gmx.at>
14826
14827 * window.el (quit-window): Undedicate window when switching to
14828 previous buffer. Reported by Thierry Volpiatto
14829 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
14830 (special-display-popup-frame): When popping up a new frame reset
14831 its previous buffers to nil. Simplify code.
b4d72fcf 14832
a7b88dc6
MA
148332011-09-21 Michael Albinus <michael.albinus@gmx.de>
14834
14835 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
14836 and process filter, as done also in `shell-command'.
14837
cf4eacfd
MR
148382011-09-21 Martin Rudalics <rudalics@gmx.at>
14839
eca3f3ea 14840 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
14841 Call set-window-start with NOFORCE argument t.
14842 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
14843 (quit-window): Reword doc-string. Handle new format of
14844 quit-restore parameter. Don't delete window if it has a
14845 previous buffer we can show instead of the present one.
14846 (display-buffer-record-window): Rewrite using a new format for
14847 the quit-restore window parameter
14848 (special-display-popup-frame, display-buffer-same-window)
14849 (display-buffer-reuse-window, display-buffer-pop-up-frame)
14850 (display-buffer-pop-up-window, display-buffer-use-some-window):
14851 Adapt symbol passed to display-buffer-record-window.
14852 * help.el (help-window-setup): Handle new format of quit-restore
14853 parameter.
14854
8d28cb95
SM
148552011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
14856
94ab793f
SM
14857 * faces.el (face-list): Fix docstring (bug#9564).
14858
8d28cb95
SM
14859 * window.el (display-buffer--action-function-custom-type):
14860 Don't include internal functions in the Custom interface.
14861
3820edeb
JL
148622011-09-20 Juri Linkov <juri@jurta.org>
14863
14864 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
14865 (Info-forward-node, Info-backward-node, Info-next-preorder)
14866 (Info-last-preorder): Use it. (Bug#9528)
14867
5147931d
JL
148682011-09-20 Juri Linkov <juri@jurta.org>
14869
14870 * info.el (Info-last-preorder): Visit last menu item only when
14871 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
14872
cf499a1a
JD
148732011-09-20 Julien Danjou <julien@danjou.info>
14874
14875 * password-cache.el (password-cache-remove): Remove entries even if the
14876 value is nil, so that password with a nil value (negative caching) is
14877 possible to invalidate.
14878
f84e2fe2
LM
148792011-09-20 Lawrence Mitchell <wence@gmx.li>
14880
14881 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
14882 all whitespace around breakpoint. (Bug#9553)
14883 (f90-find-breakpoint): Only break at whitespace inside a comment.
14884
78054a46
SM
148852011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
14886
14887 * minibuffer.el (completion-file-name-table): Keep track of errors.
14888 (completion-table-with-predicate): Handle the case where pred1 is nil.
14889 * pcomplete.el (pcomplete-completions-at-point): Simplify.
14890
345083b2
SM
148912011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
14892
e24e27be
SM
14893 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
14894 (debugger-return-value): Signal an error if the debugging context does
14895 not await any return value.
14896
345083b2
SM
14897 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
14898 * image-mode.el (image-toggle-display-text)
14899 (image-toggle-display-image): Stay away from evil `intangible'.
14900
08d355e3
LL
149012011-09-19 Leo Liu <sdl.web@gmail.com>
14902
14903 * replace.el (occur-revert-arguments): Make it permanent-local.
14904 (occur-mode): Don't call font-lock-defontify.
14905
f01da43f
CY
149062011-09-19 Chong Yidong <cyd@stupidchicken.com>
14907
14908 * net/ldap.el (ldap-search-internal): Don't push empty search
14909 result (Bug#9508).
14910
b6072fa6
SM
149112011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
14912
14913 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
14914
443d6696
MA
149152011-09-19 Michael Albinus <michael.albinus@gmx.de>
14916
14917 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
14918 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
14919
7cc6e154
JL
149202011-09-18 Juri Linkov <juri@jurta.org>
14921
14922 * buff-menu.el (Buffer-menu-mode-map):
14923 * dired.el (dired-mode-map):
14924 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
14925 (lisp-interaction-mode-map):
14926 * emacs-lisp/package.el (package-menu-mode-map):
14927 * epa.el (epa-key-list-mode-map):
14928 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
14929 (menu-bar-options-menu):
14930 * outline.el (outline-mode-menu-bar-map):
14931 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
14932 * vc/vc-dir.el (vc-dir-menu-map):
14933 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
14934 Capitalize non-function content words in menu item strings.
14935
14936 * dired.el (dired-mode-map): Add menu item for
14937 `image-dired-dired-toggle-marked-thumbs'.
14938
80302a81
JL
149392011-09-18 Juri Linkov <juri@jurta.org>
14940
14941 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
14942 to `isearch-case-fold-search' and restore its original value
14943 after the `isearch-mode' call.
14944
46c5cf66
JL
149452011-09-18 Juri Linkov <juri@jurta.org>
14946
14947 * progmodes/grep.el (grep-process-setup): Don't check code for 1
14948 because `zgrep' returns 1 for successful matches (bug#9226).
14949
d18b513b
JL
149502011-09-18 Juri Linkov <juri@jurta.org>
14951
14952 * info.el (Info-extract-menu-node-name): Check the second match
14953 for empty string (second test-case of bug#9528).
14954 (Info-last-preorder): Let-bind `Info-history' to nil to not add
14955 intermediate nodes to the history (first test-case of bug#9528).
14956
72753f87
JL
149572011-09-18 Juri Linkov <juri@jurta.org>
14958
14959 * info.el (Info-mode-syntax-table): New variable.
1154d12e 14960 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 14961
c9384295
JL
149622011-09-18 Juri Linkov <juri@jurta.org>
14963
1154d12e
JB
14964 * info.el (Info-file-supports-index-cookies):
14965 Increment line-beginning-position's arg from 3 to 4 because makeinfo
14966 outputs one more line for long file names (bug#4142).
c9384295 14967
d473dce8
CY
149682011-09-18 Chong Yidong <cyd@stupidchicken.com>
14969
14970 * newcomment.el (comment-normalize-vars): If prompting for
14971 comment-start, set comment-start-skip too (Bug#8424).
14972
2176854d
JB
149732011-09-18 Johan Bockgård <bojohan@gnu.org>
14974
14975 * icomplete.el: Fix previous fix of Bug#5849.
14976 (icomplete-mode): Don't set completion-show-inline-help.
14977 (icomplete-minibuffer-setup): Set completion-show-inline-help
14978 locally during icompletion.
14979
3aace4e4
CY
149802011-09-18 Chong Yidong <cyd@stupidchicken.com>
14981
c940224f
CY
14982 * woman.el (woman2-process-escapes): Don't delete unrecognized
14983 escapes (Bug#7843).
14984
3aace4e4
CY
14985 * files.el (inhibit-first-line-modes-regexps): Add image files.
14986 (hack-local-variables-prop-line): Return nil for malformed
14987 prop-lines (Bug#9044).
14988
710dec63
MA
149892011-09-18 Michael Albinus <michael.albinus@gmx.de>
14990
14991 * net/tramp.el (top): Don't require 'shell.
14992 (tramp-methods): Fix docstring.
14993 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
14994 Return complete remote file name. Handle "smb" case.
14995 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
14996 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
14997
14998 * net/tramp-compat.el (top): Require 'shell.
14999
15000 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
15001 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
15002 `tramp-current-host'.
15003 (tramp-get-remote-tmpdir): Remove.
15004
15005 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
15006 `tramp-tmpdir' entries.
15007 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
15008 (tramp-smb-handle-file-attributes): Ignore errors.
15009 (tramp-smb-wait-for-output): Check also for process end.
15010
5d5ac8ec
LMI
150112011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
15012
15013 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
15014 when sending QUIT (bug#9312).
15015
8c0f49f0
CY
150162011-09-17 Chong Yidong <cyd@stupidchicken.com>
15017
15018 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
15019 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
15020 occur-mode-display-occurrence.
15021 (occur-edit-mode): Add usage message.
15022 (occur-cease-edit): New command.
15023 (occur-after-change-function): Use text properties to find the
15024 position of the prefix text.
15025 (occur-engine): Set stickiness of prefix text properties.
15026
8f1383f7
GM
150272011-09-17 Glenn Morris <rgm@gnu.org>
15028
15029 * progmodes/etags.el (complete-tag):
15030 Fix call to completion-in-region. (Bug#9526)
15031
744ba0e3
JL
150322011-09-17 Juri Linkov <juri@jurta.org>
15033
15034 * textmodes/ispell.el (ispell-word): Add to the error message
15035 the word, ispell program name and current dictionary (bug#9121).
15036 (ispell-tex-arg-end): Capitalize "error" in the error message.
15037
d9bbf400
AS
150382011-09-17 Andreas Schwab <schwab@linux-m68k.org>
15039
15040 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
15041 check. (Bug#4251)
15042
8da11505
JL
150432011-09-17 Juri Linkov <juri@jurta.org>
15044
15045 * window.el (window-safe-min-height, window-safe-min-width):
15046 Fix typos (followup to bug#9522).
15047
a91adc7e
SJ
150482011-09-17 Sven Joachim <svenjoac@gmx.de>
15049
15050 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
15051
064f328a
EZ
150522011-09-16 Eli Zaretskii <eliz@gnu.org>
15053
15054 * simple.el (line-move): If goal-column is set, move by logical
15055 lines, not by display lines. (Bug#971)
15056 (next-line, previous-line, goal-column, line-move-visual): Doc fix
15057 to reflect the above change.
15058
e69df516
SM
150592011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
15060
15061 * image.el (imagemagick-register-types): Use regexp-opt.
15062
cbb0f9ab
CY
150632011-09-15 Chong Yidong <cyd@stupidchicken.com>
15064
15065 * window.el (display-buffer-base-action): Rename from
15066 display-buffer-default-action. Make default value empty.
15067 (display-buffer-overriding-action): Convert to defvar.
15068 (display-buffer-fallback-action): New var.
15069
25322144
CY
150702011-09-15 Chong Yidong <cyd@stupidchicken.com>
15071
15072 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
15073 declaration.
15074 (package--add-to-archive-contents): If there is a duplicate entry
15075 with an older version, remove it.
15076 (package-menu-mark-delete, package-menu-mark-install)
15077 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
15078 (package-menu-mark-obsolete-for-deletion):
15079 Use package-menu-get-status instead of a regexp search.
25322144
CY
15080 (package-menu-get-status): Use tabulated-list-entry.
15081 (package-menu-mark-upgrades): New command.
d770725a 15082 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
15083 (package-menu-execute): Do installation before deletion.
15084 (package-menu-refresh, package-menu-execute): Use derived-mode-p
15085 instead of checking major-mode.
15086 (package-menu--find-upgrades): New function.
15087
7520339c
LMI
150882011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
15089
15090 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
15091 passwords in the log buffer.
65a046c4
LMI
15092 (smtpmail-process-filter): Update the process marker so that the
15093 "broken by peer" status message is inserted in the right place.
7520339c 15094
d3c30954
SM
150952011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
15096
3fe48822
SM
15097 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
15098 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
15099 bibtex-completion-at-point-function.
15100 (bibtex-completion-at-point-function): Use them.
15101
1b8b3954
SM
15102 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
15103
d3c30954
SM
15104 * mpc.el (mpc-constraints-tag-lookup): New function.
15105 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
15106 also to browser "album|playlist".
15107
72779976
JL
151082011-09-14 Juri Linkov <juri@jurta.org>
15109
15110 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
15111 (isearch-edit-string): Use length of `isearch-string' when
15112 `isearch-fail-pos' returns nil.
15113 (isearch-message): Remove duplicate code and call
15114 `isearch-fail-pos' with arg `t'.
15115
a0bf2bcd
CY
151162011-09-14 Chong Yidong <cyd@stupidchicken.com>
15117
17bb0a2d
CY
15118 * replace.el (occur-mode-goto-occurrence): Don't force using other
15119 window (Bug#9499).
15120
a0bf2bcd
CY
15121 * dired-aux.el (dired-do-chmod): Don't provide initial input.
15122
f678e0b6
MR
151232011-09-14 Martin Rudalics <rudalics@gmx.at>
15124
15125 * window.el (display-buffer-window): Remove.
15126 (display-buffer-record-window): Use help-setup window parameter
15127 instead of variable display-buffer-window.
15128 (display-buffer-function, special-display-buffer-names)
15129 (special-display-function): Mention help-setup parameter instead
15130 of display-buffer-window in doc-string.
d3c30954
SM
15131 * help.el (help-window-setup): New argument help-window.
15132 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
15133 Reword some messages.
15134 (with-help-window): Pass window used for displaying the buffer
15135 to help-window-setup. Don't set display-buffer-window.
15136
8e39b2e8
GM
151372011-09-13 Glenn Morris <rgm@gnu.org>
15138
15139 * emacs-lisp/debug.el (debugger-make-xrefs):
15140 Preserve point. (Bug#9462)
15141
85e9c04b
CY
151422011-09-13 Chong Yidong <cyd@stupidchicken.com>
15143
15144 * window.el (window-deletable-p): Use next-frame.
15145
1b36ed6a
MR
151462011-09-13 Martin Rudalics <rudalics@gmx.at>
15147
15148 * window.el (window-auto-delete): Remove.
15149 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 15150 dedication and previous buffers.
1b36ed6a
MR
15151 (switch-to-prev-buffer): Don't delete window.
15152 (delete-windows-on): Delete a window's frame if and only if the
15153 window is dedicated.
15154 (replace-buffer-in-windows): Delete buffer's window or frame if
15155 and only if window is dedicated.
15156 (quit-window): Handle quit-restore as before last change.
4d61f28d 15157 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 15158
ef8ef9fb
CY
151592011-09-13 Chong Yidong <cyd@stupidchicken.com>
15160
15161 * window.el (window-deletable-p): Never delete the last frame on a
15162 given terminal.
15163
b2cba41e
GM
151642011-09-13 Glenn Morris <rgm@gnu.org>
15165
15166 * help.el (describe-key-briefly): Copy previous standard-output change.
15167
51553db6 151682011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
15169
15170 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
15171
b7556719
GM
151722011-09-13 Glenn Morris <rgm@gnu.org>
15173
15174 * emacs-lisp/lisp-mode.el (lisp-indent-function):
15175 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
15176
64b51947
CY
151772011-09-12 Chong Yidong <cyd@stupidchicken.com>
15178
15179 * dired-aux.el (dired-mark-read-string): Don't return default
15180 value on empty input (Bug#9361).
15181 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
15182 Omit initial minibuffer contents.
15183 (dired-do-chmod): Signal an error on empty input.
15184 (dired-mark-read-string): Don't return default on empty input.
15185
15186 * files.el (file-modes-symbolic-to-number): Doc fix.
15187
393a301e
SM
151882011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
15189
15190 * international/mule-cmds.el (ucs-completions): Remove.
15191 (read-char-by-name): Use complete-with-action instead; add metadata.
15192
fa5660f9
CY
151932011-09-11 Chong Yidong <cyd@stupidchicken.com>
15194
15195 * window.el (display-buffer--action-function-custom-type)
15196 (display-buffer--action-custom-type): New vars.
15197 (display-buffer-alist, display-buffer-default-action)
15198 (display-buffer-overriding-action): Add defcustom types.
15199
4a592f66
CY
15200 * frame.el (delete-other-frames): Doc fix (Bug#276).
15201
73d56dbd
LMI
152022011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15203
15204 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
15205
37ac18a3
CY
152062011-09-11 Chong Yidong <cyd@stupidchicken.com>
15207
15208 Change modes that used same-window-* vars to use switch-to-buffer.
15209
15210 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
15211 Use switch-to-buffer.
15212
15213 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
15214 (customize-browse, custom-buffer-create-other-window):
15215 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
15216
15217 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
15218 (Info-prev, Info-up, Info-speedbar-goto-node)
15219 (info-display-manual): Use switch-to-buffer.
15220 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
15221
15222 * mail/sendmail.el (mail): Use switch-to-buffer.
15223 (mail-recover): Use switch-to-buffer-other-window.
15224
15225 * cmuscheme.el (run-scheme, switch-to-scheme):
15226 * ielm.el (ielm):
15227 * shell.el (shell):
15228 * net/rlogin.el (rlogin):
15229 * net/telnet.el (telnet, rsh):
15230 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
15231
10195bd6
AS
152322011-09-11 Andreas Schwab <schwab@linux-m68k.org>
15233
15234 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
15235
b322f63a
LMI
152362011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15237
39d7fed6
LMI
15238 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
15239 so don't mention it (bug#9301).
ba5a81f1 15240 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 15241
ee0e9f11
LMI
15242 * faces.el (face-spec-set-match-display): Make `(type graphic)'
15243 match `x', `w32' and `ns', like the manual says (bug#9029).
15244
0b1c89c1 15245 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
15246 (process-kill-buffer-query-function): Mention the buffer name in
15247 the query.
0b1c89c1 15248
77549ea8
LMI
15249 * image-mode.el (image-next-line): The line parameter is mandatory
15250 (bug#9258).
15251
803ef892
LMI
15252 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
15253 which can be useful (bug#9301).
15254
12980837
LMI
15255 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
15256
91054f8f
LMI
15257 * subr.el (match-string): Mention that the current buffer should
15258 be the same as the search was done in (bug#9282).
15259
b322f63a
LMI
15260 * facemenu.el: Disable the remove-* commands if the mark isn't
15261 active (bug#9162).
15262
3199b96f
CY
152632011-09-10 Chong Yidong <cyd@stupidchicken.com>
15264
15265 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
15266 of display-buffer.
15267 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
15268
15269 * replace.el (occur-mode-goto-occurrence)
15270 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
15271 and display-buffer.
15272
15273 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
15274 display-buffer.
15275
15276 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
15277 special-display and same-window variables.
15278 (mail-other-window): Use switch-to-buffer-other-window.
15279 (mail-other-frame): USe switch-to-buffer-other-frame.
15280
393a301e
SM
15281 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
15282 Use display-buffer-other-frame.
3199b96f
CY
15283 (gdb-display-gdb-buffer): Use pop-to-buffer.
15284
15285 * progmodes/gud.el (gud-goto-info): Use info-other-window.
15286
15287 * progmodes/python.el: Don't set same-window-buffer-names.
15288
15289 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
15290
15291 * window.el (display-buffer-alist): Add *Python*.
15292
8319e0bf
CY
152932011-09-10 Chong Yidong <cyd@stupidchicken.com>
15294
15295 * window.el (display-buffer-alist): Add entry for buffers
15296 previously handled same-window-*.
15297 (display-buffer-alist, display-buffer-default-action)
15298 (display-buffer-overriding-action): Mark as risky.
15299 (display-buffer-alist): Document action function changes.
15300 (display-buffer--same-window-action)
15301 (display-buffer--other-frame-action): New variables.
15302 (switch-to-buffer, display-buffer-other-frame): Use them.
15303 (display-buffer): Rename reuse-frame entry to reusable-frames.
15304 (display-buffer-reuse-selected-window): Function deleted.
15305 (display-buffer-reuse-window): Handle reusable-frames alist entry.
15306 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
15307 (display-buffer-special): New function.
15308 (display-buffer--maybe-pop-up-frame-or-window): Rename from
15309 display-buffer-reuse-or-pop-window. Split off special-display
15310 part into display-buffer-special.
15311 (display-buffer-use-some-window): Don't perform any special
15312 pop-up-frames handling.
15313 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 15314 (display-buffer--maybe-same-window): Rename from
0d3ff375 15315 display-buffer-maybe-same-window.
8319e0bf 15316
919a69aa
CY
15317 * info.el: Don't set same-window-regexps.
15318 (info-setup): New function.
15319 (info-other-window, info): Call it.
15320
15321 * cus-edit.el: Don't set same-window-regexps.
15322 (customize-group): New argument.
15323 (customize-group-other-window): Use it.
15324 (customize-face, customize-face-other-window): Likewise.
15325 (custom-buffer-create-other-window): Use pop-to-buffer directly.
15326
8319e0bf
CY
15327 * net/rlogin.el:
15328 * net/telnet.el:
15329 * progmodes/gud.el: Don't set same-window-regexps.
15330
15331 * cmuscheme.el:
15332 * ielm.el:
15333 * shell.el:
15334 * mail/sendmail.el:
15335 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
15336
25173000
JL
153372011-09-10 Juri Linkov <juri@jurta.org>
15338
15339 * isearch.el (isearch-edit-string): Remove obsolete mention of
15340 `C-w' (`isearch-yank-word-or-char') from docstring.
15341 (isearch-query-replace): Fix typo in docstring (bug#9466).
15342
056e44ef
JL
153432011-09-10 Juri Linkov <juri@jurta.org>
15344
15345 * paren.el (show-paren-function): Don't show escaped parens.
15346 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
15347
c3760c17
EZ
153482011-09-10 Eli Zaretskii <eliz@gnu.org>
15349
15350 * mail/sendmail.el (mml-to-mime, mml-attach-file)
15351 (mm-default-file-encoding): Remove autoload forms, they are
15352 replaced with autoload cookies in mml.el and mm-encode.el.
15353 (mail-add-attachment): New command.
15354 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
15355 (mail-mode): Mention mail-insert-file and mail-add-attachment in
15356 the doc string.
15357 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
15358
fece895e
RT
153592011-09-10 Reuben Thomas <rrt@sc3d.org>
15360
e69df516
SM
15361 * simple.el (count-words-region): Use buffer if there's no region
15362 (bug#9429).
fece895e 15363
5e68ce4a
JL
153642011-09-09 Juri Linkov <juri@jurta.org>
15365
15366 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
15367 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
15368 (wdired-isearch-filter-read-only): New function. (Bug#6362)
15369
0a6b9622
AM
153702011-09-09 Alan Mackenzie <acm@muc.de>
15371
15372 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
15373 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
15374
14a29deb
EZ
153752011-09-09 Eli Zaretskii <eliz@gnu.org>
15376
15377 Fix for Savannah bug#9392.
15378 * simple.el (mail-encode-mml): New defvar.
15379
15380 * mail/rmail.el (mail-encode-mml): Add a defvar.
15381 (rmail-enable-mime-composing): Default to t.
15382 (rmail-forward): Use MIME method of forwarding only if both
15383 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
15384 Set mail-encode-mml non-nil if the MIME method was used.
15385
15386 * mail/sendmail.el (mml-to-mime): Add autoload form.
15387 (mail-encode-mml): Add a defvar.
15388 (mail-mode): Make mail-encode-mml buffer-local and initialize it
15389 to nil.
15390 (mail-send): If mail-encode-mml is non-nil, run the outgoing
15391 message through mml-to-mime, and reset mail-encode-mml to nil.
15392
28c45130
GM
153932011-09-09 Glenn Morris <rgm@gnu.org>
15394
15395 * woman.el (woman-if-body): When processing an .el block,
15396 do not delete the next .el block as well. (Bug#9447)
69f4b618 15397 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 15398
9b1c252e
MR
153992011-09-08 Martin Rudalics <rudalics@gmx.at>
15400
15401 * window.el (window-deletable-p): Make sure window is live before
15402 invoking window-prev-buffers.
15403
567457e3
LL
154042011-09-08 Leo Liu <sdl.web@gmail.com>
15405
15406 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
15407
97f05794
JL
154082011-09-08 Juri Linkov <juri@jurta.org>
15409
15410 * progmodes/compile.el (compilation-environment): Make it
15411 a defcustom (bug#8340).
15412
8b0874b5
MR
154132011-09-08 Martin Rudalics <rudalics@gmx.at>
15414
15415 * window.el (frame-auto-delete): Rename to window-auto-delete.
15416 Make it control auto-deletion of windows and/or frames.
15417 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 15418 for deleting window/frame. (Bug#9419)
8b0874b5
MR
15419 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
15420 Rewrite handling of case when window/frame can be deleted.
15421 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 15422 argument t. (Bug#9456)
8b0874b5 15423
4feb6e73
CY
154242011-09-07 Chong Yidong <cyd@stupidchicken.com>
15425
15426 * help-mode.el (help-mode): Restore autoload.
15427
91ab9c13
JL
154282011-09-07 Juri Linkov <juri@jurta.org>
15429
15430 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
15431 `compilation-environment'. Set buffer-local
15432 `compilation-environment' to `thisenv' later after (funcall mode).
15433 (Bug#8340)
15434
15435 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
15436 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
15437 instead of replacing its value. (Bug#8340)
15438
0527e251
JL
154392011-09-07 Juri Linkov <juri@jurta.org>
15440
15441 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
15442 based on text properties put by `grep-filter' instead of matching
15443 escape sequences.
15444 (grep-mode): Set buffer-local `compilation-error-screen-columns'
15445 to the value of `grep-error-screen-columns' (bug#9438).
15446
249f792c
JL
154472011-09-07 Juri Linkov <juri@jurta.org>
15448
15449 * simple.el (next-error-highlight, next-error-highlight-no-select):
15450 Doc fix (bug#9432).
15451
ff7271b9
OT
154522011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
15453
15454 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
15455 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
15456
183fc730
LL
154572011-09-07 Leo Liu <sdl.web@gmail.com>
15458
15459 * net/rcirc.el (rcirc-mode): Conditionally initialize
15460 rcirc-input-ring.
15461
77694924
SM
154622011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
15463
15464 * emacs-lisp/find-func.el (find-function-C-source): Only set
15465 find-function-C-source-directory after checking that we found a source
15466 file there (bug#9440).
15467
d809b8eb
AM
154682011-09-06 Alan Mackenzie <acm@muc.de>
15469
15470 * isearch.el (isearch-other-meta-char): Wherever a key list is
15471 unread, "unread" the prefix arg, too. This fixes bug #8901.
15472
453de99f
OG
154732011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
15474
15475 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
15476
90439906
JL
154772011-09-05 Juri Linkov <juri@jurta.org>
15478
15479 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
15480
f62bd846
JL
154812011-09-05 Juri Linkov <juri@jurta.org>
15482
15483 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
15484 keeping point where processing of grep matches begins, and
15485 continue to delete remaining escape sequences from the same point.
15486 (grep-filter): Make leading zero optional in "0?1;31m" because
15487 git-grep emits "\033[1;31m" escape sequences unlike expected
15488 "\033[01;31m" as GNU Grep does (bug#9408).
15489 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
15490
045820ec
JL
154912011-09-05 Juri Linkov <juri@jurta.org>
15492
15493 * subr.el (y-or-n-p): Capitalize "yes".
15494
f5e29b9b
MA
154952011-09-04 Michael Albinus <michael.albinus@gmx.de>
15496
15497 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
15498 `tramp-cache-unload-hook' where appropriate.
15499 (tramp-methods): Rename `tramp-remote-sh' to
15500 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
15501 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
15502
15503 * net/tramp-sh.el (top): Don't require 'shell.
15504 (tramp-methods): Add `tramp-remote-shell' and
15505 `tramp-remote-shell-args' entries.
15506 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
15507 (tramp-sh-handle-shell-command): Remove.
15508 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
15509 Use `tramp-remote-shell'.
15510
2784c434
CY
155112011-09-03 Chong Yidong <cyd@stupidchicken.com>
15512
393a301e 15513 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
15514 (sendmail-query-once): Save directly to send-mail-function.
15515 Update message-send-mail-function too.
15516
15517 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
15518
464cdf56
CS
155192011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
15520
15521 * progmodes/python.el (python-mode-map): Use correct function to
15522 start python interpreter from menu-bar (as reported by Geert
15523 Kloosterman).
15524 (inferior-python-mode-map): Fix typo.
393a301e 15525 (python-shell-map): Remove.
464cdf56 15526
d37e5c87
DD
155272011-09-03 Deniz Dogan <deniz@dogan.se>
15528
15529 * net/rcirc.el (rcirc-print): Simplify code for
15530 rcirc-scroll-show-maximum-output. There is no need to walk
15531 through all windows to find the right one.
15532
f3ada0ee
CS
155332011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
15534
15535 * help.el (help-return-method): Doc fix.
15536
1f3c99ca
MR
155372011-09-03 Martin Rudalics <rudalics@gmx.at>
15538
15539 * window.el (window-deletable-p): Don't return a non-nil value
15540 when there's a buffer that was shown in the window before.
15541 (Bug#9419)
393a301e
SM
15542 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
15543 Set window's previous buffers to nil.
1f3c99ca 15544
a3cf097f
EZ
155452011-09-03 Eli Zaretskii <eliz@gnu.org>
15546
15547 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
15548 newline before and after the tag line, so it doesn't interfere
15549 with determining the paragraph direction of bidirectional text.
15550
3d03de90
LL
155512011-09-03 Leo Liu <sdl.web@gmail.com>
15552
15553 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
15554
c3313451
CY
155552011-09-02 Chong Yidong <cyd@stupidchicken.com>
15556
393a301e 15557 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
15558 (pop-to-buffer): Change interactive spec. Pass second argument
15559 directly to display-buffer.
15560 (display-buffer): Fix interactive spec. Use functionp to
15561 distinguish between a function and a list of functions.
15562
15563 * abbrev.el (edit-abbrevs):
15564 * arc-mode.el (archive-extract):
15565 * autoinsert.el (auto-insert):
15566 * bookmark.el (bookmark-bmenu-list):
15567 * files.el (find-file):
15568 * view.el (view-buffer):
15569 * progmodes/compile.el (compilation-goto-locus):
15570 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
15571
89894cd8
CY
155722011-09-02 Chong Yidong <cyd@stupidchicken.com>
15573
15574 * window.el (display-buffer-alist): Doc fix.
15575 (display-buffer): Add docstring. Don't treat
15576 display-buffer-default specially.
15577 (display-buffer-reuse-selected-window)
15578 (display-buffer-same-window, display-buffer-maybe-same-window)
15579 (display-buffer-reuse-window, display-buffer-pop-up-frame)
15580 (display-buffer-pop-up-window)
15581 (display-buffer-reuse-or-pop-window)
15582 (display-buffer-use-some-window): New functions.
15583 (display-buffer-default-action): Use them.
393a301e 15584 (display-buffer-default): Delete.
89894cd8
CY
15585 (pop-to-buffer-1): Fix choice of actions.
15586
ae0bc9fb
SM
155872011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
15588
15589 * minibuffer.el (completion--insert-strings): Don't get confused by
15590 completion entries that end with an LF char.
15591
e9d90883
EZ
155922011-09-01 Eli Zaretskii <eliz@gnu.org>
15593
15594 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
15595
437014c8
CY
155962011-09-01 Chong Yidong <cyd@stupidchicken.com>
15597
15598 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
15599 (display-buffer-same-window, display-buffer-other-window):
15600 New functions.
437014c8
CY
15601 (pop-to-buffer-1): New function. Use the above.
15602 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 15603 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
15604
15605 * view.el (view-buffer-other-window, view-buffer-other-frame):
15606 Just use pop-to-buffer.
15607
a5e063d5
TV
156082011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15609
15610 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
15611
793d32bb
WH
156122011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
15613
15614 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
15615
d65e4c15
RS
156162011-08-31 Richard Stallman <rms@gnu.org>
15617
15618 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
15619 of the separation of rmail-view-buffer from rmail-buffer.
15620 If you say no to "replace original", the decrypt is in the
15621 view buffer. If you say yes, the decrypt goes into the
15622 rmail buffer also.
15623
f818cd2a
MR
156242011-08-31 Martin Rudalics <rudalics@gmx.at>
15625
15626 * window.el (display-buffer-window): Rewrite doc-string.
15627 (display-buffer-record-window): New function.
15628 (display-buffer-macro-specifiers)
15629 (display-buffer-even-window-sizes, display-buffer-set-height)
15630 (display-buffer-set-width, display-buffer-in-window)
15631 (display-buffer-reuse-window, display-buffer-split-specifiers)
15632 (display-buffer-side-specifiers, display-buffer-split-window-1)
15633 (display-buffer-split-window, display-buffer-split-atom-window)
15634 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
15635 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
15636 (display-buffer-other-window-means-other-frame)
15637 (display-buffer-normalize-special)
15638 (display-buffer-normalize-default)
15639 (display-buffer-normalize-argument)
15640 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
15641 (display-buffer-normalize-specifiers, display-buffer-frame)
15642 (display-buffer-same-window, display-buffer-same-frame)
15643 (display-buffer-other-window)
15644 (display-buffer-same-frame-other-window)
15645 (display-buffer-other-frame, pop-to-buffer-same-window)
15646 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
15647 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
15648 (switch-to-buffer-same-frame)
15649 (switch-to-buffer-other-window-same-frame)
15650 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
15651 (display-buffer-alist-set-1, display-buffer-alist-set-2)
15652 (display-buffer-alist-set): Remove.
15653 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
15654 (special-display-regexps, special-display-function):
15655 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
15656 parameter.
15657 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
15658 (special-display-frame-alist, special-display-popup-frame)
15659 (same-window-buffer-names, same-window-regexps, same-window-p)
15660 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
15661 (split-window-preferred-function, split-height-threshold)
15662 (split-width-threshold, window-splittable-p)
15663 (split-window-sensibly, window--try-to-split-window)
15664 (window--frame-usable-p, even-window-heights)
15665 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
15666 (window--display-buffer-2, display-buffer-other-frame):
15667 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
15668 (display-buffer-default, display-buffer-assq-regexp): New functions.
15669 (display-buffer-alist): Rewrite doc-string.
15670 (display-buffer-default-action)
15671 (display-buffer-overriding-action): New variables.
15672 (display-buffer, switch-to-buffer): Rewrite.
15673 (pop-to-buffer): Restore Emacs 23 behavior but use
15674 window-normalize-buffer-to-display.
15675 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
15676 Restore Emacs 23 behavior but use
15677 window-normalize-buffer-to-switch-to.
15678 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
15679 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
15680 Rewrite using Emacs 23 options.
f818cd2a 15681
5bc3b51d
MA
156822011-08-31 Michael Albinus <michael.albinus@gmx.de>
15683
15684 * net/tramp.el (tramp-root-regexp): Remove.
15685 (tramp-completion-file-name-regexp-unified)
15686 (tramp-completion-file-name-regexp-separate)
15687 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 15688 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
15689 (tramp-drop-volume-letter): Simplify definition.
15690 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 15691
b1a4f8e1
SM
156922011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
15693
15694 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
15695 (bug#9356).
15696
5664fa7b
RT
156972011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
15698
b1a4f8e1 15699 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 15700
9a45d6c3
JL
157012011-08-29 Juri Linkov <juri@jurta.org>
15702
15703 * isearch.el (isearch-done): Don't display message "Mark saved"
15704 when arg `edit' is non-nil to prevent its flicker in the echo area.
15705
fb87e0fb
CY
157062011-08-28 Chong Yidong <cyd@stupidchicken.com>
15707
15708 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
15709 obsolete packages for deletion.
15710
09ac1c2a
CS
157112011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
15712
15713 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 15714 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
15715 view-mode from help-mode.
15716 (help-xref-override-view-map): Remove.
15717 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
15718 view-mode is not used anymore.
15719
7a1ff57f
CY
157202011-08-28 Chong Yidong <cyd@stupidchicken.com>
15721
15722 * server.el (server-port): Doc fix.
15723
b9696605
CY
15724 * cus-theme.el (custom-theme-choose-mode): Inherit from
15725 special-mode (Bug#9124).
15726 (custom-theme-choose-mode-map): Add special-mode to parent.
15727
ef8cdf8c
AM
157282011-08-28 Alan Mackenzie <acm@muc.de>
15729
15730 * progmodes/cc-fonts.el
15731 (c-make-font-lock-BO-decl-search-function): New function.
15732 (c-basic-matchers-after - "Fontify the clauses after various
15733 keywords"): Extract the three keyword lists for the 3 erroneous
15734 constructs from the list of four, and use the new function above
15735 in place of an old one.
15736
27de4e20
DD
157372011-08-28 Deniz Dogan <deniz@dogan.se>
15738
15739 * net/rcirc.el (rcirc-insert-prev-input)
15740 (rcirc-insert-next-input): Remove unused argument.
15741
356a3681
SM
157422011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
15743
15744 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
15745
3fc9b218
AM
157462011-08-27 Alan Mackenzie <acm@muc.de>
15747
15748 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
15749 handle function pointer parameters properly.
15750
538a061c
MR
157512011-08-27 Martin Rudalics <rudalics@gmx.at>
15752
15753 * window.el (display-buffer-reuse-window): Fix case where
15754 selected window was reused with non-nil OTHER-WINDOW argument.
15755 (Bug#9381)
15756
35b1c40c
DD
157572011-08-27 Deniz Dogan <deniz@dogan.se>
15758
15759 * net/rcirc.el (rcirc-check-auth-status): Adding support for
15760 oftc's NickServ messages.
15761
2f6a3e79
GM
157622011-08-27 Glenn Morris <rgm@gnu.org>
15763
15764 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
15765
7254299e
CY
157662011-08-26 Chong Yidong <cyd@stupidchicken.com>
15767
15768 * emacs-lisp/package.el (package-install): Call package-initialize
15769 if called interactively.
15770
f8ccf167
LL
157712011-08-26 Leo Liu <sdl.web@gmail.com>
15772
15773 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
15774
3e8cd5ce
JL
157752011-08-25 Juri Linkov <juri@jurta.org>
15776
15777 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
15778 `search-whitespace-regexp' (bug#9364).
15779
93eb7113
JL
157802011-08-25 Juri Linkov <juri@jurta.org>
15781
15782 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
15783 `regexp-search-ring' to their global values to protect from
15784 updating by `read-from-minibuffer' (bug#9185).
15785
f65d1611
JL
157862011-08-25 Juri Linkov <juri@jurta.org>
15787
15788 * textmodes/ispell.el (ispell-command-loop): Add newline
15789 at the end of the "Use option `i'..." line.
15790
f1cf7a31
JL
157912011-08-25 Juri Linkov <juri@jurta.org>
15792
15793 * battery.el (display-battery-mode): If `battery-status-function'
15794 or `battery-mode-line-format' is nil, display the message and set
15795 `display-battery-mode' to nil (bug#9363).
15796
0c95fcf7
EZ
157972011-08-25 Eli Zaretskii <eliz@gnu.org>
15798
15799 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
15800 bidi-string-mark-left-to-right; they are unnecessary now.
15801
a2ebe600
DD
158022011-08-25 Deniz Dogan <deniz@dogan.se>
15803
15804 * net/quickurl.el: Documentation typo fixes.
15805
e4ed06f1
CY
158062011-08-25 Chong Yidong <cyd@stupidchicken.com>
15807
15808 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
15809
e5f1c99e
GM
158102011-08-25 Glenn Morris <rgm@gnu.org>
15811
b2948976
GM
15812 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
15813
e5f1c99e
GM
15814 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
15815 (smtpmail-via-smtp): Handle nil response from smtp.
15816
f22f4808
JL
158172011-08-24 Juri Linkov <juri@jurta.org>
15818
15819 * proced.el (proced-marked): Inherit from `error' instead of
15820 `font-lock-warning-face'.
15821
15822 * ibuffer.el (ibuffer-marked-face): Change default face from
15823 `font-lock-warning-face' to `warning'.
15824 (ibuffer-deletion-face): Change default face from
15825 `font-lock-type-face' to `error'.
15826
15827 * battery.el (battery-update): Use the face `error' instead of
15828 `font-lock-warning-face' (bug#6117).
15829
6a93965e
JL
158302011-08-24 Juri Linkov <juri@jurta.org>
15831
15832 * faces.el (success): Change face color from "Green3" to
15833 "ForestGreen" on light background (bug#9353).
15834
1ed43b09
CY
158352011-08-24 Chong Yidong <cyd@stupidchicken.com>
15836
5664fa7b
RT
15837 * window.el (quit-window): Rename from quit-restore-window.
15838 Use same arglist as old quit-window.
1ed43b09
CY
15839 (frame-auto-delete): Doc fix.
15840
15841 * view.el (view-mode-exit): Use quit-window.
15842
11dcdbb2
JL
158432011-08-24 Juri Linkov <juri@jurta.org>
15844
15845 * isearch.el (isearch-ring-adjust1): Start visiting previous
15846 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
15847 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
15848 for empty search string (when the last search string is reused
15849 automatically) to adjust the isearch ring to the last element and
15850 prepare the correct index for further M-p commands (bug#9185).
15851
de62b4df
KH
158522011-08-24 Kenichi Handa <handa@m17n.org>
15853
15854 * international/ucs-normalize.el: If decomposition property of
15855 CHAR is the default one (i.e. a list of CHAR itself), treat it as
15856 nil.
15857 (nfd, nfkd): Likewise.
15858
963b492b
SM
158592011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
15860
15861 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
15862 from process filters aren't reliably transmitted to the surrounding
15863 accept-process-output.
15864 (mpc-proc-check): New function.
15865 (mpc-proc-sync): Use it (bug#8293)
15866
93b6b5e1
SM
158672011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
15868
15869 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
15870 Add compatibility functions (bug#9313).
15871
bca633fb
EZ
158722011-08-23 Eli Zaretskii <eliz@gnu.org>
15873
b177498a
EZ
15874 * cus-start.el (all): Add entry for bidi-paragraph-direction.
15875
6df6ae42 15876 * international/uni-bidi.el: Regenerate.
bca633fb 15877
0902a04e
KH
158782011-08-23 Kenichi Handa <handa@m17n.org>
15879
15880 * international/charprop.el:
15881 * international/uni-bidi.el:
15882 * international/uni-category.el:
15883 * international/uni-combining.el:
15884 * international/uni-comment.el:
15885 * international/uni-decimal.el:
15886 * international/uni-decomposition.el:
15887 * international/uni-digit.el:
15888 * international/uni-lowercase.el:
15889 * international/uni-mirrored.el:
15890 * international/uni-name.el:
15891 * international/uni-numeric.el:
15892 * international/uni-old-name.el:
15893 * international/uni-titlecase.el:
15894 * international/uni-uppercase.el: Regenerate.
15895
3bbf23bc
MR
158962011-08-23 Martin Rudalics <rudalics@gmx.at>
15897
15898 * help.el (help-window-setup): Fix message displayed when other
15899 window is reused. (Bug#9341)
15900
b3fd59bd
SM
159012011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
15902
1802e444
SM
15903 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
15904 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
15905
b3fd59bd
SM
15906 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
15907 Mark obsolete.
15908 * shell.el (shell-parse-pcomplete-arguments): New function.
15909 (shell-completion-vars): Use it instead (bug#9160).
15910
4eb61348
SM
159112011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
15912
867cab74
SM
15913 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
15914 strings and comments (bug#9333).
15915
4eb61348
SM
15916 * emacs-lisp/debug.el (debug-arglist): New function.
15917 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
15918 (debug-on-entry-1): Handle interpreted closures (bug#9120).
15919
262a1439
JL
159202011-08-22 Juri Linkov <juri@jurta.org>
15921
56ee679c
JL
15922 * progmodes/compile.el (compilation-mode-font-lock-keywords):
15923 Revert regexp that highlights output switches to its old
15924 pre-2010-10-28 value and remove one `?' from it (bug#9319).
15925
262a1439
JL
15926 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
15927 to check for empty output (bug#9226).
15928
f13f86fb
CY
159292011-08-22 Chong Yidong <cyd@stupidchicken.com>
15930
15931 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
15932 symbol-constituent as the default, as that stops font-lock from
15933 working properly (Bug#8843).
15934
c65c9622
LMI
159352011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
15936
15937 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
15938 `coding-system-for-*' around the process open call to avoid
15939 auth-source side effects.
e7f2c178 15940 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
15941 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
15942 probe hangs.
c65c9622 15943
23a8a5ab
CY
159442011-08-21 Chong Yidong <cyd@stupidchicken.com>
15945
ff98b2dd
CY
15946 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
15947
23a8a5ab
CY
15948 * emacs-lisp/find-func.el (find-function-noselect): New arg
15949 lisp-only.
15950
15951 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
15952 signal an error for built-in functions (Bug#6664).
15953
f5e3c598
LMI
159542011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
15955
15956 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
15957 (smtpmail-try-auth-methods): Use it.
15958
a3f2468a
CY
159592011-08-21 Chong Yidong <cyd@stupidchicken.com>
15960
2c34e8da
CY
15961 * font-lock.el (font-lock-fontify-region)
15962 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
15963 (font-lock-default-unfontify-buffer)
15964 (font-lock-default-fontify-region)
15965 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
15966
b3fd59bd
SM
15967 * progmodes/compile.el (compilation-error-properties):
15968 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
15969 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
15970 `ant' regexp.
ee31aabc 15971
a3f2468a
CY
15972 * net/browse-url.el (browse-url-firefox): Don't call
15973 browse-url-firefox-sentinel unless using -remote (Bug#9328).
15974
8e999f70
GM
159752011-08-20 Glenn Morris <rgm@gnu.org>
15976
c21a496a
GM
15977 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
15978
59ee0542
GM
15979 * tutorial.el (tutorial--default-keys): Update some default bindings.
15980
8e999f70
GM
15981 * files.el (hack-local-variables): Fully ignore case for "mode:".
15982
e3715033
AM
159832011-08-20 Alan Mackenzie <acm@muc.de>
15984
15985 Resolve invalid use of a regexp in regexp-opt.
15986
4d61f28d
JB
15987 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
15988 detection for a java annotation.
e3715033 15989
4d61f28d 15990 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
15991 detection for a java annotation.
15992
4d61f28d
JB
15993 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
15994 handling for java.
e3715033
AM
15995 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
15996
04ed2e9c
CY
159972011-08-20 Chong Yidong <cyd@stupidchicken.com>
15998
15999 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
16000 (Bug#9274).
16001
826cee64
AM
160022011-08-20 Alan Mackenzie <acm@muc.de>
16003
58179cce 16004 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
16005 such a construct. Mainly for when jit-lock etc. starts a chunk
16006 here.
16007
58179cce 16008 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 16009 variable.
58179cce 16010 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
16011 c-make-font-lock-search-function.
16012 (c-make-font-lock-search-function): Use the above function.
16013 (c-make-font-lock-context-search-function): New function.
16014 (c-cpp-matchers): Enhance the preprocessor expression case with
16015 the above function
16016 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
16017 which takes an expression.
16018
16019 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
16020
13009bd8
MR
160212011-08-20 Martin Rudalics <rudalics@gmx.at>
16022
16023 * window.el (display-buffer-reuse-window)
16024 (display-buffer-pop-up-window): Don't reuse or split a side
16025 window.
16026
9234ff7f
GM
160272011-08-19 Glenn Morris <rgm@gnu.org>
16028
16029 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 16030 Downcase "Mode:". (Bug#9331)
9234ff7f 16031
f635daa1
CY
160322011-08-18 Chong Yidong <cyd@stupidchicken.com>
16033
16034 * international/characters.el: Add L and R categories.
16035
16036 * subr.el (bidi-string-mark-left-to-right): Rename from
16037 string-mark-left-to-right. Use category search.
16038
16039 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
16040
bc987f8b
JL
160412011-08-18 Juri Linkov <juri@jurta.org>
16042
16043 * faces.el (error, warning, success): New faces with definitions
16044 copied from old default values of `font-lock-warning-face',
16045 `compilation-warning', `compilation-info' (bug#6117).
16046
16047 * font-lock.el (font-lock-warning-face): Inherit from `error'.
16048
16049 * progmodes/compile.el (compilation-error): Inherit from `error'.
16050 (compilation-warning): Inherit from `warning'.
16051 (compilation-info): Inherit from `success'.
16052
16053 * dired.el (dired-marked): Inherit from `warning'.
16054 (dired-flagged): Inherit from `error'.
16055
57173b96
LMI
160562011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
16057
3e79eb87
LMI
16058 * mail/smtpmail.el (auth-source): Require to avoid problems with
16059 binding variables (bug#9298). Also clean up some unused
16060 autoloads.
16061
b3fd59bd
SM
16062 * net/network-stream.el (network-stream-open-starttls):
16063 Support using starttls.el without using gnutls-cli.
57173b96 16064
02b404de
JL
160652011-08-17 Juri Linkov <juri@jurta.org>
16066
16067 * progmodes/grep.el (rgrep): Handle the case when
16068 `grep-find-command' is a cons cell (bug#9278).
16069
8c9177f2
MR
160702011-08-17 Martin Rudalics <rudalics@gmx.at>
16071
16072 * window.el (display-buffer-pop-up-frame): Run frame creation
16073 function with BUFFER current (as special-display-popup-frame
16074 does). Reported by Drew Adams.
16075
3644a0ab
DU
160762011-08-17 Daiki Ueno <ueno@unixuser.org>
16077
16078 * epa-mail.el: Simplify GnuPG group expansion using
16079 epg-expand-group.
16080 (epa-mail-group-alist, epa-mail-group-modtime)
16081 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
16082 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
16083 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
16084 Remove.
16085
5e617bc2 160862011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
16087
16088 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
16089
9c4aeabf
AM
160902011-08-16 Alan Mackenzie <acm@muc.de>
16091
16092 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
16093 Correct, to avoid the inside of macros.
16094
3a99bf64
RS
160952011-08-16 Richard Stallman <rms@gnu.org>
16096
04963aa8
RS
16097 * epa-mail.el: Handle GnuPG group definitions.
16098 (epa-mail-group-alist, epa-mail-group-modtime)
16099 (epa-mail-gnupg-conf-file): New variables.
16100 (epa-mail-parse-groups, epa-mail-sync-groups)
16101 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
16102 (epa-mail-expand-recipients): New functions.
16103 (epa-mail-encrypt): Call epa-mail-expand-recipients.
16104
177549d0
RS
16105 * mail/rmail.el (rmail-epa-decrypt): New command.
16106
fe38beef
RS
16107 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
16108 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
16109 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
16110 (epa-decrypt-armor-in-region): Make error message clearer.
16111
934eacb9
SM
161122011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
16113
16114 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
16115 and "a2b" to "ab" for `prefix'.
16116
d024fb4e
CY
161172011-08-14 Chong Yidong <cyd@stupidchicken.com>
16118
16119 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
16120 filter groups.
de148fee
CY
16121 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
16122 Fourquet (Bug#8804).
d024fb4e 16123
62f1ca49
JB
161242011-08-12 Juanma Barranquero <lekktu@gmail.com>
16125
16126 * startup.el (argi): Declare as global variable (bug#9275).
16127
9ccaaa4b
CY
161282011-08-12 Chong Yidong <cyd@stupidchicken.com>
16129
16130 * subr.el (string-mark-left-to-right): Search the entire string
16131 for RTL script, not just the terminating character. Doc fix.
16132
a3dae87a
SM
161332011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
16134
6cd18349
SM
16135 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
16136 New function.
16137 (js--regexp-literal, js-syntax-propertize-function): Remove.
16138 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
16139 (js-mode-map): Don't rebind electric keys.
16140 (js-insert-and-indent): Remove.
16141 (js-mode): Setup electric-layout and electric-indent instead.
16142
a3dae87a
SM
16143 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
16144
9d5cb631
DU
161452011-08-12 Daiki Ueno <ueno@unixuser.org>
16146
16147 * epa.el (epa-progress-callback-function): Fix the logic of
16148 displaying progress.
16149 * epa-file.el (epa-file-insert-file-contents): Make progress
16150 display more user-friendly.
16151 (epa-file-write-region): Ditto.
16152
3e26a4a2
CY
161532011-08-10 Chong Yidong <cyd@stupidchicken.com>
16154
16155 * subr.el (string-mark-left-to-right): New function.
16156
16157 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
16158 Use string-mark-left-to-right.
16159 (list-buffers-noselect): Caller changed.
16160
a3dae87a
SM
16161 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
16162 Use string-mark-left-to-right.
3e26a4a2
CY
16163 (tabulated-list-print): Recenter after moving point.
16164
ac8cf6e6
JL
161652011-08-10 Juri Linkov <juri@jurta.org>
16166
16167 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
16168 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
16169 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
16170
8d96c9a4
CY
161712011-08-09 Chong Yidong <cyd@stupidchicken.com>
16172
16173 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
16174 (Bug#7554).
16175
7be1c708 161762011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
16177
16178 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
16179 character. (Bug#6594)
16180
37e11a63
CY
161812011-08-08 Chong Yidong <cyd@stupidchicken.com>
16182
839dde57
CY
16183 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
16184 (image-dired--with-db-file): New macro.
16185 (image-dired-write-tags, image-dired-remove-tag)
16186 (image-dired-create-gallery-lists, image-dired-write-comments)
16187 (image-dired-get-comment, image-dired-mark-tagged-files)
16188 (image-dired-list-tags, image-dired-gallery-generate): Use it.
16189 (image-dired-gallery-generate): Use insert-file-contents.
16190
37e11a63
CY
16191 * time.el (display-time-world-list, display-time-world-display):
16192 * time-stamp.el (time-stamp-string):
16193 * vc/add-log.el (add-change-log-entry): Use setenv instead of
16194 set-time-zone-rule (Bug#7337).
16195
0b4946c4
DU
161962011-08-08 Daiki Ueno <ueno@unixuser.org>
16197
16198 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
16199 (epg-error-to-string, epg-errors-to-string): New function.
16200 (epg-wait-for-completion): Reverse errors list.
16201 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
16202 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
16203 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
16204 (epg-sign-keys, epg-generate-key-from-file)
16205 (epg-generate-key-from-string): Format errors by using
16206 epg-errors-to-string (bug#9255).
16207 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
16208
75bfc667
JL
162092011-08-07 Juri Linkov <juri@jurta.org>
16210
16211 * faces.el (list-faces-display): Remove extra angle bracket
16212 from `help-mode-map'.
16213
16214 * info.el (Info-history-toc-nodes): Doc fix.
16215
16216 * longlines.el (longlines-mode): Doc fix.
16217
673e08bb
SM
162182011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
16219
4640dd88
SM
16220 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
16221 of statements and in a few more cases (bug#9183).
16222
673e08bb
SM
16223 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
16224 New functions.
16225 (cl-transform-lambda): Use them (bug#9239).
16226
89b3f019
MR
162272011-08-05 Martin Rudalics <rudalics@gmx.at>
16228
16229 * window.el (display-buffer-same-window)
16230 (display-buffer-same-frame, display-buffer-other-window)
16231 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
16232 (pop-to-buffer-other-window)
16233 (pop-to-buffer-same-frame-other-window)
16234 (pop-to-buffer-other-frame): Make them defuns.
16235 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
16236
640c8776
SM
162372011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
16238
16239 * subr.el (make-composed-keymap): Move from C. Change calling
16240 convention, and improve docstring to bring attention to a subtle point.
16241 * minibuffer.el (completing-read-default): Adjust accordingly.
16242
63648a95
MA
162432011-08-03 Michael Albinus <michael.albinus@gmx.de>
16244
16245 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
16246 (tramp-open-shell): Use `tramp-shell-quote-argument'.
16247
16248 * net/trampver.el: Update release number.
16249
b796c9b7
SM
162502011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
16251
16252 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
16253 "in" (bug#9190).
16254
2239d7d5
LMI
162552011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16256
e07dd7c3
LMI
16257 * mail/sendmail.el (sendmail-query-once): Restore the current
16258 buffer after querying (bug#9074).
16259
0e6a2bd7
LMI
16260 * dired.el (dired-flagged): Use different faces for marked and
16261 flagged files (bug#6117).
16262
ce887515
LMI
16263 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
16264 (bug#4433).
16265
92f2affc
LMI
16266 * ido.el (ido-mode): Switch off the message if called
16267 non-interactively.
16268
57d5aff0
LMI
16269 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
16270 before 587, since it appears that that's more likely to work for
16271 more people.
16272
98cd6c18 16273 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 16274 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
16275 exist.
16276
b96dec83
LMI
16277 * info.el: Remove the `Info-beginning-of-buffer' function
16278 (bug#8325).
16279
b796c9b7
SM
16280 * net/network-stream.el (network-stream-open-starttls):
16281 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 16282
d90e2ea0
MR
162832011-08-01 Martin Rudalics <rudalics@gmx.at>
16284
16285 * window.el (display-buffer-in-window): Don't set dedicated status
16286 of window here (Bug#9215).
16287 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
16288 (display-buffer-pop-up-side-window)
b796c9b7 16289 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 16290
cca09170
SM
162912011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
16292
16293 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
16294 before binding generated-autoload-file.
16295
027b979c
DD
162962011-08-01 Deniz Dogan <deniz@dogan.se>
16297
16298 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
16299
3c7ee4f3
MA
163002011-07-30 Michael Albinus <michael.albinus@gmx.de>
16301
16302 Sync with Tramp 2.2.2.
16303
16304 * net/trampver.el: Update release number.
16305
2cc8e51a
JL
163062011-07-30 Juri Linkov <juri@jurta.org>
16307
16308 * dired-aux.el (dired-touch-initial): Remove function.
16309 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
16310 current time, and `default' to the last modification time of the
16311 current marked file (bug#6887).
16312
a514d856
JM
163132011-07-28 Jose E. Marchesi <jemarch@gnu.org>
16314
16315 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 16316 numeric argument to read-number (bug#9163).
a514d856 16317
8a7eddd7
MA
163182011-07-27 Michael Albinus <michael.albinus@gmx.de>
16319
16320 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
16321 connection process, it could be nil.
16322
1ddd96f5
LL
163232011-07-27 Leo Liu <sdl.web@gmail.com>
16324
16325 Simplify url handling in rcirc-mode.
16326
16327 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
16328 (rcirc-browse-url-at-mouse): Remove.
16329 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
16330
b248a85d
AM
163312011-07-26 Alan Mackenzie <acm@muc.de>
16332
16333 Fontify bitfield declarations properly.
16334
16335 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
16336 (c-symbol-chars): Now exported as a lang variable.
16337 (c-not-primitive-type-keywords): New lang variable.
16338
16339 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
16340 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 16341 parsed as a bitfield declaration.
b248a85d 16342
b796c9b7
SM
16343 * progmodes/cc-engine.el (c-beginning-of-statement-1):
16344 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
16345 (c-punctuation-in): New function.
16346 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
16347 declarations properly.
16348
68575ab0
UJ
163492011-07-26 Ulf Jasper <ulf.jasper@web.de>
16350
16351 * calendar/icalendar.el (icalendar--all-events): Take care of
16352 multiple vcalendars in a single file.
b796c9b7 16353 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 16354
0f0a88b9
DD
163552011-07-25 Deniz Dogan <deniz@dogan.se>
16356
16357 * image.el (insert-image): Clarifying docstring.
16358
0b3f36df
MA
163592011-07-24 Michael Albinus <michael.albinus@gmx.de>
16360
16361 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
16362 `tramp-send-command-and-check' if there is no error.
16363 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
16364
a9901f61
AM
163652011-07-22 Alan Mackenzie <acm@muc.de>
16366
16367 Prevent cc-langs.elc being loaded at run time.
16368
16369 * progmodes/cc-mode.el: Remove two autoload forms which loaded
16370 cc-langs.
16371
4d61f28d 16372 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
16373 "(require 'cc-langs)". Quote a form so it will evaluate at
16374 (cc-mode's) compilation time.
16375
11d074b2
MA
163762011-07-22 Michael Albinus <michael.albinus@gmx.de>
16377
16378 * net/tramp.el (tramp-file-name-handler): Avoid recursive
16379 loading. (Bug#9114)
16380
938b94c8
MR
163812011-07-21 Martin Rudalics <rudalics@gmx.at>
16382
16383 * window.el (display-buffer-pop-up-window)
16384 (display-buffer-pop-up-side-window)
16385 (display-buffer-in-side-window): Call display-buffer-set-height
16386 and display-buffer-set-width after setting the new window's
b796c9b7 16387 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 16388
bfa4f190
SS
163892011-07-20 Sam Steingold <sds@gnu.org>
16390
16391 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
16392 (etags-tags-included-tables): Call `convert-standard-filename' on
16393 the file names contained in TAGS so that windows Emacs can handle
16394 TAGS files created by cygwin ctags.
16395
8ca42262
LMI
163962011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
16397
16398 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
16399 which apparently didn't work.
16400
5db2afd2 164012011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 16402
5db2afd2
RW
16403 * proced.el (proced-send-signal): For *Marked Processes* buffer
16404 put point at beginning of buffer.
16405
92e15d10
SB
164062011-07-19 Stephen Berman <stephen.berman@gmx.net>
16407
16408 * proced.el (proced-format): Make header lines align with the text
16409 (bug#1779).
16410
1bfd59e5
LMI
164112011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
16412
16413 * view.el (view-buffer): Allow running in `special' modes if we're
16414 visiting a file (bug#8615).
16415
f5aae37c
MR
164162011-07-19 Martin Rudalics <rudalics@gmx.at>
16417
16418 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
16419 (display-buffer-alist-set-1, display-buffer-alist-set-2):
16420 New functions.
f5aae37c
MR
16421 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
16422 more accurately.
16423
bf2c1571
AM
164242011-07-18 Alan Mackenzie <acm@muc.de>
16425
16426 Fontify declarators properly when, e.g., a jit-lock chunk begins
16427 inside a declaration.
16428
16429 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
16430
b796c9b7
SM
16431 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
16432 New function.
bf2c1571
AM
16433 (c-complex-decl-matchers): Insert reference to
16434 c-font-lock-enclosing-decls.
16435
16436 * progmodes/cc-engine.el (c-backward-single-comment):
16437 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
16438 to nil around calls to (forward-comment -1).
16439
4e190b80
LMI
164402011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
16441
12dc863d
LMI
16442 * image.el (put-image): Doc typo fix.
16443
a762e966
LMI
16444 * progmodes/etags.el (tags-search): Doc typo fix.
16445
4e190b80
LMI
16446 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
16447 password if we get errors 550 to 554.
16448
f019fb21
LMI
164492011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
16450
b796c9b7 16451 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 16452
81746738
LMI
16453 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
16454 indentation character (bug#6380).
16455
3ee3a1b5
LMI
16456 * files.el (buffer-offer-save): Made permanently local (bug#6241).
16457
c82f64de
LMI
16458 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
16459 to clarify what the problem is (bug#4291).
16460
f019fb21
LMI
16461 * simple.el (current-kill): Clarify what
16462 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
16463 (auto-fill-mode): Document `auto-fill-function' in relation to
16464 `auto-fill-mode' (bug#2470).
f019fb21 16465
0794775d
LM
164662011-07-16 Lawrence Mitchell <wence@gmx.li>
16467
16468 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
16469 method if slot is read-only (bug#9035).
16470
be39b8cc
MR
164712011-07-16 Martin Rudalics <rudalics@gmx.at>
16472
b796c9b7 16473 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 16474 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
16475 selected before, see discussion of (Bug#8615), (Bug#6954).
16476 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 16477
6ccf7859
GM
164782011-07-15 Glenn Morris <rgm@gnu.org>
16479
16480 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 16481 Respect help-form.
6ccf7859 16482
87e86684
LM
164832011-07-09 Lawrence Mitchell <wence@gmx.li>
16484
16485 * net/gnutls.el (gnutls-min-prime-bits): New variable.
16486 (gnutls-negotiate): Use it.
16487
d6066239
LMI
164882011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
16489
b796c9b7
SM
16490 * net/gnutls.el (gnutls-negotiate):
16491 Upcase `gnutls-algorithm-priority'.
d6066239 16492
bd23ebc0
GM
164932011-07-15 Glenn Morris <rgm@gnu.org>
16494
c65bca65
GM
16495 * jka-compr.el (jka-compr-verbose): Move from here...
16496 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
16497 Add missing :version tag.
16498 * info.el: No need to require jka-compr when compiling.
bd23ebc0 16499
478615cc
LMI
165002011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
16501
7b41decb
LMI
16502 * net/gnutls.el (gnutls-algorithm-priority): New variable.
16503 (gnutls-negotiate): Use it.
16504
dbc44fcd
LMI
16505 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
16506
06789f97
LMI
16507 * info.el (Info-beginning-of-buffer): New command.
16508 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
16509 announcing `b' as the key (bug#8325).
ab896c37 16510 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 16511
c39da690
LMI
16512 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
16513
3aa5f34b
LMI
16514 * international/mule-cmds.el
16515 (describe-specified-language-support): Make the error message
16516 clearer (bug#8905).
16517
4bf0979f
LMI
16518 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
16519
478615cc
LMI
16520 * isearch.el (isearch-barrier): Add a doc string, since it's
16521 mentioned in a function doc string (bug#8678).
16522
75c68aa1
MR
165232011-07-15 Martin Rudalics <rudalics@gmx.at>
16524
16525 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
16526 buffer argument (Bug#9083) and self-identifying label argument.
16527
a7c33da2
GM
165282011-07-15 Glenn Morris <rgm@gnu.org>
16529
16530 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
16531
2f5c6024
LMI
165322011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
16533
16534 * man.el (Man-fontify-manpage): Fix message when formatting the
16535 man page (bug#7929).
16536
0bb23927 165372011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
16538
16539 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
16540 argument LRM; if non-nil, append an invisible LRM character to the
16541 buffer name.
16542 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
16543 last argument non-nil, when formatting buffer names.
0bb23927
EZ
16544 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
16545 paragraph direction.
cce4b0a7 16546
621ef9ab
LMI
165472011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
16548
d1583c48
LMI
16549 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
16550 the man page name (bug#7929).
16551
6a57fb5f
LMI
16552 * image.el (put-image): Mention the `put-image' overlay property
16553 (bug#7834).
16554
d7956b14
LMI
16555 * scroll-bar.el (set-scroll-bar-mode): Mention that
16556 `scroll-bar-mode' lists the values (bug#7772).
16557
5b2d4a66
LMI
16558 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
16559 command (bug#7729).
16560
7509a874
LMI
16561 * rect.el (apply-on-rectangle): Return the point after the last
16562 operation.
16563 (string-rectangle): Go to the point after the last operation
16564 (bug#7522).
16565
4fe74b19
LMI
16566 * printing.el (pr-toggle-region): Clarify the documentation
16567 slightly (bug#7493).
16568
b796c9b7
SM
16569 * time.el (display-time-update):
16570 Allow `display-time-mail-function' to return nil (bug#7158).
16571 Fix suggested by Detlev Zundel.
ab283561 16572
fc233c9d
LMI
16573 * vc/diff.el (diff): Clarify the order the file names are read
16574 (bug#7111).
16575
43f5740b
LMI
16576 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
16577 the doc string (bug#7015).
16578
f2182a76
LMI
16579 * font-lock.el (font-lock-maximum-decoration): Mention what
16580 numeric levels mean (bug#6935).
16581
621ef9ab
LMI
16582 * startup.el (initial-buffer-choice): Don't mention the `none'
16583 selection, which is against policy.
16584
adc47434
MR
165852011-07-14 Martin Rudalics <rudalics@gmx.at>
16586
b796c9b7
SM
16587 * window.el (display-buffer-normalize-special):
16588 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 16589
7e5bfb8f
EZ
165902011-07-14 Eli Zaretskii <eliz@gnu.org>
16591
16592 * subr.el (version<, version<=, version=): Mention "-CVS" and
16593 "-12345" alpha version numbers.
16594
27fa387a
CY
165952011-07-14 Chong Yidong <cyd@stupidchicken.com>
16596
16597 * bindings.el: Add advertised binding for set-mark-command
16598 (Bug#5772).
16599
8bdfa064
CY
166002011-07-14 Chong Yidong <cyd@stupidchicken.com>
16601
16602 * bindings.el (mode-line-other-buffer):
16603 * bookmark.el (bookmark-bmenu-2-window):
16604 * bs.el (bs-cycle-next, bs-cycle-previous):
16605 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
16606 switch-to-buffer.
16607
16608 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 16609 Delete.
8bdfa064 16610
5eba16a3
JB
166112011-07-14 Juanma Barranquero <lekktu@gmail.com>
16612
16613 * follow.el (follow-debug-message, follow-redisplay):
16614 * jka-cmpr-hook.el (with-auto-compression-mode):
16615 Fix typos in docstrings.
16616
15853710
LMI
166172011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16618
a28e4607
LMI
16619 * subr.el (with-silent-modifications): Clarify somewhat what the
16620 macro inhibits (bug#6525).
16621
15853710
LMI
16622 * simple.el (eval-expression): Note what it does if called
16623 interactively (bug#6495).
16624
bee0fcef
CY
166252011-07-13 Chong Yidong <cyd@stupidchicken.com>
16626
b796c9b7
SM
16627 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
16628 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
16629
16630 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
16631 Remove switch-to-buffer.
16632
58274504
LMI
166332011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16634
bd2fcc8d
LMI
16635 * files.el (make-directory): Clarify that an error will be raised
16636 if there's an error (bug#6397).
16637
0f04b32c
LMI
16638 * startup.el (initial-buffer-choice): Add `none' as a choice
16639 (bug#6234).
16640
465c5fc8
LMI
16641 * subr.el (add-hook): Clarify section about buffer-local hooks
16642 (bug#6218).
16643
58274504
LMI
16644 * dired.el (dired-flagged): Clarify doc string (bug#6117).
16645
bead9a43
JB
166462011-07-13 Juanma Barranquero <lekktu@gmail.com>
16647
16648 * tabify.el (untabify): Preserve the current column so that point
16649 doesn't move (bug#6032).
16650
3af98a7b
LMI
166512011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16652
b796c9b7
SM
16653 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
16654 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 16655
6240145a
GM
166562011-07-13 Glenn Morris <rgm@gnu.org>
16657
16658 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
16659 (dired-insert-directory): Give a message the first time
16660 if ls is found not to support --dired.
16661
1d8c2ccc
LMI
166622011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16663
16664 * simple.el (toggle-truncate-lines): Clarify what is toggled
16665 (bug#5580). Text by Drew Adams.
16666
5fc4038e
CY
166672011-07-13 Chong Yidong <cyd@stupidchicken.com>
16668
16669 * simple.el (blink-matching-open): Make the error message from the
16670 last change less verbose.
16671
bf6012e5
DN
166722011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
16673
16674 * font-lock.el (font-lock-comment-face): Use the high contrast
16675 "yellow" color for font-lock-comment-face on low color terminals
16676 using a dark background color (bug#4221).
16677
343c3b5a
LMI
166782011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16679
7e9505c5
LMI
16680 * dired.el (dired-insert-set-properties): Make the doc string
16681 reflect what it does now (bug#5325).
16682
c26fdcf5
LMI
16683 * simple.el (blink-matching-open): Say that we were unable to find
16684 the match within the limit, if we're limited (bug#5122).
16685
bb388cc5
LMI
16686 * international/mule-cmds.el (prefer-coding-system): Add an
16687 example (bug#4869).
16688
343c3b5a
LMI
16689 * progmodes/etags.el (tags-search): Document `file-list-form'
16690 (bug#4731).
16691
2a517d45
LM
166922011-07-13 Lawrence Mitchell <wence@gmx.li>
16693
16694 * net/browse-url.el (browse-url-default-browser)
16695 (browse-url-browser-function): Make the default browser choice a
16696 bit more logical (bug#4300). Also clean up the doc string.
16697
b6c78ef2
JB
166982011-07-13 Juanma Barranquero <lekktu@gmail.com>
16699
16700 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
16701 binary endings (bug#4440).
16702
1c4dd947
LMI
167032011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16704
a2014063
LMI
16705 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
16706 which can be pretty annoying (bug#8971).
16707
9c9c2d88
LMI
16708 * jka-compr.el (jka-compr-verbose): New variable, and use
16709 throughout (bug#8971).
16710
1c4dd947
LMI
16711 * info.el (Info-find-file): Fall back on the installation
16712 directory if we can't find the info node anywhere else.
16713
a1c9f41b
SO
167142011-07-13 Sergei Organov <osv@javad.com> (tiny change)
16715
16716 * vc/vc.el (vc-revert-file):
16717 Don't set file time-stamp in the past. (Bug#5181)
16718
536f3d36
LMI
167192011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
16720
7152b011
LMI
16721 * files.el (after-find-file): Give a better error message when
16722 trying to find a symlink that points to a file that doesn't exist
16723 (bug#4398).
16724
536f3d36
LMI
16725 * progmodes/cc-vars.el: Remove (probably) misleading comment
16726 (bug#4396).
16727
460c0fba
JB
167282011-07-12 Johan Bockgård <bojohan@gnu.org>
16729
16730 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
16731
7a6bda45
CY
167322011-07-12 Chong Yidong <cyd@stupidchicken.com>
16733
16734 * mouse-sel.el: Hack restoring functionality, while keeping
16735 compatibility with 2010-07-03 changes to mouse selection.
16736 (mouse-sel-primary-overlay): New var.
16737 (mouse-sel-selection-alist): Use it.
16738 (mouse-sel-mode): Doc fix; remove points that are default features
16739 of mouse.el.
16740
c79598ef
JB
167412011-07-12 Johan Bockgård <bojohan@gnu.org>
16742
16743 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16744 Fix previous fix (bug#2490).
16745
ff8be6ef
RW
167462011-07-12 Roland Winkler <winkler@gnu.org>
16747
b796c9b7
SM
16748 * textmodes/bibtex.el (bibtex-initialize):
16749 Use pop-to-buffer-same-window.
ff8be6ef
RW
16750 (bibtex-search-entries): Fix interactive call.
16751
296ba3ee
LMI
167522011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
16753
f5242a02 16754 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
16755 Fontise bytecomp Error lines more correctly (bug#2490).
16756 Fix suggested by Johan Bockgård.
f5242a02 16757
296ba3ee
LMI
16758 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
16759
16760 * dired-x.el (dired-guess-default): Use `delete-dups'.
16761
f69fd0d2
CY
167622011-07-12 Chong Yidong <cyd@stupidchicken.com>
16763
16764 * dired.el (dired-mark-prompt):
16765 * dired-aux.el (dired-read-shell-command): Doc fix.
16766
eab5dc07
LMI
167672011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
16768
b796c9b7
SM
16769 * mail/sendmail.el (sendmail-query-once):
16770 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
16771 emacs -Q.
16772
16773 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
16774
eab5dc07
LMI
16775 * cus-edit.el (custom-file): Take an optional no-error variable.
16776 (customize-save-variable): Set the variable, and give a warning if
16777 running under "emacs -q".
16778
a1e65d42
JB
167792011-07-11 Juanma Barranquero <lekktu@gmail.com>
16780
16781 * loadhist.el (unload-feature-special-hooks):
16782 Add `auto-coding-functions', `fill-nobreak-predicate' and
16783 `find-directory-functions' (bug#5327).
16784
1d52da10
LMI
167852011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
16786
be958f1d
LMI
16787 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
16788
5bedb26c
LMI
16789 * cus-edit.el (custom-guess-name-alist): -alist variables should
16790 use the `alist' type (bug#3120). Suggested by Drew Adams.
16791
1d52da10
LMI
16792 * printing.el: Add documentation to all the `pr-toggle-' commands.
16793
cd394be1 167942011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
16795
16796 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
16797 backends where it makes sense (bug#2623).
16798
dcc88d8a
LMI
167992011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
16800
c3de9feb
LMI
16801 * dired-x.el (dired-guess-default): Remove duplicate shell command
16802 entries (bug#2028).
8a93078b 16803 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 16804 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 16805
dcc88d8a
LMI
16806 * subr.el (remove-duplicates): New conveniency function.
16807
505e3645
LMI
168082011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
16809
16810 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
16811 (bug#1526).
16812
168132011-07-10 Martin Rudalics <rudalics@gmx.at>
16814
16815 * window.el (display-buffer-normalize-default): Don't invert
16816 meaning of even-window-heights. Reported by Eli Zaretskii
16817 <eliz@gnu.org>.
16818
455e4fa1
BR
168192011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
16820
16821 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
16822
8e0bc3e9
CY
168232011-07-10 Chong Yidong <cyd@stupidchicken.com>
16824
16825 * window.el (display-buffer): Fix arguments to
16826 display-buffer-reuse-window in last change.
16827
fa7c3228
CY
16828 * faces.el (link): Use a less saturated blue on light backgrounds.
16829
16830 * startup.el (fancy-startup-text, fancy-about-text)
16831 (fancy-startup-tail): Use font-lock faces, for background safety.
16832
c0a7f300
BN
168332011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
16834
b796c9b7
SM
16835 * emulation/viper-cmd.el (viper-change-state-to-vi):
16836 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 16837
4dc2a129
MR
168382011-07-09 Martin Rudalics <rudalics@gmx.at>
16839
16840 * window.el (display-buffer-default-specifiers): Remove.
16841 (display-buffer-macro-specifiers): Remove default specifiers.
16842 (display-buffer-alist): Default to nil.
b796c9b7 16843 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
16844 (display-buffer-pop-up-window): Allow splitting internal
16845 windows. Check whether a live window was created.
16846 (display-buffer-other-window-means-other-frame)
16847 (display-buffer-normalize-arguments): Rename to
16848 display-buffer-normalize-argument and rewrite. Set the
16849 other-window specifier.
16850 (display-buffer-normalize-special): New function.
16851 (display-buffer-normalize-options): Rename to
16852 display-buffer-normalize-default and rewrite.
16853 (display-buffer-normalize-options-inhibit): Remove.
16854 (display-buffer-normalize-specifiers): Rewrite.
16855 (display-buffer): Process other-window specifier and call
16856 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
16857 more faithfully.
b796c9b7 16858 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 16859 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
16860 (display-buffer-in-window, display-buffer-alist-set):
16861 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
16862 <tassilo@member.fsf.org>.
16863
2d43b8c9
LL
168642011-07-09 Leo Liu <sdl.web@gmail.com>
16865
16866 * register.el (insert-register): Restore accidental change on
16867 2011-06-26. (Bug#9028)
16868
7f9b7c53
GM
168692011-07-09 Glenn Morris <rgm@gnu.org>
16870
16871 * subr.el (remq): Handle the empty list. (Bug#9024)
16872
f042cfd8
AS
168732011-07-08 Andreas Schwab <schwab@linux-m68k.org>
16874
16875 * mail/sendmail.el (send-mail-function): No longer delay custom
16876 initialization.
16877 * custom.el (custom-initialize-delay): Doc fix.
16878
856b2f11
SM
168792011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
16880
16881 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
16882
afae1d68
MA
168832011-07-08 Michael Albinus <michael.albinus@gmx.de>
16884
16885 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
16886 human-friendly prompt.
16887
0757af94
SM
168882011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
16889
16890 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
16891 provided by a particular plugin.
16892
d760b731
LMI
168932011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
16894
16895 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
16896 save customizations (with "emacs -Q"), just set the variable
16897 instead of erroring out.
16898
16899 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
16900
cd79ce90
JL
169012011-07-08 Juri Linkov <juri@jurta.org>
16902
16903 * arc-mode.el (archive-zip-expunge, archive-zip-update)
16904 (archive-zip-update-case): Use 7z if found by `executable-find'.
16905 The order of searching the available programs is the same as in
16906 `archive-zip-extract' (bug#8968).
16907
14cc04aa
CY
169082011-07-07 Chong Yidong <cyd@stupidchicken.com>
16909
16910 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
16911 (menu-bar-options-menu): Tweak descriptions.
16912
0a1848ec
LMI
169132011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
16914
16915 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
16916 menu items into verb phrases (bug#1421). Also refill to fit under
16917 80 columns.
16918
f5bd0689
CY
169192011-07-07 Chong Yidong <cyd@stupidchicken.com>
16920
538e85c6
CY
16921 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
16922 (Info-read-node-name): Doc fix (Bug#1084).
16923
f5bd0689
CY
16924 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
16925 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
16926 (end-of-sexp, beginning-of-sexp)
16927 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
16928 (forward-symbol, forward-same-syntax, word-at-point)
16929 (sentence-at-point): Doc fix (Bug#1144).
16930
56ec5115
LMI
169312011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
16932
f3f8e37f
LMI
16933 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
16934 should cover it (bug#1281).
16935
0757af94 16936 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 16937
e9fce1ac 16938 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
16939 negotiation fails, then possibly try again with a non-encrypted
16940 connection (bug#9017).
16941
56ec5115
LMI
16942 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
16943 be used.
16944
c2f9aec8
RS
169452011-07-07 Richard Stallman <rms@gnu.org>
16946
16947 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
16948 property, and handle its changed format.
16949 Look for the correct line number.
16950 Use file's line contents (but not past first =) to find
16951 correct line in message.
16952
ef7b981d 169532011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
16954
16955 * international/characters.el (build-unicode-category-table):
16956 Delete it.
0757af94 16957 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 16958
0757af94 16959 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
16960 to src/chartab.c.
16961 (get-char-code-property): Call unicode-property-table-internal to
16962 load a file. Call get-unicode-property-internal where necessary.
16963 (put-char-code-property): Call unicode-property-table-internal to
16964 load a file. Call put-unicode-property-internal where necessary.
16965 put-unicode-property-internal where necessary.
0757af94
SM
16966 (char-code-property-description):
16967 Call unicode-property-table-internal to load a file.
c805dec0
KH
16968
16969 * international/charprop.el:
16970 * international/uni-bidi.el:
16971 * international/uni-category.el:
16972 * international/uni-combining.el:
16973 * international/uni-comment.el:
16974 * international/uni-decimal.el:
16975 * international/uni-decomposition.el:
16976 * international/uni-digit.el:
16977 * international/uni-lowercase.el:
16978 * international/uni-mirrored.el:
16979 * international/uni-name.el:
16980 * international/uni-numeric.el:
16981 * international/uni-old-name.el:
16982 * international/uni-titlecase.el:
16983 * international/uni-uppercase.el: Regenerate.
16984
16985 * loadup.el: Load international/charprop.el before
16986 international/characters.
16987
e14b388a
CY
169882011-07-07 Chong Yidong <cyd@stupidchicken.com>
16989
16990 * window.el (next-buffer, previous-buffer): Signal an error if
16991 called from a minibuffer window.
16992
16993 * bindings.el: Revert 2011-07-04 change.
16994
354cf0ba
RS
169952011-07-06 Richard Stallman <rms@gnu.org>
16996
16997 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
16998 (rmail-mime-insert-bulk, rmail-mime-insert-text):
16999 Treat markers like ints.
17000 (rmail-mime-entity): Doc fix.
17001
a48868a7
LMI
170022011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
17003
4906cd3d
LMI
17004 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
17005 defcustom again for backwards compatibility.
17006
e0457abe
LMI
17007 * simple.el (shell-command-on-region): Fill.
17008
d67f7e1f
LMI
17009 * dired-aux.el (dired-kill-line): Add a doc string.
17010
fe204702
LMI
17011 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
17012 to "\\sw\\|\\s_" (bug#358).
17013
a48868a7
LMI
17014 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
17015 (dired-unmark-backward): Ditto.
17016 (dired-flag-backup-files): Ditto.
17017
17018 * dired-x.el (dired-mark-sexp): Ditto.
17019
aa8a705c
RS
170202011-07-06 Richard Stallman <rms@gnu.org>
17021
17022 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
17023 (rmail-mime-entity): New arg TRUNCATED.
17024 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
17025 New functions.
17026 (rmail-mime-save): Warn if entity is truncated.
17027 (rmail-mime-toggle-hidden): Likewise, for showing.
17028 (rmail-mime-process-multipart): Record when an entity is truncated.
17029
a9a936b9
RS
17030 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
17031 if ENTITY is a string.
17032
1f2b92cb
LMI
170332011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
17034
f4f73198 17035 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
17036 of faces when `M-C-x'-ing their definitions (bug#8378).
17037 Also clean up the code slightly.
f4f73198 17038
12b16734 17039 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 17040 because that makes the colors go away.
12b16734 17041
f0691d22
LMI
17042 * mail/sendmail.el (send-mail-function): Change the default to
17043 `sendmail-query-once'.
9e87df06 17044 (sendmail-query-once): Add an autoload cookie.
f0691d22 17045
1f2b92cb
LMI
17046 * net/network-stream.el (network-stream-open-starttls): Try using
17047 a plain connection even if the server offered STARTTLS, and we
17048 kinda wanted to use it, if Emacs doesn't have any STARTTLS
17049 capability. This should make smtpmail.el work in slightly more
17050 configurations.
17051
1cdd2a1b
MA
170522011-07-06 Michael Albinus <michael.albinus@gmx.de>
17053
17054 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
17055 New defun.
17056 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
17057
fbcc67e2
MM
170582011-07-06 Michael R. Mauger <mmaug@yahoo.com>
17059
17060 * progmodes/sql.el: Version 3.0
0757af94 17061 (sql-product-alist): Add product :completion-object,
fbcc67e2 17062 :completion-column, and :statement attributes.
0757af94 17063 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 17064 (sql-mode-syntax-table): Mark all punctuation.
0757af94 17065 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
17066 ansi keywords.
17067 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 17068 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
17069 (sql-oracle-show-reserved-words): New function for development.
17070 (sql-product-font-lock): Simplify for source code buffers.
17071 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
17072 New functions.
17073 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
17074 (sql-mode-map): Add statement movement functions.
17075 (sql-ansi-statement-starters, sql-oracle-statement-starters):
17076 New variable.
fbcc67e2
MM
17077 (sql-statement-regexp, sql-beginning-of-statement)
17078 (sql-end-of-statement, sql-signum): New functions.
0757af94 17079 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
17080 (sql-show-sqli-buffer): Bug fix.
17081 (sql-interactive-mode): Store connection data as buffer local.
0757af94 17082 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
17083 with sql-interactive-mode.
17084 (sql-save-connection): Save buffer local settings.
0757af94 17085 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
17086 (sql-product-interactive): Bug fix.
17087 (sql-preoutput-hold): New variable.
17088 (sql-interactive-remove-continuation-prompt): Bug fixes.
17089 (sql-debug-redirect): New variable.
17090 (sql-str-literal): New function.
17091 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 17092 Redesign.
fbcc67e2
MM
17093 (sql-oracle-save-settings, sql-oracle-restore-settings)
17094 (sql-oracle-list-all, sql-oracle-list-table): New functions.
17095 (sql-completion-object, sql-completion-column)
17096 (sql-completion-sqlbuf): New variables.
17097 (sql-build-completions-1, sql-build-completions)
17098 (sql-try-completion): New functions.
17099 (sql-read-table-name): Use them.
17100 (sql-contains-names): New buffer local variable.
17101 (sql-list-all, sql-list-table): Use it.
17102 (sql-oracle-completion-types): New variable.
17103 (sql-oracle-completion-object, sql-sqlite-completion-object)
17104 (sql-postgres-completion-object): New functions.
17105
d4eaeab1
GM
171062011-07-06 Glenn Morris <rgm@gnu.org>
17107
17108 * window.el (pop-to-buffer): Doc fix.
17109
322b7dab 171102011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
17111
17112 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
17113
322b7dab 171142011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 17115
322b7dab 17116 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 17117
322b7dab 17118 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 17119
605dd5bf
CY
171202011-07-05 Chong Yidong <cyd@stupidchicken.com>
17121
17122 * button.el (button): Inherit from link face. Suggested by Dan
17123 Nicolaescu.
17124
7dbfa719
SM
171252011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
17126
3db614b0
SM
17127 * progmodes/gdb-mi.el: Fit in 80 columns.
17128 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
17129 switch-to-buffer.
17130
7dbfa719
SM
17131 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
17132 if imenu is simply not configured (bug#8941).
17133
919d884a
KM
171342011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
17135
17136 * allout.el (allout-post-undo-hook): New allout outline-change
17137 event hook to signal undo activity.
17138 (allout-post-command-business): Run allout-post-undo-hook if an
17139 undo just occurred.
7dbfa719
SM
17140 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
17141 * allout-widgets.el (allout-widgets-after-undo-function):
17142 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
17143 in the vicinity of an undo.
17144 (allout-widgets-mode): Include allout-widgets-after-undo-function
17145 on the new allout-post-undo-hook.
17146
450a0f09
SM
171472011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
17148
17149 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
17150 Let define-derived-mode define it.
17151 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
17152 cycles of abbrev-table inheritance (bug#8998).
17153
2de69e00
RW
171542011-07-05 Roland Winkler <winkler@gnu.org>
17155
17156 * textmodes/bibtex.el: Add support for biblatex.
17157 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
17158 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
17159 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
17160 (bibtex-entry-alist, bibtex-field-alist): New variables.
17161 (bibtex-entry-field-alist): Obsolete alias for
17162 bibtex-BibTeX-entry-alist.
17163 (bibtex-entry-alist, bibtex-field-alist): New widgets.
17164 (bibtex-set-dialect): New command.
17165 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
17166 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
17167 Bind via bibtex-set-dialect.
2de69e00
RW
17168 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
17169 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
17170 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
17171 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
17172 Define via bibtex-set-dialect.
450a0f09
SM
17173 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
17174 Obey bibtex-no-opt-remove-re.
2de69e00
RW
17175 (bibtex-vec-push, bibtex-vec-incr): New functions.
17176 (bibtex-format-entry, bibtex-field-list)
17177 (bibtex-print-help-message, bibtex-validate)
17178 (bibtex-search-entries): Use new format of bibtex-entry-alist.
17179
2dcdbdd9
SM
171802011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
17181
17182 * progmodes/compile.el (compilation-goto-locus):
17183 * net/tramp-cmds.el (tramp-append-tramp-buffers):
17184 * bs.el (bs-cycle-next, bs-cycle-previous):
17185 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
17186 * bindings.el (mode-line-other-buffer):
17187 * autoinsert.el (auto-insert):
17188 * arc-mode.el (archive-extract):
17189 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
17190
b27640fe
JB
171912011-07-05 Juanma Barranquero <lekktu@gmail.com>
17192
17193 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
17194 Fix check of `emacs-lock-unlockable-modes'.
17195 Coerce true values of `emacs-lock--try-unlocking' to t.
17196
53bbe3ad
JB
171972011-07-05 Juanma Barranquero <lekktu@gmail.com>
17198
17199 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
17200 * emacs-lock.el: New file.
17201
1d3cdbc7
JD
172022011-07-05 Julien Danjou <julien@danjou.info>
17203
17204 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
17205 than `boundp' to check if face is set.
17206
9173deec
JB
172072011-07-05 Juanma Barranquero <lekktu@gmail.com>
17208
17209 * register.el (registerv-make):
17210 * window.el (window-min-height): Fix typos in docstrings.
17211
869795d6
JD
172122011-07-05 Jan Djärv <jan.h.d@swipnet.se>
17213
9173deec 17214 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
17215 Update doc string.
17216
b768cdcd
JB
172172011-07-04 Juanma Barranquero <lekktu@gmail.com>
17218
17219 * server.el (server-execute): Catch quit and call
17220 `server-return-error' to pass the error back to emacsclient and
17221 close the connection (bug#8942).
17222
13aa217b
KM
172232011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
17224
17225 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
17226 insecure exception for current topic. Also note that auto-saves
17227 are handled differently.
17228
5d3385a0 17229 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
17230 State variables for tracking auto-save inhibition situation.
17231
17232 (allout-write-contents-hook-handler): Rename from
17233 'allout-write-file-hook-handler', and describe how it depends on
17234 write-contents-functions sensitivity to non-nil value to prevent
17235 file write.
17236
17237 (allout-auto-save-hook-handler): Remove. auto-save does not check
17238 this in individual buffers, only in the starting buffer, so this
17239 is not the right way for us to inhibit auto-save in a buffer
17240 according to its condition.
17241
17242 (allout-mode): Use new allout-write-contents-hook-handler, and
17243 only with write-contents-functions. Remove auto-save provisions -
17244 they're implemented elsewhere.
17245
17246 (allout-before-change-handler): If undo is in progress, note that
17247 for attention of allout-post-command-business.
17248
17249 (allout-post-command-business): If the command we're following was
17250 an undo, check for change in the status of encrypted items and
17251 adjust auto-save inhibitions accordingly.
17252
17253 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
17254 according to whether there are or aren't any plain-text topics
17255 pending encryption.
17256
2dcdbdd9 17257 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
17258 Adjust buffer-saved-size and some allout state to inhibit auto-saves
17259 if there are plain-text topics pending encryption.
13aa217b
KM
17260
17261 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
17262 buffer-saved-size and some allout state to not inhibit auto-saves
17263 if there are no longer any plain-text topics pending encryption.
17264
0757af94
SM
17265 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
17266 No longer provide for exemption of the current topic.
13aa217b 17267
ac89b32c
JL
172682011-07-04 Juri Linkov <juri@jurta.org>
17269
17270 Add 7z operations to delete and save changed members (bug#8968).
17271 * arc-mode.el (archive-7z-expunge, archive-7z-update):
17272 New defcustoms.
17273 (archive-7z-write-file-member): New function.
17274 (archive-7z-summarize): Fix the number of dashes in the
17275 listing output.
17276
8fa39615
SM
172772011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
17278
17279 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
17280 (bug#8958).
17281
2f11b3f1
CY
172822011-07-04 Chong Yidong <cyd@stupidchicken.com>
17283
d66fef2b
CY
17284 * bindings.el: Ignore next-buffer and previous-buffer in
17285 minibuffer-local-map.
17286
2f11b3f1
CY
17287 * font-lock.el (font-lock-builtin-face): Change light background
17288 color to dark slate blue (Bug#6693).
17289
f932a347
WD
172902011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
17291
17292 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
17293
c8af70e1
SM
172942011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
17295
17296 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
17297 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
17298 Add switch-to-buffer.
17299
f158badc
LMI
173002011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
17301
17302 * isearch.el (isearch-search-fun-function): Clarify further the
17303 meaning of the function returned.
17304
6d95bd46
MA
173052011-07-04 Michael Albinus <michael.albinus@gmx.de>
17306
17307 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
17308
17309 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
17310 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
17311 Use it.
17312 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
17313 `tramp-default-remote-path' does not exist.
17314 (tramp-send-command-and-read): New optional argument NOERROR.
17315 (tramp-open-connection-setup-interactive-shell)
17316 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
17317 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
17318 (tramp-process-sentinel): Flush also process' connection property.
17319 (tramp-sh-handle-start-file-process): Do not set process
17320 sentinel. It is done now ...
17321 (tramp-maybe-open-connection): ... here. (Bug#8929)
17322
909e6b67
MK
173232011-07-04 MON KEY <monkey@sandpframing.com>
17324
17325 * play/animate.el (animate-string): Doc fixes and allow changing
17326 the buffer name (bug#5417).
17327
173282011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
17329
c8af70e1 17330 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 17331
f34755dc
PE
173322011-07-04 Paul Eggert <eggert@cs.ucla.edu>
17333
396cec72
PE
17334 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
17335 This is simpler and helps future-proof the code.
17336 (timer-until): Use time-subtract and float-time.
08235028 17337 (timer--time-less-p): Use time-less-p.
f34755dc 17338
56e6cc31
JB
173392011-07-04 Juanma Barranquero <lekktu@gmail.com>
17340
3abb79e5
JB
17341 * type-break.el (timep): Use the value of `float-time' to avoid a
17342 byte-compiler warning.
17343
56e6cc31
JB
17344 * server.el (server-eval-and-print): Return any result, even nil.
17345
7b9430b4
PE
173462011-07-03 Paul Eggert <eggert@cs.ucla.edu>
17347
17348 * type-break.el: Accept time formats that the builtins accept.
17349 (timep, type-break-time-difference): Accept any format that
17350 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
17351 This is simpler and helps future-proof the code.
17352 (type-break-time-difference): Round rather than ignoring
17353 subseconds components.
17354
3034e9e7
LMI
173552011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17356
17357 * info.el (Info-apropos-matches): Make non-interactive, since it
17358 doesn't seem to do anything useful as a command (bug#8829).
17359
1485f4c0
CY
173602011-07-03 Chong Yidong <cyd@stupidchicken.com>
17361
17362 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 17363 Move from faces.el.
1485f4c0
CY
17364 (frame-default-terminal-background): New function.
17365
17366 * custom.el (custom-push-theme): Don't record faces in `changed'
17367 theme; this doesn't work correctly for per-frame face settings.
17368 (disable-theme): Use face-set-after-frame-default to reset faces.
17369 (custom--frame-color-default): New function.
17370
9fa3dd45
LMI
173712011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17372
c8af70e1 17373 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
17374 (bug#8769).
17375
6cbbc20c
KR
173762011-03-29 Kevin Ryde <user42@zip.com.au>
17377
17378 * progmodes/compile.el (compilation-error-regexp-alist-alist):
17379 `perl-Test2' extend to match possible "fail #N" rep count
17380 (bug#8377).
17381
c7f98048
LMI
173822011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17383
65676592
LMI
17384 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
17385 `smtpmail-via-smtp' now returns the error instead of nil.
17386
c7f98048
LMI
17387 * isearch.el (isearch-search-fun-function): Clarify the doc string
17388 (bug#8101).
17389
56e6cc31 173902011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
17391
17392 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
17393 unnecessary spaces (bug#8987).
17394
2b216704
LMI
173952011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17396
17397 * net/network-stream.el (open-network-stream): Use the
17398 :end-of-capability command thoughout.
17399
174002011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
17401
17402 * net/network-stream.el (open-network-stream): Add the
17403 :end-of-capability command parameter, used by pop3.el.
17404
36adf6ce
LMI
174052011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17406
1ca0da0e
LMI
17407 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
17408
fc00f69c
LMI
17409 * fringe.el (fringe-query-style): Remove redundant text " (type ?
17410 for list)" (bug#6475).
17411
28fd8759 17412 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 17413 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
17414 an error (bug#6297).
17415
0dd8b6da
LMI
17416 * man.el (Man-reference-regexp): Allow matching possible
17417 word-wrapped references (bug#6289).
17418
ce1438d6
LMI
17419 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
17420 for consistency with the other vc buffers (bug#6197).
17421 (vc-checkin): Ditto.
17422
17423 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
17424
36adf6ce
LMI
17425 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
17426
e83cc1f7
LMI
174272011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
17428
8a20ca4c
LMI
17429 * custom.el (defcustom): Clarify that :set is only used in the
17430 Customize user interface (bug#6089).
17431
83319045
LMI
17432 * progmodes/flymake.el (flymake-mode): If the buffer isn't
17433 associated with a file, refuse to run instead of erroring out
17434 (bug#6084).
17435
a8392169
LMI
17436 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
17437 the doc string, since it appears that using `fill-column' always
17438 controls the width (bug#7845).
17439
e83cc1f7
LMI
17440 * simple.el (shell-command-on-region): Say where the error output
17441 went if `shell-command-default-error-buffer' is set (bug#6857).
17442
e47ca23b
KM
174432011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
17444
17445 * allout.el (allout-yank-processing): Adjust cursor position for
17446 backwards-deleted space.
17447
17448 (allout-rebullet-heading): Register changes with
17449 allout-exposure-changed-hook, so the modified topic is properly
17450 decorated.
17451
5cf56143
LMI
174522011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
17453
08549772
LMI
17454 * minibuffer.el (completion-in-region): Document PREDICATE
17455 (bug#7136).
17456
48e96771
LMI
17457 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
17458 of keyword/argument pairs (bug#6904).
17459
c8af70e1
SM
17460 * replace.el (multi-occur):
17461 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 17462
e17d05e2
LMI
174632011-07-02 Drew Adams <drew.adams@oracle.com>
17464
17465 * dired.el (dired-mark-if): Make the message about whether it's
17466 marking or unmarking clearer (bug#8523).
17467
063b0e45
LMI
174682011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
17469
17470 * disp-table.el (display-table-print-array): New function.
17471 (describe-display-table): Use it to print the vectors more pretty
17472 (Bug#8859).
17473
28545e04
MR
174742011-07-02 Martin Rudalics <rudalics@gmx.at>
17475
17476 * window.el (window-state-get-1): Don't assign clone numbers.
17477 Add clone-of item to list of window parameters.
17478 (window-state-put-2): Don't process clone numbers.
17479 (display-buffer-alist): Fix doc-string.
17480
3349e122
SM
174812011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
17482
17483 * subr.el (remq): Don't allocate if it's not needed.
17484 (keymap--menu-item-binding, keymap--menu-item-with-binding)
17485 (keymap--merge-bindings): New functions.
17486 (keymap-canonicalize): Use them to refine the canonicalization.
17487 * minibuffer.el (minibuffer-local-completion-map)
17488 (minibuffer-local-must-match-map): Move initialization from C.
17489 (minibuffer-local-filename-completion-map): Move initialization from C;
17490 don't inherit from anything here.
17491 (minibuffer-local-filename-must-match-map): Make obsolete.
17492 (completing-read-default): Use make-composed-keymap to combine
17493 minibuffer-local-filename-completion-map with either
17494 minibuffer-local-must-match-map or
17495 minibuffer-local-filename-completion-map.
17496
d224ac83
GM
174972011-07-01 Glenn Morris <rgm@gnu.org>
17498
3de63bf8
GM
17499 * type-break.el (type-break-time-sum): Use dolist.
17500
d224ac83
GM
17501 * textmodes/flyspell.el (flyspell-word-search-backward):
17502 Replace CL function.
17503
1a1e3f32
SM
175042011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
17505
fe3f64d5
SM
17506 * mouse.el (mouse--strip-first-event): New function.
17507 (function-key-map): Use it to map fringe clicks to normal clicks
17508 by default.
17509
eb604e34
SM
17510 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
17511 (vc-bzr-revision-completion-table): Add support for annotate and date.
17512
1a1e3f32
SM
17513 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
17514 inherit from parent.
17515
5bd35902
LMI
175162011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
17517
ace6c69c 17518 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 17519 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 17520
191e2bed
LMI
17521 * dired.el (dired-mode): Fix up the doc string as suggested by
17522 Drew Adams (bug#8817).
17523
5bd35902
LMI
17524 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
17525 cookie, since the manual says that it should be possible to add
17526 this function to `find-file-hook' (bug#8709).
17527
eee8207a
TZ
175282011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
17529
17530 * progmodes/cfengine.el: Moved all cfengine3.el functionality
17531 here. Noted Ted Zlatanov as the maintainer.
17532 (cfengine-common-settings, cfengine-common-syntax): New functions
17533 to set up common things between `cfengine-mode' and
17534 `cfengine3-mode'.
17535 (cfengine3-mode): New mode.
17536 (cfengine3-defuns cfengine3-defuns-regex
17537 (cfengine3-class-selector-regex cfengine3-category-regex)
17538 (cfengine3-vartypes cfengine3-font-lock-keywords)
17539 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 17540 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 17541
36b148cf
MA
175422011-07-01 Michael Albinus <michael.albinus@gmx.de>
17543
17544 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
17545
17546 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
17547
0bf4ba9a
MR
175482011-07-01 Martin Rudalics <rudalics@gmx.at>
17549
17550 * window.el (same-window-buffer-names, same-window-regexps)
17551 (same-window-p, special-display-frame-alist)
17552 (special-display-popup-frame, special-display-function)
17553 (special-display-buffer-names, special-display-regexps)
17554 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
17555 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
17556 (split-window-preferred-function, split-height-threshold)
17557 (split-width-threshold, even-window-heights)
17558 (display-buffer-mark-dedicated, window-splittable-p)
17559 (split-window-sensibly, window-safely-shrinkable-p):
17560 Un-obsolete.
17561 (display-buffer): Don't spread args with function specifier
17562 because special-display-popup-frame won't like it.
17563
35837f51
PE
175642011-07-01 Paul Eggert <eggert@cs.ucla.edu>
17565
d0672f86
PE
17566 Time-stamp simplifications and fixes.
17567 These improve accuracy slightly, and future-proof the code
17568 against some potential changes to current-time format.
17569
b9444d97
PE
17570 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
17571 by using time-since and float-time.
17572
0ef923dc
PE
17573 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
17574 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
17575 + NNN microseconds".
17576
2f81380d
PE
17577 * type-break.el (type-break-time-sum): Rewrite using time-add.
17578
845b5c3e
PE
17579 * play/hanoi.el (hanoi-current-time-float): Remove.
17580 All uses replaced by float-time.
17581
ee6f1be0
PE
17582 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
17583 This yields a more-accurate answer.
17584 (rng-time-to-float): Remove; no longer needed.
17585
fe955043
PE
17586 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
17587
5777162a
PE
17588 * calendar/timeclock.el (timeclock-seconds-to-time):
17589 Defalias to seconds-to-time, since they're the same thing.
17590
3103f8b6 17591 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 17592 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
17593 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
17594
0e61a35f
SM
175952011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
17596
17597 * window.el (bury-buffer): Don't iconify the only frame.
17598 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
17599 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
17600
ddd63a1e
CY
176012011-07-01 Chong Yidong <cyd@stupidchicken.com>
17602
0e61a35f
SM
17603 * eshell/em-smart.el (eshell-smart-display-navigate-list):
17604 Add mouse-yank-primary.
ddd63a1e 17605
055f4923
TZ
176062011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
17607
17608 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
17609
6a2fb145
SM
176102011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
17611
17612 * emacs-lisp/find-func.el (find-library--load-name): New fun.
17613 (find-library-name): Use it to find relative load names when provided
17614 absolute file name (bug#8803).
17615
fd4983f2
LMI
176162011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
17617
887d14ad
LMI
17618 * textmodes/flyspell.el (flyspell-word): Consider words that
17619 differ only in case as potential doublons (bug#5687).
17620
c53dc7fc
LMI
17621 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
17622 Remove two rather uninteresting debugging-like messages to make
17623 debbugs.el more silent.
17624
fd4983f2
LMI
17625 * comint.el (comint-password-prompt-regexp): Accept "Response" as
17626 a password-like phrase.
17627
7a71b18d 176282011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
17629
17630 * progmodes/cc-guess.el: New file.
17631
6a2fb145 17632 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
17633
17634 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
17635 derived from `c-basic-common-init'.
17636
17637 * progmodes/cc-mode.el (top-level): Require cc-guess.
17638 (c-basic-common-init): Use `cc-choose-style-for-mode'.
17639
1fa280a3
LM
176402011-06-30 Lawrence Mitchell <wence@gmx.li>
17641
17642 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
17643
e6597158
AM
176442011-06-30 Alan Mackenzie <acm@muc.de>
17645
1fa280a3
LM
17646 * progmodes/cc-engine.el (c-guess-continued-construct):
17647 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
17648 lock is disabled. Name this case as "CASE G".
17649
68ba37fb
KM
176502011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
17651
17652 * allout.el (allout-yank-processing): Fix injection of extra space
17653 between bullet and non-whitespace character in first topic when
17654 pasting, ensuring that the actual spacing in the pasted topic
17655 following the bullet char is preserved. This extra space was
17656 causing pasted encrypted topics to get a decrypted status even
17657 when the content was actually still encrypted. Now the decryption
17658 status from before the paste is preserved.
17659
17660 (allout-flag-region): Set all allout overlays so they evaporate
17661 when reduced to zero length (evanescent), to prevent overlay
17662 leakage.
17663
887a0b34
GM
176642011-06-30 Glenn Morris <rgm@gnu.org>
17665
94b9acce
GM
17666 * w32-fns.el (w32-charset-info-alist): Declare.
17667
1d9b46d4
GM
17668 * find-dired.el (find-grep-options): Simplify.
17669
cc232200
GM
17670 * term/ns-win.el (ns-set-resource): Declare.
17671
28e77c46
GM
17672 * ses.el (row, col): Declare dynamic variables honestly.
17673
887a0b34
GM
17674 * textmodes/reftex-parse.el (index-tags): Declare.
17675
658d8eb8
CY
176762011-06-30 Chong Yidong <cyd@stupidchicken.com>
17677
17678 * cus-edit.el (customize-push-and-save): New function.
17679
17680 * files.el (hack-local-variables-confirm): Use it.
17681
1fa280a3
LM
17682 * custom.el (load-theme): New arg NO-CONFIRM.
17683 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
17684 (custom-enabled-themes): Doc fix.
17685
17686 * cus-theme.el (customize-create-theme)
17687 (custom-theme-merge-theme): Callers to load-theme changed.
17688
bb617717
LMI
176892011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
17690
d61bdd5d
LMI
17691 * thingatpt.el (thing-at-point-short-url-regexp): Require that
17692 short URLs have at least one dot in them (bug #7614).
17693
bb617717
LMI
17694 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
17695 nil, because using a pty is apparently too slow (bug #895).
17696
2f31f37a
LMI
176972011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
17698
17699 * mail/sendmail.el (sendmail-query-once): New function.
17700 (sendmail-query-once-function): New variable.
17701
3076b24e
GM
177022011-06-29 Glenn Morris <rgm@gnu.org>
17703
faf2a174
GM
17704 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
17705
3076b24e
GM
17706 * ses.el (top-level): Require cl when compiling.
17707 (ses-set-localvars): Fix error statement.
17708 Call it at compile time to silence a storm of warnings.
17709
5386012d
MR
177102011-06-29 Martin Rudalics <rudalics@gmx.at>
17711
17712 * window.el (normalize-live-buffer): Rename to
17713 window-normalize-buffer.
17714 (normalize-live-frame): Rename to window-normalize-frame.
17715 (normalize-any-window): Rename to window-normalize-any-window.
17716 (normalize-live-window): Rename to window-normalize-live-window.
17717 (make-window-atom): Rename to window-make-atom.
17718 (window-resize-reset): Rename to window--resize-reset.
17719 (window-resize-reset-1): Rename to window--resize-reset-1.
17720 (resize-mini-window): Rename to window--resize-mini-window.
17721 (resize-subwindows-skip-p): Rename to
17722 window--resize-subwindows-skip-p.
17723 (resize-subwindows-normal): Rename to
17724 window--resize-subwindows-normal.
17725 (resize-subwindows): Rename to window--resize-subwindows.
17726 (resize-other-windows): Rename to window--resize-siblings.
17727 (resize-this-window): Rename to window--resize-this-window.
17728 (resize-root-window): Rename to window--resize-root-window.
17729 (resize-root-window-vertically): Rename to
17730 window--resize-root-window-vertically.
17731 (normalize-buffer-to-display): Rename to
17732 window-normalize-buffer-to-display.
17733 (normalize-buffer-to-switch-to): Rename to
17734 window-normalize-buffer-to-switch-to.
17735 Correspondingly update all callers of the functions listed
17736 above.
17737 (display-buffer-alist, display-buffer-normalize-arguments)
17738 (display-buffer-normalize-options, display-buffer)
17739 (display-buffer-alist-set): Use "function" instead of
17740 "fun-with-args".
17741
1176868d
CY
177422011-06-28 Chong Yidong <cyd@stupidchicken.com>
17743
17744 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
17745 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
17746 debbugs.gnu.org. Mention acknowledgment email.
17747
20a7a65f
LMI
177482011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
17749
17750 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
17751 buffer multibyteness, since it shouldn't matter.
17752
5f45cca5
MR
177532011-06-28 Martin Rudalics <rudalics@gmx.at>
17754
17755 * window.el (display-buffer-in-side-window): Handle dedicated
17756 windows as in display-buffer-reuse-window.
17757 (display-buffer-normalize-alist): Use value of override
17758 specifier.
17759 (display-buffer-normalize-specifiers): Use value of
17760 other-window-means-other-frame specifier.
17761 (display-buffer-alist): Rewrite some texts in widgets.
17762 (display-buffer): Spread arguments when calling function
17763 specified by fun-with-args.
17764
ad85fe1f
DD
177652011-06-28 Deniz Dogan <deniz@dogan.se>
17766
1fa280a3
LM
17767 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
17768 Unnest `let'.
da68c4c8 17769
ad85fe1f
DD
17770 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
17771 selectors (Bug#5732).
ec49bd31 17772 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 17773
a08cc025
JA
177742011-06-27 Jari Aalto <jari.aalto@cante.net>
17775
17776 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
17777 (eshell-ls-date-format): New defcustom.
17778 (eshell-ls-file): Use it.
17779
e2b551c5
SM
177802011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
17781
17782 * help-fns.el (describe-variable): Fix message for terminal-local vars.
17783
8982b231
KY
177842011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
17785
17786 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
17787 (ange-ftp-make-tmp-name): New arg.
17788 (ange-ftp-file-local-copy): Use it.
17789
36c9fa27
J
177902011-06-27 Jambunathan K <kjambunathan@gmail.com>
17791
17792 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
17793 no-conversion (Bug#8870).
17794
d68443dc
MR
177952011-06-27 Martin Rudalics <rudalics@gmx.at>
17796
17797 * window.el (window-right, window-left, window-child)
17798 (window-child-count, window-last-child)
17799 (window-iso-combination-p, walk-window-tree-1)
17800 (window-atom-check-1, window-tree-1, delete-window)
17801 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
17802 new naming conventions - window-vchild, window-hchild,
17803 window-next and window-prev are now called window-top-child,
17804 window-left-child, window-next-sibling and window-prev-sibling
17805 respectively.
d615d6d2
MR
17806 (resize-window-reset): Rename to window-resize-reset.
17807 (resize-window-reset-1): Rename to window-resize-reset-1.
17808 (resize-window): Rename to window-resize.
17809 (window-min-height, window-min-width)
17810 (resize-mini-window, resize-this-window, resize-root-window)
17811 (resize-root-window-vertically, adjust-window-trailing-edge)
17812 (enlarge-window, shrink-window, maximize-window)
17813 (minimize-window, delete-window, quit-restore-window)
17814 (split-window, balance-windows, balance-windows-area-adjust)
17815 (balance-windows-area, window-state-put-2)
17816 (display-buffer-even-window-sizes, display-buffer-set-height)
17817 (display-buffer-set-width, set-window-text-height)
17818 (fit-window-to-buffer): Rename all "resize-window" prefixed
17819 calls to use the "window-resize" prefix convention.
17820 (display-buffer-alist): Fix symbol for label specifier.
17821 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
17822 corresponding specifier.
17823 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 17824
b6458526
VB
178252011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
17826
17827 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
17828 convention.
17829 (ses-call-printer): Does not pass an empty string to formatter when the
17830 cell is empty to keep from barking printer Calc math-format-value.
17831
d31fd9ac
RS
178322011-06-27 Richard Stallman <rms@gnu.org>
17833
43d5bf84
RS
17834 * battery.el (battery-mode-line-limit): New variable.
17835 (battery-update): Handle it.
17836
d31fd9ac
RS
17837 * mail/rmailmm.el (rmail-mime-process-multipart):
17838 Handle truncated messages.
17839
819a6054
GM
178402011-06-27 Glenn Morris <rgm@gnu.org>
17841
17842 * progmodes/flymake.el (flymake-err-line-patterns):
17843 Allow for column numbers in the ant/javac pattern. (Bug#8866)
17844
cedc73f2
VB
178452011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
17846
819a6054 17847 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
17848 (ses--clean-!, ses--clean-_): New functions.
17849 (ses-range): Add configurability of readout order, and conversion
17850 to Calc vector.
17851
5e5d49b6
VB
17852 * ses.el (ses-repair-cell-reference-all): New function.
17853 (ses-cell-symbol): Set macro as safe, so that it can be used in
17854 formulas.
17855
56e6cc31 17856 * ses.el: Update cycle detection algorithm.
90ca8b49 17857 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 17858 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
17859 (ses-set-localvars): New function.
17860 (ses-make-cell): Add property-list as a cell element.
17861 (ses-cell-property-get-fun, ses-cell-property-get)
17862 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
17863 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
17864 New functions.
90ca8b49
VB
17865 (ses-cell-property-set, ses-cell-property-pop)
17866 (ses-cell-property-get-handle): New macro.
17867 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
17868 New aliases, used for code readability.
17869 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
17870 cycle detection.
17871 (ses-self-reference-early-detection): New defcustom.
fac916bf 17872 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
17873 (ses-mode): Use ses-set-localvars.
17874 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
17875 before lauching the update processing.
17876 (ses-initialize-Dijkstra-attempt): New function.
17877 (ses-recalculate-cell): Update for cycle detection based on
17878 Dijkstra algorithm.
17879
2bb63e81
VB
17880 * ses.el: Fix commenting and indenting convention.
17881
c9d29fb8
SM
178822011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
17883
17884 * bs.el (bs-cycle-next): Complete last change.
17885
d8e4b68b
JB
178862011-06-27 Drew Adams <drew.adams@oracle.com>
17887
17888 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
17889
40098786
LMI
178902011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
17891
c9d29fb8
SM
17892 * net/network-stream.el (network-stream-open-starttls):
17893 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
17894 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
17895
40098786
LMI
17896 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
17897 to binary to possibly avoid line encoding issues on Windows (among
17898 other things).
17899
468d09d4
LMI
179002011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
17901
17902 * net/network-stream.el (open-network-stream): Return an :error
17903 saying what the problem was, if possible.
17904
17905 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
17906 server.
17907
17908 * net/network-stream.el (network-stream-open-starttls): If we
17909 wanted to use STARTTLS, and the server offered it, but we weren't
17910 able to because we had no STARTTLS support, then close the connection.
17911 (open-network-stream): Return an :error element, if present.
17912
16f07dd7
CY
179132011-06-26 Chong Yidong <cyd@stupidchicken.com>
17914
88821ca0
CY
17915 * hl-line.el (hl-line-sticky-flag): Doc fix.
17916 (global-hl-line-sticky-flag): New option (Bug#8323).
17917 (global-hl-line-highlight): Obey it.
17918
16f07dd7
CY
17919 * vc/vc.el (vc-revert-show-diff): Default to t.
17920
6b5ccddf
KM
179212011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
17922
c9d29fb8
SM
17923 * allout-widgets.el (allout-widgets-post-command-business):
17924 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
17925 undecorated when an isearch is continued past, and isearch
17926 automatically collapses them. This leads to "widget leaks", where
17927 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
17928 hidden widgets can slow down cursor travel, substantially.
17929 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
17930 so we're doing without this nicety.
17931
17932 (allout-widgets-tally-string): Don't try to do a hash-table-count
17933 of allout-widgets-tally when it's nil. This eliminates spurious "Error
17934 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
17935 *Messages* when allout-widgets-maintain-tally is t.
17936
355f2e07
MR
179372011-06-26 Martin Rudalics <rudalics@gmx.at>
17938
17939 * window.el (display-buffer-normalize-argument): Rename to
17940 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
17941 LABEL argument. Respect special-display-function when popping up
17942 a new frame. Fix code searching for a window showing the buffer
17943 on another frame.
c9d29fb8
SM
17944 (display-buffer-normalize-specifiers):
17945 Call display-buffer-normalize-arguments.
355f2e07
MR
17946 (display-buffer-in-window): Don't undedicate the window if its
17947 buffer remains the same.
17948 Reported by Drew Adams <drew.adams@oracle.com>.
17949 (display-buffer-alist): Add choice for same-window macro
17950 specfier.
17951 (display-buffer): Mention special meaning of LABEL argument in
17952 doc-string. Fix quoting. Don't pop up a new frame even as
17953 fallback.
17954
7ca8fc42
JB
179552011-06-26 Juanma Barranquero <lekktu@gmail.com>
17956
17957 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
17958 avoid deleting the current window in some cases (bug#8911).
17959
bc312254
AS
179602011-06-26 Andreas Schwab <schwab@linux-m68k.org>
17961
17962 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
17963 (Bug#8934)
17964
2db18f3f
LMI
179652011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
17966
c9d29fb8
SM
17967 * net/network-stream.el (network-stream-open-starttls):
17968 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
17969 (network-stream-open-tls): Ditto.
17970
6302e0d3
LL
179712011-06-26 Leo Liu <sdl.web@gmail.com>
17972
17973 * register.el (registerv): New struct.
17974 (registerv-make): New function.
c9d29fb8
SM
17975 (jump-to-register, describe-register-1, insert-register):
17976 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
17977 struct. (Bug#8415)
17978
5fdd4046
CY
179792011-06-26 Chong Yidong <cyd@stupidchicken.com>
17980
2afef60a
CY
17981 * vc/vc.el (vc-revert-show-diff): New defcustom.
17982 (vc-diff-internal): New arg specifying diff buffer.
17983 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
17984 reuse an existing *vc-diff* buffer (Bug#8927).
17985
5fdd4046
CY
17986 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
17987
e93db24a
GM
179882011-06-26 Glenn Morris <rgm@gnu.org>
17989
17990 * progmodes/f90.el (f90-critical-indent): New option.
17991 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
17992 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
17993 (f90-mode): Doc fix.
17994 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
17995 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
17996 (f90-beginning-of-block, f90-next-block, f90-indent-region)
17997 (f90-match-end): Handle block, critical.
17998
eefff499
GM
179992011-06-25 Glenn Morris <rgm@gnu.org>
18000
f6ba4cc9
GM
18001 * calendar/diary-lib.el (diary-included-files): Doc fix.
18002 (diary-include-files): New function, extracted from
18003 diary-include-other-diary-files and diary-mark-included-diary-files.
18004 (diary-include-other-diary-files, diary-mark-included-diary-files):
18005 Just call diary-include-files.
18006 (diary-mark-entries): Reset diary-included-files on first call.
18007
16712304
GM
18008 * calendar/diary-lib.el (diary-mark-entries)
18009 (diary-mark-included-diary-files):
18010 Visit included diary-files in temp buffers.
18011
5d8e0d43
GM
18012 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
18013 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
18014 (f90-start-block-re, f90-imenu-generic-expression)
18015 (f90-looking-at-program-block-start, f90-no-block-limit):
18016 Add support for submodules.
18017
ccf7a5d5
GM
18018 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
18019 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 18020
11fdef7d 180212011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
18022
18023 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
18024 buffer-file-type before setting its value, to avoid disastrous
eefff499 18025 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 18026
74f53697
JB
180272011-06-25 Juanma Barranquero <lekktu@gmail.com>
18028
18029 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
18030
18031 * ses.el (ses-unload-function):
18032 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
18033
18034 * proced.el (proced-unload-function):
18035 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
18036
18a4ce5e
AR
180372011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
18038
18039 * server.el (server-create-window-system-frame): Add parameters arg.
18040 (server-process-filter): Doc fix. Handle frame-parameters.
18041
519d22cc
JB
180422011-06-25 Juanma Barranquero <lekktu@gmail.com>
18043
18044 Fix bug#8730, bug#8781.
18045
18046 * loadhist.el (unload--set-major-mode): New function.
18047 (unload-feature): Use it.
18048
18049 * progmodes/python.el (python-after-info-look): Add autoload cookie.
18050 (python-unload-function): New function.
18051
c206f5b0
SM
180522011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
18053
18054 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
18055
f9ad64f3
GS
180562011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
18057
18058 * net/browse-url.el (browse-url-firefox-program): Add icecat to
18059 the candidates list.
18060
7d0da90e
JB
180612011-06-24 Juanma Barranquero <lekktu@gmail.com>
18062
18063 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
18064
14b4e83d
RS
180652011-06-23 Richard Stallman <rms@gnu.org>
18066
18067 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
18068 (rmail-variables): Set next-error-move-function.
18069 (rmail-what-message): Take argument POS.
18070 (rmail-next-error-move): New function.
18071
273d2baf
SM
180722011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
18073
18074 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
18075 messages for adjacent non-terminals.
18076
56c2cc9a
RS
180772011-06-23 Richard Stallman <rms@gnu.org>
18078
18079 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 18080 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
18081 (rmail-start-mail): Don't specify use of rmail-mail-return;
18082 that's done by mail-bury now.
18083 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 18084
d59eb518
MA
180852011-06-23 Michael Albinus <michael.albinus@gmx.de>
18086
18087 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
18088 SIZE is a number.
18089
02cfc6d6
MR
180902011-06-23 Martin Rudalics <rudalics@gmx.at>
18091
18092 * window.el (get-lru-window, get-mru-window)
18093 (get-largest-window): Never return a minibuffer window.
18094 (display-buffer-pop-up-window): Fix a bug that could lead to
18095 reusing the minibuffer window.
18096 (display-buffer): Pass original specifier argument to
18097 display-buffer-function instead of the normalized one.
18098 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
18099
4e323265
LL
181002011-06-22 Leo Liu <sdl.web@gmail.com>
18101
18102 * minibuffer.el (completing-read-function)
1f9f395d 18103 (completing-read-default): Move from minibuf.c.
4e323265 18104
7a70468f
RS
181052011-06-22 Richard Stallman <rms@gnu.org>
18106
50718fc2
RS
18107 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
18108 to Rmail even if not started by a special Rmail command.
18109
7a70468f
RS
18110 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
18111 Copy the buffer currently showing just one message.
18112
297dde5a
RW
181132011-06-22 Roland Winkler <winkler@gnu.org>
18114
18115 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
18116 (bibtex-clean-entry): First delete the old key so that a
18117 customized algorithm for generating the new key does not get
18118 confused by the old key.
18119 (bibtex-url): Obey regexp of first step.
18120 (bibtex-search-entries): Do not use add-to-list with local
18121 list-var.
18122
97bb1093
LMI
181232011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
18124
18125 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
18126 stored a user name, then query for the password first, instead of
18127 waiting for SMTP to give an error message and the trying again.
18128
1c0f1a19
JD
181292011-06-22 Lawrence Mitchell <wence@gmx.li>
18130
18131 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
18132 BUFFER in call-process.
18133
396f7c9d
LMI
181342011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
18135
18136 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
18137 QUIT twice.
ddb7ffee
LMI
18138 (smtpmail-try-auth-methods): Require user name and password from
18139 auth-source.
396f7c9d 18140
8998d1b3
MR
181412011-06-22 Martin Rudalics <rudalics@gmx.at>
18142
18143 * window.el (display-buffer-default-specifiers)
18144 (display-buffer-alist): Remove entries for pop-up-frame-alist.
18145 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 18146 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
18147
18148 * frame.el (pop-up-frame-alist, pop-up-frame-function)
18149 (special-display-frame-alist, special-display-popup-frame):
18150 Remove duplicate declarations. These are now in window.el.
18151
4ea31e07
LMI
181522011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
18153
c9d29fb8
SM
18154 * mail/smtpmail.el (smtpmail-via-smtp):
18155 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
18156 server supports it. SMTP servers that support STARTTLS commonly
18157 require it.
18158
18159 * net/network-stream.el (network-stream-open-starttls): Support
18160 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 18161 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 18162
95f41d9a
LMI
18163 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
18164 upgrades with `open-network-stream', and rely solely on
18165 auth-source for all credentials. Big changes throughout the file,
18166 but in particular:
c9d29fb8
SM
18167 (smtpmail-auth-credentials): Remove.
18168 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
18169 (smtpmail-via-smtp): Check for servers saying they want AUTH after
18170 MAIL FROM, too.
95f41d9a 18171
c9d29fb8
SM
18172 * net/network-stream.el (network-stream-open-starttls):
18173 Provide support for client certificates both for external and built-in
4ea31e07
LMI
18174 STARTTLS.
18175 (auth-source): Require.
18176 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
18177 (network-stream-certificate): Change cert-cert to cert and
18178 cert-key to key.
4ea31e07 18179
065ec2c7
MA
181802011-06-21 Michael Albinus <michael.albinus@gmx.de>
18181
18182 * net/tramp-cache.el (top): Don't load the persistency file when
18183 "emacs -Q" has been called.
18184
cd93b359
DR
181852011-06-21 Tim Harper <timcharper@gmail.com>
18186
d8e4b68b
JB
18187 * term/ns-win.el (ns-initialize-window-system):
18188 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
18189 resource to NO as it is not yet supported by the NS port.
18190
ae9c0411
JB
181912011-06-21 Juanma Barranquero <lekktu@gmail.com>
18192
18193 * misc.el (list-dynamic-libraries--refresh): Compute header here...
18194 (list-dynamic-libraries): ...not here.
18195
7f3f739f
LL
181962011-06-21 Leo Liu <sdl.web@gmail.com>
18197
18198 * subr.el (sha1): Implement sha1 using secure-hash.
18199
327c8fb1
MR
182002011-06-21 Martin Rudalics <rudalics@gmx.at>
18201
18202 * window.el (display-buffer-alist): In default value do not
18203 enforce searching a window on any but the selected frame.
18204 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
18205 (display-buffer-select-window): Remove function.
18206 (display-buffer-in-window): When a window on another frame gets
18207 reused, do not select it any more but just raise its frame if
18208 necessary (Bug#8851) and (Bug#8856).
18209 (display-buffer-normalize-options): Handle pop-up-frames related
18210 options more faithfully.
18211 (pop-to-buffer): Don't rely on `display-buffer' selecting the
18212 window if it is on another frame.
c9d29fb8
SM
18213 (display-buffer-alist, display-buffer-default-specifiers):
18214 Don't make new frame unsplittable by default.
9e9de014
MR
18215 (display-buffer-normalize-argument): Fix doc-string typo and use
18216 'same-frame-other-window instead of 'other-window when associating
18217 with display-buffer-macro-specifiers.
327c8fb1 18218
7cf3f556
VB
182192011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
18220
18221 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
18222 New functions.
18223 (5x5-mode-map, 5x5-mode-menu): Bind them.
18224 (5x5-draw-grid): Tweak the solver's rendering.
18225
60a406cf
SM
182262011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
18227
18228 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
18229 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
18230
d8e4b68b 182312011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
18232
18233 * menu-bar.el: Use function variable instead of switch-to-buffer.
18234 (menu-bar-select-buffer-function): New variable.
60a406cf 18235 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 18236
478d6f95
SM
182372011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
18238
18239 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
18240 variable's status.
18241
ca530739
JD
182422011-06-20 Jan Djärv <jan.h.d@swipnet.se>
18243
18244 * x-dnd.el (x-dnd-version-from-flags)
18245 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
18246 and long as number (Bug#8899).
18247 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
18248
bcd70d97
SM
182492011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
18250
60a406cf 18251 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
18252 (completion-try-completion, completion-all-completions): Compute the
18253 metadata argument if it's missing; make it optional (bug#8795).
18254
60a406cf 18255 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
18256 (widget-complete): Use new :completion-function property.
18257 (widget-completions-at-point): New function.
18258 (default): Use :completion-function instead of :complete.
60a406cf
SM
18259 (widget-default-completions): Rename from widget-default-complete;
18260 Rewrite.
bcd70d97
SM
18261 (widget-string-complete, widget-file-complete, widget-color-complete):
18262 Remove functions.
18263 (file, symbol, function, variable, coding-system, color):
18264 * international/mule-cmds.el (default-input-method, charset)
18265 (language-info-custom-alist):
18266 * cus-edit.el (face): Use new property :completions.
18267
18268 * progmodes/pascal.el (pascal-completions-at-point): New function.
18269 (pascal-mode): Use it.
18270 (pascal-mode-map): Use completion-at-point.
18271 (pascal-toggle-completions): Make obsolete.
18272 (pascal-complete-word, pascal-show-completions):
18273 * progmodes/octave-mod.el (octave-complete-symbol):
18274 Redefine as obsolete alias.
18275 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
18276 Signal absence of completion info for old Octave,
18277 (inferior-octave-complete): Redefine as obsolete alias.
18278 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
18279 (meta-completions-at-point): Rename from meta-complete-symbol and
18280 adapt it for use on completion-at-point-functions.
18281 (meta-common-mode): Use it.
18282 (meta-looking-at-backward, meta-match-buffer): Remove.
18283 (meta-complete-symbol): Redefine as obsolete alias.
18284 (meta-common-mode-map): Use completion-at-point.
18285 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
18286 (makefile-mode-map): Use completion-at-point.
18287 (makefile-completions-at-point): Rename from makefile-complete and
18288 adapt it for use on completion-at-point-functions.
18289 (makefile-mode): Use it.
18290 (makefile-complete): Redefine as obsolete alias.
18291
aebf69c8
DD
182922011-06-20 Deniz Dogan <deniz@dogan.se>
18293
18294 * net/rcirc.el: Delete trailing whitespaces once and for all.
18295
bfbbb27d
DC
182962011-06-20 Daniel Colascione <dan.colascione@gmail.com>
18297
18298 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
18299
d264a46b
CY
183002011-06-19 Chong Yidong <cyd@stupidchicken.com>
18301
4ca009e5
CY
18302 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
18303
d264a46b
CY
18304 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
18305
fbf5b3ce
MR
183062011-06-19 Martin Rudalics <rudalics@gmx.at>
18307
18308 * window.el (display-buffer-other-window-means-other-frame):
18309 Call display-buffer-normalize-alist.
18310 (display-buffer-normalize-specifiers-1): Rename to
18311 display-buffer-normalize-argument. New argument other-frame.
18312 Rewrite.
18313 (display-buffer-normalize-specifiers-2): Rename to
18314 display-buffer-normalize-options.
18315 (display-buffer-normalize-alist-1): New function.
18316 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
18317 display-buffer-normalize-alist.
18318 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
18319 (display-buffer-normalize-options-inhibit): New variable.
18320 (display-buffer-normalize-specifiers): Rewrite calling
18321 display-buffer-normalize-alist,
18322 display-buffer-normalize-argument, and
18323 display-buffer-normalize-options. Don't call the latter if
18324 display-buffer-normalize-options-inhibit is non-nil.
18325 (frame-auto-delete): New option.
18326 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
18327 (window-list-no-nils, window-state-ignored-parameters)
18328 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
18329 (window-state-put-1, window-state-put-2, window-state-put):
18330 New functions.
9a028c23
MR
18331 (display-buffer-normalize-options): Move special-display-p group
18332 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 18333
6d10d800
CY
183342011-06-18 Chong Yidong <cyd@stupidchicken.com>
18335
6420d28b
CY
18336 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
18337 groups (Bug#8776).
18338 (rx-submatch-n): New function.
18339 (rx): Document it.
18340
ddb8b596
CY
18341 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
18342 (Bug#8768).
18343
18344 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
18345
77080289
CY
18346 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
18347
61dfb316
CY
18348 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
18349 anytime existing face settings are present (Bug#8889).
18350
6d10d800
CY
18351 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
18352 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
18353 Remove unused argument.
18354
be3fb2b8
MR
183552011-06-18 Martin Rudalics <rudalics@gmx.at>
18356
bcd70d97
SM
18357 * window.el (display-buffer-default-specifiers):
18358 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
18359 pop-up-window-min-width, and another reuse-window specifier
18360 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
18361 (display-buffer-normalize-specifiers-2):
18362 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
18363 pop-up-windows is unset. Add a reuse-window specifier for the
18364 case popping up a new window fails.
18365 (special-display-popup-frame): Remove double quoting.
28dec25a 18366 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 18367
1c6d8c76
SM
183682011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
18369
18370 * shell.el (shell-completion-vars): Set pcomplete-termination-string
18371 according to comint-completion-addsuffix.
18372
18373 * pcomplete.el: Convert to lexical binding and fix bug#8819.
18374 (pcomplete-suffix-list): Mark as obsolete.
18375 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
18376 pcomplete-seen in the closure.
18377 (pcomplete-comint-setup): Setup completion-at-point as well.
18378 (pcomplete--entries): New function.
18379 (pcomplete--env-regexp): New var.
18380 (pcomplete-entries): Rewrite to work with partial-completion and
18381 without relying on pcomplete-suffix-list.
18382 (pcomplete-pare-list): Remove, unused.
18383
25aef8b8
MR
183842011-06-17 Martin Rudalics <rudalics@gmx.at>
18385
18386 * window.el (display-buffer-alist): Set pop-up-window-min-height
18387 and pop-up-window-min-width in default value. Reported by
18388 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
18389 other-window-means-other-frame.
18390 (display-buffer-macro-specifiers): Comment out entry for
18391 other-window specifier.
18392 (display-buffer-other-window-means-other-frame): New function.
18393 (display-buffer-normalize-specifiers-1): New arguments
18394 buffer-name and label. Treat other-window case specially.
18395 (display-buffer-normalize-specifiers-2): Treat other-window case
18396 specially.
18397 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
18398 (display-buffer-normalize-specifiers):
18399 Call display-buffer-normalize-specifiers-3.
25aef8b8 18400
dbad4f69
MR
184012011-06-17 Martin Rudalics <rudalics@gmx.at>
18402
18403 * window.el (same-window-p): Fix two typos introduced when
18404 adding with-no-warnings.
d1067961
MR
18405 (display-buffer-normalize-specifiers-1): Don't check
18406 pop-up-frames for 'unset initialization.
18407 (display-buffer-normalize-specifiers-2): Major rewrite using
18408 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
18409 (pop-up-frames, display-buffer-reuse-frames)
18410 (display-buffer-mark-dedicated): Don't initialize to 'unset.
18411 Suggested by David Engster <deng@randomsample.de>.
18412 (even-window-heights): Initialize to 'unset.
18413 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
18414 (display-buffer-macro-specifiers): Don't pop up a new frame in the
18415 other window case.
dbad4f69 18416
9b9c9e3a
MR
184172011-06-16 Martin Rudalics <rudalics@gmx.at>
18418
bcd70d97
SM
18419 * window.el (display-buffer-normalize-specifiers-1):
18420 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 18421 second argument of display-buffer (Bug#8865).
981d5c09
MR
18422 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
18423 (switch-to-buffer-other-window-same-frame)
18424 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
18425 Adams (Bug#8875).
9c2755e9
MR
18426 (display-buffer): Don't check noninteractive when calling
18427 display-buffer-pop-up-frame.
18428 (display-buffer-pop-up-frame): Never pop up a frame in
18429 noninteractive mode (Bug#8857).
67222e1d
MR
18430 (enlarge-window, shrink-window): Don't report an error when the
18431 window can't be resized as requested (Bug#8862).
9b9c9e3a 18432
2b75be67
SM
184332011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
18434
9ffdd3ba
SM
18435 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
18436
cb581a67
SM
18437 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
18438
2b75be67
SM
18439 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
18440
8c0e3589
AM
184412011-06-15 Alan Mackenzie <acm@muc.de>
18442
cb581a67
SM
18443 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
18444 for declarators, disable knr checking to speed up for normal files.
18445 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 18446
b96e6cde
LMI
184472011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
18448
4bba86e6
LMI
18449 * net/network-stream.el (open-network-stream): Add the keyword
18450 :always-query-capabilities for the case where you want to force a
18451 `plain' network connection, but the protocol still requires the
18452 capabilitiy command (i.e., SMTP and EHLO).
18453
2b75be67 18454 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
18455 consistency with other `-live-p' functions.
18456
efdcdbf8
SM
184572011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
18458
18459 * window.el (same-window-buffer-names, same-window-regexps)
18460 (special-display-frame-alist, special-display-popup-frame)
18461 (special-display-function, special-display-buffer-names)
18462 (special-display-regexps, pop-up-frame-alist)
18463 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
18464 (pop-up-windows, split-window-preferred-function)
18465 (split-height-threshold, split-width-threshold, even-window-heights)
18466 (display-buffer-mark-dedicated): Don't encourage the use of
18467 display-buffer-alist from Elisp code.
18468
c5cde042
DN
184692011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
18470
18471 * progmodes/python.el (python-mode): Derive from prog-mode.
18472 * progmodes/ps-mode.el (ps-mode):
18473 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 18474 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
18475 * progmodes/ld-script.el (ld-script-mode): Likewise.
18476
baa1c9ab
MR
184772011-06-15 Martin Rudalics <rudalics@gmx.at>
18478
18479 * window.el (display-buffer-alist): Trim default value to avoid
18480 popping up a new frame (Bug#8857) or reusing an arbitrary window
18481 on another frame.
18482 (display-buffer): Do not fall back on popping up a new frame in
18483 batch mode (Bug#8857).
18484
c5dd5a51
CY
184852011-06-14 Chong Yidong <cyd@stupidchicken.com>
18486
18487 * cus-theme.el (describe-theme-1): Use custom-theme-p.
18488 (custom-theme-summary): New function.
18489 (customize-themes): Use it.
18490
d647b7c4
GM
184912011-06-13 Glenn Morris <rgm@gnu.org>
18492
18493 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
18494
9481c002
MR
184952011-06-13 Martin Rudalics <rudalics@gmx.at>
18496
357f93d2
MR
18497 * help.el (help-window): Remove variable.
18498 (help-window-point-marker, temp-buffer-max-height)
18499 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
18500 (help-print-return-message): Don't set help-window.
18501 (resize-temp-buffer-window): Rewrite cod eand doc-string.
18502 (help-window-setup-finish): Remove.
18503 (help-window-display-message, help-window-setup)
18504 (with-help-window): Major rewrite based on new
18505 display-buffer-window variable.
18506
18507 * help-mode.el (help-mode-finish): Remove help-window related
18508 code.
18509
18510 * view.el (view-exits-all-viewing-windows): Remove reference to
18511 view-return-to-alist in doc-string.
18512 (view-return-to-alist): Make obsolete.
18513 (view-buffer): Call pop-to-buffer-same-window and remove
18514 undo-window code.
18515 (view-buffer-other-window): Call pop-to-buffer-other-window and
18516 simplify code. Ignore second argument.
18517 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
18518 simplify code. Ignore second argument.
18519 (view-return-to-alist-update): Make obsolete.
18520 (view-mode-enter): Rename second argument to QUIT-RESTORE.
18521 Rewrite using quit-restore window parameters.
2b75be67
SM
18522 (view-mode-exit): Rename second argument to EXIT-ONLY.
18523 Rewrite using quit-restore-window.
357f93d2
MR
18524 (View-exit, View-exit-and-edit, View-leave, View-quit)
18525 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
18526 appropriate arguments.
18527 (view-end-message): Use quit-restore window parameter.
18528
9481c002
MR
18529 * window.el (display-buffer-function): Rewrite doc-string.
18530 (display-buffer-window, display-buffer-alist): New variables.
18531 (display-buffer-split-specifiers)
18532 (display-buffer-side-specifiers)
18533 (display-buffer-macro-specifiers): New constants.
18534 (display-buffer-even-window-sizes, display-buffer-set-height)
18535 (display-buffer-set-width, display-buffer-select-window)
18536 (display-buffer-in-window, display-buffer-reuse-window)
18537 (display-buffer-split-window-1, display-buffer-split-window)
18538 (display-buffer-split-atom-window, display-buffer-pop-up-window)
18539 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
18540 (display-buffer-in-side-window, normalize-buffer-to-display)
18541 (display-buffer-normalize-specifiers-1)
18542 (display-buffer-normalize-specifiers-2)
2b75be67
SM
18543 (display-buffer-normalize-specifiers, display-buffer-frame):
18544 New functions.
9481c002
MR
18545 (display-buffer): Major rewrite.
18546 (display-buffer-other-window, display-buffer-other-frame)
18547 (pop-to-buffer, switch-to-buffer-other-window)
18548 (switch-to-buffer-other-frame): Rewrite.
18549 (display-buffer-same-window, display-buffer-same-frame)
18550 (display-buffer-same-frame-other-window)
18551 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
18552 (pop-to-buffer-other-window)
18553 (pop-to-buffer-same-frame-other-window)
18554 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
18555 (switch-to-buffer-other-window-same-frame): New functions.
18556 (same-window-p, special-display-p): Rewrite disabling warnings.
18557 Make obsolete.
18558 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
18559 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
18560 Make obsolete
18561 (same-window-buffer-names, same-window-regexps)
18562 (special-display-frame-alist, special-display-popup-frame)
18563 (special-display-function, special-display-buffer-names)
18564 (special-display-regexps, pop-up-frame-alist)
18565 (pop-up-frame-function, split-window-preferred-function)
18566 (split-height-threshold, split-width-threshold)
18567 (even-window-heights): Make obsolete.
18568
9db51aca
GM
185692011-06-12 Glenn Morris <rgm@gnu.org>
18570
18571 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 18572 Misc simplifications.
9db51aca 18573
39cffb44
MR
185742011-06-12 Martin Rudalics <rudalics@gmx.at>
18575
18576 * window.el (window-safely-shrinkable-p): Restore function which
18577 was inadvertently removed in change from 2011-06-11. Declare as
18578 obsolete.
18579
2b75be67
SM
18580 * calendar/calendar.el (calendar-generate-window):
18581 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
18582 window-safely-shrinkable-p.
18583
a8955be7
GM
185842011-06-12 Glenn Morris <rgm@gnu.org>
18585
18586 * progmodes/fortran.el (fortran-mode-syntax-table):
18587 * progmodes/f90.el (f90-mode-syntax-table):
18588 Set % to punctuation. (Bug#8820)
18589 (f90-find-tag-default): Remove, no longer needed.
18590
f0d4059d
DC
185912011-06-12 Daniel Colascione <dan.colascione@gmail.com>
18592
18593 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
18594
1100a63c
CY
185952011-06-11 Chong Yidong <cyd@stupidchicken.com>
18596
18597 * image.el (image-animated-p): Return animation delay in seconds.
18598 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
18599 (image-animate-timeout): Remove DELAY argument. Don't assume
18600 every subimage has the same delay; get it from image-animated-p.
18601 (image-animate): Caller changed.
18602
def722bf
MA
186032011-06-11 Michael Albinus <michael.albinus@gmx.de>
18604
18605 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
18606 to ignored backtrace functions.
18607
0a2bb1a9
GM
186082011-06-11 Glenn Morris <rgm@gnu.org>
18609
18610 * calendar/appt.el (appt-disp-window-function): Doc fix.
18611 (appt-check): Handle overlapping appointments. (Bug#8337)
18612
6198ccd0
MR
186132011-06-11 Martin Rudalics <rudalics@gmx.at>
18614
18615 * window.el (window-tree-1, window-tree): New functions, moving
18616 the latter to window.el.
18617 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
18618 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
18619 (bw-refresh-edges): Remove.
18620 (balance-windows-1, balance-windows-2): New functions.
18621 (balance-windows): Rewrite in terms of window tree functions,
18622 balance-windows-1 and balance-windows-2.
18623 (bw-adjust-window): Remove.
18624 (balance-windows-area-adjust): New function with functionality of
18625 bw-adjust-window but using resize-window.
2b75be67
SM
18626 (set-window-text-height): Rewrite doc-string.
18627 Use normalize-live-window and resize-window.
18628 (enlarge-window-horizontally, shrink-window-horizontally):
18629 Rename argument to DELTA.
6198ccd0
MR
18630 (window-buffer-height): New function.
18631 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
18632 Rewrite using new window resize routines.
2b75be67
SM
18633 (kill-buffer-and-window, mouse-autoselect-window-select):
18634 Use ignore-errors instead of condition-case.
6198ccd0
MR
18635 (quit-window): Call delete-frame instead of delete-windows-on
18636 for the only buffer on frame.
18637
9397e56f
MR
186382011-06-10 Martin Rudalics <rudalics@gmx.at>
18639
18640 * loadup.el (top-level): Load window before files for the sake
18641 of replace-buffer-in-windows.
18642
18643 * files.el (read-buffer-to-switch)
18644 (switch-to-buffer-other-window)
2b75be67
SM
18645 (switch-to-buffer-other-frame, display-buffer-other-frame):
18646 Move to window.el.
9397e56f
MR
18647
18648 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
18649 (previous-buffer): Move to window.el.
18650
18651 * bindings.el (unbury-buffer): Move to window.el.
18652
18653 * window.el (delete-other-windows-vertically): Move after
18654 definition of delete-other-windows.
18655 (other-window, delete-windows-on, replace-buffer-in-windows):
18656 Move here from window.c.
18657 (record-window-buffer, unrecord-window-buffer)
18658 (set-window-buffer-start-and-point, switch-to-prev-buffer)
18659 (switch-to-next-buffer): New functions.
18660 (get-next-valid-buffer, last-buffer, next-buffer): Move here
18661 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
18662 (previous-buffer): Move here from simple.el.
18663 Call switch-to-prev-buffer.
9397e56f
MR
18664 (bury-buffer): Move here from buffer.c. Switch to previous
18665 buffer when window cannot be deleted.
18666 (unbury-buffer): Move here from bindings.el.
18667 (ctl-x-map): Move binding for other-window from window.c to
18668 here.
18669 (read-buffer-to-switch, switch-to-buffer-other-window)
18670 (switch-to-buffer-other-frame): Move here from files.el.
18671 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
18672 (switch-to-buffer): Move here from buffer.c.
18673 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 18674
562dd5e9
MR
186752011-06-10 Martin Rudalics <rudalics@gmx.at>
18676
18677 * window.el (window-min-height, window-min-width): Move here
18678 from window.c. Add defcustoms and rewrite doc-strings.
18679 (resize-mini-window, resize-window): New functions.
18680 (adjust-window-trailing-edge, enlarge-window, shrink-window):
18681 Move here from window.c.
18682 (maximize-window, minimize-window): New functions.
18683 (delete-window, delete-other-windows, split-window): Move here
18684 from window.c.
18685 (window-split-min-size): New function.
18686 (split-window-keep-point): Mention split-window-above-each-other
18687 instead of split-window-vertically.
2b75be67 18688 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
18689 Rename split-window-vertically to split-window-above-each-other
18690 and provide defalias for old definition.
18691 (split-window-side-by-side, split-window-horizontally):
18692 Rename split-window-horizontally to split-window-side-by-side
18693 and provide defalias for the old definition.
562dd5e9
MR
18694 (ctl-x-map): Move bindings for delete-window,
18695 delete-other-windows and enlarge-window here from window.c.
18696 Replace bindings for split-window-vertically and
18697 split-window-horizontally by bindings for
18698 split-window-above-each-other and split-window-side-by-side.
18699
18700 * cus-start.el (all): Remove entries for window-min-height and
18701 window-min-width. Add entries for window-splits and
18702 window-nest.
18703
f0da764a
GM
187042011-06-09 Glenn Morris <rgm@gnu.org>
18705
80675c21
GM
18706 * calendar/appt.el (appt-mode-line): New function.
18707 (appt-check, appt-disp-window): Use it.
18708
f0da764a
GM
18709 * files.el (hack-one-local-variable-eval-safep):
18710 Allow minor-modes with explicit +/-1 arguments.
18711
59f623b7
TZ
187122011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
18713
18714 * term/xterm.el (xterm): Add defgroup.
18715 (xterm-extra-capabilities): Add defcustom to supply known xterm
18716 capabilities, skip querying them, or query them (default).
18717 (terminal-init-xterm): Use it.
18718 (terminal-init-xterm-modify-other-keys): New function to set up
18719 modifyOtherKeys support to simplify `terminal-init-xterm'.
18720
9aab8e0d
MR
187212011-06-09 Martin Rudalics <rudalics@gmx.at>
18722
18723 * window.el (resize-window-reset, resize-window-reset-1)
18724 (resize-subwindows-skip-p, resize-subwindows-normal)
18725 (resize-subwindows, resize-other-windows, resize-this-window)
18726 (resize-root-window, resize-root-window-vertically)
18727 (window-deletable-p, window-or-subwindow-p)
18728 (frame-root-window-p): New functions.
18729
e8b08aee
GM
187302011-06-09 Glenn Morris <rgm@gnu.org>
18731
18732 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
18733 (ange-ftp-get-files): Use it.
18734
254c37a5
AK
187352011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
18736
18737 * mail/sendmail.el (mail-recover-1, mail-recover):
18738 * files.el (recover-file, recover-session):
18739 Handle dired-listing-switches not being just a single short option.
18740
35d7dbd3
GM
187412011-06-09 Glenn Morris <rgm@gnu.org>
18742
18743 * calendar/appt.el (appt-display-message, appt-disp-window):
18744 Handle lists of appointments.
18745
387522b2
MR
187462011-06-08 Martin Rudalics <rudalics@gmx.at>
18747
2b75be67
SM
18748 * window.el (one-window-p): Move down in code.
18749 Rewrite doc-string.
18750 (window-current-scroll-bars): Rewrite doc-string.
18751 Normalize live window argument.
387522b2
MR
18752 (walk-windows, get-window-with-predicate, count-windows):
18753 Rewrite doc-string. Use window-list-1.
18754 (window-in-direction-2, window-in-direction, get-mru-window):
18755 New functions.
18756
d8e4b68b 187572011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
18758
18759 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
18760 Doc fix (Bug#8713).
18761
187622011-06-08 Chong Yidong <cyd@stupidchicken.com>
18763
18764 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
18765
187662011-06-08 Juanma Barranquero <lekktu@gmail.com>
18767
18768 * loadhist.el (unload-feature-special-hooks):
18769 Add `comint-output-filter-functions'.
18770
0de12c52
IK
187712011-06-08 Ivan Kanis <gnu@kanis.fr>
18772
18773 * calendar/appt.el (appt-check): Move some initializations into the let.
18774
f3d1777e
MR
187752011-06-08 Martin Rudalics <rudalics@gmx.at>
18776
18777 * window.el (window-height): Defalias to window-total-height.
18778 (window-width): Defalias to window-body-width.
18779
18af70d0
CY
187802011-06-07 Chong Yidong <cyd@stupidchicken.com>
18781
18782 * image-mode.el (image-toggle-animation): New command.
18783 (image-mode-map): Bind it to RET.
18784 (image-mode): Update message.
18785 (image-toggle-display-image): Avoid a spurious cache flush.
18786 (image-transform-rotation): Doc fix.
18787 (image-transform-properties): Return quickly in the normal case.
18788 (image-animate-loop): Rename from image-animate-max-time.
18789
2b75be67 18790 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
18791 (create-animated-image): Remove unnecessary function.
18792 (image-animate): Rename from image-animate-start. New arg.
2b75be67 18793 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
18794 (image-animate-timer): Use car-safe.
18795 (image-animate-timeout): Rename argument.
18796
190b47e6
MR
187972011-06-07 Martin Rudalics <rudalics@gmx.at>
18798
18799 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
18800 window.c. Rename first argument to ALL-FRAMES.
18801 Rephrase doc-strings.
18802 (get-buffer-window-list): Rewrite using window-list-1.
18803 Rephrase doc-string.
a1511caf
MR
18804 (window-safe-min-height, window-safe-min-width): New constants.
18805 (window-size-ignore, window-min-size, window-min-size-1)
18806 (window-sizable, window-sizable-p, window-size-fixed-1)
18807 (window-size-fixed-p, window-min-delta-1, window-min-delta)
18808 (window-max-delta-1, window-max-delta, window-resizable)
18809 (window-resizable-p, window-total-height, window-total-width)
18810 (window-body-width): New functions.
18811 (window-full-height-p, window-full-width-p): Rewrite using
18812 window-total-size.
18813 (window-body-height): Rewrite using window-body-size.
190b47e6 18814
85cc1f11
MR
188152011-06-06 Martin Rudalics <rudalics@gmx.at>
18816
18817 * window.el (window-right, window-left, window-child)
18818 (window-child-count, window-last-child, window-any-p)
18819 (normalize-live-buffer, normalize-live-frame)
18820 (normalize-any-window, normalize-live-window)
18821 (window-iso-combination-p, window-iso-combined-p)
18822 (window-iso-combinations)
18823 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
18824 (windows-with-parameter, window-with-parameter)
18825 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
18826 (window-atom-check, window-side-check, window-check):
18827 New functions.
85cc1f11
MR
18828 (ignore-window-parameters, window-sides, window-sides-vertical)
18829 (window-sides-slots): New variables.
18830 (window-size-fixed): Move down in code. Minor doc-string fix.
18831
e7156492
AS
188322011-06-05 Andreas Schwab <schwab@linux-m68k.org>
18833
18834 * comint.el (comint-dynamic-complete-as-filename)
18835 (comint-dynamic-complete-filename): Correctly call
18836 completion-in-region.
18837
7e821d0d
DD
188382011-06-05 Deniz Dogan <deniz@dogan.se>
18839
18840 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
18841 in last change.
18842
ac09b8a1
DD
188432011-06-05 Deniz Dogan <deniz@dogan.se>
18844
18845 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
18846 (rcirc): Use it to prompt for encryption.
18847
34699b85
RW
188482011-06-05 Roland Winkler <winkler@gnu.org>
18849
18850 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
18851 (bibtex-search-entries): New command bound to C-c C-a.
18852 (bibtex-display-entries): New function.
18853
004dedd3
RW
188542011-06-05 Roland Winkler <winkler@gnu.org>
18855
18856 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
18857 (bibtex-insert-kill): After yanking insert newline if necessary.
18858 (bibtex-initialize): Call bibtex-string-files-init only once.
18859 (bibtex-mode): Do not call easy-menu-add.
18860 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
18861 (bibtex-yank): Set arg properly if nil.
18862
022fe7ce
RW
188632011-06-05 Roland Winkler <winkler@gnu.org>
18864
2b75be67
SM
18865 * textmodes/bibtex.el (bibtex-search-entry-globally):
18866 New variable.
022fe7ce
RW
18867 (bibtex-search-entry): Use it.
18868
b7c3692a
RW
188692011-06-05 Roland Winkler <winkler@gnu.org>
18870
18871 * textmodes/bibtex.el (bibtex-entry-format): New option
18872 sort-fields.
18873 (bibtex-format-entry, bibtex-reformat): Honor this option.
18874 (bibtex-parse-entry): Return fields in proper order.
18875
8eda563d
JB
188762011-06-05 Juanma Barranquero <lekktu@gmail.com>
18877
18878 * doc-view.el (doc-view-remove-if): Move computation of result out
18879 of `dolist' to silence misleading lexical-binding warning.
18880
7dbe3dbc
CY
188812011-06-04 Chong Yidong <cyd@stupidchicken.com>
18882
18883 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
18884 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
18885
0c33dd17
MA
188862011-06-04 Michael Albinus <michael.albinus@gmx.de>
18887
18888 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
18889 "SunOS 5.10".
18890
f8f91c2b
MA
188912011-06-04 Michael Albinus <michael.albinus@gmx.de>
18892
18893 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
18894 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
18895 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
18896 (tramp-parse-putty):
18897 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
18898 (tramp-completion-function-alist-ssh)
18899 (tramp-completion-function-alist-telnet)
18900 (tramp-completion-function-alist-su)
18901 (tramp-completion-function-alist-putty): Set `tramp-autoload'
18902 cookie.
18903
18904 * net/tramp-ftp.el:
18905 * net/tramp-sh.el:
18906 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
18907 load "tramp.el" `tramp-set-completion-function'.
18908
e17d9003
SM
189092011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
18910
18911 * shell.el: Require and use pcomplete.
18912 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
18913 (shell-completion-vars): Set pcomplete-default-completion-function.
18914
6c4cab03
DD
189152011-06-04 Deniz Dogan <deniz@dogan.se>
18916
18917 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
18918 `memq' (Bug#8799).
18919
ea9fafe0
SM
189202011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
18921
18922 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
18923
b3e945d3
JB
189242011-06-02 Juanma Barranquero <lekktu@gmail.com>
18925
18926 * bs.el (bs--mark-unmark, bs--nth-wrapper):
18927 * mpc.el (mpc-select-extend, mpc-songpointer-context):
18928 * vc/log-view.el (log-view-beginning-of-defun):
18929 * vc/smerge-mode.el (smerge-apply-resolution-patch)
18930 (smerge-refine-forward, smerge-refine-chopup-region):
18931 Silence warning for unused `dotimes' counter variables.
18932
7d520089
SM
189332011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
18934
18935 * net/tramp.el (tramp-with-progress-reporter): Rename from
18936 with-progress-reporter. Use `declare'.
18937 * net/tramp-smb.el:
18938 * net/tramp-sh.el:
18939 * net/tramp-gvfs.el: Update all uses.
18940
a1c2400f
JB
189412011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
18942
18943 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
18944 buffer isn't killed before making it current.
18945
2403c841
SM
189462011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
18947
18948 Silence various byte-compiler warnings.
18949 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
18950 `access-type' and new obsolescence format.
18951 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
18952 new format.
18953 (byte-compile-check-variable): New `access-type' argument.
18954 Only warn if the access-type is obsolete.
18955 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
18956 (byte-compile-variable-set): Adjust callers.
18957 * help-fns.el (describe-variable): Adjust to new obsolescence format.
18958 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
18959 setting it as obsolete.
18960 * simple.el (minibuffer-completing-symbol):
18961 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
18962 access as obsolete.
18963 * minibuffer.el (minibuffer-completing-file-name): Don't make it
18964 obsolete yet.
18965 * international/quail.el (quail-mouse-choose-completion): Remove unused
18966 code referring to obsolete var.
18967 (quail-choose-completion-string): Remove.
18968 * server.el (server-clients-with, server-kill-buffer-query-function)
18969 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
18970 * proced.el (proced-send-signal):
18971 * emacs-lisp/lisp.el (lisp-complete-symbol):
18972 Replace completion-annotate-function with completion-extra-properties.
18973
2462470b
SM
189742011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
18975
fb5b2591
SM
18976 * simple.el (goto-line): Use read-number.
18977 (overriding-map-is-bound): Remove.
18978 (saved-overriding-map): Change default.
18979 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
18980 Take the map as argument.
18981 (universal-argument, negative-argument, digit-argument): Use it.
18982 (restore-overriding-map): Adjust.
18983 (do-auto-fill): Use fill-forward-paragraph.
18984 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
18985
fd6fa53f
SM
18986 * minibuffer.el (minibuffer-inactive-mode-map): New var.
18987 (minibuffer-inactive-mode): New major mode.
18988 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
18989 the *Messages* buffer" hack.
18990 (mouse-popup-menubar): Don't burp if the event is a normal key.
18991
2462470b
SM
18992 Miscellaneous tweaks.
18993 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
18994 lexical scoping as in subr.el's dolist and dotimes.
18995 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
18996 Silence compiler warning.
18997 * thingatpt.el (forward-whitespace): Trivial coding style fix.
18998 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
18999 * international/ccl.el (ccl-compile): Trivial simplification.
19000 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
19001 * emacs-lisp/testcover.el (testcover-end): Remove spurious
19002 `printflag' argument.
19003 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
19004 Purecopy the whole obsolescence data.
19005
108bf785
LL
190062011-06-01 Leo Liu <sdl.web@gmail.com>
19007
19008 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
19009 improve doc-string as suggested by Marco Pessotto
19010 <melmothx@gmail.com>.
19011 (rcirc-print): Fix last change.
19012
30a23501
SM
190132011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
19014
19015 * minibuffer.el (complete-with-action): Return nil for the metadata and
19016 boundaries of non-functional tables.
19017 (completion-table-dynamic): Return nil for the metadata.
19018 (completion-table-with-terminator): Add default case, using
19019 complete-with-action.
19020 (completion--metadata): New function.
19021 (completion-all-sorted-completions, minibuffer-completion-help): Use it
19022 to try and avoid pathological performance problems.
19023 (completion--embedded-envvar-table): Return `category' metadata.
19024
bcd54f83
LMI
190252011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
19026
19027 * subr.el (process-alive-p): New tiny convenience function.
19028
e227544d
SM
190292011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
19030
19031 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
19032 content but also its previous major mode.
19033
e8296fdc
HE
190342011-05-31 Helmut Eller <eller.helmut@gmail.com>
19035
4d61f28d 19036 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
19037 *Backtrace* buffer when we exit with C-M-c.
19038
620c53a6
SM
190392011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
19040
19041 * minibuffer.el: Add metadata method to completion tables.
19042 (completion-category-overrides): New defcustom.
19043 (completion-metadata, completion--field-metadata)
19044 (completion-metadata-get, completion--styles)
19045 (completion--cycle-threshold): New functions.
19046 (completion-try-completion, completion-all-completions):
19047 Add `metadata' argument to choose completion-styles.
19048 (completion--do-completion): Use metadata to choose cycling.
19049 (completion-all-sorted-completions): Use metadata for sorting.
19050 Remove :completion-cycle-penalty which is not needed any more.
19051 (completion--try-word-completion): Add `metadata' argument.
19052 (minibuffer-completion-help): Check metadata for annotation function
19053 and sorting.
19054 (completion-file-name-table): Return `category' metadata.
19055 (minibuffer-completing-file-name): Make obsolete.
19056 * simple.el (minibuffer-completing-symbol): Make obsolete.
19057 * icomplete.el (icomplete-completions): Pass new `metadata' param to
19058 completion-try-completion.
19059
1257e755
SM
190602011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
19061
19062 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
19063
3767e706
LL
190642011-05-30 Leo Liu <sdl.web@gmail.com>
19065
19066 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
19067 (rcirc-print): Decode all incoming messages (bug#8744).
19068 (rcirc-decode-coding-system): Allow value nil for automatic coding
19069 system detection.
3767e706 19070
d1a5d56a
GM
190712011-06-01 Glenn Morris <rgm@gnu.org>
19072
19073 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
19074
e8cbec34
CY
190752011-05-29 Chong Yidong <cyd@stupidchicken.com>
19076
19077 * image.el (image-animate-max-time): Allow nil and t values.
19078 Default to nil.
19079 (create-animated-image): Doc fix.
19080 (image-animate-start): Remove second arg; just use
19081 image-animate-max-time.
19082 (image-animate-timeout): Doc fix. Args changed.
19083
19084 * image-mode.el (image-toggle-display-image): Ensure that the
19085 image spec passed to the animate timer is the same object as in
58179cce 19086 the buffer's display property (Bug#6981).
e8cbec34
CY
19087 (image-transform-properties): Doc fix.
19088
19089 * image.el (image-animate-max-time): Default to nil.
19090
159daf87
MR
190912011-05-29 Martin Rudalics <rudalics@gmx.at>
19092
19093 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
19094 entire buffer list (Bug#8184).
19095
d66c4c7c
CY
190962011-05-29 Chong Yidong <cyd@stupidchicken.com>
19097
19098 * image.el (imagemagick-types-inhibit)
19099 (imagemagick-register-types): Doc fix.
19100
80aec780
DD
191012011-05-29 Deniz Dogan <deniz@dogan.se>
19102
19103 * net/rcirc.el (rcirc): Use the user's stored encryption method by
19104 default.
19105
1dd3c2d9
CY
191062011-05-29 Chong Yidong <cyd@stupidchicken.com>
19107
19108 * select.el: Don't perform clipboard-manager saving in hooks;
19109 leave the hooks empty.
19110
60e56523
LL
191112011-05-28 Leo Liu <sdl.web@gmail.com>
19112
19113 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
19114 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
19115 (occur-edit-mode): New major mode (Bug#8463).
19116 (occur-after-change-function): New function.
19117 (occur-engine): Give Occur tags a read-only property.
19118
2b1e1a22
KR
191192011-05-28 Kevin Ryde <user42@zip.com.au>
19120
19121 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
19122
5d344e88
CY
191232011-05-28 Chong Yidong <cyd@stupidchicken.com>
19124
8e6ca83d
CY
19125 * bindings.el (help-echo): Make the initial non-indicator dash
19126 empty on graphical terminals (Bug#7295).
19127
5d344e88
CY
19128 * files.el (auto-mode-alist): Move config rule after the
19129 in-stripping one (Bug#8547).
19130
bfbbace7
CY
19131 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
19132
fbeba6e2
CY
19133 * startup.el (normal-splash-screen): Remove gratuitous mode-line
19134 setting (Bug#8740).
19135
60ed8c72
AA
191362011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
19137
4ac619f0
AA
19138 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
19139 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
19140 (Bug#8539).
60ed8c72 19141
23db196e
CY
191422011-05-28 Chong Yidong <cyd@stupidchicken.com>
19143
19144 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
19145
5012f24c
DK
191462011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
19147
19148 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
19149 (hs-hide-block-at-point, hs-find-block-beginning)
19150 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
19151 (Bug#8279).
19152
6a639b16
GM
191532011-05-28 Glenn Morris <rgm@gnu.org>
19154
19155 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
19156
d43eaf2c
CY
191572011-05-28 Chong Yidong <cyd@stupidchicken.com>
19158
5199bde1
CY
19159 * help-fns.el (describe-function-1): If the function is a derived
19160 major mode, print the parent mode.
19161
d43eaf2c
CY
19162 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
19163 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
19164
423428a8
SM
191652011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
19166
0ff8e1ba 19167 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 19168 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
19169 * progmodes/etags.el (tags-completion-at-point-function):
19170 * info-look.el (info-lookup-completions-at-point): Mark as
19171 non-exclusive.
19172 (info-complete): Adjust accordingly.
19173
423428a8
SM
19174 * info-look.el: Convert to lexical-binding and completion-at-point.
19175 (info-lookup-completions-at-point): New function.
19176 (info-complete): Use it and completion-in-region.
19177
b74aa22b
DA
191782011-05-28 Drew Adams <drew.adams@oracle.com>
19179
19180 * isearch.el: Let M-e start with point at the first mismatched char.
19181 (isearch-fail-pos): New function.
19182 (isearch-edit-string): Use it.
19183
66e2e71d
DK
191842011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
19185
19186 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
19187
b1890b0f 191882011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
19189
19190 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
19191 traversal functions for avl-trees.
19192 (avl-tree--stack): New struct.
19193 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
19194 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
19195 (avl-tree--do-enter): Add optional `updatefun' arg.
19196 Change return value.
eb95d01d 19197 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
19198 (avl-tree--do-delete): Add `test' and `nilflag' args.
19199 Change return value.
eb95d01d
TC
19200 (avl-tree-member): Add optional `nilflag'
19201 (avl-tree-member-p): New function.
19202 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
19203 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
19204 (avl-tree-stack-empty-p): New functions.
19205
3769ddcf
TC
19206 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
19207 avl-tree--del-balance1 and make it work both ways.
19208 (avl-tree--del-balance2): Remove.
19209 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
19210 make it work both ways.
19211 (avl-tree--enter-balance2): Remove.
19212 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
19213 New macros.
19214 (avl-tree--mapc, avl-tree-map): Add direction argument.
19215
eb95d01d 192162011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
19217
19218 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
19219
a9f737ee
CY
192202011-05-27 Chong Yidong <cyd@stupidchicken.com>
19221
19222 * select.el: Support clipboard managers with built-in function
19223 x-clipboard-manager-save, via delete-frame-functions and
19224 kill-emacs-hook.
19225 (xselect-convert-to-targets): Add MULTIPLE target to list.
19226 (xselect-convert-to-save-targets): New function.
19227
c92a1e54
KH
192282011-05-27 Kenichi Handa <handa@m17n.org>
19229
19230 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
19231 let-binding rfc2047-encode-encoded-words to nil.
19232
e145f188
GM
192332011-05-27 Glenn Morris <rgm@gnu.org>
19234
5ec8a862
GM
19235 * mail/emacsbug.el: Don't require url-util.
19236
4b29d9fb
GM
19237 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
19238
e145f188
GM
19239 * files.el (set-auto-mode):
19240 Also respect mode: entries at the end of the file. (Bug#8586)
19241
7d15102b
GM
192422011-05-26 Glenn Morris <rgm@gnu.org>
19243
98f593b8
GM
19244 * files.el (hack-local-variables-prop-line, hack-local-variables):
19245 Downcase mode names, as seems to be traditional.
27b48e63 19246 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 19247
7d15102b
GM
19248 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
19249 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
19250
51d5b4ec
JD
192512011-05-25 Julien Danjou <julien@danjou.info>
19252
19253 * textmodes/rst.el (rst-define-level-faces): Do not define face
19254 symbol if it is already defined.
19255
91513f63
VB
192562011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
19257
19258 * play/5x5.el (5x5-new-game, 5x5-randomize):
19259 Reset 5x5-solver-output to nil when a new grid is cast.
19260 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
19261 these debugging traces, as defmacro breaks the compiled code.
19262
4d90d6d0
DK
192632011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
19264
19265 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
19266
e1b90ef6
LL
192672011-05-24 Leo Liu <sdl.web@gmail.com>
19268
19269 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
19270 (vc-bzr-sha1): Adapt.
19271
d8e4b68b 19272 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
19273
19274 * bindings.el: Provide sha1 feature.
19275
db0406bb 192762011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
19277
19278 * mail/sendmail.el: Require `rfc2047'.
19279 (mail-insert-from-field): Do not perform RFC2047 encoding.
19280 (mail-encode-header): New function.
19281 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
19282 buffer to the return value of select-message-coding-system.
19283 Call mail-encode-header.
b8d747b9
KH
19284
19285 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
19286
db0406bb 192872011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 19288
4d90d6d0
DK
19289 * mail/supercite.el (sc-default-cite-frame):
19290 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 19291
eb8a5e9b
GM
192922011-05-24 Glenn Morris <rgm@gnu.org>
19293
f8630703
GM
19294 * progmodes/python.el (brm-menu): Declare.
19295
8831bbed
GM
19296 * emulation/viper.el (viper-set-hooks): Declare.
19297
eb8a5e9b
GM
19298 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
19299 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
19300 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
19301 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
19302 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
19303 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
19304
a2a25d24
SM
193052011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
19306
19307 Add an :exit-function for completion-at-point.
19308
19309 * minibuffer.el (completion--done): New fun.
19310 (completion--do-completion): Use it. New arg `expect-exact'.
19311 (minibuffer-complete, minibuffer-complete-word): Don't output message,
19312 since completion--do-completion does it for us now.
19313 (minibuffer-force-complete): Use completion--done and
19314 completion--replace. Handle sole-completion case with more care.
19315 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
19316 (completion-extra-properties): New var.
19317 (completion-annotate-function): Make obsolete.
19318 (minibuffer-completion-help): Adjust accordingly.
19319 Use completion-list-insert-choice-function.
19320 (completion-at-point, completion-help-at-point):
19321 Bind completion-extra-properties.
19322 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
19323 * simple.el (completion-list-insert-choice-function): New var.
19324 (completion-setup-function): Preserve it.
19325 (choose-completion): Pay attention to it, shuffle the code a bit.
19326 (choose-completion-string): New arg `insert-function'.
19327
19328 * textmodes/bibtex.el: Convert to lexical binding.
19329 (bibtex-mode-map): Use completion-at-point.
19330 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
19331 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
19332 (bibtex-complete): Define as obsolete alias.
19333 (bibtex-complete-internal): Remove.
19334 (bibtex-format-entry): Remove unused sub-group in regexp.
19335 * shell.el (shell--command-completion-data)
19336 (shell-environment-variable-completion):
19337 * pcomplete.el (pcomplete-completions-at-point):
19338 * comint.el (comint--complete-file-name-data): Use :exit-function
19339 instead of completion-table-with-terminator so it also works for
19340 choose-completion.
19341
e44e373d
SM
193422011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
19343
4f91a816
SM
19344 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
19345
782fc819
SM
19346 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
19347 (bug#8710).
19348
e44e373d
SM
19349 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
19350
381987c3
KM
193512011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
19352
19353 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
19354 customization variable and implement: If non-nil, auto-fill will
19355 be inhibited while on topic's header line.
19356
b776bc70
VB
193572011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
19358
19359 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 19360 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
19361 always have a solution in grid size = 5 cases.
19362 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
19363 (5x5-solver-output, 5x5-log-buffer): New vars.
19364 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
19365 Make these variables buffer local to achieve 5x5 multi-session-ness.
19366 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
19367 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
19368 (5x5-solve-suggest): New funs.
19369 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
19370 randomize a grid so that we ensure that there is always a solution.
19371 (5x5-make-random-grid): Allow other movement than flipping.
19372
7de88b6e
KR
193732011-05-23 Kevin Ryde <user42@zip.com.au>
19374
19375 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 19376 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
19377 advice and passes PREDICATE.
19378
b1ef1257
SM
193792011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
19380
bbca48fe
SM
19381 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
19382 byte-compile-lambda if it's actually a lambda.
19383
b1ef1257
SM
19384 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
19385 Fix function quoting. Use backquote better.
19386
92a9cc65
YS
193872011-05-22 Yuanle Song <sylecn@gmail.com>
19388
19389 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
19390 matching (Bug#8516).
19391
f0fb8059
JA
193922011-01-22 Jari Aalto <jari.aalto@cante.net>
19393
19394 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
19395 different face (Bug#8178).
19396
d5b44c93
CY
193972011-05-22 Chong Yidong <cyd@stupidchicken.com>
19398
19399 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
19400 defface (Bug#8144).
19401
79106a44
SM
194022011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
19403
9c848d8a
SM
19404 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
19405 funcall as well (bug#8712). Warn when performing those conversions.
19406 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
19407
79106a44
SM
19408 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
19409
88dfa756
GM
194102011-05-22 Glenn Morris <rgm@gnu.org>
19411
19412 * files.el (hack-local-variables-prop-line): Small simplifications.
19413 (hack-local-variables, hack-local-variables-prop-line):
19414 If MODE-ONLY, return the mode, rather than just `t'.
19415
b7cf2c79
SM
194162011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
19417
19418 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
19419
3f1a8558
GM
194202011-05-21 Glenn Morris <rgm@gnu.org>
19421
7e4ccca3
GM
19422 * files.el (hack-local-variables-prop-line, hack-local-variables):
19423 If only interested in the mode, don't bother doing the other stuff.
19424
637d46ca
GM
19425 * image-mode.el (image-after-revert-hook):
19426 Redraw all frames on which the image is visible. (Bug#8567)
19427
973d955b
GM
19428 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
19429
3f1a8558
GM
19430 * wid-edit.el (widget-checklist-match-inline):
19431 Fix 2011-04-19 change. (Bug#8649)
19432
96479927
SM
194332011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
19434
1dcf791f
SM
19435 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
19436 Also allow singlespace after single-letter capitals followed by a dot.
19437
96479927
SM
19438 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
19439 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
19440
35fd0881
N
194412011-05-20 Nix <nix@esperi.org.uk>
19442
19443 * files.el (basic-save-buffer-2):
19444 Fix handling of break-hardlink-on-save with non-existent files.
19445
82745640
DD
194462011-05-19 Deniz Dogan <deniz@dogan.se>
19447
19448 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 19449 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 19450
4a720484
GM
194512011-05-19 Glenn Morris <rgm@gnu.org>
19452
d1f21341
GM
19453 * progmodes/f90.el (f90-type-def-re):
19454 Handle "type, bind(c)". (Bug#8691)
19455
4a720484
GM
19456 * emacs-lisp/autoload.el (batch-update-autoloads):
19457 Set autoload-excludes by parsing loadup.el rather than Makefiles.
19458
2fb0a219
MA
194592011-05-18 Michael Albinus <michael.albinus@gmx.de>
19460
19461 * net/tramp.el (tramp-process-actions): Set "first-password-request"
19462 property for the correct connection in case of multihops.
19463
e565dd37
GM
194642011-05-18 Glenn Morris <rgm@gnu.org>
19465
c2571358 19466 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
19467 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
19468
e565dd37
GM
19469 Rationalize calendar handling of day and month abbrev-arrays.
19470 * calendar/calendar.el (calendar-customized-p): New function.
19471 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
19472 (calendar-day-name-array, calendar-month-name-array): Doc fix.
19473 Add :set function.
19474 (calendar-abbrev-length, calendar-day-abbrev-array)
19475 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
19476 (calendar-day-abbrev-array, calendar-month-abbrev-array):
19477 Elements may no longer be nil.
19478 (calendar-day-name, calendar-month-name):
19479 Update for changed nature of abbrev arrays.
19480 * calendar/diary-lib.el (diary-name-pattern):
19481 Update for changed nature of abbrev arrays.
19482 (diary-mark-entries-1): Update calendar-make-alist calls.
19483 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
19484 * calendar/cal-html.el (cal-html-day-abbrev-array):
19485 Simply inherit from calendar-day-abbrev-array.
19486
1d99a745
SM
194872011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
19488
19489 * progmodes/grep.el (grep-mode): Disable default
19490 compilation-directory-matcher setting (bug#8684).
19491
7c1d9aa0
MA
194922011-05-17 Michael Albinus <michael.albinus@gmx.de>
19493
19494 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
19495 instead of "head" and "tail". There were problems with SunOS 5.9,
19496 and it performs better.
19497
3952e9d8
GM
194982011-05-17 Glenn Morris <rgm@gnu.org>
19499
2dd12e7f
GM
19500 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
19501
e4157b9c
GM
19502 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
19503 Replace obsolete function.
19504
8e249bbd
GM
19505 * shell.el (pcomplete-parse-arguments-function): Declare.
19506
3952e9d8
GM
19507 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
19508 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
19509 (appt-check): Doc fixes.
19510 (appt-disp-window-function, appt-delete-window-function):
19511 Remove needless special case in custom :type.
19512 (appt-display-count): Default to 0, not nil.
19513 (appt-check): Reset appt-display-count to 0, not nil.
19514
c71a0d48 195152011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 19516
c71a0d48
GM
19517 * progmodes/python.el (python-font-lock-keywords):
19518 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 19519
31d55be9
SM
195202011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
19521
19522 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
19523
3bfacb2f
KR
195242011-05-16 Kevin Ryde <user42@zip.com.au>
19525
19526 * info-look.el (makefile-automake-mode): New setups, looking in
19527 automake manual, then makefile-mode.
19528 (makefile-mode): Remove automake manual, have it just in
19529 makefile-automake-mode since there's various things different or
19530 not relevant to plain make.
19531 (makefile-mode): Remove "other-modes" non-existent automake-mode,
19532 believe a hypothetical automake-mode would go to makefile-mode,
19533 not the other way around.
19534
c8e83751
CY
195352011-05-15 Chong Yidong <cyd@stupidchicken.com>
19536
5e9e35cd
CY
19537 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
19538 hunk-end tags (Bug#8672).
19539
c8e83751
CY
19540 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
19541 vc-annotate-show-diff-revision-at-line (Bug#8671).
19542
50b23e5a
GM
195432011-05-14 Glenn Morris <rgm@gnu.org>
19544
7210a739
GM
19545 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
19546 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
19547 (change-log-font-lock-keywords): Also handle multiple author lines
19548 with leading tabs. (Bug#8644)
7210a739 19549
4691905a
GM
19550 * calendar/appt.el (appt-check): Rename some local variables.
19551 Some simplification/reordering.
19552
50b23e5a
GM
19553 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
19554 (feedmail-sendmail-f-doesnt-sell-me-out)
19555 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
19556 (feedmail-debug-sit-for, feedmail-queue-express-hook)
19557 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
19558 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
19559 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
19560 (feedmail-binmail-gnulinuxish-template):
19561 Rename from feedmail-binmail-linuxish-template.
19562 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
19563 Use insert-buffer-substring.
19564
215cda7c
BC
195652011-05-14 Bill Carpenter <bill@carpenter.org>
19566
19567 * mail/feedmail.el (feedmail-patch-level): Increase.
19568 (feedmail-debug): New custom group.
19569 (feedmail-confirm-outgoing-timeout)
19570 (feedmail-sendmail-f-doesnt-sell-me-out)
19571 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
19572 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
19573 (feedmail-sender-line, feedmail-from-line)
19574 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 19575 (feedmail-spray-this-address)
215cda7c
BC
19576 (feedmail-spray-address-fiddle-plex-list)
19577 (feedmail-queue-use-send-time-for-date)
19578 (feedmail-queue-use-send-time-for-message-id)
19579 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
19580 (feedmail-buffer-eating-function):
19581 Doc fixes.
19582 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
19583 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
19584 (feedmail-message-action-scroll-down): New functions.
19585 (feedmail-queue-directory, feedmail-queue-draft-directory):
19586 Use expand-file-name.
19587 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
19588 Remove C-v help entry.
19589 (feedmail-queue-buffer-file-name): New variable.
19590 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
19591 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
19592 (feedmail-message-action-send-strong, feedmail-message-action-edit)
19593 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
19594 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
19595 (feedmail-message-action-toggle-spray)
19596 (feedmail-run-the-queue-no-prompts)
19597 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
19598 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
19599 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
19600 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
19601 (feedmail-envelope-deducer, feedmail-fiddle-from)
19602 (feedmail-fiddle-sender, feedmail-default-date-generator)
19603 (feedmail-fiddle-date, feedmail-fiddle-message-id)
19604 (feedmail-fiddle-spray-address)
19605 (feedmail-fiddle-list-of-spray-fiddle-plexes)
19606 (feedmail-fiddle-list-of-fiddle-plexes)
19607 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
19608 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
19609 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
19610 Change default. Doc fix.
19611 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
19612 (feedmail-binmail-linuxish-template): New constant.
19613 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
19614 Respect feedmail-sendmail-f-doesnt-sell-me-out.
19615 (feedmail-send-it): Add debug call.
19616 Use feedmail-queue-buffer-file-name, and
19617 feedmail-send-it-immediately-wrapper.
19618 (feedmail-message-action-send): Add debug call.
19619 Use feedmail-send-it-immediately-wrapper.
19620 (feedmail-queue-express-to-queue): Add debug call.
19621 Run feedmail-queue-express-hook.
19622 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
19623 (feedmail-message-action-help-blat):
19624 Rename from feedmail-queue-send-edit-prompt-help-first.
19625 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
19626 Check line-endings. Handle errors better.
19627 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
19628 Doc fix. Add debug call.
19629 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
19630 Use feedmail-queue-send-edit-prompt-inner.
19631 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
19632 (feedmail-queue-send-edit-prompt-inner): New function, extracted
19633 from feedmail-queue-send-edit-prompt.
19634 (feedmail-queue-send-edit-prompt-help)
19635 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
19636 (feedmail-tidy-up-slug): Add debug call.
19637 Respect feedmail-queue-slug-suspect-regexp.
19638 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
19639 (feedmail-dump-message-to-queue): Add debug call.
19640 Expand queue-directory.
19641 (feedmail-dump-message-to-queue): Change message slightly.
19642 Use feedmail-say-chatter.
19643 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
19644 (feedmail-send-it-immediately-wrapper): New function.
19645 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
19646 Insert empty string rather than newline. Handle full-frame case.
19647 Use catch/throw. Use feedmail-say-chatter.
19648 (feedmail-fiddle-from): Try mail-host-address.
19649 (feedmail-default-message-id-generator): Doc fix.
19650 Bind system-time-locale. Handle missing end.
19651 (feedmail-fiddle-x-mailer): Add debug call.
19652 Handle feedmail-x-mailer-line being nil.
19653 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
19654 Add debug call. Use buffer-substring-no-properties.
19655 (feedmail-say-debug, feedmail-say-chatter): New functions.
19656 (feedmail-find-eoh): Give an explicit error.
19657
42c7e61e
UJ
196582011-05-13 Ulf Jasper <ulf.jasper@web.de>
19659
c2571358 19660 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 19661 family from helvetica to sans.
c2571358 19662 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
19663 etc/images/newsticker.
19664
c2571358 19665 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
19666 family from helvetica to sans.
19667
19668 * net/newst-plainview.el (newsticker-new-item-face)
19669 (newsticker-old-item-face, newsticker-immortal-item-face)
19670 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 19671 (newsticker-statistics-face): Change default family from
42c7e61e 19672 helvetica to sans.
c2571358 19673 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
19674 etc/images/newsticker.
19675
5d3385a0
JB
19676 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
19677 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
19678 auto-marking.
19679
8497a297
DV
196802011-05-13 Didier Verna <didier@xemacs.org>
19681
19682 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
19683 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
19684 TODO entries.
8497a297
DV
19685 (lisp-lambda-list-keyword-parameter-indentation)
19686 (lisp-lambda-list-keyword-parameter-alignment)
19687 (lisp-lambda-list-keyword-alignment): New customizable user options.
19688 (lisp-indent-defun-method): Improve docstring.
19689 (extended-loop-p): Fix comment.
19690 (lisp-indent-lambda-list-keywords-regexp): New variable.
19691 (lisp-indent-lambda-list): New function.
19692 (lisp-indent-259): Use it.
19693 (lisp-indent-defmethod): Support for more than one
19694 method qualifier and properly indent methods lambda-lists.
19695 (defgeneric): Provide a missing common-lisp-indent-function property.
19696
f278f87f
SM
196972011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
19698
19699 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
19700 bounds for the empty string (bug#8667).
19701
5233edd7
GM
197022011-05-13 Glenn Morris <rgm@gnu.org>
19703
5237a44f
GM
19704 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
19705
8340026c 19706 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 19707 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 19708
5233edd7 19709 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 19710 (appt-time-msg-list): Doc fix.
a5464014 19711 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 19712
92d10796
AS
197132011-05-12 Andreas Schwab <schwab@linux-m68k.org>
19714
19715 * progmodes/ld-script.el (ld-script-keywords)
19716 (ld-script-builtins): Update keywords list.
19717
914a0ae1
SM
197182011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
19719
c89be45f
SM
19720 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
19721
914a0ae1
SM
19722 * shell.el (shell-completion-vars): New function.
19723 (shell-mode):
19724 * simple.el (read-shell-command): Use it.
19725 (blink-matching-open): No need for " [...]" in minibuffer-message.
19726
98dc3df3
GM
197272011-05-12 Glenn Morris <rgm@gnu.org>
19728
19729 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
19730 (appt-check): Simplify.
19731
d2fc7e3d 197322011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 19733
4d61f28d 19734 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
19735 literal "/dev/null".
19736
d2fc7e3d 197372011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
19738
19739 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
19740 Fix typo.
19741
d2fc7e3d 197422011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 19743
3f254caa
SM
19744 * progmodes/which-func.el (which-function):
19745 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
19746 which might not be defined (Bug#8260).
19747
d45885f7
GM
197482011-05-12 Glenn Morris <rgm@gnu.org>
19749
19750 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
19751 Let byte-compile-initial-macro-environment always take precedence.
19752
488086f4
SM
197532011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
19754
19755 * net/rcirc.el: Add support for SSL/TLS connections.
19756 (rcirc-server-alist): New field `encryption'.
19757 (rcirc): Check `encryption' settings.
19758 (rcirc-connect): New arg `encryption'. Use open-network-stream.
19759 Merge make-local-variable into `set'.
19760 (rcirc--connection-open-p): New function.
19761 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
19762 the process is not a network process (e.g. running gnutls-cli).
19763 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
19764 Make rcirc-(en|de)code-coding-system local here.
19765 (rcirc-mode): Merge make-local-variable into `set'.
19766 (rcirc-parent-buffer): Make permanent buffer-local.
19767 (rcirc-multiline-minor-mode): Don't do it here.
19768 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
19769 there's no server buffer.
19770
7d3b9d44
GM
197712011-05-11 Glenn Morris <rgm@gnu.org>
19772
f64049c6
GM
19773 * newcomment.el (comment-kill): Prefix "unused" local.
19774
93c9df73
GM
19775 * term/w32console.el (get-screen-color): Declare.
19776
7d3b9d44
GM
19777 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
19778 Handle symbol elements of byte-compile-initial-macro-environment.
19779
9e2dd53f
LL
197802011-05-10 Leo Liu <sdl.web@gmail.com>
19781
488086f4
SM
19782 * bookmark.el (bookmark-bmenu-mode-map):
19783 Bind bookmark-bmenu-search to `/'.
8b340240 19784
9e2dd53f 19785 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
19786 (footnote-unicode-string, footnote-unicode-regexp): New variable.
19787 (Footnote-unicode): New function.
19788 (footnote-style-alist): Add unicode style to the list.
19789 (footnote-style): Doc fix.
9e2dd53f 19790
79b70037
GM
197912011-05-10 Jim Meyering <meyering@redhat.com>
19792
19793 Fix doubled-word typos.
19794 * international/quail.el (quail-insert-kbd-layout): and and -> and
19795 * kermit.el: and and -> and
19796 * net/ldap.el (ldap-search-internal): to to -> to
19797 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
19798 * progmodes/js.el (js-mode): and and -> and
19799 * textmodes/artist.el (artist-move-to-xy): at at -> at
19800 (artist-draw-region-trim-line-endings): if if -> if
19801 And Safetyc -> Safety.
19802 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
19803
b8f82dc1 198042011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 19805 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
19806
19807 * files.el (hack-one-local-variable-eval-safep):
19808 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
19809
4f99f44b
GM
198102011-05-10 Glenn Morris <rgm@gnu.org>
19811
19812 * calendar/diary-lib.el (diary-list-entries-hook)
19813 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
19814 (diary-nongregorian-marking-hook, diary-list-entries)
19815 (diary-include-other-diary-files, diary-mark-entries)
19816 (diary-mark-included-diary-files): Doc fixes.
19817
84f29e6b
JB
198182011-05-09 Juanma Barranquero <lekktu@gmail.com>
19819
19820 * misc.el: Require tabulated-list.el during compilation.
19821
9bedd73a
CY
198222011-05-09 Chong Yidong <cyd@stupidchicken.com>
19823
488086f4
SM
19824 * progmodes/compile.el (compilation-start):
19825 Run compilation-filter-hook for the async case too.
9bedd73a
CY
19826 (compilation-filter-hook): Doc fix.
19827
797c735c
DD
198282011-05-09 Deniz Dogan <deniz@dogan.se>
19829
19830 * wdired.el: Remove outdated installation comment. Fix usage
19831 comment.
19832
5f4b1dfe
JB
198332011-05-09 Juanma Barranquero <lekktu@gmail.com>
19834
19835 * misc.el: Implement new command `list-dynamic-libraries'.
19836 (list-dynamic-libraries--loaded-only-p): New variable.
19837 (list-dynamic-libraries--refresh): New function.
19838 (list-dynamic-libraries): New command.
19839
4c44026c
CY
198402011-05-09 Chong Yidong <cyd@stupidchicken.com>
19841
488086f4
SM
19842 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19843 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
19844 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
19845 higher priority to avoid clobbering by gnu.
19846
027f966d
CY
198472011-05-08 Chong Yidong <cyd@stupidchicken.com>
19848
19849 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
19850 if the face has existing theme settings (Bug#8454).
19851
085f5d7d
CY
198522011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
19853
488086f4
SM
19854 * progmodes/perl-mode.el (perl-imenu-generic-expression):
19855 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 19856
2a86a00c
RS
19857 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
19858 special file names `.' and `..' (Bug#8259).
19859
d9c54a06
CY
198602011-05-08 Chong Yidong <cyd@stupidchicken.com>
19861
488086f4
SM
19862 * progmodes/grep.el (grep-mode-font-lock-keywords):
19863 Remove buffer-changing entries.
d9c54a06
CY
19864 (grep-filter): New function.
19865 (grep-mode): Add it to compilation-filter-hook.
19866
19867 * progmodes/compile.el (compilation-filter-hook)
19868 (compilation-filter-start): New defvars.
19869 (compilation-filter): Call compilation-filter-hook prior to
19870 updating the process mark.
19871
c4662635
SM
198722011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
19873
19874 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
19875
b0512a1d
EZ
198762011-05-07 Eli Zaretskii <eliz@gnu.org>
19877
605c9376
EZ
19878 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
19879 mailclient-send-it even if window-system is nil. (Bug#8595)
19880
c4662635
SM
19881 * term/w32console.el (terminal-init-w32console):
19882 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
19883 background-mode. (Bug#8597)
19884
d1dc2cc2
SM
198852011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
19886
19887 Make bytecomp.el understand that defmethod defines funs (bug#8631).
19888 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
19889 New functions.
19890 (defgeneric, eieio--defmethod): Use them.
19891 (eieio-defgeneric): Remove.
19892 (defmethod): Call defgeneric in a way visible to the byte-compiler.
19893
915d1300
GM
198942011-05-07 Glenn Morris <rgm@gnu.org>
19895
a3961c3e
GM
19896 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
19897 Use let rather than let*.
19898 (timeclock-find-discrep): Remove unused local.
19899
314347b9
GM
19900 * calendar/diary-lib.el (diary-comment-start): Doc fix.
19901
915d1300
GM
19902 * calendar/appt.el (appt-time-msg-list): Doc fix.
19903
275b59b0
NF
199042011-05-06 Noah Friedman <friedman@splode.com>
19905
19906 * apropos.el (apropos-print-doc): Only use
19907 emacs-lisp-docstring-fill-column when it is bound to an integer,
19908 per that variable's documentation.
19909
6c19f744
SM
199102011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
19911
19912 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 19913 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 19914
60f884b2
GM
199152011-05-06 Glenn Morris <rgm@gnu.org>
19916
5006e634
GM
19917 * calendar/appt.el (appt-message-warning-time): Doc fix.
19918 (appt-warning-time-regexp): New option.
19919 (appt-make-list): Respect appt-message-warning-time.
19920
548d0a63
GM
19921 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
19922 New options.
19923 (diary-add-to-list): Strip comments from the displayed string.
19924 (diary-mode): Set comment-start and comment-end.
19925
60f884b2
GM
19926 * vc/diff-mode.el (smerge-refine-subst): Declare.
19927 (diff-refine-hunk): Don't require smerge-mode when compiling.
19928
989681bb
JB
199292011-05-06 Juanma Barranquero <lekktu@gmail.com>
19930
19931 * simple.el (list-processes): Return nil as the docstring says.
19932
a6bc05e1
MA
199332011-05-05 Michael Albinus <michael.albinus@gmx.de>
19934
19935 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
19936 to "".
19937 (ange-ftp-write-region, ange-ftp-insert-file-contents)
19938 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
19939 determining of binary transfer. (Bug#7383)
19940
23c22e9a
MA
199412011-05-05 Michael Albinus <michael.albinus@gmx.de>
19942
c4662635
SM
19943 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
19944 Fix port computation bug. (Bug#8618)
23c22e9a 19945
0bff894f
GM
199462011-05-05 Glenn Morris <rgm@gnu.org>
19947
b8296902
GM
19948 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
19949
1f522ce8
GM
19950 * simple.el (shell-dynamic-complete-functions)
19951 (comint-dynamic-complete-functions): Declare.
19952
cf5bee67
GM
19953 * net/network-stream.el (gnutls-negotiate):
19954 * simple.el (tabulated-list-print): Fix declarations.
19955
19956 * progmodes/gud.el (syntax-symbol, syntax-point):
19957 Remove unnecessary and incorrect declarations.
19958
0bff894f 19959 * emacs-lisp/check-declare.el (check-declare-scan):
1f9f395d 19960 Handle byte-compile-initial-macro-environment in bytecomp.el.
0bff894f 19961
9869b3ae
SM
199622011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
19963
19964 Fix earlier half-done eieio-defmethod change (bug#8338).
19965 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
19966 Streamline and change calling convention.
19967 (defmethod): Adjust accordingly and simplify.
19968 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
19969 new eieio--defmethod.
19970 (slot-boundp): Minor CSE simplification.
19971
9c1d5ac5
MZ
199722011-05-05 Milan Zamazal <pdm@zamazal.org>
19973
19974 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
19975 (glasses-make-readable): Use glasses-separate-capital-groups.
19976
455c834e
JB
199772011-05-05 Juanma Barranquero <lekktu@gmail.com>
19978
19979 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
19980 (warning-series): Doc fix.
19981 (display-warning): Don't try to create the buffer if we just found it.
19982
9ed7c8cb
CY
199832011-05-04 Chong Yidong <cyd@stupidchicken.com>
19984
19985 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
19986 (autoload-find-generated-file): New function.
19987 (generate-file-autoloads): Bind generated-autoload-file to
19988 buffer-file-name.
9869b3ae
SM
19989 (update-file-autoloads, update-directory-autoloads):
19990 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
19991 output file (Bug#7989).
19992 (batch-update-autoloads): Doc fix.
19993
0898ca10
JB
199942011-05-04 Juanma Barranquero <lekktu@gmail.com>
19995
19996 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
19997
31dfb76c
GM
199982011-05-04 Glenn Morris <rgm@gnu.org>
19999
f330b642
GM
20000 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
20001 function, so it follows changes in calendar-date-style.
20002 (diary-fancy-date-matcher): New function.
20003 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
20004 (diary-fancy-font-lock-fontify-region-function):
20005 Use diary-fancy-date-pattern as a function.
20006
31dfb76c
GM
20007 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
20008 non-numbers for `year' etc pseudo-variables. (Bug#8583)
20009
48e79d6a
TZ
200102011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
20011
20012 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
20013 instead of positional arguments. Allow :keylist and :crlfiles
20014 arguments.
20015 (open-gnutls-stream): Call it.
20016
20017 * net/network-stream.el (network-stream-open-starttls): Adjust to
20018 call `gnutls-negotiate' with :process and :hostname arguments.
20019
dd5a5ee0
SM
200202011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
20021
ef80fc09
SM
20022 * minibuffer.el (completion--message): New function.
20023 (completion--do-completion, minibuffer-complete)
20024 (minibuffer-force-complete, minibuffer-complete-word): Use it.
20025 (completion--do-completion): Don't ignore completion-auto-help when in
20026 icomplete-mode.
20027
dd5a5ee0
SM
20028 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
20029 internal encoding (e.g. tibetan zero is not whitespace).
20030 (global-whitespace-mode): Prefer save-current-buffer.
20031 (whitespace-trailing-regexp): Remove useless save-match-data.
20032 (whitespace-empty-at-bob-regexp): Minor simplification.
20033
b7d22a83
CY
200342011-05-03 Chong Yidong <cyd@stupidchicken.com>
20035
20036 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
20037
5192af46
AM
200382011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
20039
20040 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 20041 Use `concat' to create string for insertion.
5192af46 20042
5767d190
SM
200432011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
20044
20045 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
20046 Avoid open-line which runs post-self-insert-hook.
20047 (bibtex-fill-entry): Remove unused `end' var.
20048
bf242939
AM
200492011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
20050
5767d190
SM
20051 * textmodes/ispell.el (ispell-add-per-file-word-list):
20052 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 20053
25666126
LL
200542011-05-03 Leo Liu <sdl.web@gmail.com>
20055
20056 * isearch.el (isearch-yank-pop): New command.
5767d190 20057 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
20058 (isearch-forward): Mention it.
20059
52d3c2d0
SM
200602011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
20061
1bcace58
SM
20062 * simple.el (minibuffer-complete-shell-command): Remove.
20063 (minibuffer-local-shell-command-map): Use completion-at-point.
20064 (read-shell-command): Setup completion vars here instead.
20065 (read-expression-map): Bind TAB to symbol completion.
20066
52d3c2d0
SM
20067 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
20068 error directly rather via storing it into `results'.
20069
35813471
LL
200702011-05-02 Leo Liu <sdl.web@gmail.com>
20071
20072 * vc/diff.el: Fix description.
20073
e793a940
LMI
200742011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
20075
20076 * server.el (server-eval-at): New function.
20077
8de66e05
LMI
200782011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
20079
20080 * net/network-stream.el (open-network-stream): Take a :nowait
20081 parameter and pass it on to `make-network-process'.
20082 (network-stream-open-plain): Ditto.
20083
dcb79f20
AS
200842011-04-30 Andreas Schwab <schwab@linux-m68k.org>
20085
20086 * faces.el (face-spec-set-match-display): Don't match toolkit
20087 options on terminal frames.
20088
14a7fbd8
SM
200892011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
20090
7eabc1be
SM
20091 * progmodes/pascal.el: Use lexical binding.
20092 (pascal-mode-map): Remove author preferences.
20093
14a7fbd8
SM
20094 * pcomplete.el (pcomplete-std-complete): Don't abuse
20095 completion-at-point.
20096
50f84510
JB
200972011-04-28 Juanma Barranquero <lekktu@gmail.com>
20098
6e087a44
JB
20099 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
20100 removing code that has been dead since 1991 or so.
20101
50f84510
JB
20102 * startup.el (command-line): When warning about "_emacs", use a
20103 delayed warning to allow the user to filter it out.
20104
0ba690bd
DD
201052011-04-28 Deniz Dogan <deniz@dogan.se>
20106
20107 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
20108 user has not joined.
20109
08abfaad
SM
201102011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
20111
20112 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
20113 aren't any completions at point.
20114
638f053a
JB
201152011-04-28 Juanma Barranquero <lekktu@gmail.com>
20116
20117 * subr.el (display-delayed-warnings): New function.
20118 (delayed-warnings-hook): New variable.
20119
8fff8daa
SM
201202011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
20121
08abfaad
SM
20122 * minibuffer.el (completion-at-point, completion-help-at-point):
20123 Don't presume that a given completion-at-point-function will always
20124 use the same calling convention.
20125
8fff8daa
SM
20126 * pcomplete.el (pcomplete-completions-at-point):
20127 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
20128 pcomplete-seen is non-nil.
20129 (pcomplete-comint-setup): Also recognize the new comint/shell
20130 completion functions.
20131 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
20132 pcomplete-seen is non-nil.
20133
841a1577 201342011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 20135
841a1577 20136 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 20137 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 20138 the first character in the entry. This allows for code to add its
211ec907
UJ
20139 own uid to the entry.
20140 (icalendar--convert-float-to-ical): Add export of
20141 `diary-float'-entries save for those with the optional DAY
20142 argument.
20143
2a782793
DC
201442011-04-27 Daniel Colascione <dan.colascione@gmail.com>
20145
20146 * subr.el (shell-quote-argument): Use alternate escaping strategy
20147 when we spot a variable reference in a string.
20148
0438ce91
DC
201492011-04-26 Daniel Colascione <dan.colascione@gmail.com>
20150
20151 * cus-start.el (all): Define customization for debug-on-event.
20152
841a1577 201532011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
20154
20155 * subr.el (shell-quote-argument): Escape correctly under Windows.
20156
d090ed6c
SM
201572011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
20158
20159 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
20160
bfd31217
MA
201612011-04-25 Michael Albinus <michael.albinus@gmx.de>
20162
d090ed6c
SM
20163 * net/tramp.el (tramp-process-actions): Add POS argument.
20164 Delete region between POS and (pos).
bfd31217 20165
d090ed6c
SM
20166 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
20167 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
20168 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
20169
20170 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
20171 position in `tramp-process-actions' call.
20172
20173 * net/trampver.el: Update release number.
20174
e92f3bd3
SM
201752011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
20176
850256b5
SM
20177 * custom.el (defcustom): Obey lexical-binding.
20178
e92f3bd3
SM
20179 Fix octave-inf completion problems reported by Alexander Klimov.
20180 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
20181 Inherit from octave-mode-syntax-table.
20182 (inferior-octave-mode): Set info-lookup-mode.
20183 (inferior-octave-completion-at-point): New function.
20184 (inferior-octave-complete): Use it and completion-in-region.
20185 (inferior-octave-dynamic-complete-functions): Use it as well, and use
20186 comint-filename-completion.
20187 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
20188 symbol elements which shouldn't be word elements.
20189 (octave-font-lock-keywords, octave-beginning-of-defun)
20190 (octave-function-header-regexp): Adjust regexps accordingly.
20191 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
20192
cd22b309
JB
201932011-04-25 Juanma Barranquero <lekktu@gmail.com>
20194
20195 * net/gnutls.el (gnutls-errorp): Declare before first use.
20196
8b492194
TZ
201972011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
20198
20199 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
20200 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 20201 default trustfile exists before going to use it. Add missing
5a5fa834 20202 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
20203 Reported by Claudio Bley <claudio.bley@gmail.com>.
20204 (open-gnutls-stream): Add usage example.
20205
20206 * net/network-stream.el (network-stream-open-starttls): Give host
20207 parameter to `gnutls-negotiate'.
20208 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 20209 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 20210
841a1577 202112011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 20212
cd22b309
JB
20213 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
20214 Use correct match group (bug#8438).
05842630 20215
3ba7869c
CY
202162011-04-24 Chong Yidong <cyd@stupidchicken.com>
20217
512e3ae1
CY
20218 * emacs-lisp/package.el (package-built-in-p): Fix typo.
20219 (package-menu--generate): New arg specifying packages to show.
20220 (package-menu-refresh, package-menu-execute, list-packages):
20221 Callers changed.
20222 (package-show-package-list): New function, replacing deleted
20223 package--list-packages (renamed because it is non-internal).
20224
20225 * finder.el (finder-list-matches): Use package-show-package-list
20226 instead of deleted package--list-packages.
20227
e92f3bd3
SM
20228 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
20229 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
20230 (vc-annotate-mode-map): Bind it to RET.
20231
7031be6d
UR
202322011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
20233
20234 * progmodes/etags.el (next-file): Don't use set-buffer to change
20235 buffers (Bug#8478).
20236
4ef177aa
CY
202372011-04-24 Chong Yidong <cyd@stupidchicken.com>
20238
c8d173eb
CY
20239 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
20240
4ef177aa
CY
20241 * apropos.el (apropos-label-face): Avoid variable-pitch face.
20242 (apropos-accumulator): Doc fix.
20243 (apropos-function, apropos-macro, apropos-command)
20244 (apropos-variable, apropos-face, apropos-group, apropos-widget)
20245 (apropos-plist): Add face property.
20246 (apropos-symbols-internal): Fix indentation.
20247 (apropos-print): Simplify help, and recognize apropos-multi-type.
20248 (apropos-print-doc): Use button-type-get to extract the button's
20249 face property. Fill docstring (Bug#8352).
20250
4ffd0d6b 202512011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
20252
20253 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
20254
c6c32125 20255 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 20256 (mpuz-mode-map): Use mapc.
c6c32125
JB
20257 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
20258 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
20259 Fix typos in docstrings.
20260
58d468b4
JB
20261 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
20262 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
20263
6470c3c6
JB
20264 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
20265
4ffd0d6b 202662011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
20267
20268 * minibuffer.el (completion--do-completion): Avoid the "Next char
20269 not unique" prompt if icomplete-mode is enabled (Bug#5849).
20270
3ad8bad0
CY
20271 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
20272 mouse-2 into unread-command-events, it is interpreted correctly.
20273
71d73c9c 20274 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 20275 (image-toggle-display): Doc fix.
71d73c9c 20276
841a1577 202772011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 20278
4ffd0d6b
GM
20279 * textmodes/page.el (what-page): Use line-number-at-pos to
20280 calculate line number (Bug#6825).
6e1dbaa9 20281
c2fb1b60
JB
202822011-04-22 Juanma Barranquero <lekktu@gmail.com>
20283
20284 * eshell/esh-mode.el (find-tag-interactive): Declare function.
20285 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
20286 Pass argument NO-DEFAULT to `find-tag-interactive'.
20287
e02f48d7
JB
202882011-04-22 Juanma Barranquero <lekktu@gmail.com>
20289
20290 Lexical-binding cleanup.
20291
20292 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
20293 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
20294 * progmodes/ada-prj.el (ada-prj-initialize-values)
20295 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
20296 (ada-prj-show-value):
20297 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
20298 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
20299 (antlr-invalidate-context-cache, antlr-options-menu-filter)
20300 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
20301 * progmodes/bug-reference.el (bug-reference-push-button):
20302 * progmodes/fortran.el (fortran-line-length):
20303 * progmodes/glasses.el (glasses-change):
20304 * progmodes/octave-mod.el (octave-fill-paragraph):
20305 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
20306 (python-pdbtrack-grub-for-buffer, python-sentinel):
20307 * progmodes/sql.el (sql-save-connection):
20308 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
20309 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
20310 Mark unused parameters.
20311
20312 * progmodes/compile.el (compilation--flush-directory-cache)
20313 (compilation--flush-parse, compile-internal): Mark unused parameters.
20314 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
20315 (compilation-next-error-function): Remove unused variable `timestamp'.
20316
20317 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
20318 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
20319
20320 * progmodes/dcl-mode.el (dcl-end-of-command):
20321 Remove unused variable `start'.
20322 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
20323 (dcl-option-value-basic, dcl-option-value-offset)
20324 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
20325 Mark unused parameters.
20326 (dcl-save-local-variable): Remove unused variable `val'.
20327 (mode): Declare.
20328
20329 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
20330 Mark unused parameters.
20331 (delphi-ignore-changes): Move before first use.
20332 (delphi-charset-token-at): Remove unused variable `start'.
20333 (delphi-else-start): Remove unused variable `if-count'.
20334 (delphi-comment-block-start, delphi-comment-block-end):
20335 Remove unused variable `kind'.
20336 (delphi-indent-line): Remove unused variable `new-point'.
20337
20338 * progmodes/ebrowse.el (ebrowse-files-list)
20339 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
20340 Mark unused parameters. Don't quote `lambda'.
20341 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
20342 Don't quote `lambda'.
20343 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
20344 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
20345 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
20346 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
20347 Use `ignore-errors'.
20348 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
20349 (ebrowse-view/find-file-and-search-pattern)
20350 (ebrowse-view/find-member-declaration/definition):
20351 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
20352 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
20353 Rename parameter PREFIX-ARG to PREFIX.
20354 (ebrowse-tags-read-name): Remove unused variables `start' and
20355 `member-info'.
20356 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
20357 to `tags-file'.
20358
20359 * progmodes/etags.el (local-find-tag-hook): Declare.
20360 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
20361 Mark unused parameters.
20362
20363 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
20364 (executable-interpret): Mark unused parameter.
20365
20366 * progmodes/flymake.el (flymake-process-sentinel)
20367 (flymake-after-change-function)
20368 (flymake-create-temp-with-folder-structure)
20369 (flymake-get-include-dirs-dot): Mark unused parameters.
20370 (flymake-safe-delete-directory): Remove unused variable `err'.
20371
20372 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
20373 (speedbar-timer-fn, speedbar-line-text)
20374 (speedbar-change-expand-button-char, speedbar-delete-subblock)
20375 (speedbar-center-buffer-smartly): Declare functions.
20376 (gdb-find-watch-expression): Remove unused variable `array'.
20377 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
20378 (gdb-starting): Mark unused parameters.
20379 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
20380 (gdb-table-string): Remove unused variable `res'.
20381 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
20382 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
20383 (gdb-display-buffer): Remove unused variable `cur-size'.
20384
20385 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
20386 allow lexical-binding compilation.
20387 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
20388 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
20389 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
20390 Mark unused parameters.
20391 (gud-gdb-marker-filter): Remove unused variable `match'.
20392 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
20393 lambda expressions and funcall them, instead of using `fset'.
20394
20395 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
20396 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
20397
20398 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
20399 variable `header-beg'; use `let'.
20400
20401 * progmodes/icon.el (indent-icon-exp): Remove unused variables
20402 `restart', `last-sexp' and `at-do'.
20403
20404 * progmodes/js.el (js--debug): Mark unused parameter.
20405 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
20406 (js--splice-into-items): Remove unused variable `item'.
20407 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
20408
20409 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
20410 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
20411 (makefile-complete): Remove unused variable `try'.
20412 (makefile-fill-paragraph, makefile-match-function-end):
20413 Mark unused parameters.
20414
20415 * progmodes/octave-inf.el (inferior-octave-complete):
20416 Remove unused variable `proc'.
20417 (inferior-octave-output-digest): Mark unused parameter.
20418
20419 * progmodes/perl-mode.el (perl-calculate-indent):
20420 Remove unused variable `err'.
20421
20422 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
20423 (prolog-indent-line): Mark unused parameters.
20424 (prolog-indent-line): Remove unused variable `beg'.
20425
20426 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
20427 (reporter-dont-compact-list): Declare.
20428
20429 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
20430 Remove unused variable `char'.
20431 (sh-debug): Mark unused parameter.
20432 (sh-get-indent-info): Remove unused variable `start'.
20433 (sh-calculate-indent): Remove unused variable `var'.
20434
20435 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
20436 (simula-electric-keyword): Remove unused variable `null'.
20437 (simula-search-backward, simula-search-forward): Remove unused
20438 variables `begin' and `end'.
20439
20440 * progmodes/vera-mode.el (vera-guess-basic-syntax):
20441 Remove unused variable `pos'.
20442 (vera-electric-tab, vera-comment-uncomment-region):
20443 Mark unused parameters.
20444 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
20445
7ede3b65
CY
204462011-04-22 Chong Yidong <cyd@stupidchicken.com>
20447
20448 * emacs-lisp/package.el (package--builtins, package-alist)
20449 (package-load-descriptor, package-built-in-p, package-activate)
20450 (define-package, package-installed-p)
20451 (package-compute-transaction, package-buffer-info)
20452 (package--push): Doc fix. Distinguish more clearly between
20453 version strings and version lists.
20454
121656e9
JB
204552011-04-21 Juanma Barranquero <lekktu@gmail.com>
20456
20457 Lexical-binding cleanup.
20458
20459 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
20460 (5x5-make-mutate-best):
20461 * play/fortune.el (fortune-in-buffer):
20462 * play/gomoku.el (gomoku-init-display):
20463 * play/solitaire.el (solitaire, solitaire-do-check):
20464 * play/tetris.el (tetris-default-update-speed-function):
20465 Mark unused parameters.
20466
20467 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
20468 (bubbles--shift): Remove unused variable `char-org'.
20469 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
20470 (bubbles--show-images): Remove unused variable `char'.
20471
20472 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
20473 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
20474 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
20475 (decipher-analyze-buffer): Use ?\s.
20476 (decipher-make-checkpoint): Remove unused variable `mapping'.
20477
20478 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
20479
20480 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
20481 Remove unused variable `result'; use `let'.
20482
20483 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
20484 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
20485 (gametree-children-shown-p, gametree-compute-reduced-score):
20486 Use `ignore-errors'.
20487
20488 * play/handwrite.el (ps-lpr-switches): Declare.
20489 (handwrite): Remove unused variables `pmin' and `lastp'.
20490
20491 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
20492
20493 * play/landmark.el (landmark-init-display)
20494 (landmark-update-naught-weights): Mark unused parameters.
20495 (landmark-y): Remove unused variable `noise'. Simplify.
20496 (landmark-human-plays): Remove unused variable `score'.
20497
20498 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
20499 (mpuz-try-proposal): Remove unused variable `game'.
20500
20501 * play/zone.el (life-patterns): Declare.
20502
80f499c7
JB
205032011-04-20 Juanma Barranquero <lekktu@gmail.com>
20504
20505 * vc/vc.el (ediff-vc-internal): Declare function.
20506
024ff170
SM
205072011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
20508
c0a193ea
SM
20509 * shell.el: Use lexical-binding and std completion UI.
20510 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
20511 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
20512 comint-preoutput-filter-functions rather than on
20513 comint-output-filter-functions.
20514 (shell-command-completion, shell--command-completion-data)
20515 (shell-filename-completion, shell-environment-variable-completion)
20516 (shell-c-a-p-replace-by-expanded-directory): New functions.
20517 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
20518 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
20519 (shell-dynamic-complete-environment-variable): Use them.
20520 (shell-dynamic-complete-as-environment-variable)
20521 (shell-dynamic-complete-as-command): Remove.
20522 (shell-match-partial-variable): Match past point.
20523 * comint.el: Clean up use of completion-at-point-functions.
20524 (comint-completion-at-point): New function.
20525 (comint-mode): Use it completion-at-point-functions.
20526 (comint-dynamic-complete): Make it obsolete.
20527 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
20528 (comint-c-a-p-replace-by-expanded-history): New function.
20529 (comint-dynamic-complete-functions)
20530 (comint-replace-by-expanded-history): Use it.
20531 * minibuffer.el (completion-table-with-terminator): Allow dynamic
20532 termination strings. Try harder to avoid second try-completion.
20533 (completion-in-region-mode-map): Disable bindings that don't work yet.
20534
2dbaa080
SM
20535 * comint.el: Use lexical-binding. Require CL.
20536 (comint-dynamic-complete-functions): Use comint-filename-completion.
20537 (comint-completion-addsuffix): Tweak custom type.
20538 (comint-filename-completion, comint--common-suffix)
20539 (comint--common-quoted-suffix, comint--table-subvert)
20540 (comint--complete-file-name-data): New functions.
20541 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
20542 (comint-dynamic-list-filename-completions): Use them.
20543 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 20544
2dbaa080
SM
20545 * minibuffer.el (completion-in-region-mode):
20546 Keep completion-in-region-mode--predicate global.
20547 (completion-in-region--postch):
20548 Assume completion-in-region-mode--predicate is not null.
20549
c79a6f38
SM
20550 * progmodes/flymake.el (flymake-start-syntax-check-process):
20551 Obey `dir'. Simplify.
20552
024ff170
SM
20553 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
20554 we're in VC after all.
20555
1c6c854e
CS
205562011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
20557
20558 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 20559 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
20560 (vc-version-diff): Use vc-diff-build-argument-list-internal.
20561
bed7f140
SM
205622011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
20563
332e62ab
SM
20564 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
20565 add sanity check.
20566
bed7f140
SM
20567 * obsolete/erc-hecomplete.el: Make obsolete.
20568 * obsolete/: Standardize obsolescence info in the header.
20569
f195c582
GM
205702011-04-20 Glenn Morris <rgm@gnu.org>
20571
20572 * calendar/solar.el (solar-horizontal-coordinates):
20573 Use the longitude argument rather than `calendar-longitude'.
20574 (solar-date-next-longitude): Remove unused locals.
20575
cb79b8c0
VJL
205762011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
20577
20578 * whitespace.el: New version 13.2.1.
20579
205802011-04-20 felix <EmacsWiki> (tiny change)
20581
d8e4b68b 20582 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
20583 switching between major modes on a file.
20584
602ea69d
SM
205852011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
20586
20587 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
20588 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
20589 multi-line comments as well.
20590
06b60517
JB
205912011-04-19 Juanma Barranquero <lekktu@gmail.com>
20592
20593 Lexical-binding cleanup.
20594
20595 * arc-mode.el (archive-mode-revert):
20596 * cmuscheme.el (scheme-interactively-start-process):
20597 * custom.el (custom-initialize-delay):
20598 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
20599 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
20600 * emacs-lock.el (emacs-lock-clear-sentinel):
20601 * ezimage.el (defezimage):
20602 * follow.el (follow-avoid-tail-recenter):
20603 * fringe.el (set-fringe-mode-1):
20604 * generic-x.el (bat-generic-mode-compile):
20605 * help-mode.el (help-info-variable, help-do-xref)
20606 (help-mode-revert-buffer):
20607 * help.el (view-emacs-todo):
20608 * iswitchb.el (iswitchb-completion-help):
20609 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
20610 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
20611 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
20612 * locate.el (locate-update):
20613 * longlines.el (longlines-encode-region)
20614 (longlines-after-change-function):
20615 * outline.el (outline-isearch-open-invisible):
20616 * ps-def.el (declare-function, charset-dimension, char-width)
20617 (encode-char):
20618 * ps-mule.el (ps-mule-plot-string):
20619 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
20620 (recentf-edit-list-select, recentf-edit-list-validate)
20621 (recentf-open-files-action):
20622 * rect.el (delete-whitespace-rectangle-line)
20623 (rectangle-number-line-callback):
20624 * register.el (window-configuration-to-register)
20625 (frame-configuration-to-register):
20626 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
20627 * select.el (xselect-convert-to-string, xselect-convert-to-length)
20628 (xselect-convert-to-targets, xselect-convert-to-delete)
20629 (xselect-convert-to-filename, xselect-convert-to-charpos)
20630 (xselect-convert-to-lineno, xselect-convert-to-colno)
20631 (xselect-convert-to-os, xselect-convert-to-host)
20632 (xselect-convert-to-user, xselect-convert-to-class)
20633 (xselect-convert-to-name, xselect-convert-to-integer)
20634 (xselect-convert-to-atom, xselect-convert-to-identity):
20635 * subr.el (declare, ignore, process-kill-without-query)
20636 (text-clone-maintain):
20637 * terminal.el (te-get-char, te-tic-sentinel):
20638 * tool-bar.el (tool-bar-make-keymap):
20639 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
20640 * type-break.el (type-break-mode, type-break-noninteractive-query):
20641 * view.el (View-back-to-mark):
20642 * wid-browse.el (widget-browse-action, widget-browse-widget)
20643 (widget-browse-widgets, widget-browse-sexp):
20644 * widget.el (define-widget-keywords):
20645 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
20646 Mark unused parameters.
20647
20648 * align.el (align-adjust-col-for-rule): Mark unused parameter.
20649 (align-areas): Remove unused variable `look'.
20650 (align-region): Remove unused variables `real-end' and `pos-list'.
20651
20652 * apropos.el (apropos-score-doc): Remove unused variable `i'.
20653
20654 * bindings.el (mode-line-modified, mode-line-remote):
20655 Mark unused parameters.
20656 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
20657
20658 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
20659 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
20660
20661 * comint.el (comint-history-isearch-pop-state)
20662 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
20663 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
20664 (comint-substitute-in-file-name): Doc fix.
20665
20666 * completion.el (cmpl-statistics-block): Mark unused parameter.
20667 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
20668 (save-completions-to-file, load-completions-from-file):
20669 Remove unused local variable `e'.
20670
20671 * composite.el (compose-chars): Remove unused variable `len'.
20672 (lgstring-insert-glyph): Remove unused variable `g'.
20673 (compose-glyph-string): Remove unused variables `ascent',
20674 `descent', `lbearing' and `rbearing'.
20675 (compose-glyph-string-relative): Remove unused variables
20676 `lbearing', `rbearing' and `wadjust'.
20677 (compose-gstring-for-graphic): Remove unused variables `header',
20678 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
20679 (compose-gstring-for-terminal): Remove unused variables `header'
20680 and `nchars'. Use `let', not `let*'.
20681
20682 * cus-edit.el (Custom-set, Custom-save, custom-reset)
20683 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
20684 (Custom-buffer-done, custom-buffer-create-internal)
20685 (custom-browse-visibility-action, custom-browse-group-tag-action)
20686 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
20687 (widget-magic-mouse-down-action, custom-toggle-parent)
20688 (custom-add-parent-links, custom-toggle-hide-variable)
20689 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
20690 (custom-toggle-hide-face, face, hook, custom-group-link-action)
20691 (custom-face-menu-create, custom-variable-menu-create, get)
20692 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
20693 (custom-reset-standard-save-and-update): Remove unused variable `value'.
20694 (customize-apropos): Remove unused variable `tests'.
20695 (custom-group-value-create): Remove unused variable `hidden-p'.
20696 (sort-fold-case): Declare.
20697
20698 * cus-theme.el (custom-reset-standard-faces-list)
20699 (custom-reset-standard-variables-list): Declare.
20700 (customize-create-theme, custom-theme-revert, custom-theme-write)
20701 (custom-theme-choose-mode, customize-themes, custom-theme-save):
20702 Mark unused parameters.
20703
20704 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
20705
20706 * delim-col.el (delimit-columns-max): Move defvar before first use.
20707
20708 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 20709 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
20710
20711 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
20712 (auto-insert): Declare.
20713 (desktop-restore-file-buffer): Rename desktop-* parameters;
20714 mark unused ones.
20715 (desktop-create-buffer): Rename desktop-* parameters and bind them.
20716 (desktop-buffer): Rename desktop-* parameters.
20717
20718 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
20719 (dframe-reposition-frame-xemacs, dframe-help-echo)
20720 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
20721 Mark unused parameters.
20722
20723 * dired-aux.el (backup-extract-version-start, overwrite-query)
20724 (overwrite-backup-query, rename-regexp-query)
20725 (rename-non-directory-query): Declare.
20726 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
20727 (dired-add-entry): Remove unused variable `orig-file-name'.
20728 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
20729 Use parameter PRESERVE-TIME instead of accessing dynamic variable
20730 `dired-copy-preserve-time' directly.
20731 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
20732 (dired-insert-subdir-newpos): Rename unused variable `pos'.
20733
20734 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
20735 (dired-virtual-revert, dired-make-relative-symlink):
20736 Mark unused parameters.
20737 (manual-program): Declare.
20738 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
20739 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
20740 wrapped in `with-no-warnings' to avoid replacing one warning by another.
20741
20742 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
20743
20744 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
20745
20746 * echistory.el (electric-history-in-progress, Helper-return-blurb):
20747 Declare.
20748
20749 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
20750
20751 * electric.el (Electric-command-loop): Rename parameter
20752 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
20753
20754 * expand.el (expand-in-literal): Remove unused variable `here'.
20755
20756 * facemenu.el (facemenu-add-new-color):
20757 Remove unused variable `docstring'.
20758
20759 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
20760 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
20761 (face-attr-construct): Mark unused parameter. Doc fix.
20762 (read-color): Remove unused variable `hex-string'.
20763
20764 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
20765 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
20766 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
20767 (display-buffer-other-frame): Remove unused variable `old-window'.
20768 (kill-buffer-hook): Declare.
20769 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
20770 Mark unused parameters.
20771 (after-find-file): Pass 1 to `auto-save-mode', not t.
20772
20773 * files-x.el (auto-insert): Declare.
20774 (modify-file-local-variable-prop-line): Remove unused variable `val'.
20775
20776 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 20777 variable `buf'. Mark unused parameter.
06b60517
JB
20778 (find-lisp-insert-directory): Mark unused parameter.
20779
20780 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
20781 (format-encode-region): Remove unused variables `cur-buf' and `result'.
20782 (format-common-tail): Remove, unused.
20783 (format-deannotate-region): Remove unused variable `loc'.
20784 (format-annotate-region): Remove unused variable `p'.
20785 (format-annotate-single-property-change): Remove unused variables
20786 `default' and `tail'.
20787
20788 * forms.el (read-file-filter): Declare.
20789 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
20790
20791 * frame.el (frame-creation-function-alist): Mark unused parameter.
20792 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
20793
20794 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
20795 Remove unused parameters.
20796 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
20797 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
20798
20799 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
20800 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
20801 (hfy-prepare-tag-map): Mark unused parameters.
20802 (htmlfontify-buffer): Use `called-interactively-p'.
20803
20804 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
20805 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
20806 (ibuffer-do-occur): Mark unused parameters.
20807 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
20808 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
20809
20810 * ibuffer.el: Don't quote `lambda'.
20811 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
20812 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
20813 Mark unused parameters.
20814
20815 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
20816 (ido-completing-read): Mark unused parameters.
20817 (ido-copy-current-word): Mark unused parameters;
20818 remove unused variable `name'.
20819 (ido-sort-merged-list): Remove unused parameter `dirs'.
20820
20821 * ielm.el (ielm-input-sender): Mark unused parameter.
20822 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
20823 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
20824 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
20825 `ielm-string' as a dynamic variable accessible from the IELM prompt.
20826 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
20827
20828 * image-dired.el (image-dired-display-thumbs): Remove unused
20829 variables `curr-file' and `count'.
20830 (image-dired-remove-tag): Remove unused variable `start'.
20831 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
20832 variable `curr-file'
20833 (image-dired-rotate-original): Remove unused variable `temp-file'.
20834 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
20835 Remove unused variable `file'.
20836 (image-dired-gallery-generate): Remove unused variable `curr'.
20837 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
20838
20839 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
20840
20841 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
20842
20843 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
20844
20845 * isearch.el (minibuffer-history-symbol): Declare.
20846 (isearch-edit-string): Remove unused variable `err'.
20847 (isearch-message-prefix, isearch-message-suffix):
20848 Mark unused parameters.
20849
20850 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
20851
20852 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
20853
20854 * makesum.el (double-column): Remove unused variable `cnt'.
20855
20856 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
20857 (ido-ignore-item-temp-list): Declare.
20858
20859 * mouse-drag.el (mouse-drag-throw): Remove unused variables
20860 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
20861 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
20862 (mouse-drag-drag): Remove unused variables `mouse-delta' and
20863 `mouse-col-delta'.
20864
20865 * mouse-sel.el (mouse-extend-internal):
20866 Remove unused variable `orig-window-frame'.
20867
20868 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
20869 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
20870 Move declarations before first use.
20871 (pcomplete-opt): Mark unused parameters; doc fix.
20872
20873 * proced.el (proced-revert): Mark unused parameter.
20874 (proced-send-signal): Remove unused variable `err'.
20875
20876 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
20877 Rename parameter PREFIX-ARG to ARG.
20878 (ps-basic-plot-string, ps-basic-plot-whitespace):
20879 Mark unused parameters.
20880
20881 * replace.el (replace-count): Define.
20882 (occur-revert-function): Mark unused parameters.
20883 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
20884 (isearch-case-fold-search, isearch-string): Declare.
20885 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
20886 bind `case-fold-search'. Remove unused variables `beg' and `end',
20887 and simplify.
20888 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
20889 COUNT and bind `replace-count'.
20890 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
20891 to COUNT.
20892
20893 * savehist.el (print-readably, print-string-length): Declare.
20894
20895 * shadowfile.el (shadow-expand-cluster-in-file-name):
20896 Remove unused variable `cluster'.
20897 (shadow-copy-file): Remove unused variable `i'.
20898 (shadow-noquery, shadow-clusters, shadow-site-cluster)
20899 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
20900 (shadow-define-literal-group, shadow-define-regexp-group)
20901 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
20902
20903 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
20904 (shell): Use `called-interactively-p'.
20905 (shell-directory-tracker): Remove unused variable `chdir-failure'.
20906
20907 * simple.el (compilation-context-lines, comint-file-name-quote-list)
20908 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
20909 (delete-backward-char): Remove unused variable `ocol'.
20910 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
20911 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
20912 (event-apply-hyper-modifier, event-apply-shift-modifier)
20913 (event-apply-control-modifier, event-apply-meta-modifier):
20914 Mark unused parameters.
20915 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
20916 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
20917
20918 * speedbar.el (speedbar-ignored-directory-expressions)
20919 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
20920 (speedbar-find-file, speedbar-dir-follow)
20921 (speedbar-directory-buttons-follow, speedbar-tag-find)
20922 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
20923 (speedbar-buffers-line-directory, speedbar-buffer-click):
20924 Mark unused parameters.
20925 (speedbar-tag-file): Remove unused variable `mode'.
20926 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
20927
20928 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
20929
20930 * talk.el (talk): Remove unused variable `display'.
20931
20932 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
20933 (tar-write-region-annotate): Mark unused parameter.
20934
20935 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
20936 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
20937 Declare them, wrapped in `with-no-warnings' to avoid replacing one
20938 warning by another.
20939
20940 * time-stamp.el (time-stamp-string-preprocess):
20941 Remove unused variable `require-padding'.
20942
20943 * tree-widget.el (widget-glyph-enable): Declare.
20944 (tree-widget-action): Mark unused parameter.
20945
20946 * w32-fns.el (x-get-selection): Mark unused parameter.
20947 (autoload-make-program, generated-autoload-file): Declare.
20948
20949 * wdired.el (wdired-revert): Mark unused parameters.
20950 (wdired-xcase-word): Remove unused variable `err'.
20951
20952 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
20953 (whitespace-help-scroll): Remove unused variable `data-help'.
20954
20955 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
20956 (widget-image-insert, widget-after-change, default)
20957 (widget-default-format-handler, widget-default-notify)
20958 (widget-default-prompt-value, widget-info-link-action)
20959 (widget-url-link-action, widget-function-link-action)
20960 (widget-variable-link-action, widget-file-link-action)
20961 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
20962 (widget-field-prompt-internal, widget-field-action, widget-field-match)
20963 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
20964 (widget-insert-button-action, widget-delete-button-action, visibility)
20965 (widget-documentation-link-action, widget-documentation-string-action)
20966 (widget-const-prompt-value, widget-regexp-match, symbol)
20967 (widget-coding-system-prompt-value)
20968 (widget-key-sequence-value-to-external, sexp)
20969 (widget-sexp-value-to-internal, character, vector, cons)
20970 (widget-choice-prompt-value, widget-boolean-prompt-value)
20971 (widget-color--choose-action): Mark unused parameters.
20972 (widget-item-match-inline, widget-choice-match-inline)
20973 (widget-checklist-match, widget-checklist-match-inline)
20974 (widget-group-match): Rename parameter VALUES to VALS.
20975 (widget-field-value-set): Remove unused variable `size'.
20976 (widget-color-action): Remove unused variables `value' and `start'.
20977
20978 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 20979 variable `dir'. Doc fix.
06b60517
JB
20980 (windmove-find-other-window): Don't pass it.
20981
20982 * window.el (count-windows): Mark unused parameter.
20983 (bw-adjust-window): Remove unused variable `err'.
20984
20985 * woman.el (woman-file-name): Remove unused variable `default'.
20986 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
20987 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
20988 (global-font-lock-mode): Declare.
20989 (woman-decode-region): Mark unused parameter.
20990 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
20991
20992 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
20993 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
20994 (x-dnd-handle-moz-url): Remove unused variable `title'.
20995 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
20996
20997 * xml.el (xml-parse-tag, xml-parse-attlist):
20998 Remove unused variable `pos'.
20999
bc4f7f3d
GM
210002011-04-19 Glenn Morris <rgm@gnu.org>
21001
21002 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
21003 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
21004 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
21005 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
21006 * calendar/cal-html.el (cal-html-insert-minical):
21007 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
21008 (calendar-mark-date-pattern):
21009 Prefix "unused" locals.
21010
21011 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
21012 optional argument `style'.
21013
21014 * calendar/appt.el (appt-make-list):
21015 * calendar/cal-china.el (calendar-chinese-date-string):
21016 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
21017 (diary-hebrew-yahrzeit):
21018 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
21019 * calendar/calendar.el (calendar-generate-window):
21020 * calendar/time-date.el (time-to-days):
21021 Remove unused local variables.
21022
16a43933
CY
210232011-04-18 Chong Yidong <cyd@stupidchicken.com>
21024
21025 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
21026 glyphless-char-display table.
21027 (tabulated-list-glyphless-char-display): New var.
21028
7eed1860
SS
210292011-04-18 Sam Steingold <sds@gnu.org>
21030
21031 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
21032 to acknowledgments.
21033
4d2d1ccd
GM
210342011-04-17 Glenn Morris <rgm@gnu.org>
21035
21036 * calendar/diary-lib.el (diary-sexp-entry):
21037 * calendar/holidays.el (holiday-sexp):
21038 Set debug-on-error rather than the removed stack-trace-on-error.
21039
239da61d
GM
210402011-04-16 Glenn Morris <rgm@gnu.org>
21041
21042 * progmodes/f90.el: Use lexical-binding.
21043 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
21044
8b05752a
SM
210452011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
21046
daca8ba5
SM
21047 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
21048 (mail-mode): Setup mailalias completion here instead.
21049 * mail/mailalias.el: Use lexical-binding.
21050 (pattern, mailalias-done): Declare dynamic.
21051 (mail-completion-at-point-function): New function, from mail-complete.
21052 (mail-complete): Use it.
21053 (mail-completion-expand): New function.
21054 (mail-get-names): Use it.
21055 (mail-directory, mail-directory-process, mail-directory-stream):
21056 Don't use `pattern' for lexically bound arg.
21057
6f542485
SM
21058 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
21059
037e7c3f
SM
21060 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
21061 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
21062 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
21063
8b05752a
SM
21064 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
21065 (byte-save-window-excursion, byte-temp-output-buffer-setup)
21066 (byte-interactive-p): Define them again, for use when inlining
21067 old code.
21068
49093f60
JB
210692011-04-15 Juanma Barranquero <lekktu@gmail.com>
21070
21071 * loadup.el: Use `string-to-number', not `string-to-int'.
21072
b5b8e7de
SM
210732011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
21074
21075 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
21076 gud-gdb-complete-command.
21077 (gud-gdb-completions): New function, from gud-gdb-complete-command.
21078 (gud-gdb-completion-at-point): New function.
21079 (gud-gdb-completions): Remove.
21080
f42efeb5
MA
210812011-04-14 Michael Albinus <michael.albinus@gmx.de>
21082
49093f60
JB
21083 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
21084 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
21085 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
21086 whether `executable-find' is bound.
f42efeb5
MA
21087
21088 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
21089
e240cc21
SM
210902011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
21091
21092 * minibuffer.el (completion-in-region-mode-predicate)
21093 (completion-in-region-mode--predicate): New vars.
21094 (completion-in-region, completion-in-region--postch)
21095 (completion-in-region-mode): Use them.
21096 (completion--capf-wrapper): Also return the hook function.
21097 (completion-at-point, completion-help-at-point):
21098 Adjust and provide a predicate.
c2bd2ab0
SM
21099
21100 Preserve arg names for advice of subr and lexical functions (bug#8457).
21101 * help-fns.el (help-function-arglist): Consolidate the subr and
21102 new-byte-code cases. Add argument `preserve-names' to extract names
21103 from the docstring when needed.
21104 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
21105 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
21106 (ad-arglist): Use help-function-arglist's new arg.
21107 (ad-definition-type): Use cond.
21108
c183f693
JB
211092011-04-13 Juanma Barranquero <lekktu@gmail.com>
21110
06641a47
JB
21111 * autorevert.el (auto-revert-handler):
21112 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
21113 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
21114 Don't quote lambda.
21115
c183f693
JB
21116 * image-mode.el (image-transform-set-scale):
21117 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
21118
1e3b6001
G
211192011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
21120
21121 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 21122 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
21123 Upgrades via gnutls-cli are too slow to be done opportunistically.
21124
2d6af8dd
JB
211252011-04-12 Juanma Barranquero <lekktu@gmail.com>
21126
21127 * dframe.el (dframe-current-frame): Remove spurious quote.
21128
c0749a51
GM
211292011-04-12 Glenn Morris <rgm@gnu.org>
21130
088d0d61
GM
21131 * calendar/cal-tex.el (cal-tex-end-document):
21132 Try to automatically use latin1 input if needed.
21133
c0749a51
GM
21134 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
21135 Don't try to cons a mark onto an empty element.
21136
5c90fde0
LL
211372011-04-11 Leo Liu <sdl.web@gmail.com>
21138
21139 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
21140 buffers.
21141 (ido-kill-buffer-at-head): Support killing virtual buffers.
21142
369e974d
CY
211432011-04-10 Chong Yidong <cyd@stupidchicken.com>
21144
21145 * minibuffer.el (completion-show-inline-help): New var.
21146 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
21147 (minibuffer-force-complete, minibuffer-complete-word):
21148 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
21149
21150 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
21151 to avoid interference from inline help (Bug#5849).
21152
37f1c930
LL
211532011-04-10 Leo Liu <sdl.web@gmail.com>
21154
099c39a4
JB
21155 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
21156 Fix typo.
37f1c930 21157
a32d4040
CY
211582011-04-09 Chong Yidong <cyd@stupidchicken.com>
21159
21160 * image-mode.el (image-toggle-display-image): Signal an error if
21161 not in Image mode.
21162 (image-transform-mode, image-transform-resize)
21163 (image-transform-set-rotation): Doc fix.
daca8ba5 21164 (image-transform-set-resize): Delete.
a32d4040
CY
21165 (image-transform-set-scale, image-transform-fit-to-height)
21166 (image-transform-fit-to-width): Handle image-toggle-display-image
21167 and image-transform-resize directly.
21168
099c39a4 211692011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
21170
21171 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
21172 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
21173 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
21174 (doc-view-mode-map): Add bindings for the new functions.
21175
099c39a4 211762011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 21177
4d61f28d 21178 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
21179 Fix typo in docstring.
21180
3726838a
EZ
211812011-04-08 Eli Zaretskii <eliz@gnu.org>
21182
04f33f1e
EZ
21183 * files.el (file-size-human-readable): Produce one digit after
21184 decimal, like "ls -lh" does.
21185
21186 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
21187 the file size representation.
21188
3726838a
EZ
21189 * simple.el (list-processes): If async subprocesses are not
21190 available, error out with a clear error message.
21191
cbb59342
CY
211922011-04-08 Chong Yidong <cyd@stupidchicken.com>
21193
21194 * help.el (help-form-show): New function, to be called from C.
21195 Put help-form output in a buffer named differently than *Help*.
21196
e3971c44
EZ
211972011-04-08 Eli Zaretskii <eliz@gnu.org>
21198
21199 * files.el (file-size-human-readable): New function.
21200
21201 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
21202 computing the representation inline. Don't require `cl'.
21203
12544bbe
GM
212042011-04-08 Glenn Morris <rgm@gnu.org>
21205
a1de6c6a
GM
21206 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
21207
3c4671f4
GM
21208 * net/browse-url.el (browse-url-firefox):
21209 Test system-type, not system-configuration.
21210
b605679c
GM
21211 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
21212 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
21213 Use log-edit-empty-buffer-p. (Bug#7598)
21214
56442f0c
GM
21215 * net/rlogin.el (rlogin-process-connection-type): Simplify.
21216 (rlogin-mode-map): Initialize in the defvar.
21217 (rlogin): Use ignore-errors.
21218
12544bbe
GM
21219 * replace.el (occur-mode-map): Some fixes for menu items.
21220
eb237b0f
AH
212212011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
21222
21223 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
21224
7d668f2c
CY
212252011-04-06 Chong Yidong <cyd@stupidchicken.com>
21226
e67a13ab
CY
21227 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
21228 issuing unused warnings.
21229
21230 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
21231 macro directly.
21232
7d668f2c
CY
21233 * simple.el: Lisp reimplement of list-processes. Based on an
21234 earlier reimplementation by Leo Liu, but using tabulated-list.el.
21235 (process-menu-mode): New major mode.
21236 (list-processes--refresh, list-processes):
21237 (process-menu-visit-buffer): New functions.
21238
21239 * files.el (save-buffers-kill-emacs): Don't assume any return
21240 value of list-processes, which is undocumented anyway.
21241
a83ec3c9
CY
212422011-04-06 Chong Yidong <cyd@stupidchicken.com>
21243
21244 * emacs-lisp/tabulated-list.el: New file.
21245
e91a96fe
CY
21246 * emacs-lisp/package.el: Use Tabulated List mode.
21247 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
21248 (package-menu-mode): Derive from tabulated-list-mode. Set up the
21249 table format using Tabulated List mode variables.
21250 (package--push): New macro, replacing package-list-maybe-add.
21251 (package-menu--generate): Use package--push. Renamed from
21252 package--generate-package-list.
21253 (package-menu-refresh, list-packages): Use it.
daca8ba5 21254 (package-menu--print-info): Rename from package-print-package.
e91a96fe 21255 Return insertion data instead of inserting it directly.
099c39a4
JB
21256 (package-menu-describe-package, package-menu-execute):
21257 Use tabulated-list-get-id.
e91a96fe
CY
21258 (package-menu-mark-delete, package-menu-mark-install)
21259 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
21260 (package-menu-mark-obsolete-for-deletion):
21261 Use tabulated-list-put-tag.
e91a96fe
CY
21262 (package--list-packages, package-menu-revert)
21263 (package-menu-get-package, package-menu-get-version)
21264 (package-menu-sort-by-column): Functions deleted.
21265 (package-menu-package-list, package-menu-sort-key): Vars deleted.
21266 (package-menu--status-predicate, package-menu--version-predicate)
21267 (package-menu--name-predicate)
21268 (package-menu--description-predicate): Handle arguments in the
21269 Tabulated List format.
21270 (package-list-packages-no-fetch): Call list-packages.
21271
3e214b50
JB
212722011-04-06 Juanma Barranquero <lekktu@gmail.com>
21273
21274 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 21275 (after-find-file): Don't bind it.
3e214b50
JB
21276 (revert-buffer-in-progress-p): New variable.
21277 (revert-buffer): Bind it.
21278 Pass nil for `after-find-file-from-revert-buffer'.
21279
21280 * saveplace.el (save-place-find-file-hook): Use new variable
21281 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
21282
3f0f1700
GM
212832011-04-06 Glenn Morris <rgm@gnu.org>
21284
c0274801
GM
21285 * Makefile.in (AUTOGEN_VCS): New variable.
21286 (autoloads): Use $AUTOGEN_VCS.
21287
3f0f1700
GM
21288 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
21289 * calendar/calendar.el (calendar-mode-map):
21290 Check for toolkit scroll bars. (Bug#8305)
21291
41ea9e48
CY
212922011-04-05 Chong Yidong <cyd@stupidchicken.com>
21293
21294 * minibuffer.el (completion-in-region--postch)
21295 (completion-in-region-mode): Remove unnecessary messages.
21296
6194c800
JB
212972011-04-05 Juanma Barranquero <lekktu@gmail.com>
21298
33256f14
JB
21299 * font-lock.el (font-lock-refresh-defaults):
21300 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
21301 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
21302
6194c800
JB
21303 * info.el (Info-directory-list, Info-read-node-name-2)
21304 (Info-split-parameter-string): Doc fixes.
21305 (Info-virtual-nodes): Reflow docstring.
21306 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
21307 (Info-apropos-toc-nodes, info-finder, Info-get-token)
21308 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
21309 Fix typos in docstrings.
21310 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
21311 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
21312 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
21313 (Info-restore-desktop-buffer): Mark unused parameters.
21314 (Info-directory-find-file, Info-directory-find-node)
21315 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
21316 (Info-virtual-index-find-node, Info-apropos-find-file)
21317 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 21318 Mark unused parameters; fix typos in docstrings.
6194c800
JB
21319 (Info-virtual-index): Remove unused local variable `nodename'.
21320
b87a8200 213212011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 21322
b87a8200
DD
21323 * net/rcirc.el: Update my e-mail address.
21324 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 21325
3b2ff876
CY
213262011-04-05 Chong Yidong <cyd@stupidchicken.com>
21327
21328 * startup.el (command-line): Save the cursor's theme-face
21329 directly, instead of using face-override-spec.
21330
21331 * custom.el (load-theme): Minor optimization in assigning faces.
21332
8d17e7ca
JB
213332011-04-04 Juanma Barranquero <lekktu@gmail.com>
21334
21335 * help-fns.el (describe-variable): Complete all variables having
21336 documentation, including keywords.
21337 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
21338
2fbc1934
JB
213392011-04-04 Juanma Barranquero <lekktu@gmail.com>
21340
21341 Convert to lexical-binding.
21342
21343 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
21344 (bs--get-marked-string, bs--get-modified-string)
21345 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
21346 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
21347 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
21348
21349 * ehelp.el (electric-help-execute-extended)
21350 (electric-help-ctrl-x-prefix):
21351 * hexl.el (hexl-revert-buffer-function):
21352 * linum.el (linum-after-change, linum-after-scroll):
21353 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
21354
21355 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
21356
74f50695
DU
213572011-04-04 Daiki Ueno <ueno@unixuser.org>
21358
21359 * epa-dired.el:
21360 * epa-mail.el:
21361 * epa-hook.el:
21362 * epa-file.el:
21363 * epa.el:
21364 * epg.el: Use lexical binding.
21365
c11325f7
CY
213662011-04-03 Chong Yidong <cyd@stupidchicken.com>
21367
0d9e9a12
CY
21368 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
21369
c11325f7 21370 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
21371 dictionary case for flyspell-mark-duplications-exceptions.
21372 Use regexp matching for languages.
c11325f7
CY
21373 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
21374 default dictionary (Bug#7926).
21375
da91b5f2
CY
213762011-04-02 Chong Yidong <cyd@stupidchicken.com>
21377
099c39a4
JB
21378 * emacs-lisp/package.el (package--with-work-buffer):
21379 Recognize https URLs.
da91b5f2 21380
099c39a4
JB
21381 * net/network-stream.el: Move from gnus/proto-stream.el.
21382 Change prefix to network-stream throughout.
da91b5f2
CY
21383 (open-protocol-stream): Merge into open-network-stream, leaving
21384 open-protocol-stream as an alias. Handle nil BUFFER args.
21385
21386 * subr.el (open-network-stream): Move to net/network-stream.el.
21387
afa8e9f6
GM
213882011-04-02 Glenn Morris <rgm@gnu.org>
21389
1d2e369d
GM
21390 * find-dired.el (find-exec-terminator): New option.
21391 (find-ls-option): Test for -ls support.
21392 (find-ls-subdir-switches): Test for -b in find-ls-option.
21393 (find-dired, find-grep-dired): Doc fixes.
21394 (find-dired): Use find-exec-terminator.
21395
8abb7da8 21396 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
21397 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
21398 (find-name-arg): Remove purecopy.
8abb7da8 21399
f3ca7378
GM
21400 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
21401 (grep-compute-defaults): Check for `-exec COMMAND +' support.
21402 Set grep-find-use-xargs, grep-find-command, and grep-find-template
21403 accordingly. Don't add the null-device if not needed.
21404
afa8e9f6
GM
21405 * files.el (save-some-buffers): Doc fix.
21406
35eae264
EZ
214072011-04-02 Eli Zaretskii <eliz@gnu.org>
21408
21409 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
21410
26b51db5
JB
214112011-04-01 Juanma Barranquero <lekktu@gmail.com>
21412
21413 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
21414 Use `dolist' rather than `mapcar'.
21415
7200d79c
SM
214162011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
21417
03408648 21418 Add lexical binding.
7200d79c 21419
03408648
SM
21420 * subr.el (apply-partially): Use new closures rather than CL.
21421 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
21422 (dolist, dotimes): Use slightly different expansion for lexical code.
21423 (functionp): Move to C.
21424 (letrec): New macro.
21425 (with-wrapper-hook): Use it and apply-partially instead of CL.
21426 (eval-after-load): Preserve lexical-binding.
21427 (save-window-excursion, with-output-to-temp-buffer): Turn them
21428 into macros.
7200d79c 21429
03408648
SM
21430 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
21431
21432 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
21433 than the arglist.
21434 (help-add-fundoc-usage): Don't add `Not documented'.
21435 (help-function-arglist): Handle closures, subroutines, and new
21436 byte-code-functions.
21437 (help-make-usage): Remove leading underscores.
21438 (describe-function-1): Handle closures.
21439 (describe-variable): Use special-variable-p for completion.
21440
21441 * files.el (lexical-binding): Declare safe.
f488fb65 21442
03408648
SM
21443 * emacs-lisp/pcase.el: Don't use destructuring-bind.
21444 (pcase--memoize): Rename from pcase-memoize. Change weakness.
21445 (pcase): Add `let' pattern.
21446 Change memoization so it actually works.
21447 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
21448 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
21449 <let>: New case.
f488fb65 21450
03408648
SM
21451 * emacs-lisp/macroexp.el: Use lexical binding.
21452 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
21453 Don't convert ' to #' without checking that it's indeed quoting
21454 a lambda.
21455
21456 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 21457 Use eval-sexp-add-defvars.
03408648
SM
21458 (eval-sexp-add-defvars): New fun.
21459
21460 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
21461
21462 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
21463 Don't autoload.
21464 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
21465 than the internal `byte-compile-lambda'.
21466 (defmethod): Don't hide code under quotes.
21467 (eieio-defmethod): New `code' argument.
21468
21469 * emacs-lisp/eieio-comp.el: Remove.
21470
21471 * emacs-lisp/edebug.el (edebug-eval-defun)
21472 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
21473 (edebug-toggle): Avoid `eval'.
21474
21475 * emacs-lisp/disass.el (disassemble-internal): Handle new
21476 `closure' objects.
21477 (disassemble-1): Handle new byte codes.
21478
21479 * emacs-lisp/cl.el (pushnew): Silence warning.
21480
21481 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
21482 (cl-byte-compile-throw): Remove.
21483 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
21484
21485 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
21486 closures.
21487
21488 * emacs-lisp/cconv.el: New file.
21489
21490 * emacs-lisp/bytecomp.el: Use lexical binding instead of
21491 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
21492 (byte-compile-initial-macro-environment):
21493 Handle declare-function here.
21494 (byte-compile--lexical-environment): New var.
21495 (byte-stack-ref, byte-stack-set, byte-discardN)
21496 (byte-discardN-preserve-tos): New lap codes.
21497 (byte-interactive-p): Don't use any more.
21498 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
21499 New macros.
21500 (byte-compile-lapcode): Use them and handle new lap codes.
21501 (byte-compile-obsolete): Remove.
21502 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
21503 (byte-compile-arglist-warn): Check late def of inlinable funs.
21504 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
21505 since they should have been expanded by now.
21506 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
21507 (byte-compile-from-buffer): Remove unused second arg.
21508 (byte-compile-preprocess): New function.
21509 (byte-compile-toplevel-file-form): New function to distinguish
21510 file-form calls from outside from file-form calls from hunk-handlers.
21511 (byte-compile-file-form): Simplify.
21512 (byte-compile-file-form-defsubst): Remove.
21513 (byte-compile-file-form-defmumble): Simplify now that
21514 byte-compile-lambda always returns a byte-code-function.
21515 (byte-compile): Preprocess.
21516 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
21517 Remove, not used any more.
21518 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
21519 (byte-compile-make-args-desc): New funs.
21520 (byte-compile-lambda): Handle lexical functions. Always return
21521 a byte-code-function.
21522 (byte-compile-reserved-constants): New var, to make up room for
21523 closed-over variables.
21524 (byte-compile-constants-vector): Obey it.
21525 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
21526 (byte-compile-macroexpand-declare-function): New function.
21527 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
21528 byte-code-functions.
21529 (byte-compile-form): Check obsolescence here.
21530 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
21531 (byte-compile-variable-ref): Remove.
21532 (byte-compile-dynamic-variable-op): New fun.
21533 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
21534 (byte-compile-variable-set): New funs.
21535 (byte-compile-discard): Add 2 args.
21536 (byte-compile-stack-ref, byte-compile-stack-set)
21537 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
21538 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
21539 macroexpand-all instead.
21540 (byte-compile-quote-form): Remove.
21541 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
21542 (byte-compile-bind, byte-compile-unbind): New funs.
21543 (byte-compile-let): Handle let* and lexical binding.
21544 (byte-compile-let*): Remove.
21545 (byte-compile-catch, byte-compile-unwind-protect)
21546 (byte-compile-track-mouse, byte-compile-condition-case):
21547 Handle a new :fun-body form, used for lexical scoping.
21548 (byte-compile-save-window-excursion)
21549 (byte-compile-with-output-to-temp-buffer): Remove.
21550 (byte-compile-defun): Simplify.
21551 (byte-compile-stack-adjustment): New fun.
21552 (byte-compile-out): Use it.
21553 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
21554
21555 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
21556 handler any more.
21557
21558 * emacs-lisp/byte-opt.el: Use lexical binding.
21559 (byte-inline-lapcode): Remove (to bytecomp).
21560 (byte-compile-inline-expand): Pay attention to inlining to/from
21561 lexically bound code.
21562 (byte-compile-unfold-lambda): Don't handle byte-code-functions
21563 any more.
21564 (byte-optimize-form-code-walker): Don't handle save-window-excursion
21565 any more and don't call compiler-macros.
21566 (byte-compile-splice-in-already-compiled-code): Remove.
21567 (byte-code): Don't inline any more.
21568 (disassemble-offset): Receive `bytes' as argument rather than via
21569 dynamic scoping.
21570 (byte-compile-tag-number): Declare before first use.
21571 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
21572 `return' even if make-spliceable.
21573 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
21574 obsolete interactive-p.
21575 (byte-optimize-lapcode): Optimize new lap-codes.
21576 Don't trip up on new form of `byte-constant' lap code.
21577
21578 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
21579
21580 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
21581
21582 * custom.el (custom-initialize-default, custom-declare-variable):
21583 Use `defvar'.
21584
21585 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
21586 New variables.
21587 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
21588 (COMPILE_FIRST): Add macroexp and cconv.
21589 * makefile.w32-in: Mirror changes in Makefile.in.
21590
21591 * vc/cvs-status.el:
21592 * vc/diff-mode.el:
21593 * vc/log-edit.el:
21594 * vc/log-view.el:
21595 * vc/smerge-mode.el:
21596 * textmodes/bibtex-style.el:
090bd7cb 21597 * textmodes/css-mode.el:
03408648
SM
21598 * startup.el:
21599 * uniquify.el:
da91b5f2
CY
21600 * minibuffer.el:
21601 * newcomment.el:
21602 * reveal.el:
21603 * server.el:
21604 * mpc.el:
21605 * emacs-lisp/smie.el:
21606 * doc-view.el:
21607 * dired.el:
03408648
SM
21608 * abbrev.el: Use lexical binding.
21609
0f0c1f27
EZ
216102011-04-01 Eli Zaretskii <eliz@gnu.org>
21611
21612 * info.el (info-display-manual): New function.
21613
c82b2579
SM
216142011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
21615
21616 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
21617
221ddf68
TH
216182011-03-31 Tassilo Horn <tassilo@member.fsf.org>
21619
21620 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 21621 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 21622
cba6e77e
GM
216232011-03-31 Glenn Morris <rgm@gnu.org>
21624
e040639f
GM
21625 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
21626
cba6e77e
GM
21627 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
21628
6d0f1c9e
CS
216292011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
21630
21631 * progmodes/python.el (python-default-interpreter)
21632 (python-python-command-args, python-jython-command-args)
21633 (python-which-shell, python-which-args, python-which-bufname)
21634 (python-file-queue, python-comint-output-filter-function)
21635 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
21636 variables and functions.
21637
3e2d70fd
SM
216382011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
21639
21640 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
21641 (completion-in-region-mode): New minor mode.
21642 (completion-in-region): Use it.
21643 (completion-in-region--data, completion-in-region-mode-map): New vars.
21644 (completion-in-region--postch): New function.
21645 (completion--capf-misbehave-funs, completion--capf-safe-funs):
21646 New vars.
21647 (completion--capf-wrapper): New function.
21648 (completion-at-point): Use it to track well-behavedness of
21649 hook functions.
21650 (completion-help-at-point): New command.
21651
f3e4086c
JM
216522011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
21653
21654 * vc/add-log.el (add-change-log-entry): Don't use whitespace
21655 syntax class to search for whitespace on a single line
21656 (Message-ID: <4D938140.4030905@redhat.com>).
21657
eb7ffc14
LL
216582011-03-30 Leo Liu <sdl.web@gmail.com>
21659
21660 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
21661 New commands.
21662 (edit-abbrevs-map): Bind them here.
21663 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
21664
d806ab68
KM
216652011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
21666
21667 * allout.el (allout-hide-by-annotation, allout-flag-region):
21668 Reduce possibility of overlay leakage by making them volatile.
21669
21670 * allout-widgets.el (allout-widgets-tally): Define as nil so the
21671 hash is not shared between buffers. Mode initialization is
21672 responsible for giving it a useful starting value.
21673 (allout-item-span): Reduce possibility of overlay leakage by
21674 making them volatile.
21675 (allout-widgets-count-buttons-in-region): Add diagnostic function
21676 for tracking down button overlay leaks.
21677
ea622834
LL
216782011-03-29 Leo Liu <sdl.web@gmail.com>
21679
21680 * ido.el (ido-read-internal): Use the default history var
21681 minibuffer-history if no HISTORY is specified.
21682
b62f8267
G
216832011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
21684
03408648
SM
21685 * net/imap.el (imap-shell-open, imap-process-connection-type):
21686 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
21687 Kerberos, SSL, other subprocesses.
21688
947b6566
LL
216892011-03-28 Leo Liu <sdl.web@gmail.com>
21690
21691 * abbrev.el (abbrev-table-empty-p): New function.
21692 (prepare-abbrev-list-buffer): Place empty abbrev tables after
21693 nonempty ones. (Bug#5937)
21694
5ffb62aa
JD
216952011-03-27 Jan Djärv <jan.h.d@swipnet.se>
21696
21697 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
21698
7a097943
LL
216992011-03-27 Leo Liu <sdl.web@gmail.com>
21700
21701 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
21702 for foreground and background colors.
21703 (ansi-color-make-color-map): Adapt.
21704
c5b40130
LL
217052011-03-25 Leo Liu <sdl.web@gmail.com>
21706
1f48f7d2
LL
21707 * midnight.el (midnight-time-float): Remove. Note it calculates
21708 the microsecond component incorrectly and seconds-to-time does the
21709 same job.
625897ec 21710 Remove redundant (require 'timer).
1f48f7d2 21711
c5b40130
LL
21712 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
21713 (ido-completions): Remove unused arguments. (Bug#8329)
21714
d86d2721
SM
217152011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
21716
21717 * minibuffer.el (completion--flush-all-sorted-completions):
21718 Remove itself from hook.
21719 (completion-at-point): Let the functions perform the completion
21720 immediately and return nil or t.
21721 * comint.el (comint-dynamic-complete-functions): Now identical to
21722 completion-at-point-functions.
21723 (comint-dynamic-list-input-ring): Remove unused var `index'.
21724 (comint--match-partial-filename, comint--unquote&expand-filename):
21725 New funs, split from comint-match-partial-filename.
21726 (comint-dynamic-complete): Use completion-at-point.
21727 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
21728
e8974c48
DA
217292011-03-24 Drew Adams <drew.adams@oracle.com>
21730
21731 * thingatpt.el: Support `defun'.
21732
def71b5e
LL
217332011-03-23 Leo Liu <sdl.web@gmail.com>
21734
cb5af48e
LL
21735 * abbrevlist.el: Move to obsolete/abbrevlist.el.
21736
def71b5e
LL
21737 * help-mode.el (help-mode-finish): Tweak regexp.
21738
927c53e7
GM
217392011-03-23 Glenn Morris <rgm@gnu.org>
21740
18d05bed
GM
21741 * eshell/esh-opt.el (eshell-eval-using-options):
21742 Do not bind unused local variable `eshell-option-stub'.
21743
927c53e7
GM
21744 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
21745
9d0da923
JB
217462011-03-22 Juanma Barranquero <lekktu@gmail.com>
21747
21748 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
21749 keymap variable in `with-no-warnings' to avoid a warning when the
21750 keymap has been already `defconst'ed.
21751
4b978a67
LL
217522011-03-22 Leo Liu <sdl.web@gmail.com>
21753
21754 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
21755 encode all chars in abbrevs; otherwise use emacs-mule or
21756 utf-8-emacs. (Bug#8308)
21757
5fd62452
JB
217582011-03-22 Juanma Barranquero <lekktu@gmail.com>
21759
0b1596c6
JB
21760 * simple.el (backward-delete-char-untabify):
21761 Avoid warning about using `delete-backward-char'.
21762
5fd62452
JB
21763 * image.el (image-type-file-name-regexps): Make it variable.
21764 `imagemagick-register-types' modifies it, and the user may want
21765 to add new extensions for known image types.
21766 (imagemagick-register-types): Throw error if not using ImageMagick.
21767
0b4e93f1
LL
217682011-03-22 Leo Liu <sdl.web@gmail.com>
21769
21770 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
21771 located before rcirc-prompt-end-marker.
21772 (rcirc-complete): Error if point is not after rcirc prompt.
21773 Handle the case when table is nil.
9882e214 21774 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 21775
fccee4ab
CY
217762011-03-22 Chong Yidong <cyd@stupidchicken.com>
21777
21778 * custom.el (custom--inhibit-theme-enable): Make it affect only
21779 custom-theme-set-variables and custom-theme-set-faces.
21780 (provide-theme): Ignore custom--inhibit-theme-enable.
21781 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
21782 (custom-enabling-themes): Delete variable.
d86d2721
SM
21783 (enable-theme): Accept only loaded themes as arguments.
21784 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
21785 (custom-enabled-themes): Forbid themes from setting this.
21786 Eliminate use of custom-enabling-themes.
21787 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 21788
af896da6
LL
217892011-03-21 Leo Liu <sdl.web@gmail.com>
21790
21791 * ido.el (ido-read-internal): Add ido-selected to history instead
21792 of user input.
21793
78f64af0
SM
217942011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
21795
21796 * subr.el (deferred-action-list, deferred-action-function):
21797 Mark obsolete.
21798
b16ac1ec
LL
217992011-03-21 Leo Liu <sdl.web@gmail.com>
21800
810f7698
LL
21801 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
21802 change on 2011-02-13 (bug#8309).
21803
b16ac1ec
LL
21804 * minibuffer.el (read-file-name-function): Change default value.
21805 (read-file-name--defaults): Rename from read-file-name-defaults.
21806 (read-file-name-default): Rename from read-file-name.
21807 (read-file-name): Call read-file-name-function.
21808
4e05e67e
GM
218092011-03-21 Glenn Morris <rgm@gnu.org>
21810
21811 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
21812 Doc fixes.
21813
4359915b
CY
218142011-03-21 Chong Yidong <cyd@stupidchicken.com>
21815
21816 * cus-theme.el: Add missing provide statement.
21817 (customize-create-theme): Extract theme value correctly.
21818 (custom-theme-visit-theme): Autoload.
21819 (customize-create-theme): Prompt before inserting default faces.
21820
1fe275ee
JB
218212011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
21822
21823 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
21824 units and musical notes.
21825
cd394be1 218262011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
21827
21828 * ido.el (ido-read-internal): Use completing-read-default.
21829 (ido-completing-read): Fix compatibility with completing-read.
21830
7d476bde
CO
218312011-03-20 Christian Ohler <ohler@gnu.org>
21832
21833 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
21834 (ert-delete-all-tests): Use `called-interactively-p' rather than
21835 `interactive-p'.
21836 (ert--make-xrefs-region): Respect END.
21837
fe0fb33e
CY
218382011-03-19 Chong Yidong <cyd@stupidchicken.com>
21839
ff854b0b
CY
21840 * dired-aux.el (dired-create-directory): Signal an error if the
21841 directory already exists (Bug#8246).
21842
fe0fb33e
CY
21843 * facemenu.el (list-colors-display): Call list-faces-display
21844 inside with-help-window.
21845 (list-colors-print): Use display property to align the final
21846 column, instead of checking window-width.
21847
576bce32
EZ
218482011-03-19 Eli Zaretskii <eliz@gnu.org>
21849
4d61f28d 21850 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
21851 windows-nt systems.
21852 (emerge-protect-metachars): Quote correctly for ms-dos and
21853 windows-nt systems.
21854
89c41d68 218552011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
21856
21857 * info.el (info-initialize): Replace all uses of `:' with
21858 path-separator for compatibility with non-Unix systems.
21859 Cache quoting of path-separator. (Bug#8258)
21860
b14e3e21 218612011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
21862
21863 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
21864 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
21865 (mouse-avoidance-mode): Fix typos in docstrings.
21866
4525ce3e
CY
218672011-03-19 Chong Yidong <cyd@stupidchicken.com>
21868
21869 * startup.el (package-subdirectory-regexp): Move from package.el.
21870 Omit \\` and \\', and let callers add them.
21871
21872 * emacs-lisp/package.el (package-strip-version)
21873 (package-load-all-descriptors): Add \\` and \\' to
21874 package-subdirectory-regexp before using it.
21875 (package-untar-buffer): New arg DIR; ensure that file untars only
21876 into this expected directory. Remove superfluous delete-region.
21877 (package-unpack): Caller changed.
21878 (package-tar-file-info): Use package-subdirectory-regexp.
21879
a904a09a 218802011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 21881
a904a09a
SM
21882 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
21883 diff-mode-shared-map (bug#8284).
21884 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
21885
218862011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
21887
21888 * calendar/time-date.el (format-seconds): Use assoc instead of
21889 assoc-string, since assoc-string doesn't exist in XEmacs.
21890
171fc304
JB
218912011-03-17 Juanma Barranquero <lekktu@gmail.com>
21892
21893 * custom.el (custom-known-themes): Reflow docstring.
21894 (custom-theme-load-path): Fix typo in docstring.
21895 (load-theme): Fix typo in error message.
21896 (custom-available-themes, custom-variable-theme-value):
21897 Use `let', not `let*'.
21898
d71990a1
JB
218992011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
21900
21901 * calc/README: Mention inclusion of musical notes.
21902
21903 * calc/calc-units.el (calc-lu-quant): Rename from
21904 `calc-logunits-quantity'.
21905 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
21906 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
21907 (calc-db): Rename from `calc-dblevel'.
21908 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
21909 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
21910 (calc-np): Rename from `calc-nplevel'.
21911 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
21912 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
21913 (calc-lu-plus): Rename from `calc-logunits-add'.
21914 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
21915 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
21916 (calc-lu-minus): Rename from `calc-logunits-sub'.
21917 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
21918 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
21919 (calc-lu-times): Rename from `calc-logunits-mul'.
21920 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
21921 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
21922 (calc-lu-divide): Rename from `calc-logunits-div'.
21923 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
21924 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
21925
21926 * calc/calc-ext.el (calc-init-extensions): Update the names of the
21927 functions being autoloaded.
21928
21929 * calc/calc.el (calc-lu-power-reference): Rename from
21930 `calc-logunits-power-reference'.
21931 (calc-lu-field-reference): Rename from
21932 `calc-logunits-field-reference'.
21933
7a71b18d
GM
21934 * calc/calc-help.el (calc-l-prefix-help):
21935 Mention musical note functions.
d71990a1 21936
40c2934b
SM
219372011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
21938
21939 * minibuffer.el (completion-all-sorted-completions):
21940 Use :completion-cycle-penalty text property if present.
21941
b0911414
KM
219422011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
21943
21944 * allout.el (allout-yank-processing): Adjust for new rebulleting
21945 regime so bullet being yanked is used without prompting the user
21946 for a choice.
21947
8a05b668
JB
219482011-03-16 Juanma Barranquero <lekktu@gmail.com>
21949
21950 * startup.el (command-line): Warn the user that _emacs is deprecated.
21951
5ba5fb81
JB
219522011-03-16 Juanma Barranquero <lekktu@gmail.com>
21953
21954 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
21955 (delphi-verbose, delphi-comment-face, delphi-string-face)
21956 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
21957 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
21958 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
21959 (delphi-new-comment-line, delphi-font-lock-defaults)
21960 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
21961 Fix typos in docstrings.
21962
2dab465b
KM
219632011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
21964
5ba5fb81 21965 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
21966 Invert the roles of character and string values for INSTEAD, so a
21967 string is used for the more common case of a defaulting prompt.
21968
0adf5618
SM
219692011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
21970
21971 * progmodes/ruby-mode.el (ruby-backward-sexp):
21972 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
21973 * play/gamegrid.el (gamegrid-make-face):
21974 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
21975 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
21976 * notifications.el (notifications-notify):
21977 * net/xesam.el (xesam-search-engines):
21978 * net/quickurl.el (quickurl-list-insert):
21979 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
21980
d72700e5
CY
219812011-03-15 Chong Yidong <cyd@stupidchicken.com>
21982
21983 * startup.el (command-line): Update package subdirectory regexp.
21984
49c5410a
SM
219852011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
21986
c6eee9aa
SM
21987 * allout.el (allout-abbreviate-flattened-numbering)
21988 (allout-mode-deactivate-hook): Fix up obsolescence "date".
21989
49c5410a
SM
21990 * subr.el (read-char-choice): Only show the cursor after the prompt,
21991 not after the answer.
21992
047b2bb9
KR
219932011-03-15 Kevin Ryde <user42@zip.com.au>
21994
21995 * help-fns.el (variable-at-point): Skip leading quotes, if any
21996 (bug#8253).
21997
0a57d256
SM
219982011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
21999
22000 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
22001 warning message.
22002
77c992bc
MA
220032011-03-14 Michael Albinus <michael.albinus@gmx.de>
22004
22005 * shell.el (shell): When called interactively, offer to change the
22006 shell file name on remote hosts.
22007
eebc475d
TZ
220082011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
22009
22010 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
22011 integration for LDAP parameters. The host, base, user or binddn,
22012 and secret tokens can be specified in a netrc file, for instance.
22013 This is optional because an `auth-source' parameter must be
22014 specified in the search attributes.
22015
9d05d1ba
JB
220162011-03-13 Juanma Barranquero <lekktu@gmail.com>
22017
22018 * help.el (describe-mode): Link to the mode's definition (bug#8185).
22019
09d9db2c
GM
220202011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
22021
22022 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
22023 into declaration. Remove redundant and harmful binding.
22024
220252011-03-12 Eli Zaretskii <eliz@gnu.org>
22026
22027 * files.el (file-ownership-preserved-p): Pass `integer' as an
22028 explicit 2nd argument to `file-attributes'. If the file's owner
22029 is the Administrators group on Windows, and the current user is
22030 Administrator, consider that a match.
22031
22032 * server.el (server-ensure-safe-dir): Consider server directory
22033 safe on MS-Windows if its owner is the Administrators group while
22034 the current Emacs user is Administrator. Use `=' to compare
22035 numerical UIDs, since they could be integers or floats.
22036
219bd536
JB
220372011-03-12 Juanma Barranquero <lekktu@gmail.com>
22038
22039 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
22040
f3afd36b
MA
220412011-03-12 Michael Albinus <michael.albinus@gmx.de>
22042
22043 Sync with Tramp 2.2.1.
22044
22045 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
22046
22047 * net/trampver.el: Update release number.
22048
3aaaa6f1
SM
220492011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
22050
94642599
SM
22051 * progmodes/compile.el (compilation--previous-directory): Fix up
22052 various nil/dead-marker mismatches (bug#8014).
22053 (compilation-directory-properties, compilation-error-properties):
22054 Don't call it at a position past the one we're about to change.
22055
3aaaa6f1
SM
22056 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
22057 Disable obsolescence warnings in the file that declares it.
22058
14239447
KM
220592011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
22060
099c39a4
JB
22061 * allout-widgets.el (allout-widgets-tally):
22062 Initialize allout-widgets-tally as a hash table rather than nil to
22063 prevent mode-line redisplay warnings. Also, clarify the module
22064 description and fix a comment typo.
14239447 22065
135e287c
JB
220662011-03-11 Juanma Barranquero <lekktu@gmail.com>
22067
22068 * help-fns.el (describe-variable): Don't complete keywords.
22069 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
22070
ffbf300e
CY
220712011-03-10 Chong Yidong <cyd@stupidchicken.com>
22072
ba08b241
CY
22073 * emacs-lisp/package.el (package-version-join): Impose a standard
22074 string representation for pre/alpha/beta version lists.
22075 (package-unpack-single): Standardize the directory name by passing
22076 it through package-version-join.
22077 (package-strip-rcs-id): Accept any version string that does not
22078 signal an error in version-to-list.
ffbf300e 22079
f346fd6b
MA
220802011-03-10 Michael Albinus <michael.albinus@gmx.de>
22081
22082 * simple.el (delete-trailing-whitespace): Return nil for the
22083 benefit of `write-file-functions'.
22084
ccb55d27
GM
220852011-03-10 Glenn Morris <rgm@gnu.org>
22086
5ceaac0c
GM
22087 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
22088
02da65ff
GM
22089 * vc/vc-git.el (vc-git-program): New option.
22090 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
22091 (vc-git--call): Use it.
22092
b2f603cc
GM
22093 * eshell/esh-util.el (eshell-condition-case): Doc fix.
22094
5772caab
GM
22095 * cus-edit.el (Custom-newline): If no button at point, look
22096 for a subgroup button at start-of-line. (Bug#2298)
22097
ccb55d27
GM
22098 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
22099
ec6ecaed
JD
221002011-03-10 Julien Danjou <julien@danjou.info>
22101
22102 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
22103 `cursor-type' is nil.
22104
9d5aa01d
JB
221052011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
22106
22107 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
22108
b6a5875b
KM
221092011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
22110
7a71b18d 22111 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
22112 preserves the existing header prefix, rebulleting it if necessary,
22113 rather than replacing it. This is necessary for proper operation
22114 of cooperative addons like allout-widgets.
1154d12e
JB
22115 (allout-make-topic-prefix, allout-rebullet-heading):
22116 Change SOLICIT arg to INSTEAD, and interpret additionally a string
22117 value as alternate bullet to be used, instead of prompting the user
22118 for a bullet character.
b6a5875b 22119
ee545c35
MA
221202011-03-09 Michael Albinus <michael.albinus@gmx.de>
22121
d86d2721
SM
22122 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
22123 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
22124 `tramp-default-port'.
22125
c47971d7
DD
221262011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
22127
22128 * net/rcirc.el (rcirc-handler-001): Remove useless
22129 with-rcirc-process-buffer.
22130 (rcirc-check-auth-status): Swap arguments to string-match.
22131
13522cb4
GM
221322011-03-09 Glenn Morris <rgm@gnu.org>
22133
0be6f4f1
GM
22134 * shell.el (shell-mode):
22135 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
22136
13522cb4
GM
22137 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
22138 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
22139
515de2e3
CY
221402011-03-08 Chong Yidong <cyd@stupidchicken.com>
22141
22142 * emacs-lisp/package.el (package-refresh-contents)
22143 (package-menu-execute): Use condition-case-no-debug.
22144
b511b994
MA
221452011-03-08 Michael Albinus <michael.albinus@gmx.de>
22146
22147 * simple.el (shell-command-to-string): Use `process-file'.
22148
22149 * emacs-lisp/package.el (package-tar-file-info): Handle also
22150 remote files.
22151
d86d2721
SM
22152 * emacs-lisp/package-x.el (package-upload-buffer-internal):
22153 Use `equal' for upload base check.
b511b994 22154
25bbfb31
AM
221552011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
22156
22157 * textmodes/texinfo.el (texinfo-environments):
22158 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
22159
be996521
GM
221602011-03-08 Glenn Morris <rgm@gnu.org>
22161
e9c8529f
GM
22162 * cus-start.el (cursor-in-non-selected-windows):
22163 Fix :set quoting oddness. (Bug#8192)
22164
be996521
GM
22165 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
22166 in some setf expressions. (Bug#2159)
22167
2bb5649e
CY
221682011-03-08 Chong Yidong <cyd@stupidchicken.com>
22169
22170 * custom.el (custom-available-themes): Return themes in
22171 alphabetical order.
22172
33383987 22173See ChangeLog.15 for earlier changes.
e3d51b27
MR
22174
22175;; Local Variables:
22176;; coding: utf-8
e3d51b27
MR
22177;; End:
22178
acaf905b 22179 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
22180
22181 This file is part of GNU Emacs.
22182
22183 GNU Emacs is free software: you can redistribute it and/or modify
22184 it under the terms of the GNU General Public License as published by
22185 the Free Software Foundation, either version 3 of the License, or
22186 (at your option) any later version.
22187
22188 GNU Emacs is distributed in the hope that it will be useful,
22189 but WITHOUT ANY WARRANTY; without even the implied warranty of
22190 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22191 GNU General Public License for more details.
22192
22193 You should have received a copy of the GNU General Public License
22194 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.