Move fix for cygw32 icon issue from emacs-24 branch to trunk as Stefan Monnier requests
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
2b8c9064
EZ
12012-12-10 Eli Zaretskii <eliz@gnu.org>
2
3 * subr.el (w32notify-handle-event): New function.
4 (inotify-handle-event): Doc fix.
5
81606b10
RS
62012-12-10 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
7
8 * subr.el (inotify-event-p, inotify-handle-event): New functions.
9
265c2fbf 102012-12-10 Dani Moncayo <dmoncayo@gmail.com>
6ce49f24
DM
11
12 * simple.el (just-one-space): Doc fix.
13
265c2fbf 142012-12-10 Eli Zaretskii <eliz@gnu.org>
8d43bd30
EZ
15
16 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add
17 "smallexample".
18
265c2fbf 192012-12-10 Le Wang <l26wang@gmail.com>
3a21537c
LW
20
21 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
22 narrowed buffer (bug#12361).
23
265c2fbf 242012-12-10 Juanma Barranquero <lekktu@gmail.com>
bf741d33
JB
25
26 * vc/vc-hooks.el (vc-state): Doc fix.
27
265c2fbf 282012-12-10 Glenn Morris <rgm@gnu.org>
07026166
GM
29
30 * mail/rmail.el (rmail-maybe-display-summary):
31 Preserve buffer, in case select-window changes it. (Bug#13066)
32
265c2fbf 332012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
82e1f390
SM
34
35 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
36 cl-load-hook where they belong.
37
bad162fd
SM
382012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
39
40 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
41
ca065258
EZ
422012-12-09 Eli Zaretskii <eliz@gnu.org>
43
44 Parallelize byte compilation on MS-Windows.
45 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
bad162fd 46 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
ca065258
EZ
47 (WINS_BASIC): Define as concatenation of the above.
48 (compile): Subdivide into 4 separate and independent jobs that can
49 be run in parallel.
50 (compile0-CMD, compile0-SH): New targets for compiling
51 COMPILE_FIRST files, which are prerequisites for the rest of the
52 byte-compilation.
bad162fd
SM
53 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
54 New targets for parallel compilation with cmd.exe.
ca065258
EZ
55 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
56 compiling under a Unixy shell.
57
5dea55d2
CY
582012-12-09 Chong Yidong <cyd@gnu.org>
59
60 * simple.el (set-mark-default-inactive): Delete this
61 accidentally-introduced option.
62 (set-mark-command, exchange-point-and-mark): Remove calls.
63
c6c08d3f
GM
642012-12-09 Glenn Morris <rgm@gnu.org>
65
66 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
67 Respect a defcustom's :set function, if appropriate. (Bug#109)
68 (eval-defun): Doc fix.
69
858aab4c
JL
702012-12-08 Juri Linkov <juri@jurta.org>
71
72 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
73 (Info-fontify-node, Info-bookmark-make-record): Remove the
74 file extension from Info-current-file (Bug#13016).
75
2e4ad7e5
SM
762012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
77
78 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
79 point, still provide some default.
80 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
81 names, since we don't use it right now. Actually return the list.
82 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
83
75498db0
CY
842012-12-07 Chong Yidong <cyd@gnu.org>
85
ffe7ba8f
CY
86 * novice.el (disabled-command-function): Remove a spurious help
87 xref (Bug#13043). Suggested by Kelly Dean.
88
454eb095
CY
89 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
90 syntax is specified (Bug#13025).
91
75498db0
CY
92 * info.el (Info-set-mode-line): Remove the file extension from
93 Info-current-file if there is one (Bug#13016).
94
13a40633
GM
952012-12-07 Glenn Morris <rgm@gnu.org>
96
54c8b5ba
GM
97 * mail/rmail.el (rmail-mime-decoded): New permanent local.
98 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
99 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
100 and rmail-mime-decoded. (Bug#9841)
101
13a40633
GM
102 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
103 (batch-unrmail, unrmail): Doc fixes.
104 (unrmail): Respect unrmail-mbox-format.
105 * mail/rmail.el (rmail-mbox-format): New option.
106 (rmail-show-message-1): Respect rmail-mbox-format.
107
4611a3cc
SM
1082012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
109
110 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
111
1812c724
SM
1122012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
113
338bfefa
SM
114 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
115 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
116 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
117 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
118 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
119 (cl-progv): Don't rely on dynamic scoping to find the body.
120 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
121 (cl--proclaims-deferred): Rename from the "cl-" prefix.
122 (cl-declaim): Use backquotes.
123 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
124 Use "cl--" prefix for the object's tag.
125
1812c724
SM
126 * ses.el: Use advice-add/remove.
127 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
128 (copy-region-as-kill, yank): Use advice-add.
129 (ses-unload-function): Use advice-remove.
130
24fc9480
JB
1312012-12-06 Jonas Bernoulli <jonas@bernoul.li>
132
133 * button.el: Make them work in header-lines (bug#12817).
134 (button-map): Add bindings for header-line and mode-line use.
135 (button-get, button-put, button-label): `button' may now be a string.
136 (button-activate): Don't make it a defsubst.
137 (button--area-button-p, button--area-button-string): New functions.
138 (make-text-button): Fix the return value when `beg' was a string.
139 (push-button): Handle the mode-line case.
140
853c1ffc
SM
1412012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
142
93852cb0
SM
143 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
144 (sql-signum): Remove. Use `cl-signum' instead.
145 (sql-read-passwd): Remove; use read-passwd instread.
146 (sql-get-login-ext): Use read-string.
147 (sql-get-login): Use dolist and pcase.
148 (sql--completion-table): Rename from sql-try-completion.
149 Use complete-with-action.
150 (sql-mode): Don't change abbrev-all-caps globally.
151 (sql-connect): Don't rely on dynamic scoping for `new-name'.
152 (sql-postgres-completion-object): Initialize vars in their `let'.
153 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
154 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
155 (sql-comint-interbase): Use a single append, without setq.
156 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
157
853c1ffc
SM
158 * hi-lock.el: Rework the default face and the serialize regexp code.
159 (hi-lock--auto-select-face-defaults): Remove.
160 (hi-lock-string-serialize-serial): Remove.
161 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
162 make weak.
163 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
164 equal string.
165 (hi-lock-set-pattern): Adjust accordingly.
166 (hi-lock--regexps-at-point): Simplify accordingly.
167 (hi-lock--auto-select-face-defaults): Remove.
168 (hi-lock--last-face): New var to replace it.
169 (hi-lock-read-face-name): Rewrite (bug#11095).
170 (hi-lock-unface-buffer): Arrange for the face to be the next default.
171
5504e2c7
MA
1722012-12-06 Michael Albinus <michael.albinus@gmx.de>
173
853c1ffc
SM
174 * net/tramp.el (tramp-replace-environment-variables):
175 Hide compiler warning.
5504e2c7
MA
176 (tramp-file-name-for-operation): Remove `executable-find',
177 `start-process', `call-process' and `call-process-region'.
178
853c1ffc 179 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
5504e2c7
MA
180
181 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
182 compatibility.
183
184 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
185
e1d51545
CY
1862012-12-06 Chong Yidong <cyd@gnu.org>
187
188 * ffap.el (ffap-replace-file-component): Fix typo.
189
d8ad4d3f 1902012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
ef54d315
SM
191
192 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
193 fix open-paren-like token test (bug#12785).
194
d8ad4d3f 1952012-12-06 Glenn Morris <rgm@gnu.org>
52d129cd
GM
196
197 * mail/rmailsum.el (rmail-new-summary): Tweak for
198 rmail-maybe-display-summary changing buffer. (Bug#13066)
199
d8ad4d3f 2002012-12-06 Juri Linkov <juri@jurta.org>
68bf4e09
JL
201
202 * info.el (Info-fontify-node): Don't hide the last newline.
203 (Bug#12272)
204
9ad948e2
KY
2052012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
206
207 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
208 so as to enable message-read-from-minibuffer to expand mail aliases.
209
4b5c89ee
SM
2102012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
211
212 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
213 the `intangible' property.
214 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
215
5602a53a
DD
2162012-12-05 Deniz Dogan <deniz@dogan.se>
217
218 * net/rcirc.el (rcirc-urls): Update documentation.
219 (rcirc-condition-filter): New function.
220 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
221 and exclude consecutive duplicate URLs (Bug#6082).
222
51b890ac
MA
2232012-12-05 Michael Albinus <michael.albinus@gmx.de>
224
d5f97f62
MA
225 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
226 Check return code of copy command.
227
853c1ffc
SM
228 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
229 Use group `tramp'. Add version.
51b890ac 230
04b14f2b
CY
2312012-12-05 Chong Yidong <cyd@gnu.org>
232
a3680194
CY
233 * ffap.el (ffap-url-regexp): Don't require matching at front of
234 string (Bug#4952).
235 (ffap-url-p): If only a substring matches, return that.
236 (ffap-url-at-point): Use the return value of ffap-url-p.
237 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
238 (find-file-at-point, dired-at-point, dired-at-point-prompter)
239 (ffap-guess-file-name-at-point): Likewise.
240 (ffap-replace-file-component): Fix typo.
241
04b14f2b
CY
242 * info.el (info-display-manual): Add existing Info buffers, whose
243 files may not be in Info-directory-list, to the completion.
244 (info--manual-names): New helper function.
245
49596095
GM
2462012-12-05 Glenn Morris <rgm@gnu.org>
247
248 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
249 New functions, for detecting and resolving conflicts. (Bug#10709)
250
b85aec93
J
2512012-12-04 Jambunathan K <kjambunathan@gmail.com>
252
253 * hi-lock.el (hi-lock-auto-select-face): New user variable.
254 (hi-lock-auto-select-face-defaults): New buffer local variable.
255 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
256 (hi-lock-unface-buffer): Prompt user with useful defaults.
257 With prefix arg, unhighlight all hi-lock patterns in buffer.
258
8515507f
SM
2592012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
260
261 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
262
72cebfb7
MA
2632012-12-04 Michael Albinus <michael.albinus@gmx.de>
264
265 * Makefile.in (TRAMP_SRC):
266 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
267
0ec3f7ea
JH
2682012-12-04 Juergen Hoetzel <juergen@archlinux.org>
269
270 * net/tramp-adb.el: New package.
271
770de7cf
CY
2722012-12-04 Chong Yidong <cyd@gnu.org>
273
ce3e7725
CY
274 * terminal.el: Move to obsolete/.
275
770de7cf
CY
276 * longlines.el: Move to obsolete/.
277
278 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
279 Remove code referring to longlines mode.
280
c38a186c
JL
2812012-12-03 Juri Linkov <juri@jurta.org>
282
283 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
284
329bfd64
AM
2852012-12-03 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
286
287 * textmodes/ispell.el (ispell-init-process)
475eea6f
AM
288 (ispell-start-process, ispell-internal-change-dictionary):
289 Make sure personal dictionary name is expanded after initial
290 `default-directory' value. Use expanded strings for
291 keep/restart checks and for value (Bug#13019).
329bfd64 292
77a74935
JB
2932012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
294
295 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
296
c5bc2d1d 2972012-12-03 Leo Liu <sdl.web@gmail.com>
ff3d86d0
LL
298
299 * files.el (dir-locals-read-from-file): Check file non-empty
300 before reading. (Bug#13038)
301
c5bc2d1d 3022012-12-03 Glenn Morris <rgm@gnu.org>
6247eff5
GM
303
304 * jka-cmpr-hook.el (jka-compr-get-compression-info):
305 Remove any version extension before checking filename. (Bug#13006)
306 (jka-compr-compression-info-list): Belated :version bump.
307
c5bc2d1d 3082012-12-03 Chong Yidong <cyd@gnu.org>
a5bf43ba 309
8ecba97d
CY
310 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
311
a5bf43ba
CY
312 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
313 (buffer-menu): Doc fix (Bug#12294).
314
c5bc2d1d 3152012-12-03 Roland Winkler <winkler@gnu.org>
34755291
RW
316
317 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
318 of diary-show-all-entries in the diary buffer (Bug#12994).
319
c5bc2d1d 3202012-12-03 Michael Albinus <michael.albinus@gmx.de>
c2f5b60a
MA
321
322 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
323 "<STDIN>". This is binary safe.
324
682ceaf8
JB
3252012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
326
327 * calc/calc-forms.el (math-absolute-from-iso-dt)
328 (math-date-to-iso-dt, math-parse-iso-date-validate)
329 (math-iso-dt-to-date): New functions.
330 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
331 (math-fd-isoweekday): New variables.
332 (calc-date-notation, math-parse-standard-date, math-format-date)
333 (math-format-date-part): Add support for more formatting codes.
334
db47d5e9
DG
3352012-12-02 Dmitry Gutov <dgutov@yandex.ru>
336
337 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
338 current buffer's file name when called interactively (Bug#12488).
339
3faf4944
JL
3402012-12-02 Juri Linkov <juri@jurta.org>
341
342 * info.el (info-display-manual): Don't clobber an existing Info
010db6da 343 buffer (Bug#10770). Add completion (Bug#10771).
3faf4944 344
cb5d51dc
YN
3452012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
346
347 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
348 before using it for comparison (Bug#5297).
349
f38cd76e
JA
3502012-12-01 Jari Aalto <jari.aalto@cante.net>
351
352 * textmodes/css-mode.el (css-current-defun-name): New function.
353 (css-mode): Use it.
354
355 * textmodes/sgml-mode.el (html-current-defun-name): New function.
356 (html-mode): Use it.
357
ba03d0d9
CY
3582012-12-01 Chong Yidong <cyd@gnu.org>
359
360 Modularize add-log-current-defun (Bug#2224).
361 Suggested by Jari Aalto.
362
363 * vc/add-log.el (add-log-current-defun-function): Doc fix.
364 (add-log-current-defun): Move mode-specific code to other files.
365 (add-log-lisp-like-modes, add-log-c-like-modes)
366 (add-log-tex-like-modes): Variables deleted.
367
368 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
369 (lisp-mode-variables): Use it.
370
371 * progmodes/cc-mode.el (c-common-init):
372 * progmodes/cperl-mode.el (cperl-mode): Set a value for
373 add-log-current-defun-function.
374
375 * progmodes/m4-mode.el (m4-current-defun-name): New function.
376 (m4-mode): Use it.
377
378 * progmodes/perl-mode.el (perl-current-defun-name): New.
379 (perl-mode): Use it.
380
853c1ffc
SM
381 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
382 Use lisp-current-defun-name.
ba03d0d9
CY
383
384 * textmodes/tex-mode.el (tex-current-defun-name): New.
385 (tex-common-initialization): Use it.
386
387 * textmodes/texinfo.el (texinfo-current-defun-name): New.
388 (texinfo-mode): Use it.
389
92eadba5
CY
3902012-12-01 Chong Yidong <cyd@gnu.org>
391
392 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
393 * progmodes/autoconf.el (autoconf-mode):
394 * progmodes/js.el (js-mode):
395 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
396 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
397 * progmodes/perl-mode.el (perl-mode):
398 * progmodes/sh-script.el (sh-mode, sh-set-shell):
399 * textmodes/css-mode.el (css-mode):
400 * textmodes/sgml-mode.el (html-mode, sgml-mode)
401 (sgml-tags-invisible, sgml-guess-indent):
402 * textmodes/tex-mode.el (tex-common-initialization)
403 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
404 (doctex-mode, plain-tex-mode, latex-mode):
405 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
406
3ddbf803
KK
4072012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
408
409 * vc/vc-hg.el (vc-hg-next-revision):
410 Ensure use of default "tip" output format. (Bug#6968)
411
f0b6ae63
KS
4122012-12-01 Kim F. Storm <storm@cua.dk>
413
414 * startup.el (fancy-startup-tail): Add a clickable link
415 (Bug#2176).
416
c01bf73e
CY
4172012-12-01 Chong Yidong <cyd@gnu.org>
418
419 * startup.el (fancy-startup-tail): Improve the message about
420 auto-save files (Bug#2176).
421
f0b6ae63
KS
422 * files.el (recover-session): Improve the descriptive message, and
423 use substitute-command-keys.
424
a9400458
GM
4252012-12-01 Glenn Morris <rgm@gnu.org>
426
427 * ido.el (ido-file-internal):
428 Handle other-window, other-frame for dired. (Bug#13036)
429
fb3bf6ce
GM
4302012-11-30 Glenn Morris <rgm@gnu.org>
431
432 * icomplete.el (icomplete-separator): Fix :version.
433
a813fe3f
CY
4342012-11-30 Chong Yidong <cyd@gnu.org>
435
436 * shell.el (shell): For C-u M-x shell, use an inactive shell
437 buffer as the default (Bug#1975).
276479fd
CY
438 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
439 (shell-mode): Use them to reapply ansi colorization if Shell mode
440 is re-enabled.
a813fe3f 441
a8b733a5
CY
4422012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
443
444 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
445
6fccd6e8
SB
4462012-11-30 Samuel Bronson <naesten@gmail.com>
447
448 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
449 flag to xargs, for compatibility with BSD xargs (Bug#11703).
450
53c9a337
TT
4512012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
452
453 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
454 by move-to-column (Bug#3234).
455
ccf520bb
CY
4562012-11-30 Chong Yidong <cyd@gnu.org>
457
458 * longlines.el (longlines-wrap-line, longlines-encode-region):
459 Preserve text properties (Bug#1425).
460
171b0949
OT
4612012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
462
463 * vc/vc.el (vc-register): Allow registering a file which is
464 already registered with a different backend (Bug#10589).
465
cc37e70f
J
4662012-11-29 Jambunathan K <kjambunathan@gmail.com>
467 Stefan Monnier <monnier@iro.umontreal.ca>
468
469 * icomplete.el: Change separator; add ido-style commands.
470 (icomplete-show-key-bindings): Remove custom var.
471 (icomplete-get-keys): Remove function.
472 (icomplete-forward-completions, icomplete-backward-completions):
473 New commands.
474 (icomplete-minibuffer-map): New var.
475 (icomplete-minibuffer-setup): Use it.
476 (icomplete-exhibit): Don't delay if the list of completions is known.
477 (icomplete-separator): New custom.
478 (icomplete-completions): Use it.
479 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
480 (minibuffer-force-complete-and-exit): New command.
481 (minibuffer--complete-and-exit): New function extracted from
482 minibuffer-complete-and-exit.
483 (minibuffer-complete-and-exit): Use it.
83e12fe0
SM
484
485 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
486 error message when the file doesn't exist (bug#12974).
487
31646597
KD
4882012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
489
490 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
491
e9df8f87
GM
4922012-11-29 Glenn Morris <rgm@gnu.org>
493
824eefe4
GM
494 * files.el (hack-dir-local-variables): Warn if try to set
495 coding via dir-locals, since it doesn't work. (Bug#7169)
496
4ad900d9
GM
497 Add desktop support for restoring vc-dir buffers. (Bug#10606)
498 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
499 Set buffer-local value of desktop-save-buffer.
500 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
501 New functions.
502 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
503 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
504
e9df8f87
GM
505 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
506 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
507 Doc fix.
508 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
509 Doc fixes.
510
e7c8fcc4
JB
5112012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
512
513 * calc/calc-forms.el (calc-date-notation): Fix regexp
514 used to find time codes. Fix symbol for seconds.
515
48d6d9c0
GM
5162012-11-27 Glenn Morris <rgm@gnu.org>
517
518 * emacs-lisp/derived.el (derived-mode-make-docstring):
519 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
520
369f945d
SM
5212012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
522
523 * textmodes/table.el (table-insert): Don't use `symbol-name' on
524 lexically scoped variables (bug#13005).
525
5c9cf0a3 5262012-11-27 Glenn Morris <rgm@gnu.org>
98f99594 527
999e745e
GM
528 * vc/vc-hooks.el (vc-mistrust-permissions):
529 Default to t, to avoid data-loss. (Bug#11490)
98f99594 530
5c9cf0a3 5312012-11-27 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
207cb73c 532
999e745e
GM
533 * progmodes/python.el (python-indent-guess-indent-offset):
534 If indentation is guessed make python-indent-offset buffer-local.
535
207cb73c 536 Fix Imenu regression.
999e745e
GM
537 * progmodes/python.el (python-nav-beginning-of-defun):
538 Fix forward movement when statement(s) separates point from defun.
207cb73c
FEG
539 (python-imenu-prev-index-position): New function.
540
5c9cf0a3 5412012-11-27 Eli Zaretskii <eliz@gnu.org>
33a488e4
EZ
542
543 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
544
545 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
865f7d8f 546 Don't set buffer-file-type. Return nil. (Bug#12989)
33a488e4 547
5c9cf0a3 5482012-11-27 Glenn Morris <rgm@gnu.org>
50207191
GM
549
550 * hippie-exp.el (hippie-expand-try-functions-list):
551 Re-autoload it. (Bug#12982)
552
5c9cf0a3 5532012-11-27 Eli Zaretskii <eliz@gnu.org>
2147c6ab 554
369f945d
SM
555 * descr-text.el (describe-char-padded-string):
556 Call internal-char-font only on GUI frames. (Bug#11964)
2147c6ab 557
5c9cf0a3 5582012-11-27 Andreas Schwab <schwab@linux-m68k.org>
58b1ae1e
AS
559
560 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
561 and obsoletion message.
562
5c9cf0a3 5632012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
35a10516
SM
564
565 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
566 the constructs to keep outside of the `cl-block' (bug#12977).
567
5c9cf0a3 5682012-11-27 Chong Yidong <cyd@gnu.org>
0c5ef133
CY
569
570 * mouse.el (mouse-drag-line): Even if the line is not draggable,
571 keep reading until we get the up-event anyway, in order to process
572 the up-event for mouse-1-click-follows-link (Bug#12971).
573
848a2dd1
SM
5742012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
575
576 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
577 base function is not yet defined (bug#12965).
578 (ad-activate-advised-definition): Use ad-compile-function.
579 (ad-activate): Use cond.
580
9ad79506
LL
5812012-11-25 Leo Liu <sdl.web@gmail.com>
582
583 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
584 (Bug#12979)
585
e2cb57f5
VB
5862012-11-24 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
587
588 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
589 reftex-section-info-function in order to be compatible with
590 Texinfo integration.
591
592 * textmodes/reftex.el (reftex-section-pre-regexp)
848a2dd1
SM
593 (reftex-section-post-regexp, reftex-section-info-function):
594 New variable.
595 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
596 reftex-section-post-regexp, and reftex-section-info-function in order
597 to be compatible with Texinfo integration.
598
599 * textmodes/reftex-toc.el (reftex-toc-promote-action):
600 use reftex-section-pre-regexp variable in order to be compatible with
e2cb57f5
VB
601 Texinfo integration.
602
1c4f115d
CY
6032012-11-25 Chong Yidong <cyd@gnu.org>
604
605 * faces.el: Make face-spec-set more analogous to setq.
606 (face-spec-set): Change the third arg to specify whether this
607 function is being called via defface, customize, or a third party.
608 Set the appropriate symbol properties. Clear the override spec if
609 setting via Custom. Initialize face if necessary. (Bug#4988)
610 (face-spec-recalc): Allow theme faces to completely replace the
611 defface spec, in the same way as custom faces (Bug#8454).
612
613 * cus-face.el (custom-declare-face): Move face initialization to
614 face-spec-set.
615 (custom-theme-set-faces): Don't initialize the face name here, as
616 that is now done in face-spec-set.
617
618 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
619 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
620 Simplify by using the new arg to face-spec-set.
621
622 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
623 reset face-override-spec too, and use custom-declare-face.
624
c2350548
JD
6252012-11-24 Jan Djärv <jan.h.d@swipnet.se>
626
627 * term/ns-win.el (ns-initialize-window-system): Move creation of
628 fontsets here (Bug#11964).
629
ecfc364c
VB
6302012-11-24 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
631
632 * ses.el (ses-rename-cell): Correct bug on mode-line update after
633 cell renaming.
634
0917cc54
CY
6352012-11-24 Chong Yidong <cyd@gnu.org>
636
433212bf
CY
637 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
638 obsolete.
639
0917cc54
CY
640 * custom.el (custom-theme-set-variables): Use a topological sort
641 for ordering by custom dependencies (Bug#12952).
642 (custom--sort-vars, custom--sort-vars-1): New functions.
643
d125ca15 6442012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
002c019c
SM
645
646 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
647 lexical-binding (bug#12938).
648
d125ca15 6492012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
977f9325
WJ
650
651 * image-mode.el (image-transform-check-size): Use assertions only
652 for images of type imagemagick.
653
654 Otherwise no error, image-transform-fit-to-{width,height} is
655 silently ignored, as before. Doc fix.
656
d125ca15 6572012-11-24 Chong Yidong <cyd@gnu.org>
bccffa83
CY
658
659 * faces.el (color-defined-p): Doc fix (Bug#12853).
660
d125ca15 6612012-11-24 Juri Linkov <juri@jurta.org>
61a2a122
JL
662
663 * dired.el (dired-mark): Add optional arg `interactive'.
664 Check for `use-region-p' if `interactive' is non-nil.
665 (dired-unmark, dired-flag-file-deletion): Add optional arg
666 `interactive'. Call `dired-mark' with the arg `interactive'.
667 (Bug#10624)
668
cc4c01bd
JL
669 * wdired.el: Revert 2012-10-17 change partly and replace it with
670 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
671 (wdired-finish-edit): Add marks for new file names to
672 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
673 after `revert-buffer'.
674 (wdired-do-renames): Remove calls to `dired-remove-file',
675 `dired-add-file', `dired-add-entry'. (Bug#11795)
676
d125ca15 6772012-11-24 Alan Mackenzie <acm@muc.de>
b03aabda 678
dc310ed0
AM
679 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
680
b03aabda
AM
681 Fix bugs in the state cache. Enhance a debugging mechanism.
682 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
683 "brace at column zero" strategy for C++.
684 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
685 (c-parse-state-point): New variable.
686 (c-record-parse-state-state): Record old parse state with
687 `copy-tree'. Record previous value of point.
688 (c-debug-parse-state-double-cons): New debugging function.
689 (c-debug-parse-state): Call the above new function.
690 (c-toggle-parse-state-debug): Output a confirmatory message.
691
002c019c
SM
692 * progmodes/cc-mode.el (c-before-change, c-after-change):
693 Call c-invalidate-state-cache from `c-before-change' instead of
b03aabda
AM
694 `c-after-change'.
695
930a6273
CY
6962012-11-23 Chong Yidong <cyd@gnu.org>
697
698 * find-cmd.el (find-constituents): Add executable, ipath,
699 readable, samefile, writable, daystart, regextype (Bug#12856).
700
15c9d04e
SM
7012012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
702
703 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
704
2ecb2679
PE
7052012-11-22 Paul Eggert <eggert@cs.ucla.edu>
706
707 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
708 definition. This fixes a bootstrap failure.
a14a5a40
PE
709 (calc-gregorian-switch): In menu, put dates before regions.
710 This is easier to follow, lines up better in the menu, and lets us
711 coalesce regions that switch at the same time. Give country
15c9d04e
SM
712 names, not "Vatican", as that's better for non-expert users.
713 Use names that are stable between the date of switch and now, e.g.,
a14a5a40
PE
714 Bohemia and Moravia (which existed then and now) and not
715 Czechoslovakia (which didn't exist then and doesn't exist now).
716 What is now the U.S. mostly did not switch at the same time as
717 Britain, so omit the U.S. Correct spelling of "Britain".
718 Catholic Switzerland was too much of a mess, so omit it.
2ecb2679 719
723da6aa
JB
7202012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
721
722 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
723 after the variable is changed.
724
21fa2482
DC
7252012-11-21 Daniel Colascione <dancol@dancol.org>
726
727 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
b6096e85
DC
728 in SQL declarations for font-lock.
729 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
21fa2482 730
3ca2f1bf
GM
7312012-11-21 Glenn Morris <rgm@gnu.org>
732
1bf335cf
GM
733 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
734 (face-italic-p): Add optional argument "inherit".
735
3ca2f1bf
GM
736 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
737 Remove -p suffix from names, for consistency with other set-face-*.
738 (set-face-inverse-video): Fix interactive spec.
739 * play/gamegrid.el (gamegrid-make-mono-tty-face):
740 * textmodes/table.el (table--update-cell-face):
741 Use set-face-inverse-video rather than now obsolete alias.
742
6ef2e5ef 7432012-11-21 Eli Zaretskii <eliz@gnu.org>
7cf95797
EZ
744
745 * simple.el (line-move): Don't call line-move-partial if
746 scroll-conservatively is in effect. (Bug#12927)
747
6ef2e5ef 7482012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
63f25172 749
93b05041
SM
750 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
751 Fallback on completion-at-point rather than
752 pcomplete-expand-and-complete, and only if pcomplete actually failed.
753 (eshell-cmpl-initialize): Setup completion-at-point.
754
755 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
756
bc715d67
SM
757 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
758
6ef2e5ef 7592012-11-21 Michael Albinus <michael.albinus@gmx.de>
d7f2a65c
MA
760
761 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
762 are remote, check out-of-band property for both.
763
6ef2e5ef 7642012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
d1c0cddf
SM
765
766 * window.el (switch-to-buffer): Re-add the warning that was lost in the
767 code rewrite.
768
6ef2e5ef 7692012-11-21 Paul Eggert <eggert@cs.ucla.edu>
0c93aa38 770
535efd4a
PE
771 More minor time fixes.
772 * calendar/time-date.el: Commentary fix.
773 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
774 too much other code depends on (0 0) time stamps.
775 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
776 Add a couple of FIXME comments.
777
0c93aa38
PE
778 Minor cleanup for times as lists of four integers.
779 * files.el (dir-locals-directory-cache):
780 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
781 Doc fixes.
782 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
783 * ps-bdf.el (bdf-file-newer-than-time):
784 Process four-integers time stamps, not two. Doc fixes.
785
23ba2705
SM
7862012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
787
2e31777b
SM
788 * uniquify.el (uniquify-managed): Use defvar-local.
789 (rename-buffer, create-file-buffer): Advise with advice-add.
790 (uniquify-unload-function): Unadvise accordingly.
791
8b62d742
SM
792 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
793 (trace-buffer): Don't purecopy.
794 (trace-entry-message, trace-exit-message): Add `context' arg.
795 (trace--timer): New var.
796 (trace-make-advice): Adjust for use in nadvice.
797 Add `context' argument. Delay `display-buffer' via a timer.
798 (trace-function-internal): Use advice-add.
799 (trace--read-args): New function.
800 (trace-function-foreground, trace-function-background): Use it.
801 (trace-function): Rename to trace-function-foreground and redefine as
802 an alias to that new name.
803 (untrace-function, untrace-all): Adjust to the use of nadvice.
804
5d0ccd95
SM
805 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
806
3837d988
SM
807 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
808
23ba2705
SM
809 * subr.el (called-interactively-p-functions): New var.
810 (internal--called-interactively-p--get-frame): New macro.
811 (called-interactively-p, interactive-p): Rewrite in Lisp.
812 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
813 (called-interactively-p-functions): Use it.
814 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
815 (called-interactively-p-functions): Use it.
816 * allout.el (allout-called-interactively-p): Don't assume
817 called-interactively-p is a subr.
818
b0636be7
GM
8192012-11-20 Glenn Morris <rgm@gnu.org>
820
821 * profiler.el (profiler-report-mode-map): Add a menu.
822 No need to bind `q' because we derive from special-mode.
823 (profiler-report-find-entry): Handle calls from the menu-bar.
824
855b17af
SM
8252012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
826
14146222
SM
827 * emacs-lisp/byte-run.el (defun-declarations-alist):
828 Allow a compiler-macro to be a lambda expression.
829
830 * progmodes/python.el: Use cl-lib. Move var declarations outside of
831 eval-when-compile.
832 (python-syntax-context): Add compiler-macro.
833 (python-font-lock-keywords): Simplify with De Morgan.
834
1000d895
SM
835 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
836
ac5392dc
SM
837 * files.el (load-file): Require match in minibuffer selection, as was
838 the case in Emacs-20 before we changed the spec to allow .elc files
839 (bug#12935).
840
19dc7206
SM
841 * json.el: Don't require cl since we don't use it.
842 * color.el: Don't require cl.
843 (color-complement): `caddr' -> `nth 2'.
844
855b17af
SM
845 * calendar/time-date.el (time-to-seconds): De-obsolete.
846
e8909bdc
JB
8472012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
848
849 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
850 year numbers.
851 (math-date-to-julian-dt): Adjust the initial approximation for the
852 year to deal with the new definition of the DATE.
853
6e9f7997
DC
8542012-11-19 Daniel Colascione <dancol@dancol.org>
855
855b17af
SM
856 * term/w32-win.el (cygwin-convert-path-from-windows):
857 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
6e9f7997 858
6a3dd257
CY
8592012-11-18 Chong Yidong <cyd@gnu.org>
860
861 * filecache.el (file-cache--read-list): New function.
862 (file-cache-add-directory-list, file-cache-add-file-list)
863 (file-cache-delete-file-list, file-cache-delete-directory-list):
864 Use it to read a list of files or directories (Bug#12846).
865 (file-cache-add-file, file-cache-add-directory)
866 (file-cache-delete-file-list, file-cache-delete-file-regexp)
867 (file-cache-delete-directory): Print an message.
868
eef97f35
JB
8692012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
870
871 * calc/calc-forms.el (math-date-to-dt): Use integer date when
872 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
873
913c8291
GM
8742012-11-18 Glenn Morris <rgm@gnu.org>
875
876 * image.el (insert-image, insert-sliced-image): Doc fix.
877
2ac9538d 8782012-11-18 Chong Yidong <cyd@gnu.org>
ec6f8ce6
CY
879
880 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
881 (Bug#12810).
882
2ac9538d 8832012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
c2d07557
CY
884
885 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
886 response when the target file is in a subdirectory (Bug#12757).
887
2ac9538d 8882012-11-18 Chong Yidong <cyd@gnu.org>
33f8917c
CY
889
890 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
891
2ac9538d 8922012-11-18 Glenn Morris <rgm@gnu.org>
65463c40 893
9a5e2ee3
GM
894 * emacs-lisp/cl-lib.el (face-underline-p):
895 Use set-face-underline rather than the alias set-face-underline-p.
896
65463c40 897 * window.el (with-temp-buffer-window): Doc fix.
95f0501e
GM
898 * subr.el (with-output-to-temp-buffer):
899 Add doc xref to with-temp-buffer-window.
65463c40 900
c9ed8e3d
JB
9012012-11-18 Juanma Barranquero <lekktu@gmail.com>
902
903 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
904 * calc/calc.el (math-format-date-cache): Declare.
905
310e60d9
PE
9062012-11-17 Paul Eggert <eggert@cs.ucla.edu>
907
6f6b82d6
PE
908 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
909 It also uses January 1, 1 AD as its day number 1.
310e60d9 910 * calc/calc-forms.el (math-julian-date-beginning)
6f6b82d6 911 (math-julian-date-beginning-int): Implement this.
310e60d9 912
d7fe6352
JB
9132012-11-17 Juanma Barranquero <lekktu@gmail.com>
914
915 * descr-text.el (quail-find-key):
916 * dired.el (desktop-file-name):
917 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
918 * generic-x.el (comint-mode, comint-exec):
919 * image-dired.el (widget-forward):
920 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
921 (speedbar-change-expand-button-char)
922 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
923 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
924 * printing.el (easy-menu-add-item, easy-menu-remove-item)
925 (widget-field-action, widget-value-set):
926 * speedbar.el (imenu--make-index-alist):
927 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
928 (ring-length, ring-insert):
929 * vcursor.el (compare-windows-skip-whitespace):
930 * woman.el (dired-get-filename):
931 Declare functions.
932
933 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
934
c9f618db
JB
9352012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
936
937 * calc/calc.el (calc-gregorian-switch): New variable.
938
939 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
940 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
941 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
942 (math-leap-year-p): Add option to distinguish between Julian
943 and Gregorian calendars.
944 (math-day-number): Use `math-day-in-year' to do the computations.
945 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
946 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
947 to do the computations.
948 (math-date-to-dt): Use `math-date-to-julian-dt' and
949 `math-date-to-gregorian-dt' to do the computations.
950 (calcFunc-weekday, math-format-date-part): Use the new version of
951 the DATE to determine the weekday.
952 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
953 when necessary.
954
3804f7bc
EZ
9552012-11-17 Eli Zaretskii <eliz@gnu.org>
956
957 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
958 Cygwin; otherwise use 'file:'. (Bug#12914)
959 (cygwin-convert-path-from-windows): Declare, to avoid
960 byte-compiler warnings.
961
de959d4d
AP
9622012-11-17 Andreas Politz <politza@fh-trier.de>
963
964 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
965 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
966 prefix and negative numeric prefix args (Bug#12795).
967
e45deaef
SB
9682012-11-17 Stephen Berman <stephen.berman@gmx.net>
969
970 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
971 Don't signal an error with a score that is too low to add to the
972 list of top scores. (Bug#12779)
973
ec15e0ff
CY
9742012-11-17 Chong Yidong <cyd@gnu.org>
975
8e7696a1
CY
976 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
977
ec15e0ff
CY
978 * filecache.el (file-cache-add-file): Handle relative file name in
979 the argument (Bug#12694).
980
60c4ee66
JH
9812012-11-16 JĂ¼rgen Hötzel <juergen@archlinux.org> (tiny change)
982
983 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
984
cdc5d88c
SM
9852012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
986
dd0c5bbb
SM
987 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
988
cdc5d88c
SM
989 * emacs-lisp/cl-lib.el: Set more meaningful version number.
990
0ff7851c
MR
9912012-11-16 Martin Rudalics <rudalics@gmx.at>
992
993 * window.el (enlarge-window, shrink-window): Don't mention return
994 value in doc-string (Bug#12896).
995 (window--display-buffer): Don't resize frames - it won't work
996 with all window managers and defeat pop-up-frame-alist.
997 (display-buffer-alist): In doc-string explain that CONDITION can
998 be a function and which arguments are passed to it (Bug#12854).
999 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
1000 expressions (Bug#12854).
1001 (display-buffer): Pass ACTION argument to
1002 display-buffer-assq-regexp.
1003
dedd1884
GM
10042012-11-16 Glenn Morris <rgm@gnu.org>
1005
7c82753d
GM
1006 * window.el (fit-frame-to-buffer-bottom-margin)
1007 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
1008
dedd1884
GM
1009 * faces.el (face-underline-p): Use face-attribute-specified-or.
1010
96e05507 10112012-11-16 Juanma Barranquero <lekktu@gmail.com>
662b0ee6
JB
1012
1013 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
1014
96e05507 10152012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
eb31fa40
SM
1016
1017 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
1018
96e05507 10192012-11-16 Glenn Morris <rgm@gnu.org>
e2e13f18 1020
17c083ac
GM
1021 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
1022 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
1023
bde3c6c0
GM
1024 * faces.el (face-underline-p): Doc fix. Handle :underline being
1025 things other than `t' (a string, a list).
1026 (face-inverse-video-p): Doc fix.
1027 (set-face-underline): Rename it back from set-face-underline-p.
1028 Doc fix. Allow interactive input of values other than t.
1029 (read-face-attribute): Apply formatting to :underline,
1030 since like :box and :stipple it can take list values.
1031
e2e13f18
GM
1032 * term.el (ansi-term): Don't let C-x escape-char binding
1033 clobber the more standard C-c binding. (Bug#12842)
1034
e0ea8060
GM
1035 * subr.el (set-temporary-overlay-map): Doc fix.
1036
96e05507 10372012-11-16 Martin Rudalics <rudalics@gmx.at>
92346275
MR
1038
1039 * window.el (record-window-buffer)
1040 (display-buffer-record-window): When copying the markers to
1041 window-point preserve window-point-insertion-type. (Bug#12588)
1042
96e05507 10432012-11-16 Glenn Morris <rgm@gnu.org>
7b1bf173
GM
1044
1045 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
1046 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
1047 Use new names for hooks rather than obsolete aliases.
1048
faeafc01
DC
10492012-11-15 Daniel Colascione <dancol@dancol.org>
1050
1051 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
9533048d
DC
1052 prefix instead of "file:" so that when FILE-NAME begins with "//",
1053 as it does when the target file is on a network share, url-handler
1054 isn't confused.
1055
1232d6c2
SM
10562012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
1057
1058 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
1059 a preactivated advice from an old advice.el; they're not compatible!
1060
47f01a8a
KY
10612012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
1062
1063 * emacs-lisp/nadvice.el (advice--make-interactive-form):
1064 Fix string-spec case.
1065
1066 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
1067
a61428c4
SM
10682012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
1069
1070 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
1071 (advice--buffer-local-function-sample): New var.
1072 (advice--set-buffer-local, advice--buffer-local): New functions.
1073 (add-function, remove-function): Use them.
1074
875ce3a7
DA
10752012-11-15 Drew Adams <drew.adams@oracle.com>
1076
1077 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
1078
589fc479
SM
10792012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
1080
1081 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
1082 potential binding of print-gensym to t, and prettify (back)quotes in
1083 case they appear in args's default values (bug#12884).
1084
1668ea90
SM
10852012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1086
1087 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
1088 (advice-eval-interactive-spec): New function.
1089 (advice--make-interactive-form): Support around advice (bug#12844).
1090
8619323f
DG
10912012-11-14 Dmitry Gutov <dgutov@yandex.ru>
1092
1093 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
1094 more strict. Add docstring.
c62792e7
DG
1095 (ruby-expression-expansion-re): Extract from
1096 `ruby-match-expression-expansion'.
1097 (ruby-syntax-propertize-function): After everything else, search
1098 for expansions in string literals, mark their insides as
1099 whitespace syntax and save match data for font-lock.
1100 (ruby-font-lock-keywords): Use the 2nd group from expression
1101 expansion matches.
1102 (ruby-match-expression-expansion): Use the match data saved to the
1103 text property in ruby-syntax-propertize-function.
8619323f 1104
9c3912d3
SM
11052012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1106
1107 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
1108 (bug#12879).
1109
5e9419e8
DG
11102012-11-13 Dmitry Gutov <dgutov@yandex.ru>
1111
1112 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
1113 start/end keyword a bit harder. Works with different values of N.
1114 Add more comments.
1115 (ruby-end-of-block): Update accordingly.
1116
3c442f8b
SM
11172012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
1118
fa470af0
SM
1119 * woman.el (woman-file-name): Don't mess with unread-command-events
1120 (bug#12861).
1121
3c442f8b
SM
1122 * emacs-lisp/advice.el: Layer on top of nadvice.el.
1123 Remove out of date self-require hack.
1124 (ad-do-advised-functions): Use simple `dolist'.
1125 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
1126 (ad-advice-definition): Redefine as functions.
1127 (ad-advice-classes): Move before first use.
1128 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
fa470af0 1129 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
3c442f8b 1130 (ad--defalias-fset): Remove functions.
fa470af0 1131 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
3c442f8b
SM
1132 (ad-get-orig-definition): Rewrite.
1133 (ad-make-advised-definition-docstring): Change base docstring.
1134 (ad-real-orig-definition): Rewrite.
1135 (ad-map-arglists): Change name of called function.
1136 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
1137 (ad-make-advised-definition): Simplify.
1138 (ad-assemble-advised-definition): Tweak for new calling context.
fa470af0 1139 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
3c442f8b
SM
1140 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
1141 function and call ad-activate if needed.
1142 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
1143 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
1144 (ad-compile-function): Compile ad-Advice-*.
1145 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
1146 (ad-start-advice, ad-stop-advice): Remove.
1147
5745cae6
DG
11482012-11-13 Dmitry Gutov <dgutov@yandex.ru>
1149
1150 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
1151 period before class method names, not after. Remove handling of
1152 one impossible case. Add comments.
1153
413d4689
SM
11542012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
1155
7db1bda8
SM
1156 * emacs-lisp/advice.el: Remove support for freezing.
1157 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
1158 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
1159 Remove support for `freeze'.
1160
413d4689
SM
1161 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
1162 override the default.
1163 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
1164 cl--dotimes/dolist.
1165 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
1166 `cl' is loaded.
1167
1168 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
1169 from add-advice.
1170 (advice--strip-macro): New function.
1171 (advice--defalias-fset): Use them to handle macros.
1172 (advice-add): Use them.
1173 (advice-member-p): Correctly handle macros.
1174
f178c32d
DG
11752012-11-13 Dmitry Gutov <dgutov@yandex.ru>
1176
7db1bda8
SM
1177 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1178 Never font-lock the beginning of singleton class as heredoc.
f178c32d 1179
f78ee6af 11802012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
f8705f6e
SM
1181
1182 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
1183
f78ee6af 11842012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
9db94175
WJ
1185
1186 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
f78ee6af
GM
1187 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
1188 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
9db94175 1189
f78ee6af 11902012-11-13 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
2e6625b5
FEG
1191
1192 Fix end-of-defun misbehavior.
1193 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
1194 python-beginning-of-defun-function. Handle nested defuns
1195 correctly.
1196 (python-nav-end-of-defun): Rename from
1197 python-end-of-defun-function. Ensure forward movement.
f8705f6e 1198 (python-info-current-defun): Reimplement to work as intended
2e6625b5
FEG
1199 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
1200 parent defuns as soon as possible.
1201
f78ee6af 12022012-11-13 Glenn Morris <rgm@gnu.org>
24c38527
GM
1203
1204 * progmodes/flymake.el (flymake-error-bitmap)
1205 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
1206 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
1207
f78ee6af 12082012-11-13 Dmitry Gutov <dgutov@yandex.ru>
d1e1e53d
DG
1209
1210 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
1211 backward, always stop at indentation. Reverts the change from
1212 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
1213
f78ee6af 12142012-11-13 Glenn Morris <rgm@gnu.org>
68146aa5 1215
a1d3e07e
GM
1216 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
1217 Add ibuffer-filter-by-derived-mode.
1218
84acf328
GM
1219 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
1220 the same name shadowing each other.
1221
38785e75
GM
1222 * window.el (with-temp-buffer-window): Doc tweak.
1223
57fc0fee
GM
1224 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
1225
6ba6a3e5
GM
1226 * help.el (temp-buffer-max-height):
1227 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
68146aa5
GM
1228 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
1229
231d8498
SM
12302012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
1231
1232 * emacs-lisp/nadvice.el: New package.
1233 * subr.el (special-form-p): New function.
1234 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
1235 (elp-all-instrumented-list): Remove var.
1236 (elp-not-profilable): Remove elp-wrapper.
1237 (elp-profilable-p): Use autoloadp and special-form-p.
1238 (elp--advice-name): New const.
1239 (elp-instrument-function): Use advice-add.
1240 (elp--instrumented-p): New predicate.
1241 (elp-restore-function): Use advice-remove.
1242 (elp-restore-all, elp-reset-all): Use mapatoms.
1243 (elp-set-master): Use elp--instrumented-p.
1244 (elp--make-wrapper): Rename from elp-wrapper, return a function
1245 suitable for advice-add. Use cl-inf.
1246 (elp-results): Use mapatoms+elp--instrumented-p.
1247 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
1248 (debug-function-list): Remove var.
1249 (debug): Rename arg, and then let-bind it explicitly inside.
1250 (debugger-setup-buffer): Rename arg.
1251 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
1252 (debugger-frame-number): Adjust to new debug-on-entry setup.
1253 (debug--implement-debug-on-entry): Rename from
1254 implement-debug-on-entry, add argument.
1255 (debugger-special-form-p): Remove, use special-form-p instead.
1256 (debug-on-entry): Use advice-add.
1257 (debug--function-list): New function.
1258 (cancel-debug-on-entry): Use it, along with advice-remove.
1259 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
1260 (debugger-list-functions): Use debug--function-list instead of
1261 debug-function-list.
1262 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
1263 (ad-special-form-p): Remove, use special-form-p instead.
1264 (ad-set-advice-info): Use add-function and remove-function.
1265 (ad--defalias-fset): Adjust accordingly.
1266
19e09879
GM
12672012-11-10 Glenn Morris <rgm@gnu.org>
1268
714cebd1
GM
1269 * mail/emacsbug.el (report-emacs-bug-tracker-url)
1270 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
1271 (report-emacs-bug-create-existing-bugs-buffer)
1272 (report-emacs-bug-parse-query-results)
1273 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
1274
bf67dafa
GM
1275 * term.el (term-default-fg-color, term-default-bg-color):
1276 Make obsolete, rather than just saying "deprecated" in the doc.
1277
19e09879
GM
1278 * term.el (term): Rename from `term-face'.
1279 (term-current-face, ansi-term-color-vector)
1280 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
1281 Update all users.
1282
6baf66d5 12832012-11-10 Jan Djärv <jan.h.d@swipnet.se>
531bdce6
JD
1284
1285 * server.el (server-create-window-system-frame): Handle Nextstep
1286 specially (Bug#12780).
1287
6baf66d5 12882012-11-10 Glenn Morris <rgm@gnu.org>
fedb154e
GM
1289
1290 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
1291 Unautoload, and make obsolete. (Bug#7449)
1292
6baf66d5 12932012-11-10 Chong Yidong <cyd@gnu.org>
9d9e48d9
CY
1294
1295 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
1296 rename from diff-remove-trailing-whitespace (Bug#12831).
1297
6baf66d5 12982012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
32170f7f
SM
1299
1300 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
1301 miscompilation of trace.el.
1302
6baf66d5 13032012-11-10 Glenn Morris <rgm@gnu.org>
26f59676
GM
1304
1305 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
1306
6baf66d5 13072012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
41626722
SM
1308
1309 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
1310 (bug#12812).
1311
6baf66d5 13122012-11-10 Chong Yidong <cyd@gnu.org>
7d806bfe
CY
1313
1314 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
1315 a defcustom with an appropriate :set function.
1316 (minibuffer-default--in-prompt-regexps): New function.
1317
6baf66d5 13182012-11-10 Glenn Morris <rgm@gnu.org>
2ee1d59f 1319
031b2ea7
GM
1320 * emacs-lisp/cl.el (define-setf-expander, defsetf)
1321 (define-modify-macro): Doc fixes.
1322
2ee1d59f
GM
1323 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
1324 (gv-define-simple-setter): Update doc of `fix-return'.
1325
6baf66d5 13262012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
d57c286e 1327
b715ed44
SM
1328 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
1329 twice when `fix-return' is set (bug#12813).
1330
d57c286e
SM
1331 * emacs-lisp/cl.el (defsetf): Pass the third arg to
1332 gv-define-simple-setter (bug#12812).
1333
c9cac599
SM
1334 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
1335 (bug#12756).
1336
6baf66d5 13372012-11-10 Glenn Morris <rgm@gnu.org>
6b3770fb
GM
1338
1339 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
1340
5593ed90
GM
1341 * emacs-lisp/cl-extra.el (cl-prettyexpand):
1342 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
1343 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
1344 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
1345
1346 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
1347
05a859c1
LL
13482012-11-10 Leo Liu <sdl.web@gmail.com>
1349
1350 * ido.el (ido-set-matches-1): Improve flex matching performance by
1351 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
1352
32e5c58c
SM
13532012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
1354
1355 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
1356 (ad--defalias-fset): New function.
1357 (ad-safe-fset): Remove.
1358 (ad-make-freeze-definition): Use cl-letf*.
1359
f5925cd9
SM
13602012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
1361
da03ef8a
SM
1362 * subr.el (dolist): Don't bind VAR in RESULT.
1363
6858633a
SM
1364 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
1365 (fset, documentation): Don't save real def since we don't advise.
1366 (ad-do-advised-functions): Remove problematic `result-form'.
1367 (ad-safe-fset): `ad-real-fset' => `fset'.
1368 (ad-read-advised-function): Don't assume that ad-do-advised-functions
1369 uses CL's dolist internally.
1370 (ad-arglist): Remove unused arg `name'.
1371 (ad-docstring, ad-make-advised-docstring):
1372 `ad-real-documentation' => `documentation'.
1373 (warning-suppress-types): Declare.
1374 (ad-set-arguments): Simple CSE.
1375 (ad-recover-normality): Sanity check.
1376
f5925cd9
SM
1377 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
1378 (funcall '(lambda ..) ..) into ((lambda ..) ..).
1379
93a66b3a
VB
13802012-11-09 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
1381
1382 * ses.el: symbol to coordinate mapping is made by symbol property
f5925cd9
SM
1383 `ses-cell'. This means that the same mapping is done for all SES
1384 sheets. That is good enough for cells with standard A1 names, but
1385 not for named cell. So a hash map is added for the latter.
1386 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
93a66b3a
VB
1387 (ses-sym-rowcol): Use hashmap for named cell.
1388 (ses-is-cell-sym-p): New defun.
1389 (ses-decode-cell-symbol): New defun.
f5925cd9
SM
1390 (ses-create-cell-variable): Add cell to hashmap when name is not
1391 A1-like.
93a66b3a
VB
1392 (ses-rename-cell): Check that cell new name is not already in
1393 spreadsheet with the use of ses-is-cell-sym-p
1394 (ses-rename-cell): Use hash map for named cells, but accept also
1395 renaming back to A1-like.
1396
67dd8ad1
SM
13972012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
1398
57618ecf
SM
1399 * emacs-lisp/advice.el: Use new dynamic docstrings.
1400 (ad-make-advised-definition-docstring, ad-advised-definition-p):
1401 Use dynamic-docstring-function instead of ad-advice-info.
1402 (ad--make-advised-docstring): New function extracted from
1403 ad-make-advised-docstring.
1404 (ad-make-advised-docstring): Use it.
1405 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
1406 from sql-help.
1407 (sql-help): Use it with dynamic-docstring-function.
1408
67dd8ad1
SM
1409 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
1410
be883b34
SM
14112012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1412
d41706aa
SM
1413 * files.el (hack-one-local-variable--obsolete): New function.
1414 (hack-one-local-variable): Use it for obsolete settings.
1415
85e55412
SM
1416 * subr.el (locate-user-emacs-file): If both old and new name exist, use
1417 the new name.
1418
be883b34
SM
1419 * progmodes/js.el (js--filling-paragraph): New var.
1420 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
1421 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
1422 less sneaky.
1423
cabc040a
JD
14242012-11-08 Julien Danjou <julien@danjou.info>
1425
1426 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
1427 `auto-mode-alist' (Bug#12835).
1428
d14bb752
SM
14292012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1430
79b3e376
SM
1431 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
1432 (perl--prettify-symbols-alist): New const.
1433 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
1434 New functions.
1435 (perl-font-lock-keywords-2): Use them.
1436 (perl-electric-noindent-p): New function.
1437 (perl-mode): Use it to set up electric-indent-mode.
1438 (perl-electric-terminator, perl-indent-command): Mark obsolete.
1439 (perl-mode-map): Remove bindings for them.
1440 (perl-imenu-generic-expression, perl-outline-level):
1441 Match functions&packages in column>0.
1442
3b11e6ac
SM
1443 * env.el (env--substitute-vars-regexp): New const.
1444 (substitute-env-vars): Use it. Add `only-defined' arg.
1445 * net/tramp.el (tramp-replace-environment-variables): Use it.
1446
784c1a7b
SM
1447 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
1448 Byte-compile *before* eval in eval-and-compile.
1449 (byte-compile-log-warning): Remove redundant inhibit-read-only.
1450 (byte-compile-file-form-autoload): Don't hide actual definition.
1451 (byte-compile-maybe-guarded): Accept `functionp' as well.
1452
d14bb752
SM
1453 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
1454
499a0f7a
MA
14552012-11-07 Michael Albinus <michael.albinus@gmx.de>
1456
1457 * notifications.el (notifications-get-server-information-method):
1458 New defconst.
1459 (notifications-get-capabilities): Fix docstring.
1460 (notifications-get-server-information): New defun.
1461
f0704a9a
AM
14622012-11-06 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
1463
1464 * textmodes/ispell.el (ispell-region): Standard re-indent for better
1465 readability.
1466
b159a1fd
AM
1467 * textmodes/ispell.el: Experimental support for support debugging.
1468 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
1469 buffer for ispell.
1470 (ispell-print-if-debug): New function to print stuff to
1471 `ispell-debug-buffer' if debugging is enabled.
1472 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
1473 show some debugging info.
1474 (ispell-buffer-with-debug): New function that creates a debugging
1475 buffer and calls `ispell-buffer' with debugging enabled.
1476
056cb3a1
AM
1477 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
1478 comment in autoconf mode. (Bug#12768)
1479
8e6a67b7
DA
14802012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
1481
1482 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
1483 frame-first-window, frame-root-window, frame-selected-window,
1484 minibuffer-selected-window, minibuffer-window,
1485 window-absolute-pixel-edges, window-at, window-body-height,
1486 window-body-width, window-display-table, window-combination-limit,
1487 window-frame, window-fringes, window-inside-absolute-pixel-edges,
1488 window-inside-edges, window-inside-pixel-edges, window-left-child,
1489 window-left-column, window-margins, window-next-buffers,
1490 window-next-sibling, window-new-normal, window-new-total,
1491 window-normal-size, window-parameter, window-parameters, window-parent,
1492 window-pixel-edges, window-point, window-prev-buffers,
1493 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
1494 window-start, window-text-height, window-top-child, window-top-line,
1495 window-total-height, window-total-width and window-use-time to the list
1496 of functions without side-effects.
1497 (toplevel): Add window-valid-p to the list of error-free functions
1498 without side-effects.
1499
53fc914f
AM
15002012-11-05 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
1501
f5925cd9
SM
1502 * textmodes/ispell.el (ispell-program-name):
1503 Update spellchecker parameters when customized.
53fc914f 1504
9749e2b0
GM
15052012-11-04 Glenn Morris <rgm@gnu.org>
1506
1507 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
1508
2cbafa56
CY
15092012-11-04 Chong Yidong <cyd@gnu.org>
1510
1511 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
1512 same-window-* variables.
1513
85178ca1
JL
15142012-11-04 Juri Linkov <juri@jurta.org>
1515
1516 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
1517 (isearch-describe-key, isearch-describe-mode): Use a display
1518 action instead of binding same-window-* variables (Bug#10040).
1519
5c677d44
GM
15202012-11-03 Glenn Morris <rgm@gnu.org>
1521
49138400
GM
1522 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
1523 Rename handler properties back from cl-- to cl-. (Bug#12788)
1524
5c677d44
GM
1525 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
1526
1d4341f9
EZ
15272012-11-03 Eli Zaretskii <eliz@gnu.org>
1528
1529 * term/pc-win.el: Don't load term/internal from here.
1530
1531 * loadup.el: Load term/internal from here.
1532
12fd5ee1
FEG
15332012-11-03 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
1534
1535 * progmodes/python.el (inferior-python-mode): Fix hang in
1536 jit-lock (Bug#12645).
1537
43bcfda6
MR
15382012-11-03 Martin Rudalics <rudalics@gmx.at>
1539
1540 * window.el (switch-to-visible-buffer)
1541 (switch-to-buffer-preserve-window-point): Fix doc-strings.
1542
376a8e83
GM
15432012-11-03 Glenn Morris <rgm@gnu.org>
1544
1545 * emacs-lisp/cl-lib.el (cl--random-time):
1546 Rename from cl-random-time. (Bug#12773)
1547 (cl--gensym-counter, cl--random-state): Update callers.
1548 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
1549
0f7b074f
CY
15502012-11-03 Chong Yidong <cyd@gnu.org>
1551
1552 * cus-start.el: Make cursor-type customizable (Bug#11633).
1553
3a6851d9
GM
15542012-11-02 Glenn Morris <rgm@gnu.org>
1555
00a3b041
GM
1556 * filecache.el: No need to load find-lisp when compiling.
1557 (find-lisp-find-files): Autoload it.
1558 (file-cache-add-directory-recursively): Don't require find-lisp.
1559
11fef14a
GM
1560 * image.el (image-type-from-file-name): Trivial simplification.
1561
3a6851d9
GM
1562 * emacs-lisp/bytecomp.el (byte-compile-eval):
1563 Decouple "noruntime" and "cl-functions" warnings.
1564
b4b096e4
SB
15652012-11-01 Stephen Berman <stephen.berman@gmx.net>
1566
1567 * play/gomoku.el (gomoku-display-statistics): Update mode line
1568 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
1569
218e997a
MR
15702012-10-31 Martin Rudalics <rudalics@gmx.at>
1571
1572 * window.el (quit-restore-window): If the window has been
1573 created on an existing frame and ended up as the sole window on
1574 that frame, do not delete it (Bug#12764).
1575
b08b6da7
SM
15762012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
1577
3618df45
SM
1578 * progmodes/sh-script.el (sh--inside-noncommand-expression):
1579 Rename from sh--inside-arithmetic-expression, handle more cases
1580 (bug#11263).
1581
b08b6da7
SM
1582 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
1583 (sh-font-lock-open-heredoc): Use it (bug#12770).
1584
4ddedf94
GM
15852012-10-30 Glenn Morris <rgm@gnu.org>
1586
f43a5263
GM
1587 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
1588
4ddedf94
GM
1589 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
1590
748b0d84
CY
15912012-10-29 Chong Yidong <cyd@gnu.org>
1592
b5dd9a77
CY
1593 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
1594 function key is stored in a keyboard macro (Bug#4894).
1595
748b0d84
CY
1596 * thingatpt.el (number-at-point): Apply a thing-at-point property.
1597
e07fcbdc
SM
15982012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1599
d7f9cc85
SM
1600 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
1601 header comments".
1602 (diff-unified->context, diff-context->unified)
1603 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
1604
c606253c
SM
1605 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
1606
e07fcbdc
SM
1607 * files.el (find-alternate-file): Only ask one question (bug#12487).
1608
894b9dd9
CY
16092012-10-29 Chong Yidong <cyd@gnu.org>
1610
1dc2755a
CY
1611 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
1612 Suggested by Dan Nicolaescu (Bug#6326).
1613
329c48d8
CY
1614 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
1615
2230fa5b 1616 * startup.el (fancy-about-screen): Don't message (Bug#12680).
5c2f2631 1617
e84cad57
CY
1618 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
1619
1913c5f5
CY
1620 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
1621
894b9dd9
CY
1622 * face-remap.el (face-remap-add-relative): Handle the case where a
1623 face-remapping-alist entry is a cons cell (Bug#12762).
1624
329c48d8
CY
16252012-10-29 Kevin Ryde <user42@zip.com.au>
1626
1627 * woman.el (woman-parse-numeric-value): Handle picas correctly
1628 (Bug#12639).
1629
a0ccbcbd
GM
16302012-10-29 Glenn Morris <rgm@gnu.org>
1631
1632 * emacs-lisp/cl.el (defsetf): Doc fix.
1633
b3871e59
SM
16342012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1635
1636 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
1637 syntax to the matching opener, if any (bug#12547).
1638 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
1639 matching open as a "case-(".
1640 (sh-smie-rc-grammar): Add a corresponding rule for it.
1641
cd44022c
DH
16422012-10-28 Daniel Hackney <dan@haxney.org>
1643
1644 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
1645 "PKGNAME-autoloads.el" in case we created it.
1646
70edffb1
SM
16472012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
1648
86957a0c
SM
1649 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
1650 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
b9383404 1651 (completion--twq-all): Disable too-strict assertions.
86957a0c 1652
70edffb1
SM
1653 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
1654
d069271c
EZ
16552012-10-27 Eli Zaretskii <eliz@gnu.org>
1656
1657 * profiler.el (profiler-report-make-entry-part): Fix help-echo
1658 text to match the real keybindings.
1659
e2f022a3
JL
16602012-10-27 Juri Linkov <juri@jurta.org>
1661
1662 * wdired.el (wdired-keep-marker-rename): New defcustom.
1663 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
1664 (Bug#11795)
1665
1666 * dired.el (dired-keep-marker-rename): Add reference to
1667 `wdired-keep-marker-rename' in the docstring.
1668 Add default character value ?R to display initially in
1669 Customization UI instead of ?@.
1670
df171c23
MR
16712012-10-27 Martin Rudalics <rudalics@gmx.at>
1672
1673 * window.el (display-buffer): In doc-string describe
1674 window-height and window-width alist entries.
1675
1676 * time.el (display-time-world): Restore fit-window-to-buffer
1677 behavior.
1678
05b621a6
CY
16792012-10-27 Chong Yidong <cyd@gnu.org>
1680
1681 * subr.el (insert-buffer-substring-as-yank): Doc fix.
1682
55f197b2
J
16832012-10-26 Jambunathan K <kjambunathan@gmail.com>
1684
1685 * minibuffer.el (completion-category-overrides): New completion
1686 category `bookmark' (bug#11131).
1687
372212df
SM
16882012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
1689
150f809c
SM
1690 * emacs-lisp/advice.el (ad-assemble-advised-definition):
1691 Silence bogus compiler warnings for ad-do-it.
1692
372212df
SM
1693 * bookmark.el (bookmark-completing-read): Set the completion category
1694 to `bookmark' (bug#11131).
1695
c5772569
B
16962012-10-26 Bastien <bzg@altern.org>
1697 Stefan Monnier <monnier@iro.umontreal.ca>
1698
1699 * face-remap.el: Use lexical-binding.
1700 (text-scale-adjust): Improve docstring. Use itself for the temporary
1701 overlay-map bindings, so as to repeat the "Use..." message each time.
1702
a2be0357
SM
17032012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
1704
63314e57
SM
1705 * emacs-lisp/macroexp.el (macroexp--expand-all):
1706 Obey byte-compile-warning-enabled-p (bug#12486).
1707
a2be0357
SM
1708 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
1709 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
1710
8c7727c3
MR
17112012-10-26 Martin Rudalics <rudalics@gmx.at>
1712
1713 * mouse.el (mouse-drag-line): Move last form into preceding when
1714 clause (Bug#12731).
1715
1716 * help.el (resize-temp-buffer-window): Fix doc-string.
1717
3f2a848d
DE
17182012-10-25 David Engster <deng@randomsample.de>
1719
1720 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
a2be0357 1721 Remove. This feature is already integrated in imenu.
3f2a848d
DE
1722
1723 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
1724 always loaded. Require `speedbar' unconditionally.
1725
a7723be6
SM
17262012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1727
aaabfc8b
SM
1728 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
1729
414a8595
SM
1730 * minibuffer.el (minibuffer-force-complete): Fix thinko.
1731
fb5b9475
SM
1732 * net/ldap.el (ldap-search-internal): The official ldif format starts
1733 with a "version: 1" header (bug#12724).
1734
a7723be6
SM
1735 * emacs-lisp/package.el (package-installed-p): Warn if not ready
1736 (bug#12721).
1737
a05cb6e3
GM
17382012-10-25 Glenn Morris <rgm@gnu.org>
1739
1740 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
1741
3c92de70
SM
17422012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1743
1744 * minibuffer.el (minibuffer-force-complete): Use one more marker
1745 for the temporary-overlay-map command (bug#12619).
1746
a4b6d7c6
CY
17472012-10-24 Chong Yidong <cyd@gnu.org>
1748
1749 * time.el (display-time-world-mode): Derive from special-mode.
1750 (display-time-world): Use display-buffer (Bug#12708).
1751 (display-time-world-mode-map): Variable deleted.
9321d8d7
CY
1752 (display-time-world-display): Wrap the final delete-char inside
1753 inhibit-read-only.
a4b6d7c6 1754
75e8f9d2
CY
17552012-10-24 Chong Yidong <cyd@gnu.org>
1756
cd996018
CY
1757 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
1758 Doc fix.
1759
75e8f9d2
CY
1760 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
1761
d92df117
SM
17622012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1763
1764 * minibuffer.el (completion--all-sorted-completions-location): New var.
1765 (completion--cache-all-sorted-completions)
1766 (completion--flush-all-sorted-completions): Use it.
1767 (completion-in-region, completion-in-region--postch)
1768 (completion-at-point, completion-help-at-point): Use markers in
1769 completion-in-region--data (bug#12619).
1770
9c3e39f3
SM
17712012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1772
c79825bd
SM
1773 * progmodes/compile.el (compilation-start): Try to handle common
1774 quoting of `cd' argument (bug#12640).
1775
9c3e39f3
SM
1776 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
1777 (bug#12671).
1778
a6709bc7
GM
17792012-10-23 Glenn Morris <rgm@gnu.org>
1780
1781 * progmodes/gud.el (gud-menu-map):
1782 Check gdb-active-process is bound. (Bug#12358)
1783
d1069532
SM
17842012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1785
d20d69c0
SM
1786 * repeat.el (repeat): Set real-this-command (bug#12232).
1787
d1069532
SM
1788 * htmlfontify.el (hfy-post-html-hook):
1789 * filesets.el (filesets-cache-fill-content-hook):
1790 * arc-mode.el (archive-extract-hook):
1791 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
1792 * net/rcirc.el (rcirc-sentinel-functions)
1793 (rcirc-receive-message-functions, rcirc-activity-functions)
1794 (rcirc-print-functions):
1795 * net/dbus.el (dbus-event-error-functions):
1796 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
1797 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
1798 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
1799 * term/sun.el (sun-raw-prefix-hooks):
1800 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
1801
f7eac6d8
MA
18022012-10-23 Michael Albinus <michael.albinus@gmx.de>
1803
d1069532
SM
1804 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
1805 Set `tramp-chunksize' to 1. This improves the performance.
f7eac6d8
MA
1806 (tramp-smb-wait-for-output): Add timeout to
1807 `tramp-accept-process-output' calls.
1808
608d9d7c
CY
18092012-10-23 Chong Yidong <cyd@gnu.org>
1810
49238e7f
CY
1811 * faces.el (font-list-limit): Define as an obsolete variable.
1812
1813 * startup.el (command-line):
1814 * cus-start.el: Don't refer to font-list-limit.
1815
608d9d7c
CY
1816 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
1817
4ff5b1b2
SM
18182012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1819
1820 * subr.el (internal-temp-output-buffer-show): Rename from
1821 temp-output-buffer-show, since previously compiled files expect this name.
1822
ea1d4aac
GM
18232012-10-23 Glenn Morris <rgm@gnu.org>
1824
1825 * image.el (image-type-from-file-name): If multiple types match,
1826 return the first one that is supported. (Bug#9045)
1827
eda82a31
GM
18282012-10-22 Glenn Morris <rgm@gnu.org>
1829
1830 * image.el (imagemagick-enabled-types): Doc fix.
1831
4f020bec
TA
18322012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
1833
1834 * progmodes/which-func.el (which-func-current): The hash-table may have
1835 an explicit nil (bug#12338).
1836
c77d37e2
SM
18372012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
1838
1839 * electric.el (electric-pair-delete-selection-self-insert-function):
1840 Rename to electric-pair-will-use-region, return a boolean.
1841 (electric-pair-mode): Adjust accordingly. Don't require delsel.
1842
1843 * delsel.el (delete-selection-helper): Use a function instead of a hook.
1844 (delete-selection-pre-hook): Use use-region-p.
1845 (delete-selection-self-insert-function): Remove.
1846 (self-insert-command): Obey self-insert-uses-region-functions.
1847 (self-insert-iso): Revert to previous setting, since we don't actually
1848 know what that command does.
1849 (delete-selection-self-insert-hooks): Remove.
1850
b1d39ccc
SL
18512012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
1852
1853 * delsel.el (delete-selection-helper): New function, extracted from
1854 delete-selection-pre-hook.
1855 (delete-selection-pre-hook): Use it.
1856 (delete-selection-self-insert-function): New function.
1857 (delete-selection-self-insert-hooks): New hook.
1858 (self-insert-command, self-insert-iso): Use it.
1859 * electric.el (electric-pair-syntax): New function, extracted from
1860 electric-pair-post-self-insert-function.
1861 (electric-pair-post-self-insert-function): Use it.
1862 (electric-pair-delete-selection-self-insert-function): New function.
1863 (electric-pair-mode): Require delsel and setup
1864 delete-selection-self-insert-hooks (bug#11520).
1865
045ef729
CY
18662012-10-20 Chong Yidong <cyd@gnu.org>
1867
4c5d08a8
CY
1868 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
1869 no changes to show (Bug#12586).
1870
045ef729
CY
1871 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
1872 list explicitly (Bug#12571).
1873
3503c798 18742012-10-20 Arne Jørgensen <arne@arnested.dk>
79e1997a 1875
b1d39ccc
SL
1876 * progmodes/flymake.el (flymake-create-temp-inplace):
1877 Use file-truename.
79e1997a 1878
2068905b
EZ
18792012-10-20 Eli Zaretskii <eliz@gnu.org>
1880
1881 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
1882
4c9e9550
JB
18832012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
1884
1885 * calc/calc-units.el (math-extract-units): Properly extract powers
1886 of units.
1887
1a6e7e38
DC
18882012-10-20 Daniel Colascione <dancol@dancol.org>
1889
1890 * frame.el (make-frame): Set x-display-name as we used to in order
1891 to unbreak creating an X11 frame from an Emacs daemon started
1892 without a display.
1893
8e808318
SM
18942012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
1895
1896 * minibuffer.el (minibuffer-force-complete): Make the next completion use
f5925cd9 1897 the same completion-field (bug#12221).
8e808318 1898
fb0104da
MR
18992012-10-19 Martin Rudalics <rudalics@gmx.at>
1900
1901 * emacs-lisp/debug.el (debug): Record height of debugger window
1902 also when debugger will be back (Bug#8789).
1903
8c27235e
CY
19042012-10-18 Chong Yidong <cyd@gnu.org>
1905
1906 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
1907 Convert to defcustom.
1908 (gdb-get-source-file): Don't bind pop-up-windows.
1909
1910 * progmodes/gud.el (gud-display-line): Don't specially re-use
1911 other frames for the gdb-mi case (Bug#12648).
1912
90eacf99
SM
19132012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
1914
aaf0c300
SM
1915 * emacs-lisp/advice.el: Clean up commentary a bit.
1916 (ad-do-advised-functions, ad-with-originals): Use `declare'.
1917 (byte-code-function-p): Never redefine.
1918
90eacf99
SM
1919 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
1920
281c9d2b
GM
19212012-10-18 Glenn Morris <rgm@gnu.org>
1922
40714e3d
GM
1923 * dired.el (dired-sort-toggle): Some ls implementations only allow
1924 a single option string. (Bug#12666)
1925
281c9d2b
GM
1926 * minibuffer.el (completion-cycle-threshold): Doc fix.
1927
b278604e
KH
19282012-10-17 Kenichi Handa <handa@gnu.org>
1929
90eacf99
SM
1930 * international/mule.el (set-keyboard-coding-system):
1931 Recover input meta mode when the new coding system doesn not use 8-bit.
b278604e
KH
1932 Supply TERMINAL arg to set-input-meta-mode.
1933
df171c23 19342012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
7ebc5f5a
MH
1935
1936 * wdired.el (wdired-old-marks): New variable.
1937 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
1938 (wdired-do-renames): Move point with renamed file and don't lose
1939 mark status (Bug#11795).
1940
e5a94ec4
JL
19412012-10-16 Juri Linkov <juri@jurta.org>
1942
1943 * replace.el (query-replace-help): Mention multi-buffer replacement
1944 keys in the Help message. (Bug#12655)
1945
d18a0d24
CY
19462012-10-15 Chong Yidong <cyd@gnu.org>
1947
1948 * emacs-lisp/byte-run.el (defsubst): Doc fix.
1949
8111f5e6
EZ
19502012-10-14 Eli Zaretskii <eliz@gnu.org>
1951
7b9abf24
EZ
1952 * window.el (display-buffer): Doc fix.
1953
8111f5e6
EZ
1954 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1955 Adjust the msft regexp to the output of Studio 2010, and move msft
1956 before edg-1. See the discussion on emacs-devel,
1957 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
1958 for the details.
1959
5046ef67
SM
19602012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
1961
9760c73c
SM
1962 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
1963 (oset): Move uses of object-class-fast macro after its definition.
1964
5046ef67
SM
1965 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
1966
0d11ff1c
CY
19672012-10-13 Chong Yidong <cyd@gnu.org>
1968
1969 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
1970 enabled, re-enable it (Bug#11963).
1971
88ded8ac
MR
19722012-10-13 Martin Rudalics <rudalics@gmx.at>
1973
1974 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
1975 non-nil, restore window configuration (Bug#12623).
1976
bd0ffffd
SM
19772012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
1978
06485aa8
SM
1979 * help-fns.el (describe-variable, describe-function-1):
1980 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
1981
bd0ffffd
SM
1982 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
1983
3a989246
GM
19842012-10-12 Glenn Morris <rgm@gnu.org>
1985
1986 * mail/rmailsum.el (rmail-header-summary):
1987 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
1988
55cd00c8
FEG
19892012-10-12 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
1990
bd0ffffd
SM
1991 * progmodes/python.el (python-mode-map):
1992 Replace subtitute-key-definition with proper command remapping.
55cd00c8
FEG
1993 (python-nav--up-list): Fix behavior for blocks on the same level.
1994
ac9fc2c7
SM
19952012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
1996
d8cc4c00 1997 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
d8cc4c00 1998
5253a5fd
SM
1999 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
2000 changes to the format of load-history.
2001
ac9fc2c7
SM
2002 * international/mule-cmds.el (read-char-by-name): Move let-binding of
2003 completion-ignore-case in case that var is buffer-local (bug#12615).
2004
cde44a77
KH
20052012-10-11 Kenichi Handa <handa@gnu.org>
2006
2007 * international/eucjp-ms.el: Re-generated.
2008
4ef4a10d
KH
20092012-10-10 Kenichi Handa <handa@gnu.org>
2010
2011 * select.el (xselect--encode-string): If a coding is specified for
2012 selection, and that is compatible with COMPOUND_TEXT, use it.
2013
9d7f027b
MR
20142012-10-10 Martin Rudalics <rudalics@gmx.at>
2015
2016 * window.el (switch-to-buffer-preserve-window-point): New option.
ac9fc2c7
SM
2017 (switch-to-buffer):
2018 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
9d7f027b 2019
238f3a58
SM
20202012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
2021
2022 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
2023 Don't document nil as a useful value (bug#12583).
2024
1d51f99c
MA
20252012-10-09 Michael Albinus <michael.albinus@gmx.de>
2026
238f3a58
SM
2027 * net/tramp.el (tramp-debug-message):
2028 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
1d51f99c
MA
2029 (with-tramp-progress-reporter): Rename from
2030 `tramp-with-progress-reporter'.
238f3a58
SM
2031 (with-tramp-file-property, with-tramp-connection-property):
2032 Move from tramp-cache.el, rename from `with-file-property' and
1d51f99c
MA
2033 `with-connection-property', respectively.
2034
2035 * net/tramp-cache.el: Remove `with-file-property' and
2036 `with-connection-property'.
2037
2038 * net/tramp.el:
2039 * net/tramp-gvfs.el:
2040 * net/tramp-sh.el:
2041 * net/tramp-smb.el: Adapt callees.
2042
2043 * net/trampver.el: Update release number.
2044
26b77251
GM
20452012-10-09 Glenn Morris <rgm@gnu.org>
2046
9a5f296f
GM
2047 * w32-fns.el (set-message-beep):
2048 * term/w32-win.el (set-message-beep): Update declarations.
2049
94c66ce5
SM
20502012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
2051
10766e9e
SM
2052 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
2053 (mode-line-widen, mode-line-input-method-map)
2054 (mode-line-coding-system-map, mode-line-remote)
2055 (mode-line-unbury-buffer, mode-line-bury-buffer)
2056 (mode-line-next-buffer, mode-line-previous-buffer):
2057 Replace save-selected-window+select-window => with-selected-window.
2058
f754db08
SM
2059 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
2060 * progmodes/cc-vars.el (bq-process): Remove, unused.
2061
94c66ce5
SM
2062 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
2063
a4ff7fe1
FEG
20642012-10-09 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
2065
2066 Implemented `backward-up-list'-like navigation.
2067 * progmodes/python.el (python-nav-up-list)
2068 (python-nav-backward-up-list): New functions.
2069 (python-mode-map): Define substitute key for backward-up-list to
2070 python-nav-backward-up-list.
2071
24517d82
FEG
20722012-10-08 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
2073
2074 * progmodes/python.el (python-fill-paragraph): Rename from
2075 python-fill-paragraph-function. Fixed fill-paragraph for
2076 decorators (Bug#12605).
2077
51867ae2
FEG
20782012-10-08 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
2079
2080 * progmodes/python.el (python-shell-output-filter): Handle extra
2081 carriage return in OSX (Bug#12409).
2082
a5b773c4
FEG
20832012-10-08 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
2084
2085 Fix shell handling of unbalanced quotes and parens in output.
94c66ce5 2086 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
a5b773c4
FEG
2087 (python-syntax-propertize-function): Use it.
2088 (python-shell-output-syntax-table): New var.
2089 (inferior-python-mode): Prevent unbalanced parens/quotes from
2090 previous output mess with current input context.
2091
13373538
JB
20922012-10-08 Juanma Barranquero <lekktu@gmail.com>
2093
2094 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
2095 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
2096
775a132d
MA
20972012-10-08 Michael Albinus <michael.albinus@gmx.de>
2098
2099 * ffap.el (ffap-replace-file-component): Support Tramp file name
2100 syntax, not only ange-ftp's one.
2101
3ab44929
GM
21022012-10-08 Glenn Morris <rgm@gnu.org>
2103
57f1dee4
GM
2104 * cus-start.el (message-log-max): Set :version.
2105
3ab44929
GM
2106 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
2107
6a088630
MR
21082012-10-08 Martin Rudalics <rudalics@gmx.at>
2109
2110 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
2111 the minibuffer window (Bug#10851).
2112
8dbce54c
FEG
21132012-10-08 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
2114
2115 Enhancements on forward-sexp movement.
2116 * progmodes/python.el (python-nav-beginning-of-statement)
2117 (python-nav-end-of-statement): Return point-marker.
2118 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
2119 (python-info-current-symbol)
2120 (python-info-statement-starts-block-p): Rename from
2121 python-info-beginning-of-block-p.
2122 (python-info-statement-ends-block-p): Rename from
2123 python-info-end-of-block-p.
2124 (python-info-beginning-of-statement-p)
2125 (python-info-end-of-statement-p)
2126 (python-info-beginning-of-block-p, python-info-end-of-block-p):
2127 New functions.
2128
5acd2b3e
SM
21292012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2130
2131 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
2132 frame-selected-windows.
2133
e08348a0
DC
21342012-10-08 Daniel Colascione <dancol@dancol.org>
2135
2136 * battery.el (battery-status-function): Check for
2137 w32-battery-status itself, not system-time windows-nt.
2138
2139 * frame.el: Require cl-lib.
2140 (display-format-alist): New variable mapping frame types to
2141 functions that initialize them.
2142 (window-system-for-display): New function: interprets
2143 display-format-alist.
2144 (make-frame-on-display): Remove existing display-selection logic
2145 and just forward to make-frame, which will now DTRT.
2146 (make-frame): Restructure to use window-system-for-display to
2147 figure out how to create a frame on a given display.
2148 (display-mouse-p): Look for frame-type w32, not a particular
2149 system-type.
2150
2151 * loadup.el: Load w32 lisp code when we have the w32 feature.
2152
2153 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
2154 system-type windows-nt.
2155
2156 * server.el (server-create-window-system-frame): Look for window
2157 type.
2158 (server-proces-filter): Only force a window system when windows-nt
2159 _and_ w32. Explain why.
2160
2161 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
2162 of window systems we configure for the mode.
2163
2164 * startup.el (command-line): Mark window system is initialized
2165 after we've done it.
2166
2167 * common-win.el (x-select-text): Look for w32, not windows-nt.
2168
2169 * ns-win.el: Require cl-lib. Add ourselves to
2170 display-format-alist.
2171 (ns-initialize-window-system): Assert we're not initialized twice.
2172
2173 * w32-win.el: Enable lexical binding; require cl-lib; add
2174 ourselves to display-format-alist.
2175 (w32-handle-dropped-file): Convert incoming dropped files from
2176 Windows paths to Cygwin ones before passing them on to the rest of
2177 Emacs.
2178 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
2179 (w32-initialize-window-system): Assert we're not initialized twice.
2180
2181 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
2182 (x-initialize-window-system): Assert we're not initialized twice.
2183
2184 * w32-common-fns.el: New File.
2185 (w32-version, w32-using-nt, w32-get-clipboard-data)
2186 (w32-set-clipboard-data, x-set-selection, x-get-selection)
2187 (w32-charset-info-alist, x-last-selected, text)
2188 (x-get-selection-value, x-selection-value): Move here.
2189
2190 * w32-fns.el: Require w32-common-fns.
2191 (w32-version, w32-using-nt, w32-get-clipboard-data)
2192 (w32-set-clipboard-data, x-set-selection, x-get-selection)
2193 (w32-charset-info-alist, x-last-selected, text)
2194 (x-get-selection-value, x-selection-value): Move to
2195 w32-common-fns.
2196
2197 * w32-vars.el:
2198 (w32-allow-system-shell, w32-system-shells): Define only in
2199 non-cygwin case.
2200
795b1482
SM
22012012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2202
2203 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
2204 (read-passwd): Remove a few more potential sources of leaks.
2205
f27c99dc
FEG
22062012-10-07 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
2207
2208 * progmodes/python.el (inferior-python-mode)
795b1482 2209 (python-shell-make-comint): Fix initialization of local
f27c99dc
FEG
2210 variables copied from parent buffer.
2211
fcacb558
JD
22122012-10-07 Jan Djärv <jan.h.d@swipnet.se>
2213
2214 * term/ns-win.el (ns-read-file-name): Update declaration to match
2215 nsfns.m.
2216 (ns-respond-to-change-font): Change fontsize separatly so we are sure
2217 it is set when font is acted upon.
2218
be0d5bae
FEG
22192012-10-07 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
2220
2221 Enhancements to indentation.
2222 * progmodes/python.el (python-indent-context): Give priority to
2223 inside-string context. Make comments indentation markers.
2224 (python-indent-region): Do not mess with strings, unless it's the
2225 enclosing set of quotes.
2226
13af0d10
SM
22272012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2228
662a9d0e
SM
2229 * window.el (internal--before-save-selected-window)
2230 (internal--after-save-selected-window): New functions extracted from
2231 save-selected-window. Make sure we return the `alist' we construct.
2232 (save-selected-window): Use them.
2233
2234 * textmodes/tex-mode.el (tex-recenter-output-buffer):
2235 Use with-selected-window.
2236
13af0d10
SM
2237 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
2238 forms that define macros (bug#12593).
2239
6aa75fb6
KH
22402012-10-07 Kenichi Handa <handa@gnu.org>
2241
13af0d10
SM
2242 * international/mule-conf.el (compound-text-with-extensions):
2243 Add :mime-charset property as x-ctext.
6aa75fb6 2244
78d876b9
SM
22452012-10-07 Stefan Merten <smerten@oekonux.de>
2246
2247 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
2248 (rst-indent-literal-normal, rst-indent-literal-minimized)
2249 (rst-indent-comment): Correct :version tag.
557337e9 2250 (rst-official-cvs-rev): Correct version string.
78d876b9 2251
99a1e701
GM
22522012-10-07 Glenn Morris <rgm@gnu.org>
2253
2254 * mail/rmailmm.el (rmail-mime-process-multipart):
2255 Do not confuse a multipart message with an epilogue
2256 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
2257
08f18c3d
FEG
22582012-10-07 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
2259
2260 Fix shell output retrieval and comint-prompt-regexp init.
2261 * progmodes/python.el (inferior-python-mode):
2262 (python-shell-make-comint): Fix initialization of
2263 comint-prompt-regexp from copied file local variables.
2264 (python-shell-fetched-lines): Remove var.
2265 (python-shell-output-filter-in-progress): Rename from
2266 python-shell-fetch-lines-in-progress.
2267 (python-shell-output-filter-buffer): Rename from
2268 python-shell-fetch-lines-string.
2269 (python-shell-fetch-lines-filter): Delete function.
2270 (python-shell-output-filter): New function.
2271 (python-shell-send-string-no-output): Use them.
2272
82ed3ab4
GM
22732012-10-07 Glenn Morris <rgm@gnu.org>
2274
1595ecfa
GM
2275 * hi-lock.el (hi-lock-process-phrase):
2276 Try to make it less fragile. (Bug#7161)
2277
82ed3ab4
GM
2278 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
2279
f1f4dba0
GM
22802012-10-06 Glenn Morris <rgm@gnu.org>
2281
addc11ed 2282 * ehelp.el (electric-help-mode): Use help-mode rather than
32939005
GM
2283 non-existent mode `help'.
2284 (electric-help-map): Use button-buffer-map. (Bug#10917)
addc11ed 2285
460042b8
GM
2286 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
2287 (reftex-create-bibtex-footer): Fix custom types.
2288
67667c70
GM
2289 * progmodes/sh-script.el (sh-indent-after-continuation):
2290 Add explicit :group.
2291
18dec750
GM
2292 * textmodes/rst.el (rst-preferred-decorations)
2293 (rst-shift-basic-offset): Clarify obsolescence versions.
2294
d1a1c7e6
GM
2295 * profiler.el (profiler): Add missing group :version tag.
2296 * avoid.el (mouse-avoidance-banish-position):
2297 * proced.el (proced-renice-command):
2298 * calc/calc.el (calc-ensure-consistent-units):
2299 * calendar/icalendar.el (icalendar-import-format-uid):
2300 * net/tramp.el (tramp-save-ad-hoc-proxies):
2301 * progmodes/bug-reference.el (bug-reference-bug-regexp):
2302 * progmodes/flymake.el (flymake-error-bitmap)
2303 (flymake-warning-bitmap, flymake-fringe-indicator-position):
2304 * progmodes/sh-script.el (sh-indent-after-continuation):
2305 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
2306 (verilog-before-save-font-hook, verilog-after-save-font-hook):
2307 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
2308 (vhdl-array-index-record-field-in-sensitivity-list)
2309 (vhdl-indent-comment-like-next-code-line):
2310 * textmodes/reftex-vars.el (reftex-ref-style-alist)
2311 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
2312 (reftex-cite-key-separator, reftex-create-bibtex-header)
2313 (reftex-create-bibtex-footer):
2314 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
2315 (rst-indent-literal-normal, rst-indent-literal-minimized)
2316 (rst-indent-comment): Add missing custom :version tags.
2317
ef35abb4
GM
2318 * calendar/timeclock.el (timeclock-modeline-display):
2319 Add missing obsolete alias for renamed user option.
2320
d1aae614
GM
2321 * strokes.el (strokes-modeline-string):
2322 * emulation/crisp.el (crisp-mode-modeline-string):
2323 * eshell/esh-mode.el (eshell-status-in-modeline):
2324 Aliases to defcustoms must come before the defcustom.
2325
f1f4dba0
GM
2326 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
2327 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
2328 (cal-tex-cursor-week-monday): Doc fixes.
2329 (cal-tex-cursor-week2-summary): Doc fix.
2330 Rename from cal-tex-cursor-week-at-a-glance.
2331
2332 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
2333 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
2334
2335 * calendar/calendar.el (calendar-mode-map):
2336 Add cal-tex-cursor-week2-summary.
2337
d39109c3
SM
23382012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
2339
685f87b0
SM
2340 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
2341
d39109c3
SM
2342 * subr.el (read-passwd-map): New var.
2343 (read-passwd): Use `read-string' again.
2344 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
2345
5694896d
J
23462012-10-06 Jambunathan K <kjambunathan@gmail.com>
2347
2348 * register.el (append-to-register, prepend-to-register):
2349 Deactivate mark, as does `copy-to-register' (bug#12389).
2350
9414dd8d
CY
23512012-10-06 Chong Yidong <cyd@gnu.org>
2352
2353 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
2354
2b89bca4
KH
23552012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
2356
2357 * international/characters.el: Fix simple mistake ((car chars) ->
2358 elt), delete duplicated code.
2359
d5acb99a
GM
23602012-10-06 Glenn Morris <rgm@gnu.org>
2361
2362 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
2363
123ec157
JS
23642012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
2365
2366 * color.el (color-hsl-to-rgb): Fix incorrect results for
2367 small and large hue values. (Bug#12559)
2368
7fa36ccb
FEG
23692012-10-05 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
2370
2371 Enhancements to docstring formatting when filling paragraphs.
2372 * progmodes/python.el (python-fill-docstring-style): Rename from
2373 python-fill-string-style. Added new style.
2374 (python-fill-string): Use new style. Better checks for
2375 docstrings.
2376
d8788e1e
GM
23772012-10-05 Glenn Morris <rgm@gnu.org>
2378
204f3953
GM
2379 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
2380
d8788e1e
GM
2381 * color.el (color-name-to-rgb, color-rgb-to-hex)
2382 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
2383 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
2384 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
2385 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
2386
8d956cef
GM
2387 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
2388
e8757f09 23892012-10-05 Juanma Barranquero <lekktu@gmail.com>
ea9a3563
JB
2390
2391 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
2392 to get the correct size across symlinks.
2393
e8757f09
GM
2394 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
2395
0e2ae83d
JL
23962012-10-04 Juri Linkov <juri@jurta.org>
2397
2398 * replace.el (query-replace-interactive): Declare obsolete.
2399 (query-replace-read-from): Add the last incremental search string
2400 to the list of default values accessible via M-n.
2401 (map-query-replace-regexp): Use `read-regexp'.
2402 (query-replace, query-replace-regexp, query-replace-regexp-eval)
2403 (map-query-replace-regexp, replace-string, replace-regexp):
2404 Fix docstrings to replace mentions of `query-replace-interactive'
2405 with alternatives. (Bug#12526)
2406
93cacb6d
JL
24072012-10-04 Juri Linkov <juri@jurta.org>
2408
2409 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
2410 (dired-pop-to-buffer): Declare obsolete.
2411 (dired-mark-pop-up): Doc fix.
2412
fc345011
FEG
24132012-10-04 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
2414
2415 Allow user to set docstring style for fill-paragraph.
2416 * progmodes/python.el
2417 (python-fill-comment-function, python-fill-string-function)
2418 (python-fill-decorator-function, python-fill-paren-function):
2419 Remove :safe for defcustoms.
2420 (python-fill-string-style): New defcustom
5694896d 2421 (python-fill-paragraph-function): Enhance context detection.
fc345011
FEG
2422 (python-fill-string): Honor python-fill-string-style settings.
2423
6bab5d8b
MR
24242012-10-04 Martin Rudalics <rudalics@gmx.at>
2425
2426 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
2427 after setting its buffer (Bug#10805).
2428
a1a9f411
FEG
24292012-10-03 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
2430
2431 Fix cornercase for string syntax.
2432 * progmodes/python.el (python-syntax-propertize-function):
2433 Simplify and enhance the regexp for unescaped quotes. Now it also
2434 matches quotes in weird situations like the single quote in
2435 "something\"'".
2436 (python-syntax-stringify): Simplify num-quotes detecting code.
2437
05e153a6
GM
24382012-10-03 Glenn Morris <rgm@gnu.org>
2439
2440 * help-macro.el (three-step-help):
2441 Revert 2012-09-29 change. (Bug#12567)
2442
2e566ecb
MR
24432012-10-03 Martin Rudalics <rudalics@gmx.at>
2444
96ef9ccd
MR
2445 * menu-bar.el (kill-this-buffer): Don't do anything when
2446 `menu-frame' is not alive or visible (Bug#8184).
2447
2e566ecb
MR
2448 * emacs-lisp/debug.el (debug): When quitting the debugger window
2449 restore current buffer (Bug#12502).
2450
a96e1cb7
CY
24512012-10-02 Chong Yidong <cyd@gnu.org>
2452
5694896d
J
2453 * progmodes/hideif.el (hif-lookup, hif-defined):
2454 Handle semantic-c-takeover-hideif.
a96e1cb7 2455
b3ecad33
PE
24562012-10-02 Paul Eggert <eggert@cs.ucla.edu>
2457
2458 Change sampling interval units from ms to ns.
2459 * profiler.el (profiler-sampling-interval): Change units
2460 from ms to ns, multiplying the default by 1000000 so that
2461 it remains 1 ms.
2462 (profiler-report-cpu-line-format): Give enough room for
2463 the maximum counters on 64-bit hosts.
2464 (profiler-report-render-calltree-1): Call them "CPU samples",
2465 not "Time (ms)", since they are not milliseconds now (and
2466 never really were).
2467
8cb51b66 24682012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
c623f81a 2469
5694896d
J
2470 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
2471 Fix querying BBDB for entries without a last name (Bug#11580).
c623f81a 2472
fd795bf4
CY
24732012-10-02 Chong Yidong <cyd@gnu.org>
2474
2475 * emacs-lisp/eieio.el: Restore Version header.
2476
fe0a74f9
SM
24772012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
2478
6be9197e
SM
2479 * vc/diff-mode.el (diff--auto-refine-data): New var.
2480 (diff-hunk): Use it to delay refinement.
2481 (diff-mode): Remove overlays when we turn off font-lock.
2482
18486139
SM
2483 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
2484 (table-initialize-table-fixed-width-mode)
2485 (table-set-table-fixed-width-mode): Remove functions.
2486 (table-command-list): Move initialization into declaration.
2487 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
2488 (table-with-cache-buffer): Use `declare'.
2489 (table-span-cell): Simplify via CSE.
2490 (table-fixed-width-mode): Use define-minor-mode.
2491 (table-call-interactively, table-funcall, table-apply): Remove.
2492 (table-function): New function, to replace them.
2493
d83ef976
SM
2494 * bookmark.el (bookmark-search-pattern): Remove var.
2495 (bookmark-read-search-input): Remove function.
2496 (bookmark-bmenu-search): Reimplement using a minibuffer.
2497
cd386662
SM
2498 * faces.el (modeline): Remove obsolete face name.
2499
fe0a74f9
SM
2500 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
2501 and give a non-nil default value.
2502 (add-change-log-entry): Simplify accordingly.
2503
9f7b98f8
DG
25042012-10-01 Dmitry Gutov <dgutov@yandex.ru>
2505
2506 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
2507 (vc-git-log-edit-toggle-amend): New function.
2508 (vc-git-log-edit-toggle-signoff): New function.
2509 (vc-git-log-edit-mode): New major mode.
2510 (vc-git-log-edit-mode-map): Keymap for it.
2511 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
2512
2513 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
2514 header names.
2515 (log-edit-toggle-header): New function.
2516 (log-edit-extract-headers): Accept function values in HEADERS alist.
2517
62a81506
CY
25182012-10-01 David Engster <deng@randomsample.de>
2519
2520 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
2521 from symbol property and change message to be more consistent with
2522 Emacs proper.
2523 (eieio-describe-generic): Add filename for each implementation.
2524 Fix indices for generic and normal methods.
2525 (eieio-method-def, eieio-class-def): New buttons.
2526 (eieio-help-find-method-definition)
2527 (eieio-help-find-class-definition): New functions.
2528 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
2529 class, constructor and method definitions.
2530
2531 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
2532 information in symbol property.
2533 (scoped-class): Remove.
2534 (eieio-slot-name-index, call-next-method): Check if it is bound.
2535
25362012-10-01 Leo P. White <lpw25@cam.ac.uk>
2537
2538 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
2539 (eieio-custom-mode): New major mode.
2540 (eieio-customize-object): Use it.
2541
25422012-10-01 Eric Ludlam <zappo@gnu.org>
2543
2544 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
2545 specifying the expected class, and whether subclassing is allowed.
2546 (eieio-persistent-convert-list-to-object):
1f9f395d
JB
2547 (eieio-persistent-validate/fix-slot-value)
2548 (eieio-persistent-slot-type-is-class-p): New functions.
2549 (eieio-named::slot-missing): Doc fix.
62a81506
CY
2550
2551 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
2552 Stop using unused publd variable.
2553
2554 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
2555 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
2556 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
2557 (eieio-speedbar-handle-click): Do not specify a class for the
2558 method. Fixes method invocation order problems with EDE.
2559
375e49d4
SM
25602012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
2561
2562 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
2563 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
2564
16ce6ccd
KF
25652012-10-01 Karl Fogel <kfogel@red-bean.com>
2566
2567 * bookmark.el (bookmark-version-control): Give tags in the
2568 :type choices (Bug#12309), and improve doc string.
e4c4abdd
KF
2569 (bookmark-write-file): Bind `print-circle' to `t' to allow
2570 circular custom bookmark types. (Bug#12503)
16ce6ccd 2571
19e54a4d
PE
25722012-10-01 Paul Eggert <eggert@cs.ucla.edu>
2573
86ec63ba
PE
2574 Revert the FOLLOW-SYMLINKS change for file-attributes.
2575 * files.el (remote-file-name-inhibit-cache, after-find-file):
2576 * time.el (display-time-file-nonempty-p): Undo last change.
2577
19e54a4d
PE
2578 * profiler.el (profiler-sampling-interval): Change default back to 1.
2579 See Stefan Monnier in
2580 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
2581
0478776b
FEG
25822012-10-01 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
2583
2584 Shell output catching a la gud-gdb.
2585 * progmodes/python.el (python-shell-fetch-lines-in-progress)
375e49d4
SM
2586 (python-shell-fetch-lines-string, python-shell-fetched-lines):
2587 New Vars.
0478776b
FEG
2588 (python-shell-fetch-lines-filter): New function.
2589 (python-shell-send-string-no-output): Use them.
2590
c22bac2c
TM
25912012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
2592
2593 * profiler.el (profiler-sampling-interval): Rename from
2594 profiler-sample-interval.
2595 (profiler-sampling-interval): Default to 10.
2596 (profiler-find-profile): New command (was profiler-find-log).
2597 (profiler-find-profile-other-window): New command.
2598 (profiler-find-profile-other-frame): New command.
2599 (profiler-profile): Introduce API-level data structure.
2600
e7a2937b
PE
26012012-09-30 Paul Eggert <eggert@cs.ucla.edu>
2602
2603 file-attributes has a new optional arg FOLLOW-SYMLINKS.
2604 * files.el (remote-file-name-inhibit-cache):
2605 * time.el (display-time-file-nonempty-p): Use it.
2606 * files.el (after-find-file): Don't chase links before calling
2607 file-exists-p, as file-exists-p already does the right thing.
2608
4f595e15
RA
26092012-09-30 Ralf Angeli <angeli@caeruleus.net>
2610
2611 Merge from standalone RefTeX repository.
2612
2613 The following ChangeLog entries are shortened versions of the
2614 original ones with file paths adapted. A not so strongly edited
2615 version of the original ChangeLog can be found in the commit log.
2616
2617 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
375e49d4
SM
2618 (reftex-arg-cite): Use `reftex-cite-key-separator'.
2619 Correctly handle new value type returned by `reftex-citation'.
4f595e15
RA
2620
2621 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
375e49d4
SM
2622 that entries with whitespace at various places are found.
2623 Doc fix. Include entries that are cross-referenced from cited entries.
4f595e15
RA
2624 Include @String definitions in the resulting bib file. Add header
2625 and footer defined in `reftex-create-bibtex-header' and
2626 `reftex-create-bibtex-footer'.
2627 (reftex-do-citation): Make it possible again to insert
2628 non-existent entries. Save match data when asking for optional
2629 arguments. Return all keys, not just the first one.
2630 (reftex-all-used-citation-keys): Fix regexp to correctly extract
2631 all citations in the same line.
2632 (reftex-parse-bibtex-entry): Accept additional optional argument
2633 `raw' and keep quotes or braces if it is non-nil. Match fields
2634 containing hyphens besides word constituents.
2635 (reftex-get-string-refs): New function.
2636 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
2637 and ask if it should be reread in case it did.
2638 (reftex-pop-to-bibtex-entry)
2639 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
2640 entries with spaces or tabs in front of arguments.
2641 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
375e49d4
SM
2642 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
2643 Match entries containing numbers and symbol constituents.
2644 (reftex-do-citation, reftex-figure-out-cite-format):
2645 Use `reftex-cite-key-separator'.
4f595e15
RA
2646
2647 * textmodes/reftex-dcr.el: Move provide statement to end of file.
2648 (reftex-mouse-view-crossref): Explain why point is set.
2649
2650 * textmodes/reftex-global.el: Whitespace changes.
2651
2652 * textmodes/reftex-index.el: Move provide statement to end of
2653 file.
2654 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
2655 (reftex-index-visit-phrases-buffer): Set marker when visiting
2656 buffer. This allows for returning from the phrases file to the
2657 file one was just editing instead of the file where the last
2658 phrases was added from.
2659 (reftex-index-phrases-syntax-table): New variable. Give ?\"
2660 punctuation syntax as it usually is not used as string quote in
2661 TeX-related modes and may occur unmatched. The change also
2662 prevents fontification of quoted content.
2663 (reftex-index-phrases-mode): Use it.
2664
375e49d4
SM
2665 * textmodes/reftex-parse.el (reftex-parse-from-file):
2666 Move backward one char if a `\' was matched after a section macro.
4f595e15
RA
2667 (reftex-parse-from-file): Use beginning of match instead of end as
2668 bound.
2669
2670 * textmodes/reftex-ref.el: Adapt creation of
2671 `reftex-<package>-<macro>' functions to new structure of
2672 `reftex-ref-style-alist'.
375e49d4
SM
2673 (reftex-reference): Use `reftex-ref-style-list' function.
2674 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
4f595e15
RA
2675 reference macro if `reftex-ref-macro-prompt' is non-nil.
2676 (reftex-reference): Pass refstyle to `reftex-format-special'.
2677 Determine reference macro by looking at
375e49d4
SM
2678 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
2679 Use only one special format function.
4f595e15
RA
2680 (reftex-varioref-vref, reftex-fancyref-fref)
2681 (reftex-fancyref-Fref): Remove definitions. The functions are now
2682 generated from `reftex-ref-style-alist'.
2683 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
2684 Remove.
2685 (reftex-format-special): New function.
2686
2687 * textmodes/reftex-sel.el
2688 (reftex-select-cycle-ref-style-internal): Adapt to new structure
2689 of `reftex-ref-style-alist'. Remove code for testing macro type.
2690 (reftex-select-toggle-varioref)
2691 (reftex-select-toggle-fancyref): Remove.
2692 (reftex-select-cycle-ref-style-internal)
2693 (reftex-select-cycle-ref-style-forward)
2694 (reftex-select-cycle-ref-style-backward): New functions.
2695 (reftex-select-label-map): Use `v' and `V' for general cycling
2696 through reference styles. Add `p' for switching between number
2697 and page reference types.
2698
375e49d4
SM
2699 * textmodes/reftex-toc.el (reftex-re-enlarge):
2700 Call `enlarge-window' only if there is something to do because in Emacs
4f595e15
RA
2701 the horizontal version throws an error even if the parameter is 0.
2702
2703 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
2704 (reftex-plug-into-AUCTeX): Doc fix.
2705 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
2706 string. Adapt to new name.
2707 (reftex-ref-style-alist): Change structure so that it is not
2708 possible to use multiple different package names within a style.
375e49d4
SM
2709 Remove the symbols for symbols for macro type distinction.
2710 Add characters for macro selection.
4f595e15
RA
2711 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
2712 (reftex-create-bibtex-footer): New variables.
2713 (reftex-format-ref-function): Mention third argument of special
2714 format function.
375e49d4
SM
2715 (reftex-ref-style-alist, reftex-ref-style-default-list):
2716 New variables.
4f595e15
RA
2717 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
2718 to new implementation. Mark as obsolete. Add compatibility code
2719 for honoring the variable values in case they are set.
375e49d4
SM
2720 (reftex-cite-format-builtin, reftex-bibliography-commands):
2721 Add support for ConTeXt.
2722 (reftex-format-ref-function, reftex-format-cite-function):
2723 Fix custom type.
4f595e15
RA
2724 (reftex-cite-key-separator): New variable.
2725
2726 * textmodes/reftex.el (reftex-syntax-table-for-bib)
2727 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
2728 `reftex-syntax-table' because parens have to retain their paren
2729 syntax in order for parsing of BibTeX entries like @book(...) to
2730 work.
2731 (reftex-in-comment): Do not error out if `comment-start-skip' is
2732 not set. Deal correctly with escaped comment characters.
375e49d4
SM
2733 (reftex-tie-multifile-symbols): Add doc string.
2734 Initialize `reftex-ref-style-list'.
4f595e15
RA
2735 (reftex-untie-multifile-symbols): Add doc string.
2736 (reftex-add-index-macros): Doc fix.
2737 (reftex-ref-style-activate, reftex-ref-style-toggle)
2738 (reftex-ref-style-list): New functions.
2739 (reftex-mode-menu): Use them. Adapt to new structure of
2740 `reftex-ref-style-alist'.
2741 (reftex-select-with-char): Kill the RefTeX Select buffer when
2742 done.
2743 (reftex-remove-if): New function.
2744 (reftex-erase-all-selection-and-index-buffers)
2745 (reftex-mode-menu): Reference styles are now computed from
2746 `reftex-ref-style-alist'. Fix typo.
2747 (reftex-report-bug): New function.
2748 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
2749 algorithms with O(n log n). Introduce optional argument SORT (not
2750 yet used).
2751
440ba395
FEG
27522012-09-30 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
2753
2754 Enhancements for triple-quote string syntax.
375e49d4
SM
2755 * progmodes/python.el (python-syntax-propertize-function):
2756 Match both quote cases in one regexp.
440ba395
FEG
2757 (python-syntax-stringify): Handle matches properly.
2758
4c478e6b
JL
27592012-09-30 Juri Linkov <juri@jurta.org>
2760
2761 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
93cacb6d 2762 to nil around the call to `insert' to prevent
4c478e6b
JL
2763 directory time modification by lock_file. (Bug#2295)
2764 * tar-mode.el (tar-summarize-buffer): Idem.
2765
d80d54b2
JL
27662012-09-30 Juri Linkov <juri@jurta.org>
2767
2768 * facemenu.el (list-colors-sort): Add option "Luminance".
2769 (list-colors-sort-key): Implement it.
2770
2771 * vc/diff-mode.el (diff-refine-removed):
2772 * vc/ediff-init.el (ediff-fine-diff-A):
2773 * vc/smerge-mode.el (smerge-refined-removed):
2774 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
2775
d7e642cc
JD
27762012-09-30 Jan Djärv <jan.h.d@swipnet.se>
2777
2778 * term/ns-win.el (x-file-dialog): New function.
2779
ee41332b
JB
27802012-09-30 Juanma Barranquero <lekktu@gmail.com>
2781
2782 * ido.el (ido-max-directory-size): Default to nil; the current
2783 default is small for POSIX systems, and impractical on Windows 7
2784 now that lstat returns directory sizes for NTFS.
2785
5938d519
MR
27862012-09-30 Martin Rudalics <rudalics@gmx.at>
2787
2788 In buffer display functions handle window-height/window-width
2789 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
375e49d4
SM
2790 * window.el (window--display-buffer): New argument ALIST.
2791 Obey window-height and window-width alist entries.
2792 (window--try-to-split-window): New argument ALIST.
2793 Bind window-combination-limit to t when the window's size shall be
5938d519
MR
2794 changed and window-combination-limit equals `window-size'.
2795 (display-buffer-in-atom-window)
2796 (display-buffer-in-major-side-window)
2797 (display-buffer-in-side-window, display-buffer-same-window)
2798 (display-buffer-reuse-window, display-buffer-pop-up-frame)
2799 (display-buffer-pop-up-window, display-buffer-below-selected)
2800 (display-buffer-at-bottom, display-buffer-in-previous-window)
2801 (display-buffer-use-some-window): Adjust all callers of
2802 window--display-buffer and window--try-to-split-window.
2803 (fit-frame-to-buffer): New option.
2804 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
2805 is non-nil.
2806 (display-buffer-in-major-side-window): Evaluate window-height /
2807 window-width alist entries.
2808
2809 * help.el (temp-buffer-resize-frames)
2810 (temp-buffer-resize-regexps): Remove options.
2811 (temp-buffer-resize-mode): Adjust doc-string.
2812 (resize-temp-buffer-window): Don't consult
2813 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
2814 temp-buffer-resize-frames.
2815
375e49d4
SM
2816 * dired.el (dired-mark-pop-up):
2817 Call display-buffer-below-selected with a fit-window-to-buffer alist
5938d519
MR
2818 entry.
2819
c4c0c2df
CY
28202012-09-30 Chong Yidong <cyd@gnu.org>
2821
48de8b12
CY
2822 * server.el (server-host): Document the security implications.
2823 (server-auth-key): Doc fix.
2824
2825 * startup.el (initial-buffer-choice): Doc fix.
2826
2827 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
2828
a97dc380
CY
2829 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
2830 restriction change.
2831
d39d3c8e
CY
2832 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
2833
c4c0c2df
CY
2834 * help-fns.el (help-fns--obsolete): Fix last change.
2835
98a5e33b
SM
28362012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
2837
34cf6f39
SM
2838 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
2839 (minor-mode-map-alist): Remove redundant code.
2840
e01c13fe
SM
2841 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
2842 visited in a buffer.
2843 (cvs-insert-visited-file): New function.
2844 (find-file-hook): Use it.
2845
2846 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
2847
02661b3a
SM
2848 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
2849 chose face.
2850 (log-edit-empty-buffer-p): Don't require a space after a header.
2851
43711d4b
SM
2852 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
2853
38a30d64
SM
2854 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
2855
4ffb41a9
SM
2856 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
2857 a proper minor-mode.
2858
98a5e33b
SM
2859 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
2860
de82e29b
GM
28612012-09-29 Glenn Morris <rgm@gnu.org>
2862
5cc2e639
GM
2863 * winner.el (winner-mode): Remove variable (let define-minor-mode
2864 handle it).
2865 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
2866 Doc fixes.
2867 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
2868 (winner-mode): Use define-minor-mode.
2869
7bd302eb
GM
2870 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
2871 the full definition in loaddefs, rather than duplicating it.
2872
2923922f 2873 * help-macro.el (three-step-help): No need to autoload defcustom.
ced08382 2874
0e3e4156
GM
2875 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
2876 (inferior-lisp-program, inferior-lisp-load-command)
2877 (inferior-lisp-prompt, inferior-lisp-mode-hook):
2923922f 2878 No need to autoload defcustoms.
0e3e4156 2879
de82e29b
GM
2880 * hippie-exp.el (hippie-expand-try-functions-list)
2881 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
2882 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
2883 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
2923922f 2884 (hippie-expand-only-buffers): No need to autoload defcustoms.
de82e29b
GM
2885 * progmodes/vhdl-mode.el (vhdl-line-expand):
2886 Explicitly load hippie-exp, so it does not get autoloaded
2887 while hippie-expand-try-functions-list is let-bound.
2888
e60b51ab
GM
28892012-09-28 Glenn Morris <rgm@gnu.org>
2890
277f0cfa
GM
2891 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
2892
e60b51ab
GM
2893 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
2894 Only "cl.el" counts as cl these days.
2895
53baf48a
JL
28962012-09-28 Juri Linkov <juri@jurta.org>
2897
2898 Display archive errors in the echo area instead of inserting
2899 to the file buffer.
2900
2901 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
2902 to STDERR-TEST that can be a regexp matching a successful output.
2903 Create a temporary file and redirect stderr to it. Search for
2904 STDERR-TEST in the stderr output and display it in the echo area
2905 if no match is found.
2906 (archive-extract-by-file): New function like
2907 `archive-extract-by-stdout' but extracting archives to files
2908 and looking for successful matches in stdout. Function body is
2909 mostly copied from `archive-rar-extract'.
2910 (archive-rar-extract): Use `archive-extract-by-file'.
2911 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
2912
9c1228c3
LL
29132012-09-28 Leo Liu <sdl.web@gmail.com>
2914
375e49d4
SM
2915 * pcomplete.el (pcomplete-show-completions):
2916 Use minibuffer-message to make pcomplete usable in minibuffer.
147c0425 2917
9c1228c3
LL
2918 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
2919
7f457c06
SM
29202012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
2921
3df749b0
SM
2922 * type-break.el: Use lexical-binding.
2923 (type-break-mode): Use define-minor-mode.
2924
7f457c06
SM
2925 * emacs-lisp/pcase.el (pcase--mark-used): New.
2926 (pcase--u1): Use it (bug#12512).
2927
2928 * custom.el (load-theme): Set buffer-file-name so the load is recorded
2929 in load-history with the right file name.
2930
c00ebc98
TH
29312012-09-28 Tassilo Horn <tsdh@gnu.org>
2932
2933 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
2934 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
2935 (doc-view-get-bounding-box): Make bounding box slicing work for
2936 ODF and DVI documents.
2937
96fb7170
GM
29382012-09-28 Glenn Morris <rgm@gnu.org>
2939
2940 * type-break.el (type-break-mode, type-break-interval)
2941 (type-break-good-rest-interval, type-break-keystroke-threshold):
2942 No need to autoload.
2943 (type-break-good-rest-interval, type-break-keystroke-threshold):
2944 Add :set-after.
2945
5bc93c67
CY
29462012-09-28 Chong Yidong <cyd@gnu.org>
2947
2948 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
2949 Add :version tag.
2950
9cad61d6
SM
29512012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
2952
e28e67b3 2953 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
9cad61d6 2954
daee954c
GM
29552012-09-27 Glenn Morris <rgm@gnu.org>
2956
a88324d4
GM
2957 * faces.el (x-display-name): Declare (for without-x builds).
2958
8e5064e5
GM
2959 * linum.el (linum-format): Don't autoload it. Improve :type.
2960
cc1783c2
GM
2961 * progmodes/tcl.el: Don't require outline when compiling.
2962 (outline-regexp, outline-level): Declare.
1dddcf4c
GM
2963 * textmodes/sgml-mode.el: Don't require outline when compiling.
2964 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
2965
48c339f2
GM
2966 * term.el (term-ansi-reset):
2967 Try setting term-ansi-face-already-done to nil. (Bug#11785)
2968
daee954c
GM
2969 * vc/vc.el (vc-next-action): Only gripe about committing read-only
2970 files for RCS and SCCS. (Bug#9781)
2971
b7f42161
CY
29722012-09-27 Chong Yidong <cyd@gnu.org>
2973
2974 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
2975 change; value should be t.
2976
a2e770db
SM
29772012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
2978
83600dc8
SM
2979 * image-mode.el: Use lexical-binding.
2980 (image-mode-winprops): Use t to stand for the window of
2981 a buffer that's not displayed.
2982 * doc-view.el (doc-view-new-window-function): Handle the new
2983 t in winprops.
2984 (doc-view-enlarge): Make it a real nop if the size is not changed.
2985 (doc-view-display): Handle the case where the buffer is not (yet?)
2986 displayed in any window.
2987 (doc-view-saved-settings): New var.
2988 (doc-view-mode): Use it.
2989 (doc-view-fallback-mode): Set it.
2990
a2e770db
SM
2991 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
2992 Set lexical-binding.
2993 (minibuffer-eldef-shorten-default): New var.
2994 (minibuffer-default-in-prompt-regexps): Use it for new default.
2995 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
2996
e3b60857
JB
29972012-09-26 Juanma Barranquero <lekktu@gmail.com>
2998
2999 * international/uni-bidi.el:
3000 * international/uni-category.el:
3001 * international/uni-name.el:
3002 * international/uni-numeric.el: Regenerate.
3003
3a880af4
SM
30042012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
3005 Stefan Monnier <monnier@iro.umontreal.ca>
3006
3007 * profiler.el: New file.
3008
07b1a5fb
SM
30092012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
3010
3011 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
3012 (testcover-reinstrument): Simplify with CSE.
3013
42019c2e
JB
30142012-09-26 Juanma Barranquero <lekktu@gmail.com>
3015
3016 * window.el (temp-buffer-window-setup): Fix typo in docstring.
3017
179f044b
WS
30182012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
3019
3020 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
3021 (verilog-auto-input, verilog-auto-insert-lisp)
3022 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
3023 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
3024 (verilog-auto-unused, verilog-auto-wire)
3025 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
3026 newline. Reported by Andrew Jones.
3027 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
3028 Reported by Brad Dobbie.
07b1a5fb
SM
3029 (verilog-batch-delete-trailing-whitespace):
3030 Create verilog-batch-delete-trailing-whitespace.
3031 Reported by Brad Dobbie.
179f044b
WS
3032 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
3033 parameters from another module. Reported by Dan Katz.
3034 (verilog-auto, verilog-auto-assign-modport)
3035 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
3036 AUTOINOUTMODPORT for UVM interface module shell generation.
3037 Reported by Brad Dobbie.
3038 (verilog-auto-inst-interfaced-ports): Make default nil, as more
3039 standard behavior.
3040 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
3041 Reported by Matt Martin.
3042
9c52dd5a
MR
30432012-09-25 Martin Rudalics <rudalics@gmx.at>
3044
3045 * window.el (window--resize-child-windows): When resizing child
3046 windows proportionally, process them in reverse order to
3047 preserve the "when splitting a window the new one gets the odd
3048 line" behavior.
3049 (window--resize-root-window-vertically): When resizing the
3050 minibuffer window try to affect only windows at the bottom of the
3051 frame. (Bug#12419)
3052
863666eb
CY
30532012-09-25 Chong Yidong <cyd@gnu.org>
3054
3055 * subr.el (declare): Doc fix.
3056
3057 * help-fns.el (help-fns--obsolete): Handle macros properly.
3058
59f7af81
CY
30592012-09-25 Chong Yidong <cyd@gnu.org>
3060
3061 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
3062 this function obsolete.
3063
3064 * calendar/cal-x.el (calendar-two-frame-setup)
3065 (calendar-only-one-frame-setup, calendar-one-frame-setup):
3066 * calendar/calendar.el (american-calendar, european-calendar)
3067 (calendar-for-loop):
3068 * comint.el (comint-dynamic-simple-complete)
3069 (comint-dynamic-complete-as-filename, comint-unquote-filename):
3070 * desktop.el (desktop-load-default):
3071 * dired-x.el (dired-omit-here-always)
3072 (dired-hack-local-variables, dired-default-directory):
3073 * emacs-lisp/derived.el (derived-mode-class):
3074 * emacs-lisp/timer.el (timer-set-time-with-usecs):
3075 * emacs-lock.el (toggle-emacs-lock):
3076 * epa.el (epa-display-verify-result):
3077 * epg.el (epg-sign-keys, epg-start-sign-keys)
3078 (epg-passphrase-callback-function):
3079 * eshell/esh-util.el (eshell-for):
3080 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
3081 (eshell-add-to-window-buffer-names):
3082 * files.el (locate-file-completion):
3083 * imenu.el (imenu-example--create-c-index)
3084 (imenu-example--create-lisp-index)
3085 (imenu-example--lisp-extract-index-name)
3086 (imenu-example--name-and-position):
3087 * international/mule-cmds.el (princ-list):
3088 * international/mule-diag.el (decode-codepage-char):
3089 * international/mule-util.el (detect-coding-with-priority):
3090 * iswitchb.el (iswitchb-read-buffer):
3091 * mail/mailalias.el (mail-complete):
3092 * mail/sendmail.el (mail-sent-via):
3093 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
3094 (mouse-major-mode-menu):
3095 * password-cache.el (password-read-and-add):
3096 * pcomplete.el (pcomplete-parse-comint-arguments):
3097 * progmodes/sh-script.el (sh-maybe-here-document):
3098 * replace.el (query-replace-regexp-eval):
3099 * savehist.el (savehist-load):
3100 * simple.el (choose-completion-delete-max-match):
3101 * term.el (term-dynamic-simple-complete):
3102 * vc/ediff-init.el (ediff-check-version):
3103 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
3104 * vc/vc.el (vc-diff-switches-list):
3105 * view.el (view-return-to-alist-update): Likewise.
3106
3107 * subr.el (eval-next-after-load, makehash, insert-string)
3108 (assoc-ignore-representation, assoc-ignore-case): Use declare to
3109 mark obsolete.
3110 (mode-line-inverse-video): Variable deleted.
3111
3112 * international/mule-util.el (string-to-sequence): Remove.
3113
3114 * calendar/calendar.el (calendar-version):
3115 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
3116 (icalendar-convert-diary-to-ical):
3117 * cus-edit.el (custom-mode):
3118 * ansi-color.el (ansi-color-unfontify-region):
3119 * international/latin1-disp.el (latin1-char-displayable-p):
3120 * progmodes/cwarn.el (turn-on-cwarn-mode):
07b1a5fb
SM
3121 * progmodes/which-func.el (which-func-update-1):
3122 Use define-obsolete-function-alias.
59f7af81
CY
3123
3124 * net/newst-backend.el (newsticker-cache-filename):
07b1a5fb
SM
3125 * net/newst-treeview.el (newsticker-groups-filename):
3126 Fix incorrect obsolescence declaration.
59f7af81
CY
3127
3128 * allout.el (allout-passphrase-hint-string): Likewise.
3129 (allout-init): Use a declare form to mark obsolete.
3130
3131 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
3132 this applies to functions.
3133
3134 * iswitchb.el (iswitchb-read-buffer): Move code of
3135 iswitchb-define-mode-map here, and delete that obsolete function.
3136
3137 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
3138 font-lock-reference-face.
3139
cca96c97
GM
31402012-09-25 Glenn Morris <rgm@gnu.org>
3141
b06eeda8
GM
3142 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
3143 Doc fixes.
3144
cca96c97
GM
3145 * eshell/em-term.el (eshell-term-name):
3146 Default to term-term-name. (Bug#12485)
3147
dc4f818b
FEG
31482012-09-24 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3149
cca96c97
GM
3150 * progmodes/python.el (python-shell-send-buffer): Better handling
3151 of "if __name__ == '__main__':" conditionals when sending the buffer.
dc4f818b 3152
289c24bd
GM
31532012-09-24 Glenn Morris <rgm@gnu.org>
3154
3155 * eshell/esh-cmd.el (eshell-find-alias-function):
3156 Tighten up file-name regexp. (Bug#12499)
3157
8fb8b88f
FEG
31582012-09-24 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3159
3160 Enhancements for triple-quote string syntax.
3161 * progmodes/python.el (python-quote-syntax): Remove.
3162 (python-syntax-propertize-function): New value.
07b1a5fb
SM
3163 (python-syntax-count-quotes, python-syntax-stringify):
3164 New functions.
8fb8b88f 3165
6c27f0f8
CY
31662012-09-24 Chong Yidong <cyd@gnu.org>
3167
a5f2b6ec
CY
3168 * mail/supercite.el (sc-version): Remove obsolete function.
3169 (sc-describe): Don't mark as obsolete, since it is bound.
3170 (sc-submit-bug-report): Remove.
3171
3172 * vc/log-edit.el (cvs-changelog-full-paragraphs)
3173 (cvs-commit-buffer-require-final-newline): Remove.
0c765e5f
CY
3174 (log-edit-require-final-newline)
3175 (log-edit-changelog-full-paragraphs): Default to t.
a5f2b6ec
CY
3176
3177 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
3178 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
3179 * vc/vc.el (vc-checkout-carefully): Likewise.
3180
3181 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
3182 (emerge-version): Remove.
3183
3184 * progmodes/compile.el (compile-internal): Remove.
3185 (compilation-parse-errors-function): Fix typo.
3186
3187 * international/mule.el (set-char-table-default): Remove.
3188 (set-coding-priority, make-coding-system, generic-char-p)
3189 (charset-list, charset-bytes, charset-id): Use declare to mark
3190 functions as obsolete.
3191
3192 * vc/pcvs-defs.el (cvs-buffer-name-alist)
3193 (cvs-invert-ignore-marks): Remove references to obsolete vars.
3194 * vc/vc-hooks.el (vc-default-registered): Don't use
3195 vc-master-templates.
3196
07b1a5fb
SM
3197 * font-lock.el (font-lock-reference-face):
3198 Use define-obsolete-variable-alias.
6c27f0f8
CY
3199
3200 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
3201 * calendar/calendar.el (calendar-font-lock-keywords):
3202 * calendar/diary-lib.el (diary-font-lock-keywords)
3203 (diary-fancy-font-lock-keywords):
3204 * textmodes/reftex-sel.el (reftex-insert-docstruct):
3205 * textmodes/reftex-index.el (reftex-insert-index):
3206 * textmodes/reftex-cite.el (reftex-format-bib-entry):
3207 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3208 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
3209 * progmodes/prolog.el (prolog-font-lock-keywords):
3210 * progmodes/idlwave.el (idlwave-idl-keywords):
3211 * progmodes/ada-mode.el (ada-font-lock-keywords):
3212 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
3213
bcc0adbf
GM
32142012-09-24 Glenn Morris <rgm@gnu.org>
3215
3216 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
3217
095bb823
FEG
32182012-09-23 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3219
3220 * progmodes/python.el (python-indent-line): More consistent cursor
3221 movement behavior.
3222
70efc5c9
SM
32232012-09-23 Stefan Merten <smerten@oekonux.de>
3224
3225 * textmodes/rst.el: Fix compiler warning.
3226
2f438239
RW
32272012-09-23 Roland Winkler <winkler@gnu.org>
3228
07b1a5fb
SM
3229 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
3230 Transcribe also LaTeX hyphenation.
2f438239
RW
3231 (bibtex-reformat): Bug fix. Do not quote twice the elements of
3232 bibtex-reformat-previous-options.
3233
936ad041
RW
32342012-09-23 Roland Winkler <winkler@gnu.org>
3235
3236 * proced.el (proced-renice-command): New variable.
3237 (proced-marked-processes): New function.
3238 (proced-with-processes-buffer): New macro.
3239 (proced-send-signal): Use them.
3240 (proced-renice): New command bound to r.
3241
6fab0274
RW
32422012-09-23 Roland Winkler <winkler@gnu.org>
3243
3244 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
3245 ibuffer-saved-filter-groups has one element, shortcut the call of
3246 completing-read. (Bug#12331)
3247
9a930676
CY
32482012-09-23 Chong Yidong <cyd@gnu.org>
3249
3250 * bindings.el (mode-line-toggle-read-only):
3251 * bs.el (bs-toggle-readonly):
3252 * buff-menu.el (Buffer-menu-toggle-read-only):
3253 * dired.el (dired-toggle-read-only):
3254 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
3255
d07ff9db
CY
32562012-09-23 Chong Yidong <cyd@gnu.org>
3257
3258 * image.el (image-type-available-p): Adapt to init-image-library
3259 argument changes.
3260
51c4474e
JL
32612012-09-22 Juri Linkov <juri@jurta.org>
3262
3263 * dired.el (dired-mode-map): Add [remap read-only-mode] for
3264 `dired-toggle-read-only'. (Bug#12462)
3265
43bf5e8e
MR
32662012-09-22 Martin Rudalics <rudalics@gmx.at>
3267
3268 * subr.el (temp-output-buffer-show): New function.
3269 (with-output-to-temp-buffer): Call temp-output-buffer-show
3270 instead of internal-temp-output-buffer-show.
3271
c88b867f
CY
32722012-09-22 Chong Yidong <cyd@gnu.org>
3273
3df47cd5
CY
3274 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
3275 (Bug#12462).
3276
c88b867f
CY
3277 * repeat.el (repeat): Doc fix (Bug#12348).
3278
3279 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
3280 (Bug#10909).
3281
3282 * simple.el (shell-command-on-region): Doc fix.
3171e303 3283 (read-only-mode): Doc fix.
c88b867f 3284
df9685f3
EZ
32852012-09-22 Eli Zaretskii <eliz@gnu.org>
3286
3287 * emacs-lisp/timer.el (run-with-idle-timer)
3288 (timer-activate-when-idle): Warn against reinvoking an idle timer
3289 from within its own timer action. (Bug#12447)
3290
8e17c9ba
MR
32912012-09-22 Martin Rudalics <rudalics@gmx.at>
3292
3293 * cus-start.el (window-combination-limit): Add new optional
3294 values.
3295 * window.el (temp-buffer-window-show)
3296 (window--try-to-split-window): Handle new values of
3297 window-combination-limit (Bug#1806).
3298 (split-window): Test window-combination-limit for t instead of
3299 non-nil.
3300 (display-buffer-at-bottom): New buffer display action function.
3301 * help.el (temp-buffer-resize-regexps): New option.
3302 (temp-buffer-resize-mode): Rewrite doc-string.
3303 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
bd909927 3304 Don't resize reused window. Suggested by Glenn Morris.
8e17c9ba 3305
48a24920
SM
33062012-09-22 Stefan Merten <smerten@oekonux.de>
3307
70efc5c9 3308 * textmodes/rst.el: Revamp section title faces.
48a24920
SM
3309 (rst-official-version)
3310 (rst-package-emacs-version-alist): Sync with official version
3311 V1.4.0.
3312 (rst-faces-defaults, rst-set-level-default)
3313 (rst-level-face-max, rst-level-face-base-color)
3314 (rst-level-face-base-light, rst-level-face-format-light)
3315 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
3316 (rst-adornment-faces-alist): Match new setup.
3317 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
3318 (rst-level-5, rst-level-6): New faces.
3319
82f8cd94
CY
33202012-09-22 Chong Yidong <cyd@gnu.org>
3321
3322 * simple.el (undo): Handle indirect buffers (Bug#8207).
3323
acfa068f 33242012-09-21 Leo Liu <sdl.web@gmail.com>
a8c14da8
LL
3325
3326 IDO: Disable match re-ordering for buffer switching.
2bc9406c 3327 * ido.el (ido-buffer-disable-smart-matches): New variable.
a8c14da8
LL
3328 (ido-set-matches-1): Use it. (Bug#2042)
3329
acfa068f 33302012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
a316d229
JM
3331
3332 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
3333 Fix 2011-05-17 change. (Bug#12418)
3334
acfa068f 33352012-09-21 Leo Liu <sdl.web@gmail.com>
d02e58f8
LL
3336
3337 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
3338
acfa068f 33392012-09-21 Glenn Morris <rgm@gnu.org>
511fd0b2
GM
3340
3341 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
3342 Be more robust about locating simple.el.
3343
acfa068f 33442012-09-21 Glenn Morris <rgm@gnu.org>
fa05bfe0
GM
3345
3346 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
3347
acfa068f
CY
33482012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
3349
3350 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
3351
41a97e6f
JL
33522012-09-20 Juri Linkov <juri@jurta.org>
3353
eb2deaff
JL
3354 * replace.el (query-replace-read-from): Use `read-regexp' instead
3355 of `read-from-minibuffer' when `regexp-flag' is non-nil.
3356 (occur-read-primary-args): Use `read-regexp' instead of
3357 `read-string'.
3358 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
3359 `read-from-minibuffer'.
3360 * isearch.el (isearch-occur): Use `read-regexp' instead of
3361 `read-string'.
3362 * dired.el (dired-read-regexp): Use `read-regexp' instead of
3363 `read-from-minibuffer'.
3364 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
3365 of `read-string'. (Bug#7567)
3366
5825610b
JL
3367 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
3368 and allow accepting a list of strings prepended to a list of
3369 standard default values. Doc fix. (Bug#12321)
3370
eebbf404
JL
3371 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
3372
41a97e6f
JL
3373 * replace.el (read-regexp): Don't add ": " when PROMPT already
3374 ends with a colon and space. (Bug#12321)
3375
c9e452d3
TH
33762012-09-20 Tassilo Horn <tsdh@gnu.org>
3377
3378 * doc-view.el (doc-view-display): Better fix for the cl-assertion
3379 error.
3380
ee97deee
SM
33812012-09-20 Stefan Merten <smerten@oekonux.de>
3382
70efc5c9 3383 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
ee97deee
SM
3384 Fixes feature request bug#11711.
3385 (rst-mode): Create `imenu-create-index-function'.
3386 (rst-get-stripped-line): Delete after refactoring.
3387 (rst-section-tree, rst-section-tree-rec)
3388 (rst-section-tree-point): Refactor and document properly.
3389 (rst-imenu-find-adornments-for-position)
07b1a5fb
SM
3390 (rst-imenu-convert-cell, rst-imenu-create-index):
3391 New function.
ee97deee 3392
f490dab9
SM
33932012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3394
95b9712e
SM
3395 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
3396 (macroexp--expand-all): Use it.
3397 (macroexp--funcall-and-return): Remove by folding it into its sole
3398 caller (macroexp--warn-and-return).
3399 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
3400 Use macroexp--obsolete-warning.
3401
f490dab9
SM
3402 * calc/calc.el: Fix last change by removing the whole chunk, since it
3403 was only needed back when Calc was not bundled.
3404
96e8d411
MR
34052012-09-20 Martin Rudalics <rudalics@gmx.at>
3406
3407 * emacs-lisp/debug.el (debug): Restore assignment to
3408 debugger-old-buffer removed on 2012-09-08.
3409
0876a82d
JL
34102012-09-20 Juri Linkov <juri@jurta.org>
3411
3412 * dired-aux.el (dired-diff): Remove (require 'diff) since
3413 `diff-latest-backup-file' is now autoloaded.
3414
9f7c28f0
CY
34152012-09-20 Chong Yidong <cyd@gnu.org>
3416
3417 * vc/diff.el (diff-latest-backup-file): Autoload.
3418
7a04bee9
SM
34192012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3420
e6f0a80d
SM
3421 * calc/calc.el: Remove redundant autoload shape check.
3422 (sel-mode): Don't defvar.
3423 (calc-get-stack-element): Add `sel-mode' arg instead.
3424 (calc-top, calc-top-list): Pass it this additional argument.
3425 * calc/calc-store.el (calc-store-map):
3426 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
3427 (calc-map-equation, calc-outer-product, calc-inner-product):
3428 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
3429
7a04bee9
SM
3430 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
3431
12734222
JL
34322012-09-19 Juri Linkov <juri@jurta.org>
3433
3434 * dired-aux.el (dired-diff): Add (require 'diff) because
3435 `diff-latest-backup-file' is not autoloaded.
3436 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
3437 of `dired-get-filename' to t to not report error when there is
3438 no default file on the current line.
3439
46624b4f
SM
34402012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3441
ce97595b
SM
3442 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
3443 macroexp--eval-if-compile.
3444 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
3445 (macroexp--expand-all): Use them (bug#12371).
3446
46624b4f
SM
3447 * doc-view.el (doc-view-guess-paper-size)
3448 (doc-view-scale-bounding-box): Fix unbound `caddr'.
3449
db8a5a18
TH
34502012-09-19 Tassilo Horn <tsdh@gnu.org>
3451
3452 New feature: set optimal slice from BoundingBox information.
3453 * doc-view.el (doc-view-mode-map): Add keybinding.
3454 (doc-view-menu): Add menu entry.
3455 (doc-view-set-slice): Adapt docstring.
3456 (doc-view-get-bounding-box, doc-view-guess-paper-size)
3457 (doc-view-scale-bounding-box)
3458 (doc-view-set-slice-from-bounding-box): New functions.
3459 (doc-view-paper-sizes): New defvar.
3460
69f6644c
GM
34612012-09-19 Glenn Morris <rgm@gnu.org>
3462
35f5b19d
GM
3463 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
3464 (byte-compile-log-warning): Autoload. (Bug#12371)
3465
69f6644c
GM
3466 * calendar/calendar.el (calendar-american-month-header)
3467 (calendar-european-month-header, calendar-iso-month-header)
3468 (calendar-month-header): New options.
3469 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
3470 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
3471
e543ae91
JD
34722012-09-19 Jan Djärv <jan.h.d@swipnet.se>
3473
3474 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
3475
2fd5e67d
JL
34762012-09-18 Juri Linkov <juri@jurta.org>
3477
3478 * dired-aux.el (dired-diff): Restore original functionality of
3479 getting the default value, but keep new feature of using the
3480 latest existing backup file (`diff-latest-backup-file').
3481
42917e79
JL
34822012-09-18 Juri Linkov <juri@jurta.org>
3483
3484 * dired.el (dired-mark): If the region is active in Transient Mark
3485 mode, mark all files in the active region. Doc fix.
3486 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
3487 Doc fix. (Bug#10624)
3488
20f70ede
JL
34892012-09-18 Juri Linkov <juri@jurta.org>
3490
3491 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
3492 attributes for M-n are pulled from the file at point.
3493 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
3494 Suggested by Drew Adams. (Bug#10624)
3495
32fb8162
DG
34962012-09-18 Dmitry Gutov <dgutov@yandex.ru>
3497
3498 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
3499 whitespace after "end".
3500 (ruby-do-end-to-brace): Collapse block to one line if it fits
3501 within fill-column.
3502
37ab5092
MR
35032012-09-18 Martin Rudalics <rudalics@gmx.at>
3504
3505 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
3506 value.
3507 (debug): Don't remove debugger window when debugger is expected
3508 to be back.
3509
ed1f0bd3
CY
35102012-09-18 Chong Yidong <cyd@gnu.org>
3511
3512 * custom.el (defface): Doc fix.
3513
3514 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
3515
a11035b8
MB
35162012-09-18 Martin Blais <blais@furius.ca> (tiny change)
3517
3518 * progmodes/compile.el (compilation-start): Use compilation-always-kill
3519 to initialize query-on-exit; then test that instead (bug#12288).
3520
64f6a736
SM
35212012-09-17 Stefan Merten <smerten@oekonux.de>
3522
70efc5c9 3523 * textmodes/rst.el: Add support for `testcover'.
64f6a736
SM
3524 (rst-defcustom-testcover, rst-testcover-add-compose)
3525 (rst-testcover-add-1value): New functions.
3526 (rst-portable-mark-active-p): Replace by `use-region-p'.
3527 (rst-update-section, rst-classify-adornment)
3528 (rst-find-title-line): Mark `1value' forms.
3529 (rst-classify-adornment): Remove superfluous form.
3530 (rst-update-section, rst-get-adornments-around)
3531 (rst-adornment-complete-p, rst-get-next-adornment)
3532 (rst-adjust, rst-promote-region)
3533 (rst-display-adornments-hierarchy, rst-straighten-adornments)
3534 (rst-find-pfx-in-region, rst-section-tree-rec)
3535 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
3536 (rst-toc-node, rst-toc, rst-forward-section)
3537 (rst-iterate-leftmost-paragraphs)
3538 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
3539 (rst-bullet-list-region)
3540 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
3541 (rst-compile-find-conf, rst-compile)
3542 (rst-repeat-last-character): Fix style.
3543
580bd868
CY
35442012-09-17 Chong Yidong <cyd@gnu.org>
3545
3546 * comint.el (comint--complete-file-name-data): Don't add a space
3547 if the status is `sole'; that adds a gratuitous space in the
3548 completion-cycling case (Bug#12092).
3549
3550 * pcomplete.el (pcomplete-completions-at-point): Likewise.
3551
69de3ec6
RS
35522012-09-17 Richard Stallman <rms@gnu.org>
3553
0dee970c
RS
3554 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
3555 only in the mime-shown mode, not in raw mode.
3556 (rmail-mime): Toggle off mime by displaying the message without
6b250df6 3557 mime processing. (Bug#12305)
0dee970c 3558
6b250df6
GM
3559 * mail/rmail.el (rmail-retry-failure):
3560 Turn off mime processing first. (Bug#12037)
acb1c47b 3561
69de3ec6
RS
3562 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
3563
d079ee5f
CY
35642012-09-17 Chong Yidong <cyd@gnu.org>
3565
3566 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
3567 (shell-dynamic-complete-functions): Convert to defcustom.
3568 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
3569
865fe16f
CY
3570 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
3571 * comint.el (comint-prompt-read-only):
3572 * custom.el (defcustom):
3573 * hi-lock.el (hi-lock-mode):
3574 * ibuffer.el (ibuffer-formats):
3575 * ielm.el (ielm-prompt-read-only):
3576 * novice.el (disable-command):
3577 * saveplace.el (toggle-save-place):
3578 * speedbar.el (speedbar-supported-extension-expressions):
3579 * startup.el (auto-save-list-file-prefix, init-file-user)
3580 (after-init-hook, inhibit-startup-echo-area-message):
3581 * strokes.el (strokes-help):
3582 * time-stamp.el (time-stamp):
3583 * calendar/calendar.el (calendar, diary-file):
3584 * calendar/diary-lib.el (diary-mail-entries, diary)
3585 (diary-list-entries-hook):
3586 * calendar/holidays.el (holidays, calendar-holidays):
3587 * calendar/lunar.el (lunar-phases):
3588 * calendar/solar.el (sunrise-sunset):
3589 * emulation/edt.el (edt-load-keys):
3590 * emulation/viper.el (viper-mode):
3591 * eshell/em-alias.el (eshell-command-aliases-list):
3592 * eshell/esh-util.el (eshell-convert-numeric-arguments):
3593 * international/ogonek.el (ogonek-information):
3594 * net/tramp-cmds.el (tramp-bug):
3595 * net/quickurl.el (quickurl-reread-hook-postfix):
3596 * play/decipher.el (decipher-font-lock-keywords):
3597 * progmodes/cc-styles.el (c-set-style):
3598 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
3599 * progmodes/inf-lisp.el (inferior-lisp-prompt):
3600 * progmodes/octave-mod.el (octave-mode):
3601 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
3602 * progmodes/verilog-mode.el (verilog-read-defines):
3603 * textmodes/two-column.el (2C-mode): Likewise.
3604
48093eb9
KY
36052012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
3606
3607 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
3608 that holds many addresses.
3609
c584eaf9
CY
36102012-09-16 Chong Yidong <cyd@gnu.org>
3611
40d70ecb
CY
3612 * align.el (align-areas): Call the indication function with
3613 positions instead of markers for arguments (Bug#12343).
3614
1667e065
CY
3615 * files.el (parse-colon-path): Use split-string (Bug#12351).
3616
fdc2806d 3617 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
71ce58e7 3618 (display-buffer-function): Mark as obsolete.
fdc2806d 3619
f1be615c 3620 * progmodes/compile.el (compilation-parse-errors): Accept list
ce97595b
SM
3621 values similar to font-lock-keywords (Bug#12136).
3622 Suggested by Oleksandr Manzyuk.
c584eaf9
CY
3623 (compilation-error-regexp-alist): Doc fix.
3624
f40a9709
GM
36252012-09-15 Glenn Morris <rgm@gnu.org>
3626
72aa16e1
GM
3627 * version.el (emacs-bzr-version-bzr): New function.
3628 (emacs-bzr-get-version): Add optional EXTERNAL argument.
3629
82375160
GM
3630 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
3631 checkouts, check the parent dirstate matches the branch.
3632 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
3633 empty string.
3634
f40a9709
GM
3635 * version.el (emacs-bzr-version): Doc fix.
3636 (emacs-bzr-version-dirstate): New function.
3637 (emacs-bzr-get-version): For lightweight checkouts, if the parent
3638 is local try and check that it matches the branch. If not, just
3639 use dirstate information. (Bug#12441)
3640
cb26b7f5
JL
36412012-09-14 Juri Linkov <juri@jurta.org>
3642
3643 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
3644 (Bug#12399)
3645
2de39f08
SM
36462012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
3647
0fb3cb7c
SM
3648 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
3649
2de39f08
SM
3650 * emacs-lisp/edebug.el: Miscellaneous cleanup.
3651 Remove obsolete byte-compiler hack that tried to silence some warnings.
3652 (edebug-submit-bug-report): Remove.
3653 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
3654 Remove aliases, use the un-prefixed name instead.
3655 (edebug-pop-to-buffer): Consider other frames.
3656 (edebug-original-read):: Make it more obvious that it's always defined.
3657 (edebug--make-form-data-entry, edebug--form-data-name)
3658 (edebug--form-data-begin, edebug--form-data-end): Rename from the
3659 single-dashed name, and implement with cl-defstruct.
3660 (edebug-set-form-data-entry): Use the standard accessors.
3661 (edebug-make-top-form-data-entry): Use push.
3662 (edebug-no-match): Drop useless `funcall'.
3663 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
3664 to functions.
3665 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
3666 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
3667 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
3668 (easy-menu-define, with-custom-print): Remove redundant specs.
3669 (edebug-outside-overriding-local-map)
3670 (edebug-outside-overriding-terminal-local-map): Remove, unused.
3671 (edebug--display): Bind unread-command-events directly to nil rather
3672 than binding it to unread-command-events and later setting it to nil.
3673 (edebug--display): Kill edebug-eval-buffer here...
3674 (edebug--recursive-edit): ...rather than here.
3675 Bind standard-output and standard-input.
3676 (edebug-eval): Check cl-macroexpand-all is fboundp.
3677 (edebug-temp-display-freq-count): Fix last change.
3678
3679 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
3680 * subr.el (noreturn, 1value): Add `debug' spec.
3681 * emacs-lisp/advice.el: Require cl-lib.
3682 (ad-copy-tree): Remove, use copy-tree instead.
3683 (ad-dolist): Remove use dolist or cl-dolist instead.
3684 (ad-do-return): Remove, use cl-return instead.
3685 (defadvice): Add `debug' spec.
3686
5b68b333
JL
36872012-09-13 Juri Linkov <juri@jurta.org>
3688
3689 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
3690 (Bug#12399)
3691
b9800ec4
GM
36922012-09-13 Glenn Morris <rgm@gnu.org>
3693
6a2e6868
GM
3694 * calc/calc.el (math-compose-expr):
3695 * calc/calc-ext.el (math-compose-expr):
3696 * progmodes/cc-defs.el (cl-macroexpand-all):
3697 * progmodes/cc-langs.el (delete-duplicates, mapcan)
3698 (cl-macroexpand-all): Update declarations.
3699
b9800ec4
GM
3700 * vc/vc.el: No need to require ediff.
3701 (ediff-load-version-control): Declare.
3702 (ediff-vc-internal): Fix declaration.
3703 (vc-version-ediff): Require ediff.
3704
c18e885b
PE
37052012-09-13 Paul Eggert <eggert@cs.ucla.edu>
3706
3707 Use a more backwards-compatible timer format (Bug#12430).
3708 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
3709 being right after USECS, as that better supports old code that
3710 inadvisedly looked directly at the timer vector.
3711
d607d303
KH
37122012-09-13 Kenichi Handa <handa@gnu.org>
3713
3714 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
3715 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
3716 `coding-priority' property of these language environment.
3717
72eac303
PE
37182012-09-13 Paul Eggert <eggert@cs.ucla.edu>
3719
3720 Fix glitches caused by addition of psec to timers (Bug#12430).
3721 * image.el (image-animate-timer):
3722 * time.el (display-time-world-timer):
3723 Use timer--function and timer--args rather than raw access to
3724 timer vector.
3725
2168fe4f
GM
37262012-09-13 Glenn Morris <rgm@gnu.org>
3727
3728 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
3729 If not compiling a file, try using load-file-name.
3730
bd8d6108
SM
37312012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
3732
c0c54fbd
SM
3733 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
3734 Fix last change.
3735 (edebug-update-eval-list): Use `push'.
3736
bd8d6108
SM
3737 * emacs-lisp/edebug.el: Use lexical-binding.
3738 Remove the "edebug-" prefix from non-dynamically-scoped variables.
3739 Mark unused args with underscore.
3740 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
3741 (edebug-form-data): Use defvar-local.
3742 (edebug-make-before-and-after-form, edebug-make-after-form):
3743 Use backquote.
3744 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
3745 Not dynamically scoped any more.
3746 (edebug--enter-trace): Add arguments `function' and `args'.
3747 Rename from edebug-enter-trace.
3748 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
3749 (edebug--update-coverage): Add `after-index' and `value' args.
3750 Rename from edebug-update-coverage.
3751 (edebug-slow-after): Call it accordingly.
3752 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
3753 edebug-recursive-edit.
3754 (edebug--display): Call it accordingly. Add args `value',
3755 `offset-index', and `arg-mode'. Rename from edebug-display.
3756 (edebug-debugger, edebug): Call it accordingly.
3757 (edebug-eval-display-list): Use dolist.
3758
a9f9d9de
JL
37592012-09-12 Juri Linkov <juri@jurta.org>
3760
3761 * info.el (Info-search): Don't check for isearch-mode and
3762 isearch-regexp before let-binding search-spaces-regexp to
3763 Info-search-whitespace-regexp.
3764 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
3765 search-whitespace-regexp if isearch-lax-whitespace or
3766 isearch-regexp-lax-whitespace is non-nil.
3767 (Info-mode): Don't set local variable search-whitespace-regexp.
3768 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
3769
bfeae2cf
SM
37702012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3771
3772 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
3773 (debugger-env-macro): Remove support for unread-command-char.
3774
3775 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
3776 the temporary map re-appearing on emulation-mode-map-alists.
3777
3778 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
3779 since 22.1.
3780
3781 * ehelp.el (with-electric-help): Accept functions in
3782 electric-help-form-to-execute.
3783 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
3784 And replace unread-command-char -> unread-command-events.
3785
fbbcaf1b
MA
37862012-09-12 Michael Albinus <michael.albinus@gmx.de>
3787
3788 Sync with Tramp 2.2.6.
3789
3790 * net/tramp.el (tramp-accept-process-output): Don't use
3791 JUST-THIS-ONE in the XEmacs case.
3792
3793 * net/trampver.el: Update release number.
3794
4dece104
MR
37952012-09-12 Martin Rudalics <rudalics@gmx.at>
3796
bfeae2cf
SM
3797 * emacs-lisp/debug.el (debugger-previous-window-height):
3798 New variable.
4dece104
MR
3799 (debug): When debugger-jumping-flag is non-nil try to restore
3800 height of debugger window. (Bug#8789)
3801
45b82ad0
SM
38022012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3803
60c49c0f
SM
3804 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
3805 overriding-local-map and pre/post-command-hook here.
3806 (edebug-recursive-edit): Do it here instead (bug#12345).
3807 (edebug-outside-unread-command-char): Remove all uses of
3808 unread-command-char.
3809
45b82ad0
SM
3810 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
3811 inhibit-debugger is bound instead.
3812
baa26ea0
BG
38132012-09-11 Bastien Guerry <bzg@gnu.org>
3814
3815 * subr.el (set-temporary-overlay-map): Add a docstring.
fc0c31f8 3816 (Bug#12346)
baa26ea0 3817
04e8abfa
BG
38182012-09-11 Bastien Guerry <bzg@gnu.org>
3819
96d03571 3820 * minibuffer.el (completion-table-subvert): Fix docstring.
fc0c31f8 3821 (Bug#12347)
96d03571
BG
3822
38232012-09-11 Bastien Guerry <bzg@gnu.org>
3824
fc0c31f8 3825 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
04e8abfa 3826
04e082b0
MM
38272012-09-10 Michael R. Mauger <mmaug@yahoo.com>
3828
3829 * progmodes/sql.el: Version 3.1
3830 (sql-db2-escape-newlines): New variable.
3831 (sql-escape-newlines-filter): Use it.
3832
399a361b
JB
38332012-09-10 Juanma Barranquero <lekktu@gmail.com>
3834
3835 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
3836
0780c517
DN
38372012-09-10 Dan Nicolaescu <dann@gnu.org>
3838
45b82ad0
SM
3839 * vc/diff-mode.el (diff-mode-menu):
3840 Bind diff-remove-trailing-whitespace.
0780c517 3841
9b851e25
SM
38422012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
3843
3844 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
fc0c31f8
JB
3845 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
3846 (emacs-lisp-byte-code-mode): New functions.
9b851e25
SM
3847 (eval-sexp-add-defvars): Don't skip defvars in column >0.
3848 (eval-defun-2): Remove bogus interactive spec.
3849 (lisp-indent-line): Remove redundant whole-exp code, now done in
3850 indent-according-to-mode.
3851 (save-match-data): Remove redundant indent data.
3852
3853 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
3854 Use `declare'.
3855
3231d532
JL
38562012-09-09 Juri Linkov <juri@jurta.org>
3857
3858 * replace.el (replace-regexp-lax-whitespace): New defcustom.
3859 (replace-lax-whitespace, query-replace-regexp)
3860 (query-replace-regexp-eval, replace-regexp): Doc fix.
3861 (perform-replace, replace-highlight): Let-bind
3862 isearch-lax-whitespace to replace-lax-whitespace and
3863 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
3864
3865 * isearch.el (isearch-query-replace): Let-bind
3866 replace-lax-whitespace to isearch-lax-whitespace and
3867 replace-regexp-lax-whitespace to
3868 isearch-regexp-lax-whitespace. (Bug#10885)
3869
70fe8236
SM
38702012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
3871
3872 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
3873
8ed43f15
AM
38742012-09-09 Alan Mackenzie <acm@muc.de>
3875
70fe8236
SM
3876 * progmodes/cc-engine.el (c-state-cache-init):
3877 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
3878 (c-record-parse-state-state):
3879 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
8ed43f15 3880
bfabf70a
AS
38812012-09-09 Andreas Schwab <schwab@linux-m68k.org>
3882
3883 * register.el (register-separator): Rename from
3884 separator-register. All uses changed. Doc fix.
3885 (register): Fix version.
3886
011474aa
CY
38872012-09-09 Chong Yidong <cyd@gnu.org>
3888
3889 * replace.el (query-replace-map): Bind four new symbols for
3890 requesting window scrolling.
3891
3892 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
3893 query-replace-map (Bug#8948).
3894
3895 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
3896
3897 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
3898 since they are now in query-replace-map.
3899
3900 * window.el (scroll-other-window-down): Make the arg optional.
3901
a8b7cd8d
CY
39022012-09-09 Chong Yidong <cyd@gnu.org>
3903
3904 * files.el (hack-local-variables-confirm): Use quit-window to kill
3905 the *Local Variables* buffer.
3906
c3268831
DG
39072012-09-08 Dmitry Gutov <dgutov@yandex.ru>
3908
3909 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
3910 not just expect to be at its beginning. Adjust callees.
3911 Succeed when do-end block has no space before the pipe character.
3912 (ruby-brace-to-do-end): When the original block is one-liner,
3913 convert to multiline. Reindent the result.
3914
0979429b
J
39152012-09-08 Jambunathan K <kjambunathan@gmail.com>
3916
3917 * register.el (register): New group.
27359e99 3918 (separator-register): New user option.
0979429b
J
3919 (increment-register): Route it to `append-to-register', if
3920 register contains text. Implication is that `C-x r +' can now be
3921 used for appending to a text register (bug#12217).
3922 (append-to-register, prepend-to-register): Add separator based on
5b9c45a6 3923 `separator-register'.
0979429b 3924
ace2989a
AM
39252012-09-08 Alan Mackenzie <acm@muc.de>
3926
3927 AWK Mode: make auto-newline work when there's "==" in the pattern.
3928 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
3929 correctly.
0979429b
J
3930 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
3931 Test more rigorously for "=" token.
ace2989a 3932
616c6c36
DG
39332012-09-08 Dmitry Gutov <dgutov@yandex.ru>
3934
0979429b
J
3935 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
3936 Only fail when reached LIMIT.
616c6c36 3937
35d98877
CY
39382012-09-08 Chong Yidong <cyd@gnu.org>
3939
3940 * dired.el (dired-mode-map): Don't bind M-=.
3941
3942 * dired-aux.el (dired-diff): Use backup file as default.
3943
1715f2db
DA
39442012-09-08 Drew Adams <drew.adams@oracle.com>
3945
3946 * subr.el (add-to-history): Fix delete usage (Bug#12314).
3947
6dcef6ec
CY
39482012-09-08 Chong Yidong <cyd@gnu.org>
3949
3950 * subr.el (syntax-after, syntax-class): Doc fix.
3951
fa2bcf43
MR
39522012-09-08 Martin Rudalics <rudalics@gmx.at>
3953
3954 * window.el (display-buffer-in-previous-window): New buffer
3955 display action function.
3956
3957 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
3958 (debugger-previous-window): New variable.
3959 (debug): Rewrite using display-buffer-in-previous-window,
3960 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
3961
daac280a
SM
39622012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
3963
3964 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
3965
9dd40b00
MM
39662012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
3967
daac280a
SM
3968 * progmodes/python.el (python-shell-send-string):
3969 When default-directory is remote, create temp file on remote
9dd40b00
MM
3970 filesystem.
3971 (python-shell-send-file): When file is remote, pass local view of
3972 file paths to remote Python interpreter. (Bug#12340)
3973
145823ec
CY
39742012-09-07 Chong Yidong <cyd@gnu.org>
3975
cee2e90d
CY
3976 * window.el (switch-to-buffer): Doc fix (Bug#12181).
3977
0d7eb2ea
CY
3978 * files.el (after-find-file): Don't fail on a read-only buffer if
3979 require-final-newline is `visit' or `visit-save' (Bug#11156).
3980
145823ec
CY
3981 * subr.el (read-char-choice): Allow quitting via ESC ESC.
3982
daac280a
SM
3983 * userlock.el (ask-user-about-supersession-threat):
3984 Use read-char-choice (Bug#12093).
145823ec 3985
74c582e6
CY
39862012-09-07 Chong Yidong <cyd@gnu.org>
3987
e5c2edf7
CY
3988 * subr.el (buffer-narrowed-p): New function.
3989
3990 * ses.el (ses-widen):
3991 * simple.el (count-words--buffer-message):
1f9f395d 3992 * net/browse-url.el (browse-url-of-buffer): Use it.
e5c2edf7
CY
3993
3994 * simple.el (count-words-region): Don't signal an error if there
3995 is a non-nil prefix arg and the mark is not set.
c640e87d 3996
74c582e6
CY
3997 * help.el (describe-key-briefly): Allow the message to be seen
3998 when invoked from the minibuffer (Bug#7014).
3999
d81ceaaf
DG
40002012-09-07 Dmitry Gutov <dgutov@yandex.ru>
4001
4002 * progmodes/ruby-mode.el (ruby-end-of-defun)
4003 (ruby-beginning-of-defun): Simplify, allow indentation before
4004 block beginning and end keywords.
8f06acce
DG
4005 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
4006 (ruby-end-of-defun): Expect that the point is at the beginning of
4007 the defun.
d81ceaaf 4008
d458ef98
SM
40092012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4010
4011 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
4012 (bug#12367).
4013 (cl--make-usage-args): Strip _ from argument names.
4014
20367d28
RS
40152012-09-06 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
4016
4017 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
4018 obsolete alias speedbar-key-map.
4019 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
4020 (vhdl-index-menu-init): Don't use obsolete variable
4021 font-lock-maximum-size.
4022
3424a4f6
CY
40232012-09-06 Chong Yidong <cyd@gnu.org>
4024
4025 * frame.el (window-system-version): Mark as obsolete.
4026
fcbfbdea
CY
4027 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
4028 of obsolete variable speedbar-key-map.
4029
826b3235
JL
40302012-09-06 Juri Linkov <juri@jurta.org>
4031
4032 * replace.el (replace-lax-whitespace): New defcustom.
4033 (query-replace, query-replace-regexp, query-replace-regexp-eval)
4034 (replace-string, replace-regexp): Mention it in docstrings.
4035 (perform-replace, replace-highlight): Let-bind
4036 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
4037 to the values of replace-lax-whitespace and regexp-flag.
4038 Don't let-bind search-whitespace-regexp. (Bug#10885)
4039
4040 * isearch.el (isearch-query-replace): Let-bind
4041 replace-lax-whitespace instead of let-binding
4042 replace-search-function and replace-re-search-function.
4043 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
4044 and isearch-regexp-lax-whitespace to lazy-highlight variables.
4045 (isearch-toggle-symbol): Set isearch-regexp to nil
4046 in isearch-word mode (like in isearch-toggle-word).
4047
1ec5e41d
JL
40482012-09-06 Juri Linkov <juri@jurta.org>
4049
4050 * replace.el (replace-search-function)
4051 (replace-re-search-function): Set default values to nil.
4052 (perform-replace): Let-bind isearch-related variables based on
4053 replace-related values, call `isearch-search-fun' and let-bind
4054 the result to `search-function'. Remove code that sets
4055 `search-function' and `search-string' separately for
4056 `delimited-flag'.
4057 (replace-highlight): Add new argument `delimited-flag' and
4058 rename other arguments to the names used in `perform-replace'.
4059 Let-bind `isearch-word' to the argument `delimited-flag'.
4060 (Bug#10885, bug#10887)
4061
0ba2d4b6
DG
40622012-09-07 Dmitry Gutov <dgutov@yandex.ru>
4063
4064 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
4065 ruby-beginning-of-indent, simplify, allow all keywords to have
4066 indentation before them.
4067 (ruby-beginning-of-indent): Adjust for above. Search until the
4068 found point is not inside a string or comment.
4069 (ruby-font-lock-keywords): Allow symbols to start with "@"
4070 character, give them higher priority than variables.
4071 (ruby-syntax-propertize-function)
4072 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
4073 matchers. Expression expansions are not comments when inside a
4074 string, and there comment syntax status is irrelevant.
4075 (ruby-match-expression-expansion): New function. Check that
4076 expression expansion is inside a string, and it's not escaped.
4077 (ruby-font-lock-keywords): Use it.
4078
ef654460
MR
40792012-09-05 Martin Rudalics <rudalics@gmx.at>
4080
4081 * help.el (temp-buffer-max-height): New default value.
4082 (temp-buffer-resize-frames): New option.
4083 (resize-temp-buffer-window): Optionally resize frame.
4084
4085 * window.el (fit-frame-to-buffer-bottom-margin): New option.
4086 (fit-frame-to-buffer): New function.
4087
7e570fbf 40882012-09-05 Glenn Morris <rgm@gnu.org>
72308848
GM
4089
4090 * emulation/cua-rect.el (cua--init-rectangles):
4091 * textmodes/picture.el (picture-mode-map):
4092 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
4093 like forward-char and backward-char. (Bug#12317)
4094
7e570fbf 40952012-09-05 Leo Liu <sdl.web@gmail.com>
3aca1291
LL
4096
4097 * progmodes/flymake.el (flymake-warning-re): New variable.
4098 (flymake-parse-line): Use it.
4099
7e570fbf 41002012-09-05 Glenn Morris <rgm@gnu.org>
b6683353
GM
4101
4102 * calendar/holidays.el (holiday-christian-holidays):
4103 Rename an entry. (Bug#12289)
4104
7e570fbf 41052012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
64f8c4bd
SM
4106
4107 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
4108 (bug#12222).
4109
972debf2
SM
41102012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
4111
4112 * loadup.el: Load macroexp. Remove hack.
4113 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
4114 (macroexp--expand-all): Use it to get better warnings.
4115 (macroexp--backtrace, macroexp--trim-backtrace-frame)
4116 (internal-macroexpand-for-load): New functions.
4117 (macroexp--pending-eager-loads): New var.
4118 (emacs-startup-hook): New hack to replace one in loadup.el.
4119 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
4120 (cl--compiler-macro-cXXr): Move to top, before they can be used.
4121 (cl-psetf): Simplify.
4122 (cl-defstruct): Add indent rule.
4123
8ce192e3
LI
41242012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
4125
4126 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
4127 over `user-mail-address' for the SMTP MAIL FROM envelope.
4128 (smtpmail-via-smtp): Ditto.
4129
6578b4d8
DG
41302012-09-04 Dmitry Gutov <dgutov@yandex.ru>
4131
4132 * progmodes/ruby-mode.el: Clean up keybindings.
4133 (ruby-mode-map): Don't bind ruby-electric-brace,
4134 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
4135 backward-kill-word, reindent-then-newline-and-indent.
4136 (ruby-mark-defun): Remove.
4137 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
4138 (ruby-mode): Set local beginning-of-defun-function and
4139 end-of-defun-function values.
4140
c5e28e39
MR
41412012-09-03 Martin Rudalics <rudalics@gmx.at>
4142
4143 * window.el (temp-buffer-window-setup-hook)
4144 (temp-buffer-window-show-hook): New hooks.
4145 (temp-buffer-window-setup, temp-buffer-window-show)
4146 (with-temp-buffer-window): New functions.
972debf2
SM
4147 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
4148 (special-display-popup-frame): Make sure the window used shows BUFFER.
c5e28e39
MR
4149
4150 * help.el (temp-buffer-resize-mode): Fix doc-string.
4151 (resize-temp-buffer-window): New optional argument WINDOW.
4152
4153 * files.el (recover-file, save-buffers-kill-emacs):
4154 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
4155
73406194
MA
41562012-09-02 Michael Albinus <michael.albinus@gmx.de>
4157
4158 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
4159 remote definition of `default-directory', ensure we can connect.
4160
63dd1c6f
JL
41612012-09-02 Juri Linkov <juri@jurta.org>
4162
4163 Toggle whitespace matching mode with M-s SPC.
4164 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
4165
4166 * isearch.el (search-whitespace-regexp): Doc fix.
4167 Remove cons cell customization.
4168 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
4169 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
4170 New variables.
4171 (isearch-forward, isearch-forward-regexp): Doc fix.
4172 (isearch-toggle-lax-whitespace): New command.
4173 (search-forward-lax-whitespace, search-backward-lax-whitespace)
4174 (re-search-forward-lax-whitespace)
4175 (re-search-backward-lax-whitespace): New functions.
4176 (isearch-whitespace-regexp): Remove function.
4177 (isearch-query-replace): Let-bind replace-search-function and
4178 replace-re-search-function.
4179 (isearch-occur): Let-bind search-spaces-regexp according to the
4180 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
4181 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
4182 condition for C-q SPC.
4183 (isearch-search-fun-default): Use new functions mentioned above.
4184 (isearch-search-forward, isearch-search-backward): Remove functions.
4185 (isearch-search): Don't let-bind search-spaces-regexp.
4186 (isearch-lazy-highlight-space-regexp): Remove variable.
4187 (isearch-lazy-highlight-lax-whitespace)
4188 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
4189 (isearch-lazy-highlight-new-loop): Use them.
4190 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
4191
af7dda05
CY
41922012-09-02 Chong Yidong <cyd@gnu.org>
4193
4194 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
4195
d67d3afd
GM
41962012-09-02 Glenn Morris <rgm@gnu.org>
4197
4198 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
4199
69678719
GM
42002012-09-01 Glenn Morris <rgm@gnu.org>
4201
4202 * term.el: Tidy up menu definitions.
4203 (term-mode-map): Use easymenu for In/Out, Complete menus.
4204 (term-pager-break-map): Initialize in the defvar.
4205 (term-terminal-menu, term-signals-menu): Define with easymenu.
4206 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
4207 (term-pager-menu): New, extracted from term-process-pager.
4208 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
4209 (term-update-mode-line): Propertize line/char and page items.
4210 (term-process-pager): Move keymap initialization elsewhere.
4211
78dd6ab1
MR
42122012-09-01 Martin Rudalics <rudalics@gmx.at>
4213
4214 * window.el (switch-to-prev-buffer): Handle additional values of
4215 BURY-OR-KILL argument. Don't switch in minibuffer window.
4216 (switch-to-next-buffer): Don't switch in minibuffer window.
4217 (quit-restore-window): New function based on quit-window.
4218 Handle additional values of former KILL argument.
4219 (quit-window): Call quit-restore-window with appropriate
4220 interpretation of KILL argument.
4221 (display-buffer-below-selected): New buffer display action
4222 function.
4223
3d10e134
SM
42242012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
4225
4226 * minibuffer.el (completion-at-point-functions): Complete docstring
4227 (bug#12254).
4228
0e23ef9d
PE
42292012-09-01 Paul Eggert <eggert@cs.ucla.edu>
4230
4231 Better seed support for (random).
4232 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
4233 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
4234 * play/mpuz.el, play/tetris.el, play/zone.el:
4235 * calc/calc-comb.el (math-init-random-base):
4236 * play/blackbox.el (bb-init-board):
4237 * play/life.el (life):
4238 * server.el (server-use-tcp):
4239 * type-break.el (type-break):
4240 Remove unnecessary call to (random t).
4241 * net/sasl.el (sasl-unique-id-function):
4242 Change (random t) to (random), now that the latter is more random.
4243 * play/life.el (life-initialized): Remove no-longer-needed var.
4244
862382df
MR
42452012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
4246
4247 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
4248 Consider frame's buffer predicate when choosing the buffer.
4249 (Bug#12081)
4250
262a66e1
RS
42512012-08-30 Richard Stallman <rms@gnu.org>
4252
4253 * simple.el (special-mode-map): Delete binding for `z'.
4254
f17e1d00
AS
42552012-08-30 Andreas Schwab <schwab@linux-m68k.org>
4256
4257 * progmodes/compile.el (compilation-always-kill): Doc fix.
4258
24777832
CY
42592012-08-30 Chong Yidong <cyd@gnu.org>
4260
4261 * window.el (display-buffer-reuse-frames): Make the obsolescence
4262 message more informative.
4263
69ba1f04
GM
42642012-08-30 Glenn Morris <rgm@gnu.org>
4265
4266 * paren.el (show-paren-delay):
4267 Add a :set function. Doc fix. (Bug#12297)
4268
f0019ede
MB
42692012-08-29 Martin Blais <blais@furius.ca> (tiny change)
4270
4271 * progmodes/compile.el (compilation-always-kill): New var.
4272 (compilation-start): Use it.
4273
35e62fc9
SM
42742012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4275
af070a1c
SM
4276 * simple.el (read-only-mode): Move from files.el for bootstrapping.
4277 * files.el (read-only-mode): Move to simple.el.
4278
35e62fc9
SM
4279 * files.el (read-only-mode): New minor mode.
4280 (toggle-read-only): Use it and mark obsolete.
4281 (find-file--read-only):
4282 * vc/vc.el (vc-next-action, vc-checkout):
4283 * vc/vc-cvs.el (vc-cvs-checkout):
4284 * obsolete/vc-mcvs.el (vc-mcvs-update):
4285 * ffap.el (ffap--toggle-read-only): Update callers.
4286
c2c43c23
MA
42872012-08-29 Michael Albinus <michael.albinus@gmx.de>
4288
4289 * eshell/esh-ext.el (eshell-external-command): Do not examine
972debf2
SM
4290 remote shell scripts.
4291 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
c2c43c23
MA
4292
4293 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
4294 "/usr/local/sbin".
4295
9fba804b
SM
42962012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4297
4298 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
4299
eada0861 43002012-08-28 Leo Liu <sdl.web@gmail.com>
22ab32ef 4301
806f0cc7
LL
4302 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
4303 completion-at-point. (Bug#12220)
4304
3bb213b9
LL
4305 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
4306
22ab32ef
LL
4307 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
4308
eada0861 43092012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
db148c21 4310
19c17fc1
CY
4311 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
4312 be buffer-local; add delete-trailing-whitespace (bug#12259).
db148c21 4313
eada0861 43142012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
ffe6eaf1
JM
4315
4316 * progmodes/hideif.el (hif-compress-define-list):
4317 Fix typo. (Bug#11951)
4318
eada0861 43192012-08-28 Dan Nicolaescu <dann@gnu.org>
d30aca1b
DN
4320
4321 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
4322 buffer local setting.
4323
27d6c5a8
LL
4324 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
4325 rcirc-encode-coding-system.
4326
eada0861 43272012-08-28 Leo Liu <sdl.web@gmail.com>
4432d2e2
LL
4328
4329 * net/rcirc.el (rcirc-split-message): New function.
4330 (rcirc-send-message): Use it. (Bug#12051)
4331
d44688e4
JL
43322012-08-28 Juri Linkov <juri@jurta.org>
4333
4334 * info.el (Info-fontify-node): Hide empty lines at the end of
4335 the node. (Bug#12272)
4336
34f10d41
MR
43372012-08-27 Drew Adams <drew.adams@oracle.com>
4338
4339 * dired.el (dired-pop-to-buffer): Make window start at beginning
4340 of buffer (Bug#12281).
4341
77f1f99c
CY
43422012-08-26 Chong Yidong <cyd@gnu.org>
4343
4344 * window.el (special-display-regexps, special-display-frame-alist)
4345 (special-display-buffer-names, special-display-function)
4346 (display-buffer-reuse-frames): Mark as obsolete.
4347
4348 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
4349
4350 * help.el (help-print-return-message): Don't treat
4351 display-buffer-reuse-frames specially.
4352
d97af5a0
CY
43532012-08-26 Chong Yidong <cyd@gnu.org>
4354
9fba804b
SM
4355 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
4356 New variable, replacing gdb-frame-parameters.
d97af5a0
CY
4357 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
4358 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
4359 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
4360 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
4361 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
4362 the functions directly with gdb-display-buffer-other-frame-action.
4363 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
4364 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
4365 (gdb-display-stack-buffer, gdb-display-locals-buffer)
4366 (gdb-display-registers-buffer): Define directly.
4367 (def-gdb-display-buffer): Macro deleted.
4368 (gdb-display-buffer): Remove second and third args, callers don't
4369 use them. Defer to the default display-buffer behavior, apart
4370 from making windows dedicated.
4371 (gdb-setup-windows): Don't call display-buffer unnecessarily.
4372
4373 * progmodes/gud.el (gud-display-line): Just use display-buffer.
4374
4375 * window.el (display-buffer-pop-up-frame): Handle a
4376 pop-up-frame-parameters alist entry.
4377 (display-buffer): Document it.
4378
dd7ffad6
CY
43792012-08-26 Chong Yidong <cyd@gnu.org>
4380
4381 * isearch.el (search-whitespace-regexp): Make string and nil
4382 values apply to both ordinary and regexp search. Allow a cons
4383 cell value to distinguish between the two.
4384 (isearch-whitespace-regexp, isearch-search-forward)
4385 (isearch-search-backward): New functions.
4386 (isearch-occur, isearch-search-fun-default, isearch-search)
4387 (isearch-lazy-highlight-new-loop): Use them.
4388 (isearch-forward, isearch-forward-regexp): Doc fix.
4389
4c47bd1e
CY
43902012-08-26 Chong Yidong <cyd@gnu.org>
4391
4392 * faces.el (help-argument-name): Always inherit from italic
4393 (Bug#12213).
4394
9aba119d
MR
43952012-08-25 Martin Rudalics <rudalics@gmx.at>
4396
4397 * window.el (window--even-window-heights): Even heights when
4398 WINDOW and the selected window form a vertical combination.
4399 (display-buffer-use-some-window): Provide that window used gets
4400 sized back by quit-window. (Bug#11880) and (Bug#12091)
4401
ca5256ad
PE
44022012-08-24 Paul Eggert <eggert@cs.ucla.edu>
4403
4404 Fix file time stamp problem with bzr and CVS (Bug#12001).
4405 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
4406 in the file's time stamp, since the version control system loses
4407 that information.
4408
d1c0d176
JL
44092012-08-22 Juri Linkov <juri@jurta.org>
4410
4411 * info.el (Info-fontify-node): Hide the suffix of the
4412 Info file name in the header line. (Bug#12187)
4413
141562ff
GM
44142012-08-22 Glenn Morris <rgm@gnu.org>
4415
4416 * calendar/cal-tex.el (cal-tex-weekly-common):
4417 Restore leading blank page.
4418
3a21537c 44192012-08-22 Le Wang <l26wang@gmail.com>
add9ca2d
BG
4420
4421 * misc.el (forward-to-word, backward-to-word): Activate or extend
61a48e19
GM
4422 the region under `shift-select-mode'. (Bug#12231)
4423
44242012-08-22 Bastien Guerry <bzg@gnu.org>
0fcd3d9f
BG
4425
4426 * progmodes/executable.el (executable-prefix): Set to "#!" instead
4427 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
4428 gives details on why the space is never needed.
4429
ea95074e
MR
44302012-08-22 Martin Rudalics <rudalics@gmx.at>
4431
9fba804b
SM
4432 * window.el (walk-window-tree, window-with-parameter):
4433 New optional argument MINIBUF to control whether these functions
ea95074e
MR
4434 should run on the minibuffer window.
4435 (window-at-side-list): Don't operate on minibuffer window.
4436 (window-in-direction): Simplify and rewrite doc-string.
9fba804b
SM
4437 (window--size-ignore): Rename to window--size-ignore-p.
4438 Update callers.
caceae25
MR
4439 (display-buffer-in-atom-window, window--major-non-side-window)
4440 (window--major-side-window, display-buffer-in-major-side-window)
9fba804b
SM
4441 (delete-side-window, display-buffer-in-side-window):
4442 New functions.
caceae25
MR
4443 (window--side-check, window-deletable-p, delete-window)
4444 (delete-other-windows, split-window): Handle side windows and
4445 atomic windows appropriately.
4446 (window--display-buffer): Call display-buffer-record-window also
4447 when the window buffer did not change.
ea95074e 4448
80a51fa0
CS
44492012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
4450
4451 * help-fns.el (help-fns--key-bindings):
4452 Abbreviate non-symbol remap targets. (Bug#12174)
4453
fbb6300b
MR
44542012-08-22 Martin Rudalics <rudalics@gmx.at>
4455
4456 * dired.el (dired-mark-remembered): Don't clobber point.
4457 (Bug#11795)
4458
2b2c0794
GM
44592012-08-22 Glenn Morris <rgm@gnu.org>
4460
4461 * progmodes/bug-reference.el (bug-reference): New custom group.
4462 (bug-reference-bug-regexp): Make it a defcustom.
4463
37219830
DU
44642012-08-22 Daiki Ueno <ueno@unixuser.org>
4465
4466 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
4467 (js-paren-indent-offset, js-square-indent-offset)
4468 (js-curly-indent-offset): Add :safe (Bug#12257).
4469
94e0e559
EC
44702012-08-22 Edward O'Connor <hober0@gmail.com>
4471
4472 * json.el (json-key-format): Add error properties.
4473 (json-encode-key): New function.
4474 (json-encode-hash-table, json-encode-alist, json-encode-plist):
4475 Use json-encode-key.
4476
da485f5e
GM
44772012-08-22 Glenn Morris <rgm@gnu.org>
4478
4479 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
4480 (cal-tex-leftday, cal-tex-rightday): Remove functions.
4481 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
4482 Update for above change.
4483
c6cc78b8
AS
44842012-08-21 Andreas Schwab <schwab@linux-m68k.org>
4485
4486 * cus-face.el (custom-face-attributes): Fix customize type for the
4487 :underline attribute. (Bug#11805)
4488
5481664a
MR
44892012-08-21 Martin Rudalics <rudalics@gmx.at>
4490
4491 * window.el (window-point-1, set-window-point-1): Remove.
4492 (window-in-direction, record-window-buffer)
4493 (set-window-buffer-start-and-point, split-window-below)
9fba804b
SM
4494 (window--state-get-1, display-buffer-record-window):
4495 Replace calls to window-point-1 and set-window-point-1 by calls to
5481664a
MR
4496 window-point and set-window-point respectively.
4497
6d74698e
GM
44982012-08-21 Glenn Morris <rgm@gnu.org>
4499
b7fa2691
GM
4500 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
4501 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
4502 Use it.
4503
52f56d5a
GM
4504 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
4505 (cal-tex-shortday): New function.
4506 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
4507 (cal-tex-cursor-filofax-daily): Use the above.
4508
9f1ee09e
GM
4509 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
4510 New functions.
4511 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
4512 (cal-tex-cursor-filofax-week): Use them.
4513
79858159
GM
4514 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
4515 New constants.
4516 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
4517 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
4518
d346b2b4
GM
4519 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
4520 (cal-tex-end-document): Don't rely on buffer name.
4521
b2403709
GM
4522 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
4523 Use cal-tex-vspace.
4524 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
4525 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2d225a3a
GM
4526 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
4527 Use cal-tex-arg.
b2403709 4528
1cebb5c0
GM
4529 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
4530 (cal-tex-cursor-week, cal-tex-cursor-week2)
4531 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
4532 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
4533 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
4534 (cal-tex-insert-preamble, cal-tex-b-document)
4535 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
4536 Improve cal-tex-cmd usage.
4537
c68cd5d4
GM
4538 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
4539 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
4540 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
4541 (cal-tex-weekly-paper): New function.
4542 (cal-tex-cursor-week, cal-tex-cursor-week2)
4543 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
4544 (cal-tex-cursor-day): Use it.
4545
9dca4801
GM
4546 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
4547 (cal-tex-cursor-filofax-week): Remove leading blank page.
4548
1941e134
GM
4549 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
4550 Add autoload cookie. For now at least, don't use color, since
4551 no other cal-tex function does.
4552
6d74698e
GM
4553 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
4554 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
4555 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
4556
64cde199
JL
45572012-08-21 Juri Linkov <juri@jurta.org>
4558
4559 * info.el (Info-file-attributes): New variable.
4560 (info-insert-file-contents): Add file attributes to
4561 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
4562 `Info-toc-nodes' when previous modtime of the Info file is less
4563 than new modtime.
4564 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
4565 of info.el. (Bug#12230)
4566
32757648
GM
45672012-08-20 Glenn Morris <rgm@gnu.org>
4568
4569 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
4570 * calendar/holidays.el (calendar-holiday-list):
4571 Report errors with display-warning rather than beep'n'sleep.
4572
a32fbbcf
MA
45732012-08-20 Michael Albinus <michael.albinus@gmx.de>
4574
4575 * net/tramp.el (tramp-accept-process-output): Accept only output
4576 from PROC. Otherwise, process filters and sentinels might be
4577 confused. (Bug#12145)
4578
a05731a0
CY
45792012-08-20 Chong Yidong <cyd@gnu.org>
4580
4581 * descr-text.el (describe-text-properties-1): Use overlays-in to
4582 report on empty overlays (Bug#3322).
4583
36e8d1eb
GM
45842012-08-20 Glenn Morris <rgm@gnu.org>
4585
3d300447
GM
4586 * mail/rmailout.el (rmail-output-read-file-name):
4587 Trap and report errors in rmail-output-file-alist elements.
4588
36e8d1eb
GM
4589 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
4590 since most non-font-lock faces are not also variables).
4591
b96e5814
ER
45922012-08-20 Edward Reingold <reingold@iit.edu>
4593
4594 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
4595 New function. (Bug12160)
4596
7cef3569
GM
45972012-08-19 Glenn Morris <rgm@gnu.org>
4598
4599 * mail/rmailout.el (rmail-output-read-file-name):
4600 Fix previous change (when the alist is nil or does not match).
4601
17975d7f
CY
46022012-08-19 Chong Yidong <cyd@gnu.org>
4603
4604 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
4605 (Bug#12228).
4606
2170b1bd
CY
46072012-08-18 Chong Yidong <cyd@gnu.org>
4608
4609 * simple.el (yank-handled-properties): New defcustom.
4610 (yank-excluded-properties): Add font-lock-face and category.
4611 (yank): Doc fix.
4612
9fba804b
SM
4613 * subr.el (remove-yank-excluded-properties):
4614 Obey yank-handled-properties. The special handling of font-lock-face
2170b1bd
CY
4615 and category is now done this way, instead of being hard-coded.
4616 (insert-for-yank-1): Remove font-lock-face handling.
4617 (yank-handle-font-lock-face-property)
4618 (yank-handle-category-property): New function.
4619
ee218151
GM
46202012-08-17 Glenn Morris <rgm@gnu.org>
4621
4622 * mail/rmailout.el (rmail-output-read-file-name):
4623 Check rmail-output-file-alist against the full message body
4624 in the correct rmail buffer. (Bug#12214)
4625
4a6bc3fd
MA
46262012-08-17 Michael Albinus <michael.albinus@gmx.de>
4627
9fba804b
SM
4628 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
4629 Eliminate superfluous prompt. (Bug#12203)
4a6bc3fd 4630
383dcbf9
CY
46312012-08-17 Chong Yidong <cyd@gnu.org>
4632
4633 * mouse.el (mouse-appearance-menu): If x-select-font returns a
4634 font spec, set the font directly (Bug#3228).
4635
998c4a6a
MR
46362012-08-17 Martin Rudalics <rudalics@gmx.at>
4637
4638 * window.el (delete-window): Fix last fix.
4639
52162052
MR
46402012-08-16 Martin Rudalics <rudalics@gmx.at>
4641
4642 * window.el (window-valid-p): Move to window.c.
85c2386b
MR
4643 (window-child, window-child-count, window-last-child)
4644 (window-normalize-window, window-combined-p)
4645 (window-combinations, window-atom-root, window-min-size)
4646 (window-sizable, window-sizable-p, window-size-fixed-p)
4647 (window-min-delta, window-max-delta, window--resizable)
4648 (window--resizable-p, window-resizable, window-total-size)
4649 (window-full-height-p, window-full-width-p, window-body-size)
4650 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
4651 (minimize-window, window-deletable-p, delete-window)
4652 (delete-other-windows, set-window-buffer-start-and-point)
4653 (next-buffer, previous-buffer, split-window, balance-windows-2)
4654 (set-window-text-height, window-buffer-height)
4655 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
9fba804b
SM
4656 (truncated-partial-width-window-p): Minor code adjustments.
4657 In doc-strings state whether the argument window has to denote a
85c2386b 4658 live, valid or any window.
52162052 4659
1c308380
PS
46602012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
4661
4662 * progmodes/subword.el (subword-forward-function)
4663 (subword-backward-function, subword-forward-regexp)
4664 (subword-backward-regexp): New variables.
4665 (subword-forward, subword-forward-internal, subword-backward-internal):
4666 Use new variables, eg so that different "word" definitions
4667 can be easily used. (Bug#11411)
4668
94c9ece1
SM
46692012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4670
4671 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
4672 for composite selectors.
4673 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
4674 operation just because we can't find a previous revision.
4675
f2045622
CY
46762012-08-15 Chong Yidong <cyd@gnu.org>
4677
4678 * frame.el (set-frame-font): Accept font objects.
4679
582db660
SM
46802012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4681
4682 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
4683
2f29c200
WJ
46842012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
4685
456e62c2
WJ
4686 * man.el (Man-overstrike-face, Man-underline-face)
4687 (Man-reverse-face): Remove variables.
4688 (Man-overstrike, Man-underline, Man-reverse): New faces.
4689 (Man-fontify-manpage): Use them instead of the variables.
4690 (Man-cleanup-manpage): Comment change.
4691 (Man-ansi-color-map): New variable.
4692 (Man-fontify-manpage): Use it.
4693 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
4694
2f29c200
WJ
4695 Implement ANSI SGR parameters 22-27 (bug#12146).
4696 * ansi-color.el (ansi-colors): Doc fix.
4697 (ansi-color-context, ansi-color-context-region): Doc fix.
4698 (ansi-color--find-face): New function.
4699 (ansi-color-apply, ansi-color-apply-on-region): Use it.
4700 Rename the local variable `face' to `codes' since it is now a list of
4701 ansi codes. Doc fix.
4702 (ansi-color-get-face): Remove.
4703 (ansi-color-parse-sequence): New function, derived from
4704 ansi-color-get-face.
4705 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
4706 codes 22-27.
4707
b4f5e9df
SM
47082012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
4709
4710 * subr.el (read-passwd): Allow use from a minibuffer.
4711
ba025fbd
EZ
47122012-08-14 Eli Zaretskii <eliz@gnu.org>
4713
4714 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
4715 inside comments and strings as identifiers.
4716
4717 * progmodes/gud.el (gud-tooltip-print-command): Quote the
4718 expression to evaluate. This allows to evaluate expressions with
4719 embedded whitespace.
4720 (gud-tooltip-tips): Add a blank before the newline in the
4721 message-box text, for the benefit of message-box emulation on
4722 MS-Windows.
4723
4724 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
4725 messages from GDB, pop them up in a tooltip to give feedback to
4726 user.
b4f5e9df
SM
4727 (gdb-tooltip-print-1): Quote the expression to evaluate.
4728 This allows to evaluate expressions with embedded whitespace.
ba025fbd
EZ
4729 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
4730 if the TTY name is nil or empty (which happens when communicating
4731 with the inferior via pipes, e.g. on MS-Windows).
4732 (gdb-internals): If GDB sends a "&\n" empty debugging message,
4733 don't send that to the GUD buffer.
4734
c548f821
GM
47352012-08-14 Glenn Morris <rgm@gnu.org>
4736
4737 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
4738 Optimize away setq-default with no args, as for setq. (Bug#12195)
4739
55802e4a
CY
47402012-08-14 Chong Yidong <cyd@gnu.org>
4741
4abcdac8
CY
4742 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
4743
55802e4a
CY
4744 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
4745 (Bug#12085).
4746
3c3cda1a
GM
47472012-08-14 Glenn Morris <rgm@gnu.org>
4748
4749 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
4750
e1873bd0
MA
47512012-08-14 Michael Albinus <michael.albinus@gmx.de>
4752
4753 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
4754 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
4755 Use cached shell name.
4756
925411b4
FEG
47572012-08-14 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
4758
4759 * progmodes/python.el (python-shell-send-string):
3c3cda1a 4760 (python-shell-send-setup-code): Do not use `format' with `message'.
925411b4 4761
e636fafe
DG
47622012-08-14 Dmitry Gutov <dgutov@yandex.ru>
4763
4764 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
4765 (ruby-percent-literal-beg-re): New constant.
4766 (ruby-syntax-general-delimiters-goto-beg): Rename to
4767 `ruby-syntax-enclosing-percent-literal', improve literal type check.
4768 (ruby-syntax-propertize-general-delimiters): Rename to
4769 `ruby-syntax-propertize-percent-literal', it's a shorter and more
4770 popular term. Adjust comments everywhere.
4771 (ruby-syntax-propertize-percent-literal): Only propertize when not
4772 inside a simple string or comment. When the literal is unclosed,
4773 leave the text after it unpropertized.
f063063a
DG
4774 (ruby-syntax-methods-before-regexp): New constant.
4775 (ruby-syntax-propertize-function): Use it to recognize regexps.
4776 Don't look at the text after regexp, just use the whitelist.
e636fafe 4777
e5b19827
AS
47782012-08-14 Andreas Schwab <schwab@linux-m68k.org>
4779
4780 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
4781 non-nil always load the compiled file if it exists. (Bug#12197)
4782
a9f6f311
CY
47832012-08-14 Chong Yidong <cyd@gnu.org>
4784
4785 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
4786 (hi-lock-set-pattern): When deciding whether to use font lock or
4787 overlays, look at font-lock-mode instead of font-lock-fontified
4788 (Bug#12168).
4789 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
4790 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
4791
7d806b1e
DU
47922012-08-14 Daiki Ueno <ueno@unixuser.org>
4793
4794 * subr.el (internal--after-with-selected-window): Fix typo
4795 (Bug#12193).
4796
5beed586
FEG
47972012-08-14 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
4798
4799 Use `completion-table-dynamic' for completion functions.
4800 * progmodes/python.el
4801 (python-shell-completion--do-completion-at-point)
e636fafe
DG
4802 (python-shell-completion--get-completions):
4803 Remove functions.
5beed586
FEG
4804 (python-shell-completion-complete-at-point): New function.
4805 (python-completion-complete-at-point): Use it.
4806
92cb3b04
J
48072012-08-13 Jambunathan K <kjambunathan@gmail.com>
4808
4809 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
4810 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
4811
89660017
SM
48122012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4813
3c98c962
SM
4814 * subr.el (function-get): Refine `autoload' arg so it can also
4815 autoload functions for gv.el (bug#12191).
4816 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
4817 autoloads macros.
4818
aa7c6dbe
SM
4819 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
4820 Prefer pcase-let over destructuring-bind.
4821 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
4822 Also, remove whitespace as we go, rather than after accumulating the
4823 various places.
4824
89660017
SM
4825 * subr.el (internal--before-with-selected-window)
4826 (internal--after-with-selected-window): Fix typo seleted->selected.
4827 (with-selected-window): Adjust callers.
4828 Reported by Dmitry Gutov <dgutov@yandex.ru>.
4829
31cd32c9
BG
48302012-08-13 Bastien Guerry <bzg@gnu.org>
4831
0fcd3d9f 4832 * window.el (special-display-popup-frame): Minor docstring
31cd32c9
BG
4833 enhancement. (Bug#12172)
4834
1b15d8ad
AS
48352012-08-13 Andreas Schwab <schwab@linux-m68k.org>
4836
31e54db0
AS
4837 * tar-mode.el (tar-header-data-end): Only ignore size for files of
4838 type 1-6.
4839 (tar-header-block-summarize, tar-get-descriptor): Handle pax
4840 extended headers.
4841
1b15d8ad
AS
4842 * files.el (hack-local-variables-filter): Remove useless eval.
4843
35cb9c06
MR
48442012-08-13 Martin Rudalics <rudalics@gmx.at>
4845
4846 * subr.el (with-selected-window): Fix last change.
4847
1439443b
SM
48482012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
4849
4850 * subr.el (internal--before-with-seleted-window)
4851 (internal--after-with-seleted-window): New functions.
1b15d8ad
AS
4852 (with-selected-window): Use them, to replace dependency on
4853 tty-top-frame.
1439443b 4854
0d9e2599
NN
48552012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
4856
4857 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
4858 binding for `newline'.
4859 (ruby-move-to-block): When moving backward, stop at block opening,
4860 not indentation.
4861 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
4862 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
4863 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
4864 `ruby-toggle-block'.
4865
ba10c48c
SM
48662012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
4867
4868 * ibuffer.el (ibuffer-do-toggle-read-only):
4869 * dired.el (dired-toggle-read-only):
4870 * buff-menu.el (Buffer-menu-toggle-read-only):
4871 * bindings.el (mode-line-toggle-read-only):
4872 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
4873
9229c658
AS
48742012-08-12 Andreas Schwab <schwab@linux-m68k.org>
4875
4876 * descr-text.el (describe-char): Put the overlays over the
4877 "displayed as" character.
4878
0fd09128
JB
48792012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
4880
4881 * calc/calc-units.el (math-default-units-table): Give an
4882 initial value.
4883 (math-put-default-units): Add options to put composite units and
4884 unit systems in the default units table.
4885 (calc-convert-units): Send composite units to
4886 `math-put-default-units' when appropriate.
4887
9ff9402d 48882012-08-11 Glenn Morris <rgm@gnu.org>
7aacaf15 4889
fbb5e336
GM
4890 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
4891
7aacaf15
GM
4892 * tutorial.el (help-with-tutorial):
4893 * emacs-lisp/copyright.el (copyright-update-directory):
4894 * emacs-lisp/autoload.el (autoload-find-generated-file)
4895 (autoload-find-file): Disable local eval: (for insurance).
4896
f40b9f10
GM
4897 * files.el (hack-local-variables-filter): If an eval: form is not
4898 known to be safe, and enable-local-variables is :safe, then ignore
4899 the form totally, as is done for non-eval forms. (Bug#12155)
6f97980a 4900 This is CVE-2012-3479.
f40b9f10 4901
daa9f1a6
SM
49022012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
4903
4904 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
4905 (rx-form): Simplify.
4906
9cd80478
DG
49072012-08-09 Dmitry Gutov <dgutov@yandex.ru>
4908
0d9e2599
NN
4909 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
4910 ?, _, and : are symbol constituents, ! is not (but kinda should be).
4911 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
4912 (ruby-syntax-propertize-function): Adjust for changes in
4913 `ruby-syntax-propertize-heredoc'.
4914
49152012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
4916
9cd80478
DG
4917 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
4918 binding (use `M-;' instead).
9cd80478 4919 (ruby-singleton-class-p): New function.
0d9e2599 4920 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9cd80478 4921
d301b413
SM
49222012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
4923
4924 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
4925
1530c98e
CY
49262012-08-10 Chong Yidong <cyd@gnu.org>
4927
4928 * progmodes/python.el (python-shell-get-process-name): Don't mess
4929 with same-window-buffer-names.
4930
4931 * eshell/eshell.el (eshell-add-to-window-buffer-names)
4932 (eshell-remove-from-window-buffer-names): Make obsolete.
4933 (eshell-buffer-name, eshell-unload-hook): Don't use them.
4934 (eshell): Just use pop-to-buffer-same-window instead.
4935
e1293765
CY
49362012-08-10 Chong Yidong <cyd@gnu.org>
4937
4938 * bindings.el: Bind M-= back to count-words-region.
4939
4940 * simple.el (count-words-region): Accept a prefix arg for acting
4941 on the entire buffer.
4942 (count-words--buffer-message): New helper function.
4943
e1894109
SM
49442012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
4945
4946 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
4947 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
4948 (event-start, event-end): Use posn-at-point to return a more
4949 informative posn.
4950 (posnp): New function.
4951 * mouse.el (popup-menu-normalize-position): Use it.
4952
c69f56a2
MY
49532012-08-10 Masatake YAMATO <yamato@redhat.com>
4954
4955 * mouse.el (popup-menu-normalize-position): New function.
4956 (popup-menu): Use `popup-menu-normalize-position' to normalize
4957 the form for POSITION argument.
4958
4959 * term/x-win.el (x-menu-bar-open):
4960 Use the value returend from (posn-at-point) as position
4961 passed to `popup-menu'.
4962
31673780
JB
49632012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
4964
4965 * calc/calccomp.el (math-compose-expr): Add extra argument
4966 indicating that parentheses should be put around products in
4967 denominators. Give multiplication precedence over division during
4968 composition.
4969
dab7711b
CY
49702012-08-09 Chong Yidong <cyd@gnu.org>
4971
dee4ef93
CY
4972 * man.el (Man-switches, Man-sed-command, Man-awk-command)
4973 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
4974 (Man-untabify-command, manual-program): Convert to defcustom
4975 (Bug#10429).
4976
73e2bbc5
CY
4977 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
4978
3e861c8a
CY
4979 * descr-text.el (describe-char): Don't insert extra newlines
4980 (Bug#10127).
4981
a9f5a649
CY
4982 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
4983 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
4984
dab7711b
CY
4985 * align.el (align-region): Delete temporary markers (Bug#10047).
4986 Plus some code cleanups.
4987
e0cc4efa
FEG
49882012-08-09 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
4989
4990 * progmodes/python.el (python-pdbtrack-tracked-buffer)
4991 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
4992 (python-shell-internal-last-output): Use make-local-variable
4993 instead of make-variable-buffer-local.
4994
489af14f
FEG
49952012-08-09 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
4996
4997 * progmodes/python.el: Enhancements to forward-sexp.
4998 (python-nav-forward-sexp): Rename from
4999 python-nav-forward-sexp-function.
c69f56a2
MY
5000 (python-nav--forward-sexp, python-nav--backward-sexp):
5001 New functions.
489af14f 5002
0fc50303
JB
50032012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
5004
5005 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
5006 modes and simplification modes.
5007
5d65606a
SM
50082012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
5009
5010 * delsel.el (delete-selection-pre-hook): Don't propagate the
5011 file-supersession signals (bug#12161).
5012
4250fdf5
SM
50132012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5014
5015 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
5016 (cl-map-extents): Add compatibility aliases (bug#12135).
5017
d9f9b465
MA
50182012-08-08 Michael Albinus <michael.albinus@gmx.de>
5019
5020 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
5021 tests by `ignore-error'.
5022 (tramp-find-shell): Open also a new shell, when cache is already
5023 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
5024
ce0fcefa
JL
50252012-08-08 Juri Linkov <juri@jurta.org>
5026
5027 * bookmark.el: Add `defaults' property to the bookmark record.
5028 (bookmark-current-buffer): Doc fix.
5029 (bookmark-make-record): Add `defaults' property with default values
5030 to the bookmark record.
5031 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
5032 with `bookmark-insert-current-bookmark'.
5033 (bookmark-set): Get `defaults' property from the bookmark record
5034 and use it in `read-from-minibuffer'.
5035 (bookmark-insert-current-bookmark): Remove function.
5036
5037 * info.el (Info-bookmark-make-record): Add `defaults' property
5038 with values of canonical Info node name, the current Info file
5039 name and the current Info node name. (Bug#12107)
5040
53fa8652
JL
50412012-08-08 Juri Linkov <juri@jurta.org>
5042
5043 * files.el (basic-save-buffer): Use `buffer-name' as the default
5044 of `read-file-name' when buffer is not visiting a file (bug#12128).
5045
242c0a95
JL
50462012-08-08 Juri Linkov <juri@jurta.org>
5047
5048 * info.el (Info-isearch-search): Doc fix.
5049 (Info-search): Change search-failed message from "initial node" to
5050 "end of node" (bug#12078).
5051 (Info-isearch-search): Change `isearch-string-state' to
5052 `isearch--state-string'.
5053
32ac3a6b
GM
50542012-08-08 Glenn Morris <rgm@gnu.org>
5055
5056 * language/persian.el: Remove file.
f8c1afd5 5057 * language/misc-lang.el: Move unique part of persian.el here.
32ac3a6b
GM
5058 * loadup.el: Remove language/persian.
5059
2c2d9c9c
OF
50602012-08-08 Ă“scar Fuentes <ofv@wanadoo.es>
5061
5062 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
5063
2d79ec42
FEG
50642012-08-08 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
5065
5066 * progmodes/python.el Fixed defsubst warning.
5067 (python-syntax-context) Rename from python-info-ppss-context.
5068 (python-syntax-context-type): Rename from
5069 python-info-ppss-context-type.
5070 (python-syntax-comment-or-string-p): Rename from
5071 python-info-ppss-comment-or-string-p.
5072
2bd255dd
JB
50732012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
5074
5075 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
5076
c395097f
AS
50772012-08-07 Andreas Schwab <schwab@linux-m68k.org>
5078
6125983e
AS
5079 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
5080 a defcustom that is quoted with backquote.
5081
4250fdf5
SM
5082 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
5083 Fix handling of interactive spec when the body uses return.
651eaf36
AS
5084 (math-do-arg-check, math-define-function-body): Use backquote forms.
5085 * calc/calc-ext.el (math-defcache): Likewise.
5086 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
5087 * allout.el (allout-new-exposure): Likewise.
5088 * calc/calcalg2.el (math-tracing-integral): Likewise.
5089 * info.el (Info-last-menu-item): Likewise.
5090 * emulation/vip.el (vip-loop): Likewise.
5091 * textmodes/artist.el (artist-funcall): Likewise.
5092 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
5093 Construct menu-item directly.
5094
4250fdf5
SM
5095 * progmodes/autoconf.el (font-lock-syntactic-keywords):
5096 Don't declare.
c395097f 5097
5fb50dd3
CY
50982012-08-07 Chong Yidong <cyd@gnu.org>
5099
5100 * simple.el (deactivate-mark): Preserve text properties when
5101 saving the primary selection (Bug#8384).
5102
54eea618
KR
51032012-08-07 Kevin Ryde <user42@zip.com.au>
5104
5105 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
5106 (woman-parse-numeric-value): On a bad .IP line, issue a warning
5107 and continue processing (Bug#12110).
5108
638eaeb9
SM
51092012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
5110
5111 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
5112 syntax-propertize-function (bug#10095).
5113
ea376861
SM
51142012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
5115
f91b35be
SM
5116 * help-fns.el (help-fns--key-bindings, help-fns--signature)
5117 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
5118 describe-function-1.
5119 (describe-function-1): Use them. Move compiler macro after sig.
5120 (help-fns--compiler-macro): Use function-get. Assume we're already in
5121 standard-output. Adjust layout to new call order.
5122
ea376861
SM
5123 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
5124 re-binding a symbol that has a symbol-macro (bug#12119).
5125
d5be7bd0
MB
51262012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
5127
5128 * language/persian.el: New file. (Bug#11812)
5129 * loadup.el: Add language/persian.el.
5130
90749b53
CY
51312012-08-06 Chong Yidong <cyd@gnu.org>
5132
5133 * window.el (window--maybe-raise-frame): New function.
5134 (window--display-buffer): Split off from here.
5135 (display-buffer-reuse-window, display-buffer-pop-up-frame)
5136 (display-buffer-pop-up-window, display-buffer-use-some-window):
5137 Obey an inhibit-switch-frame action alist entry.
5138 (display-buffer): Update doc.
5139
5140 * replace.el (occur-after-change-function): Avoid losing focus by
5141 using the inhibit-switch-frame display parameter (Bug#12139).
5142
ba7b0154
FEG
51432012-08-06 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
5144
5145 Make internal shell process buffer names start with space.
5146 * progmodes/python.el (python-shell-make-comint): Add optional
5147 argument INTERNAL.
5148 (run-python-internal): Use it.
5149 (python-shell-internal-get-or-create-process): Check for new
5150 internal buffer names.
5151
5eaeacb5
GM
51522012-08-06 Glenn Morris <rgm@gnu.org>
5153
e296d94b 5154 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5eaeacb5
GM
5155 Do less getting and setting of environment variables.
5156
b7ccbdc2
CY
51572012-08-05 Chong Yidong <cyd@gnu.org>
5158
777fe95e
CY
5159 * proced.el (proced): Add substitution string to docstring to
5160 trigger autoloading of the proced library on C-h f (Bug#1768).
5161
4250fdf5
SM
5162 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
5163 Don't show defvars which have no second argument (Bug#8638).
b7ccbdc2
CY
5164
5165 * imenu.el (imenu-generic-expression): Move documentation here
5166 from imenu--generic-function.
5167 (imenu--generic-function): Refer to imenu-generic-expression.
5168
9e3b7800 51692012-08-05 Vegard Ă˜ye <vegard_oye@hotmail.com> (tiny change)
d5c31f1d
VĂ˜
5170
5171 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
5172 indentation declaration.
5173 (viper-loop): Add indentation declaration (Bug#7025).
5174
e5d9c0d1
CY
51752012-08-05 Chong Yidong <cyd@gnu.org>
5176
f0422feb
CY
5177 * help-fns.el (describe-variable): Add hyperlink for
5178 directory-local variables files. Improve buffer-local and
5179 permanent-local reporting; suggested by MON KEY (Bug#6644).
5180
5181 * help-mode.el (help-dir-local-var-def): New button type.
5182
e5d9c0d1
CY
5183 * files.el (kill-buffer-hook): Provide a defvar.
5184
a4f2deaa
GM
51852012-08-05 Glenn Morris <rgm@gnu.org>
5186
5187 * eshell/esh-ext.el (eshell/addpath):
5188 Also update eshell-path-env. (Bug#12013)
5189
a9dd5754
CY
51902012-08-05 Chong Yidong <cyd@gnu.org>
5191
a4f2deaa 5192 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
615b0bf0 5193
d014c740
CY
5194 * fringe.el (fringe-styles): Add docstring.
5195 (fringe--check-mode): New function.
5196 (set-fringe-mode, set-fringe-style): Use it.
5197 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
5198
a9dd5754
CY
5199 * files.el (set-auto-mode): Fix invalid setq call.
5200
7c2dc8bd
SM
52012012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5202
5203 * isearch.el: Misc simplification; use defstruct.
5204 (isearch-mode-map): Dense maps now work like sparse ones.
5205 (isearch--state): New defstruct.
5206 (isearch-string-state, isearch-message-state, isearch-point-state)
5207 (isearch-success-state, isearch-forward-state)
5208 (isearch-other-end-state, isearch-word-state, isearch-error-state)
5209 (isearch-wrapped-state, isearch-barrier-state)
5210 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
5211 replaced by defstruct's accessors.
5212 (isearch--set-state): Rename from isearch-top-state and change
5213 calling convention.
5214 (isearch-push-state): Use new isearch--get-state.
5215 (isearch-toggle-word): Disable regexp when enabling word.
5216 (isearch-message-prefix): Remove unused arg _c-q-hack.
5217 (isearch-message-suffix): Remove unused arg _ellipsis.
5218
7fcc0070
AS
52192012-08-04 Andreas Schwab <schwab@linux-m68k.org>
5220
5221 * simple.el (list-processes--refresh): For a server use :host or
5222 :local as the address.
97ad0769 5223 (list-processes): Doc fix.
7fcc0070 5224
a11035b8 52252012-08-04 Michal Nazarewicz <mina86@mina86.com>
00340faf
MN
5226
5227 * lisp/mpc.el: Support password in host argument.
5228 (mpc--proc-connect): Parse and use new password element.
5229 Set mpc-proc variable instead of returning process.
5230 (mpc-proc): Adjust accordingly.
5231
6dad7178
EZ
52322012-08-03 Eli Zaretskii <eliz@gnu.org>
5233
18949c2f
EZ
5234 * whitespace.el (whitespace-display-mappings): Use Unicode
5235 codepoints, instead of emacs-mule codepoints. See
5236 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
5237 for the details.
5238
6dad7178
EZ
5239 * files.el (file-truename): Don't skip symlink-chasing part on
5240 windows-nt. Incorporate the resolution of 8+3 short aliases on
4250fdf5
SM
5241 Windows into the loop that recursively chases symlinks.
5242 Compare directory and its parent case-insensitively on MS-Windows and
6dad7178
EZ
5243 MS-DOS.
5244
385b0198
CY
52452012-08-03 Chong Yidong <cyd@gnu.org>
5246
6200f3c4
CY
5247 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
5248
385b0198
CY
5249 * sort.el (sort-regexp-fields): Doc fix.
5250
b9e74744
TH
52512012-08-03 Tassilo Horn <tsdh@gnu.org>
5252
5253 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
5254 labels regex position point at the expected place.
5255
41013cb4
MK
52562012-08-03 MON KEY <monkey@sandpframing.com>
5257
5258 * net/imap.el (imap-interactive-login, imap-authenticate)
5259 (imap-mailbox-lsub, imap-mailbox-list)
5260 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
5261 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
5262 (imap-parse-response): Doc fix.
5263
0ffee616
JT
52642012-08-03 JoĂ£o TĂ¡vora <joaotavora@gmail.com>
5265
5266 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
5267 if sexp scanning does not move point (Bug#5734).
5268
cfcc9cc8
TH
52692012-08-02 Tassilo Horn <tsdh@gnu.org>
5270
5271 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
5272 Add listings, minted, and ctable packages.
5273 (reftex-label-alist-builtin): Move listings, minted, and ctable
5274 entries before LaTeX.
a01bbb84 5275 (reftex-label-alist): Docfix.
cfcc9cc8 5276
66ec2442
BG
52772012-08-02 Bastien Guerry <bzg@gnu.org>
5278
5279 * replace.el (occur): Fix docstring (bug#12122).
5280
837b365b
GM
52812012-08-02 Glenn Morris <rgm@gnu.org>
5282
5283 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
5284
e098de97
PE
52852012-08-02 Paul Eggert <eggert@cs.ucla.edu>
5286
5287 Obsolete alias inactivate-current-input-method-function (Bug#10150).
5288 * international/mule-cmds.el: Create
5289 inactivate-current-input-method-function as an obsolete alias for
5290 deactivate-current-input-method-function. See Katsumi Yamaoka in
5291 <http://bugs.gnu.org/10150#46>.
5292
a0f95636
JB
52932012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
5294
5295 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
5296 of nested `if's.
5297
0d26d7c4
GM
52982012-08-01 Glenn Morris <rgm@gnu.org>
5299
5300 * progmodes/autoconf.el (autoconf-definition-regexp):
5301 Add AH_TEMPLATE, adjust submatch numbering.
5302 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
5303 (autoconf-current-defun-function): Update for above change.
5304 (autoconf-current-defun-function): First skip to end of current word.
5305
b686ba06
RS
53062012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
5307
5308 * calendar/cal-html.el (cal-html-insert-agenda-days):
5309 Fix typo. (Bug#12018)
5310
0d49da68
FEG
53112012-07-31 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
5312
5313 Shell processes: enhancements to startup and CEDET compatibility.
5314 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
5315 (python-shell-make-comint): accept-process-output at startup.
5316 (run-python-internal): Set inferior-python-mode-hook to nil.
5317 (python-shell-internal-get-or-create-process): call sit-for.
5318 (python-preoutput-result): Add obsolete alias.
5319 (python-shell-internal-send-string): Use it.
5320 (python-shell-send-setup-code): Remove call to
5321 accept-process-output.
5322
f1a71c6e
AS
53232012-07-31 Andreas Schwab <schwab@linux-m68k.org>
5324
5325 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
5326 (Bug#12108)
5327
d2605269
JB
53282012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
5329
5330 * calc-mode.el (calc-basic-simplification-mode): Rename from
5331 `calc-limited-simplification-mode'.
5332 (calc-alg-simplification-mode): New function.
fc0c31f8 5333 (calc-set-simplify-mode): Adjust message.
f1a71c6e 5334
d2605269
JB
5335 * calc.el (calc-set-mode-line): Adjust mode line display for
5336 basic simplification mode.
5337
5338 * calc-help.el (calc-m-prefix-help): Update help message.
5339
5340 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
5341 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
5342
a3827a43
BG
53432012-07-31 Bastien Guerry <bzg@gnu.org>
5344
5345 * man.el (man): Fix comment. (bug#12101)
5346
502e3f89
MR
53472012-07-31 Martin Rudalics <rudalics@gmx.at>
5348
5349 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
5350 Don't return a non-nil value when no suitable buffer was found.
5351
d7714961
FEG
53522012-07-31 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
5353
5354 * progmodes/python.el (run-python-internal): Disable font lock for
5355 internal shells.
5356
1f45e27e
SM
53572012-07-30 Stefan Merten <smerten@oekonux.de>
5358
70efc5c9 5359 * textmodes/rst.el: Silence `checkdoc-ispell'.
1f45e27e
SM
5360 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
5361 (rst-official-version, rst-official-cvs-rev)
5362 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
5363 (rst-mode-map): New key binding.
5364
0aee6912
PE
53652012-07-30 Paul Eggert <eggert@cs.ucla.edu>
5366
5367 Update .PHONY listings in makefiles.
5368 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
5369 autoloads, update-subdirs, updates, bzr-update, update-authors,
5370 compile-onefile, compile-calc, backup-compiled-files,
5371 compile-after-backup, compile-one-process, mh-autoloads,
5372 bootstrap-clean, distclean, maintainer-clean.
5373
9052f9f0
JB
53742012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
5375
1823ac5a
JB
5376 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
5377 (calc-set-mode-line): Don't display "AlgSimp ".
5378
5379 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
5380 (calc-lim-simplify-mode): New function.
5381 (calc-set-simplify-mode): Default to 'alg.
5382 (calc-default-simplify-mode): Make algebraic simplifications
5383 the default.
5384
5385 * calc/calc-ext.el (calc-init-extensions): Remove binding for
5386 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
5387
8d7c7eed 5388 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
5389 indicate new simplification modes.
5390
1823ac5a
JB
5391 * calc/README: Mention new default simplification mode.
5392
9052f9f0
JB
5393 * calc/calc.el (math-normalize-error): New variable.
5394 (math-normalize): Set `math-normalize-error' to t
5395 when there's an error.
5396
5397 * calc/calc-alg.el (math-simplify): Don't simplify when
5398 `math-normalize' returns an error.
5399
20ba0cb4
EZ
54002012-07-29 Eli Zaretskii <eliz@gnu.org>
5401
5402 * international/mule-cmds.el (set-locale-environment): Revert last
5403 change, since display-graphic-p returns nil when this function is
5404 called during startup. Instead...
5405
5406 * term/w32console.el (terminal-init-w32console): ...setup the
5407 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
5408
a5dcc929
JL
54092012-07-29 Juri Linkov <juri@jurta.org>
5410
5411 * simple.el (goto-line): Don't display default line number in the
5412 prompt because it should be displayed by `read-number' (bug#9952).
5413 Add the current line number to the defaults of `goto-line' to
5414 allow its easier modification by users with `M-n' (bug#9201).
5415
5416 * subr.el (read-number): Support multiple default values like in
5417 other minibuffer reading functions. Replace `read' with
5418 `string-to-number' for consistency with `number-to-string'.
5419
72b255c7
PE
54202012-07-29 Paul Eggert <eggert@cs.ucla.edu>
5421
5422 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
5423 * emulation/viper-init.el (viper-deactivate-input-method-action):
5424 Rename from viper-inactivate-input-method-action.
5425 (viper-deactivate-input-method):
5426 Rename from viper-inactivate-input-method.
5427 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
5428 * international/mule-cmds.el (deactivate-input-method):
5429 Rename from inactivate-input-method.
5430 Also run input-method-deactivate-hook.
5431 (deactivate-current-input-method-function):
5432 Rename from inactivate-current-input-method-function.
5433 (input-method-deactivate-hook): New hook.
5434 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
5435 (inactivate-input-method): Mark obsolete.
5436
72b255c7
PE
5437 * international/quail.el (quail-activate):
5438 Also run quail-deactivate-hook.
5439 (quail-deactivate): Rename from quail-inactivate.
5440 * international/robin.el (robin-activate):
5441 Also run robin-deactivate-hook.
5442 (robin-deactivate): Rename from robin-inactivate.
5443
2549c068
CY
54442012-07-29 Chong Yidong <cyd@gnu.org>
5445
5446 * simple.el (indicate-copied-region): New function.
5447 (kill-ring-save): Split off from here.
5448
5449 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
5450 (kill-rectangle): Set deactivate-mark to t on read-only error.
5451
5452 * register.el (copy-to-register, copy-rectangle-to-register):
5453 Deactivate the mark, and use indicate-copied-region (Bug#10056).
4c478e6b
JL
5454 (append-to-register, prepend-to-register): Call indicate-copied-region.
5455
54562012-07-29 Juri Linkov <juri@jurta.org>
17711ed9
JL
5457
5458 * simple.el (async-shell-command-buffer): New defcustom.
5459 (shell-command): Use it. (Bug#4719)
5460
01bd1b0d
EZ
54612012-07-28 Eli Zaretskii <eliz@gnu.org>
5462
5463 * international/mule-cmds.el (set-locale-environment): In a
5464 console session on MS-Windows, set up keyboard and terminal
5465 encoding from the OEM codepage, not the ANSI codepage.
5466 (Bug#12055)
5467
a55739d3
CY
54682012-07-28 Chong Yidong <cyd@gnu.org>
5469
5470 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
5471 gdb-get-location.
5472
0e1a094f 54732012-07-28 Leo Liu <sdl.web@gmail.com>
9a0f8f2e
LL
5474
5475 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
5476 the alist (bug#12029).
5477
20329d73
EZ
54782012-07-28 Eli Zaretskii <eliz@gnu.org>
5479
5480 * makefile.w32-in (custom-deps, finder-data, updates, compile)
5481 (compile-always, compile-first)
5482 ($(lisp)/calendar/cal-loaddefs.el)
5483 ($(lisp)/calendar/diary-loaddefs.el)
5484 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
5485 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
5486 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
5487 instead of on update-subdirs.
5488 (bootstrap-clean): Delete $(lisp)/subdirs.el.
5489
345a2258
CY
54902012-07-28 Chong Yidong <cyd@gnu.org>
5491
1eee6341
CY
5492 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
5493 directory if vc-deduce-backend returns nil (Bug#7350).
5494
345a2258
CY
5495 * simple.el (delete-trailing-lines): New option.
5496 (delete-trailing-whitespace): Obey it (Bug#11879).
5497
049a0936
DE
54982012-07-28 David Engster <deng@randomsample.de>
5499
5500 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
5501 Explanation of new 'symbol-qnames feature in doc-strings.
5502 (xml-maybe-do-ns): Return expanded names as plain symbols if
5503 'symbol-qnames was provided in XML-NS argument (Bug#11916).
5504 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
5505
aa81af71
FEG
55062012-07-27 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
5507
5508 Consistent completion in inferior python with emacs -nw.
5509 * progmodes/python.el (inferior-python-mode): replace "<tab>"
5510 binding in inferior-python-mode-map with "\t".
5511 (python-shell-completion-complete-at-point)
5512 (python-completion-complete-at-point): Remove interactive spec.
5513
e827b1eb
JB
55142012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
5515
5516 * calc/calccomp.el (math-compose-expr): Undo previous change.
5517
a90dfb95
FEG
55182012-07-27 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
5519
4250fdf5 5520 * progmodes/python.el (python-mode-map): Add keybinding for
a90dfb95
FEG
5521 run-python.
5522 (python-shell-make-comint): Fix pop-to-buffer call.
5523 (run-python): Autoload. New arg SHOW.
5524 (python-shell-get-or-create-process): Do not pop python process
5525 buffer.
5526
32770973 55272012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
5528
5529 * notifications.el (notifications-on-action-signal)
5530 (notifications-on-closed-signal): Use also the bus address for the map.
5531 (notifications-notify, notifications-close-notification)
fc0c31f8 5532 (notifications-get-capabilities): Add optional argument BUS.
1c6ef030 5533
86332df2
TH
55342012-07-27 Tassilo Horn <tsdh@gnu.org>
5535
4250fdf5
SM
5536 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
5537 Add support for the lstlisting and minted environments, and for the
86332df2
TH
5538 ctable macro.
5539 * textmodes/reftex.el (reftex-compile-variables): Also recognize
5540 labels written in keyvals syntax.
5541
ca1302a4
JB
55422012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
5543
5544 * calc/calccomp.el (math-compose-expr): Use parentheses when
5545 there is a product in the denominator of a fraction.
5546
f8b91036
EZ
55472012-07-26 Eli Zaretskii <eliz@gnu.org>
5548
5549 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
5550 ($(lisp)/calendar/diary-loaddefs.el)
5551 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4250fdf5
SM
5552 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
5553 Fixes failures in parallel bootstrap because subdirs.el is being
f8b91036
EZ
5554 rewritten while the autoload files are built at the same time,
5555 which needs to load subdirs.el.
5556
c8e5a42c
MR
55572012-07-26 Martin Rudalics <rudalics@gmx.at>
5558
5559 * mouse.el (popup-menu): Fix doc-string and re-indent code.
5560 (mouse-drag-line): Don't exit tracking when a switch-frame or
5561 switch-window event occurs (Bug#12006).
5562
670d85ea
SM
55632012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5564
5565 * mouse.el (popup-menu): Fix last change.
5566
7abaf5cc
SM
55672012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5568
5569 Autoload from Lisp with more care. Follow aliases when looking for
5570 function properties.
5571 * subr.el (autoloadp): New function.
5572 (symbol-file): Use it.
5573 (function-get): New function.
5574 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
5575 autoload-do-load.
5576 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
5577 (lisp-indent-function):
5578 * emacs-lisp/gv.el (gv-get):
5579 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
5580 * emacs-lisp/byte-opt.el (byte-optimize-form):
5581 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
5582 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
5583 Use function-get.
5584 * emacs-lisp/cl.el: Don't propagate function properties any more.
5585
5586 * speedbar.el (speedbar-add-localized-speedbar-support):
5587 * emacs-lisp/disass.el (disassemble-internal):
5588 * desktop.el (desktop-load-file):
5589 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
5590 (describe-function-1):
5591 * emacs-lisp/find-func.el (find-function-noselect):
5592 * emacs-lisp/elp.el (elp-instrument-function):
5593 * emacs-lisp/advice.el (ad-has-proper-definition):
5594 * apropos.el (apropos-safe-documentation, apropos-macrop):
5595 * emacs-lisp/debug.el (debug-on-entry):
5596 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
5597 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
5598 * calc/calc.el (name): Use autoloadp & autoload-do-load.
5599
b1364986
AA
56002012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
5601
5602 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
5603 function, not an obsolete variable (Bug#12046).
5604
67ada220
AS
56052012-07-25 Andreas Schwab <schwab@linux-m68k.org>
5606
5607 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
5608
f08088e3
CS
56092012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
5610
5611 * emacs-lisp/pp.el (pp-display-expression): Select old selected
5612 window only if it is still live (Bug#12034).
5613
8137e7b3
MR
56142012-07-25 Martin Rudalics <rudalics@gmx.at>
5615
5616 * subr.el (redirect-frame-focus): Add advertised calling
5617 convention (Bug#12030).
5618
09ae5da1
PE
56192012-07-25 Paul Eggert <eggert@cs.ucla.edu>
5620
5621 Prefer typical American spelling for "acknowledgment".
5622 * vc/add-log.el (change-log-acknowledgment): Rename from
5623 change-log-acknowledgement, with an alias for the old name.
5624
3cc5a3a8
JB
56252012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
5626
5627 * calc-alg.el (math-simplify-divide): Don't cross multiply
5628 in an equation when the lhs is a variable.
5629
b7af7f62
JD
56302012-07-24 Julien Danjou <julien@danjou.info>
5631
5632 * net/netrc.el (netrc-find-service-number, netrc-store-data):
5633 Remove, unused.
5634
ec1b09b1
EZ
56352012-07-23 Eli Zaretskii <eliz@gnu.org>
5636
5637 * startup.el (command-line): Don't display an empty user name in
5638 the error message about non-existent home directory, when
5639 init-file-user was set to an empty string. See
5640 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
5641 for the details and context.
5642
b525fd8a
VB
56432012-07-22 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
5644
5645 * ses.el (ses-cell-formula-aset): New macro.
5646 (ses-cell-references-aset): New macro.
5647 (ses-cell-p): New function.
5648 (ses-rename-cell): Do no longer rely on complex operations like
5649 ses-cell-set-formula or ses-set-cell to change the cell and handle
5650 the undo at the same time, but rather use lower level new macros
5651 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
fc0c31f8 5652 the undo directly. Refresh the mode line.
b525fd8a 5653
2c73e345
LL
56542012-07-21 Leo Liu <sdl.web@gmail.com>
5655
670d85ea
SM
5656 * progmodes/cc-cmds.el (c-defun-name):
5657 Use match-string-no-properties instead for consistency.
2c73e345 5658
542dfbde
LL
56592012-07-20 Leo Liu <sdl.web@gmail.com>
5660
3646bcd6
LL
5661 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
5662 (Bug#7879)
5663
542dfbde
LL
5664 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
5665
25721031
CY
56662012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
5667
5668 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
5669 * progmodes/bug-reference.el, misearch.el: Provide themselves
5670 (bug#11915).
5671
5672 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
5673 of narrowed buffer (bug#11966).
5674
316e68a7
VB
56752012-07-20 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
5676
5677 * ses.el (ses-rename-cell): Set new name also in reference list of
5678 cells of which the renamed cell depends.
5679
bbf0e7d9
MY
56802012-07-20 Masatake YAMATO <yamato@redhat.com>
5681
5682 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
5683 to check whether menu-bar is shown or not. If not shown,
5684 show the menu-bar as a popup menu instead of using tmm.
5685 * mouse.el (popup-menu): Accept `point' as `position' argument.
5686
c28662a8
DG
56872012-07-20 Dmitry Gutov <dgutov@yandex.ru>
5688
5689 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
5690 up inside string symbol literal (bug#11923).
5691
87ab808f
EZ
56922012-07-20 Eli Zaretskii <eliz@gnu.org>
5693
5694 * startup.el (fancy-startup-text): Read the whole tutorial, not
5695 just its first 256 bytes. Prevents gibberish in display of the
5696 tutorial title.
5697
89dea803
DA
56982012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
5699
5700 Drop idle buffer compaction due to an absence of the
5701 proved efficiency.
5702 * compact.el: Remove.
5703
8a4e6db8
SS
57042012-07-19 Sam Steingold <sds@gnu.org>
5705
5706 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
5707 vc-bzr-pull & vc-bzr-merge-branch.
5708 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
5709 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
5710 for consistency with compilation-error-regexp-alist.
5711 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
5712 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
5713 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
5714 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
5715
5db81e33
SM
57162012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
5717
5718 * emacs-lisp/chart.el: Use lexical-binding.
5719 (chart-emacs-storage): Don't hardcode the list of entries.
5720
5b835e1d
DA
57212012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
5722
5723 Next round of tweaks caused by Fgarbage_collect changes.
5724 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
5725
9cd47b72
DA
57262012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
5727
5728 Compact buffers when idle.
5729 * compact.el: New file.
5730
1d6fc0df
SM
57312012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
5732
5733 * subr.el (eventp): Presume that if it looks vaguely like an event,
5734 it's an event (bug#10190).
5735
1d29cc7d
FEG
57362012-07-19 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
5737
5738 Enhancements to ppss related code (thanks Stefan).
5739 * progmodes/python.el (python-indent-context)
5740 (python-indent-calculate-indentation, python-indent-dedent-line)
5741 (python-indent-electric-colon, python-nav-forward-block)
5742 (python-mode-abbrev-table)
1d6fc0df 5743 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
5744 for ppss context.
5745 (python-info-continuation-line-p): Cleanup.
5746 (python-info-ppss-context): Do not catch 'quote.
5747 (python-info-ppss-context-type)
5748 (python-info-ppss-comment-or-string-p): Simplify.
5749
d583cbe6
FEG
57502012-07-18 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
5751
5752 * progmodes/python.el: Enhancements to eldoc support.
5753 (python-info-current-symbol): New function.
5754 (python-eldoc-at-point): Use python-info-current-symbol.
5755 (python-info-current-defun): Fix cornercase on first defun scan.
5756 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
5757 and signal error when no inferior python process is available.
5758
eceb6feb
DG
57592012-07-18 Dmitry Gutov <dgutov@yandex.ru>
5760
5761 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
5762 assume it's always t.
5763 (vc-git-registered): Remove caching, the function is only called
5764 once.
5765 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
5766
4c8ff0fe
CY
57672012-07-18 Chong Yidong <cyd@gnu.org>
5768
19fb7186
CY
5769 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
5770
9587c688
CY
5771 * simple.el (count-words): Report on narrowing (Bug#9959).
5772
0fe776a1
CY
5773 * bindings.el: Bind M-= to count-words.
5774
4c8ff0fe
CY
5775 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
5776
7f5331cc
MY
57772012-07-18 Masatake YAMATO <yamato@redhat.com>
5778
5779 * progmodes/sh-script.el (sh-imenu-generic-expression):
5780 Capture a function with `function' keyword and without parentheses
5781 like "function FOO" (bug#11856).
5782
2dc2a609
TH
57832012-07-18 Tassilo Horn <tassilo@member.fsf.org>
5784
5785 * window.el (split-window-sensibly): Make WINDOW argument
5786 optional.
5787
439f7677
CY
57882012-07-18 Chong Yidong <cyd@gnu.org>
5789
9aeb25a6
CY
5790 * subr.el (keyboard-translate): Doc fix (Bug#7261).
5791
439f7677
CY
5792 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
5793 and make C-x 8 RET exit isearch (Bug#11439).
5794
5795 * international/iso-transl.el: Move isearch-mode-map key
5796 definitions to isearch.el.
5797
12999ea8
SM
57982012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
5799
5800 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
5801 (eieio-defclass): Use gv-define-setter when possible.
5802
3ab6e069
DA
58032012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
5804
5805 Reflect recent changes in Fgarbage_collect.
5806 * emacs-lisp/chart.el (chart-emacs-storage): Change to
5807 reflect new format of data returned by Fgarbage_collect.
5808
0a60bc10
FEG
58092012-07-17 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
5810
5811 New utility functions + python-info-ppss-context fix (Bug#11910).
5812 * progmodes/python.el (python-info-beginning-of-block-statement-p)
5813 (python-info-ppss-comment-or-string-p): New functions.
5814 (python-info-ppss-context): Small fix for string check.
5815
6dafa0d5
JL
58162012-07-17 Juri Linkov <juri@jurta.org>
5817
5818 * dired-aux.el (dired-do-async-shell-command): Doc fix.
5819 (dired-do-async-shell-command): Don't add `*' at the end of the
5820 command (Bug#11815).
5821 (dired-do-shell-command): Doc fix.
5822 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
5823 Join the individual commands using either "&" or ";" as the
5824 separator depending on the values of these trailing characters.
5825 At the end re-add the trailing "&". (Bug#10598)
5826
5827 * simple.el (async-shell-command): Sync the interactive spec with
5828 `shell-command'. Doc fix.
5829 (shell-command): Doc fix.
5830
b19dd9d1
JL
58312012-07-17 Juri Linkov <juri@jurta.org>
5832
5833 * descr-text.el (describe-char): Fix format args. (Bug#10129)
5834
bcdc27d7 58352012-07-17 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7f5331cc 5836
bcdc27d7 5837 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
5838 * progmodes/python.el (python-nav-beginning-of-statement):
5839 Rename from python-nav-statement-start.
bcdc27d7
FEG
5840 (python-nav-end-of-statement): Rename from
5841 python-nav-statement-end.
5842 (python-nav-beginning-of-block): Rename from
5843 python-nav-block-start.
5844 (python-nav-end-of-block): Rename from python-nav-block-end.
5845
191da00e
FEG
58462012-07-17 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
5847
7f5331cc
MY
5848 * progmodes/python.el (python-shell-send-string-no-output):
5849 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
5850 future interactions (Bug#11868).
5851
4dc7c8d5 58522012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 5853
88ecaf8f
SM
5854 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
5855
ef501ef0
SM
5856 * emacs-lisp/elint.el (elint-find-args-in-code):
5857 Use help-function-arglist, so as to handle lexical byte-code.
5858
aa7aaf8f
SM
5859 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
5860 change (bug#11826).
5861
45fd731c
SM
58622012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
5863
2143fa32
SM
5864 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
5865 Avoid spuriously marking the buffer as modified because of c-is-sws.
5866
efc26dbe
SM
5867 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
5868 as not-a-comment (bug#11946).
5869
f5695c9a
SM
5870 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
5871 for uninterned vars.
5872
5873 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
5874 Use read-event since we don't really want to read chars but bytes.
5875
45fd731c
SM
5876 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
5877 $$..$$ but also $..$ using regexps (bug#11953).
5878 Use tex-verbatim for \url and \path.
5879 (tex-font-lock-keywords): Define as defconst like the others.
5880 (tex-common-initialization): Don't use font-lock-syntax-table any more.
5881
ddfc8813
RK
58822012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
5883
5884 * international/mule-cmds.el (ucs-insert): Make it an obsolete
5885 alias for insert-char.
5886
758e556a
FEG
58872012-07-16 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
5888
5889 * progmodes/python.el: Simplified imenu implementation.
5890 (python-nav-jump-to-defun): Remove command.
5891 (python-mode-map): Use `imenu' instead.
5892 (python-nav-list-defun-positions-cache)
5893 (python-imenu-include-defun-type, python-imenu-make-tree)
5894 (python-imenu-subtree-root-label, python-imenu-index-alist):
5895 Remove vars.
5896 (python-nav-list-defun-positions, python-nav-read-defun)
5897 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
5898 (python-imenu-make-tree, python-imenu-create-index):
5899 Remove functions.
758e556a
FEG
5900 (python-mode): Update to interact with imenu by setting
5901 `imenu-extract-index-name-function' only.
5902
032d23ab
FEG
59032012-07-16 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
5904
5905 * progmodes/python.el: Enhancements to navigation commands.
5906 (python-nav-backward-sentence)
5907 (python-nav-forward-sentence): Remove.
5908 (python-nav-backward-statement, python-nav-forward-statement)
5909 (python-nav-statement-start, python-nav-statement-end)
5910 (python-nav-backward-block, python-nav-forward-block)
5911 (python-nav-block-start, python-nav-block-end)
5912 (python-nav-forward-sexp-function)
5913 (python-info-current-line-comment-p)
5914 (python-info-current-line-empty-p): New functions.
5915 (python-indent-context): Use `python-nav-statement-start'.
5916
01795a1b
MA
59172012-07-16 Michael Albinus <michael.albinus@gmx.de>
5918
9328d9aa
MA
5919 * eshell/em-ls.el (eshell/ls): Use `apply'.
5920
5921 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
5922 multi-hops, instead of Tramp internals.
5923
01795a1b
MA
5924 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
5925
5926 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
5927 when F1 and F2 are located on different hosts.
5928
63408057
CY
59292012-07-14 Chong Yidong <cyd@gnu.org>
5930
5931 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
5932 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
5933 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
5934 (xterm-mouse--read-event-sequence-1000)
5935 (xterm-mouse--read-event-sequence-1006): New functions. For old
5936 mouse protocol, handle M-mouse-X events correctly.
5937 (xterm-mouse-event): New arg specifying mouse protocol.
5938 (turn-on-xterm-mouse-tracking-on-terminal)
5939 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
5940 sequence to toggle extended coordinates on newer XTerms.
5941 This appears to be harmless on terminals which do not support this.
63408057 5942
cd276f6e
LL
59432012-07-14 Leo Liu <sdl.web@gmail.com>
5944
28ca98ac
LL
5945 Add fringe bitmap indicators for flymake. (Bug#11253)
5946 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
5947 (flymake-make-overlay): New arg BITMAP.
5948 (flymake-error-bitmap, flymake-warning-bitmap)
5949 (flymake-fringe-indicator-position): New user variables.
5950
cd276f6e
LL
5951 * fringe.el: New bitmap exclamation-mark.
5952
04408072
JD
59532012-07-14 Jan Djärv <jan.h.d@swipnet.se>
5954
5955 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
5956 also (Bug#7879).
5957
b5cf7fc4
CY
59582012-07-14 Chong Yidong <cyd@gnu.org>
5959
5960 * electric.el (electric-pair-post-self-insert-function): Fix pair
5961 insertion in empty-region case (Bug#11520).
5962
be755c79
RT
59632012-07-14 Chong Yidong <cyd@gnu.org>
5964
45fd731c
SM
5965 * bindings.el: Consolidate ctl-x-r-map bindings.
5966 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
5967
5968 * rect.el, register.el: Move bindings to bindings.el.
5969
59702012-07-14 Reuben Thomas <rrt@sc3d.org>
5971
5972 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
5973
7f5b3198
AS
59742012-07-13 Andreas Schwab <schwab@linux-m68k.org>
5975
5976 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
5977
97662200
JB
59782012-07-13 Juanma Barranquero <lekktu@gmail.com>
5979
80185fed
JB
5980 * bindings.el (top): Use `mapc' instead of `mapcar'.
5981
97662200
JB
5982 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
5983
2bb1ae55
MA
59842012-07-13 Michael Albinus <michael.albinus@gmx.de>
5985
5986 * progmodes/sql.el (sql-comint): Suppress the check for program on
5987 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
5988 (Bug#11908)
5989
dea31bd3
CY
59902012-07-13 Chong Yidong <cyd@gnu.org>
5991
5992 * bindings.el: Assign a non-nil permanent-local property to
5993 per-buffer variables which lack a default value (Bug#11930).
5994
5995 * help-fns.el (describe-variable): In the "automatically becomes
5996 local" notice, take note of permanent-local variables.
5997
b68b3337
CY
59982012-07-13 Chong Yidong <cyd@gnu.org>
5999
6000 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
6001 to allow printing the message when called from Lisp.
6002
6003 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6004 Remove toggle-read-only.
6005
6006 * bs.el (bs-toggle-readonly):
45fd731c
SM
6007 * buff-menu.el (Buffer-menu-toggle-read-only):
6008 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
6009
6010 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
6011 Remove with-no-warnings around toggle-read-only.
6012 (ffap-read-only, ffap-read-only-other-window)
6013 (ffap-read-only-other-frame): Callers changed.
6014
6015 * help-mode.el: Don't require view package.
6016 (help-mode-finish): Set buffer-read-only instead of calling
6017 toggle-read-only.
6018
6019 * bindings.el (mode-line-toggle-read-only):
6020 * dired.el (dired-toggle-read-only):
6021 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
6022 with non-nil second arg.
6023
6024 * emacs-lisp/eieio-custom.el (eieio-customize-object):
6025 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
6026 directly.
6027
56bc1586
EZ
60282012-07-12 Eli Zaretskii <eliz@gnu.org>
6029
6030 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
6031 not incf.
6032
a464a6c7
SM
60332012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
6034
6035 More CL cleanups and reduction of use of cl.el.
6036 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
6037 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
6038 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
6039 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
6040 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
6041 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
6042 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
6043 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
6044 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
6045 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
6046 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
6047 * eshell/em-cmpl.el, eshell/em-banner.el:
6048 * calendar/parse-time.el: Use cl-lib.
6049 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
6050 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
6051 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
6052 * term/ns-win.el, term.el, shell.el, ps-samp.el:
6053 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
6054 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
6055 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
6056 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
6057 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
6058 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
6059 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
6060 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
6061 `lambda' rather than with `quote'.
6062 (eshell-do-opt): Adjust accordingly.
6063 (eshell-process-option): Simplify.
6064 * eshell/esh-var.el:
6065 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
6066 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
6067 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
6068 to `pcase--dontcare'.
6069 * emacs-lisp/cl.el (labels): Mark obsolete.
6070 (cl--letf, letf): Move to cl-lib.
6071 (cl--letf*, letf*): Remove.
6072 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
6073 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
6074 (cl-progv): Rewrite.
6075 (cl--letf, cl-letf): Move from cl.el.
6076 (cl-letf*): New macro.
6077 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
6078
7ad4afe1
MA
60792012-07-11 Michael Albinus <michael.albinus@gmx.de>
6080
6081 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
6082
9af57756
CY
60832012-07-11 Chong Yidong <cyd@gnu.org>
6084
6085 * vc/log-edit.el (log-edit-vc-backend): New variable.
6086 (log-edit): Doc fix.
6087
6088 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
6089 argument of log-edit to set up all local variables.
6090 (vc-start-logentry): New optional arg specifying VC backend.
6091
6092 * vc/vc.el (vc-checkin): Use it.
6093 (vc-deduce-fileset): Handle Log Edit buffers.
6094 (vc-diff): Make first argument optional too.
6095
6096 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
6097
8477cc7a
MA
60982012-07-10 Michael Albinus <michael.albinus@gmx.de>
6099
6100 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
6101 command, just in case. The function is not needed anymore.
6102 (eshell-external-command): Do not call `eshell-remote-command'.
6103
19faa8e8
SM
61042012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
6105
f58e0fd5
SM
6106 Reduce use of (require 'cl).
6107 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
6108 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
6109 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
6110 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
6111 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
6112 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
6113 * battery.el, avoid.el, abbrev.el: Use cl-lib.
6114 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
6115 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
6116 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
6117 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
6118 * calculator.el, autorevert.el, apropos.el: Don't require CL.
6119 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
6120 (byte-compile-unfold-bcf, byte-compile-check-variable):
6121 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
6122 (byte-compile-nilconstp):
6123 * emacs-lisp/autoload.el (make-autoload): Use pcase.
6124 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
6125
2519d43a
SM
6126 * emacs-lisp/gv.el (cond): Make it a valid place.
6127 (if): Simplify slightly.
6128
19faa8e8
SM
6129 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
6130 (pcase--self-quoting-p): New function.
6131 (pcase--u1): Use it.
6132
c4907a5e
GM
61332012-07-10 Glenn Morris <rgm@gnu.org>
6134
6135 * emacs-lisp/authors.el (authors-fixed-entries):
6136 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
6137
c4444d16
PE
61382012-07-09 Paul Eggert <eggert@cs.ucla.edu>
6139
6140 Rename configure.in to configure.ac (Bug#11603).
6141 * emacs-lisp/authors.el (authors-canonical-file-name):
6142 * progmodes/autoconf.el (autoconf-mode):
6143 Prefer configure.ac to configure.in.
6144
d75be97d
CY
61452012-07-08 Chong Yidong <cyd@gnu.org>
6146
01ac65bd
CY
6147 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
6148 Implement the mouse-1-click-follows-link handling properly.
6149
6150 * info.el (Info-link-keymap): Use follow-link mechanism for
6151 header-line links (Bug#374).
6152
d75be97d
CY
6153 * simple.el (deactivate-mark): Do not set the primary selection
6154 if another program has acquired it (Bug#11772).
6155
87a92845 61562012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
6157
6158 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
6159 (woman-decode-region): Replace escaped-escapes without destroying
6160 bold or underline (Bug#11552).
87a92845 6161 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 6162
621b9d6c
CY
61632012-07-07 Chong Yidong <cyd@gnu.org>
6164
6165 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
6166 (interprogram-cut-function, interprogram-paste-function):
6167 Mention that we typically mean the clipboard.
621b9d6c 6168
133a11fc
GM
61692012-07-06 Glenn Morris <rgm@gnu.org>
6170
0d27a45e
GM
6171 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
6172
133a11fc
GM
6173 * files.el (toggle-read-only): Restrict message to interactive use.
6174
07b151f1
MA
61752012-07-06 Michael Albinus <michael.albinus@gmx.de>
6176
6177 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
6178
6179 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
6180
211b896b
GM
61812012-07-06 Glenn Morris <rgm@gnu.org>
6182
50394322
GM
6183 * Makefile.in (compile-one-process): Rename from "recompile".
6184
211b896b
GM
6185 * Makefile.in (bzr-update): "compile" is the same as "recompile
6186 autoloads", but parallelizable, so use that instead.
6187
4737eec9
DG
61882012-07-06 Dmitry Gutov <dgutov@yandex.ru>
6189
6190 * window.el (quit-window): Always restore window height when
8137e7b3 6191 it's saved in quit-restore parameter (Bug#11810).
4737eec9 6192
226c3633 61932012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
6194
6195 * simple.el (kill-whole-line): Doc tweak.
6196
226c3633 61972012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
6198
6199 * files.el (file-relative-name): Compare file names
6200 case-insensitively if on MS-Windows or MS-DOS, or if
6201 read-file-name-completion-ignore-case is non-nil. Don't use
6202 case-fold-search for this purpose. (Bug#11827)
6203
4dc7c8d5
SM
62042012-07-17 Andreas Schwab <schwab@linux-m68k.org>
6205
6206 * calendar/cal-dst.el (calendar-current-time-zone):
6207 Return calendar-current-time-zone-cache if non-nil.
6208
62092012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 62102012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 6211
19faa8e8
SM
6212 * calendar/cal-dst.el (calendar-current-time-zone):
6213 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 6214
60198fc9
GM
62152012-07-06 Glenn Morris <rgm@gnu.org>
6216
6217 * Makefile.in (cvs-update): Remove old alias.
6218
957b3189
MA
62192012-07-05 Michael Albinus <michael.albinus@gmx.de>
6220
6221 Sync with Tramp 2.2.6-pre.
6222
6223 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
6224 compatible declaration.
6225
19faa8e8
SM
6226 * net/tramp-cmds.el (tramp-append-tramp-buffers):
6227 Protect `list-load-path-shadows' call.
957b3189
MA
6228
6229 * net/tramp-compat.el (top): Require packages, which aren't
6230 autoloaded anymore for XEmacs. Protect call of
6231 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
6232 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
6233 it hurts at least for SXEmacs.
6234 (tramp-compat-temporary-file-directory): In XEmacs, there is no
6235 standard-value for `temporary-file-directory'.
6236
6237 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
6238 Redirect stderr to /dev/null.
6239 (tramp-sh-handle-write-region): uid and gid can be floats.
6240 Reported by Russell Sim <russell.sim@gmail.com>.
6241 (tramp-sh-handle-vc-registered): Hide errors.
6242 (tramp-vc-file-name-handler): Use dummy results for `process-file'
6243 and `start-file-process'.
6244 (tramp-maybe-open-connection): Check also whether `non-essential'
6245 is bound.
6246
566df3fc
CY
62472012-07-04 Chong Yidong <cyd@gnu.org>
6248
6249 * xml.el (xml--parse-buffer): Use xml-syntax-table.
6250 (xml-parse-tag): Likewise, and avoid changing entity tables.
6251 (xml-syntax-table): Define from scratch, making sure not to give
6252 x2000 and other Unicode spaces whitespace syntax, since those are
6253 not spaces in XML.
6254 (xml-parse-fragment): Delete unused function.
6255 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
6256 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
6257 (xml-entity-ref, xml-pe-reference-re)
6258 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
6259 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
6260 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
6261 (xml-entity-value-re): Use syntax references in regexps where
6262 possible; no need to define inside a let-binding.
6263 (xml-parse-dtd): Use xml-pe-reference-re.
6264 (xml-entity-or-char-ref-re): New defconst.
6265 (xml-parse-string, xml-substitute-special): Use it.
6266
30eabd7a
SM
62672012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
6268
0781098a
SM
6269 * files.el (locate-dominating-file): Allow `name' to be a predicate.
6270 (find-file--read-only): New function.
6271 (find-file-read-only, find-file-read-only-other-window)
6272 (find-file-read-only-other-frame): Use it.
6273 (insert-file-contents-literally): Don't `fset'.
6274 (get-free-disk-space): Use locate-dominating-file.
6275
b5771c0d
SM
6276 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
6277 function is already compiled.
6278
30eabd7a
SM
6279 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
6280
b4886f6e
MA
62812012-07-03 Michael Albinus <michael.albinus@gmx.de>
6282
6283 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
6284 files on the same host.
6285
b9d82339
AS
62862012-07-03 Andreas Schwab <schwab@linux-m68k.org>
6287
6288 * help-fns.el (describe-function-1): Only call
6289 help-fns--autoloaded-p when we have a file name. (Bug#11848)
6290
a76e6535
CY
62912012-07-03 Chong Yidong <cyd@gnu.org>
6292
6293 * xml.el: Protect parser against XML bombs.
6294 (xml-entity-expansion-limit): New variable.
6295 (xml-parse-string, xml-substitute-special): Use it.
6296 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
6297
b544fef2
GM
62982012-07-03 Glenn Morris <rgm@gnu.org>
6299
6300 * progmodes/bug-reference.el (bug-reference-bug-regexp):
6301 Allow linking to specific messages in debbugs reports (eg 123#5).
6302
a7aef6f5
CY
63032012-07-02 Chong Yidong <cyd@gnu.org>
6304
6305 * xml.el: Fix entity and character reference expansion, allowing
6306 them to expand into markup as per XML spec.
6307 (xml-default-ns): New variable.
6308 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
6309 (xml-parse-region): Make first two arguments optional.
6310 Discard text properties.
6311 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
6312 All callers changed.
a7aef6f5
CY
6313 (xml-parse-tag): Call xml-parse-tag-1. For backward
6314 compatibility, this function should not modify buffer contents.
6315 (xml-parse-tag-1): Fix opening-tag regexp.
6316 (xml-parse-string): Rewrite, handling entity and character
6317 references properly.
6318 (xml--entity-replacement-text): Signal an error if a parameter
6319 entity is undefined.
6320
3df31c9f
SM
63212012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
6322
2b5208f1
SM
6323 * comint.el (comint-output-filter): Filter out repeated prompts.
6324
3df31c9f
SM
6325 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
6326 and file-name-absolute-p.
6327 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
6328 internal calls.
6329
e3ac1281
PE
63302012-07-02 Paul Eggert <eggert@cs.ucla.edu>
6331
6332 Spelling fixes.
6333 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
6334 Rename from byte-compile--refiy-function. All uses changed.
6335
fbf2e7ad
CY
63362012-07-01 Chong Yidong <cyd@gnu.org>
6337
6338 * xml.el (xml--parse-buffer): New function. Move most of
6339 xml-parse-region here.
6340 (xml-parse-region): Copy region into a temporary buffer, since
6341 parameter entity substitution requires changing buffer contents.
6342 Use xml--parse-buffer.
6343 (xml-parse-file): Use xml--parse-buffer.
6344 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 6345 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 6346
9bf0aa15
GM
63472012-06-30 Glenn Morris <rgm@gnu.org>
6348
bbce2853
GM
6349 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
6350
9bf0aa15
GM
6351 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
6352 Remove outdated and unnecessary dbus declarations.
6353
0d23c240
EZ
63542012-06-30 Eli Zaretskii <eliz@gnu.org>
6355
6356 * emacs-lisp/timer.el (timer-until): Subtract results of
6357 float-time, instead of taking float-time of the result of
6358 time-subtract, since float-time signals an error for negative time
6359 arguments.
6360
b3218de1
CY
63612012-06-30 Chong Yidong <cyd@gnu.org>
6362
6363 * xml.el (xml-*-re): Convert defvars into defconsts, and
6364 eval-and-compile them so eval-and-compile works on derivatives.
6365 (xml--entity-replacement-text): Use eval-and-comple.
6366
a40c87a0
MA
63672012-06-30 Michael Albinus <michael.albinus@gmx.de>
6368
6369 * vc/vc-git.el (vc-git-registered): Use cache property
6370 `git-registered'.
6371 (vc-git-mode-line-string): Call `vc-working-revision' instead of
6372 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 6373 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 6374
ac87de97
DG
63752012-06-30 Dmitry Gutov <dgutov@yandex.ru>
6376
6377 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 6378 removed (likely outside Emacs). (Bug#11757)
ac87de97 6379
ac10fe06
SM
63802012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
6381
3df31c9f 6382 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 6383
7f3fbd5d
CY
63842012-06-30 Chong Yidong <cyd@gnu.org>
6385
6386 * xml.el: Implement XML parameter entities.
6387 (xml-parameter-entity-alist): New variable.
6388 (xml-parse-region, xml-parse-fragment): Preserve previous values
6389 of xml-entity-alist and xml-parameter-entity-alist, so that
6390 repeated calls on different documents do not change them.
6391 (xml-parse-tag): Fix doctype regexp.
6392 (xml--entity-replacement-text): New function.
6393 (xml-parse-dtd): Use it. Don't handle system entities; doing that
6394 properly requires url retrieval which is unimplemented.
6395 (xml-escape-string): Doc fix.
6396
3cfbebba
SM
63972012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
6398
6399 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
6400
2af3565e
DA
64012012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
6402
6403 * fringe.el (fringe-mode): Doc fix.
6404
929df0e7
MA
64052012-06-29 Michael Albinus <michael.albinus@gmx.de>
6406
6407 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
6408 is non-nil.
6409 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
6410 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
6411
c8d3a25c 64122012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 6413
c8d3a25c
GM
6414 * calendar/cal-dst.el (calendar-current-time-zone):
6415 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 6416
c8d3a25c 64172012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
6418
6419 * progmodes/which-func.el (which-func-format):
6420 Add mouse-face. (Bug#11698)
6421
c8d3a25c
GM
64222012-06-29 Leo Liu <sdl.web@gmail.com>
6423
6424 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
6425
64262012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
6427
6428 * minibuffer.el (minibuffer-confirm-exit-commands):
6429 Add completion-at-point (bug#11725).
6430
64312012-06-29 Glenn Morris <rgm@gnu.org>
6432
6433 * progmodes/f90.el (f90-font-lock-keywords-2):
6434 Add some preprocessor elements. (Bug#10499)
6435
64362012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
6437
6438 * progmodes/cperl-mode.el (cperl-update-syntaxification):
6439 Use syntax-propertize (bug#11739).
6440
2badeec4
JB
64412012-06-28 Juanma Barranquero <lekktu@gmail.com>
6442
6443 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
6444
ae4969c2
JD
64452012-06-28 Julien Danjou <julien@danjou.info>
6446
6447 * term.el (term-handle-colors-array): Use a set of new faces to
6448 color the terminal. Also uses :inverse-video property.
6449 (term-default-fg-color): Set to nil by default, deprecate in favor
6450 of `term-face'.
6451 (term-default-bg-color): Set to nil by default, deprecate in favor
6452 of `term-face'.
6453 (term-current-face): Use `term-face' by default.
6454 (term-bold-attribute): Variable deleted.
6455
1c9bd870
GM
64562012-06-28 Glenn Morris <rgm@gnu.org>
6457
6458 * simple.el (completion-list-mode-finish):
6459 Don't use toggle-read-only. (Since completion-list-mode has
6460 a special mode-class, it wasn't doing anything extra anyway.)
6461
c207708c
SM
64622012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
6463
6464 Make inlining of other-mode interpreted functions work (bug#11799).
6465 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
6466 (byte-compile): Use it to fix compilation of lexical-binding closures.
6467 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
6468 function, if needed.
6469
3fd56834
SM
64702012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
6471
04901786
SM
6472 * help-mode.el (help-make-xrefs): Don't just withstand
6473 cyclic-variable-indirection but any error in documentation-property.
6474
1ec4b7b2
SM
6475 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
6476 memory use.
6477 * bindings.el (bindings--define-key): New function.
6478 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
6479 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
6480 * bindings.el: Use it to purecopy define-key bindings.
6481
e309e2a5
SM
6482 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
6483
d5c6faf9
SM
6484 * emacs-lisp/cl.el (flet): Mark obsolete.
6485 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
6486 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
6487 * progmodes/js.el (js-c-fill-paragraph):
6488 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
6489 (ebrowse-switch-member-buffer-to-derived-class):
6490 * play/5x5.el (5x5-solver): Use cl-flet.
6491
6e9590e2
SM
6492 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
6493 (cl--symbol-function): New macro.
6494 (cl--letf, cl--letf*): Use it.
6495
3fd56834
SM
6496 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
6497 Strip "toggle-" if any.
6498
35ff222c
GM
64992012-06-27 Glenn Morris <rgm@gnu.org>
6500
1ba6038a
GM
6501 * info.el (Info-default-directory-list): Move here from paths.el.
6502 * paths.el: Remove file, which is now empty.
6503 * loadup.el: No longer load "paths".
6504
0ea0e51b
GM
6505 * custom.el (custom-initialize-delay): Doc fix.
6506
35ff222c
GM
6507 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
6508 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
6509 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
6510 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
6511 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
6512 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
6513 * eshell/eshell.el (eshell-defgroup): Remove alias.
6514
c89926a5
CY
65152012-06-27 Chong Yidong <cyd@gnu.org>
6516
6517 * help.el (help-enable-auto-load): New variable.
6518
6519 * help-fns.el (help-fns--autoloaded-p): New function.
6520 (describe-function-1): Refer to a function as "autoloaded" if it
6521 was autoloaded at any time in the past. Perform autoloading if
6522 help-enable-auto-load is non-nil.
6523
cc06e7e7
EZ
65242012-06-26 Eli Zaretskii <eliz@gnu.org>
6525
6526 * makefile.w32-in (compile, compile-always): Depend on
6527 update-subdirs, not on subdirs.el. Otherwise, several different
6528 sub-targets of 'bootstrap' running in parallel could
6529 simultaneously write to subdirs.el, producing a garbled file.
6530
d2c32364
SS
65312012-06-26 Sam Steingold <sds@gnu.org>
6532
6533 * files.el (file-name-base): New convenience function.
0d14cc21
GM
6534 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
6535 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
6536 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
6537 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
6538 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
6539 * textmodes/tex-mode.el: Use it.
6540 Did not touch cedet and org because they are maintained elsewhere.
6541
5cf983b2
MR
65422012-06-26 Martin Rudalics <rudalics@gmx.at>
6543
6544 * calendar/calendar.el (calendar-exit): Don't try to delete or
6545 iconify last frame. See:
6546 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
6547
8c4f2952
JD
65482012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
6549
6550 * server.el (server-process-filter): Remember dir in the
6551 process's `server-client-directory' properties.
6552
772b2e2c
CY
65532012-06-24 Chong Yidong <cyd@gnu.org>
6554
6555 * xml.el (xml-parse-tag): Correctly handle comment embedded in
6556 non-tag text.
6557
711b11e1
JB
65582012-06-23 Juanma Barranquero <lekktu@gmail.com>
6559
6560 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
6561
dc5d230c
SM
65622012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
6563
6564 * help-fns.el (describe-variable): Don't croak when doc is not found.
6565 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
6566 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
6567 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
6568 * emacs-lisp/smie.el (smie-next-sexp): CSE.
6569 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
6570 ((lambda ..) ..).
6571 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
6572
136e1c1d
CY
65732012-06-23 Chong Yidong <cyd@gnu.org>
6574
e8c1cabf
CY
6575 * info.el (Info-mouse-follow-link): Accept symbol values of
6576 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
6577 (Info-fontify-node): Use Info-link-keymap for all navigation
6578 buttons, with link-args property to perform the desired action.
6579 (Info-link-keymap): Doc fix.
6580 (Info-next-link-keymap, Info-prev-link-keymap)
6581 (Info-up-link-keymap): Delete now-unused keymaps.
6582
0e9e6c6a
CY
65832012-06-23 Chong Yidong <cyd@gnu.org>
6584
05e89fea
CY
6585 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
6586
0e9e6c6a
CY
6587 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
6588 system abbrevs.
6589
6590 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
6591
e33c6771
SM
65922012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
6593
b68581e2
SM
6594 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
6595 (bug#11719).
6596
e33c6771
SM
6597 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
6598 the requote function doesn't work properly (bug#11714).
6599
7117e105
GM
66002012-06-23 Glenn Morris <rgm@gnu.org>
6601
6602 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
6603
36cec983
SM
66042012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6605
6606 Further GV/CL cleanups.
6607 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
6608 gv-expander.
6609 (gv--defun-declaration): New function.
6610 (defun-declarations-alist): Use it.
6611 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
6612 (gv-place): Autoload.
6613 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
6614 original definition of dotimes and dolist.
6615 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
6616 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
6617 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
6618 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
6619 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
6620 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
6621 to the function's definition.
6622 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
6623 * window.el:
6624 * files.el:
6625 * faces.el:
6626 * env.el: Don't use CL.
6627
d35af63c
PE
66282012-06-22 Paul Eggert <eggert@cs.ucla.edu>
6629
6630 Support higher-resolution time stamps (Bug#9000).
6631
6632 * calendar/time-date.el (with-decoded-time-value): New arg
6633 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
6634 (encode-time-value): New optional arg PICO. New type 3.
6635 (time-to-seconds) [!float-time]: Support the new picoseconds
6636 component if it's used.
6637 (seconds-to-time, time-subtract, time-add):
6638 Support ps-resolution time stamps as well.
6639
6640 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
6641 (timerp): Timer vectors now have length 9, not 8.
6642 (timer--time): Support new-style (4-part) time stamps.
6643 (timer-next-integral-multiple-of-time): Time stamps now have
6644 picosecond resolution, so take a bit more care about rounding.
6645 (timer-relative-time, timer-inc-time): New optional arg psecs.
6646 (timer-set-time-with-usecs): Set psecs to 0.
6647 (timer--activate): Check psecs component, too.
6648
6649 * proced.el (proced-time-lessp): Support ps-resolution stamps.
6650
ac77b21a
SM
66512012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6652
f143bfe3
SM
6653 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
6654 Move the non-essential binding to the post/pre-command-hook where it is
6655 more obviously correct.
6656
ac77b21a
SM
6657 * subr.el (read-passwd): Don't use a history at all.
6658 * savehist.el (savehist-save): Remove password saved accidentally
6659 because of the above bug.
6660
76386c5a
BG
66612012-06-22 Bastien Guerry <bzg@gnu.org>
6662
6663 * files.el (toggle-read-only): Display a message telling whether
6664 the buffer is read-only or not (bug#11726).
6665
2ee3d7f0
SM
66662012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6667
6668 * emacs-lisp/gv.el: New file.
6669 * subr.el (push, pop): Extend to generalized variables.
6670 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
6671 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
6672 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
6673 gv-define-simple-setter, and gv-define-expander.
6674 Remove setf-methods defined in gv. Rename cl-setf -> setf.
6675 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
6676 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
6677 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
6678 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
6679 gv-letplace.
6680 (cl-defstruct): Don't define setf-method any more.
6681 * emacs-lisp/cl.el (flet): Don't autoload.
6682 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
6683 (define-setf-expander, defsetf, define-modify-macro)
6684 (cl-struct-setf-expander): Move from cl-lib.el.
6685 * emacs-lisp/syntax.el:
6686 * emacs-lisp/ewoc.el:
6687 * emacs-lisp/smie.el:
6688 * emacs-lisp/cconv.el:
6689 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
6690 (timer--time): Use gv-define-simple-setter.
6691 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
6692 to avoid coding-system problems in subr.el. Adjust all users.
6693 (macroexp--maxsize, macroexp-small-p): New functions.
6694 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
6695 * scroll-bar.el (scroll-bar-mode):
6696 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
6697 (normal-erase-is-backspace-mode): Don't use the `eq' place.
6698 * winner.el (winner-configuration, winner-make-point-alist)
6699 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
6700 * files.el (locate-file-completion-table): Avoid list*.
6701
c5695d1d
CY
67022012-06-22 Chong Yidong <cyd@gnu.org>
6703
6704 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
6705 (dired-create-files): Doc fix (Bug#11329).
6706 (dired-do-copy): Doc fix (Bug#11334).
6707 (dired-mark-read-string): Doc fix (Bug#11553).
6708
2ee3d7f0
SM
6709 * dired.el (dired-recursive-copies, dired-recursive-deletes):
6710 Doc fix (Bug#11326).
c5695d1d
CY
6711 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
6712 (dired-dwim-target): Doc fix.
6713
6714 * wdired.el (wdired-mode): Doc fix.
6715
89b5595a
GM
67162012-06-22 Glenn Morris <rgm@gnu.org>
6717
575db3f1
GM
6718 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
6719 (pcmpl-rpm-cache-stamp-file): New constant.
6720 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
6721 (pcmpl-rpm-packages): Optionally cache list of packages.
6722
a4c8dd51
GM
6723 * pcmpl-rpm.el (pcmpl-rpm): New group.
6724 (pcmpl-rpm-query-options): New option.
6725 (pcmpl-rpm-packages): No need to inline it.
6726 Use pcmpl-rpm-query-options.
6727
89b5595a
GM
6728 * calendar/calendar.el (calendar-in-read-only-buffer):
6729 Avoid some needless mode changes.
6730
e76f0800
CY
67312012-06-21 Chong Yidong <cyd@gnu.org>
6732
6733 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
6734 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 6735 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 6736
297a8f1d
CY
67372012-06-20 Chong Yidong <cyd@gnu.org>
6738
6739 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
6740
d34c18b1
DR
67412012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
6742
6743 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
6744 (bug#11201).
6745
32f7f28e
CY
67462012-06-20 Chong Yidong <cyd@gnu.org>
6747
6748 * term.el (term-window-width): Handle the case of a missing right
6749 fringe (Bug#8837).
6750 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
6751 (term-mode): Use define-derived-mode. Minor cleanups.
6752 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
6753 (term-move-columns, term-insert-char, term-emulate-terminal)
6754 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 6755
493c6688
MA
67562012-06-20 Michael Albinus <michael.albinus@gmx.de>
6757
d34c18b1
DR
6758 * net/ange-ftp.el (ange-ftp-get-passwd):
6759 Bind `enable-recursive-minibuffers'.
493c6688
MA
6760 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
6761
3f06ecf4
DR
67622012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
6763
6764 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
6765
68f12411
GM
67662012-06-19 Glenn Morris <rgm@gnu.org>
6767
6768 * progmodes/python.el (python-mode): Derive from prog-mode.
6769
b3820318
KG
67702012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
6771
6772 * emulation/edt.el (edt-default-menu-bar-update-buffers)
6773 (edt-user-menu-bar-update-buffers): New functions.
6774 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
6775
c6bf3022
CY
67762012-06-19 Chong Yidong <cyd@gnu.org>
6777
6778 * subr.el (with-selected-window): Preserve the selected window's
6779 terminal's top-frame (Bug#4702).
6780
6781 * window.el (save-selected-window): Likewise.
6782
25f09295
SM
67832012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6784
6785 * progmodes/python.el (python-rx-constituents): Move backquote.
6786 (python-skeleton-define, python-define-auxiliary-skeleton):
6787 Use `declare'.
6788
6b11952a
MA
67892012-06-18 Michael Albinus <michael.albinus@gmx.de>
6790
6791 * minibuffer.el (read-file-name-default): Revert the patch from
6792 2012-06-17.
6793
ee4b1330
SM
67942012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6795
6796 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
6797 (pcase--u1, pcase--q1): Don't use apply-partially.
6798
35647f79
GM
67992012-06-18 Glenn Morris <rgm@gnu.org>
6800
6801 * progmodes/python.el (python-proc, python-buffer)
6802 (python-send-receive, python-send-string): Fix obsolete versions.
6803
24b0cff0
MR
68042012-06-18 Martin Rudalics <rudalics@gmx.at>
6805
6806 * window.el (special-display-p): Completely remove stringp
6807 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
6808
29855149
MA
68092012-06-17 Michael Albinus <michael.albinus@gmx.de>
6810
6811 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
6812
6813 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
6814
6815 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
6816 * net/tramp-sh.el (tramp-maybe-open-connection):
6817 Throw if `non-essential' is non-nil.
6818
07463363
MR
68192012-06-17 Martin Rudalics <rudalics@gmx.at>
6820
6821 * window.el (special-display-p): Signal an error if BUFFER-NAME
6822 is not a string (Bug#11713).
6823
48d1354e
PE
68242012-06-17 Paul Eggert <eggert@cs.ucla.edu>
6825
6826 * progmodes/python.el (python-info-beginning-of-backslash):
6827 Rename from python-info-beginning-of-backlash, as a spelling fix.
6828
eb4a8a9a
CY
68292012-06-17 Chong Yidong <cyd@gnu.org>
6830
6831 * term.el (term-emulate-terminal): If term-check-size is called,
6832 move point to the process mark without resetting point (Bug#4635).
6833
ddfbf826 68342012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
6835
6836 * international/mule-cmds.el (mule-menu-keymap)
6837 (set-language-environment, set-locale-environment): Doc tweaks.
6838
9b0e3eba
AA
68392012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
6840
6841 * cus-face.el (custom-face-attributes): Add wave-style underline
6842 attribute.
6843 * faces.el (set-face-attribute): Update docstring to describe
6844 wave-style underline attribute.
6845
771e3eae
CY
68462012-06-16 Chong Yidong <cyd@gnu.org>
6847
6848 * term/xterm.el (terminal-init-xterm): Discard input before
6849 querying background mode (Bug#10959).
6850
7ae2ea10
SM
68512012-06-16 Stefan Merten <smerten@oekonux.de>
6852
6853 * textmodes/rst.el: Added and corrected some comments.
6854 (rst-re-alist-def): Improve symbol syntax.
6855 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
6856 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
6857 (rst-official-version, rst-official-cvs-rev): Update version
6858 information.
7ae2ea10 6859
b6974efa
JB
68602012-06-15 Juanma Barranquero <lekktu@gmail.com>
6861
6862 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
6863 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
6864
8826d473
GM
68652012-06-15 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
6866
6867 * progmodes/python.el: New python.el merge.
6868 (python-guess-indent): Obsolete var.
6869 (python-indent-guess-indent-offset): New defcustom.
6870 (python-indent): Obsolete var.
6871 (python-indent-offset): New defcustom.
6872 (python-python-command, python-jython-command): Delete var.
6873 (python-shell-interpreter): New defcustom.
6874 (python-pdbtrack-do-tracking-p): Delete var.
6875 (python-pdbtrack-activate): New defcustom.
6876 (python-use-skeletons): Obsolete var.
6877 (python-skeleton-autoinsert): New defcustom.
6878 (inferior-python-filter-regexp, python-continuation-offset)
6879 (python-honour-comment-indentation, python-indent-string-contents)
6880 (python-jython-packages, python-mode-hook)
6881 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
6882 (python-shell-prompt-alist)
6883 (python-source-modes): Delete defcustoms.
6884 (python-check-buffer-name, python-eldoc-setup-code)
6885 (python-eldoc-string-code, python-ffap-setup-code)
6886 (python-ffap-string-code, python-fill-comment-function)
6887 (python-fill-decorator-function, python-fill-paren-function)
6888 (python-fill-string-function, python-imenu-include-defun-type)
6889 (python-imenu-make-tree, python-imenu-subtree-root-label)
6890 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
6891 (python-shell-compilation-regexp-alist)
6892 (python-shell-completion-module-string-code)
6893 (python-shell-completion-pdb-string-code)
6894 (python-shell-completion-setup-code)
6895 (python-shell-completion-string-code)
6896 (python-shell-enable-font-lock, python-shell-exec-path)
6897 (python-shell-extra-pythonpaths)
6898 (python-shell-internal-buffer-name, python-shell-interpreter-args)
6899 (python-shell-process-environment)
6900 (python-shell-prompt-block-regexp)
6901 (python-shell-prompt-output-regexp)
6902 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
6903 (python-shell-send-setup-max-wait, python-shell-setup-codes)
6904 (python-shell-virtualenv-path): New defcustoms.
6905 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
6906 (inferior-python-mode-syntax-table, python--prompt-regexp)
6907 (python-buffer, python-command python-python-command)
6908 (python-default-template, python-imports, python-indent-index)
6909 (python-indent-list, python-indent-list-length)
6910 (python-mode-running, python-pdbtrack-is-tracking-p)
6911 (python-preoutput-continuation, python-preoutput-leftover)
6912 (python-preoutput-result, python-preoutput-skip-next-prompt)
6913 (python-prev-dir/file, python-recursing)
6914 (python-saved-check-command, python-version-checked)
6915 (python-which-func-length-limit)
6916 (view-return-to-alist): Delete vars.
6917 (python-check-custom-command, python-dotty-syntax-table)
6918 (python-imenu-index-alist, python-indent-current-level)
6919 (python-indent-dedenters, python-indent-levels)
6920 (python-nav-beginning-of-defun-regexp)
6921 (python-nav-list-defun-positions-cache)
6922 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
6923 (python-shell-internal-buffer)
6924 (python-skeleton-available): New vars.
6925 (def-python-skeleton): Delete macro.
6926 (python-skeleton-define): New macro.
6927 (python-define-auxiliary-skeleton, python-rx): New macros.
6928 (python-insert-class): Delete command.
6929 (python-skeleton-class): New command.
6930 (python-insert-def): Delete command.
6931 (python-skeleton-def): New command.
6932 (python-insert-for): Delete command.
6933 (python-skeleton-for): New command.
6934 (python-insert-if): Delete command.
6935 (python-skeleton-if): New command.
6936 (python-insert-try/except, python-insert-try/finally): Delete commands.
6937 (python-skeleton-try): New command.
6938 (python-insert-while): Delete command.
6939 (python-skeleton-while): New command.
6940 (python-backspace): Delete command.
6941 (python-indent-dedent-line-backspace): New command.
6942 (python-electric-colon): Delete command.
6943 (python-indent-electric-colon): New command.
6944 (python-guess-indent): Delete command.
6945 (python-indent-guess-indent-offset): New command.
6946 (python-shift-left): Delete command.
6947 (python-indent-shift-left): New command.
6948 (python-shift-right): Delete command.
6949 (python-indent-shift-right): New command.
6950 (python-find-function): Delete command.
6951 (python-nav-jump-to-defun): New command.
6952 (python-next-statement): Delete command.
6953 (python-nav-forward-sentence): New command.
6954 (python-previous-statement): Delete command.
6955 (python-nav-backward-sentence): New command.
6956 (python-fill-paragraph): Delete command.
6957 (python-fill-paragraph-function): New command.
6958 (python-send-buffer): Delete command.
6959 (python-shell-send-buffer): New command.
6960 (python-send-defun): Delete command.
6961 (python-shell-send-defun): New command.
6962 (python-send-region, python-send-region-and-go): Delete commands.
6963 (python-shell-send-region)
6964 (python-shell-switch-to-shell): New commands.
6965 (python-send-string): Delete command.
6966 (python-shell-send-string): New command.
6967 (python-switch-to-python): Delete command.
6968 (python-shell-switch-to-shell): New command.
6969 (python-describe-symbol): Delete command.
6970 (python-eldoc-at-point): New command.
6971 (python--set-prompt-regexp, python-args-to-list)
6972 (python-after-info-look, python-check-version)
6973 (python-check-comint-prompt, python-find-imports)
6974 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
6975 (python-unload-function, python-expand-template)
6976 (python-maybe-jython, python-preoutput-filter)
6977 (python-pdbtrack-get-source-buffer)
6978 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
6979 (python-pdbtrack-toggle-stack-tracking)
6980 (python-pdbtrack-track-stack-file, python-initial-text)
6981 (python-first-word, python-comment-line-p, python-send-command)
6982 (python-setup-brm, python-sentinel, python-set-proc)
6983 (python-skip-out, python-input-filter, python-outdent-p)
6984 (python-outline-level, python-backslash-continuation-line-p)
6985 (python-end-of-block, python-end-of-statement, python-mark-block)
6986 (python-beginning-of-block, python-beginning-of-statement)
6987 (python-blank-line-p, python-beginning-of-string)
6988 (python-open-block-statement-p): Delete functions.
6989 (python-indent-line, python-indent-line-1): Delete functions.
6990 (python-indent-line): New function.
6991 (python-indentation-levels): Delete function.
6992 (python-indent-calculate-levels): New function.
6993 (python-proc): Delete function.
6994 (python-shell-get-process): New function.
6995 (python-send-receive): Delete function.
6996 (python-shell-send-string-no-output): New function.
6997 (python-module-path): Delete function.
6998 (python-ffap-module-path): New function.
6999 (python-completion-at-point)
7000 (python-symbol-completions): Delete functions.
7001 (python-completion-complete-at-point): New function.
7002 (python-load-file): Delete function.
7003 (python-shell-send-file): New function.
7004 (python-calculate-indentation): Delete function.
7005 (python-indent-calculate-indentation): New function.
7006 (python-skip-comments/blanks): Delete function.
7007 (python-util-forward-comment): New function.
7008 (python-continuation-line-p): Delete function.
7009 (python-info-continuation-line-p): New function.
7010 (python-which-func, python-current-defun): Delete function.
7011 (python-info-current-defun): New function.
7012 (python-beginning-of-defun): Delete function.
7013 (python-nav-beginning-of-defun): New function.
7014 (python-close-block-statement-p)
7015 (python-block-end-p): Delete function.
7016 (python-info-closing-block): New function.
7017 (python-comint-output-filter-function)
7018 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
7019 (python-fill-comment, python-fill-decorator, python-fill-paren)
7020 (python-fill-string, python-imenu-make-element-tree)
7021 (python-imenu-make-tree, python-imenu-tree-assoc)
7022 (python-indent-context, python-indent-dedent-line)
7023 (python-indent-line-function)
7024 (python-indent-post-self-insert-function)
7025 (python-indent-toggle-levels)
7026 (python-info-assignment-continuation-line-p)
7027 (python-info-beginning-of-backlash)
7028 (python-info-block-continuation-line-p)
7029 (python-info-closing-block-message)
7030 (python-info-line-ends-backslash-p)
7031 (python-info-looking-at-beginning-of-defun)
7032 (python-info-ppss-context, python-info-ppss-context-type)
7033 (python-nav-list-defun-positions, python-nav-read-defun)
7034 (python-nav-sentence-end, python-nav-sentence-start)
7035 (python-pdbtrack-comint-output-filter-function)
7036 (python-pdbtrack-set-tracked-buffer)
7037 (python-shell-calculate-exec-path)
7038 (python-shell-calculate-process-environment)
7039 (python-shell-completion--do-completion-at-point)
7040 (python-shell-completion--get-completions)
7041 (python-shell-completion-complete-at-point)
7042 (python-shell-completion-complete-or-indent)
7043 (python-shell-get-or-create-process)
7044 (python-shell-get-process-name)
7045 (python-shell-internal-get-or-create-process)
7046 (python-shell-internal-get-process-name)
7047 (python-shell-internal-send-string, python-shell-make-comint)
7048 (python-shell-parse-command, python-shell-send-setup-code)
7049 (python-skeleton-add-menu-items)
7050 (python-util-clone-local-variables, python-util-position)
7051 (run-python-internal, python-indentation-levels)
7052 (python-nav-beginning-of-defun)
7053 (python-completion-complete-at-point): New functions.
7054 (run-python): Change arguments. New API requirements.
7055
4302f5ba
SM
70562012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7057
f38ea36d
SM
7058 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
7059 (bug#11649).
7060
7061 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
7062 (macroexp--expand-all): Use it.
7063
4302f5ba
SM
7064 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
7065 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
7066 Use `cl-function' instead.
7067
33377562
JB
70682012-06-14 Juanma Barranquero <lekktu@gmail.com>
7069
7070 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
7071 Suggested by Stefan Monnier while discussing bug#11657.
7072
54c5ba1a
SS
70732012-06-14 Sam Steingold <sds@gnu.org>
7074
7075 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
7076
f9f1b1fe
AS
70772012-06-14 Andreas Schwab <schwab@linux-m68k.org>
7078
7079 * play/doctor.el (doctor-doc): Remove parameter and use
7080 doctor-sent instead of sent.
7081 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
7082
a81068ba
SM
70832012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7084
5a315f9c
SM
7085 * files.el: Require cl-lib.
7086 (file-name-non-special): Replace case -> cl-case.
7087
7088 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
7089
a81068ba
SM
7090 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
7091 mapping from #' to function*.
7092
8cca9703
CY
70932012-06-13 Chong Yidong <cyd@gnu.org>
7094
7095 * mouse.el (mouse-drag-track): Do not set the mark if the user
7096 releases the mouse without selecting anything (Bug#11588).
7097
a12ac9d7
SM
70982012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7099
ccf1dc18
SM
7100 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
7101 as well (bug#11646).
7102
ef62b23d
SM
7103 * loadup.el: Count byte-code functions as well.
7104
c4c8444a
SM
7105 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
7106 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
7107
a12ac9d7
SM
7108 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
7109 (bug#11649). Add cl-defun and cl-defmacro.
7110
87e6e64f
DA
71112012-06-13 Drew Adams <drew.adams@oracle.com>
7112
7113 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
7114 Fix last change.
7115
682cefaf
MA
71162012-06-13 Michael Albinus <michael.albinus@gmx.de>
7117
7118 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
7119 Otherwise, it blocks in batch mode.
7120
773e1f08
JB
71212012-06-13 Juanma Barranquero <lekktu@gmail.com>
7122
7123 * help-mode.el (bookmark-make-record-default): Declare.
7124
60057926
CY
71252012-06-13 Chong Yidong <cyd@gnu.org>
7126
7127 * emacs-lisp/package.el (list-packages): Compute a list of
7128 packages that are newly-available since the last list-packages
7129 invocation.
7130 (package-menu--new-package-list): New var.
7131 (package-menu--generate, package-menu--print-info)
7132 (package-menu--status-predicate, package-menu-mark-install):
7133 Handle new status label "new".
7134
ad4d226c
SM
71352012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7136
7137 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
7138 conversion to backquotes.
7139
f1a4e679
CY
71402012-06-12 Chong Yidong <cyd@gnu.org>
7141
7142 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
7143 Rename from gud-inhibit-global-bindings.
7144
7145 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
7146
7147 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
7148 hook from nxml-glyph-set-hook.
7149
7150 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
7151 declaration.
7152
7153 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
7154
7155 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
7156 Convert to defcustom.
7157
0c9e42b5
DA
71582012-06-12 Drew Adams <drew.adams@oracle.com>
7159
7160 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
7161 New functions.
7162 (help-mode): Use them.
7163
09e06855
GM
71642012-06-11 Glenn Morris <rgm@gnu.org>
7165
7166 * progmodes/fortran.el (fortran-font-lock-keywords-3):
7167 Use preprocessor face for directives.
7168 (fortran-directive-re): Doc fix.
7169
71adb94b
SM
71702012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7171
2eb87922
SM
7172 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
7173 conversion to backquotes (bug#11652).
7174
71adb94b
SM
7175 Fix compiler-expansion of CL's cXXr functions (bug#11673).
7176 * emacs-lisp/cl-lib.el (cl--defalias): New function.
7177 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
7178 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
7179 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
7180 (cl-ninth, cl-tenth): Mark them as inlinable.
7181 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
7182 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
7183 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
7184 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
7185 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
7186 (cl-list*, cl-adjoin): Don't put an autoload manually.
7187 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
7188 (cl--compiler-macro-list*): Add autoload cookie.
7189 (cl--compiler-macro-cXXr): New function.
2eb87922 7190
71adb94b
SM
7191 * help-fns.el (help-fns--compiler-macro): New function extracted from
7192 describe-function-1; follow aliases and use `compiler-macro' property.
7193 (describe-function-1): Use it.
7194
a6674402
CY
71952012-06-11 Chong Yidong <cyd@gnu.org>
7196
7197 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
7198 is uninstalled, if imagemagick is installed.
7199
bb3faf5b
SM
72002012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7201
7202 * emacs-lisp/cl-lib.el: Use lexical-binding.
7203 (cl-map-extents, cl-maclisp-member): Remove.
7204 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
7205 (cl--set-substring, cl--block-wrapper, cl--block-throw)
7206 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
7207 * emacs-lisp/cl-extra.el: Use lexical-binding.
7208 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
7209 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
7210 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
7211 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
7212 * emacs-lisp/cl-seq.el: Use lexical-binding.
7213 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
7214 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
7215 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
7216 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
7217 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
7218 CL's internals.
7219
2fe4b125
MA
72202012-06-11 Michael Albinus <michael.albinus@gmx.de>
7221
7222 Sync with Tramp 2.2.6-pre.
7223
7224 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
7225 `print-length' and `print-level' to nil, in order to avoid
7226 truncation. Reported by Christopher Schmidt
7227 <christopher@ristopher.com>.
7228
7229 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
7230
7231 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
7232 New defmacro.
7233 (tramp-compat-copy-directory): Add optional argument
7234 COPY-CONTENTS. It is not handled yet.
7235
7236 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
7237 (tramp-ftp-file-name-p): Simplify.
7238
7239 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
7240 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
7241 connection vector.
7242
7243 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
7244 (tramp-methods): Do not use `tramp-password-end-of-line'.
7245 (tramp-completion-function-alist-putty): Handle UNIX case.
7246 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
7247 (tramp-do-file-attributes-with-stat)
7248 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
7249 gid as real numbers. They could run out of integer range on cygwin.
7250 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
7251 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
7252 (tramp-open-connection-setup-interactive-shell):
7253 Use `tramp-cleanup'. Move check for busyboxes ...
7254 (tramp-find-shell): ... here. Simplify implementation.
7255 Set "remote-shell" property also for alternative shells.
7256 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
7257 If failing, a regular file would be written otherwise.
7258 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
7259 (tramp-find-inline-encoding): Cache the coding commands in the
7260 process cache. Apply test command on the remote side, if defined.
7261 (tramp-find-inline-compress): Cache the compress commands in the
7262 process cache.
7263 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
7264 when requested. Handle hops.
7265 (tramp-current-connection): New defvar.
87e6e64f
DA
7266 (tramp-maybe-open-connection): Use `tramp-cleanup'.
7267 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 7268 Handle user interrupt. (Bug#10187)
87e6e64f
DA
7269 (tramp-get-inline-compress, tramp-get-inline-coding):
7270 Read connection properties from the process cache.
2fe4b125
MA
7271
7272 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
7273 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
7274 New defconsts.
2fe4b125
MA
7275 (tramp-smb-prompt): Extend for powershell prompt.
7276 (tramp-smb-file-name-handler-alist): Add handlers for
7277 `process-file', `shell-command' and `start-file-process'.
7278 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
7279 (tramp-smb-winexe-shell-command-switch): New defcustoms.
7280 (tramp-smb-file-name-p): Simplify.
7281 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
7282 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
7283 (tramp-smb-shell-quote-argument): New defuns.
7284 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
7285 Implement using "tar". By this, time-stamps are preserved.
7286 (tramp-smb-handle-copy-file): Handle also the case of directories.
7287 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
7288 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
7289 Use `tramp-get-connection-buffer').
2fe4b125
MA
7290 (tramp-smb-handle-rename-file): Use "rename", when source and
7291 target are on the same share.
87e6e64f
DA
7292 (tramp-smb-maybe-open-connection): Handle wrong passwords.
7293 Use `tramp-smb-server-version'.
2fe4b125
MA
7294 (tramp-smb-wait-for-output): Remove prompt.
7295
7296 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
7297 (tramp-methods, tramp-rsh-end-of-line):
7298 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
7299 (tramp-save-ad-hoc-proxies): New defcustom.
7300 (tramp-completion-function-alist): Adapt docstring.
7301 (tramp-default-password-end-of-line): Remove defcustom.
7302 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
7303 (tramp-user-regexp, tramp-file-name-regexp-unified)
7304 (tramp-file-name-regexp-url): Extend regexp by hop separator.
7305 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
7306 (tramp-remote-file-name-spec-regexp): New defconst.
7307 (tramp-file-name-structure): Extend structure for hops.
7308 (tramp-get-method-parameter): Move up.
7309 (tramp-file-name-p, tramp-dissect-file-name)
7310 (with-parsed-tramp-file-name): Handle hops.
7311 (tramp-file-name-hop): New defun.
7312 (tramp-make-tramp-file-name): New optional arg HOP.
7313 (tramp-message-show-progress-reporter-message): New defvar.
7314 (tramp-with-progress-reporter): Use it. We cannot use
7315 `tramp-message-show-message' here, because this suppresses also
7316 error buffers.
7317 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
7318 `tramp-message-show-message' is nil.
7319 Use `tramp-get-connection-buffer'.
2fe4b125
MA
7320 (tramp-cleanup): New defun.
7321 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
7322 (tramp-file-name-handler): If `debug-on-error' is set, propagate
7323 an error unchanged.
7324 (tramp-completion-handle-file-name-all-completions): Handle hops.
7325 Fix an error when called from ido.
7326 (tramp-completion-dissect-file-name): Use better local variable
7327 name. Add hop to the vector.
7328 (tramp-handle-insert-file-contents): Use progress-reporter for the
7329 whole scenario.
7330 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
7331 to `t'.
7332 (tramp-check-for-regexp): Simplify search.
7333 (tramp-enter-password): Remove it. Move implementation ...
7334 (tramp-action-password): ... here.
7335 (tramp-mode-string-to-int, tramp-local-host-p)
7336 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
7337 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
7338 Set tramp-autoload cookie.
2fe4b125
MA
7339
7340 * net/trampver.el: Update release number.
7341
73422012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7343 Michael Albinus <michael.albinus@gmx.de>
7344
7345 * net/tramp.el (tramp-set-completion-function): Fix docstring.
7346 (tramp-parse-group, tramp-parse-file)
7347 (tramp-parse-shostkeys-sknownhosts): New defuns.
7348 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
7349 (tramp-parse-shosts-group, tramp-parse-sconfig)
7350 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
7351 (tramp-parse-sknownhosts, tramp-parse-hosts)
7352 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
7353 Use them.
7354 (tramp-parse-passwd-group, tramp-parse-netrc-group)
7355 (tramp-parse-putty-group): Don't narrow.
7356 (tramp-parse-putty): Make a loop.
7357 (tramp-file-name-handler): Catch the `suppress' signal.
7358
72834e10
CY
73592012-06-11 Chong Yidong <cyd@gnu.org>
7360
7361 * image.el (imagemagick-register-types): Put the ImageMagick entry
7362 at the end of image-type-file-name-regexps.
7363
a4712e11
JB
73642012-06-11 Johan BockgĂ¥rd <bojohan@gnu.org>
7365
7366 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
7367 (pcase, pcase-let*, pcase-dolist): Use them.
7368
82ad98e3
SM
73692012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7370
7371 * emacs-lisp/pcase.el (pcase--let*): New function.
7372 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
7373 (pcase--expand): Use macroexp-let².
7374
f80efb86
SM
73752012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
7376
7377 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
7378 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
7379 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
7380 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
7381 * emacs-lisp/derived.el: Use pcase instead of `cl'.
7382 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
7383
31ca4639 73842012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 7385
31ca4639
CY
7386 * mail/rmail.el (rmail-yank-current-message): Leave point at
7387 correct position. (Bug#11660)
94f0aa34 7388
31ca4639 73892012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 7390
31ca4639 7391 * allout-widgets.el: Fix code header.
9e1b8ec4 7392
31ca4639 73932012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 7394
f80efb86
SM
7395 * cus-edit.el (customize-changed-options-previous-release):
7396 Bump to 24.1.
31ca4639 7397
642b6d30
AS
73982012-06-09 Andreas Schwab <schwab@linux-m68k.org>
7399
7400 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
7401
4f5d2ba1
CY
74022012-06-09 Chong Yidong <cyd@gnu.org>
7403
7404 * ebuff-menu.el (electric-buffer-list): Preserve header line.
7405
e75852fd
MR
74062012-06-09 Martin Rudalics <rudalics@gmx.at>
7407
7408 * window.el (special-display-popup-frame): Don't use
7409 window--display-buffer (Bug#11651).
7410
1e48e282
EZ
74112012-06-09 Eli Zaretskii <eliz@gnu.org>
7412
8a26b487
EZ
7413 Fix parallel builds: make sure loaddefs.el is not being written
7414 while Lisp files are compiled.
7415 (compile): Don't depend on 'mh-autoloads'.
7416 (compile-CMD, compile-SH): Depend on 'autoloads'.
7417 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
7418
1e48e282
EZ
7419 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
7420
6175e34b
CY
74212012-06-09 Chong Yidong <cyd@gnu.org>
7422
7423 * face-remap.el (face-remap-add-relative, face-remap-set-base)
7424 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
7425 Doc fixes (Bug#11225).
7426
d9857e53
SM
74272012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
7428
7429 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
7430 a function if there's a clear indication that it has a compiler-macro.
7431 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
7432 (macro-declarations-alist): Add arglist to declaration functions.
7433 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
7434 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
7435 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
7436 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
7437 Also add autoload to find the compiler macro.
7438 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
7439 (cl--compiler-macro-member, cl--compiler-macro-assoc)
7440 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
7441 (cl--compiler-macro-get): New functions, replacing calls to
7442 cl-define-compiler-macro.
7443 (cl-typep) [compiler-macro]: Use macroexp-let².
7444
f81298f8 74452012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
7446
7447 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
7448 string properly, fixes Bug#11473.
7449
4b56d0fe
CY
74502012-06-08 Chong Yidong <cyd@gnu.org>
7451
7452 * faces.el (set-face-attribute): Doc fix.
7453 (modify-face): Don't use :bold and :italic.
7454 (error, warning, success): Tweak definitions.
7455
7456 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
7457 (custom-modified, custom-set, custom-changed, custom-themed)
7458 (custom-saved, custom-button, custom-button-mouse)
7459 (custom-button-pressed, custom-state, custom-comment-tag)
7460 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
7461 (custom-group-subtitle): Use new-style face specs.
7462 (custom-invalid-face, custom-rogue-face, custom-modified-face)
7463 (custom-set-face, custom-changed-face, custom-saved-face)
7464 (custom-button-face, custom-button-pressed-face)
7465 (custom-documentation-face, custom-state-face)
7466 (custom-comment-face, custom-comment-tag-face)
7467 (custom-variable-tag-face, custom-variable-button-face)
7468 (custom-face-tag-face, custom-group-tag-face-1)
7469 (custom-group-tag-face): Remove obsolete face alias.
7470
7471 * epa.el (epa-validity-high, epa-validity-medium)
7472 (epa-validity-low, epa-mark, epa-field-name, epa-string)
7473 (epa-field-name, epa-field-body):
7474 * font-lock.el (font-lock-comment-face, font-lock-string-face)
7475 (font-lock-keyword-face, font-lock-builtin-face)
7476 (font-lock-function-name-face, font-lock-variable-name-face)
7477 (font-lock-type-face, font-lock-constant-face):
7478 * ido.el (ido-first-match, ido-only-match, ido-subdir)
7479 (ido-virtual, ido-indicator, ido-incomplete-regexp):
7480 * speedbar.el (speedbar-button-face, speedbar-file-face)
7481 (speedbar-directory-face, speedbar-tag-face)
7482 (speedbar-selected-face, speedbar-highlight-face)
7483 (speedbar-separator-face):
7484 * whitespace.el (whitespace-newline, whitespace-space)
7485 (whitespace-hspace, whitespace-tab, whitespace-trailing)
7486 (whitespace-line, whitespace-space-before-tab)
7487 (whitespace-space-after-tab, whitespace-indentation)
7488 (whitespace-empty):
7489 * emulation/cua-base.el (cua-global-mark):
7490 * eshell/em-prompt.el (eshell-prompt):
7491 * net/newst-plainview.el (newsticker-new-item-face)
7492 (newsticker-old-item-face, newsticker-immortal-item-face)
7493 (newsticker-obsolete-item-face, newsticker-date-face)
7494 (newsticker-statistics-face, newsticker-default-face):
7495 * net/newst-reader.el (newsticker-feed-face)
7496 (newsticker-extra-face, newsticker-enclosure-face):
7497 * net/newst-treeview.el (newsticker-treeview-face)
7498 (newsticker-treeview-new-face, newsticker-treeview-old-face)
7499 (newsticker-treeview-immortal-face)
7500 (newsticker-treeview-obsolete-face)
7501 (newsticker-treeview-selection-face):
7502 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
7503 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
7504 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
7505 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
7506 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
7507 (nxml-outline-active-indicator, nxml-outline-ellipsis):
7508 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
7509 (mpuz-text):
7510 * progmodes/vera-mode.el (vera-font-lock-number)
7511 (vera-font-lock-function, vera-font-lock-interface):
7512 * textmodes/table.el (table-cell): Use new-style face specs, and
7513 don't use the old :bold and :italic attributes.
7514
7515 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
7516 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
7517 (ebrowse-member-class, ebrowse-progress): Likewise.
7518 (ebrowse-tree-mark-face, ebrowse-root-class-face)
7519 (ebrowse-file-name-face, ebrowse-default-face)
7520 (ebrowse-member-attribute-face, ebrowse-member-class-face)
7521 (ebrowse-progress-face): Remove obsolete faces.
7522
7523 * progmodes/flymake.el (flymake-errline, flymake-warnline):
7524 Inherit from error and warning faces respectively.
7525
7526 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
7527 Likewise.
f80efb86
SM
7528 (flyspell-incorrect-face, flyspell-duplicate-face):
7529 Remove obsolete aliases.
4b56d0fe 7530
03310646
MA
75312012-06-08 Michael Albinus <michael.albinus@gmx.de>
7532
7533 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
7534 Avoid infloop.
7535
513749ee
SM
75362012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
7537
7538 * startup.el (argv, argi): Make lexically scoped.
7539 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
7540 * emacs-lisp/cl-macs.el: Use lexical-binding.
7541 Rename cl-bind-* to cl--bind-*.
7542 * files.el: Don't require `cl' since it doesn't use it.
7543 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
7544
595ef4ad
JB
75452012-06-08 Juanma Barranquero <lekktu@gmail.com>
7546
7547 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
7548 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
7549 instead of calling external sort utility.
7550 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
7551
e9f66fcb
EZ
75522012-06-08 Eli Zaretskii <eliz@gnu.org>
7553
7554 * descr-text.el (describe-char): Mention how to insert the
7555 character, if the current input method doesn't support it.
7556 See the discussion in this thread for the details:
7557 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
7558
3d10db47
SS
75592012-06-08 Sam Steingold <sds@gnu.org>
7560
7561 * bindings.el (global-map): Bind XF86Forward to next-buffer and
7562 XF86Back to previous-buffer.
7563 (minibuffer-local-map): Bind them to next-history-element and
7564 previous-history-element respectively.
7565 * help-mode.el (help-mode-map): Bind them to help-go-forward and
7566 help-go-back respectively.
7567 * info.el (Info-mode-map): Bind them to Info-history-forward and
7568 Info-history-back respectively.
7569 These are the keys next to Up on the ThinkPad keyboard.
7570
de7e2b36
SM
75712012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
7572
7573 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
7574 * emacs-lisp/cl-macs.el: Provide itself.
7575 (cl--labels-convert-cache): New var.
7576 (cl--labels-convert): New function.
7577 (cl-flet, cl-labels): New implementation with new semantics, relying on
7578 lexical-binding.
7579 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
7580 (cl-closure-vars, cl--function-convert-cache)
7581 (cl--function-convert): Move from cl-macs.el.
7582 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
7583 rename by removing the "cl-" prefix.
7584 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
7585
6fa6c4ae
SM
75862012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7587
7588 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
7589 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
7590 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
7591 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
7592 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
7593 (cl-hash-table-count): Add old compatibility aliases.
7594
7595 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
7596 Use macroexpand-all-environment instead.
7597 (cl--old-macroexpand): New var.
7598 (cl--sm-macroexpand): New function.
7599 (cl-symbol-macrolet): Use it during macro expansion.
7600 (cl--function-convert-cache): New var.
7601 (cl--function-convert): New function, extracted from
7602 cl-macroexpand-all.
7603 (cl-lexical-let): Use it.
7604
7605 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
7606 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
7607 (cl-member): Remove old alias.
7608
7609 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
7610 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
7611 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
7612 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
7613 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
7614 (cl-macroexpand-cmacs): Remove var.
7615 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
7616 Use macroexpand-all instead.
7617
4dd1c416
SM
76182012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7619
7620 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
7621 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
7622 (macroexp-copyable-p): New functions and macros.
7623 * emacs-lisp/edebug.el (edebug-unwrap):
7624 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
7625 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
7626 (pcase--let*): Remove.
7627 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
7628 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
7629 macroexp-const-p instead.
7630 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
7631
7632 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
7633 instead of "cl-" for internal definitions. Use macroexp-const-p.
7634 (cl-old-bc-file-form): Remove var.
7635 (cl-const-exprs-p): Remove fun.
7636 (cl-labels, cl-macrolet): Use backquote.
7637 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
7638 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
7639 (cl-define-setf-expander): Rename from cl-define-setf-method.
7640 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
7641
7642 * international/mule-cmds.el: Don't require CL.
7643 (view-hello-file): Don't use `letf'.
7644
ed8bd4d7
SM
76452012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7646
7287f2f3
SM
7647 * tmm.el (tmm-prompt): Use string-prefix-p.
7648 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
7649 (tmm-add-prompt): Use minibuffer-completion-help.
7650 (tmm-delete-map): Remove.
7651
ed8bd4d7
SM
7652 * subr.el (kbd): Make it its own function.
7653
7b4cdbf4
SM
76542012-06-07 Stefan Merten <smerten@oekonux.de>
7655
7656 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
7657 Silence compiler warnings. Fix versions.
ed8bd4d7 7658 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 7659 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 7660 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
7661 (rst-package-emacs-version-alist): Correct Emacs version to
7662 represent major merge with upstream.
ed8bd4d7 7663 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 7664
2b48d721
GM
76652012-06-06 Glenn Morris <rgm@gnu.org>
7666
7667 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
7668 Only print environment variables if set.
7669
fa779ab0
SM
76702012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
7671
7672 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
7673 (macroexp--cons): Rename from maybe-cons.
7674 (macroexp--accumulate): Rename from macroexp-accumulate.
7675 (macroexp--all-forms): Rename from macroexpand-all-forms.
7676 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
7677 (macroexp--expand-all): Rename from macroexpand-all-1.
7678
628299e0
SS
76792012-06-06 Sam Steingold <sds@gnu.org>
7680
7681 * calendar/calendar.el (calendar-in-read-only-buffer):
7682 Call `special-mode' to enable the standard read-only keybindings.
7683
b7bb5838
SM
76842012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
7685
7686 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
7687 with "loading" messages (bug#11635).
7688
dfb308ba
MA
76892012-06-06 Michael Albinus <michael.albinus@gmx.de>
7690
7691 * files.el (enable-remote-dir-locals): New option.
7692 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
7693
0372ee92
MA
7694 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
7695 Ensure, that the temp directory is local.
7696
7697 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
7698 `temporary-file-directory'.
7699
eed0bb91
MA
7700 * progmodes/python.el (python-send-region): Ensure, that the
7701 temporary file is created also in the remote case.
7702
7a58f64d
GM
77032012-06-06 Glenn Morris <rgm@gnu.org>
7704
f7dd4e98
GM
7705 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
7706 (vc-rcs-update-changelog): Use it.
7707
090bd7cb 7708 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 7709
7a58f64d
GM
7710 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
7711 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
7712 (vc-sccs-diff): Replace use of the external vcdiff script.
7713
daed4003
GM
77142012-06-05 Glenn Morris <rgm@gnu.org>
7715
7716 * ledit.el: Move to obsolete/.
7717
48c455c7
SS
77182012-06-05 Sam Steingold <sds@gnu.org>
7719
ed9265fc 7720 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
7721 patch (Bug#11140).
7722
57a7d507
SM
77232012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7724
090bd7cb 7725 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 7726
53aacf21
SM
7727 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
7728 compiler-macro expansion.
7729
57a7d507
SM
7730 Add native compiler-macro support.
7731 * emacs-lisp/macroexp.el (macroexpand-all-1):
7732 Support compiler-macros directly. Properly follow aliases and apply
7733 the compiler macros more thoroughly.
7734 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
7735 macroexpand now properly follows aliases.
7736 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
7737 (cl-compiler-macroexpand): Use new prop.
7738 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
7739
7740 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
7741
51a5f9d8
MR
77422012-06-05 Martin Rudalics <rudalics@gmx.at>
7743
7744 * window.el (get-lru-window, get-mru-window, get-largest-window):
7745 New argument NOT-SELECTED to avoid picking the selected window.
7746 (window--display-buffer-1, window--display-buffer-2): Replace by
7747 new function window--display-buffer
7748 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
7749 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7750 Use window--display-buffer.
51a5f9d8
MR
7751 (display-buffer-use-some-window): Remove temporary dedication
7752 hack by calling get-lru-window and get-largest-window with
7753 NOT-SELECTED argument non-nil. Call window--display-buffer.
7754
08f9f738
GM
77552012-06-05 Glenn Morris <rgm@gnu.org>
7756
7757 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
7758 Replace external vcdiff script.
7759
e364a2b7
SM
77602012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
7761
7762 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
7763
041df390
CY
77642012-06-04 Chong Yidong <cyd@gnu.org>
7765
e364a2b7
SM
7766 * image.el (imagemagick-types-inhibit): Revert last change.
7767 Add INFO and M.
47b36b94 7768 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 7769
7c1898a7
SM
77702012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
7771
7772 * emacs-lisp/cl-lib.el: Rename from cl.el.
7773 * emacs-lisp/cl.el: New compatibility file.
7774 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
7775 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
7776 to obey the "cl-" prefix.
7777 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
7778
0c3461de
GM
77792012-06-03 Glenn Morris <rgm@gnu.org>
7780
1e266c88
GM
7781 * emacs-lisp/authors.el (authors-aliases): Addition.
7782
0c3461de
GM
7783 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
7784 Fix :version.
7785
d8a52e15
SM
77862012-06-03 Stefan Merten <smerten@oekonux.de>
7787
7788 * textmodes/rst.el: Add comments.
7789 (rst-transition, rst-adornment): New faces.
7790 (rst-adornment-faces-alist): Make default safe to reevaluate.
7791 Fixes
7792 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
7793 Improve customization tags.
7794 (rst-define-level-faces): Clarify meaning.
7795
5205d6f6
CY
77962012-06-03 Chong Yidong <cyd@gnu.org>
7797
7798 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
7799 (compilation-mode-line-run, compilation-mode-line-exit):
7800 New faces.
5205d6f6
CY
7801 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
7802
757ee657
JD
78032012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
7804
7c1898a7
SM
7805 * progmodes/which-func.el (which-func-update-ediff-windows):
7806 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 7807
5f2c76c6
CY
78082012-06-03 Chong Yidong <cyd@gnu.org>
7809
7810 * bindings.el: Remove explicit help text from format-mode-line.
7811 It is now supplied by mode-line-default-help-echo.
7812 (mode-line-front-space, mode-line-end-spaces)
7813 (mode-line-misc-info): New variables.
7814 (mode-line-modes, mode-line-position): Move the default value to
7815 the variable definition.
7816 (mode-line-default-help-echo): New defcustom.
383f7350
CY
7817 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
7818 (mode-line-modified-help-echo): New functions.
7819 (mode-line-mule-info, mode-line-modified): Use them.
7820 (mode-line-eol-desc, propertized-buffer-identification):
7821 Consistency fixes for help text.
cbe46e5f
CY
7822 (mode-line-coding-system-map): Allow using mouse-3 to invoke
7823 set-buffer-file-coding-system (Bug#289).
7824 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 7825
f2d6a3df
SM
78262012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
7827
7828 * simple.el (execute-extended-command): Set real-this-command
7829 (bug#11506).
7830
37269466
CY
78312012-06-02 Chong Yidong <cyd@gnu.org>
7832
7833 Remove incorrect uses of "modeline" in comments, docstrings, and
7834 function/variable names (Bug#10329).
7835
7836 * cus-edit.el (mode-line):
7837 * dframe.el (dframe-mouse-hscroll):
7838 * emacs-lisp/re-builder.el:
7839 * emacs-lisp/easy-mmode.el (define-minor-mode):
7840 * frame.el (set-frame-name):
7841 * help.el (lookup-minor-mode-from-indicator):
7842 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
7843 * progmodes/cc-cmds.el (c-toggle-auto-newline)
7844 (c-toggle-hungry-state):
7845 * progmodes/antlr-mode.el (antlr-language-alist):
7846 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
7847 * progmodes/vhdl-mode.el (vhdl-mode):
7848 * progmodes/which-func.el (which-func, which-func-cleanup-function):
7849 * term/ns-win.el (ns-face-at-pos):
7850 * term/sup-mouse.el (sup-mouse-report):
7851 * textmodes/flyspell.el (flyspell-mode-line-string):
7852 * textmodes/ispell.el (ispell-highlight-face):
7853 * textmodes/reftex-global.el:
7854 * vc/vc-arch.el (vc-arch-mode-line-string):
7855 * vc/vc-cvs.el (vc-cvs-mode-line-string):
7856 * vc/vc-git.el (vc-git-mode-line-string):
7857 * vc/vc-hooks.el (vc-display-status)
7858 (vc-default-mode-line-string):
7859 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
7860
7861 * ansi-color.el (ansi-color-faces-vector): Change default faces.
7862
7863 * dired.el (dired-sort-set-mode-line): Rename from
7864 dired-sort-set-modeline. All callers changed.
7865
7866 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
7867 eshell-status-in-modeline.
7868
7869 * foldout.el (foldout-mode-line-string): Rename from
7870 foldout-modeline-string. All callers changed.
7871 (foldout-update-mode-line): Rename from foldout-update-modeline.
7872
7873 * subr.el (redraw-modeline): Make into obsolete alias.
7874
7875 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
7876 timeclock-modeline-display. Make old name an alias.
7877 (timeclock-update-mode-line): Likewise. All callers changed.
7878 (timeclock-mode-line-display): No need to check before using
7879 add-hook.
7880 (timeclock-relative, timeclock-day-over-hook)
7881 (timeclock-use-elapsed, timeclock-mode-string)
7882 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
7883
7884 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
7885 crisp-mode-modeline-string.
7886
7887 * play/solitaire.el (solitaire-build-mode-line): Rename from
7888 solitaire-build-modeline. All callers changed.
7889
7890 * play/zone.el (zone-hiding-mode-line): Rename from
7891 zone-hiding-modeline. All callers changed.
7892 (zone): Remove unusued `modeline-hidden-level' property.
7893
7894 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
7895 xscheme-modeline-initialize. All callers changed.
7896
7897 * strokes.el (strokes-lighter): Rename from
7898 strokes-modeline-string.
7899
7900 * textmodes/sgml-mode.el (html-face-tag-alist)
7901 (html-tag-face-alist): Use mode-line face instead of obsolete
7902 alias modeline.
7903
42152ee4
SM
79042012-06-02 Stefan Merten <smerten@oekonux.de>
7905
7906 * textmodes/rst.el: Always require `cl'.
4cf9b38d 7907 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 7908
95f520b5
CY
79092012-06-02 Chong Yidong <cyd@gnu.org>
7910
7911 * image.el (imagemagick-enabled-types): Rename from
7912 imagemagick-types-enable. Add many more types.
7913 (imagemagick-types-inhibit): Change default to nil.
7914 (imagemagick-filter-types): Caller changed.
7915
4a5f187a
SM
79162012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
7917
03fef3e6
SM
7918 * emacs-lisp/cl-macs.el: Use backquotes.
7919 (cl-transform-function-property): Use eval-and-compile rather than
7920 abusing `require'.
7921 (defstruct): Use declare-function instead of with-no-warnings.
7922
4a5f187a
SM
7923 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
7924 (byte-compile-output-docform): Re-add the print-circle bindings.
7925 (byte-compile-fix-header): Use #$ just because it's shorter.
7926 (byte-compile-output-file-form): Remove defun/defmacro.
7927
bd56924f
MR
79282012-06-01 Martin Rudalics <rudalics@gmx.at>
7929
7930 * simple.el (choose-completion): Remove now obsolete binding for
7931 owindow.
7932
046e38ce
MA
79332012-06-01 Michael Albinus <michael.albinus@gmx.de>
7934
7935 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
7936 in order to avoid "Stack overflow in regexp matcher".
7937
32d72c2f
GM
79382012-05-31 Glenn Morris <rgm@gnu.org>
7939
7940 * image.el: For clarity, call imagemagick-register-types at
7941 top-level, rather than relying on a custom :initialize.
7942 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
7943 (imagemagick-filter-types): New function. (Bug#7406)
7944 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
7945 If disabling support, remove elements altogether rather
7946 than using an impossible regexp.
7947 (imagemagick-types-inhibit): Give it the default init function.
7948
dd41169b
SM
79492012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
7950
4a5f187a
SM
7951 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
7952 Handle arbitrary file name lengths (Bug#11585).
dd41169b 7953
efc00ab1 79542012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
7955
7956 * desktop.el (desktop-read): Clear previous and next buffers for
7957 all windows and bury *Messages* buffer (bug#11556).
7958
500fcedc
SM
79592012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
7960
7961 Add `declare' for `defun'. Align `defmacro's with it.
7962 * emacs-lisp/easy-mmode.el (define-minor-mode)
7963 (define-globalized-minor-mode): Don't autoload the var definitions.
7964 * emacs-lisp/byte-run.el: Use lexical-binding.
7965 (defun-declarations-alist, macro-declarations-alist): New vars.
7966 (defmacro, defun): Use them.
7967 (make-obsolete, define-obsolete-function-alias)
7968 (make-obsolete-variable, define-obsolete-variable-alias):
7969 Use `declare'.
7970 (macro-declaration-function): Mark obsolete.
7971 * emacs-lisp/autoload.el: Use lexical-binding.
7972 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
7973
6e8a1786
AM
79742012-05-30 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
7975
7976 * textmodes/ispell.el (ispell-with-no-warnings):
7977 Define as a macro.
500fcedc
SM
7978 (ispell-kill-ispell, ispell-change-dictionary):
7979 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
7980 `interactive-p'.
7981
61b108cc
SM
79822012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7983
7984 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
7985 (macro-declaration-function): Move var from C code.
7986 (macro-declaration-function): Define function with defalias.
7987 * emacs-lisp/macroexp.el (macroexpand-all-1):
7988 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
7989 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
7990 defun/defmacro any more.
7991 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
7992 Provide fallback for unknown arglist.
7993 (byte-compile-arglist-warn): Change calling convention.
7994 (byte-compile-output-file-form): Move print-vars binding.
7995 (byte-compile-output-docform): Simplify accordingly.
7996 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
7997 (byte-compile-defmacro-declaration): Remove.
7998 (byte-compile-file-form-defmumble): Generalize to defalias.
7999 (byte-compile-output-as-comment): Return byte-positions.
8000 Simplify callers accordingly.
8001 (byte-compile-lambda): Use `assert'.
8002 (byte-compile-defun, byte-compile-defmacro): Remove.
8003 (byte-compile-file-form-defalias):
8004 Use byte-compile-file-form-defmumble.
8005 (byte-compile-defalias-warn): Remove.
8006
6d3f7c2f
SM
80072012-05-29 Stefan Merten <smerten@oekonux.de>
8008
8009 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 8010 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
8011
8012 (rst-mode-abbrev-table): Merge definition.
8013 (rst-mode): Make sure `font-lock-defaults' is buffer local.
8014 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
8015
6dbaa1c7
UJ
80162012-05-29 Ulf Jasper <ulf.jasper@web.de>
8017
8018 * calendar/icalendar.el
8019 (icalendar-export-region): Export UID properly.
8020
d209e2fb 80212012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
8022 * calendar/icalendar.el (icalendar-import-format):
8023 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
8024 (icalendar-import-format-uid): New.
8025 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
8026 Export UID.
8027
6876a58d
SM
80282012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
8029
8030 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
8031 different alternative patterns.
8032 (pcase-codegen): Be more careful to preserve identity.
8033 (pcase--u1): Don't forget to mark vars as used.
8034
8035 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
8036 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
8037 (byte-compile-from-buffer): ...rather than here.
8038
8039 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
8040 functions from byte-compile-function-environment.
8041
46b7967e
TN
80422012-05-29 Troels Nielsen <bn.troels@gmail.com>
8043
8044 * window.el (window-deletable-p): Avoid deleting the root window
8045 of a frame with an active minibuffer.
8046
69d565e2
MR
80472012-05-29 Martin Rudalics <rudalics@gmx.at>
8048
8049 * simple.el (choose-completion): Use quit-window (Bug#11567).
8050
a149fa51
CY
80512012-05-29 Chong Yidong <cyd@gnu.org>
8052
8053 * whitespace.el (whitespace-cleanup): Fix usage of
8054 whitespace-empty-at-bob-regexp (Bug#11492).
8055
2b311310
AH
80562012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
8057
8058 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
8059 revert (Bug#11488).
8060
b9cb2387
JL
80612012-05-29 Juri Linkov <juri@jurta.org>
8062
8063 * isearch.el (isearch-mode-map): Bind `M-s _' to
8064 `isearch-toggle-symbol'. Bind `M-s c' to
8065 `isearch-toggle-case-fold'.
8066 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
8067 (isearch-forward): Add `M-s _' to the docstring.
8068 (isearch-forward-symbol, isearch-toggle-case-fold)
8069 (isearch-symbol-regexp): New functions. (Bug#11381)
8070
d5e61c1c
JL
80712012-05-29 Juri Linkov <juri@jurta.org>
8072
8073 * isearch.el (isearch-word): Add docstring. (Bug#11381)
8074 (isearch-occur, isearch-search-and-update): If `isearch-word' is
8075 a function, call it to get the regexp.
8076 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
8077 property `isearch-message-prefix' instead of the string "word ".
8078 (isearch-search-fun-default): For the case of `isearch-word',
8079 return a lambda that calls re-search-forward/re-search-backward
8080 with a regexp returned by `word-search-regexp' or by the function
8081 in `isearch-word'.
8082
8cbd80f7
JL
80832012-05-29 Juri Linkov <juri@jurta.org>
8084
8085 * isearch.el (isearch-search-fun-default): New function.
8086 (isearch-search-fun): Move default part to the new function
8087 `isearch-search-fun-default'.
8088 (isearch-search-fun-function): Set the default value to
8089 `isearch-search-fun-default'. (Bug#11381)
8090
8091 * comint.el (comint-history-isearch-end):
8092 Use `isearch-search-fun-default'.
8093 (comint-history-isearch-search): Use `isearch-search-fun-default'
8094 and remove spacial case for `isearch-word'.
8095 (comint-history-isearch-wrap): Remove spacial case for
8096 `isearch-word'.
8097
8098 * hexl.el (hexl-isearch-search-function):
8099 Use `isearch-search-fun-default'.
8100
8101 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
8102 Use `word-search-regexp' for `isearch-word'.
8103
8104 * misearch.el (multi-isearch-search-fun):
8105 Use `isearch-search-fun-default'.
8106
8107 * simple.el (minibuffer-history-isearch-search):
8108 Use `isearch-search-fun-default' and remove spacial case for
8109 `isearch-word'.
8110 (minibuffer-history-isearch-wrap): Remove spacial case for
8111 `isearch-word'.
8112
8113 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
8114 Remove spacial case for `isearch-word'.
8115 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
8116
85c8c5b6
AM
81172012-05-28 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
8118
8119 Decrease XEmacs incompatibilities.
8120 * textmodes/flyspell.el (flyspell-check-pre-word-p):
8121 Use `string-match'.
8122 (flyspell-delete-region-overlays): Use alternative definition for
8123 XEmacs.
8124 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
8125 (flyspell-word): Use `process-kill-without-query' if XEmacs.
8126 (flyspell-mode-on): Use `interactive-p' if XEmacs.
8127 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
8128 `define-obsolete-face-alias' under XEmacs, but old method.
8129
8130 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
8131 `with-no-warnings' definition or Emacs alias.
8132 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
8133 (ispell-word): Do not use `region-p' if XEmacs.
8134
8cab9efc
AM
81352012-05-28 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
8136
8137 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
8138 Check for `ispell-dictionary-base-alist' instead of full
8139 `ispell-dictionary-alist'.
8140 (ispell-init-process): Show spellchecker when starting new Ispell
8141 process.
8142
fda91268
RZ
81432012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
8144
8145 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
8146 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
8147
694ea8e3
JB
81482012-05-27 Juanma Barranquero <lekktu@gmail.com>
8149
8150 * version.el (motif-version-string, gtk-version-string)
8151 (ns-version-string): Declare.
8152
e4d4f539
JL
81532012-05-27 Juri Linkov <juri@jurta.org>
8154
8155 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
8156 after the `eval-defun-1' specialcaseing
8157 like in `edebug-eval-defun' (bug#10181).
8158
8159 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
8160 like in `eval-defun-1'.
8161
33017faf 81622012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 8163
fda91268
RZ
8164 * mail/sendmail.el (mail-yank-region):
8165 Recognize rmail-yank-current-message in addition to insert-buffer.
8166 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
8167 a *mail* buffer created through rmail-start-mail with sendmail as
8168 mail-user-agent.
8169
33017faf
GM
81702012-05-27 Chong Yidong <cyd@gnu.org>
8171
8172 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
8173 Default to 256 (Bug#11267).
8174
8175 * help.el (describe-mode): Doc fix.
8176
04188bb9
GM
81772012-05-26 Glenn Morris <rgm@gnu.org>
8178
38264cc9
GM
8179 * w32-fns.el (w32-init-info): Remove.
8180 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
8181
eb7afdad
GM
8182 * info.el (info-initialize): For self-contained NS builds, put the
8183 included info/ directory at the front. (Bug#2791)
8184
04188bb9
GM
8185 * paths.el (Info-default-directory-list): Make it a defcustom,
8186 mainly so that we can use custom-initialize-delay.
8187
a179e3f7
SM
81882012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
8189
43416392
SM
8190 * subr.el (buffer-has-markers-at): Mark obsolete.
8191
a179e3f7 8192 * subr.el (lambda): Use declare.
43416392 8193
a179e3f7
SM
8194 * emacs-lisp/lisp-mode.el (lambda):
8195 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
8196
34a008d9
AH
81972012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
8198
8199 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
8200
0a3b289f
GM
82012012-05-26 Glenn Morris <rgm@gnu.org>
8202
8203 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
8204
758c81e8
GM
82052012-05-25 Glenn Morris <rgm@gnu.org>
8206
f9f334f0
GM
8207 * paths.el: Remove no-byte-compile.
8208 * loadup.el: No need to load paths.el uncompiled.
8209
87eb79c2
GM
8210 * image.el (imagemagick-types-inhibit): Doc fix.
8211
758c81e8
GM
8212 * version.el: Remove no-byte-compile and associated formatting.
8213 * loadup.el: No need to load version.el uncompiled. AFAICS, this
8214 is ancient code from when there was an "inc-vers.el".
8215
e7e85dc0
SM
82162012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8217
8218 * progmodes/gdb-mi.el: Minor style changes.
8219 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
8220 Turn into minor modes.
8221 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
8222 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
8223 (gdb-shell): Remove unneeded let-binding.
8224 (gdb-get-many-fields): Eliminate O(n²) behavior.
8225
f31237a4
EZ
82262012-05-25 Eli Zaretskii <eliz@gnu.org>
8227
8228 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
8229 platforms that don't link in fontset.c.
8230
bc1b21bb
JL
82312012-05-25 Juri Linkov <juri@jurta.org>
8232
8233 Use the same diff color scheme as in modern VCSes (bug#10181).
8234
8235 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
8236 to avoid confusion with `diff-added' that now uses green colors.
8237 (diff-removed): Use shades of red.
8238 (diff-added): Use shades of green.
8239 (diff-changed): Leave just the yellow color.
8240 (diff-use-changed-face): New variable.
8241 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
8242 how to highlight context diff changes.
8243 (diff-refine-change): Use shades of yellow.
8244 (diff-refine-removed): New face that uses shades of red.
8245 (diff-refine-added): New face that uses shades of green.
8246 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
8247 `diff-refine-removed' in the call to `smerge-refine-subst'
8248 depending on the value of `diff-use-changed-face'.
8249
8250 * vc/smerge-mode.el (smerge-mine): Use shades of red.
8251 (smerge-other): Use shades of green.
8252 (smerge-base): Use shades of yellow.
8253 (smerge-refined-change): Empty face.
8254 (smerge-refined-removed): New face that uses shades of red.
8255 (smerge-refined-added): New face that uses shades of green.
8256 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
8257 args `props-r' and `props-a', and use them. Doc fix.
8258 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
8259 on its value use different faces `smerge-refined-change',
8260 `smerge-refined-removed', `smerge-refined-added' in the call to
8261 `smerge-refine-subst'.
8262
8263 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
8264 Add face condition `min-colors 88' with shades of red.
8265 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
8266 `min-colors 88' with shades of green.
8267 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
8268 `min-colors 88' with shades of yellow.
8269
6df9112c
GM
82702012-05-24 Glenn Morris <rgm@gnu.org>
8271
ead5edc0
GM
8272 * paths.el (prune-directory-list, remote-shell-program): Move to...
8273 * files.el (prune-directory-list, remote-shell-program): ...here.
8274 For the latter, delay initialization, prefer ssh, just search PATH.
8275
f18b81e6
GM
8276 * paths.el (term-file-prefix): Move to faces.el (the only user).
8277 * faces.el (term-file-prefix): Move here, make it a defcustom.
8278
ee2f89a6
GM
8279 * paths.el (news-directory, news-path, news-inews-program):
8280 Move to gnus/nnspool.el.
61a583ca 8281
f8815e4c
GM
8282 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
8283
c8f3b42c
GM
8284 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
8285 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
8286 Make the latter a defcustom, with a delayed initialization.
8287
6df9112c
GM
8288 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
8289 These were deleted from Gnus itself late 2010.
8290
5dadff36
JB
82912012-05-22 Juanma Barranquero <lekktu@gmail.com>
8292
9e1701c6
JB
8293 * progmodes/which-func.el (which-func-ff-hook):
8294 Check against user-error, not error.
8295
bd7239f5 8296 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
8297 cl-specs.el, which no longer exists.
8298
3290526d
GM
82992012-05-22 Glenn Morris <rgm@gnu.org>
8300
8301 * info.el (info-emacs-bug): New command.
8302 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
8303 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
8304
ff0c3cfb
GM
83052012-05-21 Glenn Morris <rgm@gnu.org>
8306
8307 * makefile.w32-in (update-subdirs-SH):
8308 * Makefile.in (update-subdirs): Update for moved update-subdirs.
8309
5814f126
SM
83102012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
8311
a52c0aa0
SM
8312 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
8313
5814f126
SM
8314 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8315 Simplify Maven regexp, and make sure the file can't start with a space
8316 (bug#11517).
8317
b847032c
GM
83182012-05-21 Glenn Morris <rgm@gnu.org>
8319
8320 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
8321 Scrap superfluous subshells.
8322
3858bfe7
SM
83232012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
8324
8325 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
8326 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
8327
d14b0029
JB
83282012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
8329
8330 * calc/calc.el (calc-ensure-consistent-units): New variable.
8331
a52c0aa0
SM
8332 * calc/calc-units.el (math-consistent-units-p)
8333 (math-check-unit-consistency): New functions.
8334 (calc-quick-units, calc-convert-units):
8335 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
8336 is non-nil.
d14b0029
JB
8337 (calc-extract-units): Fix typo.
8338
60c4db3a
SM
83392012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
8340
77f3b62e
SM
8341 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
8342
60c4db3a
SM
8343 * textmodes/flyspell.el: Commenting style, plus code simplifications.
8344 (flyspell-default-deplacement-commands): Don't spell check after
8345 repeated window/frame switches (e.g. triggered by mouse-movement).
8346 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
8347 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
8348 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
8349 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
8350 Remove unused vars.
8351 (flyspell-get-casechars, flyspell-get-not-casechars):
8352 Simplify; Don't bother removing a ] just to add it back.
8353 * textmodes/ispell.el (ispell-program-name): Use executable-find.
8354
d209e2fb 83552012-05-18 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
8356
8357 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
8358 New functions.
bd7239f5 8359 (math-function-table): Add support for more C functions.
b1a10716 8360
3f1b25b5
AM
83612012-05-18 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
8362
090bd7cb
JB
8363 * textmodes/flyspell.el (flyspell-check-pre-word-p)
8364 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
8365 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 8366
b581bb5c
SM
83672012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
8368
8369 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
8370 their respective macro declarations.
8371 * skeleton.el (define-skeleton):
8372 * progmodes/compile.el (define-compilation-mode):
8373 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
8374 (define-ibuffer-filter):
8375 * emacs-lisp/generic.el (define-generic-mode):
8376 * emacs-lisp/easy-mmode.el (define-minor-mode)
8377 (define-globalized-minor-mode):
8378 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
8379 * emacs-lisp/byte-run.el (defsubst):
8380 * custom.el (deftheme): Add doc-string metadata.
8381
70b8ef8f
SM
83822012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8383
8384 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
8385
b1198e17
SM
83862012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8387
9abdc45d
SM
8388 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
8389
b1198e17
SM
8390 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
8391 * emacs-lisp/cl-macs.el: Idem.
8392 * emacs-lisp/cl-specs.el: Remove.
8393
4735906a
SM
83942012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8395
8396 Minor renaming of internal CL functions and variables.
8397 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
8398 (cl--position): Rename from cl-position.
8399 (cl--delete-duplicates): Rename from cl-delete-duplicates.
8400 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
8401 (cl--random-state): Rename from *random-state*.
8402
ac348012
SM
84032012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8404
8405 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
8406 parens around the arg list (bug#11499).
8407
a0a79cde
JL
84082012-05-17 Juri Linkov <juri@jurta.org>
8409
8410 * isearch.el (word-search-regexp, word-search-backward)
8411 (word-search-forward, word-search-backward-lax)
8412 (word-search-forward-lax): Move functions from search.c
8413 (bug#10145, bug#11381).
8414
65034a51
AM
84152012-05-16 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
8416
090bd7cb
JB
8417 * textmodes/flyspell.el (flyspell-check-pre-word-p)
8418 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
8419 Delay for otherchars as for normal word components.
65034a51 8420
1a72a195
SM
84212012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
8422
8423 * minibuffer.el (completion--sifn-requote): Fix last change.
8424 (minibuffer-local-must-match-filename-map):
8425 Move define-obsolete-variable-alias before its var.
8426
fdb058c2
SM
84272012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8428
c41045e6
SM
8429 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
8430
036dfb8b
SM
8431 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
8432 behavior.
8433 (completion--string-equal-p): New function.
8434 (completion--twq-all): Use it to get better assertion failure data.
8435
2473256d
SM
8436 Only handle ".." and '..' quoting in shell-mode (bug#11466).
8437 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
8438 (shell--requote-argument): New functions.
8439 (shell-completion-vars): Use them.
8440 (shell--parse-pcomplete-arguments): Rename from
8441 shell-parse-pcomplete-arguments.
8442 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
8443 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
8444 Obey comint-file-name-quote-list.
8445
fdb058c2
SM
8446 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
8447 (smie-indent-keyword): Use it.
8448
51fa99f1
SM
84492012-05-14 Stefan Merten <smerten@oekonux.de>
8450
8451 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
8452
e18afed7 84532012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
8454
8455 * net/rlogin.el (rlogin-mode-map): Fix last change.
8456
e18afed7 84572012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
8458
8459 * mail/smtpmail.el (smtpmail-send-command): Send the command and
8460 the following \r\n using a single `process-send-string', since the
8461 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 8462 with two `process-send-string's (Bug#11444).
8633b1f4 8463
e18afed7 84642012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 8465
fdb058c2
SM
8466 * shell.el (shell-parse-pcomplete-arguments):
8467 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 8468
2d21d7f6
WJ
84692012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
8470
e18afed7 8471 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
8472 (image-transform-scale, image-transform-right-angle-fudge): New vars.
8473 (image-transform-width, image-transform-fit-width): New functions.
8474 (image-transform-properties): Use them.
8475 (image-transform-check-size): New function.
8476 (image-toggle-display-image): Use it (for testing).
8477 (image-transform-set-rotation): Reduce angle mod 360.
8478 Delete obsolete comment.
8479
7102e6d0
WJ
84802012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
8481
8482 * image-mode.el: Fix scaling (bug#11399).
8483 (image-transform-resize): Doc fix.
8484 (image-transform-properties): Default scale is 1 and height should
8485 be an integer.
8486
06bc5e6e
SM
84872012-05-13 Johan BockgĂ¥rd <bojohan@gnu.org>
8488
8489 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
8490 than hard-coding `car', to fix misbehavior when moving forward.
8491
0ae03b6a
CY
84922012-05-13 Chong Yidong <cyd@gnu.org>
8493
8494 * emacs-lisp/tabulated-list.el (tabulated-list-format)
8495 (tabulated-list-entries, tabulated-list-padding)
8496 (tabulated-list-sort-key): Make permanent-local.
8497
8498 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
8499 (electric-buffer-list): Put electric buffer menu
8500 command descriptions in this docstring, instead of the docstring
8501 of electric-buffer-menu-mode. Code cleanups.
8502 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
8503 Electric-buffer-menu-mode.
8504 (electric-buffer-update-highlight): Minor code cleanup.
8505
205a7391
MA
85062012-05-13 Michael Albinus <michael.albinus@gmx.de>
8507
8508 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
8509 (Bug#11447)
8510
e5bd0a28
SM
85112012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
8512
8513 Move define-obsolete-variable-alias before the var's definition.
8514 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
8515 * tooltip.el (tooltip-hook):
8516 * textmodes/reftex-toc.el (reftex-toc-map):
8517 * textmodes/reftex-sel.el (reftex-select-label-map)
8518 (reftex-select-bib-map):
8519 * textmodes/reftex-index.el (reftex-index-map)
8520 (reftex-index-phrases-map):
8521 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
8522 * progmodes/meta-mode.el (meta-mode-map):
8523 * novice.el (disabled-command-hook):
8524 * loadhist.el (unload-hook-features-list):
8525 * frame.el (blink-cursor):
8526 * files.el (find-file-not-found-hooks, write-file-hooks)
8527 (write-contents-hooks):
8528 * emulation/tpu-edt.el (GOLD-map):
8529 * emacs-lock.el (emacs-lock-from-exiting):
8530 * emacs-lisp/generic.el (generic-font-lock-defaults):
8531 * emacs-lisp/chart.el (chart-map):
8532 * dos-fns.el (register-name-alist):
8533 * dired-x.el (dired-omit-files-p):
8534 * desktop.el (desktop-enable):
8535 * cus-edit.el (custom-mode-hook):
8536 * buff-menu.el (buffer-menu-mode-hook):
8537 * bookmark.el (bookmark-read-annotation-text-func)
8538 (bookmark-exit-hooks):
8539 * allout.el (allout-mode-deactivate-hook)
8540 (allout-exposure-change-hook, allout-structure-added-hook)
8541 (allout-structure-deleted-hook, allout-structure-shifted-hook):
8542 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
8543 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
8544 comes before the corresponding variable's definition.
8545
ac59c2f6
CY
85462012-05-12 Chong Yidong <cyd@gnu.org>
8547
8548 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
8549 (Buffer-menu-mouse-select): Restore function (Bug#11459).
8550 (Buffer-menu-mode-map): Bind it.
8551 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 8552
dee6c9a3
SM
85532012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
8554
2171cea5
SM
8555 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
8556 (prolog-upper-case-string, prolog-lower-case-string)
8557 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
8558 (prolog-use-smie, prolog-smie-grammar): New vars.
8559 (prolog-smie-forward-token, prolog-smie-backward-token)
8560 (prolog-smie-rules): New funs.
8561 (prolog-comment-indent): Remove.
8562 (prolog-mode-variables): Use default comment indentation instead.
8563 Setup SMIE.
8564 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
8565 (prolog-mode): Don't call them any more.
8566 (prolog-electric-colon, prolog-electric-dash)
8567 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
8568
aa0382bd
SM
8569 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
8570
dbacb4bd
SM
8571 * minibuffer.el (completion--twq-all): Again, allow case differences.
8572
13bdd94c
SM
8573 * term.el: Move keymap initialization code to be more idiomatic.
8574 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
8575 (term-terminal-menu): Move initialization into declaration.
8576 (term-escape-char): Let the user set it in her .emacs.
8577
ff46c759
SM
8578 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
8579 Provide SMIE-based indentation (not enabled by default yet).
8580 (sh-mode-map): Don't bind electric keys.
8581 Use electric-pair-mode instead of skeleton-pair.
8582 (sh-assignment-regexp): Fit within 80 columns.
8583 (sh-indent-supported): Specify actual shell name instead of boolean.
8584 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
8585 (sh-maybe-here-document): Use it. Make obsolete.
8586 (sh-electric-here-document-mode) New minor mode.
8587 (sh-mode): Use it. Don't set sh-indent-supported-here here.
8588 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
8589 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
8590 (sh-smie-rc-grammar, sh-use-smie): New vars.
8591 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
8592 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
8593 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
8594 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
8595 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
8596 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
8597 (sh-set-shell): Use smie-setup if requested.
8598
dee6c9a3
SM
8599 * term.el (term-set-escape-char): Properly set term-escape-char.
8600 See http://stackoverflow.com/questions/10524656.
8601
9f9aa044
CY
86022012-05-10 Chong Yidong <cyd@gnu.org>
8603
8604 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
8605 Use url-generic-parse-url, and handle host names and Windows
8606 filenames properly.
8607 (ffap-url-unwrap-remote): Use url-generic-parse-url.
8608 (ffap-url-unwrap-remote): Accept list values, specifying a list of
8609 URL schemes to work on.
8610 (ffap--toggle-read-only): New function.
8611 (ffap-read-only, ffap-read-only-other-window)
8612 (ffap-read-only-other-frame): Use it.
8613 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
8614 necessary for ffap-url-unwrap-remote.
8615
836d29b3
DA
86162012-05-10 Dave Abrahams <dave@boostpro.com>
8617
8618 * cus-start.el (create-lockfiles): Add it.
8619
00fd78ed
CY
86202012-05-09 Chong Yidong <cyd@gnu.org>
8621
8622 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
8623 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
8624
666b903b 86252012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
8626
8627 * shell.el (shell-completion-vars): Fix last change (bug#11348).
8628
666b903b 86292012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
8630
8631 * ansi-color.el (ansi-color-process-output): Check for validity of
8632 comint-last-output-start before using it. This avoids a bad
8633 interaction with gdb-mi's input/output buffer.
8634
666b903b 86352012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
8636
8637 * files.el (dir-locals-read-from-file):
8638 Mention dir-locals in any error message.
8639
666b903b 86402012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
8641
8642 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
8643 package (Bug#11410).
8644
f677562b
CY
8645 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
8646 variables into description.
8647
666b903b 86482012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
8649
8650 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
8651 shell-delimiter-argument-list (bug#11348).
8652 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
8653
b499d8d0
JB
86542012-05-09 Juanma Barranquero <lekktu@gmail.com>
8655
8f6b6da8
JB
8656 * textmodes/rst.el: Silence byte-compiler warnings.
8657 (rst-re-alist, rst-reset-section-caches): Move around.
8658 (rst-re): Use `characterp', not `char-valid-p'.
8659 (font-lock-beg, font-lock-end): Declare.
8660
4824146a
JB
8661 * progmodes/idlw-shell.el (specs): Remove reference to deleted
8662 variable `idlwave-shell-activate-alt-keybindings' and simplify.
8663
b499d8d0
JB
8664 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
8665
ad89bb83
GM
86662012-05-08 Glenn Morris <rgm@gnu.org>
8667
8668 * files.el (auto-mode-alist): Treat ".make" like ".mk".
8669
8bba5a75
SM
86702012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8671
49ed9c8e
SM
8672 * vc/log-edit.el: Add GNU coding standards highlighting.
8673 (log-edit-font-lock-gnu-style)
8674 (log-edit-font-lock-gnu-keywords): New vars.
8675 (log-edit-font-lock-keywords): New fun.
8676 (log-edit-mode): Don't fold case in font-lock.
8677 (log-edit-font-lock-keywords): Do not assume case-folding.
8678
07d00b56
SM
8679 * imenu.el: Misc cleanup. Make docstrings out of comments.
8680 Use lexical-binding.
8681 (imenu--index-alist, imenu--last-menubar-index-alist)
8682 (imenu-menubar-modified-tick): Use defvar-local.
8683 (imenu--split-menu): Remove unused var.
8684 (imenu--cleanup-seen): Declare as global.
8685 (imenu--cleanup): Use dolist.
8686
8bba5a75
SM
8687 * subr.el (defvar-local): Add debug spec and doc-string position.
8688
5075bdb5
GM
86892012-05-08 Glenn Morris <rgm@gnu.org>
8690
090bd7cb 8691 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
8692 * language/english.el, language/georgian.el, language/greek.el:
8693 * language/japanese.el, language/khmer.el, language/korean.el:
8694 * language/lao.el, language/misc-lang.el, language/romanian.el:
8695 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
8696 * language/thai.el, language/utf-8-lang.el:
8697 Remove no-byte-compile setting.
8698
5075bdb5
GM
8699 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
8700
06f679a7
AH
87012012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
8702
8703 * progmodes/make-mode.el (makefile-browse):
8704 Remove unnecessary interactive. (Bug#11324)
8705
03794570
GM
87062012-05-07 Glenn Morris <rgm@gnu.org>
8707
af8630f4
GM
8708 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
8709
03794570
GM
8710 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
8711
f0809a9d
SM
87122012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
8713
28be5ce7
SM
8714 * loadup.el: Preload newcomment.el.
8715 * newcomment.el: Move autoload-only code to toplevel.
8716
f0809a9d
SM
8717 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
8718 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
8719 Handle new :right-align column property.
8720 (tabulated-list-print-col): Idem, plus use `display' text-property to
8721 try and preserve alignment for variable pitch fonts.
8722
1241b724
CY
87232012-05-07 Chong Yidong <cyd@gnu.org>
8724
8725 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
8726 (tabulated-list-use-header-line): New var.
8727 (tabulated-list-init-header): Use it.
8728 (tabulated-list-print-fake-header): New function.
8729 (tabulated-list-print): Use it.
8730 (tabulated-list-sort-button-map): Add non-header-line commands.
8731 (tabulated-list-init-header): Add column name property to basic
8732 labels as well.
8733 (tabulated-list-col-sort): Handle non-header-line button case.
8734 (tabulated-list--sort-by-column-name): Fix a corner case.
8735
f0809a9d
SM
8736 * buff-menu.el (list-buffers--refresh):
8737 Handle Buffer-menu-use-header-line.
1241b724 8738
e5f9458f
CY
87392012-05-06 Chong Yidong <cyd@gnu.org>
8740
8741 * buff-menu.el: Convert to Tabulated List mode.
8742 (Buffer-menu-buffer+size-width): Make obsolete.
8743 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
8744 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
8745 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
8746 documentation into docstring of buffer-menu.
8747 (Buffer-menu-toggle-files-only): Add an informative message.
8748 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
8749 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
8750 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
8751 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
8752 (Buffer-menu-execute, Buffer-menu-select)
8753 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
8754 (Buffer-menu-bury): Use Tabulated List machinery.
8755 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
8756 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 8757 Delete.
e5f9458f
CY
8758 (list-buffers--refresh): New function.
8759 (list-buffers-noselect): Use it.
8760 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
8761 (Buffer-menu--pretty-file-name): New helper functions.
8762
8763 * loadup.el: Preload tabulated-list.
8764
8765 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
8766 tabulated-list-sort-column.
8767 (tabulated-list-init-header): Add the initial aligning space even
8768 if tabulated-list-padding is zero.
8769
e129292c
CS
87702012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
8771
8772 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
8773 whose cdr is not a cons cell correctly (bug#11038).
8774
6632d361
CY
87752012-05-06 Chong Yidong <cyd@gnu.org>
8776
e129292c
CS
8777 * emacs-lisp/tabulated-list.el (tabulated-list-format):
8778 Accept additional plist in column descriptors.
6632d361
CY
8779 (tabulated-list-init-header): Obey it.
8780 (tabulated-list-get-entry): New function.
8781 (tabulated-list-put-tag): Use it. Use string-width instead of
8782 length.
8783 (tabulated-list--column-number): New function.
8784 (tabulated-list-print): Use it.
e129292c
CS
8785 (tabulated-list-print-col): New function.
8786 Set `tabulated-list-column-name' property on each column's text.
6632d361 8787 (tabulated-list-print-entry): Use it.
e129292c
CS
8788 (tabulated-list-delete-entry, tabulated-list-set-col):
8789 New functions.
6632d361
CY
8790 (tabulated-list-sort-column): New command (Bug#11337).
8791
3cc99f68
CY
8792 * buff-menu.el (list-buffers): Move C-x C-b binding from
8793 buff-menu.el to bindings.el.
8794
8795 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
8796 :advertised-binding feature.
8797
52b61776
TN
87982012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
8799
8800 * progmodes/compile.el (compilation-internal-error-properties):
8801 Calculate start position correctly when end-col is set but
8802 end-line is not (Bug#11382).
8803
ebfe2597
WJ
88042012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
8805
8806 * man.el (Man-unindent): Use text-property-default-nonsticky to
8807 prevent untabify from inheriting face properties (Bug#11408).
8808
6d3f7c2f
SM
88092012-05-05 Stefan Merten <smerten@oekonux.de>
8810
8811 * textmodes/rst.el: Major merge with upstream development up to
8812 Docutils SVN r7399 / rst.el V1.2.1.
8813
8814 Clarify maintainership and authors.
8815
8816 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
8817 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
8818 (rst-official-version, rst-official-cvs-rev, rst-version)
8819 (rst-package-emacs-version-alist): New functions and variables
8820 for version information.
8821
8822 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
8823 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
8824 (rst-mode-syntax-table, rst-mode): New and corrected functions
8825 and variables representing reStructuredText features.
8826
8827 (rst-re): New function for reStructuredText regexes. Use in
8828 many places.
8829
8830 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
8831 (rst-mode-map): Rebind keys.
8832
8833 (rst-mode-lazy, rst-font-lock-keywords)
8834 (rst-font-lock-extend-region)
8835 (rst-font-lock-extend-region-internal)
8836 (rst-font-lock-extend-region-extend)
8837 (rst-font-lock-find-unindented-line-limit)
8838 (rst-font-lock-find-unindented-line-match)
8839 (rst-adornment-level, rst-font-lock-adornment-level)
8840 (rst-font-lock-adornment-match)
8841 (rst-font-lock-handle-adornment-pre-match-form)
8842 (rst-font-lock-handle-adornment-matcher): Major revision of
8843 font-locking. Integrate with other code. Use `jit-lock-mode'.
8844
8845 (rst-preferred-adornments, rst-adjust-hook)
8846 (rst-new-adornment-down, rst-preferred-bullets)
8847 (rst-preferred-bullets, rst-indent, rst-indent-width)
8848 (rst-indent-field, rst-indent-literal-normal)
8849 (rst-indent-literal-minimized, rst-indent-comment): Change,
8850 extend and improve customization.
8851
8852 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
8853 (rst-normalize-cursor-position, rst-get-decoration)
8854 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
8855 (rst-rstrip, rst-toc-insert-find-delete-contents)
8856 (rst-shift-fill-region, rst-compute-bullet-tabs)
8857 (rst-debug-print-tabs, rst-debug-mark-found)
8858 (rst-shift-region-guts, rst-shift-region-right)
8859 (rst-shift-region-left, rst-use-char-classes)
8860 (rst-font-lock-keywords-function)
8861 (rst-font-lock-indentation-point)
8862 (rst-font-lock-find-unindented-line-begin)
8863 (rst-font-lock-find-unindented-line-end)
8864 (rst-font-lock-find-unindented-line)
8865 (rst-font-lock-adornment-point, rst-font-lock-level)
8866 (rst-adornment-level-alist): Remove functions and variables.
8867
8868 (rst-compare-adornments, rst-get-adornment-match)
8869 (rst-suggest-new-adornment, rst-get-adornments-around)
8870 (rst-adornment-complete-p, rst-get-next-adornment)
8871 (rst-adjust-adornment, rst-display-adornments-hierarchy)
8872 (rst-straighten-adornments): Standardize function names to
8873 use "adornment" instead of "decoration". Correct callers.
8874 Similar standardizing in many places.
8875
8876 (rst-update-section, rst-adjust, rst-promote-region)
8877 (rst-enumerate-region, rst-bullet-list-region)
8878 (rst-repeat-last-character): Correct use of `interactive'.
8879
8880 (rst-classify-adornment, rst-find-all-adornments)
8881 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
8882 (rst-find-leftmost-column, rst-repeat-last-character):
8883 Refactor functions.
8884
8885 (rst-find-title-line, rst-reset-section-caches)
8886 (rst-get-adornments-around, rst-adjust-adornment-work)
8887 (rst-arabic-to-roman, rst-roman-to-arabic)
8888 (rst-insert-list-pos, rst-insert-list-new-item)
8889 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
8890 New functions.
8891
8892 (rst-all-sections, rst-section-hierarchy)
8893 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
8894 New variables.
8895
8896 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
8897 configuration instead of only buffer. Change where necessary.
8898
8899 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
8900 (rst-shift-region, rst-adaptive-fill): New functions for
8901 indentation and filling.
8902
8903 (rst-comment-line-break, rst-comment-indent)
8904 (rst-comment-insert-comment, rst-comment-region)
8905 (rst-uncomment-region): New functions for handling comments.
8906
8907 (rst-compile): Quote shell arguments.
8908
8909 (rst-compile-pdf-preview, rst-compile-slides-preview):
8910 Delete temporary files after use.
8911
a43f98b3
GM
89122012-05-05 Glenn Morris <rgm@gnu.org>
8913
48176e8b
GM
8914 * calendar/cal-html.el: Optionally include holidays in the output.
8915 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
8916 (cal-html-holidays): New option.
8917 (cal-html-css-default): Add holiday entry.
8918 (holiday-in-range): Autoload it.
8919 (cal-html-htmlify-entry): Add optional class argument.
8920 (cal-html-htmlify-list): Add optional holidays argument.
8921 (cal-html-insert-agenda-days): Include holidays in the output.
8922 (cal-html-one-month): Maybe include holidays.
8923
a43f98b3
GM
8924 * calendar/holidays.el (holiday-in-range):
8925 Move here from cal-tex-list-holidays.
8926 * calendar/cal-tex.el (cal-tex-list-holidays):
8927 Make it an obsolete alias for holiday-in-range. Update all callers.
8928
fef9d149 89292012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
8930
8931 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
8932 Nextstep.
8933
248da2f4
RW
89342012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
8935
8936 * files.el (file-auto-mode-skip): New var.
8937 (set-auto-mode-1): Use it.
8938
f95e9344
SM
89392012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
8940
df96ab1e
SM
8941 * repeat.el: Use lexical-binding.
8942 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
8943 (repeat-undo-count): Remove.
8944 (repeat):
8945 * progmodes/octave-mod.el (octave-abbrev-start):
8946 * progmodes/f90.el (f90-abbrev-start):
8947 * face-remap.el (text-scale-adjust):
8948 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
8949
5342bb06
SM
8950 * emacs-lisp/pcase.el (pcase--let*): New function.
8951 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
8952 a bit more.
8953 (pcase--split-pred): Be more clever about ruling out overlap between
8954 a predicate and some constant pattern.
8955 (pcase--q1): Use `null' instead of (eq foo nil).
8956
f95e9344
SM
8957 * subr.el (setq-local, defvar-local): New macros.
8958 (kbd): Redefine as an alias.
8959 (with-selected-window): Leave unrelated frames alone.
8960 (set-temporary-overlay-map): New function.
8961
71873e2b
SM
89622012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
8963
8964 * subr.el (user-error): New function.
8965 * window.el (switch-to-buffer):
8966 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
8967 (smerge-match-conflict):
8968 * simple.el (previous-matching-history-element)
8969 (next-matching-history-element, goto-history-element, undo-more)
8970 (undo-start):
8971 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
8972 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
8973 (next-file, tags-loop-scan, list-tags, complete-tag):
8974 * progmodes/compile.el (compilation-loop):
8975 * mouse.el (mouse-minibuffer-check):
8976 * man.el (Man-bgproc-sentinel, Man-goto-page):
8977 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
8978 (Info-history-forward, Info-follow-reference, Info-menu)
8979 (Info-extract-menu-item, Info-extract-menu-counting)
8980 (Info-forward-node, Info-backward-node, Info-next-menu-item)
8981 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
8982 (Info-next-reference, Info-prev-reference, Info-index)
8983 (Info-index-next, Info-follow-nearest-node)
8984 (Info-copy-current-node-name):
8985 * imenu.el (imenu--make-index-alist)
8986 (imenu-default-create-index-function, imenu-add-to-menubar):
8987 * files.el (basic-save-buffer, recover-file):
8988 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
8989 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
8990 (checkdoc-message-text, checkdoc-defun):
8991 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
8992 * cus-edit.el (customize-changed-options, customize-rogue)
8993 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
8994 (custom-variable-mark-to-reset-standard)
8995 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
8996 (custom-file):
8997 * completion.el (check-completion-length):
8998 * comint.el (comint-search-arg)
8999 (comint-previous-matching-input-string-position)
9000 (comint-previous-matching-input)
9001 (comint-replace-by-expanded-history-before-point, comint-send-input)
9002 (comint-copy-old-input, comint-backward-matching-input)
9003 (comint-goto-process-mark, comint-set-process-mark):
9004 * calendar/calendar.el (calendar-cursor-to-date): Use it.
9005 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
9006
8a61ee22
SM
90072012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9008
66408d1e
SM
9009 * dabbrev.el (dabbrev--ignore-case-p): New function.
9010 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
9011 Use it.
9012
8a61ee22
SM
9013 * files.el (automount-dir-prefix): Mark as obsolete.
9014
3c74813a
GM
90152012-05-04 Glenn Morris <rgm@gnu.org>
9016
9017 * patcomp.el, play/bruce.el: Move to obsolete/.
9018
0bfcf5c5
PE
90192012-05-04 Paul Eggert <eggert@cs.ucla.edu>
9020
9021 Fix minor Y10k bugs.
9022 * arc-mode.el (archive-unixdate):
9023 * autoinsert.el (auto-insert-alist):
9024 * calc/calc-forms.el (math-this-year):
9025 * emacs-lisp/copyright.el (copyright-current-year)
9026 (copyright-update-year, copyright):
9027 * tar-mode.el (tar-clip-time-string):
9028 * time.el (display-time-update):
9029 Don't assume years have 4 digits.
9030
78f3273a
CY
90312012-05-04 Chong Yidong <cyd@gnu.org>
9032
9033 * dos-w32.el (file-name-buffer-file-type-alist)
9034 (direct-print-region-use-command-dot-com):
9035 * ffap.el (ffap-menu-regexp):
9036 * find-file.el (ff-special-constructs):
9037 * follow.el (follow-debug):
9038 * forms.el (forms--debug):
9039 * iswitchb.el (iswitchb-all-frames):
9040 * ido.el (ido-all-frames):
9041 * emacs-lisp/timer.el (timer-max-repeats):
9042 * mail/feedmail.el (feedmail-mail-send-hook)
9043 (feedmail-mail-send-hook-queued):
9044 * mail/footnote.el (footnote-signature-separator):
9045 * mail/mailabbrev.el (mail-alias-separator-string)
9046 (mail-abbrev-mode-regexp):
9047 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
9048 * progmodes/idlwave.el (idlwave-libinfo-file)
9049 (idlwave-default-completion-case-is-down)
9050 (idlwave-library-routines): Convert defvars to defcustoms.
9051
9052 * mail/rmail.el (rmail-decode-mime-charset):
9053 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
9054 (idlwave-shell-fix-inserted-breaks)
9055 (idlwave-shell-activate-alt-keybindings)
9056 (idlwave-shell-use-breakpoint-glyph):
9057 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
9058
f7ae6719
SM
90592012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
9060
9061 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
9062
47086495
WS
90632012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
9064
9065 * progmodes/verilog-mode.el (font-lock-keywords):
9066 Fix mis-highligting auto. Reported by Craig Barner.
9067 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
fc0c31f8 9068 defines from global name space. Reported by Dan Dever.
47086495
WS
9069 (verilog-auto-reset, verilog-auto-reset-widths)
9070 (verilog-auto-tieoff): Support using unbased numbers for
9071 AUTORESET and AUTOTIEOFF.
9072 (verilog-submit-bug-report): Update variable list.
9073 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
fc0c31f8 9074 parenthesis from not matching. Reported by Michael Rytting.
47086495
WS
9075 (verilog-auto-template-lint): Fix hash error when linting modules
9076 with no used templates.
9077 (verilog-warn, verilog-warn-error)
9078 (verilog-warn-fatal): When non-interactive report multiple
9079 warnings before exiting. Suggested by Brad Dobbie.
9080 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
9081 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
9082 to report unused template errors. Reported by Brad Dobbie.
9083 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
fc0c31f8 9084 nets, bug438. Reported by Vns Blore.
47086495
WS
9085 (verilog-auto-inout-module, verilog-auto-reg)
9086 (verilog-read-decls, verilog-read-sub-decls-sig)
9087 (verilog-signals-edit-wire-reg, verilog-signals-with):
9088 Fix passing of Verilog data types in ANSI input/output ports
fc0c31f8 9089 such as "output logic" into the AUTOs. Special case "wire" and
47086495
WS
9090 "reg" for backwards compatibility presuming Verilog 2001.
9091 (verilog-auto-ascii-enum): Add "auto enum" as alias.
9092 (verilog-preprocess): Fix replication of preprocess output.
9093 Reported by Brad Dobbie.
9094 (verilog-auto-inst-interfaced-ports):
9095 Create verilog-auto-inst-interfaced-ports, bug429.
9096 Reported by Julian Gorfajn.
9097 (verilog-after-save-font-hook)
9098 (verilog-before-save-font-hook): New variable.
9099 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
9100 (verilog-save-font-mods): Wrap disabling fontification, reported
9101 by David Rogoff.
9102 (verilog-do-indent, verilog-pretty-declarations-auto)
9103 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
9104 Reported by Pierre-David Pfister.
9105 (verilog-set-auto-endcomments): Fix endtask auto comments outside
9106 of class declarations, bug292. Reported by Kevin Heilman.
9107 (verilog-read-decls): Fix 'parameter type' not appearing in
9108 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
9109 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
fc0c31f8 9110 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
47086495
WS
9111 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
9112 Reported by David Kravitz.
9113
91142012-05-03 Michael McNamara <mac@mail.brushroad.com>
9115
9116 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
9117 assignment with tests in ifs and for loops.
9118 (verilog-extended-complete-re, verilog-complete-reg): Change so
9119 that DPI inport functions don't look like fuction declarations.
9120 (verilog-pretty-expr): Don't line up assignment
9121 operations to the test and increment in if and for loops
9122 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 9123 that DPI inport functions don't look like fuction declarations.
47086495 9124
2e51d4b5
KH
91252012-05-03 Kenichi Handa <handa@m17n.org>
9126
9127 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 9128 decoding, and show a warning message without signaling an error
2e51d4b5
KH
9129 (Bug#11282).
9130
2bd785a2
SM
91312012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
9132
9133 * emacs-lisp/bytecomp.el
9134 (byte-compile-file-form-custom-declare-variable): Compile all elements,
9135 since cconv.el might have introduced :fun-body, internal-make-closure,
9136 and friends for bytecomp to handle (bug#11391).
9137 * custom.el (defcustom): Avoid ((λ ..) ..).
9138
99d27583
SM
91392012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
9140
9141 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
9142
55a71479
JB
91432012-05-02 Juanma Barranquero <lekktu@gmail.com>
9144
9145 * notifications.el (dbus-debug):
9146 * term/linux.el (gpm-mouse-enable):
9147 * term/screen.el (xterm-register-default-colors): Declare.
9148
7b97c764
CY
91492012-05-02 Chong Yidong <cyd@gnu.org>
9150
2bc356d7
CY
9151 * cus-start.el (gc-cons-percentage, exec-suffixes)
9152 (dos-display-scancodes, dos-hyper-key, dos-super-key)
9153 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
9154 (make-cursor-line-fully-visible, void-text-area-pointer)
9155 (font-list-limit): Add customization data.
9156
7b97c764
CY
9157 * allout.el (allout-exposure-change-functions)
9158 (allout-structure-added-functions)
9159 (allout-structure-deleted-functions)
9160 (allout-structure-shifted-functions): Rename abnormal hooks from
9161 *-hook, and convert to defcustoms.
5d3385a0
JB
9162 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
9163 Convert to defcustoms.
7b97c764
CY
9164 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
9165
9166 * allout-widgets.el: Hook callers changed.
9167
90207a15 91682012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
9169
9170 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
9171 the yanked message in preference to the default value of
9172 buffer-file-coding-system.
9173
90207a15 91742012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 9175
5d3385a0
JB
9176 * window.el (display-buffer--action-function-custom-type):
9177 Fix entry.
d9558cad 9178
90207a15 91792012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
9180
9181 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
9182
d80ac57b
GM
91832012-05-01 Glenn Morris <rgm@gnu.org>
9184
976f7668
GM
9185 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
9186
beb83b5a
GM
9187 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
9188
d80ac57b
GM
9189 * cus-edit.el (custom-variable-documentation): Simplify with format.
9190
b593d6a9 91912012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 9192 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
9193
9194 * simple.el (suggest-key-bindings, execute-extended-command):
9195 Move from keyboard.c.
9196
782fbf2a
CY
91972012-05-01 Chong Yidong <cyd@gnu.org>
9198
9199 * follow.el: Eliminate advice.
9200 (set-process-filter, process-filter, sit-for): Advice deleted.
9201 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
9202 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
9203 Vars deleted.
782fbf2a
CY
9204 (follow-auto): Use a :set function.
9205 (follow-mode): Rewritten. Don't advise process filters.
9206 (follow-switch-to-current-buffer-all, follow-scroll-up)
9207 (follow-scroll-down): Assume follow-mode is bound.
9208 (follow-comint-scroll-to-bottom)
9209 (follow-align-compilation-windows): New functions.
9210 (follow--window-sorter): New function.
9211 (follow-all-followers): Use it to explicitly sort windows by their
9212 positions; don't make assumptions about next-window order.
9213 (follow-windows-start-end, follow-delete-other-windows-and-split)
9214 (follow-calc-win-start): Doc fix.
9215 (follow-windows-aligned-p, follow-select-if-visible): Don't call
9216 vertical-motion unnecessarily.
9217 (follow-adjust-window): New function.
9218 (follow-post-command-hook): Use it.
9219 (follow-call-set-process-filter, follow-call-process-filter)
9220 (follow-intercept-process-output, follow-tidy-process-filter-alist)
9221 (follow-stop-intercept-process-output, follow-generic-filter):
9222 Functions deleted.
9223 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
9224 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
9225 New functions, replacing advice on scroll-bar-* commands.
87233a14 9226 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
9227
9228 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
9229 (comint-postoutput-scroll-to-bottom): Use it.
9230 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 9231
290af740
GM
92322012-05-01 Glenn Morris <rgm@gnu.org>
9233
9234 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
9235 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
9236 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
9237 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
9238 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
9239 Remove no-byte-compile setting.
9240
6eac8dc9
SM
92412012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
9242
9243 * minibuffer.el (completion-table-with-quoting): Fix compatibility
9244 all-completions code to not return a number in the last cdr.
9245
9cc7819c
LL
92462012-04-30 Leo Liu <sdl.web@gmail.com>
9247
9248 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
9249 read-only error.
9250
c93b886f
CY
92512012-04-29 Chong Yidong <cyd@gnu.org>
9252
9253 * follow.el (follow-calc-win-end): Rewrite to handle partial
9254 screen lines correctly (Bug#8390).
9255 (follow-avoid-tail-recenter): Minor cleanup.
9256
8b6c19f4
SM
92572012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
9258
9259 Avoid the obsolete `assoc' package.
9260 * speedbar.el (speedbar-refresh): Avoid adelete.
9261 (speedbar-file-lists): Simplify and avoid aput.
9262 * man.el (Man--sections, Man--refpages): New vars, replacing
9263 Man-sections-alist and Man-refpages-alist.
9264 (Man-build-section-alist, Man-build-references-alist):
9265 Use them; avoid aput.
9266 (Man--last-section, Man--last-refpage): New vars.
9267 (Man-follow-manual-reference): Use them.
9268 Use the `default' arg of completing-read.
9269 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
9270
c5bb7569
CY
92712012-04-27 Chong Yidong <cyd@gnu.org>
9272
d1d2e2e8
CY
9273 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
9274
15cd8efd
CY
9275 * startup.el (x-apply-session-resources): New function.
9276
9277 * term/ns-win.el (ns-initialize-window-system):
9278 * term/w32-win.el (w32-initialize-window-system):
9279 * term/x-win.el (x-initialize-window-system): Use it to properly
9280 set menu-bar-mode and other vars from X resources, even if the
9281 initial frame is not a window-system frame (Bug#2299).
9282
c5bb7569
CY
9283 * subr.el (read-key): Avoid running filter function when setting
9284 up temporary tool bar entries (Bug#9922).
9285
a8e7d6d7 92862012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
9287
9288 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
9289 (Bug#11344)
9290
a8e7d6d7 92912012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
9292
9293 * select.el (xselect--encode-string): New function, split from
9294 xselect-convert-to-string.
9295 (xselect-convert-to-string): Use it.
9296 (xselect-convert-to-filename, xselect-convert-to-os)
9297 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
9298 returned strings are properly encoded (Bug#11315).
9299
a8e7d6d7 93002012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
9301
9302 * simple.el (delete-active-region): Move to killing custom group.
9303
a8e7d6d7 93042012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
9305
9306 * progmodes/which-func.el (which-func-current): Quote %
9307 characters for mode-line processing.
9308
578c1d4b 93092012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
9310
9311 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
9312 reaching eob (Bug#11286).
9313
a8e7d6d7 93142012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
9315
9316 * progmodes/gdb-mi.el (gdb-control-level): New variable.
9317 (gdb): Make it buffer-local and init to zero.
9318 (gdb-control-commands-regexp): New variable.
9319 (gdb-send): Don't wrap in "-interpreter-exec console" if
9320 gdb-control-level is positive. Increment gdb-control-level
9321 whenever the command matches gdb-control-commands-regexp, and
9322 decrement it each time the command is "end". (Bug#11279)
9323
a8e7d6d7 93242012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
9325
9326 * window.el (adjust-window-trailing-edge, enlarge-window)
9327 (shrink-window, window-resize):
9328 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
9329 windows (Bug#11276).
9330
b3608390
CY
93312012-04-27 Chong Yidong <cyd@gnu.org>
9332
9333 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 9334 fix "missing prefix" warning. All callers changed.
b3608390 9335
797e6e88
SM
93362012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
9337
9338 * emacs-lisp/assoc.el: Move to obsolete/.
9339
e95a67dc
SM
93402012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
9341
657c21e4 9342 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
9343
9344 * term/ns-win.el (ns-define-service):
9345 * progmodes/pascal.el (pascal-goto-defun):
9346 * progmodes/js.el (js--read-tab):
9347 * progmodes/etags.el (tags-lazy-completion-table):
9348 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
9349 * emacs-lisp/ewoc.el (ewoc--wrap):
9350 * emacs-lisp/assoc.el (aput, adelete, amake):
9351 * doc-view.el (doc-view-convert-current-doc):
9352 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
9353
cb3e7ae0
CY
93542012-04-26 Chong Yidong <cyd@gnu.org>
9355
dce04f7f
CY
9356 * image.el (image-type-from-buffer): Only return supported image
9357 type (Bug#9045).
9358
cb3e7ae0
CY
9359 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
9360 value, for symmetry with diff-end-of-hunk.
9361 (diff-split-hunk, diff-find-source-location)
9362 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
9363 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
9364 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
9365 compute the relevant hunk or file properly (Bug#6005).
9366 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
9367
0d42eb3e
SM
93682012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
9369
9370 * vc/vc-mtn.el:
9371 * vc/vc-hg.el:
9372 * vc/vc-git.el:
9373 * vc/vc-dir.el:
9374 * vc/vc-cvs.el:
9375 * vc/vc-bzr.el:
9376 * vc/vc-arch.el:
9377 * vc/vc.el: Replace lexical-let by lexical-binding.
9378 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
9379 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
9380 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
9381
f08ae1c9
CY
93822012-04-26 Chong Yidong <cyd@gnu.org>
9383
8b71081d
CY
9384 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
9385 (diff-mode-shared-map): Bind it to / and [remap undo].
9386
f08ae1c9
CY
9387 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
9388 (ediff-window-setup-function): Use it as the default, to set up
9389 windows based on whether the current frame is graphical (Bug#2138).
9390 (ediff-choose-window-setup-function-automatically): Make obsolete.
9391
9392 * vc/ediff-init.el: Always define ediff-pixel-width/height.
9393
ef24141c
SM
93942012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9395
cc356a5d
SM
9396 * ffap.el: Remove old code for obsolete package.
9397 (ffap-complete-as-file-p): Remove.
9398
b4ff4f1f
SM
9399 Use completion-table-with-quoting for comint and pcomplete.
9400 * comint.el (comint--unquote&requote-argument)
9401 (comint--unquote-argument, comint--requote-argument): New functions.
9402 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
9403 (comint-quote-filename): Use regexp-opt-charset.
9404 (comint--common-suffix, comint--common-quoted-suffix)
9405 (comint--table-subvert): Remove.
9406 (comint-unquote-function, comint-requote-function): New vars.
9407 (comint--complete-file-name-data): Use them with
9408 completion-table-with-quoting.
9409 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
9410 * pcomplete.el (pcomplete-arg-quote-list)
9411 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
9412 (pcomplete-unquote-argument-function): Default to non-nil.
9413 (pcomplete-unquote-argument): Simplify.
9414 (pcomplete--common-quoted-suffix): Remove.
9415 (pcomplete-requote-argument-function): New var.
9416 (pcomplete--common-suffix): New function.
9417 (pcomplete-completions-at-point): Use completion-table-with-quoting
9418 and completion-table-subvert.
9419
79c4eeb4
SM
9420 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
9421 (minibuffer--double-dollars): Preserve properties.
9422 (completion--sifn-requote): New function.
9423 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
9424
ef24141c
SM
9425 * minibuffer.el: Add support for completion of quoted/escaped data.
9426 (completion-table-with-quoting, completion-table-subvert): New funs.
9427 (completion--twq-try, completion--twq-all): New functions.
9428 (completion--nth-completion): New function.
9429 (completion-try-completion, completion-all-completions): Use it.
9430
784e7d6e
LL
94312012-04-25 Leo Liu <sdl.web@gmail.com>
9432
dd2ac746
SM
9433 * progmodes/python.el (python-pdbtrack-get-source-buffer):
9434 Use compilation-message if available to find real filename.
784e7d6e 9435
07875ee7
CY
94362012-04-25 Chong Yidong <cyd@gnu.org>
9437
9438 * vc/diff-mode.el (diff-setup-whitespace): New function.
9439 (diff-mode): Use it.
9440
9441 * vc/diff.el (diff-sentinel):
9442 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
9443 Whitespace mode variables based on diff style (Bug#8612).
9444
5055880d
LL
94452012-04-25 Leo Liu <sdl.web@gmail.com>
9446
daf75653
LL
9447 * progmodes/python.el (python-send-region): Add suffix .py to the
9448 temp file.
9449
5055880d
LL
9450 * files.el (auto-mode-alist): Use javascript-mode instead.
9451
db9b177b
AH
94522012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
9453
ef24141c 9454 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 9455
090bd7cb 9456 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 9457 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 9458 references, see Bug#9.
ef24141c 9459 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 9460 when receiving a fault reply.
ef24141c 9461 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 9462
090bd7cb 9463 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 9464 (soap-inspect-simple-type): New function.
db9b177b 9465
090bd7cb 9466 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 9467 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
9468 (soap-decode-basic-type, soap-encode-basic-type):
9469 support unsignedInt and double basic types.
db9b177b 9470 (soap-resolve-references-for-simple-type)
ef24141c
SM
9471 (soap-parse-simple-type, soap-encode-simple-type): New function.
9472 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 9473
090bd7cb 9474 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
9475 (soap-default-soapenc-types): Add integer, byte and anyURI types.
9476 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
9477 the local name of "soapenc:Array".
9478 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
9479 decoding integer, byte and anyURI xsd types.
9480
1fc6097b
CY
94812012-04-25 Chong Yidong <cyd@gnu.org>
9482
9483 * cus-edit.el (custom-buffer-create-internal): Update header text.
9484
afc6df87
EZ
94852012-04-25 Eli Zaretskii <eliz@gnu.org>
9486
9487 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
9488 settings on 'system-type', not on 'window-system'. On MS-Windows,
9489 set interactive-mode on in GDB.
9490
dfbd787f
SM
94912012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
9492
9493 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
9494 (ruby-syntax-propertize-regexp): Remove.
9495 (ruby-syntax-propertize-function): Split regexp into chunks.
9496 Match following code directly.
9497
85222d44
DG
94982012-04-24 Dmitry Gutov <dgutov@yandex.ru>
9499
51a8ea2a
DG
9500 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
9501 (ruby-syntax-propertize-regexp): New function.
9502 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
9503 by a special keyword.
9504
85222d44
DG
9505 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
9506 (ruby-syntax-general-delimiters-goto-beg)
9507 (ruby-syntax-propertize-general-delimiters): New functions.
9508 (ruby-syntax-propertize-function): Use them to handle GDL.
9509 (ruby-font-lock-keywords): Move old handling of GDL...
9510 (ruby-font-lock-syntactic-keywords): .. to here.
9511 (ruby-calculate-indent): Adjust indentation for GDL.
9512
b613912b
MA
95132012-04-24 Michael Albinus <michael.albinus@gmx.de>
9514
b5380639
MA
9515 * notifications.el (top): Remove unneeded declarations.
9516 (notifications-specification-version): Change to "1.2".
e43042fe 9517 (notifications-interface, notifications-notify-method)
b613912b
MA
9518 (notifications-close-notification-method): Fix docstring.
9519 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
9520 (notifications-notify): Add :action-items, :resident and
9521 :transient hints. Change "image_data" to "image-data" and
9522 "image_path" to "image-path".
b613912b
MA
9523 (notifications-get-capabilities): New defun.
9524
257440aa
LL
95252012-04-24 Leo Liu <sdl.web@gmail.com>
9526
9527 * progmodes/python.el: Move hideshow setup to the end.
9528
b1bac16e
MR
95292012-04-24 Martin Rudalics <rudalics@gmx.at>
9530
9531 * window.el (handle-select-window): Clear echo area since this is
9532 no more done by read_char (Bug#11304).
9533
d81bd059
SM
95342012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
9535
9536 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
9537 and `/ M' to filter-derived-mode.
9538 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
9539 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
9540 (ibuffer-mark-by-mode): Use default rather than initial-input.
9541 (ibuffer-filter-by-derived-mode): Autoload and require-match.
9542
c4cf6d91
IA
95432012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
9544
9545 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
9546 (ibuffer-filter-by-derived-mode): New filter.
9547 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
9548
7511ded8
CY
95492012-04-23 Andreas Politz <politza@fh-trier.de>
9550
9551 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
9552
775c916b
CY
95532012-04-23 Chong Yidong <cyd@gnu.org>
9554
9555 * cus-edit.el (customize-apropos, customize-apropos-options):
9556 Disable matching of non-option variables (Bug#11176).
9557 (customize-option, customize-option-other-window)
9558 (customize-changed-options): Doc fix.
9559 (customize-apropos-options, customize-apropos-faces)
9560 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
9561
9562 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 9563 Fix word list splitting (Bug#11132).
46c71e23
CY
9564 (apropos-symbol, apropos-keybinding, apropos-label)
9565 (apropos-property, apropos-function-button)
9566 (apropos-variable-button, apropos-misc-button): New faces.
9567 (apropos-symbol-face, apropos-keybinding-face)
9568 (apropos-label-face, apropos-property-face, apropos-match-face):
9569 Variables removed (Bug#8396).
9570 (apropos-library-button, apropos-format-plist, apropos-print)
9571 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 9572
2df41f9c
MA
95732012-04-23 Michael Albinus <michael.albinus@gmx.de>
9574
9575 * net/xesam.el (xesam-mode-map): Use let-bound map in
9576 initialization. (Bug#11292)
9577
da00640a
AM
95782012-04-23 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
9579
9580 Preserve ispell session localwords when switching back to
9581 original buffer.
9582
090bd7cb
JB
9583 * textmodes/ispell.el (ispell-buffer-session-localwords):
9584 New buffer-local variable to hold buffer session localwords.
ed9265fc 9585 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
9586 localwords.
9587 (ispell-command-loop, ispell-change-dictionary)
9588 (ispell-buffer-local-words): Preserve session localwords when
9589 needed.
9590
090bd7cb
JB
9591 * textmodes/flyspell.el (flyspell-process-localwords)
9592 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 9593
f621ccf5
AM
95942012-04-23 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
9595
090bd7cb
JB
9596 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
9597 using obsolete `translation-table-for-input'.
ef24141c
SM
9598 (ispell-word, ispell-process-line, ispell-complete-word):
9599 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 9600
c2d1019e
CY
96012012-04-22 Chong Yidong <cyd@gnu.org>
9602
9603 * cus-edit.el (custom-variable-menu)
9604 (custom-variable-reset-saved, custom-face-menu)
9605 (custom-face-reset-saved): If there is no saved value, make the
9606 "reset-saved" operation bring back the default (Bug#9509).
9607 (custom-face-state): Properly detect themed faces.
9608
eeddc531
CY
9609 * faces.el (face-spec-set): Stop supporting deprecated form of
9610 third arg.
9611
dcbf5805
MA
96122012-04-22 Michael Albinus <michael.albinus@gmx.de>
9613
9614 Move functions from C to Lisp. Make non-blocking method calls
9615 the default. Implement further D-Bus standard interfaces.
9616
ef24141c
SM
9617 * net/dbus.el (dbus-message-internal): Declare function.
9618 Remove unneeded function declarations.
dcbf5805
MA
9619 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
9620 (dbus-message-type-method-return, dbus-message-type-error)
9621 (dbus-message-type-signal): Declare variables. Remove local
9622 definitions.
9623 (dbus-interface-dbus, dbus-interface-peer)
9624 (dbus-interface-introspectable, dbus-interface-properties)
9625 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
9626 Adapt docstring.
9627 (dbus-interface-objectmanager): New defconst.
9628 (dbus-call-method, dbus-call-method-asynchronously)
9629 (dbus-send-signal, dbus-method-return-internal)
9630 (dbus-method-error-internal, dbus-register-service)
9631 (dbus-register-signal, dbus-register-method): New defuns, moved
9632 from dbusbind.c
9633 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
9634 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
9635 New defuns.
dcbf5805
MA
9636 (dbus-call-method-non-blocking): Make it an obsolete function.
9637 (dbus-unregister-object, dbus-unregister-service)
9638 (dbus-handle-event, dbus-register-property)
9639 (dbus-property-handler): Obey the new structure of
9640 `bus-registered-objects'.
9641 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
9642 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
9643 Use `dbus-call-method'.
9644
cf20dee0
CY
96452012-04-22 Chong Yidong <cyd@gnu.org>
9646
9647 * cus-edit.el (custom-commands, custom-reset-menu)
9648 (Custom-reset-standard): Tweak labels.
9649 (custom-reset-button-menu): Change default to t.
9650 (custom-buffer-create-internal): For the custom-reset-button-menu
9651 case, put the revert button first.
9652 (custom-group-subtitle): New face.
9653 (custom-group-value-create): Align docstring to a specific column.
9654
9655 * wid-edit.el (widget-documentation-link-add): Don't handle
9656 indentation in this function.
9657 (widget-documentation-string-indent-to): New function.
9658 (widget-documentation-string-value-create): Use it.
9659
9660 * autorevert.el (auto-revert):
9661 * epg-config.el (epg):
9662 * ibuffer.el (ibuffer):
9663 * mpc.el (mpc):
9664 * ses.el (ses):
9665 * eshell/eshell.el (eshell):
9666 * net/ange-ftp.el (ange-ftp):
9667 * progmodes/ebnf2ps.el (postscript):
9668 * progmodes/flymake.el (flymake):
9669 * progmodes/prolog.el (prolog):
9670 * progmodes/verilog-mode.el (verilog-mode):
9671 * progmodes/which-func.el (which-func):
9672 * term/xterm.el (xterm):
9673 * textmodes/picture.el (picture):
9674 * textmodes/tildify.el (tildify):
9675 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
9676 customization buffers.
9677
583e23bd
AM
96782012-04-22 Alan Mackenzie <acm@muc.de>
9679
9680 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
9681 Adding a ) can hide the resulting (..) from searches. Fix it.
9682 Bound the backward search to the position of the existing (.
9683
7dd51bf1
JB
96842012-04-21 Juanma Barranquero <lekktu@gmail.com>
9685
9686 * progmodes/verilog-mode.el (verilog-mode): Check whether
9687 which-func-modes is t before adding verilog-mode.
9688 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
9689
d64a438f
LL
96902012-04-21 Leo Liu <sdl.web@gmail.com>
9691
7dd51bf1 9692 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 9693
081e8d65
MV
96942012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
9695
9696 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
9697 filling of the last column of a table (Bug#5635).
9698 (woman-find-next-control-line): New arg, specifying an additional
9699 regexp component for the control line.
9700 (woman2-roff-buffer): Use it.
9701 (woman-break-table): New function.
9702 (woman2-TS): Use it.
9703
97042012-04-21 Chong Yidong <cyd@gnu.org>
9705
9706 * woman.el (woman-set-buffer-display-table, woman-decode-region)
9707 (woman-horizontal-escapes, woman-negative-vertical-space)
9708 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
9709 (WoMan-warn-ignored): Use ?\s instead of ?\ .
9710
ed571ccb
SM
97112012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9712
9713 * minibuffer.el (completion-file-name-table): Complete user names.
9714
39773899
LL
97152012-04-20 Leo Liu <sdl.web@gmail.com>
9716
9717 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
9718 and pcase-let*.
9719
de6ff46d
CY
97202012-04-20 Chong Yidong <cyd@gnu.org>
9721
9722 * server.el (server-execute): Respect initial-buffer-choice if it
9723 is a string and there are no files to open (Bug#2825).
9724 (server-create-window-system-frame, server-create-tty-frame):
9725 Don't switch buffers here.
2d0e8e61
CY
9726 (server-process-filter): Only try to open a window system frame if
9727 compiled with graphical support (Bug#8314).
de6ff46d 9728
54071013
DN
97292012-04-20 Dan Nicolaescu <dann@gnu.org>
9730
9731 * battery.el (battery-echo-area-format): Display remaining time
9732 for sysfs backend too (Bug#11269).
9733 (battery-linux-sysfs): Fix conditional for the charge.
9734
f30d612a
CY
97352012-04-20 Chong Yidong <cyd@gnu.org>
9736
c07a4c0b 9737 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
9738 (gdb-inferior-io--init-proc): New function.
9739 (gdb-init-1): Use it.
9740 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
9741 responsible for allocating a new pty and hooking it to gdb when
9742 the old pty gets an EIO due to process exit.
9743 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
9744 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
9745 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
9746
2116e93c
EZ
97472012-04-20 Eli Zaretskii <eliz@gnu.org>
9748
9749 * window.el (window-min-size, window-sizable, window-min-delta)
9750 (window-max-delta, window--resizable, window-resizable)
9751 (window-total-size, window-full-height-p, window-full-width-p)
9752 (window-in-direction, window--resize-mini-window, window-resize)
9753 (window--resize-child-windows-normal)
9754 (window--resize-child-windows, window--resize-siblings)
9755 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 9756 (enlarge-window, shrink-window): Doc fixes.
2116e93c 9757
c07a4c0b 97582012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 9759
ef24141c
SM
9760 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
9761 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
9762 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
9763 pty process (Bug#11273).
9764 (gdb-update): New arg to suppress talking to the gdb process.
9765 (gdb-done-or-error): Use it.
9766 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
9767 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
9768 sentinel not being called.
9769
9770 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
9771
d02766ab
CY
9772 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
9773
c07a4c0b 97742012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
9775
9776 * net/network-stream.el (open-network-stream): Doc fix.
9777
c07a4c0b 97782012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
9779
9780 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
9781
c07a4c0b 97822012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
9783
9784 Ensure searching for keywords is case sensitive.
9785
9786 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
9787 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
9788 (c-defun-name, c-mark-function, c-cpp-define-name)
9789 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 9790 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 9791
ef24141c
SM
9792 * progmodes/cc-mode.el (c-font-lock-fontify-region):
9793 Bind case-fold-search to nil.
f0f6bc35 9794
c07a4c0b 97952012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
9796
9797 * mail/sendmail.el (mail-bury): Call return action with the right
9798 Rmail buffer (Bug#11242).
9799
9a864fa2
CY
9800 * server.el (server-process-filter): Handle corner case where both
9801 tty and nowait options are present (Bug#11102).
9802
539aa513
EZ
98032012-04-20 Eli Zaretskii <eliz@gnu.org>
9804
9805 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
9806 (top level): Put into the executable the ident-style '$Id:' tag on
9807 windows-nt as well.
539aa513 9808
cfc7d5da
SM
98092012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9810
9811 * electric.el (electric-indent-post-self-insert-function): Check that
9812 electric-indent-mode is enabled in current buffer.
9813
5b01685c
JB
98142012-04-19 Juanma Barranquero <lekktu@gmail.com>
9815
9816 * imenu.el (imenu-progress-message): Restore; it is "used" in
9817 erc/erc-imenu.el and net/snmp-mode.el.
9818
4d6769e1
JB
98192012-04-19 Juanma Barranquero <lekktu@gmail.com>
9820
9821 * avoid.el (mouse-avoidance-mode): Mark unused arg.
9822 (mouse-avoidance-nudge-mouse): Remove unused binding.
9823
9824 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
9825
9826 * descr-text.el (describe-char):
9827 * progmodes/python.el (python-describe-symbol):
9828 Don't call `toggle-read-only', set `buffer-read-only'.
9829
9830 * imenu.el (imenu-default-goto-function): Mark unused args.
9831 (imenu-progress-message): Remove obsolete macro; all callers changed.
9832
9833 * subr.el (keymap-canonicalize): Remove unused binding.
9834 (read-passwd): Mark unused arg.
9835
9836 * tutorial.el (tutorial--display-changes): Remove unused binding.
9837 (tutorial--save-tutorial-to): Remove unused variable.
9838
9839 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
9840 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
9841 (package-generate-autoloads, package-menu--generate)
9842 (package-menu--find-upgrades): Remove unused bindings.
9843
9844 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
9845 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
9846 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
9847 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
9848 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
9849 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
9850 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
9851 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
9852 (cua-delete-char-rectangle): Mark unused args.
9853 (cua-align-rectangle): Remove unused binding.
9854
9855 * mail/rmail.el (compilation--message->loc)
9856 (epa--find-coding-system-for-mime-charset): Declare.
9857
9858 * net/dbus.el (dbus-register-service): Declare.
9859 (dbus-name-owner-changed-handler): Remove unused binding.
9860
9861 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
9862 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
9863 (nxml-scan-backward-within): Mark unused arg.
9864 (nxml-dynamic-markup-word): Remove unused binding.
9865
9866 * mouse.el (mouse-menu-major-mode-map):
9867 * emacs-lisp/authors.el (authors-scan-change-log)
9868 (authors-add-to-author-list):
9869 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
9870 * emacs-lisp/smie.el (smie-auto-fill):
9871 * mail/sendmail.el (mail-bury):
9872 * mail/unrmail.el (unrmail):
9873 * net/tls.el (open-tls-stream):
9874 * textmodes/picture.el (picture-mouse-set-point):
9875 Remove unused bindings.
9876
8c8fc5df
MA
98772012-04-19 Michael Albinus <michael.albinus@gmx.de>
9878
9879 * net/tramp.el (tramp-action-password): Let-bind
9880 `enable-recursive-minibuffers' to t.
9881
a77b0ac9
SS
98822012-04-18 Sam Steingold <sds@gnu.org>
9883
9884 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
9885 instead of 'string to accommodate values like [f11].
9886 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
9887 * progmodes/gdb-mi.el: Likewise.
9888
12a106a9
LL
98892012-04-18 Leo Liu <sdl.web@gmail.com>
9890
9891 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
9892 current buffer.
9893 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
9894 LOCAL is nil.
9895
bc6494ef
CY
98962012-04-18 Chong Yidong <cyd@gnu.org>
9897
9898 * simple.el (line-move): Use forward-line if in batch mode
9899 (Bug#11053).
9900
c09c46b2
CS
99012012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
9902
9903 * files.el (after-find-file): Do not try to add a final newline if
9904 the buffer is read-only (Bug#11156).
9905
5f6530ea
RS
99062012-04-17 Richard Stallman <rms@gnu.org>
9907
9908 * mail/rmail.el (rmail-start-mail):
9909 Pass (rmail-mail-return...) for the return-action.
9910 Pass (rmail-yank-current-message...) for the yank-action.
9911 (rmail-yank-current-message): New function.
9912 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
9913 (rmail-reply): Likewise.
9914 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
9915
9916 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 9917 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
9918 buffer, not newbuf.
9919
197b6f3c
JB
99202012-04-17 Juanma Barranquero <lekktu@gmail.com>
9921
9922 * server.el (server-ensure-safe-dir): Simplify.
9923
2311d8e5 99242012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 9925
2311d8e5
GM
9926 * emacs-lisp/smie.el: Provide smarter auto-filling.
9927 (smie-auto-fill): New function.
9928 (smie-setup): Use it.
98fb480e 9929
2311d8e5
GM
9930 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
9931
99322012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
9933
9934 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
9935 (comment-indent): Use it.
9936
2311d8e5 99372012-04-17 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
9938
9939 * ses.el: The overall change is to add cell renaming, that is
9940 setting fancy names for cell symbols other than name matching
9941 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 9942 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 9943 (ses-create-cell-variable): New defun.
2311d8e5 9944 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
9945 (ses-relocate-formula): Relocate formulas only for cells the
9946 symbols of which are not renamed, i.e. symbols whose names do not
9947 match regexp "\\`[A-Z]+[0-9]+\\'".
9948 (ses-relocate-all): Relocate values only for cells the symbols of
9949 which are not renamed.
9950 (ses-load): Create cells variables as the (ses-cell ...) are read,
9951 in order to check row col consistency with cell symbol name only
9952 for cells that are not renamed.
9953 (ses-replace-name-in-formula): New defun.
9954 (ses-rename-cell): New defun.
4bdf2ad2 9955
fc72b15c
PO
99562012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
9957
9958 * progmodes/perl-mode.el (perl-indent-parens-as-block):
9959 New option (bug#11118).
9960 (perl-calculate-indent): Respect it.
9961
12e10e61
GM
99622012-04-17 Glenn Morris <rgm@gnu.org>
9963
9964 * dired-aux.el (dired-mark-read-string): Doc fix.
9965
30009afd
DA
99662012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
9967
9968 * dired-aux.el (dired-mark-read-string): Offer optional completion.
9969 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
9970
41f03f4d
GM
99712012-04-17 Glenn Morris <rgm@gnu.org>
9972
9973 * mouse.el (mouse-drag-track):
9974 * speedbar.el (speedbar-frame-mode):
9975 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
9976
f45f90f3
LL
99772012-04-16 Leo Liu <sdl.web@gmail.com>
9978
9979 * progmodes/python.el: Trivial cleanup.
9980
94ee8db5
GM
99812012-04-16 Glenn Morris <rgm@gnu.org>
9982
121b8917
GM
9983 * vc/vc.el (vc-string-prefix-p):
9984 * vc/pcvs-util.el (cvs-string-prefix-p):
9985 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
9986 * mpc.el (mpc-string-prefix-p):
9987 Make all of these into obsolete aliases for string-prefix-p.
9988 Update callers.
9989 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
9990
1197ecfa
GM
9991 * textmodes/two-column.el: Move custom options to the start.
9992 (frame-width): Remove compat definition.
9993 (2C-associate-buffer, 2C-dissociate):
9994 Use with-current-buffer rather than save-excursion.
9995 (2C-dissociate): Force a mode-line update.
9996 (2C-autoscroll): Use ignore-errors.
9997
099e7202
GM
9998 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
9999 Autoload trivia.
10000
bf350d6a
GM
10001 * emacs-lisp/cl-extra.el (*random-state*):
10002 Remove unnecessary declaration.
10003
0e829eab
GM
10004 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
10005
e3ad7552
GM
10006 * play/cookie1.el (cookie-snarf):
10007 Give an explicit error if input file cannot be read.
10008
68892d27
GM
10009 * play/yow.el (yow-file): Use expand-file-name rather than concat.
10010
20f0c46d
GM
10011 * progmodes/perl-mode.el (c-macro-expand):
10012 Remove unnecessary autoload (it is in loaddefs.el).
10013
5a0978ce
GM
10014 * textmodes/picture.el (picture-desired-column)
10015 (picture-update-desired-column): Convert comments to doc-strings.
10016 (picture-substitute): Remove function.
10017 (picture-mode-map): Initialize in the defvar.
10018
6b955486
GM
10019 * woman.el: Remove eval-after-load for tar-mode.
10020 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
10021 (woman-tar-extract-file): Autoload it.
10022
94ee8db5
GM
10023 * frame.el (automatic-hscrolling): Make this alias obsolete.
10024
177eca34
AM
100252012-04-12 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
10026
090bd7cb 10027 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 10028 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
10029 (ispell-dictionary-base-alist): Revert to original XEmacs
10030 friendly version for default. [:alpha:] will be added in
090bd7cb 10031 `ispell-set-spellchecker-params' if needed.
177eca34 10032
c505aaeb
CY
100332012-04-16 Chong Yidong <cyd@gnu.org>
10034
b19dd9d1 10035 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
10036 (imagemagick-register-types): Use it.
10037 (imagemagick-types-inhibit): Add :set function. Allow new value
10038 of t to inhibit all types.
10039
10040 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
10041 so we can preload it.
10042
10043 * loadup.el (fboundp): Preload regexp-opt, needed by
10044 imagemagick-register-types.
10045
60efac0f
CY
100462012-04-15 Chong Yidong <cyd@gnu.org>
10047
10048 * frame.el (scrolling): Remove nearly unused customization group.
10049
10050 * scroll-all.el (scroll-all-mode): Move to windows group.
10051
5dd1713e
CY
100522012-04-15 Chong Yidong <cyd@gnu.org>
10053
10054 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
10055
e6fd457e
CY
100562012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10057
10058 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 10059 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 10060
e153c136
GM
100612012-04-15 Glenn Morris <rgm@gnu.org>
10062
10063 * simple.el (process-file-side-effects): Doc fix.
10064
e6fd457e 100652012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
10066
10067 * international/mule-cmds.el (set-language-environment): Doc fix.
10068
3603c3b1
JB
100692012-04-14 Juanma Barranquero <lekktu@gmail.com>
10070
10071 * server.el (server-auth-key, server-generate-key): Doc fixes.
10072 (server-get-auth-key): Doc fix. Use `string-match-p'.
10073 (server-start): Reflow docstring.
10074
e6de100c
LI
100752012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
10076
10077 * server.el (server-generate-key): `called-interactively-p'
10078 requires a parameter.
10079
29734c21
MN
100802012-04-14 Michal Nazarewicz <mina86@mina86.com>
10081
10082 * server.el (server-auth-key): New variable.
75f1671a 10083 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
10084 (server-start): Use the new variable and functions to allow
10085 setting a permanent server key (bug#9423).
10086
d65c9521
LL
100872012-04-14 Leo Liu <sdl.web@gmail.com>
10088
10089 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
10090
5ae255c7
PE
100912012-04-14 Paul Eggert <eggert@cs.ucla.edu>
10092
10093 Spelling fixes.
10094 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
10095 Emacs uses American spelling.
10096
d5e6342e
JB
100972012-04-14 Juanma Barranquero <lekktu@gmail.com>
10098
10099 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
10100 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
10101 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
10102 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
10103
ab036cd7
SM
101042012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10105
10106 * progmodes/which-func.el (which-func-modes): Change default.
10107
35dc09a1 101082012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
10109
10110 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
10111 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
10112
35dc09a1 101132012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
10114
10115 * custom.el (custom-theme-set-variables): Doc fix.
10116
35dc09a1 101172012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
10118
10119 * international/mule.el (set-auto-coding-for-load): Doc fix.
10120
35dc09a1 101212012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 10122
35dc09a1
GM
10123 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
10124 imenu work again for Objective C Mode. Correct the *-index values,
10125 these having been disturbed by a previous change in 2011-08.
57f845ee 10126
0de3da9f
AM
10127 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
10128 Correct two search limits.
10129
35dc09a1 101302012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
10131
10132 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
10133
35dc09a1 101342012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
10135
10136 * international/characters.el: Fix sorting.
10137
35dc09a1 101382012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
10139
10140 * international/characters.el: Add more missing Latin case pairs.
10141
35dc09a1 101422012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
10143
10144 * files.el (dir-locals-set-class-variables): Doc fix.
10145
35dc09a1 101462012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 10147
3f1b5bf8
EZ
10148 * international/characters.el: Add set-case-syntax-pair call for
10149 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
10150 counterpart. (Bug#11209)
10151
9f847f41
EZ
10152 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
10153
35dc09a1 101542012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
10155
10156 * calendar/holidays.el (calendar-check-holidays): Doc fix.
10157
35dc09a1 101582012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 10159
35dc09a1
GM
10160 * textmodes/ispell.el (ispell-dictionary-base-alist):
10161 Add data for Hebrew.
e2627d21 10162
35dc09a1 101632012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 10164
35dc09a1
GM
10165 * net/rcirc.el (rcirc-cmd-quit):
10166 Revert 2012-03-18 change (Bug#11192).
5c14e333 10167
35dc09a1 101682012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
10169
10170 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
10171
35dc09a1 101722012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 10173
4517fe3a
SM
10174 * minibuffer.el (completion-in-region-mode-map):
10175 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 10176
b472a594
VD
101772012-04-13 Vivek Dasmohapatra <vivek@etla.org>
10178
10179 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
10180
09b95ce3
MY
101812012-04-13 Masatake YAMATO <yamato@redhat.com>
10182
10183 * minibuffer.el (minibuffer-local-filename-syntax): New variable
10184 to allow `C-M-f' and `C-M-b' to move to the nearest path
10185 separator (bug#9511).
10186
4b63a9ca
LI
101872012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
10188
10189 * avoid.el: Require cl when compiling. And also move the
10190 `provide' to the end.
10191
7b55b8bf
TV
101922012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10193
10194 * avoid.el (mouse-avoidance-banish-position): New variable.
10195 (mouse-avoidance-banish-destination): Use it (bug#10165).
10196
adedaa1f
LL
101972012-04-13 Leo Liu <sdl.web@gmail.com>
10198
10199 * progmodes/which-func.el (which-func-modes): Add objc-mode.
10200
70e74021
KB
102012012-04-13 Ken Brown <kbrown@cornell.edu>
10202
10203 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 10204 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
10205 (browse-url-filename-alist): For the same reason, don't modify
10206 file:// URLs on Cygwin.
10207
e75e89ba
SM
102082012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
10209
10210 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
10211 the region on shift if the binding is already shifted (bug#11221).
10212
82f289a4
GM
102132012-04-12 Glenn Morris <rgm@gnu.org>
10214
10215 * mail/mailpost.el: Move to obsolete/.
10216
d333dc4c
DA
102172012-04-12 Drew Adams <drew.adams@oracle.com>
10218
10219 * imenu.el (imenu--generic-function): Ignore invisible definitions
10220 (bug#10123).
10221
0d15b5ba
VD
102222012-04-12 Vivek Dasmohapatra <vivek@etla.org>
10223
10224 * hexl.el (hexl-bits): New variable.
10225 (hexl-options): Mention the variable in the doc string.
75f1671a 10226 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 10227 (hexl-mode): Mention the new variable.
75f1671a
JB
10228 (hexl-mode, hexl-current-address, hexl-current-address):
10229 Use the displen.
0d15b5ba
VD
10230 (hexl-ascii-start-column): New function.
10231 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
10232 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
10233
64a440db
AM
102342012-04-12 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
10235
10236 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
10237 '("-i" ENCODING), in 2 separate command-line arguments, to specify
10238 the encoding, as expected by hunspell.
10239
6decb6c2
SM
102402012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
10241
10242 * battery.el (battery--linux-sysfs-regexp): New const.
10243 (battery-status-function): Use it. Remove yeeloong special case.
10244 (battery-yeeloong-sysfs): Remove.
10245 (battery-echo-area-format): Remove yeeloong special case.
10246
088be6fb
SM
102472012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
10248
6622e416
SM
10249 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
10250 Reported by Noah Friedman.
10251
088be6fb
SM
10252 * subr.el (read-passwd): Use read-string.
10253
b49f886e
LMI
102542012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10255
10256 * vcursor.el (vcursor-move): Increase the priority of the overlay
10257 (bug#9663).
10258
a63067fc
DD
102592012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
10260
10261 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
10262 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
10263
ac3cf14a
WS
102642012-04-11 William Stevenson <yhvh2000@gmail.com>
10265
10266 * textmodes/artist.el (artist-mode): Convert artist-mode to use
10267 define-minor-mode (bug#10760).
10268
c4fc691b 102692012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 10270
4d6769e1 10271 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
10272 that directories matching `grep-find-ignored-files' won't be
10273 pruned (bug#10351).
10274
af23e2e5
CY
102752012-04-11 Chong Yidong <cyd@gnu.org>
10276
10277 * startup.el (command-line): Remove support for long-obsolete
10278 variable font-lock-face-attributes.
10279
ab7ce8c1
GM
102802012-04-11 Glenn Morris <rgm@gnu.org>
10281
10282 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
10283
de8c03dc
SM
102842012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
10285
10286 * window.el (window--state-get-1): Obey window-point-insertion-type.
10287
050cc68b
LB
102882012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
10289
10290 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
10291 to previous function when point is on the first character of a
75f1671a 10292 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 10293
a38c310c
GM
102942012-04-11 Glenn Morris <rgm@gnu.org>
10295
effed0c2
GM
10296 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
10297 not just file-errors.
10298
a38c310c
GM
10299 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
10300 (vc-bzr-sha1): Use internal sha1.
10301
0221e323
SM
103022012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
10303
10304 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
10305
43956923
SG
103062012-04-10 SĂ©bastien Gross <seb@chezwam.org> (tiny change)
10307
10308 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
10309 that start in the middle of the line (bug#10496).
10310
6a8c9eaf
DN
103112012-04-10 Dan Nicolaescu <dann@gnu.org>
10312
10313 * battery.el (battery-linux-proc-acpi): Only one battery is
10314 discharged at a time, but that seems to confuse battery.el when
10315 computing `rate-type' for the battery not being discharged
10316 (bug#10332).
10317
1930bf5d
SM
103182012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
10319
2a718f6f
SM
10320 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
10321
599430d0
SM
10322 * international/quail.el: Use dolist and simplify.
10323 (quail-define-package, quail-update-keyboard-layout)
10324 (quail-define-rules): Use dolist.
10325 (quail-insert-kbd-layout, quail-get-translation): CSE.
10326
a2754b6c
SM
10327 * tmm.el: Use dolist, remove left over hook.
10328 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
10329 Use dolist.
10330 (calendar-load-hook): Don't mess with it.
10331
1930bf5d
SM
10332 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
10333 Use derived-mode-p. Run the diff asynchronously.
10334
9f67961c
LMI
103352012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
10336
10337 * obsolete/mouse-sel.el: Add an Obsolete-since header.
10338
2a8ce227
JB
103392012-04-10 Juanma Barranquero <lekktu@gmail.com>
10340
10341 * misc.el: Display absolute path of loaded DLLs (bug#10424).
10342 (list-dynamic-libraries--loaded): New function.
10343 (list-dynamic-libraries--refresh): Use it.
10344
8f33b5f8
NW
103452012-04-10 Nathan Weizenbaum <nweiz@google.com>
10346
1930bf5d
SM
10347 * progmodes/python.el (python-fill-paragraph):
10348 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
10349 disabled (bug#7018).
10350
b12f0439
L
103512012-04-10 Laimonas VÄ—bra <laimonas.vebra@gmail.com> (tiny change)
10352
1930bf5d 10353 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
10354 DOS/MS Windows for the Baltic languages. There are still plenty
10355 of texts written in this encoding/codepage (bug#6519).
b12f0439 10356
57c3bd01
GM
103572012-04-10 Glenn Morris <rgm@gnu.org>
10358
10359 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
10360 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
10361
6c3eab30
FA
103622012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
10363
1930bf5d 10364 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
10365 next-line "n" and previous-line "p" in order to make recentf more
10366 consistent with ibuffer, dired or org-mode (bug#9387).
10367
24d78a88
LMI
103682012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
10369
bc72b5d9
LMI
10370 * image.el (put-image): Return the overlay created instead of the
10371 optional input string (bug#7834). Note that this may break code
10372 that is (for some reason or other) depending on `put-image'
10373 returning the string.
10374
bd2dba5a
LMI
10375 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
10376
74beb59f
LMI
10377 * simple.el (zap-to-char): Allow zapping using input methods
10378 (bug#1580).
10379
24d78a88
LMI
10380 * textmodes/fill.el (fill-region): Leave point and mark where they
10381 were before filling (bug#5399).
10382
263f20cd
GM
103832012-04-09 Glenn Morris <rgm@gnu.org>
10384
10385 * version.el (emacs-bzr-get-version):
10386 Handle lightweight checkouts of local branches.
10387
58d1f797
AS
103882012-04-09 Andreas Schwab <schwab@linux-m68k.org>
10389
263f20cd 10390 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 10391
b4d3bc10
CY
103922012-04-09 Chong Yidong <cyd@gnu.org>
10393
10394 * custom.el (custom-variable-p): Return nil for non-symbol
10395 arguments instead of signaling an error.
10396 (user-variable-p): Obsolete alias for custom-variable-p.
10397
10398 * apropos.el (apropos-variable):
10399 * files-x.el (read-file-local-variable):
10400 * simple.el (set-variable):
10401 * woman.el (woman-mini-help):
10402 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
10403
fd06db5d
GM
104042012-04-09 Glenn Morris <rgm@gnu.org>
10405
e5fcdb5e
GM
10406 * startup.el (normal-top-level): Don't look for leim-list.el
10407 in places where it will not be found. (Bug#910)
10408
fd06db5d
GM
10409 * international/mule-cmds.el (set-default-coding-systems):
10410 * files.el (normal-mode):
10411 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
10412 This function was removed with ucs-tables.el in 2008.
10413
b39bb7e1
EZ
104142012-04-08 Eli Zaretskii <eliz@gnu.org>
10415
10416 * textmodes/ispell.el (ispell-check-version): For hunspell, set
10417 ispell-encoding8-command to "-i", without a trailing space.
10418 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
10419 separate command-line arguments, to specify the encoding, since
10420 that's how hunspell expects it.
10421
5c5b8e23
GM
104222012-04-08 Glenn Morris <rgm@gnu.org>
10423
10424 * loadup.el: Load bindings before cus-start.
10425 This reduces somewhat the number of "rogue" settings in emacs -Q.
10426
a1ed8b05
GM
104272012-04-07 Glenn Morris <rgm@gnu.org>
10428
10429 * version.el (emacs-bzr-get-version): New function.
dfae128a 10430 (emacs-bzr-version): New variable.
a1ed8b05
GM
10431 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
10432 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
10433
b142f158
EZ
104342012-04-07 Eli Zaretskii <eliz@gnu.org>
10435
dfae128a
GM
10436 * international/uni-bidi.el, international/uni-category.el:
10437 * international/uni-combining.el, international/uni-decimal.el:
10438 * international/uni-decomposition.el, international/uni-digit.el:
10439 * international/uni-lowercase.el, international/uni-mirrored.el:
10440 * international/uni-name.el, international/uni-numeric.el:
10441 * international/uni-titlecase.el, international/uni-uppercase.el:
10442 Update for Unicode 6.1.
b142f158 10443
9078ead6
EZ
104442012-04-07 Eli Zaretskii <eliz@gnu.org>
10445
10446 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
10447
f23d2c7d
LMI
104482012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
10449
10450 * window.el (shrink-window): Mention the `window-min-height'
10451 variable in the doc string.
10452
0a0a3573
BG
104532012-04-05 Bastien Guerry <bzg@altern.org>
10454
10455 * color.el (color-lighten-name): Fix typo.
10456
e5248ac9
SM
104572012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
10458
10459 * server.el (server--on-display-p): New function.
10460 (server--on-display-p): Use it.
10461
b4243e22
GV
104622012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
10463
10464 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
10465 (bug#11145).
10466
305d9f44
SM
104672012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
10468
10469 * comint.el (comint--common-quoted-suffix): Check string boundary
10470 before comparing (bug#11158).
10471 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
10472
3d439cd1
CY
104732012-04-04 Chong Yidong <cyd@gnu.org>
10474
321cc491
CY
10475 * minibuffer.el (completion-extra-properties): Doc fix.
10476
3d439cd1
CY
10477 * subr.el (delayed-warnings-hook): Doc fix.
10478
2d562c0f
DU
104792012-04-04 Daiki Ueno <ueno@unixuser.org>
10480
10481 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
10482 selection (Bug#11159).
10483 (epa-insert-keys): Inform that the default public key will be
10484 exported if no key is selected.
10485
4443f204
RS
104862012-04-04 Richard Stallman <rms@gnu.org>
10487
10488 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
10489
529c06b6
CY
104902012-04-03 Chong Yidong <cyd@gnu.org>
10491
10492 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
10493 mail-insert-file, not its obsolete alias mail-attach-file.
10494
66b907dc
MA
104952012-04-03 Michael Albinus <michael.albinus@gmx.de>
10496
10497 * notifications.el (notifications-notify): Fix docstring.
10498
c0ea195d
GM
104992012-04-02 Glenn Morris <rgm@gnu.org>
10500
10501 * emacs-lisp/authors.el (authors-aliases): Another addition.
10502
5ca64e00
MA
105032012-04-02 Michael Albinus <michael.albinus@gmx.de>
10504
10505 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
10506 `tramp-compat-call-process' instead of `tramp-local-call-process'.
10507 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
10508
42ee526b
CY
105092012-04-01 Chong Yidong <cyd@gnu.org>
10510
10511 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
10512 Handle root directory properly.
10513 (copy-directory): Caller changed.
10514
10515 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
10516 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
10517
0b021094
GM
105182012-03-31 Glenn Morris <rgm@gnu.org>
10519
40f86458
GM
10520 * term/xterm.el (xterm-extra-capabilities): Doc fix.
10521
7019c177
GM
10522 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
10523
a1daddd6
GM
10524 * calendar/calendar.el (calendar-window-list)
10525 (calendar-hide-window): Restore. (Bug#11140)
10526 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
10527
0b021094
GM
10528 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
10529
40311efc
TV
105302012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10531
10532 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
10533 Check if file is a symlink (Bug#10489).
10534
10535 * files.el (copy-directory): Likewise.
10536
5319014e
CY
105372012-03-30 Chong Yidong <cyd@gnu.org>
10538
10539 * image.el (imagemagick-types-inhibit)
10540 (imagemagick-register-types): Doc fix.
10541
935d1290
AM
105422012-03-30 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
10543
090bd7cb 10544 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 10545 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 10546 and treats ~word as ordinary words in pipe mode.
935d1290 10547
61c6e8fd
GM
105482012-03-30 Glenn Morris <rgm@gnu.org>
10549
10550 * tutorial.el (help-with-tutorial): Ensure local variables don't
10551 happen to make the buffer read-only. (Bug#11127)
10552
81fdff00
SM
105532012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
10554
10555 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
10556 (perl-calculate-indent): Return `noindent' in strings.
10557
6e7a6ec0
SS
105582012-03-28 Sam Steingold <sds@gnu.org>
10559
10560 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
10561 instead of the broken adhockery which does not prevent calendar
10562 buffers from being displayed at random after exit.
10563 (calendar-window-list, calendar-hide-window): Remove the broken
10564 adhockery.
10565
fee88ca0
GM
105662012-03-28 Glenn Morris <rgm@gnu.org>
10567
10568 * replace.el (query-replace-map): Doc fix.
10569
38de3354
AS
105702012-03-28 Andreas Schwab <schwab@linux-m68k.org>
10571
10572 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
10573 contents. (Bug#11109)
10574
b973155e
SM
105752012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
10576
10577 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
10578 (bug#11077).
10579 (avl-tree--check, avl-tree--check-node): New funs.
10580
dcb6e7b3
MR
105812012-03-27 Martin Rudalics <rudalics@gmx.at>
10582
10583 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
10584 (switch-to-prev-buffer, switch-to-next-buffer):
10585 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
10586 showing a buffer already is done on the same frame.
10587
b4fa35fa
GM
105882012-03-27 Glenn Morris <rgm@gnu.org>
10589
10590 * startup.el (mail-host-address): Doc fix.
10591
f9210e18
SM
105922012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10593
10594 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
10595 than 197 variables.
10596
c0bf7753
AF
105972012-03-26 Ami Fischman <ami@fischman.org>
10598
10599 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
10600
33da7b16
GM
106012012-03-26 Glenn Morris <rgm@gnu.org>
10602
02243d9d
GM
10603 * files.el (save-buffers-kill-emacs): Doc fix.
10604
33da7b16
GM
10605 * startup.el (normal-top-level, command-line, command-line-1):
10606 Give them doc strings.
10607
e5a69fd0
EZ
106082012-03-25 Eli Zaretskii <eliz@gnu.org>
10609
10610 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 10611 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 10612
9a69676a
CY
106132012-03-25 Chong Yidong <cyd@gnu.org>
10614
4125cb8b
CY
10615 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
10616 theme if it was previously enabled before (Bug#11031).
10617
dd470960
CY
10618 * cus-theme.el (custom-theme-write-faces): Retrieve current face
10619 spec with custom-face-get-current-spec if its :shown-value is not
10620 determined yet (Bug#9337).
4125cb8b 10621 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 10622
9a69676a
CY
10623 * button.el (button-at): Minor addition to docstring.
10624
6e7e90fa
SL
106252012-03-24 Simon Leinen <simon.leinen@gmail.com>
10626
10627 * vc/vc.el (vc-merge): Fix a prompt.
10628
f06e2758
CY
106292012-03-24 Chong Yidong <cyd@gnu.org>
10630
10631 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
10632 point (Bug#9623).
10633
6e7e90fa
SL
10634 * button.el (button-at): Minor addition to docstring.
10635
b9d0879b
SM
106362012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
10637
10638 * newcomment.el (comment-choose-indent): No space after BOL.
10639
e71cebb3
SS
106402012-03-22 Sam Steingold <sds@gnu.org>
10641
10642 * window.el (switch-to-prev-buffer): Revert last patch because the
10643 bug turned out to be an advertised feature (Elisp manual 28.14).
10644
335aff35
GM
106452012-03-22 Glenn Morris <rgm@gnu.org>
10646
10647 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
10648 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
10649
c676576a
LMI
106502012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
10651
10652 * net/network-stream.el (network-stream-open-starttls): Make error
10653 message under Windows be less misleading.
10654
126f3d39
LW
106552012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
10656
10657 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
10658 understands (bug#9942).
10659
64fee311
CY
106602012-03-22 Chong Yidong <cyd@gnu.org>
10661
10662 * simple.el (end-of-visible-line): Handle return value of
10663 next-single-property-change properly (Bug#9371).
10664
a640d29a
KH
106652012-03-22 Kenichi Handa <handa@m17n.org>
10666
10667 * international/quail.el (quail-insert-kbd-layout): Fix previous
10668 change. To avoid unwanted bidi reordering, use
10669 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
10670
39675016
DG
106712012-03-21 Dmitry Gutov <dgutov@yandex.ru>
10672
10673 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
10674 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
10675 (ruby-beginning-of-indent): Be more careful with the difference
10676 between word-boundary and symbol boundary.
10677 (ruby-mode-syntax-table): Make : a symbol constituent.
10678
0a6934fc 106792012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 10680
3d008e4f
SM
10681 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
10682
0a6934fc
SM
106832012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
10684
af67c9d7
SM
10685 * progmodes/etags.el (tags-completion-at-point-function):
10686 Improve last fix.
10687
1acad97c
SM
10688 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
10689
e298b5da
SS
106902012-03-21 Sam Steingold <sds@gnu.org>
10691
10692 * progmodes/etags.el (tags-completion-at-point-function):
10693 Avoid the error when point is inside the pattern.
10694
91d82a70
JY
106952012-03-21 John Yates <john@yates-sheets.org> (tiny change)
10696
10697 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
10698 line (Bug#10855).
10699
69188b79
CY
107002012-03-21 Drew Adams <drew.adams@oracle.com>
10701
10702 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
10703
99fc91fe
AK
107042012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
10705
10706 * ido.el (ido-set-current-directory, ido-read-internal)
10707 (ido-choose-completion-string, ido-completion-help): Handle nil
10708 value of ido-completion-buffer (Bug#11008).
10709
087bbb4c
SS
107102012-03-21 Sam Steingold <sds@gnu.org>
10711
10712 * window.el (switch-to-prev-buffer): Do not switch to a visible
10713 window previous buffer, just like with the frame previous buffers.
10714
fb5b8aca
CY
107152012-03-21 Chong Yidong <cyd@gnu.org>
10716
10717 * faces.el (make-face, make-empty-face, copy-face):
10718 * face-remap.el (face-remap-add-relative, face-remap-set-base):
10719 Doc fixes.
10720
dc9924b8
SM
107212012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
10722
10723 * wid-edit.el (widget-complete-field): Remove (bug#11051).
10724 (widget-complete): Remove broken use of it.
10725
f0bcceb9
CY
107262012-03-20 Chong Yidong <cyd@gnu.org>
10727
dc9924b8
SM
10728 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
10729 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
10730 characters.
10731
ee52ebf3
TH
107322012-03-20 Tassilo Horn <tassilo@member.fsf.org>
10733
10734 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
10735 to draw rectangles, not squares. (Regression introduced by revno
10736 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
10737
4c5779ab
CY
107382012-03-18 Chong Yidong <cyd@gnu.org>
10739
10740 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
10741 it is not yet defined (for temacs).
10742
15360934
LL
107432012-03-18 Leo Liu <sdl.web@gmail.com>
10744
735135f9
PE
10745 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
10746 prefix.
15360934 10747
d9a8eb66
EZ
107482012-03-17 Eli Zaretskii <eliz@gnu.org>
10749
10750 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
10751 (ispell-choices-win-default-height, ispell-silently-savep)
10752 (ispell-dictionary-alist, ispell-encoding8-command)
10753 (ispell-check-version, ispell-aspell-find-dictionary)
10754 (ispell-valid-dictionary-list, ispell-words-keyword)
10755 (ispell-get-word, ispell-internal-change-dictionary)
10756 (ispell-region, ispell-skip-region-list)
10757 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
10758 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
10759 (ispell-message-text-end, ispell-message)
10760 (ispell-buffer-local-parsing): Doc fix.
10761
f02ff80d
J
107622012-03-13 Jambunathan K <kjambunathan@gmail.com>
10763
10764 * htmlfontify.el: Add support for code block fontification for ODT
10765 export (Bug #9914).
10766 (hfy-optimisations): Define new option
10767 `body-text-only'
10768 (hfy-fontify-buffer): Honor above setting.
10769 (hfy-begin-span, hfy-end-span): New routines factored out form
10770 `hfy-fontify-buffer'.
10771 (hfy-begin-span-handler, hfy-end-span-handler): New variables
10772 that permit insertion of custom tags.
10773 (hfy-fontify-buffer): Use above handlers.
10774 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
10775 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 10776 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 10777 over multiple runs. This is made possible by having the caller let
f02ff80d
J
10778 bind a special variable `hfy-user-sheet-assoc'.
10779 (htmlfontify-string): New defun.
10780 (hfy-compile-face-map): Make sure that the last char in the
10781 buffer is correctly fontified.
10782 (hfy-face-resolve-face): Whitespace only change.
10783
9ac7a13f
EZ
107842012-03-17 Eli Zaretskii <eliz@gnu.org>
10785
10786 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
10787 message more clear.
10788
e2b5bdd7
LL
107892012-03-16 Leo Liu <sdl.web@gmail.com>
10790
10791 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
10792
2e492df3
AM
107932012-03-16 Alan Mackenzie <acm@muc.de>
10794
10795 Further optimise the handling of large macros.
10796
10797 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
10798 limit to a call of `c-literal-limits'.
10799 (c-determine-+ve-limit): New function.
dc9924b8
SM
10800 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
10801 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
10802 In CASE 5B, restrict a search limit to 500.
10803 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
10804
10805 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
10806 Restrict macro bounds to +-500 from after-change's BEG END.
10807
50e94f0c
LL
108082012-03-16 Leo Liu <sdl.web@gmail.com>
10809
10810 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
10811
6f09f6ed
AH
108122012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
10813
10814 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 10815 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 10816
c7e73d51
GM
108172012-03-16 Glenn Morris <rgm@gnu.org>
10818
da986230
GM
10819 * view.el (view-buffer, view-buffer-other-window)
10820 (view-buffer-other-frame): Doc fixes re special mode-class.
10821
0835f01e
GM
10822 * subr.el (eval-after-load): If named feature is provided not from
10823 a file, run after-load forms. (Bug#10946)
10824
c7e73d51
GM
10825 * calendar/calendar.el (calendar-insert-at-column):
10826 Handle non-unit-width characters a bit better. (Bug#10978)
10827
3f2eafd1
CY
108282012-03-15 Chong Yidong <cyd@gnu.org>
10829
10830 * emacs-lisp/ring.el (ring-extend): New function.
10831 (ring-insert+extend): Extend the ring correctly (Bug#11019).
10832
10833 * comint.el (comint-read-input-ring)
10834 (comint-add-to-input-history): Grow comint-input-ring lazily.
10835
103af3fe
SM
108362012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
10837
663b1677
SM
10838 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
10839 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
10840
103af3fe
SM
10841 * imenu.el: Fix multiple inheritance breakage (bug#9199).
10842 (imenu-add-to-menubar): Don't add a redundant index.
10843 (imenu-update-menubar): Handle a dynamically composed keymap.
10844
899cb7cb
KY
108452012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
10846
10847 * mail/sendmail.el (mail-encode-header):
10848 Bind rfc2047-encode-encoded-words to nil.
10849
3809f91d
GM
108502012-03-13 Glenn Morris <rgm@gnu.org>
10851
10852 * calendar/calendar.el (calendar-string-spread):
10853 Handle non-unit-width characters a bit better. (Bug#10978)
10854
9e345a01
LL
108552012-03-13 Leo Liu <sdl.web@gmail.com>
10856
10857 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
10858 directory and file as argument (Bug#10822).
10859
4a07df36
KS
108602012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
10861
10862 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
10863 For dynamically generated code, follow $PC.
10864 (gdb-disassembly-handler-custom): Handle no function name case.
10865
4aaa9356
TL
108662012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
10867
10868 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
10869 * emulation/ws-mode.el (ws-query-replace):
10870 * sort.el (sort-regexp-fields):
10871 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
10872
225979da
SM
108732012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10874
10875 * dabbrev.el: Fix cycle completion order (bug#10963).
10876 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
10877 (dabbrev-completion): Don't use an obarray; provide
10878 a cycle-sort-function.
10879
e2f1fdab
LL
108802012-03-12 Leo Liu <sdl.web@gmail.com>
10881
dc9924b8 10882 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
10883 (kill-do-not-save-duplicates): Doc fix.
10884
b19490ed
SM
108852012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10886
10887 * dabbrev.el: Fix cycle completion (bug#10963).
10888 Use lexical binding and wrap to 80 columns.
10889 (dabbrev-completion): Delay computing the list of completions.
10890
4b05d722
KH
108912012-03-12 Kenichi Handa <handa@m17n.org>
10892
10893 * international/quail.el (quail-insert-kbd-layout): Surround each
10894 row by LRO and PDF instead of inserting many LRMs. Pad the left
10895 and right of each non-spacing marks. Insert invisible space
10896 between lower and upper characters to prevent composition.
10897
dbbc2e69
SM
108982012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10899
10900 * minibuffer.el (minibuffer-complete): Don't get confused when the
10901 function is run twice via different commands (bug#10958).
10902 (complete-with-action): Fix docstring.
10903
292112ed
CY
109042012-03-12 Chong Yidong <cyd@gnu.org>
10905
5d1ac394
CY
10906 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
10907 (nxml-completion-at-point-function): New function.
10908 (nxml-mode): Use it.
10909 (nxml-bind-meta-tab-to-complete-flag): Default to t.
10910
292112ed
CY
10911 * emacs-lisp/package.el (package-unpack, package-unpack-single):
10912 Load generated autoloads file before byte compiling (Bug#10970).
10913 (package--make-autoloads-and-compile): New helper fun.
10914
4098f8f7
CS
109152012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
10916
10917 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
10918
8f754691
MA
109192012-03-11 Michael Albinus <michael.albinus@gmx.de>
10920
10921 * autorevert.el (auto-revert-handler): Ensure, that
10922 file-readable-p is applied only for local files or in
10923 auto-revert-tail-mode.
10924
e29ab36b
AS
109252012-03-11 Andreas Schwab <schwab@linux-m68k.org>
10926
dbbc2e69
SM
10927 * server.el (server-eval-at): Handle non-tcp connections.
10928 Decode result string.
ad0bf5b6 10929
e29ab36b
AS
10930 * server.el (server-msg-size): New constant.
10931 (server-reply-print): New function.
10932 (server-eval-and-print): Use it.
10933 (server-eval-at): Use server-quote-arg and server-unquote-arg.
10934 Handle -print-nonl.
10935
de5939ba
CS
109362012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
10937
10938 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
10939 (Bug#10987).
10940
0c93eabf
CY
109412012-03-11 Chong Yidong <cyd@gnu.org>
10942
397a688f
CY
10943 * simple.el (goto-line): Doc fix (Bug#9938).
10944
2cc775f9
CY
10945 * subr.el (save-window-excursion): Doc fix (Bug#9979).
10946
0c93eabf
CY
10947 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
10948 when finished (Bug#10963).
10949
c491fa41
MR
109502012-03-11 Martin Rudalics <rudalics@gmx.at>
10951
10952 * window.el (split-window-below): Fix bug in case where
10953 split-window-keep-point is nil (Bug#10971).
10954
300e8fa5
JL
109552012-03-11 Juri Linkov <juri@jurta.org>
10956
10957 * replace.el (replace-highlight): Set isearch-word to nil
10958 unconditionally. (Bug#10887)
10959
dbf6c5a1
EZ
109602012-03-10 Eli Zaretskii <eliz@gnu.org>
10961
10962 * net/mairix.el (mairix-replace-invalid-chars): Rename from
10963 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 10964 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
10965 (mairix-widget-create-query): Add usage information about mairix
10966 search forms: negating words, searching for substrings, etc.
10967
b9e501de
JP
109682012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
10969
10970 * international/fontset.el (font-encoding-alist): Add an entry for
10971 ksx1001 (Bug#5667).
10972
92795c91
RS
109732012-03-10 Richard Stallman <rms@gnu.org>
10974
1694e6c1
RS
10975 * mail/sendmail.el (mail-encode-header):
10976 Set rfc2047-encode-encoded-words.
10977
607e8555
RS
10978 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
10979
de3bc99a
RS
10980 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
10981 view buffer means not swapped.
10982 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
10983 (rmail-write-region-annotate): Error if real text has disappeared.
10984
92795c91
RS
10985 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
10986
699bd04e
CY
109872012-03-10 Chong Yidong <cyd@gnu.org>
10988
10989 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
10990 * emulation/cua-base.el (cua--init-keymaps):
10991 Add delete-forward-char to remappings (Bug#9666).
699bd04e 10992
570a1714
MR
109932012-03-10 Martin Rudalics <rudalics@gmx.at>
10994
dbbc2e69
SM
10995 * speedbar.el (speedbar-unhighlight-one-tag-line):
10996 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 10997
82dcf4e4
CY
109982012-03-10 Chong Yidong <cyd@gnu.org>
10999
7a2c7ca7
CY
11000 * minibuffer.el (completion-in-region, completion-help-at-point):
11001 Give the completion field overlay a high priority (Bug#6830).
11002
82dcf4e4
CY
11003 * dired.el (dired-goto-file): Recognize absolute file name
11004 listings (Bug#7126).
11005 (dired-goto-file-1): New helper function.
11006 (dired-toggle-read-only): Inhibit warnings.
11007
052e28ac
MA
110082012-03-09 Michael Albinus <michael.albinus@gmx.de>
11009
75f1671a 11010 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
11011 there are no properties.
11012
95d5e396
LL
110132012-03-09 Leo Liu <sdl.web@gmail.com>
11014
11015 * savehist.el (savehist-printable): Stricter check for string
11016 value (Bug#10937).
11017
3f018d6d
EZ
110182012-03-09 Eli Zaretskii <eliz@gnu.org>
11019
dbbc2e69
SM
11020 * mail/smtpmail.el (smtpmail-send-it):
11021 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
11022 valid mbox format.
11023
f7fd3d79
GM
110242012-03-09 Glenn Morris <rgm@gnu.org>
11025
11026 * files.el (dir-locals-find-file):
11027 Don't check result is regular, readable.
11028 (dir-locals-read-from-file): Demote errors.
11029
6ff6e72f
EZ
110302012-03-08 Eli Zaretskii <eliz@gnu.org>
11031
dbbc2e69
SM
11032 * international/quail.el (quail-insert-kbd-layout):
11033 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
11034 layout cell, to prevent their reordering by bidi display engine.
11035 For details, see the discussion in
11036 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
11037
9cec7834
AM
110382012-03-08 Alan Mackenzie <acm@muc.de>
11039
11040 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
11041 the starting position; make it extend the marked region when
11042 invoked repeatedly - all under appropriate circumstances.
11043 Fixes bugs #5525, #10906.
11044
9a40b8d4
GM
110452012-03-08 Glenn Morris <rgm@gnu.org>
11046
11047 * files.el (locate-dominating-file, dir-locals-find-file):
11048 Undo 2012-03-06 change.
11049
7a08ed35
EZ
110502012-03-07 Eli Zaretskii <eliz@gnu.org>
11051
dbbc2e69
SM
11052 * international/quail.el (quail-help):
11053 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
11054 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
11055 for the reason.
11056
5aca4f71 110572012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
11058
11059 Avoid superfluous registering of signals. (Bug#10807)
11060
11061 * notifications.el (notifications-on-action-object)
11062 (notifications-on-close-object): New defvars.
11063 (notifications-on-action-signal, notifications-on-closed-signal):
11064 Unregister the signal if not needed any longer.
11065 (notifications-notify): Register `notifications-action-signal' or
11066 `notifications-closed-signal', if :on-action or :on-close has been
11067 passed as argument.
11068
78e8b10a
CY
110692012-03-07 Chong Yidong <cyd@gnu.org>
11070
11071 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
11072 non-X platforms.
11073
69481eb8
GM
110742012-03-06 Glenn Morris <rgm@gnu.org>
11075
11076 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
11077 (x-disown-selection-internal, x-get-selection-internal):
11078 Doc fix (add arglist signatures). (Bug#10783)
11079
133b8e11
KS
110802012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
11081
11082 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
11083 Handle breakpoints with no "type".
11084
99a83064
GM
110852012-03-06 Glenn Morris <rgm@gnu.org>
11086
11087 * files.el (locate-dominating-file): Add optional predicate argument.
11088 (dir-locals-find-file): Make use of above change.
11089
17798e78
TTN
110902012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
11091
11092 * info.el (Info-insert-dir): Also try "dir.gz".
11093
eb182446
GM
110942012-03-06 Glenn Morris <rgm@gnu.org>
11095
8f2114ee
GM
11096 * files.el (dir-locals-find-file):
11097 Ignore non-readable or non-regular files. (Bug#10928)
11098
eb182446
GM
11099 * files.el (locate-dominating-file): Doc fix.
11100
24679323
AS
111012012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
11102
11103 * calendar/calendar.el (calendar-set-mode-line):
11104 `getenv' returns a string. (Bug#10951)
11105
01d972a9
LL
111062012-03-05 Leo Liu <sdl.web@gmail.com>
11107
109aa8a9
LL
11108 * simple.el (backward-delete-char-untabify): Constrain point to
11109 field (Bug#10939).
11110
01d972a9
LL
11111 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
11112
10607bea
CY
111132012-03-05 Chong Yidong <cyd@gnu.org>
11114
11115 * simple.el (count-words): If called from Lisp, return the word
11116 count, for symmetry with `count-lines'. Arglist changed.
11117 (count-words--message): Args changed. Consolidate counting code
11118 from count-words and count-words-region.
11119 (count-words-region): Caller changed.
11120 (count-lines-region): Make it an obsolete alias.
11121
5dd11cfe
TH
111222012-03-04 Tassilo Horn <tassilo@member.fsf.org>
11123
11124 * saveplace.el (save-place-to-alist)
11125 (save-place-ignore-files-regexp): Allow value nil to disable this
11126 feature.
11127
c349f4e6
CY
111282012-03-04 Chong Yidong <cyd@gnu.org>
11129
11130 * faces.el (face-spec-reset-face): For the default face, reset the
11131 attributes to default values (Bug#10748).
11132
e627be4c
LMI
111332012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
11134
11135 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
11136 previous patch: Check `message-send-mail-function', and not the
11137 default function (bug#10897).
11138
ebeabff4
MA
111392012-03-04 Michael Albinus <michael.albinus@gmx.de>
11140
a41a6cf4
MA
11141 * notifications.el (notifications-on-action-signal)
11142 (notifications-on-closed-signal): Check for unique service name of
11143 incoming event. Fix error in removing entry.
ebeabff4 11144 (top): Register for signals with wildcard service name.
a41a6cf4 11145 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 11146
c1ca42b4
CY
111472012-03-04 Chong Yidong <cyd@gnu.org>
11148
dc9924b8 11149 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 11150
ea16568d
GM
111512012-03-04 Glenn Morris <rgm@gnu.org>
11152
11153 * abbrev.el (copy-abbrev-table, abbrev-table-p)
11154 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
11155 (expand-abbrev, define-abbrev-table): Doc fixes.
11156
fbae4637
LMI
111572012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11158
11159 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
11160 `message-default-send-mail-function' and not `send-mail-function'
11161 when doing the prompting for `sendmail-query-once' before sending
11162 in Message buffers (bug#10897).
11163
a1e7225c
LMI
11164 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
11165 This is inconsistent with all the other stream functions, which leave
11166 the setting up to the higher levels (if so wanted) (bug#10931).
11167
56d093a9
AM
111682012-03-02 Alan Mackenzie <acm@muc.de>
11169
11170 Depessimize the handling of very large macros.
11171
11172 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
11173 (c-macro-cache-syntactic): New variables to implement a one
11174 element macro cache.
11175 (c-invalidate-macro-cache): New function.
11176 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
11177 Adapt to use the new cache.
11178 (c-state-safe-place): Use better the cache of safe positions.
11179 (c-state-semi-nonlit-pos-cache)
11180 (c-state-semi-nonlit-pos-cache-limit):
11181 New variables for...
11182 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
11183 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
11184 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
11185 Use c-state-semi-safe-place.
56d093a9 11186
dbbc2e69
SM
11187 * progmodes/cc-langs.el (c-get-state-before-change-functions):
11188 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 11189
817e5c3d
MA
111902012-03-02 Michael Albinus <michael.albinus@gmx.de>
11191
dbbc2e69
SM
11192 * jka-compr.el (jka-compr-call-process):
11193 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
11194 not remote.
11195
a032a702
MA
111962012-03-01 Michael Albinus <michael.albinus@gmx.de>
11197
11198 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
11199 access of FILE2, if FILE1 does not exist.
11200
99a54f21
MA
11201 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
11202 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
11203
11204 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
11205 Add "PAGER=" to `process-environment'.
11206
f6561e1f
MM
112072012-03-01 Michael R. Mauger <mmaug@yahoo.com>
11208
11209 * progmodes/sql.el: Bug fix
11210 (sql-get-login-ext): Save login values in globals.
11211 (sql-get-login): Use new version of `sql-get-login-ext'.
11212 (sql-interactive-mode): Set global `sql-connection' to nil.
11213 (sql-connect): Set global values for connection.
11214 (sql-product-interactive): Save global values as buffer local.
11215
2d44d9cc
LL
112162012-02-29 Leo Liu <sdl.web@gmail.com>
11217
11218 * abbrev.el (define-abbrevs): Reset sys to nil.
11219
96b49301 112202012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11221
bf7f9bc5
JB
11222 * files.el (file-equal-p): Rename from `files-equal-p'.
11223 Return nil when one or both files don't exist.
96b49301 11224 (file-subdir-of-p): Now only top directory must exists,
11225 return nil if it doesn't.
bf7f9bc5
JB
11226 (copy-directory): No need to test with `file-subdir-of-p' after
11227 creating dir.
11228 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
11229 to `file-equal-p'.
96b49301 11230
44e97401
GM
112312012-02-28 Glenn Morris <rgm@gnu.org>
11232
11233 * shell.el (shell-mode):
11234 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
11235 * play/landmark.el (landmark-font-lock-face-O):
11236 * play/handwrite.el (handwrite):
11237 * play/gomoku.el (gomoku-O):
11238 * net/browse-url.el (browse-url-browser-display):
11239 * international/mule.el (define-charset):
11240 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
11241 * filesets.el (filesets-find-file-delay):
11242 * eshell/em-xtra.el (eshell-xtra):
11243 * eshell/em-unix.el (eshell-grep):
11244 * emulation/viper.el (viper-mode):
11245 * emacs-lisp/regexp-opt.el (regexp-opt-group):
11246 * emacs-lisp/easymenu.el (easy-menu-define):
11247 * calendar/timeclock.el (timeclock-use-display-time):
11248 * bs.el (bs-mode):
11249 * bookmark.el (bookmark-save-flag):
11250 Doc fix (standardize possessive apostrophe usage).
11251
c98c6276
CY
112522012-02-27 Chong Yidong <cyd@gnu.org>
11253
bf7f9bc5
JB
11254 * emulation/viper-cmd.el (viper-intercept-ESC-key):
11255 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 11256
c98c6276
CY
11257 * font-lock.el (font-lock-specified-p): Rename from
11258 font-lock-spec-present. Callers changed.
11259
9c62cd04 112602012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 11261
bf7f9bc5
JB
11262 * emacs-lisp/package.el (package-compute-transaction):
11263 Handle holding a package version to t in package-load-list.
8ac9e529 11264
530739c9
MA
112652012-02-26 Michael Albinus <michael.albinus@gmx.de>
11266
11267 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
11268 (tramp-get-inode, tramp-get-device): Use cached values.
11269
487915d7
AM
112702012-02-26 Alan Mackenzie <acm@muc.de>
11271
11272 Check there is a font-lock specification before doing initial
11273 fontification.
11274
11275 * font-core.el (font-lock-mode): Move the conditional from
11276 :after-hook to font-lock-initial-fontify.
11277 (font-lock-default-function): Move the check for a specification
11278 to font-lock-spec-present.
11279
dc9924b8 11280 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
11281 (font-lock-spec-present): New function.
11282
4fd96557
JB
112832012-02-26 Jim Blandy <jimb@red-bean.com>
11284
11285 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
11286 (gdb-send): Apply it to the operand of the '-interpreter-exec
11287 console' command, so that we can pass arguments with (say) quotes
11288 in them. Store exact string sent in gdb-debug-log (Bug#10765).
11289
9a4888c0
CY
112902012-02-26 Chong Yidong <cyd@gnu.org>
11291
07498861
CY
11292 * help-fns.el (describe-function-1): Clarify description of
11293 remapping (Bug#10844).
11294
9a4888c0
CY
11295 * files.el (files-equal-p): Doc fix.
11296 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
11297 and quit the loop once a mismatch is found.
11298
ea8fb88d
JB
112992012-02-25 Juanma Barranquero <lekktu@gmail.com>
11300
11301 * bs.el (bs--show-with-configuration): Don't throw an error
11302 if the window cannot be split; otherwise, subsequent calls to
11303 bs-show fail, restoring a stale window config. (Bug#10882)
11304
525795c1
JD
113052012-02-25 Jan Djärv <jan.h.d@swipnet.se>
11306
11307 * term/ns-win.el (global-map): Bind ns-drag-file to
11308 ns-find-file (Bug#5855, Bug#10050).
11309
f008086f
AS
113102012-02-25 Andreas Schwab <schwab@linux-m68k.org>
11311
11312 * calendar/parse-time.el (parse-time-string): Allow extractor to
11313 return nil.
11314
a3fcfa99
MA
113152012-02-25 Michael Albinus <michael.albinus@gmx.de>
11316
91027d08
JB
11317 * net/tramp.el (tramp-file-name-for-operation):
11318 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
11319
11320 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
11321 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
11322 Add COPY-CONTENTS argument.
a3fcfa99 11323
67b0de11
CY
113242012-02-25 Chong Yidong <cyd@gnu.org>
11325
11326 Add custom groups for VC backends, for consistency with vc-bzr.
11327
11328 * vc/vc-arch.el (vc-arch):
11329 * vc/vc-cvs.el (vc-cvs):
11330 * vc/vc-git.el (vc-git):
11331 * vc/vc-hg.el (vc-hg):
11332 * vc/vc-mtn.el (vc-mtn):
11333 * vc/vc-rcs.el (vc-rcs):
11334 * vc/vc-sccs.el (vc-sccs):
11335 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
11336 All relevant defcustoms reassigned.
11337
3c9dfce6
CY
113382012-02-25 Chong Yidong <cyd@gnu.org>
11339
1339bf43
CY
11340 * newcomment.el (comment-styles): Add autoload (Bug#10868).
11341
3c9dfce6
CY
11342 * term/x-win.el (x-initialize-window-system): Reduce default for
11343 x-selection-timeout to 5 seconds (Bug#8869).
11344
25b2e303 113452012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11346
ec70a47d
GM
11347 * files.el (files-equal-p, file-subdir-of-p): New functions.
11348 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 11349 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
11350 * dired-aux.el (dired-copy-file-recursive): Same.
11351 (dired-create-files): Modify destination when source is equal to
11352 dest when copying files.
53a46cd0 11353 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 11354
914260cd
MA
113552012-02-24 Michael Albinus <michael.albinus@gmx.de>
11356
11357 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
11358 (Bug#10874)
11359
2cb228f7
AM
113602012-02-23 Alan Mackenzie <acm@muc.de>
11361
11362 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
11363 parameter "after-hook:" to allow the expansion to run code after
11364 the execution of the mode hooks.
11365
11366 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 11367 from font-lock-mode-internal.
2cb228f7 11368
91027d08 11369 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
11370 :after-hook.
11371
8f0fde21
SM
113722012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
11373
3e88618b
SM
11374 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
11375 (completion--cache-all-sorted-completions): New function.
11376 (completion-all-sorted-completions): Use it.
11377 (completion--do-completion, minibuffer-force-complete):
11378 Use it to re-instate the flush hook.
11379
8f0fde21
SM
11380 * icomplete.el (icomplete-completions): Replace last fix with a better
11381 one (bug#10850).
11382
8e911f6f
DG
113832012-02-23 Dmitry Gutov <dgutov@yandex.ru>
11384
11385 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
11386 when it might call us back infinitely (bug#10797).
11387
49fe4321
GM
113882012-02-23 Glenn Morris <rgm@gnu.org>
11389
11390 * minibuffer.el (completion-category-overrides): Doc fix.
11391
b291b572
SM
113922012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
11393
11394 * minibuffer.el (completion-table-with-context): Fix inf-loop.
11395 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
11396
31a9ef2e
GM
113972012-02-23 Glenn Morris <rgm@gnu.org>
11398
5e6e6794 11399 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
11400 (authors-obsolete-files-regexps, authors-ignored-files)
11401 (authors-ambiguous-files, authors-renamed-files-alist):
11402 Add more entries.
11403
0bd1e074
JL
114042012-02-23 Juri Linkov <juri@jurta.org>
11405
11406 * isearch.el (isearch-occur): Sync interactive spec with occur's
11407 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
11408
b617673c
JL
11409 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
11410
19e9789e
JL
114112012-02-22 Juri Linkov <juri@jurta.org>
11412
11413 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
11414 (ucs-insert): Doc fix. Check for hex digits in the string.
11415 Don't display `nil' in the error message. (Bug#10857)
11416
f41ce09d
AM
114172012-02-22 Alan Mackenzie <acm@muc.de>
11418
7a71b18d 11419 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 11420
ac2eceee
GM
114212012-02-22 Glenn Morris <rgm@gnu.org>
11422
11423 * ffap.el (ffap-c-path):
11424 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
11425
abd1f678
CY
114262012-02-22 Chong Yidong <cyd@gnu.org>
11427
11428 * custom.el (load-theme): Doc fix.
11429
f25aef2e
GM
114302012-02-22 Glenn Morris <rgm@gnu.org>
11431
11432 * dired-x.el (dired-guess-shell-alist-default):
11433 Remove escape sequences from nroff output. (Bug#172)
11434
5f8dc2ca
GM
114352012-02-21 Glenn Morris <rgm@gnu.org>
11436
6ff86ec4
GM
11437 * vc/emerge.el (emerge-defvar-local):
11438 Set `permanent-local' property rather than unused `preserved'.
11439
be3223a3 11440 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
11441 (picture-mode-map): Use it. (Bug#10860)
11442 (picture-mode): Doc fix.
11443
3fe58f4f
JB
114442012-02-21 Juanma Barranquero <lekktu@gmail.com>
11445
11446 * newcomment.el (uncomment-region-default): Remove unused binding.
11447
f9a998c3
GM
114482012-02-21 Glenn Morris <rgm@gnu.org>
11449
11450 * textmodes/picture.el (picture-motion, picture-motion-reverse)
11451 (picture-self-insert, picture-tab-chars): Doc fix.
11452 (picture-mode-map): Fix C-a, C-e.
11453
c6029348
GM
114542012-02-20 Glenn Morris <rgm@gnu.org>
11455
11456 * emacs-lisp/authors.el (authors-aliases): Add another entry.
11457
ab1ce9d7
LL
114582012-02-20 Leo Liu <sdl.web@gmail.com>
11459
11460 * icomplete.el (icomplete-completions): Check FROM arg before
11461 passing to substring (Bug#10850).
11462
0fd40f89
CY
114632012-02-19 Chong Yidong <cyd@gnu.org>
11464
11465 * comint.el: Require ansi-color.
11466 (comint-output-filter-functions): Add ansi-color-process-output.
11467
11468 * ansi-color.el: Don't set comint-output-filter-functions; it is
11469 now in the initial value defined in comint.el.
11470 (ansi-color-apply-face-function): New variable.
11471 (ansi-color-apply-on-region): Use it.
11472 (ansi-color-apply-overlay-face): New function.
11473
11474 * shell.el (shell): No need to require ansi-color.
11475 (shell-mode): Use ansi-color-apply-face-function to highlight
11476 color escapes using font-lock-face property (Bug#10835).
11477
20af2394
CY
114782012-02-19 Chong Yidong <cyd@gnu.org>
11479
11480 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
11481 mode-line formats (Bug#10839).
11482
e23a3fbe
GM
114832012-02-18 Glenn Morris <rgm@gnu.org>
11484
b474519e
GM
11485 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
11486
11487 * mail/undigest.el (unforward-rmail-message): Doc fix.
11488
e23a3fbe
GM
11489 * saveplace.el (save-place-ignore-files-regexp): Add :version.
11490
57939ff4
EZ
114912012-02-18 Eli Zaretskii <eliz@gnu.org>
11492
11493 * international/characters.el (script-list): Sync with the latest
11494 Unicode Character Database.
11495
0c23686e
AS
114962012-02-18 Andreas Schwab <schwab@linux-m68k.org>
11497
11498 * international/titdic-cnv.el: Remove duplicate coding tag.
11499 * language/cham.el: Likewise.
11500 * language/tai-viet.el: Likewise.
11501
6818b449
GM
115022012-02-18 Glenn Morris <rgm@gnu.org>
11503
11504 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
11505 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
11506 (calendar-bahai-all-holidays-flag, calendar-other-dates):
11507 * calendar/diary-lib.el (diary-abbreviated-year-flag):
11508 * calendar/holidays.el (holiday-bahai-holidays)
11509 (calendar-holidays, list-holidays):
11510 Use utf-8 BahĂ¡'Ă­ in doc-strings, menus, etc.
11511
0311a3fc
TH
115122012-02-17 Tassilo Horn <tassilo@member.fsf.org>
11513
11514 * saveplace.el (save-place-ignore-files-regexp): New variable
11515 allowing for excluding files from saving their location of point.
11516 The default value matches the temporary commit message editing
11517 files from Git, SVN, Bazaar, and Mercurial.
11518 (save-place-to-alist): Use it.
11519
d209e2fb 115202012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 11521 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
11522
11523 * newcomment.el (uncomment-region-default): Don't leave extra space
11524 when an arg is provided (bug#8150).
11525
ee0ce425
TZ
115262012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
11527
eb864a71 11528 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 11529
95ddf442
GM
115302012-02-17 Glenn Morris <rgm@gnu.org>
11531
11532 * net/socks.el: Require network-stream. (Bug#10599)
11533
48dd1e39 115342012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
11535
11536 * international/charprop.el:
11537 * international/uni-name.el:
11538 * international/uni-old-name.el:
11539 * international/uni-comment.el: Regenerate.
11540
d68cd087
GM
115412012-02-16 Glenn Morris <rgm@gnu.org>
11542
11543 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
11544 Interactively in calendar buffer, give an error if not on a date.
11545
13932042
GM
115462012-02-15 Glenn Morris <rgm@gnu.org>
11547
11548 * shell.el (shell-delimiter-argument-list):
11549 Revert 2011-02-17 change. (Bug#8027)
11550
c3a70e2b
CY
115512012-02-15 Chong Yidong <cyd@gnu.org>
11552
60236b0d
CY
11553 * minibuffer.el (completion-at-point-functions): Doc fix.
11554
c3a70e2b
CY
11555 * custom.el (defcustom): Doc fix; note use of defvar.
11556
9f26dc24
GM
115572012-02-15 Glenn Morris <rgm@gnu.org>
11558
11559 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
11560 Doc fixes.
11561
6546b134
GM
115622012-02-14 Glenn Morris <rgm@gnu.org>
11563
11564 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
11565
d29b2b4c
LI
115662012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
11567
11568 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
11569 way the ports list is computed.
835bdcba
LI
11570 (smtpmail-query-smtp-server): Prompt the user for a port number if
11571 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 11572
08dcdbc9
TZ
115732012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
11574
11575 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
11576
2605051a
GM
115772012-02-13 Glenn Morris <rgm@gnu.org>
11578
11579 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
11580
7ee99f32
TZ
115812012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
11582
11583 * net/gnutls.el (gnutls-trustfiles): New variable.
11584 (gnutls-negotiate): Use it.
11585
5f0af64f
LI
115862012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
11587
11588 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
11589 does its stuff if Gnus is running.
11590
c14fcc95
AM
115912012-02-13 Alan Mackenzie <acm@muc.de>
11592
11593 Fix a loop in c-set-fl-decl-start.
11594
7a71b18d 11595 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
11596 c-backward-syntactic-ws actually moves backwards.
11597
142b4d90
LL
115982012-02-13 Leo Liu <sdl.web@gmail.com>
11599
11600 * net/rcirc.el (rcirc-markup-attributes): Move point to the
11601 beginning so that all \C-o chars are removed.
11602
fa9958a6
TZ
116032012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
11604
dc9924b8 11605 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 11606
0bc5886a
AM
116072012-02-12 Alan Mackenzie <acm@muc.de>
11608
11609 Fix infinite loop with long macros.
4d6769e1 11610 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 11611
d4bd55e7
CY
116122012-02-12 Chong Yidong <cyd@gnu.org>
11613
11614 * window.el (display-buffer): Doc fix (Bug#10785).
11615
66f3fe22
GM
116162012-02-12 Glenn Morris <rgm@gnu.org>
11617
bd7da63e
GM
11618 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
11619 (x-disown-selection-internal, x-get-selection-internal):
11620 Sync docs with the xselect.c versions.
11621
66f3fe22
GM
11622 * allout-widgets.el: Add missing license notice.
11623
3e0d2fa7
GM
116242012-02-11 Glenn Morris <rgm@gnu.org>
11625
cfecdf09
GM
11626 * select.el (x-get-selection-internal, x-own-selection-internal)
11627 (x-disown-selection-internal):
11628 * x-dnd.el (x-get-selection-internal): Update declarations.
11629
6d216d7f
GM
11630 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
11631
2bed3f04
GM
11632 * window.el (window-sides-slots):
11633 * tool-bar.el (tool-bar-position):
11634 * term/xterm.el (xterm-extra-capabilities):
11635 * ses.el (ses-self-reference-early-detection):
11636 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
11637 (verilog-auto-wire-type)
11638 (verilog-auto-delete-trailing-whitespace)
11639 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
11640 (verilog-auto-tieoff-declaration):
11641 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
11642 (sql-oracle-statement-starters, sql-oracle-scan-on):
11643 * progmodes/prolog.el (prolog-align-comments-flag)
11644 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
11645 (prolog-left-indent-regexp, prolog-paren-indent-p)
11646 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
11647 (prolog-types, prolog-mode-specificators)
11648 (prolog-determinism-specificators, prolog-directives)
11649 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
11650 (prolog-electric-dot-flag)
11651 (prolog-electric-dot-full-predicate-template)
11652 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
11653 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
11654 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
11655 (prolog-program-switches, prolog-prompt-regexp)
11656 (prolog-debug-on-string, prolog-debug-off-string)
11657 (prolog-trace-on-string, prolog-trace-off-string)
11658 (prolog-zip-on-string, prolog-zip-off-string)
11659 (prolog-use-standard-consult-compile-method-flag)
11660 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
11661 (prolog-imenu-max-lines, prolog-info-predicate-index)
11662 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
11663 (prolog-char-quote-workaround):
11664 * progmodes/cc-vars.el (c-defun-tactic):
11665 * net/tramp.el (tramp-encoding-command-interactive)
11666 (tramp-local-end-of-line):
11667 * net/soap-client.el (soap-client):
11668 * net/netrc.el (netrc-file):
11669 * net/gnutls.el (gnutls):
11670 * minibuffer.el (completion-category-overrides)
11671 (completion-cycle-threshold)
11672 (completion-pcm-complete-word-inserts-delimiters):
11673 * man.el (Man-name-local-regexp):
11674 * mail/feedmail.el (feedmail-display-full-frame):
11675 * international/characters.el (glyphless-char-display-control):
11676 * eshell/em-ls.el (eshell-ls-date-format):
11677 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
11678 (lisp-lambda-list-keyword-parameter-indentation)
11679 (lisp-lambda-list-keyword-parameter-alignment):
11680 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
11681 * dired-x.el (dired-omit-verbose):
11682 * cus-theme.el (custom-theme-allow-multiple-selections):
11683 * calc/calc.el (calc-highlight-selections-with-faces)
11684 (calc-lu-field-reference, calc-lu-power-reference)
11685 (calc-note-threshold):
11686 * battery.el (battery-mode-line-limit):
11687 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
11688 (archive-7z-update):
11689 * allout.el (allout-prefixed-keybindings)
11690 (allout-unprefixed-keybindings)
11691 (allout-inhibit-auto-fill-on-headline)
11692 (allout-flattened-numbering-abbreviation):
11693 * allout-widgets.el (allout-widgets-auto-activation)
11694 (allout-widgets-icons-dark-subdir)
11695 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
11696 (allout-widgets-theme-dark-background)
11697 (allout-widgets-theme-light-background)
11698 (allout-widgets-item-image-properties-emacs)
11699 (allout-widgets-item-image-properties-xemacs)
11700 (allout-widgets-run-unit-tests-on-load)
11701 (allout-widgets-time-decoration-activity)
11702 (allout-widgets-hook-error-post-time)
11703 (allout-widgets-track-decoration):
11704 Add missing :version tags to new defcustoms and defgroups.
11705
5fec1b8e
GM
11706 * progmodes/sql.el (sql-ansi-statement-starters)
11707 (sql-oracle-statement-starters): Add custom type.
11708
3e0d2fa7
GM
11709 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
11710 (prolog-system-version): Give it a type.
11711
90b671e2
EZ
117122012-02-11 Eli Zaretskii <eliz@gnu.org>
11713
11714 * term/pc-win.el (x-select-text, x-selection-owner-p)
11715 (x-own-selection-internal, x-disown-selection-internal)
11716 (x-get-selection-internal): Sync doc strings and argument lists
11717 with xselect.c, common-win.el and x-win.el. (Bug#10783)
11718
5eac0c02
LL
117192012-02-11 Leo Liu <sdl.web@gmail.com>
11720
11721 * progmodes/python.el (python-end-of-statement): Fix infinite
11722 loop. (Bug#10788)
11723
f82cb659
GM
117242012-02-10 Glenn Morris <rgm@gnu.org>
11725
11726 * international/mule-cmds.el (unify-8859-on-encoding-mode)
11727 (unify-8859-on-decoding-mode): Properly mark as obsolete.
11728
cc26d239
LI
117292012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
11730
11731 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
11732 about SMTP before checking the From header.
11733
91027d08 11734 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
11735 into own function for reuse by emacsbug.el.
11736
1be3ca5a
LL
117372012-02-10 Leo Liu <sdl.web@gmail.com>
11738
11739 * subr.el (condition-case-unless-debug): Rename from
11740 condition-case-no-debug. All callers changed.
11741 (with-demoted-errors): Fix caller.
11742
11743 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
11744 * nxml/rng-valid.el (rng-do-some-validation):
11745 * emacs-lisp/package.el (package-refresh-contents)
11746 (package-menu-execute):
11747 * desktop.el (desktop-create-buffer):
91027d08 11748 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 11749
b011fbfe
GM
117502012-02-10 Glenn Morris <rgm@gnu.org>
11751
b2096d72
GM
11752 * textmodes/bibtex.el:
11753 Add missing :version tags for new/changed defcustoms.
11754
b011fbfe
GM
11755 * files.el (remote-file-name-inhibit-cache): Doc fixes.
11756
4c7e65bf
LI
117572012-02-09 Lars Ingebrigtsen <larsi@rusty>
11758
11759 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
11760 (smtpmail-via-smtp): Use it, or fall back on the From address.
11761 (smtpmail-send-it): Ditto.
11762
f3934f6f
SM
117632012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
11764
11765 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
11766 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
11767 (byte-compile-tmp-var): New const.
11768 (byte-compile-defvar): Use it to minimize .elc size.
11769 Just use `defvar' rather than simulate it (bug#10761).
11770
a075a2c5
GM
117712012-02-09 Glenn Morris <rgm@gnu.org>
11772
cf3aa21b
GM
11773 * files.el (rename-uniquely): Doc fix. (Bug#3806)
11774
354998cd
GM
11775 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
11776 Add :version tags.
11777
dc9924b8
SM
11778 * progmodes/compile.el (compilation-error-screen-columns)
11779 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 11780
dab3703d
GM
11781 * vc/log-view.el (log-view-toggle-entry-display):
11782 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
11783
3f88cd72
GM
11784 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
11785 (report-emacs-bug-can-use-xdg-email):
11786 (report-emacs-bug-insert-to-mailer): Doc fixes.
11787 (report-emacs-bug): Message fix.
11788
d95b247d
GM
11789 * net/browse-url.el (browse-url-can-use-xdg-open)
11790 (browse-url-xdg-open): Doc fixes.
11791
a075a2c5
GM
11792 * electric.el (electric-indent-mode, electric-pair-mode)
11793 (electric-layout-rules, electric-layout-mode): Doc fixes.
11794 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
11795
ffb6157e
MR
117962012-02-08 Martin Rudalics <rudalics@gmx.at>
11797
11798 * server.el (server-unselect-display): Don't inadvertently kill
11799 the current buffer. (Bug#10729)
11800
e1ac4066
GM
118012012-02-08 Glenn Morris <rgm@gnu.org>
11802
34e8a2da
GM
11803 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
11804 (sql-list-table): Doc fixes.
11805
b4ac6e8c
GM
11806 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
11807 Comment out (does nothing).
11808
e1ac4066
GM
11809 * completion.el (dynamic-completion-mode):
11810 * dirtrack.el (dirtrack-debug-mode):
11811 * electric.el (electric-layout-mode):
11812 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
11813 * face-remap.el (text-scale-mode, buffer-face-mode):
11814 * iimage.el (iimage-mode):
11815 * image-mode.el (image-transform-mode):
11816 * minibuffer.el (completion-in-region-mode):
11817 * scroll-lock.el (scroll-lock-mode):
11818 * simple.el (next-error-follow-minor-mode):
11819 * tar-mode.el (tar-subfile-mode):
11820 * tooltip.el (tooltip-mode):
11821 * vcursor.el (vcursor-use-vcursor-map):
11822 * wid-browse.el (widget-minor-mode):
11823 * emulation/tpu-edt.el (tpu-edt-mode):
11824 * emulation/tpu-extras.el (tpu-cursor-free-mode):
11825 * international/iso-ascii.el (iso-ascii-mode):
11826 * language/thai-util.el (thai-word-mode):
11827 * mail/supercite.el (sc-minor-mode):
11828 * net/goto-addr.el (goto-address-mode):
11829 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
11830 * progmodes/cwarn.el (cwarn-mode):
11831 * progmodes/flymake.el (flymake-mode):
11832 * progmodes/glasses.el (glasses-mode):
11833 * progmodes/hideshow.el (hs-minor-mode):
11834 * progmodes/pascal.el (pascal-outline-mode):
11835 * textmodes/enriched.el (enriched-mode):
11836 * vc/smerge-mode.el (smerge-mode):
11837 Doc fixes (minor mode argument).
11838
5e0d957f
EZ
118392012-02-07 Eli Zaretskii <eliz@gnu.org>
11840
11841 * ls-lisp.el (ls-lisp-sanitize): New function.
11842 (ls-lisp-insert-directory): Use it to fix or remove any elements
11843 in file-alist with missing attributes. (Bug#4673)
11844
98d7371e
AM
118452012-02-07 Alan Mackenzie <acm@muc.de>
11846
11847 Fix spurious recognition of c-in-knr-argdecl.
11848
11849 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
11850 putative K&R region.
11851
667ced3a
AM
118522012-02-07 Alan Mackenzie <acm@muc.de>
11853
eb864a71
LM
11854 * progmodes/cc-engine.el (c-forward-objc-directive):
11855 Prevent looping in "#pragma mark @implementation".
667ced3a 11856
5b77774d
MA
118572012-02-07 Michael Albinus <michael.albinus@gmx.de>
11858
11859 * notifications.el (notifications-on-closed-signal): Make `reason'
11860 optional. (Bug#10744)
11861
af008560
GM
118622012-02-07 Glenn Morris <rgm@gnu.org>
11863
60d47423
GM
11864 * emacs-lisp/easy-mmode.el (define-minor-mode):
11865 Doc fixes for the macro and the mode it defines.
11866
dd605cc4
GM
11867 * image.el (imagemagick-types-inhibit): Doc fix.
11868
af008560
GM
11869 * cus-start.el (imagemagick-render-type): Add it.
11870
5cc59a37
LI
118712012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
11872
4d6769e1
JB
11873 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
11874 Set the default at load time, too, so that `font-lock-fontify-buffer'
11875 can be called without setting up the entire mode first. This fixes
11876 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 11877
9a6dd747
CY
118782012-02-06 Chong Yidong <cyd@gnu.org>
11879
2d16b285
CY
11880 * simple.el (list-processes--refresh): Delete exited processes
11881 (Bug#8094).
11882
171e9b6e
CY
11883 * comint.el (comint-next-prompt): next-single-char-property-change
11884 and prev-single-char-property-change never return nil (Bug#8657).
11885
9a6dd747
CY
11886 * custom.el (defcustom): Doc fix (Bug#9711).
11887
aa4589a7
CY
118882012-02-05 Chong Yidong <cyd@gnu.org>
11889
5c2a252f
CY
11890 * cus-edit.el (custom-variable-reset-backup): Quote the value
11891 before storing it in the customized-value property (Bug#6712).
4aab9006 11892 (custom-display): Add a customization type tag.
983b9602 11893 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 11894
aa4589a7
CY
11895 * wid-edit.el (widget-field-value-get): New optional arg to
11896 suppress trailing whitespace truncation.
11897 (character): Use it (Bug#2689).
11898
1ff980ae
AS
118992012-02-05 Andreas Schwab <schwab@linux-m68k.org>
11900
11901 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
11902 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
11903
03988c98
CY
119042012-02-05 Chong Yidong <cyd@gnu.org>
11905
eeb6cc88
CY
11906 * cus-edit.el (custom-variable-value-create): For mismatched
11907 types, show the current value (Bug#7600).
11908
03988c98
CY
11909 * custom.el (defcustom): Doc fix.
11910
f8cdeef0
GM
119112012-02-05 Glenn Morris <rgm@gnu.org>
11912
11913 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
11914
0696d255
JB
119152012-02-05 Juanma Barranquero <lekktu@gmail.com>
11916
11917 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
11918 (pp-buffer): Use `ignore-errors', `looking-at-p'.
11919 (pp-last-sexp): Use `looking-at-p'.
11920
34c99998
GM
119212012-02-04 Glenn Morris <rgm@gnu.org>
11922
8f05da42
GM
11923 * files.el (revert-buffer):
11924 Doc fix (mention revert-buffer-in-progress-p).
11925
f160676e
GM
11926 * emacs-lisp/ert-x.el (ert-simulate-command):
11927 Check deferred-action-list (which is obsolete) is bound.
11928
c7291ad9
GM
11929 * subr.el (with-wrapper-hook): Doc fixes.
11930
34c99998
GM
11931 * simple.el (filter-buffer-substring-functions)
11932 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
11933
6283a7d3
LL
119342012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
11935
11936 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
11937 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
11938
e96e3013
LL
119392012-02-04 Leo Liu <sdl.web@gmail.com>
11940
11941 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
11942
8ded50f2
GM
119432012-02-04 Glenn Morris <rgm@gnu.org>
11944
82ff1d13
GM
11945 * image.el (image-extension-data): Add obsolete alias.
11946
987a0a16
GM
11947 * isearch.el (isearch-update): Doc fix.
11948
ea32ef46
GM
11949 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
11950
8ded50f2
GM
11951 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
11952
eea14f31
GM
119532012-02-03 Glenn Morris <rgm@gnu.org>
11954
11955 * image.el (image-animated-p): Doc fix. Use image-animated-types.
11956 (image-animate-timeout): Doc fix.
11957
11958 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
11959
12f381b7
GM
119602012-02-02 Glenn Morris <rgm@gnu.org>
11961
953cebf5
GM
11962 * server.el (server-auth-dir): Doc fix.
11963 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
11964
12f381b7
GM
11965 * subr.el (run-mode-hooks): Doc fix.
11966
953a8c3b
JL
119672012-02-02 Juri Linkov <juri@jurta.org>
11968
11969 * image-mode.el (image-toggle-display-image): Remove tautological
11970 `major-mode' from the `derived-mode-p' test.
11971
c5d3843c
KH
119722012-02-02 Kenichi Handa <handa@m17n.org>
11973
9f6e692e 11974 * composite.el (compose-region): Cancel previous change.
c5d3843c 11975
159462d4 119762012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
11977
11978 * composite.el (compose-region, compose-string): Signal error for
11979 a null string component (Bug#6988).
11980
9f562668
CY
119812012-02-01 Chong Yidong <cyd@gnu.org>
11982
e2cef717
CY
11983 * view.el (view-buffer-other-window, view-buffer-other-frame):
11984 Handle special modes like view-buffer (Bug#10650).
11985 (view-buffer): Simplify.
11986
9f562668
CY
11987 * frame.el (set-frame-font): Tweak meaning of third argument.
11988
9f6e692e
JB
11989 * dynamic-setting.el (font-setting-change-default-font):
11990 Use set-frame-font (Bug#9982).
9f562668 11991
781acb9f
GM
119922012-02-01 Glenn Morris <rgm@gnu.org>
11993
6035be52
GM
11994 * progmodes/compile.el (compilation-internal-error-properties):
11995 Respect compilation-first-column in the "*compilation*" buffer.
11996
781acb9f
GM
11997 * emacs-lisp/easy-mmode.el (define-minor-mode):
11998 Relax :variable's test for a named function.
11999
abbceb00
AM
120002012-01-31 Alan Mackenzie <acm@muc.de>
12001
12002 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
12003 off by one error.
12004
fce3fdeb
CY
120052012-01-31 Chong Yidong <cyd@gnu.org>
12006
12007 * frame.el (set-frame-font): New arg ALL-FRAMES.
12008
12009 * menu-bar.el (menu-set-font): Use set-frame-font.
12010
12011 * faces.el (face-spec-reset-face): Don't apply unspecified
12012 attribute values to the default face.
12013
47893581
JB
120142012-01-31 Juanma Barranquero <lekktu@gmail.com>
12015
12016 * progmodes/cwarn.el (cwarn): Remove dead link.
12017 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
12018 Remove * from defcustom docstrings.
12019 (turn-on-cwarn-mode): Make obsolete.
12020 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
12021 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
12022
e58e988a
GM
120232012-01-31 Glenn Morris <rgm@gnu.org>
12024
60dc2671 12025 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 12026 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 12027 Allow named functions to be used as the cdr of :variable.
e58e988a 12028
7a3f511d
GM
120292012-01-30 Glenn Morris <rgm@gnu.org>
12030
12031 * emacs-lisp/authors.el (authors-fixed-entries):
12032 Remove reference to deleted file rnewspost.el.
12033
cb882333
JB
120342012-01-29 Juanma Barranquero <lekktu@gmail.com>
12035
12036 * window.el (window-with-parameter): Remove unused variable `windows'.
12037 (window--side-check): Remove unused variable `code'.
12038 (window--resize-siblings): Remove unused variable `first'.
12039 (adjust-window-trailing-edge): Remove unused variable `failed'.
12040 (window-deletable-p, window--delete): Remove unused variable `buffer'.
12041 Use `let', not `let*'.
12042 (balance-windows-2): Remove unused variable `found'.
12043 (window--state-put-2): Remove unused variable `splits'.
12044 (window-state-put): Remove unused variable `selected'.
12045 (same-window-p): Use `string-match-p'.
12046 (display-buffer-assq-regexp): Remove unused variable `value'.
12047 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
12048 Mark argument ALIST as ignored.
12049 (pop-to-buffer): Remove unused variable `old-window'.
12050
907201af
EZ
120512012-01-29 Eli Zaretskii <eliz@gnu.org>
12052
12053 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
12054 and .lzma compressed files.
12055
ea162670
CY
120562012-01-29 Chong Yidong <cyd@gnu.org>
12057
5b95ee8a
CY
12058 * frame.el (window-system-default-frame-alist): Doc fix.
12059
ea162670
CY
12060 * dynamic-setting.el (font-setting-change-default-font): Don't
12061 change the default face if SET-FONT argument is non-nil (Bug#9982).
12062
6fccd6e8 120632012-01-29 Samuel Bronson <naesten@gmail.com>
d6e6f4b1
SB
12064
12065 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
12066
0f29fa41 120672012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
12068
12069 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
12070 breakpoints in files outside current directory (Bug#6098).
12071
db174434
CY
120722012-01-29 Chong Yidong <cyd@gnu.org>
12073
6b25e4e2
SE
12074 * progmodes/python.el: Require ansi-color at top-level.
12075
6df6ae42
JB
12076 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
12077 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
12078 (lisp-mode-abbrev-table): Add doc.
12079 (lisp-mode-variables): Don't set local-abbrev-table.
12080 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
12081
e70ee681
RW
120822012-01-28 Roland Winkler <winkler@gnu.org>
12083
12084 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
12085
ace88aa2
RW
120862012-01-28 Roland Winkler <winkler@gnu.org>
12087
12088 * textmodes/bibtex.el (bibtex-entry-alist): New function.
12089 (bibtex-set-dialect): Use it. Either set global values of
12090 dialect-dependent variables or bind these variables buffer-locally
12091 (Bug#10254).
12092 (bibtex-mode): Call bibtex-set-dialect via
12093 hack-local-variables-hook.
eb864a71
LM
12094 (bibtex-dialect): Update docstring.
12095 Add safe-local-variable predicate.
ace88aa2
RW
12096 (bibtex-entry-alist, bibtex-field-alist): Initialize via
12097 bibtex-set-dialect.
12098 (bibtex-mode-map): Define menu for each dialect.
12099 (bibtex-entry): Fix docstring.
12100
93376c5b
CY
121012012-01-28 Chong Yidong <cyd@gnu.org>
12102
12103 * eshell/esh-arg.el (eshell-quote-argument): New function.
12104
12105 * eshell/esh-ext.el (eshell-invoke-batch-file):
12106 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
12107 first arg to eshell-parse-command (Bug#10523).
12108
4372494f
DA
121092012-01-28 Drew Adams <drew.adams@oracle.com>
12110
12111 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
12112 `default-directory' is non-nil.
12113
4d4ec1f8
EZ
121142012-01-28 Eli Zaretskii <eliz@gnu.org>
12115
12116 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
12117 line that displays system-configuration-options. (Bug#9924)
12118
7c188927
DA
121192012-01-28 Drew Adams <drew.adams@oracle.com>
12120
12121 * descr-text.el (describe-char): Show information about POS, in
12122 addition to information about the character at POS. Improve and
12123 update the doc string. Change "code point" to "code point in
12124 charset", to avoid confusion with the character's Unicode code
12125 point shown above that. (Bug#10129)
12126
e0da685a
EZ
121272012-01-28 Eli Zaretskii <eliz@gnu.org>
12128
12129 * descr-text.el (describe-char): Show the raw character, not only
12130 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
12131 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
12132 for the reasons.
12133
70550acf
PH
121342012-01-28 Phil Hagelberg <phil@hagelb.org>
12135
eb864a71
LM
12136 * emacs-lisp/package.el (package-install):
12137 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 12138
0ce8e868
CY
121392012-01-28 Chong Yidong <cyd@gnu.org>
12140
cb882333
JB
12141 * emacs-lisp/package.el (package-maybe-load-descriptor):
12142 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
12143 (package-maybe-load-descriptor): Use it.
12144 (package-download-transaction): Fully load required packages
12145 inside the loop, so that `require' calls work (Bug#10593).
12146 (package-install): No need to call package-initialize now.
12147
2e7f3bea
CY
121482012-01-28 Chong Yidong <cyd@gnu.org>
12149
6e9bad14
CY
12150 * simple.el (deactivate-mark): Doc fix (Bug#8614).
12151
f823b8ca
CY
12152 * tooltip.el (tooltip-mode): Doc fix.
12153 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
12154
2680c309
CY
12155 * frame.el (set-cursor-color): Doc fix (Bug#352).
12156
d7a9e63b
CY
12157 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
12158 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
12159
2e7f3bea
CY
12160 * cus-edit.el (custom-buffer-create-internal): Fix search button
12161 action (Bug#10542).
2ae01800 12162 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 12163
fc4f7a23
EW
121642012-01-27 Eduard Wiebe <usenet@pusto.de>
12165
12166 * dired.el (dired-mark-files-regexp):
12167 Include any subdirectory components. (Bug#10445)
12168
7dd37071
ML
121692012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
12170
12171 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
12172 Handle [host]:port syntax. (Bug#10533)
12173
a268160b
AH
121742012-01-27 Alex Harsanyi <harsanyi@mac.com>
12175
12176 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
12177
e43273ef
GM
121782012-01-26 Glenn Morris <rgm@gnu.org>
12179
12180 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
12181 * term.el (term-raw-escape-map): Use Control-X-prefix.
12182 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
12183
1edf595d
MR
121842012-01-25 Martin Rudalics <rudalics@gmx.at>
12185
12186 * window.el (window-state-get, window--state-get-1): Don't deal
12187 with fixed-sizeness of windows. Simplify code.
12188
fa8eafef
JC
121892012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
12190
6df6ae42
JB
12191 * window.el (window--state-get-1, window--state-put-2):
12192 Don't save and restore the mark.
fa8eafef 12193
0b21c100
CY
121942012-01-25 Chong Yidong <cyd@gnu.org>
12195
12196 * custom.el (custom-variable-p): Doc fix.
12197
5ae1a6c8
GM
121982012-01-25 Glenn Morris <rgm@gnu.org>
12199
40047858
GM
12200 * dired.el (dired-goto-file): Handle some of the more common
12201 characters that `ls -b' escapes. (Bug#10596)
12202
5ddce96c
GM
12203 * progmodes/compile.el (compilation-next-error-function):
12204 Respect compilation-first-column in the "*compilation*" buffer.
12205 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
12206
5ae1a6c8
GM
12207 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
12208
b559f1a9
GM
122092012-01-24 Glenn Morris <rgm@gnu.org>
12210
12211 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
12212
6725d21a
JD
122132012-01-24 Julien Danjou <julien@danjou.info>
12214
12215 * color.el (color-rgb-to-hsl): Fix value computing.
12216 (color-hue-to-rgb): New function.
12217 (color-hsl-to-rgb): New function.
12218 (color-clamp, color-saturate-hsl, color-saturate-name)
12219 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
12220 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
12221
70df4bbe
GM
122222012-01-24 Glenn Morris <rgm@gnu.org>
12223
12224 * vc/vc-rcs.el (vc-rcs-create-tag):
12225 * vc/vc-sccs.el (vc-sccs-create-tag):
12226 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
12227
802a2ae2
ML
122282012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
12229
12230 * eshell/esh-util.el (eshell-read-hosts-file):
12231 Skip comment lines. (Bug#10549)
12232
d7128bb1
ML
12233 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
12234
d1a5c3b4
JB
122352012-01-23 Juanma Barranquero <lekktu@gmail.com>
12236
2724d9c7
JB
12237 * subr.el (display-delayed-warnings): Doc fix.
12238 (collapse-delayed-warnings): New function to collapse identical
12239 adjacent warnings.
12240 (delayed-warnings-hook): Add it.
d1a5c3b4 12241
a5509865
MA
122422012-01-22 Michael Albinus <michael.albinus@gmx.de>
12243
12244 * net/tramp.el (tramp-action-login): Set connection property "login-as".
12245
a5509865
MA
12246 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
12247 (tramp-default-user-alist): Don't add "pscp".
12248 (tramp-do-copy-or-rename-file-out-of-band): Use connection
12249 property "login-as", if set. (Bug#10530)
12250
cc6d5805
MA
122512012-01-21 Michael Albinus <michael.albinus@gmx.de>
12252
12253 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
12254 "plink1" and "psftp". (Bug#10530)
12255
122562012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
12257
12258 * international/mule-cmds.el (prefer-coding-system): Show a
12259 warning message if the default value of file-name-coding-system
12260 was not changed.
12261
f0960428
JC
122622012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
12263
cb882333
JB
12264 * windmove.el (windmove-reference-loc):
12265 Fix windmove-reference-loc miscalculation.
f0960428 12266
dd6f2a63
JB
122672012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
12268
12269 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
12270 default unit.
12271
7b447e9b
GM
122722012-01-21 Glenn Morris <rgm@gnu.org>
12273
117a9ea1
GM
12274 * international/mule.el (auto-coding-alist): Add .tbz.
12275
7b447e9b
GM
12276 * files.el (local-enable-local-variables): Doc fix.
12277 (inhibit-local-variables-regexps): Rename from
12278 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
12279 Doc fix. Add some extensions from auto-coding-alist.
12280 (inhibit-local-variables-suffixes):
12281 Rename from inhibit-first-line-modes-suffixes. Doc fix.
12282 (inhibit-local-variables-p):
12283 New function, extracted from set-auto-mode-1.
12284 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
12285 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
12286 (hack-local-variables): Doc fix. Make the mode-only case
12287 respect enable-local-variables and friends.
12288 Respect inhibit-local-variables-regexps for file-locals, but
12289 not for directory-locals.
12290 (set-visited-file-name):
12291 Take account of inhibit-local-variables-regexps.
12292 Whether it applies may change as the file name is changed.
12293 * jka-cmpr-hook.el (jka-compr-install):
12294 * jka-compr.el (jka-compr-uninstall):
12295 Update for inhibit-first-line-modes-suffixes name change.
12296
dd6e3cdd
MR
122972012-01-20 Martin Rudalics <rudalics@gmx.at>
12298
12299 * help-macro.el (make-help-screen): Temporarily restore original
12300 binding for minor-mode-map-alist (Bug#10454).
12301
0d0deb38
JD
123022012-01-19 Julien Danjou <julien@danjou.info>
12303
12304 * color.el (color-name-to-rgb): Use the white color to find the max
12305 color component value and return correctly computed values.
12306 (color-name-to-rgb): Add missing float conversion for max value.
12307
34a02f46
MR
123082012-01-19 Martin Rudalics <rudalics@gmx.at>
12309
12310 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
12311 special state value for window-persistent-parameters.
12312 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
12313 (window--state-put-2): Reset all window parameters to nil before
12314 assigning values of persistent parameters.
12315
606c44c4
AM
123162012-01-18 Alan Mackenzie <acm@muc.de>
12317
12318 Eliminate sluggishness and hangs in fontification of "semicolon
12319 deserts".
12320
cb882333
JB
12321 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
12322 Change value 10000 -> 3000.
606c44c4
AM
12323 (c-state-safe-place): Reformulate so it doesn't stack up an
12324 infinite number of wrong entries in c-state-nonlit-pos-cache.
12325 (c-determine-limit-get-base, c-determine-limit): New functions to
12326 determine backward search limits disregarding literals.
12327 (c-find-decl-spots): Amend commenting.
12328 (c-cheap-inside-bracelist-p): New function which detects "={".
12329
12330 * progmodes/cc-fonts.el
12331 (c-make-font-lock-BO-decl-search-function): Give a limit to a
12332 backward search.
12333 (c-font-lock-declarations): Fix an occurrence of point being
12334 undefined. Check additionally for point being in a bracelist or
12335 near a macro invocation without a semicolon so as to avoid a
12336 fruitless time consuming search for a declarator. Give a more
12337 precise search limit for declarators using the new
12338 c-determine-limit.
12339
f3860cea
GM
123402012-01-18 Glenn Morris <rgm@gnu.org>
12341
12342 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
12343 (set-auto-mode): Doc fixes.
12344
1db03b16
GM
123452012-01-17 Glenn Morris <rgm@gnu.org>
12346
0e6038be
GM
12347 * isearch.el (search-nonincremental-instead): Fix doc typo.
12348
1db03b16
GM
12349 * dired.el (dired-insert-directory): Handle newlines in directory name.
12350 (dired-build-subdir-alist): Unescape newlines in directory name.
12351
4cb0aa75
MA
123522012-01-17 Michael Albinus <michael.albinus@gmx.de>
12353
12354 * net/tramp.el (tramp-local-end-of-line): New defcustom.
12355 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
12356 (tramp-action-terminal): Use it. (Bug#10530)
12357
1d00653d
SM
123582012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
12359
12360 * minibuffer.el (completion--replace): Strip properties (bug#10062).
12361
6a6ee00d
MR
123622012-01-16 Martin Rudalics <rudalics@gmx.at>
12363
12364 * window.el (window-state-ignored-parameters): Remove variable.
12365 (window--state-get-1): Rename argument MARKERS to IGNORE.
12366 Handle persistent window parameters. Make copy of clone-of
12367 parameter only if requested. (Bug#10348)
12368 (window--state-put-2): Install a window parameter only if it has
12369 a non-nil value or an existing parameter shall be overwritten.
12370
97912def
MA
123712012-01-15 Michael Albinus <michael.albinus@gmx.de>
12372
12373 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
12374
688070a5
EZ
123752012-01-14 Eli Zaretskii <eliz@gnu.org>
12376
12377 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
12378 don't pass the (nil) value of `upnode' to string-match.
12379
301afadc
CY
123802012-01-14 Chong Yidong <cyd@gnu.org>
12381
12382 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 12383 Fix values recognized by the cursorBlink resource.
301afadc 12384
9e5788aa
PE
123852012-01-14 Paul Eggert <eggert@cs.ucla.edu>
12386
12387 * epg.el (epg--make-temp-file): Avoid permission race condition
12388 when running on old Emacs versions (bug#10403).
12389
3cdb7f5a
GM
123902012-01-14 Glenn Morris <rgm@gnu.org>
12391
12392 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
12393
8c82b1b4
AM
123942012-01-13 Alan Mackenzie <acm@muc.de>
12395
12396 Fix filling for when filladapt mode is enabled.
12397
12398 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
12399 c-mask-paragraph, pass in `fill-paragraph' rather than
12400 `fill-region-as-paragraph'. (This is a reversion of a previous
12401 change.)
eb864a71
LM
12402 * progmodes/cc-mode.el (c-basic-common-init):
12403 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 12404
e517eda4
GM
124052012-01-13 Glenn Morris <rgm@gnu.org>
12406
1498536e
GM
12407 * dired.el (dired-switches-escape-p): New function.
12408 (dired-insert-directory): Use dired-switches-escape-p.
12409 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
12410
e517eda4
GM
12411 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
12412
328f984d
GM
124132012-01-12 Glenn Morris <rgm@gnu.org>
12414
12415 * mail/sendmail.el (mail-mode): Update paragraph-separate for
12416 changes in adaptive-fill-regexp. (Bug#10276)
12417
2cc769a8
AM
124182012-01-11 Alan Mackenzie <acm@muc.de>
12419
12420 Fix Emacs bug #10463 - put `widen's around the critical spots.
12421
1d00653d 12422 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
12423 widen around each invocation of c-state-pp-to-literal. Remove an
12424 unused let variable.
12425
e52c37fa
GM
124262012-01-11 Glenn Morris <rgm@gnu.org>
12427
12428 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 12429 Doc fix.
e52c37fa 12430
96f8741e
CY
124312012-01-10 Chong Yidong <cyd@gnu.org>
12432
1d00653d
SM
12433 * net/network-stream.el (network-stream-open-starttls):
12434 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
12435 response to the capability command.
12436
b09a806e
GM
124372012-01-10 Glenn Morris <rgm@gnu.org>
12438
12439 * mail/unrmail.el (unrmail): Tweak previous change.
12440
7655cb66
CY
124412012-01-09 Chong Yidong <cyd@gnu.org>
12442
12443 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
12444
9d5a8f0b
AM
124452012-01-08 Alan Mackenzie <acm@muc.de>
12446
12447 Optimise font locking in long enum definitions.
12448
12449 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
12450 arm to a cond form to handle enums.
12451 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
12452 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
12453
9a0115ab 124542012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
12455
12456 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 12457 (Bug#10401)
6bb72cbd 12458
f186bb95
LMI
124592012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
12460
29232a68
LMI
12461 * faces.el (set-face-attribute): Clarify the meaning of the nil
12462 frame (bug#10294).
12463
4e5d086d
LMI
12464 * subr.el (with-selected-frame): Mention that the selected frame
12465 is restored (bug#9980).
12466
8e66aebe
LMI
12467 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
12468 (bug#9759).
12469
cd394be1 12470 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
12471 (password-read): Don't autoload unused function.
12472
adf4e762
JB
124732012-01-07 Juanma Barranquero <lekktu@gmail.com>
12474
12475 * progmodes/which-func.el (which-func-mode): Turn into a
12476 non-interactive function and mark as obsolete (bug#10428).
12477
89bd9ccd
CY
124782012-01-06 Chong Yidong <cyd@gnu.org>
12479
12480 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
12481 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
12482 functions, along with 1 and -1.
12483
4afee9d5
EZ
124842012-01-06 Eli Zaretskii <eliz@gnu.org>
12485
12486 * time.el (display-time-load-average)
12487 (display-time-default-load-average): Doc fixes. See the thread
12488 starting at
12489 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
12490 for the details.
12491
536aea70
GM
124922012-01-06 Glenn Morris <rgm@gnu.org>
12493
665ae865
GM
12494 * mail/unrmail.el (unrmail): Give an explicit error if the input file
12495 has no messages. (Bug#10377)
12496
c869783d
GM
12497 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
12498 than Info-edit. (Bug#10385)
12499
2bb4227e
GM
12500 * time.el (display-time-load-average, display-time-next-load-average):
12501 Doc fixes.
12502
7d5944b9
GM
12503 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
12504 local setting of buffer-read-only to the input buffer. (Bug#10419)
12505
536aea70
GM
12506 * calendar/calendar.el (calendar-mode):
12507 Locally set scroll-margin to 0. (Bug#10379)
12508
7dccca16
UM
125092012-01-06 Ulrich Mueller <ulm@gentoo.org>
12510
12511 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
12512
afbb7930
GM
125132012-01-05 Glenn Morris <rgm@gnu.org>
12514
12515 * eshell/em-unix.el (diff-no-select): Autoload it.
12516 (eshell/diff): Use diff-no-select. (Bug#10420)
12517
04482335
CY
125182012-01-05 Chong Yidong <cyd@gnu.org>
12519
7baca3bc
CY
12520 * shell.el (shell-dynamic-complete-functions): Revert last change.
12521 (shell-command-completion-function): New function.
12522 (shell-completion-vars): Use it to implement
12523 shell-completion-execonly (Bug#10417).
12524
04482335
CY
12525 * custom.el (enable-theme): Don't set custom-safe-themes.
12526
1d00653d
SM
12527 * cus-theme.el (custom-theme-merge-theme):
12528 Ignore custom-enabled-themes and custom-safe-themes.
04482335 12529
bb5aa5d6
MM
125302012-01-05 Michael R. Mauger <mmaug@yahoo.com>
12531
12532 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
12533 first prompt in `sql-interacive-mode'.
12534 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 12535 keywords.
6df6ae42 12536 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
12537 (sql-product-interactive): Bug fix: Set `sql-buffer' in
12538 context of original buffer. Invoke `sql-login-hook'.
12539
a7183d7c
EZ
125402012-01-04 Eli Zaretskii <eliz@gnu.org>
12541
12542 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
12543 letters in cite-prefix.
12544
a1eacd1e
LMI
125452012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12546
12547 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
12548
787cdb34
CY
125492012-01-03 Chong Yidong <cyd@gnu.org>
12550
1d00653d
SM
12551 * shell.el (shell-dynamic-complete-functions):
12552 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
12553 comint-filename-completion first (Bug#10417).
12554
30710442
RS
125552012-01-02 Richard Stallman <rms@gnu.org>
12556
12557 * battery.el (battery-status-function):
12558 Detect when to use battery-yeeloong-sysfs.
12559 (battery-echo-area-format): Add string for Yeeloong.
12560 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
12561 (battery-yeeloong-sysfs): New function.
12562
f75bfc33
CY
125632012-01-02 Chong Yidong <cyd@gnu.org>
12564
12565 * dirtrack.el (dirtrack-list): Eliminate unused third element.
12566 (dirtrack): Merge code for handling relative filenames in prompt
12567 from shell-dir-cookie-watcher.
12568 (dirtrack-debug-message): New arg to avoid excess format calls.
12569
12570 * shell.el (shell-dir-cookie-re): Variable deleted.
12571 (shell-dir-cookie-watcher): Function deleted.
12572 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
12573 with dirtrack-mode.
12574
651e947e
EZ
125752012-01-01 Eli Zaretskii <eliz@gnu.org>
12576
1d00653d
SM
12577 * term/w32-win.el (dynamic-library-alist) <gnutls>:
12578 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
12579 libgnutls-26.dll.
12580
94d4c7dc
AS
125812011-12-31 Andreas Schwab <schwab@linux-m68k.org>
12582
12583 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
12584
8d43f3cd
EZ
125852011-12-31 Eli Zaretskii <eliz@gnu.org>
12586
12587 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
12588 headers of non-MIME messages, when rmail-enable-mime is non-nil.
12589
98c8795a
MA
125902011-12-29 Michael Albinus <michael.albinus@gmx.de>
12591
12592 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
12593 also for alternative shells.
12594 (tramp-open-connection-setup-interactive-shell): Check, whether
12595 the shell is a busybox.
12596 (tramp-send-command): Don't suppress multiple prompts for
12597 busyboxes, it hurts.
12598
51281b32
CY
125992011-12-28 Chong Yidong <cyd@gnu.org>
12600
12601 * progmodes/gdb-mi.el (gdb-get-source-file-list)
12602 (gdb-get-source-file): Move mode line update to
12603 gdb-get-source-file (Bug#10087).
12604
2170cb53
CY
126052011-12-25 Chong Yidong <cyd@gnu.org>
12606
12607 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
12608 gud-gdb-marker-filter without taking it as an argument.
12609 (gud-gdb-run-command-fetch-lines): Caller changed.
12610 (gud-gdb-completion-function): New variable.
12611 (gud-gdb-completion-at-point): Use it.
12612 (gud-gdb-completions-1): Split from gud-gdb-completions.
12613
12614 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
12615 function as separate arguments.
12616 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
12617 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
12618 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
12619 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
12620 (gdb-stopped, def-gdb-auto-update-trigger)
12621 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
12622 (gdb-get-changed-registers, gdb-get-main-selected-frame):
12623 Callers changed.
2170cb53
CY
12624 (gud-gdbmi-completions): New function.
12625 (gdb): Use it for generating the completion table.
12626
be8b11bb
AM
126272011-12-24 Alan Mackenzie <acm@muc.de>
12628
12629 Introduce a mechanism to widen the region used in context font
1d00653d 12630 locking. Use this to protect declarations from losing their contexts.
be8b11bb 12631
1d00653d
SM
12632 * progmodes/cc-langs.el (c-before-font-lock-functions):
12633 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 12634 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
12635 functions to be run just before context (etc.) font locking.
12636
12637 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 12638 New, functionality extracted from
be8b11bb 12639 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 12640 (c-in-after-change-fontification): New variable.
be8b11bb
AM
12641 (c-after-change): Set c-in-after-change-fontification.
12642 (c-set-fl-decl-start): Rejig its interface, so it can be called
12643 from both after-change and context fontifying.
b81d40f0
JB
12644 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
12645 New functions.
12646 (c-standard-font-lock-fontify-region-function): New variable.
12647 (c-font-lock-fontify-region): New function.
be8b11bb 12648
341cf6ac
JL
126492011-12-24 Juri Linkov <juri@jurta.org>
12650
12651 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
12652 (Bug#10348)
12653
bffcee0a
MA
126542011-12-23 Michael Albinus <michael.albinus@gmx.de>
12655
12656 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
12657 existence of source file. (Bug#10325)
12658
cb5e207c
AM
126592011-12-23 Alan Mackenzie <acm@muc.de>
12660
12661 Fix unstable fontification inside templates.
12662
b81d40f0
JB
12663 * progmodes/cc-langs.el (c-before-font-lock-functions):
12664 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
12665 additionally has c-set-fl-decl-start. The other languages (apart
12666 from AWK) have that as a single entry.
12667
b81d40f0
JB
12668 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
12669 The functionality for "local" declarations has been extracted to
cb5e207c
AM
12670 c-set-fl-decl-start.
12671
b81d40f0
JB
12672 * progmodes/cc-mode.el (c-common-init, c-after-change):
12673 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
12674 (c-set-fl-decl-start): New function, extracted from
12675 c-font-lock-enclosing-decls and enhanced.
12676
60ff536c
JB
126772011-12-23 Juanma Barranquero <lekktu@gmail.com>
12678
12679 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
12680
1c4757d6
JL
126812011-12-22 Juri Linkov <juri@jurta.org>
12682
12683 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
12684
d031f2c7
CY
126852011-12-22 Chong Yidong <cyd@gnu.org>
12686
12687 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
12688
bace743a
DA
126892011-12-21 Drew Adams <drew.adams@oracle.com>
12690
12691 * files.el (file-remote-p): Fix docstring. (Bug#10319)
12692
728a1f2b
JC
126932011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
12694
12695 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
12696
0d373f73
TZ
126972011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
12698
fec0aaa4
TZ
12699 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
12700 highlighting and support. Fix up comments for capitalization.
12701 (cfengine-mode-debug): New var.
12702 (cfengine3-mode): Change the modeline indicator to "CFE3".
12703 (cfengine3-font-lock-keywords): Improve defun highlighting.
12704 (cfengine2-actions): Rename from `cfengine-actions'.
12705 (cfengine2-font-lock-keywords): Rename from
12706 `cfengine-font-lock-keywords'.
12707 (cfengine2-imenu-expression): Rename from
12708 `cfengine-imenu-expression'.
12709 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
12710 (cfengine2-beginning-of-defun): Rename from
12711 `cfengine-beginning-of-defun'.
12712 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
12713 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
12714 (cfengine2-mode): Rename from `cfengine-mode'. Change the
12715 modeline indicator to "CFE2".
12716 (cfengine-mode): Defalias to `cfengine-auto-mode'.
12717 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 12718
bc86f573
CY
127192011-12-21 Chong Yidong <cyd@gnu.org>
12720
12721 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
12722 filename argument.
12723
d45ba96b
MR
127242011-12-20 Martin Rudalics <rudalics@gmx.at>
12725
12726 * window.el (window-normalize-buffer-to-display): Remove.
12727 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
12728
a6198c90
CY
127292011-12-19 Chong Yidong <cyd@gnu.org>
12730
12731 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
12732 Don't signal an error in a predicate function; return non-nil.
12733 (vc-dir-mark-file): Move the error here.
12734 (vc-dir-mark-unmark): If acting on the region, keep going if one
12735 of the entries cannot be marked/unmarked.
12736 (vc-dir-mark-all-files): If current entry is a directory, mark
12737 only child files, as documented.
12738
34c5fb55
VB
127392011-12-19 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
12740
12741 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
12742 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
12743 addition.
12744
c803b2b7
JD
127452011-12-18 Jan Djärv <jan.h.d@swipnet.se>
12746
12747 * term/ns-win.el (ns-get-selection-internal)
12748 (ns-store-selection-internal): Declare.
1154d12e
JB
12749 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
12750 Declare as obsolete.
12751 (ns-get-pasteboard, ns-paste-secondary):
12752 Use ns-get-selection-internal.
41e9b956 12753 (ns-set-pasteboard, ns-copy-including-secondary):
1154d12e 12754 Use ns-store-selection-internal.
c803b2b7 12755
9cff91f8 127562011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
12757
12758 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 12759 (vc-deduce-fileset): Doc fix.
99a289d9 12760
f16c898a
AS
127612011-12-16 Andreas Schwab <schwab@linux-m68k.org>
12762
12763 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
12764
763237c4
SS
127652011-12-13 Sam Steingold <sds@gnu.org>
12766
12767 * man.el (Man-getpage-in-background): When running under a
12768 window-system, ignore $MANWIDTH and $COLUMNS.
12769
5fc1c122
KH
127702011-12-15 Kenichi Handa <handa@m17n.org>
12771
12772 * language/ethio-util.el: Change coding tag to utf-8-emacs.
12773 (setup-ethiopic-environment-internal): Comment out key-binding for
12774 ethio-toggle-punctuation.
12775
13d49cbb
AM
127762011-12-13 Alan Mackenzie <acm@muc.de>
12777
898169a2
AM
12778 Add the switch statement to AWK Mode.
12779
7a71b18d 12780 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
12781 "default" to the keywords regexp.
12782
7a71b18d 12783 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 12784 expression as the rest.
1d00653d
SM
12785 (c-nonlabel-token-key): Allow string literals for AWK.
12786 Refactor for the other modes.
898169a2 12787
13d49cbb 12788 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 12789 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
12790 routines. Limit backward searching in c-font-lock-enclosing.decl.
12791
12792 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
12793 pp-state and literal type in addition to the limits.
1d00653d 12794 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 12795 (c-state-literal-at): Use the above new defun.
1d00653d
SM
12796 (c-slow-in-literal, c-fast-in-literal): Remove.
12797 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
12798
12799 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
12800 being in a literal. Add a limit for backward searching.
12801
12802 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
12803 c-slow-in-literal.
12804
15e0efc7
SM
128052011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
12806
12807 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
12808
454592a6
MR
128092011-12-13 Martin Rudalics <rudalics@gmx.at>
12810
12811 * window.el (delete-other-windows): Use correct frame in call to
12812 window-with-parameter.
12813
87393f26
DP
128142011-12-12 Daniel Pfeiffer <occitan@t-online.de>
12815
12816 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
12817 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
12818 (makefile-gmake-statements, makefile-makepp-statements):
12819 Use it and add new makepp keywords.
12820 (makefile-makepp-font-lock-keywords): Add new patterns.
12821 (makefile-match-function-end): Match new [...] and [[...]].
12822
11636b22
JB
128232011-12-11 Juanma Barranquero <lekktu@gmail.com>
12824
12825 * ses.el (ses-call-printer-return, ses-cell-property-get)
12826 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
12827 (ses-create-cell-variable, ses-reset-header-string)
12828 (ses-cell-set-formula, ses-repair-cell-reference-all)
12829 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
12830 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
12831 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
12832 (ses-aset-with-undo, ses-load, ses-truncate-cell)
12833 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
12834 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
12835 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
12836 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
12837 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
12838 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
12839 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
12840 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
12841
cf018193
VB
128422011-12-11 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
12843
12844 * ses.el: The overall change is to add cell renaming, that is
12845 setting fancy names for cell symbols other than name matching
12846 "\\`[A-Z]+[0-9]+\\'" regexp .
12847 (ses-create-cell-variable): New defun.
12848 (ses-relocate-formula): Relocate formulas only for cells the
12849 symbols of which are not renamed, i.e. symbols whose names do not
12850 match regexp "\\`[A-Z]+[0-9]+\\'".
12851 (ses-relocate-all): Relocate values only for cells the symbols of
12852 which are not renamed.
12853 (ses-load): Create cells variables as the (ses-cell ...) are read,
12854 in order to check row col consistency with cell symbol name only
12855 for cells that are not renamed.
12856 (ses-replace-name-in-formula): New defun.
12857 (ses-rename-cell): New defun.
12858
ee957461
CY
128592011-12-11 Chong Yidong <cyd@gnu.org>
12860
12861 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
12862 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
12863
9a9e9ef0
MR
128642011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
12865
12866 * window.el (other-window): Fix docstring.
12867
92a8eba5
EZ
128682011-12-10 Eli Zaretskii <eliz@gnu.org>
12869
12870 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
12871 `from' or `to' address before taking its substring.
12872 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
12873 encoded name is chopped in the middle of the encoded string, and
12874 thus displayed encoded.
12875
e152e577
JB
128762011-12-10 Juanma Barranquero <lekktu@gmail.com>
12877
12878 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
12879
e5d84bfe
EZ
128802011-12-10 Eli Zaretskii <eliz@gnu.org>
12881
12882 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
12883 to use texinfo-update-node and commands that call it if the
12884 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 12885 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
12886 (texinfo-all-menus-update, texinfo-master-menu)
12887 (texinfo-update-node, texinfo-every-node-update)
12888 (texinfo-multiple-files-update): Doc fix. Warn against updating
12889 all the @node lines.
12890 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
12891 argument is numeric. Explain better in the doc string what the
12892 function really does.
12893 (texinfo-insert-master-menu-list): Improve the error message
12894 displayed if there's no menu in the Top node.
12895 (Bug#2975) See also this thread:
e5d84bfe
EZ
12896 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
12897
1d84e9bb
MG
128982011-12-09 Manuel GĂ³mez <mgrojo@gmail.com> (tiny change)
12899
12900 * speedbar.el (speedbar-supported-extension-expressions):
12901 Add .adb and .ads, commonly used for Ada source code (bug#10256).
12902
382c953b
JB
129032011-12-09 Juanma Barranquero <lekktu@gmail.com>
12904
12905 * printing.el (pr-mode-alist):
12906 * simple.el (filter-buffer-substring-functions)
12907 (completion-list-insert-choice-function):
12908 * window.el (window-with-parameter, window-atom-root)
12909 (window-sides-slots, window-size-fixed, window-min-delta)
12910 (window-max-delta, window--resize-mini-window)
12911 (window--resize-child-windows-normal, window-tree)
12912 (delete-other-windows, quit-window, split-window)
12913 (display-buffer-record-window, special-display-buffer-names)
12914 (special-display-regexps, special-display-popup-frame)
12915 (same-window-p, split-window-sensibly)
12916 (display-buffer-overriding-action, display-buffer-alist)
12917 (display-buffer-base-action, display-buffer, switch-to-buffer)
12918 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
12919 (fit-window-to-buffer, recenter-positions)
12920 (mouse-autoselect-window-state, mouse-autoselect-window-select):
12921 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
12922 and remove unneeded backslashes in docstrings.
12923
39c9faef
SM
129242011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
12925
98449af8
SM
12926 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
12927
39c9faef
SM
12928 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
12929 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
12930 end in ".mk".
12931 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
12932 when reading the makefile (bug#10116).
12933
86ed9fdc
SM
129342011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
12935
12936 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
12937 (bug#10116).
12938
5580f89d
GM
129392011-12-06 Glenn Morris <rgm@gnu.org>
12940
12941 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
12942
28d3917c
CY
129432011-12-06 Chong Yidong <cyd@gnu.org>
12944
12945 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
12946
a98edce9
JB
129472011-12-06 Juanma Barranquero <lekktu@gmail.com>
12948
12949 * textmodes/table.el (table-shorten-cell): Fix typo.
12950
e65adfac
CG
129512011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
12952
12953 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
12954
71cc0b74
EZ
129552011-12-05 Eli Zaretskii <eliz@gnu.org>
12956
12957 * descr-text.el (describe-char): Fix display of strong
12958 right-to-left characters and directional embeddings and overrides.
12959
12960 * simple.el (what-cursor-position): Fix display of codepoints of
12961 strong right-to-left characters.
12962
315bc30d
CY
129632011-12-05 Chong Yidong <cyd@gnu.org>
12964
12965 * faces.el (read-color): Doc fix.
12966
58a70b94
GM
129672011-12-05 Glenn Morris <rgm@gnu.org>
12968
12969 * align.el (align--set-marker): Add doc-string.
12970 Don't try to move something that is not a marker. (Bug#10216)
12971
5158face
GM
129722011-12-04 Glenn Morris <rgm@gnu.org>
12973
12974 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
12975 overly zealous deletion of trailing whitespace.
12976
520fca41
JB
129772011-12-04 Juanma Barranquero <lekktu@gmail.com>
12978
12979 * server.el (server-delete-client): On Windows, do not try to delete
12980 the only terminal.
12981 (server-process-filter): On Windows, treat requests for a tty frame as
12982 if they were for a GUI frame if the running server is in GUI mode.
12983
5e605a2e
GM
129842011-12-03 Glenn Morris <rgm@gnu.org>
12985
12986 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
12987
5c3fe83f
SM
129882011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
12989
6f5e57e7
SM
12990 * electric.el: Streamline electric-indent's hook.
12991 (electric-indent-chars): Revert to simple list.
12992 (electric-indent-functions): New var.
12993 (electric-indent-post-self-insert-function): Use it.
12994
5c3fe83f
SM
12995 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
12996 there's no inferior buffer (bug#10196).
12997 (prolog-consult-compile): Don't use toggle-read-only.
12998
6bdac736
MA
129992011-12-02 Michael Albinus <michael.albinus@gmx.de>
13000
13001 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
13002 interrupt. (Bug#10187)
13003
6131ba7f
SM
130042011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
13005
99c79fee
SM
13006 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
13007 (bug#9160).
13008
6131ba7f
SM
13009 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
13010 (bug#10191).
13011
cb0a02ea
JL
130122011-12-02 Juri Linkov <juri@jurta.org>
13013
13014 * info.el (Info-search): Display "end of manual" when Isearch
13015 reaches the end of single-file Info manual. (Bug#9918)
13016
66e0570c
EZ
130172011-12-02 Eli Zaretskii <eliz@gnu.org>
13018
13019 * isearch.el (isearch-message-prefix): Run the input method part
13020 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
13021
02b16839
JL
130222011-12-02 Juri Linkov <juri@jurta.org>
13023
13024 * isearch.el (isearch-occur): Use `word-search-regexp' for
13025 `isearch-word'.
13026 (isearch-search-and-update): Add condition for `isearch-word' and
13027 call `word-search-regexp'. (Bug#10145)
13028
0b950688
GM
130292011-12-01 Glenn Morris <rgm@gnu.org>
13030
13031 * eshell/em-hist.el (eshell-hist-initialize):
13032 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 13033 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 13034
9505c3c7
SM
130352011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
13036
13037 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
13038
1bbe96b2 130392011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 13040
a1beca85
SM
13041 * progmodes/verilog-mode.el (verilog-pretty-expr):
13042 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
13043 verilog, such as += *= and the like.
13044 (verilog-assignment-operator-re): Regular expression to find the
13045 assigment operator in a verilog assignment.
13046 (verilog-assignment-operation-re): Regular expression to find an
13047 assignment statement for pretty-expr.
13048 (verilog-in-attribute-p): Query returns true if point is in an
13049 attribute context; used to skip these for expression line up from
13050 pretty-expr.
13051 (verilog-in-parameter-p): Query returns true if point is in an
13052 parameter definition context; used to skip these for expression
13053 line up from pretty-expr.
13054 (verilog-in-parenthesis-p): Query returns true if point is in a
13055 parenthetical expression, specifically ( ) but not [ ] or { };
13056 used by pretty-expr.
13057 (verilog-just-one-space): If there is no space, don't add one.
13058 (verilog-get-lineup-indent-2): Specifically skip just attribute
13059 contexts for expression lineup, rather than skipping all
13060 parenthetical expressions.
13061 (verilog-calculate-indent): Fix comment, and fix indent.
13062 (verilog-do-indent): Indent declarations in lists (suggested by
13063 Joachim Lechner).
13064 (verilog-mode-abbrev-table): Populate abbrev mode with the various
13065 skeleton items.
13066 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
13067 by Alain Mellan).
13068
1bbe96b2 130692011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
13070
13071 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
13072 parameters with embedded comments. Reported by Ray Stevens.
13073 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
13074 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
13075 Reported by Tim Holt.
13076 (verilog-auto): Fix AUTOing a upper module then AUTOing module
13077 instantiated by upper module causing wrong expansion until AUTOed a
13078 second time. Reported by K C Buckenmaier.
13079 (verilog-diff-auto): Fix showing .* as a difference when
13080 `verilog-auto-star-save' off. Reported by Dan Dever.
13081 (verilog-auto-reset, verilog-read-always-signals)
13082 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
13083 temporary signals in reset list if
13084 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
13085 style to each signal's assignment type, bug381.
13086 Reported by Thomas Esposito.
6288f0ca
WS
13087 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
13088 (verilog-uvm-statement-re): Support UVM indentation and
13089 highlighting, with old OVM keywords only.
a1beca85 13090 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
13091 Support AUTOTIEOFF creating non-wire data types.
13092 Suggested by Jonathan Greenlaw.
6288f0ca
WS
13093 (verilog-auto-insert-lisp, verilog-delete-to-paren)
13094 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
13095 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
13096 (verilog-read-sub-decls, verilog-read-sub-decls-line):
13097 Fix mismatching parenthesis inside commented out code when deleting
382c953b 13098 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
13099 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
13100 non-numeric vector width. Reported by Alex Reed.
13101 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 13102 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
13103 (verilog-auto-delete-trailing-whitespace):
13104 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
13105 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
13106 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
13107 Fix verilog-scan-cache corruption when running user AUTO expansion
13108 hooks that call indentation routines.
13109 (verilog-simplify-range-expression): Fix typo ignoring lower case
13110 identifiers.
13111 (verilog-delete-auto): Fix delete-autos to also remove user created
13112 automatics, as long as they start with AUTO.
13113 (verilog-batch-diff-auto, verilog-diff-auto)
13114 (verilog-diff-function): Add `verilog-diff-auto' and bind to
13115 "C-c?" to report differences in AUTO expansion, ignoring spaces.
13116 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
13117 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
13118 (verilog-re-search-forward-quick, verilog-syntax-ppss):
13119 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
13120 is disabled and its cache will get corrupt, causing AUTOS not to
13121 expand. Instead use only -quick functions.
13122 (verilog-scan-region): Fix scanning over escaped quotes.
13123 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
13124 (verilog-re-search-backward-quick)
13125 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
13126 related functions now ignore strings, to fix misparsing of strings
13127 with magic comments embedded in them.
a1beca85
SM
13128 (verilog-read-auto-template):
13129 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
13130 Reported by Brad Dobbie.
13131 (verilog-read-auto-template):
13132 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 13133 Reported by Brad Dobbie.
6288f0ca
WS
13134 (verilog-auto-inst, verilog-auto-inst-param)
13135 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
13136 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
13137 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
13138 debugging templates without merge conflicts, bug357.
13139 Reported by Brad Dobbie.
13140 (verilog-read-auto-template):
13141 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
13142 Reported by Brad Dobbie.
13143 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
13144 abbrevs so user won't be asked to save.
13145 (verilog-read-auto-lisp-present): Fix to start at beginning of
13146 buffer in case called outside of verilog-auto.
13147 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
13148 to "X-2". Reported by Matthew Myers.
13149 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
13150 all inputs from module templates. Reported by Leith Johnson.
13151 (verilog-module-inside-filename-p): Fix locating programs as with
13152 modules.
13153 (verilog-auto-inst-port): Fix vl-width expressions when using
13154 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
13155 (verilog-decls-get-regs, verilog-decls-get-signals,
13156 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
13157 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
13158 verilog-read-decls): Combine reg and wire structures into one var
13159 structure to represent SystemVerilog concepts.
13160 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
13161 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
13162 (verilog-auto-wire-type, verilog-insert-definition):
13163 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
13164 SystemVerilog "logic" keyword instead of "wire"/"reg".
13165 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
13166 to declares outputs that also have assignments (presumably in an
a1beca85
SM
13167 ifdef or generate if so there's not a driver conflict).
13168 Reported by Matthew Myers.
13169 (verilog-auto-declare-nettype, verilog-insert-definition):
13170 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
13171 `default_nettype none. Reported by Julian Gorfajn.
13172 (verilog-read-always-signals-recurse, verilog-read-decls)
13173 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
13174 malformed end statement, bug325. Reported by Joshua Wise and
13175 Andrew Drake.
13176 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
13177 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
13178 when expanding .* in interfaces, bug320.
13179 Reported by Pierre-David Pfister.
6288f0ca 13180 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
13181 name and open parenthesis, bug317.
13182 Reported by Pierre-David Pfister.
6288f0ca
WS
13183 (verilog-simplify-range-expression): Fix simplification of
13184 multiplications inside AUTOWIRE connections, bug303.
13185 (verilog-auto-inst-port): Support parameter expansion in
13186 multidimensional arrays.
13187 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
13188 after "assert property". Reported by Julian Gorfajn.
13189 (verilog-simplify-range-expression): Fix "couldn't merge" errors
13190 with multiplication, bug303.
13191 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
13192 Reported by Jan Frode Lonnum.
13193
1bbe96b2
GM
131942011-11-30 Juanma Barranquero <lekktu@gmail.com>
13195
13196 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
13197 (hfy-shell-file-name, hfy-shell):
13198 * international/fontset.el (x-decompose-font-name): Fix typos.
13199
132002011-11-29 Ken Brown <kbrown@cornell.edu>
13201
13202 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
13203 (gdb-version): Remove defvar.
13204 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
13205 (gdb-gud-context-command, gdb-non-stop-handler)
13206 (gdb-current-context-command, gdb-stopped): Use it.
13207 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
13208 (gdb-non-stop-handler): Don't enable pretty-printing here.
13209 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
13210 non-stop mode. Use the following.
13211 (gdb-check-target-async): New defun.
13212 (gud-watch, gdb-stopped): Fix whitespace.
13213 (gdb-get-source-file): Don't try to display the source file if
13214 `gdb-main-file' is nil.
13215
132162011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
13217
13218 * align.el: Try to generate fewer markers (bug#10047).
13219 (align--set-marker): New macro.
13220 (align-region): Use it.
13221
c935221f
SM
132222011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
13223
13224 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
13225
e70b5064
CY
132262011-11-29 Chong Yidong <cyd@gnu.org>
13227
13228 * indent.el (indent-for-tab-command, indent-according-to-mode):
13229 Doc fix.
13230 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
13231
f3af92b7
MA
132322011-11-29 Michael Albinus <michael.albinus@gmx.de>
13233
13234 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
13235 aware of remote file names. (Bug#10124)
13236
ed472be9
CY
132372011-11-29 Chong Yidong <cyd@gnu.org>
13238
13239 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
13240
24510c22
SM
132412011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
13242
13243 * files.el (find-file): Don't use force-same-window (bug#10144).
13244 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
13245 use pop-to-buffer if the selected window can't be used.
13246 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
13247
c60c3703
EZ
132482011-11-28 Eli Zaretskii <eliz@gnu.org>
13249
13250 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
13251 special-mode-map.
13252
e95def75
CY
132532011-11-28 Chong Yidong <cyd@gnu.org>
13254
13255 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
13256
c3f1c606
NR
132572011-11-27 Nick Roberts <nickrob@snap.net.nz>
13258
13259 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
13260 gdb-get-source-file-list on gdb-create-source-file-list.
13261
00db469c
EZ
132622011-11-26 Eli Zaretskii <eliz@gnu.org>
13263
13264 * whitespace.el (whitespace-newline): Use a different foreground
13265 color for 16-color light-background displays.
13266
4ad3bc2a
CY
132672011-11-24 Chong Yidong <cyd@gnu.org>
13268
13269 * window.el (display-buffer--special-action): Doc fix.
13270
e9fce1ac
JB
132712011-11-25 Juanma Barranquero <lekktu@gmail.com>
13272
13273 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
13274 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
13275 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
13276 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
13277 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
13278 (avl-tree-stack-first):
13279 * emacs-lisp/cconv.el (cconv--analyse-use):
13280 * net/gnutls.el (gnutls-negotiate): Fix typos.
13281
cb825e5d
GM
132822011-11-24 Glenn Morris <rgm@gnu.org>
13283
3adbe224
GM
13284 * lpr.el (lpr-windows-system, lpr-lp-system):
13285 * mail/binhex.el (binhex-begin-line):
13286 * progmodes/grep.el (grep-history, grep-find-history):
13287 * textmodes/flyspell.el:
13288 * vc/pcvs-defs.el (cvs-global-menu):
13289 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
13290 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
13291 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
13292
321decc8
GM
13293 * net/tls.el: Fix case of "GnuTLS".
13294
420b63ad
GM
13295 * paths.el (rmail-file-name): Format doc-string for make-docfile.
13296
cb825e5d
GM
13297 * version.el (emacs-build-system): Give it a doc-string.
13298
a0649f08
JL
132992011-11-24 Juri Linkov <juri@jurta.org>
13300
13301 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
13302
c0bc0fd4
GM
133032011-11-24 Glenn Morris <rgm@gnu.org>
13304
13305 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
13306 if called on a non-mime message just toggle the headers. (Bug#8006)
13307
20db1522
JB
133082011-11-24 Juanma Barranquero <lekktu@gmail.com>
13309
13310 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
13311 (allout-lead-with-comment-string, allout-structure-deleted-hook)
13312 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
13313 (allout-rebullet-heading, allout-open-sibtopic)
13314 (allout-toggle-current-subtree-encryption)
13315 (allout-toggle-subtree-encryption, allout-encrypt-string)
13316 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
13317 (allout-distinctive-bullets-string, allout-auto-activation):
13318 * window.el (window-normalize-buffer-to-display):
13319 * progmodes/verilog-mode.el (verilog-batch-indent):
13320 * textmodes/bibtex.el (bibtex-field-braces-opt)
13321 (bibtex-field-strings-opt):
13322 * vc/cvs-status.el (cvs-tree-merge):
13323 Fix typos.
13324
7262a87c
MA
133252011-11-23 Michael Albinus <michael.albinus@gmx.de>
13326
13327 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
13328 `non-essential' to t, in order to avoid remote connections.
13329
283430a1
EZ
133302011-11-23 Eli Zaretskii <eliz@gnu.org>
13331
a1beca85
SM
13332 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
13333 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
13334 case-insensitively.
13335
d2992a38
ML
133362011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
13337
13338 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
13339
50419064
GM
133402011-11-23 Glenn Morris <rgm@gnu.org>
13341
da94eca1
GM
13342 * paths.el (rmail-file-name): Reformat the doc-string so that it
13343 is picked up.
13344
9aac4de2
GM
13345 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
13346 (rmail-auto-file): Ignore case in the "special" field names,
13347 as mail-fetch-field does for all others.
13348
8038d2d2
GM
13349 * mail/rmail.el (rmail-forward):
13350 * mail/rmailkwd.el (rmail-set-label):
13351 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
13352 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
13353
f3fe222a
GM
13354 * mail/rmail.el (rmail-current-message): Doc fix.
13355
50419064
GM
13356 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
13357
28109f49
SM
133582011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
13359
13360 * server.el (server-eval-and-print): Allow C-g (bug#6585).
13361
394c65f1
GM
133622011-11-22 Glenn Morris <rgm@gnu.org>
13363
13364 * mail/rmailmm.el (test-rmail-mime-handler)
13365 (test-rmail-mime-bulk-handler)
13366 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
13367
f2a0aa3a
JL
133682011-11-21 Juri Linkov <juri@jurta.org>
13369
1154d12e
JB
13370 * calc/calc.el (calc-read-key-sequence):
13371 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 13372
9c34a344
LMI
133732011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13374
13375 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
13376 Tell the caller that the next line needs recomputation, even
13377 though it doesn't start a sexp (bug#10094).
13378
f04a3be9
SM
133792011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
13380
13381 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
13382
7978747f
SM
133832011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
13384
f04a3be9
SM
13385 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
13386 Use force-same-window.
7978747f 13387
fe7a3057
JB
133882011-11-20 Juanma Barranquero <lekktu@gmail.com>
13389
13390 * descr-text.el (describe-char-unicode-data):
13391 * json.el (json-string-escape):
13392 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
13393 (Footnote-unicode, Footnote-style-p):
13394 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
13395
24901d61
CY
133962011-11-20 Chong Yidong <cyd@gnu.org>
13397
13398 * window.el (replace-buffer-in-windows): Restore interactive spec.
13399
bac7ff22
SM
134002011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
13401
24f3d7b9
SM
13402 * electric.el (electric-indent-mode): Fix last change (too optimistic).
13403
bac7ff22
SM
13404 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
13405 (byte-compile-global-not-obsolete-vars): New var.
13406 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
13407 Use it.
13408 (byte-compile-warn-obsolete): Align text with the one in *Help*.
13409
cd1181db
JB
134102011-11-20 Juanma Barranquero <lekktu@gmail.com>
13411
13412 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
13413 * progmodes/pascal.el (electric-pascal-equal):
13414 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
13415 * xml.el (xml-substitute-special): Fix typos.
13416
7fb18e9e
GM
134172011-11-20 Glenn Morris <rgm@gnu.org>
13418
13419 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
13420 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
13421 Doc fixes.
13422 (rmail-decode-mime-charset): Mark as obsolete.
13423
13424 * mail/rmailsum.el (rmail-message-regexp-p-1):
13425 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
13426 Before using mime functions, check they are set. (Bug#10077)
13427
d5a6b3ba
JL
134282011-11-19 Juri Linkov <juri@jurta.org>
13429
13430 * info.el (Info-finder-find-node): Use `package--builtins' instead
13431 of `package-alist'. Use node names formed by the pattern "Keyword "
13432 and the keyword name.
13433
e981b61f
AS
134342011-11-19 Andreas Schwab <schwab@linux-m68k.org>
13435
1d00653d 13436 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 13437
3ffbc301
JL
134382011-11-19 Juri Linkov <juri@jurta.org>
13439
13440 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
13441 that calls `revert-buffer' on all Info buffers. (Bug#9915)
13442 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
13443 `old-history', `old-history-forward'. Add let-binding
13444 `window-selected'. Remove calls to `kill-buffer',
13445 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
13446 before calling `Info-find-node', so `Info-find-node-2' will reread
13447 the Info file. Restore window positions only when `window-selected'
13448 is non-nil.
13449
30c62133
JL
134502011-11-19 Juri Linkov <juri@jurta.org>
13451
13452 * isearch.el (isearch-lazy-highlight-new-loop):
13453 Remove condition `(not isearch-error)'. (Bug#9918)
13454
13455 * misearch.el (multi-isearch-search-fun): Add condition
13456 `(not bound)' to ignore lazy-highlighting search.
13457 Add the search-failed message "end of multi" when the end of
13458 multi-sequence is reached. Uncapitalize the search-failed
13459 message "Repeat for next buffer".
13460
13461 * info.el (Info-search): Add the search-failed message
13462 "end of the manual" when the end of the manual is reached
13463 in Isearch mode.
13464
645ca9cf
JL
134652011-11-19 Juri Linkov <juri@jurta.org>
13466
13467 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
13468 Use non-destructive `remove' instead of `delete' because
13469 `Info-history-list' stored to `Info-isearch-initial-history-list' in
13470 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
13471
df754f66
JL
134722011-11-19 Juri Linkov <juri@jurta.org>
13473
13474 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
13475 to nil instead of binding `search-ring' and `regexp-search-ring'.
13476 (Bug#9185)
13477
0e23d96a
EZ
134782011-11-19 Eli Zaretskii <eliz@gnu.org>
13479
13480 * simple.el (line-move): Force movement by logical lines for any
13481 hscrolled window, not only when auto-hscroll-mode is on.
13482 (line-move-visual): Update doc string to that effect. (Bug#10076)
13483
8a6ccb66
AS
134842011-11-19 Andreas Schwab <schwab@linux-m68k.org>
13485
13486 * language/european.el (macintosh): Define as alias for mac-roman.
13487
49ae5b39
EZ
134882011-11-19 Eli Zaretskii <eliz@gnu.org>
13489
13490 * mail/rmailmm.el (rmail-mime-display-header)
13491 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
13492 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
13493 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
13494 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
13495 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
13496 of a raw aref.
13497 (rmail-mime-entity-segment): To get past the tagline, move forward
13498 2 more lines, to account for the 2 empty lines that precede and
13499 follow the line with the buttons.
13500 (rmail-mime-update-tagline): Move one more line, to get past the
13501 empty line that follows the buttons in the tagline. (Bug#9520)
13502
c56cad4a
MR
135032011-11-19 Martin Rudalics <rudalics@gmx.at>
13504
13505 * window.el (window-max-delta-1, window-min-delta-1)
13506 (window-min-size-1, window-state-get-1, window-state-put-1)
13507 (window-state-put-2): Use "window--" prefix.
13508
cbe71af3
SM
135092011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
13510
2ad52c60
SM
13511 * emacs-lisp/smie.el: Improve warnings and conflict detection.
13512 (smie-warning-count): New var.
13513 (smie-set-prec2tab): Use it.
13514 (smie-bnf->prec2): Improve warnings. Add docstring.
13515 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
13516 (smie-bnf--set-class): New function.
13517 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
13518 corner case.
13519
6944dbc1
SM
13520 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
13521 (compilation-error-properties, compilation-move-to-column):
13522 Handle compilation-first-column while in the target buffer.
13523
c400c4d7
SM
13524 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
13525 Don't hardcode point-min==1.
13526
6dbe3e96
SM
13527 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
13528 (eshell-rewrite-for-command): Remove workaround.
13529 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
13530 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
13531 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
13532
cbe71af3
SM
13533 * files-x.el (modify-file-local-variable): Obey commenting conventions.
13534
a8e1496d
GM
135352011-11-17 Glenn Morris <rgm@gnu.org>
13536
13537 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
13538 Ignore buffer-local generated-autoload-file if it is the same
13539 as the global value. (Bug#10049)
13540
df85d315
JB
135412011-11-17 Juanma Barranquero <lekktu@gmail.com>
13542
13543 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
13544 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
13545 (reftex-toc-previous-heading, reftex-toc-max-level)
13546 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
13547 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
13548 (reftex-toc-do-promote, reftex-toc-promote-prepare)
13549 (reftex-toc-promote-action, reftex-toc-extract-section-number)
13550 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
13551 (reftex-toc-rename-label, reftex-toc-visit-location)
13552 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
13553 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
13554 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
13555 leaving "*toc*" only for references to the buffer.
13556
a0c2d0ae
MR
135572011-11-17 Martin Rudalics <rudalics@gmx.at>
13558
13559 * window.el (window-resize, delete-window, split-window):
13560 Replace window-splits by window-combination-resize.
1d00653d 13561 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 13562
35c0bac8
GM
135632011-11-17 Glenn Morris <rgm@gnu.org>
13564
13565 * progmodes/sh-script.el (sh-font-lock-keywords-var):
13566 Make bash entry derive from sh entry, not shell entry.
13567
d0c8fc8a
MA
135682011-11-16 Michael Albinus <michael.albinus@gmx.de>
13569
7262a87c
MA
13570 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
13571 local file name.
13572
7877f373
JB
135732011-11-16 Juanma Barranquero <lekktu@gmail.com>
13574
13575 * menu-bar.el (menu-bar-file-menu):
13576 * printing.el (pr-ps-utility):
13577 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
13578 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
13579 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
13580 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
13581 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
13582 (icalendar--convert-cyclic-to-ical)
13583 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
13584 (icalendar--convert-ical-to-diary)
13585 (icalendar--convert-recurring-to-diary)
13586 (icalendar--convert-non-recurring-all-day-to-diary)
13587 (icalendar-import-format-sample):
13588 * progmodes/idlw-shell.el (idlwave-shell-mode):
13589 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
13590 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
13591 (vhdl-ps-print-init): Fix typos.
13592
10649b82
KM
135932011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
13594
9d0cfcd6
GM
13595 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
13596 FSF and collapse date sequence, obscure author/maintainer email address
13597 better, remove extra version line, track relocation of author's webpage.
10649b82 13598
9d0cfcd6
GM
13599 * progmodes/python.el (python-pdbtrack-input-prompt)
13600 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
13601 regular python pdb prompts. Adjustments shamelessly taken exactly as
13602 suggested in EmacsWiki page (tiny change):
13603 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 13604
58179cce
JB
136052011-11-16 Juanma Barranquero <lekktu@gmail.com>
13606
13607 * expand.el (expand-pos, expand-index, expand-point):
13608 Remove redundant info from docstring.
13609 (expand-add-abbrevs): Doc fix.
13610 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
13611 (expand-sample-perl-mode-expand-list): Fix typos.
13612
13613 * net/dbus.el (dbus-event-member-name):
13614 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
13615 * term/pc-win.el (msdos-create-frame-with-faces):
13616 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
13617
b6f67890
MR
136182011-11-16 Martin Rudalics <rudalics@gmx.at>
13619
13620 * window.el (split-window, window-state-get-1)
13621 (window-state-put-1, window-state-put-2): Rename occurrences of
13622 window-nest to window-combination-limit.
1d00653d 13623 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 13624
ce7ddba0
CY
136252011-11-16 Chong Yidong <cyd@gnu.org>
13626
13627 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
13628 regexp (Bug#10033).
13629
3ae704f4
SM
136302011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
13631
13632 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
13633 `completing-read' will remove *Completions* and will preserve
13634 current-buffer for us.
13635 (tmm-add-prompt): Users of *Completions* will always (re)set its
13636 major mode.
13637 (tmm-old-comp-map): Remove.
13638
6ad1cdde
GM
136392011-11-16 Glenn Morris <rgm@gnu.org>
13640
13641 * mail/rmailedit.el: Require rmailmm when compiling.
13642 (rmail-old-mime-state): New declaration.
13643 (rmail-edit-current-message): If editing a mime message,
13644 edit the "raw" message from the mbox buffer.
13645 (rmail-cease-edit): Handle mime messages. (Bug#9840)
13646
d20faa20
GM
136472011-11-15 Glenn Morris <rgm@gnu.org>
13648
13649 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
13650 which wasn't being used. Add optional arg to force given state.
13651 (rmail-mime): Add optional arg to force given state.
13652
c7015153
JB
136532011-11-15 Juanma Barranquero <lekktu@gmail.com>
13654
13655 * allout.el (allout-encryption-plaintext-sanitization-regexps):
13656 * frame.el (display-mm-dimensions-alist):
13657 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
13658 (outline-move-subtree-down):
13659 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
13660 (newsticker--treeview-do-get-node):
13661 * net/quickurl.el (quickurl-list-buffer-name):
13662 * progmodes/dcl-mode.el (dcl-mode):
13663 * progmodes/gdb-mi.el (gdb-mapcar*):
13664 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
13665
45261b50
GM
136662011-11-15 Glenn Morris <rgm@gnu.org>
13667
13668 * mail/rmail.el (rmail-file-coding-system): It's only ever used
13669 in a boolean sense, so just make it a boolean, and fix the doc.
13670 (rmail-show-mime-function, rmail-mime-feature)
13671 (rmail-require-mime-maybe): Doc fixes.
13672 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
13673
13674 * mail/rmailmm.el (rmail-show-mime): Doc fix.
13675
0d26e0b6
JB
136762011-11-15 Juanma Barranquero <lekktu@gmail.com>
13677
13678 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
13679 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
13680 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
13681 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
13682
447f30f6
GM
136832011-11-15 Glenn Morris <rgm@gnu.org>
13684
672b871d
GM
13685 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
13686 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
13687 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
13688 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
13689 (rmail-mime, rmail-show-mime): Doc fixes.
13690
f6aa5bb1
GM
13691 * term/ns-win.el (mode-line-frame-identification):
13692 Leave it alone. (Bug#10051)
13693
947cd66b
GM
13694 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
13695
447f30f6
GM
13696 * mail/rmailout.el (rmail-output-to-rmail-buffer):
13697 Handle empty buffers. (Bug#9978)
13698
0b381c7e
JB
136992011-11-14 Juanma Barranquero <lekktu@gmail.com>
13700
13701 * international/mule.el (define-charset):
13702 * mail/rmailmm.el (rmail-mime-find-header-encoding):
13703 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
13704 * progmodes/verilog-mode.el (verilog-backward-token):
13705 * textmodes/ispell.el (lookup-words):
13706 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
13707
71e027ac
GM
137082011-11-14 Glenn Morris <rgm@gnu.org>
13709
56632ce4
GM
13710 * progmodes/executable.el
13711 (executable-make-buffer-file-executable-if-script-p):
13712 Handle file-modes returning nil.
13713
40500957
GM
13714 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
13715 message - not necessary, and causes problems. (Bug#9831)
13716
071c2340
GM
13717 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
13718
d3cfca60
GM
13719 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
13720
71e027ac
GM
13721 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
13722 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
13723 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
13724
89d61221
MR
137252011-11-12 Martin Rudalics <rudalics@gmx.at>
13726
13727 * window.el (window-resize, delete-window): Use window-splits
13728 variable instead of function.
13729 (window-state-get-1, window-state-put-2, window-state-put):
13730 Don't deal with windows' splits status.
13731
98282f6f
GM
137322011-11-12 Glenn Morris <rgm@gnu.org>
13733
13734 * apropos.el (apropos-do-all, apropos-library, apropos-value)
13735 (apropos-documentation): Doc fixes.
13736
40a8bdf6
JB
137372011-11-11 Juanma Barranquero <lekktu@gmail.com>
13738
13739 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
13740 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
13741
65bd19ff
SM
137422011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
13743
13744 * electric.el (electric-indent-post-self-insert-function): Make it
13745 possible for a char to only indent in some circumstances.
13746 (electric-indent-mode): Simplify.
13747
54f9154c
MR
137482011-11-11 Martin Rudalics <rudalics@gmx.at>
13749
13750 * window.el (windows-with-parameter): Remove unused function.
13751 (windows-at-side): Rename to window-at-side-list.
13752 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
13753 (window-side-check, window-size-ignore, window-size-fixed-1)
13754 (window-in-direction-2): Prefix with "window--".
13755 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 13756
68cbc58b
GM
137572011-11-11 Glenn Morris <rgm@gnu.org>
13758
13759 * subr.el (eval-after-load): If FILE is already loaded,
13760 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
13761
b2621720
GM
137622011-11-10 Glenn Morris <rgm@gnu.org>
13763
9a4de110
GM
13764 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
13765 Call svn via vc-svn-command rather than vc-do-command.
13766 (vc-svn-command): Add --non-interactive. (Bug#9993)
13767 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
13768
b2621720
GM
13769 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
13770 Add toggle-read-only. (Bug#7292)
13771 * files.el (toggle-read-only): Mention that it should only
13772 be used interactively. (Bug#10006)
13773
1dce7193
SM
137742011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
13775
d9ac1a1e
SM
13776 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13777 Adjust regexp for OCaml warnings.
13778
0c325082
SM
13779 * electric.el (electric-pair-post-self-insert-function): Let user
13780 turn it off buffer-locally (bug#9932).
13781
90132c14
SM
13782 * progmodes/python.el (python-beginning-of-statement):
13783 Rewrite (bug#2703).
13784
1dce7193
SM
13785 * progmodes/compile.el: Better handle TABs (bug#9749).
13786 (compilation-internal-error-properties)
13787 (compilation-next-error-function): Obey the target buffer's
13788 compilation-error-screen-columns.
13789
c4e7c63a
JB
137902011-11-09 Juanma Barranquero <lekktu@gmail.com>
13791
13792 * progmodes/meta-mode.el: Remove obsolete comments.
13793 (meta-right-comment-regexp, meta-ignore-comment-regexp):
13794 Fix typos in docstrings.
13795
2cffd681
MR
137962011-11-09 Martin Rudalics <rudalics@gmx.at>
13797
13798 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 13799 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
13800 (window--resizable): New function. Make all callers of
13801 window-resizable call window--resizable instead.
13802 (window-resizable): Rewrite in terms of window--resizable.
13803
0edcba87
GM
138042011-11-08 Glenn Morris <rgm@gnu.org>
13805
13806 * progmodes/delphi.el (delphi-mode-syntax-table):
13807 Let define-derived-mode define a proper syntax table. (Bug#9994)
13808
4b0d61e3
SM
138092011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
13810
13811 * window.el: Stay away from defsubst.
13812 (window-list-no-nils): Remove.
13813 (window-state-get-1, window-state-get): Use backquote instead.
13814
cd394be1 138152011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 13816
4b0d61e3 13817 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 13818 Fix incorrect use of default argument in `completing-read'.
13819
e1c2c6f2
MR
138202011-11-08 Martin Rudalics <rudalics@gmx.at>
13821
13822 * window.el (display-buffer-function, special-display-function):
13823 Mention display-buffer-record-window but do not mention
13824 help-setup parameter in doc-strings.
b3f4a882 13825 (window-min-delta): Fix doc-string typo.
e1c2c6f2 13826
105216ed
CY
138272011-11-08 Chong Yidong <cyd@gnu.org>
13828
13829 * window.el (window-total-height, window-total-width): Doc fix.
13830 (window-body-size): Move from C.
13831 (window-body-height, window-body-width): Move to C.
13832
0a9f9ab5
SM
138332011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
13834
13835 * window.el: Make special-display like display-buffer-alist (bug#9532).
13836 (display-buffer--special-action): New function, morphed
13837 from display-buffer--special.
13838 (display-buffer): Use it to handle special-display-buffers at higher
13839 priority (just after display-buffer-alist).
13840 (display-buffer-fallback-action, display-buffer--other-frame-action)
13841 (pop-to-buffer-same-window): Remove display-buffer--special.
13842
a769dd15
GM
138432011-11-07 Glenn Morris <rgm@gnu.org>
13844
13845 * calendar/cal-menu.el (cal-menu-set-date-title):
13846 Do nothing if not in a calendar. (Bug#9976)
13847
05a61ee3
SM
138482011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
13849
13850 * files.el (find-file): Always use selected-window.
13851
be7f5545
MR
138522011-11-07 Martin Rudalics <rudalics@gmx.at>
13853
13854 * window.el (window-combinations): Make WINDOW argument
13855 mandatory. Rewrite doc-string.
13856 (walk-window-subtree, window-atom-check, window-min-delta)
13857 (window-max-delta, window--resize-this-window)
13858 (window--resize-root-window-vertically, window-tree)
13859 (balance-windows, window-state-put): Rewrite doc-strings as to
13860 not mention the term "subwindow".
13861 (window--resize-subwindows-skip-p): Rename to
13862 window--resize-child-windows-skip-p.
13863 (window--resize-subwindows-normal): Rename to
13864 window--resize-child-windows-normal.
13865 (window--resize-subwindows): Rename to
13866 window--resize-child-windows.
13867 (window-or-subwindow-p): Rename to window--in-subtree-p.
13868
3c6702ef
ML
138692011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
13870
13871 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
13872 Ensure that mbox format messages end in two newlines (Bug#9974).
13873
49745b39
CY
138742011-11-06 Chong Yidong <cyd@gnu.org>
13875
13876 * window.el (window-combination-p): Function deleted; its
13877 side-effect is not used in any existing code.
13878 (window-combinations, window-combined-p): Call window-*-child
13879 directly.
13880
24300f5f
CY
138812011-11-05 Chong Yidong <cyd@gnu.org>
13882
13883 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
13884 (window-size-ignore, window-state-get): Callers changed.
13885 (window-normalize-window): Rename from window-normalize-any-window.
13886 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 13887 (window-normalize-live-window): Delete.
447f16b8
CY
13888 (window-combination-p, window-combined-p, window-combinations)
13889 (walk-window-subtree, window-atom-root, window-min-size)
13890 (window-sizable, window-sizable-p, window-size-fixed-p)
13891 (window-min-delta, window-max-delta, window-resizable)
13892 (window-resizable-p, window-full-height-p, window-full-width-p)
13893 (window-current-scroll-bars, window-point-1, set-window-point-1)
13894 (window-at-side-p, window-in-direction, window-resize)
13895 (adjust-window-trailing-edge, maximize-window, minimize-window)
13896 (window-deletable-p, delete-window, delete-other-windows)
13897 (record-window-buffer, unrecord-window-buffer)
13898 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
13899 (quit-window, split-window, window-state-put)
13900 (set-window-text-height, fit-window-to-buffer)
13901 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 13902
89bd5ee1
EZ
139032011-11-04 Eli Zaretskii <eliz@gnu.org>
13904
53479029
EZ
13905 * mail/rmail.el (rmail-simplified-subject): Decode subject with
13906 rfc2047-decode-string.
13907 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
13908 warnings.
13909
89bd5ee1
EZ
13910 * window.el (window-body-height, window-body-width): Mention in
13911 the doc string that the return values are in frame's canonical
13912 units. (Bug#9949)
13913
bd17fdee
AM
139142011-11-03 Alan Mackenzie <acm@muc.de>
13915
13916 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
13917 change in cc-engine.el.
13918
acc825c5
SM
139192011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
13920
13921 * window.el (switch-to-buffer): Use `force-same-window' interactively.
13922
1885e5b8
MR
139232011-11-02 Martin Rudalics <rudalics@gmx.at>
13924
13925 * window.el (quit-window): Call unrecord-window-buffer after
13926 showing another buffer in the window. (Bug#9937)
acc825c5 13927 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 13928
ebe06da9
JB
139292011-11-02 Juanma Barranquero <lekktu@gmail.com>
13930
13931 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
13932 Accept status with more than 9 shelves. (Bug#9935)
13933 Reported by Colin D Bennett <colin@gibibit.com>.
13934
4ee88440
MR
139352011-11-01 Martin Rudalics <rudalics@gmx.at>
13936
13937 * help.el (with-help-window): Don't reference
13938 temp-buffer-show-specifiers in doc-string.
13939
08e1d82c
AS
139402011-10-31 Andreas Schwab <schwab@linux-m68k.org>
13941
13942 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
13943 menu-item.
13944
84bd6e9e
VJL
139452011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
13946
13947 * whitespace.el: New version 13.2.2.
13948 (whitespace-newline-mode): Disable properly. Reported by Sarah
13949 <EmacsWiki>.
13950
dba0634a
UJ
139512011-10-30 Ulf Jasper <ulf.jasper@web.de>
13952
13953 * net/newst-treeview.el: Remove "Time-stamp".
13954 (newsticker--group-manage-orphan-feeds): Do not call
13955 newsticker--treeview-tree-update.
db22a3c2
JB
13956 (newsticker-treeview-update, newsticker-treeview):
13957 Call newsticker--treeview-tree-update if necessary.
dba0634a 13958
3d8daefe
MR
139592011-10-30 Martin Rudalics <rudalics@gmx.at>
13960
13961 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
13962 (window-iso-combinations): Remove "iso-" infix.
13963 Suggested by Chong Yidong.
3d8daefe
MR
13964 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
13965 (window-max-delta-1, window-resize, window--resize-siblings)
13966 (window--resize-this-window, adjust-window-trailing-edge)
13967 (split-window, balance-windows-1)
13968 (shrink-window-if-larger-than-buffer):
13969 * calendar/calendar.el (calendar-generate-window):
db22a3c2 13970 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 13971
1bc4c3ae
SM
139722011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
13973
13974 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
13975 in place (bug#9907).
13976 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
13977 (eshell-rewrite-if-command, eshell-rewrite-for-command)
13978 (eshell-structure-basic-command, eshell-rewrite-while-command)
13979 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
13980 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
13981 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
13982 (eshell-do-pipelines-synchronously, eshell-eval-command):
13983 Use backquotes and prefer setq to set.
13984 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
13985 (eshell-macrop): Use functionp.
c1e2f5fa 13986 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 13987
30b65d9c
CY
139882011-10-30 Chong Yidong <cyd@gnu.org>
13989
13990 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
13991 instead of set-mark (Bug#9810).
13992
2d197ffb
CY
139932011-10-30 Chong Yidong <cyd@gnu.org>
13994
13995 * window.el (split-window-below, split-window-right): Rename from
13996 split-window-above-each-other and split-window-side-by-side
13997 respectively. All callers changed.
13998 (split-window-sensibly, split-window-sensibly): Use them.
13999 (split-window-keep-point): Doc fix.
14000
14001 * isearch.el: Add isearch-scroll property to split-window-below
14002 and split-window-right.
14003
14004 * follow.el (follow-mode):
14005 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
14006 * progmodes/ada-xref.el (ada-gdb-application):
14007 * emulation/vip.el (vip-buffer-in-two-windows):
14008 * image-dired.el (image-dired-dired-with-window-configuration):
14009 * dired-x.el (dired-do-find-marked-files):
14010 * dired.el (dired-pop-to-buffer):
14011 * bs.el (bs--show-with-configuration):
14012 * vc/emerge.el (emerge-setup-windows):
14013 * textmodes/two-column.el (2C-two-columns):
14014 * textmodes/reftex-toc.el (reftex-toc):
14015 * progmodes/gdb-mi.el (gdb-setup-windows):
14016 * progmodes/fortran.el (fortran-window-create):
14017 * net/newst-treeview.el (newsticker--treeview-window-init):
14018 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
14019 * emulation/tpu-edt.el (tpu-gold-map):
14020 * emulation/crisp.el (crisp-mode-map):
14021 * calendar/calendar.el (calendar-basic-setup): Callers changed.
14022
38bb2ca8
CY
140232011-10-29 Chong Yidong <cyd@gnu.org>
14024
aa4de341
CY
14025 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
14026
e1eb5385
CY
14027 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
14028
5d2ece3c
CY
14029 * textmodes/flyspell.el (flyspell-word): Fix char offset for
14030 forged Ispell output (Bug#7904).
14031
38bb2ca8
CY
14032 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
14033
d0af9f77
SM
140342011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
14035
14036 * doc-view.el: Avoid ugly errors about not finding nil.
14037 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
14038 (doc-view-dvipdf-program, doc-view-unoconv-program)
14039 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
14040 Avoid nil or absolute file name as default value.
14041 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
14042
52bedd34
AM
140432011-10-28 Alan Mackenzie <acm@muc.de>
14044
db22a3c2 14045 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 14046
7e43cfa5
AM
140472011-10-28 Alan Mackenzie <acm@muc.de>
14048
14049 Amend the handling of c-beginning/end-of-defun in nested declaration
14050 scopes.
14051
52bedd34
AM
14052 * progmodes/cc-vars.el (c-defun-tactic): Move here from
14053 cc-langs.el. Change it to a defcustom.
7e43cfa5 14054
52bedd34
AM
14055 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
14056 cc-vars.el.
7e43cfa5 14057
d0af9f77
SM
14058 * progmodes/cc-engine.el (c-beginning-of-statement-1):
14059 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 14060
52bedd34 14061 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 14062 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
14063 (c-widen-to-enclosing-decl-scope): New function.
14064 (c-while-widening-to-decl-block): New macro.
14065 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
14066 outward for defun boundaries, and correspondingly change symbol
14067 `respect-enclosure' to `go-outward'.
14068 (c-declaration-limits): Change algorithm to report only the "innermost"
14069 defun's boundaries.
14070
1a2ce9ee
DD
140712011-10-28 Deniz Dogan <deniz@dogan.se>
14072
14073 * net/rcirc.el (rcirc-mode): Use hard newlines.
14074
bc97a826
AM
140752011-10-28 Alan Mackenzie <acm@muc.de>
14076
14077 Amend to indent and fontify macros "which include their own semicolon"
14078 correctly, using the "virtual semicolon" mechanism.
14079
52bedd34 14080 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 14081
d0af9f77 14082 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 14083 Recode to scan one line at a time rather than having \n and \r
58179cce 14084 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 14085 (c-forward-label): Amend for virtual semicolons.
58179cce 14086 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 14087
52bedd34
AM
14088 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
14089 of the new C macros.
bc97a826 14090
52bedd34 14091 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
14092 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
14093 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
14094 (c-opt-cpp-macro-define): Make into a full language variable.
14095 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
14096 AWK Mode (including \n, \r) removed, no longer needed.
14097
d0af9f77
SM
14098 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
14099 Invoke c-make-macro-with-semi-re.
bc97a826 14100
52bedd34
AM
14101 * progmodes/cc-vars.el (c-macro-with-semi-re):
14102 (c-macro-names-with-semicolon): New variables.
58179cce 14103 (c-make-macro-with-semi-re): New function.
bc97a826 14104
7a6c0941
SM
141052011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
14106
14107 * vc/log-edit.el: Fill empty field rather than adding new one.
14108 (log-edit-add-field): New function.
14109 (log-edit-insert-changelog): Use it.
14110
b0c4cdcf
ML
141112011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
14112
14113 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
14114
ee1f1da9
SM
141152011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
14116
14117 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
14118 (gdb--check-interpreter): New function.
14119 (gdb): Use it.
14120
51bc5f8b
GM
141212011-10-27 Glenn Morris <rgm@gnu.org>
14122
416a2c45
GM
14123 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
14124 (least-positive-float, least-negative-float)
14125 (least-positive-normalized-float, least-negative-normalized-float)
14126 (float-epsilon, float-negative-epsilon):
14127 Remove unnecessary declarations.
14128
14129 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
14130 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
14131 (least-positive-float, least-negative-float)
14132 (least-positive-normalized-float, least-negative-normalized-float)
14133 (float-epsilon, float-negative-epsilon): Add doc-strings,
14134 based on those in cl.texi.
14135
51bc5f8b
GM
14136 * files.el (set-visited-file-name): If the major-mode changed,
14137 reload the local variables. (Bug#9796)
14138
15de15c6
CY
141392011-10-27 Chong Yidong <cyd@gnu.org>
14140
14141 * subr.el (change-major-mode-after-body-hook): New hook.
14142 (run-mode-hooks): Run it.
14143
ee1f1da9
SM
14144 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14145 Use change-major-mode-before-body-hook.
15de15c6
CY
14146
14147 * simple.el (fundamental-mode):
14148 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
14149 change introducing fundamental-mode-hook.
14150
5430d399
JB
141512011-10-26 Juanma Barranquero <lekktu@gmail.com>
14152
acc825c5 14153 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 14154
ad74a69e
MA
141552011-10-26 Michael Albinus <michael.albinus@gmx.de>
14156
14157 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 14158 tramp.el explicitly. (Bug#7583)
ad74a69e 14159
71d4c2a5
SM
141602011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
14161
14162 * progmodes/octave-mod.el:
14163 * progmodes/octave-inf.el: Update maintainer.
14164
b1f6fa26
CY
141652011-10-26 Chong Yidong <cyd@gnu.org>
14166
14167 * subr.el (with-wrapper-hook): Rewrite doc.
14168
3f04efd6
MA
141692011-10-25 Michael Albinus <michael.albinus@gmx.de>
14170
14171 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 14172 filenames "/method:foo:". (Bug#9793)
3f04efd6 14173
410488d3
SM
141742011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
14175
14176 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
14177 (bug#9865).
14178
c1ebb47e
GM
141792011-10-24 Glenn Morris <rgm@gnu.org>
14180
14181 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
14182
7f5c46c7
MA
141832011-10-24 Michael Albinus <michael.albinus@gmx.de>
14184
14185 * notifications.el: Add the requirement of a running D-Bus session
14186 bus to the Commentary.
14187
db2440b6
JL
141882011-10-24 Juri Linkov <juri@jurta.org>
14189
14190 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
14191 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
14192 (Bug#9364)
14193
feecf435
JL
141942011-10-24 Juri Linkov <juri@jurta.org>
14195
14196 * info.el (Info-following-node-name-re): Add newline to the list
14197 of allowed characters for leading space. (Bug#9824)
14198
a3839de2
SM
141992011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
14200
acc825c5
SM
14201 * progmodes/octave-inf.el (inferior-octave-mode-map):
14202 Fix C-c C-h binding.
a3839de2
SM
14203 * progmodes/octave-mod.el (octave-help): Remove.
14204
09388e76
MA
142052011-10-23 Michael Albinus <michael.albinus@gmx.de>
14206
14207 Sync with Tramp 2.2.3.
14208
14209 * net/tramp-cache.el (top): Pacify byte-compiler using
14210 `init-file-user' and `site-run-file'.
14211
14212 * net/trampver.el: Update release number.
14213
86c60681
CY
142142011-10-23 Chong Yidong <cyd@gnu.org>
14215
14216 * files.el (toggle-read-only): Remove obsolete comment about
14217 version control.
14218
14219 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
14220 for toggle-read-only. Note that this hasn't called vc-next-action
14221 since 2008-05-02, though it wasn't documented at the time.
14222
a3839de2
SM
14223 * vc/ediff-init.el (ediff-toggle-read-only-function):
14224 Use toggle-read-only.
86c60681 14225
cd5495ff
AM
142262011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
14227
14228 Fix bug #9560, sporadic wrong indentation; improve instrumentation
14229 of c-parse-state.
14230
00b77525 14231 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 14232 correct faulty logical expression.
cd5495ff
AM
14233 (c-parse-state-state, c-record-parse-state-state):
14234 (c-replay-parse-state-state): New defvar/defuns.
14235 (c-debug-parse-state): Use new functions.
14236
42ee24ed
MR
142372011-10-22 Martin Rudalics <rudalics@gmx.at>
14238
14239 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 14240 last fix. Use window-in-direction correctly.
42ee24ed 14241
a7dee7e7
CY
142422011-10-21 Chong Yidong <cyd@gnu.org>
14243
14244 * progmodes/idlwave.el (idlwave-mode):
14245 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
14246 require-final-newline; that's done in prog-mode.
14247 Suggested by Stefan Monnier.
a7dee7e7 14248
e07b9a6d
MR
142492011-10-21 Martin Rudalics <rudalics@gmx.at>
14250
14251 * mouse.el (mouse-drag-window-above)
14252 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
14253 (mouse-drag-mode-line-1, mouse-drag-header-line)
14254 (mouse-drag-vertical-line-rightward-window): Remove.
14255 (mouse-drag-line): New function.
14256 (mouse-drag-mode-line, mouse-drag-header-line)
14257 (mouse-drag-vertical-line): Call mouse-drag-line.
14258 * window.el (window-at-side-p, windows-at-side): New functions.
14259
7e1361d9
UM
142602011-10-21 Ulrich Mueller <ulm@gentoo.org>
14261
14262 * tar-mode.el (tar-grind-file-mode):
14263 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
14264
30fcaf3a
CY
142652011-10-21 Chong Yidong <cyd@gnu.org>
14266
14267 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
14268 * progmodes/vera-mode.el (vera-mode):
14269 Use mode-require-final-newline.
30fcaf3a 14270
516eddb0
GM
142712011-10-20 Glenn Morris <rgm@gnu.org>
14272
db22a3c2 14273 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 14274
10d5f513
CS
142752011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
14276
14277 * emulation/cua-base.el (cua-set-mark): Fix case of string.
14278
ac6c8639
CY
142792011-10-20 Chong Yidong <cyd@gnu.org>
14280
14281 * emulation/cua-base.el (cua-mode):
14282 * mail/footnote.el (footnote-mode):
14283 * mail/mailabbrev.el (mail-abbrevs-mode):
14284 * net/xesam.el (xesam-minor-mode):
14285 * progmodes/bug-reference.el (bug-reference-mode):
14286 * progmodes/cap-words.el (capitalized-words-mode):
14287 * progmodes/compile.el (compilation-minor-mode)
14288 (compilation-shell-minor-mode):
14289 * progmodes/gud.el (gud-tooltip-mode):
14290 * progmodes/hideif.el (hide-ifdef-mode):
14291 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
14292 * progmodes/subword.el (subword-mode):
14293 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
14294 * progmodes/which-func.el (which-function-mode):
14295 * term/tvi970.el (tvi970-set-keypad-mode):
14296 * term/vt100.el (vt100-wide-mode):
14297 * textmodes/flyspell.el (flyspell-mode):
14298 * textmodes/ispell.el (ispell-minor-mode):
14299 * textmodes/nroff-mode.el (nroff-electric-mode):
14300 * textmodes/paragraphs.el (use-hard-newlines):
14301 * textmodes/refill.el (refill-mode):
14302 * textmodes/reftex.el (reftex-mode):
14303 * textmodes/rst.el (rst-minor-mode):
14304 * textmodes/sgml-mode.el (html-autoview-mode)
14305 (sgml-electric-tag-pair-mode):
14306 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
14307 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
14308 * emulation/crisp.el (crisp-mode):
14309 * emacs-lisp/eldoc.el (eldoc-mode):
14310 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
14311 minor mode behavior.
14312
aa42ab43
JL
143132011-10-19 Juri Linkov <juri@jurta.org>
14314
14315 * descr-text.el (describe-char): Add #x2010 and #x2011 to
14316 the list of hard-coded chars with escape-glyph face.
14317
89400f1d
SM
143182011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
14319
14320 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
14321
305c07f6
MA
143222011-10-19 Michael Albinus <michael.albinus@gmx.de>
14323
14324 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
14325 running process.
14326
13754b54
GM
143272011-10-19 Glenn Morris <rgm@gnu.org>
14328
14329 * vc/vc-bzr.el (vc-bzr-after-dir-status):
14330 Ignore ignored files. (Bug#9726)
14331
06e21633
CY
143322011-10-19 Chong Yidong <cyd@gnu.org>
14333
14334 Doc fix for minor modes, stating that an omitted argument enables
14335 the mode unconditionally when called from Lisp.
14336
14337 * abbrev.el (abbrev-mode):
14338 * allout.el (allout-mode):
14339 * autoinsert.el (auto-insert-mode):
14340 * autoarg.el (autoarg-mode, autoarg-kp-mode):
14341 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
14342 (global-auto-revert-mode):
14343 * battery.el (display-battery-mode):
14344 * composite.el (global-auto-composition-mode)
14345 (auto-composition-mode):
14346 * delsel.el (delete-selection-mode):
14347 * desktop.el (desktop-save-mode):
14348 * dired-x.el (dired-omit-mode):
14349 * dirtrack.el (dirtrack-mode):
14350 * doc-view.el (doc-view-minor-mode):
14351 * double.el (double-mode):
14352 * electric.el (electric-indent-mode, electric-pair-mode):
14353 * emacs-lock.el (emacs-lock-mode):
14354 * epa-hook.el (auto-encryption-mode):
14355 * follow.el (follow-mode):
14356 * font-core.el (font-lock-mode):
14357 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
14358 * help.el (temp-buffer-resize-mode):
14359 * hilit-chg.el (highlight-changes-mode)
14360 (highlight-changes-visible-mode):
14361 * hi-lock.el (hi-lock-mode):
14362 * hl-line.el (hl-line-mode, global-hl-line-mode):
14363 * icomplete.el (icomplete-mode):
14364 * ido.el (ido-everywhere):
14365 * image-file.el (auto-image-file-mode):
14366 * image-mode.el (image-minor-mode):
14367 * iswitchb.el (iswitchb-mode):
14368 * jka-cmpr-hook.el (auto-compression-mode):
14369 * linum.el (linum-mode):
14370 * longlines.el (longlines-mode):
14371 * master.el (master-mode):
14372 * mb-depth.el (minibuffer-depth-indicate-mode):
14373 * menu-bar.el (menu-bar-mode):
14374 * minibuf-eldef.el (minibuffer-electric-default-mode):
14375 * mouse-sel.el (mouse-sel-mode):
14376 * msb.el (msb-mode):
14377 * mwheel.el (mouse-wheel-mode):
14378 * outline.el (outline-minor-mode):
14379 * paren.el (show-paren-mode):
14380 * recentf.el (recentf-mode):
14381 * reveal.el (reveal-mode, global-reveal-mode):
14382 * rfn-eshadow.el (file-name-shadow-mode):
14383 * ruler-mode.el (ruler-mode):
14384 * savehist.el (savehist-mode):
14385 * scroll-all.el (scroll-all-mode):
14386 * scroll-bar.el (scroll-bar-mode):
14387 * server.el (server-mode):
14388 * shell.el (shell-dirtrack-mode):
14389 * simple.el (auto-fill-mode, transient-mark-mode)
14390 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
14391 (line-number-mode, column-number-mode, size-indication-mode)
14392 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
14393 * strokes.el (strokes-mode):
14394 * time.el (display-time-mode):
14395 * t-mouse.el (gpm-mouse-mode):
14396 * tool-bar.el (tool-bar-mode):
14397 * tooltip.el (tooltip-mode):
14398 * type-break.el (type-break-mode-line-message-mode)
14399 (type-break-query-mode):
14400 * view.el (view-mode):
14401 * whitespace.el (whitespace-mode, whitespace-newline-mode)
14402 (global-whitespace-mode, global-whitespace-newline-mode):
14403 * xt-mouse.el (xterm-mouse-mode): Doc fix.
14404
a3839de2
SM
14405 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14406 Fix autogenerated docstring.
06e21633 14407
5214e501
JL
144082011-10-19 Juri Linkov <juri@jurta.org>
14409
14410 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
14411 by checking environment variables "DESKTOP_SESSION" and
14412 "XDG_CURRENT_DESKTOP". (Bug#9779)
14413
195f8db9
JL
144142011-10-19 Juri Linkov <juri@jurta.org>
14415
14416 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
14417 (browse-url-chromium-program, browse-url-chromium-arguments):
14418 New defcustoms.
14419 (browse-url-default-browser): Check for `browse-url-chromium' and
14420 call `browse-url-chromium-program'.
14421 (browse-url-chromium): New command. (Bug#9779)
14422
343a34ff
JB
144232011-10-18 Juanma Barranquero <lekktu@gmail.com>
14424
14425 * facemenu.el (list-colors-duplicates): On Windows, detect more
14426 duplicates by assuming that only colors matching "^System" are
14427 special "system colors". (Bug#9722)
14428
6978a151
SM
144292011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
14430
14431 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
14432 to distinguish the author from the committer.
14433
6a80b297
MA
144342011-10-18 Michael Albinus <michael.albinus@gmx.de>
14435
14436 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
14437
b31a5677
JK
144382011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
14439
14440 * international/mule.el (sgml-html-meta-auto-coding-function):
14441 Add support for detecting encoding in HTML5 specified only as
14442 <meta charset="UTF-8">. Implementation just makes http-equiv and
14443 content-type parts from HTML4 encoding string optional. (Bug#9716)
14444
80c6d77f
GM
144452011-10-18 Glenn Morris <rgm@gnu.org>
14446
14447 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
14448
08b0fee8
CY
144492011-10-18 Chong Yidong <cyd@gnu.org>
14450
14451 * faces.el (cursor): Doc fix.
14452
67e729a5
CY
144532011-10-17 Chong Yidong <cyd@gnu.org>
14454
14455 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
14456
343a34ff 144572011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
14458
14459 * dirtrack.el (dirtrack): Support shell buffers with path
14460 prefixes, e.g. tramp-based remote shells. (Bug#9647)
14461
0bc06380
TZ
144622011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
14463
14464 * json.el: Bump version to 1.3 and note change in History.
14465 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
14466
8b79f3e0
SM
144672011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
14468
5a7c536b
SM
14469 * comint.el (comint-insert-input, comint-send-input)
14470 (comint-get-old-input-default, comint-backward-matching-input)
14471 (comint-next-prompt): Use nil instead of `input' for field property of
14472 past user input (bug#114).
14473
96a8a0df
SM
14474 * minibuffer.el (completion--replace): Inherit surrounding properties
14475 (bug#114).
14476 (minibuffer-complete-and-exit): Use it.
14477
8b79f3e0
SM
14478 * comint.el (comint--table-subvert): Quote the all-completions output
14479 (bug#9160).
14480
b8f7ff0d
MR
144812011-10-17 Martin Rudalics <rudalics@gmx.at>
14482
8b79f3e0 14483 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 14484
b8f7ff0d 14485 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 14486 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
14487 entries and separate them from frame entries.
14488
c235b555
GM
144892011-10-15 Glenn Morris <rgm@gnu.org>
14490
14491 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
14492 Doc fixes.
14493
6bbfa6e1
CY
144942011-10-15 Chong Yidong <cyd@stupidchicken.com>
14495
8b79f3e0
SM
14496 * net/network-stream.el (network-stream-open-starttls):
14497 Improve detection of failure due to lack of TLS support.
ec5c990d 14498
6bbfa6e1
CY
14499 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
14500 putting the input text in front and in bold.
14501
98488977
SM
145022011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
14503
3d1337be
SM
14504 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
14505
ee0b45e4
SM
14506 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
14507 empty buffer.
14508
98488977
SM
14509 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
14510 unread-command-events rather than pushing yet-another event.
14511
186f4720
EZ
145122011-10-14 Eli Zaretskii <eliz@gnu.org>
14513
14514 * mail/sendmail.el (sendmail-query-once): Improve the wording of
14515 the explanation of the possible choices. Make the options passed
14516 to completing-read shorter.
14517
8b7a997c
AM
145182011-10-13 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
14519
14520 * textmodes/flyspell.el (flyspell-large-region): Make sure
14521 extended character mode is used if defined (Bug#1339).
14522
12587bbb
EZ
145232011-10-13 Eli Zaretskii <eliz@gnu.org>
14524
14525 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
14526 character info for LRE, LRO, RLE, and RLO characters by appending
14527 an invisible PDF.
12587bbb 14528
bad41229
SM
145292011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
14530
14531 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
14532 even in case of error; add debug spec; simplify data flow.
14533 (with-timeout-handler): Remove.
14534
28dbc92f
MA
145352011-10-12 Michael Albinus <michael.albinus@gmx.de>
14536
14537 Fix Bug#6019, Bug#9315.
14538
14539 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
14540 complete `buffer-file-name', the local file name part could look
14541 remotely (for example on VMS).
14542
14543 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
14544 `tramp-run-real-handler'.
14545 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
14546 already quoted by '"'.
14547
14548 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
14549 Let `file-name-handler-alist' be nil, the local file name part
14550 could look remotely (for example on VMS).
14551
e1b0b23a
SM
145522011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
14553
14554 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
14555 from here...
14556 (flyspell-post-command-hook): ...to here.
14557
a120bde9
SM
145582011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
14559
14560 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
14561 if not needed.
14562 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
14563 using completion. Protect against "slow" callers.
14564 Remove the "message hack".
14565
7ce7717b
JL
145662011-10-11 Juri Linkov <juri@jurta.org>
14567
14568 * isearch.el (isearch-lazy-highlight-word): New variable.
14569 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
14570 Use it. (Bug#9727)
14571
c02ee9d6
GM
145722011-10-11 Glenn Morris <rgm@gnu.org>
14573
14574 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
14575 like f90-previous-statement does.
14576
93e616fd 145772011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14578
1f190e73 14579 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
14580 only in interactive use, to avoid error.
14581
af7b6078
SM
145822011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
14583
14584 * minibuffer.el (completion-file-name-table): Fix last change,
14585 i.e. ignore normal errors but not the other ones.
14586
0563dae9
MR
145872011-10-10 Martin Rudalics <rudalics@gmx.at>
14588
14589 * window.el (special-display-buffer-names)
14590 (special-display-regexps): Remove some remnants of earlier
14591 changes from doc-strings.
366ca7f3
MR
14592 (quit-windows-on): New function.
14593
14594 * vc/vc.el (vc-revert, vc-rollback):
14595 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
14596 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 14597 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 14598
49677495
MR
145992011-10-09 Martin Rudalics <rudalics@gmx.at>
14600
14601 * window.el (frame-auto-hide-function): Add version tag.
14602 (Bug#9699)
14603
56f2d1e1
MA
146042011-10-09 Michael Albinus <michael.albinus@gmx.de>
14605
14606 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
14607 condition.
14608
112a6592
LL
146092011-10-09 Leo Liu <sdl.web@gmail.com>
14610
14611 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
14612 (Bug#9701)
14613
0812589b
GM
146142011-10-08 Glenn Morris <rgm@gnu.org>
14615
14616 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
14617 before the first code statement zero indent. (Bug#9690)
14618
b2b0776e
CY
146192011-10-08 Chong Yidong <cyd@stupidchicken.com>
14620
14621 * simple.el (count-words-region): Always count in the region.
14622 Report the number of lines and characters too.
14623 (count-words): New command, which counts in the buffer if the
14624 region is inactive, as count-words-region used to.
14625 (count-words--message): New function. Handle plurals.
14626 (count-lines-region): Make it an alias for count-words-region.
14627
14628 * bindings.el (esc-map): Replace count-lines-region with
14629 count-words-region.
14630
c557cd6b
MR
146312011-10-08 Martin Rudalics <rudalics@gmx.at>
14632
14633 * window.el (window--delete): Delete dedicated frame
14634 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 14635 (switch-to-buffer): Fix doc-string typo.
c557cd6b 14636
61a57ef4 146372011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14638
3a7d293b 14639 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 14640
c3833279
CY
146412011-10-07 Chong Yidong <cyd@stupidchicken.com>
14642
14643 * bindings.el ([M-left],[M-right]): Bind to left-word and
14644 right-word respectively.
14645
21ce8245
GM
146462011-10-07 Glenn Morris <rgm@gnu.org>
14647
14648 * cus-start.el (debug-on-quit): Fix custom type.
14649
6d823bb2
LMI
146502011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
14651
0181e193
LMI
14652 * subr.el (define-key-after): Clarify that the function is not
14653 useful for non-menu keymaps.
14654
6d823bb2
LMI
14655 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
14656
8e3459ce 146572011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14658
21ce8245 14659 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 14660 in current minibuffer (Fix bug with recursive minibuffers).
14661
a1c2d21e
CY
146622011-10-06 Chong Yidong <cyd@stupidchicken.com>
14663
14664 * progmodes/gdb-mi.el (gdb): Doc fix.
14665
5a4cf282
MR
146662011-10-05 Martin Rudalics <rudalics@gmx.at>
14667
14668 * window.el (frame-auto-hide-function): New option replacing
14669 frame-auto-delete. Suggested by Stefan Monnier.
14670 (window--delete): Call frame-auto-hide-function instead of
14671 investigating frame-auto-delete.
c96111ea
MR
14672 (window-point-1, set-window-point-1): New functions.
14673 (window-in-direction, record-window-buffer, window-state-get-1)
14674 (display-buffer-record-window): Use window-point-1 instead of
14675 window-point.
14676 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 14677
9854542e
SM
146782011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
14679
14680 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
14681
8943cfb0
GM
146822011-10-05 Glenn Morris <rgm@gnu.org>
14683
14684 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
14685 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
14686
647ab967
LL
146872011-10-05 Leo Liu <sdl.web@gmail.com>
14688
14689 * subr.el (read-char-choice): Fix argument to buffer-live-p which
14690 works with buffer object.
14691
3ddfbced
SM
146922011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
14693
14694 * mpc.el (mpc-tool-bar-map): Add labels.
14695
bdfa5dd2
GM
146962011-10-04 Glenn Morris <rgm@gnu.org>
14697
14698 * calendar/holidays.el (calendar-check-holidays): Doc fix.
14699
0e2070b5
MR
147002011-10-04 Martin Rudalics <rudalics@gmx.at>
14701
14702 * window.el (window--delete): New function.
14703 (frame-auto-delete): Resuscitate option.
14704 (bury-buffer, replace-buffer-in-windows)
14705 (quit-window): Rewrite using window--delete.
14706 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
14707 Pass display-buffer-mark-dedicated to window--display-buffer-2
14708 (Bug#9639).
14709
3dc61a09
SM
147102011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
14711
915a9b64
SM
14712 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
14713 returns a list (bug#9554). Add remote file name completion.
14714 * comint.el (comint--table-subvert): Curry and get quote&unquote
14715 functions as arguments.
14716 (comint--complete-file-name-data): Adjust call accordingly.
14717 * pcomplete.el (pcomplete--table-subvert): Remove.
14718 (pcomplete-completions-at-point): Use comint--table-subvert instead.
14719
3dc61a09
SM
14720 * minibuffer.el (completion-table-case-fold): Use currying.
14721 (completion--styles-type, completion--cycling-threshold-type):
14722 New constants.
14723 (completion-styles, completion-category-overrides)
14724 (completion-cycle-threshold): Use them.
14725 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
14726 completion-table-case-fold.
14727
8ea0a993
SB
147282011-10-03 Stephen Berman <stephen.berman@gmx.net>
14729
14730 * minibuffer.el (completion-category-overrides): Fix type of styles
14731 and add more user friendly tags (bug#9660).
14732
8c24b7f6
SM
147332011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
14734
14735 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
14736 (mule-input-method-string): New widget.
14737 (default-input-method, language-info-custom-alist): Use it.
14738
428fe61a
SM
147392011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
14740
32c1fffd
SM
14741 * pcomplete.el: Require comint.
14742 (pcomplete--common-suffix): Remove.
14743 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
14744 (pcomplete--table-subvert): Sync with comint--table-subvert.
14745 (pcomplete--entries): Use comint-completion-file-name-table.
14746 * comint.el (comint-unquote-filename): Simplify.
14747 (comint-completion-file-name-table): New function (bug#9616).
14748 (comint--complete-file-name-data): Use it.
14749
428fe61a
SM
14750 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
14751 (pcmpl-gnu-tar-buffer): Remove.
14752 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
14753 around. Make sure pcomplete-suffix-list is only changed temporarily.
14754 Don't look inside the tar's file if it's too large.
428fe61a 14755
04c52e2f
CY
147562011-10-01 Chong Yidong <cyd@stupidchicken.com>
14757
ce3cefcc
CY
14758 * cus-edit.el (custom-mode-map):
14759 * epa.el (epa-key-list-mode-map):
14760 * man.el (Man-mode-map):
14761 * startup.el (splash-screen-keymap):
14762 * simple.el (special-mode-map): Use scroll-up-command and
14763 scroll-down-command.
14764
14765 * progmodes/idlw-help.el (idlwave-help-mode-map):
14766 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
14767 * net/newst-plainview.el (newsticker-mode-map):
14768 * emulation/ws-mode.el (wordstar-mode-map):
14769 * emulation/vi.el (vi-com-map):
14770 * calc/calc-graph.el (calc-graph-show-dumb):
14771 * term/sun.el (terminal-init-sun):
14772 * term/ns-win.el (global-map):
14773 * progmodes/grep.el (grep-mode-map):
14774 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
14775 * mail/rmail.el (rmail-mode-map):
14776 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
14777
04c52e2f
CY
14778 * custom.el (custom-safe-themes, load-theme): Treat value of t for
14779 custom-safe-themes as special.
14780
79adf8c8
JD
147812011-10-01 Julien Danjou <julien@danjou.info>
14782
14783 * notifications.el (notifications-notify): Fix docstring.
14784
63bd50d3
PS
147852011-10-01 Per Starbäck <per@starback.se>
14786
14787 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
14788
199e4c7e
MR
147892011-09-30 Martin Rudalics <rudalics@gmx.at>
14790
14791 * startup.el (command-line-1): Fix last fix by inserting
14792 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 14793 (Bug#9605) and (Bug#9636)
199e4c7e 14794
fe5f08dd
EZ
147952011-09-29 Eli Zaretskii <eliz@gnu.org>
14796
14797 * simple.el (line-move): If auto-hscroll-mode is disabled and the
14798 window is hscrolled, move by logical lines. (Bug#9607)
14799 (line-move-visual): Update the doc string to the above effect.
14800
b5516bbd
MR
148012011-09-29 Martin Rudalics <rudalics@gmx.at>
14802
ccee00c0
MR
14803 * window.el (display-buffer-record-window): When WINDOW is the
14804 selected window use `point' instead of `window-point'. (Bug#9626)
14805
b5516bbd
MR
14806 * startup.el (command-line-1): Use insert-before-markers when
14807 inserting initial-scratch-message. (Bug#9605)
ccee00c0 14808
b5516bbd
MR
14809 * help.el (help-window): Remove variable.
14810
52aa0014
GM
148112011-09-29 Glenn Morris <rgm@gnu.org>
14812
14813 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
14814
df9a7357
JB
148152011-09-29 Juanma Barranquero <lekktu@gmail.com>
14816
14817 * descr-text.el (describe-char-categories): Accept category
14818 descriptions more than one line long.
14819
a8406c20
SM
148202011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
14821
88d9610c
SM
14822 * simple.el (delete-trailing-whitespace): Fix last change.
14823
a5daf810
SM
14824 * progmodes/perl-mode.el (perl-syntax-propertize-function):
14825 Don't confuse "y => 3" as the beginning of a `y' operation.
14826
a8406c20
SM
14827 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
14828 object has more than 4 slots (bug#9613).
14829
a239d4e9
JB
148302011-09-28 Juanma Barranquero <lekktu@gmail.com>
14831
14832 * subr.el (with-output-to-temp-buffer):
14833 * net/quickurl.el (quickurl, quickurl-browse-url):
14834 Fix typos in docstrings.
14835
693fbdb6
EZ
148362011-09-27 Eli Zaretskii <eliz@gnu.org>
14837
14838 * minibuffer.el (completion-styles)
14839 (completion-category-overrides): Cross reference each other in doc
14840 strings.
14841
8b457e28
GM
148422011-09-27 Glenn Morris <rgm@gnu.org>
14843
14844 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
14845 to split-string. (Bug#9606)
14846
85a16208
LMI
148472011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
14848
14849 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
14850 (bug#9615).
14851
502f9ebd
CY
148522011-09-27 Chong Yidong <cyd@stupidchicken.com>
14853
14854 * emacs-lisp/package.el (list-packages): Fix echo area message.
14855
7690bdea
LL
148562011-09-27 Leo Liu <sdl.web@gmail.com>
14857
14858 * ido.el (ido-read-internal): Accept cons cell HIST arg.
14859
e2ee6f30
MA
148602011-09-25 Michael Albinus <michael.albinus@gmx.de>
14861
14862 * net/dbus.el (dbus-unregister-object): Don't release services for
14863 registered signals. (Bug#9581)
14864
f3f98342
TZ
148652011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
14866
14867 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
14868 function that picks between cfengine 2 and 3 support
14869 automatically. Update docs accordingly.
14870
dd7aa8dd
KH
148712011-09-22 Kenichi Handa <handa@m17n.org>
14872
14873 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
14874 ZERO.
14875 (indian-itrans-v5-table-for-tamil): New variable.
14876 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
14877
3f2b07f8
KM
148782011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
14879
14880 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
14881 that's true if the current command involved collapsing of text.
14882 It's reset to false at the beginning of the next command.
14883 (allout-post-command-business): Move the cursor to the beginning
14884 of entry if the cursor is hidden and collapsing activity just
14885 happened.
14886
371d6a61
CY
148872011-09-24 Chong Yidong <cyd@stupidchicken.com>
14888
14889 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
14890 tracking (Bug#9541).
14891
2ac2721a
UJ
148922011-09-24 Ulf Jasper <ulf.jasper@web.de>
14893
14894 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
14895 (newsticker-show-news): Automatically load html rendering package
14896 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
14897 because w3m-fill-column is let-bound" and the error "Symbol's value
14898 as variable is void: w3m-fill-column".
2ac2721a 14899
fac7ae53
MA
149002011-09-24 Michael Albinus <michael.albinus@gmx.de>
14901
14902 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
14903 Release services only if they are defined. (Bug#9581)
14904
e08b633b
RS
149052011-09-23 Richard Stallman <rms@gnu.org>
14906
e488d29c
RS
14907 * textmodes/paragraphs.el (forward-sentence): For backwards case,
14908 distinguish start of paragraph from start of its text.
14909
19c38752
RS
14910 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
14911
e08b633b
RS
14912 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
14913 (rmail-generate-viewer-buffer): Put that hook on view buffer.
14914 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
14915
0a39f27e
AS
149162011-09-23 Andreas Schwab <schwab@linux-m68k.org>
14917
14918 * international/mule-diag.el (mule-diag): Insert a newline after
14919 each fontset description.
14920
db4e950d
SM
149212011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
14922
14923 * simple.el (delete-trailing-whitespace):
14924 Document last change; simplify.
14925
eca3f3ea
PW
149262011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
14927
d68e189a
PW
14928 * simple.el (delete-trailing-whitespace): Also delete
14929 extra newlines at the end of the buffer.
14930
eca3f3ea
PW
14931 * textmodes/picture.el: Make motion commands obey shift-select-mode.
14932 (picture-newline): Use forward-line so as to ignore fields.
14933
01c157cc
SM
149342011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
14935
14936 * subr.el (with-wrapper-hook): Fix edebug spec.
14937
022de23e
LMI
149382011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
14939
14940 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
14941 (bug#4538).
14942
91683089
MA
149432011-09-23 Michael Albinus <michael.albinus@gmx.de>
14944
eca3f3ea
PW
14945 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
14946 Fix nasty bug using wrong cached values.
91683089 14947
5bdd6fa4
AM
149482011-09-23 Alan Mackenzie <acm@muc.de>
14949
14950 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
14951
97adfb97
CY
149522011-09-23 Chong Yidong <cyd@stupidchicken.com>
14953
14954 * window.el (pop-to-buffer): Ensure right window is selected if we
14955 chose another frame.
14956
d4ef2b50
EZ
149572011-09-22 Eli Zaretskii <eliz@gnu.org>
14958
14959 * simple.el (what-cursor-position): Use get-char-property-change
14960 and next-single-char-property-change, to be able to show display
14961 properties that come from overlays as well as text properties.
14962
72258fe5
CY
149632011-09-22 Chong Yidong <cyd@stupidchicken.com>
14964
14965 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
14966
14967 * cmuscheme.el (run-scheme, switch-to-scheme):
14968 * cus-edit.el (customize-group, custom-buffer-create)
14969 (customize-browse):
14970 * info.el (info):
14971 * shell.el (shell):
14972 * mail/sendmail.el (mail):
14973 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
14974
8f098516
RS
149752011-09-22 Richard Stallman <rms@gnu.org>
14976
14977 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
14978 move back only to line beg, don't move back over blank lines.
14979
e74f1bb6
MA
149802011-09-22 Michael Albinus <michael.albinus@gmx.de>
14981
14982 * files.el (copy-directory): Set directory attributes only in case
14983 they could be retrieved from the source directory. (Bug#9565)
14984
bfeef8b6
DK
149852011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
14986
14987 * progmodes/hideshow.el (hs-looking-at-block-start-p)
14988 (hs-find-block-beginning, hs-hide-level-recursive):
14989 Ignore strings as well as comments. (Bug#9502)
14990
7e423bb8
AS
149912011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
14992
14993 * progmodes/sql.el (sql-comint-postgres):
14994 Convert port number to a string. (Bug#9566)
14995
b4d72fcf
MR
149962011-09-22 Martin Rudalics <rudalics@gmx.at>
14997
14998 * window.el (quit-window): Undedicate window when switching to
14999 previous buffer. Reported by Thierry Volpiatto
15000 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
15001 (special-display-popup-frame): When popping up a new frame reset
15002 its previous buffers to nil. Simplify code.
b4d72fcf 15003
a7b88dc6
MA
150042011-09-21 Michael Albinus <michael.albinus@gmx.de>
15005
15006 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
15007 and process filter, as done also in `shell-command'.
15008
cf4eacfd
MR
150092011-09-21 Martin Rudalics <rudalics@gmx.at>
15010
eca3f3ea 15011 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
15012 Call set-window-start with NOFORCE argument t.
15013 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
15014 (quit-window): Reword doc-string. Handle new format of
15015 quit-restore parameter. Don't delete window if it has a
15016 previous buffer we can show instead of the present one.
15017 (display-buffer-record-window): Rewrite using a new format for
15018 the quit-restore window parameter
15019 (special-display-popup-frame, display-buffer-same-window)
15020 (display-buffer-reuse-window, display-buffer-pop-up-frame)
15021 (display-buffer-pop-up-window, display-buffer-use-some-window):
15022 Adapt symbol passed to display-buffer-record-window.
15023 * help.el (help-window-setup): Handle new format of quit-restore
15024 parameter.
15025
8d28cb95
SM
150262011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
15027
94ab793f
SM
15028 * faces.el (face-list): Fix docstring (bug#9564).
15029
8d28cb95
SM
15030 * window.el (display-buffer--action-function-custom-type):
15031 Don't include internal functions in the Custom interface.
15032
3820edeb
JL
150332011-09-20 Juri Linkov <juri@jurta.org>
15034
15035 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
15036 (Info-forward-node, Info-backward-node, Info-next-preorder)
15037 (Info-last-preorder): Use it. (Bug#9528)
15038
5147931d
JL
150392011-09-20 Juri Linkov <juri@jurta.org>
15040
15041 * info.el (Info-last-preorder): Visit last menu item only when
15042 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
15043
cf499a1a
JD
150442011-09-20 Julien Danjou <julien@danjou.info>
15045
15046 * password-cache.el (password-cache-remove): Remove entries even if the
15047 value is nil, so that password with a nil value (negative caching) is
15048 possible to invalidate.
15049
f84e2fe2
LM
150502011-09-20 Lawrence Mitchell <wence@gmx.li>
15051
15052 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
15053 all whitespace around breakpoint. (Bug#9553)
15054 (f90-find-breakpoint): Only break at whitespace inside a comment.
15055
78054a46
SM
150562011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
15057
15058 * minibuffer.el (completion-file-name-table): Keep track of errors.
15059 (completion-table-with-predicate): Handle the case where pred1 is nil.
15060 * pcomplete.el (pcomplete-completions-at-point): Simplify.
15061
345083b2
SM
150622011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
15063
e24e27be
SM
15064 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
15065 (debugger-return-value): Signal an error if the debugging context does
15066 not await any return value.
15067
345083b2
SM
15068 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
15069 * image-mode.el (image-toggle-display-text)
15070 (image-toggle-display-image): Stay away from evil `intangible'.
15071
08d355e3
LL
150722011-09-19 Leo Liu <sdl.web@gmail.com>
15073
15074 * replace.el (occur-revert-arguments): Make it permanent-local.
15075 (occur-mode): Don't call font-lock-defontify.
15076
f01da43f
CY
150772011-09-19 Chong Yidong <cyd@stupidchicken.com>
15078
15079 * net/ldap.el (ldap-search-internal): Don't push empty search
15080 result (Bug#9508).
15081
b6072fa6
SM
150822011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
15083
15084 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
15085
443d6696
MA
150862011-09-19 Michael Albinus <michael.albinus@gmx.de>
15087
15088 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
15089 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
15090
7cc6e154
JL
150912011-09-18 Juri Linkov <juri@jurta.org>
15092
15093 * buff-menu.el (Buffer-menu-mode-map):
15094 * dired.el (dired-mode-map):
15095 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
15096 (lisp-interaction-mode-map):
15097 * emacs-lisp/package.el (package-menu-mode-map):
15098 * epa.el (epa-key-list-mode-map):
15099 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
15100 (menu-bar-options-menu):
15101 * outline.el (outline-mode-menu-bar-map):
15102 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
15103 * vc/vc-dir.el (vc-dir-menu-map):
15104 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
15105 Capitalize non-function content words in menu item strings.
15106
15107 * dired.el (dired-mode-map): Add menu item for
15108 `image-dired-dired-toggle-marked-thumbs'.
15109
80302a81
JL
151102011-09-18 Juri Linkov <juri@jurta.org>
15111
15112 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
15113 to `isearch-case-fold-search' and restore its original value
15114 after the `isearch-mode' call.
15115
46c5cf66
JL
151162011-09-18 Juri Linkov <juri@jurta.org>
15117
15118 * progmodes/grep.el (grep-process-setup): Don't check code for 1
15119 because `zgrep' returns 1 for successful matches (bug#9226).
15120
d18b513b
JL
151212011-09-18 Juri Linkov <juri@jurta.org>
15122
15123 * info.el (Info-extract-menu-node-name): Check the second match
15124 for empty string (second test-case of bug#9528).
15125 (Info-last-preorder): Let-bind `Info-history' to nil to not add
15126 intermediate nodes to the history (first test-case of bug#9528).
15127
72753f87
JL
151282011-09-18 Juri Linkov <juri@jurta.org>
15129
15130 * info.el (Info-mode-syntax-table): New variable.
1154d12e 15131 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 15132
c9384295
JL
151332011-09-18 Juri Linkov <juri@jurta.org>
15134
1154d12e
JB
15135 * info.el (Info-file-supports-index-cookies):
15136 Increment line-beginning-position's arg from 3 to 4 because makeinfo
15137 outputs one more line for long file names (bug#4142).
c9384295 15138
d473dce8
CY
151392011-09-18 Chong Yidong <cyd@stupidchicken.com>
15140
15141 * newcomment.el (comment-normalize-vars): If prompting for
15142 comment-start, set comment-start-skip too (Bug#8424).
15143
2176854d
JB
151442011-09-18 Johan BockgĂ¥rd <bojohan@gnu.org>
15145
15146 * icomplete.el: Fix previous fix of Bug#5849.
15147 (icomplete-mode): Don't set completion-show-inline-help.
15148 (icomplete-minibuffer-setup): Set completion-show-inline-help
15149 locally during icompletion.
15150
3aace4e4
CY
151512011-09-18 Chong Yidong <cyd@stupidchicken.com>
15152
c940224f
CY
15153 * woman.el (woman2-process-escapes): Don't delete unrecognized
15154 escapes (Bug#7843).
15155
3aace4e4
CY
15156 * files.el (inhibit-first-line-modes-regexps): Add image files.
15157 (hack-local-variables-prop-line): Return nil for malformed
15158 prop-lines (Bug#9044).
15159
710dec63
MA
151602011-09-18 Michael Albinus <michael.albinus@gmx.de>
15161
15162 * net/tramp.el (top): Don't require 'shell.
15163 (tramp-methods): Fix docstring.
15164 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
15165 Return complete remote file name. Handle "smb" case.
15166 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
15167 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
15168
15169 * net/tramp-compat.el (top): Require 'shell.
15170
15171 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
15172 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
15173 `tramp-current-host'.
15174 (tramp-get-remote-tmpdir): Remove.
15175
15176 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
15177 `tramp-tmpdir' entries.
15178 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
15179 (tramp-smb-handle-file-attributes): Ignore errors.
15180 (tramp-smb-wait-for-output): Check also for process end.
15181
5d5ac8ec
LMI
151822011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
15183
15184 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
15185 when sending QUIT (bug#9312).
15186
8c0f49f0
CY
151872011-09-17 Chong Yidong <cyd@stupidchicken.com>
15188
15189 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
15190 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
15191 occur-mode-display-occurrence.
15192 (occur-edit-mode): Add usage message.
15193 (occur-cease-edit): New command.
15194 (occur-after-change-function): Use text properties to find the
15195 position of the prefix text.
15196 (occur-engine): Set stickiness of prefix text properties.
15197
8f1383f7
GM
151982011-09-17 Glenn Morris <rgm@gnu.org>
15199
15200 * progmodes/etags.el (complete-tag):
15201 Fix call to completion-in-region. (Bug#9526)
15202
744ba0e3
JL
152032011-09-17 Juri Linkov <juri@jurta.org>
15204
15205 * textmodes/ispell.el (ispell-word): Add to the error message
15206 the word, ispell program name and current dictionary (bug#9121).
15207 (ispell-tex-arg-end): Capitalize "error" in the error message.
15208
d9bbf400
AS
152092011-09-17 Andreas Schwab <schwab@linux-m68k.org>
15210
15211 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
15212 check. (Bug#4251)
15213
8da11505
JL
152142011-09-17 Juri Linkov <juri@jurta.org>
15215
15216 * window.el (window-safe-min-height, window-safe-min-width):
15217 Fix typos (followup to bug#9522).
15218
a91adc7e
SJ
152192011-09-17 Sven Joachim <svenjoac@gmx.de>
15220
15221 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
15222
064f328a
EZ
152232011-09-16 Eli Zaretskii <eliz@gnu.org>
15224
15225 * simple.el (line-move): If goal-column is set, move by logical
15226 lines, not by display lines. (Bug#971)
15227 (next-line, previous-line, goal-column, line-move-visual): Doc fix
15228 to reflect the above change.
15229
e69df516
SM
152302011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
15231
15232 * image.el (imagemagick-register-types): Use regexp-opt.
15233
cbb0f9ab
CY
152342011-09-15 Chong Yidong <cyd@stupidchicken.com>
15235
15236 * window.el (display-buffer-base-action): Rename from
15237 display-buffer-default-action. Make default value empty.
15238 (display-buffer-overriding-action): Convert to defvar.
15239 (display-buffer-fallback-action): New var.
15240
25322144
CY
152412011-09-15 Chong Yidong <cyd@stupidchicken.com>
15242
15243 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
15244 declaration.
15245 (package--add-to-archive-contents): If there is a duplicate entry
15246 with an older version, remove it.
15247 (package-menu-mark-delete, package-menu-mark-install)
15248 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
15249 (package-menu-mark-obsolete-for-deletion):
15250 Use package-menu-get-status instead of a regexp search.
25322144
CY
15251 (package-menu-get-status): Use tabulated-list-entry.
15252 (package-menu-mark-upgrades): New command.
d770725a 15253 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
15254 (package-menu-execute): Do installation before deletion.
15255 (package-menu-refresh, package-menu-execute): Use derived-mode-p
15256 instead of checking major-mode.
15257 (package-menu--find-upgrades): New function.
15258
7520339c
LMI
152592011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
15260
15261 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
15262 passwords in the log buffer.
65a046c4
LMI
15263 (smtpmail-process-filter): Update the process marker so that the
15264 "broken by peer" status message is inserted in the right place.
7520339c 15265
d3c30954
SM
152662011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
15267
3fe48822
SM
15268 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
15269 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
15270 bibtex-completion-at-point-function.
15271 (bibtex-completion-at-point-function): Use them.
15272
1b8b3954
SM
15273 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
15274
d3c30954
SM
15275 * mpc.el (mpc-constraints-tag-lookup): New function.
15276 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
15277 also to browser "album|playlist".
15278
72779976
JL
152792011-09-14 Juri Linkov <juri@jurta.org>
15280
15281 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
15282 (isearch-edit-string): Use length of `isearch-string' when
15283 `isearch-fail-pos' returns nil.
15284 (isearch-message): Remove duplicate code and call
15285 `isearch-fail-pos' with arg `t'.
15286
a0bf2bcd
CY
152872011-09-14 Chong Yidong <cyd@stupidchicken.com>
15288
17bb0a2d
CY
15289 * replace.el (occur-mode-goto-occurrence): Don't force using other
15290 window (Bug#9499).
15291
a0bf2bcd
CY
15292 * dired-aux.el (dired-do-chmod): Don't provide initial input.
15293
f678e0b6
MR
152942011-09-14 Martin Rudalics <rudalics@gmx.at>
15295
15296 * window.el (display-buffer-window): Remove.
15297 (display-buffer-record-window): Use help-setup window parameter
15298 instead of variable display-buffer-window.
15299 (display-buffer-function, special-display-buffer-names)
15300 (special-display-function): Mention help-setup parameter instead
15301 of display-buffer-window in doc-string.
d3c30954
SM
15302 * help.el (help-window-setup): New argument help-window.
15303 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
15304 Reword some messages.
15305 (with-help-window): Pass window used for displaying the buffer
15306 to help-window-setup. Don't set display-buffer-window.
15307
8e39b2e8
GM
153082011-09-13 Glenn Morris <rgm@gnu.org>
15309
15310 * emacs-lisp/debug.el (debugger-make-xrefs):
15311 Preserve point. (Bug#9462)
15312
85e9c04b
CY
153132011-09-13 Chong Yidong <cyd@stupidchicken.com>
15314
15315 * window.el (window-deletable-p): Use next-frame.
15316
1b36ed6a
MR
153172011-09-13 Martin Rudalics <rudalics@gmx.at>
15318
15319 * window.el (window-auto-delete): Remove.
15320 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 15321 dedication and previous buffers.
1b36ed6a
MR
15322 (switch-to-prev-buffer): Don't delete window.
15323 (delete-windows-on): Delete a window's frame if and only if the
15324 window is dedicated.
15325 (replace-buffer-in-windows): Delete buffer's window or frame if
15326 and only if window is dedicated.
15327 (quit-window): Handle quit-restore as before last change.
4d61f28d 15328 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 15329
ef8ef9fb
CY
153302011-09-13 Chong Yidong <cyd@stupidchicken.com>
15331
15332 * window.el (window-deletable-p): Never delete the last frame on a
15333 given terminal.
15334
b2cba41e
GM
153352011-09-13 Glenn Morris <rgm@gnu.org>
15336
15337 * help.el (describe-key-briefly): Copy previous standard-output change.
15338
51553db6 153392011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
15340
15341 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
15342
b7556719
GM
153432011-09-13 Glenn Morris <rgm@gnu.org>
15344
15345 * emacs-lisp/lisp-mode.el (lisp-indent-function):
15346 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
15347
64b51947
CY
153482011-09-12 Chong Yidong <cyd@stupidchicken.com>
15349
15350 * dired-aux.el (dired-mark-read-string): Don't return default
15351 value on empty input (Bug#9361).
15352 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
15353 Omit initial minibuffer contents.
15354 (dired-do-chmod): Signal an error on empty input.
15355 (dired-mark-read-string): Don't return default on empty input.
15356
15357 * files.el (file-modes-symbolic-to-number): Doc fix.
15358
393a301e
SM
153592011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
15360
15361 * international/mule-cmds.el (ucs-completions): Remove.
15362 (read-char-by-name): Use complete-with-action instead; add metadata.
15363
fa5660f9
CY
153642011-09-11 Chong Yidong <cyd@stupidchicken.com>
15365
15366 * window.el (display-buffer--action-function-custom-type)
15367 (display-buffer--action-custom-type): New vars.
15368 (display-buffer-alist, display-buffer-default-action)
15369 (display-buffer-overriding-action): Add defcustom types.
15370
4a592f66
CY
15371 * frame.el (delete-other-frames): Doc fix (Bug#276).
15372
73d56dbd
LMI
153732011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15374
15375 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
15376
37ac18a3
CY
153772011-09-11 Chong Yidong <cyd@stupidchicken.com>
15378
15379 Change modes that used same-window-* vars to use switch-to-buffer.
15380
15381 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
15382 Use switch-to-buffer.
15383
15384 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
15385 (customize-browse, custom-buffer-create-other-window):
15386 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
15387
15388 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
15389 (Info-prev, Info-up, Info-speedbar-goto-node)
15390 (info-display-manual): Use switch-to-buffer.
15391 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
15392
15393 * mail/sendmail.el (mail): Use switch-to-buffer.
15394 (mail-recover): Use switch-to-buffer-other-window.
15395
15396 * cmuscheme.el (run-scheme, switch-to-scheme):
15397 * ielm.el (ielm):
15398 * shell.el (shell):
15399 * net/rlogin.el (rlogin):
15400 * net/telnet.el (telnet, rsh):
15401 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
15402
10195bd6
AS
154032011-09-11 Andreas Schwab <schwab@linux-m68k.org>
15404
15405 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
15406
b322f63a
LMI
154072011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15408
39d7fed6
LMI
15409 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
15410 so don't mention it (bug#9301).
ba5a81f1 15411 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 15412
ee0e9f11
LMI
15413 * faces.el (face-spec-set-match-display): Make `(type graphic)'
15414 match `x', `w32' and `ns', like the manual says (bug#9029).
15415
0b1c89c1 15416 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
15417 (process-kill-buffer-query-function): Mention the buffer name in
15418 the query.
0b1c89c1 15419
77549ea8
LMI
15420 * image-mode.el (image-next-line): The line parameter is mandatory
15421 (bug#9258).
15422
803ef892
LMI
15423 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
15424 which can be useful (bug#9301).
15425
12980837
LMI
15426 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
15427
91054f8f
LMI
15428 * subr.el (match-string): Mention that the current buffer should
15429 be the same as the search was done in (bug#9282).
15430
b322f63a
LMI
15431 * facemenu.el: Disable the remove-* commands if the mark isn't
15432 active (bug#9162).
15433
3199b96f
CY
154342011-09-10 Chong Yidong <cyd@stupidchicken.com>
15435
15436 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
15437 of display-buffer.
15438 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
15439
15440 * replace.el (occur-mode-goto-occurrence)
15441 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
15442 and display-buffer.
15443
15444 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
15445 display-buffer.
15446
15447 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
15448 special-display and same-window variables.
15449 (mail-other-window): Use switch-to-buffer-other-window.
15450 (mail-other-frame): USe switch-to-buffer-other-frame.
15451
393a301e
SM
15452 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
15453 Use display-buffer-other-frame.
3199b96f
CY
15454 (gdb-display-gdb-buffer): Use pop-to-buffer.
15455
15456 * progmodes/gud.el (gud-goto-info): Use info-other-window.
15457
15458 * progmodes/python.el: Don't set same-window-buffer-names.
15459
15460 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
15461
15462 * window.el (display-buffer-alist): Add *Python*.
15463
8319e0bf
CY
154642011-09-10 Chong Yidong <cyd@stupidchicken.com>
15465
15466 * window.el (display-buffer-alist): Add entry for buffers
15467 previously handled same-window-*.
15468 (display-buffer-alist, display-buffer-default-action)
15469 (display-buffer-overriding-action): Mark as risky.
15470 (display-buffer-alist): Document action function changes.
15471 (display-buffer--same-window-action)
15472 (display-buffer--other-frame-action): New variables.
15473 (switch-to-buffer, display-buffer-other-frame): Use them.
15474 (display-buffer): Rename reuse-frame entry to reusable-frames.
15475 (display-buffer-reuse-selected-window): Function deleted.
15476 (display-buffer-reuse-window): Handle reusable-frames alist entry.
15477 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
15478 (display-buffer-special): New function.
15479 (display-buffer--maybe-pop-up-frame-or-window): Rename from
15480 display-buffer-reuse-or-pop-window. Split off special-display
15481 part into display-buffer-special.
15482 (display-buffer-use-some-window): Don't perform any special
15483 pop-up-frames handling.
15484 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 15485 (display-buffer--maybe-same-window): Rename from
0d3ff375 15486 display-buffer-maybe-same-window.
8319e0bf 15487
919a69aa
CY
15488 * info.el: Don't set same-window-regexps.
15489 (info-setup): New function.
15490 (info-other-window, info): Call it.
15491
15492 * cus-edit.el: Don't set same-window-regexps.
15493 (customize-group): New argument.
15494 (customize-group-other-window): Use it.
15495 (customize-face, customize-face-other-window): Likewise.
15496 (custom-buffer-create-other-window): Use pop-to-buffer directly.
15497
8319e0bf
CY
15498 * net/rlogin.el:
15499 * net/telnet.el:
15500 * progmodes/gud.el: Don't set same-window-regexps.
15501
15502 * cmuscheme.el:
15503 * ielm.el:
15504 * shell.el:
15505 * mail/sendmail.el:
15506 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
15507
25173000
JL
155082011-09-10 Juri Linkov <juri@jurta.org>
15509
15510 * isearch.el (isearch-edit-string): Remove obsolete mention of
15511 `C-w' (`isearch-yank-word-or-char') from docstring.
15512 (isearch-query-replace): Fix typo in docstring (bug#9466).
15513
056e44ef
JL
155142011-09-10 Juri Linkov <juri@jurta.org>
15515
15516 * paren.el (show-paren-function): Don't show escaped parens.
15517 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
15518
c3760c17
EZ
155192011-09-10 Eli Zaretskii <eliz@gnu.org>
15520
15521 * mail/sendmail.el (mml-to-mime, mml-attach-file)
15522 (mm-default-file-encoding): Remove autoload forms, they are
15523 replaced with autoload cookies in mml.el and mm-encode.el.
15524 (mail-add-attachment): New command.
15525 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
15526 (mail-mode): Mention mail-insert-file and mail-add-attachment in
15527 the doc string.
15528 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
15529
fece895e
RT
155302011-09-10 Reuben Thomas <rrt@sc3d.org>
15531
e69df516
SM
15532 * simple.el (count-words-region): Use buffer if there's no region
15533 (bug#9429).
fece895e 15534
5e68ce4a
JL
155352011-09-09 Juri Linkov <juri@jurta.org>
15536
15537 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
15538 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
15539 (wdired-isearch-filter-read-only): New function. (Bug#6362)
15540
0a6b9622
AM
155412011-09-09 Alan Mackenzie <acm@muc.de>
15542
15543 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
15544 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
15545
14a29deb
EZ
155462011-09-09 Eli Zaretskii <eliz@gnu.org>
15547
15548 Fix for Savannah bug#9392.
15549 * simple.el (mail-encode-mml): New defvar.
15550
15551 * mail/rmail.el (mail-encode-mml): Add a defvar.
15552 (rmail-enable-mime-composing): Default to t.
15553 (rmail-forward): Use MIME method of forwarding only if both
15554 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
15555 Set mail-encode-mml non-nil if the MIME method was used.
15556
15557 * mail/sendmail.el (mml-to-mime): Add autoload form.
15558 (mail-encode-mml): Add a defvar.
15559 (mail-mode): Make mail-encode-mml buffer-local and initialize it
15560 to nil.
15561 (mail-send): If mail-encode-mml is non-nil, run the outgoing
15562 message through mml-to-mime, and reset mail-encode-mml to nil.
15563
28c45130
GM
155642011-09-09 Glenn Morris <rgm@gnu.org>
15565
15566 * woman.el (woman-if-body): When processing an .el block,
15567 do not delete the next .el block as well. (Bug#9447)
69f4b618 15568 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 15569
9b1c252e
MR
155702011-09-08 Martin Rudalics <rudalics@gmx.at>
15571
15572 * window.el (window-deletable-p): Make sure window is live before
15573 invoking window-prev-buffers.
15574
567457e3
LL
155752011-09-08 Leo Liu <sdl.web@gmail.com>
15576
15577 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
15578
97f05794
JL
155792011-09-08 Juri Linkov <juri@jurta.org>
15580
15581 * progmodes/compile.el (compilation-environment): Make it
15582 a defcustom (bug#8340).
15583
8b0874b5
MR
155842011-09-08 Martin Rudalics <rudalics@gmx.at>
15585
15586 * window.el (frame-auto-delete): Rename to window-auto-delete.
15587 Make it control auto-deletion of windows and/or frames.
15588 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 15589 for deleting window/frame. (Bug#9419)
8b0874b5
MR
15590 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
15591 Rewrite handling of case when window/frame can be deleted.
15592 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 15593 argument t. (Bug#9456)
8b0874b5 15594
4feb6e73
CY
155952011-09-07 Chong Yidong <cyd@stupidchicken.com>
15596
15597 * help-mode.el (help-mode): Restore autoload.
15598
91ab9c13
JL
155992011-09-07 Juri Linkov <juri@jurta.org>
15600
15601 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
15602 `compilation-environment'. Set buffer-local
15603 `compilation-environment' to `thisenv' later after (funcall mode).
15604 (Bug#8340)
15605
15606 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
15607 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
15608 instead of replacing its value. (Bug#8340)
15609
0527e251
JL
156102011-09-07 Juri Linkov <juri@jurta.org>
15611
15612 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
15613 based on text properties put by `grep-filter' instead of matching
15614 escape sequences.
15615 (grep-mode): Set buffer-local `compilation-error-screen-columns'
15616 to the value of `grep-error-screen-columns' (bug#9438).
15617
249f792c
JL
156182011-09-07 Juri Linkov <juri@jurta.org>
15619
15620 * simple.el (next-error-highlight, next-error-highlight-no-select):
15621 Doc fix (bug#9432).
15622
ff7271b9
OT
156232011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
15624
15625 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
15626 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
15627
183fc730
LL
156282011-09-07 Leo Liu <sdl.web@gmail.com>
15629
15630 * net/rcirc.el (rcirc-mode): Conditionally initialize
15631 rcirc-input-ring.
15632
77694924
SM
156332011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
15634
15635 * emacs-lisp/find-func.el (find-function-C-source): Only set
15636 find-function-C-source-directory after checking that we found a source
15637 file there (bug#9440).
15638
d809b8eb
AM
156392011-09-06 Alan Mackenzie <acm@muc.de>
15640
15641 * isearch.el (isearch-other-meta-char): Wherever a key list is
15642 unread, "unread" the prefix arg, too. This fixes bug #8901.
15643
453de99f
OG
156442011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
15645
15646 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
15647
90439906
JL
156482011-09-05 Juri Linkov <juri@jurta.org>
15649
15650 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
15651
f62bd846
JL
156522011-09-05 Juri Linkov <juri@jurta.org>
15653
15654 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
15655 keeping point where processing of grep matches begins, and
15656 continue to delete remaining escape sequences from the same point.
15657 (grep-filter): Make leading zero optional in "0?1;31m" because
15658 git-grep emits "\033[1;31m" escape sequences unlike expected
15659 "\033[01;31m" as GNU Grep does (bug#9408).
15660 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
15661
045820ec
JL
156622011-09-05 Juri Linkov <juri@jurta.org>
15663
15664 * subr.el (y-or-n-p): Capitalize "yes".
15665
f5e29b9b
MA
156662011-09-04 Michael Albinus <michael.albinus@gmx.de>
15667
15668 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
15669 `tramp-cache-unload-hook' where appropriate.
15670 (tramp-methods): Rename `tramp-remote-sh' to
15671 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
15672 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
15673
15674 * net/tramp-sh.el (top): Don't require 'shell.
15675 (tramp-methods): Add `tramp-remote-shell' and
15676 `tramp-remote-shell-args' entries.
15677 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
15678 (tramp-sh-handle-shell-command): Remove.
15679 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
15680 Use `tramp-remote-shell'.
15681
2784c434
CY
156822011-09-03 Chong Yidong <cyd@stupidchicken.com>
15683
393a301e 15684 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
15685 (sendmail-query-once): Save directly to send-mail-function.
15686 Update message-send-mail-function too.
15687
15688 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
15689
464cdf56
CS
156902011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
15691
15692 * progmodes/python.el (python-mode-map): Use correct function to
15693 start python interpreter from menu-bar (as reported by Geert
15694 Kloosterman).
15695 (inferior-python-mode-map): Fix typo.
393a301e 15696 (python-shell-map): Remove.
464cdf56 15697
d37e5c87
DD
156982011-09-03 Deniz Dogan <deniz@dogan.se>
15699
15700 * net/rcirc.el (rcirc-print): Simplify code for
15701 rcirc-scroll-show-maximum-output. There is no need to walk
15702 through all windows to find the right one.
15703
f3ada0ee
CS
157042011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
15705
15706 * help.el (help-return-method): Doc fix.
15707
1f3c99ca
MR
157082011-09-03 Martin Rudalics <rudalics@gmx.at>
15709
15710 * window.el (window-deletable-p): Don't return a non-nil value
15711 when there's a buffer that was shown in the window before.
15712 (Bug#9419)
393a301e
SM
15713 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
15714 Set window's previous buffers to nil.
1f3c99ca 15715
a3cf097f
EZ
157162011-09-03 Eli Zaretskii <eliz@gnu.org>
15717
15718 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
15719 newline before and after the tag line, so it doesn't interfere
15720 with determining the paragraph direction of bidirectional text.
15721
3d03de90
LL
157222011-09-03 Leo Liu <sdl.web@gmail.com>
15723
15724 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
15725
c3313451
CY
157262011-09-02 Chong Yidong <cyd@stupidchicken.com>
15727
393a301e 15728 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
15729 (pop-to-buffer): Change interactive spec. Pass second argument
15730 directly to display-buffer.
15731 (display-buffer): Fix interactive spec. Use functionp to
15732 distinguish between a function and a list of functions.
15733
15734 * abbrev.el (edit-abbrevs):
15735 * arc-mode.el (archive-extract):
15736 * autoinsert.el (auto-insert):
15737 * bookmark.el (bookmark-bmenu-list):
15738 * files.el (find-file):
15739 * view.el (view-buffer):
15740 * progmodes/compile.el (compilation-goto-locus):
15741 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
15742
89894cd8
CY
157432011-09-02 Chong Yidong <cyd@stupidchicken.com>
15744
15745 * window.el (display-buffer-alist): Doc fix.
15746 (display-buffer): Add docstring. Don't treat
15747 display-buffer-default specially.
15748 (display-buffer-reuse-selected-window)
15749 (display-buffer-same-window, display-buffer-maybe-same-window)
15750 (display-buffer-reuse-window, display-buffer-pop-up-frame)
15751 (display-buffer-pop-up-window)
15752 (display-buffer-reuse-or-pop-window)
15753 (display-buffer-use-some-window): New functions.
15754 (display-buffer-default-action): Use them.
393a301e 15755 (display-buffer-default): Delete.
89894cd8
CY
15756 (pop-to-buffer-1): Fix choice of actions.
15757
ae0bc9fb
SM
157582011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
15759
15760 * minibuffer.el (completion--insert-strings): Don't get confused by
15761 completion entries that end with an LF char.
15762
e9d90883
EZ
157632011-09-01 Eli Zaretskii <eliz@gnu.org>
15764
15765 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
15766
437014c8
CY
157672011-09-01 Chong Yidong <cyd@stupidchicken.com>
15768
15769 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
15770 (display-buffer-same-window, display-buffer-other-window):
15771 New functions.
437014c8
CY
15772 (pop-to-buffer-1): New function. Use the above.
15773 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 15774 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
15775
15776 * view.el (view-buffer-other-window, view-buffer-other-frame):
15777 Just use pop-to-buffer.
15778
a5e063d5
TV
157792011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15780
15781 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
15782
793d32bb
WH
157832011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
15784
15785 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
15786
d65e4c15
RS
157872011-08-31 Richard Stallman <rms@gnu.org>
15788
15789 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
15790 of the separation of rmail-view-buffer from rmail-buffer.
15791 If you say no to "replace original", the decrypt is in the
15792 view buffer. If you say yes, the decrypt goes into the
15793 rmail buffer also.
15794
f818cd2a
MR
157952011-08-31 Martin Rudalics <rudalics@gmx.at>
15796
15797 * window.el (display-buffer-window): Rewrite doc-string.
15798 (display-buffer-record-window): New function.
15799 (display-buffer-macro-specifiers)
15800 (display-buffer-even-window-sizes, display-buffer-set-height)
15801 (display-buffer-set-width, display-buffer-in-window)
15802 (display-buffer-reuse-window, display-buffer-split-specifiers)
15803 (display-buffer-side-specifiers, display-buffer-split-window-1)
15804 (display-buffer-split-window, display-buffer-split-atom-window)
15805 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
15806 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
15807 (display-buffer-other-window-means-other-frame)
15808 (display-buffer-normalize-special)
15809 (display-buffer-normalize-default)
15810 (display-buffer-normalize-argument)
15811 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
15812 (display-buffer-normalize-specifiers, display-buffer-frame)
15813 (display-buffer-same-window, display-buffer-same-frame)
15814 (display-buffer-other-window)
15815 (display-buffer-same-frame-other-window)
15816 (display-buffer-other-frame, pop-to-buffer-same-window)
15817 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
15818 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
15819 (switch-to-buffer-same-frame)
15820 (switch-to-buffer-other-window-same-frame)
15821 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
15822 (display-buffer-alist-set-1, display-buffer-alist-set-2)
15823 (display-buffer-alist-set): Remove.
15824 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
15825 (special-display-regexps, special-display-function):
15826 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
15827 parameter.
15828 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
15829 (special-display-frame-alist, special-display-popup-frame)
15830 (same-window-buffer-names, same-window-regexps, same-window-p)
15831 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
15832 (split-window-preferred-function, split-height-threshold)
15833 (split-width-threshold, window-splittable-p)
15834 (split-window-sensibly, window--try-to-split-window)
15835 (window--frame-usable-p, even-window-heights)
15836 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
15837 (window--display-buffer-2, display-buffer-other-frame):
15838 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
15839 (display-buffer-default, display-buffer-assq-regexp): New functions.
15840 (display-buffer-alist): Rewrite doc-string.
15841 (display-buffer-default-action)
15842 (display-buffer-overriding-action): New variables.
15843 (display-buffer, switch-to-buffer): Rewrite.
15844 (pop-to-buffer): Restore Emacs 23 behavior but use
15845 window-normalize-buffer-to-display.
15846 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
15847 Restore Emacs 23 behavior but use
15848 window-normalize-buffer-to-switch-to.
15849 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
15850 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
15851 Rewrite using Emacs 23 options.
f818cd2a 15852
5bc3b51d
MA
158532011-08-31 Michael Albinus <michael.albinus@gmx.de>
15854
15855 * net/tramp.el (tramp-root-regexp): Remove.
15856 (tramp-completion-file-name-regexp-unified)
15857 (tramp-completion-file-name-regexp-separate)
15858 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 15859 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
15860 (tramp-drop-volume-letter): Simplify definition.
15861 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 15862
b1a4f8e1
SM
158632011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
15864
15865 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
15866 (bug#9356).
15867
5664fa7b
RT
158682011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
15869
b1a4f8e1 15870 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 15871
9a45d6c3
JL
158722011-08-29 Juri Linkov <juri@jurta.org>
15873
15874 * isearch.el (isearch-done): Don't display message "Mark saved"
15875 when arg `edit' is non-nil to prevent its flicker in the echo area.
15876
fb87e0fb
CY
158772011-08-28 Chong Yidong <cyd@stupidchicken.com>
15878
15879 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
15880 obsolete packages for deletion.
15881
09ac1c2a
CS
158822011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
15883
15884 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 15885 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
15886 view-mode from help-mode.
15887 (help-xref-override-view-map): Remove.
15888 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
15889 view-mode is not used anymore.
15890
7a1ff57f
CY
158912011-08-28 Chong Yidong <cyd@stupidchicken.com>
15892
15893 * server.el (server-port): Doc fix.
15894
b9696605
CY
15895 * cus-theme.el (custom-theme-choose-mode): Inherit from
15896 special-mode (Bug#9124).
15897 (custom-theme-choose-mode-map): Add special-mode to parent.
15898
ef8cdf8c
AM
158992011-08-28 Alan Mackenzie <acm@muc.de>
15900
15901 * progmodes/cc-fonts.el
15902 (c-make-font-lock-BO-decl-search-function): New function.
15903 (c-basic-matchers-after - "Fontify the clauses after various
15904 keywords"): Extract the three keyword lists for the 3 erroneous
15905 constructs from the list of four, and use the new function above
15906 in place of an old one.
15907
27de4e20
DD
159082011-08-28 Deniz Dogan <deniz@dogan.se>
15909
15910 * net/rcirc.el (rcirc-insert-prev-input)
15911 (rcirc-insert-next-input): Remove unused argument.
15912
356a3681
SM
159132011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
15914
15915 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
15916
3fc9b218
AM
159172011-08-27 Alan Mackenzie <acm@muc.de>
15918
15919 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
15920 handle function pointer parameters properly.
15921
538a061c
MR
159222011-08-27 Martin Rudalics <rudalics@gmx.at>
15923
15924 * window.el (display-buffer-reuse-window): Fix case where
15925 selected window was reused with non-nil OTHER-WINDOW argument.
15926 (Bug#9381)
15927
35b1c40c
DD
159282011-08-27 Deniz Dogan <deniz@dogan.se>
15929
15930 * net/rcirc.el (rcirc-check-auth-status): Adding support for
15931 oftc's NickServ messages.
15932
2f6a3e79
GM
159332011-08-27 Glenn Morris <rgm@gnu.org>
15934
15935 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
15936
7254299e
CY
159372011-08-26 Chong Yidong <cyd@stupidchicken.com>
15938
15939 * emacs-lisp/package.el (package-install): Call package-initialize
15940 if called interactively.
15941
f8ccf167
LL
159422011-08-26 Leo Liu <sdl.web@gmail.com>
15943
15944 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
15945
3e8cd5ce
JL
159462011-08-25 Juri Linkov <juri@jurta.org>
15947
15948 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
15949 `search-whitespace-regexp' (bug#9364).
15950
93eb7113
JL
159512011-08-25 Juri Linkov <juri@jurta.org>
15952
15953 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
15954 `regexp-search-ring' to their global values to protect from
15955 updating by `read-from-minibuffer' (bug#9185).
15956
f65d1611
JL
159572011-08-25 Juri Linkov <juri@jurta.org>
15958
15959 * textmodes/ispell.el (ispell-command-loop): Add newline
15960 at the end of the "Use option `i'..." line.
15961
f1cf7a31
JL
159622011-08-25 Juri Linkov <juri@jurta.org>
15963
15964 * battery.el (display-battery-mode): If `battery-status-function'
15965 or `battery-mode-line-format' is nil, display the message and set
15966 `display-battery-mode' to nil (bug#9363).
15967
0c95fcf7
EZ
159682011-08-25 Eli Zaretskii <eliz@gnu.org>
15969
15970 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
15971 bidi-string-mark-left-to-right; they are unnecessary now.
15972
a2ebe600
DD
159732011-08-25 Deniz Dogan <deniz@dogan.se>
15974
15975 * net/quickurl.el: Documentation typo fixes.
15976
e4ed06f1
CY
159772011-08-25 Chong Yidong <cyd@stupidchicken.com>
15978
15979 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
15980
e5f1c99e
GM
159812011-08-25 Glenn Morris <rgm@gnu.org>
15982
b2948976
GM
15983 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
15984
e5f1c99e
GM
15985 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
15986 (smtpmail-via-smtp): Handle nil response from smtp.
15987
f22f4808
JL
159882011-08-24 Juri Linkov <juri@jurta.org>
15989
15990 * proced.el (proced-marked): Inherit from `error' instead of
15991 `font-lock-warning-face'.
15992
15993 * ibuffer.el (ibuffer-marked-face): Change default face from
15994 `font-lock-warning-face' to `warning'.
15995 (ibuffer-deletion-face): Change default face from
15996 `font-lock-type-face' to `error'.
15997
15998 * battery.el (battery-update): Use the face `error' instead of
15999 `font-lock-warning-face' (bug#6117).
16000
6a93965e
JL
160012011-08-24 Juri Linkov <juri@jurta.org>
16002
16003 * faces.el (success): Change face color from "Green3" to
16004 "ForestGreen" on light background (bug#9353).
16005
1ed43b09
CY
160062011-08-24 Chong Yidong <cyd@stupidchicken.com>
16007
5664fa7b
RT
16008 * window.el (quit-window): Rename from quit-restore-window.
16009 Use same arglist as old quit-window.
1ed43b09
CY
16010 (frame-auto-delete): Doc fix.
16011
16012 * view.el (view-mode-exit): Use quit-window.
16013
11dcdbb2
JL
160142011-08-24 Juri Linkov <juri@jurta.org>
16015
16016 * isearch.el (isearch-ring-adjust1): Start visiting previous
16017 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
16018 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
16019 for empty search string (when the last search string is reused
16020 automatically) to adjust the isearch ring to the last element and
16021 prepare the correct index for further M-p commands (bug#9185).
16022
de62b4df
KH
160232011-08-24 Kenichi Handa <handa@m17n.org>
16024
16025 * international/ucs-normalize.el: If decomposition property of
16026 CHAR is the default one (i.e. a list of CHAR itself), treat it as
16027 nil.
16028 (nfd, nfkd): Likewise.
16029
963b492b
SM
160302011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
16031
16032 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
16033 from process filters aren't reliably transmitted to the surrounding
16034 accept-process-output.
16035 (mpc-proc-check): New function.
16036 (mpc-proc-sync): Use it (bug#8293)
16037
93b6b5e1
SM
160382011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
16039
16040 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
16041 Add compatibility functions (bug#9313).
16042
bca633fb
EZ
160432011-08-23 Eli Zaretskii <eliz@gnu.org>
16044
b177498a
EZ
16045 * cus-start.el (all): Add entry for bidi-paragraph-direction.
16046
6df6ae42 16047 * international/uni-bidi.el: Regenerate.
bca633fb 16048
0902a04e
KH
160492011-08-23 Kenichi Handa <handa@m17n.org>
16050
16051 * international/charprop.el:
16052 * international/uni-bidi.el:
16053 * international/uni-category.el:
16054 * international/uni-combining.el:
16055 * international/uni-comment.el:
16056 * international/uni-decimal.el:
16057 * international/uni-decomposition.el:
16058 * international/uni-digit.el:
16059 * international/uni-lowercase.el:
16060 * international/uni-mirrored.el:
16061 * international/uni-name.el:
16062 * international/uni-numeric.el:
16063 * international/uni-old-name.el:
16064 * international/uni-titlecase.el:
16065 * international/uni-uppercase.el: Regenerate.
16066
3bbf23bc
MR
160672011-08-23 Martin Rudalics <rudalics@gmx.at>
16068
16069 * help.el (help-window-setup): Fix message displayed when other
16070 window is reused. (Bug#9341)
16071
b3fd59bd
SM
160722011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
16073
1802e444
SM
16074 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
16075 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
16076
b3fd59bd
SM
16077 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
16078 Mark obsolete.
16079 * shell.el (shell-parse-pcomplete-arguments): New function.
16080 (shell-completion-vars): Use it instead (bug#9160).
16081
4eb61348
SM
160822011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
16083
867cab74
SM
16084 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
16085 strings and comments (bug#9333).
16086
4eb61348
SM
16087 * emacs-lisp/debug.el (debug-arglist): New function.
16088 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
16089 (debug-on-entry-1): Handle interpreted closures (bug#9120).
16090
262a1439
JL
160912011-08-22 Juri Linkov <juri@jurta.org>
16092
56ee679c
JL
16093 * progmodes/compile.el (compilation-mode-font-lock-keywords):
16094 Revert regexp that highlights output switches to its old
16095 pre-2010-10-28 value and remove one `?' from it (bug#9319).
16096
262a1439
JL
16097 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
16098 to check for empty output (bug#9226).
16099
f13f86fb
CY
161002011-08-22 Chong Yidong <cyd@stupidchicken.com>
16101
16102 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
16103 symbol-constituent as the default, as that stops font-lock from
16104 working properly (Bug#8843).
16105
c65c9622
LMI
161062011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
16107
16108 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
16109 `coding-system-for-*' around the process open call to avoid
16110 auth-source side effects.
e7f2c178 16111 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
16112 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
16113 probe hangs.
c65c9622 16114
23a8a5ab
CY
161152011-08-21 Chong Yidong <cyd@stupidchicken.com>
16116
ff98b2dd
CY
16117 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
16118
23a8a5ab
CY
16119 * emacs-lisp/find-func.el (find-function-noselect): New arg
16120 lisp-only.
16121
16122 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
16123 signal an error for built-in functions (Bug#6664).
16124
f5e3c598
LMI
161252011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
16126
16127 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
16128 (smtpmail-try-auth-methods): Use it.
16129
a3f2468a
CY
161302011-08-21 Chong Yidong <cyd@stupidchicken.com>
16131
2c34e8da
CY
16132 * font-lock.el (font-lock-fontify-region)
16133 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
16134 (font-lock-default-unfontify-buffer)
16135 (font-lock-default-fontify-region)
16136 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
16137
b3fd59bd
SM
16138 * progmodes/compile.el (compilation-error-properties):
16139 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
16140 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
16141 `ant' regexp.
ee31aabc 16142
a3f2468a
CY
16143 * net/browse-url.el (browse-url-firefox): Don't call
16144 browse-url-firefox-sentinel unless using -remote (Bug#9328).
16145
8e999f70
GM
161462011-08-20 Glenn Morris <rgm@gnu.org>
16147
c21a496a
GM
16148 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
16149
59ee0542
GM
16150 * tutorial.el (tutorial--default-keys): Update some default bindings.
16151
8e999f70
GM
16152 * files.el (hack-local-variables): Fully ignore case for "mode:".
16153
e3715033
AM
161542011-08-20 Alan Mackenzie <acm@muc.de>
16155
16156 Resolve invalid use of a regexp in regexp-opt.
16157
4d61f28d
JB
16158 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
16159 detection for a java annotation.
e3715033 16160
4d61f28d 16161 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
16162 detection for a java annotation.
16163
4d61f28d
JB
16164 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
16165 handling for java.
e3715033
AM
16166 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
16167
04ed2e9c
CY
161682011-08-20 Chong Yidong <cyd@stupidchicken.com>
16169
16170 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
16171 (Bug#9274).
16172
826cee64
AM
161732011-08-20 Alan Mackenzie <acm@muc.de>
16174
58179cce 16175 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
16176 such a construct. Mainly for when jit-lock etc. starts a chunk
16177 here.
16178
58179cce 16179 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 16180 variable.
58179cce 16181 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
16182 c-make-font-lock-search-function.
16183 (c-make-font-lock-search-function): Use the above function.
16184 (c-make-font-lock-context-search-function): New function.
16185 (c-cpp-matchers): Enhance the preprocessor expression case with
16186 the above function
16187 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
16188 which takes an expression.
16189
16190 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
16191
13009bd8
MR
161922011-08-20 Martin Rudalics <rudalics@gmx.at>
16193
16194 * window.el (display-buffer-reuse-window)
16195 (display-buffer-pop-up-window): Don't reuse or split a side
16196 window.
16197
9234ff7f
GM
161982011-08-19 Glenn Morris <rgm@gnu.org>
16199
16200 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 16201 Downcase "Mode:". (Bug#9331)
9234ff7f 16202
f635daa1
CY
162032011-08-18 Chong Yidong <cyd@stupidchicken.com>
16204
16205 * international/characters.el: Add L and R categories.
16206
16207 * subr.el (bidi-string-mark-left-to-right): Rename from
16208 string-mark-left-to-right. Use category search.
16209
16210 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
16211
bc987f8b
JL
162122011-08-18 Juri Linkov <juri@jurta.org>
16213
16214 * faces.el (error, warning, success): New faces with definitions
16215 copied from old default values of `font-lock-warning-face',
16216 `compilation-warning', `compilation-info' (bug#6117).
16217
16218 * font-lock.el (font-lock-warning-face): Inherit from `error'.
16219
16220 * progmodes/compile.el (compilation-error): Inherit from `error'.
16221 (compilation-warning): Inherit from `warning'.
16222 (compilation-info): Inherit from `success'.
16223
16224 * dired.el (dired-marked): Inherit from `warning'.
16225 (dired-flagged): Inherit from `error'.
16226
57173b96
LMI
162272011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
16228
3e79eb87
LMI
16229 * mail/smtpmail.el (auth-source): Require to avoid problems with
16230 binding variables (bug#9298). Also clean up some unused
16231 autoloads.
16232
b3fd59bd
SM
16233 * net/network-stream.el (network-stream-open-starttls):
16234 Support using starttls.el without using gnutls-cli.
57173b96 16235
02b404de
JL
162362011-08-17 Juri Linkov <juri@jurta.org>
16237
16238 * progmodes/grep.el (rgrep): Handle the case when
16239 `grep-find-command' is a cons cell (bug#9278).
16240
8c9177f2
MR
162412011-08-17 Martin Rudalics <rudalics@gmx.at>
16242
16243 * window.el (display-buffer-pop-up-frame): Run frame creation
16244 function with BUFFER current (as special-display-popup-frame
16245 does). Reported by Drew Adams.
16246
3644a0ab
DU
162472011-08-17 Daiki Ueno <ueno@unixuser.org>
16248
16249 * epa-mail.el: Simplify GnuPG group expansion using
16250 epg-expand-group.
16251 (epa-mail-group-alist, epa-mail-group-modtime)
16252 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
16253 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
16254 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
16255 Remove.
16256
5e617bc2 162572011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
16258
16259 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
16260
9c4aeabf
AM
162612011-08-16 Alan Mackenzie <acm@muc.de>
16262
16263 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
16264 Correct, to avoid the inside of macros.
16265
3a99bf64
RS
162662011-08-16 Richard Stallman <rms@gnu.org>
16267
04963aa8
RS
16268 * epa-mail.el: Handle GnuPG group definitions.
16269 (epa-mail-group-alist, epa-mail-group-modtime)
16270 (epa-mail-gnupg-conf-file): New variables.
16271 (epa-mail-parse-groups, epa-mail-sync-groups)
16272 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
16273 (epa-mail-expand-recipients): New functions.
16274 (epa-mail-encrypt): Call epa-mail-expand-recipients.
16275
177549d0
RS
16276 * mail/rmail.el (rmail-epa-decrypt): New command.
16277
fe38beef
RS
16278 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
16279 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
16280 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
16281 (epa-decrypt-armor-in-region): Make error message clearer.
16282
934eacb9
SM
162832011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
16284
16285 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
16286 and "a2b" to "ab" for `prefix'.
16287
d024fb4e
CY
162882011-08-14 Chong Yidong <cyd@stupidchicken.com>
16289
16290 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
16291 filter groups.
de148fee
CY
16292 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
16293 Fourquet (Bug#8804).
d024fb4e 16294
62f1ca49
JB
162952011-08-12 Juanma Barranquero <lekktu@gmail.com>
16296
16297 * startup.el (argi): Declare as global variable (bug#9275).
16298
9ccaaa4b
CY
162992011-08-12 Chong Yidong <cyd@stupidchicken.com>
16300
16301 * subr.el (string-mark-left-to-right): Search the entire string
16302 for RTL script, not just the terminating character. Doc fix.
16303
a3dae87a
SM
163042011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
16305
6cd18349
SM
16306 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
16307 New function.
16308 (js--regexp-literal, js-syntax-propertize-function): Remove.
16309 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
16310 (js-mode-map): Don't rebind electric keys.
16311 (js-insert-and-indent): Remove.
16312 (js-mode): Setup electric-layout and electric-indent instead.
16313
a3dae87a
SM
16314 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
16315
9d5cb631
DU
163162011-08-12 Daiki Ueno <ueno@unixuser.org>
16317
16318 * epa.el (epa-progress-callback-function): Fix the logic of
16319 displaying progress.
16320 * epa-file.el (epa-file-insert-file-contents): Make progress
16321 display more user-friendly.
16322 (epa-file-write-region): Ditto.
16323
3e26a4a2
CY
163242011-08-10 Chong Yidong <cyd@stupidchicken.com>
16325
16326 * subr.el (string-mark-left-to-right): New function.
16327
16328 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
16329 Use string-mark-left-to-right.
16330 (list-buffers-noselect): Caller changed.
16331
a3dae87a
SM
16332 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
16333 Use string-mark-left-to-right.
3e26a4a2
CY
16334 (tabulated-list-print): Recenter after moving point.
16335
ac8cf6e6
JL
163362011-08-10 Juri Linkov <juri@jurta.org>
16337
16338 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
16339 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
16340 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
16341
8d96c9a4
CY
163422011-08-09 Chong Yidong <cyd@stupidchicken.com>
16343
16344 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
16345 (Bug#7554).
16346
7be1c708 163472011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
16348
16349 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
16350 character. (Bug#6594)
16351
37e11a63
CY
163522011-08-08 Chong Yidong <cyd@stupidchicken.com>
16353
839dde57
CY
16354 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
16355 (image-dired--with-db-file): New macro.
16356 (image-dired-write-tags, image-dired-remove-tag)
16357 (image-dired-create-gallery-lists, image-dired-write-comments)
16358 (image-dired-get-comment, image-dired-mark-tagged-files)
16359 (image-dired-list-tags, image-dired-gallery-generate): Use it.
16360 (image-dired-gallery-generate): Use insert-file-contents.
16361
37e11a63
CY
16362 * time.el (display-time-world-list, display-time-world-display):
16363 * time-stamp.el (time-stamp-string):
16364 * vc/add-log.el (add-change-log-entry): Use setenv instead of
16365 set-time-zone-rule (Bug#7337).
16366
0b4946c4
DU
163672011-08-08 Daiki Ueno <ueno@unixuser.org>
16368
16369 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
16370 (epg-error-to-string, epg-errors-to-string): New function.
16371 (epg-wait-for-completion): Reverse errors list.
16372 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
16373 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
16374 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
16375 (epg-sign-keys, epg-generate-key-from-file)
16376 (epg-generate-key-from-string): Format errors by using
16377 epg-errors-to-string (bug#9255).
16378 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
16379
75bfc667
JL
163802011-08-07 Juri Linkov <juri@jurta.org>
16381
16382 * faces.el (list-faces-display): Remove extra angle bracket
16383 from `help-mode-map'.
16384
16385 * info.el (Info-history-toc-nodes): Doc fix.
16386
16387 * longlines.el (longlines-mode): Doc fix.
16388
673e08bb
SM
163892011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
16390
4640dd88
SM
16391 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
16392 of statements and in a few more cases (bug#9183).
16393
673e08bb
SM
16394 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
16395 New functions.
16396 (cl-transform-lambda): Use them (bug#9239).
16397
89b3f019
MR
163982011-08-05 Martin Rudalics <rudalics@gmx.at>
16399
16400 * window.el (display-buffer-same-window)
16401 (display-buffer-same-frame, display-buffer-other-window)
16402 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
16403 (pop-to-buffer-other-window)
16404 (pop-to-buffer-same-frame-other-window)
16405 (pop-to-buffer-other-frame): Make them defuns.
16406 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
16407
640c8776
SM
164082011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
16409
16410 * subr.el (make-composed-keymap): Move from C. Change calling
16411 convention, and improve docstring to bring attention to a subtle point.
16412 * minibuffer.el (completing-read-default): Adjust accordingly.
16413
63648a95
MA
164142011-08-03 Michael Albinus <michael.albinus@gmx.de>
16415
16416 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
16417 (tramp-open-shell): Use `tramp-shell-quote-argument'.
16418
16419 * net/trampver.el: Update release number.
16420
b796c9b7
SM
164212011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
16422
16423 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
16424 "in" (bug#9190).
16425
2239d7d5
LMI
164262011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16427
e07dd7c3
LMI
16428 * mail/sendmail.el (sendmail-query-once): Restore the current
16429 buffer after querying (bug#9074).
16430
0e6a2bd7
LMI
16431 * dired.el (dired-flagged): Use different faces for marked and
16432 flagged files (bug#6117).
16433
ce887515
LMI
16434 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
16435 (bug#4433).
16436
92f2affc
LMI
16437 * ido.el (ido-mode): Switch off the message if called
16438 non-interactively.
16439
57d5aff0
LMI
16440 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
16441 before 587, since it appears that that's more likely to work for
16442 more people.
16443
98cd6c18 16444 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 16445 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
16446 exist.
16447
b96dec83
LMI
16448 * info.el: Remove the `Info-beginning-of-buffer' function
16449 (bug#8325).
16450
b796c9b7
SM
16451 * net/network-stream.el (network-stream-open-starttls):
16452 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 16453
d90e2ea0
MR
164542011-08-01 Martin Rudalics <rudalics@gmx.at>
16455
16456 * window.el (display-buffer-in-window): Don't set dedicated status
16457 of window here (Bug#9215).
16458 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
16459 (display-buffer-pop-up-side-window)
b796c9b7 16460 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 16461
cca09170
SM
164622011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
16463
16464 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
16465 before binding generated-autoload-file.
16466
027b979c
DD
164672011-08-01 Deniz Dogan <deniz@dogan.se>
16468
16469 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
16470
3c7ee4f3
MA
164712011-07-30 Michael Albinus <michael.albinus@gmx.de>
16472
16473 Sync with Tramp 2.2.2.
16474
16475 * net/trampver.el: Update release number.
16476
2cc8e51a
JL
164772011-07-30 Juri Linkov <juri@jurta.org>
16478
16479 * dired-aux.el (dired-touch-initial): Remove function.
16480 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
16481 current time, and `default' to the last modification time of the
16482 current marked file (bug#6887).
16483
a514d856
JM
164842011-07-28 Jose E. Marchesi <jemarch@gnu.org>
16485
16486 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 16487 numeric argument to read-number (bug#9163).
a514d856 16488
8a7eddd7
MA
164892011-07-27 Michael Albinus <michael.albinus@gmx.de>
16490
16491 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
16492 connection process, it could be nil.
16493
1ddd96f5
LL
164942011-07-27 Leo Liu <sdl.web@gmail.com>
16495
16496 Simplify url handling in rcirc-mode.
16497
16498 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
16499 (rcirc-browse-url-at-mouse): Remove.
16500 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
16501
b248a85d
AM
165022011-07-26 Alan Mackenzie <acm@muc.de>
16503
16504 Fontify bitfield declarations properly.
16505
16506 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
16507 (c-symbol-chars): Now exported as a lang variable.
16508 (c-not-primitive-type-keywords): New lang variable.
16509
16510 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
16511 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 16512 parsed as a bitfield declaration.
b248a85d 16513
b796c9b7
SM
16514 * progmodes/cc-engine.el (c-beginning-of-statement-1):
16515 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
16516 (c-punctuation-in): New function.
16517 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
16518 declarations properly.
16519
68575ab0
UJ
165202011-07-26 Ulf Jasper <ulf.jasper@web.de>
16521
16522 * calendar/icalendar.el (icalendar--all-events): Take care of
16523 multiple vcalendars in a single file.
b796c9b7 16524 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 16525
0f0a88b9
DD
165262011-07-25 Deniz Dogan <deniz@dogan.se>
16527
16528 * image.el (insert-image): Clarifying docstring.
16529
0b3f36df
MA
165302011-07-24 Michael Albinus <michael.albinus@gmx.de>
16531
16532 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
16533 `tramp-send-command-and-check' if there is no error.
16534 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
16535
a9901f61
AM
165362011-07-22 Alan Mackenzie <acm@muc.de>
16537
16538 Prevent cc-langs.elc being loaded at run time.
16539
16540 * progmodes/cc-mode.el: Remove two autoload forms which loaded
16541 cc-langs.
16542
4d61f28d 16543 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
16544 "(require 'cc-langs)". Quote a form so it will evaluate at
16545 (cc-mode's) compilation time.
16546
11d074b2
MA
165472011-07-22 Michael Albinus <michael.albinus@gmx.de>
16548
16549 * net/tramp.el (tramp-file-name-handler): Avoid recursive
16550 loading. (Bug#9114)
16551
938b94c8
MR
165522011-07-21 Martin Rudalics <rudalics@gmx.at>
16553
16554 * window.el (display-buffer-pop-up-window)
16555 (display-buffer-pop-up-side-window)
16556 (display-buffer-in-side-window): Call display-buffer-set-height
16557 and display-buffer-set-width after setting the new window's
b796c9b7 16558 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 16559
bfa4f190
SS
165602011-07-20 Sam Steingold <sds@gnu.org>
16561
16562 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
16563 (etags-tags-included-tables): Call `convert-standard-filename' on
16564 the file names contained in TAGS so that windows Emacs can handle
16565 TAGS files created by cygwin ctags.
16566
8ca42262
LMI
165672011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
16568
16569 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
16570 which apparently didn't work.
16571
5db2afd2 165722011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 16573
5db2afd2
RW
16574 * proced.el (proced-send-signal): For *Marked Processes* buffer
16575 put point at beginning of buffer.
16576
92e15d10
SB
165772011-07-19 Stephen Berman <stephen.berman@gmx.net>
16578
16579 * proced.el (proced-format): Make header lines align with the text
16580 (bug#1779).
16581
1bfd59e5
LMI
165822011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
16583
16584 * view.el (view-buffer): Allow running in `special' modes if we're
16585 visiting a file (bug#8615).
16586
f5aae37c
MR
165872011-07-19 Martin Rudalics <rudalics@gmx.at>
16588
16589 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
16590 (display-buffer-alist-set-1, display-buffer-alist-set-2):
16591 New functions.
f5aae37c
MR
16592 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
16593 more accurately.
16594
bf2c1571
AM
165952011-07-18 Alan Mackenzie <acm@muc.de>
16596
16597 Fontify declarators properly when, e.g., a jit-lock chunk begins
16598 inside a declaration.
16599
16600 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
16601
b796c9b7
SM
16602 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
16603 New function.
bf2c1571
AM
16604 (c-complex-decl-matchers): Insert reference to
16605 c-font-lock-enclosing-decls.
16606
16607 * progmodes/cc-engine.el (c-backward-single-comment):
16608 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
16609 to nil around calls to (forward-comment -1).
16610
4e190b80
LMI
166112011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
16612
12dc863d
LMI
16613 * image.el (put-image): Doc typo fix.
16614
a762e966
LMI
16615 * progmodes/etags.el (tags-search): Doc typo fix.
16616
4e190b80
LMI
16617 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
16618 password if we get errors 550 to 554.
16619
f019fb21
LMI
166202011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
16621
b796c9b7 16622 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 16623
81746738
LMI
16624 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
16625 indentation character (bug#6380).
16626
3ee3a1b5
LMI
16627 * files.el (buffer-offer-save): Made permanently local (bug#6241).
16628
c82f64de
LMI
16629 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
16630 to clarify what the problem is (bug#4291).
16631
f019fb21
LMI
16632 * simple.el (current-kill): Clarify what
16633 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
16634 (auto-fill-mode): Document `auto-fill-function' in relation to
16635 `auto-fill-mode' (bug#2470).
f019fb21 16636
0794775d
LM
166372011-07-16 Lawrence Mitchell <wence@gmx.li>
16638
16639 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
16640 method if slot is read-only (bug#9035).
16641
be39b8cc
MR
166422011-07-16 Martin Rudalics <rudalics@gmx.at>
16643
b796c9b7 16644 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 16645 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
16646 selected before, see discussion of (Bug#8615), (Bug#6954).
16647 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 16648
6ccf7859
GM
166492011-07-15 Glenn Morris <rgm@gnu.org>
16650
16651 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 16652 Respect help-form.
6ccf7859 16653
87e86684
LM
166542011-07-09 Lawrence Mitchell <wence@gmx.li>
16655
16656 * net/gnutls.el (gnutls-min-prime-bits): New variable.
16657 (gnutls-negotiate): Use it.
16658
d6066239
LMI
166592011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
16660
b796c9b7
SM
16661 * net/gnutls.el (gnutls-negotiate):
16662 Upcase `gnutls-algorithm-priority'.
d6066239 16663
bd23ebc0
GM
166642011-07-15 Glenn Morris <rgm@gnu.org>
16665
c65bca65
GM
16666 * jka-compr.el (jka-compr-verbose): Move from here...
16667 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
16668 Add missing :version tag.
16669 * info.el: No need to require jka-compr when compiling.
bd23ebc0 16670
478615cc
LMI
166712011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
16672
7b41decb
LMI
16673 * net/gnutls.el (gnutls-algorithm-priority): New variable.
16674 (gnutls-negotiate): Use it.
16675
dbc44fcd
LMI
16676 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
16677
06789f97
LMI
16678 * info.el (Info-beginning-of-buffer): New command.
16679 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
16680 announcing `b' as the key (bug#8325).
ab896c37 16681 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 16682
c39da690
LMI
16683 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
16684
3aa5f34b
LMI
16685 * international/mule-cmds.el
16686 (describe-specified-language-support): Make the error message
16687 clearer (bug#8905).
16688
4bf0979f
LMI
16689 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
16690
478615cc
LMI
16691 * isearch.el (isearch-barrier): Add a doc string, since it's
16692 mentioned in a function doc string (bug#8678).
16693
75c68aa1
MR
166942011-07-15 Martin Rudalics <rudalics@gmx.at>
16695
16696 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
16697 buffer argument (Bug#9083) and self-identifying label argument.
16698
a7c33da2
GM
166992011-07-15 Glenn Morris <rgm@gnu.org>
16700
16701 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
16702
2f5c6024
LMI
167032011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
16704
16705 * man.el (Man-fontify-manpage): Fix message when formatting the
16706 man page (bug#7929).
16707
0bb23927 167082011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
16709
16710 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
16711 argument LRM; if non-nil, append an invisible LRM character to the
16712 buffer name.
16713 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
16714 last argument non-nil, when formatting buffer names.
0bb23927
EZ
16715 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
16716 paragraph direction.
cce4b0a7 16717
621ef9ab
LMI
167182011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
16719
d1583c48
LMI
16720 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
16721 the man page name (bug#7929).
16722
6a57fb5f
LMI
16723 * image.el (put-image): Mention the `put-image' overlay property
16724 (bug#7834).
16725
d7956b14
LMI
16726 * scroll-bar.el (set-scroll-bar-mode): Mention that
16727 `scroll-bar-mode' lists the values (bug#7772).
16728
5b2d4a66
LMI
16729 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
16730 command (bug#7729).
16731
7509a874
LMI
16732 * rect.el (apply-on-rectangle): Return the point after the last
16733 operation.
16734 (string-rectangle): Go to the point after the last operation
16735 (bug#7522).
16736
4fe74b19
LMI
16737 * printing.el (pr-toggle-region): Clarify the documentation
16738 slightly (bug#7493).
16739
b796c9b7
SM
16740 * time.el (display-time-update):
16741 Allow `display-time-mail-function' to return nil (bug#7158).
16742 Fix suggested by Detlev Zundel.
ab283561 16743
fc233c9d
LMI
16744 * vc/diff.el (diff): Clarify the order the file names are read
16745 (bug#7111).
16746
43f5740b
LMI
16747 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
16748 the doc string (bug#7015).
16749
f2182a76
LMI
16750 * font-lock.el (font-lock-maximum-decoration): Mention what
16751 numeric levels mean (bug#6935).
16752
621ef9ab
LMI
16753 * startup.el (initial-buffer-choice): Don't mention the `none'
16754 selection, which is against policy.
16755
adc47434
MR
167562011-07-14 Martin Rudalics <rudalics@gmx.at>
16757
b796c9b7
SM
16758 * window.el (display-buffer-normalize-special):
16759 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 16760
7e5bfb8f
EZ
167612011-07-14 Eli Zaretskii <eliz@gnu.org>
16762
16763 * subr.el (version<, version<=, version=): Mention "-CVS" and
16764 "-12345" alpha version numbers.
16765
27fa387a
CY
167662011-07-14 Chong Yidong <cyd@stupidchicken.com>
16767
16768 * bindings.el: Add advertised binding for set-mark-command
16769 (Bug#5772).
16770
8bdfa064
CY
167712011-07-14 Chong Yidong <cyd@stupidchicken.com>
16772
16773 * bindings.el (mode-line-other-buffer):
16774 * bookmark.el (bookmark-bmenu-2-window):
16775 * bs.el (bs-cycle-next, bs-cycle-previous):
16776 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
16777 switch-to-buffer.
16778
16779 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 16780 Delete.
8bdfa064 16781
5eba16a3
JB
167822011-07-14 Juanma Barranquero <lekktu@gmail.com>
16783
16784 * follow.el (follow-debug-message, follow-redisplay):
16785 * jka-cmpr-hook.el (with-auto-compression-mode):
16786 Fix typos in docstrings.
16787
15853710
LMI
167882011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16789
a28e4607
LMI
16790 * subr.el (with-silent-modifications): Clarify somewhat what the
16791 macro inhibits (bug#6525).
16792
15853710
LMI
16793 * simple.el (eval-expression): Note what it does if called
16794 interactively (bug#6495).
16795
bee0fcef
CY
167962011-07-13 Chong Yidong <cyd@stupidchicken.com>
16797
b796c9b7
SM
16798 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
16799 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
16800
16801 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
16802 Remove switch-to-buffer.
16803
58274504
LMI
168042011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16805
bd2fcc8d
LMI
16806 * files.el (make-directory): Clarify that an error will be raised
16807 if there's an error (bug#6397).
16808
0f04b32c
LMI
16809 * startup.el (initial-buffer-choice): Add `none' as a choice
16810 (bug#6234).
16811
465c5fc8
LMI
16812 * subr.el (add-hook): Clarify section about buffer-local hooks
16813 (bug#6218).
16814
58274504
LMI
16815 * dired.el (dired-flagged): Clarify doc string (bug#6117).
16816
bead9a43
JB
168172011-07-13 Juanma Barranquero <lekktu@gmail.com>
16818
16819 * tabify.el (untabify): Preserve the current column so that point
16820 doesn't move (bug#6032).
16821
3af98a7b
LMI
168222011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16823
b796c9b7
SM
16824 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
16825 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 16826
6240145a
GM
168272011-07-13 Glenn Morris <rgm@gnu.org>
16828
16829 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
16830 (dired-insert-directory): Give a message the first time
16831 if ls is found not to support --dired.
16832
1d8c2ccc
LMI
168332011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16834
16835 * simple.el (toggle-truncate-lines): Clarify what is toggled
16836 (bug#5580). Text by Drew Adams.
16837
5fc4038e
CY
168382011-07-13 Chong Yidong <cyd@stupidchicken.com>
16839
16840 * simple.el (blink-matching-open): Make the error message from the
16841 last change less verbose.
16842
bf6012e5
DN
168432011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
16844
16845 * font-lock.el (font-lock-comment-face): Use the high contrast
16846 "yellow" color for font-lock-comment-face on low color terminals
16847 using a dark background color (bug#4221).
16848
343c3b5a
LMI
168492011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16850
7e9505c5
LMI
16851 * dired.el (dired-insert-set-properties): Make the doc string
16852 reflect what it does now (bug#5325).
16853
c26fdcf5
LMI
16854 * simple.el (blink-matching-open): Say that we were unable to find
16855 the match within the limit, if we're limited (bug#5122).
16856
bb388cc5
LMI
16857 * international/mule-cmds.el (prefer-coding-system): Add an
16858 example (bug#4869).
16859
343c3b5a
LMI
16860 * progmodes/etags.el (tags-search): Document `file-list-form'
16861 (bug#4731).
16862
2a517d45
LM
168632011-07-13 Lawrence Mitchell <wence@gmx.li>
16864
16865 * net/browse-url.el (browse-url-default-browser)
16866 (browse-url-browser-function): Make the default browser choice a
16867 bit more logical (bug#4300). Also clean up the doc string.
16868
b6c78ef2
JB
168692011-07-13 Juanma Barranquero <lekktu@gmail.com>
16870
16871 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
16872 binary endings (bug#4440).
16873
1c4dd947
LMI
168742011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16875
a2014063
LMI
16876 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
16877 which can be pretty annoying (bug#8971).
16878
9c9c2d88
LMI
16879 * jka-compr.el (jka-compr-verbose): New variable, and use
16880 throughout (bug#8971).
16881
1c4dd947
LMI
16882 * info.el (Info-find-file): Fall back on the installation
16883 directory if we can't find the info node anywhere else.
16884
a1c9f41b
SO
168852011-07-13 Sergei Organov <osv@javad.com> (tiny change)
16886
16887 * vc/vc.el (vc-revert-file):
16888 Don't set file time-stamp in the past. (Bug#5181)
16889
536f3d36
LMI
168902011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
16891
7152b011
LMI
16892 * files.el (after-find-file): Give a better error message when
16893 trying to find a symlink that points to a file that doesn't exist
16894 (bug#4398).
16895
536f3d36
LMI
16896 * progmodes/cc-vars.el: Remove (probably) misleading comment
16897 (bug#4396).
16898
460c0fba
JB
168992011-07-12 Johan BockgĂ¥rd <bojohan@gnu.org>
16900
16901 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
16902
7a6bda45
CY
169032011-07-12 Chong Yidong <cyd@stupidchicken.com>
16904
16905 * mouse-sel.el: Hack restoring functionality, while keeping
16906 compatibility with 2010-07-03 changes to mouse selection.
16907 (mouse-sel-primary-overlay): New var.
16908 (mouse-sel-selection-alist): Use it.
16909 (mouse-sel-mode): Doc fix; remove points that are default features
16910 of mouse.el.
16911
c79598ef
JB
169122011-07-12 Johan BockgĂ¥rd <bojohan@gnu.org>
16913
16914 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16915 Fix previous fix (bug#2490).
16916
ff8be6ef
RW
169172011-07-12 Roland Winkler <winkler@gnu.org>
16918
b796c9b7
SM
16919 * textmodes/bibtex.el (bibtex-initialize):
16920 Use pop-to-buffer-same-window.
ff8be6ef
RW
16921 (bibtex-search-entries): Fix interactive call.
16922
296ba3ee
LMI
169232011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
16924
f5242a02 16925 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
16926 Fontise bytecomp Error lines more correctly (bug#2490).
16927 Fix suggested by Johan BockgĂ¥rd.
f5242a02 16928
296ba3ee
LMI
16929 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
16930
16931 * dired-x.el (dired-guess-default): Use `delete-dups'.
16932
f69fd0d2
CY
169332011-07-12 Chong Yidong <cyd@stupidchicken.com>
16934
16935 * dired.el (dired-mark-prompt):
16936 * dired-aux.el (dired-read-shell-command): Doc fix.
16937
eab5dc07
LMI
169382011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
16939
b796c9b7
SM
16940 * mail/sendmail.el (sendmail-query-once):
16941 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
16942 emacs -Q.
16943
16944 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
16945
eab5dc07
LMI
16946 * cus-edit.el (custom-file): Take an optional no-error variable.
16947 (customize-save-variable): Set the variable, and give a warning if
16948 running under "emacs -q".
16949
a1e65d42
JB
169502011-07-11 Juanma Barranquero <lekktu@gmail.com>
16951
16952 * loadhist.el (unload-feature-special-hooks):
16953 Add `auto-coding-functions', `fill-nobreak-predicate' and
16954 `find-directory-functions' (bug#5327).
16955
1d52da10
LMI
169562011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
16957
be958f1d
LMI
16958 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
16959
5bedb26c
LMI
16960 * cus-edit.el (custom-guess-name-alist): -alist variables should
16961 use the `alist' type (bug#3120). Suggested by Drew Adams.
16962
1d52da10
LMI
16963 * printing.el: Add documentation to all the `pr-toggle-' commands.
16964
cd394be1 169652011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
16966
16967 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
16968 backends where it makes sense (bug#2623).
16969
dcc88d8a
LMI
169702011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
16971
c3de9feb
LMI
16972 * dired-x.el (dired-guess-default): Remove duplicate shell command
16973 entries (bug#2028).
8a93078b 16974 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 16975 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 16976
dcc88d8a
LMI
16977 * subr.el (remove-duplicates): New conveniency function.
16978
505e3645
LMI
169792011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
16980
16981 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
16982 (bug#1526).
16983
169842011-07-10 Martin Rudalics <rudalics@gmx.at>
16985
16986 * window.el (display-buffer-normalize-default): Don't invert
16987 meaning of even-window-heights. Reported by Eli Zaretskii
16988 <eliz@gnu.org>.
16989
455e4fa1
BR
169902011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
16991
16992 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
16993
8e0bc3e9
CY
169942011-07-10 Chong Yidong <cyd@stupidchicken.com>
16995
16996 * window.el (display-buffer): Fix arguments to
16997 display-buffer-reuse-window in last change.
16998
fa7c3228
CY
16999 * faces.el (link): Use a less saturated blue on light backgrounds.
17000
17001 * startup.el (fancy-startup-text, fancy-about-text)
17002 (fancy-startup-tail): Use font-lock faces, for background safety.
17003
c0a7f300
BN
170042011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
17005
b796c9b7
SM
17006 * emulation/viper-cmd.el (viper-change-state-to-vi):
17007 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 17008
4dc2a129
MR
170092011-07-09 Martin Rudalics <rudalics@gmx.at>
17010
17011 * window.el (display-buffer-default-specifiers): Remove.
17012 (display-buffer-macro-specifiers): Remove default specifiers.
17013 (display-buffer-alist): Default to nil.
b796c9b7 17014 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
17015 (display-buffer-pop-up-window): Allow splitting internal
17016 windows. Check whether a live window was created.
17017 (display-buffer-other-window-means-other-frame)
17018 (display-buffer-normalize-arguments): Rename to
17019 display-buffer-normalize-argument and rewrite. Set the
17020 other-window specifier.
17021 (display-buffer-normalize-special): New function.
17022 (display-buffer-normalize-options): Rename to
17023 display-buffer-normalize-default and rewrite.
17024 (display-buffer-normalize-options-inhibit): Remove.
17025 (display-buffer-normalize-specifiers): Rewrite.
17026 (display-buffer): Process other-window specifier and call
17027 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
17028 more faithfully.
b796c9b7 17029 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 17030 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
17031 (display-buffer-in-window, display-buffer-alist-set):
17032 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
17033 <tassilo@member.fsf.org>.
17034
2d43b8c9
LL
170352011-07-09 Leo Liu <sdl.web@gmail.com>
17036
17037 * register.el (insert-register): Restore accidental change on
17038 2011-06-26. (Bug#9028)
17039
7f9b7c53
GM
170402011-07-09 Glenn Morris <rgm@gnu.org>
17041
17042 * subr.el (remq): Handle the empty list. (Bug#9024)
17043
f042cfd8
AS
170442011-07-08 Andreas Schwab <schwab@linux-m68k.org>
17045
17046 * mail/sendmail.el (send-mail-function): No longer delay custom
17047 initialization.
17048 * custom.el (custom-initialize-delay): Doc fix.
17049
856b2f11
SM
170502011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
17051
17052 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
17053
afae1d68
MA
170542011-07-08 Michael Albinus <michael.albinus@gmx.de>
17055
17056 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
17057 human-friendly prompt.
17058
0757af94
SM
170592011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
17060
17061 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
17062 provided by a particular plugin.
17063
d760b731
LMI
170642011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
17065
17066 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
17067 save customizations (with "emacs -Q"), just set the variable
17068 instead of erroring out.
17069
17070 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
17071
cd79ce90
JL
170722011-07-08 Juri Linkov <juri@jurta.org>
17073
17074 * arc-mode.el (archive-zip-expunge, archive-zip-update)
17075 (archive-zip-update-case): Use 7z if found by `executable-find'.
17076 The order of searching the available programs is the same as in
17077 `archive-zip-extract' (bug#8968).
17078
14cc04aa
CY
170792011-07-07 Chong Yidong <cyd@stupidchicken.com>
17080
17081 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
17082 (menu-bar-options-menu): Tweak descriptions.
17083
0a1848ec
LMI
170842011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
17085
17086 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
17087 menu items into verb phrases (bug#1421). Also refill to fit under
17088 80 columns.
17089
f5bd0689
CY
170902011-07-07 Chong Yidong <cyd@stupidchicken.com>
17091
538e85c6
CY
17092 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
17093 (Info-read-node-name): Doc fix (Bug#1084).
17094
f5bd0689
CY
17095 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
17096 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
17097 (end-of-sexp, beginning-of-sexp)
17098 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
17099 (forward-symbol, forward-same-syntax, word-at-point)
17100 (sentence-at-point): Doc fix (Bug#1144).
17101
56ec5115
LMI
171022011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
17103
f3f8e37f
LMI
17104 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
17105 should cover it (bug#1281).
17106
0757af94 17107 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 17108
e9fce1ac 17109 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
17110 negotiation fails, then possibly try again with a non-encrypted
17111 connection (bug#9017).
17112
56ec5115
LMI
17113 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
17114 be used.
17115
c2f9aec8
RS
171162011-07-07 Richard Stallman <rms@gnu.org>
17117
17118 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
17119 property, and handle its changed format.
17120 Look for the correct line number.
17121 Use file's line contents (but not past first =) to find
17122 correct line in message.
17123
ef7b981d 171242011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
17125
17126 * international/characters.el (build-unicode-category-table):
17127 Delete it.
0757af94 17128 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 17129
0757af94 17130 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
17131 to src/chartab.c.
17132 (get-char-code-property): Call unicode-property-table-internal to
17133 load a file. Call get-unicode-property-internal where necessary.
17134 (put-char-code-property): Call unicode-property-table-internal to
17135 load a file. Call put-unicode-property-internal where necessary.
17136 put-unicode-property-internal where necessary.
0757af94
SM
17137 (char-code-property-description):
17138 Call unicode-property-table-internal to load a file.
c805dec0
KH
17139
17140 * international/charprop.el:
17141 * international/uni-bidi.el:
17142 * international/uni-category.el:
17143 * international/uni-combining.el:
17144 * international/uni-comment.el:
17145 * international/uni-decimal.el:
17146 * international/uni-decomposition.el:
17147 * international/uni-digit.el:
17148 * international/uni-lowercase.el:
17149 * international/uni-mirrored.el:
17150 * international/uni-name.el:
17151 * international/uni-numeric.el:
17152 * international/uni-old-name.el:
17153 * international/uni-titlecase.el:
17154 * international/uni-uppercase.el: Regenerate.
17155
17156 * loadup.el: Load international/charprop.el before
17157 international/characters.
17158
e14b388a
CY
171592011-07-07 Chong Yidong <cyd@stupidchicken.com>
17160
17161 * window.el (next-buffer, previous-buffer): Signal an error if
17162 called from a minibuffer window.
17163
17164 * bindings.el: Revert 2011-07-04 change.
17165
354cf0ba
RS
171662011-07-06 Richard Stallman <rms@gnu.org>
17167
17168 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
17169 (rmail-mime-insert-bulk, rmail-mime-insert-text):
17170 Treat markers like ints.
17171 (rmail-mime-entity): Doc fix.
17172
a48868a7
LMI
171732011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
17174
4906cd3d
LMI
17175 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
17176 defcustom again for backwards compatibility.
17177
e0457abe
LMI
17178 * simple.el (shell-command-on-region): Fill.
17179
d67f7e1f
LMI
17180 * dired-aux.el (dired-kill-line): Add a doc string.
17181
fe204702
LMI
17182 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
17183 to "\\sw\\|\\s_" (bug#358).
17184
a48868a7
LMI
17185 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
17186 (dired-unmark-backward): Ditto.
17187 (dired-flag-backup-files): Ditto.
17188
17189 * dired-x.el (dired-mark-sexp): Ditto.
17190
aa8a705c
RS
171912011-07-06 Richard Stallman <rms@gnu.org>
17192
17193 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
17194 (rmail-mime-entity): New arg TRUNCATED.
17195 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
17196 New functions.
17197 (rmail-mime-save): Warn if entity is truncated.
17198 (rmail-mime-toggle-hidden): Likewise, for showing.
17199 (rmail-mime-process-multipart): Record when an entity is truncated.
17200
a9a936b9
RS
17201 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
17202 if ENTITY is a string.
17203
1f2b92cb
LMI
172042011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
17205
f4f73198 17206 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
17207 of faces when `M-C-x'-ing their definitions (bug#8378).
17208 Also clean up the code slightly.
f4f73198 17209
12b16734 17210 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 17211 because that makes the colors go away.
12b16734 17212
f0691d22
LMI
17213 * mail/sendmail.el (send-mail-function): Change the default to
17214 `sendmail-query-once'.
9e87df06 17215 (sendmail-query-once): Add an autoload cookie.
f0691d22 17216
1f2b92cb
LMI
17217 * net/network-stream.el (network-stream-open-starttls): Try using
17218 a plain connection even if the server offered STARTTLS, and we
17219 kinda wanted to use it, if Emacs doesn't have any STARTTLS
17220 capability. This should make smtpmail.el work in slightly more
17221 configurations.
17222
1cdd2a1b
MA
172232011-07-06 Michael Albinus <michael.albinus@gmx.de>
17224
17225 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
17226 New defun.
17227 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
17228
fbcc67e2
MM
172292011-07-06 Michael R. Mauger <mmaug@yahoo.com>
17230
17231 * progmodes/sql.el: Version 3.0
0757af94 17232 (sql-product-alist): Add product :completion-object,
fbcc67e2 17233 :completion-column, and :statement attributes.
0757af94 17234 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 17235 (sql-mode-syntax-table): Mark all punctuation.
0757af94 17236 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
17237 ansi keywords.
17238 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 17239 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
17240 (sql-oracle-show-reserved-words): New function for development.
17241 (sql-product-font-lock): Simplify for source code buffers.
17242 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
17243 New functions.
17244 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
17245 (sql-mode-map): Add statement movement functions.
17246 (sql-ansi-statement-starters, sql-oracle-statement-starters):
17247 New variable.
fbcc67e2
MM
17248 (sql-statement-regexp, sql-beginning-of-statement)
17249 (sql-end-of-statement, sql-signum): New functions.
0757af94 17250 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
17251 (sql-show-sqli-buffer): Bug fix.
17252 (sql-interactive-mode): Store connection data as buffer local.
0757af94 17253 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
17254 with sql-interactive-mode.
17255 (sql-save-connection): Save buffer local settings.
0757af94 17256 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
17257 (sql-product-interactive): Bug fix.
17258 (sql-preoutput-hold): New variable.
17259 (sql-interactive-remove-continuation-prompt): Bug fixes.
17260 (sql-debug-redirect): New variable.
17261 (sql-str-literal): New function.
17262 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 17263 Redesign.
fbcc67e2
MM
17264 (sql-oracle-save-settings, sql-oracle-restore-settings)
17265 (sql-oracle-list-all, sql-oracle-list-table): New functions.
17266 (sql-completion-object, sql-completion-column)
17267 (sql-completion-sqlbuf): New variables.
17268 (sql-build-completions-1, sql-build-completions)
17269 (sql-try-completion): New functions.
17270 (sql-read-table-name): Use them.
17271 (sql-contains-names): New buffer local variable.
17272 (sql-list-all, sql-list-table): Use it.
17273 (sql-oracle-completion-types): New variable.
17274 (sql-oracle-completion-object, sql-sqlite-completion-object)
17275 (sql-postgres-completion-object): New functions.
17276
d4eaeab1
GM
172772011-07-06 Glenn Morris <rgm@gnu.org>
17278
17279 * window.el (pop-to-buffer): Doc fix.
17280
322b7dab 172812011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
17282
17283 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
17284
322b7dab 172852011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 17286
322b7dab 17287 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 17288
322b7dab 17289 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 17290
605dd5bf
CY
172912011-07-05 Chong Yidong <cyd@stupidchicken.com>
17292
17293 * button.el (button): Inherit from link face. Suggested by Dan
17294 Nicolaescu.
17295
7dbfa719
SM
172962011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
17297
3db614b0
SM
17298 * progmodes/gdb-mi.el: Fit in 80 columns.
17299 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
17300 switch-to-buffer.
17301
7dbfa719
SM
17302 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
17303 if imenu is simply not configured (bug#8941).
17304
919d884a
KM
173052011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
17306
17307 * allout.el (allout-post-undo-hook): New allout outline-change
17308 event hook to signal undo activity.
17309 (allout-post-command-business): Run allout-post-undo-hook if an
17310 undo just occurred.
7dbfa719
SM
17311 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
17312 * allout-widgets.el (allout-widgets-after-undo-function):
17313 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
17314 in the vicinity of an undo.
17315 (allout-widgets-mode): Include allout-widgets-after-undo-function
17316 on the new allout-post-undo-hook.
17317
450a0f09
SM
173182011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
17319
17320 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
17321 Let define-derived-mode define it.
17322 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
17323 cycles of abbrev-table inheritance (bug#8998).
17324
2de69e00
RW
173252011-07-05 Roland Winkler <winkler@gnu.org>
17326
17327 * textmodes/bibtex.el: Add support for biblatex.
17328 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
17329 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
17330 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
17331 (bibtex-entry-alist, bibtex-field-alist): New variables.
17332 (bibtex-entry-field-alist): Obsolete alias for
17333 bibtex-BibTeX-entry-alist.
17334 (bibtex-entry-alist, bibtex-field-alist): New widgets.
17335 (bibtex-set-dialect): New command.
17336 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
17337 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
17338 Bind via bibtex-set-dialect.
2de69e00
RW
17339 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
17340 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
17341 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
17342 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
17343 Define via bibtex-set-dialect.
450a0f09
SM
17344 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
17345 Obey bibtex-no-opt-remove-re.
2de69e00
RW
17346 (bibtex-vec-push, bibtex-vec-incr): New functions.
17347 (bibtex-format-entry, bibtex-field-list)
17348 (bibtex-print-help-message, bibtex-validate)
17349 (bibtex-search-entries): Use new format of bibtex-entry-alist.
17350
2dcdbdd9
SM
173512011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
17352
17353 * progmodes/compile.el (compilation-goto-locus):
17354 * net/tramp-cmds.el (tramp-append-tramp-buffers):
17355 * bs.el (bs-cycle-next, bs-cycle-previous):
17356 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
17357 * bindings.el (mode-line-other-buffer):
17358 * autoinsert.el (auto-insert):
17359 * arc-mode.el (archive-extract):
17360 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
17361
b27640fe
JB
173622011-07-05 Juanma Barranquero <lekktu@gmail.com>
17363
17364 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
17365 Fix check of `emacs-lock-unlockable-modes'.
17366 Coerce true values of `emacs-lock--try-unlocking' to t.
17367
53bbe3ad
JB
173682011-07-05 Juanma Barranquero <lekktu@gmail.com>
17369
17370 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
17371 * emacs-lock.el: New file.
17372
1d3cdbc7
JD
173732011-07-05 Julien Danjou <julien@danjou.info>
17374
17375 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
17376 than `boundp' to check if face is set.
17377
9173deec
JB
173782011-07-05 Juanma Barranquero <lekktu@gmail.com>
17379
17380 * register.el (registerv-make):
17381 * window.el (window-min-height): Fix typos in docstrings.
17382
869795d6
JD
173832011-07-05 Jan Djärv <jan.h.d@swipnet.se>
17384
9173deec 17385 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
17386 Update doc string.
17387
b768cdcd
JB
173882011-07-04 Juanma Barranquero <lekktu@gmail.com>
17389
17390 * server.el (server-execute): Catch quit and call
17391 `server-return-error' to pass the error back to emacsclient and
17392 close the connection (bug#8942).
17393
13aa217b
KM
173942011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
17395
17396 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
17397 insecure exception for current topic. Also note that auto-saves
17398 are handled differently.
17399
5d3385a0 17400 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
17401 State variables for tracking auto-save inhibition situation.
17402
17403 (allout-write-contents-hook-handler): Rename from
17404 'allout-write-file-hook-handler', and describe how it depends on
17405 write-contents-functions sensitivity to non-nil value to prevent
17406 file write.
17407
17408 (allout-auto-save-hook-handler): Remove. auto-save does not check
17409 this in individual buffers, only in the starting buffer, so this
17410 is not the right way for us to inhibit auto-save in a buffer
17411 according to its condition.
17412
17413 (allout-mode): Use new allout-write-contents-hook-handler, and
17414 only with write-contents-functions. Remove auto-save provisions -
17415 they're implemented elsewhere.
17416
17417 (allout-before-change-handler): If undo is in progress, note that
17418 for attention of allout-post-command-business.
17419
17420 (allout-post-command-business): If the command we're following was
17421 an undo, check for change in the status of encrypted items and
17422 adjust auto-save inhibitions accordingly.
17423
17424 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
17425 according to whether there are or aren't any plain-text topics
17426 pending encryption.
17427
2dcdbdd9 17428 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
17429 Adjust buffer-saved-size and some allout state to inhibit auto-saves
17430 if there are plain-text topics pending encryption.
13aa217b
KM
17431
17432 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
17433 buffer-saved-size and some allout state to not inhibit auto-saves
17434 if there are no longer any plain-text topics pending encryption.
17435
0757af94
SM
17436 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
17437 No longer provide for exemption of the current topic.
13aa217b 17438
ac89b32c
JL
174392011-07-04 Juri Linkov <juri@jurta.org>
17440
17441 Add 7z operations to delete and save changed members (bug#8968).
17442 * arc-mode.el (archive-7z-expunge, archive-7z-update):
17443 New defcustoms.
17444 (archive-7z-write-file-member): New function.
17445 (archive-7z-summarize): Fix the number of dashes in the
17446 listing output.
17447
8fa39615
SM
174482011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
17449
17450 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
17451 (bug#8958).
17452
2f11b3f1
CY
174532011-07-04 Chong Yidong <cyd@stupidchicken.com>
17454
d66fef2b
CY
17455 * bindings.el: Ignore next-buffer and previous-buffer in
17456 minibuffer-local-map.
17457
2f11b3f1
CY
17458 * font-lock.el (font-lock-builtin-face): Change light background
17459 color to dark slate blue (Bug#6693).
17460
f932a347
WD
174612011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
17462
17463 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
17464
c8af70e1
SM
174652011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
17466
17467 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
17468 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
17469 Add switch-to-buffer.
17470
f158badc
LMI
174712011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
17472
17473 * isearch.el (isearch-search-fun-function): Clarify further the
17474 meaning of the function returned.
17475
6d95bd46
MA
174762011-07-04 Michael Albinus <michael.albinus@gmx.de>
17477
17478 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
17479
17480 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
17481 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
17482 Use it.
17483 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
17484 `tramp-default-remote-path' does not exist.
17485 (tramp-send-command-and-read): New optional argument NOERROR.
17486 (tramp-open-connection-setup-interactive-shell)
17487 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
17488 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
17489 (tramp-process-sentinel): Flush also process' connection property.
17490 (tramp-sh-handle-start-file-process): Do not set process
17491 sentinel. It is done now ...
17492 (tramp-maybe-open-connection): ... here. (Bug#8929)
17493
909e6b67
MK
174942011-07-04 MON KEY <monkey@sandpframing.com>
17495
17496 * play/animate.el (animate-string): Doc fixes and allow changing
17497 the buffer name (bug#5417).
17498
174992011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
17500
c8af70e1 17501 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 17502
f34755dc
PE
175032011-07-04 Paul Eggert <eggert@cs.ucla.edu>
17504
396cec72
PE
17505 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
17506 This is simpler and helps future-proof the code.
17507 (timer-until): Use time-subtract and float-time.
08235028 17508 (timer--time-less-p): Use time-less-p.
f34755dc 17509
56e6cc31
JB
175102011-07-04 Juanma Barranquero <lekktu@gmail.com>
17511
3abb79e5
JB
17512 * type-break.el (timep): Use the value of `float-time' to avoid a
17513 byte-compiler warning.
17514
56e6cc31
JB
17515 * server.el (server-eval-and-print): Return any result, even nil.
17516
7b9430b4
PE
175172011-07-03 Paul Eggert <eggert@cs.ucla.edu>
17518
17519 * type-break.el: Accept time formats that the builtins accept.
17520 (timep, type-break-time-difference): Accept any format that
17521 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
17522 This is simpler and helps future-proof the code.
17523 (type-break-time-difference): Round rather than ignoring
17524 subseconds components.
17525
3034e9e7
LMI
175262011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17527
17528 * info.el (Info-apropos-matches): Make non-interactive, since it
17529 doesn't seem to do anything useful as a command (bug#8829).
17530
1485f4c0
CY
175312011-07-03 Chong Yidong <cyd@stupidchicken.com>
17532
17533 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 17534 Move from faces.el.
1485f4c0
CY
17535 (frame-default-terminal-background): New function.
17536
17537 * custom.el (custom-push-theme): Don't record faces in `changed'
17538 theme; this doesn't work correctly for per-frame face settings.
17539 (disable-theme): Use face-set-after-frame-default to reset faces.
17540 (custom--frame-color-default): New function.
17541
9fa3dd45
LMI
175422011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17543
c8af70e1 17544 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
17545 (bug#8769).
17546
6cbbc20c
KR
175472011-03-29 Kevin Ryde <user42@zip.com.au>
17548
17549 * progmodes/compile.el (compilation-error-regexp-alist-alist):
17550 `perl-Test2' extend to match possible "fail #N" rep count
17551 (bug#8377).
17552
c7f98048
LMI
175532011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17554
65676592
LMI
17555 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
17556 `smtpmail-via-smtp' now returns the error instead of nil.
17557
c7f98048
LMI
17558 * isearch.el (isearch-search-fun-function): Clarify the doc string
17559 (bug#8101).
17560
56e6cc31 175612011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
17562
17563 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
17564 unnecessary spaces (bug#8987).
17565
2b216704
LMI
175662011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17567
17568 * net/network-stream.el (open-network-stream): Use the
17569 :end-of-capability command thoughout.
17570
175712011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
17572
17573 * net/network-stream.el (open-network-stream): Add the
17574 :end-of-capability command parameter, used by pop3.el.
17575
36adf6ce
LMI
175762011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17577
1ca0da0e
LMI
17578 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
17579
fc00f69c
LMI
17580 * fringe.el (fringe-query-style): Remove redundant text " (type ?
17581 for list)" (bug#6475).
17582
28fd8759 17583 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 17584 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
17585 an error (bug#6297).
17586
0dd8b6da
LMI
17587 * man.el (Man-reference-regexp): Allow matching possible
17588 word-wrapped references (bug#6289).
17589
ce1438d6
LMI
17590 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
17591 for consistency with the other vc buffers (bug#6197).
17592 (vc-checkin): Ditto.
17593
17594 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
17595
36adf6ce
LMI
17596 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
17597
e83cc1f7
LMI
175982011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
17599
8a20ca4c
LMI
17600 * custom.el (defcustom): Clarify that :set is only used in the
17601 Customize user interface (bug#6089).
17602
83319045
LMI
17603 * progmodes/flymake.el (flymake-mode): If the buffer isn't
17604 associated with a file, refuse to run instead of erroring out
17605 (bug#6084).
17606
a8392169
LMI
17607 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
17608 the doc string, since it appears that using `fill-column' always
17609 controls the width (bug#7845).
17610
e83cc1f7
LMI
17611 * simple.el (shell-command-on-region): Say where the error output
17612 went if `shell-command-default-error-buffer' is set (bug#6857).
17613
e47ca23b
KM
176142011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
17615
17616 * allout.el (allout-yank-processing): Adjust cursor position for
17617 backwards-deleted space.
17618
17619 (allout-rebullet-heading): Register changes with
17620 allout-exposure-changed-hook, so the modified topic is properly
17621 decorated.
17622
5cf56143
LMI
176232011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
17624
08549772
LMI
17625 * minibuffer.el (completion-in-region): Document PREDICATE
17626 (bug#7136).
17627
48e96771
LMI
17628 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
17629 of keyword/argument pairs (bug#6904).
17630
c8af70e1
SM
17631 * replace.el (multi-occur):
17632 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 17633
e17d05e2
LMI
176342011-07-02 Drew Adams <drew.adams@oracle.com>
17635
17636 * dired.el (dired-mark-if): Make the message about whether it's
17637 marking or unmarking clearer (bug#8523).
17638
063b0e45
LMI
176392011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
17640
17641 * disp-table.el (display-table-print-array): New function.
17642 (describe-display-table): Use it to print the vectors more pretty
17643 (Bug#8859).
17644
28545e04
MR
176452011-07-02 Martin Rudalics <rudalics@gmx.at>
17646
17647 * window.el (window-state-get-1): Don't assign clone numbers.
17648 Add clone-of item to list of window parameters.
17649 (window-state-put-2): Don't process clone numbers.
17650 (display-buffer-alist): Fix doc-string.
17651
3349e122
SM
176522011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
17653
17654 * subr.el (remq): Don't allocate if it's not needed.
17655 (keymap--menu-item-binding, keymap--menu-item-with-binding)
17656 (keymap--merge-bindings): New functions.
17657 (keymap-canonicalize): Use them to refine the canonicalization.
17658 * minibuffer.el (minibuffer-local-completion-map)
17659 (minibuffer-local-must-match-map): Move initialization from C.
17660 (minibuffer-local-filename-completion-map): Move initialization from C;
17661 don't inherit from anything here.
17662 (minibuffer-local-filename-must-match-map): Make obsolete.
17663 (completing-read-default): Use make-composed-keymap to combine
17664 minibuffer-local-filename-completion-map with either
17665 minibuffer-local-must-match-map or
17666 minibuffer-local-filename-completion-map.
17667
d224ac83
GM
176682011-07-01 Glenn Morris <rgm@gnu.org>
17669
3de63bf8
GM
17670 * type-break.el (type-break-time-sum): Use dolist.
17671
d224ac83
GM
17672 * textmodes/flyspell.el (flyspell-word-search-backward):
17673 Replace CL function.
17674
1a1e3f32
SM
176752011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
17676
fe3f64d5
SM
17677 * mouse.el (mouse--strip-first-event): New function.
17678 (function-key-map): Use it to map fringe clicks to normal clicks
17679 by default.
17680
eb604e34
SM
17681 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
17682 (vc-bzr-revision-completion-table): Add support for annotate and date.
17683
1a1e3f32
SM
17684 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
17685 inherit from parent.
17686
5bd35902
LMI
176872011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
17688
ace6c69c 17689 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 17690 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 17691
191e2bed
LMI
17692 * dired.el (dired-mode): Fix up the doc string as suggested by
17693 Drew Adams (bug#8817).
17694
5bd35902
LMI
17695 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
17696 cookie, since the manual says that it should be possible to add
17697 this function to `find-file-hook' (bug#8709).
17698
eee8207a
TZ
176992011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
17700
17701 * progmodes/cfengine.el: Moved all cfengine3.el functionality
17702 here. Noted Ted Zlatanov as the maintainer.
17703 (cfengine-common-settings, cfengine-common-syntax): New functions
17704 to set up common things between `cfengine-mode' and
17705 `cfengine3-mode'.
17706 (cfengine3-mode): New mode.
17707 (cfengine3-defuns cfengine3-defuns-regex
17708 (cfengine3-class-selector-regex cfengine3-category-regex)
17709 (cfengine3-vartypes cfengine3-font-lock-keywords)
17710 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 17711 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 17712
36b148cf
MA
177132011-07-01 Michael Albinus <michael.albinus@gmx.de>
17714
17715 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
17716
17717 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
17718
0bf4ba9a
MR
177192011-07-01 Martin Rudalics <rudalics@gmx.at>
17720
17721 * window.el (same-window-buffer-names, same-window-regexps)
17722 (same-window-p, special-display-frame-alist)
17723 (special-display-popup-frame, special-display-function)
17724 (special-display-buffer-names, special-display-regexps)
17725 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
17726 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
17727 (split-window-preferred-function, split-height-threshold)
17728 (split-width-threshold, even-window-heights)
17729 (display-buffer-mark-dedicated, window-splittable-p)
17730 (split-window-sensibly, window-safely-shrinkable-p):
17731 Un-obsolete.
17732 (display-buffer): Don't spread args with function specifier
17733 because special-display-popup-frame won't like it.
17734
35837f51
PE
177352011-07-01 Paul Eggert <eggert@cs.ucla.edu>
17736
d0672f86
PE
17737 Time-stamp simplifications and fixes.
17738 These improve accuracy slightly, and future-proof the code
17739 against some potential changes to current-time format.
17740
b9444d97
PE
17741 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
17742 by using time-since and float-time.
17743
0ef923dc
PE
17744 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
17745 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
17746 + NNN microseconds".
17747
2f81380d
PE
17748 * type-break.el (type-break-time-sum): Rewrite using time-add.
17749
845b5c3e
PE
17750 * play/hanoi.el (hanoi-current-time-float): Remove.
17751 All uses replaced by float-time.
17752
ee6f1be0
PE
17753 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
17754 This yields a more-accurate answer.
17755 (rng-time-to-float): Remove; no longer needed.
17756
fe955043
PE
17757 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
17758
5777162a
PE
17759 * calendar/timeclock.el (timeclock-seconds-to-time):
17760 Defalias to seconds-to-time, since they're the same thing.
17761
3103f8b6 17762 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 17763 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
17764 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
17765
0e61a35f
SM
177662011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
17767
17768 * window.el (bury-buffer): Don't iconify the only frame.
17769 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
17770 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
17771
ddd63a1e
CY
177722011-07-01 Chong Yidong <cyd@stupidchicken.com>
17773
0e61a35f
SM
17774 * eshell/em-smart.el (eshell-smart-display-navigate-list):
17775 Add mouse-yank-primary.
ddd63a1e 17776
055f4923
TZ
177772011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
17778
17779 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
17780
6a2fb145
SM
177812011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
17782
17783 * emacs-lisp/find-func.el (find-library--load-name): New fun.
17784 (find-library-name): Use it to find relative load names when provided
17785 absolute file name (bug#8803).
17786
fd4983f2
LMI
177872011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
17788
887d14ad
LMI
17789 * textmodes/flyspell.el (flyspell-word): Consider words that
17790 differ only in case as potential doublons (bug#5687).
17791
c53dc7fc
LMI
17792 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
17793 Remove two rather uninteresting debugging-like messages to make
17794 debbugs.el more silent.
17795
fd4983f2
LMI
17796 * comint.el (comint-password-prompt-regexp): Accept "Response" as
17797 a password-like phrase.
17798
7a71b18d 177992011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
17800
17801 * progmodes/cc-guess.el: New file.
17802
6a2fb145 17803 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
17804
17805 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
17806 derived from `c-basic-common-init'.
17807
17808 * progmodes/cc-mode.el (top-level): Require cc-guess.
17809 (c-basic-common-init): Use `cc-choose-style-for-mode'.
17810
1fa280a3
LM
178112011-06-30 Lawrence Mitchell <wence@gmx.li>
17812
17813 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
17814
e6597158
AM
178152011-06-30 Alan Mackenzie <acm@muc.de>
17816
1fa280a3
LM
17817 * progmodes/cc-engine.el (c-guess-continued-construct):
17818 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
17819 lock is disabled. Name this case as "CASE G".
17820
68ba37fb
KM
178212011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
17822
17823 * allout.el (allout-yank-processing): Fix injection of extra space
17824 between bullet and non-whitespace character in first topic when
17825 pasting, ensuring that the actual spacing in the pasted topic
17826 following the bullet char is preserved. This extra space was
17827 causing pasted encrypted topics to get a decrypted status even
17828 when the content was actually still encrypted. Now the decryption
17829 status from before the paste is preserved.
17830
17831 (allout-flag-region): Set all allout overlays so they evaporate
17832 when reduced to zero length (evanescent), to prevent overlay
17833 leakage.
17834
887a0b34
GM
178352011-06-30 Glenn Morris <rgm@gnu.org>
17836
94b9acce
GM
17837 * w32-fns.el (w32-charset-info-alist): Declare.
17838
1d9b46d4
GM
17839 * find-dired.el (find-grep-options): Simplify.
17840
cc232200
GM
17841 * term/ns-win.el (ns-set-resource): Declare.
17842
28e77c46
GM
17843 * ses.el (row, col): Declare dynamic variables honestly.
17844
887a0b34
GM
17845 * textmodes/reftex-parse.el (index-tags): Declare.
17846
658d8eb8
CY
178472011-06-30 Chong Yidong <cyd@stupidchicken.com>
17848
17849 * cus-edit.el (customize-push-and-save): New function.
17850
17851 * files.el (hack-local-variables-confirm): Use it.
17852
1fa280a3
LM
17853 * custom.el (load-theme): New arg NO-CONFIRM.
17854 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
17855 (custom-enabled-themes): Doc fix.
17856
17857 * cus-theme.el (customize-create-theme)
17858 (custom-theme-merge-theme): Callers to load-theme changed.
17859
bb617717
LMI
178602011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
17861
d61bdd5d
LMI
17862 * thingatpt.el (thing-at-point-short-url-regexp): Require that
17863 short URLs have at least one dot in them (bug #7614).
17864
bb617717
LMI
17865 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
17866 nil, because using a pty is apparently too slow (bug #895).
17867
2f31f37a
LMI
178682011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
17869
17870 * mail/sendmail.el (sendmail-query-once): New function.
17871 (sendmail-query-once-function): New variable.
17872
3076b24e
GM
178732011-06-29 Glenn Morris <rgm@gnu.org>
17874
faf2a174
GM
17875 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
17876
3076b24e
GM
17877 * ses.el (top-level): Require cl when compiling.
17878 (ses-set-localvars): Fix error statement.
17879 Call it at compile time to silence a storm of warnings.
17880
5386012d
MR
178812011-06-29 Martin Rudalics <rudalics@gmx.at>
17882
17883 * window.el (normalize-live-buffer): Rename to
17884 window-normalize-buffer.
17885 (normalize-live-frame): Rename to window-normalize-frame.
17886 (normalize-any-window): Rename to window-normalize-any-window.
17887 (normalize-live-window): Rename to window-normalize-live-window.
17888 (make-window-atom): Rename to window-make-atom.
17889 (window-resize-reset): Rename to window--resize-reset.
17890 (window-resize-reset-1): Rename to window--resize-reset-1.
17891 (resize-mini-window): Rename to window--resize-mini-window.
17892 (resize-subwindows-skip-p): Rename to
17893 window--resize-subwindows-skip-p.
17894 (resize-subwindows-normal): Rename to
17895 window--resize-subwindows-normal.
17896 (resize-subwindows): Rename to window--resize-subwindows.
17897 (resize-other-windows): Rename to window--resize-siblings.
17898 (resize-this-window): Rename to window--resize-this-window.
17899 (resize-root-window): Rename to window--resize-root-window.
17900 (resize-root-window-vertically): Rename to
17901 window--resize-root-window-vertically.
17902 (normalize-buffer-to-display): Rename to
17903 window-normalize-buffer-to-display.
17904 (normalize-buffer-to-switch-to): Rename to
17905 window-normalize-buffer-to-switch-to.
17906 Correspondingly update all callers of the functions listed
17907 above.
17908 (display-buffer-alist, display-buffer-normalize-arguments)
17909 (display-buffer-normalize-options, display-buffer)
17910 (display-buffer-alist-set): Use "function" instead of
17911 "fun-with-args".
17912
1176868d
CY
179132011-06-28 Chong Yidong <cyd@stupidchicken.com>
17914
17915 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
17916 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
17917 debbugs.gnu.org. Mention acknowledgment email.
17918
20a7a65f
LMI
179192011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
17920
17921 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
17922 buffer multibyteness, since it shouldn't matter.
17923
5f45cca5
MR
179242011-06-28 Martin Rudalics <rudalics@gmx.at>
17925
17926 * window.el (display-buffer-in-side-window): Handle dedicated
17927 windows as in display-buffer-reuse-window.
17928 (display-buffer-normalize-alist): Use value of override
17929 specifier.
17930 (display-buffer-normalize-specifiers): Use value of
17931 other-window-means-other-frame specifier.
17932 (display-buffer-alist): Rewrite some texts in widgets.
17933 (display-buffer): Spread arguments when calling function
17934 specified by fun-with-args.
17935
ad85fe1f
DD
179362011-06-28 Deniz Dogan <deniz@dogan.se>
17937
1fa280a3
LM
17938 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
17939 Unnest `let'.
da68c4c8 17940
ad85fe1f
DD
17941 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
17942 selectors (Bug#5732).
ec49bd31 17943 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 17944
a08cc025
JA
179452011-06-27 Jari Aalto <jari.aalto@cante.net>
17946
17947 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
17948 (eshell-ls-date-format): New defcustom.
17949 (eshell-ls-file): Use it.
17950
e2b551c5
SM
179512011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
17952
17953 * help-fns.el (describe-variable): Fix message for terminal-local vars.
17954
8982b231
KY
179552011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
17956
17957 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
17958 (ange-ftp-make-tmp-name): New arg.
17959 (ange-ftp-file-local-copy): Use it.
17960
36c9fa27
J
179612011-06-27 Jambunathan K <kjambunathan@gmail.com>
17962
17963 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
17964 no-conversion (Bug#8870).
17965
d68443dc
MR
179662011-06-27 Martin Rudalics <rudalics@gmx.at>
17967
17968 * window.el (window-right, window-left, window-child)
17969 (window-child-count, window-last-child)
17970 (window-iso-combination-p, walk-window-tree-1)
17971 (window-atom-check-1, window-tree-1, delete-window)
17972 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
17973 new naming conventions - window-vchild, window-hchild,
17974 window-next and window-prev are now called window-top-child,
17975 window-left-child, window-next-sibling and window-prev-sibling
17976 respectively.
d615d6d2
MR
17977 (resize-window-reset): Rename to window-resize-reset.
17978 (resize-window-reset-1): Rename to window-resize-reset-1.
17979 (resize-window): Rename to window-resize.
17980 (window-min-height, window-min-width)
17981 (resize-mini-window, resize-this-window, resize-root-window)
17982 (resize-root-window-vertically, adjust-window-trailing-edge)
17983 (enlarge-window, shrink-window, maximize-window)
17984 (minimize-window, delete-window, quit-restore-window)
17985 (split-window, balance-windows, balance-windows-area-adjust)
17986 (balance-windows-area, window-state-put-2)
17987 (display-buffer-even-window-sizes, display-buffer-set-height)
17988 (display-buffer-set-width, set-window-text-height)
17989 (fit-window-to-buffer): Rename all "resize-window" prefixed
17990 calls to use the "window-resize" prefix convention.
17991 (display-buffer-alist): Fix symbol for label specifier.
17992 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
17993 corresponding specifier.
17994 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 17995
b6458526
VB
179962011-06-27 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
17997
17998 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
17999 convention.
18000 (ses-call-printer): Does not pass an empty string to formatter when the
18001 cell is empty to keep from barking printer Calc math-format-value.
18002
d31fd9ac
RS
180032011-06-27 Richard Stallman <rms@gnu.org>
18004
43d5bf84
RS
18005 * battery.el (battery-mode-line-limit): New variable.
18006 (battery-update): Handle it.
18007
d31fd9ac
RS
18008 * mail/rmailmm.el (rmail-mime-process-multipart):
18009 Handle truncated messages.
18010
819a6054
GM
180112011-06-27 Glenn Morris <rgm@gnu.org>
18012
18013 * progmodes/flymake.el (flymake-err-line-patterns):
18014 Allow for column numbers in the ant/javac pattern. (Bug#8866)
18015
cedc73f2
VB
180162011-06-27 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
18017
819a6054 18018 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
18019 (ses--clean-!, ses--clean-_): New functions.
18020 (ses-range): Add configurability of readout order, and conversion
18021 to Calc vector.
18022
5e5d49b6
VB
18023 * ses.el (ses-repair-cell-reference-all): New function.
18024 (ses-cell-symbol): Set macro as safe, so that it can be used in
18025 formulas.
18026
56e6cc31 18027 * ses.el: Update cycle detection algorithm.
90ca8b49 18028 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 18029 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
18030 (ses-set-localvars): New function.
18031 (ses-make-cell): Add property-list as a cell element.
18032 (ses-cell-property-get-fun, ses-cell-property-get)
18033 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
18034 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
18035 New functions.
90ca8b49
VB
18036 (ses-cell-property-set, ses-cell-property-pop)
18037 (ses-cell-property-get-handle): New macro.
18038 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
18039 New aliases, used for code readability.
18040 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
18041 cycle detection.
18042 (ses-self-reference-early-detection): New defcustom.
fac916bf 18043 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
18044 (ses-mode): Use ses-set-localvars.
18045 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
18046 before lauching the update processing.
18047 (ses-initialize-Dijkstra-attempt): New function.
18048 (ses-recalculate-cell): Update for cycle detection based on
18049 Dijkstra algorithm.
18050
2bb63e81
VB
18051 * ses.el: Fix commenting and indenting convention.
18052
c9d29fb8
SM
180532011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
18054
18055 * bs.el (bs-cycle-next): Complete last change.
18056
d8e4b68b
JB
180572011-06-27 Drew Adams <drew.adams@oracle.com>
18058
18059 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
18060
40098786
LMI
180612011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
18062
c9d29fb8
SM
18063 * net/network-stream.el (network-stream-open-starttls):
18064 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
18065 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
18066
40098786
LMI
18067 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
18068 to binary to possibly avoid line encoding issues on Windows (among
18069 other things).
18070
468d09d4
LMI
180712011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
18072
18073 * net/network-stream.el (open-network-stream): Return an :error
18074 saying what the problem was, if possible.
18075
18076 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
18077 server.
18078
18079 * net/network-stream.el (network-stream-open-starttls): If we
18080 wanted to use STARTTLS, and the server offered it, but we weren't
18081 able to because we had no STARTTLS support, then close the connection.
18082 (open-network-stream): Return an :error element, if present.
18083
16f07dd7
CY
180842011-06-26 Chong Yidong <cyd@stupidchicken.com>
18085
88821ca0
CY
18086 * hl-line.el (hl-line-sticky-flag): Doc fix.
18087 (global-hl-line-sticky-flag): New option (Bug#8323).
18088 (global-hl-line-highlight): Obey it.
18089
16f07dd7
CY
18090 * vc/vc.el (vc-revert-show-diff): Default to t.
18091
6b5ccddf
KM
180922011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
18093
c9d29fb8
SM
18094 * allout-widgets.el (allout-widgets-post-command-business):
18095 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
18096 undecorated when an isearch is continued past, and isearch
18097 automatically collapses them. This leads to "widget leaks", where
18098 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
18099 hidden widgets can slow down cursor travel, substantially.
18100 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
18101 so we're doing without this nicety.
18102
18103 (allout-widgets-tally-string): Don't try to do a hash-table-count
18104 of allout-widgets-tally when it's nil. This eliminates spurious "Error
18105 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
18106 *Messages* when allout-widgets-maintain-tally is t.
18107
355f2e07
MR
181082011-06-26 Martin Rudalics <rudalics@gmx.at>
18109
18110 * window.el (display-buffer-normalize-argument): Rename to
18111 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
18112 LABEL argument. Respect special-display-function when popping up
18113 a new frame. Fix code searching for a window showing the buffer
18114 on another frame.
c9d29fb8
SM
18115 (display-buffer-normalize-specifiers):
18116 Call display-buffer-normalize-arguments.
355f2e07
MR
18117 (display-buffer-in-window): Don't undedicate the window if its
18118 buffer remains the same.
18119 Reported by Drew Adams <drew.adams@oracle.com>.
18120 (display-buffer-alist): Add choice for same-window macro
18121 specfier.
18122 (display-buffer): Mention special meaning of LABEL argument in
18123 doc-string. Fix quoting. Don't pop up a new frame even as
18124 fallback.
18125
7ca8fc42
JB
181262011-06-26 Juanma Barranquero <lekktu@gmail.com>
18127
18128 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
18129 avoid deleting the current window in some cases (bug#8911).
18130
bc312254
AS
181312011-06-26 Andreas Schwab <schwab@linux-m68k.org>
18132
18133 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
18134 (Bug#8934)
18135
2db18f3f
LMI
181362011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
18137
c9d29fb8
SM
18138 * net/network-stream.el (network-stream-open-starttls):
18139 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
18140 (network-stream-open-tls): Ditto.
18141
6302e0d3
LL
181422011-06-26 Leo Liu <sdl.web@gmail.com>
18143
18144 * register.el (registerv): New struct.
18145 (registerv-make): New function.
c9d29fb8
SM
18146 (jump-to-register, describe-register-1, insert-register):
18147 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
18148 struct. (Bug#8415)
18149
5fdd4046
CY
181502011-06-26 Chong Yidong <cyd@stupidchicken.com>
18151
2afef60a
CY
18152 * vc/vc.el (vc-revert-show-diff): New defcustom.
18153 (vc-diff-internal): New arg specifying diff buffer.
18154 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
18155 reuse an existing *vc-diff* buffer (Bug#8927).
18156
5fdd4046
CY
18157 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
18158
e93db24a
GM
181592011-06-26 Glenn Morris <rgm@gnu.org>
18160
18161 * progmodes/f90.el (f90-critical-indent): New option.
18162 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
18163 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
18164 (f90-mode): Doc fix.
18165 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
18166 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
18167 (f90-beginning-of-block, f90-next-block, f90-indent-region)
18168 (f90-match-end): Handle block, critical.
18169
eefff499
GM
181702011-06-25 Glenn Morris <rgm@gnu.org>
18171
f6ba4cc9
GM
18172 * calendar/diary-lib.el (diary-included-files): Doc fix.
18173 (diary-include-files): New function, extracted from
18174 diary-include-other-diary-files and diary-mark-included-diary-files.
18175 (diary-include-other-diary-files, diary-mark-included-diary-files):
18176 Just call diary-include-files.
18177 (diary-mark-entries): Reset diary-included-files on first call.
18178
16712304
GM
18179 * calendar/diary-lib.el (diary-mark-entries)
18180 (diary-mark-included-diary-files):
18181 Visit included diary-files in temp buffers.
18182
5d8e0d43
GM
18183 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
18184 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
18185 (f90-start-block-re, f90-imenu-generic-expression)
18186 (f90-looking-at-program-block-start, f90-no-block-limit):
18187 Add support for submodules.
18188
ccf7a5d5
GM
18189 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
18190 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 18191
11fdef7d 181922011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
18193
18194 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
18195 buffer-file-type before setting its value, to avoid disastrous
eefff499 18196 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 18197
74f53697
JB
181982011-06-25 Juanma Barranquero <lekktu@gmail.com>
18199
18200 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
18201
18202 * ses.el (ses-unload-function):
18203 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
18204
18205 * proced.el (proced-unload-function):
18206 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
18207
18a4ce5e
AR
182082011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
18209
18210 * server.el (server-create-window-system-frame): Add parameters arg.
18211 (server-process-filter): Doc fix. Handle frame-parameters.
18212
519d22cc
JB
182132011-06-25 Juanma Barranquero <lekktu@gmail.com>
18214
18215 Fix bug#8730, bug#8781.
18216
18217 * loadhist.el (unload--set-major-mode): New function.
18218 (unload-feature): Use it.
18219
18220 * progmodes/python.el (python-after-info-look): Add autoload cookie.
18221 (python-unload-function): New function.
18222
c206f5b0
SM
182232011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
18224
18225 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
18226
f9ad64f3
GS
182272011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
18228
18229 * net/browse-url.el (browse-url-firefox-program): Add icecat to
18230 the candidates list.
18231
7d0da90e
JB
182322011-06-24 Juanma Barranquero <lekktu@gmail.com>
18233
18234 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
18235
14b4e83d
RS
182362011-06-23 Richard Stallman <rms@gnu.org>
18237
18238 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
18239 (rmail-variables): Set next-error-move-function.
18240 (rmail-what-message): Take argument POS.
18241 (rmail-next-error-move): New function.
18242
273d2baf
SM
182432011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
18244
18245 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
18246 messages for adjacent non-terminals.
18247
56c2cc9a
RS
182482011-06-23 Richard Stallman <rms@gnu.org>
18249
18250 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 18251 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
18252 (rmail-start-mail): Don't specify use of rmail-mail-return;
18253 that's done by mail-bury now.
18254 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 18255
d59eb518
MA
182562011-06-23 Michael Albinus <michael.albinus@gmx.de>
18257
18258 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
18259 SIZE is a number.
18260
02cfc6d6
MR
182612011-06-23 Martin Rudalics <rudalics@gmx.at>
18262
18263 * window.el (get-lru-window, get-mru-window)
18264 (get-largest-window): Never return a minibuffer window.
18265 (display-buffer-pop-up-window): Fix a bug that could lead to
18266 reusing the minibuffer window.
18267 (display-buffer): Pass original specifier argument to
18268 display-buffer-function instead of the normalized one.
18269 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
18270
4e323265
LL
182712011-06-22 Leo Liu <sdl.web@gmail.com>
18272
18273 * minibuffer.el (completing-read-function)
1f9f395d 18274 (completing-read-default): Move from minibuf.c.
4e323265 18275
7a70468f
RS
182762011-06-22 Richard Stallman <rms@gnu.org>
18277
50718fc2
RS
18278 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
18279 to Rmail even if not started by a special Rmail command.
18280
7a70468f
RS
18281 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
18282 Copy the buffer currently showing just one message.
18283
297dde5a
RW
182842011-06-22 Roland Winkler <winkler@gnu.org>
18285
18286 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
18287 (bibtex-clean-entry): First delete the old key so that a
18288 customized algorithm for generating the new key does not get
18289 confused by the old key.
18290 (bibtex-url): Obey regexp of first step.
18291 (bibtex-search-entries): Do not use add-to-list with local
18292 list-var.
18293
97bb1093
LMI
182942011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
18295
18296 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
18297 stored a user name, then query for the password first, instead of
18298 waiting for SMTP to give an error message and the trying again.
18299
1c0f1a19
JD
183002011-06-22 Lawrence Mitchell <wence@gmx.li>
18301
18302 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
18303 BUFFER in call-process.
18304
396f7c9d
LMI
183052011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
18306
18307 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
18308 QUIT twice.
ddb7ffee
LMI
18309 (smtpmail-try-auth-methods): Require user name and password from
18310 auth-source.
396f7c9d 18311
8998d1b3
MR
183122011-06-22 Martin Rudalics <rudalics@gmx.at>
18313
18314 * window.el (display-buffer-default-specifiers)
18315 (display-buffer-alist): Remove entries for pop-up-frame-alist.
18316 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 18317 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
18318
18319 * frame.el (pop-up-frame-alist, pop-up-frame-function)
18320 (special-display-frame-alist, special-display-popup-frame):
18321 Remove duplicate declarations. These are now in window.el.
18322
4ea31e07
LMI
183232011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
18324
c9d29fb8
SM
18325 * mail/smtpmail.el (smtpmail-via-smtp):
18326 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
18327 server supports it. SMTP servers that support STARTTLS commonly
18328 require it.
18329
18330 * net/network-stream.el (network-stream-open-starttls): Support
18331 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 18332 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 18333
95f41d9a
LMI
18334 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
18335 upgrades with `open-network-stream', and rely solely on
18336 auth-source for all credentials. Big changes throughout the file,
18337 but in particular:
c9d29fb8
SM
18338 (smtpmail-auth-credentials): Remove.
18339 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
18340 (smtpmail-via-smtp): Check for servers saying they want AUTH after
18341 MAIL FROM, too.
95f41d9a 18342
c9d29fb8
SM
18343 * net/network-stream.el (network-stream-open-starttls):
18344 Provide support for client certificates both for external and built-in
4ea31e07
LMI
18345 STARTTLS.
18346 (auth-source): Require.
18347 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
18348 (network-stream-certificate): Change cert-cert to cert and
18349 cert-key to key.
4ea31e07 18350
065ec2c7
MA
183512011-06-21 Michael Albinus <michael.albinus@gmx.de>
18352
18353 * net/tramp-cache.el (top): Don't load the persistency file when
18354 "emacs -Q" has been called.
18355
cd93b359
DR
183562011-06-21 Tim Harper <timcharper@gmail.com>
18357
d8e4b68b
JB
18358 * term/ns-win.el (ns-initialize-window-system):
18359 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
18360 resource to NO as it is not yet supported by the NS port.
18361
ae9c0411
JB
183622011-06-21 Juanma Barranquero <lekktu@gmail.com>
18363
18364 * misc.el (list-dynamic-libraries--refresh): Compute header here...
18365 (list-dynamic-libraries): ...not here.
18366
7f3f739f
LL
183672011-06-21 Leo Liu <sdl.web@gmail.com>
18368
18369 * subr.el (sha1): Implement sha1 using secure-hash.
18370
327c8fb1
MR
183712011-06-21 Martin Rudalics <rudalics@gmx.at>
18372
18373 * window.el (display-buffer-alist): In default value do not
18374 enforce searching a window on any but the selected frame.
18375 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
18376 (display-buffer-select-window): Remove function.
18377 (display-buffer-in-window): When a window on another frame gets
18378 reused, do not select it any more but just raise its frame if
18379 necessary (Bug#8851) and (Bug#8856).
18380 (display-buffer-normalize-options): Handle pop-up-frames related
18381 options more faithfully.
18382 (pop-to-buffer): Don't rely on `display-buffer' selecting the
18383 window if it is on another frame.
c9d29fb8
SM
18384 (display-buffer-alist, display-buffer-default-specifiers):
18385 Don't make new frame unsplittable by default.
9e9de014
MR
18386 (display-buffer-normalize-argument): Fix doc-string typo and use
18387 'same-frame-other-window instead of 'other-window when associating
18388 with display-buffer-macro-specifiers.
327c8fb1 18389
7cf3f556
VB
183902011-06-21 Vincent BelaĂ¯che <vincent.b.1@hotmail.fr>
18391
18392 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
18393 New functions.
18394 (5x5-mode-map, 5x5-mode-menu): Bind them.
18395 (5x5-draw-grid): Tweak the solver's rendering.
18396
60a406cf
SM
183972011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
18398
18399 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
18400 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
18401
d8e4b68b 184022011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
18403
18404 * menu-bar.el: Use function variable instead of switch-to-buffer.
18405 (menu-bar-select-buffer-function): New variable.
60a406cf 18406 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 18407
478d6f95
SM
184082011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
18409
18410 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
18411 variable's status.
18412
ca530739
JD
184132011-06-20 Jan Djärv <jan.h.d@swipnet.se>
18414
18415 * x-dnd.el (x-dnd-version-from-flags)
18416 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
18417 and long as number (Bug#8899).
18418 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
18419
bcd70d97
SM
184202011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
18421
60a406cf 18422 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
18423 (completion-try-completion, completion-all-completions): Compute the
18424 metadata argument if it's missing; make it optional (bug#8795).
18425
60a406cf 18426 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
18427 (widget-complete): Use new :completion-function property.
18428 (widget-completions-at-point): New function.
18429 (default): Use :completion-function instead of :complete.
60a406cf
SM
18430 (widget-default-completions): Rename from widget-default-complete;
18431 Rewrite.
bcd70d97
SM
18432 (widget-string-complete, widget-file-complete, widget-color-complete):
18433 Remove functions.
18434 (file, symbol, function, variable, coding-system, color):
18435 * international/mule-cmds.el (default-input-method, charset)
18436 (language-info-custom-alist):
18437 * cus-edit.el (face): Use new property :completions.
18438
18439 * progmodes/pascal.el (pascal-completions-at-point): New function.
18440 (pascal-mode): Use it.
18441 (pascal-mode-map): Use completion-at-point.
18442 (pascal-toggle-completions): Make obsolete.
18443 (pascal-complete-word, pascal-show-completions):
18444 * progmodes/octave-mod.el (octave-complete-symbol):
18445 Redefine as obsolete alias.
18446 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
18447 Signal absence of completion info for old Octave,
18448 (inferior-octave-complete): Redefine as obsolete alias.
18449 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
18450 (meta-completions-at-point): Rename from meta-complete-symbol and
18451 adapt it for use on completion-at-point-functions.
18452 (meta-common-mode): Use it.
18453 (meta-looking-at-backward, meta-match-buffer): Remove.
18454 (meta-complete-symbol): Redefine as obsolete alias.
18455 (meta-common-mode-map): Use completion-at-point.
18456 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
18457 (makefile-mode-map): Use completion-at-point.
18458 (makefile-completions-at-point): Rename from makefile-complete and
18459 adapt it for use on completion-at-point-functions.
18460 (makefile-mode): Use it.
18461 (makefile-complete): Redefine as obsolete alias.
18462
aebf69c8
DD
184632011-06-20 Deniz Dogan <deniz@dogan.se>
18464
18465 * net/rcirc.el: Delete trailing whitespaces once and for all.
18466
bfbbb27d
DC
184672011-06-20 Daniel Colascione <dan.colascione@gmail.com>
18468
18469 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
18470
d264a46b
CY
184712011-06-19 Chong Yidong <cyd@stupidchicken.com>
18472
4ca009e5
CY
18473 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
18474
d264a46b
CY
18475 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
18476
fbf5b3ce
MR
184772011-06-19 Martin Rudalics <rudalics@gmx.at>
18478
18479 * window.el (display-buffer-other-window-means-other-frame):
18480 Call display-buffer-normalize-alist.
18481 (display-buffer-normalize-specifiers-1): Rename to
18482 display-buffer-normalize-argument. New argument other-frame.
18483 Rewrite.
18484 (display-buffer-normalize-specifiers-2): Rename to
18485 display-buffer-normalize-options.
18486 (display-buffer-normalize-alist-1): New function.
18487 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
18488 display-buffer-normalize-alist.
18489 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
18490 (display-buffer-normalize-options-inhibit): New variable.
18491 (display-buffer-normalize-specifiers): Rewrite calling
18492 display-buffer-normalize-alist,
18493 display-buffer-normalize-argument, and
18494 display-buffer-normalize-options. Don't call the latter if
18495 display-buffer-normalize-options-inhibit is non-nil.
18496 (frame-auto-delete): New option.
18497 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
18498 (window-list-no-nils, window-state-ignored-parameters)
18499 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
18500 (window-state-put-1, window-state-put-2, window-state-put):
18501 New functions.
9a028c23
MR
18502 (display-buffer-normalize-options): Move special-display-p group
18503 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 18504
6d10d800
CY
185052011-06-18 Chong Yidong <cyd@stupidchicken.com>
18506
6420d28b
CY
18507 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
18508 groups (Bug#8776).
18509 (rx-submatch-n): New function.
18510 (rx): Document it.
18511
ddb8b596
CY
18512 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
18513 (Bug#8768).
18514
18515 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
18516
77080289
CY
18517 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
18518
61dfb316
CY
18519 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
18520 anytime existing face settings are present (Bug#8889).
18521
6d10d800
CY
18522 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
18523 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
18524 Remove unused argument.
18525
be3fb2b8
MR
185262011-06-18 Martin Rudalics <rudalics@gmx.at>
18527
bcd70d97
SM
18528 * window.el (display-buffer-default-specifiers):
18529 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
18530 pop-up-window-min-width, and another reuse-window specifier
18531 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
18532 (display-buffer-normalize-specifiers-2):
18533 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
18534 pop-up-windows is unset. Add a reuse-window specifier for the
18535 case popping up a new window fails.
18536 (special-display-popup-frame): Remove double quoting.
28dec25a 18537 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 18538
1c6d8c76
SM
185392011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
18540
18541 * shell.el (shell-completion-vars): Set pcomplete-termination-string
18542 according to comint-completion-addsuffix.
18543
18544 * pcomplete.el: Convert to lexical binding and fix bug#8819.
18545 (pcomplete-suffix-list): Mark as obsolete.
18546 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
18547 pcomplete-seen in the closure.
18548 (pcomplete-comint-setup): Setup completion-at-point as well.
18549 (pcomplete--entries): New function.
18550 (pcomplete--env-regexp): New var.
18551 (pcomplete-entries): Rewrite to work with partial-completion and
18552 without relying on pcomplete-suffix-list.
18553 (pcomplete-pare-list): Remove, unused.
18554
25aef8b8
MR
185552011-06-17 Martin Rudalics <rudalics@gmx.at>
18556
18557 * window.el (display-buffer-alist): Set pop-up-window-min-height
18558 and pop-up-window-min-width in default value. Reported by
18559 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
18560 other-window-means-other-frame.
18561 (display-buffer-macro-specifiers): Comment out entry for
18562 other-window specifier.
18563 (display-buffer-other-window-means-other-frame): New function.
18564 (display-buffer-normalize-specifiers-1): New arguments
18565 buffer-name and label. Treat other-window case specially.
18566 (display-buffer-normalize-specifiers-2): Treat other-window case
18567 specially.
18568 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
18569 (display-buffer-normalize-specifiers):
18570 Call display-buffer-normalize-specifiers-3.
25aef8b8 18571
dbad4f69
MR
185722011-06-17 Martin Rudalics <rudalics@gmx.at>
18573
18574 * window.el (same-window-p): Fix two typos introduced when
18575 adding with-no-warnings.
d1067961
MR
18576 (display-buffer-normalize-specifiers-1): Don't check
18577 pop-up-frames for 'unset initialization.
18578 (display-buffer-normalize-specifiers-2): Major rewrite using
18579 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
18580 (pop-up-frames, display-buffer-reuse-frames)
18581 (display-buffer-mark-dedicated): Don't initialize to 'unset.
18582 Suggested by David Engster <deng@randomsample.de>.
18583 (even-window-heights): Initialize to 'unset.
18584 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
18585 (display-buffer-macro-specifiers): Don't pop up a new frame in the
18586 other window case.
dbad4f69 18587
9b9c9e3a
MR
185882011-06-16 Martin Rudalics <rudalics@gmx.at>
18589
bcd70d97
SM
18590 * window.el (display-buffer-normalize-specifiers-1):
18591 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 18592 second argument of display-buffer (Bug#8865).
981d5c09
MR
18593 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
18594 (switch-to-buffer-other-window-same-frame)
18595 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
18596 Adams (Bug#8875).
9c2755e9
MR
18597 (display-buffer): Don't check noninteractive when calling
18598 display-buffer-pop-up-frame.
18599 (display-buffer-pop-up-frame): Never pop up a frame in
18600 noninteractive mode (Bug#8857).
67222e1d
MR
18601 (enlarge-window, shrink-window): Don't report an error when the
18602 window can't be resized as requested (Bug#8862).
9b9c9e3a 18603
2b75be67
SM
186042011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
18605
9ffdd3ba
SM
18606 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
18607
cb581a67
SM
18608 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
18609
2b75be67
SM
18610 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
18611
8c0e3589
AM
186122011-06-15 Alan Mackenzie <acm@muc.de>
18613
cb581a67
SM
18614 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
18615 for declarators, disable knr checking to speed up for normal files.
18616 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 18617
b96e6cde
LMI
186182011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
18619
4bba86e6
LMI
18620 * net/network-stream.el (open-network-stream): Add the keyword
18621 :always-query-capabilities for the case where you want to force a
18622 `plain' network connection, but the protocol still requires the
18623 capabilitiy command (i.e., SMTP and EHLO).
18624
2b75be67 18625 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
18626 consistency with other `-live-p' functions.
18627
efdcdbf8
SM
186282011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
18629
18630 * window.el (same-window-buffer-names, same-window-regexps)
18631 (special-display-frame-alist, special-display-popup-frame)
18632 (special-display-function, special-display-buffer-names)
18633 (special-display-regexps, pop-up-frame-alist)
18634 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
18635 (pop-up-windows, split-window-preferred-function)
18636 (split-height-threshold, split-width-threshold, even-window-heights)
18637 (display-buffer-mark-dedicated): Don't encourage the use of
18638 display-buffer-alist from Elisp code.
18639
c5cde042
DN
186402011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
18641
18642 * progmodes/python.el (python-mode): Derive from prog-mode.
18643 * progmodes/ps-mode.el (ps-mode):
18644 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 18645 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
18646 * progmodes/ld-script.el (ld-script-mode): Likewise.
18647
baa1c9ab
MR
186482011-06-15 Martin Rudalics <rudalics@gmx.at>
18649
18650 * window.el (display-buffer-alist): Trim default value to avoid
18651 popping up a new frame (Bug#8857) or reusing an arbitrary window
18652 on another frame.
18653 (display-buffer): Do not fall back on popping up a new frame in
18654 batch mode (Bug#8857).
18655
c5dd5a51
CY
186562011-06-14 Chong Yidong <cyd@stupidchicken.com>
18657
18658 * cus-theme.el (describe-theme-1): Use custom-theme-p.
18659 (custom-theme-summary): New function.
18660 (customize-themes): Use it.
18661
d647b7c4
GM
186622011-06-13 Glenn Morris <rgm@gnu.org>
18663
18664 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
18665
9481c002
MR
186662011-06-13 Martin Rudalics <rudalics@gmx.at>
18667
357f93d2
MR
18668 * help.el (help-window): Remove variable.
18669 (help-window-point-marker, temp-buffer-max-height)
18670 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
18671 (help-print-return-message): Don't set help-window.
18672 (resize-temp-buffer-window): Rewrite cod eand doc-string.
18673 (help-window-setup-finish): Remove.
18674 (help-window-display-message, help-window-setup)
18675 (with-help-window): Major rewrite based on new
18676 display-buffer-window variable.
18677
18678 * help-mode.el (help-mode-finish): Remove help-window related
18679 code.
18680
18681 * view.el (view-exits-all-viewing-windows): Remove reference to
18682 view-return-to-alist in doc-string.
18683 (view-return-to-alist): Make obsolete.
18684 (view-buffer): Call pop-to-buffer-same-window and remove
18685 undo-window code.
18686 (view-buffer-other-window): Call pop-to-buffer-other-window and
18687 simplify code. Ignore second argument.
18688 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
18689 simplify code. Ignore second argument.
18690 (view-return-to-alist-update): Make obsolete.
18691 (view-mode-enter): Rename second argument to QUIT-RESTORE.
18692 Rewrite using quit-restore window parameters.
2b75be67
SM
18693 (view-mode-exit): Rename second argument to EXIT-ONLY.
18694 Rewrite using quit-restore-window.
357f93d2
MR
18695 (View-exit, View-exit-and-edit, View-leave, View-quit)
18696 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
18697 appropriate arguments.
18698 (view-end-message): Use quit-restore window parameter.
18699
9481c002
MR
18700 * window.el (display-buffer-function): Rewrite doc-string.
18701 (display-buffer-window, display-buffer-alist): New variables.
18702 (display-buffer-split-specifiers)
18703 (display-buffer-side-specifiers)
18704 (display-buffer-macro-specifiers): New constants.
18705 (display-buffer-even-window-sizes, display-buffer-set-height)
18706 (display-buffer-set-width, display-buffer-select-window)
18707 (display-buffer-in-window, display-buffer-reuse-window)
18708 (display-buffer-split-window-1, display-buffer-split-window)
18709 (display-buffer-split-atom-window, display-buffer-pop-up-window)
18710 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
18711 (display-buffer-in-side-window, normalize-buffer-to-display)
18712 (display-buffer-normalize-specifiers-1)
18713 (display-buffer-normalize-specifiers-2)
2b75be67
SM
18714 (display-buffer-normalize-specifiers, display-buffer-frame):
18715 New functions.
9481c002
MR
18716 (display-buffer): Major rewrite.
18717 (display-buffer-other-window, display-buffer-other-frame)
18718 (pop-to-buffer, switch-to-buffer-other-window)
18719 (switch-to-buffer-other-frame): Rewrite.
18720 (display-buffer-same-window, display-buffer-same-frame)
18721 (display-buffer-same-frame-other-window)
18722 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
18723 (pop-to-buffer-other-window)
18724 (pop-to-buffer-same-frame-other-window)
18725 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
18726 (switch-to-buffer-other-window-same-frame): New functions.
18727 (same-window-p, special-display-p): Rewrite disabling warnings.
18728 Make obsolete.
18729 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
18730 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
18731 Make obsolete
18732 (same-window-buffer-names, same-window-regexps)
18733 (special-display-frame-alist, special-display-popup-frame)
18734 (special-display-function, special-display-buffer-names)
18735 (special-display-regexps, pop-up-frame-alist)
18736 (pop-up-frame-function, split-window-preferred-function)
18737 (split-height-threshold, split-width-threshold)
18738 (even-window-heights): Make obsolete.
18739
9db51aca
GM
187402011-06-12 Glenn Morris <rgm@gnu.org>
18741
18742 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 18743 Misc simplifications.
9db51aca 18744
39cffb44
MR
187452011-06-12 Martin Rudalics <rudalics@gmx.at>
18746
18747 * window.el (window-safely-shrinkable-p): Restore function which
18748 was inadvertently removed in change from 2011-06-11. Declare as
18749 obsolete.
18750
2b75be67
SM
18751 * calendar/calendar.el (calendar-generate-window):
18752 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
18753 window-safely-shrinkable-p.
18754
a8955be7
GM
187552011-06-12 Glenn Morris <rgm@gnu.org>
18756
18757 * progmodes/fortran.el (fortran-mode-syntax-table):
18758 * progmodes/f90.el (f90-mode-syntax-table):
18759 Set % to punctuation. (Bug#8820)
18760 (f90-find-tag-default): Remove, no longer needed.
18761
f0d4059d
DC
187622011-06-12 Daniel Colascione <dan.colascione@gmail.com>
18763
18764 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
18765
1100a63c
CY
187662011-06-11 Chong Yidong <cyd@stupidchicken.com>
18767
18768 * image.el (image-animated-p): Return animation delay in seconds.
18769 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
18770 (image-animate-timeout): Remove DELAY argument. Don't assume
18771 every subimage has the same delay; get it from image-animated-p.
18772 (image-animate): Caller changed.
18773
def722bf
MA
187742011-06-11 Michael Albinus <michael.albinus@gmx.de>
18775
18776 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
18777 to ignored backtrace functions.
18778
0a2bb1a9
GM
187792011-06-11 Glenn Morris <rgm@gnu.org>
18780
18781 * calendar/appt.el (appt-disp-window-function): Doc fix.
18782 (appt-check): Handle overlapping appointments. (Bug#8337)
18783
6198ccd0
MR
187842011-06-11 Martin Rudalics <rudalics@gmx.at>
18785
18786 * window.el (window-tree-1, window-tree): New functions, moving
18787 the latter to window.el.
18788 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
18789 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
18790 (bw-refresh-edges): Remove.
18791 (balance-windows-1, balance-windows-2): New functions.
18792 (balance-windows): Rewrite in terms of window tree functions,
18793 balance-windows-1 and balance-windows-2.
18794 (bw-adjust-window): Remove.
18795 (balance-windows-area-adjust): New function with functionality of
18796 bw-adjust-window but using resize-window.
2b75be67
SM
18797 (set-window-text-height): Rewrite doc-string.
18798 Use normalize-live-window and resize-window.
18799 (enlarge-window-horizontally, shrink-window-horizontally):
18800 Rename argument to DELTA.
6198ccd0
MR
18801 (window-buffer-height): New function.
18802 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
18803 Rewrite using new window resize routines.
2b75be67
SM
18804 (kill-buffer-and-window, mouse-autoselect-window-select):
18805 Use ignore-errors instead of condition-case.
6198ccd0
MR
18806 (quit-window): Call delete-frame instead of delete-windows-on
18807 for the only buffer on frame.
18808
9397e56f
MR
188092011-06-10 Martin Rudalics <rudalics@gmx.at>
18810
18811 * loadup.el (top-level): Load window before files for the sake
18812 of replace-buffer-in-windows.
18813
18814 * files.el (read-buffer-to-switch)
18815 (switch-to-buffer-other-window)
2b75be67
SM
18816 (switch-to-buffer-other-frame, display-buffer-other-frame):
18817 Move to window.el.
9397e56f
MR
18818
18819 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
18820 (previous-buffer): Move to window.el.
18821
18822 * bindings.el (unbury-buffer): Move to window.el.
18823
18824 * window.el (delete-other-windows-vertically): Move after
18825 definition of delete-other-windows.
18826 (other-window, delete-windows-on, replace-buffer-in-windows):
18827 Move here from window.c.
18828 (record-window-buffer, unrecord-window-buffer)
18829 (set-window-buffer-start-and-point, switch-to-prev-buffer)
18830 (switch-to-next-buffer): New functions.
18831 (get-next-valid-buffer, last-buffer, next-buffer): Move here
18832 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
18833 (previous-buffer): Move here from simple.el.
18834 Call switch-to-prev-buffer.
9397e56f
MR
18835 (bury-buffer): Move here from buffer.c. Switch to previous
18836 buffer when window cannot be deleted.
18837 (unbury-buffer): Move here from bindings.el.
18838 (ctl-x-map): Move binding for other-window from window.c to
18839 here.
18840 (read-buffer-to-switch, switch-to-buffer-other-window)
18841 (switch-to-buffer-other-frame): Move here from files.el.
18842 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
18843 (switch-to-buffer): Move here from buffer.c.
18844 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 18845
562dd5e9
MR
188462011-06-10 Martin Rudalics <rudalics@gmx.at>
18847
18848 * window.el (window-min-height, window-min-width): Move here
18849 from window.c. Add defcustoms and rewrite doc-strings.
18850 (resize-mini-window, resize-window): New functions.
18851 (adjust-window-trailing-edge, enlarge-window, shrink-window):
18852 Move here from window.c.
18853 (maximize-window, minimize-window): New functions.
18854 (delete-window, delete-other-windows, split-window): Move here
18855 from window.c.
18856 (window-split-min-size): New function.
18857 (split-window-keep-point): Mention split-window-above-each-other
18858 instead of split-window-vertically.
2b75be67 18859 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
18860 Rename split-window-vertically to split-window-above-each-other
18861 and provide defalias for old definition.
18862 (split-window-side-by-side, split-window-horizontally):
18863 Rename split-window-horizontally to split-window-side-by-side
18864 and provide defalias for the old definition.
562dd5e9
MR
18865 (ctl-x-map): Move bindings for delete-window,
18866 delete-other-windows and enlarge-window here from window.c.
18867 Replace bindings for split-window-vertically and
18868 split-window-horizontally by bindings for
18869 split-window-above-each-other and split-window-side-by-side.
18870
18871 * cus-start.el (all): Remove entries for window-min-height and
18872 window-min-width. Add entries for window-splits and
18873 window-nest.
18874
f0da764a
GM
188752011-06-09 Glenn Morris <rgm@gnu.org>
18876
80675c21
GM
18877 * calendar/appt.el (appt-mode-line): New function.
18878 (appt-check, appt-disp-window): Use it.
18879
f0da764a
GM
18880 * files.el (hack-one-local-variable-eval-safep):
18881 Allow minor-modes with explicit +/-1 arguments.
18882
59f623b7
TZ
188832011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
18884
18885 * term/xterm.el (xterm): Add defgroup.
18886 (xterm-extra-capabilities): Add defcustom to supply known xterm
18887 capabilities, skip querying them, or query them (default).
18888 (terminal-init-xterm): Use it.
18889 (terminal-init-xterm-modify-other-keys): New function to set up
18890 modifyOtherKeys support to simplify `terminal-init-xterm'.
18891
9aab8e0d
MR
188922011-06-09 Martin Rudalics <rudalics@gmx.at>
18893
18894 * window.el (resize-window-reset, resize-window-reset-1)
18895 (resize-subwindows-skip-p, resize-subwindows-normal)
18896 (resize-subwindows, resize-other-windows, resize-this-window)
18897 (resize-root-window, resize-root-window-vertically)
18898 (window-deletable-p, window-or-subwindow-p)
18899 (frame-root-window-p): New functions.
18900
e8b08aee
GM
189012011-06-09 Glenn Morris <rgm@gnu.org>
18902
18903 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
18904 (ange-ftp-get-files): Use it.
18905
254c37a5
AK
189062011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
18907
18908 * mail/sendmail.el (mail-recover-1, mail-recover):
18909 * files.el (recover-file, recover-session):
18910 Handle dired-listing-switches not being just a single short option.
18911
35d7dbd3
GM
189122011-06-09 Glenn Morris <rgm@gnu.org>
18913
18914 * calendar/appt.el (appt-display-message, appt-disp-window):
18915 Handle lists of appointments.
18916
387522b2
MR
189172011-06-08 Martin Rudalics <rudalics@gmx.at>
18918
2b75be67
SM
18919 * window.el (one-window-p): Move down in code.
18920 Rewrite doc-string.
18921 (window-current-scroll-bars): Rewrite doc-string.
18922 Normalize live window argument.
387522b2
MR
18923 (walk-windows, get-window-with-predicate, count-windows):
18924 Rewrite doc-string. Use window-list-1.
18925 (window-in-direction-2, window-in-direction, get-mru-window):
18926 New functions.
18927
d8e4b68b 189282011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
18929
18930 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
18931 Doc fix (Bug#8713).
18932
189332011-06-08 Chong Yidong <cyd@stupidchicken.com>
18934
18935 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
18936
189372011-06-08 Juanma Barranquero <lekktu@gmail.com>
18938
18939 * loadhist.el (unload-feature-special-hooks):
18940 Add `comint-output-filter-functions'.
18941
0de12c52
IK
189422011-06-08 Ivan Kanis <gnu@kanis.fr>
18943
18944 * calendar/appt.el (appt-check): Move some initializations into the let.
18945
f3d1777e
MR
189462011-06-08 Martin Rudalics <rudalics@gmx.at>
18947
18948 * window.el (window-height): Defalias to window-total-height.
18949 (window-width): Defalias to window-body-width.
18950
18af70d0
CY
189512011-06-07 Chong Yidong <cyd@stupidchicken.com>
18952
18953 * image-mode.el (image-toggle-animation): New command.
18954 (image-mode-map): Bind it to RET.
18955 (image-mode): Update message.
18956 (image-toggle-display-image): Avoid a spurious cache flush.
18957 (image-transform-rotation): Doc fix.
18958 (image-transform-properties): Return quickly in the normal case.
18959 (image-animate-loop): Rename from image-animate-max-time.
18960
2b75be67 18961 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
18962 (create-animated-image): Remove unnecessary function.
18963 (image-animate): Rename from image-animate-start. New arg.
2b75be67 18964 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
18965 (image-animate-timer): Use car-safe.
18966 (image-animate-timeout): Rename argument.
18967
190b47e6
MR
189682011-06-07 Martin Rudalics <rudalics@gmx.at>
18969
18970 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
18971 window.c. Rename first argument to ALL-FRAMES.
18972 Rephrase doc-strings.
18973 (get-buffer-window-list): Rewrite using window-list-1.
18974 Rephrase doc-string.
a1511caf
MR
18975 (window-safe-min-height, window-safe-min-width): New constants.
18976 (window-size-ignore, window-min-size, window-min-size-1)
18977 (window-sizable, window-sizable-p, window-size-fixed-1)
18978 (window-size-fixed-p, window-min-delta-1, window-min-delta)
18979 (window-max-delta-1, window-max-delta, window-resizable)
18980 (window-resizable-p, window-total-height, window-total-width)
18981 (window-body-width): New functions.
18982 (window-full-height-p, window-full-width-p): Rewrite using
18983 window-total-size.
18984 (window-body-height): Rewrite using window-body-size.
190b47e6 18985
85cc1f11
MR
189862011-06-06 Martin Rudalics <rudalics@gmx.at>
18987
18988 * window.el (window-right, window-left, window-child)
18989 (window-child-count, window-last-child, window-any-p)
18990 (normalize-live-buffer, normalize-live-frame)
18991 (normalize-any-window, normalize-live-window)
18992 (window-iso-combination-p, window-iso-combined-p)
18993 (window-iso-combinations)
18994 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
18995 (windows-with-parameter, window-with-parameter)
18996 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
18997 (window-atom-check, window-side-check, window-check):
18998 New functions.
85cc1f11
MR
18999 (ignore-window-parameters, window-sides, window-sides-vertical)
19000 (window-sides-slots): New variables.
19001 (window-size-fixed): Move down in code. Minor doc-string fix.
19002
e7156492
AS
190032011-06-05 Andreas Schwab <schwab@linux-m68k.org>
19004
19005 * comint.el (comint-dynamic-complete-as-filename)
19006 (comint-dynamic-complete-filename): Correctly call
19007 completion-in-region.
19008
7e821d0d
DD
190092011-06-05 Deniz Dogan <deniz@dogan.se>
19010
19011 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
19012 in last change.
19013
ac09b8a1
DD
190142011-06-05 Deniz Dogan <deniz@dogan.se>
19015
19016 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
19017 (rcirc): Use it to prompt for encryption.
19018
34699b85
RW
190192011-06-05 Roland Winkler <winkler@gnu.org>
19020
19021 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
19022 (bibtex-search-entries): New command bound to C-c C-a.
19023 (bibtex-display-entries): New function.
19024
004dedd3
RW
190252011-06-05 Roland Winkler <winkler@gnu.org>
19026
19027 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
19028 (bibtex-insert-kill): After yanking insert newline if necessary.
19029 (bibtex-initialize): Call bibtex-string-files-init only once.
19030 (bibtex-mode): Do not call easy-menu-add.
19031 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
19032 (bibtex-yank): Set arg properly if nil.
19033
022fe7ce
RW
190342011-06-05 Roland Winkler <winkler@gnu.org>
19035
2b75be67
SM
19036 * textmodes/bibtex.el (bibtex-search-entry-globally):
19037 New variable.
022fe7ce
RW
19038 (bibtex-search-entry): Use it.
19039
b7c3692a
RW
190402011-06-05 Roland Winkler <winkler@gnu.org>
19041
19042 * textmodes/bibtex.el (bibtex-entry-format): New option
19043 sort-fields.
19044 (bibtex-format-entry, bibtex-reformat): Honor this option.
19045 (bibtex-parse-entry): Return fields in proper order.
19046
8eda563d
JB
190472011-06-05 Juanma Barranquero <lekktu@gmail.com>
19048
19049 * doc-view.el (doc-view-remove-if): Move computation of result out
19050 of `dolist' to silence misleading lexical-binding warning.
19051
7dbe3dbc
CY
190522011-06-04 Chong Yidong <cyd@stupidchicken.com>
19053
19054 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
19055 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
19056
0c33dd17
MA
190572011-06-04 Michael Albinus <michael.albinus@gmx.de>
19058
19059 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
19060 "SunOS 5.10".
19061
f8f91c2b
MA
190622011-06-04 Michael Albinus <michael.albinus@gmx.de>
19063
19064 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
19065 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
19066 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
19067 (tramp-parse-putty):
19068 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
19069 (tramp-completion-function-alist-ssh)
19070 (tramp-completion-function-alist-telnet)
19071 (tramp-completion-function-alist-su)
19072 (tramp-completion-function-alist-putty): Set `tramp-autoload'
19073 cookie.
19074
19075 * net/tramp-ftp.el:
19076 * net/tramp-sh.el:
19077 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
19078 load "tramp.el" `tramp-set-completion-function'.
19079
e17d9003
SM
190802011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
19081
19082 * shell.el: Require and use pcomplete.
19083 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
19084 (shell-completion-vars): Set pcomplete-default-completion-function.
19085
6c4cab03
DD
190862011-06-04 Deniz Dogan <deniz@dogan.se>
19087
19088 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
19089 `memq' (Bug#8799).
19090
ea9fafe0
SM
190912011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
19092
19093 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
19094
b3e945d3
JB
190952011-06-02 Juanma Barranquero <lekktu@gmail.com>
19096
19097 * bs.el (bs--mark-unmark, bs--nth-wrapper):
19098 * mpc.el (mpc-select-extend, mpc-songpointer-context):
19099 * vc/log-view.el (log-view-beginning-of-defun):
19100 * vc/smerge-mode.el (smerge-apply-resolution-patch)
19101 (smerge-refine-forward, smerge-refine-chopup-region):
19102 Silence warning for unused `dotimes' counter variables.
19103
7d520089
SM
191042011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
19105
19106 * net/tramp.el (tramp-with-progress-reporter): Rename from
19107 with-progress-reporter. Use `declare'.
19108 * net/tramp-smb.el:
19109 * net/tramp-sh.el:
19110 * net/tramp-gvfs.el: Update all uses.
19111
a1c2400f
JB
191122011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
19113
19114 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
19115 buffer isn't killed before making it current.
19116
2403c841
SM
191172011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
19118
19119 Silence various byte-compiler warnings.
19120 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
19121 `access-type' and new obsolescence format.
19122 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
19123 new format.
19124 (byte-compile-check-variable): New `access-type' argument.
19125 Only warn if the access-type is obsolete.
19126 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
19127 (byte-compile-variable-set): Adjust callers.
19128 * help-fns.el (describe-variable): Adjust to new obsolescence format.
19129 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
19130 setting it as obsolete.
19131 * simple.el (minibuffer-completing-symbol):
19132 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
19133 access as obsolete.
19134 * minibuffer.el (minibuffer-completing-file-name): Don't make it
19135 obsolete yet.
19136 * international/quail.el (quail-mouse-choose-completion): Remove unused
19137 code referring to obsolete var.
19138 (quail-choose-completion-string): Remove.
19139 * server.el (server-clients-with, server-kill-buffer-query-function)
19140 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
19141 * proced.el (proced-send-signal):
19142 * emacs-lisp/lisp.el (lisp-complete-symbol):
19143 Replace completion-annotate-function with completion-extra-properties.
19144
2462470b
SM
191452011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
19146
fb5b2591
SM
19147 * simple.el (goto-line): Use read-number.
19148 (overriding-map-is-bound): Remove.
19149 (saved-overriding-map): Change default.
19150 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
19151 Take the map as argument.
19152 (universal-argument, negative-argument, digit-argument): Use it.
19153 (restore-overriding-map): Adjust.
19154 (do-auto-fill): Use fill-forward-paragraph.
19155 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
19156
fd6fa53f
SM
19157 * minibuffer.el (minibuffer-inactive-mode-map): New var.
19158 (minibuffer-inactive-mode): New major mode.
19159 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
19160 the *Messages* buffer" hack.
19161 (mouse-popup-menubar): Don't burp if the event is a normal key.
19162
2462470b
SM
19163 Miscellaneous tweaks.
19164 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
19165 lexical scoping as in subr.el's dolist and dotimes.
19166 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
19167 Silence compiler warning.
19168 * thingatpt.el (forward-whitespace): Trivial coding style fix.
19169 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
19170 * international/ccl.el (ccl-compile): Trivial simplification.
19171 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
19172 * emacs-lisp/testcover.el (testcover-end): Remove spurious
19173 `printflag' argument.
19174 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
19175 Purecopy the whole obsolescence data.
19176
108bf785
LL
191772011-06-01 Leo Liu <sdl.web@gmail.com>
19178
19179 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
19180 improve doc-string as suggested by Marco Pessotto
19181 <melmothx@gmail.com>.
19182 (rcirc-print): Fix last change.
19183
30a23501
SM
191842011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
19185
19186 * minibuffer.el (complete-with-action): Return nil for the metadata and
19187 boundaries of non-functional tables.
19188 (completion-table-dynamic): Return nil for the metadata.
19189 (completion-table-with-terminator): Add default case, using
19190 complete-with-action.
19191 (completion--metadata): New function.
19192 (completion-all-sorted-completions, minibuffer-completion-help): Use it
19193 to try and avoid pathological performance problems.
19194 (completion--embedded-envvar-table): Return `category' metadata.
19195
bcd54f83
LMI
191962011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
19197
19198 * subr.el (process-alive-p): New tiny convenience function.
19199
e227544d
SM
192002011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
19201
19202 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
19203 content but also its previous major mode.
19204
e8296fdc
HE
192052011-05-31 Helmut Eller <eller.helmut@gmail.com>
19206
4d61f28d 19207 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
19208 *Backtrace* buffer when we exit with C-M-c.
19209
620c53a6
SM
192102011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
19211
19212 * minibuffer.el: Add metadata method to completion tables.
19213 (completion-category-overrides): New defcustom.
19214 (completion-metadata, completion--field-metadata)
19215 (completion-metadata-get, completion--styles)
19216 (completion--cycle-threshold): New functions.
19217 (completion-try-completion, completion-all-completions):
19218 Add `metadata' argument to choose completion-styles.
19219 (completion--do-completion): Use metadata to choose cycling.
19220 (completion-all-sorted-completions): Use metadata for sorting.
19221 Remove :completion-cycle-penalty which is not needed any more.
19222 (completion--try-word-completion): Add `metadata' argument.
19223 (minibuffer-completion-help): Check metadata for annotation function
19224 and sorting.
19225 (completion-file-name-table): Return `category' metadata.
19226 (minibuffer-completing-file-name): Make obsolete.
19227 * simple.el (minibuffer-completing-symbol): Make obsolete.
19228 * icomplete.el (icomplete-completions): Pass new `metadata' param to
19229 completion-try-completion.
19230
1257e755
SM
192312011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
19232
19233 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
19234
3767e706
LL
192352011-05-30 Leo Liu <sdl.web@gmail.com>
19236
19237 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
19238 (rcirc-print): Decode all incoming messages (bug#8744).
19239 (rcirc-decode-coding-system): Allow value nil for automatic coding
19240 system detection.
3767e706 19241
d1a5d56a
GM
192422011-06-01 Glenn Morris <rgm@gnu.org>
19243
19244 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
19245
e8cbec34
CY
192462011-05-29 Chong Yidong <cyd@stupidchicken.com>
19247
19248 * image.el (image-animate-max-time): Allow nil and t values.
19249 Default to nil.
19250 (create-animated-image): Doc fix.
19251 (image-animate-start): Remove second arg; just use
19252 image-animate-max-time.
19253 (image-animate-timeout): Doc fix. Args changed.
19254
19255 * image-mode.el (image-toggle-display-image): Ensure that the
19256 image spec passed to the animate timer is the same object as in
58179cce 19257 the buffer's display property (Bug#6981).
e8cbec34
CY
19258 (image-transform-properties): Doc fix.
19259
19260 * image.el (image-animate-max-time): Default to nil.
19261
159daf87
MR
192622011-05-29 Martin Rudalics <rudalics@gmx.at>
19263
19264 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
19265 entire buffer list (Bug#8184).
19266
d66c4c7c
CY
192672011-05-29 Chong Yidong <cyd@stupidchicken.com>
19268
19269 * image.el (imagemagick-types-inhibit)
19270 (imagemagick-register-types): Doc fix.
19271
80aec780
DD
192722011-05-29 Deniz Dogan <deniz@dogan.se>
19273
19274 * net/rcirc.el (rcirc): Use the user's stored encryption method by
19275 default.
19276
1dd3c2d9
CY
192772011-05-29 Chong Yidong <cyd@stupidchicken.com>
19278
19279 * select.el: Don't perform clipboard-manager saving in hooks;
19280 leave the hooks empty.
19281
60e56523
LL
192822011-05-28 Leo Liu <sdl.web@gmail.com>
19283
19284 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
19285 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
19286 (occur-edit-mode): New major mode (Bug#8463).
19287 (occur-after-change-function): New function.
19288 (occur-engine): Give Occur tags a read-only property.
19289
2b1e1a22
KR
192902011-05-28 Kevin Ryde <user42@zip.com.au>
19291
19292 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
19293
5d344e88
CY
192942011-05-28 Chong Yidong <cyd@stupidchicken.com>
19295
8e6ca83d
CY
19296 * bindings.el (help-echo): Make the initial non-indicator dash
19297 empty on graphical terminals (Bug#7295).
19298
5d344e88
CY
19299 * files.el (auto-mode-alist): Move config rule after the
19300 in-stripping one (Bug#8547).
19301
bfbbace7
CY
19302 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
19303
fbeba6e2
CY
19304 * startup.el (normal-splash-screen): Remove gratuitous mode-line
19305 setting (Bug#8740).
19306
60ed8c72
AA
193072011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
19308
4ac619f0
AA
19309 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
19310 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
19311 (Bug#8539).
60ed8c72 19312
23db196e
CY
193132011-05-28 Chong Yidong <cyd@stupidchicken.com>
19314
19315 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
19316
5012f24c
DK
193172011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
19318
19319 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
19320 (hs-hide-block-at-point, hs-find-block-beginning)
19321 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
19322 (Bug#8279).
19323
6a639b16
GM
193242011-05-28 Glenn Morris <rgm@gnu.org>
19325
19326 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
19327
d43eaf2c
CY
193282011-05-28 Chong Yidong <cyd@stupidchicken.com>
19329
5199bde1
CY
19330 * help-fns.el (describe-function-1): If the function is a derived
19331 major mode, print the parent mode.
19332
d43eaf2c
CY
19333 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
19334 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
19335
423428a8
SM
193362011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
19337
0ff8e1ba 19338 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 19339 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
19340 * progmodes/etags.el (tags-completion-at-point-function):
19341 * info-look.el (info-lookup-completions-at-point): Mark as
19342 non-exclusive.
19343 (info-complete): Adjust accordingly.
19344
423428a8
SM
19345 * info-look.el: Convert to lexical-binding and completion-at-point.
19346 (info-lookup-completions-at-point): New function.
19347 (info-complete): Use it and completion-in-region.
19348
b74aa22b
DA
193492011-05-28 Drew Adams <drew.adams@oracle.com>
19350
19351 * isearch.el: Let M-e start with point at the first mismatched char.
19352 (isearch-fail-pos): New function.
19353 (isearch-edit-string): Use it.
19354
66e2e71d
DK
193552011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
19356
19357 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
19358
b1890b0f 193592011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
19360
19361 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
19362 traversal functions for avl-trees.
19363 (avl-tree--stack): New struct.
19364 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
19365 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
19366 (avl-tree--do-enter): Add optional `updatefun' arg.
19367 Change return value.
eb95d01d 19368 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
19369 (avl-tree--do-delete): Add `test' and `nilflag' args.
19370 Change return value.
eb95d01d
TC
19371 (avl-tree-member): Add optional `nilflag'
19372 (avl-tree-member-p): New function.
19373 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
19374 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
19375 (avl-tree-stack-empty-p): New functions.
19376
3769ddcf
TC
19377 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
19378 avl-tree--del-balance1 and make it work both ways.
19379 (avl-tree--del-balance2): Remove.
19380 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
19381 make it work both ways.
19382 (avl-tree--enter-balance2): Remove.
19383 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
19384 New macros.
19385 (avl-tree--mapc, avl-tree-map): Add direction argument.
19386
eb95d01d 193872011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
19388
19389 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
19390
a9f737ee
CY
193912011-05-27 Chong Yidong <cyd@stupidchicken.com>
19392
19393 * select.el: Support clipboard managers with built-in function
19394 x-clipboard-manager-save, via delete-frame-functions and
19395 kill-emacs-hook.
19396 (xselect-convert-to-targets): Add MULTIPLE target to list.
19397 (xselect-convert-to-save-targets): New function.
19398
c92a1e54
KH
193992011-05-27 Kenichi Handa <handa@m17n.org>
19400
19401 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
19402 let-binding rfc2047-encode-encoded-words to nil.
19403
e145f188
GM
194042011-05-27 Glenn Morris <rgm@gnu.org>
19405
5ec8a862
GM
19406 * mail/emacsbug.el: Don't require url-util.
19407
4b29d9fb
GM
19408 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
19409
e145f188
GM
19410 * files.el (set-auto-mode):
19411 Also respect mode: entries at the end of the file. (Bug#8586)
19412
7d15102b
GM
194132011-05-26 Glenn Morris <rgm@gnu.org>
19414
98f593b8
GM
19415 * files.el (hack-local-variables-prop-line, hack-local-variables):
19416 Downcase mode names, as seems to be traditional.
27b48e63 19417 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 19418
7d15102b
GM
19419 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
19420 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
19421
51d5b4ec
JD
194222011-05-25 Julien Danjou <julien@danjou.info>
19423
19424 * textmodes/rst.el (rst-define-level-faces): Do not define face
19425 symbol if it is already defined.
19426
91513f63
VB
194272011-05-24 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
19428
19429 * play/5x5.el (5x5-new-game, 5x5-randomize):
19430 Reset 5x5-solver-output to nil when a new grid is cast.
19431 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
19432 these debugging traces, as defmacro breaks the compiled code.
19433
4d90d6d0
DK
194342011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
19435
19436 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
19437
e1b90ef6
LL
194382011-05-24 Leo Liu <sdl.web@gmail.com>
19439
19440 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
19441 (vc-bzr-sha1): Adapt.
19442
d8e4b68b 19443 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
19444
19445 * bindings.el: Provide sha1 feature.
19446
db0406bb 194472011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
19448
19449 * mail/sendmail.el: Require `rfc2047'.
19450 (mail-insert-from-field): Do not perform RFC2047 encoding.
19451 (mail-encode-header): New function.
19452 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
19453 buffer to the return value of select-message-coding-system.
19454 Call mail-encode-header.
b8d747b9
KH
19455
19456 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
19457
db0406bb 194582011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 19459
4d90d6d0
DK
19460 * mail/supercite.el (sc-default-cite-frame):
19461 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 19462
eb8a5e9b
GM
194632011-05-24 Glenn Morris <rgm@gnu.org>
19464
f8630703
GM
19465 * progmodes/python.el (brm-menu): Declare.
19466
8831bbed
GM
19467 * emulation/viper.el (viper-set-hooks): Declare.
19468
eb8a5e9b
GM
19469 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
19470 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
19471 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
19472 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
19473 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
19474 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
19475
a2a25d24
SM
194762011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
19477
19478 Add an :exit-function for completion-at-point.
19479
19480 * minibuffer.el (completion--done): New fun.
19481 (completion--do-completion): Use it. New arg `expect-exact'.
19482 (minibuffer-complete, minibuffer-complete-word): Don't output message,
19483 since completion--do-completion does it for us now.
19484 (minibuffer-force-complete): Use completion--done and
19485 completion--replace. Handle sole-completion case with more care.
19486 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
19487 (completion-extra-properties): New var.
19488 (completion-annotate-function): Make obsolete.
19489 (minibuffer-completion-help): Adjust accordingly.
19490 Use completion-list-insert-choice-function.
19491 (completion-at-point, completion-help-at-point):
19492 Bind completion-extra-properties.
19493 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
19494 * simple.el (completion-list-insert-choice-function): New var.
19495 (completion-setup-function): Preserve it.
19496 (choose-completion): Pay attention to it, shuffle the code a bit.
19497 (choose-completion-string): New arg `insert-function'.
19498
19499 * textmodes/bibtex.el: Convert to lexical binding.
19500 (bibtex-mode-map): Use completion-at-point.
19501 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
19502 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
19503 (bibtex-complete): Define as obsolete alias.
19504 (bibtex-complete-internal): Remove.
19505 (bibtex-format-entry): Remove unused sub-group in regexp.
19506 * shell.el (shell--command-completion-data)
19507 (shell-environment-variable-completion):
19508 * pcomplete.el (pcomplete-completions-at-point):
19509 * comint.el (comint--complete-file-name-data): Use :exit-function
19510 instead of completion-table-with-terminator so it also works for
19511 choose-completion.
19512
e44e373d
SM
195132011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
19514
4f91a816
SM
19515 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
19516
782fc819
SM
19517 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
19518 (bug#8710).
19519
e44e373d
SM
19520 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
19521
381987c3
KM
195222011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
19523
19524 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
19525 customization variable and implement: If non-nil, auto-fill will
19526 be inhibited while on topic's header line.
19527
b776bc70
VB
195282011-05-23 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
19529
19530 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 19531 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
19532 always have a solution in grid size = 5 cases.
19533 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
19534 (5x5-solver-output, 5x5-log-buffer): New vars.
19535 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
19536 Make these variables buffer local to achieve 5x5 multi-session-ness.
19537 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
19538 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
19539 (5x5-solve-suggest): New funs.
19540 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
19541 randomize a grid so that we ensure that there is always a solution.
19542 (5x5-make-random-grid): Allow other movement than flipping.
19543
7de88b6e
KR
195442011-05-23 Kevin Ryde <user42@zip.com.au>
19545
19546 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 19547 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
19548 advice and passes PREDICATE.
19549
b1ef1257
SM
195502011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
19551
bbca48fe
SM
19552 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
19553 byte-compile-lambda if it's actually a lambda.
19554
b1ef1257
SM
19555 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
19556 Fix function quoting. Use backquote better.
19557
92a9cc65
YS
195582011-05-22 Yuanle Song <sylecn@gmail.com>
19559
19560 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
19561 matching (Bug#8516).
19562
f0fb8059
JA
195632011-01-22 Jari Aalto <jari.aalto@cante.net>
19564
19565 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
19566 different face (Bug#8178).
19567
d5b44c93
CY
195682011-05-22 Chong Yidong <cyd@stupidchicken.com>
19569
19570 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
19571 defface (Bug#8144).
19572
79106a44
SM
195732011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
19574
9c848d8a
SM
19575 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
19576 funcall as well (bug#8712). Warn when performing those conversions.
19577 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
19578
79106a44
SM
19579 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
19580
88dfa756
GM
195812011-05-22 Glenn Morris <rgm@gnu.org>
19582
19583 * files.el (hack-local-variables-prop-line): Small simplifications.
19584 (hack-local-variables, hack-local-variables-prop-line):
19585 If MODE-ONLY, return the mode, rather than just `t'.
19586
b7cf2c79
SM
195872011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
19588
19589 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
19590
3f1a8558
GM
195912011-05-21 Glenn Morris <rgm@gnu.org>
19592
7e4ccca3
GM
19593 * files.el (hack-local-variables-prop-line, hack-local-variables):
19594 If only interested in the mode, don't bother doing the other stuff.
19595
637d46ca
GM
19596 * image-mode.el (image-after-revert-hook):
19597 Redraw all frames on which the image is visible. (Bug#8567)
19598
973d955b
GM
19599 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
19600
3f1a8558
GM
19601 * wid-edit.el (widget-checklist-match-inline):
19602 Fix 2011-04-19 change. (Bug#8649)
19603
96479927
SM
196042011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
19605
1dcf791f
SM
19606 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
19607 Also allow singlespace after single-letter capitals followed by a dot.
19608
96479927
SM
19609 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
19610 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
19611
35fd0881
N
196122011-05-20 Nix <nix@esperi.org.uk>
19613
19614 * files.el (basic-save-buffer-2):
19615 Fix handling of break-hardlink-on-save with non-existent files.
19616
82745640
DD
196172011-05-19 Deniz Dogan <deniz@dogan.se>
19618
19619 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 19620 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 19621
4a720484
GM
196222011-05-19 Glenn Morris <rgm@gnu.org>
19623
d1f21341
GM
19624 * progmodes/f90.el (f90-type-def-re):
19625 Handle "type, bind(c)". (Bug#8691)
19626
4a720484
GM
19627 * emacs-lisp/autoload.el (batch-update-autoloads):
19628 Set autoload-excludes by parsing loadup.el rather than Makefiles.
19629
2fb0a219
MA
196302011-05-18 Michael Albinus <michael.albinus@gmx.de>
19631
19632 * net/tramp.el (tramp-process-actions): Set "first-password-request"
19633 property for the correct connection in case of multihops.
19634
e565dd37
GM
196352011-05-18 Glenn Morris <rgm@gnu.org>
19636
c2571358 19637 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
19638 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
19639
e565dd37
GM
19640 Rationalize calendar handling of day and month abbrev-arrays.
19641 * calendar/calendar.el (calendar-customized-p): New function.
19642 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
19643 (calendar-day-name-array, calendar-month-name-array): Doc fix.
19644 Add :set function.
19645 (calendar-abbrev-length, calendar-day-abbrev-array)
19646 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
19647 (calendar-day-abbrev-array, calendar-month-abbrev-array):
19648 Elements may no longer be nil.
19649 (calendar-day-name, calendar-month-name):
19650 Update for changed nature of abbrev arrays.
19651 * calendar/diary-lib.el (diary-name-pattern):
19652 Update for changed nature of abbrev arrays.
19653 (diary-mark-entries-1): Update calendar-make-alist calls.
19654 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
19655 * calendar/cal-html.el (cal-html-day-abbrev-array):
19656 Simply inherit from calendar-day-abbrev-array.
19657
1d99a745
SM
196582011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
19659
19660 * progmodes/grep.el (grep-mode): Disable default
19661 compilation-directory-matcher setting (bug#8684).
19662
7c1d9aa0
MA
196632011-05-17 Michael Albinus <michael.albinus@gmx.de>
19664
19665 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
19666 instead of "head" and "tail". There were problems with SunOS 5.9,
19667 and it performs better.
19668
3952e9d8
GM
196692011-05-17 Glenn Morris <rgm@gnu.org>
19670
2dd12e7f
GM
19671 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
19672
e4157b9c
GM
19673 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
19674 Replace obsolete function.
19675
8e249bbd
GM
19676 * shell.el (pcomplete-parse-arguments-function): Declare.
19677
3952e9d8
GM
19678 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
19679 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
19680 (appt-check): Doc fixes.
19681 (appt-disp-window-function, appt-delete-window-function):
19682 Remove needless special case in custom :type.
19683 (appt-display-count): Default to 0, not nil.
19684 (appt-check): Reset appt-display-count to 0, not nil.
19685
c71a0d48 196862011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 19687
c71a0d48
GM
19688 * progmodes/python.el (python-font-lock-keywords):
19689 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 19690
31d55be9
SM
196912011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
19692
19693 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
19694
3bfacb2f
KR
196952011-05-16 Kevin Ryde <user42@zip.com.au>
19696
19697 * info-look.el (makefile-automake-mode): New setups, looking in
19698 automake manual, then makefile-mode.
19699 (makefile-mode): Remove automake manual, have it just in
19700 makefile-automake-mode since there's various things different or
19701 not relevant to plain make.
19702 (makefile-mode): Remove "other-modes" non-existent automake-mode,
19703 believe a hypothetical automake-mode would go to makefile-mode,
19704 not the other way around.
19705
c8e83751
CY
197062011-05-15 Chong Yidong <cyd@stupidchicken.com>
19707
5e9e35cd
CY
19708 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
19709 hunk-end tags (Bug#8672).
19710
c8e83751
CY
19711 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
19712 vc-annotate-show-diff-revision-at-line (Bug#8671).
19713
50b23e5a
GM
197142011-05-14 Glenn Morris <rgm@gnu.org>
19715
7210a739
GM
19716 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
19717 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
19718 (change-log-font-lock-keywords): Also handle multiple author lines
19719 with leading tabs. (Bug#8644)
7210a739 19720
4691905a
GM
19721 * calendar/appt.el (appt-check): Rename some local variables.
19722 Some simplification/reordering.
19723
50b23e5a
GM
19724 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
19725 (feedmail-sendmail-f-doesnt-sell-me-out)
19726 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
19727 (feedmail-debug-sit-for, feedmail-queue-express-hook)
19728 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
19729 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
19730 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
19731 (feedmail-binmail-gnulinuxish-template):
19732 Rename from feedmail-binmail-linuxish-template.
19733 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
19734 Use insert-buffer-substring.
19735
215cda7c
BC
197362011-05-14 Bill Carpenter <bill@carpenter.org>
19737
19738 * mail/feedmail.el (feedmail-patch-level): Increase.
19739 (feedmail-debug): New custom group.
19740 (feedmail-confirm-outgoing-timeout)
19741 (feedmail-sendmail-f-doesnt-sell-me-out)
19742 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
19743 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
19744 (feedmail-sender-line, feedmail-from-line)
19745 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 19746 (feedmail-spray-this-address)
215cda7c
BC
19747 (feedmail-spray-address-fiddle-plex-list)
19748 (feedmail-queue-use-send-time-for-date)
19749 (feedmail-queue-use-send-time-for-message-id)
19750 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
19751 (feedmail-buffer-eating-function):
19752 Doc fixes.
19753 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
19754 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
19755 (feedmail-message-action-scroll-down): New functions.
19756 (feedmail-queue-directory, feedmail-queue-draft-directory):
19757 Use expand-file-name.
19758 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
19759 Remove C-v help entry.
19760 (feedmail-queue-buffer-file-name): New variable.
19761 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
19762 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
19763 (feedmail-message-action-send-strong, feedmail-message-action-edit)
19764 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
19765 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
19766 (feedmail-message-action-toggle-spray)
19767 (feedmail-run-the-queue-no-prompts)
19768 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
19769 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
19770 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
19771 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
19772 (feedmail-envelope-deducer, feedmail-fiddle-from)
19773 (feedmail-fiddle-sender, feedmail-default-date-generator)
19774 (feedmail-fiddle-date, feedmail-fiddle-message-id)
19775 (feedmail-fiddle-spray-address)
19776 (feedmail-fiddle-list-of-spray-fiddle-plexes)
19777 (feedmail-fiddle-list-of-fiddle-plexes)
19778 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
19779 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
19780 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
19781 Change default. Doc fix.
19782 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
19783 (feedmail-binmail-linuxish-template): New constant.
19784 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
19785 Respect feedmail-sendmail-f-doesnt-sell-me-out.
19786 (feedmail-send-it): Add debug call.
19787 Use feedmail-queue-buffer-file-name, and
19788 feedmail-send-it-immediately-wrapper.
19789 (feedmail-message-action-send): Add debug call.
19790 Use feedmail-send-it-immediately-wrapper.
19791 (feedmail-queue-express-to-queue): Add debug call.
19792 Run feedmail-queue-express-hook.
19793 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
19794 (feedmail-message-action-help-blat):
19795 Rename from feedmail-queue-send-edit-prompt-help-first.
19796 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
19797 Check line-endings. Handle errors better.
19798 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
19799 Doc fix. Add debug call.
19800 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
19801 Use feedmail-queue-send-edit-prompt-inner.
19802 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
19803 (feedmail-queue-send-edit-prompt-inner): New function, extracted
19804 from feedmail-queue-send-edit-prompt.
19805 (feedmail-queue-send-edit-prompt-help)
19806 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
19807 (feedmail-tidy-up-slug): Add debug call.
19808 Respect feedmail-queue-slug-suspect-regexp.
19809 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
19810 (feedmail-dump-message-to-queue): Add debug call.
19811 Expand queue-directory.
19812 (feedmail-dump-message-to-queue): Change message slightly.
19813 Use feedmail-say-chatter.
19814 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
19815 (feedmail-send-it-immediately-wrapper): New function.
19816 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
19817 Insert empty string rather than newline. Handle full-frame case.
19818 Use catch/throw. Use feedmail-say-chatter.
19819 (feedmail-fiddle-from): Try mail-host-address.
19820 (feedmail-default-message-id-generator): Doc fix.
19821 Bind system-time-locale. Handle missing end.
19822 (feedmail-fiddle-x-mailer): Add debug call.
19823 Handle feedmail-x-mailer-line being nil.
19824 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
19825 Add debug call. Use buffer-substring-no-properties.
19826 (feedmail-say-debug, feedmail-say-chatter): New functions.
19827 (feedmail-find-eoh): Give an explicit error.
19828
42c7e61e
UJ
198292011-05-13 Ulf Jasper <ulf.jasper@web.de>
19830
c2571358 19831 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 19832 family from helvetica to sans.
c2571358 19833 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
19834 etc/images/newsticker.
19835
c2571358 19836 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
19837 family from helvetica to sans.
19838
19839 * net/newst-plainview.el (newsticker-new-item-face)
19840 (newsticker-old-item-face, newsticker-immortal-item-face)
19841 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 19842 (newsticker-statistics-face): Change default family from
42c7e61e 19843 helvetica to sans.
c2571358 19844 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
19845 etc/images/newsticker.
19846
5d3385a0
JB
19847 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
19848 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
19849 auto-marking.
19850
8497a297
DV
198512011-05-13 Didier Verna <didier@xemacs.org>
19852
19853 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
19854 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
19855 TODO entries.
8497a297
DV
19856 (lisp-lambda-list-keyword-parameter-indentation)
19857 (lisp-lambda-list-keyword-parameter-alignment)
19858 (lisp-lambda-list-keyword-alignment): New customizable user options.
19859 (lisp-indent-defun-method): Improve docstring.
19860 (extended-loop-p): Fix comment.
19861 (lisp-indent-lambda-list-keywords-regexp): New variable.
19862 (lisp-indent-lambda-list): New function.
19863 (lisp-indent-259): Use it.
19864 (lisp-indent-defmethod): Support for more than one
19865 method qualifier and properly indent methods lambda-lists.
19866 (defgeneric): Provide a missing common-lisp-indent-function property.
19867
f278f87f
SM
198682011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
19869
19870 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
19871 bounds for the empty string (bug#8667).
19872
5233edd7
GM
198732011-05-13 Glenn Morris <rgm@gnu.org>
19874
5237a44f
GM
19875 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
19876
8340026c 19877 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 19878 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 19879
5233edd7 19880 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 19881 (appt-time-msg-list): Doc fix.
a5464014 19882 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 19883
92d10796
AS
198842011-05-12 Andreas Schwab <schwab@linux-m68k.org>
19885
19886 * progmodes/ld-script.el (ld-script-keywords)
19887 (ld-script-builtins): Update keywords list.
19888
914a0ae1
SM
198892011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
19890
c89be45f
SM
19891 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
19892
914a0ae1
SM
19893 * shell.el (shell-completion-vars): New function.
19894 (shell-mode):
19895 * simple.el (read-shell-command): Use it.
19896 (blink-matching-open): No need for " [...]" in minibuffer-message.
19897
98dc3df3
GM
198982011-05-12 Glenn Morris <rgm@gnu.org>
19899
19900 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
19901 (appt-check): Simplify.
19902
d2fc7e3d 199032011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 19904
4d61f28d 19905 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
19906 literal "/dev/null".
19907
d2fc7e3d 199082011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
19909
19910 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
19911 Fix typo.
19912
d2fc7e3d 199132011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 19914
3f254caa
SM
19915 * progmodes/which-func.el (which-function):
19916 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
19917 which might not be defined (Bug#8260).
19918
d45885f7
GM
199192011-05-12 Glenn Morris <rgm@gnu.org>
19920
19921 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
19922 Let byte-compile-initial-macro-environment always take precedence.
19923
488086f4
SM
199242011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
19925
19926 * net/rcirc.el: Add support for SSL/TLS connections.
19927 (rcirc-server-alist): New field `encryption'.
19928 (rcirc): Check `encryption' settings.
19929 (rcirc-connect): New arg `encryption'. Use open-network-stream.
19930 Merge make-local-variable into `set'.
19931 (rcirc--connection-open-p): New function.
19932 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
19933 the process is not a network process (e.g. running gnutls-cli).
19934 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
19935 Make rcirc-(en|de)code-coding-system local here.
19936 (rcirc-mode): Merge make-local-variable into `set'.
19937 (rcirc-parent-buffer): Make permanent buffer-local.
19938 (rcirc-multiline-minor-mode): Don't do it here.
19939 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
19940 there's no server buffer.
19941
7d3b9d44
GM
199422011-05-11 Glenn Morris <rgm@gnu.org>
19943
f64049c6
GM
19944 * newcomment.el (comment-kill): Prefix "unused" local.
19945
93c9df73
GM
19946 * term/w32console.el (get-screen-color): Declare.
19947
7d3b9d44
GM
19948 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
19949 Handle symbol elements of byte-compile-initial-macro-environment.
19950
9e2dd53f
LL
199512011-05-10 Leo Liu <sdl.web@gmail.com>
19952
488086f4
SM
19953 * bookmark.el (bookmark-bmenu-mode-map):
19954 Bind bookmark-bmenu-search to `/'.
8b340240 19955
9e2dd53f 19956 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
19957 (footnote-unicode-string, footnote-unicode-regexp): New variable.
19958 (Footnote-unicode): New function.
19959 (footnote-style-alist): Add unicode style to the list.
19960 (footnote-style): Doc fix.
9e2dd53f 19961
79b70037
GM
199622011-05-10 Jim Meyering <meyering@redhat.com>
19963
19964 Fix doubled-word typos.
19965 * international/quail.el (quail-insert-kbd-layout): and and -> and
19966 * kermit.el: and and -> and
19967 * net/ldap.el (ldap-search-internal): to to -> to
19968 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
19969 * progmodes/js.el (js-mode): and and -> and
19970 * textmodes/artist.el (artist-move-to-xy): at at -> at
19971 (artist-draw-region-trim-line-endings): if if -> if
19972 And Safetyc -> Safety.
19973 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
19974
b8f82dc1 199752011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 19976 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
19977
19978 * files.el (hack-one-local-variable-eval-safep):
19979 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
19980
4f99f44b
GM
199812011-05-10 Glenn Morris <rgm@gnu.org>
19982
19983 * calendar/diary-lib.el (diary-list-entries-hook)
19984 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
19985 (diary-nongregorian-marking-hook, diary-list-entries)
19986 (diary-include-other-diary-files, diary-mark-entries)
19987 (diary-mark-included-diary-files): Doc fixes.
19988
84f29e6b
JB
199892011-05-09 Juanma Barranquero <lekktu@gmail.com>
19990
19991 * misc.el: Require tabulated-list.el during compilation.
19992
9bedd73a
CY
199932011-05-09 Chong Yidong <cyd@stupidchicken.com>
19994
488086f4
SM
19995 * progmodes/compile.el (compilation-start):
19996 Run compilation-filter-hook for the async case too.
9bedd73a
CY
19997 (compilation-filter-hook): Doc fix.
19998
797c735c
DD
199992011-05-09 Deniz Dogan <deniz@dogan.se>
20000
20001 * wdired.el: Remove outdated installation comment. Fix usage
20002 comment.
20003
5f4b1dfe
JB
200042011-05-09 Juanma Barranquero <lekktu@gmail.com>
20005
20006 * misc.el: Implement new command `list-dynamic-libraries'.
20007 (list-dynamic-libraries--loaded-only-p): New variable.
20008 (list-dynamic-libraries--refresh): New function.
20009 (list-dynamic-libraries): New command.
20010
4c44026c
CY
200112011-05-09 Chong Yidong <cyd@stupidchicken.com>
20012
488086f4
SM
20013 * progmodes/compile.el (compilation-error-regexp-alist-alist):
20014 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
20015 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
20016 higher priority to avoid clobbering by gnu.
20017
027f966d
CY
200182011-05-08 Chong Yidong <cyd@stupidchicken.com>
20019
20020 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
20021 if the face has existing theme settings (Bug#8454).
20022
085f5d7d
CY
200232011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
20024
488086f4
SM
20025 * progmodes/perl-mode.el (perl-imenu-generic-expression):
20026 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 20027
2a86a00c
RS
20028 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
20029 special file names `.' and `..' (Bug#8259).
20030
d9c54a06
CY
200312011-05-08 Chong Yidong <cyd@stupidchicken.com>
20032
488086f4
SM
20033 * progmodes/grep.el (grep-mode-font-lock-keywords):
20034 Remove buffer-changing entries.
d9c54a06
CY
20035 (grep-filter): New function.
20036 (grep-mode): Add it to compilation-filter-hook.
20037
20038 * progmodes/compile.el (compilation-filter-hook)
20039 (compilation-filter-start): New defvars.
20040 (compilation-filter): Call compilation-filter-hook prior to
20041 updating the process mark.
20042
c4662635
SM
200432011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
20044
20045 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
20046
b0512a1d
EZ
200472011-05-07 Eli Zaretskii <eliz@gnu.org>
20048
605c9376
EZ
20049 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
20050 mailclient-send-it even if window-system is nil. (Bug#8595)
20051
c4662635
SM
20052 * term/w32console.el (terminal-init-w32console):
20053 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
20054 background-mode. (Bug#8597)
20055
d1dc2cc2
SM
200562011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
20057
20058 Make bytecomp.el understand that defmethod defines funs (bug#8631).
20059 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
20060 New functions.
20061 (defgeneric, eieio--defmethod): Use them.
20062 (eieio-defgeneric): Remove.
20063 (defmethod): Call defgeneric in a way visible to the byte-compiler.
20064
915d1300
GM
200652011-05-07 Glenn Morris <rgm@gnu.org>
20066
a3961c3e
GM
20067 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
20068 Use let rather than let*.
20069 (timeclock-find-discrep): Remove unused local.
20070
314347b9
GM
20071 * calendar/diary-lib.el (diary-comment-start): Doc fix.
20072
915d1300
GM
20073 * calendar/appt.el (appt-time-msg-list): Doc fix.
20074
275b59b0
NF
200752011-05-06 Noah Friedman <friedman@splode.com>
20076
20077 * apropos.el (apropos-print-doc): Only use
20078 emacs-lisp-docstring-fill-column when it is bound to an integer,
20079 per that variable's documentation.
20080
6c19f744
SM
200812011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
20082
20083 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 20084 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 20085
60f884b2
GM
200862011-05-06 Glenn Morris <rgm@gnu.org>
20087
5006e634
GM
20088 * calendar/appt.el (appt-message-warning-time): Doc fix.
20089 (appt-warning-time-regexp): New option.
20090 (appt-make-list): Respect appt-message-warning-time.
20091
548d0a63
GM
20092 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
20093 New options.
20094 (diary-add-to-list): Strip comments from the displayed string.
20095 (diary-mode): Set comment-start and comment-end.
20096
60f884b2
GM
20097 * vc/diff-mode.el (smerge-refine-subst): Declare.
20098 (diff-refine-hunk): Don't require smerge-mode when compiling.
20099
989681bb
JB
201002011-05-06 Juanma Barranquero <lekktu@gmail.com>
20101
20102 * simple.el (list-processes): Return nil as the docstring says.
20103
a6bc05e1
MA
201042011-05-05 Michael Albinus <michael.albinus@gmx.de>
20105
20106 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
20107 to "".
20108 (ange-ftp-write-region, ange-ftp-insert-file-contents)
20109 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
20110 determining of binary transfer. (Bug#7383)
20111
23c22e9a
MA
201122011-05-05 Michael Albinus <michael.albinus@gmx.de>
20113
c4662635
SM
20114 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
20115 Fix port computation bug. (Bug#8618)
23c22e9a 20116
0bff894f
GM
201172011-05-05 Glenn Morris <rgm@gnu.org>
20118
b8296902
GM
20119 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
20120
1f522ce8
GM
20121 * simple.el (shell-dynamic-complete-functions)
20122 (comint-dynamic-complete-functions): Declare.
20123
cf5bee67
GM
20124 * net/network-stream.el (gnutls-negotiate):
20125 * simple.el (tabulated-list-print): Fix declarations.
20126
20127 * progmodes/gud.el (syntax-symbol, syntax-point):
20128 Remove unnecessary and incorrect declarations.
20129
0bff894f 20130 * emacs-lisp/check-declare.el (check-declare-scan):
1f9f395d 20131 Handle byte-compile-initial-macro-environment in bytecomp.el.
0bff894f 20132
9869b3ae
SM
201332011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
20134
20135 Fix earlier half-done eieio-defmethod change (bug#8338).
20136 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
20137 Streamline and change calling convention.
20138 (defmethod): Adjust accordingly and simplify.
20139 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
20140 new eieio--defmethod.
20141 (slot-boundp): Minor CSE simplification.
20142
9c1d5ac5
MZ
201432011-05-05 Milan Zamazal <pdm@zamazal.org>
20144
20145 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
20146 (glasses-make-readable): Use glasses-separate-capital-groups.
20147
455c834e
JB
201482011-05-05 Juanma Barranquero <lekktu@gmail.com>
20149
20150 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
20151 (warning-series): Doc fix.
20152 (display-warning): Don't try to create the buffer if we just found it.
20153
9ed7c8cb
CY
201542011-05-04 Chong Yidong <cyd@stupidchicken.com>
20155
20156 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
20157 (autoload-find-generated-file): New function.
20158 (generate-file-autoloads): Bind generated-autoload-file to
20159 buffer-file-name.
9869b3ae
SM
20160 (update-file-autoloads, update-directory-autoloads):
20161 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
20162 output file (Bug#7989).
20163 (batch-update-autoloads): Doc fix.
20164
0898ca10
JB
201652011-05-04 Juanma Barranquero <lekktu@gmail.com>
20166
20167 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
20168
31dfb76c
GM
201692011-05-04 Glenn Morris <rgm@gnu.org>
20170
f330b642
GM
20171 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
20172 function, so it follows changes in calendar-date-style.
20173 (diary-fancy-date-matcher): New function.
20174 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
20175 (diary-fancy-font-lock-fontify-region-function):
20176 Use diary-fancy-date-pattern as a function.
20177
31dfb76c
GM
20178 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
20179 non-numbers for `year' etc pseudo-variables. (Bug#8583)
20180
48e79d6a
TZ
201812011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
20182
20183 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
20184 instead of positional arguments. Allow :keylist and :crlfiles
20185 arguments.
20186 (open-gnutls-stream): Call it.
20187
20188 * net/network-stream.el (network-stream-open-starttls): Adjust to
20189 call `gnutls-negotiate' with :process and :hostname arguments.
20190
dd5a5ee0
SM
201912011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
20192
ef80fc09
SM
20193 * minibuffer.el (completion--message): New function.
20194 (completion--do-completion, minibuffer-complete)
20195 (minibuffer-force-complete, minibuffer-complete-word): Use it.
20196 (completion--do-completion): Don't ignore completion-auto-help when in
20197 icomplete-mode.
20198
dd5a5ee0
SM
20199 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
20200 internal encoding (e.g. tibetan zero is not whitespace).
20201 (global-whitespace-mode): Prefer save-current-buffer.
20202 (whitespace-trailing-regexp): Remove useless save-match-data.
20203 (whitespace-empty-at-bob-regexp): Minor simplification.
20204
b7d22a83
CY
202052011-05-03 Chong Yidong <cyd@stupidchicken.com>
20206
20207 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
20208
5192af46
AM
202092011-05-03 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
20210
20211 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 20212 Use `concat' to create string for insertion.
5192af46 20213
5767d190
SM
202142011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
20215
20216 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
20217 Avoid open-line which runs post-self-insert-hook.
20218 (bibtex-fill-entry): Remove unused `end' var.
20219
bf242939
AM
202202011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
20221
5767d190
SM
20222 * textmodes/ispell.el (ispell-add-per-file-word-list):
20223 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 20224
25666126
LL
202252011-05-03 Leo Liu <sdl.web@gmail.com>
20226
20227 * isearch.el (isearch-yank-pop): New command.
5767d190 20228 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
20229 (isearch-forward): Mention it.
20230
52d3c2d0
SM
202312011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
20232
1bcace58
SM
20233 * simple.el (minibuffer-complete-shell-command): Remove.
20234 (minibuffer-local-shell-command-map): Use completion-at-point.
20235 (read-shell-command): Setup completion vars here instead.
20236 (read-expression-map): Bind TAB to symbol completion.
20237
52d3c2d0
SM
20238 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
20239 error directly rather via storing it into `results'.
20240
35813471
LL
202412011-05-02 Leo Liu <sdl.web@gmail.com>
20242
20243 * vc/diff.el: Fix description.
20244
e793a940
LMI
202452011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
20246
20247 * server.el (server-eval-at): New function.
20248
8de66e05
LMI
202492011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
20250
20251 * net/network-stream.el (open-network-stream): Take a :nowait
20252 parameter and pass it on to `make-network-process'.
20253 (network-stream-open-plain): Ditto.
20254
dcb79f20
AS
202552011-04-30 Andreas Schwab <schwab@linux-m68k.org>
20256
20257 * faces.el (face-spec-set-match-display): Don't match toolkit
20258 options on terminal frames.
20259
14a7fbd8
SM
202602011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
20261
7eabc1be
SM
20262 * progmodes/pascal.el: Use lexical binding.
20263 (pascal-mode-map): Remove author preferences.
20264
14a7fbd8
SM
20265 * pcomplete.el (pcomplete-std-complete): Don't abuse
20266 completion-at-point.
20267
50f84510
JB
202682011-04-28 Juanma Barranquero <lekktu@gmail.com>
20269
6e087a44
JB
20270 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
20271 removing code that has been dead since 1991 or so.
20272
50f84510
JB
20273 * startup.el (command-line): When warning about "_emacs", use a
20274 delayed warning to allow the user to filter it out.
20275
0ba690bd
DD
202762011-04-28 Deniz Dogan <deniz@dogan.se>
20277
20278 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
20279 user has not joined.
20280
08abfaad
SM
202812011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
20282
20283 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
20284 aren't any completions at point.
20285
638f053a
JB
202862011-04-28 Juanma Barranquero <lekktu@gmail.com>
20287
20288 * subr.el (display-delayed-warnings): New function.
20289 (delayed-warnings-hook): New variable.
20290
8fff8daa
SM
202912011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
20292
08abfaad
SM
20293 * minibuffer.el (completion-at-point, completion-help-at-point):
20294 Don't presume that a given completion-at-point-function will always
20295 use the same calling convention.
20296
8fff8daa
SM
20297 * pcomplete.el (pcomplete-completions-at-point):
20298 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
20299 pcomplete-seen is non-nil.
20300 (pcomplete-comint-setup): Also recognize the new comint/shell
20301 completion functions.
20302 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
20303 pcomplete-seen is non-nil.
20304
841a1577 203052011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 20306
841a1577 20307 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 20308 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 20309 the first character in the entry. This allows for code to add its
211ec907
UJ
20310 own uid to the entry.
20311 (icalendar--convert-float-to-ical): Add export of
20312 `diary-float'-entries save for those with the optional DAY
20313 argument.
20314
2a782793
DC
203152011-04-27 Daniel Colascione <dan.colascione@gmail.com>
20316
20317 * subr.el (shell-quote-argument): Use alternate escaping strategy
20318 when we spot a variable reference in a string.
20319
0438ce91
DC
203202011-04-26 Daniel Colascione <dan.colascione@gmail.com>
20321
20322 * cus-start.el (all): Define customization for debug-on-event.
20323
841a1577 203242011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
20325
20326 * subr.el (shell-quote-argument): Escape correctly under Windows.
20327
d090ed6c
SM
203282011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
20329
20330 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
20331
bfd31217
MA
203322011-04-25 Michael Albinus <michael.albinus@gmx.de>
20333
d090ed6c
SM
20334 * net/tramp.el (tramp-process-actions): Add POS argument.
20335 Delete region between POS and (pos).
bfd31217 20336
d090ed6c
SM
20337 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
20338 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
20339 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
20340
20341 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
20342 position in `tramp-process-actions' call.
20343
20344 * net/trampver.el: Update release number.
20345
e92f3bd3
SM
203462011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
20347
850256b5
SM
20348 * custom.el (defcustom): Obey lexical-binding.
20349
e92f3bd3
SM
20350 Fix octave-inf completion problems reported by Alexander Klimov.
20351 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
20352 Inherit from octave-mode-syntax-table.
20353 (inferior-octave-mode): Set info-lookup-mode.
20354 (inferior-octave-completion-at-point): New function.
20355 (inferior-octave-complete): Use it and completion-in-region.
20356 (inferior-octave-dynamic-complete-functions): Use it as well, and use
20357 comint-filename-completion.
20358 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
20359 symbol elements which shouldn't be word elements.
20360 (octave-font-lock-keywords, octave-beginning-of-defun)
20361 (octave-function-header-regexp): Adjust regexps accordingly.
20362 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
20363
cd22b309
JB
203642011-04-25 Juanma Barranquero <lekktu@gmail.com>
20365
20366 * net/gnutls.el (gnutls-errorp): Declare before first use.
20367
8b492194
TZ
203682011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
20369
20370 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
20371 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 20372 default trustfile exists before going to use it. Add missing
5a5fa834 20373 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
20374 Reported by Claudio Bley <claudio.bley@gmail.com>.
20375 (open-gnutls-stream): Add usage example.
20376
20377 * net/network-stream.el (network-stream-open-starttls): Give host
20378 parameter to `gnutls-negotiate'.
20379 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 20380 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 20381
841a1577 203822011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 20383
cd22b309
JB
20384 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
20385 Use correct match group (bug#8438).
05842630 20386
3ba7869c
CY
203872011-04-24 Chong Yidong <cyd@stupidchicken.com>
20388
512e3ae1
CY
20389 * emacs-lisp/package.el (package-built-in-p): Fix typo.
20390 (package-menu--generate): New arg specifying packages to show.
20391 (package-menu-refresh, package-menu-execute, list-packages):
20392 Callers changed.
20393 (package-show-package-list): New function, replacing deleted
20394 package--list-packages (renamed because it is non-internal).
20395
20396 * finder.el (finder-list-matches): Use package-show-package-list
20397 instead of deleted package--list-packages.
20398
e92f3bd3
SM
20399 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
20400 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
20401 (vc-annotate-mode-map): Bind it to RET.
20402
7031be6d
UR
204032011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
20404
20405 * progmodes/etags.el (next-file): Don't use set-buffer to change
20406 buffers (Bug#8478).
20407
4ef177aa
CY
204082011-04-24 Chong Yidong <cyd@stupidchicken.com>
20409
c8d173eb
CY
20410 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
20411
4ef177aa
CY
20412 * apropos.el (apropos-label-face): Avoid variable-pitch face.
20413 (apropos-accumulator): Doc fix.
20414 (apropos-function, apropos-macro, apropos-command)
20415 (apropos-variable, apropos-face, apropos-group, apropos-widget)
20416 (apropos-plist): Add face property.
20417 (apropos-symbols-internal): Fix indentation.
20418 (apropos-print): Simplify help, and recognize apropos-multi-type.
20419 (apropos-print-doc): Use button-type-get to extract the button's
20420 face property. Fill docstring (Bug#8352).
20421
4ffd0d6b 204222011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
20423
20424 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
20425
c6c32125 20426 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 20427 (mpuz-mode-map): Use mapc.
c6c32125
JB
20428 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
20429 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
20430 Fix typos in docstrings.
20431
58d468b4
JB
20432 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
20433 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
20434
6470c3c6
JB
20435 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
20436
4ffd0d6b 204372011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
20438
20439 * minibuffer.el (completion--do-completion): Avoid the "Next char
20440 not unique" prompt if icomplete-mode is enabled (Bug#5849).
20441
3ad8bad0
CY
20442 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
20443 mouse-2 into unread-command-events, it is interpreted correctly.
20444
71d73c9c 20445 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 20446 (image-toggle-display): Doc fix.
71d73c9c 20447
841a1577 204482011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 20449
4ffd0d6b
GM
20450 * textmodes/page.el (what-page): Use line-number-at-pos to
20451 calculate line number (Bug#6825).
6e1dbaa9 20452
c2fb1b60
JB
204532011-04-22 Juanma Barranquero <lekktu@gmail.com>
20454
20455 * eshell/esh-mode.el (find-tag-interactive): Declare function.
20456 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
20457 Pass argument NO-DEFAULT to `find-tag-interactive'.
20458
e02f48d7
JB
204592011-04-22 Juanma Barranquero <lekktu@gmail.com>
20460
20461 Lexical-binding cleanup.
20462
20463 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
20464 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
20465 * progmodes/ada-prj.el (ada-prj-initialize-values)
20466 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
20467 (ada-prj-show-value):
20468 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
20469 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
20470 (antlr-invalidate-context-cache, antlr-options-menu-filter)
20471 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
20472 * progmodes/bug-reference.el (bug-reference-push-button):
20473 * progmodes/fortran.el (fortran-line-length):
20474 * progmodes/glasses.el (glasses-change):
20475 * progmodes/octave-mod.el (octave-fill-paragraph):
20476 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
20477 (python-pdbtrack-grub-for-buffer, python-sentinel):
20478 * progmodes/sql.el (sql-save-connection):
20479 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
20480 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
20481 Mark unused parameters.
20482
20483 * progmodes/compile.el (compilation--flush-directory-cache)
20484 (compilation--flush-parse, compile-internal): Mark unused parameters.
20485 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
20486 (compilation-next-error-function): Remove unused variable `timestamp'.
20487
20488 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
20489 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
20490
20491 * progmodes/dcl-mode.el (dcl-end-of-command):
20492 Remove unused variable `start'.
20493 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
20494 (dcl-option-value-basic, dcl-option-value-offset)
20495 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
20496 Mark unused parameters.
20497 (dcl-save-local-variable): Remove unused variable `val'.
20498 (mode): Declare.
20499
20500 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
20501 Mark unused parameters.
20502 (delphi-ignore-changes): Move before first use.
20503 (delphi-charset-token-at): Remove unused variable `start'.
20504 (delphi-else-start): Remove unused variable `if-count'.
20505 (delphi-comment-block-start, delphi-comment-block-end):
20506 Remove unused variable `kind'.
20507 (delphi-indent-line): Remove unused variable `new-point'.
20508
20509 * progmodes/ebrowse.el (ebrowse-files-list)
20510 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
20511 Mark unused parameters. Don't quote `lambda'.
20512 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
20513 Don't quote `lambda'.
20514 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
20515 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
20516 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
20517 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
20518 Use `ignore-errors'.
20519 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
20520 (ebrowse-view/find-file-and-search-pattern)
20521 (ebrowse-view/find-member-declaration/definition):
20522 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
20523 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
20524 Rename parameter PREFIX-ARG to PREFIX.
20525 (ebrowse-tags-read-name): Remove unused variables `start' and
20526 `member-info'.
20527 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
20528 to `tags-file'.
20529
20530 * progmodes/etags.el (local-find-tag-hook): Declare.
20531 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
20532 Mark unused parameters.
20533
20534 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
20535 (executable-interpret): Mark unused parameter.
20536
20537 * progmodes/flymake.el (flymake-process-sentinel)
20538 (flymake-after-change-function)
20539 (flymake-create-temp-with-folder-structure)
20540 (flymake-get-include-dirs-dot): Mark unused parameters.
20541 (flymake-safe-delete-directory): Remove unused variable `err'.
20542
20543 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
20544 (speedbar-timer-fn, speedbar-line-text)
20545 (speedbar-change-expand-button-char, speedbar-delete-subblock)
20546 (speedbar-center-buffer-smartly): Declare functions.
20547 (gdb-find-watch-expression): Remove unused variable `array'.
20548 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
20549 (gdb-starting): Mark unused parameters.
20550 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
20551 (gdb-table-string): Remove unused variable `res'.
20552 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
20553 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
20554 (gdb-display-buffer): Remove unused variable `cur-size'.
20555
20556 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
20557 allow lexical-binding compilation.
20558 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
20559 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
20560 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
20561 Mark unused parameters.
20562 (gud-gdb-marker-filter): Remove unused variable `match'.
20563 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
20564 lambda expressions and funcall them, instead of using `fset'.
20565
20566 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
20567 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
20568
20569 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
20570 variable `header-beg'; use `let'.
20571
20572 * progmodes/icon.el (indent-icon-exp): Remove unused variables
20573 `restart', `last-sexp' and `at-do'.
20574
20575 * progmodes/js.el (js--debug): Mark unused parameter.
20576 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
20577 (js--splice-into-items): Remove unused variable `item'.
20578 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
20579
20580 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
20581 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
20582 (makefile-complete): Remove unused variable `try'.
20583 (makefile-fill-paragraph, makefile-match-function-end):
20584 Mark unused parameters.
20585
20586 * progmodes/octave-inf.el (inferior-octave-complete):
20587 Remove unused variable `proc'.
20588 (inferior-octave-output-digest): Mark unused parameter.
20589
20590 * progmodes/perl-mode.el (perl-calculate-indent):
20591 Remove unused variable `err'.
20592
20593 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
20594 (prolog-indent-line): Mark unused parameters.
20595 (prolog-indent-line): Remove unused variable `beg'.
20596
20597 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
20598 (reporter-dont-compact-list): Declare.
20599
20600 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
20601 Remove unused variable `char'.
20602 (sh-debug): Mark unused parameter.
20603 (sh-get-indent-info): Remove unused variable `start'.
20604 (sh-calculate-indent): Remove unused variable `var'.
20605
20606 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
20607 (simula-electric-keyword): Remove unused variable `null'.
20608 (simula-search-backward, simula-search-forward): Remove unused
20609 variables `begin' and `end'.
20610
20611 * progmodes/vera-mode.el (vera-guess-basic-syntax):
20612 Remove unused variable `pos'.
20613 (vera-electric-tab, vera-comment-uncomment-region):
20614 Mark unused parameters.
20615 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
20616
7ede3b65
CY
206172011-04-22 Chong Yidong <cyd@stupidchicken.com>
20618
20619 * emacs-lisp/package.el (package--builtins, package-alist)
20620 (package-load-descriptor, package-built-in-p, package-activate)
20621 (define-package, package-installed-p)
20622 (package-compute-transaction, package-buffer-info)
20623 (package--push): Doc fix. Distinguish more clearly between
20624 version strings and version lists.
20625
121656e9
JB
206262011-04-21 Juanma Barranquero <lekktu@gmail.com>
20627
20628 Lexical-binding cleanup.
20629
20630 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
20631 (5x5-make-mutate-best):
20632 * play/fortune.el (fortune-in-buffer):
20633 * play/gomoku.el (gomoku-init-display):
20634 * play/solitaire.el (solitaire, solitaire-do-check):
20635 * play/tetris.el (tetris-default-update-speed-function):
20636 Mark unused parameters.
20637
20638 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
20639 (bubbles--shift): Remove unused variable `char-org'.
20640 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
20641 (bubbles--show-images): Remove unused variable `char'.
20642
20643 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
20644 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
20645 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
20646 (decipher-analyze-buffer): Use ?\s.
20647 (decipher-make-checkpoint): Remove unused variable `mapping'.
20648
20649 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
20650
20651 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
20652 Remove unused variable `result'; use `let'.
20653
20654 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
20655 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
20656 (gametree-children-shown-p, gametree-compute-reduced-score):
20657 Use `ignore-errors'.
20658
20659 * play/handwrite.el (ps-lpr-switches): Declare.
20660 (handwrite): Remove unused variables `pmin' and `lastp'.
20661
20662 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
20663
20664 * play/landmark.el (landmark-init-display)
20665 (landmark-update-naught-weights): Mark unused parameters.
20666 (landmark-y): Remove unused variable `noise'. Simplify.
20667 (landmark-human-plays): Remove unused variable `score'.
20668
20669 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
20670 (mpuz-try-proposal): Remove unused variable `game'.
20671
20672 * play/zone.el (life-patterns): Declare.
20673
80f499c7
JB
206742011-04-20 Juanma Barranquero <lekktu@gmail.com>
20675
20676 * vc/vc.el (ediff-vc-internal): Declare function.
20677
024ff170
SM
206782011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
20679
c0a193ea
SM
20680 * shell.el: Use lexical-binding and std completion UI.
20681 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
20682 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
20683 comint-preoutput-filter-functions rather than on
20684 comint-output-filter-functions.
20685 (shell-command-completion, shell--command-completion-data)
20686 (shell-filename-completion, shell-environment-variable-completion)
20687 (shell-c-a-p-replace-by-expanded-directory): New functions.
20688 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
20689 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
20690 (shell-dynamic-complete-environment-variable): Use them.
20691 (shell-dynamic-complete-as-environment-variable)
20692 (shell-dynamic-complete-as-command): Remove.
20693 (shell-match-partial-variable): Match past point.
20694 * comint.el: Clean up use of completion-at-point-functions.
20695 (comint-completion-at-point): New function.
20696 (comint-mode): Use it completion-at-point-functions.
20697 (comint-dynamic-complete): Make it obsolete.
20698 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
20699 (comint-c-a-p-replace-by-expanded-history): New function.
20700 (comint-dynamic-complete-functions)
20701 (comint-replace-by-expanded-history): Use it.
20702 * minibuffer.el (completion-table-with-terminator): Allow dynamic
20703 termination strings. Try harder to avoid second try-completion.
20704 (completion-in-region-mode-map): Disable bindings that don't work yet.
20705
2dbaa080
SM
20706 * comint.el: Use lexical-binding. Require CL.
20707 (comint-dynamic-complete-functions): Use comint-filename-completion.
20708 (comint-completion-addsuffix): Tweak custom type.
20709 (comint-filename-completion, comint--common-suffix)
20710 (comint--common-quoted-suffix, comint--table-subvert)
20711 (comint--complete-file-name-data): New functions.
20712 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
20713 (comint-dynamic-list-filename-completions): Use them.
20714 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 20715
2dbaa080
SM
20716 * minibuffer.el (completion-in-region-mode):
20717 Keep completion-in-region-mode--predicate global.
20718 (completion-in-region--postch):
20719 Assume completion-in-region-mode--predicate is not null.
20720
c79a6f38
SM
20721 * progmodes/flymake.el (flymake-start-syntax-check-process):
20722 Obey `dir'. Simplify.
20723
024ff170
SM
20724 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
20725 we're in VC after all.
20726
1c6c854e
CS
207272011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
20728
20729 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 20730 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
20731 (vc-version-diff): Use vc-diff-build-argument-list-internal.
20732
bed7f140
SM
207332011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
20734
332e62ab
SM
20735 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
20736 add sanity check.
20737
bed7f140
SM
20738 * obsolete/erc-hecomplete.el: Make obsolete.
20739 * obsolete/: Standardize obsolescence info in the header.
20740
f195c582
GM
207412011-04-20 Glenn Morris <rgm@gnu.org>
20742
20743 * calendar/solar.el (solar-horizontal-coordinates):
20744 Use the longitude argument rather than `calendar-longitude'.
20745 (solar-date-next-longitude): Remove unused locals.
20746
cb79b8c0
VJL
207472011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
20748
20749 * whitespace.el: New version 13.2.1.
20750
207512011-04-20 felix <EmacsWiki> (tiny change)
20752
d8e4b68b 20753 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
20754 switching between major modes on a file.
20755
602ea69d
SM
207562011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
20757
20758 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
20759 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
20760 multi-line comments as well.
20761
06b60517
JB
207622011-04-19 Juanma Barranquero <lekktu@gmail.com>
20763
20764 Lexical-binding cleanup.
20765
20766 * arc-mode.el (archive-mode-revert):
20767 * cmuscheme.el (scheme-interactively-start-process):
20768 * custom.el (custom-initialize-delay):
20769 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
20770 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
20771 * emacs-lock.el (emacs-lock-clear-sentinel):
20772 * ezimage.el (defezimage):
20773 * follow.el (follow-avoid-tail-recenter):
20774 * fringe.el (set-fringe-mode-1):
20775 * generic-x.el (bat-generic-mode-compile):
20776 * help-mode.el (help-info-variable, help-do-xref)
20777 (help-mode-revert-buffer):
20778 * help.el (view-emacs-todo):
20779 * iswitchb.el (iswitchb-completion-help):
20780 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
20781 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
20782 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
20783 * locate.el (locate-update):
20784 * longlines.el (longlines-encode-region)
20785 (longlines-after-change-function):
20786 * outline.el (outline-isearch-open-invisible):
20787 * ps-def.el (declare-function, charset-dimension, char-width)
20788 (encode-char):
20789 * ps-mule.el (ps-mule-plot-string):
20790 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
20791 (recentf-edit-list-select, recentf-edit-list-validate)
20792 (recentf-open-files-action):
20793 * rect.el (delete-whitespace-rectangle-line)
20794 (rectangle-number-line-callback):
20795 * register.el (window-configuration-to-register)
20796 (frame-configuration-to-register):
20797 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
20798 * select.el (xselect-convert-to-string, xselect-convert-to-length)
20799 (xselect-convert-to-targets, xselect-convert-to-delete)
20800 (xselect-convert-to-filename, xselect-convert-to-charpos)
20801 (xselect-convert-to-lineno, xselect-convert-to-colno)
20802 (xselect-convert-to-os, xselect-convert-to-host)
20803 (xselect-convert-to-user, xselect-convert-to-class)
20804 (xselect-convert-to-name, xselect-convert-to-integer)
20805 (xselect-convert-to-atom, xselect-convert-to-identity):
20806 * subr.el (declare, ignore, process-kill-without-query)
20807 (text-clone-maintain):
20808 * terminal.el (te-get-char, te-tic-sentinel):
20809 * tool-bar.el (tool-bar-make-keymap):
20810 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
20811 * type-break.el (type-break-mode, type-break-noninteractive-query):
20812 * view.el (View-back-to-mark):
20813 * wid-browse.el (widget-browse-action, widget-browse-widget)
20814 (widget-browse-widgets, widget-browse-sexp):
20815 * widget.el (define-widget-keywords):
20816 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
20817 Mark unused parameters.
20818
20819 * align.el (align-adjust-col-for-rule): Mark unused parameter.
20820 (align-areas): Remove unused variable `look'.
20821 (align-region): Remove unused variables `real-end' and `pos-list'.
20822
20823 * apropos.el (apropos-score-doc): Remove unused variable `i'.
20824
20825 * bindings.el (mode-line-modified, mode-line-remote):
20826 Mark unused parameters.
20827 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
20828
20829 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
20830 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
20831
20832 * comint.el (comint-history-isearch-pop-state)
20833 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
20834 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
20835 (comint-substitute-in-file-name): Doc fix.
20836
20837 * completion.el (cmpl-statistics-block): Mark unused parameter.
20838 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
20839 (save-completions-to-file, load-completions-from-file):
20840 Remove unused local variable `e'.
20841
20842 * composite.el (compose-chars): Remove unused variable `len'.
20843 (lgstring-insert-glyph): Remove unused variable `g'.
20844 (compose-glyph-string): Remove unused variables `ascent',
20845 `descent', `lbearing' and `rbearing'.
20846 (compose-glyph-string-relative): Remove unused variables
20847 `lbearing', `rbearing' and `wadjust'.
20848 (compose-gstring-for-graphic): Remove unused variables `header',
20849 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
20850 (compose-gstring-for-terminal): Remove unused variables `header'
20851 and `nchars'. Use `let', not `let*'.
20852
20853 * cus-edit.el (Custom-set, Custom-save, custom-reset)
20854 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
20855 (Custom-buffer-done, custom-buffer-create-internal)
20856 (custom-browse-visibility-action, custom-browse-group-tag-action)
20857 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
20858 (widget-magic-mouse-down-action, custom-toggle-parent)
20859 (custom-add-parent-links, custom-toggle-hide-variable)
20860 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
20861 (custom-toggle-hide-face, face, hook, custom-group-link-action)
20862 (custom-face-menu-create, custom-variable-menu-create, get)
20863 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
20864 (custom-reset-standard-save-and-update): Remove unused variable `value'.
20865 (customize-apropos): Remove unused variable `tests'.
20866 (custom-group-value-create): Remove unused variable `hidden-p'.
20867 (sort-fold-case): Declare.
20868
20869 * cus-theme.el (custom-reset-standard-faces-list)
20870 (custom-reset-standard-variables-list): Declare.
20871 (customize-create-theme, custom-theme-revert, custom-theme-write)
20872 (custom-theme-choose-mode, customize-themes, custom-theme-save):
20873 Mark unused parameters.
20874
20875 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
20876
20877 * delim-col.el (delimit-columns-max): Move defvar before first use.
20878
20879 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 20880 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
20881
20882 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
20883 (auto-insert): Declare.
20884 (desktop-restore-file-buffer): Rename desktop-* parameters;
20885 mark unused ones.
20886 (desktop-create-buffer): Rename desktop-* parameters and bind them.
20887 (desktop-buffer): Rename desktop-* parameters.
20888
20889 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
20890 (dframe-reposition-frame-xemacs, dframe-help-echo)
20891 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
20892 Mark unused parameters.
20893
20894 * dired-aux.el (backup-extract-version-start, overwrite-query)
20895 (overwrite-backup-query, rename-regexp-query)
20896 (rename-non-directory-query): Declare.
20897 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
20898 (dired-add-entry): Remove unused variable `orig-file-name'.
20899 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
20900 Use parameter PRESERVE-TIME instead of accessing dynamic variable
20901 `dired-copy-preserve-time' directly.
20902 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
20903 (dired-insert-subdir-newpos): Rename unused variable `pos'.
20904
20905 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
20906 (dired-virtual-revert, dired-make-relative-symlink):
20907 Mark unused parameters.
20908 (manual-program): Declare.
20909 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
20910 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
20911 wrapped in `with-no-warnings' to avoid replacing one warning by another.
20912
20913 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
20914
20915 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
20916
20917 * echistory.el (electric-history-in-progress, Helper-return-blurb):
20918 Declare.
20919
20920 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
20921
20922 * electric.el (Electric-command-loop): Rename parameter
20923 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
20924
20925 * expand.el (expand-in-literal): Remove unused variable `here'.
20926
20927 * facemenu.el (facemenu-add-new-color):
20928 Remove unused variable `docstring'.
20929
20930 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
20931 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
20932 (face-attr-construct): Mark unused parameter. Doc fix.
20933 (read-color): Remove unused variable `hex-string'.
20934
20935 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
20936 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
20937 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
20938 (display-buffer-other-frame): Remove unused variable `old-window'.
20939 (kill-buffer-hook): Declare.
20940 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
20941 Mark unused parameters.
20942 (after-find-file): Pass 1 to `auto-save-mode', not t.
20943
20944 * files-x.el (auto-insert): Declare.
20945 (modify-file-local-variable-prop-line): Remove unused variable `val'.
20946
20947 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 20948 variable `buf'. Mark unused parameter.
06b60517
JB
20949 (find-lisp-insert-directory): Mark unused parameter.
20950
20951 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
20952 (format-encode-region): Remove unused variables `cur-buf' and `result'.
20953 (format-common-tail): Remove, unused.
20954 (format-deannotate-region): Remove unused variable `loc'.
20955 (format-annotate-region): Remove unused variable `p'.
20956 (format-annotate-single-property-change): Remove unused variables
20957 `default' and `tail'.
20958
20959 * forms.el (read-file-filter): Declare.
20960 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
20961
20962 * frame.el (frame-creation-function-alist): Mark unused parameter.
20963 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
20964
20965 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
20966 Remove unused parameters.
20967 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
20968 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
20969
20970 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
20971 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
20972 (hfy-prepare-tag-map): Mark unused parameters.
20973 (htmlfontify-buffer): Use `called-interactively-p'.
20974
20975 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
20976 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
20977 (ibuffer-do-occur): Mark unused parameters.
20978 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
20979 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
20980
20981 * ibuffer.el: Don't quote `lambda'.
20982 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
20983 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
20984 Mark unused parameters.
20985
20986 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
20987 (ido-completing-read): Mark unused parameters.
20988 (ido-copy-current-word): Mark unused parameters;
20989 remove unused variable `name'.
20990 (ido-sort-merged-list): Remove unused parameter `dirs'.
20991
20992 * ielm.el (ielm-input-sender): Mark unused parameter.
20993 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
20994 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
20995 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
20996 `ielm-string' as a dynamic variable accessible from the IELM prompt.
20997 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
20998
20999 * image-dired.el (image-dired-display-thumbs): Remove unused
21000 variables `curr-file' and `count'.
21001 (image-dired-remove-tag): Remove unused variable `start'.
21002 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
21003 variable `curr-file'
21004 (image-dired-rotate-original): Remove unused variable `temp-file'.
21005 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
21006 Remove unused variable `file'.
21007 (image-dired-gallery-generate): Remove unused variable `curr'.
21008 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
21009
21010 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
21011
21012 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
21013
21014 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
21015
21016 * isearch.el (minibuffer-history-symbol): Declare.
21017 (isearch-edit-string): Remove unused variable `err'.
21018 (isearch-message-prefix, isearch-message-suffix):
21019 Mark unused parameters.
21020
21021 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
21022
21023 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
21024
21025 * makesum.el (double-column): Remove unused variable `cnt'.
21026
21027 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
21028 (ido-ignore-item-temp-list): Declare.
21029
21030 * mouse-drag.el (mouse-drag-throw): Remove unused variables
21031 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
21032 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
21033 (mouse-drag-drag): Remove unused variables `mouse-delta' and
21034 `mouse-col-delta'.
21035
21036 * mouse-sel.el (mouse-extend-internal):
21037 Remove unused variable `orig-window-frame'.
21038
21039 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
21040 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
21041 Move declarations before first use.
21042 (pcomplete-opt): Mark unused parameters; doc fix.
21043
21044 * proced.el (proced-revert): Mark unused parameter.
21045 (proced-send-signal): Remove unused variable `err'.
21046
21047 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
21048 Rename parameter PREFIX-ARG to ARG.
21049 (ps-basic-plot-string, ps-basic-plot-whitespace):
21050 Mark unused parameters.
21051
21052 * replace.el (replace-count): Define.
21053 (occur-revert-function): Mark unused parameters.
21054 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
21055 (isearch-case-fold-search, isearch-string): Declare.
21056 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
21057 bind `case-fold-search'. Remove unused variables `beg' and `end',
21058 and simplify.
21059 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
21060 COUNT and bind `replace-count'.
21061 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
21062 to COUNT.
21063
21064 * savehist.el (print-readably, print-string-length): Declare.
21065
21066 * shadowfile.el (shadow-expand-cluster-in-file-name):
21067 Remove unused variable `cluster'.
21068 (shadow-copy-file): Remove unused variable `i'.
21069 (shadow-noquery, shadow-clusters, shadow-site-cluster)
21070 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
21071 (shadow-define-literal-group, shadow-define-regexp-group)
21072 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
21073
21074 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
21075 (shell): Use `called-interactively-p'.
21076 (shell-directory-tracker): Remove unused variable `chdir-failure'.
21077
21078 * simple.el (compilation-context-lines, comint-file-name-quote-list)
21079 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
21080 (delete-backward-char): Remove unused variable `ocol'.
21081 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
21082 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
21083 (event-apply-hyper-modifier, event-apply-shift-modifier)
21084 (event-apply-control-modifier, event-apply-meta-modifier):
21085 Mark unused parameters.
21086 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
21087 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
21088
21089 * speedbar.el (speedbar-ignored-directory-expressions)
21090 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
21091 (speedbar-find-file, speedbar-dir-follow)
21092 (speedbar-directory-buttons-follow, speedbar-tag-find)
21093 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
21094 (speedbar-buffers-line-directory, speedbar-buffer-click):
21095 Mark unused parameters.
21096 (speedbar-tag-file): Remove unused variable `mode'.
21097 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
21098
21099 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
21100
21101 * talk.el (talk): Remove unused variable `display'.
21102
21103 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
21104 (tar-write-region-annotate): Mark unused parameter.
21105
21106 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
21107 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
21108 Declare them, wrapped in `with-no-warnings' to avoid replacing one
21109 warning by another.
21110
21111 * time-stamp.el (time-stamp-string-preprocess):
21112 Remove unused variable `require-padding'.
21113
21114 * tree-widget.el (widget-glyph-enable): Declare.
21115 (tree-widget-action): Mark unused parameter.
21116
21117 * w32-fns.el (x-get-selection): Mark unused parameter.
21118 (autoload-make-program, generated-autoload-file): Declare.
21119
21120 * wdired.el (wdired-revert): Mark unused parameters.
21121 (wdired-xcase-word): Remove unused variable `err'.
21122
21123 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
21124 (whitespace-help-scroll): Remove unused variable `data-help'.
21125
21126 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
21127 (widget-image-insert, widget-after-change, default)
21128 (widget-default-format-handler, widget-default-notify)
21129 (widget-default-prompt-value, widget-info-link-action)
21130 (widget-url-link-action, widget-function-link-action)
21131 (widget-variable-link-action, widget-file-link-action)
21132 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
21133 (widget-field-prompt-internal, widget-field-action, widget-field-match)
21134 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
21135 (widget-insert-button-action, widget-delete-button-action, visibility)
21136 (widget-documentation-link-action, widget-documentation-string-action)
21137 (widget-const-prompt-value, widget-regexp-match, symbol)
21138 (widget-coding-system-prompt-value)
21139 (widget-key-sequence-value-to-external, sexp)
21140 (widget-sexp-value-to-internal, character, vector, cons)
21141 (widget-choice-prompt-value, widget-boolean-prompt-value)
21142 (widget-color--choose-action): Mark unused parameters.
21143 (widget-item-match-inline, widget-choice-match-inline)
21144 (widget-checklist-match, widget-checklist-match-inline)
21145 (widget-group-match): Rename parameter VALUES to VALS.
21146 (widget-field-value-set): Remove unused variable `size'.
21147 (widget-color-action): Remove unused variables `value' and `start'.
21148
21149 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 21150 variable `dir'. Doc fix.
06b60517
JB
21151 (windmove-find-other-window): Don't pass it.
21152
21153 * window.el (count-windows): Mark unused parameter.
21154 (bw-adjust-window): Remove unused variable `err'.
21155
21156 * woman.el (woman-file-name): Remove unused variable `default'.
21157 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
21158 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
21159 (global-font-lock-mode): Declare.
21160 (woman-decode-region): Mark unused parameter.
21161 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
21162
21163 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
21164 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
21165 (x-dnd-handle-moz-url): Remove unused variable `title'.
21166 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
21167
21168 * xml.el (xml-parse-tag, xml-parse-attlist):
21169 Remove unused variable `pos'.
21170
bc4f7f3d
GM
211712011-04-19 Glenn Morris <rgm@gnu.org>
21172
21173 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
21174 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
21175 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
21176 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
21177 * calendar/cal-html.el (cal-html-insert-minical):
21178 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
21179 (calendar-mark-date-pattern):
21180 Prefix "unused" locals.
21181
21182 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
21183 optional argument `style'.
21184
21185 * calendar/appt.el (appt-make-list):
21186 * calendar/cal-china.el (calendar-chinese-date-string):
21187 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
21188 (diary-hebrew-yahrzeit):
21189 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
21190 * calendar/calendar.el (calendar-generate-window):
21191 * calendar/time-date.el (time-to-days):
21192 Remove unused local variables.
21193
16a43933
CY
211942011-04-18 Chong Yidong <cyd@stupidchicken.com>
21195
21196 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
21197 glyphless-char-display table.
21198 (tabulated-list-glyphless-char-display): New var.
21199
7eed1860
SS
212002011-04-18 Sam Steingold <sds@gnu.org>
21201
21202 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
21203 to acknowledgments.
21204
4d2d1ccd
GM
212052011-04-17 Glenn Morris <rgm@gnu.org>
21206
21207 * calendar/diary-lib.el (diary-sexp-entry):
21208 * calendar/holidays.el (holiday-sexp):
21209 Set debug-on-error rather than the removed stack-trace-on-error.
21210
239da61d
GM
212112011-04-16 Glenn Morris <rgm@gnu.org>
21212
21213 * progmodes/f90.el: Use lexical-binding.
21214 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
21215
8b05752a
SM
212162011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
21217
daca8ba5
SM
21218 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
21219 (mail-mode): Setup mailalias completion here instead.
21220 * mail/mailalias.el: Use lexical-binding.
21221 (pattern, mailalias-done): Declare dynamic.
21222 (mail-completion-at-point-function): New function, from mail-complete.
21223 (mail-complete): Use it.
21224 (mail-completion-expand): New function.
21225 (mail-get-names): Use it.
21226 (mail-directory, mail-directory-process, mail-directory-stream):
21227 Don't use `pattern' for lexically bound arg.
21228
6f542485
SM
21229 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
21230
037e7c3f
SM
21231 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
21232 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
21233 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
21234
8b05752a
SM
21235 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
21236 (byte-save-window-excursion, byte-temp-output-buffer-setup)
21237 (byte-interactive-p): Define them again, for use when inlining
21238 old code.
21239
49093f60
JB
212402011-04-15 Juanma Barranquero <lekktu@gmail.com>
21241
21242 * loadup.el: Use `string-to-number', not `string-to-int'.
21243
b5b8e7de
SM
212442011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
21245
21246 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
21247 gud-gdb-complete-command.
21248 (gud-gdb-completions): New function, from gud-gdb-complete-command.
21249 (gud-gdb-completion-at-point): New function.
21250 (gud-gdb-completions): Remove.
21251
f42efeb5
MA
212522011-04-14 Michael Albinus <michael.albinus@gmx.de>
21253
49093f60
JB
21254 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
21255 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
21256 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
21257 whether `executable-find' is bound.
f42efeb5
MA
21258
21259 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
21260
e240cc21
SM
212612011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
21262
21263 * minibuffer.el (completion-in-region-mode-predicate)
21264 (completion-in-region-mode--predicate): New vars.
21265 (completion-in-region, completion-in-region--postch)
21266 (completion-in-region-mode): Use them.
21267 (completion--capf-wrapper): Also return the hook function.
21268 (completion-at-point, completion-help-at-point):
21269 Adjust and provide a predicate.
c2bd2ab0
SM
21270
21271 Preserve arg names for advice of subr and lexical functions (bug#8457).
21272 * help-fns.el (help-function-arglist): Consolidate the subr and
21273 new-byte-code cases. Add argument `preserve-names' to extract names
21274 from the docstring when needed.
21275 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
21276 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
21277 (ad-arglist): Use help-function-arglist's new arg.
21278 (ad-definition-type): Use cond.
21279
c183f693
JB
212802011-04-13 Juanma Barranquero <lekktu@gmail.com>
21281
06641a47
JB
21282 * autorevert.el (auto-revert-handler):
21283 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
21284 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
21285 Don't quote lambda.
21286
c183f693
JB
21287 * image-mode.el (image-transform-set-scale):
21288 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
21289
1e3b6001
G
212902011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
21291
21292 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 21293 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
21294 Upgrades via gnutls-cli are too slow to be done opportunistically.
21295
2d6af8dd
JB
212962011-04-12 Juanma Barranquero <lekktu@gmail.com>
21297
21298 * dframe.el (dframe-current-frame): Remove spurious quote.
21299
c0749a51
GM
213002011-04-12 Glenn Morris <rgm@gnu.org>
21301
088d0d61
GM
21302 * calendar/cal-tex.el (cal-tex-end-document):
21303 Try to automatically use latin1 input if needed.
21304
c0749a51
GM
21305 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
21306 Don't try to cons a mark onto an empty element.
21307
5c90fde0
LL
213082011-04-11 Leo Liu <sdl.web@gmail.com>
21309
21310 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
21311 buffers.
21312 (ido-kill-buffer-at-head): Support killing virtual buffers.
21313
369e974d
CY
213142011-04-10 Chong Yidong <cyd@stupidchicken.com>
21315
21316 * minibuffer.el (completion-show-inline-help): New var.
21317 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
21318 (minibuffer-force-complete, minibuffer-complete-word):
21319 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
21320
21321 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
21322 to avoid interference from inline help (Bug#5849).
21323
37f1c930
LL
213242011-04-10 Leo Liu <sdl.web@gmail.com>
21325
099c39a4
JB
21326 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
21327 Fix typo.
37f1c930 21328
a32d4040
CY
213292011-04-09 Chong Yidong <cyd@stupidchicken.com>
21330
21331 * image-mode.el (image-toggle-display-image): Signal an error if
21332 not in Image mode.
21333 (image-transform-mode, image-transform-resize)
21334 (image-transform-set-rotation): Doc fix.
daca8ba5 21335 (image-transform-set-resize): Delete.
a32d4040
CY
21336 (image-transform-set-scale, image-transform-fit-to-height)
21337 (image-transform-fit-to-width): Handle image-toggle-display-image
21338 and image-transform-resize directly.
21339
099c39a4 213402011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
21341
21342 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
21343 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
21344 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
21345 (doc-view-mode-map): Add bindings for the new functions.
21346
099c39a4 213472011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 21348
4d61f28d 21349 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
21350 Fix typo in docstring.
21351
3726838a
EZ
213522011-04-08 Eli Zaretskii <eliz@gnu.org>
21353
04f33f1e
EZ
21354 * files.el (file-size-human-readable): Produce one digit after
21355 decimal, like "ls -lh" does.
21356
21357 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
21358 the file size representation.
21359
3726838a
EZ
21360 * simple.el (list-processes): If async subprocesses are not
21361 available, error out with a clear error message.
21362
cbb59342
CY
213632011-04-08 Chong Yidong <cyd@stupidchicken.com>
21364
21365 * help.el (help-form-show): New function, to be called from C.
21366 Put help-form output in a buffer named differently than *Help*.
21367
e3971c44
EZ
213682011-04-08 Eli Zaretskii <eliz@gnu.org>
21369
21370 * files.el (file-size-human-readable): New function.
21371
21372 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
21373 computing the representation inline. Don't require `cl'.
21374
12544bbe
GM
213752011-04-08 Glenn Morris <rgm@gnu.org>
21376
a1de6c6a
GM
21377 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
21378
3c4671f4
GM
21379 * net/browse-url.el (browse-url-firefox):
21380 Test system-type, not system-configuration.
21381
b605679c
GM
21382 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
21383 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
21384 Use log-edit-empty-buffer-p. (Bug#7598)
21385
56442f0c
GM
21386 * net/rlogin.el (rlogin-process-connection-type): Simplify.
21387 (rlogin-mode-map): Initialize in the defvar.
21388 (rlogin): Use ignore-errors.
21389
12544bbe
GM
21390 * replace.el (occur-mode-map): Some fixes for menu items.
21391
eb237b0f
AH
213922011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
21393
21394 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
21395
7d668f2c
CY
213962011-04-06 Chong Yidong <cyd@stupidchicken.com>
21397
e67a13ab
CY
21398 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
21399 issuing unused warnings.
21400
21401 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
21402 macro directly.
21403
7d668f2c
CY
21404 * simple.el: Lisp reimplement of list-processes. Based on an
21405 earlier reimplementation by Leo Liu, but using tabulated-list.el.
21406 (process-menu-mode): New major mode.
21407 (list-processes--refresh, list-processes):
21408 (process-menu-visit-buffer): New functions.
21409
21410 * files.el (save-buffers-kill-emacs): Don't assume any return
21411 value of list-processes, which is undocumented anyway.
21412
a83ec3c9
CY
214132011-04-06 Chong Yidong <cyd@stupidchicken.com>
21414
21415 * emacs-lisp/tabulated-list.el: New file.
21416
e91a96fe
CY
21417 * emacs-lisp/package.el: Use Tabulated List mode.
21418 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
21419 (package-menu-mode): Derive from tabulated-list-mode. Set up the
21420 table format using Tabulated List mode variables.
21421 (package--push): New macro, replacing package-list-maybe-add.
21422 (package-menu--generate): Use package--push. Renamed from
21423 package--generate-package-list.
21424 (package-menu-refresh, list-packages): Use it.
daca8ba5 21425 (package-menu--print-info): Rename from package-print-package.
e91a96fe 21426 Return insertion data instead of inserting it directly.
099c39a4
JB
21427 (package-menu-describe-package, package-menu-execute):
21428 Use tabulated-list-get-id.
e91a96fe
CY
21429 (package-menu-mark-delete, package-menu-mark-install)
21430 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
21431 (package-menu-mark-obsolete-for-deletion):
21432 Use tabulated-list-put-tag.
e91a96fe
CY
21433 (package--list-packages, package-menu-revert)
21434 (package-menu-get-package, package-menu-get-version)
21435 (package-menu-sort-by-column): Functions deleted.
21436 (package-menu-package-list, package-menu-sort-key): Vars deleted.
21437 (package-menu--status-predicate, package-menu--version-predicate)
21438 (package-menu--name-predicate)
21439 (package-menu--description-predicate): Handle arguments in the
21440 Tabulated List format.
21441 (package-list-packages-no-fetch): Call list-packages.
21442
3e214b50
JB
214432011-04-06 Juanma Barranquero <lekktu@gmail.com>
21444
21445 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 21446 (after-find-file): Don't bind it.
3e214b50
JB
21447 (revert-buffer-in-progress-p): New variable.
21448 (revert-buffer): Bind it.
21449 Pass nil for `after-find-file-from-revert-buffer'.
21450
21451 * saveplace.el (save-place-find-file-hook): Use new variable
21452 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
21453
3f0f1700
GM
214542011-04-06 Glenn Morris <rgm@gnu.org>
21455
c0274801
GM
21456 * Makefile.in (AUTOGEN_VCS): New variable.
21457 (autoloads): Use $AUTOGEN_VCS.
21458
3f0f1700
GM
21459 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
21460 * calendar/calendar.el (calendar-mode-map):
21461 Check for toolkit scroll bars. (Bug#8305)
21462
41ea9e48
CY
214632011-04-05 Chong Yidong <cyd@stupidchicken.com>
21464
21465 * minibuffer.el (completion-in-region--postch)
21466 (completion-in-region-mode): Remove unnecessary messages.
21467
6194c800
JB
214682011-04-05 Juanma Barranquero <lekktu@gmail.com>
21469
33256f14
JB
21470 * font-lock.el (font-lock-refresh-defaults):
21471 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
21472 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
21473
6194c800
JB
21474 * info.el (Info-directory-list, Info-read-node-name-2)
21475 (Info-split-parameter-string): Doc fixes.
21476 (Info-virtual-nodes): Reflow docstring.
21477 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
21478 (Info-apropos-toc-nodes, info-finder, Info-get-token)
21479 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
21480 Fix typos in docstrings.
21481 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
21482 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
21483 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
21484 (Info-restore-desktop-buffer): Mark unused parameters.
21485 (Info-directory-find-file, Info-directory-find-node)
21486 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
21487 (Info-virtual-index-find-node, Info-apropos-find-file)
21488 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 21489 Mark unused parameters; fix typos in docstrings.
6194c800
JB
21490 (Info-virtual-index): Remove unused local variable `nodename'.
21491
b87a8200 214922011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 21493
b87a8200
DD
21494 * net/rcirc.el: Update my e-mail address.
21495 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 21496
3b2ff876
CY
214972011-04-05 Chong Yidong <cyd@stupidchicken.com>
21498
21499 * startup.el (command-line): Save the cursor's theme-face
21500 directly, instead of using face-override-spec.
21501
21502 * custom.el (load-theme): Minor optimization in assigning faces.
21503
8d17e7ca
JB
215042011-04-04 Juanma Barranquero <lekktu@gmail.com>
21505
21506 * help-fns.el (describe-variable): Complete all variables having
21507 documentation, including keywords.
21508 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
21509
2fbc1934
JB
215102011-04-04 Juanma Barranquero <lekktu@gmail.com>
21511
21512 Convert to lexical-binding.
21513
21514 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
21515 (bs--get-marked-string, bs--get-modified-string)
21516 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
21517 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
21518 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
21519
21520 * ehelp.el (electric-help-execute-extended)
21521 (electric-help-ctrl-x-prefix):
21522 * hexl.el (hexl-revert-buffer-function):
21523 * linum.el (linum-after-change, linum-after-scroll):
21524 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
21525
21526 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
21527
74f50695
DU
215282011-04-04 Daiki Ueno <ueno@unixuser.org>
21529
21530 * epa-dired.el:
21531 * epa-mail.el:
21532 * epa-hook.el:
21533 * epa-file.el:
21534 * epa.el:
21535 * epg.el: Use lexical binding.
21536
c11325f7
CY
215372011-04-03 Chong Yidong <cyd@stupidchicken.com>
21538
0d9e9a12
CY
21539 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
21540
c11325f7 21541 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
21542 dictionary case for flyspell-mark-duplications-exceptions.
21543 Use regexp matching for languages.
c11325f7
CY
21544 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
21545 default dictionary (Bug#7926).
21546
da91b5f2
CY
215472011-04-02 Chong Yidong <cyd@stupidchicken.com>
21548
099c39a4
JB
21549 * emacs-lisp/package.el (package--with-work-buffer):
21550 Recognize https URLs.
da91b5f2 21551
099c39a4
JB
21552 * net/network-stream.el: Move from gnus/proto-stream.el.
21553 Change prefix to network-stream throughout.
da91b5f2
CY
21554 (open-protocol-stream): Merge into open-network-stream, leaving
21555 open-protocol-stream as an alias. Handle nil BUFFER args.
21556
21557 * subr.el (open-network-stream): Move to net/network-stream.el.
21558
afa8e9f6
GM
215592011-04-02 Glenn Morris <rgm@gnu.org>
21560
1d2e369d
GM
21561 * find-dired.el (find-exec-terminator): New option.
21562 (find-ls-option): Test for -ls support.
21563 (find-ls-subdir-switches): Test for -b in find-ls-option.
21564 (find-dired, find-grep-dired): Doc fixes.
21565 (find-dired): Use find-exec-terminator.
21566
8abb7da8 21567 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
21568 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
21569 (find-name-arg): Remove purecopy.
8abb7da8 21570
f3ca7378
GM
21571 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
21572 (grep-compute-defaults): Check for `-exec COMMAND +' support.
21573 Set grep-find-use-xargs, grep-find-command, and grep-find-template
21574 accordingly. Don't add the null-device if not needed.
21575
afa8e9f6
GM
21576 * files.el (save-some-buffers): Doc fix.
21577
35eae264
EZ
215782011-04-02 Eli Zaretskii <eliz@gnu.org>
21579
21580 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
21581
26b51db5
JB
215822011-04-01 Juanma Barranquero <lekktu@gmail.com>
21583
21584 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
21585 Use `dolist' rather than `mapcar'.
21586
7200d79c
SM
215872011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
21588
03408648 21589 Add lexical binding.
7200d79c 21590
03408648
SM
21591 * subr.el (apply-partially): Use new closures rather than CL.
21592 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
21593 (dolist, dotimes): Use slightly different expansion for lexical code.
21594 (functionp): Move to C.
21595 (letrec): New macro.
21596 (with-wrapper-hook): Use it and apply-partially instead of CL.
21597 (eval-after-load): Preserve lexical-binding.
21598 (save-window-excursion, with-output-to-temp-buffer): Turn them
21599 into macros.
7200d79c 21600
03408648
SM
21601 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
21602
21603 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
21604 than the arglist.
21605 (help-add-fundoc-usage): Don't add `Not documented'.
21606 (help-function-arglist): Handle closures, subroutines, and new
21607 byte-code-functions.
21608 (help-make-usage): Remove leading underscores.
21609 (describe-function-1): Handle closures.
21610 (describe-variable): Use special-variable-p for completion.
21611
21612 * files.el (lexical-binding): Declare safe.
f488fb65 21613
03408648
SM
21614 * emacs-lisp/pcase.el: Don't use destructuring-bind.
21615 (pcase--memoize): Rename from pcase-memoize. Change weakness.
21616 (pcase): Add `let' pattern.
21617 Change memoization so it actually works.
21618 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
21619 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
21620 <let>: New case.
f488fb65 21621
03408648
SM
21622 * emacs-lisp/macroexp.el: Use lexical binding.
21623 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
21624 Don't convert ' to #' without checking that it's indeed quoting
21625 a lambda.
21626
21627 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 21628 Use eval-sexp-add-defvars.
03408648
SM
21629 (eval-sexp-add-defvars): New fun.
21630
21631 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
21632
21633 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
21634 Don't autoload.
21635 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
21636 than the internal `byte-compile-lambda'.
21637 (defmethod): Don't hide code under quotes.
21638 (eieio-defmethod): New `code' argument.
21639
21640 * emacs-lisp/eieio-comp.el: Remove.
21641
21642 * emacs-lisp/edebug.el (edebug-eval-defun)
21643 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
21644 (edebug-toggle): Avoid `eval'.
21645
21646 * emacs-lisp/disass.el (disassemble-internal): Handle new
21647 `closure' objects.
21648 (disassemble-1): Handle new byte codes.
21649
21650 * emacs-lisp/cl.el (pushnew): Silence warning.
21651
21652 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
21653 (cl-byte-compile-throw): Remove.
21654 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
21655
21656 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
21657 closures.
21658
21659 * emacs-lisp/cconv.el: New file.
21660
21661 * emacs-lisp/bytecomp.el: Use lexical binding instead of
21662 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
21663 (byte-compile-initial-macro-environment):
21664 Handle declare-function here.
21665 (byte-compile--lexical-environment): New var.
21666 (byte-stack-ref, byte-stack-set, byte-discardN)
21667 (byte-discardN-preserve-tos): New lap codes.
21668 (byte-interactive-p): Don't use any more.
21669 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
21670 New macros.
21671 (byte-compile-lapcode): Use them and handle new lap codes.
21672 (byte-compile-obsolete): Remove.
21673 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
21674 (byte-compile-arglist-warn): Check late def of inlinable funs.
21675 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
21676 since they should have been expanded by now.
21677 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
21678 (byte-compile-from-buffer): Remove unused second arg.
21679 (byte-compile-preprocess): New function.
21680 (byte-compile-toplevel-file-form): New function to distinguish
21681 file-form calls from outside from file-form calls from hunk-handlers.
21682 (byte-compile-file-form): Simplify.
21683 (byte-compile-file-form-defsubst): Remove.
21684 (byte-compile-file-form-defmumble): Simplify now that
21685 byte-compile-lambda always returns a byte-code-function.
21686 (byte-compile): Preprocess.
21687 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
21688 Remove, not used any more.
21689 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
21690 (byte-compile-make-args-desc): New funs.
21691 (byte-compile-lambda): Handle lexical functions. Always return
21692 a byte-code-function.
21693 (byte-compile-reserved-constants): New var, to make up room for
21694 closed-over variables.
21695 (byte-compile-constants-vector): Obey it.
21696 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
21697 (byte-compile-macroexpand-declare-function): New function.
21698 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
21699 byte-code-functions.
21700 (byte-compile-form): Check obsolescence here.
21701 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
21702 (byte-compile-variable-ref): Remove.
21703 (byte-compile-dynamic-variable-op): New fun.
21704 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
21705 (byte-compile-variable-set): New funs.
21706 (byte-compile-discard): Add 2 args.
21707 (byte-compile-stack-ref, byte-compile-stack-set)
21708 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
21709 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
21710 macroexpand-all instead.
21711 (byte-compile-quote-form): Remove.
21712 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
21713 (byte-compile-bind, byte-compile-unbind): New funs.
21714 (byte-compile-let): Handle let* and lexical binding.
21715 (byte-compile-let*): Remove.
21716 (byte-compile-catch, byte-compile-unwind-protect)
21717 (byte-compile-track-mouse, byte-compile-condition-case):
21718 Handle a new :fun-body form, used for lexical scoping.
21719 (byte-compile-save-window-excursion)
21720 (byte-compile-with-output-to-temp-buffer): Remove.
21721 (byte-compile-defun): Simplify.
21722 (byte-compile-stack-adjustment): New fun.
21723 (byte-compile-out): Use it.
21724 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
21725
21726 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
21727 handler any more.
21728
21729 * emacs-lisp/byte-opt.el: Use lexical binding.
21730 (byte-inline-lapcode): Remove (to bytecomp).
21731 (byte-compile-inline-expand): Pay attention to inlining to/from
21732 lexically bound code.
21733 (byte-compile-unfold-lambda): Don't handle byte-code-functions
21734 any more.
21735 (byte-optimize-form-code-walker): Don't handle save-window-excursion
21736 any more and don't call compiler-macros.
21737 (byte-compile-splice-in-already-compiled-code): Remove.
21738 (byte-code): Don't inline any more.
21739 (disassemble-offset): Receive `bytes' as argument rather than via
21740 dynamic scoping.
21741 (byte-compile-tag-number): Declare before first use.
21742 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
21743 `return' even if make-spliceable.
21744 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
21745 obsolete interactive-p.
21746 (byte-optimize-lapcode): Optimize new lap-codes.
21747 Don't trip up on new form of `byte-constant' lap code.
21748
21749 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
21750
21751 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
21752
21753 * custom.el (custom-initialize-default, custom-declare-variable):
21754 Use `defvar'.
21755
21756 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
21757 New variables.
21758 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
21759 (COMPILE_FIRST): Add macroexp and cconv.
21760 * makefile.w32-in: Mirror changes in Makefile.in.
21761
21762 * vc/cvs-status.el:
21763 * vc/diff-mode.el:
21764 * vc/log-edit.el:
21765 * vc/log-view.el:
21766 * vc/smerge-mode.el:
21767 * textmodes/bibtex-style.el:
090bd7cb 21768 * textmodes/css-mode.el:
03408648
SM
21769 * startup.el:
21770 * uniquify.el:
da91b5f2
CY
21771 * minibuffer.el:
21772 * newcomment.el:
21773 * reveal.el:
21774 * server.el:
21775 * mpc.el:
21776 * emacs-lisp/smie.el:
21777 * doc-view.el:
21778 * dired.el:
03408648
SM
21779 * abbrev.el: Use lexical binding.
21780
0f0c1f27
EZ
217812011-04-01 Eli Zaretskii <eliz@gnu.org>
21782
21783 * info.el (info-display-manual): New function.
21784
c82b2579
SM
217852011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
21786
21787 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
21788
221ddf68
TH
217892011-03-31 Tassilo Horn <tassilo@member.fsf.org>
21790
21791 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 21792 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 21793
cba6e77e
GM
217942011-03-31 Glenn Morris <rgm@gnu.org>
21795
e040639f
GM
21796 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
21797
cba6e77e
GM
21798 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
21799
6d0f1c9e
CS
218002011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
21801
21802 * progmodes/python.el (python-default-interpreter)
21803 (python-python-command-args, python-jython-command-args)
21804 (python-which-shell, python-which-args, python-which-bufname)
21805 (python-file-queue, python-comint-output-filter-function)
21806 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
21807 variables and functions.
21808
3e2d70fd
SM
218092011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
21810
21811 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
21812 (completion-in-region-mode): New minor mode.
21813 (completion-in-region): Use it.
21814 (completion-in-region--data, completion-in-region-mode-map): New vars.
21815 (completion-in-region--postch): New function.
21816 (completion--capf-misbehave-funs, completion--capf-safe-funs):
21817 New vars.
21818 (completion--capf-wrapper): New function.
21819 (completion-at-point): Use it to track well-behavedness of
21820 hook functions.
21821 (completion-help-at-point): New command.
21822
f3e4086c
JM
218232011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
21824
21825 * vc/add-log.el (add-change-log-entry): Don't use whitespace
21826 syntax class to search for whitespace on a single line
21827 (Message-ID: <4D938140.4030905@redhat.com>).
21828
eb7ffc14
LL
218292011-03-30 Leo Liu <sdl.web@gmail.com>
21830
21831 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
21832 New commands.
21833 (edit-abbrevs-map): Bind them here.
21834 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
21835
d806ab68
KM
218362011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
21837
21838 * allout.el (allout-hide-by-annotation, allout-flag-region):
21839 Reduce possibility of overlay leakage by making them volatile.
21840
21841 * allout-widgets.el (allout-widgets-tally): Define as nil so the
21842 hash is not shared between buffers. Mode initialization is
21843 responsible for giving it a useful starting value.
21844 (allout-item-span): Reduce possibility of overlay leakage by
21845 making them volatile.
21846 (allout-widgets-count-buttons-in-region): Add diagnostic function
21847 for tracking down button overlay leaks.
21848
ea622834
LL
218492011-03-29 Leo Liu <sdl.web@gmail.com>
21850
21851 * ido.el (ido-read-internal): Use the default history var
21852 minibuffer-history if no HISTORY is specified.
21853
b62f8267
G
218542011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
21855
03408648
SM
21856 * net/imap.el (imap-shell-open, imap-process-connection-type):
21857 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
21858 Kerberos, SSL, other subprocesses.
21859
947b6566
LL
218602011-03-28 Leo Liu <sdl.web@gmail.com>
21861
21862 * abbrev.el (abbrev-table-empty-p): New function.
21863 (prepare-abbrev-list-buffer): Place empty abbrev tables after
21864 nonempty ones. (Bug#5937)
21865
5ffb62aa
JD
218662011-03-27 Jan Djärv <jan.h.d@swipnet.se>
21867
21868 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
21869
7a097943
LL
218702011-03-27 Leo Liu <sdl.web@gmail.com>
21871
21872 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
21873 for foreground and background colors.
21874 (ansi-color-make-color-map): Adapt.
21875
c5b40130
LL
218762011-03-25 Leo Liu <sdl.web@gmail.com>
21877
1f48f7d2
LL
21878 * midnight.el (midnight-time-float): Remove. Note it calculates
21879 the microsecond component incorrectly and seconds-to-time does the
21880 same job.
625897ec 21881 Remove redundant (require 'timer).
1f48f7d2 21882
c5b40130
LL
21883 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
21884 (ido-completions): Remove unused arguments. (Bug#8329)
21885
d86d2721
SM
218862011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
21887
21888 * minibuffer.el (completion--flush-all-sorted-completions):
21889 Remove itself from hook.
21890 (completion-at-point): Let the functions perform the completion
21891 immediately and return nil or t.
21892 * comint.el (comint-dynamic-complete-functions): Now identical to
21893 completion-at-point-functions.
21894 (comint-dynamic-list-input-ring): Remove unused var `index'.
21895 (comint--match-partial-filename, comint--unquote&expand-filename):
21896 New funs, split from comint-match-partial-filename.
21897 (comint-dynamic-complete): Use completion-at-point.
21898 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
21899
e8974c48
DA
219002011-03-24 Drew Adams <drew.adams@oracle.com>
21901
21902 * thingatpt.el: Support `defun'.
21903
def71b5e
LL
219042011-03-23 Leo Liu <sdl.web@gmail.com>
21905
cb5af48e
LL
21906 * abbrevlist.el: Move to obsolete/abbrevlist.el.
21907
def71b5e
LL
21908 * help-mode.el (help-mode-finish): Tweak regexp.
21909
927c53e7
GM
219102011-03-23 Glenn Morris <rgm@gnu.org>
21911
18d05bed
GM
21912 * eshell/esh-opt.el (eshell-eval-using-options):
21913 Do not bind unused local variable `eshell-option-stub'.
21914
927c53e7
GM
21915 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
21916
9d0da923
JB
219172011-03-22 Juanma Barranquero <lekktu@gmail.com>
21918
21919 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
21920 keymap variable in `with-no-warnings' to avoid a warning when the
21921 keymap has been already `defconst'ed.
21922
4b978a67
LL
219232011-03-22 Leo Liu <sdl.web@gmail.com>
21924
21925 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
21926 encode all chars in abbrevs; otherwise use emacs-mule or
21927 utf-8-emacs. (Bug#8308)
21928
5fd62452
JB
219292011-03-22 Juanma Barranquero <lekktu@gmail.com>
21930
0b1596c6
JB
21931 * simple.el (backward-delete-char-untabify):
21932 Avoid warning about using `delete-backward-char'.
21933
5fd62452
JB
21934 * image.el (image-type-file-name-regexps): Make it variable.
21935 `imagemagick-register-types' modifies it, and the user may want
21936 to add new extensions for known image types.
21937 (imagemagick-register-types): Throw error if not using ImageMagick.
21938
0b4e93f1
LL
219392011-03-22 Leo Liu <sdl.web@gmail.com>
21940
21941 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
21942 located before rcirc-prompt-end-marker.
21943 (rcirc-complete): Error if point is not after rcirc prompt.
21944 Handle the case when table is nil.
9882e214 21945 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 21946
fccee4ab
CY
219472011-03-22 Chong Yidong <cyd@stupidchicken.com>
21948
21949 * custom.el (custom--inhibit-theme-enable): Make it affect only
21950 custom-theme-set-variables and custom-theme-set-faces.
21951 (provide-theme): Ignore custom--inhibit-theme-enable.
21952 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
21953 (custom-enabling-themes): Delete variable.
d86d2721
SM
21954 (enable-theme): Accept only loaded themes as arguments.
21955 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
21956 (custom-enabled-themes): Forbid themes from setting this.
21957 Eliminate use of custom-enabling-themes.
21958 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 21959
af896da6
LL
219602011-03-21 Leo Liu <sdl.web@gmail.com>
21961
21962 * ido.el (ido-read-internal): Add ido-selected to history instead
21963 of user input.
21964
78f64af0
SM
219652011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
21966
21967 * subr.el (deferred-action-list, deferred-action-function):
21968 Mark obsolete.
21969
b16ac1ec
LL
219702011-03-21 Leo Liu <sdl.web@gmail.com>
21971
810f7698
LL
21972 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
21973 change on 2011-02-13 (bug#8309).
21974
b16ac1ec
LL
21975 * minibuffer.el (read-file-name-function): Change default value.
21976 (read-file-name--defaults): Rename from read-file-name-defaults.
21977 (read-file-name-default): Rename from read-file-name.
21978 (read-file-name): Call read-file-name-function.
21979
4e05e67e
GM
219802011-03-21 Glenn Morris <rgm@gnu.org>
21981
21982 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
21983 Doc fixes.
21984
4359915b
CY
219852011-03-21 Chong Yidong <cyd@stupidchicken.com>
21986
21987 * cus-theme.el: Add missing provide statement.
21988 (customize-create-theme): Extract theme value correctly.
21989 (custom-theme-visit-theme): Autoload.
21990 (customize-create-theme): Prompt before inserting default faces.
21991
1fe275ee
JB
219922011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
21993
21994 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
21995 units and musical notes.
21996
cd394be1 219972011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
21998
21999 * ido.el (ido-read-internal): Use completing-read-default.
22000 (ido-completing-read): Fix compatibility with completing-read.
22001
7d476bde
CO
220022011-03-20 Christian Ohler <ohler@gnu.org>
22003
22004 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
22005 (ert-delete-all-tests): Use `called-interactively-p' rather than
22006 `interactive-p'.
22007 (ert--make-xrefs-region): Respect END.
22008
fe0fb33e
CY
220092011-03-19 Chong Yidong <cyd@stupidchicken.com>
22010
ff854b0b
CY
22011 * dired-aux.el (dired-create-directory): Signal an error if the
22012 directory already exists (Bug#8246).
22013
fe0fb33e
CY
22014 * facemenu.el (list-colors-display): Call list-faces-display
22015 inside with-help-window.
22016 (list-colors-print): Use display property to align the final
22017 column, instead of checking window-width.
22018
576bce32
EZ
220192011-03-19 Eli Zaretskii <eliz@gnu.org>
22020
4d61f28d 22021 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
22022 windows-nt systems.
22023 (emerge-protect-metachars): Quote correctly for ms-dos and
22024 windows-nt systems.
22025
89c41d68 220262011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
22027
22028 * info.el (info-initialize): Replace all uses of `:' with
22029 path-separator for compatibility with non-Unix systems.
22030 Cache quoting of path-separator. (Bug#8258)
22031
b14e3e21 220322011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
22033
22034 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
22035 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
22036 (mouse-avoidance-mode): Fix typos in docstrings.
22037
4525ce3e
CY
220382011-03-19 Chong Yidong <cyd@stupidchicken.com>
22039
22040 * startup.el (package-subdirectory-regexp): Move from package.el.
22041 Omit \\` and \\', and let callers add them.
22042
22043 * emacs-lisp/package.el (package-strip-version)
22044 (package-load-all-descriptors): Add \\` and \\' to
22045 package-subdirectory-regexp before using it.
22046 (package-untar-buffer): New arg DIR; ensure that file untars only
22047 into this expected directory. Remove superfluous delete-region.
22048 (package-unpack): Caller changed.
22049 (package-tar-file-info): Use package-subdirectory-regexp.
22050
a904a09a 220512011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 22052
a904a09a
SM
22053 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
22054 diff-mode-shared-map (bug#8284).
22055 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
22056
220572011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
22058
22059 * calendar/time-date.el (format-seconds): Use assoc instead of
22060 assoc-string, since assoc-string doesn't exist in XEmacs.
22061
171fc304
JB
220622011-03-17 Juanma Barranquero <lekktu@gmail.com>
22063
22064 * custom.el (custom-known-themes): Reflow docstring.
22065 (custom-theme-load-path): Fix typo in docstring.
22066 (load-theme): Fix typo in error message.
22067 (custom-available-themes, custom-variable-theme-value):
22068 Use `let', not `let*'.
22069
d71990a1
JB
220702011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
22071
22072 * calc/README: Mention inclusion of musical notes.
22073
22074 * calc/calc-units.el (calc-lu-quant): Rename from
22075 `calc-logunits-quantity'.
22076 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
22077 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
22078 (calc-db): Rename from `calc-dblevel'.
22079 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
22080 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
22081 (calc-np): Rename from `calc-nplevel'.
22082 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
22083 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
22084 (calc-lu-plus): Rename from `calc-logunits-add'.
22085 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
22086 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
22087 (calc-lu-minus): Rename from `calc-logunits-sub'.
22088 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
22089 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
22090 (calc-lu-times): Rename from `calc-logunits-mul'.
22091 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
22092 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
22093 (calc-lu-divide): Rename from `calc-logunits-div'.
22094 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
22095 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
22096
22097 * calc/calc-ext.el (calc-init-extensions): Update the names of the
22098 functions being autoloaded.
22099
22100 * calc/calc.el (calc-lu-power-reference): Rename from
22101 `calc-logunits-power-reference'.
22102 (calc-lu-field-reference): Rename from
22103 `calc-logunits-field-reference'.
22104
7a71b18d
GM
22105 * calc/calc-help.el (calc-l-prefix-help):
22106 Mention musical note functions.
d71990a1 22107
40c2934b
SM
221082011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
22109
22110 * minibuffer.el (completion-all-sorted-completions):
22111 Use :completion-cycle-penalty text property if present.
22112
b0911414
KM
221132011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
22114
22115 * allout.el (allout-yank-processing): Adjust for new rebulleting
22116 regime so bullet being yanked is used without prompting the user
22117 for a choice.
22118
8a05b668
JB
221192011-03-16 Juanma Barranquero <lekktu@gmail.com>
22120
22121 * startup.el (command-line): Warn the user that _emacs is deprecated.
22122
5ba5fb81
JB
221232011-03-16 Juanma Barranquero <lekktu@gmail.com>
22124
22125 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
22126 (delphi-verbose, delphi-comment-face, delphi-string-face)
22127 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
22128 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
22129 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
22130 (delphi-new-comment-line, delphi-font-lock-defaults)
22131 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
22132 Fix typos in docstrings.
22133
2dab465b
KM
221342011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
22135
5ba5fb81 22136 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
22137 Invert the roles of character and string values for INSTEAD, so a
22138 string is used for the more common case of a defaulting prompt.
22139
0adf5618
SM
221402011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
22141
22142 * progmodes/ruby-mode.el (ruby-backward-sexp):
22143 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
22144 * play/gamegrid.el (gamegrid-make-face):
22145 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
22146 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
22147 * notifications.el (notifications-notify):
22148 * net/xesam.el (xesam-search-engines):
22149 * net/quickurl.el (quickurl-list-insert):
22150 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
22151
d72700e5
CY
221522011-03-15 Chong Yidong <cyd@stupidchicken.com>
22153
22154 * startup.el (command-line): Update package subdirectory regexp.
22155
49c5410a
SM
221562011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
22157
c6eee9aa
SM
22158 * allout.el (allout-abbreviate-flattened-numbering)
22159 (allout-mode-deactivate-hook): Fix up obsolescence "date".
22160
49c5410a
SM
22161 * subr.el (read-char-choice): Only show the cursor after the prompt,
22162 not after the answer.
22163
047b2bb9
KR
221642011-03-15 Kevin Ryde <user42@zip.com.au>
22165
22166 * help-fns.el (variable-at-point): Skip leading quotes, if any
22167 (bug#8253).
22168
0a57d256
SM
221692011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
22170
22171 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
22172 warning message.
22173
77c992bc
MA
221742011-03-14 Michael Albinus <michael.albinus@gmx.de>
22175
22176 * shell.el (shell): When called interactively, offer to change the
22177 shell file name on remote hosts.
22178
eebc475d
TZ
221792011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
22180
22181 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
22182 integration for LDAP parameters. The host, base, user or binddn,
22183 and secret tokens can be specified in a netrc file, for instance.
22184 This is optional because an `auth-source' parameter must be
22185 specified in the search attributes.
22186
9d05d1ba
JB
221872011-03-13 Juanma Barranquero <lekktu@gmail.com>
22188
22189 * help.el (describe-mode): Link to the mode's definition (bug#8185).
22190
09d9db2c
GM
221912011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
22192
22193 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
22194 into declaration. Remove redundant and harmful binding.
22195
221962011-03-12 Eli Zaretskii <eliz@gnu.org>
22197
22198 * files.el (file-ownership-preserved-p): Pass `integer' as an
22199 explicit 2nd argument to `file-attributes'. If the file's owner
22200 is the Administrators group on Windows, and the current user is
22201 Administrator, consider that a match.
22202
22203 * server.el (server-ensure-safe-dir): Consider server directory
22204 safe on MS-Windows if its owner is the Administrators group while
22205 the current Emacs user is Administrator. Use `=' to compare
22206 numerical UIDs, since they could be integers or floats.
22207
219bd536
JB
222082011-03-12 Juanma Barranquero <lekktu@gmail.com>
22209
22210 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
22211
f3afd36b
MA
222122011-03-12 Michael Albinus <michael.albinus@gmx.de>
22213
22214 Sync with Tramp 2.2.1.
22215
22216 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
22217
22218 * net/trampver.el: Update release number.
22219
3aaaa6f1
SM
222202011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
22221
94642599
SM
22222 * progmodes/compile.el (compilation--previous-directory): Fix up
22223 various nil/dead-marker mismatches (bug#8014).
22224 (compilation-directory-properties, compilation-error-properties):
22225 Don't call it at a position past the one we're about to change.
22226
3aaaa6f1
SM
22227 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
22228 Disable obsolescence warnings in the file that declares it.
22229
14239447
KM
222302011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
22231
099c39a4
JB
22232 * allout-widgets.el (allout-widgets-tally):
22233 Initialize allout-widgets-tally as a hash table rather than nil to
22234 prevent mode-line redisplay warnings. Also, clarify the module
22235 description and fix a comment typo.
14239447 22236
135e287c
JB
222372011-03-11 Juanma Barranquero <lekktu@gmail.com>
22238
22239 * help-fns.el (describe-variable): Don't complete keywords.
22240 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
22241
ffbf300e
CY
222422011-03-10 Chong Yidong <cyd@stupidchicken.com>
22243
ba08b241
CY
22244 * emacs-lisp/package.el (package-version-join): Impose a standard
22245 string representation for pre/alpha/beta version lists.
22246 (package-unpack-single): Standardize the directory name by passing
22247 it through package-version-join.
22248 (package-strip-rcs-id): Accept any version string that does not
22249 signal an error in version-to-list.
ffbf300e 22250
f346fd6b
MA
222512011-03-10 Michael Albinus <michael.albinus@gmx.de>
22252
22253 * simple.el (delete-trailing-whitespace): Return nil for the
22254 benefit of `write-file-functions'.
22255
ccb55d27
GM
222562011-03-10 Glenn Morris <rgm@gnu.org>
22257
5ceaac0c
GM
22258 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
22259
02da65ff
GM
22260 * vc/vc-git.el (vc-git-program): New option.
22261 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
22262 (vc-git--call): Use it.
22263
b2f603cc
GM
22264 * eshell/esh-util.el (eshell-condition-case): Doc fix.
22265
5772caab
GM
22266 * cus-edit.el (Custom-newline): If no button at point, look
22267 for a subgroup button at start-of-line. (Bug#2298)
22268
ccb55d27
GM
22269 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
22270
ec6ecaed
JD
222712011-03-10 Julien Danjou <julien@danjou.info>
22272
22273 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
22274 `cursor-type' is nil.
22275
9d5aa01d
JB
222762011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
22277
22278 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
22279
b6a5875b
KM
222802011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
22281
7a71b18d 22282 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
22283 preserves the existing header prefix, rebulleting it if necessary,
22284 rather than replacing it. This is necessary for proper operation
22285 of cooperative addons like allout-widgets.
1154d12e
JB
22286 (allout-make-topic-prefix, allout-rebullet-heading):
22287 Change SOLICIT arg to INSTEAD, and interpret additionally a string
22288 value as alternate bullet to be used, instead of prompting the user
22289 for a bullet character.
b6a5875b 22290
ee545c35
MA
222912011-03-09 Michael Albinus <michael.albinus@gmx.de>
22292
d86d2721
SM
22293 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
22294 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
22295 `tramp-default-port'.
22296
c47971d7
DD
222972011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
22298
22299 * net/rcirc.el (rcirc-handler-001): Remove useless
22300 with-rcirc-process-buffer.
22301 (rcirc-check-auth-status): Swap arguments to string-match.
22302
13522cb4
GM
223032011-03-09 Glenn Morris <rgm@gnu.org>
22304
0be6f4f1
GM
22305 * shell.el (shell-mode):
22306 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
22307
13522cb4
GM
22308 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
22309 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
22310
515de2e3
CY
223112011-03-08 Chong Yidong <cyd@stupidchicken.com>
22312
22313 * emacs-lisp/package.el (package-refresh-contents)
22314 (package-menu-execute): Use condition-case-no-debug.
22315
b511b994
MA
223162011-03-08 Michael Albinus <michael.albinus@gmx.de>
22317
22318 * simple.el (shell-command-to-string): Use `process-file'.
22319
22320 * emacs-lisp/package.el (package-tar-file-info): Handle also
22321 remote files.
22322
d86d2721
SM
22323 * emacs-lisp/package-x.el (package-upload-buffer-internal):
22324 Use `equal' for upload base check.
b511b994 22325
25bbfb31
AM
223262011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
22327
22328 * textmodes/texinfo.el (texinfo-environments):
22329 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
22330
be996521
GM
223312011-03-08 Glenn Morris <rgm@gnu.org>
22332
e9c8529f
GM
22333 * cus-start.el (cursor-in-non-selected-windows):
22334 Fix :set quoting oddness. (Bug#8192)
22335
be996521
GM
22336 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
22337 in some setf expressions. (Bug#2159)
22338
2bb5649e
CY
223392011-03-08 Chong Yidong <cyd@stupidchicken.com>
22340
22341 * custom.el (custom-available-themes): Return themes in
22342 alphabetical order.
22343
33383987 22344See ChangeLog.15 for earlier changes.
e3d51b27
MR
22345
22346;; Local Variables:
22347;; coding: utf-8
e3d51b27
MR
22348;; End:
22349
acaf905b 22350 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
22351
22352 This file is part of GNU Emacs.
22353
22354 GNU Emacs is free software: you can redistribute it and/or modify
22355 it under the terms of the GNU General Public License as published by
22356 the Free Software Foundation, either version 3 of the License, or
22357 (at your option) any later version.
22358
22359 GNU Emacs is distributed in the hope that it will be useful,
22360 but WITHOUT ANY WARRANTY; without even the implied warranty of
22361 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22362 GNU General Public License for more details.
22363
22364 You should have received a copy of the GNU General Public License
22365 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.