* xdisp.c: Minor style fixes.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
f10331bf
AS
12012-12-13 Andreas Schwab <schwab@suse.de>
2
3 * net/tls.el (tls-program): Update customize type.
4
5f3a3bb1
JB
52012-12-13 Juanma Barranquero <lekktu@gmail.com>
6
7 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
8 (edebug-setup-hook, cl-read-load-hooks): Use it.
9 (edebug-unload-function): New function. (Bug#13163)
10
6ce21463
MA
112012-12-13 Michael Albinus <michael.albinus@gmx.de>
12
13 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
14 Otherwise, there could be errors in autoloading. (Bug#13151)
15
d754b364
JH
162012-12-13 Jürgen Hötzel <juergen@archlinux.org>
17
18 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
19 sequences.
20
727f9739 212012-12-13 Alan Mackenzie <acm@muc.de>
14b8c3d9
AM
22
23 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
24 * progmodes/cc-engine.el (c-backward-comments): Add code to work
25 around `forward-comment' not recognizing ^M as whitespace.
26
727f9739 272012-12-13 Fabián Ezequiel Gallina <fgallina@cuca>
2c43a9ad
FEG
28
29 * progmodes/python.el (python-skeleton-class)
30 (python-skeleton-def): Do not add space after defun name.
31
eb8006c6
SM
322012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
33
34 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
35 (cl--symbol-function): Remove (now that funbound is like nil).
36
4c74b1e4
GM
372012-12-12 Glenn Morris <rgm@gnu.org>
38
39 * button.el (button--area-button-p): Fix typo.
40
37f38bca
SS
412012-12-12 Sam Steingold <sds@gnu.org>
42
43 * frame.el (frame-maximization-style): New user option.
44 (toggle-frame-maximized): Toggle frame maximization according to
45 `frame-maximization-style', bound to <f11>.
46 (cycle-frame-maximized): Cycle between all maximization styles and
47 non-maximized frame, bound to shift-<f11>.
48
fd49a218
DC
492012-12-12 David Cadé <codename68@gmail.com>
50
51 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
52
69e1c203
JB
532012-12-12 Jonas Bernoulli <jonas@bernoul.li>
54
55 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
56 (eieio-override-prin1): Don't quote kewords and booleans.
57 (object-write) <eieio-default-superclass>: Don't put closing parens
58 on new line, avoid needless empty lines, align values that are objects
59 with the slot keyword (instead of beginning on the same line).
60 (eieio-list-prin1): Align value with slot keyword; increase
61 eieio-print-depth before printing members of the list.
62
4b0df848
SM
632012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
64
030f4af5
SM
65 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
66 a display text-property.
67 (report-emacs-bug-hook): Don't bother deleting it any more.
68
6ac1f8ca
SM
69 * hilit-chg.el (highlight-save-buffer-state): Delete.
70 Use with-silent-modifications instead.
71 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
72
4b0df848
SM
73 * button.el: Handle buttons in display text-properties.
74 (button--area-button-p, button--area-button-string):
75 Use (STRING . STRING-POS) representation instead of just STRING.
76
d46d2d3a
EZ
772012-12-11 Eli Zaretskii <eliz@gnu.org>
78
79 * makefile.w32-in (compile4-SH): Fix a typo that caused term
80 subdirectory be skipped.
81
a0099d31
GM
822012-12-11 Glenn Morris <rgm@gnu.org>
83
36327e4f
GM
84 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
85
a0099d31
GM
86 * progmodes/f90.el (f90-line-continued, f90-indent-region):
87 Treat preprocessor lines embedded in continuations like comments.
88 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
89
ff3f6c26
JB
902012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
91
92 * calc/calc.el (calc-standard-date-formats): Add more date
93 formats.
94 * calc/calc-forms.el (math-parse-iso-date): New function.
95 (math-parse-date): Use `math-parse-iso-date' when appropriate.
96 (math-parse-iso-date-validate): Add extra error checking.
97 (calc-date-notation): Add ability to access new date formats.
98
ed6f2cd4
SM
992012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
100
101 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
102 font-lock as well as when there's no text-property.
103
c868b919
J
1042012-12-10 Jambunathan K <kjambunathan@gmail.com>
105
106 * hi-lock.el: Refine the choice of default face.
107 (hi-lock-keyword->face): New function. Use it wherever we used
108 cadadadr instead.
109 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
110 (hi-lock--last-face): Remove var.
111 (hi-lock--unused-faces): New var to replace it.
112 (hi-lock-read-face-name): Use/maintain it.
113 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
114 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
115 if it has another face.
116
2b8c9064
EZ
1172012-12-10 Eli Zaretskii <eliz@gnu.org>
118
119 * subr.el (w32notify-handle-event): New function.
120 (inotify-handle-event): Doc fix.
121
81606b10
RS
1222012-12-10 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
123
124 * subr.el (inotify-event-p, inotify-handle-event): New functions.
125
265c2fbf 1262012-12-10 Dani Moncayo <dmoncayo@gmail.com>
6ce49f24
DM
127
128 * simple.el (just-one-space): Doc fix.
129
265c2fbf 1302012-12-10 Eli Zaretskii <eliz@gnu.org>
8d43bd30 131
c868b919 132 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
8d43bd30 133
265c2fbf 1342012-12-10 Le Wang <l26wang@gmail.com>
3a21537c
LW
135
136 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
137 narrowed buffer (bug#12361).
138
265c2fbf 1392012-12-10 Juanma Barranquero <lekktu@gmail.com>
bf741d33
JB
140
141 * vc/vc-hooks.el (vc-state): Doc fix.
142
265c2fbf 1432012-12-10 Glenn Morris <rgm@gnu.org>
07026166
GM
144
145 * mail/rmail.el (rmail-maybe-display-summary):
146 Preserve buffer, in case select-window changes it. (Bug#13066)
147
265c2fbf 1482012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
82e1f390
SM
149
150 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
151 cl-load-hook where they belong.
152
bad162fd
SM
1532012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
154
155 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
156
ca065258
EZ
1572012-12-09 Eli Zaretskii <eliz@gnu.org>
158
159 Parallelize byte compilation on MS-Windows.
160 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
bad162fd 161 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
ca065258
EZ
162 (WINS_BASIC): Define as concatenation of the above.
163 (compile): Subdivide into 4 separate and independent jobs that can
164 be run in parallel.
165 (compile0-CMD, compile0-SH): New targets for compiling
166 COMPILE_FIRST files, which are prerequisites for the rest of the
167 byte-compilation.
bad162fd
SM
168 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
169 New targets for parallel compilation with cmd.exe.
ca065258
EZ
170 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
171 compiling under a Unixy shell.
172
5dea55d2
CY
1732012-12-09 Chong Yidong <cyd@gnu.org>
174
175 * simple.el (set-mark-default-inactive): Delete this
176 accidentally-introduced option.
177 (set-mark-command, exchange-point-and-mark): Remove calls.
178
c6c08d3f
GM
1792012-12-09 Glenn Morris <rgm@gnu.org>
180
181 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
182 Respect a defcustom's :set function, if appropriate. (Bug#109)
183 (eval-defun): Doc fix.
184
858aab4c
JL
1852012-12-08 Juri Linkov <juri@jurta.org>
186
187 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
188 (Info-fontify-node, Info-bookmark-make-record): Remove the
189 file extension from Info-current-file (Bug#13016).
190
2e4ad7e5
SM
1912012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
192
193 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
194 point, still provide some default.
195 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
196 names, since we don't use it right now. Actually return the list.
197 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
198
75498db0
CY
1992012-12-07 Chong Yidong <cyd@gnu.org>
200
ffe7ba8f
CY
201 * novice.el (disabled-command-function): Remove a spurious help
202 xref (Bug#13043). Suggested by Kelly Dean.
203
454eb095
CY
204 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
205 syntax is specified (Bug#13025).
206
75498db0
CY
207 * info.el (Info-set-mode-line): Remove the file extension from
208 Info-current-file if there is one (Bug#13016).
209
13a40633
GM
2102012-12-07 Glenn Morris <rgm@gnu.org>
211
54c8b5ba
GM
212 * mail/rmail.el (rmail-mime-decoded): New permanent local.
213 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
214 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
215 and rmail-mime-decoded. (Bug#9841)
216
13a40633
GM
217 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
218 (batch-unrmail, unrmail): Doc fixes.
219 (unrmail): Respect unrmail-mbox-format.
220 * mail/rmail.el (rmail-mbox-format): New option.
221 (rmail-show-message-1): Respect rmail-mbox-format.
222
4611a3cc
SM
2232012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
224
225 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
226
1812c724
SM
2272012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
228
338bfefa
SM
229 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
230 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
231 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
232 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
233 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
234 (cl-progv): Don't rely on dynamic scoping to find the body.
235 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
236 (cl--proclaims-deferred): Rename from the "cl-" prefix.
237 (cl-declaim): Use backquotes.
238 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
239 Use "cl--" prefix for the object's tag.
240
1812c724
SM
241 * ses.el: Use advice-add/remove.
242 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
243 (copy-region-as-kill, yank): Use advice-add.
244 (ses-unload-function): Use advice-remove.
245
24fc9480
JB
2462012-12-06 Jonas Bernoulli <jonas@bernoul.li>
247
248 * button.el: Make them work in header-lines (bug#12817).
249 (button-map): Add bindings for header-line and mode-line use.
250 (button-get, button-put, button-label): `button' may now be a string.
251 (button-activate): Don't make it a defsubst.
252 (button--area-button-p, button--area-button-string): New functions.
253 (make-text-button): Fix the return value when `beg' was a string.
254 (push-button): Handle the mode-line case.
255
853c1ffc
SM
2562012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
257
93852cb0
SM
258 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
259 (sql-signum): Remove. Use `cl-signum' instead.
260 (sql-read-passwd): Remove; use read-passwd instread.
261 (sql-get-login-ext): Use read-string.
262 (sql-get-login): Use dolist and pcase.
263 (sql--completion-table): Rename from sql-try-completion.
264 Use complete-with-action.
265 (sql-mode): Don't change abbrev-all-caps globally.
266 (sql-connect): Don't rely on dynamic scoping for `new-name'.
267 (sql-postgres-completion-object): Initialize vars in their `let'.
268 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
269 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
270 (sql-comint-interbase): Use a single append, without setq.
271 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
272
853c1ffc
SM
273 * hi-lock.el: Rework the default face and the serialize regexp code.
274 (hi-lock--auto-select-face-defaults): Remove.
275 (hi-lock-string-serialize-serial): Remove.
276 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
277 make weak.
278 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
279 equal string.
280 (hi-lock-set-pattern): Adjust accordingly.
281 (hi-lock--regexps-at-point): Simplify accordingly.
282 (hi-lock--auto-select-face-defaults): Remove.
283 (hi-lock--last-face): New var to replace it.
284 (hi-lock-read-face-name): Rewrite (bug#11095).
285 (hi-lock-unface-buffer): Arrange for the face to be the next default.
286
5504e2c7
MA
2872012-12-06 Michael Albinus <michael.albinus@gmx.de>
288
853c1ffc
SM
289 * net/tramp.el (tramp-replace-environment-variables):
290 Hide compiler warning.
5504e2c7
MA
291 (tramp-file-name-for-operation): Remove `executable-find',
292 `start-process', `call-process' and `call-process-region'.
293
853c1ffc 294 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
5504e2c7
MA
295
296 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
297 compatibility.
298
299 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
300
e1d51545
CY
3012012-12-06 Chong Yidong <cyd@gnu.org>
302
303 * ffap.el (ffap-replace-file-component): Fix typo.
304
d8ad4d3f 3052012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
ef54d315
SM
306
307 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
308 fix open-paren-like token test (bug#12785).
309
d8ad4d3f 3102012-12-06 Glenn Morris <rgm@gnu.org>
52d129cd
GM
311
312 * mail/rmailsum.el (rmail-new-summary): Tweak for
313 rmail-maybe-display-summary changing buffer. (Bug#13066)
314
d8ad4d3f 3152012-12-06 Juri Linkov <juri@jurta.org>
68bf4e09
JL
316
317 * info.el (Info-fontify-node): Don't hide the last newline.
318 (Bug#12272)
319
9ad948e2
KY
3202012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
321
322 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
323 so as to enable message-read-from-minibuffer to expand mail aliases.
324
4b5c89ee
SM
3252012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
326
327 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
328 the `intangible' property.
329 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
330
5602a53a
DD
3312012-12-05 Deniz Dogan <deniz@dogan.se>
332
333 * net/rcirc.el (rcirc-urls): Update documentation.
334 (rcirc-condition-filter): New function.
335 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
336 and exclude consecutive duplicate URLs (Bug#6082).
337
51b890ac
MA
3382012-12-05 Michael Albinus <michael.albinus@gmx.de>
339
d5f97f62
MA
340 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
341 Check return code of copy command.
342
853c1ffc
SM
343 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
344 Use group `tramp'. Add version.
51b890ac 345
04b14f2b
CY
3462012-12-05 Chong Yidong <cyd@gnu.org>
347
a3680194
CY
348 * ffap.el (ffap-url-regexp): Don't require matching at front of
349 string (Bug#4952).
350 (ffap-url-p): If only a substring matches, return that.
351 (ffap-url-at-point): Use the return value of ffap-url-p.
352 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
353 (find-file-at-point, dired-at-point, dired-at-point-prompter)
354 (ffap-guess-file-name-at-point): Likewise.
355 (ffap-replace-file-component): Fix typo.
356
04b14f2b
CY
357 * info.el (info-display-manual): Add existing Info buffers, whose
358 files may not be in Info-directory-list, to the completion.
359 (info--manual-names): New helper function.
360
49596095
GM
3612012-12-05 Glenn Morris <rgm@gnu.org>
362
363 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
364 New functions, for detecting and resolving conflicts. (Bug#10709)
365
b85aec93
J
3662012-12-04 Jambunathan K <kjambunathan@gmail.com>
367
368 * hi-lock.el (hi-lock-auto-select-face): New user variable.
369 (hi-lock-auto-select-face-defaults): New buffer local variable.
370 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
371 (hi-lock-unface-buffer): Prompt user with useful defaults.
372 With prefix arg, unhighlight all hi-lock patterns in buffer.
373
8515507f
SM
3742012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
375
376 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
377
72cebfb7
MA
3782012-12-04 Michael Albinus <michael.albinus@gmx.de>
379
380 * Makefile.in (TRAMP_SRC):
381 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
382
0ec3f7ea
JH
3832012-12-04 Juergen Hoetzel <juergen@archlinux.org>
384
385 * net/tramp-adb.el: New package.
386
770de7cf
CY
3872012-12-04 Chong Yidong <cyd@gnu.org>
388
ce3e7725
CY
389 * terminal.el: Move to obsolete/.
390
770de7cf
CY
391 * longlines.el: Move to obsolete/.
392
393 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
394 Remove code referring to longlines mode.
395
c38a186c
JL
3962012-12-03 Juri Linkov <juri@jurta.org>
397
398 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
399
329bfd64
AM
4002012-12-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
401
402 * textmodes/ispell.el (ispell-init-process)
475eea6f
AM
403 (ispell-start-process, ispell-internal-change-dictionary):
404 Make sure personal dictionary name is expanded after initial
405 `default-directory' value. Use expanded strings for
406 keep/restart checks and for value (Bug#13019).
329bfd64 407
77a74935
JB
4082012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
409
410 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
411
c5bc2d1d 4122012-12-03 Leo Liu <sdl.web@gmail.com>
ff3d86d0
LL
413
414 * files.el (dir-locals-read-from-file): Check file non-empty
415 before reading. (Bug#13038)
416
c5bc2d1d 4172012-12-03 Glenn Morris <rgm@gnu.org>
6247eff5
GM
418
419 * jka-cmpr-hook.el (jka-compr-get-compression-info):
420 Remove any version extension before checking filename. (Bug#13006)
421 (jka-compr-compression-info-list): Belated :version bump.
422
c5bc2d1d 4232012-12-03 Chong Yidong <cyd@gnu.org>
a5bf43ba 424
8ecba97d
CY
425 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
426
a5bf43ba
CY
427 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
428 (buffer-menu): Doc fix (Bug#12294).
429
c5bc2d1d 4302012-12-03 Roland Winkler <winkler@gnu.org>
34755291
RW
431
432 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
433 of diary-show-all-entries in the diary buffer (Bug#12994).
434
c5bc2d1d 4352012-12-03 Michael Albinus <michael.albinus@gmx.de>
c2f5b60a
MA
436
437 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
438 "<STDIN>". This is binary safe.
439
682ceaf8
JB
4402012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
441
442 * calc/calc-forms.el (math-absolute-from-iso-dt)
443 (math-date-to-iso-dt, math-parse-iso-date-validate)
444 (math-iso-dt-to-date): New functions.
445 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
446 (math-fd-isoweekday): New variables.
447 (calc-date-notation, math-parse-standard-date, math-format-date)
448 (math-format-date-part): Add support for more formatting codes.
449
db47d5e9
DG
4502012-12-02 Dmitry Gutov <dgutov@yandex.ru>
451
452 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
453 current buffer's file name when called interactively (Bug#12488).
454
3faf4944
JL
4552012-12-02 Juri Linkov <juri@jurta.org>
456
457 * info.el (info-display-manual): Don't clobber an existing Info
010db6da 458 buffer (Bug#10770). Add completion (Bug#10771).
3faf4944 459
cb5d51dc
YN
4602012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
461
462 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
463 before using it for comparison (Bug#5297).
464
f38cd76e
JA
4652012-12-01 Jari Aalto <jari.aalto@cante.net>
466
467 * textmodes/css-mode.el (css-current-defun-name): New function.
468 (css-mode): Use it.
469
470 * textmodes/sgml-mode.el (html-current-defun-name): New function.
471 (html-mode): Use it.
472
ba03d0d9
CY
4732012-12-01 Chong Yidong <cyd@gnu.org>
474
475 Modularize add-log-current-defun (Bug#2224).
476 Suggested by Jari Aalto.
477
478 * vc/add-log.el (add-log-current-defun-function): Doc fix.
479 (add-log-current-defun): Move mode-specific code to other files.
480 (add-log-lisp-like-modes, add-log-c-like-modes)
481 (add-log-tex-like-modes): Variables deleted.
482
483 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
484 (lisp-mode-variables): Use it.
485
486 * progmodes/cc-mode.el (c-common-init):
487 * progmodes/cperl-mode.el (cperl-mode): Set a value for
488 add-log-current-defun-function.
489
490 * progmodes/m4-mode.el (m4-current-defun-name): New function.
491 (m4-mode): Use it.
492
493 * progmodes/perl-mode.el (perl-current-defun-name): New.
494 (perl-mode): Use it.
495
853c1ffc
SM
496 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
497 Use lisp-current-defun-name.
ba03d0d9
CY
498
499 * textmodes/tex-mode.el (tex-current-defun-name): New.
500 (tex-common-initialization): Use it.
501
502 * textmodes/texinfo.el (texinfo-current-defun-name): New.
503 (texinfo-mode): Use it.
504
92eadba5
CY
5052012-12-01 Chong Yidong <cyd@gnu.org>
506
507 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
508 * progmodes/autoconf.el (autoconf-mode):
509 * progmodes/js.el (js-mode):
510 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
511 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
512 * progmodes/perl-mode.el (perl-mode):
513 * progmodes/sh-script.el (sh-mode, sh-set-shell):
514 * textmodes/css-mode.el (css-mode):
515 * textmodes/sgml-mode.el (html-mode, sgml-mode)
516 (sgml-tags-invisible, sgml-guess-indent):
517 * textmodes/tex-mode.el (tex-common-initialization)
518 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
519 (doctex-mode, plain-tex-mode, latex-mode):
520 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
521
3ddbf803
KK
5222012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
523
524 * vc/vc-hg.el (vc-hg-next-revision):
525 Ensure use of default "tip" output format. (Bug#6968)
526
f0b6ae63
KS
5272012-12-01 Kim F. Storm <storm@cua.dk>
528
529 * startup.el (fancy-startup-tail): Add a clickable link
530 (Bug#2176).
531
c01bf73e
CY
5322012-12-01 Chong Yidong <cyd@gnu.org>
533
534 * startup.el (fancy-startup-tail): Improve the message about
535 auto-save files (Bug#2176).
536
f0b6ae63
KS
537 * files.el (recover-session): Improve the descriptive message, and
538 use substitute-command-keys.
539
a9400458
GM
5402012-12-01 Glenn Morris <rgm@gnu.org>
541
542 * ido.el (ido-file-internal):
543 Handle other-window, other-frame for dired. (Bug#13036)
544
fb3bf6ce
GM
5452012-11-30 Glenn Morris <rgm@gnu.org>
546
547 * icomplete.el (icomplete-separator): Fix :version.
548
a813fe3f
CY
5492012-11-30 Chong Yidong <cyd@gnu.org>
550
551 * shell.el (shell): For C-u M-x shell, use an inactive shell
552 buffer as the default (Bug#1975).
276479fd
CY
553 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
554 (shell-mode): Use them to reapply ansi colorization if Shell mode
555 is re-enabled.
a813fe3f 556
a8b733a5
CY
5572012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
558
559 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
560
6fccd6e8
SB
5612012-11-30 Samuel Bronson <naesten@gmail.com>
562
563 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
564 flag to xargs, for compatibility with BSD xargs (Bug#11703).
565
53c9a337
TT
5662012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
567
568 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
569 by move-to-column (Bug#3234).
570
ccf520bb
CY
5712012-11-30 Chong Yidong <cyd@gnu.org>
572
573 * longlines.el (longlines-wrap-line, longlines-encode-region):
574 Preserve text properties (Bug#1425).
575
171b0949
OT
5762012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
577
578 * vc/vc.el (vc-register): Allow registering a file which is
579 already registered with a different backend (Bug#10589).
580
cc37e70f
J
5812012-11-29 Jambunathan K <kjambunathan@gmail.com>
582 Stefan Monnier <monnier@iro.umontreal.ca>
583
584 * icomplete.el: Change separator; add ido-style commands.
585 (icomplete-show-key-bindings): Remove custom var.
586 (icomplete-get-keys): Remove function.
587 (icomplete-forward-completions, icomplete-backward-completions):
588 New commands.
589 (icomplete-minibuffer-map): New var.
590 (icomplete-minibuffer-setup): Use it.
591 (icomplete-exhibit): Don't delay if the list of completions is known.
592 (icomplete-separator): New custom.
593 (icomplete-completions): Use it.
594 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
595 (minibuffer-force-complete-and-exit): New command.
596 (minibuffer--complete-and-exit): New function extracted from
597 minibuffer-complete-and-exit.
598 (minibuffer-complete-and-exit): Use it.
83e12fe0
SM
599
600 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
601 error message when the file doesn't exist (bug#12974).
602
31646597
KD
6032012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
604
605 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
606
e9df8f87
GM
6072012-11-29 Glenn Morris <rgm@gnu.org>
608
824eefe4
GM
609 * files.el (hack-dir-local-variables): Warn if try to set
610 coding via dir-locals, since it doesn't work. (Bug#7169)
611
4ad900d9
GM
612 Add desktop support for restoring vc-dir buffers. (Bug#10606)
613 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
614 Set buffer-local value of desktop-save-buffer.
615 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
616 New functions.
617 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
618 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
619
e9df8f87
GM
620 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
621 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
622 Doc fix.
623 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
624 Doc fixes.
625
e7c8fcc4
JB
6262012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
627
628 * calc/calc-forms.el (calc-date-notation): Fix regexp
629 used to find time codes. Fix symbol for seconds.
630
48d6d9c0
GM
6312012-11-27 Glenn Morris <rgm@gnu.org>
632
633 * emacs-lisp/derived.el (derived-mode-make-docstring):
634 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
635
369f945d
SM
6362012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
637
638 * textmodes/table.el (table-insert): Don't use `symbol-name' on
639 lexically scoped variables (bug#13005).
640
5c9cf0a3 6412012-11-27 Glenn Morris <rgm@gnu.org>
98f99594 642
999e745e
GM
643 * vc/vc-hooks.el (vc-mistrust-permissions):
644 Default to t, to avoid data-loss. (Bug#11490)
98f99594 645
5c9cf0a3 6462012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
207cb73c 647
999e745e
GM
648 * progmodes/python.el (python-indent-guess-indent-offset):
649 If indentation is guessed make python-indent-offset buffer-local.
650
207cb73c 651 Fix Imenu regression.
999e745e
GM
652 * progmodes/python.el (python-nav-beginning-of-defun):
653 Fix forward movement when statement(s) separates point from defun.
207cb73c
FEG
654 (python-imenu-prev-index-position): New function.
655
5c9cf0a3 6562012-11-27 Eli Zaretskii <eliz@gnu.org>
33a488e4
EZ
657
658 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
659
660 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
865f7d8f 661 Don't set buffer-file-type. Return nil. (Bug#12989)
33a488e4 662
5c9cf0a3 6632012-11-27 Glenn Morris <rgm@gnu.org>
50207191
GM
664
665 * hippie-exp.el (hippie-expand-try-functions-list):
666 Re-autoload it. (Bug#12982)
667
5c9cf0a3 6682012-11-27 Eli Zaretskii <eliz@gnu.org>
2147c6ab 669
369f945d
SM
670 * descr-text.el (describe-char-padded-string):
671 Call internal-char-font only on GUI frames. (Bug#11964)
2147c6ab 672
5c9cf0a3 6732012-11-27 Andreas Schwab <schwab@linux-m68k.org>
58b1ae1e
AS
674
675 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
676 and obsoletion message.
677
5c9cf0a3 6782012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
35a10516
SM
679
680 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
681 the constructs to keep outside of the `cl-block' (bug#12977).
682
5c9cf0a3 6832012-11-27 Chong Yidong <cyd@gnu.org>
0c5ef133
CY
684
685 * mouse.el (mouse-drag-line): Even if the line is not draggable,
686 keep reading until we get the up-event anyway, in order to process
687 the up-event for mouse-1-click-follows-link (Bug#12971).
688
848a2dd1
SM
6892012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
690
691 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
692 base function is not yet defined (bug#12965).
693 (ad-activate-advised-definition): Use ad-compile-function.
694 (ad-activate): Use cond.
695
9ad79506
LL
6962012-11-25 Leo Liu <sdl.web@gmail.com>
697
698 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
699 (Bug#12979)
700
e2cb57f5
VB
7012012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
702
703 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
704 reftex-section-info-function in order to be compatible with
705 Texinfo integration.
706
707 * textmodes/reftex.el (reftex-section-pre-regexp)
848a2dd1
SM
708 (reftex-section-post-regexp, reftex-section-info-function):
709 New variable.
710 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
711 reftex-section-post-regexp, and reftex-section-info-function in order
712 to be compatible with Texinfo integration.
713
714 * textmodes/reftex-toc.el (reftex-toc-promote-action):
715 use reftex-section-pre-regexp variable in order to be compatible with
e2cb57f5
VB
716 Texinfo integration.
717
1c4f115d
CY
7182012-11-25 Chong Yidong <cyd@gnu.org>
719
720 * faces.el: Make face-spec-set more analogous to setq.
721 (face-spec-set): Change the third arg to specify whether this
722 function is being called via defface, customize, or a third party.
723 Set the appropriate symbol properties. Clear the override spec if
724 setting via Custom. Initialize face if necessary. (Bug#4988)
725 (face-spec-recalc): Allow theme faces to completely replace the
726 defface spec, in the same way as custom faces (Bug#8454).
727
728 * cus-face.el (custom-declare-face): Move face initialization to
729 face-spec-set.
730 (custom-theme-set-faces): Don't initialize the face name here, as
731 that is now done in face-spec-set.
732
733 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
734 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
735 Simplify by using the new arg to face-spec-set.
736
737 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
738 reset face-override-spec too, and use custom-declare-face.
739
c2350548
JD
7402012-11-24 Jan Djärv <jan.h.d@swipnet.se>
741
742 * term/ns-win.el (ns-initialize-window-system): Move creation of
743 fontsets here (Bug#11964).
744
ecfc364c
VB
7452012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
746
747 * ses.el (ses-rename-cell): Correct bug on mode-line update after
748 cell renaming.
749
0917cc54
CY
7502012-11-24 Chong Yidong <cyd@gnu.org>
751
433212bf
CY
752 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
753 obsolete.
754
0917cc54
CY
755 * custom.el (custom-theme-set-variables): Use a topological sort
756 for ordering by custom dependencies (Bug#12952).
757 (custom--sort-vars, custom--sort-vars-1): New functions.
758
d125ca15 7592012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
002c019c
SM
760
761 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
762 lexical-binding (bug#12938).
763
d125ca15 7642012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
977f9325
WJ
765
766 * image-mode.el (image-transform-check-size): Use assertions only
767 for images of type imagemagick.
768
769 Otherwise no error, image-transform-fit-to-{width,height} is
770 silently ignored, as before. Doc fix.
771
d125ca15 7722012-11-24 Chong Yidong <cyd@gnu.org>
bccffa83
CY
773
774 * faces.el (color-defined-p): Doc fix (Bug#12853).
775
d125ca15 7762012-11-24 Juri Linkov <juri@jurta.org>
61a2a122
JL
777
778 * dired.el (dired-mark): Add optional arg `interactive'.
779 Check for `use-region-p' if `interactive' is non-nil.
780 (dired-unmark, dired-flag-file-deletion): Add optional arg
781 `interactive'. Call `dired-mark' with the arg `interactive'.
782 (Bug#10624)
783
cc4c01bd
JL
784 * wdired.el: Revert 2012-10-17 change partly and replace it with
785 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
786 (wdired-finish-edit): Add marks for new file names to
787 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
788 after `revert-buffer'.
789 (wdired-do-renames): Remove calls to `dired-remove-file',
790 `dired-add-file', `dired-add-entry'. (Bug#11795)
791
d125ca15 7922012-11-24 Alan Mackenzie <acm@muc.de>
b03aabda 793
dc310ed0
AM
794 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
795
b03aabda
AM
796 Fix bugs in the state cache. Enhance a debugging mechanism.
797 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
798 "brace at column zero" strategy for C++.
799 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
800 (c-parse-state-point): New variable.
801 (c-record-parse-state-state): Record old parse state with
802 `copy-tree'. Record previous value of point.
803 (c-debug-parse-state-double-cons): New debugging function.
804 (c-debug-parse-state): Call the above new function.
805 (c-toggle-parse-state-debug): Output a confirmatory message.
806
002c019c
SM
807 * progmodes/cc-mode.el (c-before-change, c-after-change):
808 Call c-invalidate-state-cache from `c-before-change' instead of
b03aabda
AM
809 `c-after-change'.
810
930a6273
CY
8112012-11-23 Chong Yidong <cyd@gnu.org>
812
813 * find-cmd.el (find-constituents): Add executable, ipath,
814 readable, samefile, writable, daystart, regextype (Bug#12856).
815
15c9d04e
SM
8162012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
817
818 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
819
2ecb2679
PE
8202012-11-22 Paul Eggert <eggert@cs.ucla.edu>
821
822 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
823 definition. This fixes a bootstrap failure.
a14a5a40
PE
824 (calc-gregorian-switch): In menu, put dates before regions.
825 This is easier to follow, lines up better in the menu, and lets us
826 coalesce regions that switch at the same time. Give country
15c9d04e
SM
827 names, not "Vatican", as that's better for non-expert users.
828 Use names that are stable between the date of switch and now, e.g.,
a14a5a40
PE
829 Bohemia and Moravia (which existed then and now) and not
830 Czechoslovakia (which didn't exist then and doesn't exist now).
831 What is now the U.S. mostly did not switch at the same time as
832 Britain, so omit the U.S. Correct spelling of "Britain".
833 Catholic Switzerland was too much of a mess, so omit it.
2ecb2679 834
723da6aa
JB
8352012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
836
837 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
838 after the variable is changed.
839
21fa2482
DC
8402012-11-21 Daniel Colascione <dancol@dancol.org>
841
842 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
b6096e85
DC
843 in SQL declarations for font-lock.
844 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
21fa2482 845
3ca2f1bf
GM
8462012-11-21 Glenn Morris <rgm@gnu.org>
847
1bf335cf
GM
848 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
849 (face-italic-p): Add optional argument "inherit".
850
3ca2f1bf
GM
851 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
852 Remove -p suffix from names, for consistency with other set-face-*.
853 (set-face-inverse-video): Fix interactive spec.
854 * play/gamegrid.el (gamegrid-make-mono-tty-face):
855 * textmodes/table.el (table--update-cell-face):
856 Use set-face-inverse-video rather than now obsolete alias.
857
6ef2e5ef 8582012-11-21 Eli Zaretskii <eliz@gnu.org>
7cf95797
EZ
859
860 * simple.el (line-move): Don't call line-move-partial if
861 scroll-conservatively is in effect. (Bug#12927)
862
6ef2e5ef 8632012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
63f25172 864
93b05041
SM
865 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
866 Fallback on completion-at-point rather than
867 pcomplete-expand-and-complete, and only if pcomplete actually failed.
868 (eshell-cmpl-initialize): Setup completion-at-point.
869
870 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
871
bc715d67
SM
872 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
873
6ef2e5ef 8742012-11-21 Michael Albinus <michael.albinus@gmx.de>
d7f2a65c
MA
875
876 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
877 are remote, check out-of-band property for both.
878
6ef2e5ef 8792012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
d1c0cddf
SM
880
881 * window.el (switch-to-buffer): Re-add the warning that was lost in the
882 code rewrite.
883
6ef2e5ef 8842012-11-21 Paul Eggert <eggert@cs.ucla.edu>
0c93aa38 885
535efd4a
PE
886 More minor time fixes.
887 * calendar/time-date.el: Commentary fix.
888 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
889 too much other code depends on (0 0) time stamps.
890 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
891 Add a couple of FIXME comments.
892
0c93aa38
PE
893 Minor cleanup for times as lists of four integers.
894 * files.el (dir-locals-directory-cache):
895 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
896 Doc fixes.
897 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
898 * ps-bdf.el (bdf-file-newer-than-time):
899 Process four-integers time stamps, not two. Doc fixes.
900
23ba2705
SM
9012012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
902
2e31777b
SM
903 * uniquify.el (uniquify-managed): Use defvar-local.
904 (rename-buffer, create-file-buffer): Advise with advice-add.
905 (uniquify-unload-function): Unadvise accordingly.
906
8b62d742
SM
907 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
908 (trace-buffer): Don't purecopy.
909 (trace-entry-message, trace-exit-message): Add `context' arg.
910 (trace--timer): New var.
911 (trace-make-advice): Adjust for use in nadvice.
912 Add `context' argument. Delay `display-buffer' via a timer.
913 (trace-function-internal): Use advice-add.
914 (trace--read-args): New function.
915 (trace-function-foreground, trace-function-background): Use it.
916 (trace-function): Rename to trace-function-foreground and redefine as
917 an alias to that new name.
918 (untrace-function, untrace-all): Adjust to the use of nadvice.
919
5d0ccd95
SM
920 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
921
3837d988
SM
922 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
923
23ba2705
SM
924 * subr.el (called-interactively-p-functions): New var.
925 (internal--called-interactively-p--get-frame): New macro.
926 (called-interactively-p, interactive-p): Rewrite in Lisp.
927 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
928 (called-interactively-p-functions): Use it.
929 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
930 (called-interactively-p-functions): Use it.
931 * allout.el (allout-called-interactively-p): Don't assume
932 called-interactively-p is a subr.
933
b0636be7
GM
9342012-11-20 Glenn Morris <rgm@gnu.org>
935
936 * profiler.el (profiler-report-mode-map): Add a menu.
937 No need to bind `q' because we derive from special-mode.
938 (profiler-report-find-entry): Handle calls from the menu-bar.
939
855b17af
SM
9402012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
941
14146222
SM
942 * emacs-lisp/byte-run.el (defun-declarations-alist):
943 Allow a compiler-macro to be a lambda expression.
944
945 * progmodes/python.el: Use cl-lib. Move var declarations outside of
946 eval-when-compile.
947 (python-syntax-context): Add compiler-macro.
948 (python-font-lock-keywords): Simplify with De Morgan.
949
1000d895
SM
950 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
951
ac5392dc
SM
952 * files.el (load-file): Require match in minibuffer selection, as was
953 the case in Emacs-20 before we changed the spec to allow .elc files
954 (bug#12935).
955
19dc7206
SM
956 * json.el: Don't require cl since we don't use it.
957 * color.el: Don't require cl.
958 (color-complement): `caddr' -> `nth 2'.
959
855b17af
SM
960 * calendar/time-date.el (time-to-seconds): De-obsolete.
961
e8909bdc
JB
9622012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
963
964 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
965 year numbers.
966 (math-date-to-julian-dt): Adjust the initial approximation for the
967 year to deal with the new definition of the DATE.
968
6e9f7997
DC
9692012-11-19 Daniel Colascione <dancol@dancol.org>
970
855b17af
SM
971 * term/w32-win.el (cygwin-convert-path-from-windows):
972 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
6e9f7997 973
6a3dd257
CY
9742012-11-18 Chong Yidong <cyd@gnu.org>
975
976 * filecache.el (file-cache--read-list): New function.
977 (file-cache-add-directory-list, file-cache-add-file-list)
978 (file-cache-delete-file-list, file-cache-delete-directory-list):
979 Use it to read a list of files or directories (Bug#12846).
980 (file-cache-add-file, file-cache-add-directory)
981 (file-cache-delete-file-list, file-cache-delete-file-regexp)
982 (file-cache-delete-directory): Print an message.
983
eef97f35
JB
9842012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
985
986 * calc/calc-forms.el (math-date-to-dt): Use integer date when
987 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
988
913c8291
GM
9892012-11-18 Glenn Morris <rgm@gnu.org>
990
991 * image.el (insert-image, insert-sliced-image): Doc fix.
992
2ac9538d 9932012-11-18 Chong Yidong <cyd@gnu.org>
ec6f8ce6
CY
994
995 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
996 (Bug#12810).
997
2ac9538d 9982012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
c2d07557
CY
999
1000 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
1001 response when the target file is in a subdirectory (Bug#12757).
1002
2ac9538d 10032012-11-18 Chong Yidong <cyd@gnu.org>
33f8917c
CY
1004
1005 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
1006
2ac9538d 10072012-11-18 Glenn Morris <rgm@gnu.org>
65463c40 1008
9a5e2ee3
GM
1009 * emacs-lisp/cl-lib.el (face-underline-p):
1010 Use set-face-underline rather than the alias set-face-underline-p.
1011
65463c40 1012 * window.el (with-temp-buffer-window): Doc fix.
95f0501e
GM
1013 * subr.el (with-output-to-temp-buffer):
1014 Add doc xref to with-temp-buffer-window.
65463c40 1015
c9ed8e3d
JB
10162012-11-18 Juanma Barranquero <lekktu@gmail.com>
1017
1018 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
1019 * calc/calc.el (math-format-date-cache): Declare.
1020
310e60d9
PE
10212012-11-17 Paul Eggert <eggert@cs.ucla.edu>
1022
6f6b82d6
PE
1023 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
1024 It also uses January 1, 1 AD as its day number 1.
310e60d9 1025 * calc/calc-forms.el (math-julian-date-beginning)
6f6b82d6 1026 (math-julian-date-beginning-int): Implement this.
310e60d9 1027
d7fe6352
JB
10282012-11-17 Juanma Barranquero <lekktu@gmail.com>
1029
1030 * descr-text.el (quail-find-key):
1031 * dired.el (desktop-file-name):
1032 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
1033 * generic-x.el (comint-mode, comint-exec):
1034 * image-dired.el (widget-forward):
1035 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
1036 (speedbar-change-expand-button-char)
1037 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
1038 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
1039 * printing.el (easy-menu-add-item, easy-menu-remove-item)
1040 (widget-field-action, widget-value-set):
1041 * speedbar.el (imenu--make-index-alist):
1042 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
1043 (ring-length, ring-insert):
1044 * vcursor.el (compare-windows-skip-whitespace):
1045 * woman.el (dired-get-filename):
1046 Declare functions.
1047
1048 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
1049
c9f618db
JB
10502012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
1051
1052 * calc/calc.el (calc-gregorian-switch): New variable.
1053
1054 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
1055 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
1056 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
1057 (math-leap-year-p): Add option to distinguish between Julian
1058 and Gregorian calendars.
1059 (math-day-number): Use `math-day-in-year' to do the computations.
1060 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
1061 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
1062 to do the computations.
1063 (math-date-to-dt): Use `math-date-to-julian-dt' and
1064 `math-date-to-gregorian-dt' to do the computations.
1065 (calcFunc-weekday, math-format-date-part): Use the new version of
1066 the DATE to determine the weekday.
1067 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
1068 when necessary.
1069
3804f7bc
EZ
10702012-11-17 Eli Zaretskii <eliz@gnu.org>
1071
1072 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
1073 Cygwin; otherwise use 'file:'. (Bug#12914)
1074 (cygwin-convert-path-from-windows): Declare, to avoid
1075 byte-compiler warnings.
1076
de959d4d
AP
10772012-11-17 Andreas Politz <politza@fh-trier.de>
1078
1079 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
1080 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
1081 prefix and negative numeric prefix args (Bug#12795).
1082
e45deaef
SB
10832012-11-17 Stephen Berman <stephen.berman@gmx.net>
1084
1085 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
1086 Don't signal an error with a score that is too low to add to the
1087 list of top scores. (Bug#12779)
1088
ec15e0ff
CY
10892012-11-17 Chong Yidong <cyd@gnu.org>
1090
8e7696a1
CY
1091 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
1092
ec15e0ff
CY
1093 * filecache.el (file-cache-add-file): Handle relative file name in
1094 the argument (Bug#12694).
1095
60c4ee66
JH
10962012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
1097
1098 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
1099
cdc5d88c
SM
11002012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
1101
dd0c5bbb
SM
1102 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
1103
cdc5d88c
SM
1104 * emacs-lisp/cl-lib.el: Set more meaningful version number.
1105
0ff7851c
MR
11062012-11-16 Martin Rudalics <rudalics@gmx.at>
1107
1108 * window.el (enlarge-window, shrink-window): Don't mention return
1109 value in doc-string (Bug#12896).
1110 (window--display-buffer): Don't resize frames - it won't work
1111 with all window managers and defeat pop-up-frame-alist.
1112 (display-buffer-alist): In doc-string explain that CONDITION can
1113 be a function and which arguments are passed to it (Bug#12854).
1114 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
1115 expressions (Bug#12854).
1116 (display-buffer): Pass ACTION argument to
1117 display-buffer-assq-regexp.
1118
dedd1884
GM
11192012-11-16 Glenn Morris <rgm@gnu.org>
1120
7c82753d
GM
1121 * window.el (fit-frame-to-buffer-bottom-margin)
1122 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
1123
dedd1884
GM
1124 * faces.el (face-underline-p): Use face-attribute-specified-or.
1125
96e05507 11262012-11-16 Juanma Barranquero <lekktu@gmail.com>
662b0ee6
JB
1127
1128 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
1129
96e05507 11302012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
eb31fa40
SM
1131
1132 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
1133
96e05507 11342012-11-16 Glenn Morris <rgm@gnu.org>
e2e13f18 1135
17c083ac
GM
1136 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
1137 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
1138
bde3c6c0
GM
1139 * faces.el (face-underline-p): Doc fix. Handle :underline being
1140 things other than `t' (a string, a list).
1141 (face-inverse-video-p): Doc fix.
1142 (set-face-underline): Rename it back from set-face-underline-p.
1143 Doc fix. Allow interactive input of values other than t.
1144 (read-face-attribute): Apply formatting to :underline,
1145 since like :box and :stipple it can take list values.
1146
e2e13f18
GM
1147 * term.el (ansi-term): Don't let C-x escape-char binding
1148 clobber the more standard C-c binding. (Bug#12842)
1149
e0ea8060
GM
1150 * subr.el (set-temporary-overlay-map): Doc fix.
1151
96e05507 11522012-11-16 Martin Rudalics <rudalics@gmx.at>
92346275
MR
1153
1154 * window.el (record-window-buffer)
1155 (display-buffer-record-window): When copying the markers to
1156 window-point preserve window-point-insertion-type. (Bug#12588)
1157
96e05507 11582012-11-16 Glenn Morris <rgm@gnu.org>
7b1bf173
GM
1159
1160 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
1161 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
1162 Use new names for hooks rather than obsolete aliases.
1163
faeafc01
DC
11642012-11-15 Daniel Colascione <dancol@dancol.org>
1165
1166 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
9533048d
DC
1167 prefix instead of "file:" so that when FILE-NAME begins with "//",
1168 as it does when the target file is on a network share, url-handler
1169 isn't confused.
1170
1232d6c2
SM
11712012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
1172
1173 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
1174 a preactivated advice from an old advice.el; they're not compatible!
1175
47f01a8a
KY
11762012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
1177
1178 * emacs-lisp/nadvice.el (advice--make-interactive-form):
1179 Fix string-spec case.
1180
1181 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
1182
a61428c4
SM
11832012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
1184
1185 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
1186 (advice--buffer-local-function-sample): New var.
1187 (advice--set-buffer-local, advice--buffer-local): New functions.
1188 (add-function, remove-function): Use them.
1189
875ce3a7
DA
11902012-11-15 Drew Adams <drew.adams@oracle.com>
1191
1192 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
1193
589fc479
SM
11942012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
1195
1196 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
1197 potential binding of print-gensym to t, and prettify (back)quotes in
1198 case they appear in args's default values (bug#12884).
1199
1668ea90
SM
12002012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1201
1202 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
1203 (advice-eval-interactive-spec): New function.
1204 (advice--make-interactive-form): Support around advice (bug#12844).
1205
8619323f
DG
12062012-11-14 Dmitry Gutov <dgutov@yandex.ru>
1207
1208 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
1209 more strict. Add docstring.
c62792e7
DG
1210 (ruby-expression-expansion-re): Extract from
1211 `ruby-match-expression-expansion'.
1212 (ruby-syntax-propertize-function): After everything else, search
1213 for expansions in string literals, mark their insides as
1214 whitespace syntax and save match data for font-lock.
1215 (ruby-font-lock-keywords): Use the 2nd group from expression
1216 expansion matches.
1217 (ruby-match-expression-expansion): Use the match data saved to the
1218 text property in ruby-syntax-propertize-function.
8619323f 1219
9c3912d3
SM
12202012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1221
1222 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
1223 (bug#12879).
1224
5e9419e8
DG
12252012-11-13 Dmitry Gutov <dgutov@yandex.ru>
1226
1227 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
1228 start/end keyword a bit harder. Works with different values of N.
1229 Add more comments.
1230 (ruby-end-of-block): Update accordingly.
1231
3c442f8b
SM
12322012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
1233
fa470af0
SM
1234 * woman.el (woman-file-name): Don't mess with unread-command-events
1235 (bug#12861).
1236
3c442f8b
SM
1237 * emacs-lisp/advice.el: Layer on top of nadvice.el.
1238 Remove out of date self-require hack.
1239 (ad-do-advised-functions): Use simple `dolist'.
1240 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
1241 (ad-advice-definition): Redefine as functions.
1242 (ad-advice-classes): Move before first use.
1243 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
fa470af0 1244 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
3c442f8b 1245 (ad--defalias-fset): Remove functions.
fa470af0 1246 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
3c442f8b
SM
1247 (ad-get-orig-definition): Rewrite.
1248 (ad-make-advised-definition-docstring): Change base docstring.
1249 (ad-real-orig-definition): Rewrite.
1250 (ad-map-arglists): Change name of called function.
1251 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
1252 (ad-make-advised-definition): Simplify.
1253 (ad-assemble-advised-definition): Tweak for new calling context.
fa470af0 1254 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
3c442f8b
SM
1255 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
1256 function and call ad-activate if needed.
1257 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
1258 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
1259 (ad-compile-function): Compile ad-Advice-*.
1260 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
1261 (ad-start-advice, ad-stop-advice): Remove.
1262
5745cae6
DG
12632012-11-13 Dmitry Gutov <dgutov@yandex.ru>
1264
1265 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
1266 period before class method names, not after. Remove handling of
1267 one impossible case. Add comments.
1268
413d4689
SM
12692012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
1270
7db1bda8
SM
1271 * emacs-lisp/advice.el: Remove support for freezing.
1272 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
1273 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
1274 Remove support for `freeze'.
1275
413d4689
SM
1276 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
1277 override the default.
1278 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
1279 cl--dotimes/dolist.
1280 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
1281 `cl' is loaded.
1282
1283 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
1284 from add-advice.
1285 (advice--strip-macro): New function.
1286 (advice--defalias-fset): Use them to handle macros.
1287 (advice-add): Use them.
1288 (advice-member-p): Correctly handle macros.
1289
f178c32d
DG
12902012-11-13 Dmitry Gutov <dgutov@yandex.ru>
1291
7db1bda8
SM
1292 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1293 Never font-lock the beginning of singleton class as heredoc.
f178c32d 1294
f78ee6af 12952012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
f8705f6e
SM
1296
1297 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
1298
f78ee6af 12992012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
9db94175
WJ
1300
1301 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
f78ee6af
GM
1302 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
1303 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
9db94175 1304
f78ee6af 13052012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
2e6625b5
FEG
1306
1307 Fix end-of-defun misbehavior.
1308 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
1309 python-beginning-of-defun-function. Handle nested defuns
1310 correctly.
1311 (python-nav-end-of-defun): Rename from
1312 python-end-of-defun-function. Ensure forward movement.
f8705f6e 1313 (python-info-current-defun): Reimplement to work as intended
2e6625b5
FEG
1314 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
1315 parent defuns as soon as possible.
1316
f78ee6af 13172012-11-13 Glenn Morris <rgm@gnu.org>
24c38527
GM
1318
1319 * progmodes/flymake.el (flymake-error-bitmap)
1320 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
1321 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
1322
f78ee6af 13232012-11-13 Dmitry Gutov <dgutov@yandex.ru>
d1e1e53d
DG
1324
1325 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
1326 backward, always stop at indentation. Reverts the change from
1327 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
1328
f78ee6af 13292012-11-13 Glenn Morris <rgm@gnu.org>
68146aa5 1330
a1d3e07e
GM
1331 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
1332 Add ibuffer-filter-by-derived-mode.
1333
84acf328
GM
1334 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
1335 the same name shadowing each other.
1336
38785e75
GM
1337 * window.el (with-temp-buffer-window): Doc tweak.
1338
57fc0fee
GM
1339 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
1340
6ba6a3e5
GM
1341 * help.el (temp-buffer-max-height):
1342 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
68146aa5
GM
1343 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
1344
231d8498
SM
13452012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
1346
1347 * emacs-lisp/nadvice.el: New package.
1348 * subr.el (special-form-p): New function.
1349 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
1350 (elp-all-instrumented-list): Remove var.
1351 (elp-not-profilable): Remove elp-wrapper.
1352 (elp-profilable-p): Use autoloadp and special-form-p.
1353 (elp--advice-name): New const.
1354 (elp-instrument-function): Use advice-add.
1355 (elp--instrumented-p): New predicate.
1356 (elp-restore-function): Use advice-remove.
1357 (elp-restore-all, elp-reset-all): Use mapatoms.
1358 (elp-set-master): Use elp--instrumented-p.
1359 (elp--make-wrapper): Rename from elp-wrapper, return a function
1360 suitable for advice-add. Use cl-inf.
1361 (elp-results): Use mapatoms+elp--instrumented-p.
1362 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
1363 (debug-function-list): Remove var.
1364 (debug): Rename arg, and then let-bind it explicitly inside.
1365 (debugger-setup-buffer): Rename arg.
1366 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
1367 (debugger-frame-number): Adjust to new debug-on-entry setup.
1368 (debug--implement-debug-on-entry): Rename from
1369 implement-debug-on-entry, add argument.
1370 (debugger-special-form-p): Remove, use special-form-p instead.
1371 (debug-on-entry): Use advice-add.
1372 (debug--function-list): New function.
1373 (cancel-debug-on-entry): Use it, along with advice-remove.
1374 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
1375 (debugger-list-functions): Use debug--function-list instead of
1376 debug-function-list.
1377 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
1378 (ad-special-form-p): Remove, use special-form-p instead.
1379 (ad-set-advice-info): Use add-function and remove-function.
1380 (ad--defalias-fset): Adjust accordingly.
1381
19e09879
GM
13822012-11-10 Glenn Morris <rgm@gnu.org>
1383
714cebd1
GM
1384 * mail/emacsbug.el (report-emacs-bug-tracker-url)
1385 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
1386 (report-emacs-bug-create-existing-bugs-buffer)
1387 (report-emacs-bug-parse-query-results)
1388 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
1389
bf67dafa
GM
1390 * term.el (term-default-fg-color, term-default-bg-color):
1391 Make obsolete, rather than just saying "deprecated" in the doc.
1392
19e09879
GM
1393 * term.el (term): Rename from `term-face'.
1394 (term-current-face, ansi-term-color-vector)
1395 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
1396 Update all users.
1397
6baf66d5 13982012-11-10 Jan Djärv <jan.h.d@swipnet.se>
531bdce6
JD
1399
1400 * server.el (server-create-window-system-frame): Handle Nextstep
1401 specially (Bug#12780).
1402
6baf66d5 14032012-11-10 Glenn Morris <rgm@gnu.org>
fedb154e
GM
1404
1405 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
1406 Unautoload, and make obsolete. (Bug#7449)
1407
6baf66d5 14082012-11-10 Chong Yidong <cyd@gnu.org>
9d9e48d9
CY
1409
1410 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
1411 rename from diff-remove-trailing-whitespace (Bug#12831).
1412
6baf66d5 14132012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
32170f7f
SM
1414
1415 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
1416 miscompilation of trace.el.
1417
6baf66d5 14182012-11-10 Glenn Morris <rgm@gnu.org>
26f59676
GM
1419
1420 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
1421
6baf66d5 14222012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
41626722
SM
1423
1424 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
1425 (bug#12812).
1426
6baf66d5 14272012-11-10 Chong Yidong <cyd@gnu.org>
7d806bfe
CY
1428
1429 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
1430 a defcustom with an appropriate :set function.
1431 (minibuffer-default--in-prompt-regexps): New function.
1432
6baf66d5 14332012-11-10 Glenn Morris <rgm@gnu.org>
2ee1d59f 1434
031b2ea7
GM
1435 * emacs-lisp/cl.el (define-setf-expander, defsetf)
1436 (define-modify-macro): Doc fixes.
1437
2ee1d59f
GM
1438 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
1439 (gv-define-simple-setter): Update doc of `fix-return'.
1440
6baf66d5 14412012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
d57c286e 1442
b715ed44
SM
1443 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
1444 twice when `fix-return' is set (bug#12813).
1445
d57c286e
SM
1446 * emacs-lisp/cl.el (defsetf): Pass the third arg to
1447 gv-define-simple-setter (bug#12812).
1448
c9cac599
SM
1449 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
1450 (bug#12756).
1451
6baf66d5 14522012-11-10 Glenn Morris <rgm@gnu.org>
6b3770fb
GM
1453
1454 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
1455
5593ed90
GM
1456 * emacs-lisp/cl-extra.el (cl-prettyexpand):
1457 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
1458 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
1459 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
1460
1461 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
1462
05a859c1
LL
14632012-11-10 Leo Liu <sdl.web@gmail.com>
1464
1465 * ido.el (ido-set-matches-1): Improve flex matching performance by
1466 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
1467
32e5c58c
SM
14682012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
1469
1470 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
1471 (ad--defalias-fset): New function.
1472 (ad-safe-fset): Remove.
1473 (ad-make-freeze-definition): Use cl-letf*.
1474
f5925cd9
SM
14752012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
1476
da03ef8a
SM
1477 * subr.el (dolist): Don't bind VAR in RESULT.
1478
6858633a
SM
1479 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
1480 (fset, documentation): Don't save real def since we don't advise.
1481 (ad-do-advised-functions): Remove problematic `result-form'.
1482 (ad-safe-fset): `ad-real-fset' => `fset'.
1483 (ad-read-advised-function): Don't assume that ad-do-advised-functions
1484 uses CL's dolist internally.
1485 (ad-arglist): Remove unused arg `name'.
1486 (ad-docstring, ad-make-advised-docstring):
1487 `ad-real-documentation' => `documentation'.
1488 (warning-suppress-types): Declare.
1489 (ad-set-arguments): Simple CSE.
1490 (ad-recover-normality): Sanity check.
1491
f5925cd9
SM
1492 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
1493 (funcall '(lambda ..) ..) into ((lambda ..) ..).
1494
93a66b3a
VB
14952012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
1496
1497 * ses.el: symbol to coordinate mapping is made by symbol property
f5925cd9
SM
1498 `ses-cell'. This means that the same mapping is done for all SES
1499 sheets. That is good enough for cells with standard A1 names, but
1500 not for named cell. So a hash map is added for the latter.
1501 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
93a66b3a
VB
1502 (ses-sym-rowcol): Use hashmap for named cell.
1503 (ses-is-cell-sym-p): New defun.
1504 (ses-decode-cell-symbol): New defun.
f5925cd9
SM
1505 (ses-create-cell-variable): Add cell to hashmap when name is not
1506 A1-like.
93a66b3a
VB
1507 (ses-rename-cell): Check that cell new name is not already in
1508 spreadsheet with the use of ses-is-cell-sym-p
1509 (ses-rename-cell): Use hash map for named cells, but accept also
1510 renaming back to A1-like.
1511
67dd8ad1
SM
15122012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
1513
57618ecf
SM
1514 * emacs-lisp/advice.el: Use new dynamic docstrings.
1515 (ad-make-advised-definition-docstring, ad-advised-definition-p):
1516 Use dynamic-docstring-function instead of ad-advice-info.
1517 (ad--make-advised-docstring): New function extracted from
1518 ad-make-advised-docstring.
1519 (ad-make-advised-docstring): Use it.
1520 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
1521 from sql-help.
1522 (sql-help): Use it with dynamic-docstring-function.
1523
67dd8ad1
SM
1524 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
1525
be883b34
SM
15262012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1527
d41706aa
SM
1528 * files.el (hack-one-local-variable--obsolete): New function.
1529 (hack-one-local-variable): Use it for obsolete settings.
1530
85e55412
SM
1531 * subr.el (locate-user-emacs-file): If both old and new name exist, use
1532 the new name.
1533
be883b34
SM
1534 * progmodes/js.el (js--filling-paragraph): New var.
1535 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
1536 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
1537 less sneaky.
1538
cabc040a
JD
15392012-11-08 Julien Danjou <julien@danjou.info>
1540
1541 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
1542 `auto-mode-alist' (Bug#12835).
1543
d14bb752
SM
15442012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1545
79b3e376
SM
1546 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
1547 (perl--prettify-symbols-alist): New const.
1548 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
1549 New functions.
1550 (perl-font-lock-keywords-2): Use them.
1551 (perl-electric-noindent-p): New function.
1552 (perl-mode): Use it to set up electric-indent-mode.
1553 (perl-electric-terminator, perl-indent-command): Mark obsolete.
1554 (perl-mode-map): Remove bindings for them.
1555 (perl-imenu-generic-expression, perl-outline-level):
1556 Match functions&packages in column>0.
1557
3b11e6ac
SM
1558 * env.el (env--substitute-vars-regexp): New const.
1559 (substitute-env-vars): Use it. Add `only-defined' arg.
1560 * net/tramp.el (tramp-replace-environment-variables): Use it.
1561
784c1a7b
SM
1562 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
1563 Byte-compile *before* eval in eval-and-compile.
1564 (byte-compile-log-warning): Remove redundant inhibit-read-only.
1565 (byte-compile-file-form-autoload): Don't hide actual definition.
1566 (byte-compile-maybe-guarded): Accept `functionp' as well.
1567
d14bb752
SM
1568 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
1569
499a0f7a
MA
15702012-11-07 Michael Albinus <michael.albinus@gmx.de>
1571
1572 * notifications.el (notifications-get-server-information-method):
1573 New defconst.
1574 (notifications-get-capabilities): Fix docstring.
1575 (notifications-get-server-information): New defun.
1576
f0704a9a
AM
15772012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1578
1579 * textmodes/ispell.el (ispell-region): Standard re-indent for better
1580 readability.
1581
b159a1fd
AM
1582 * textmodes/ispell.el: Experimental support for support debugging.
1583 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
1584 buffer for ispell.
1585 (ispell-print-if-debug): New function to print stuff to
1586 `ispell-debug-buffer' if debugging is enabled.
1587 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
1588 show some debugging info.
1589 (ispell-buffer-with-debug): New function that creates a debugging
1590 buffer and calls `ispell-buffer' with debugging enabled.
1591
056cb3a1
AM
1592 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
1593 comment in autoconf mode. (Bug#12768)
1594
8e6a67b7
DA
15952012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
1596
1597 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
1598 frame-first-window, frame-root-window, frame-selected-window,
1599 minibuffer-selected-window, minibuffer-window,
1600 window-absolute-pixel-edges, window-at, window-body-height,
1601 window-body-width, window-display-table, window-combination-limit,
1602 window-frame, window-fringes, window-inside-absolute-pixel-edges,
1603 window-inside-edges, window-inside-pixel-edges, window-left-child,
1604 window-left-column, window-margins, window-next-buffers,
1605 window-next-sibling, window-new-normal, window-new-total,
1606 window-normal-size, window-parameter, window-parameters, window-parent,
1607 window-pixel-edges, window-point, window-prev-buffers,
1608 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
1609 window-start, window-text-height, window-top-child, window-top-line,
1610 window-total-height, window-total-width and window-use-time to the list
1611 of functions without side-effects.
1612 (toplevel): Add window-valid-p to the list of error-free functions
1613 without side-effects.
1614
53fc914f
AM
16152012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1616
f5925cd9
SM
1617 * textmodes/ispell.el (ispell-program-name):
1618 Update spellchecker parameters when customized.
53fc914f 1619
9749e2b0
GM
16202012-11-04 Glenn Morris <rgm@gnu.org>
1621
1622 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
1623
2cbafa56
CY
16242012-11-04 Chong Yidong <cyd@gnu.org>
1625
1626 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
1627 same-window-* variables.
1628
85178ca1
JL
16292012-11-04 Juri Linkov <juri@jurta.org>
1630
1631 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
1632 (isearch-describe-key, isearch-describe-mode): Use a display
1633 action instead of binding same-window-* variables (Bug#10040).
1634
5c677d44
GM
16352012-11-03 Glenn Morris <rgm@gnu.org>
1636
49138400
GM
1637 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
1638 Rename handler properties back from cl-- to cl-. (Bug#12788)
1639
5c677d44
GM
1640 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
1641
1d4341f9
EZ
16422012-11-03 Eli Zaretskii <eliz@gnu.org>
1643
1644 * term/pc-win.el: Don't load term/internal from here.
1645
1646 * loadup.el: Load term/internal from here.
1647
12fd5ee1
FEG
16482012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
1649
1650 * progmodes/python.el (inferior-python-mode): Fix hang in
1651 jit-lock (Bug#12645).
1652
43bcfda6
MR
16532012-11-03 Martin Rudalics <rudalics@gmx.at>
1654
1655 * window.el (switch-to-visible-buffer)
1656 (switch-to-buffer-preserve-window-point): Fix doc-strings.
1657
376a8e83
GM
16582012-11-03 Glenn Morris <rgm@gnu.org>
1659
1660 * emacs-lisp/cl-lib.el (cl--random-time):
1661 Rename from cl-random-time. (Bug#12773)
1662 (cl--gensym-counter, cl--random-state): Update callers.
1663 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
1664
0f7b074f
CY
16652012-11-03 Chong Yidong <cyd@gnu.org>
1666
1667 * cus-start.el: Make cursor-type customizable (Bug#11633).
1668
3a6851d9
GM
16692012-11-02 Glenn Morris <rgm@gnu.org>
1670
00a3b041
GM
1671 * filecache.el: No need to load find-lisp when compiling.
1672 (find-lisp-find-files): Autoload it.
1673 (file-cache-add-directory-recursively): Don't require find-lisp.
1674
11fef14a
GM
1675 * image.el (image-type-from-file-name): Trivial simplification.
1676
3a6851d9
GM
1677 * emacs-lisp/bytecomp.el (byte-compile-eval):
1678 Decouple "noruntime" and "cl-functions" warnings.
1679
b4b096e4
SB
16802012-11-01 Stephen Berman <stephen.berman@gmx.net>
1681
1682 * play/gomoku.el (gomoku-display-statistics): Update mode line
1683 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
1684
218e997a
MR
16852012-10-31 Martin Rudalics <rudalics@gmx.at>
1686
1687 * window.el (quit-restore-window): If the window has been
1688 created on an existing frame and ended up as the sole window on
1689 that frame, do not delete it (Bug#12764).
1690
b08b6da7
SM
16912012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
1692
3618df45
SM
1693 * progmodes/sh-script.el (sh--inside-noncommand-expression):
1694 Rename from sh--inside-arithmetic-expression, handle more cases
1695 (bug#11263).
1696
b08b6da7
SM
1697 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
1698 (sh-font-lock-open-heredoc): Use it (bug#12770).
1699
4ddedf94
GM
17002012-10-30 Glenn Morris <rgm@gnu.org>
1701
f43a5263
GM
1702 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
1703
4ddedf94
GM
1704 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
1705
748b0d84
CY
17062012-10-29 Chong Yidong <cyd@gnu.org>
1707
b5dd9a77
CY
1708 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
1709 function key is stored in a keyboard macro (Bug#4894).
1710
748b0d84
CY
1711 * thingatpt.el (number-at-point): Apply a thing-at-point property.
1712
e07fcbdc
SM
17132012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1714
d7f9cc85
SM
1715 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
1716 header comments".
1717 (diff-unified->context, diff-context->unified)
1718 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
1719
c606253c
SM
1720 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
1721
e07fcbdc
SM
1722 * files.el (find-alternate-file): Only ask one question (bug#12487).
1723
894b9dd9
CY
17242012-10-29 Chong Yidong <cyd@gnu.org>
1725
1dc2755a
CY
1726 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
1727 Suggested by Dan Nicolaescu (Bug#6326).
1728
329c48d8
CY
1729 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
1730
2230fa5b 1731 * startup.el (fancy-about-screen): Don't message (Bug#12680).
5c2f2631 1732
e84cad57
CY
1733 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
1734
1913c5f5
CY
1735 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
1736
894b9dd9
CY
1737 * face-remap.el (face-remap-add-relative): Handle the case where a
1738 face-remapping-alist entry is a cons cell (Bug#12762).
1739
329c48d8
CY
17402012-10-29 Kevin Ryde <user42@zip.com.au>
1741
1742 * woman.el (woman-parse-numeric-value): Handle picas correctly
1743 (Bug#12639).
1744
a0ccbcbd
GM
17452012-10-29 Glenn Morris <rgm@gnu.org>
1746
1747 * emacs-lisp/cl.el (defsetf): Doc fix.
1748
b3871e59
SM
17492012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1750
1751 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
1752 syntax to the matching opener, if any (bug#12547).
1753 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
1754 matching open as a "case-(".
1755 (sh-smie-rc-grammar): Add a corresponding rule for it.
1756
cd44022c
DH
17572012-10-28 Daniel Hackney <dan@haxney.org>
1758
1759 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
1760 "PKGNAME-autoloads.el" in case we created it.
1761
70edffb1
SM
17622012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
1763
86957a0c
SM
1764 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
1765 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
b9383404 1766 (completion--twq-all): Disable too-strict assertions.
86957a0c 1767
70edffb1
SM
1768 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
1769
d069271c
EZ
17702012-10-27 Eli Zaretskii <eliz@gnu.org>
1771
1772 * profiler.el (profiler-report-make-entry-part): Fix help-echo
1773 text to match the real keybindings.
1774
e2f022a3
JL
17752012-10-27 Juri Linkov <juri@jurta.org>
1776
1777 * wdired.el (wdired-keep-marker-rename): New defcustom.
1778 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
1779 (Bug#11795)
1780
1781 * dired.el (dired-keep-marker-rename): Add reference to
1782 `wdired-keep-marker-rename' in the docstring.
1783 Add default character value ?R to display initially in
1784 Customization UI instead of ?@.
1785
df171c23
MR
17862012-10-27 Martin Rudalics <rudalics@gmx.at>
1787
1788 * window.el (display-buffer): In doc-string describe
1789 window-height and window-width alist entries.
1790
1791 * time.el (display-time-world): Restore fit-window-to-buffer
1792 behavior.
1793
05b621a6
CY
17942012-10-27 Chong Yidong <cyd@gnu.org>
1795
1796 * subr.el (insert-buffer-substring-as-yank): Doc fix.
1797
55f197b2
J
17982012-10-26 Jambunathan K <kjambunathan@gmail.com>
1799
1800 * minibuffer.el (completion-category-overrides): New completion
1801 category `bookmark' (bug#11131).
1802
372212df
SM
18032012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
1804
150f809c
SM
1805 * emacs-lisp/advice.el (ad-assemble-advised-definition):
1806 Silence bogus compiler warnings for ad-do-it.
1807
372212df
SM
1808 * bookmark.el (bookmark-completing-read): Set the completion category
1809 to `bookmark' (bug#11131).
1810
c5772569
B
18112012-10-26 Bastien <bzg@altern.org>
1812 Stefan Monnier <monnier@iro.umontreal.ca>
1813
1814 * face-remap.el: Use lexical-binding.
1815 (text-scale-adjust): Improve docstring. Use itself for the temporary
1816 overlay-map bindings, so as to repeat the "Use..." message each time.
1817
a2be0357
SM
18182012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
1819
63314e57
SM
1820 * emacs-lisp/macroexp.el (macroexp--expand-all):
1821 Obey byte-compile-warning-enabled-p (bug#12486).
1822
a2be0357
SM
1823 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
1824 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
1825
8c7727c3
MR
18262012-10-26 Martin Rudalics <rudalics@gmx.at>
1827
1828 * mouse.el (mouse-drag-line): Move last form into preceding when
1829 clause (Bug#12731).
1830
1831 * help.el (resize-temp-buffer-window): Fix doc-string.
1832
3f2a848d
DE
18332012-10-25 David Engster <deng@randomsample.de>
1834
1835 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
a2be0357 1836 Remove. This feature is already integrated in imenu.
3f2a848d
DE
1837
1838 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
1839 always loaded. Require `speedbar' unconditionally.
1840
a7723be6
SM
18412012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1842
aaabfc8b
SM
1843 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
1844
414a8595
SM
1845 * minibuffer.el (minibuffer-force-complete): Fix thinko.
1846
fb5b9475
SM
1847 * net/ldap.el (ldap-search-internal): The official ldif format starts
1848 with a "version: 1" header (bug#12724).
1849
a7723be6
SM
1850 * emacs-lisp/package.el (package-installed-p): Warn if not ready
1851 (bug#12721).
1852
a05cb6e3
GM
18532012-10-25 Glenn Morris <rgm@gnu.org>
1854
1855 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
1856
3c92de70
SM
18572012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1858
1859 * minibuffer.el (minibuffer-force-complete): Use one more marker
1860 for the temporary-overlay-map command (bug#12619).
1861
a4b6d7c6
CY
18622012-10-24 Chong Yidong <cyd@gnu.org>
1863
1864 * time.el (display-time-world-mode): Derive from special-mode.
1865 (display-time-world): Use display-buffer (Bug#12708).
1866 (display-time-world-mode-map): Variable deleted.
9321d8d7
CY
1867 (display-time-world-display): Wrap the final delete-char inside
1868 inhibit-read-only.
a4b6d7c6 1869
75e8f9d2
CY
18702012-10-24 Chong Yidong <cyd@gnu.org>
1871
cd996018
CY
1872 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
1873 Doc fix.
1874
75e8f9d2
CY
1875 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
1876
d92df117
SM
18772012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1878
1879 * minibuffer.el (completion--all-sorted-completions-location): New var.
1880 (completion--cache-all-sorted-completions)
1881 (completion--flush-all-sorted-completions): Use it.
1882 (completion-in-region, completion-in-region--postch)
1883 (completion-at-point, completion-help-at-point): Use markers in
1884 completion-in-region--data (bug#12619).
1885
9c3e39f3
SM
18862012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1887
c79825bd
SM
1888 * progmodes/compile.el (compilation-start): Try to handle common
1889 quoting of `cd' argument (bug#12640).
1890
9c3e39f3
SM
1891 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
1892 (bug#12671).
1893
a6709bc7
GM
18942012-10-23 Glenn Morris <rgm@gnu.org>
1895
1896 * progmodes/gud.el (gud-menu-map):
1897 Check gdb-active-process is bound. (Bug#12358)
1898
d1069532
SM
18992012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1900
d20d69c0
SM
1901 * repeat.el (repeat): Set real-this-command (bug#12232).
1902
d1069532
SM
1903 * htmlfontify.el (hfy-post-html-hook):
1904 * filesets.el (filesets-cache-fill-content-hook):
1905 * arc-mode.el (archive-extract-hook):
1906 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
1907 * net/rcirc.el (rcirc-sentinel-functions)
1908 (rcirc-receive-message-functions, rcirc-activity-functions)
1909 (rcirc-print-functions):
1910 * net/dbus.el (dbus-event-error-functions):
1911 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
1912 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
1913 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
1914 * term/sun.el (sun-raw-prefix-hooks):
1915 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
1916
f7eac6d8
MA
19172012-10-23 Michael Albinus <michael.albinus@gmx.de>
1918
d1069532
SM
1919 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
1920 Set `tramp-chunksize' to 1. This improves the performance.
f7eac6d8
MA
1921 (tramp-smb-wait-for-output): Add timeout to
1922 `tramp-accept-process-output' calls.
1923
608d9d7c
CY
19242012-10-23 Chong Yidong <cyd@gnu.org>
1925
49238e7f
CY
1926 * faces.el (font-list-limit): Define as an obsolete variable.
1927
1928 * startup.el (command-line):
1929 * cus-start.el: Don't refer to font-list-limit.
1930
608d9d7c
CY
1931 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
1932
4ff5b1b2
SM
19332012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1934
1935 * subr.el (internal-temp-output-buffer-show): Rename from
1936 temp-output-buffer-show, since previously compiled files expect this name.
1937
ea1d4aac
GM
19382012-10-23 Glenn Morris <rgm@gnu.org>
1939
1940 * image.el (image-type-from-file-name): If multiple types match,
1941 return the first one that is supported. (Bug#9045)
1942
eda82a31
GM
19432012-10-22 Glenn Morris <rgm@gnu.org>
1944
1945 * image.el (imagemagick-enabled-types): Doc fix.
1946
4f020bec
TA
19472012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
1948
1949 * progmodes/which-func.el (which-func-current): The hash-table may have
1950 an explicit nil (bug#12338).
1951
c77d37e2
SM
19522012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
1953
1954 * electric.el (electric-pair-delete-selection-self-insert-function):
1955 Rename to electric-pair-will-use-region, return a boolean.
1956 (electric-pair-mode): Adjust accordingly. Don't require delsel.
1957
1958 * delsel.el (delete-selection-helper): Use a function instead of a hook.
1959 (delete-selection-pre-hook): Use use-region-p.
1960 (delete-selection-self-insert-function): Remove.
1961 (self-insert-command): Obey self-insert-uses-region-functions.
1962 (self-insert-iso): Revert to previous setting, since we don't actually
1963 know what that command does.
1964 (delete-selection-self-insert-hooks): Remove.
1965
b1d39ccc
SL
19662012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
1967
1968 * delsel.el (delete-selection-helper): New function, extracted from
1969 delete-selection-pre-hook.
1970 (delete-selection-pre-hook): Use it.
1971 (delete-selection-self-insert-function): New function.
1972 (delete-selection-self-insert-hooks): New hook.
1973 (self-insert-command, self-insert-iso): Use it.
1974 * electric.el (electric-pair-syntax): New function, extracted from
1975 electric-pair-post-self-insert-function.
1976 (electric-pair-post-self-insert-function): Use it.
1977 (electric-pair-delete-selection-self-insert-function): New function.
1978 (electric-pair-mode): Require delsel and setup
1979 delete-selection-self-insert-hooks (bug#11520).
1980
045ef729
CY
19812012-10-20 Chong Yidong <cyd@gnu.org>
1982
4c5d08a8
CY
1983 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
1984 no changes to show (Bug#12586).
1985
045ef729
CY
1986 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
1987 list explicitly (Bug#12571).
1988
3503c798 19892012-10-20 Arne Jørgensen <arne@arnested.dk>
79e1997a 1990
b1d39ccc
SL
1991 * progmodes/flymake.el (flymake-create-temp-inplace):
1992 Use file-truename.
79e1997a 1993
2068905b
EZ
19942012-10-20 Eli Zaretskii <eliz@gnu.org>
1995
1996 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
1997
4c9e9550
JB
19982012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
1999
2000 * calc/calc-units.el (math-extract-units): Properly extract powers
2001 of units.
2002
1a6e7e38
DC
20032012-10-20 Daniel Colascione <dancol@dancol.org>
2004
2005 * frame.el (make-frame): Set x-display-name as we used to in order
2006 to unbreak creating an X11 frame from an Emacs daemon started
2007 without a display.
2008
8e808318
SM
20092012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2010
2011 * minibuffer.el (minibuffer-force-complete): Make the next completion use
f5925cd9 2012 the same completion-field (bug#12221).
8e808318 2013
fb0104da
MR
20142012-10-19 Martin Rudalics <rudalics@gmx.at>
2015
2016 * emacs-lisp/debug.el (debug): Record height of debugger window
2017 also when debugger will be back (Bug#8789).
2018
8c27235e
CY
20192012-10-18 Chong Yidong <cyd@gnu.org>
2020
2021 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
2022 Convert to defcustom.
2023 (gdb-get-source-file): Don't bind pop-up-windows.
2024
2025 * progmodes/gud.el (gud-display-line): Don't specially re-use
2026 other frames for the gdb-mi case (Bug#12648).
2027
90eacf99
SM
20282012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
2029
aaf0c300
SM
2030 * emacs-lisp/advice.el: Clean up commentary a bit.
2031 (ad-do-advised-functions, ad-with-originals): Use `declare'.
2032 (byte-code-function-p): Never redefine.
2033
90eacf99
SM
2034 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
2035
281c9d2b
GM
20362012-10-18 Glenn Morris <rgm@gnu.org>
2037
40714e3d
GM
2038 * dired.el (dired-sort-toggle): Some ls implementations only allow
2039 a single option string. (Bug#12666)
2040
281c9d2b
GM
2041 * minibuffer.el (completion-cycle-threshold): Doc fix.
2042
b278604e
KH
20432012-10-17 Kenichi Handa <handa@gnu.org>
2044
90eacf99
SM
2045 * international/mule.el (set-keyboard-coding-system):
2046 Recover input meta mode when the new coding system doesn not use 8-bit.
b278604e
KH
2047 Supply TERMINAL arg to set-input-meta-mode.
2048
df171c23 20492012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
7ebc5f5a
MH
2050
2051 * wdired.el (wdired-old-marks): New variable.
2052 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
2053 (wdired-do-renames): Move point with renamed file and don't lose
2054 mark status (Bug#11795).
2055
e5a94ec4
JL
20562012-10-16 Juri Linkov <juri@jurta.org>
2057
2058 * replace.el (query-replace-help): Mention multi-buffer replacement
2059 keys in the Help message. (Bug#12655)
2060
d18a0d24
CY
20612012-10-15 Chong Yidong <cyd@gnu.org>
2062
2063 * emacs-lisp/byte-run.el (defsubst): Doc fix.
2064
8111f5e6
EZ
20652012-10-14 Eli Zaretskii <eliz@gnu.org>
2066
7b9abf24
EZ
2067 * window.el (display-buffer): Doc fix.
2068
8111f5e6
EZ
2069 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2070 Adjust the msft regexp to the output of Studio 2010, and move msft
2071 before edg-1. See the discussion on emacs-devel,
2072 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
2073 for the details.
2074
5046ef67
SM
20752012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
2076
9760c73c
SM
2077 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
2078 (oset): Move uses of object-class-fast macro after its definition.
2079
5046ef67
SM
2080 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
2081
0d11ff1c
CY
20822012-10-13 Chong Yidong <cyd@gnu.org>
2083
2084 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
2085 enabled, re-enable it (Bug#11963).
2086
88ded8ac
MR
20872012-10-13 Martin Rudalics <rudalics@gmx.at>
2088
2089 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
2090 non-nil, restore window configuration (Bug#12623).
2091
bd0ffffd
SM
20922012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
2093
06485aa8
SM
2094 * help-fns.el (describe-variable, describe-function-1):
2095 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
2096
bd0ffffd
SM
2097 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
2098
3a989246
GM
20992012-10-12 Glenn Morris <rgm@gnu.org>
2100
2101 * mail/rmailsum.el (rmail-header-summary):
2102 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
2103
55cd00c8
FEG
21042012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
2105
bd0ffffd
SM
2106 * progmodes/python.el (python-mode-map):
2107 Replace subtitute-key-definition with proper command remapping.
55cd00c8
FEG
2108 (python-nav--up-list): Fix behavior for blocks on the same level.
2109
ac9fc2c7
SM
21102012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
2111
d8cc4c00 2112 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
d8cc4c00 2113
5253a5fd
SM
2114 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
2115 changes to the format of load-history.
2116
ac9fc2c7
SM
2117 * international/mule-cmds.el (read-char-by-name): Move let-binding of
2118 completion-ignore-case in case that var is buffer-local (bug#12615).
2119
cde44a77
KH
21202012-10-11 Kenichi Handa <handa@gnu.org>
2121
2122 * international/eucjp-ms.el: Re-generated.
2123
4ef4a10d
KH
21242012-10-10 Kenichi Handa <handa@gnu.org>
2125
2126 * select.el (xselect--encode-string): If a coding is specified for
2127 selection, and that is compatible with COMPOUND_TEXT, use it.
2128
9d7f027b
MR
21292012-10-10 Martin Rudalics <rudalics@gmx.at>
2130
2131 * window.el (switch-to-buffer-preserve-window-point): New option.
ac9fc2c7
SM
2132 (switch-to-buffer):
2133 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
9d7f027b 2134
238f3a58
SM
21352012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
2136
2137 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
2138 Don't document nil as a useful value (bug#12583).
2139
1d51f99c
MA
21402012-10-09 Michael Albinus <michael.albinus@gmx.de>
2141
238f3a58
SM
2142 * net/tramp.el (tramp-debug-message):
2143 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
1d51f99c
MA
2144 (with-tramp-progress-reporter): Rename from
2145 `tramp-with-progress-reporter'.
238f3a58
SM
2146 (with-tramp-file-property, with-tramp-connection-property):
2147 Move from tramp-cache.el, rename from `with-file-property' and
1d51f99c
MA
2148 `with-connection-property', respectively.
2149
2150 * net/tramp-cache.el: Remove `with-file-property' and
2151 `with-connection-property'.
2152
2153 * net/tramp.el:
2154 * net/tramp-gvfs.el:
2155 * net/tramp-sh.el:
2156 * net/tramp-smb.el: Adapt callees.
2157
2158 * net/trampver.el: Update release number.
2159
26b77251
GM
21602012-10-09 Glenn Morris <rgm@gnu.org>
2161
9a5f296f
GM
2162 * w32-fns.el (set-message-beep):
2163 * term/w32-win.el (set-message-beep): Update declarations.
2164
94c66ce5
SM
21652012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
2166
10766e9e
SM
2167 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
2168 (mode-line-widen, mode-line-input-method-map)
2169 (mode-line-coding-system-map, mode-line-remote)
2170 (mode-line-unbury-buffer, mode-line-bury-buffer)
2171 (mode-line-next-buffer, mode-line-previous-buffer):
2172 Replace save-selected-window+select-window => with-selected-window.
2173
f754db08
SM
2174 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
2175 * progmodes/cc-vars.el (bq-process): Remove, unused.
2176
94c66ce5
SM
2177 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
2178
a4ff7fe1
FEG
21792012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
2180
2181 Implemented `backward-up-list'-like navigation.
2182 * progmodes/python.el (python-nav-up-list)
2183 (python-nav-backward-up-list): New functions.
2184 (python-mode-map): Define substitute key for backward-up-list to
2185 python-nav-backward-up-list.
2186
24517d82
FEG
21872012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
2188
2189 * progmodes/python.el (python-fill-paragraph): Rename from
2190 python-fill-paragraph-function. Fixed fill-paragraph for
2191 decorators (Bug#12605).
2192
51867ae2
FEG
21932012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
2194
2195 * progmodes/python.el (python-shell-output-filter): Handle extra
2196 carriage return in OSX (Bug#12409).
2197
a5b773c4
FEG
21982012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
2199
2200 Fix shell handling of unbalanced quotes and parens in output.
94c66ce5 2201 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
a5b773c4
FEG
2202 (python-syntax-propertize-function): Use it.
2203 (python-shell-output-syntax-table): New var.
2204 (inferior-python-mode): Prevent unbalanced parens/quotes from
2205 previous output mess with current input context.
2206
13373538
JB
22072012-10-08 Juanma Barranquero <lekktu@gmail.com>
2208
2209 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
2210 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
2211
775a132d
MA
22122012-10-08 Michael Albinus <michael.albinus@gmx.de>
2213
2214 * ffap.el (ffap-replace-file-component): Support Tramp file name
2215 syntax, not only ange-ftp's one.
2216
3ab44929
GM
22172012-10-08 Glenn Morris <rgm@gnu.org>
2218
57f1dee4
GM
2219 * cus-start.el (message-log-max): Set :version.
2220
3ab44929
GM
2221 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
2222
6a088630
MR
22232012-10-08 Martin Rudalics <rudalics@gmx.at>
2224
2225 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
2226 the minibuffer window (Bug#10851).
2227
8dbce54c
FEG
22282012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
2229
2230 Enhancements on forward-sexp movement.
2231 * progmodes/python.el (python-nav-beginning-of-statement)
2232 (python-nav-end-of-statement): Return point-marker.
2233 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
2234 (python-info-current-symbol)
2235 (python-info-statement-starts-block-p): Rename from
2236 python-info-beginning-of-block-p.
2237 (python-info-statement-ends-block-p): Rename from
2238 python-info-end-of-block-p.
2239 (python-info-beginning-of-statement-p)
2240 (python-info-end-of-statement-p)
2241 (python-info-beginning-of-block-p, python-info-end-of-block-p):
2242 New functions.
2243
5acd2b3e
SM
22442012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2245
2246 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
2247 frame-selected-windows.
2248
e08348a0
DC
22492012-10-08 Daniel Colascione <dancol@dancol.org>
2250
2251 * battery.el (battery-status-function): Check for
2252 w32-battery-status itself, not system-time windows-nt.
2253
2254 * frame.el: Require cl-lib.
2255 (display-format-alist): New variable mapping frame types to
2256 functions that initialize them.
2257 (window-system-for-display): New function: interprets
2258 display-format-alist.
2259 (make-frame-on-display): Remove existing display-selection logic
2260 and just forward to make-frame, which will now DTRT.
2261 (make-frame): Restructure to use window-system-for-display to
2262 figure out how to create a frame on a given display.
2263 (display-mouse-p): Look for frame-type w32, not a particular
2264 system-type.
2265
2266 * loadup.el: Load w32 lisp code when we have the w32 feature.
2267
2268 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
2269 system-type windows-nt.
2270
2271 * server.el (server-create-window-system-frame): Look for window
2272 type.
2273 (server-proces-filter): Only force a window system when windows-nt
2274 _and_ w32. Explain why.
2275
2276 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
2277 of window systems we configure for the mode.
2278
2279 * startup.el (command-line): Mark window system is initialized
2280 after we've done it.
2281
2282 * common-win.el (x-select-text): Look for w32, not windows-nt.
2283
2284 * ns-win.el: Require cl-lib. Add ourselves to
2285 display-format-alist.
2286 (ns-initialize-window-system): Assert we're not initialized twice.
2287
2288 * w32-win.el: Enable lexical binding; require cl-lib; add
2289 ourselves to display-format-alist.
2290 (w32-handle-dropped-file): Convert incoming dropped files from
2291 Windows paths to Cygwin ones before passing them on to the rest of
2292 Emacs.
2293 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
2294 (w32-initialize-window-system): Assert we're not initialized twice.
2295
2296 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
2297 (x-initialize-window-system): Assert we're not initialized twice.
2298
2299 * w32-common-fns.el: New File.
2300 (w32-version, w32-using-nt, w32-get-clipboard-data)
2301 (w32-set-clipboard-data, x-set-selection, x-get-selection)
2302 (w32-charset-info-alist, x-last-selected, text)
2303 (x-get-selection-value, x-selection-value): Move here.
2304
2305 * w32-fns.el: Require w32-common-fns.
2306 (w32-version, w32-using-nt, w32-get-clipboard-data)
2307 (w32-set-clipboard-data, x-set-selection, x-get-selection)
2308 (w32-charset-info-alist, x-last-selected, text)
2309 (x-get-selection-value, x-selection-value): Move to
2310 w32-common-fns.
2311
2312 * w32-vars.el:
2313 (w32-allow-system-shell, w32-system-shells): Define only in
2314 non-cygwin case.
2315
795b1482
SM
23162012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2317
2318 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
2319 (read-passwd): Remove a few more potential sources of leaks.
2320
f27c99dc
FEG
23212012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
2322
2323 * progmodes/python.el (inferior-python-mode)
795b1482 2324 (python-shell-make-comint): Fix initialization of local
f27c99dc
FEG
2325 variables copied from parent buffer.
2326
fcacb558
JD
23272012-10-07 Jan Djärv <jan.h.d@swipnet.se>
2328
2329 * term/ns-win.el (ns-read-file-name): Update declaration to match
2330 nsfns.m.
2331 (ns-respond-to-change-font): Change fontsize separatly so we are sure
2332 it is set when font is acted upon.
2333
be0d5bae
FEG
23342012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
2335
2336 Enhancements to indentation.
2337 * progmodes/python.el (python-indent-context): Give priority to
2338 inside-string context. Make comments indentation markers.
2339 (python-indent-region): Do not mess with strings, unless it's the
2340 enclosing set of quotes.
2341
13af0d10
SM
23422012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2343
662a9d0e
SM
2344 * window.el (internal--before-save-selected-window)
2345 (internal--after-save-selected-window): New functions extracted from
2346 save-selected-window. Make sure we return the `alist' we construct.
2347 (save-selected-window): Use them.
2348
2349 * textmodes/tex-mode.el (tex-recenter-output-buffer):
2350 Use with-selected-window.
2351
13af0d10
SM
2352 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
2353 forms that define macros (bug#12593).
2354
6aa75fb6
KH
23552012-10-07 Kenichi Handa <handa@gnu.org>
2356
13af0d10
SM
2357 * international/mule-conf.el (compound-text-with-extensions):
2358 Add :mime-charset property as x-ctext.
6aa75fb6 2359
78d876b9
SM
23602012-10-07 Stefan Merten <smerten@oekonux.de>
2361
2362 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
2363 (rst-indent-literal-normal, rst-indent-literal-minimized)
2364 (rst-indent-comment): Correct :version tag.
557337e9 2365 (rst-official-cvs-rev): Correct version string.
78d876b9 2366
99a1e701
GM
23672012-10-07 Glenn Morris <rgm@gnu.org>
2368
2369 * mail/rmailmm.el (rmail-mime-process-multipart):
2370 Do not confuse a multipart message with an epilogue
2371 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
2372
08f18c3d
FEG
23732012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
2374
2375 Fix shell output retrieval and comint-prompt-regexp init.
2376 * progmodes/python.el (inferior-python-mode):
2377 (python-shell-make-comint): Fix initialization of
2378 comint-prompt-regexp from copied file local variables.
2379 (python-shell-fetched-lines): Remove var.
2380 (python-shell-output-filter-in-progress): Rename from
2381 python-shell-fetch-lines-in-progress.
2382 (python-shell-output-filter-buffer): Rename from
2383 python-shell-fetch-lines-string.
2384 (python-shell-fetch-lines-filter): Delete function.
2385 (python-shell-output-filter): New function.
2386 (python-shell-send-string-no-output): Use them.
2387
82ed3ab4
GM
23882012-10-07 Glenn Morris <rgm@gnu.org>
2389
1595ecfa
GM
2390 * hi-lock.el (hi-lock-process-phrase):
2391 Try to make it less fragile. (Bug#7161)
2392
82ed3ab4
GM
2393 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
2394
f1f4dba0
GM
23952012-10-06 Glenn Morris <rgm@gnu.org>
2396
addc11ed 2397 * ehelp.el (electric-help-mode): Use help-mode rather than
32939005
GM
2398 non-existent mode `help'.
2399 (electric-help-map): Use button-buffer-map. (Bug#10917)
addc11ed 2400
460042b8
GM
2401 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
2402 (reftex-create-bibtex-footer): Fix custom types.
2403
67667c70
GM
2404 * progmodes/sh-script.el (sh-indent-after-continuation):
2405 Add explicit :group.
2406
18dec750
GM
2407 * textmodes/rst.el (rst-preferred-decorations)
2408 (rst-shift-basic-offset): Clarify obsolescence versions.
2409
d1a1c7e6
GM
2410 * profiler.el (profiler): Add missing group :version tag.
2411 * avoid.el (mouse-avoidance-banish-position):
2412 * proced.el (proced-renice-command):
2413 * calc/calc.el (calc-ensure-consistent-units):
2414 * calendar/icalendar.el (icalendar-import-format-uid):
2415 * net/tramp.el (tramp-save-ad-hoc-proxies):
2416 * progmodes/bug-reference.el (bug-reference-bug-regexp):
2417 * progmodes/flymake.el (flymake-error-bitmap)
2418 (flymake-warning-bitmap, flymake-fringe-indicator-position):
2419 * progmodes/sh-script.el (sh-indent-after-continuation):
2420 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
2421 (verilog-before-save-font-hook, verilog-after-save-font-hook):
2422 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
2423 (vhdl-array-index-record-field-in-sensitivity-list)
2424 (vhdl-indent-comment-like-next-code-line):
2425 * textmodes/reftex-vars.el (reftex-ref-style-alist)
2426 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
2427 (reftex-cite-key-separator, reftex-create-bibtex-header)
2428 (reftex-create-bibtex-footer):
2429 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
2430 (rst-indent-literal-normal, rst-indent-literal-minimized)
2431 (rst-indent-comment): Add missing custom :version tags.
2432
ef35abb4
GM
2433 * calendar/timeclock.el (timeclock-modeline-display):
2434 Add missing obsolete alias for renamed user option.
2435
d1aae614
GM
2436 * strokes.el (strokes-modeline-string):
2437 * emulation/crisp.el (crisp-mode-modeline-string):
2438 * eshell/esh-mode.el (eshell-status-in-modeline):
2439 Aliases to defcustoms must come before the defcustom.
2440
f1f4dba0
GM
2441 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
2442 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
2443 (cal-tex-cursor-week-monday): Doc fixes.
2444 (cal-tex-cursor-week2-summary): Doc fix.
2445 Rename from cal-tex-cursor-week-at-a-glance.
2446
2447 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
2448 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
2449
2450 * calendar/calendar.el (calendar-mode-map):
2451 Add cal-tex-cursor-week2-summary.
2452
d39109c3
SM
24532012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
2454
685f87b0
SM
2455 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
2456
d39109c3
SM
2457 * subr.el (read-passwd-map): New var.
2458 (read-passwd): Use `read-string' again.
2459 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
2460
5694896d
J
24612012-10-06 Jambunathan K <kjambunathan@gmail.com>
2462
2463 * register.el (append-to-register, prepend-to-register):
2464 Deactivate mark, as does `copy-to-register' (bug#12389).
2465
9414dd8d
CY
24662012-10-06 Chong Yidong <cyd@gnu.org>
2467
2468 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
2469
2b89bca4
KH
24702012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
2471
2472 * international/characters.el: Fix simple mistake ((car chars) ->
2473 elt), delete duplicated code.
2474
d5acb99a
GM
24752012-10-06 Glenn Morris <rgm@gnu.org>
2476
2477 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
2478
123ec157
JS
24792012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
2480
2481 * color.el (color-hsl-to-rgb): Fix incorrect results for
2482 small and large hue values. (Bug#12559)
2483
7fa36ccb
FEG
24842012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
2485
2486 Enhancements to docstring formatting when filling paragraphs.
2487 * progmodes/python.el (python-fill-docstring-style): Rename from
2488 python-fill-string-style. Added new style.
2489 (python-fill-string): Use new style. Better checks for
2490 docstrings.
2491
d8788e1e
GM
24922012-10-05 Glenn Morris <rgm@gnu.org>
2493
204f3953
GM
2494 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
2495
d8788e1e
GM
2496 * color.el (color-name-to-rgb, color-rgb-to-hex)
2497 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
2498 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
2499 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
2500 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
2501
8d956cef
GM
2502 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
2503
e8757f09 25042012-10-05 Juanma Barranquero <lekktu@gmail.com>
ea9a3563
JB
2505
2506 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
2507 to get the correct size across symlinks.
2508
e8757f09
GM
2509 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
2510
0e2ae83d
JL
25112012-10-04 Juri Linkov <juri@jurta.org>
2512
2513 * replace.el (query-replace-interactive): Declare obsolete.
2514 (query-replace-read-from): Add the last incremental search string
2515 to the list of default values accessible via M-n.
2516 (map-query-replace-regexp): Use `read-regexp'.
2517 (query-replace, query-replace-regexp, query-replace-regexp-eval)
2518 (map-query-replace-regexp, replace-string, replace-regexp):
2519 Fix docstrings to replace mentions of `query-replace-interactive'
2520 with alternatives. (Bug#12526)
2521
93cacb6d
JL
25222012-10-04 Juri Linkov <juri@jurta.org>
2523
2524 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
2525 (dired-pop-to-buffer): Declare obsolete.
2526 (dired-mark-pop-up): Doc fix.
2527
fc345011
FEG
25282012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
2529
2530 Allow user to set docstring style for fill-paragraph.
2531 * progmodes/python.el
2532 (python-fill-comment-function, python-fill-string-function)
2533 (python-fill-decorator-function, python-fill-paren-function):
2534 Remove :safe for defcustoms.
2535 (python-fill-string-style): New defcustom
5694896d 2536 (python-fill-paragraph-function): Enhance context detection.
fc345011
FEG
2537 (python-fill-string): Honor python-fill-string-style settings.
2538
6bab5d8b
MR
25392012-10-04 Martin Rudalics <rudalics@gmx.at>
2540
2541 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
2542 after setting its buffer (Bug#10805).
2543
a1a9f411
FEG
25442012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
2545
2546 Fix cornercase for string syntax.
2547 * progmodes/python.el (python-syntax-propertize-function):
2548 Simplify and enhance the regexp for unescaped quotes. Now it also
2549 matches quotes in weird situations like the single quote in
2550 "something\"'".
2551 (python-syntax-stringify): Simplify num-quotes detecting code.
2552
05e153a6
GM
25532012-10-03 Glenn Morris <rgm@gnu.org>
2554
2555 * help-macro.el (three-step-help):
2556 Revert 2012-09-29 change. (Bug#12567)
2557
2e566ecb
MR
25582012-10-03 Martin Rudalics <rudalics@gmx.at>
2559
96ef9ccd
MR
2560 * menu-bar.el (kill-this-buffer): Don't do anything when
2561 `menu-frame' is not alive or visible (Bug#8184).
2562
2e566ecb
MR
2563 * emacs-lisp/debug.el (debug): When quitting the debugger window
2564 restore current buffer (Bug#12502).
2565
a96e1cb7
CY
25662012-10-02 Chong Yidong <cyd@gnu.org>
2567
5694896d
J
2568 * progmodes/hideif.el (hif-lookup, hif-defined):
2569 Handle semantic-c-takeover-hideif.
a96e1cb7 2570
b3ecad33
PE
25712012-10-02 Paul Eggert <eggert@cs.ucla.edu>
2572
2573 Change sampling interval units from ms to ns.
2574 * profiler.el (profiler-sampling-interval): Change units
2575 from ms to ns, multiplying the default by 1000000 so that
2576 it remains 1 ms.
2577 (profiler-report-cpu-line-format): Give enough room for
2578 the maximum counters on 64-bit hosts.
2579 (profiler-report-render-calltree-1): Call them "CPU samples",
2580 not "Time (ms)", since they are not milliseconds now (and
2581 never really were).
2582
8cb51b66 25832012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
c623f81a 2584
5694896d
J
2585 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
2586 Fix querying BBDB for entries without a last name (Bug#11580).
c623f81a 2587
fd795bf4
CY
25882012-10-02 Chong Yidong <cyd@gnu.org>
2589
2590 * emacs-lisp/eieio.el: Restore Version header.
2591
fe0a74f9
SM
25922012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
2593
6be9197e
SM
2594 * vc/diff-mode.el (diff--auto-refine-data): New var.
2595 (diff-hunk): Use it to delay refinement.
2596 (diff-mode): Remove overlays when we turn off font-lock.
2597
18486139
SM
2598 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
2599 (table-initialize-table-fixed-width-mode)
2600 (table-set-table-fixed-width-mode): Remove functions.
2601 (table-command-list): Move initialization into declaration.
2602 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
2603 (table-with-cache-buffer): Use `declare'.
2604 (table-span-cell): Simplify via CSE.
2605 (table-fixed-width-mode): Use define-minor-mode.
2606 (table-call-interactively, table-funcall, table-apply): Remove.
2607 (table-function): New function, to replace them.
2608
d83ef976
SM
2609 * bookmark.el (bookmark-search-pattern): Remove var.
2610 (bookmark-read-search-input): Remove function.
2611 (bookmark-bmenu-search): Reimplement using a minibuffer.
2612
cd386662
SM
2613 * faces.el (modeline): Remove obsolete face name.
2614
fe0a74f9
SM
2615 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
2616 and give a non-nil default value.
2617 (add-change-log-entry): Simplify accordingly.
2618
9f7b98f8
DG
26192012-10-01 Dmitry Gutov <dgutov@yandex.ru>
2620
2621 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
2622 (vc-git-log-edit-toggle-amend): New function.
2623 (vc-git-log-edit-toggle-signoff): New function.
2624 (vc-git-log-edit-mode): New major mode.
2625 (vc-git-log-edit-mode-map): Keymap for it.
2626 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
2627
2628 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
2629 header names.
2630 (log-edit-toggle-header): New function.
2631 (log-edit-extract-headers): Accept function values in HEADERS alist.
2632
62a81506
CY
26332012-10-01 David Engster <deng@randomsample.de>
2634
2635 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
2636 from symbol property and change message to be more consistent with
2637 Emacs proper.
2638 (eieio-describe-generic): Add filename for each implementation.
2639 Fix indices for generic and normal methods.
2640 (eieio-method-def, eieio-class-def): New buttons.
2641 (eieio-help-find-method-definition)
2642 (eieio-help-find-class-definition): New functions.
2643 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
2644 class, constructor and method definitions.
2645
2646 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
2647 information in symbol property.
2648 (scoped-class): Remove.
2649 (eieio-slot-name-index, call-next-method): Check if it is bound.
2650
26512012-10-01 Leo P. White <lpw25@cam.ac.uk>
2652
2653 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
2654 (eieio-custom-mode): New major mode.
2655 (eieio-customize-object): Use it.
2656
26572012-10-01 Eric Ludlam <zappo@gnu.org>
2658
2659 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
2660 specifying the expected class, and whether subclassing is allowed.
2661 (eieio-persistent-convert-list-to-object):
1f9f395d
JB
2662 (eieio-persistent-validate/fix-slot-value)
2663 (eieio-persistent-slot-type-is-class-p): New functions.
2664 (eieio-named::slot-missing): Doc fix.
62a81506
CY
2665
2666 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
2667 Stop using unused publd variable.
2668
2669 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
2670 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
2671 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
2672 (eieio-speedbar-handle-click): Do not specify a class for the
2673 method. Fixes method invocation order problems with EDE.
2674
375e49d4
SM
26752012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
2676
2677 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
2678 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
2679
16ce6ccd
KF
26802012-10-01 Karl Fogel <kfogel@red-bean.com>
2681
2682 * bookmark.el (bookmark-version-control): Give tags in the
2683 :type choices (Bug#12309), and improve doc string.
e4c4abdd
KF
2684 (bookmark-write-file): Bind `print-circle' to `t' to allow
2685 circular custom bookmark types. (Bug#12503)
16ce6ccd 2686
19e54a4d
PE
26872012-10-01 Paul Eggert <eggert@cs.ucla.edu>
2688
86ec63ba
PE
2689 Revert the FOLLOW-SYMLINKS change for file-attributes.
2690 * files.el (remote-file-name-inhibit-cache, after-find-file):
2691 * time.el (display-time-file-nonempty-p): Undo last change.
2692
19e54a4d
PE
2693 * profiler.el (profiler-sampling-interval): Change default back to 1.
2694 See Stefan Monnier in
2695 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
2696
0478776b
FEG
26972012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
2698
2699 Shell output catching a la gud-gdb.
2700 * progmodes/python.el (python-shell-fetch-lines-in-progress)
375e49d4
SM
2701 (python-shell-fetch-lines-string, python-shell-fetched-lines):
2702 New Vars.
0478776b
FEG
2703 (python-shell-fetch-lines-filter): New function.
2704 (python-shell-send-string-no-output): Use them.
2705
c22bac2c
TM
27062012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
2707
2708 * profiler.el (profiler-sampling-interval): Rename from
2709 profiler-sample-interval.
2710 (profiler-sampling-interval): Default to 10.
2711 (profiler-find-profile): New command (was profiler-find-log).
2712 (profiler-find-profile-other-window): New command.
2713 (profiler-find-profile-other-frame): New command.
2714 (profiler-profile): Introduce API-level data structure.
2715
e7a2937b
PE
27162012-09-30 Paul Eggert <eggert@cs.ucla.edu>
2717
2718 file-attributes has a new optional arg FOLLOW-SYMLINKS.
2719 * files.el (remote-file-name-inhibit-cache):
2720 * time.el (display-time-file-nonempty-p): Use it.
2721 * files.el (after-find-file): Don't chase links before calling
2722 file-exists-p, as file-exists-p already does the right thing.
2723
4f595e15
RA
27242012-09-30 Ralf Angeli <angeli@caeruleus.net>
2725
2726 Merge from standalone RefTeX repository.
2727
2728 The following ChangeLog entries are shortened versions of the
2729 original ones with file paths adapted. A not so strongly edited
2730 version of the original ChangeLog can be found in the commit log.
2731
2732 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
375e49d4
SM
2733 (reftex-arg-cite): Use `reftex-cite-key-separator'.
2734 Correctly handle new value type returned by `reftex-citation'.
4f595e15
RA
2735
2736 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
375e49d4
SM
2737 that entries with whitespace at various places are found.
2738 Doc fix. Include entries that are cross-referenced from cited entries.
4f595e15
RA
2739 Include @String definitions in the resulting bib file. Add header
2740 and footer defined in `reftex-create-bibtex-header' and
2741 `reftex-create-bibtex-footer'.
2742 (reftex-do-citation): Make it possible again to insert
2743 non-existent entries. Save match data when asking for optional
2744 arguments. Return all keys, not just the first one.
2745 (reftex-all-used-citation-keys): Fix regexp to correctly extract
2746 all citations in the same line.
2747 (reftex-parse-bibtex-entry): Accept additional optional argument
2748 `raw' and keep quotes or braces if it is non-nil. Match fields
2749 containing hyphens besides word constituents.
2750 (reftex-get-string-refs): New function.
2751 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
2752 and ask if it should be reread in case it did.
2753 (reftex-pop-to-bibtex-entry)
2754 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
2755 entries with spaces or tabs in front of arguments.
2756 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
375e49d4
SM
2757 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
2758 Match entries containing numbers and symbol constituents.
2759 (reftex-do-citation, reftex-figure-out-cite-format):
2760 Use `reftex-cite-key-separator'.
4f595e15
RA
2761
2762 * textmodes/reftex-dcr.el: Move provide statement to end of file.
2763 (reftex-mouse-view-crossref): Explain why point is set.
2764
2765 * textmodes/reftex-global.el: Whitespace changes.
2766
2767 * textmodes/reftex-index.el: Move provide statement to end of
2768 file.
2769 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
2770 (reftex-index-visit-phrases-buffer): Set marker when visiting
2771 buffer. This allows for returning from the phrases file to the
2772 file one was just editing instead of the file where the last
2773 phrases was added from.
2774 (reftex-index-phrases-syntax-table): New variable. Give ?\"
2775 punctuation syntax as it usually is not used as string quote in
2776 TeX-related modes and may occur unmatched. The change also
2777 prevents fontification of quoted content.
2778 (reftex-index-phrases-mode): Use it.
2779
375e49d4
SM
2780 * textmodes/reftex-parse.el (reftex-parse-from-file):
2781 Move backward one char if a `\' was matched after a section macro.
4f595e15
RA
2782 (reftex-parse-from-file): Use beginning of match instead of end as
2783 bound.
2784
2785 * textmodes/reftex-ref.el: Adapt creation of
2786 `reftex-<package>-<macro>' functions to new structure of
2787 `reftex-ref-style-alist'.
375e49d4
SM
2788 (reftex-reference): Use `reftex-ref-style-list' function.
2789 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
4f595e15
RA
2790 reference macro if `reftex-ref-macro-prompt' is non-nil.
2791 (reftex-reference): Pass refstyle to `reftex-format-special'.
2792 Determine reference macro by looking at
375e49d4
SM
2793 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
2794 Use only one special format function.
4f595e15
RA
2795 (reftex-varioref-vref, reftex-fancyref-fref)
2796 (reftex-fancyref-Fref): Remove definitions. The functions are now
2797 generated from `reftex-ref-style-alist'.
2798 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
2799 Remove.
2800 (reftex-format-special): New function.
2801
2802 * textmodes/reftex-sel.el
2803 (reftex-select-cycle-ref-style-internal): Adapt to new structure
2804 of `reftex-ref-style-alist'. Remove code for testing macro type.
2805 (reftex-select-toggle-varioref)
2806 (reftex-select-toggle-fancyref): Remove.
2807 (reftex-select-cycle-ref-style-internal)
2808 (reftex-select-cycle-ref-style-forward)
2809 (reftex-select-cycle-ref-style-backward): New functions.
2810 (reftex-select-label-map): Use `v' and `V' for general cycling
2811 through reference styles. Add `p' for switching between number
2812 and page reference types.
2813
375e49d4
SM
2814 * textmodes/reftex-toc.el (reftex-re-enlarge):
2815 Call `enlarge-window' only if there is something to do because in Emacs
4f595e15
RA
2816 the horizontal version throws an error even if the parameter is 0.
2817
2818 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
2819 (reftex-plug-into-AUCTeX): Doc fix.
2820 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
2821 string. Adapt to new name.
2822 (reftex-ref-style-alist): Change structure so that it is not
2823 possible to use multiple different package names within a style.
375e49d4
SM
2824 Remove the symbols for symbols for macro type distinction.
2825 Add characters for macro selection.
4f595e15
RA
2826 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
2827 (reftex-create-bibtex-footer): New variables.
2828 (reftex-format-ref-function): Mention third argument of special
2829 format function.
375e49d4
SM
2830 (reftex-ref-style-alist, reftex-ref-style-default-list):
2831 New variables.
4f595e15
RA
2832 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
2833 to new implementation. Mark as obsolete. Add compatibility code
2834 for honoring the variable values in case they are set.
375e49d4
SM
2835 (reftex-cite-format-builtin, reftex-bibliography-commands):
2836 Add support for ConTeXt.
2837 (reftex-format-ref-function, reftex-format-cite-function):
2838 Fix custom type.
4f595e15
RA
2839 (reftex-cite-key-separator): New variable.
2840
2841 * textmodes/reftex.el (reftex-syntax-table-for-bib)
2842 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
2843 `reftex-syntax-table' because parens have to retain their paren
2844 syntax in order for parsing of BibTeX entries like @book(...) to
2845 work.
2846 (reftex-in-comment): Do not error out if `comment-start-skip' is
2847 not set. Deal correctly with escaped comment characters.
375e49d4
SM
2848 (reftex-tie-multifile-symbols): Add doc string.
2849 Initialize `reftex-ref-style-list'.
4f595e15
RA
2850 (reftex-untie-multifile-symbols): Add doc string.
2851 (reftex-add-index-macros): Doc fix.
2852 (reftex-ref-style-activate, reftex-ref-style-toggle)
2853 (reftex-ref-style-list): New functions.
2854 (reftex-mode-menu): Use them. Adapt to new structure of
2855 `reftex-ref-style-alist'.
2856 (reftex-select-with-char): Kill the RefTeX Select buffer when
2857 done.
2858 (reftex-remove-if): New function.
2859 (reftex-erase-all-selection-and-index-buffers)
2860 (reftex-mode-menu): Reference styles are now computed from
2861 `reftex-ref-style-alist'. Fix typo.
2862 (reftex-report-bug): New function.
2863 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
2864 algorithms with O(n log n). Introduce optional argument SORT (not
2865 yet used).
2866
440ba395
FEG
28672012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
2868
2869 Enhancements for triple-quote string syntax.
375e49d4
SM
2870 * progmodes/python.el (python-syntax-propertize-function):
2871 Match both quote cases in one regexp.
440ba395
FEG
2872 (python-syntax-stringify): Handle matches properly.
2873
4c478e6b
JL
28742012-09-30 Juri Linkov <juri@jurta.org>
2875
2876 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
93cacb6d 2877 to nil around the call to `insert' to prevent
4c478e6b
JL
2878 directory time modification by lock_file. (Bug#2295)
2879 * tar-mode.el (tar-summarize-buffer): Idem.
2880
d80d54b2
JL
28812012-09-30 Juri Linkov <juri@jurta.org>
2882
2883 * facemenu.el (list-colors-sort): Add option "Luminance".
2884 (list-colors-sort-key): Implement it.
2885
2886 * vc/diff-mode.el (diff-refine-removed):
2887 * vc/ediff-init.el (ediff-fine-diff-A):
2888 * vc/smerge-mode.el (smerge-refined-removed):
2889 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
2890
d7e642cc
JD
28912012-09-30 Jan Djärv <jan.h.d@swipnet.se>
2892
2893 * term/ns-win.el (x-file-dialog): New function.
2894
ee41332b
JB
28952012-09-30 Juanma Barranquero <lekktu@gmail.com>
2896
2897 * ido.el (ido-max-directory-size): Default to nil; the current
2898 default is small for POSIX systems, and impractical on Windows 7
2899 now that lstat returns directory sizes for NTFS.
2900
5938d519
MR
29012012-09-30 Martin Rudalics <rudalics@gmx.at>
2902
2903 In buffer display functions handle window-height/window-width
2904 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
375e49d4
SM
2905 * window.el (window--display-buffer): New argument ALIST.
2906 Obey window-height and window-width alist entries.
2907 (window--try-to-split-window): New argument ALIST.
2908 Bind window-combination-limit to t when the window's size shall be
5938d519
MR
2909 changed and window-combination-limit equals `window-size'.
2910 (display-buffer-in-atom-window)
2911 (display-buffer-in-major-side-window)
2912 (display-buffer-in-side-window, display-buffer-same-window)
2913 (display-buffer-reuse-window, display-buffer-pop-up-frame)
2914 (display-buffer-pop-up-window, display-buffer-below-selected)
2915 (display-buffer-at-bottom, display-buffer-in-previous-window)
2916 (display-buffer-use-some-window): Adjust all callers of
2917 window--display-buffer and window--try-to-split-window.
2918 (fit-frame-to-buffer): New option.
2919 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
2920 is non-nil.
2921 (display-buffer-in-major-side-window): Evaluate window-height /
2922 window-width alist entries.
2923
2924 * help.el (temp-buffer-resize-frames)
2925 (temp-buffer-resize-regexps): Remove options.
2926 (temp-buffer-resize-mode): Adjust doc-string.
2927 (resize-temp-buffer-window): Don't consult
2928 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
2929 temp-buffer-resize-frames.
2930
375e49d4
SM
2931 * dired.el (dired-mark-pop-up):
2932 Call display-buffer-below-selected with a fit-window-to-buffer alist
5938d519
MR
2933 entry.
2934
c4c0c2df
CY
29352012-09-30 Chong Yidong <cyd@gnu.org>
2936
48de8b12
CY
2937 * server.el (server-host): Document the security implications.
2938 (server-auth-key): Doc fix.
2939
2940 * startup.el (initial-buffer-choice): Doc fix.
2941
2942 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
2943
a97dc380
CY
2944 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
2945 restriction change.
2946
d39d3c8e
CY
2947 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
2948
c4c0c2df
CY
2949 * help-fns.el (help-fns--obsolete): Fix last change.
2950
98a5e33b
SM
29512012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
2952
34cf6f39
SM
2953 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
2954 (minor-mode-map-alist): Remove redundant code.
2955
e01c13fe
SM
2956 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
2957 visited in a buffer.
2958 (cvs-insert-visited-file): New function.
2959 (find-file-hook): Use it.
2960
2961 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
2962
02661b3a
SM
2963 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
2964 chose face.
2965 (log-edit-empty-buffer-p): Don't require a space after a header.
2966
43711d4b
SM
2967 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
2968
38a30d64
SM
2969 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
2970
4ffb41a9
SM
2971 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
2972 a proper minor-mode.
2973
98a5e33b
SM
2974 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
2975
de82e29b
GM
29762012-09-29 Glenn Morris <rgm@gnu.org>
2977
5cc2e639
GM
2978 * winner.el (winner-mode): Remove variable (let define-minor-mode
2979 handle it).
2980 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
2981 Doc fixes.
2982 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
2983 (winner-mode): Use define-minor-mode.
2984
7bd302eb
GM
2985 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
2986 the full definition in loaddefs, rather than duplicating it.
2987
2923922f 2988 * help-macro.el (three-step-help): No need to autoload defcustom.
ced08382 2989
0e3e4156
GM
2990 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
2991 (inferior-lisp-program, inferior-lisp-load-command)
2992 (inferior-lisp-prompt, inferior-lisp-mode-hook):
2923922f 2993 No need to autoload defcustoms.
0e3e4156 2994
de82e29b
GM
2995 * hippie-exp.el (hippie-expand-try-functions-list)
2996 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
2997 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
2998 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
2923922f 2999 (hippie-expand-only-buffers): No need to autoload defcustoms.
de82e29b
GM
3000 * progmodes/vhdl-mode.el (vhdl-line-expand):
3001 Explicitly load hippie-exp, so it does not get autoloaded
3002 while hippie-expand-try-functions-list is let-bound.
3003
e60b51ab
GM
30042012-09-28 Glenn Morris <rgm@gnu.org>
3005
277f0cfa
GM
3006 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
3007
e60b51ab
GM
3008 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
3009 Only "cl.el" counts as cl these days.
3010
53baf48a
JL
30112012-09-28 Juri Linkov <juri@jurta.org>
3012
3013 Display archive errors in the echo area instead of inserting
3014 to the file buffer.
3015
3016 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
3017 to STDERR-TEST that can be a regexp matching a successful output.
3018 Create a temporary file and redirect stderr to it. Search for
3019 STDERR-TEST in the stderr output and display it in the echo area
3020 if no match is found.
3021 (archive-extract-by-file): New function like
3022 `archive-extract-by-stdout' but extracting archives to files
3023 and looking for successful matches in stdout. Function body is
3024 mostly copied from `archive-rar-extract'.
3025 (archive-rar-extract): Use `archive-extract-by-file'.
3026 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
3027
9c1228c3
LL
30282012-09-28 Leo Liu <sdl.web@gmail.com>
3029
375e49d4
SM
3030 * pcomplete.el (pcomplete-show-completions):
3031 Use minibuffer-message to make pcomplete usable in minibuffer.
147c0425 3032
9c1228c3
LL
3033 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
3034
7f457c06
SM
30352012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
3036
3df749b0
SM
3037 * type-break.el: Use lexical-binding.
3038 (type-break-mode): Use define-minor-mode.
3039
7f457c06
SM
3040 * emacs-lisp/pcase.el (pcase--mark-used): New.
3041 (pcase--u1): Use it (bug#12512).
3042
3043 * custom.el (load-theme): Set buffer-file-name so the load is recorded
3044 in load-history with the right file name.
3045
c00ebc98
TH
30462012-09-28 Tassilo Horn <tsdh@gnu.org>
3047
3048 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
3049 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
3050 (doc-view-get-bounding-box): Make bounding box slicing work for
3051 ODF and DVI documents.
3052
96fb7170
GM
30532012-09-28 Glenn Morris <rgm@gnu.org>
3054
3055 * type-break.el (type-break-mode, type-break-interval)
3056 (type-break-good-rest-interval, type-break-keystroke-threshold):
3057 No need to autoload.
3058 (type-break-good-rest-interval, type-break-keystroke-threshold):
3059 Add :set-after.
3060
5bc93c67
CY
30612012-09-28 Chong Yidong <cyd@gnu.org>
3062
3063 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
3064 Add :version tag.
3065
9cad61d6
SM
30662012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
3067
e28e67b3 3068 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
9cad61d6 3069
daee954c
GM
30702012-09-27 Glenn Morris <rgm@gnu.org>
3071
a88324d4
GM
3072 * faces.el (x-display-name): Declare (for without-x builds).
3073
8e5064e5
GM
3074 * linum.el (linum-format): Don't autoload it. Improve :type.
3075
cc1783c2
GM
3076 * progmodes/tcl.el: Don't require outline when compiling.
3077 (outline-regexp, outline-level): Declare.
1dddcf4c
GM
3078 * textmodes/sgml-mode.el: Don't require outline when compiling.
3079 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
3080
48c339f2
GM
3081 * term.el (term-ansi-reset):
3082 Try setting term-ansi-face-already-done to nil. (Bug#11785)
3083
daee954c
GM
3084 * vc/vc.el (vc-next-action): Only gripe about committing read-only
3085 files for RCS and SCCS. (Bug#9781)
3086
b7f42161
CY
30872012-09-27 Chong Yidong <cyd@gnu.org>
3088
3089 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
3090 change; value should be t.
3091
a2e770db
SM
30922012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
3093
83600dc8
SM
3094 * image-mode.el: Use lexical-binding.
3095 (image-mode-winprops): Use t to stand for the window of
3096 a buffer that's not displayed.
3097 * doc-view.el (doc-view-new-window-function): Handle the new
3098 t in winprops.
3099 (doc-view-enlarge): Make it a real nop if the size is not changed.
3100 (doc-view-display): Handle the case where the buffer is not (yet?)
3101 displayed in any window.
3102 (doc-view-saved-settings): New var.
3103 (doc-view-mode): Use it.
3104 (doc-view-fallback-mode): Set it.
3105
a2e770db
SM
3106 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
3107 Set lexical-binding.
3108 (minibuffer-eldef-shorten-default): New var.
3109 (minibuffer-default-in-prompt-regexps): Use it for new default.
3110 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
3111
e3b60857
JB
31122012-09-26 Juanma Barranquero <lekktu@gmail.com>
3113
3114 * international/uni-bidi.el:
3115 * international/uni-category.el:
3116 * international/uni-name.el:
3117 * international/uni-numeric.el: Regenerate.
3118
3a880af4
SM
31192012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
3120 Stefan Monnier <monnier@iro.umontreal.ca>
3121
3122 * profiler.el: New file.
3123
07b1a5fb
SM
31242012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
3125
3126 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
3127 (testcover-reinstrument): Simplify with CSE.
3128
42019c2e
JB
31292012-09-26 Juanma Barranquero <lekktu@gmail.com>
3130
3131 * window.el (temp-buffer-window-setup): Fix typo in docstring.
3132
179f044b
WS
31332012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
3134
3135 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
3136 (verilog-auto-input, verilog-auto-insert-lisp)
3137 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
3138 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
3139 (verilog-auto-unused, verilog-auto-wire)
3140 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
3141 newline. Reported by Andrew Jones.
3142 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
3143 Reported by Brad Dobbie.
07b1a5fb
SM
3144 (verilog-batch-delete-trailing-whitespace):
3145 Create verilog-batch-delete-trailing-whitespace.
3146 Reported by Brad Dobbie.
179f044b
WS
3147 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
3148 parameters from another module. Reported by Dan Katz.
3149 (verilog-auto, verilog-auto-assign-modport)
3150 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
3151 AUTOINOUTMODPORT for UVM interface module shell generation.
3152 Reported by Brad Dobbie.
3153 (verilog-auto-inst-interfaced-ports): Make default nil, as more
3154 standard behavior.
3155 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
3156 Reported by Matt Martin.
3157
9c52dd5a
MR
31582012-09-25 Martin Rudalics <rudalics@gmx.at>
3159
3160 * window.el (window--resize-child-windows): When resizing child
3161 windows proportionally, process them in reverse order to
3162 preserve the "when splitting a window the new one gets the odd
3163 line" behavior.
3164 (window--resize-root-window-vertically): When resizing the
3165 minibuffer window try to affect only windows at the bottom of the
3166 frame. (Bug#12419)
3167
863666eb
CY
31682012-09-25 Chong Yidong <cyd@gnu.org>
3169
3170 * subr.el (declare): Doc fix.
3171
3172 * help-fns.el (help-fns--obsolete): Handle macros properly.
3173
59f7af81
CY
31742012-09-25 Chong Yidong <cyd@gnu.org>
3175
3176 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
3177 this function obsolete.
3178
3179 * calendar/cal-x.el (calendar-two-frame-setup)
3180 (calendar-only-one-frame-setup, calendar-one-frame-setup):
3181 * calendar/calendar.el (american-calendar, european-calendar)
3182 (calendar-for-loop):
3183 * comint.el (comint-dynamic-simple-complete)
3184 (comint-dynamic-complete-as-filename, comint-unquote-filename):
3185 * desktop.el (desktop-load-default):
3186 * dired-x.el (dired-omit-here-always)
3187 (dired-hack-local-variables, dired-default-directory):
3188 * emacs-lisp/derived.el (derived-mode-class):
3189 * emacs-lisp/timer.el (timer-set-time-with-usecs):
3190 * emacs-lock.el (toggle-emacs-lock):
3191 * epa.el (epa-display-verify-result):
3192 * epg.el (epg-sign-keys, epg-start-sign-keys)
3193 (epg-passphrase-callback-function):
3194 * eshell/esh-util.el (eshell-for):
3195 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
3196 (eshell-add-to-window-buffer-names):
3197 * files.el (locate-file-completion):
3198 * imenu.el (imenu-example--create-c-index)
3199 (imenu-example--create-lisp-index)
3200 (imenu-example--lisp-extract-index-name)
3201 (imenu-example--name-and-position):
3202 * international/mule-cmds.el (princ-list):
3203 * international/mule-diag.el (decode-codepage-char):
3204 * international/mule-util.el (detect-coding-with-priority):
3205 * iswitchb.el (iswitchb-read-buffer):
3206 * mail/mailalias.el (mail-complete):
3207 * mail/sendmail.el (mail-sent-via):
3208 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
3209 (mouse-major-mode-menu):
3210 * password-cache.el (password-read-and-add):
3211 * pcomplete.el (pcomplete-parse-comint-arguments):
3212 * progmodes/sh-script.el (sh-maybe-here-document):
3213 * replace.el (query-replace-regexp-eval):
3214 * savehist.el (savehist-load):
3215 * simple.el (choose-completion-delete-max-match):
3216 * term.el (term-dynamic-simple-complete):
3217 * vc/ediff-init.el (ediff-check-version):
3218 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
3219 * vc/vc.el (vc-diff-switches-list):
3220 * view.el (view-return-to-alist-update): Likewise.
3221
3222 * subr.el (eval-next-after-load, makehash, insert-string)
3223 (assoc-ignore-representation, assoc-ignore-case): Use declare to
3224 mark obsolete.
3225 (mode-line-inverse-video): Variable deleted.
3226
3227 * international/mule-util.el (string-to-sequence): Remove.
3228
3229 * calendar/calendar.el (calendar-version):
3230 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
3231 (icalendar-convert-diary-to-ical):
3232 * cus-edit.el (custom-mode):
3233 * ansi-color.el (ansi-color-unfontify-region):
3234 * international/latin1-disp.el (latin1-char-displayable-p):
3235 * progmodes/cwarn.el (turn-on-cwarn-mode):
07b1a5fb
SM
3236 * progmodes/which-func.el (which-func-update-1):
3237 Use define-obsolete-function-alias.
59f7af81
CY
3238
3239 * net/newst-backend.el (newsticker-cache-filename):
07b1a5fb
SM
3240 * net/newst-treeview.el (newsticker-groups-filename):
3241 Fix incorrect obsolescence declaration.
59f7af81
CY
3242
3243 * allout.el (allout-passphrase-hint-string): Likewise.
3244 (allout-init): Use a declare form to mark obsolete.
3245
3246 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
3247 this applies to functions.
3248
3249 * iswitchb.el (iswitchb-read-buffer): Move code of
3250 iswitchb-define-mode-map here, and delete that obsolete function.
3251
3252 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
3253 font-lock-reference-face.
3254
cca96c97
GM
32552012-09-25 Glenn Morris <rgm@gnu.org>
3256
b06eeda8
GM
3257 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
3258 Doc fixes.
3259
cca96c97
GM
3260 * eshell/em-term.el (eshell-term-name):
3261 Default to term-term-name. (Bug#12485)
3262
dc4f818b
FEG
32632012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
3264
cca96c97
GM
3265 * progmodes/python.el (python-shell-send-buffer): Better handling
3266 of "if __name__ == '__main__':" conditionals when sending the buffer.
dc4f818b 3267
289c24bd
GM
32682012-09-24 Glenn Morris <rgm@gnu.org>
3269
3270 * eshell/esh-cmd.el (eshell-find-alias-function):
3271 Tighten up file-name regexp. (Bug#12499)
3272
8fb8b88f
FEG
32732012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
3274
3275 Enhancements for triple-quote string syntax.
3276 * progmodes/python.el (python-quote-syntax): Remove.
3277 (python-syntax-propertize-function): New value.
07b1a5fb
SM
3278 (python-syntax-count-quotes, python-syntax-stringify):
3279 New functions.
8fb8b88f 3280
6c27f0f8
CY
32812012-09-24 Chong Yidong <cyd@gnu.org>
3282
a5f2b6ec
CY
3283 * mail/supercite.el (sc-version): Remove obsolete function.
3284 (sc-describe): Don't mark as obsolete, since it is bound.
3285 (sc-submit-bug-report): Remove.
3286
3287 * vc/log-edit.el (cvs-changelog-full-paragraphs)
3288 (cvs-commit-buffer-require-final-newline): Remove.
0c765e5f
CY
3289 (log-edit-require-final-newline)
3290 (log-edit-changelog-full-paragraphs): Default to t.
a5f2b6ec
CY
3291
3292 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
3293 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
3294 * vc/vc.el (vc-checkout-carefully): Likewise.
3295
3296 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
3297 (emerge-version): Remove.
3298
3299 * progmodes/compile.el (compile-internal): Remove.
3300 (compilation-parse-errors-function): Fix typo.
3301
3302 * international/mule.el (set-char-table-default): Remove.
3303 (set-coding-priority, make-coding-system, generic-char-p)
3304 (charset-list, charset-bytes, charset-id): Use declare to mark
3305 functions as obsolete.
3306
3307 * vc/pcvs-defs.el (cvs-buffer-name-alist)
3308 (cvs-invert-ignore-marks): Remove references to obsolete vars.
3309 * vc/vc-hooks.el (vc-default-registered): Don't use
3310 vc-master-templates.
3311
07b1a5fb
SM
3312 * font-lock.el (font-lock-reference-face):
3313 Use define-obsolete-variable-alias.
6c27f0f8
CY
3314
3315 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
3316 * calendar/calendar.el (calendar-font-lock-keywords):
3317 * calendar/diary-lib.el (diary-font-lock-keywords)
3318 (diary-fancy-font-lock-keywords):
3319 * textmodes/reftex-sel.el (reftex-insert-docstruct):
3320 * textmodes/reftex-index.el (reftex-insert-index):
3321 * textmodes/reftex-cite.el (reftex-format-bib-entry):
3322 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3323 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
3324 * progmodes/prolog.el (prolog-font-lock-keywords):
3325 * progmodes/idlwave.el (idlwave-idl-keywords):
3326 * progmodes/ada-mode.el (ada-font-lock-keywords):
3327 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
3328
bcc0adbf
GM
33292012-09-24 Glenn Morris <rgm@gnu.org>
3330
3331 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
3332
095bb823
FEG
33332012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
3334
3335 * progmodes/python.el (python-indent-line): More consistent cursor
3336 movement behavior.
3337
70efc5c9
SM
33382012-09-23 Stefan Merten <smerten@oekonux.de>
3339
3340 * textmodes/rst.el: Fix compiler warning.
3341
2f438239
RW
33422012-09-23 Roland Winkler <winkler@gnu.org>
3343
07b1a5fb
SM
3344 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
3345 Transcribe also LaTeX hyphenation.
2f438239
RW
3346 (bibtex-reformat): Bug fix. Do not quote twice the elements of
3347 bibtex-reformat-previous-options.
3348
936ad041
RW
33492012-09-23 Roland Winkler <winkler@gnu.org>
3350
3351 * proced.el (proced-renice-command): New variable.
3352 (proced-marked-processes): New function.
3353 (proced-with-processes-buffer): New macro.
3354 (proced-send-signal): Use them.
3355 (proced-renice): New command bound to r.
3356
6fab0274
RW
33572012-09-23 Roland Winkler <winkler@gnu.org>
3358
3359 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
3360 ibuffer-saved-filter-groups has one element, shortcut the call of
3361 completing-read. (Bug#12331)
3362
9a930676
CY
33632012-09-23 Chong Yidong <cyd@gnu.org>
3364
3365 * bindings.el (mode-line-toggle-read-only):
3366 * bs.el (bs-toggle-readonly):
3367 * buff-menu.el (Buffer-menu-toggle-read-only):
3368 * dired.el (dired-toggle-read-only):
3369 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
3370
d07ff9db
CY
33712012-09-23 Chong Yidong <cyd@gnu.org>
3372
3373 * image.el (image-type-available-p): Adapt to init-image-library
3374 argument changes.
3375
51c4474e
JL
33762012-09-22 Juri Linkov <juri@jurta.org>
3377
3378 * dired.el (dired-mode-map): Add [remap read-only-mode] for
3379 `dired-toggle-read-only'. (Bug#12462)
3380
43bf5e8e
MR
33812012-09-22 Martin Rudalics <rudalics@gmx.at>
3382
3383 * subr.el (temp-output-buffer-show): New function.
3384 (with-output-to-temp-buffer): Call temp-output-buffer-show
3385 instead of internal-temp-output-buffer-show.
3386
c88b867f
CY
33872012-09-22 Chong Yidong <cyd@gnu.org>
3388
3df47cd5
CY
3389 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
3390 (Bug#12462).
3391
c88b867f
CY
3392 * repeat.el (repeat): Doc fix (Bug#12348).
3393
3394 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
3395 (Bug#10909).
3396
3397 * simple.el (shell-command-on-region): Doc fix.
3171e303 3398 (read-only-mode): Doc fix.
c88b867f 3399
df9685f3
EZ
34002012-09-22 Eli Zaretskii <eliz@gnu.org>
3401
3402 * emacs-lisp/timer.el (run-with-idle-timer)
3403 (timer-activate-when-idle): Warn against reinvoking an idle timer
3404 from within its own timer action. (Bug#12447)
3405
8e17c9ba
MR
34062012-09-22 Martin Rudalics <rudalics@gmx.at>
3407
3408 * cus-start.el (window-combination-limit): Add new optional
3409 values.
3410 * window.el (temp-buffer-window-show)
3411 (window--try-to-split-window): Handle new values of
3412 window-combination-limit (Bug#1806).
3413 (split-window): Test window-combination-limit for t instead of
3414 non-nil.
3415 (display-buffer-at-bottom): New buffer display action function.
3416 * help.el (temp-buffer-resize-regexps): New option.
3417 (temp-buffer-resize-mode): Rewrite doc-string.
3418 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
bd909927 3419 Don't resize reused window. Suggested by Glenn Morris.
8e17c9ba 3420
48a24920
SM
34212012-09-22 Stefan Merten <smerten@oekonux.de>
3422
70efc5c9 3423 * textmodes/rst.el: Revamp section title faces.
48a24920
SM
3424 (rst-official-version)
3425 (rst-package-emacs-version-alist): Sync with official version
3426 V1.4.0.
3427 (rst-faces-defaults, rst-set-level-default)
3428 (rst-level-face-max, rst-level-face-base-color)
3429 (rst-level-face-base-light, rst-level-face-format-light)
3430 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
3431 (rst-adornment-faces-alist): Match new setup.
3432 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
3433 (rst-level-5, rst-level-6): New faces.
3434
82f8cd94
CY
34352012-09-22 Chong Yidong <cyd@gnu.org>
3436
3437 * simple.el (undo): Handle indirect buffers (Bug#8207).
3438
acfa068f 34392012-09-21 Leo Liu <sdl.web@gmail.com>
a8c14da8
LL
3440
3441 IDO: Disable match re-ordering for buffer switching.
2bc9406c 3442 * ido.el (ido-buffer-disable-smart-matches): New variable.
a8c14da8
LL
3443 (ido-set-matches-1): Use it. (Bug#2042)
3444
acfa068f 34452012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
a316d229
JM
3446
3447 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
3448 Fix 2011-05-17 change. (Bug#12418)
3449
acfa068f 34502012-09-21 Leo Liu <sdl.web@gmail.com>
d02e58f8
LL
3451
3452 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
3453
acfa068f 34542012-09-21 Glenn Morris <rgm@gnu.org>
511fd0b2
GM
3455
3456 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
3457 Be more robust about locating simple.el.
3458
acfa068f 34592012-09-21 Glenn Morris <rgm@gnu.org>
fa05bfe0
GM
3460
3461 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
3462
acfa068f
CY
34632012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
3464
3465 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
3466
41a97e6f
JL
34672012-09-20 Juri Linkov <juri@jurta.org>
3468
eb2deaff
JL
3469 * replace.el (query-replace-read-from): Use `read-regexp' instead
3470 of `read-from-minibuffer' when `regexp-flag' is non-nil.
3471 (occur-read-primary-args): Use `read-regexp' instead of
3472 `read-string'.
3473 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
3474 `read-from-minibuffer'.
3475 * isearch.el (isearch-occur): Use `read-regexp' instead of
3476 `read-string'.
3477 * dired.el (dired-read-regexp): Use `read-regexp' instead of
3478 `read-from-minibuffer'.
3479 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
3480 of `read-string'. (Bug#7567)
3481
5825610b
JL
3482 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
3483 and allow accepting a list of strings prepended to a list of
3484 standard default values. Doc fix. (Bug#12321)
3485
eebbf404
JL
3486 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
3487
41a97e6f
JL
3488 * replace.el (read-regexp): Don't add ": " when PROMPT already
3489 ends with a colon and space. (Bug#12321)
3490
c9e452d3
TH
34912012-09-20 Tassilo Horn <tsdh@gnu.org>
3492
3493 * doc-view.el (doc-view-display): Better fix for the cl-assertion
3494 error.
3495
ee97deee
SM
34962012-09-20 Stefan Merten <smerten@oekonux.de>
3497
70efc5c9 3498 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
ee97deee
SM
3499 Fixes feature request bug#11711.
3500 (rst-mode): Create `imenu-create-index-function'.
3501 (rst-get-stripped-line): Delete after refactoring.
3502 (rst-section-tree, rst-section-tree-rec)
3503 (rst-section-tree-point): Refactor and document properly.
3504 (rst-imenu-find-adornments-for-position)
07b1a5fb
SM
3505 (rst-imenu-convert-cell, rst-imenu-create-index):
3506 New function.
ee97deee 3507
f490dab9
SM
35082012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3509
95b9712e
SM
3510 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
3511 (macroexp--expand-all): Use it.
3512 (macroexp--funcall-and-return): Remove by folding it into its sole
3513 caller (macroexp--warn-and-return).
3514 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
3515 Use macroexp--obsolete-warning.
3516
f490dab9
SM
3517 * calc/calc.el: Fix last change by removing the whole chunk, since it
3518 was only needed back when Calc was not bundled.
3519
96e8d411
MR
35202012-09-20 Martin Rudalics <rudalics@gmx.at>
3521
3522 * emacs-lisp/debug.el (debug): Restore assignment to
3523 debugger-old-buffer removed on 2012-09-08.
3524
0876a82d
JL
35252012-09-20 Juri Linkov <juri@jurta.org>
3526
3527 * dired-aux.el (dired-diff): Remove (require 'diff) since
3528 `diff-latest-backup-file' is now autoloaded.
3529
9f7c28f0
CY
35302012-09-20 Chong Yidong <cyd@gnu.org>
3531
3532 * vc/diff.el (diff-latest-backup-file): Autoload.
3533
7a04bee9
SM
35342012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3535
e6f0a80d
SM
3536 * calc/calc.el: Remove redundant autoload shape check.
3537 (sel-mode): Don't defvar.
3538 (calc-get-stack-element): Add `sel-mode' arg instead.
3539 (calc-top, calc-top-list): Pass it this additional argument.
3540 * calc/calc-store.el (calc-store-map):
3541 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
3542 (calc-map-equation, calc-outer-product, calc-inner-product):
3543 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
3544
7a04bee9
SM
3545 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
3546
12734222
JL
35472012-09-19 Juri Linkov <juri@jurta.org>
3548
3549 * dired-aux.el (dired-diff): Add (require 'diff) because
3550 `diff-latest-backup-file' is not autoloaded.
3551 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
3552 of `dired-get-filename' to t to not report error when there is
3553 no default file on the current line.
3554
46624b4f
SM
35552012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3556
ce97595b
SM
3557 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
3558 macroexp--eval-if-compile.
3559 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
3560 (macroexp--expand-all): Use them (bug#12371).
3561
46624b4f
SM
3562 * doc-view.el (doc-view-guess-paper-size)
3563 (doc-view-scale-bounding-box): Fix unbound `caddr'.
3564
db8a5a18
TH
35652012-09-19 Tassilo Horn <tsdh@gnu.org>
3566
3567 New feature: set optimal slice from BoundingBox information.
3568 * doc-view.el (doc-view-mode-map): Add keybinding.
3569 (doc-view-menu): Add menu entry.
3570 (doc-view-set-slice): Adapt docstring.
3571 (doc-view-get-bounding-box, doc-view-guess-paper-size)
3572 (doc-view-scale-bounding-box)
3573 (doc-view-set-slice-from-bounding-box): New functions.
3574 (doc-view-paper-sizes): New defvar.
3575
69f6644c
GM
35762012-09-19 Glenn Morris <rgm@gnu.org>
3577
35f5b19d
GM
3578 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
3579 (byte-compile-log-warning): Autoload. (Bug#12371)
3580
69f6644c
GM
3581 * calendar/calendar.el (calendar-american-month-header)
3582 (calendar-european-month-header, calendar-iso-month-header)
3583 (calendar-month-header): New options.
3584 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
3585 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
3586
e543ae91
JD
35872012-09-19 Jan Djärv <jan.h.d@swipnet.se>
3588
3589 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
3590
2fd5e67d
JL
35912012-09-18 Juri Linkov <juri@jurta.org>
3592
3593 * dired-aux.el (dired-diff): Restore original functionality of
3594 getting the default value, but keep new feature of using the
3595 latest existing backup file (`diff-latest-backup-file').
3596
42917e79
JL
35972012-09-18 Juri Linkov <juri@jurta.org>
3598
3599 * dired.el (dired-mark): If the region is active in Transient Mark
3600 mode, mark all files in the active region. Doc fix.
3601 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
3602 Doc fix. (Bug#10624)
3603
20f70ede
JL
36042012-09-18 Juri Linkov <juri@jurta.org>
3605
3606 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
3607 attributes for M-n are pulled from the file at point.
3608 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
3609 Suggested by Drew Adams. (Bug#10624)
3610
32fb8162
DG
36112012-09-18 Dmitry Gutov <dgutov@yandex.ru>
3612
3613 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
3614 whitespace after "end".
3615 (ruby-do-end-to-brace): Collapse block to one line if it fits
3616 within fill-column.
3617
37ab5092
MR
36182012-09-18 Martin Rudalics <rudalics@gmx.at>
3619
3620 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
3621 value.
3622 (debug): Don't remove debugger window when debugger is expected
3623 to be back.
3624
ed1f0bd3
CY
36252012-09-18 Chong Yidong <cyd@gnu.org>
3626
3627 * custom.el (defface): Doc fix.
3628
3629 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
3630
a11035b8
MB
36312012-09-18 Martin Blais <blais@furius.ca> (tiny change)
3632
3633 * progmodes/compile.el (compilation-start): Use compilation-always-kill
3634 to initialize query-on-exit; then test that instead (bug#12288).
3635
64f6a736
SM
36362012-09-17 Stefan Merten <smerten@oekonux.de>
3637
70efc5c9 3638 * textmodes/rst.el: Add support for `testcover'.
64f6a736
SM
3639 (rst-defcustom-testcover, rst-testcover-add-compose)
3640 (rst-testcover-add-1value): New functions.
3641 (rst-portable-mark-active-p): Replace by `use-region-p'.
3642 (rst-update-section, rst-classify-adornment)
3643 (rst-find-title-line): Mark `1value' forms.
3644 (rst-classify-adornment): Remove superfluous form.
3645 (rst-update-section, rst-get-adornments-around)
3646 (rst-adornment-complete-p, rst-get-next-adornment)
3647 (rst-adjust, rst-promote-region)
3648 (rst-display-adornments-hierarchy, rst-straighten-adornments)
3649 (rst-find-pfx-in-region, rst-section-tree-rec)
3650 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
3651 (rst-toc-node, rst-toc, rst-forward-section)
3652 (rst-iterate-leftmost-paragraphs)
3653 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
3654 (rst-bullet-list-region)
3655 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
3656 (rst-compile-find-conf, rst-compile)
3657 (rst-repeat-last-character): Fix style.
3658
580bd868
CY
36592012-09-17 Chong Yidong <cyd@gnu.org>
3660
3661 * comint.el (comint--complete-file-name-data): Don't add a space
3662 if the status is `sole'; that adds a gratuitous space in the
3663 completion-cycling case (Bug#12092).
3664
3665 * pcomplete.el (pcomplete-completions-at-point): Likewise.
3666
69de3ec6
RS
36672012-09-17 Richard Stallman <rms@gnu.org>
3668
0dee970c
RS
3669 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
3670 only in the mime-shown mode, not in raw mode.
3671 (rmail-mime): Toggle off mime by displaying the message without
6b250df6 3672 mime processing. (Bug#12305)
0dee970c 3673
6b250df6
GM
3674 * mail/rmail.el (rmail-retry-failure):
3675 Turn off mime processing first. (Bug#12037)
acb1c47b 3676
69de3ec6
RS
3677 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
3678
d079ee5f
CY
36792012-09-17 Chong Yidong <cyd@gnu.org>
3680
3681 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
3682 (shell-dynamic-complete-functions): Convert to defcustom.
3683 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
3684
865fe16f
CY
3685 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
3686 * comint.el (comint-prompt-read-only):
3687 * custom.el (defcustom):
3688 * hi-lock.el (hi-lock-mode):
3689 * ibuffer.el (ibuffer-formats):
3690 * ielm.el (ielm-prompt-read-only):
3691 * novice.el (disable-command):
3692 * saveplace.el (toggle-save-place):
3693 * speedbar.el (speedbar-supported-extension-expressions):
3694 * startup.el (auto-save-list-file-prefix, init-file-user)
3695 (after-init-hook, inhibit-startup-echo-area-message):
3696 * strokes.el (strokes-help):
3697 * time-stamp.el (time-stamp):
3698 * calendar/calendar.el (calendar, diary-file):
3699 * calendar/diary-lib.el (diary-mail-entries, diary)
3700 (diary-list-entries-hook):
3701 * calendar/holidays.el (holidays, calendar-holidays):
3702 * calendar/lunar.el (lunar-phases):
3703 * calendar/solar.el (sunrise-sunset):
3704 * emulation/edt.el (edt-load-keys):
3705 * emulation/viper.el (viper-mode):
3706 * eshell/em-alias.el (eshell-command-aliases-list):
3707 * eshell/esh-util.el (eshell-convert-numeric-arguments):
3708 * international/ogonek.el (ogonek-information):
3709 * net/tramp-cmds.el (tramp-bug):
3710 * net/quickurl.el (quickurl-reread-hook-postfix):
3711 * play/decipher.el (decipher-font-lock-keywords):
3712 * progmodes/cc-styles.el (c-set-style):
3713 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
3714 * progmodes/inf-lisp.el (inferior-lisp-prompt):
3715 * progmodes/octave-mod.el (octave-mode):
3716 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
3717 * progmodes/verilog-mode.el (verilog-read-defines):
3718 * textmodes/two-column.el (2C-mode): Likewise.
3719
48093eb9
KY
37202012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
3721
3722 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
3723 that holds many addresses.
3724
c584eaf9
CY
37252012-09-16 Chong Yidong <cyd@gnu.org>
3726
40d70ecb
CY
3727 * align.el (align-areas): Call the indication function with
3728 positions instead of markers for arguments (Bug#12343).
3729
1667e065
CY
3730 * files.el (parse-colon-path): Use split-string (Bug#12351).
3731
fdc2806d 3732 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
71ce58e7 3733 (display-buffer-function): Mark as obsolete.
fdc2806d 3734
f1be615c 3735 * progmodes/compile.el (compilation-parse-errors): Accept list
ce97595b
SM
3736 values similar to font-lock-keywords (Bug#12136).
3737 Suggested by Oleksandr Manzyuk.
c584eaf9
CY
3738 (compilation-error-regexp-alist): Doc fix.
3739
f40a9709
GM
37402012-09-15 Glenn Morris <rgm@gnu.org>
3741
72aa16e1
GM
3742 * version.el (emacs-bzr-version-bzr): New function.
3743 (emacs-bzr-get-version): Add optional EXTERNAL argument.
3744
82375160
GM
3745 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
3746 checkouts, check the parent dirstate matches the branch.
3747 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
3748 empty string.
3749
f40a9709
GM
3750 * version.el (emacs-bzr-version): Doc fix.
3751 (emacs-bzr-version-dirstate): New function.
3752 (emacs-bzr-get-version): For lightweight checkouts, if the parent
3753 is local try and check that it matches the branch. If not, just
3754 use dirstate information. (Bug#12441)
3755
cb26b7f5
JL
37562012-09-14 Juri Linkov <juri@jurta.org>
3757
3758 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
3759 (Bug#12399)
3760
2de39f08
SM
37612012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
3762
0fb3cb7c
SM
3763 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
3764
2de39f08
SM
3765 * emacs-lisp/edebug.el: Miscellaneous cleanup.
3766 Remove obsolete byte-compiler hack that tried to silence some warnings.
3767 (edebug-submit-bug-report): Remove.
3768 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
3769 Remove aliases, use the un-prefixed name instead.
3770 (edebug-pop-to-buffer): Consider other frames.
3771 (edebug-original-read):: Make it more obvious that it's always defined.
3772 (edebug--make-form-data-entry, edebug--form-data-name)
3773 (edebug--form-data-begin, edebug--form-data-end): Rename from the
3774 single-dashed name, and implement with cl-defstruct.
3775 (edebug-set-form-data-entry): Use the standard accessors.
3776 (edebug-make-top-form-data-entry): Use push.
3777 (edebug-no-match): Drop useless `funcall'.
3778 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
3779 to functions.
3780 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
3781 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
3782 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
3783 (easy-menu-define, with-custom-print): Remove redundant specs.
3784 (edebug-outside-overriding-local-map)
3785 (edebug-outside-overriding-terminal-local-map): Remove, unused.
3786 (edebug--display): Bind unread-command-events directly to nil rather
3787 than binding it to unread-command-events and later setting it to nil.
3788 (edebug--display): Kill edebug-eval-buffer here...
3789 (edebug--recursive-edit): ...rather than here.
3790 Bind standard-output and standard-input.
3791 (edebug-eval): Check cl-macroexpand-all is fboundp.
3792 (edebug-temp-display-freq-count): Fix last change.
3793
3794 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
3795 * subr.el (noreturn, 1value): Add `debug' spec.
3796 * emacs-lisp/advice.el: Require cl-lib.
3797 (ad-copy-tree): Remove, use copy-tree instead.
3798 (ad-dolist): Remove use dolist or cl-dolist instead.
3799 (ad-do-return): Remove, use cl-return instead.
3800 (defadvice): Add `debug' spec.
3801
5b68b333
JL
38022012-09-13 Juri Linkov <juri@jurta.org>
3803
3804 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
3805 (Bug#12399)
3806
b9800ec4
GM
38072012-09-13 Glenn Morris <rgm@gnu.org>
3808
6a2e6868
GM
3809 * calc/calc.el (math-compose-expr):
3810 * calc/calc-ext.el (math-compose-expr):
3811 * progmodes/cc-defs.el (cl-macroexpand-all):
3812 * progmodes/cc-langs.el (delete-duplicates, mapcan)
3813 (cl-macroexpand-all): Update declarations.
3814
b9800ec4
GM
3815 * vc/vc.el: No need to require ediff.
3816 (ediff-load-version-control): Declare.
3817 (ediff-vc-internal): Fix declaration.
3818 (vc-version-ediff): Require ediff.
3819
c18e885b
PE
38202012-09-13 Paul Eggert <eggert@cs.ucla.edu>
3821
3822 Use a more backwards-compatible timer format (Bug#12430).
3823 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
3824 being right after USECS, as that better supports old code that
3825 inadvisedly looked directly at the timer vector.
3826
d607d303
KH
38272012-09-13 Kenichi Handa <handa@gnu.org>
3828
3829 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
3830 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
3831 `coding-priority' property of these language environment.
3832
72eac303
PE
38332012-09-13 Paul Eggert <eggert@cs.ucla.edu>
3834
3835 Fix glitches caused by addition of psec to timers (Bug#12430).
3836 * image.el (image-animate-timer):
3837 * time.el (display-time-world-timer):
3838 Use timer--function and timer--args rather than raw access to
3839 timer vector.
3840
2168fe4f
GM
38412012-09-13 Glenn Morris <rgm@gnu.org>
3842
3843 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
3844 If not compiling a file, try using load-file-name.
3845
bd8d6108
SM
38462012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
3847
c0c54fbd
SM
3848 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
3849 Fix last change.
3850 (edebug-update-eval-list): Use `push'.
3851
bd8d6108
SM
3852 * emacs-lisp/edebug.el: Use lexical-binding.
3853 Remove the "edebug-" prefix from non-dynamically-scoped variables.
3854 Mark unused args with underscore.
3855 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
3856 (edebug-form-data): Use defvar-local.
3857 (edebug-make-before-and-after-form, edebug-make-after-form):
3858 Use backquote.
3859 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
3860 Not dynamically scoped any more.
3861 (edebug--enter-trace): Add arguments `function' and `args'.
3862 Rename from edebug-enter-trace.
3863 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
3864 (edebug--update-coverage): Add `after-index' and `value' args.
3865 Rename from edebug-update-coverage.
3866 (edebug-slow-after): Call it accordingly.
3867 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
3868 edebug-recursive-edit.
3869 (edebug--display): Call it accordingly. Add args `value',
3870 `offset-index', and `arg-mode'. Rename from edebug-display.
3871 (edebug-debugger, edebug): Call it accordingly.
3872 (edebug-eval-display-list): Use dolist.
3873
a9f9d9de
JL
38742012-09-12 Juri Linkov <juri@jurta.org>
3875
3876 * info.el (Info-search): Don't check for isearch-mode and
3877 isearch-regexp before let-binding search-spaces-regexp to
3878 Info-search-whitespace-regexp.
3879 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
3880 search-whitespace-regexp if isearch-lax-whitespace or
3881 isearch-regexp-lax-whitespace is non-nil.
3882 (Info-mode): Don't set local variable search-whitespace-regexp.
3883 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
3884
bfeae2cf
SM
38852012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3886
3887 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
3888 (debugger-env-macro): Remove support for unread-command-char.
3889
3890 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
3891 the temporary map re-appearing on emulation-mode-map-alists.
3892
3893 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
3894 since 22.1.
3895
3896 * ehelp.el (with-electric-help): Accept functions in
3897 electric-help-form-to-execute.
3898 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
3899 And replace unread-command-char -> unread-command-events.
3900
fbbcaf1b
MA
39012012-09-12 Michael Albinus <michael.albinus@gmx.de>
3902
3903 Sync with Tramp 2.2.6.
3904
3905 * net/tramp.el (tramp-accept-process-output): Don't use
3906 JUST-THIS-ONE in the XEmacs case.
3907
3908 * net/trampver.el: Update release number.
3909
4dece104
MR
39102012-09-12 Martin Rudalics <rudalics@gmx.at>
3911
bfeae2cf
SM
3912 * emacs-lisp/debug.el (debugger-previous-window-height):
3913 New variable.
4dece104
MR
3914 (debug): When debugger-jumping-flag is non-nil try to restore
3915 height of debugger window. (Bug#8789)
3916
45b82ad0
SM
39172012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3918
60c49c0f
SM
3919 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
3920 overriding-local-map and pre/post-command-hook here.
3921 (edebug-recursive-edit): Do it here instead (bug#12345).
3922 (edebug-outside-unread-command-char): Remove all uses of
3923 unread-command-char.
3924
45b82ad0
SM
3925 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
3926 inhibit-debugger is bound instead.
3927
baa26ea0
BG
39282012-09-11 Bastien Guerry <bzg@gnu.org>
3929
3930 * subr.el (set-temporary-overlay-map): Add a docstring.
fc0c31f8 3931 (Bug#12346)
baa26ea0 3932
04e8abfa
BG
39332012-09-11 Bastien Guerry <bzg@gnu.org>
3934
96d03571 3935 * minibuffer.el (completion-table-subvert): Fix docstring.
fc0c31f8 3936 (Bug#12347)
96d03571
BG
3937
39382012-09-11 Bastien Guerry <bzg@gnu.org>
3939
fc0c31f8 3940 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
04e8abfa 3941
04e082b0
MM
39422012-09-10 Michael R. Mauger <mmaug@yahoo.com>
3943
3944 * progmodes/sql.el: Version 3.1
3945 (sql-db2-escape-newlines): New variable.
3946 (sql-escape-newlines-filter): Use it.
3947
399a361b
JB
39482012-09-10 Juanma Barranquero <lekktu@gmail.com>
3949
3950 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
3951
0780c517
DN
39522012-09-10 Dan Nicolaescu <dann@gnu.org>
3953
45b82ad0
SM
3954 * vc/diff-mode.el (diff-mode-menu):
3955 Bind diff-remove-trailing-whitespace.
0780c517 3956
9b851e25
SM
39572012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
3958
3959 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
fc0c31f8
JB
3960 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
3961 (emacs-lisp-byte-code-mode): New functions.
9b851e25
SM
3962 (eval-sexp-add-defvars): Don't skip defvars in column >0.
3963 (eval-defun-2): Remove bogus interactive spec.
3964 (lisp-indent-line): Remove redundant whole-exp code, now done in
3965 indent-according-to-mode.
3966 (save-match-data): Remove redundant indent data.
3967
3968 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
3969 Use `declare'.
3970
3231d532
JL
39712012-09-09 Juri Linkov <juri@jurta.org>
3972
3973 * replace.el (replace-regexp-lax-whitespace): New defcustom.
3974 (replace-lax-whitespace, query-replace-regexp)
3975 (query-replace-regexp-eval, replace-regexp): Doc fix.
3976 (perform-replace, replace-highlight): Let-bind
3977 isearch-lax-whitespace to replace-lax-whitespace and
3978 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
3979
3980 * isearch.el (isearch-query-replace): Let-bind
3981 replace-lax-whitespace to isearch-lax-whitespace and
3982 replace-regexp-lax-whitespace to
3983 isearch-regexp-lax-whitespace. (Bug#10885)
3984
70fe8236
SM
39852012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
3986
3987 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
3988
8ed43f15
AM
39892012-09-09 Alan Mackenzie <acm@muc.de>
3990
70fe8236
SM
3991 * progmodes/cc-engine.el (c-state-cache-init):
3992 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
3993 (c-record-parse-state-state):
3994 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
8ed43f15 3995
bfabf70a
AS
39962012-09-09 Andreas Schwab <schwab@linux-m68k.org>
3997
3998 * register.el (register-separator): Rename from
3999 separator-register. All uses changed. Doc fix.
4000 (register): Fix version.
4001
011474aa
CY
40022012-09-09 Chong Yidong <cyd@gnu.org>
4003
4004 * replace.el (query-replace-map): Bind four new symbols for
4005 requesting window scrolling.
4006
4007 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
4008 query-replace-map (Bug#8948).
4009
4010 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
4011
4012 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
4013 since they are now in query-replace-map.
4014
4015 * window.el (scroll-other-window-down): Make the arg optional.
4016
a8b7cd8d
CY
40172012-09-09 Chong Yidong <cyd@gnu.org>
4018
4019 * files.el (hack-local-variables-confirm): Use quit-window to kill
4020 the *Local Variables* buffer.
4021
c3268831
DG
40222012-09-08 Dmitry Gutov <dgutov@yandex.ru>
4023
4024 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
4025 not just expect to be at its beginning. Adjust callees.
4026 Succeed when do-end block has no space before the pipe character.
4027 (ruby-brace-to-do-end): When the original block is one-liner,
4028 convert to multiline. Reindent the result.
4029
0979429b
J
40302012-09-08 Jambunathan K <kjambunathan@gmail.com>
4031
4032 * register.el (register): New group.
27359e99 4033 (separator-register): New user option.
0979429b
J
4034 (increment-register): Route it to `append-to-register', if
4035 register contains text. Implication is that `C-x r +' can now be
4036 used for appending to a text register (bug#12217).
4037 (append-to-register, prepend-to-register): Add separator based on
5b9c45a6 4038 `separator-register'.
0979429b 4039
ace2989a
AM
40402012-09-08 Alan Mackenzie <acm@muc.de>
4041
4042 AWK Mode: make auto-newline work when there's "==" in the pattern.
4043 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
4044 correctly.
0979429b
J
4045 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
4046 Test more rigorously for "=" token.
ace2989a 4047
616c6c36
DG
40482012-09-08 Dmitry Gutov <dgutov@yandex.ru>
4049
0979429b
J
4050 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
4051 Only fail when reached LIMIT.
616c6c36 4052
35d98877
CY
40532012-09-08 Chong Yidong <cyd@gnu.org>
4054
4055 * dired.el (dired-mode-map): Don't bind M-=.
4056
4057 * dired-aux.el (dired-diff): Use backup file as default.
4058
1715f2db
DA
40592012-09-08 Drew Adams <drew.adams@oracle.com>
4060
4061 * subr.el (add-to-history): Fix delete usage (Bug#12314).
4062
6dcef6ec
CY
40632012-09-08 Chong Yidong <cyd@gnu.org>
4064
4065 * subr.el (syntax-after, syntax-class): Doc fix.
4066
fa2bcf43
MR
40672012-09-08 Martin Rudalics <rudalics@gmx.at>
4068
4069 * window.el (display-buffer-in-previous-window): New buffer
4070 display action function.
4071
4072 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
4073 (debugger-previous-window): New variable.
4074 (debug): Rewrite using display-buffer-in-previous-window,
4075 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
4076
daac280a
SM
40772012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
4078
4079 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
4080
9dd40b00
MM
40812012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
4082
daac280a
SM
4083 * progmodes/python.el (python-shell-send-string):
4084 When default-directory is remote, create temp file on remote
9dd40b00
MM
4085 filesystem.
4086 (python-shell-send-file): When file is remote, pass local view of
4087 file paths to remote Python interpreter. (Bug#12340)
4088
145823ec
CY
40892012-09-07 Chong Yidong <cyd@gnu.org>
4090
cee2e90d
CY
4091 * window.el (switch-to-buffer): Doc fix (Bug#12181).
4092
0d7eb2ea
CY
4093 * files.el (after-find-file): Don't fail on a read-only buffer if
4094 require-final-newline is `visit' or `visit-save' (Bug#11156).
4095
145823ec
CY
4096 * subr.el (read-char-choice): Allow quitting via ESC ESC.
4097
daac280a
SM
4098 * userlock.el (ask-user-about-supersession-threat):
4099 Use read-char-choice (Bug#12093).
145823ec 4100
74c582e6
CY
41012012-09-07 Chong Yidong <cyd@gnu.org>
4102
e5c2edf7
CY
4103 * subr.el (buffer-narrowed-p): New function.
4104
4105 * ses.el (ses-widen):
4106 * simple.el (count-words--buffer-message):
1f9f395d 4107 * net/browse-url.el (browse-url-of-buffer): Use it.
e5c2edf7
CY
4108
4109 * simple.el (count-words-region): Don't signal an error if there
4110 is a non-nil prefix arg and the mark is not set.
c640e87d 4111
74c582e6
CY
4112 * help.el (describe-key-briefly): Allow the message to be seen
4113 when invoked from the minibuffer (Bug#7014).
4114
d81ceaaf
DG
41152012-09-07 Dmitry Gutov <dgutov@yandex.ru>
4116
4117 * progmodes/ruby-mode.el (ruby-end-of-defun)
4118 (ruby-beginning-of-defun): Simplify, allow indentation before
4119 block beginning and end keywords.
8f06acce
DG
4120 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
4121 (ruby-end-of-defun): Expect that the point is at the beginning of
4122 the defun.
d81ceaaf 4123
d458ef98
SM
41242012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4125
4126 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
4127 (bug#12367).
4128 (cl--make-usage-args): Strip _ from argument names.
4129
20367d28
RS
41302012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4131
4132 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
4133 obsolete alias speedbar-key-map.
4134 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
4135 (vhdl-index-menu-init): Don't use obsolete variable
4136 font-lock-maximum-size.
4137
3424a4f6
CY
41382012-09-06 Chong Yidong <cyd@gnu.org>
4139
4140 * frame.el (window-system-version): Mark as obsolete.
4141
fcbfbdea
CY
4142 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
4143 of obsolete variable speedbar-key-map.
4144
826b3235
JL
41452012-09-06 Juri Linkov <juri@jurta.org>
4146
4147 * replace.el (replace-lax-whitespace): New defcustom.
4148 (query-replace, query-replace-regexp, query-replace-regexp-eval)
4149 (replace-string, replace-regexp): Mention it in docstrings.
4150 (perform-replace, replace-highlight): Let-bind
4151 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
4152 to the values of replace-lax-whitespace and regexp-flag.
4153 Don't let-bind search-whitespace-regexp. (Bug#10885)
4154
4155 * isearch.el (isearch-query-replace): Let-bind
4156 replace-lax-whitespace instead of let-binding
4157 replace-search-function and replace-re-search-function.
4158 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
4159 and isearch-regexp-lax-whitespace to lazy-highlight variables.
4160 (isearch-toggle-symbol): Set isearch-regexp to nil
4161 in isearch-word mode (like in isearch-toggle-word).
4162
1ec5e41d
JL
41632012-09-06 Juri Linkov <juri@jurta.org>
4164
4165 * replace.el (replace-search-function)
4166 (replace-re-search-function): Set default values to nil.
4167 (perform-replace): Let-bind isearch-related variables based on
4168 replace-related values, call `isearch-search-fun' and let-bind
4169 the result to `search-function'. Remove code that sets
4170 `search-function' and `search-string' separately for
4171 `delimited-flag'.
4172 (replace-highlight): Add new argument `delimited-flag' and
4173 rename other arguments to the names used in `perform-replace'.
4174 Let-bind `isearch-word' to the argument `delimited-flag'.
4175 (Bug#10885, bug#10887)
4176
0ba2d4b6
DG
41772012-09-07 Dmitry Gutov <dgutov@yandex.ru>
4178
4179 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
4180 ruby-beginning-of-indent, simplify, allow all keywords to have
4181 indentation before them.
4182 (ruby-beginning-of-indent): Adjust for above. Search until the
4183 found point is not inside a string or comment.
4184 (ruby-font-lock-keywords): Allow symbols to start with "@"
4185 character, give them higher priority than variables.
4186 (ruby-syntax-propertize-function)
4187 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
4188 matchers. Expression expansions are not comments when inside a
4189 string, and there comment syntax status is irrelevant.
4190 (ruby-match-expression-expansion): New function. Check that
4191 expression expansion is inside a string, and it's not escaped.
4192 (ruby-font-lock-keywords): Use it.
4193
ef654460
MR
41942012-09-05 Martin Rudalics <rudalics@gmx.at>
4195
4196 * help.el (temp-buffer-max-height): New default value.
4197 (temp-buffer-resize-frames): New option.
4198 (resize-temp-buffer-window): Optionally resize frame.
4199
4200 * window.el (fit-frame-to-buffer-bottom-margin): New option.
4201 (fit-frame-to-buffer): New function.
4202
7e570fbf 42032012-09-05 Glenn Morris <rgm@gnu.org>
72308848
GM
4204
4205 * emulation/cua-rect.el (cua--init-rectangles):
4206 * textmodes/picture.el (picture-mode-map):
4207 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
4208 like forward-char and backward-char. (Bug#12317)
4209
7e570fbf 42102012-09-05 Leo Liu <sdl.web@gmail.com>
3aca1291
LL
4211
4212 * progmodes/flymake.el (flymake-warning-re): New variable.
4213 (flymake-parse-line): Use it.
4214
7e570fbf 42152012-09-05 Glenn Morris <rgm@gnu.org>
b6683353
GM
4216
4217 * calendar/holidays.el (holiday-christian-holidays):
4218 Rename an entry. (Bug#12289)
4219
7e570fbf 42202012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
64f8c4bd
SM
4221
4222 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
4223 (bug#12222).
4224
972debf2
SM
42252012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
4226
4227 * loadup.el: Load macroexp. Remove hack.
4228 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
4229 (macroexp--expand-all): Use it to get better warnings.
4230 (macroexp--backtrace, macroexp--trim-backtrace-frame)
4231 (internal-macroexpand-for-load): New functions.
4232 (macroexp--pending-eager-loads): New var.
4233 (emacs-startup-hook): New hack to replace one in loadup.el.
4234 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
4235 (cl--compiler-macro-cXXr): Move to top, before they can be used.
4236 (cl-psetf): Simplify.
4237 (cl-defstruct): Add indent rule.
4238
8ce192e3
LI
42392012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
4240
4241 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
4242 over `user-mail-address' for the SMTP MAIL FROM envelope.
4243 (smtpmail-via-smtp): Ditto.
4244
6578b4d8
DG
42452012-09-04 Dmitry Gutov <dgutov@yandex.ru>
4246
4247 * progmodes/ruby-mode.el: Clean up keybindings.
4248 (ruby-mode-map): Don't bind ruby-electric-brace,
4249 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
4250 backward-kill-word, reindent-then-newline-and-indent.
4251 (ruby-mark-defun): Remove.
4252 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
4253 (ruby-mode): Set local beginning-of-defun-function and
4254 end-of-defun-function values.
4255
c5e28e39
MR
42562012-09-03 Martin Rudalics <rudalics@gmx.at>
4257
4258 * window.el (temp-buffer-window-setup-hook)
4259 (temp-buffer-window-show-hook): New hooks.
4260 (temp-buffer-window-setup, temp-buffer-window-show)
4261 (with-temp-buffer-window): New functions.
972debf2
SM
4262 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
4263 (special-display-popup-frame): Make sure the window used shows BUFFER.
c5e28e39
MR
4264
4265 * help.el (temp-buffer-resize-mode): Fix doc-string.
4266 (resize-temp-buffer-window): New optional argument WINDOW.
4267
4268 * files.el (recover-file, save-buffers-kill-emacs):
4269 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
4270
73406194
MA
42712012-09-02 Michael Albinus <michael.albinus@gmx.de>
4272
4273 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
4274 remote definition of `default-directory', ensure we can connect.
4275
63dd1c6f
JL
42762012-09-02 Juri Linkov <juri@jurta.org>
4277
4278 Toggle whitespace matching mode with M-s SPC.
4279 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
4280
4281 * isearch.el (search-whitespace-regexp): Doc fix.
4282 Remove cons cell customization.
4283 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
4284 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
4285 New variables.
4286 (isearch-forward, isearch-forward-regexp): Doc fix.
4287 (isearch-toggle-lax-whitespace): New command.
4288 (search-forward-lax-whitespace, search-backward-lax-whitespace)
4289 (re-search-forward-lax-whitespace)
4290 (re-search-backward-lax-whitespace): New functions.
4291 (isearch-whitespace-regexp): Remove function.
4292 (isearch-query-replace): Let-bind replace-search-function and
4293 replace-re-search-function.
4294 (isearch-occur): Let-bind search-spaces-regexp according to the
4295 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
4296 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
4297 condition for C-q SPC.
4298 (isearch-search-fun-default): Use new functions mentioned above.
4299 (isearch-search-forward, isearch-search-backward): Remove functions.
4300 (isearch-search): Don't let-bind search-spaces-regexp.
4301 (isearch-lazy-highlight-space-regexp): Remove variable.
4302 (isearch-lazy-highlight-lax-whitespace)
4303 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
4304 (isearch-lazy-highlight-new-loop): Use them.
4305 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
4306
af7dda05
CY
43072012-09-02 Chong Yidong <cyd@gnu.org>
4308
4309 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
4310
d67d3afd
GM
43112012-09-02 Glenn Morris <rgm@gnu.org>
4312
4313 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
4314
69678719
GM
43152012-09-01 Glenn Morris <rgm@gnu.org>
4316
4317 * term.el: Tidy up menu definitions.
4318 (term-mode-map): Use easymenu for In/Out, Complete menus.
4319 (term-pager-break-map): Initialize in the defvar.
4320 (term-terminal-menu, term-signals-menu): Define with easymenu.
4321 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
4322 (term-pager-menu): New, extracted from term-process-pager.
4323 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
4324 (term-update-mode-line): Propertize line/char and page items.
4325 (term-process-pager): Move keymap initialization elsewhere.
4326
78dd6ab1
MR
43272012-09-01 Martin Rudalics <rudalics@gmx.at>
4328
4329 * window.el (switch-to-prev-buffer): Handle additional values of
4330 BURY-OR-KILL argument. Don't switch in minibuffer window.
4331 (switch-to-next-buffer): Don't switch in minibuffer window.
4332 (quit-restore-window): New function based on quit-window.
4333 Handle additional values of former KILL argument.
4334 (quit-window): Call quit-restore-window with appropriate
4335 interpretation of KILL argument.
4336 (display-buffer-below-selected): New buffer display action
4337 function.
4338
3d10e134
SM
43392012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
4340
4341 * minibuffer.el (completion-at-point-functions): Complete docstring
4342 (bug#12254).
4343
0e23ef9d
PE
43442012-09-01 Paul Eggert <eggert@cs.ucla.edu>
4345
4346 Better seed support for (random).
4347 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
4348 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
4349 * play/mpuz.el, play/tetris.el, play/zone.el:
4350 * calc/calc-comb.el (math-init-random-base):
4351 * play/blackbox.el (bb-init-board):
4352 * play/life.el (life):
4353 * server.el (server-use-tcp):
4354 * type-break.el (type-break):
4355 Remove unnecessary call to (random t).
4356 * net/sasl.el (sasl-unique-id-function):
4357 Change (random t) to (random), now that the latter is more random.
4358 * play/life.el (life-initialized): Remove no-longer-needed var.
4359
862382df
MR
43602012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
4361
4362 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
4363 Consider frame's buffer predicate when choosing the buffer.
4364 (Bug#12081)
4365
262a66e1
RS
43662012-08-30 Richard Stallman <rms@gnu.org>
4367
4368 * simple.el (special-mode-map): Delete binding for `z'.
4369
f17e1d00
AS
43702012-08-30 Andreas Schwab <schwab@linux-m68k.org>
4371
4372 * progmodes/compile.el (compilation-always-kill): Doc fix.
4373
24777832
CY
43742012-08-30 Chong Yidong <cyd@gnu.org>
4375
4376 * window.el (display-buffer-reuse-frames): Make the obsolescence
4377 message more informative.
4378
69ba1f04
GM
43792012-08-30 Glenn Morris <rgm@gnu.org>
4380
4381 * paren.el (show-paren-delay):
4382 Add a :set function. Doc fix. (Bug#12297)
4383
f0019ede
MB
43842012-08-29 Martin Blais <blais@furius.ca> (tiny change)
4385
4386 * progmodes/compile.el (compilation-always-kill): New var.
4387 (compilation-start): Use it.
4388
35e62fc9
SM
43892012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4390
af070a1c
SM
4391 * simple.el (read-only-mode): Move from files.el for bootstrapping.
4392 * files.el (read-only-mode): Move to simple.el.
4393
35e62fc9
SM
4394 * files.el (read-only-mode): New minor mode.
4395 (toggle-read-only): Use it and mark obsolete.
4396 (find-file--read-only):
4397 * vc/vc.el (vc-next-action, vc-checkout):
4398 * vc/vc-cvs.el (vc-cvs-checkout):
4399 * obsolete/vc-mcvs.el (vc-mcvs-update):
4400 * ffap.el (ffap--toggle-read-only): Update callers.
4401
c2c43c23
MA
44022012-08-29 Michael Albinus <michael.albinus@gmx.de>
4403
4404 * eshell/esh-ext.el (eshell-external-command): Do not examine
972debf2
SM
4405 remote shell scripts.
4406 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
c2c43c23
MA
4407
4408 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
4409 "/usr/local/sbin".
4410
9fba804b
SM
44112012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4412
4413 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
4414
eada0861 44152012-08-28 Leo Liu <sdl.web@gmail.com>
22ab32ef 4416
806f0cc7
LL
4417 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
4418 completion-at-point. (Bug#12220)
4419
3bb213b9
LL
4420 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
4421
22ab32ef
LL
4422 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
4423
eada0861 44242012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
db148c21 4425
19c17fc1
CY
4426 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
4427 be buffer-local; add delete-trailing-whitespace (bug#12259).
db148c21 4428
eada0861 44292012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
ffe6eaf1
JM
4430
4431 * progmodes/hideif.el (hif-compress-define-list):
4432 Fix typo. (Bug#11951)
4433
eada0861 44342012-08-28 Dan Nicolaescu <dann@gnu.org>
d30aca1b
DN
4435
4436 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
4437 buffer local setting.
4438
27d6c5a8
LL
4439 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
4440 rcirc-encode-coding-system.
4441
eada0861 44422012-08-28 Leo Liu <sdl.web@gmail.com>
4432d2e2
LL
4443
4444 * net/rcirc.el (rcirc-split-message): New function.
4445 (rcirc-send-message): Use it. (Bug#12051)
4446
d44688e4
JL
44472012-08-28 Juri Linkov <juri@jurta.org>
4448
4449 * info.el (Info-fontify-node): Hide empty lines at the end of
4450 the node. (Bug#12272)
4451
34f10d41
MR
44522012-08-27 Drew Adams <drew.adams@oracle.com>
4453
4454 * dired.el (dired-pop-to-buffer): Make window start at beginning
4455 of buffer (Bug#12281).
4456
77f1f99c
CY
44572012-08-26 Chong Yidong <cyd@gnu.org>
4458
4459 * window.el (special-display-regexps, special-display-frame-alist)
4460 (special-display-buffer-names, special-display-function)
4461 (display-buffer-reuse-frames): Mark as obsolete.
4462
4463 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
4464
4465 * help.el (help-print-return-message): Don't treat
4466 display-buffer-reuse-frames specially.
4467
d97af5a0
CY
44682012-08-26 Chong Yidong <cyd@gnu.org>
4469
9fba804b
SM
4470 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
4471 New variable, replacing gdb-frame-parameters.
d97af5a0
CY
4472 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
4473 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
4474 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
4475 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
4476 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
4477 the functions directly with gdb-display-buffer-other-frame-action.
4478 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
4479 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
4480 (gdb-display-stack-buffer, gdb-display-locals-buffer)
4481 (gdb-display-registers-buffer): Define directly.
4482 (def-gdb-display-buffer): Macro deleted.
4483 (gdb-display-buffer): Remove second and third args, callers don't
4484 use them. Defer to the default display-buffer behavior, apart
4485 from making windows dedicated.
4486 (gdb-setup-windows): Don't call display-buffer unnecessarily.
4487
4488 * progmodes/gud.el (gud-display-line): Just use display-buffer.
4489
4490 * window.el (display-buffer-pop-up-frame): Handle a
4491 pop-up-frame-parameters alist entry.
4492 (display-buffer): Document it.
4493
dd7ffad6
CY
44942012-08-26 Chong Yidong <cyd@gnu.org>
4495
4496 * isearch.el (search-whitespace-regexp): Make string and nil
4497 values apply to both ordinary and regexp search. Allow a cons
4498 cell value to distinguish between the two.
4499 (isearch-whitespace-regexp, isearch-search-forward)
4500 (isearch-search-backward): New functions.
4501 (isearch-occur, isearch-search-fun-default, isearch-search)
4502 (isearch-lazy-highlight-new-loop): Use them.
4503 (isearch-forward, isearch-forward-regexp): Doc fix.
4504
4c47bd1e
CY
45052012-08-26 Chong Yidong <cyd@gnu.org>
4506
4507 * faces.el (help-argument-name): Always inherit from italic
4508 (Bug#12213).
4509
9aba119d
MR
45102012-08-25 Martin Rudalics <rudalics@gmx.at>
4511
4512 * window.el (window--even-window-heights): Even heights when
4513 WINDOW and the selected window form a vertical combination.
4514 (display-buffer-use-some-window): Provide that window used gets
4515 sized back by quit-window. (Bug#11880) and (Bug#12091)
4516
ca5256ad
PE
45172012-08-24 Paul Eggert <eggert@cs.ucla.edu>
4518
4519 Fix file time stamp problem with bzr and CVS (Bug#12001).
4520 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
4521 in the file's time stamp, since the version control system loses
4522 that information.
4523
d1c0d176
JL
45242012-08-22 Juri Linkov <juri@jurta.org>
4525
4526 * info.el (Info-fontify-node): Hide the suffix of the
4527 Info file name in the header line. (Bug#12187)
4528
141562ff
GM
45292012-08-22 Glenn Morris <rgm@gnu.org>
4530
4531 * calendar/cal-tex.el (cal-tex-weekly-common):
4532 Restore leading blank page.
4533
3a21537c 45342012-08-22 Le Wang <l26wang@gmail.com>
add9ca2d
BG
4535
4536 * misc.el (forward-to-word, backward-to-word): Activate or extend
61a48e19
GM
4537 the region under `shift-select-mode'. (Bug#12231)
4538
45392012-08-22 Bastien Guerry <bzg@gnu.org>
0fcd3d9f
BG
4540
4541 * progmodes/executable.el (executable-prefix): Set to "#!" instead
4542 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
4543 gives details on why the space is never needed.
4544
ea95074e
MR
45452012-08-22 Martin Rudalics <rudalics@gmx.at>
4546
9fba804b
SM
4547 * window.el (walk-window-tree, window-with-parameter):
4548 New optional argument MINIBUF to control whether these functions
ea95074e
MR
4549 should run on the minibuffer window.
4550 (window-at-side-list): Don't operate on minibuffer window.
4551 (window-in-direction): Simplify and rewrite doc-string.
9fba804b
SM
4552 (window--size-ignore): Rename to window--size-ignore-p.
4553 Update callers.
caceae25
MR
4554 (display-buffer-in-atom-window, window--major-non-side-window)
4555 (window--major-side-window, display-buffer-in-major-side-window)
9fba804b
SM
4556 (delete-side-window, display-buffer-in-side-window):
4557 New functions.
caceae25
MR
4558 (window--side-check, window-deletable-p, delete-window)
4559 (delete-other-windows, split-window): Handle side windows and
4560 atomic windows appropriately.
4561 (window--display-buffer): Call display-buffer-record-window also
4562 when the window buffer did not change.
ea95074e 4563
80a51fa0
CS
45642012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
4565
4566 * help-fns.el (help-fns--key-bindings):
4567 Abbreviate non-symbol remap targets. (Bug#12174)
4568
fbb6300b
MR
45692012-08-22 Martin Rudalics <rudalics@gmx.at>
4570
4571 * dired.el (dired-mark-remembered): Don't clobber point.
4572 (Bug#11795)
4573
2b2c0794
GM
45742012-08-22 Glenn Morris <rgm@gnu.org>
4575
4576 * progmodes/bug-reference.el (bug-reference): New custom group.
4577 (bug-reference-bug-regexp): Make it a defcustom.
4578
37219830
DU
45792012-08-22 Daiki Ueno <ueno@unixuser.org>
4580
4581 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
4582 (js-paren-indent-offset, js-square-indent-offset)
4583 (js-curly-indent-offset): Add :safe (Bug#12257).
4584
94e0e559
EC
45852012-08-22 Edward O'Connor <hober0@gmail.com>
4586
4587 * json.el (json-key-format): Add error properties.
4588 (json-encode-key): New function.
4589 (json-encode-hash-table, json-encode-alist, json-encode-plist):
4590 Use json-encode-key.
4591
da485f5e
GM
45922012-08-22 Glenn Morris <rgm@gnu.org>
4593
4594 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
4595 (cal-tex-leftday, cal-tex-rightday): Remove functions.
4596 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
4597 Update for above change.
4598
c6cc78b8
AS
45992012-08-21 Andreas Schwab <schwab@linux-m68k.org>
4600
4601 * cus-face.el (custom-face-attributes): Fix customize type for the
4602 :underline attribute. (Bug#11805)
4603
5481664a
MR
46042012-08-21 Martin Rudalics <rudalics@gmx.at>
4605
4606 * window.el (window-point-1, set-window-point-1): Remove.
4607 (window-in-direction, record-window-buffer)
4608 (set-window-buffer-start-and-point, split-window-below)
9fba804b
SM
4609 (window--state-get-1, display-buffer-record-window):
4610 Replace calls to window-point-1 and set-window-point-1 by calls to
5481664a
MR
4611 window-point and set-window-point respectively.
4612
6d74698e
GM
46132012-08-21 Glenn Morris <rgm@gnu.org>
4614
b7fa2691
GM
4615 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
4616 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
4617 Use it.
4618
52f56d5a
GM
4619 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
4620 (cal-tex-shortday): New function.
4621 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
4622 (cal-tex-cursor-filofax-daily): Use the above.
4623
9f1ee09e
GM
4624 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
4625 New functions.
4626 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
4627 (cal-tex-cursor-filofax-week): Use them.
4628
79858159
GM
4629 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
4630 New constants.
4631 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
4632 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
4633
d346b2b4
GM
4634 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
4635 (cal-tex-end-document): Don't rely on buffer name.
4636
b2403709
GM
4637 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
4638 Use cal-tex-vspace.
4639 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
4640 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2d225a3a
GM
4641 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
4642 Use cal-tex-arg.
b2403709 4643
1cebb5c0
GM
4644 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
4645 (cal-tex-cursor-week, cal-tex-cursor-week2)
4646 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
4647 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
4648 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
4649 (cal-tex-insert-preamble, cal-tex-b-document)
4650 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
4651 Improve cal-tex-cmd usage.
4652
c68cd5d4
GM
4653 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
4654 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
4655 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
4656 (cal-tex-weekly-paper): New function.
4657 (cal-tex-cursor-week, cal-tex-cursor-week2)
4658 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
4659 (cal-tex-cursor-day): Use it.
4660
9dca4801
GM
4661 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
4662 (cal-tex-cursor-filofax-week): Remove leading blank page.
4663
1941e134
GM
4664 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
4665 Add autoload cookie. For now at least, don't use color, since
4666 no other cal-tex function does.
4667
6d74698e
GM
4668 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
4669 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
4670 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
4671
64cde199
JL
46722012-08-21 Juri Linkov <juri@jurta.org>
4673
4674 * info.el (Info-file-attributes): New variable.
4675 (info-insert-file-contents): Add file attributes to
4676 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
4677 `Info-toc-nodes' when previous modtime of the Info file is less
4678 than new modtime.
4679 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
4680 of info.el. (Bug#12230)
4681
32757648
GM
46822012-08-20 Glenn Morris <rgm@gnu.org>
4683
4684 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
4685 * calendar/holidays.el (calendar-holiday-list):
4686 Report errors with display-warning rather than beep'n'sleep.
4687
a32fbbcf
MA
46882012-08-20 Michael Albinus <michael.albinus@gmx.de>
4689
4690 * net/tramp.el (tramp-accept-process-output): Accept only output
4691 from PROC. Otherwise, process filters and sentinels might be
4692 confused. (Bug#12145)
4693
a05731a0
CY
46942012-08-20 Chong Yidong <cyd@gnu.org>
4695
4696 * descr-text.el (describe-text-properties-1): Use overlays-in to
4697 report on empty overlays (Bug#3322).
4698
36e8d1eb
GM
46992012-08-20 Glenn Morris <rgm@gnu.org>
4700
3d300447
GM
4701 * mail/rmailout.el (rmail-output-read-file-name):
4702 Trap and report errors in rmail-output-file-alist elements.
4703
36e8d1eb
GM
4704 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
4705 since most non-font-lock faces are not also variables).
4706
b96e5814
ER
47072012-08-20 Edward Reingold <reingold@iit.edu>
4708
4709 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
4710 New function. (Bug12160)
4711
7cef3569
GM
47122012-08-19 Glenn Morris <rgm@gnu.org>
4713
4714 * mail/rmailout.el (rmail-output-read-file-name):
4715 Fix previous change (when the alist is nil or does not match).
4716
17975d7f
CY
47172012-08-19 Chong Yidong <cyd@gnu.org>
4718
4719 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
4720 (Bug#12228).
4721
2170b1bd
CY
47222012-08-18 Chong Yidong <cyd@gnu.org>
4723
4724 * simple.el (yank-handled-properties): New defcustom.
4725 (yank-excluded-properties): Add font-lock-face and category.
4726 (yank): Doc fix.
4727
9fba804b
SM
4728 * subr.el (remove-yank-excluded-properties):
4729 Obey yank-handled-properties. The special handling of font-lock-face
2170b1bd
CY
4730 and category is now done this way, instead of being hard-coded.
4731 (insert-for-yank-1): Remove font-lock-face handling.
4732 (yank-handle-font-lock-face-property)
4733 (yank-handle-category-property): New function.
4734
ee218151
GM
47352012-08-17 Glenn Morris <rgm@gnu.org>
4736
4737 * mail/rmailout.el (rmail-output-read-file-name):
4738 Check rmail-output-file-alist against the full message body
4739 in the correct rmail buffer. (Bug#12214)
4740
4a6bc3fd
MA
47412012-08-17 Michael Albinus <michael.albinus@gmx.de>
4742
9fba804b
SM
4743 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
4744 Eliminate superfluous prompt. (Bug#12203)
4a6bc3fd 4745
383dcbf9
CY
47462012-08-17 Chong Yidong <cyd@gnu.org>
4747
4748 * mouse.el (mouse-appearance-menu): If x-select-font returns a
4749 font spec, set the font directly (Bug#3228).
4750
998c4a6a
MR
47512012-08-17 Martin Rudalics <rudalics@gmx.at>
4752
4753 * window.el (delete-window): Fix last fix.
4754
52162052
MR
47552012-08-16 Martin Rudalics <rudalics@gmx.at>
4756
4757 * window.el (window-valid-p): Move to window.c.
85c2386b
MR
4758 (window-child, window-child-count, window-last-child)
4759 (window-normalize-window, window-combined-p)
4760 (window-combinations, window-atom-root, window-min-size)
4761 (window-sizable, window-sizable-p, window-size-fixed-p)
4762 (window-min-delta, window-max-delta, window--resizable)
4763 (window--resizable-p, window-resizable, window-total-size)
4764 (window-full-height-p, window-full-width-p, window-body-size)
4765 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
4766 (minimize-window, window-deletable-p, delete-window)
4767 (delete-other-windows, set-window-buffer-start-and-point)
4768 (next-buffer, previous-buffer, split-window, balance-windows-2)
4769 (set-window-text-height, window-buffer-height)
4770 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
9fba804b
SM
4771 (truncated-partial-width-window-p): Minor code adjustments.
4772 In doc-strings state whether the argument window has to denote a
85c2386b 4773 live, valid or any window.
52162052 4774
1c308380
PS
47752012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
4776
4777 * progmodes/subword.el (subword-forward-function)
4778 (subword-backward-function, subword-forward-regexp)
4779 (subword-backward-regexp): New variables.
4780 (subword-forward, subword-forward-internal, subword-backward-internal):
4781 Use new variables, eg so that different "word" definitions
4782 can be easily used. (Bug#11411)
4783
94c9ece1
SM
47842012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4785
4786 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
4787 for composite selectors.
4788 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
4789 operation just because we can't find a previous revision.
4790
f2045622
CY
47912012-08-15 Chong Yidong <cyd@gnu.org>
4792
4793 * frame.el (set-frame-font): Accept font objects.
4794
582db660
SM
47952012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4796
4797 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
4798
2f29c200
WJ
47992012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
4800
456e62c2
WJ
4801 * man.el (Man-overstrike-face, Man-underline-face)
4802 (Man-reverse-face): Remove variables.
4803 (Man-overstrike, Man-underline, Man-reverse): New faces.
4804 (Man-fontify-manpage): Use them instead of the variables.
4805 (Man-cleanup-manpage): Comment change.
4806 (Man-ansi-color-map): New variable.
4807 (Man-fontify-manpage): Use it.
4808 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
4809
2f29c200
WJ
4810 Implement ANSI SGR parameters 22-27 (bug#12146).
4811 * ansi-color.el (ansi-colors): Doc fix.
4812 (ansi-color-context, ansi-color-context-region): Doc fix.
4813 (ansi-color--find-face): New function.
4814 (ansi-color-apply, ansi-color-apply-on-region): Use it.
4815 Rename the local variable `face' to `codes' since it is now a list of
4816 ansi codes. Doc fix.
4817 (ansi-color-get-face): Remove.
4818 (ansi-color-parse-sequence): New function, derived from
4819 ansi-color-get-face.
4820 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
4821 codes 22-27.
4822
b4f5e9df
SM
48232012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
4824
4825 * subr.el (read-passwd): Allow use from a minibuffer.
4826
ba025fbd
EZ
48272012-08-14 Eli Zaretskii <eliz@gnu.org>
4828
4829 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
4830 inside comments and strings as identifiers.
4831
4832 * progmodes/gud.el (gud-tooltip-print-command): Quote the
4833 expression to evaluate. This allows to evaluate expressions with
4834 embedded whitespace.
4835 (gud-tooltip-tips): Add a blank before the newline in the
4836 message-box text, for the benefit of message-box emulation on
4837 MS-Windows.
4838
4839 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
4840 messages from GDB, pop them up in a tooltip to give feedback to
4841 user.
b4f5e9df
SM
4842 (gdb-tooltip-print-1): Quote the expression to evaluate.
4843 This allows to evaluate expressions with embedded whitespace.
ba025fbd
EZ
4844 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
4845 if the TTY name is nil or empty (which happens when communicating
4846 with the inferior via pipes, e.g. on MS-Windows).
4847 (gdb-internals): If GDB sends a "&\n" empty debugging message,
4848 don't send that to the GUD buffer.
4849
c548f821
GM
48502012-08-14 Glenn Morris <rgm@gnu.org>
4851
4852 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
4853 Optimize away setq-default with no args, as for setq. (Bug#12195)
4854
55802e4a
CY
48552012-08-14 Chong Yidong <cyd@gnu.org>
4856
4abcdac8
CY
4857 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
4858
55802e4a
CY
4859 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
4860 (Bug#12085).
4861
3c3cda1a
GM
48622012-08-14 Glenn Morris <rgm@gnu.org>
4863
4864 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
4865
e1873bd0
MA
48662012-08-14 Michael Albinus <michael.albinus@gmx.de>
4867
4868 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
4869 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
4870 Use cached shell name.
4871
925411b4
FEG
48722012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
4873
4874 * progmodes/python.el (python-shell-send-string):
3c3cda1a 4875 (python-shell-send-setup-code): Do not use `format' with `message'.
925411b4 4876
e636fafe
DG
48772012-08-14 Dmitry Gutov <dgutov@yandex.ru>
4878
4879 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
4880 (ruby-percent-literal-beg-re): New constant.
4881 (ruby-syntax-general-delimiters-goto-beg): Rename to
4882 `ruby-syntax-enclosing-percent-literal', improve literal type check.
4883 (ruby-syntax-propertize-general-delimiters): Rename to
4884 `ruby-syntax-propertize-percent-literal', it's a shorter and more
4885 popular term. Adjust comments everywhere.
4886 (ruby-syntax-propertize-percent-literal): Only propertize when not
4887 inside a simple string or comment. When the literal is unclosed,
4888 leave the text after it unpropertized.
f063063a
DG
4889 (ruby-syntax-methods-before-regexp): New constant.
4890 (ruby-syntax-propertize-function): Use it to recognize regexps.
4891 Don't look at the text after regexp, just use the whitelist.
e636fafe 4892
e5b19827
AS
48932012-08-14 Andreas Schwab <schwab@linux-m68k.org>
4894
4895 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
4896 non-nil always load the compiled file if it exists. (Bug#12197)
4897
a9f6f311
CY
48982012-08-14 Chong Yidong <cyd@gnu.org>
4899
4900 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
4901 (hi-lock-set-pattern): When deciding whether to use font lock or
4902 overlays, look at font-lock-mode instead of font-lock-fontified
4903 (Bug#12168).
4904 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
4905 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
4906
7d806b1e
DU
49072012-08-14 Daiki Ueno <ueno@unixuser.org>
4908
4909 * subr.el (internal--after-with-selected-window): Fix typo
4910 (Bug#12193).
4911
5beed586
FEG
49122012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
4913
4914 Use `completion-table-dynamic' for completion functions.
4915 * progmodes/python.el
4916 (python-shell-completion--do-completion-at-point)
e636fafe
DG
4917 (python-shell-completion--get-completions):
4918 Remove functions.
5beed586
FEG
4919 (python-shell-completion-complete-at-point): New function.
4920 (python-completion-complete-at-point): Use it.
4921
92cb3b04
J
49222012-08-13 Jambunathan K <kjambunathan@gmail.com>
4923
4924 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
4925 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
4926
89660017
SM
49272012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4928
3c98c962
SM
4929 * subr.el (function-get): Refine `autoload' arg so it can also
4930 autoload functions for gv.el (bug#12191).
4931 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
4932 autoloads macros.
4933
aa7c6dbe
SM
4934 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
4935 Prefer pcase-let over destructuring-bind.
4936 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
4937 Also, remove whitespace as we go, rather than after accumulating the
4938 various places.
4939
89660017
SM
4940 * subr.el (internal--before-with-selected-window)
4941 (internal--after-with-selected-window): Fix typo seleted->selected.
4942 (with-selected-window): Adjust callers.
4943 Reported by Dmitry Gutov <dgutov@yandex.ru>.
4944
31cd32c9
BG
49452012-08-13 Bastien Guerry <bzg@gnu.org>
4946
0fcd3d9f 4947 * window.el (special-display-popup-frame): Minor docstring
31cd32c9
BG
4948 enhancement. (Bug#12172)
4949
1b15d8ad
AS
49502012-08-13 Andreas Schwab <schwab@linux-m68k.org>
4951
31e54db0
AS
4952 * tar-mode.el (tar-header-data-end): Only ignore size for files of
4953 type 1-6.
4954 (tar-header-block-summarize, tar-get-descriptor): Handle pax
4955 extended headers.
4956
1b15d8ad
AS
4957 * files.el (hack-local-variables-filter): Remove useless eval.
4958
35cb9c06
MR
49592012-08-13 Martin Rudalics <rudalics@gmx.at>
4960
4961 * subr.el (with-selected-window): Fix last change.
4962
1439443b
SM
49632012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
4964
4965 * subr.el (internal--before-with-seleted-window)
4966 (internal--after-with-seleted-window): New functions.
1b15d8ad
AS
4967 (with-selected-window): Use them, to replace dependency on
4968 tty-top-frame.
1439443b 4969
0d9e2599
NN
49702012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
4971
4972 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
4973 binding for `newline'.
4974 (ruby-move-to-block): When moving backward, stop at block opening,
4975 not indentation.
4976 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
4977 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
4978 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
4979 `ruby-toggle-block'.
4980
ba10c48c
SM
49812012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
4982
4983 * ibuffer.el (ibuffer-do-toggle-read-only):
4984 * dired.el (dired-toggle-read-only):
4985 * buff-menu.el (Buffer-menu-toggle-read-only):
4986 * bindings.el (mode-line-toggle-read-only):
4987 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
4988
9229c658
AS
49892012-08-12 Andreas Schwab <schwab@linux-m68k.org>
4990
4991 * descr-text.el (describe-char): Put the overlays over the
4992 "displayed as" character.
4993
0fd09128
JB
49942012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
4995
4996 * calc/calc-units.el (math-default-units-table): Give an
4997 initial value.
4998 (math-put-default-units): Add options to put composite units and
4999 unit systems in the default units table.
5000 (calc-convert-units): Send composite units to
5001 `math-put-default-units' when appropriate.
5002
9ff9402d 50032012-08-11 Glenn Morris <rgm@gnu.org>
7aacaf15 5004
fbb5e336
GM
5005 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
5006
7aacaf15
GM
5007 * tutorial.el (help-with-tutorial):
5008 * emacs-lisp/copyright.el (copyright-update-directory):
5009 * emacs-lisp/autoload.el (autoload-find-generated-file)
5010 (autoload-find-file): Disable local eval: (for insurance).
5011
f40b9f10
GM
5012 * files.el (hack-local-variables-filter): If an eval: form is not
5013 known to be safe, and enable-local-variables is :safe, then ignore
5014 the form totally, as is done for non-eval forms. (Bug#12155)
6f97980a 5015 This is CVE-2012-3479.
f40b9f10 5016
daa9f1a6
SM
50172012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
5018
5019 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
5020 (rx-form): Simplify.
5021
9cd80478
DG
50222012-08-09 Dmitry Gutov <dgutov@yandex.ru>
5023
0d9e2599
NN
5024 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
5025 ?, _, and : are symbol constituents, ! is not (but kinda should be).
5026 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
5027 (ruby-syntax-propertize-function): Adjust for changes in
5028 `ruby-syntax-propertize-heredoc'.
5029
50302012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
5031
9cd80478
DG
5032 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
5033 binding (use `M-;' instead).
9cd80478 5034 (ruby-singleton-class-p): New function.
0d9e2599 5035 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9cd80478 5036
d301b413
SM
50372012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
5038
5039 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
5040
1530c98e
CY
50412012-08-10 Chong Yidong <cyd@gnu.org>
5042
5043 * progmodes/python.el (python-shell-get-process-name): Don't mess
5044 with same-window-buffer-names.
5045
5046 * eshell/eshell.el (eshell-add-to-window-buffer-names)
5047 (eshell-remove-from-window-buffer-names): Make obsolete.
5048 (eshell-buffer-name, eshell-unload-hook): Don't use them.
5049 (eshell): Just use pop-to-buffer-same-window instead.
5050
e1293765
CY
50512012-08-10 Chong Yidong <cyd@gnu.org>
5052
5053 * bindings.el: Bind M-= back to count-words-region.
5054
5055 * simple.el (count-words-region): Accept a prefix arg for acting
5056 on the entire buffer.
5057 (count-words--buffer-message): New helper function.
5058
e1894109
SM
50592012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
5060
5061 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
5062 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
5063 (event-start, event-end): Use posn-at-point to return a more
5064 informative posn.
5065 (posnp): New function.
5066 * mouse.el (popup-menu-normalize-position): Use it.
5067
c69f56a2
MY
50682012-08-10 Masatake YAMATO <yamato@redhat.com>
5069
5070 * mouse.el (popup-menu-normalize-position): New function.
5071 (popup-menu): Use `popup-menu-normalize-position' to normalize
5072 the form for POSITION argument.
5073
5074 * term/x-win.el (x-menu-bar-open):
5075 Use the value returend from (posn-at-point) as position
5076 passed to `popup-menu'.
5077
31673780
JB
50782012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
5079
5080 * calc/calccomp.el (math-compose-expr): Add extra argument
5081 indicating that parentheses should be put around products in
5082 denominators. Give multiplication precedence over division during
5083 composition.
5084
dab7711b
CY
50852012-08-09 Chong Yidong <cyd@gnu.org>
5086
dee4ef93
CY
5087 * man.el (Man-switches, Man-sed-command, Man-awk-command)
5088 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
5089 (Man-untabify-command, manual-program): Convert to defcustom
5090 (Bug#10429).
5091
73e2bbc5
CY
5092 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
5093
3e861c8a
CY
5094 * descr-text.el (describe-char): Don't insert extra newlines
5095 (Bug#10127).
5096
a9f5a649
CY
5097 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
5098 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
5099
dab7711b
CY
5100 * align.el (align-region): Delete temporary markers (Bug#10047).
5101 Plus some code cleanups.
5102
e0cc4efa
FEG
51032012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
5104
5105 * progmodes/python.el (python-pdbtrack-tracked-buffer)
5106 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
5107 (python-shell-internal-last-output): Use make-local-variable
5108 instead of make-variable-buffer-local.
5109
489af14f
FEG
51102012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
5111
5112 * progmodes/python.el: Enhancements to forward-sexp.
5113 (python-nav-forward-sexp): Rename from
5114 python-nav-forward-sexp-function.
c69f56a2
MY
5115 (python-nav--forward-sexp, python-nav--backward-sexp):
5116 New functions.
489af14f 5117
0fc50303
JB
51182012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
5119
5120 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
5121 modes and simplification modes.
5122
5d65606a
SM
51232012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
5124
5125 * delsel.el (delete-selection-pre-hook): Don't propagate the
5126 file-supersession signals (bug#12161).
5127
4250fdf5
SM
51282012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5129
5130 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
5131 (cl-map-extents): Add compatibility aliases (bug#12135).
5132
d9f9b465
MA
51332012-08-08 Michael Albinus <michael.albinus@gmx.de>
5134
5135 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
5136 tests by `ignore-error'.
5137 (tramp-find-shell): Open also a new shell, when cache is already
5138 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
5139
ce0fcefa
JL
51402012-08-08 Juri Linkov <juri@jurta.org>
5141
5142 * bookmark.el: Add `defaults' property to the bookmark record.
5143 (bookmark-current-buffer): Doc fix.
5144 (bookmark-make-record): Add `defaults' property with default values
5145 to the bookmark record.
5146 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
5147 with `bookmark-insert-current-bookmark'.
5148 (bookmark-set): Get `defaults' property from the bookmark record
5149 and use it in `read-from-minibuffer'.
5150 (bookmark-insert-current-bookmark): Remove function.
5151
5152 * info.el (Info-bookmark-make-record): Add `defaults' property
5153 with values of canonical Info node name, the current Info file
5154 name and the current Info node name. (Bug#12107)
5155
53fa8652
JL
51562012-08-08 Juri Linkov <juri@jurta.org>
5157
5158 * files.el (basic-save-buffer): Use `buffer-name' as the default
5159 of `read-file-name' when buffer is not visiting a file (bug#12128).
5160
242c0a95
JL
51612012-08-08 Juri Linkov <juri@jurta.org>
5162
5163 * info.el (Info-isearch-search): Doc fix.
5164 (Info-search): Change search-failed message from "initial node" to
5165 "end of node" (bug#12078).
5166 (Info-isearch-search): Change `isearch-string-state' to
5167 `isearch--state-string'.
5168
32ac3a6b
GM
51692012-08-08 Glenn Morris <rgm@gnu.org>
5170
5171 * language/persian.el: Remove file.
f8c1afd5 5172 * language/misc-lang.el: Move unique part of persian.el here.
32ac3a6b
GM
5173 * loadup.el: Remove language/persian.
5174
2c2d9c9c
OF
51752012-08-08 Óscar Fuentes <ofv@wanadoo.es>
5176
5177 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
5178
2d79ec42
FEG
51792012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
5180
5181 * progmodes/python.el Fixed defsubst warning.
5182 (python-syntax-context) Rename from python-info-ppss-context.
5183 (python-syntax-context-type): Rename from
5184 python-info-ppss-context-type.
5185 (python-syntax-comment-or-string-p): Rename from
5186 python-info-ppss-comment-or-string-p.
5187
2bd255dd
JB
51882012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
5189
5190 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
5191
c395097f
AS
51922012-08-07 Andreas Schwab <schwab@linux-m68k.org>
5193
6125983e
AS
5194 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
5195 a defcustom that is quoted with backquote.
5196
4250fdf5
SM
5197 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
5198 Fix handling of interactive spec when the body uses return.
651eaf36
AS
5199 (math-do-arg-check, math-define-function-body): Use backquote forms.
5200 * calc/calc-ext.el (math-defcache): Likewise.
5201 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
5202 * allout.el (allout-new-exposure): Likewise.
5203 * calc/calcalg2.el (math-tracing-integral): Likewise.
5204 * info.el (Info-last-menu-item): Likewise.
5205 * emulation/vip.el (vip-loop): Likewise.
5206 * textmodes/artist.el (artist-funcall): Likewise.
5207 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
5208 Construct menu-item directly.
5209
4250fdf5
SM
5210 * progmodes/autoconf.el (font-lock-syntactic-keywords):
5211 Don't declare.
c395097f 5212
5fb50dd3
CY
52132012-08-07 Chong Yidong <cyd@gnu.org>
5214
5215 * simple.el (deactivate-mark): Preserve text properties when
5216 saving the primary selection (Bug#8384).
5217
54eea618
KR
52182012-08-07 Kevin Ryde <user42@zip.com.au>
5219
5220 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
5221 (woman-parse-numeric-value): On a bad .IP line, issue a warning
5222 and continue processing (Bug#12110).
5223
638eaeb9
SM
52242012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
5225
5226 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
5227 syntax-propertize-function (bug#10095).
5228
ea376861
SM
52292012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
5230
f91b35be
SM
5231 * help-fns.el (help-fns--key-bindings, help-fns--signature)
5232 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
5233 describe-function-1.
5234 (describe-function-1): Use them. Move compiler macro after sig.
5235 (help-fns--compiler-macro): Use function-get. Assume we're already in
5236 standard-output. Adjust layout to new call order.
5237
ea376861
SM
5238 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
5239 re-binding a symbol that has a symbol-macro (bug#12119).
5240
d5be7bd0
MB
52412012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
5242
5243 * language/persian.el: New file. (Bug#11812)
5244 * loadup.el: Add language/persian.el.
5245
90749b53
CY
52462012-08-06 Chong Yidong <cyd@gnu.org>
5247
5248 * window.el (window--maybe-raise-frame): New function.
5249 (window--display-buffer): Split off from here.
5250 (display-buffer-reuse-window, display-buffer-pop-up-frame)
5251 (display-buffer-pop-up-window, display-buffer-use-some-window):
5252 Obey an inhibit-switch-frame action alist entry.
5253 (display-buffer): Update doc.
5254
5255 * replace.el (occur-after-change-function): Avoid losing focus by
5256 using the inhibit-switch-frame display parameter (Bug#12139).
5257
ba7b0154
FEG
52582012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
5259
5260 Make internal shell process buffer names start with space.
5261 * progmodes/python.el (python-shell-make-comint): Add optional
5262 argument INTERNAL.
5263 (run-python-internal): Use it.
5264 (python-shell-internal-get-or-create-process): Check for new
5265 internal buffer names.
5266
5eaeacb5
GM
52672012-08-06 Glenn Morris <rgm@gnu.org>
5268
e296d94b 5269 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5eaeacb5
GM
5270 Do less getting and setting of environment variables.
5271
b7ccbdc2
CY
52722012-08-05 Chong Yidong <cyd@gnu.org>
5273
777fe95e
CY
5274 * proced.el (proced): Add substitution string to docstring to
5275 trigger autoloading of the proced library on C-h f (Bug#1768).
5276
4250fdf5
SM
5277 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
5278 Don't show defvars which have no second argument (Bug#8638).
b7ccbdc2
CY
5279
5280 * imenu.el (imenu-generic-expression): Move documentation here
5281 from imenu--generic-function.
5282 (imenu--generic-function): Refer to imenu-generic-expression.
5283
9e3b7800 52842012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
d5c31f1d
5285
5286 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
5287 indentation declaration.
5288 (viper-loop): Add indentation declaration (Bug#7025).
5289
e5d9c0d1
CY
52902012-08-05 Chong Yidong <cyd@gnu.org>
5291
f0422feb
CY
5292 * help-fns.el (describe-variable): Add hyperlink for
5293 directory-local variables files. Improve buffer-local and
5294 permanent-local reporting; suggested by MON KEY (Bug#6644).
5295
5296 * help-mode.el (help-dir-local-var-def): New button type.
5297
e5d9c0d1
CY
5298 * files.el (kill-buffer-hook): Provide a defvar.
5299
a4f2deaa
GM
53002012-08-05 Glenn Morris <rgm@gnu.org>
5301
5302 * eshell/esh-ext.el (eshell/addpath):
5303 Also update eshell-path-env. (Bug#12013)
5304
a9dd5754
CY
53052012-08-05 Chong Yidong <cyd@gnu.org>
5306
a4f2deaa 5307 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
615b0bf0 5308
d014c740
CY
5309 * fringe.el (fringe-styles): Add docstring.
5310 (fringe--check-mode): New function.
5311 (set-fringe-mode, set-fringe-style): Use it.
5312 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
5313
a9dd5754
CY
5314 * files.el (set-auto-mode): Fix invalid setq call.
5315
7c2dc8bd
SM
53162012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5317
5318 * isearch.el: Misc simplification; use defstruct.
5319 (isearch-mode-map): Dense maps now work like sparse ones.
5320 (isearch--state): New defstruct.
5321 (isearch-string-state, isearch-message-state, isearch-point-state)
5322 (isearch-success-state, isearch-forward-state)
5323 (isearch-other-end-state, isearch-word-state, isearch-error-state)
5324 (isearch-wrapped-state, isearch-barrier-state)
5325 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
5326 replaced by defstruct's accessors.
5327 (isearch--set-state): Rename from isearch-top-state and change
5328 calling convention.
5329 (isearch-push-state): Use new isearch--get-state.
5330 (isearch-toggle-word): Disable regexp when enabling word.
5331 (isearch-message-prefix): Remove unused arg _c-q-hack.
5332 (isearch-message-suffix): Remove unused arg _ellipsis.
5333
7fcc0070
AS
53342012-08-04 Andreas Schwab <schwab@linux-m68k.org>
5335
5336 * simple.el (list-processes--refresh): For a server use :host or
5337 :local as the address.
97ad0769 5338 (list-processes): Doc fix.
7fcc0070 5339
a11035b8 53402012-08-04 Michal Nazarewicz <mina86@mina86.com>
00340faf
MN
5341
5342 * lisp/mpc.el: Support password in host argument.
5343 (mpc--proc-connect): Parse and use new password element.
5344 Set mpc-proc variable instead of returning process.
5345 (mpc-proc): Adjust accordingly.
5346
6dad7178
EZ
53472012-08-03 Eli Zaretskii <eliz@gnu.org>
5348
18949c2f
EZ
5349 * whitespace.el (whitespace-display-mappings): Use Unicode
5350 codepoints, instead of emacs-mule codepoints. See
5351 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
5352 for the details.
5353
6dad7178
EZ
5354 * files.el (file-truename): Don't skip symlink-chasing part on
5355 windows-nt. Incorporate the resolution of 8+3 short aliases on
4250fdf5
SM
5356 Windows into the loop that recursively chases symlinks.
5357 Compare directory and its parent case-insensitively on MS-Windows and
6dad7178
EZ
5358 MS-DOS.
5359
385b0198
CY
53602012-08-03 Chong Yidong <cyd@gnu.org>
5361
6200f3c4
CY
5362 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
5363
385b0198
CY
5364 * sort.el (sort-regexp-fields): Doc fix.
5365
b9e74744
TH
53662012-08-03 Tassilo Horn <tsdh@gnu.org>
5367
5368 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
5369 labels regex position point at the expected place.
5370
41013cb4
MK
53712012-08-03 MON KEY <monkey@sandpframing.com>
5372
5373 * net/imap.el (imap-interactive-login, imap-authenticate)
5374 (imap-mailbox-lsub, imap-mailbox-list)
5375 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
5376 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
5377 (imap-parse-response): Doc fix.
5378
0ffee616
JT
53792012-08-03 João Távora <joaotavora@gmail.com>
5380
5381 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
5382 if sexp scanning does not move point (Bug#5734).
5383
cfcc9cc8
TH
53842012-08-02 Tassilo Horn <tsdh@gnu.org>
5385
5386 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
5387 Add listings, minted, and ctable packages.
5388 (reftex-label-alist-builtin): Move listings, minted, and ctable
5389 entries before LaTeX.
a01bbb84 5390 (reftex-label-alist): Docfix.
cfcc9cc8 5391
66ec2442
BG
53922012-08-02 Bastien Guerry <bzg@gnu.org>
5393
5394 * replace.el (occur): Fix docstring (bug#12122).
5395
837b365b
GM
53962012-08-02 Glenn Morris <rgm@gnu.org>
5397
5398 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
5399
e098de97
PE
54002012-08-02 Paul Eggert <eggert@cs.ucla.edu>
5401
5402 Obsolete alias inactivate-current-input-method-function (Bug#10150).
5403 * international/mule-cmds.el: Create
5404 inactivate-current-input-method-function as an obsolete alias for
5405 deactivate-current-input-method-function. See Katsumi Yamaoka in
5406 <http://bugs.gnu.org/10150#46>.
5407
a0f95636
JB
54082012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
5409
5410 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
5411 of nested `if's.
5412
0d26d7c4
GM
54132012-08-01 Glenn Morris <rgm@gnu.org>
5414
5415 * progmodes/autoconf.el (autoconf-definition-regexp):
5416 Add AH_TEMPLATE, adjust submatch numbering.
5417 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
5418 (autoconf-current-defun-function): Update for above change.
5419 (autoconf-current-defun-function): First skip to end of current word.
5420
b686ba06
RS
54212012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
5422
5423 * calendar/cal-html.el (cal-html-insert-agenda-days):
5424 Fix typo. (Bug#12018)
5425
0d49da68
FEG
54262012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
5427
5428 Shell processes: enhancements to startup and CEDET compatibility.
5429 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
5430 (python-shell-make-comint): accept-process-output at startup.
5431 (run-python-internal): Set inferior-python-mode-hook to nil.
5432 (python-shell-internal-get-or-create-process): call sit-for.
5433 (python-preoutput-result): Add obsolete alias.
5434 (python-shell-internal-send-string): Use it.
5435 (python-shell-send-setup-code): Remove call to
5436 accept-process-output.
5437
f1a71c6e
AS
54382012-07-31 Andreas Schwab <schwab@linux-m68k.org>
5439
5440 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
5441 (Bug#12108)
5442
d2605269
JB
54432012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
5444
5445 * calc-mode.el (calc-basic-simplification-mode): Rename from
5446 `calc-limited-simplification-mode'.
5447 (calc-alg-simplification-mode): New function.
fc0c31f8 5448 (calc-set-simplify-mode): Adjust message.
f1a71c6e 5449
d2605269
JB
5450 * calc.el (calc-set-mode-line): Adjust mode line display for
5451 basic simplification mode.
5452
5453 * calc-help.el (calc-m-prefix-help): Update help message.
5454
5455 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
5456 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
5457
a3827a43
BG
54582012-07-31 Bastien Guerry <bzg@gnu.org>
5459
5460 * man.el (man): Fix comment. (bug#12101)
5461
502e3f89
MR
54622012-07-31 Martin Rudalics <rudalics@gmx.at>
5463
5464 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
5465 Don't return a non-nil value when no suitable buffer was found.
5466
d7714961
FEG
54672012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
5468
5469 * progmodes/python.el (run-python-internal): Disable font lock for
5470 internal shells.
5471
1f45e27e
SM
54722012-07-30 Stefan Merten <smerten@oekonux.de>
5473
70efc5c9 5474 * textmodes/rst.el: Silence `checkdoc-ispell'.
1f45e27e
SM
5475 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
5476 (rst-official-version, rst-official-cvs-rev)
5477 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
5478 (rst-mode-map): New key binding.
5479
0aee6912
PE
54802012-07-30 Paul Eggert <eggert@cs.ucla.edu>
5481
5482 Update .PHONY listings in makefiles.
5483 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
5484 autoloads, update-subdirs, updates, bzr-update, update-authors,
5485 compile-onefile, compile-calc, backup-compiled-files,
5486 compile-after-backup, compile-one-process, mh-autoloads,
5487 bootstrap-clean, distclean, maintainer-clean.
5488
9052f9f0
JB
54892012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
5490
1823ac5a
JB
5491 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
5492 (calc-set-mode-line): Don't display "AlgSimp ".
5493
5494 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
5495 (calc-lim-simplify-mode): New function.
5496 (calc-set-simplify-mode): Default to 'alg.
5497 (calc-default-simplify-mode): Make algebraic simplifications
5498 the default.
5499
5500 * calc/calc-ext.el (calc-init-extensions): Remove binding for
5501 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
5502
8d7c7eed 5503 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
5504 indicate new simplification modes.
5505
1823ac5a
JB
5506 * calc/README: Mention new default simplification mode.
5507
9052f9f0
JB
5508 * calc/calc.el (math-normalize-error): New variable.
5509 (math-normalize): Set `math-normalize-error' to t
5510 when there's an error.
5511
5512 * calc/calc-alg.el (math-simplify): Don't simplify when
5513 `math-normalize' returns an error.
5514
20ba0cb4
EZ
55152012-07-29 Eli Zaretskii <eliz@gnu.org>
5516
5517 * international/mule-cmds.el (set-locale-environment): Revert last
5518 change, since display-graphic-p returns nil when this function is
5519 called during startup. Instead...
5520
5521 * term/w32console.el (terminal-init-w32console): ...setup the
5522 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
5523
a5dcc929
JL
55242012-07-29 Juri Linkov <juri@jurta.org>
5525
5526 * simple.el (goto-line): Don't display default line number in the
5527 prompt because it should be displayed by `read-number' (bug#9952).
5528 Add the current line number to the defaults of `goto-line' to
5529 allow its easier modification by users with `M-n' (bug#9201).
5530
5531 * subr.el (read-number): Support multiple default values like in
5532 other minibuffer reading functions. Replace `read' with
5533 `string-to-number' for consistency with `number-to-string'.
5534
72b255c7
PE
55352012-07-29 Paul Eggert <eggert@cs.ucla.edu>
5536
5537 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
5538 * emulation/viper-init.el (viper-deactivate-input-method-action):
5539 Rename from viper-inactivate-input-method-action.
5540 (viper-deactivate-input-method):
5541 Rename from viper-inactivate-input-method.
5542 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
5543 * international/mule-cmds.el (deactivate-input-method):
5544 Rename from inactivate-input-method.
5545 Also run input-method-deactivate-hook.
5546 (deactivate-current-input-method-function):
5547 Rename from inactivate-current-input-method-function.
5548 (input-method-deactivate-hook): New hook.
5549 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
5550 (inactivate-input-method): Mark obsolete.
5551
72b255c7
PE
5552 * international/quail.el (quail-activate):
5553 Also run quail-deactivate-hook.
5554 (quail-deactivate): Rename from quail-inactivate.
5555 * international/robin.el (robin-activate):
5556 Also run robin-deactivate-hook.
5557 (robin-deactivate): Rename from robin-inactivate.
5558
2549c068
CY
55592012-07-29 Chong Yidong <cyd@gnu.org>
5560
5561 * simple.el (indicate-copied-region): New function.
5562 (kill-ring-save): Split off from here.
5563
5564 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
5565 (kill-rectangle): Set deactivate-mark to t on read-only error.
5566
5567 * register.el (copy-to-register, copy-rectangle-to-register):
5568 Deactivate the mark, and use indicate-copied-region (Bug#10056).
4c478e6b
JL
5569 (append-to-register, prepend-to-register): Call indicate-copied-region.
5570
55712012-07-29 Juri Linkov <juri@jurta.org>
17711ed9
JL
5572
5573 * simple.el (async-shell-command-buffer): New defcustom.
5574 (shell-command): Use it. (Bug#4719)
5575
01bd1b0d
EZ
55762012-07-28 Eli Zaretskii <eliz@gnu.org>
5577
5578 * international/mule-cmds.el (set-locale-environment): In a
5579 console session on MS-Windows, set up keyboard and terminal
5580 encoding from the OEM codepage, not the ANSI codepage.
5581 (Bug#12055)
5582
a55739d3
CY
55832012-07-28 Chong Yidong <cyd@gnu.org>
5584
5585 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
5586 gdb-get-location.
5587
0e1a094f 55882012-07-28 Leo Liu <sdl.web@gmail.com>
9a0f8f2e
LL
5589
5590 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
5591 the alist (bug#12029).
5592
20329d73
EZ
55932012-07-28 Eli Zaretskii <eliz@gnu.org>
5594
5595 * makefile.w32-in (custom-deps, finder-data, updates, compile)
5596 (compile-always, compile-first)
5597 ($(lisp)/calendar/cal-loaddefs.el)
5598 ($(lisp)/calendar/diary-loaddefs.el)
5599 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
5600 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
5601 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
5602 instead of on update-subdirs.
5603 (bootstrap-clean): Delete $(lisp)/subdirs.el.
5604
345a2258
CY
56052012-07-28 Chong Yidong <cyd@gnu.org>
5606
1eee6341
CY
5607 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
5608 directory if vc-deduce-backend returns nil (Bug#7350).
5609
345a2258
CY
5610 * simple.el (delete-trailing-lines): New option.
5611 (delete-trailing-whitespace): Obey it (Bug#11879).
5612
049a0936
DE
56132012-07-28 David Engster <deng@randomsample.de>
5614
5615 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
5616 Explanation of new 'symbol-qnames feature in doc-strings.
5617 (xml-maybe-do-ns): Return expanded names as plain symbols if
5618 'symbol-qnames was provided in XML-NS argument (Bug#11916).
5619 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
5620
aa81af71
FEG
56212012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
5622
5623 Consistent completion in inferior python with emacs -nw.
5624 * progmodes/python.el (inferior-python-mode): replace "<tab>"
5625 binding in inferior-python-mode-map with "\t".
5626 (python-shell-completion-complete-at-point)
5627 (python-completion-complete-at-point): Remove interactive spec.
5628
e827b1eb
JB
56292012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
5630
5631 * calc/calccomp.el (math-compose-expr): Undo previous change.
5632
a90dfb95
FEG
56332012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
5634
4250fdf5 5635 * progmodes/python.el (python-mode-map): Add keybinding for
a90dfb95
FEG
5636 run-python.
5637 (python-shell-make-comint): Fix pop-to-buffer call.
5638 (run-python): Autoload. New arg SHOW.
5639 (python-shell-get-or-create-process): Do not pop python process
5640 buffer.
5641
32770973 56422012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
5643
5644 * notifications.el (notifications-on-action-signal)
5645 (notifications-on-closed-signal): Use also the bus address for the map.
5646 (notifications-notify, notifications-close-notification)
fc0c31f8 5647 (notifications-get-capabilities): Add optional argument BUS.
1c6ef030 5648
86332df2
TH
56492012-07-27 Tassilo Horn <tsdh@gnu.org>
5650
4250fdf5
SM
5651 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
5652 Add support for the lstlisting and minted environments, and for the
86332df2
TH
5653 ctable macro.
5654 * textmodes/reftex.el (reftex-compile-variables): Also recognize
5655 labels written in keyvals syntax.
5656
ca1302a4
JB
56572012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
5658
5659 * calc/calccomp.el (math-compose-expr): Use parentheses when
5660 there is a product in the denominator of a fraction.
5661
f8b91036
EZ
56622012-07-26 Eli Zaretskii <eliz@gnu.org>
5663
5664 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
5665 ($(lisp)/calendar/diary-loaddefs.el)
5666 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4250fdf5
SM
5667 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
5668 Fixes failures in parallel bootstrap because subdirs.el is being
f8b91036
EZ
5669 rewritten while the autoload files are built at the same time,
5670 which needs to load subdirs.el.
5671
c8e5a42c
MR
56722012-07-26 Martin Rudalics <rudalics@gmx.at>
5673
5674 * mouse.el (popup-menu): Fix doc-string and re-indent code.
5675 (mouse-drag-line): Don't exit tracking when a switch-frame or
5676 switch-window event occurs (Bug#12006).
5677
670d85ea
SM
56782012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5679
5680 * mouse.el (popup-menu): Fix last change.
5681
7abaf5cc
SM
56822012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5683
5684 Autoload from Lisp with more care. Follow aliases when looking for
5685 function properties.
5686 * subr.el (autoloadp): New function.
5687 (symbol-file): Use it.
5688 (function-get): New function.
5689 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
5690 autoload-do-load.
5691 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
5692 (lisp-indent-function):
5693 * emacs-lisp/gv.el (gv-get):
5694 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
5695 * emacs-lisp/byte-opt.el (byte-optimize-form):
5696 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
5697 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
5698 Use function-get.
5699 * emacs-lisp/cl.el: Don't propagate function properties any more.
5700
5701 * speedbar.el (speedbar-add-localized-speedbar-support):
5702 * emacs-lisp/disass.el (disassemble-internal):
5703 * desktop.el (desktop-load-file):
5704 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
5705 (describe-function-1):
5706 * emacs-lisp/find-func.el (find-function-noselect):
5707 * emacs-lisp/elp.el (elp-instrument-function):
5708 * emacs-lisp/advice.el (ad-has-proper-definition):
5709 * apropos.el (apropos-safe-documentation, apropos-macrop):
5710 * emacs-lisp/debug.el (debug-on-entry):
5711 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
5712 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
5713 * calc/calc.el (name): Use autoloadp & autoload-do-load.
5714
b1364986
AA
57152012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
5716
5717 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
5718 function, not an obsolete variable (Bug#12046).
5719
67ada220
AS
57202012-07-25 Andreas Schwab <schwab@linux-m68k.org>
5721
5722 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
5723
f08088e3
CS
57242012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
5725
5726 * emacs-lisp/pp.el (pp-display-expression): Select old selected
5727 window only if it is still live (Bug#12034).
5728
8137e7b3
MR
57292012-07-25 Martin Rudalics <rudalics@gmx.at>
5730
5731 * subr.el (redirect-frame-focus): Add advertised calling
5732 convention (Bug#12030).
5733
09ae5da1
PE
57342012-07-25 Paul Eggert <eggert@cs.ucla.edu>
5735
5736 Prefer typical American spelling for "acknowledgment".
5737 * vc/add-log.el (change-log-acknowledgment): Rename from
5738 change-log-acknowledgement, with an alias for the old name.
5739
3cc5a3a8
JB
57402012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
5741
5742 * calc-alg.el (math-simplify-divide): Don't cross multiply
5743 in an equation when the lhs is a variable.
5744
b7af7f62
JD
57452012-07-24 Julien Danjou <julien@danjou.info>
5746
5747 * net/netrc.el (netrc-find-service-number, netrc-store-data):
5748 Remove, unused.
5749
ec1b09b1
EZ
57502012-07-23 Eli Zaretskii <eliz@gnu.org>
5751
5752 * startup.el (command-line): Don't display an empty user name in
5753 the error message about non-existent home directory, when
5754 init-file-user was set to an empty string. See
5755 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
5756 for the details and context.
5757
b525fd8a
VB
57582012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
5759
5760 * ses.el (ses-cell-formula-aset): New macro.
5761 (ses-cell-references-aset): New macro.
5762 (ses-cell-p): New function.
5763 (ses-rename-cell): Do no longer rely on complex operations like
5764 ses-cell-set-formula or ses-set-cell to change the cell and handle
5765 the undo at the same time, but rather use lower level new macros
5766 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
fc0c31f8 5767 the undo directly. Refresh the mode line.
b525fd8a 5768
2c73e345
LL
57692012-07-21 Leo Liu <sdl.web@gmail.com>
5770
670d85ea
SM
5771 * progmodes/cc-cmds.el (c-defun-name):
5772 Use match-string-no-properties instead for consistency.
2c73e345 5773
542dfbde
LL
57742012-07-20 Leo Liu <sdl.web@gmail.com>
5775
3646bcd6
LL
5776 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
5777 (Bug#7879)
5778
542dfbde
LL
5779 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
5780
25721031
CY
57812012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
5782
5783 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
5784 * progmodes/bug-reference.el, misearch.el: Provide themselves
5785 (bug#11915).
5786
5787 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
5788 of narrowed buffer (bug#11966).
5789
316e68a7
VB
57902012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
5791
5792 * ses.el (ses-rename-cell): Set new name also in reference list of
5793 cells of which the renamed cell depends.
5794
bbf0e7d9
MY
57952012-07-20 Masatake YAMATO <yamato@redhat.com>
5796
5797 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
5798 to check whether menu-bar is shown or not. If not shown,
5799 show the menu-bar as a popup menu instead of using tmm.
5800 * mouse.el (popup-menu): Accept `point' as `position' argument.
5801
c28662a8
DG
58022012-07-20 Dmitry Gutov <dgutov@yandex.ru>
5803
5804 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
5805 up inside string symbol literal (bug#11923).
5806
87ab808f
EZ
58072012-07-20 Eli Zaretskii <eliz@gnu.org>
5808
5809 * startup.el (fancy-startup-text): Read the whole tutorial, not
5810 just its first 256 bytes. Prevents gibberish in display of the
5811 tutorial title.
5812
89dea803
DA
58132012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
5814
5815 Drop idle buffer compaction due to an absence of the
5816 proved efficiency.
5817 * compact.el: Remove.
5818
8a4e6db8
SS
58192012-07-19 Sam Steingold <sds@gnu.org>
5820
5821 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
5822 vc-bzr-pull & vc-bzr-merge-branch.
5823 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
5824 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
5825 for consistency with compilation-error-regexp-alist.
5826 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
5827 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
5828 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
5829 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
5830
5db81e33
SM
58312012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
5832
5833 * emacs-lisp/chart.el: Use lexical-binding.
5834 (chart-emacs-storage): Don't hardcode the list of entries.
5835
5b835e1d
DA
58362012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
5837
5838 Next round of tweaks caused by Fgarbage_collect changes.
5839 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
5840
9cd47b72
DA
58412012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
5842
5843 Compact buffers when idle.
5844 * compact.el: New file.
5845
1d6fc0df
SM
58462012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
5847
5848 * subr.el (eventp): Presume that if it looks vaguely like an event,
5849 it's an event (bug#10190).
5850
1d29cc7d
FEG
58512012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
5852
5853 Enhancements to ppss related code (thanks Stefan).
5854 * progmodes/python.el (python-indent-context)
5855 (python-indent-calculate-indentation, python-indent-dedent-line)
5856 (python-indent-electric-colon, python-nav-forward-block)
5857 (python-mode-abbrev-table)
1d6fc0df 5858 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
5859 for ppss context.
5860 (python-info-continuation-line-p): Cleanup.
5861 (python-info-ppss-context): Do not catch 'quote.
5862 (python-info-ppss-context-type)
5863 (python-info-ppss-comment-or-string-p): Simplify.
5864
d583cbe6
FEG
58652012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
5866
5867 * progmodes/python.el: Enhancements to eldoc support.
5868 (python-info-current-symbol): New function.
5869 (python-eldoc-at-point): Use python-info-current-symbol.
5870 (python-info-current-defun): Fix cornercase on first defun scan.
5871 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
5872 and signal error when no inferior python process is available.
5873
eceb6feb
DG
58742012-07-18 Dmitry Gutov <dgutov@yandex.ru>
5875
5876 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
5877 assume it's always t.
5878 (vc-git-registered): Remove caching, the function is only called
5879 once.
5880 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
5881
4c8ff0fe
CY
58822012-07-18 Chong Yidong <cyd@gnu.org>
5883
19fb7186
CY
5884 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
5885
9587c688
CY
5886 * simple.el (count-words): Report on narrowing (Bug#9959).
5887
0fe776a1
CY
5888 * bindings.el: Bind M-= to count-words.
5889
4c8ff0fe
CY
5890 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
5891
7f5331cc
MY
58922012-07-18 Masatake YAMATO <yamato@redhat.com>
5893
5894 * progmodes/sh-script.el (sh-imenu-generic-expression):
5895 Capture a function with `function' keyword and without parentheses
5896 like "function FOO" (bug#11856).
5897
2dc2a609
TH
58982012-07-18 Tassilo Horn <tassilo@member.fsf.org>
5899
5900 * window.el (split-window-sensibly): Make WINDOW argument
5901 optional.
5902
439f7677
CY
59032012-07-18 Chong Yidong <cyd@gnu.org>
5904
9aeb25a6
CY
5905 * subr.el (keyboard-translate): Doc fix (Bug#7261).
5906
439f7677
CY
5907 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
5908 and make C-x 8 RET exit isearch (Bug#11439).
5909
5910 * international/iso-transl.el: Move isearch-mode-map key
5911 definitions to isearch.el.
5912
12999ea8
SM
59132012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
5914
5915 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
5916 (eieio-defclass): Use gv-define-setter when possible.
5917
3ab6e069
DA
59182012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
5919
5920 Reflect recent changes in Fgarbage_collect.
5921 * emacs-lisp/chart.el (chart-emacs-storage): Change to
5922 reflect new format of data returned by Fgarbage_collect.
5923
0a60bc10
FEG
59242012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
5925
5926 New utility functions + python-info-ppss-context fix (Bug#11910).
5927 * progmodes/python.el (python-info-beginning-of-block-statement-p)
5928 (python-info-ppss-comment-or-string-p): New functions.
5929 (python-info-ppss-context): Small fix for string check.
5930
6dafa0d5
JL
59312012-07-17 Juri Linkov <juri@jurta.org>
5932
5933 * dired-aux.el (dired-do-async-shell-command): Doc fix.
5934 (dired-do-async-shell-command): Don't add `*' at the end of the
5935 command (Bug#11815).
5936 (dired-do-shell-command): Doc fix.
5937 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
5938 Join the individual commands using either "&" or ";" as the
5939 separator depending on the values of these trailing characters.
5940 At the end re-add the trailing "&". (Bug#10598)
5941
5942 * simple.el (async-shell-command): Sync the interactive spec with
5943 `shell-command'. Doc fix.
5944 (shell-command): Doc fix.
5945
b19dd9d1
JL
59462012-07-17 Juri Linkov <juri@jurta.org>
5947
5948 * descr-text.el (describe-char): Fix format args. (Bug#10129)
5949
bcdc27d7 59502012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 5951
bcdc27d7 5952 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
5953 * progmodes/python.el (python-nav-beginning-of-statement):
5954 Rename from python-nav-statement-start.
bcdc27d7
FEG
5955 (python-nav-end-of-statement): Rename from
5956 python-nav-statement-end.
5957 (python-nav-beginning-of-block): Rename from
5958 python-nav-block-start.
5959 (python-nav-end-of-block): Rename from python-nav-block-end.
5960
191da00e
FEG
59612012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
5962
7f5331cc
MY
5963 * progmodes/python.el (python-shell-send-string-no-output):
5964 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
5965 future interactions (Bug#11868).
5966
4dc7c8d5 59672012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 5968
88ecaf8f
SM
5969 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
5970
ef501ef0
SM
5971 * emacs-lisp/elint.el (elint-find-args-in-code):
5972 Use help-function-arglist, so as to handle lexical byte-code.
5973
aa7aaf8f
SM
5974 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
5975 change (bug#11826).
5976
45fd731c
SM
59772012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
5978
2143fa32
SM
5979 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
5980 Avoid spuriously marking the buffer as modified because of c-is-sws.
5981
efc26dbe
SM
5982 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
5983 as not-a-comment (bug#11946).
5984
f5695c9a
SM
5985 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
5986 for uninterned vars.
5987
5988 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
5989 Use read-event since we don't really want to read chars but bytes.
5990
45fd731c
SM
5991 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
5992 $$..$$ but also $..$ using regexps (bug#11953).
5993 Use tex-verbatim for \url and \path.
5994 (tex-font-lock-keywords): Define as defconst like the others.
5995 (tex-common-initialization): Don't use font-lock-syntax-table any more.
5996
ddfc8813
RK
59972012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
5998
5999 * international/mule-cmds.el (ucs-insert): Make it an obsolete
6000 alias for insert-char.
6001
758e556a
FEG
60022012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
6003
6004 * progmodes/python.el: Simplified imenu implementation.
6005 (python-nav-jump-to-defun): Remove command.
6006 (python-mode-map): Use `imenu' instead.
6007 (python-nav-list-defun-positions-cache)
6008 (python-imenu-include-defun-type, python-imenu-make-tree)
6009 (python-imenu-subtree-root-label, python-imenu-index-alist):
6010 Remove vars.
6011 (python-nav-list-defun-positions, python-nav-read-defun)
6012 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
6013 (python-imenu-make-tree, python-imenu-create-index):
6014 Remove functions.
758e556a
FEG
6015 (python-mode): Update to interact with imenu by setting
6016 `imenu-extract-index-name-function' only.
6017
032d23ab
FEG
60182012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
6019
6020 * progmodes/python.el: Enhancements to navigation commands.
6021 (python-nav-backward-sentence)
6022 (python-nav-forward-sentence): Remove.
6023 (python-nav-backward-statement, python-nav-forward-statement)
6024 (python-nav-statement-start, python-nav-statement-end)
6025 (python-nav-backward-block, python-nav-forward-block)
6026 (python-nav-block-start, python-nav-block-end)
6027 (python-nav-forward-sexp-function)
6028 (python-info-current-line-comment-p)
6029 (python-info-current-line-empty-p): New functions.
6030 (python-indent-context): Use `python-nav-statement-start'.
6031
01795a1b
MA
60322012-07-16 Michael Albinus <michael.albinus@gmx.de>
6033
9328d9aa
MA
6034 * eshell/em-ls.el (eshell/ls): Use `apply'.
6035
6036 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
6037 multi-hops, instead of Tramp internals.
6038
01795a1b
MA
6039 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
6040
6041 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
6042 when F1 and F2 are located on different hosts.
6043
63408057
CY
60442012-07-14 Chong Yidong <cyd@gnu.org>
6045
6046 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
6047 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
6048 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
6049 (xterm-mouse--read-event-sequence-1000)
6050 (xterm-mouse--read-event-sequence-1006): New functions. For old
6051 mouse protocol, handle M-mouse-X events correctly.
6052 (xterm-mouse-event): New arg specifying mouse protocol.
6053 (turn-on-xterm-mouse-tracking-on-terminal)
6054 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
6055 sequence to toggle extended coordinates on newer XTerms.
6056 This appears to be harmless on terminals which do not support this.
63408057 6057
cd276f6e
LL
60582012-07-14 Leo Liu <sdl.web@gmail.com>
6059
28ca98ac
LL
6060 Add fringe bitmap indicators for flymake. (Bug#11253)
6061 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
6062 (flymake-make-overlay): New arg BITMAP.
6063 (flymake-error-bitmap, flymake-warning-bitmap)
6064 (flymake-fringe-indicator-position): New user variables.
6065
cd276f6e
LL
6066 * fringe.el: New bitmap exclamation-mark.
6067
04408072
JD
60682012-07-14 Jan Djärv <jan.h.d@swipnet.se>
6069
6070 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
6071 also (Bug#7879).
6072
b5cf7fc4
CY
60732012-07-14 Chong Yidong <cyd@gnu.org>
6074
6075 * electric.el (electric-pair-post-self-insert-function): Fix pair
6076 insertion in empty-region case (Bug#11520).
6077
be755c79
RT
60782012-07-14 Chong Yidong <cyd@gnu.org>
6079
45fd731c
SM
6080 * bindings.el: Consolidate ctl-x-r-map bindings.
6081 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
6082
6083 * rect.el, register.el: Move bindings to bindings.el.
6084
60852012-07-14 Reuben Thomas <rrt@sc3d.org>
6086
6087 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
6088
7f5b3198
AS
60892012-07-13 Andreas Schwab <schwab@linux-m68k.org>
6090
6091 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
6092
97662200
JB
60932012-07-13 Juanma Barranquero <lekktu@gmail.com>
6094
80185fed
JB
6095 * bindings.el (top): Use `mapc' instead of `mapcar'.
6096
97662200
JB
6097 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
6098
2bb1ae55
MA
60992012-07-13 Michael Albinus <michael.albinus@gmx.de>
6100
6101 * progmodes/sql.el (sql-comint): Suppress the check for program on
6102 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
6103 (Bug#11908)
6104
dea31bd3
CY
61052012-07-13 Chong Yidong <cyd@gnu.org>
6106
6107 * bindings.el: Assign a non-nil permanent-local property to
6108 per-buffer variables which lack a default value (Bug#11930).
6109
6110 * help-fns.el (describe-variable): In the "automatically becomes
6111 local" notice, take note of permanent-local variables.
6112
b68b3337
CY
61132012-07-13 Chong Yidong <cyd@gnu.org>
6114
6115 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
6116 to allow printing the message when called from Lisp.
6117
6118 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6119 Remove toggle-read-only.
6120
6121 * bs.el (bs-toggle-readonly):
45fd731c
SM
6122 * buff-menu.el (Buffer-menu-toggle-read-only):
6123 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
6124
6125 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
6126 Remove with-no-warnings around toggle-read-only.
6127 (ffap-read-only, ffap-read-only-other-window)
6128 (ffap-read-only-other-frame): Callers changed.
6129
6130 * help-mode.el: Don't require view package.
6131 (help-mode-finish): Set buffer-read-only instead of calling
6132 toggle-read-only.
6133
6134 * bindings.el (mode-line-toggle-read-only):
6135 * dired.el (dired-toggle-read-only):
6136 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
6137 with non-nil second arg.
6138
6139 * emacs-lisp/eieio-custom.el (eieio-customize-object):
6140 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
6141 directly.
6142
56bc1586
EZ
61432012-07-12 Eli Zaretskii <eliz@gnu.org>
6144
6145 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
6146 not incf.
6147
a464a6c7
SM
61482012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
6149
6150 More CL cleanups and reduction of use of cl.el.
6151 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
6152 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
6153 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
6154 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
6155 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
6156 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
6157 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
6158 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
6159 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
6160 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
6161 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
6162 * eshell/em-cmpl.el, eshell/em-banner.el:
6163 * calendar/parse-time.el: Use cl-lib.
6164 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
6165 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
6166 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
6167 * term/ns-win.el, term.el, shell.el, ps-samp.el:
6168 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
6169 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
6170 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
6171 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
6172 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
6173 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
6174 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
6175 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
6176 `lambda' rather than with `quote'.
6177 (eshell-do-opt): Adjust accordingly.
6178 (eshell-process-option): Simplify.
6179 * eshell/esh-var.el:
6180 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
6181 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
6182 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
6183 to `pcase--dontcare'.
6184 * emacs-lisp/cl.el (labels): Mark obsolete.
6185 (cl--letf, letf): Move to cl-lib.
6186 (cl--letf*, letf*): Remove.
6187 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
6188 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
6189 (cl-progv): Rewrite.
6190 (cl--letf, cl-letf): Move from cl.el.
6191 (cl-letf*): New macro.
6192 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
6193
7ad4afe1
MA
61942012-07-11 Michael Albinus <michael.albinus@gmx.de>
6195
6196 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
6197
9af57756
CY
61982012-07-11 Chong Yidong <cyd@gnu.org>
6199
6200 * vc/log-edit.el (log-edit-vc-backend): New variable.
6201 (log-edit): Doc fix.
6202
6203 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
6204 argument of log-edit to set up all local variables.
6205 (vc-start-logentry): New optional arg specifying VC backend.
6206
6207 * vc/vc.el (vc-checkin): Use it.
6208 (vc-deduce-fileset): Handle Log Edit buffers.
6209 (vc-diff): Make first argument optional too.
6210
6211 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
6212
8477cc7a
MA
62132012-07-10 Michael Albinus <michael.albinus@gmx.de>
6214
6215 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
6216 command, just in case. The function is not needed anymore.
6217 (eshell-external-command): Do not call `eshell-remote-command'.
6218
19faa8e8
SM
62192012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
6220
f58e0fd5
SM
6221 Reduce use of (require 'cl).
6222 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
6223 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
6224 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
6225 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
6226 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
6227 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
6228 * battery.el, avoid.el, abbrev.el: Use cl-lib.
6229 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
6230 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
6231 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
6232 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
6233 * calculator.el, autorevert.el, apropos.el: Don't require CL.
6234 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
6235 (byte-compile-unfold-bcf, byte-compile-check-variable):
6236 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
6237 (byte-compile-nilconstp):
6238 * emacs-lisp/autoload.el (make-autoload): Use pcase.
6239 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
6240
2519d43a
SM
6241 * emacs-lisp/gv.el (cond): Make it a valid place.
6242 (if): Simplify slightly.
6243
19faa8e8
SM
6244 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
6245 (pcase--self-quoting-p): New function.
6246 (pcase--u1): Use it.
6247
c4907a5e
GM
62482012-07-10 Glenn Morris <rgm@gnu.org>
6249
6250 * emacs-lisp/authors.el (authors-fixed-entries):
6251 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
6252
c4444d16
PE
62532012-07-09 Paul Eggert <eggert@cs.ucla.edu>
6254
6255 Rename configure.in to configure.ac (Bug#11603).
6256 * emacs-lisp/authors.el (authors-canonical-file-name):
6257 * progmodes/autoconf.el (autoconf-mode):
6258 Prefer configure.ac to configure.in.
6259
d75be97d
CY
62602012-07-08 Chong Yidong <cyd@gnu.org>
6261
01ac65bd
CY
6262 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
6263 Implement the mouse-1-click-follows-link handling properly.
6264
6265 * info.el (Info-link-keymap): Use follow-link mechanism for
6266 header-line links (Bug#374).
6267
d75be97d
CY
6268 * simple.el (deactivate-mark): Do not set the primary selection
6269 if another program has acquired it (Bug#11772).
6270
87a92845 62712012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
6272
6273 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
6274 (woman-decode-region): Replace escaped-escapes without destroying
6275 bold or underline (Bug#11552).
87a92845 6276 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 6277
621b9d6c
CY
62782012-07-07 Chong Yidong <cyd@gnu.org>
6279
6280 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
6281 (interprogram-cut-function, interprogram-paste-function):
6282 Mention that we typically mean the clipboard.
621b9d6c 6283
133a11fc
GM
62842012-07-06 Glenn Morris <rgm@gnu.org>
6285
0d27a45e
GM
6286 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
6287
133a11fc
GM
6288 * files.el (toggle-read-only): Restrict message to interactive use.
6289
07b151f1
MA
62902012-07-06 Michael Albinus <michael.albinus@gmx.de>
6291
6292 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
6293
6294 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
6295
211b896b
GM
62962012-07-06 Glenn Morris <rgm@gnu.org>
6297
50394322
GM
6298 * Makefile.in (compile-one-process): Rename from "recompile".
6299
211b896b
GM
6300 * Makefile.in (bzr-update): "compile" is the same as "recompile
6301 autoloads", but parallelizable, so use that instead.
6302
4737eec9
DG
63032012-07-06 Dmitry Gutov <dgutov@yandex.ru>
6304
6305 * window.el (quit-window): Always restore window height when
8137e7b3 6306 it's saved in quit-restore parameter (Bug#11810).
4737eec9 6307
226c3633 63082012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
6309
6310 * simple.el (kill-whole-line): Doc tweak.
6311
226c3633 63122012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
6313
6314 * files.el (file-relative-name): Compare file names
6315 case-insensitively if on MS-Windows or MS-DOS, or if
6316 read-file-name-completion-ignore-case is non-nil. Don't use
6317 case-fold-search for this purpose. (Bug#11827)
6318
4dc7c8d5
SM
63192012-07-17 Andreas Schwab <schwab@linux-m68k.org>
6320
6321 * calendar/cal-dst.el (calendar-current-time-zone):
6322 Return calendar-current-time-zone-cache if non-nil.
6323
63242012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 63252012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 6326
19faa8e8
SM
6327 * calendar/cal-dst.el (calendar-current-time-zone):
6328 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 6329
60198fc9
GM
63302012-07-06 Glenn Morris <rgm@gnu.org>
6331
6332 * Makefile.in (cvs-update): Remove old alias.
6333
957b3189
MA
63342012-07-05 Michael Albinus <michael.albinus@gmx.de>
6335
6336 Sync with Tramp 2.2.6-pre.
6337
6338 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
6339 compatible declaration.
6340
19faa8e8
SM
6341 * net/tramp-cmds.el (tramp-append-tramp-buffers):
6342 Protect `list-load-path-shadows' call.
957b3189
MA
6343
6344 * net/tramp-compat.el (top): Require packages, which aren't
6345 autoloaded anymore for XEmacs. Protect call of
6346 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
6347 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
6348 it hurts at least for SXEmacs.
6349 (tramp-compat-temporary-file-directory): In XEmacs, there is no
6350 standard-value for `temporary-file-directory'.
6351
6352 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
6353 Redirect stderr to /dev/null.
6354 (tramp-sh-handle-write-region): uid and gid can be floats.
6355 Reported by Russell Sim <russell.sim@gmail.com>.
6356 (tramp-sh-handle-vc-registered): Hide errors.
6357 (tramp-vc-file-name-handler): Use dummy results for `process-file'
6358 and `start-file-process'.
6359 (tramp-maybe-open-connection): Check also whether `non-essential'
6360 is bound.
6361
566df3fc
CY
63622012-07-04 Chong Yidong <cyd@gnu.org>
6363
6364 * xml.el (xml--parse-buffer): Use xml-syntax-table.
6365 (xml-parse-tag): Likewise, and avoid changing entity tables.
6366 (xml-syntax-table): Define from scratch, making sure not to give
6367 x2000 and other Unicode spaces whitespace syntax, since those are
6368 not spaces in XML.
6369 (xml-parse-fragment): Delete unused function.
6370 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
6371 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
6372 (xml-entity-ref, xml-pe-reference-re)
6373 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
6374 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
6375 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
6376 (xml-entity-value-re): Use syntax references in regexps where
6377 possible; no need to define inside a let-binding.
6378 (xml-parse-dtd): Use xml-pe-reference-re.
6379 (xml-entity-or-char-ref-re): New defconst.
6380 (xml-parse-string, xml-substitute-special): Use it.
6381
30eabd7a
SM
63822012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
6383
0781098a
SM
6384 * files.el (locate-dominating-file): Allow `name' to be a predicate.
6385 (find-file--read-only): New function.
6386 (find-file-read-only, find-file-read-only-other-window)
6387 (find-file-read-only-other-frame): Use it.
6388 (insert-file-contents-literally): Don't `fset'.
6389 (get-free-disk-space): Use locate-dominating-file.
6390
b5771c0d
SM
6391 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
6392 function is already compiled.
6393
30eabd7a
SM
6394 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
6395
b4886f6e
MA
63962012-07-03 Michael Albinus <michael.albinus@gmx.de>
6397
6398 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
6399 files on the same host.
6400
b9d82339
AS
64012012-07-03 Andreas Schwab <schwab@linux-m68k.org>
6402
6403 * help-fns.el (describe-function-1): Only call
6404 help-fns--autoloaded-p when we have a file name. (Bug#11848)
6405
a76e6535
CY
64062012-07-03 Chong Yidong <cyd@gnu.org>
6407
6408 * xml.el: Protect parser against XML bombs.
6409 (xml-entity-expansion-limit): New variable.
6410 (xml-parse-string, xml-substitute-special): Use it.
6411 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
6412
b544fef2
GM
64132012-07-03 Glenn Morris <rgm@gnu.org>
6414
6415 * progmodes/bug-reference.el (bug-reference-bug-regexp):
6416 Allow linking to specific messages in debbugs reports (eg 123#5).
6417
a7aef6f5
CY
64182012-07-02 Chong Yidong <cyd@gnu.org>
6419
6420 * xml.el: Fix entity and character reference expansion, allowing
6421 them to expand into markup as per XML spec.
6422 (xml-default-ns): New variable.
6423 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
6424 (xml-parse-region): Make first two arguments optional.
6425 Discard text properties.
6426 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
6427 All callers changed.
a7aef6f5
CY
6428 (xml-parse-tag): Call xml-parse-tag-1. For backward
6429 compatibility, this function should not modify buffer contents.
6430 (xml-parse-tag-1): Fix opening-tag regexp.
6431 (xml-parse-string): Rewrite, handling entity and character
6432 references properly.
6433 (xml--entity-replacement-text): Signal an error if a parameter
6434 entity is undefined.
6435
3df31c9f
SM
64362012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
6437
2b5208f1
SM
6438 * comint.el (comint-output-filter): Filter out repeated prompts.
6439
3df31c9f
SM
6440 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
6441 and file-name-absolute-p.
6442 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
6443 internal calls.
6444
e3ac1281
PE
64452012-07-02 Paul Eggert <eggert@cs.ucla.edu>
6446
6447 Spelling fixes.
6448 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
6449 Rename from byte-compile--refiy-function. All uses changed.
6450
fbf2e7ad
CY
64512012-07-01 Chong Yidong <cyd@gnu.org>
6452
6453 * xml.el (xml--parse-buffer): New function. Move most of
6454 xml-parse-region here.
6455 (xml-parse-region): Copy region into a temporary buffer, since
6456 parameter entity substitution requires changing buffer contents.
6457 Use xml--parse-buffer.
6458 (xml-parse-file): Use xml--parse-buffer.
6459 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 6460 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 6461
9bf0aa15
GM
64622012-06-30 Glenn Morris <rgm@gnu.org>
6463
bbce2853
GM
6464 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
6465
9bf0aa15
GM
6466 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
6467 Remove outdated and unnecessary dbus declarations.
6468
0d23c240
EZ
64692012-06-30 Eli Zaretskii <eliz@gnu.org>
6470
6471 * emacs-lisp/timer.el (timer-until): Subtract results of
6472 float-time, instead of taking float-time of the result of
6473 time-subtract, since float-time signals an error for negative time
6474 arguments.
6475
b3218de1
CY
64762012-06-30 Chong Yidong <cyd@gnu.org>
6477
6478 * xml.el (xml-*-re): Convert defvars into defconsts, and
6479 eval-and-compile them so eval-and-compile works on derivatives.
6480 (xml--entity-replacement-text): Use eval-and-comple.
6481
a40c87a0
MA
64822012-06-30 Michael Albinus <michael.albinus@gmx.de>
6483
6484 * vc/vc-git.el (vc-git-registered): Use cache property
6485 `git-registered'.
6486 (vc-git-mode-line-string): Call `vc-working-revision' instead of
6487 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 6488 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 6489
ac87de97
DG
64902012-06-30 Dmitry Gutov <dgutov@yandex.ru>
6491
6492 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 6493 removed (likely outside Emacs). (Bug#11757)
ac87de97 6494
ac10fe06
SM
64952012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
6496
3df31c9f 6497 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 6498
7f3fbd5d
CY
64992012-06-30 Chong Yidong <cyd@gnu.org>
6500
6501 * xml.el: Implement XML parameter entities.
6502 (xml-parameter-entity-alist): New variable.
6503 (xml-parse-region, xml-parse-fragment): Preserve previous values
6504 of xml-entity-alist and xml-parameter-entity-alist, so that
6505 repeated calls on different documents do not change them.
6506 (xml-parse-tag): Fix doctype regexp.
6507 (xml--entity-replacement-text): New function.
6508 (xml-parse-dtd): Use it. Don't handle system entities; doing that
6509 properly requires url retrieval which is unimplemented.
6510 (xml-escape-string): Doc fix.
6511
3cfbebba
SM
65122012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
6513
6514 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
6515
2af3565e
DA
65162012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
6517
6518 * fringe.el (fringe-mode): Doc fix.
6519
929df0e7
MA
65202012-06-29 Michael Albinus <michael.albinus@gmx.de>
6521
6522 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
6523 is non-nil.
6524 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
6525 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
6526
c8d3a25c 65272012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 6528
c8d3a25c
GM
6529 * calendar/cal-dst.el (calendar-current-time-zone):
6530 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 6531
c8d3a25c 65322012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
6533
6534 * progmodes/which-func.el (which-func-format):
6535 Add mouse-face. (Bug#11698)
6536
c8d3a25c
GM
65372012-06-29 Leo Liu <sdl.web@gmail.com>
6538
6539 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
6540
65412012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
6542
6543 * minibuffer.el (minibuffer-confirm-exit-commands):
6544 Add completion-at-point (bug#11725).
6545
65462012-06-29 Glenn Morris <rgm@gnu.org>
6547
6548 * progmodes/f90.el (f90-font-lock-keywords-2):
6549 Add some preprocessor elements. (Bug#10499)
6550
65512012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
6552
6553 * progmodes/cperl-mode.el (cperl-update-syntaxification):
6554 Use syntax-propertize (bug#11739).
6555
2badeec4
JB
65562012-06-28 Juanma Barranquero <lekktu@gmail.com>
6557
6558 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
6559
ae4969c2
JD
65602012-06-28 Julien Danjou <julien@danjou.info>
6561
6562 * term.el (term-handle-colors-array): Use a set of new faces to
6563 color the terminal. Also uses :inverse-video property.
6564 (term-default-fg-color): Set to nil by default, deprecate in favor
6565 of `term-face'.
6566 (term-default-bg-color): Set to nil by default, deprecate in favor
6567 of `term-face'.
6568 (term-current-face): Use `term-face' by default.
6569 (term-bold-attribute): Variable deleted.
6570
1c9bd870
GM
65712012-06-28 Glenn Morris <rgm@gnu.org>
6572
6573 * simple.el (completion-list-mode-finish):
6574 Don't use toggle-read-only. (Since completion-list-mode has
6575 a special mode-class, it wasn't doing anything extra anyway.)
6576
c207708c
SM
65772012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
6578
6579 Make inlining of other-mode interpreted functions work (bug#11799).
6580 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
6581 (byte-compile): Use it to fix compilation of lexical-binding closures.
6582 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
6583 function, if needed.
6584
3fd56834
SM
65852012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
6586
04901786
SM
6587 * help-mode.el (help-make-xrefs): Don't just withstand
6588 cyclic-variable-indirection but any error in documentation-property.
6589
1ec4b7b2
SM
6590 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
6591 memory use.
6592 * bindings.el (bindings--define-key): New function.
6593 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
6594 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
6595 * bindings.el: Use it to purecopy define-key bindings.
6596
e309e2a5
SM
6597 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
6598
d5c6faf9
SM
6599 * emacs-lisp/cl.el (flet): Mark obsolete.
6600 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
6601 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
6602 * progmodes/js.el (js-c-fill-paragraph):
6603 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
6604 (ebrowse-switch-member-buffer-to-derived-class):
6605 * play/5x5.el (5x5-solver): Use cl-flet.
6606
6e9590e2
SM
6607 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
6608 (cl--symbol-function): New macro.
6609 (cl--letf, cl--letf*): Use it.
6610
3fd56834
SM
6611 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
6612 Strip "toggle-" if any.
6613
35ff222c
GM
66142012-06-27 Glenn Morris <rgm@gnu.org>
6615
1ba6038a
GM
6616 * info.el (Info-default-directory-list): Move here from paths.el.
6617 * paths.el: Remove file, which is now empty.
6618 * loadup.el: No longer load "paths".
6619
0ea0e51b
GM
6620 * custom.el (custom-initialize-delay): Doc fix.
6621
35ff222c
GM
6622 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
6623 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
6624 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
6625 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
6626 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
6627 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
6628 * eshell/eshell.el (eshell-defgroup): Remove alias.
6629
c89926a5
CY
66302012-06-27 Chong Yidong <cyd@gnu.org>
6631
6632 * help.el (help-enable-auto-load): New variable.
6633
6634 * help-fns.el (help-fns--autoloaded-p): New function.
6635 (describe-function-1): Refer to a function as "autoloaded" if it
6636 was autoloaded at any time in the past. Perform autoloading if
6637 help-enable-auto-load is non-nil.
6638
cc06e7e7
EZ
66392012-06-26 Eli Zaretskii <eliz@gnu.org>
6640
6641 * makefile.w32-in (compile, compile-always): Depend on
6642 update-subdirs, not on subdirs.el. Otherwise, several different
6643 sub-targets of 'bootstrap' running in parallel could
6644 simultaneously write to subdirs.el, producing a garbled file.
6645
d2c32364
SS
66462012-06-26 Sam Steingold <sds@gnu.org>
6647
6648 * files.el (file-name-base): New convenience function.
0d14cc21
GM
6649 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
6650 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
6651 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
6652 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
6653 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
6654 * textmodes/tex-mode.el: Use it.
6655 Did not touch cedet and org because they are maintained elsewhere.
6656
5cf983b2
MR
66572012-06-26 Martin Rudalics <rudalics@gmx.at>
6658
6659 * calendar/calendar.el (calendar-exit): Don't try to delete or
6660 iconify last frame. See:
6661 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
6662
8c4f2952
JD
66632012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
6664
6665 * server.el (server-process-filter): Remember dir in the
6666 process's `server-client-directory' properties.
6667
772b2e2c
CY
66682012-06-24 Chong Yidong <cyd@gnu.org>
6669
6670 * xml.el (xml-parse-tag): Correctly handle comment embedded in
6671 non-tag text.
6672
711b11e1
JB
66732012-06-23 Juanma Barranquero <lekktu@gmail.com>
6674
6675 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
6676
dc5d230c
SM
66772012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
6678
6679 * help-fns.el (describe-variable): Don't croak when doc is not found.
6680 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
6681 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
6682 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
6683 * emacs-lisp/smie.el (smie-next-sexp): CSE.
6684 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
6685 ((lambda ..) ..).
6686 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
6687
136e1c1d
CY
66882012-06-23 Chong Yidong <cyd@gnu.org>
6689
e8c1cabf
CY
6690 * info.el (Info-mouse-follow-link): Accept symbol values of
6691 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
6692 (Info-fontify-node): Use Info-link-keymap for all navigation
6693 buttons, with link-args property to perform the desired action.
6694 (Info-link-keymap): Doc fix.
6695 (Info-next-link-keymap, Info-prev-link-keymap)
6696 (Info-up-link-keymap): Delete now-unused keymaps.
6697
0e9e6c6a
CY
66982012-06-23 Chong Yidong <cyd@gnu.org>
6699
05e89fea
CY
6700 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
6701
0e9e6c6a
CY
6702 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
6703 system abbrevs.
6704
6705 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
6706
e33c6771
SM
67072012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
6708
b68581e2
SM
6709 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
6710 (bug#11719).
6711
e33c6771
SM
6712 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
6713 the requote function doesn't work properly (bug#11714).
6714
7117e105
GM
67152012-06-23 Glenn Morris <rgm@gnu.org>
6716
6717 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
6718
36cec983
SM
67192012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6720
6721 Further GV/CL cleanups.
6722 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
6723 gv-expander.
6724 (gv--defun-declaration): New function.
6725 (defun-declarations-alist): Use it.
6726 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
6727 (gv-place): Autoload.
6728 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
6729 original definition of dotimes and dolist.
6730 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
6731 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
6732 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
6733 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
6734 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
6735 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
6736 to the function's definition.
6737 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
6738 * window.el:
6739 * files.el:
6740 * faces.el:
6741 * env.el: Don't use CL.
6742
d35af63c
PE
67432012-06-22 Paul Eggert <eggert@cs.ucla.edu>
6744
6745 Support higher-resolution time stamps (Bug#9000).
6746
6747 * calendar/time-date.el (with-decoded-time-value): New arg
6748 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
6749 (encode-time-value): New optional arg PICO. New type 3.
6750 (time-to-seconds) [!float-time]: Support the new picoseconds
6751 component if it's used.
6752 (seconds-to-time, time-subtract, time-add):
6753 Support ps-resolution time stamps as well.
6754
6755 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
6756 (timerp): Timer vectors now have length 9, not 8.
6757 (timer--time): Support new-style (4-part) time stamps.
6758 (timer-next-integral-multiple-of-time): Time stamps now have
6759 picosecond resolution, so take a bit more care about rounding.
6760 (timer-relative-time, timer-inc-time): New optional arg psecs.
6761 (timer-set-time-with-usecs): Set psecs to 0.
6762 (timer--activate): Check psecs component, too.
6763
6764 * proced.el (proced-time-lessp): Support ps-resolution stamps.
6765
ac77b21a
SM
67662012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6767
f143bfe3
SM
6768 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
6769 Move the non-essential binding to the post/pre-command-hook where it is
6770 more obviously correct.
6771
ac77b21a
SM
6772 * subr.el (read-passwd): Don't use a history at all.
6773 * savehist.el (savehist-save): Remove password saved accidentally
6774 because of the above bug.
6775
76386c5a
BG
67762012-06-22 Bastien Guerry <bzg@gnu.org>
6777
6778 * files.el (toggle-read-only): Display a message telling whether
6779 the buffer is read-only or not (bug#11726).
6780
2ee3d7f0
SM
67812012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6782
6783 * emacs-lisp/gv.el: New file.
6784 * subr.el (push, pop): Extend to generalized variables.
6785 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
6786 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
6787 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
6788 gv-define-simple-setter, and gv-define-expander.
6789 Remove setf-methods defined in gv. Rename cl-setf -> setf.
6790 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
6791 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
6792 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
6793 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
6794 gv-letplace.
6795 (cl-defstruct): Don't define setf-method any more.
6796 * emacs-lisp/cl.el (flet): Don't autoload.
6797 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
6798 (define-setf-expander, defsetf, define-modify-macro)
6799 (cl-struct-setf-expander): Move from cl-lib.el.
6800 * emacs-lisp/syntax.el:
6801 * emacs-lisp/ewoc.el:
6802 * emacs-lisp/smie.el:
6803 * emacs-lisp/cconv.el:
6804 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
6805 (timer--time): Use gv-define-simple-setter.
6806 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
6807 to avoid coding-system problems in subr.el. Adjust all users.
6808 (macroexp--maxsize, macroexp-small-p): New functions.
6809 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
6810 * scroll-bar.el (scroll-bar-mode):
6811 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
6812 (normal-erase-is-backspace-mode): Don't use the `eq' place.
6813 * winner.el (winner-configuration, winner-make-point-alist)
6814 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
6815 * files.el (locate-file-completion-table): Avoid list*.
6816
c5695d1d
CY
68172012-06-22 Chong Yidong <cyd@gnu.org>
6818
6819 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
6820 (dired-create-files): Doc fix (Bug#11329).
6821 (dired-do-copy): Doc fix (Bug#11334).
6822 (dired-mark-read-string): Doc fix (Bug#11553).
6823
2ee3d7f0
SM
6824 * dired.el (dired-recursive-copies, dired-recursive-deletes):
6825 Doc fix (Bug#11326).
c5695d1d
CY
6826 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
6827 (dired-dwim-target): Doc fix.
6828
6829 * wdired.el (wdired-mode): Doc fix.
6830
89b5595a
GM
68312012-06-22 Glenn Morris <rgm@gnu.org>
6832
575db3f1
GM
6833 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
6834 (pcmpl-rpm-cache-stamp-file): New constant.
6835 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
6836 (pcmpl-rpm-packages): Optionally cache list of packages.
6837
a4c8dd51
GM
6838 * pcmpl-rpm.el (pcmpl-rpm): New group.
6839 (pcmpl-rpm-query-options): New option.
6840 (pcmpl-rpm-packages): No need to inline it.
6841 Use pcmpl-rpm-query-options.
6842
89b5595a
GM
6843 * calendar/calendar.el (calendar-in-read-only-buffer):
6844 Avoid some needless mode changes.
6845
e76f0800
CY
68462012-06-21 Chong Yidong <cyd@gnu.org>
6847
6848 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
6849 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 6850 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 6851
297a8f1d
CY
68522012-06-20 Chong Yidong <cyd@gnu.org>
6853
6854 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
6855
d34c18b1
DR
68562012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
6857
6858 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
6859 (bug#11201).
6860
32f7f28e
CY
68612012-06-20 Chong Yidong <cyd@gnu.org>
6862
6863 * term.el (term-window-width): Handle the case of a missing right
6864 fringe (Bug#8837).
6865 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
6866 (term-mode): Use define-derived-mode. Minor cleanups.
6867 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
6868 (term-move-columns, term-insert-char, term-emulate-terminal)
6869 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 6870
493c6688
MA
68712012-06-20 Michael Albinus <michael.albinus@gmx.de>
6872
d34c18b1
DR
6873 * net/ange-ftp.el (ange-ftp-get-passwd):
6874 Bind `enable-recursive-minibuffers'.
493c6688
MA
6875 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
6876
3f06ecf4
DR
68772012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
6878
6879 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
6880
68f12411
GM
68812012-06-19 Glenn Morris <rgm@gnu.org>
6882
6883 * progmodes/python.el (python-mode): Derive from prog-mode.
6884
b3820318
KG
68852012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
6886
6887 * emulation/edt.el (edt-default-menu-bar-update-buffers)
6888 (edt-user-menu-bar-update-buffers): New functions.
6889 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
6890
c6bf3022
CY
68912012-06-19 Chong Yidong <cyd@gnu.org>
6892
6893 * subr.el (with-selected-window): Preserve the selected window's
6894 terminal's top-frame (Bug#4702).
6895
6896 * window.el (save-selected-window): Likewise.
6897
25f09295
SM
68982012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6899
6900 * progmodes/python.el (python-rx-constituents): Move backquote.
6901 (python-skeleton-define, python-define-auxiliary-skeleton):
6902 Use `declare'.
6903
6b11952a
MA
69042012-06-18 Michael Albinus <michael.albinus@gmx.de>
6905
6906 * minibuffer.el (read-file-name-default): Revert the patch from
6907 2012-06-17.
6908
ee4b1330
SM
69092012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6910
6911 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
6912 (pcase--u1, pcase--q1): Don't use apply-partially.
6913
35647f79
GM
69142012-06-18 Glenn Morris <rgm@gnu.org>
6915
6916 * progmodes/python.el (python-proc, python-buffer)
6917 (python-send-receive, python-send-string): Fix obsolete versions.
6918
24b0cff0
MR
69192012-06-18 Martin Rudalics <rudalics@gmx.at>
6920
6921 * window.el (special-display-p): Completely remove stringp
6922 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
6923
29855149
MA
69242012-06-17 Michael Albinus <michael.albinus@gmx.de>
6925
6926 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
6927
6928 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
6929
6930 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
6931 * net/tramp-sh.el (tramp-maybe-open-connection):
6932 Throw if `non-essential' is non-nil.
6933
07463363
MR
69342012-06-17 Martin Rudalics <rudalics@gmx.at>
6935
6936 * window.el (special-display-p): Signal an error if BUFFER-NAME
6937 is not a string (Bug#11713).
6938
48d1354e
PE
69392012-06-17 Paul Eggert <eggert@cs.ucla.edu>
6940
6941 * progmodes/python.el (python-info-beginning-of-backslash):
6942 Rename from python-info-beginning-of-backlash, as a spelling fix.
6943
eb4a8a9a
CY
69442012-06-17 Chong Yidong <cyd@gnu.org>
6945
6946 * term.el (term-emulate-terminal): If term-check-size is called,
6947 move point to the process mark without resetting point (Bug#4635).
6948
ddfbf826 69492012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
6950
6951 * international/mule-cmds.el (mule-menu-keymap)
6952 (set-language-environment, set-locale-environment): Doc tweaks.
6953
9b0e3eba
AA
69542012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
6955
6956 * cus-face.el (custom-face-attributes): Add wave-style underline
6957 attribute.
6958 * faces.el (set-face-attribute): Update docstring to describe
6959 wave-style underline attribute.
6960
771e3eae
CY
69612012-06-16 Chong Yidong <cyd@gnu.org>
6962
6963 * term/xterm.el (terminal-init-xterm): Discard input before
6964 querying background mode (Bug#10959).
6965
7ae2ea10
SM
69662012-06-16 Stefan Merten <smerten@oekonux.de>
6967
6968 * textmodes/rst.el: Added and corrected some comments.
6969 (rst-re-alist-def): Improve symbol syntax.
6970 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
6971 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
6972 (rst-official-version, rst-official-cvs-rev): Update version
6973 information.
7ae2ea10 6974
b6974efa
JB
69752012-06-15 Juanma Barranquero <lekktu@gmail.com>
6976
6977 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
6978 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
6979
8826d473
GM
69802012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
6981
6982 * progmodes/python.el: New python.el merge.
6983 (python-guess-indent): Obsolete var.
6984 (python-indent-guess-indent-offset): New defcustom.
6985 (python-indent): Obsolete var.
6986 (python-indent-offset): New defcustom.
6987 (python-python-command, python-jython-command): Delete var.
6988 (python-shell-interpreter): New defcustom.
6989 (python-pdbtrack-do-tracking-p): Delete var.
6990 (python-pdbtrack-activate): New defcustom.
6991 (python-use-skeletons): Obsolete var.
6992 (python-skeleton-autoinsert): New defcustom.
6993 (inferior-python-filter-regexp, python-continuation-offset)
6994 (python-honour-comment-indentation, python-indent-string-contents)
6995 (python-jython-packages, python-mode-hook)
6996 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
6997 (python-shell-prompt-alist)
6998 (python-source-modes): Delete defcustoms.
6999 (python-check-buffer-name, python-eldoc-setup-code)
7000 (python-eldoc-string-code, python-ffap-setup-code)
7001 (python-ffap-string-code, python-fill-comment-function)
7002 (python-fill-decorator-function, python-fill-paren-function)
7003 (python-fill-string-function, python-imenu-include-defun-type)
7004 (python-imenu-make-tree, python-imenu-subtree-root-label)
7005 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
7006 (python-shell-compilation-regexp-alist)
7007 (python-shell-completion-module-string-code)
7008 (python-shell-completion-pdb-string-code)
7009 (python-shell-completion-setup-code)
7010 (python-shell-completion-string-code)
7011 (python-shell-enable-font-lock, python-shell-exec-path)
7012 (python-shell-extra-pythonpaths)
7013 (python-shell-internal-buffer-name, python-shell-interpreter-args)
7014 (python-shell-process-environment)
7015 (python-shell-prompt-block-regexp)
7016 (python-shell-prompt-output-regexp)
7017 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
7018 (python-shell-send-setup-max-wait, python-shell-setup-codes)
7019 (python-shell-virtualenv-path): New defcustoms.
7020 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
7021 (inferior-python-mode-syntax-table, python--prompt-regexp)
7022 (python-buffer, python-command python-python-command)
7023 (python-default-template, python-imports, python-indent-index)
7024 (python-indent-list, python-indent-list-length)
7025 (python-mode-running, python-pdbtrack-is-tracking-p)
7026 (python-preoutput-continuation, python-preoutput-leftover)
7027 (python-preoutput-result, python-preoutput-skip-next-prompt)
7028 (python-prev-dir/file, python-recursing)
7029 (python-saved-check-command, python-version-checked)
7030 (python-which-func-length-limit)
7031 (view-return-to-alist): Delete vars.
7032 (python-check-custom-command, python-dotty-syntax-table)
7033 (python-imenu-index-alist, python-indent-current-level)
7034 (python-indent-dedenters, python-indent-levels)
7035 (python-nav-beginning-of-defun-regexp)
7036 (python-nav-list-defun-positions-cache)
7037 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
7038 (python-shell-internal-buffer)
7039 (python-skeleton-available): New vars.
7040 (def-python-skeleton): Delete macro.
7041 (python-skeleton-define): New macro.
7042 (python-define-auxiliary-skeleton, python-rx): New macros.
7043 (python-insert-class): Delete command.
7044 (python-skeleton-class): New command.
7045 (python-insert-def): Delete command.
7046 (python-skeleton-def): New command.
7047 (python-insert-for): Delete command.
7048 (python-skeleton-for): New command.
7049 (python-insert-if): Delete command.
7050 (python-skeleton-if): New command.
7051 (python-insert-try/except, python-insert-try/finally): Delete commands.
7052 (python-skeleton-try): New command.
7053 (python-insert-while): Delete command.
7054 (python-skeleton-while): New command.
7055 (python-backspace): Delete command.
7056 (python-indent-dedent-line-backspace): New command.
7057 (python-electric-colon): Delete command.
7058 (python-indent-electric-colon): New command.
7059 (python-guess-indent): Delete command.
7060 (python-indent-guess-indent-offset): New command.
7061 (python-shift-left): Delete command.
7062 (python-indent-shift-left): New command.
7063 (python-shift-right): Delete command.
7064 (python-indent-shift-right): New command.
7065 (python-find-function): Delete command.
7066 (python-nav-jump-to-defun): New command.
7067 (python-next-statement): Delete command.
7068 (python-nav-forward-sentence): New command.
7069 (python-previous-statement): Delete command.
7070 (python-nav-backward-sentence): New command.
7071 (python-fill-paragraph): Delete command.
7072 (python-fill-paragraph-function): New command.
7073 (python-send-buffer): Delete command.
7074 (python-shell-send-buffer): New command.
7075 (python-send-defun): Delete command.
7076 (python-shell-send-defun): New command.
7077 (python-send-region, python-send-region-and-go): Delete commands.
7078 (python-shell-send-region)
7079 (python-shell-switch-to-shell): New commands.
7080 (python-send-string): Delete command.
7081 (python-shell-send-string): New command.
7082 (python-switch-to-python): Delete command.
7083 (python-shell-switch-to-shell): New command.
7084 (python-describe-symbol): Delete command.
7085 (python-eldoc-at-point): New command.
7086 (python--set-prompt-regexp, python-args-to-list)
7087 (python-after-info-look, python-check-version)
7088 (python-check-comint-prompt, python-find-imports)
7089 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
7090 (python-unload-function, python-expand-template)
7091 (python-maybe-jython, python-preoutput-filter)
7092 (python-pdbtrack-get-source-buffer)
7093 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
7094 (python-pdbtrack-toggle-stack-tracking)
7095 (python-pdbtrack-track-stack-file, python-initial-text)
7096 (python-first-word, python-comment-line-p, python-send-command)
7097 (python-setup-brm, python-sentinel, python-set-proc)
7098 (python-skip-out, python-input-filter, python-outdent-p)
7099 (python-outline-level, python-backslash-continuation-line-p)
7100 (python-end-of-block, python-end-of-statement, python-mark-block)
7101 (python-beginning-of-block, python-beginning-of-statement)
7102 (python-blank-line-p, python-beginning-of-string)
7103 (python-open-block-statement-p): Delete functions.
7104 (python-indent-line, python-indent-line-1): Delete functions.
7105 (python-indent-line): New function.
7106 (python-indentation-levels): Delete function.
7107 (python-indent-calculate-levels): New function.
7108 (python-proc): Delete function.
7109 (python-shell-get-process): New function.
7110 (python-send-receive): Delete function.
7111 (python-shell-send-string-no-output): New function.
7112 (python-module-path): Delete function.
7113 (python-ffap-module-path): New function.
7114 (python-completion-at-point)
7115 (python-symbol-completions): Delete functions.
7116 (python-completion-complete-at-point): New function.
7117 (python-load-file): Delete function.
7118 (python-shell-send-file): New function.
7119 (python-calculate-indentation): Delete function.
7120 (python-indent-calculate-indentation): New function.
7121 (python-skip-comments/blanks): Delete function.
7122 (python-util-forward-comment): New function.
7123 (python-continuation-line-p): Delete function.
7124 (python-info-continuation-line-p): New function.
7125 (python-which-func, python-current-defun): Delete function.
7126 (python-info-current-defun): New function.
7127 (python-beginning-of-defun): Delete function.
7128 (python-nav-beginning-of-defun): New function.
7129 (python-close-block-statement-p)
7130 (python-block-end-p): Delete function.
7131 (python-info-closing-block): New function.
7132 (python-comint-output-filter-function)
7133 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
7134 (python-fill-comment, python-fill-decorator, python-fill-paren)
7135 (python-fill-string, python-imenu-make-element-tree)
7136 (python-imenu-make-tree, python-imenu-tree-assoc)
7137 (python-indent-context, python-indent-dedent-line)
7138 (python-indent-line-function)
7139 (python-indent-post-self-insert-function)
7140 (python-indent-toggle-levels)
7141 (python-info-assignment-continuation-line-p)
7142 (python-info-beginning-of-backlash)
7143 (python-info-block-continuation-line-p)
7144 (python-info-closing-block-message)
7145 (python-info-line-ends-backslash-p)
7146 (python-info-looking-at-beginning-of-defun)
7147 (python-info-ppss-context, python-info-ppss-context-type)
7148 (python-nav-list-defun-positions, python-nav-read-defun)
7149 (python-nav-sentence-end, python-nav-sentence-start)
7150 (python-pdbtrack-comint-output-filter-function)
7151 (python-pdbtrack-set-tracked-buffer)
7152 (python-shell-calculate-exec-path)
7153 (python-shell-calculate-process-environment)
7154 (python-shell-completion--do-completion-at-point)
7155 (python-shell-completion--get-completions)
7156 (python-shell-completion-complete-at-point)
7157 (python-shell-completion-complete-or-indent)
7158 (python-shell-get-or-create-process)
7159 (python-shell-get-process-name)
7160 (python-shell-internal-get-or-create-process)
7161 (python-shell-internal-get-process-name)
7162 (python-shell-internal-send-string, python-shell-make-comint)
7163 (python-shell-parse-command, python-shell-send-setup-code)
7164 (python-skeleton-add-menu-items)
7165 (python-util-clone-local-variables, python-util-position)
7166 (run-python-internal, python-indentation-levels)
7167 (python-nav-beginning-of-defun)
7168 (python-completion-complete-at-point): New functions.
7169 (run-python): Change arguments. New API requirements.
7170
4302f5ba
SM
71712012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7172
f38ea36d
SM
7173 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
7174 (bug#11649).
7175
7176 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
7177 (macroexp--expand-all): Use it.
7178
4302f5ba
SM
7179 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
7180 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
7181 Use `cl-function' instead.
7182
33377562
JB
71832012-06-14 Juanma Barranquero <lekktu@gmail.com>
7184
7185 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
7186 Suggested by Stefan Monnier while discussing bug#11657.
7187
54c5ba1a
SS
71882012-06-14 Sam Steingold <sds@gnu.org>
7189
7190 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
7191
f9f1b1fe
AS
71922012-06-14 Andreas Schwab <schwab@linux-m68k.org>
7193
7194 * play/doctor.el (doctor-doc): Remove parameter and use
7195 doctor-sent instead of sent.
7196 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
7197
a81068ba
SM
71982012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7199
5a315f9c
SM
7200 * files.el: Require cl-lib.
7201 (file-name-non-special): Replace case -> cl-case.
7202
7203 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
7204
a81068ba
SM
7205 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
7206 mapping from #' to function*.
7207
8cca9703
CY
72082012-06-13 Chong Yidong <cyd@gnu.org>
7209
7210 * mouse.el (mouse-drag-track): Do not set the mark if the user
7211 releases the mouse without selecting anything (Bug#11588).
7212
a12ac9d7
SM
72132012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7214
ccf1dc18
SM
7215 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
7216 as well (bug#11646).
7217
ef62b23d
SM
7218 * loadup.el: Count byte-code functions as well.
7219
c4c8444a
SM
7220 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
7221 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
7222
a12ac9d7
SM
7223 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
7224 (bug#11649). Add cl-defun and cl-defmacro.
7225
87e6e64f
DA
72262012-06-13 Drew Adams <drew.adams@oracle.com>
7227
7228 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
7229 Fix last change.
7230
682cefaf
MA
72312012-06-13 Michael Albinus <michael.albinus@gmx.de>
7232
7233 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
7234 Otherwise, it blocks in batch mode.
7235
773e1f08
JB
72362012-06-13 Juanma Barranquero <lekktu@gmail.com>
7237
7238 * help-mode.el (bookmark-make-record-default): Declare.
7239
60057926
CY
72402012-06-13 Chong Yidong <cyd@gnu.org>
7241
7242 * emacs-lisp/package.el (list-packages): Compute a list of
7243 packages that are newly-available since the last list-packages
7244 invocation.
7245 (package-menu--new-package-list): New var.
7246 (package-menu--generate, package-menu--print-info)
7247 (package-menu--status-predicate, package-menu-mark-install):
7248 Handle new status label "new".
7249
ad4d226c
SM
72502012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7251
7252 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
7253 conversion to backquotes.
7254
f1a4e679
CY
72552012-06-12 Chong Yidong <cyd@gnu.org>
7256
7257 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
7258 Rename from gud-inhibit-global-bindings.
7259
7260 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
7261
7262 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
7263 hook from nxml-glyph-set-hook.
7264
7265 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
7266 declaration.
7267
7268 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
7269
7270 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
7271 Convert to defcustom.
7272
0c9e42b5
DA
72732012-06-12 Drew Adams <drew.adams@oracle.com>
7274
7275 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
7276 New functions.
7277 (help-mode): Use them.
7278
09e06855
GM
72792012-06-11 Glenn Morris <rgm@gnu.org>
7280
7281 * progmodes/fortran.el (fortran-font-lock-keywords-3):
7282 Use preprocessor face for directives.
7283 (fortran-directive-re): Doc fix.
7284
71adb94b
SM
72852012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7286
2eb87922
SM
7287 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
7288 conversion to backquotes (bug#11652).
7289
71adb94b
SM
7290 Fix compiler-expansion of CL's cXXr functions (bug#11673).
7291 * emacs-lisp/cl-lib.el (cl--defalias): New function.
7292 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
7293 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
7294 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
7295 (cl-ninth, cl-tenth): Mark them as inlinable.
7296 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
7297 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
7298 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
7299 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
7300 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
7301 (cl-list*, cl-adjoin): Don't put an autoload manually.
7302 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
7303 (cl--compiler-macro-list*): Add autoload cookie.
7304 (cl--compiler-macro-cXXr): New function.
2eb87922 7305
71adb94b
SM
7306 * help-fns.el (help-fns--compiler-macro): New function extracted from
7307 describe-function-1; follow aliases and use `compiler-macro' property.
7308 (describe-function-1): Use it.
7309
a6674402
CY
73102012-06-11 Chong Yidong <cyd@gnu.org>
7311
7312 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
7313 is uninstalled, if imagemagick is installed.
7314
bb3faf5b
SM
73152012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7316
7317 * emacs-lisp/cl-lib.el: Use lexical-binding.
7318 (cl-map-extents, cl-maclisp-member): Remove.
7319 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
7320 (cl--set-substring, cl--block-wrapper, cl--block-throw)
7321 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
7322 * emacs-lisp/cl-extra.el: Use lexical-binding.
7323 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
7324 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
7325 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
7326 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
7327 * emacs-lisp/cl-seq.el: Use lexical-binding.
7328 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
7329 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
7330 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
7331 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
7332 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
7333 CL's internals.
7334
2fe4b125
MA
73352012-06-11 Michael Albinus <michael.albinus@gmx.de>
7336
7337 Sync with Tramp 2.2.6-pre.
7338
7339 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
7340 `print-length' and `print-level' to nil, in order to avoid
7341 truncation. Reported by Christopher Schmidt
7342 <christopher@ristopher.com>.
7343
7344 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
7345
7346 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
7347 New defmacro.
7348 (tramp-compat-copy-directory): Add optional argument
7349 COPY-CONTENTS. It is not handled yet.
7350
7351 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
7352 (tramp-ftp-file-name-p): Simplify.
7353
7354 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
7355 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
7356 connection vector.
7357
7358 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
7359 (tramp-methods): Do not use `tramp-password-end-of-line'.
7360 (tramp-completion-function-alist-putty): Handle UNIX case.
7361 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
7362 (tramp-do-file-attributes-with-stat)
7363 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
7364 gid as real numbers. They could run out of integer range on cygwin.
7365 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
7366 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
7367 (tramp-open-connection-setup-interactive-shell):
7368 Use `tramp-cleanup'. Move check for busyboxes ...
7369 (tramp-find-shell): ... here. Simplify implementation.
7370 Set "remote-shell" property also for alternative shells.
7371 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
7372 If failing, a regular file would be written otherwise.
7373 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
7374 (tramp-find-inline-encoding): Cache the coding commands in the
7375 process cache. Apply test command on the remote side, if defined.
7376 (tramp-find-inline-compress): Cache the compress commands in the
7377 process cache.
7378 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
7379 when requested. Handle hops.
7380 (tramp-current-connection): New defvar.
87e6e64f
DA
7381 (tramp-maybe-open-connection): Use `tramp-cleanup'.
7382 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 7383 Handle user interrupt. (Bug#10187)
87e6e64f
DA
7384 (tramp-get-inline-compress, tramp-get-inline-coding):
7385 Read connection properties from the process cache.
2fe4b125
MA
7386
7387 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
7388 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
7389 New defconsts.
2fe4b125
MA
7390 (tramp-smb-prompt): Extend for powershell prompt.
7391 (tramp-smb-file-name-handler-alist): Add handlers for
7392 `process-file', `shell-command' and `start-file-process'.
7393 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
7394 (tramp-smb-winexe-shell-command-switch): New defcustoms.
7395 (tramp-smb-file-name-p): Simplify.
7396 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
7397 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
7398 (tramp-smb-shell-quote-argument): New defuns.
7399 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
7400 Implement using "tar". By this, time-stamps are preserved.
7401 (tramp-smb-handle-copy-file): Handle also the case of directories.
7402 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
7403 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
7404 Use `tramp-get-connection-buffer').
2fe4b125
MA
7405 (tramp-smb-handle-rename-file): Use "rename", when source and
7406 target are on the same share.
87e6e64f
DA
7407 (tramp-smb-maybe-open-connection): Handle wrong passwords.
7408 Use `tramp-smb-server-version'.
2fe4b125
MA
7409 (tramp-smb-wait-for-output): Remove prompt.
7410
7411 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
7412 (tramp-methods, tramp-rsh-end-of-line):
7413 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
7414 (tramp-save-ad-hoc-proxies): New defcustom.
7415 (tramp-completion-function-alist): Adapt docstring.
7416 (tramp-default-password-end-of-line): Remove defcustom.
7417 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
7418 (tramp-user-regexp, tramp-file-name-regexp-unified)
7419 (tramp-file-name-regexp-url): Extend regexp by hop separator.
7420 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
7421 (tramp-remote-file-name-spec-regexp): New defconst.
7422 (tramp-file-name-structure): Extend structure for hops.
7423 (tramp-get-method-parameter): Move up.
7424 (tramp-file-name-p, tramp-dissect-file-name)
7425 (with-parsed-tramp-file-name): Handle hops.
7426 (tramp-file-name-hop): New defun.
7427 (tramp-make-tramp-file-name): New optional arg HOP.
7428 (tramp-message-show-progress-reporter-message): New defvar.
7429 (tramp-with-progress-reporter): Use it. We cannot use
7430 `tramp-message-show-message' here, because this suppresses also
7431 error buffers.
7432 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
7433 `tramp-message-show-message' is nil.
7434 Use `tramp-get-connection-buffer'.
2fe4b125
MA
7435 (tramp-cleanup): New defun.
7436 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
7437 (tramp-file-name-handler): If `debug-on-error' is set, propagate
7438 an error unchanged.
7439 (tramp-completion-handle-file-name-all-completions): Handle hops.
7440 Fix an error when called from ido.
7441 (tramp-completion-dissect-file-name): Use better local variable
7442 name. Add hop to the vector.
7443 (tramp-handle-insert-file-contents): Use progress-reporter for the
7444 whole scenario.
7445 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
7446 to `t'.
7447 (tramp-check-for-regexp): Simplify search.
7448 (tramp-enter-password): Remove it. Move implementation ...
7449 (tramp-action-password): ... here.
7450 (tramp-mode-string-to-int, tramp-local-host-p)
7451 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
7452 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
7453 Set tramp-autoload cookie.
2fe4b125
MA
7454
7455 * net/trampver.el: Update release number.
7456
74572012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7458 Michael Albinus <michael.albinus@gmx.de>
7459
7460 * net/tramp.el (tramp-set-completion-function): Fix docstring.
7461 (tramp-parse-group, tramp-parse-file)
7462 (tramp-parse-shostkeys-sknownhosts): New defuns.
7463 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
7464 (tramp-parse-shosts-group, tramp-parse-sconfig)
7465 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
7466 (tramp-parse-sknownhosts, tramp-parse-hosts)
7467 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
7468 Use them.
7469 (tramp-parse-passwd-group, tramp-parse-netrc-group)
7470 (tramp-parse-putty-group): Don't narrow.
7471 (tramp-parse-putty): Make a loop.
7472 (tramp-file-name-handler): Catch the `suppress' signal.
7473
72834e10
CY
74742012-06-11 Chong Yidong <cyd@gnu.org>
7475
7476 * image.el (imagemagick-register-types): Put the ImageMagick entry
7477 at the end of image-type-file-name-regexps.
7478
a4712e11
JB
74792012-06-11 Johan Bockgård <bojohan@gnu.org>
7480
7481 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
7482 (pcase, pcase-let*, pcase-dolist): Use them.
7483
82ad98e3
SM
74842012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7485
7486 * emacs-lisp/pcase.el (pcase--let*): New function.
7487 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
7488 (pcase--expand): Use macroexp-let².
7489
f80efb86
SM
74902012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
7491
7492 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
7493 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
7494 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
7495 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
7496 * emacs-lisp/derived.el: Use pcase instead of `cl'.
7497 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
7498
31ca4639 74992012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 7500
31ca4639
CY
7501 * mail/rmail.el (rmail-yank-current-message): Leave point at
7502 correct position. (Bug#11660)
94f0aa34 7503
31ca4639 75042012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 7505
31ca4639 7506 * allout-widgets.el: Fix code header.
9e1b8ec4 7507
31ca4639 75082012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 7509
f80efb86
SM
7510 * cus-edit.el (customize-changed-options-previous-release):
7511 Bump to 24.1.
31ca4639 7512
642b6d30
AS
75132012-06-09 Andreas Schwab <schwab@linux-m68k.org>
7514
7515 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
7516
4f5d2ba1
CY
75172012-06-09 Chong Yidong <cyd@gnu.org>
7518
7519 * ebuff-menu.el (electric-buffer-list): Preserve header line.
7520
e75852fd
MR
75212012-06-09 Martin Rudalics <rudalics@gmx.at>
7522
7523 * window.el (special-display-popup-frame): Don't use
7524 window--display-buffer (Bug#11651).
7525
1e48e282
EZ
75262012-06-09 Eli Zaretskii <eliz@gnu.org>
7527
8a26b487
EZ
7528 Fix parallel builds: make sure loaddefs.el is not being written
7529 while Lisp files are compiled.
7530 (compile): Don't depend on 'mh-autoloads'.
7531 (compile-CMD, compile-SH): Depend on 'autoloads'.
7532 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
7533
1e48e282
EZ
7534 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
7535
6175e34b
CY
75362012-06-09 Chong Yidong <cyd@gnu.org>
7537
7538 * face-remap.el (face-remap-add-relative, face-remap-set-base)
7539 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
7540 Doc fixes (Bug#11225).
7541
d9857e53
SM
75422012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
7543
7544 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
7545 a function if there's a clear indication that it has a compiler-macro.
7546 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
7547 (macro-declarations-alist): Add arglist to declaration functions.
7548 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
7549 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
7550 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
7551 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
7552 Also add autoload to find the compiler macro.
7553 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
7554 (cl--compiler-macro-member, cl--compiler-macro-assoc)
7555 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
7556 (cl--compiler-macro-get): New functions, replacing calls to
7557 cl-define-compiler-macro.
7558 (cl-typep) [compiler-macro]: Use macroexp-let².
7559
f81298f8 75602012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
7561
7562 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
7563 string properly, fixes Bug#11473.
7564
4b56d0fe
CY
75652012-06-08 Chong Yidong <cyd@gnu.org>
7566
7567 * faces.el (set-face-attribute): Doc fix.
7568 (modify-face): Don't use :bold and :italic.
7569 (error, warning, success): Tweak definitions.
7570
7571 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
7572 (custom-modified, custom-set, custom-changed, custom-themed)
7573 (custom-saved, custom-button, custom-button-mouse)
7574 (custom-button-pressed, custom-state, custom-comment-tag)
7575 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
7576 (custom-group-subtitle): Use new-style face specs.
7577 (custom-invalid-face, custom-rogue-face, custom-modified-face)
7578 (custom-set-face, custom-changed-face, custom-saved-face)
7579 (custom-button-face, custom-button-pressed-face)
7580 (custom-documentation-face, custom-state-face)
7581 (custom-comment-face, custom-comment-tag-face)
7582 (custom-variable-tag-face, custom-variable-button-face)
7583 (custom-face-tag-face, custom-group-tag-face-1)
7584 (custom-group-tag-face): Remove obsolete face alias.
7585
7586 * epa.el (epa-validity-high, epa-validity-medium)
7587 (epa-validity-low, epa-mark, epa-field-name, epa-string)
7588 (epa-field-name, epa-field-body):
7589 * font-lock.el (font-lock-comment-face, font-lock-string-face)
7590 (font-lock-keyword-face, font-lock-builtin-face)
7591 (font-lock-function-name-face, font-lock-variable-name-face)
7592 (font-lock-type-face, font-lock-constant-face):
7593 * ido.el (ido-first-match, ido-only-match, ido-subdir)
7594 (ido-virtual, ido-indicator, ido-incomplete-regexp):
7595 * speedbar.el (speedbar-button-face, speedbar-file-face)
7596 (speedbar-directory-face, speedbar-tag-face)
7597 (speedbar-selected-face, speedbar-highlight-face)
7598 (speedbar-separator-face):
7599 * whitespace.el (whitespace-newline, whitespace-space)
7600 (whitespace-hspace, whitespace-tab, whitespace-trailing)
7601 (whitespace-line, whitespace-space-before-tab)
7602 (whitespace-space-after-tab, whitespace-indentation)
7603 (whitespace-empty):
7604 * emulation/cua-base.el (cua-global-mark):
7605 * eshell/em-prompt.el (eshell-prompt):
7606 * net/newst-plainview.el (newsticker-new-item-face)
7607 (newsticker-old-item-face, newsticker-immortal-item-face)
7608 (newsticker-obsolete-item-face, newsticker-date-face)
7609 (newsticker-statistics-face, newsticker-default-face):
7610 * net/newst-reader.el (newsticker-feed-face)
7611 (newsticker-extra-face, newsticker-enclosure-face):
7612 * net/newst-treeview.el (newsticker-treeview-face)
7613 (newsticker-treeview-new-face, newsticker-treeview-old-face)
7614 (newsticker-treeview-immortal-face)
7615 (newsticker-treeview-obsolete-face)
7616 (newsticker-treeview-selection-face):
7617 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
7618 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
7619 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
7620 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
7621 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
7622 (nxml-outline-active-indicator, nxml-outline-ellipsis):
7623 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
7624 (mpuz-text):
7625 * progmodes/vera-mode.el (vera-font-lock-number)
7626 (vera-font-lock-function, vera-font-lock-interface):
7627 * textmodes/table.el (table-cell): Use new-style face specs, and
7628 don't use the old :bold and :italic attributes.
7629
7630 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
7631 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
7632 (ebrowse-member-class, ebrowse-progress): Likewise.
7633 (ebrowse-tree-mark-face, ebrowse-root-class-face)
7634 (ebrowse-file-name-face, ebrowse-default-face)
7635 (ebrowse-member-attribute-face, ebrowse-member-class-face)
7636 (ebrowse-progress-face): Remove obsolete faces.
7637
7638 * progmodes/flymake.el (flymake-errline, flymake-warnline):
7639 Inherit from error and warning faces respectively.
7640
7641 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
7642 Likewise.
f80efb86
SM
7643 (flyspell-incorrect-face, flyspell-duplicate-face):
7644 Remove obsolete aliases.
4b56d0fe 7645
03310646
MA
76462012-06-08 Michael Albinus <michael.albinus@gmx.de>
7647
7648 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
7649 Avoid infloop.
7650
513749ee
SM
76512012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
7652
7653 * startup.el (argv, argi): Make lexically scoped.
7654 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
7655 * emacs-lisp/cl-macs.el: Use lexical-binding.
7656 Rename cl-bind-* to cl--bind-*.
7657 * files.el: Don't require `cl' since it doesn't use it.
7658 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
7659
595ef4ad
JB
76602012-06-08 Juanma Barranquero <lekktu@gmail.com>
7661
7662 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
7663 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
7664 instead of calling external sort utility.
7665 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
7666
e9f66fcb
EZ
76672012-06-08 Eli Zaretskii <eliz@gnu.org>
7668
7669 * descr-text.el (describe-char): Mention how to insert the
7670 character, if the current input method doesn't support it.
7671 See the discussion in this thread for the details:
7672 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
7673
3d10db47
SS
76742012-06-08 Sam Steingold <sds@gnu.org>
7675
7676 * bindings.el (global-map): Bind XF86Forward to next-buffer and
7677 XF86Back to previous-buffer.
7678 (minibuffer-local-map): Bind them to next-history-element and
7679 previous-history-element respectively.
7680 * help-mode.el (help-mode-map): Bind them to help-go-forward and
7681 help-go-back respectively.
7682 * info.el (Info-mode-map): Bind them to Info-history-forward and
7683 Info-history-back respectively.
7684 These are the keys next to Up on the ThinkPad keyboard.
7685
de7e2b36
SM
76862012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
7687
7688 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
7689 * emacs-lisp/cl-macs.el: Provide itself.
7690 (cl--labels-convert-cache): New var.
7691 (cl--labels-convert): New function.
7692 (cl-flet, cl-labels): New implementation with new semantics, relying on
7693 lexical-binding.
7694 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
7695 (cl-closure-vars, cl--function-convert-cache)
7696 (cl--function-convert): Move from cl-macs.el.
7697 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
7698 rename by removing the "cl-" prefix.
7699 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
7700
6fa6c4ae
SM
77012012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7702
7703 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
7704 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
7705 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
7706 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
7707 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
7708 (cl-hash-table-count): Add old compatibility aliases.
7709
7710 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
7711 Use macroexpand-all-environment instead.
7712 (cl--old-macroexpand): New var.
7713 (cl--sm-macroexpand): New function.
7714 (cl-symbol-macrolet): Use it during macro expansion.
7715 (cl--function-convert-cache): New var.
7716 (cl--function-convert): New function, extracted from
7717 cl-macroexpand-all.
7718 (cl-lexical-let): Use it.
7719
7720 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
7721 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
7722 (cl-member): Remove old alias.
7723
7724 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
7725 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
7726 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
7727 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
7728 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
7729 (cl-macroexpand-cmacs): Remove var.
7730 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
7731 Use macroexpand-all instead.
7732
4dd1c416
SM
77332012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7734
7735 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
7736 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
7737 (macroexp-copyable-p): New functions and macros.
7738 * emacs-lisp/edebug.el (edebug-unwrap):
7739 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
7740 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
7741 (pcase--let*): Remove.
7742 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
7743 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
7744 macroexp-const-p instead.
7745 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
7746
7747 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
7748 instead of "cl-" for internal definitions. Use macroexp-const-p.
7749 (cl-old-bc-file-form): Remove var.
7750 (cl-const-exprs-p): Remove fun.
7751 (cl-labels, cl-macrolet): Use backquote.
7752 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
7753 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
7754 (cl-define-setf-expander): Rename from cl-define-setf-method.
7755 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
7756
7757 * international/mule-cmds.el: Don't require CL.
7758 (view-hello-file): Don't use `letf'.
7759
ed8bd4d7
SM
77602012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7761
7287f2f3
SM
7762 * tmm.el (tmm-prompt): Use string-prefix-p.
7763 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
7764 (tmm-add-prompt): Use minibuffer-completion-help.
7765 (tmm-delete-map): Remove.
7766
ed8bd4d7
SM
7767 * subr.el (kbd): Make it its own function.
7768
7b4cdbf4
SM
77692012-06-07 Stefan Merten <smerten@oekonux.de>
7770
7771 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
7772 Silence compiler warnings. Fix versions.
ed8bd4d7 7773 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 7774 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 7775 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
7776 (rst-package-emacs-version-alist): Correct Emacs version to
7777 represent major merge with upstream.
ed8bd4d7 7778 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 7779
2b48d721
GM
77802012-06-06 Glenn Morris <rgm@gnu.org>
7781
7782 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
7783 Only print environment variables if set.
7784
fa779ab0
SM
77852012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
7786
7787 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
7788 (macroexp--cons): Rename from maybe-cons.
7789 (macroexp--accumulate): Rename from macroexp-accumulate.
7790 (macroexp--all-forms): Rename from macroexpand-all-forms.
7791 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
7792 (macroexp--expand-all): Rename from macroexpand-all-1.
7793
628299e0
SS
77942012-06-06 Sam Steingold <sds@gnu.org>
7795
7796 * calendar/calendar.el (calendar-in-read-only-buffer):
7797 Call `special-mode' to enable the standard read-only keybindings.
7798
b7bb5838
SM
77992012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
7800
7801 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
7802 with "loading" messages (bug#11635).
7803
dfb308ba
MA
78042012-06-06 Michael Albinus <michael.albinus@gmx.de>
7805
7806 * files.el (enable-remote-dir-locals): New option.
7807 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
7808
0372ee92
MA
7809 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
7810 Ensure, that the temp directory is local.
7811
7812 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
7813 `temporary-file-directory'.
7814
eed0bb91
MA
7815 * progmodes/python.el (python-send-region): Ensure, that the
7816 temporary file is created also in the remote case.
7817
7a58f64d
GM
78182012-06-06 Glenn Morris <rgm@gnu.org>
7819
f7dd4e98
GM
7820 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
7821 (vc-rcs-update-changelog): Use it.
7822
090bd7cb 7823 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 7824
7a58f64d
GM
7825 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
7826 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
7827 (vc-sccs-diff): Replace use of the external vcdiff script.
7828
daed4003
GM
78292012-06-05 Glenn Morris <rgm@gnu.org>
7830
7831 * ledit.el: Move to obsolete/.
7832
48c455c7
SS
78332012-06-05 Sam Steingold <sds@gnu.org>
7834
ed9265fc 7835 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
7836 patch (Bug#11140).
7837
57a7d507
SM
78382012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7839
090bd7cb 7840 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 7841
53aacf21
SM
7842 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
7843 compiler-macro expansion.
7844
57a7d507
SM
7845 Add native compiler-macro support.
7846 * emacs-lisp/macroexp.el (macroexpand-all-1):
7847 Support compiler-macros directly. Properly follow aliases and apply
7848 the compiler macros more thoroughly.
7849 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
7850 macroexpand now properly follows aliases.
7851 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
7852 (cl-compiler-macroexpand): Use new prop.
7853 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
7854
7855 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
7856
51a5f9d8
MR
78572012-06-05 Martin Rudalics <rudalics@gmx.at>
7858
7859 * window.el (get-lru-window, get-mru-window, get-largest-window):
7860 New argument NOT-SELECTED to avoid picking the selected window.
7861 (window--display-buffer-1, window--display-buffer-2): Replace by
7862 new function window--display-buffer
7863 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
7864 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7865 Use window--display-buffer.
51a5f9d8
MR
7866 (display-buffer-use-some-window): Remove temporary dedication
7867 hack by calling get-lru-window and get-largest-window with
7868 NOT-SELECTED argument non-nil. Call window--display-buffer.
7869
08f9f738
GM
78702012-06-05 Glenn Morris <rgm@gnu.org>
7871
7872 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
7873 Replace external vcdiff script.
7874
e364a2b7
SM
78752012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
7876
7877 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
7878
041df390
CY
78792012-06-04 Chong Yidong <cyd@gnu.org>
7880
e364a2b7
SM
7881 * image.el (imagemagick-types-inhibit): Revert last change.
7882 Add INFO and M.
47b36b94 7883 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 7884
7c1898a7
SM
78852012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
7886
7887 * emacs-lisp/cl-lib.el: Rename from cl.el.
7888 * emacs-lisp/cl.el: New compatibility file.
7889 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
7890 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
7891 to obey the "cl-" prefix.
7892 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
7893
0c3461de
GM
78942012-06-03 Glenn Morris <rgm@gnu.org>
7895
1e266c88
GM
7896 * emacs-lisp/authors.el (authors-aliases): Addition.
7897
0c3461de
GM
7898 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
7899 Fix :version.
7900
d8a52e15
SM
79012012-06-03 Stefan Merten <smerten@oekonux.de>
7902
7903 * textmodes/rst.el: Add comments.
7904 (rst-transition, rst-adornment): New faces.
7905 (rst-adornment-faces-alist): Make default safe to reevaluate.
7906 Fixes
7907 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
7908 Improve customization tags.
7909 (rst-define-level-faces): Clarify meaning.
7910
5205d6f6
CY
79112012-06-03 Chong Yidong <cyd@gnu.org>
7912
7913 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
7914 (compilation-mode-line-run, compilation-mode-line-exit):
7915 New faces.
5205d6f6
CY
7916 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
7917
757ee657
JD
79182012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
7919
7c1898a7
SM
7920 * progmodes/which-func.el (which-func-update-ediff-windows):
7921 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 7922
5f2c76c6
CY
79232012-06-03 Chong Yidong <cyd@gnu.org>
7924
7925 * bindings.el: Remove explicit help text from format-mode-line.
7926 It is now supplied by mode-line-default-help-echo.
7927 (mode-line-front-space, mode-line-end-spaces)
7928 (mode-line-misc-info): New variables.
7929 (mode-line-modes, mode-line-position): Move the default value to
7930 the variable definition.
7931 (mode-line-default-help-echo): New defcustom.
383f7350
CY
7932 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
7933 (mode-line-modified-help-echo): New functions.
7934 (mode-line-mule-info, mode-line-modified): Use them.
7935 (mode-line-eol-desc, propertized-buffer-identification):
7936 Consistency fixes for help text.
cbe46e5f
CY
7937 (mode-line-coding-system-map): Allow using mouse-3 to invoke
7938 set-buffer-file-coding-system (Bug#289).
7939 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 7940
f2d6a3df
SM
79412012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
7942
7943 * simple.el (execute-extended-command): Set real-this-command
7944 (bug#11506).
7945
37269466
CY
79462012-06-02 Chong Yidong <cyd@gnu.org>
7947
7948 Remove incorrect uses of "modeline" in comments, docstrings, and
7949 function/variable names (Bug#10329).
7950
7951 * cus-edit.el (mode-line):
7952 * dframe.el (dframe-mouse-hscroll):
7953 * emacs-lisp/re-builder.el:
7954 * emacs-lisp/easy-mmode.el (define-minor-mode):
7955 * frame.el (set-frame-name):
7956 * help.el (lookup-minor-mode-from-indicator):
7957 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
7958 * progmodes/cc-cmds.el (c-toggle-auto-newline)
7959 (c-toggle-hungry-state):
7960 * progmodes/antlr-mode.el (antlr-language-alist):
7961 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
7962 * progmodes/vhdl-mode.el (vhdl-mode):
7963 * progmodes/which-func.el (which-func, which-func-cleanup-function):
7964 * term/ns-win.el (ns-face-at-pos):
7965 * term/sup-mouse.el (sup-mouse-report):
7966 * textmodes/flyspell.el (flyspell-mode-line-string):
7967 * textmodes/ispell.el (ispell-highlight-face):
7968 * textmodes/reftex-global.el:
7969 * vc/vc-arch.el (vc-arch-mode-line-string):
7970 * vc/vc-cvs.el (vc-cvs-mode-line-string):
7971 * vc/vc-git.el (vc-git-mode-line-string):
7972 * vc/vc-hooks.el (vc-display-status)
7973 (vc-default-mode-line-string):
7974 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
7975
7976 * ansi-color.el (ansi-color-faces-vector): Change default faces.
7977
7978 * dired.el (dired-sort-set-mode-line): Rename from
7979 dired-sort-set-modeline. All callers changed.
7980
7981 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
7982 eshell-status-in-modeline.
7983
7984 * foldout.el (foldout-mode-line-string): Rename from
7985 foldout-modeline-string. All callers changed.
7986 (foldout-update-mode-line): Rename from foldout-update-modeline.
7987
7988 * subr.el (redraw-modeline): Make into obsolete alias.
7989
7990 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
7991 timeclock-modeline-display. Make old name an alias.
7992 (timeclock-update-mode-line): Likewise. All callers changed.
7993 (timeclock-mode-line-display): No need to check before using
7994 add-hook.
7995 (timeclock-relative, timeclock-day-over-hook)
7996 (timeclock-use-elapsed, timeclock-mode-string)
7997 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
7998
7999 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
8000 crisp-mode-modeline-string.
8001
8002 * play/solitaire.el (solitaire-build-mode-line): Rename from
8003 solitaire-build-modeline. All callers changed.
8004
8005 * play/zone.el (zone-hiding-mode-line): Rename from
8006 zone-hiding-modeline. All callers changed.
8007 (zone): Remove unusued `modeline-hidden-level' property.
8008
8009 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
8010 xscheme-modeline-initialize. All callers changed.
8011
8012 * strokes.el (strokes-lighter): Rename from
8013 strokes-modeline-string.
8014
8015 * textmodes/sgml-mode.el (html-face-tag-alist)
8016 (html-tag-face-alist): Use mode-line face instead of obsolete
8017 alias modeline.
8018
42152ee4
SM
80192012-06-02 Stefan Merten <smerten@oekonux.de>
8020
8021 * textmodes/rst.el: Always require `cl'.
4cf9b38d 8022 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 8023
95f520b5
CY
80242012-06-02 Chong Yidong <cyd@gnu.org>
8025
8026 * image.el (imagemagick-enabled-types): Rename from
8027 imagemagick-types-enable. Add many more types.
8028 (imagemagick-types-inhibit): Change default to nil.
8029 (imagemagick-filter-types): Caller changed.
8030
4a5f187a
SM
80312012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
8032
03fef3e6
SM
8033 * emacs-lisp/cl-macs.el: Use backquotes.
8034 (cl-transform-function-property): Use eval-and-compile rather than
8035 abusing `require'.
8036 (defstruct): Use declare-function instead of with-no-warnings.
8037
4a5f187a
SM
8038 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
8039 (byte-compile-output-docform): Re-add the print-circle bindings.
8040 (byte-compile-fix-header): Use #$ just because it's shorter.
8041 (byte-compile-output-file-form): Remove defun/defmacro.
8042
bd56924f
MR
80432012-06-01 Martin Rudalics <rudalics@gmx.at>
8044
8045 * simple.el (choose-completion): Remove now obsolete binding for
8046 owindow.
8047
046e38ce
MA
80482012-06-01 Michael Albinus <michael.albinus@gmx.de>
8049
8050 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
8051 in order to avoid "Stack overflow in regexp matcher".
8052
32d72c2f
GM
80532012-05-31 Glenn Morris <rgm@gnu.org>
8054
8055 * image.el: For clarity, call imagemagick-register-types at
8056 top-level, rather than relying on a custom :initialize.
8057 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
8058 (imagemagick-filter-types): New function. (Bug#7406)
8059 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
8060 If disabling support, remove elements altogether rather
8061 than using an impossible regexp.
8062 (imagemagick-types-inhibit): Give it the default init function.
8063
dd41169b
SM
80642012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8065
4a5f187a
SM
8066 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
8067 Handle arbitrary file name lengths (Bug#11585).
dd41169b 8068
efc00ab1 80692012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
8070
8071 * desktop.el (desktop-read): Clear previous and next buffers for
8072 all windows and bury *Messages* buffer (bug#11556).
8073
500fcedc
SM
80742012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8075
8076 Add `declare' for `defun'. Align `defmacro's with it.
8077 * emacs-lisp/easy-mmode.el (define-minor-mode)
8078 (define-globalized-minor-mode): Don't autoload the var definitions.
8079 * emacs-lisp/byte-run.el: Use lexical-binding.
8080 (defun-declarations-alist, macro-declarations-alist): New vars.
8081 (defmacro, defun): Use them.
8082 (make-obsolete, define-obsolete-function-alias)
8083 (make-obsolete-variable, define-obsolete-variable-alias):
8084 Use `declare'.
8085 (macro-declaration-function): Mark obsolete.
8086 * emacs-lisp/autoload.el: Use lexical-binding.
8087 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
8088
6e8a1786
AM
80892012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8090
8091 * textmodes/ispell.el (ispell-with-no-warnings):
8092 Define as a macro.
500fcedc
SM
8093 (ispell-kill-ispell, ispell-change-dictionary):
8094 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
8095 `interactive-p'.
8096
61b108cc
SM
80972012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8098
8099 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
8100 (macro-declaration-function): Move var from C code.
8101 (macro-declaration-function): Define function with defalias.
8102 * emacs-lisp/macroexp.el (macroexpand-all-1):
8103 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
8104 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
8105 defun/defmacro any more.
8106 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
8107 Provide fallback for unknown arglist.
8108 (byte-compile-arglist-warn): Change calling convention.
8109 (byte-compile-output-file-form): Move print-vars binding.
8110 (byte-compile-output-docform): Simplify accordingly.
8111 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
8112 (byte-compile-defmacro-declaration): Remove.
8113 (byte-compile-file-form-defmumble): Generalize to defalias.
8114 (byte-compile-output-as-comment): Return byte-positions.
8115 Simplify callers accordingly.
8116 (byte-compile-lambda): Use `assert'.
8117 (byte-compile-defun, byte-compile-defmacro): Remove.
8118 (byte-compile-file-form-defalias):
8119 Use byte-compile-file-form-defmumble.
8120 (byte-compile-defalias-warn): Remove.
8121
6d3f7c2f
SM
81222012-05-29 Stefan Merten <smerten@oekonux.de>
8123
8124 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 8125 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
8126
8127 (rst-mode-abbrev-table): Merge definition.
8128 (rst-mode): Make sure `font-lock-defaults' is buffer local.
8129 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
8130
6dbaa1c7
UJ
81312012-05-29 Ulf Jasper <ulf.jasper@web.de>
8132
8133 * calendar/icalendar.el
8134 (icalendar-export-region): Export UID properly.
8135
d209e2fb 81362012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
8137 * calendar/icalendar.el (icalendar-import-format):
8138 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
8139 (icalendar-import-format-uid): New.
8140 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
8141 Export UID.
8142
6876a58d
SM
81432012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
8144
8145 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
8146 different alternative patterns.
8147 (pcase-codegen): Be more careful to preserve identity.
8148 (pcase--u1): Don't forget to mark vars as used.
8149
8150 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
8151 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
8152 (byte-compile-from-buffer): ...rather than here.
8153
8154 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
8155 functions from byte-compile-function-environment.
8156
46b7967e
TN
81572012-05-29 Troels Nielsen <bn.troels@gmail.com>
8158
8159 * window.el (window-deletable-p): Avoid deleting the root window
8160 of a frame with an active minibuffer.
8161
69d565e2
MR
81622012-05-29 Martin Rudalics <rudalics@gmx.at>
8163
8164 * simple.el (choose-completion): Use quit-window (Bug#11567).
8165
a149fa51
CY
81662012-05-29 Chong Yidong <cyd@gnu.org>
8167
8168 * whitespace.el (whitespace-cleanup): Fix usage of
8169 whitespace-empty-at-bob-regexp (Bug#11492).
8170
2b311310
AH
81712012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
8172
8173 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
8174 revert (Bug#11488).
8175
b9cb2387
JL
81762012-05-29 Juri Linkov <juri@jurta.org>
8177
8178 * isearch.el (isearch-mode-map): Bind `M-s _' to
8179 `isearch-toggle-symbol'. Bind `M-s c' to
8180 `isearch-toggle-case-fold'.
8181 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
8182 (isearch-forward): Add `M-s _' to the docstring.
8183 (isearch-forward-symbol, isearch-toggle-case-fold)
8184 (isearch-symbol-regexp): New functions. (Bug#11381)
8185
d5e61c1c
JL
81862012-05-29 Juri Linkov <juri@jurta.org>
8187
8188 * isearch.el (isearch-word): Add docstring. (Bug#11381)
8189 (isearch-occur, isearch-search-and-update): If `isearch-word' is
8190 a function, call it to get the regexp.
8191 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
8192 property `isearch-message-prefix' instead of the string "word ".
8193 (isearch-search-fun-default): For the case of `isearch-word',
8194 return a lambda that calls re-search-forward/re-search-backward
8195 with a regexp returned by `word-search-regexp' or by the function
8196 in `isearch-word'.
8197
8cbd80f7
JL
81982012-05-29 Juri Linkov <juri@jurta.org>
8199
8200 * isearch.el (isearch-search-fun-default): New function.
8201 (isearch-search-fun): Move default part to the new function
8202 `isearch-search-fun-default'.
8203 (isearch-search-fun-function): Set the default value to
8204 `isearch-search-fun-default'. (Bug#11381)
8205
8206 * comint.el (comint-history-isearch-end):
8207 Use `isearch-search-fun-default'.
8208 (comint-history-isearch-search): Use `isearch-search-fun-default'
8209 and remove spacial case for `isearch-word'.
8210 (comint-history-isearch-wrap): Remove spacial case for
8211 `isearch-word'.
8212
8213 * hexl.el (hexl-isearch-search-function):
8214 Use `isearch-search-fun-default'.
8215
8216 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
8217 Use `word-search-regexp' for `isearch-word'.
8218
8219 * misearch.el (multi-isearch-search-fun):
8220 Use `isearch-search-fun-default'.
8221
8222 * simple.el (minibuffer-history-isearch-search):
8223 Use `isearch-search-fun-default' and remove spacial case for
8224 `isearch-word'.
8225 (minibuffer-history-isearch-wrap): Remove spacial case for
8226 `isearch-word'.
8227
8228 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
8229 Remove spacial case for `isearch-word'.
8230 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
8231
85c8c5b6
AM
82322012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8233
8234 Decrease XEmacs incompatibilities.
8235 * textmodes/flyspell.el (flyspell-check-pre-word-p):
8236 Use `string-match'.
8237 (flyspell-delete-region-overlays): Use alternative definition for
8238 XEmacs.
8239 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
8240 (flyspell-word): Use `process-kill-without-query' if XEmacs.
8241 (flyspell-mode-on): Use `interactive-p' if XEmacs.
8242 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
8243 `define-obsolete-face-alias' under XEmacs, but old method.
8244
8245 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
8246 `with-no-warnings' definition or Emacs alias.
8247 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
8248 (ispell-word): Do not use `region-p' if XEmacs.
8249
8cab9efc
AM
82502012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8251
8252 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
8253 Check for `ispell-dictionary-base-alist' instead of full
8254 `ispell-dictionary-alist'.
8255 (ispell-init-process): Show spellchecker when starting new Ispell
8256 process.
8257
fda91268
RZ
82582012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
8259
8260 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
8261 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
8262
694ea8e3
JB
82632012-05-27 Juanma Barranquero <lekktu@gmail.com>
8264
8265 * version.el (motif-version-string, gtk-version-string)
8266 (ns-version-string): Declare.
8267
e4d4f539
JL
82682012-05-27 Juri Linkov <juri@jurta.org>
8269
8270 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
8271 after the `eval-defun-1' specialcaseing
8272 like in `edebug-eval-defun' (bug#10181).
8273
8274 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
8275 like in `eval-defun-1'.
8276
33017faf 82772012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 8278
fda91268
RZ
8279 * mail/sendmail.el (mail-yank-region):
8280 Recognize rmail-yank-current-message in addition to insert-buffer.
8281 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
8282 a *mail* buffer created through rmail-start-mail with sendmail as
8283 mail-user-agent.
8284
33017faf
GM
82852012-05-27 Chong Yidong <cyd@gnu.org>
8286
8287 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
8288 Default to 256 (Bug#11267).
8289
8290 * help.el (describe-mode): Doc fix.
8291
04188bb9
GM
82922012-05-26 Glenn Morris <rgm@gnu.org>
8293
38264cc9
GM
8294 * w32-fns.el (w32-init-info): Remove.
8295 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
8296
eb7afdad
GM
8297 * info.el (info-initialize): For self-contained NS builds, put the
8298 included info/ directory at the front. (Bug#2791)
8299
04188bb9
GM
8300 * paths.el (Info-default-directory-list): Make it a defcustom,
8301 mainly so that we can use custom-initialize-delay.
8302
a179e3f7
SM
83032012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
8304
43416392
SM
8305 * subr.el (buffer-has-markers-at): Mark obsolete.
8306
a179e3f7 8307 * subr.el (lambda): Use declare.
43416392 8308
a179e3f7
SM
8309 * emacs-lisp/lisp-mode.el (lambda):
8310 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
8311
34a008d9
AH
83122012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
8313
8314 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
8315
0a3b289f
GM
83162012-05-26 Glenn Morris <rgm@gnu.org>
8317
8318 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
8319
758c81e8
GM
83202012-05-25 Glenn Morris <rgm@gnu.org>
8321
f9f334f0
GM
8322 * paths.el: Remove no-byte-compile.
8323 * loadup.el: No need to load paths.el uncompiled.
8324
87eb79c2
GM
8325 * image.el (imagemagick-types-inhibit): Doc fix.
8326
758c81e8
GM
8327 * version.el: Remove no-byte-compile and associated formatting.
8328 * loadup.el: No need to load version.el uncompiled. AFAICS, this
8329 is ancient code from when there was an "inc-vers.el".
8330
e7e85dc0
SM
83312012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8332
8333 * progmodes/gdb-mi.el: Minor style changes.
8334 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
8335 Turn into minor modes.
8336 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
8337 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
8338 (gdb-shell): Remove unneeded let-binding.
8339 (gdb-get-many-fields): Eliminate O(n²) behavior.
8340
f31237a4
EZ
83412012-05-25 Eli Zaretskii <eliz@gnu.org>
8342
8343 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
8344 platforms that don't link in fontset.c.
8345
bc1b21bb
JL
83462012-05-25 Juri Linkov <juri@jurta.org>
8347
8348 Use the same diff color scheme as in modern VCSes (bug#10181).
8349
8350 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
8351 to avoid confusion with `diff-added' that now uses green colors.
8352 (diff-removed): Use shades of red.
8353 (diff-added): Use shades of green.
8354 (diff-changed): Leave just the yellow color.
8355 (diff-use-changed-face): New variable.
8356 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
8357 how to highlight context diff changes.
8358 (diff-refine-change): Use shades of yellow.
8359 (diff-refine-removed): New face that uses shades of red.
8360 (diff-refine-added): New face that uses shades of green.
8361 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
8362 `diff-refine-removed' in the call to `smerge-refine-subst'
8363 depending on the value of `diff-use-changed-face'.
8364
8365 * vc/smerge-mode.el (smerge-mine): Use shades of red.
8366 (smerge-other): Use shades of green.
8367 (smerge-base): Use shades of yellow.
8368 (smerge-refined-change): Empty face.
8369 (smerge-refined-removed): New face that uses shades of red.
8370 (smerge-refined-added): New face that uses shades of green.
8371 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
8372 args `props-r' and `props-a', and use them. Doc fix.
8373 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
8374 on its value use different faces `smerge-refined-change',
8375 `smerge-refined-removed', `smerge-refined-added' in the call to
8376 `smerge-refine-subst'.
8377
8378 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
8379 Add face condition `min-colors 88' with shades of red.
8380 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
8381 `min-colors 88' with shades of green.
8382 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
8383 `min-colors 88' with shades of yellow.
8384
6df9112c
GM
83852012-05-24 Glenn Morris <rgm@gnu.org>
8386
ead5edc0
GM
8387 * paths.el (prune-directory-list, remote-shell-program): Move to...
8388 * files.el (prune-directory-list, remote-shell-program): ...here.
8389 For the latter, delay initialization, prefer ssh, just search PATH.
8390
f18b81e6
GM
8391 * paths.el (term-file-prefix): Move to faces.el (the only user).
8392 * faces.el (term-file-prefix): Move here, make it a defcustom.
8393
ee2f89a6
GM
8394 * paths.el (news-directory, news-path, news-inews-program):
8395 Move to gnus/nnspool.el.
61a583ca 8396
f8815e4c
GM
8397 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
8398
c8f3b42c
GM
8399 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
8400 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
8401 Make the latter a defcustom, with a delayed initialization.
8402
6df9112c
GM
8403 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
8404 These were deleted from Gnus itself late 2010.
8405
5dadff36
JB
84062012-05-22 Juanma Barranquero <lekktu@gmail.com>
8407
9e1701c6
JB
8408 * progmodes/which-func.el (which-func-ff-hook):
8409 Check against user-error, not error.
8410
bd7239f5 8411 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
8412 cl-specs.el, which no longer exists.
8413
3290526d
GM
84142012-05-22 Glenn Morris <rgm@gnu.org>
8415
8416 * info.el (info-emacs-bug): New command.
8417 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
8418 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
8419
ff0c3cfb
GM
84202012-05-21 Glenn Morris <rgm@gnu.org>
8421
8422 * makefile.w32-in (update-subdirs-SH):
8423 * Makefile.in (update-subdirs): Update for moved update-subdirs.
8424
5814f126
SM
84252012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
8426
a52c0aa0
SM
8427 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
8428
5814f126
SM
8429 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8430 Simplify Maven regexp, and make sure the file can't start with a space
8431 (bug#11517).
8432
b847032c
GM
84332012-05-21 Glenn Morris <rgm@gnu.org>
8434
8435 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
8436 Scrap superfluous subshells.
8437
3858bfe7
SM
84382012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
8439
8440 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
8441 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
8442
d14b0029
JB
84432012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
8444
8445 * calc/calc.el (calc-ensure-consistent-units): New variable.
8446
a52c0aa0
SM
8447 * calc/calc-units.el (math-consistent-units-p)
8448 (math-check-unit-consistency): New functions.
8449 (calc-quick-units, calc-convert-units):
8450 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
8451 is non-nil.
d14b0029
JB
8452 (calc-extract-units): Fix typo.
8453
60c4db3a
SM
84542012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
8455
77f3b62e
SM
8456 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
8457
60c4db3a
SM
8458 * textmodes/flyspell.el: Commenting style, plus code simplifications.
8459 (flyspell-default-deplacement-commands): Don't spell check after
8460 repeated window/frame switches (e.g. triggered by mouse-movement).
8461 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
8462 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
8463 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
8464 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
8465 Remove unused vars.
8466 (flyspell-get-casechars, flyspell-get-not-casechars):
8467 Simplify; Don't bother removing a ] just to add it back.
8468 * textmodes/ispell.el (ispell-program-name): Use executable-find.
8469
d209e2fb 84702012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
8471
8472 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
8473 New functions.
bd7239f5 8474 (math-function-table): Add support for more C functions.
b1a10716 8475
3f1b25b5
AM
84762012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8477
090bd7cb
JB
8478 * textmodes/flyspell.el (flyspell-check-pre-word-p)
8479 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
8480 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 8481
b581bb5c
SM
84822012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
8483
8484 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
8485 their respective macro declarations.
8486 * skeleton.el (define-skeleton):
8487 * progmodes/compile.el (define-compilation-mode):
8488 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
8489 (define-ibuffer-filter):
8490 * emacs-lisp/generic.el (define-generic-mode):
8491 * emacs-lisp/easy-mmode.el (define-minor-mode)
8492 (define-globalized-minor-mode):
8493 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
8494 * emacs-lisp/byte-run.el (defsubst):
8495 * custom.el (deftheme): Add doc-string metadata.
8496
70b8ef8f
SM
84972012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8498
8499 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
8500
b1198e17
SM
85012012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8502
9abdc45d
SM
8503 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
8504
b1198e17
SM
8505 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
8506 * emacs-lisp/cl-macs.el: Idem.
8507 * emacs-lisp/cl-specs.el: Remove.
8508
4735906a
SM
85092012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8510
8511 Minor renaming of internal CL functions and variables.
8512 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
8513 (cl--position): Rename from cl-position.
8514 (cl--delete-duplicates): Rename from cl-delete-duplicates.
8515 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
8516 (cl--random-state): Rename from *random-state*.
8517
ac348012
SM
85182012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8519
8520 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
8521 parens around the arg list (bug#11499).
8522
a0a79cde
JL
85232012-05-17 Juri Linkov <juri@jurta.org>
8524
8525 * isearch.el (word-search-regexp, word-search-backward)
8526 (word-search-forward, word-search-backward-lax)
8527 (word-search-forward-lax): Move functions from search.c
8528 (bug#10145, bug#11381).
8529
65034a51
AM
85302012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8531
090bd7cb
JB
8532 * textmodes/flyspell.el (flyspell-check-pre-word-p)
8533 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
8534 Delay for otherchars as for normal word components.
65034a51 8535
1a72a195
SM
85362012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
8537
8538 * minibuffer.el (completion--sifn-requote): Fix last change.
8539 (minibuffer-local-must-match-filename-map):
8540 Move define-obsolete-variable-alias before its var.
8541
fdb058c2
SM
85422012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8543
c41045e6
SM
8544 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
8545
036dfb8b
SM
8546 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
8547 behavior.
8548 (completion--string-equal-p): New function.
8549 (completion--twq-all): Use it to get better assertion failure data.
8550
2473256d
SM
8551 Only handle ".." and '..' quoting in shell-mode (bug#11466).
8552 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
8553 (shell--requote-argument): New functions.
8554 (shell-completion-vars): Use them.
8555 (shell--parse-pcomplete-arguments): Rename from
8556 shell-parse-pcomplete-arguments.
8557 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
8558 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
8559 Obey comint-file-name-quote-list.
8560
fdb058c2
SM
8561 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
8562 (smie-indent-keyword): Use it.
8563
51fa99f1
SM
85642012-05-14 Stefan Merten <smerten@oekonux.de>
8565
8566 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
8567
e18afed7 85682012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
8569
8570 * net/rlogin.el (rlogin-mode-map): Fix last change.
8571
e18afed7 85722012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
8573
8574 * mail/smtpmail.el (smtpmail-send-command): Send the command and
8575 the following \r\n using a single `process-send-string', since the
8576 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 8577 with two `process-send-string's (Bug#11444).
8633b1f4 8578
e18afed7 85792012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 8580
fdb058c2
SM
8581 * shell.el (shell-parse-pcomplete-arguments):
8582 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 8583
2d21d7f6
WJ
85842012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
8585
e18afed7 8586 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
8587 (image-transform-scale, image-transform-right-angle-fudge): New vars.
8588 (image-transform-width, image-transform-fit-width): New functions.
8589 (image-transform-properties): Use them.
8590 (image-transform-check-size): New function.
8591 (image-toggle-display-image): Use it (for testing).
8592 (image-transform-set-rotation): Reduce angle mod 360.
8593 Delete obsolete comment.
8594
7102e6d0
WJ
85952012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
8596
8597 * image-mode.el: Fix scaling (bug#11399).
8598 (image-transform-resize): Doc fix.
8599 (image-transform-properties): Default scale is 1 and height should
8600 be an integer.
8601
06bc5e6e
SM
86022012-05-13 Johan Bockgård <bojohan@gnu.org>
8603
8604 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
8605 than hard-coding `car', to fix misbehavior when moving forward.
8606
0ae03b6a
CY
86072012-05-13 Chong Yidong <cyd@gnu.org>
8608
8609 * emacs-lisp/tabulated-list.el (tabulated-list-format)
8610 (tabulated-list-entries, tabulated-list-padding)
8611 (tabulated-list-sort-key): Make permanent-local.
8612
8613 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
8614 (electric-buffer-list): Put electric buffer menu
8615 command descriptions in this docstring, instead of the docstring
8616 of electric-buffer-menu-mode. Code cleanups.
8617 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
8618 Electric-buffer-menu-mode.
8619 (electric-buffer-update-highlight): Minor code cleanup.
8620
205a7391
MA
86212012-05-13 Michael Albinus <michael.albinus@gmx.de>
8622
8623 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
8624 (Bug#11447)
8625
e5bd0a28
SM
86262012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
8627
8628 Move define-obsolete-variable-alias before the var's definition.
8629 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
8630 * tooltip.el (tooltip-hook):
8631 * textmodes/reftex-toc.el (reftex-toc-map):
8632 * textmodes/reftex-sel.el (reftex-select-label-map)
8633 (reftex-select-bib-map):
8634 * textmodes/reftex-index.el (reftex-index-map)
8635 (reftex-index-phrases-map):
8636 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
8637 * progmodes/meta-mode.el (meta-mode-map):
8638 * novice.el (disabled-command-hook):
8639 * loadhist.el (unload-hook-features-list):
8640 * frame.el (blink-cursor):
8641 * files.el (find-file-not-found-hooks, write-file-hooks)
8642 (write-contents-hooks):
8643 * emulation/tpu-edt.el (GOLD-map):
8644 * emacs-lock.el (emacs-lock-from-exiting):
8645 * emacs-lisp/generic.el (generic-font-lock-defaults):
8646 * emacs-lisp/chart.el (chart-map):
8647 * dos-fns.el (register-name-alist):
8648 * dired-x.el (dired-omit-files-p):
8649 * desktop.el (desktop-enable):
8650 * cus-edit.el (custom-mode-hook):
8651 * buff-menu.el (buffer-menu-mode-hook):
8652 * bookmark.el (bookmark-read-annotation-text-func)
8653 (bookmark-exit-hooks):
8654 * allout.el (allout-mode-deactivate-hook)
8655 (allout-exposure-change-hook, allout-structure-added-hook)
8656 (allout-structure-deleted-hook, allout-structure-shifted-hook):
8657 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
8658 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
8659 comes before the corresponding variable's definition.
8660
ac59c2f6
CY
86612012-05-12 Chong Yidong <cyd@gnu.org>
8662
8663 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
8664 (Buffer-menu-mouse-select): Restore function (Bug#11459).
8665 (Buffer-menu-mode-map): Bind it.
8666 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 8667
dee6c9a3
SM
86682012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
8669
2171cea5
SM
8670 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
8671 (prolog-upper-case-string, prolog-lower-case-string)
8672 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
8673 (prolog-use-smie, prolog-smie-grammar): New vars.
8674 (prolog-smie-forward-token, prolog-smie-backward-token)
8675 (prolog-smie-rules): New funs.
8676 (prolog-comment-indent): Remove.
8677 (prolog-mode-variables): Use default comment indentation instead.
8678 Setup SMIE.
8679 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
8680 (prolog-mode): Don't call them any more.
8681 (prolog-electric-colon, prolog-electric-dash)
8682 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
8683
aa0382bd
SM
8684 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
8685
dbacb4bd
SM
8686 * minibuffer.el (completion--twq-all): Again, allow case differences.
8687
13bdd94c
SM
8688 * term.el: Move keymap initialization code to be more idiomatic.
8689 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
8690 (term-terminal-menu): Move initialization into declaration.
8691 (term-escape-char): Let the user set it in her .emacs.
8692
ff46c759
SM
8693 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
8694 Provide SMIE-based indentation (not enabled by default yet).
8695 (sh-mode-map): Don't bind electric keys.
8696 Use electric-pair-mode instead of skeleton-pair.
8697 (sh-assignment-regexp): Fit within 80 columns.
8698 (sh-indent-supported): Specify actual shell name instead of boolean.
8699 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
8700 (sh-maybe-here-document): Use it. Make obsolete.
8701 (sh-electric-here-document-mode) New minor mode.
8702 (sh-mode): Use it. Don't set sh-indent-supported-here here.
8703 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
8704 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
8705 (sh-smie-rc-grammar, sh-use-smie): New vars.
8706 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
8707 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
8708 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
8709 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
8710 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
8711 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
8712 (sh-set-shell): Use smie-setup if requested.
8713
dee6c9a3
SM
8714 * term.el (term-set-escape-char): Properly set term-escape-char.
8715 See http://stackoverflow.com/questions/10524656.
8716
9f9aa044
CY
87172012-05-10 Chong Yidong <cyd@gnu.org>
8718
8719 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
8720 Use url-generic-parse-url, and handle host names and Windows
8721 filenames properly.
8722 (ffap-url-unwrap-remote): Use url-generic-parse-url.
8723 (ffap-url-unwrap-remote): Accept list values, specifying a list of
8724 URL schemes to work on.
8725 (ffap--toggle-read-only): New function.
8726 (ffap-read-only, ffap-read-only-other-window)
8727 (ffap-read-only-other-frame): Use it.
8728 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
8729 necessary for ffap-url-unwrap-remote.
8730
836d29b3
DA
87312012-05-10 Dave Abrahams <dave@boostpro.com>
8732
8733 * cus-start.el (create-lockfiles): Add it.
8734
00fd78ed
CY
87352012-05-09 Chong Yidong <cyd@gnu.org>
8736
8737 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
8738 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
8739
666b903b 87402012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
8741
8742 * shell.el (shell-completion-vars): Fix last change (bug#11348).
8743
666b903b 87442012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
8745
8746 * ansi-color.el (ansi-color-process-output): Check for validity of
8747 comint-last-output-start before using it. This avoids a bad
8748 interaction with gdb-mi's input/output buffer.
8749
666b903b 87502012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
8751
8752 * files.el (dir-locals-read-from-file):
8753 Mention dir-locals in any error message.
8754
666b903b 87552012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
8756
8757 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
8758 package (Bug#11410).
8759
f677562b
CY
8760 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
8761 variables into description.
8762
666b903b 87632012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
8764
8765 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
8766 shell-delimiter-argument-list (bug#11348).
8767 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
8768
b499d8d0
JB
87692012-05-09 Juanma Barranquero <lekktu@gmail.com>
8770
8f6b6da8
JB
8771 * textmodes/rst.el: Silence byte-compiler warnings.
8772 (rst-re-alist, rst-reset-section-caches): Move around.
8773 (rst-re): Use `characterp', not `char-valid-p'.
8774 (font-lock-beg, font-lock-end): Declare.
8775
4824146a
JB
8776 * progmodes/idlw-shell.el (specs): Remove reference to deleted
8777 variable `idlwave-shell-activate-alt-keybindings' and simplify.
8778
b499d8d0
JB
8779 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
8780
ad89bb83
GM
87812012-05-08 Glenn Morris <rgm@gnu.org>
8782
8783 * files.el (auto-mode-alist): Treat ".make" like ".mk".
8784
8bba5a75
SM
87852012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8786
49ed9c8e
SM
8787 * vc/log-edit.el: Add GNU coding standards highlighting.
8788 (log-edit-font-lock-gnu-style)
8789 (log-edit-font-lock-gnu-keywords): New vars.
8790 (log-edit-font-lock-keywords): New fun.
8791 (log-edit-mode): Don't fold case in font-lock.
8792 (log-edit-font-lock-keywords): Do not assume case-folding.
8793
07d00b56
SM
8794 * imenu.el: Misc cleanup. Make docstrings out of comments.
8795 Use lexical-binding.
8796 (imenu--index-alist, imenu--last-menubar-index-alist)
8797 (imenu-menubar-modified-tick): Use defvar-local.
8798 (imenu--split-menu): Remove unused var.
8799 (imenu--cleanup-seen): Declare as global.
8800 (imenu--cleanup): Use dolist.
8801
8bba5a75
SM
8802 * subr.el (defvar-local): Add debug spec and doc-string position.
8803
5075bdb5
GM
88042012-05-08 Glenn Morris <rgm@gnu.org>
8805
090bd7cb 8806 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
8807 * language/english.el, language/georgian.el, language/greek.el:
8808 * language/japanese.el, language/khmer.el, language/korean.el:
8809 * language/lao.el, language/misc-lang.el, language/romanian.el:
8810 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
8811 * language/thai.el, language/utf-8-lang.el:
8812 Remove no-byte-compile setting.
8813
5075bdb5
GM
8814 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
8815
06f679a7
AH
88162012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
8817
8818 * progmodes/make-mode.el (makefile-browse):
8819 Remove unnecessary interactive. (Bug#11324)
8820
03794570
GM
88212012-05-07 Glenn Morris <rgm@gnu.org>
8822
af8630f4
GM
8823 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
8824
03794570
GM
8825 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
8826
f0809a9d
SM
88272012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
8828
28be5ce7
SM
8829 * loadup.el: Preload newcomment.el.
8830 * newcomment.el: Move autoload-only code to toplevel.
8831
f0809a9d
SM
8832 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
8833 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
8834 Handle new :right-align column property.
8835 (tabulated-list-print-col): Idem, plus use `display' text-property to
8836 try and preserve alignment for variable pitch fonts.
8837
1241b724
CY
88382012-05-07 Chong Yidong <cyd@gnu.org>
8839
8840 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
8841 (tabulated-list-use-header-line): New var.
8842 (tabulated-list-init-header): Use it.
8843 (tabulated-list-print-fake-header): New function.
8844 (tabulated-list-print): Use it.
8845 (tabulated-list-sort-button-map): Add non-header-line commands.
8846 (tabulated-list-init-header): Add column name property to basic
8847 labels as well.
8848 (tabulated-list-col-sort): Handle non-header-line button case.
8849 (tabulated-list--sort-by-column-name): Fix a corner case.
8850
f0809a9d
SM
8851 * buff-menu.el (list-buffers--refresh):
8852 Handle Buffer-menu-use-header-line.
1241b724 8853
e5f9458f
CY
88542012-05-06 Chong Yidong <cyd@gnu.org>
8855
8856 * buff-menu.el: Convert to Tabulated List mode.
8857 (Buffer-menu-buffer+size-width): Make obsolete.
8858 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
8859 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
8860 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
8861 documentation into docstring of buffer-menu.
8862 (Buffer-menu-toggle-files-only): Add an informative message.
8863 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
8864 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
8865 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
8866 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
8867 (Buffer-menu-execute, Buffer-menu-select)
8868 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
8869 (Buffer-menu-bury): Use Tabulated List machinery.
8870 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
8871 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 8872 Delete.
e5f9458f
CY
8873 (list-buffers--refresh): New function.
8874 (list-buffers-noselect): Use it.
8875 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
8876 (Buffer-menu--pretty-file-name): New helper functions.
8877
8878 * loadup.el: Preload tabulated-list.
8879
8880 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
8881 tabulated-list-sort-column.
8882 (tabulated-list-init-header): Add the initial aligning space even
8883 if tabulated-list-padding is zero.
8884
e129292c
CS
88852012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
8886
8887 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
8888 whose cdr is not a cons cell correctly (bug#11038).
8889
6632d361
CY
88902012-05-06 Chong Yidong <cyd@gnu.org>
8891
e129292c
CS
8892 * emacs-lisp/tabulated-list.el (tabulated-list-format):
8893 Accept additional plist in column descriptors.
6632d361
CY
8894 (tabulated-list-init-header): Obey it.
8895 (tabulated-list-get-entry): New function.
8896 (tabulated-list-put-tag): Use it. Use string-width instead of
8897 length.
8898 (tabulated-list--column-number): New function.
8899 (tabulated-list-print): Use it.
e129292c
CS
8900 (tabulated-list-print-col): New function.
8901 Set `tabulated-list-column-name' property on each column's text.
6632d361 8902 (tabulated-list-print-entry): Use it.
e129292c
CS
8903 (tabulated-list-delete-entry, tabulated-list-set-col):
8904 New functions.
6632d361
CY
8905 (tabulated-list-sort-column): New command (Bug#11337).
8906
3cc99f68
CY
8907 * buff-menu.el (list-buffers): Move C-x C-b binding from
8908 buff-menu.el to bindings.el.
8909
8910 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
8911 :advertised-binding feature.
8912
52b61776
TN
89132012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
8914
8915 * progmodes/compile.el (compilation-internal-error-properties):
8916 Calculate start position correctly when end-col is set but
8917 end-line is not (Bug#11382).
8918
ebfe2597
WJ
89192012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
8920
8921 * man.el (Man-unindent): Use text-property-default-nonsticky to
8922 prevent untabify from inheriting face properties (Bug#11408).
8923
6d3f7c2f
SM
89242012-05-05 Stefan Merten <smerten@oekonux.de>
8925
8926 * textmodes/rst.el: Major merge with upstream development up to
8927 Docutils SVN r7399 / rst.el V1.2.1.
8928
8929 Clarify maintainership and authors.
8930
8931 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
8932 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
8933 (rst-official-version, rst-official-cvs-rev, rst-version)
8934 (rst-package-emacs-version-alist): New functions and variables
8935 for version information.
8936
8937 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
8938 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
8939 (rst-mode-syntax-table, rst-mode): New and corrected functions
8940 and variables representing reStructuredText features.
8941
8942 (rst-re): New function for reStructuredText regexes. Use in
8943 many places.
8944
8945 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
8946 (rst-mode-map): Rebind keys.
8947
8948 (rst-mode-lazy, rst-font-lock-keywords)
8949 (rst-font-lock-extend-region)
8950 (rst-font-lock-extend-region-internal)
8951 (rst-font-lock-extend-region-extend)
8952 (rst-font-lock-find-unindented-line-limit)
8953 (rst-font-lock-find-unindented-line-match)
8954 (rst-adornment-level, rst-font-lock-adornment-level)
8955 (rst-font-lock-adornment-match)
8956 (rst-font-lock-handle-adornment-pre-match-form)
8957 (rst-font-lock-handle-adornment-matcher): Major revision of
8958 font-locking. Integrate with other code. Use `jit-lock-mode'.
8959
8960 (rst-preferred-adornments, rst-adjust-hook)
8961 (rst-new-adornment-down, rst-preferred-bullets)
8962 (rst-preferred-bullets, rst-indent, rst-indent-width)
8963 (rst-indent-field, rst-indent-literal-normal)
8964 (rst-indent-literal-minimized, rst-indent-comment): Change,
8965 extend and improve customization.
8966
8967 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
8968 (rst-normalize-cursor-position, rst-get-decoration)
8969 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
8970 (rst-rstrip, rst-toc-insert-find-delete-contents)
8971 (rst-shift-fill-region, rst-compute-bullet-tabs)
8972 (rst-debug-print-tabs, rst-debug-mark-found)
8973 (rst-shift-region-guts, rst-shift-region-right)
8974 (rst-shift-region-left, rst-use-char-classes)
8975 (rst-font-lock-keywords-function)
8976 (rst-font-lock-indentation-point)
8977 (rst-font-lock-find-unindented-line-begin)
8978 (rst-font-lock-find-unindented-line-end)
8979 (rst-font-lock-find-unindented-line)
8980 (rst-font-lock-adornment-point, rst-font-lock-level)
8981 (rst-adornment-level-alist): Remove functions and variables.
8982
8983 (rst-compare-adornments, rst-get-adornment-match)
8984 (rst-suggest-new-adornment, rst-get-adornments-around)
8985 (rst-adornment-complete-p, rst-get-next-adornment)
8986 (rst-adjust-adornment, rst-display-adornments-hierarchy)
8987 (rst-straighten-adornments): Standardize function names to
8988 use "adornment" instead of "decoration". Correct callers.
8989 Similar standardizing in many places.
8990
8991 (rst-update-section, rst-adjust, rst-promote-region)
8992 (rst-enumerate-region, rst-bullet-list-region)
8993 (rst-repeat-last-character): Correct use of `interactive'.
8994
8995 (rst-classify-adornment, rst-find-all-adornments)
8996 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
8997 (rst-find-leftmost-column, rst-repeat-last-character):
8998 Refactor functions.
8999
9000 (rst-find-title-line, rst-reset-section-caches)
9001 (rst-get-adornments-around, rst-adjust-adornment-work)
9002 (rst-arabic-to-roman, rst-roman-to-arabic)
9003 (rst-insert-list-pos, rst-insert-list-new-item)
9004 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
9005 New functions.
9006
9007 (rst-all-sections, rst-section-hierarchy)
9008 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
9009 New variables.
9010
9011 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
9012 configuration instead of only buffer. Change where necessary.
9013
9014 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
9015 (rst-shift-region, rst-adaptive-fill): New functions for
9016 indentation and filling.
9017
9018 (rst-comment-line-break, rst-comment-indent)
9019 (rst-comment-insert-comment, rst-comment-region)
9020 (rst-uncomment-region): New functions for handling comments.
9021
9022 (rst-compile): Quote shell arguments.
9023
9024 (rst-compile-pdf-preview, rst-compile-slides-preview):
9025 Delete temporary files after use.
9026
a43f98b3
GM
90272012-05-05 Glenn Morris <rgm@gnu.org>
9028
48176e8b
GM
9029 * calendar/cal-html.el: Optionally include holidays in the output.
9030 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
9031 (cal-html-holidays): New option.
9032 (cal-html-css-default): Add holiday entry.
9033 (holiday-in-range): Autoload it.
9034 (cal-html-htmlify-entry): Add optional class argument.
9035 (cal-html-htmlify-list): Add optional holidays argument.
9036 (cal-html-insert-agenda-days): Include holidays in the output.
9037 (cal-html-one-month): Maybe include holidays.
9038
a43f98b3
GM
9039 * calendar/holidays.el (holiday-in-range):
9040 Move here from cal-tex-list-holidays.
9041 * calendar/cal-tex.el (cal-tex-list-holidays):
9042 Make it an obsolete alias for holiday-in-range. Update all callers.
9043
fef9d149 90442012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
9045
9046 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
9047 Nextstep.
9048
248da2f4
RW
90492012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
9050
9051 * files.el (file-auto-mode-skip): New var.
9052 (set-auto-mode-1): Use it.
9053
f95e9344
SM
90542012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9055
df96ab1e
SM
9056 * repeat.el: Use lexical-binding.
9057 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
9058 (repeat-undo-count): Remove.
9059 (repeat):
9060 * progmodes/octave-mod.el (octave-abbrev-start):
9061 * progmodes/f90.el (f90-abbrev-start):
9062 * face-remap.el (text-scale-adjust):
9063 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
9064
5342bb06
SM
9065 * emacs-lisp/pcase.el (pcase--let*): New function.
9066 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
9067 a bit more.
9068 (pcase--split-pred): Be more clever about ruling out overlap between
9069 a predicate and some constant pattern.
9070 (pcase--q1): Use `null' instead of (eq foo nil).
9071
f95e9344
SM
9072 * subr.el (setq-local, defvar-local): New macros.
9073 (kbd): Redefine as an alias.
9074 (with-selected-window): Leave unrelated frames alone.
9075 (set-temporary-overlay-map): New function.
9076
71873e2b
SM
90772012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9078
9079 * subr.el (user-error): New function.
9080 * window.el (switch-to-buffer):
9081 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
9082 (smerge-match-conflict):
9083 * simple.el (previous-matching-history-element)
9084 (next-matching-history-element, goto-history-element, undo-more)
9085 (undo-start):
9086 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
9087 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
9088 (next-file, tags-loop-scan, list-tags, complete-tag):
9089 * progmodes/compile.el (compilation-loop):
9090 * mouse.el (mouse-minibuffer-check):
9091 * man.el (Man-bgproc-sentinel, Man-goto-page):
9092 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
9093 (Info-history-forward, Info-follow-reference, Info-menu)
9094 (Info-extract-menu-item, Info-extract-menu-counting)
9095 (Info-forward-node, Info-backward-node, Info-next-menu-item)
9096 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
9097 (Info-next-reference, Info-prev-reference, Info-index)
9098 (Info-index-next, Info-follow-nearest-node)
9099 (Info-copy-current-node-name):
9100 * imenu.el (imenu--make-index-alist)
9101 (imenu-default-create-index-function, imenu-add-to-menubar):
9102 * files.el (basic-save-buffer, recover-file):
9103 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
9104 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
9105 (checkdoc-message-text, checkdoc-defun):
9106 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
9107 * cus-edit.el (customize-changed-options, customize-rogue)
9108 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
9109 (custom-variable-mark-to-reset-standard)
9110 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
9111 (custom-file):
9112 * completion.el (check-completion-length):
9113 * comint.el (comint-search-arg)
9114 (comint-previous-matching-input-string-position)
9115 (comint-previous-matching-input)
9116 (comint-replace-by-expanded-history-before-point, comint-send-input)
9117 (comint-copy-old-input, comint-backward-matching-input)
9118 (comint-goto-process-mark, comint-set-process-mark):
9119 * calendar/calendar.el (calendar-cursor-to-date): Use it.
9120 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
9121
8a61ee22
SM
91222012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9123
66408d1e
SM
9124 * dabbrev.el (dabbrev--ignore-case-p): New function.
9125 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
9126 Use it.
9127
8a61ee22
SM
9128 * files.el (automount-dir-prefix): Mark as obsolete.
9129
3c74813a
GM
91302012-05-04 Glenn Morris <rgm@gnu.org>
9131
9132 * patcomp.el, play/bruce.el: Move to obsolete/.
9133
0bfcf5c5
PE
91342012-05-04 Paul Eggert <eggert@cs.ucla.edu>
9135
9136 Fix minor Y10k bugs.
9137 * arc-mode.el (archive-unixdate):
9138 * autoinsert.el (auto-insert-alist):
9139 * calc/calc-forms.el (math-this-year):
9140 * emacs-lisp/copyright.el (copyright-current-year)
9141 (copyright-update-year, copyright):
9142 * tar-mode.el (tar-clip-time-string):
9143 * time.el (display-time-update):
9144 Don't assume years have 4 digits.
9145
78f3273a
CY
91462012-05-04 Chong Yidong <cyd@gnu.org>
9147
9148 * dos-w32.el (file-name-buffer-file-type-alist)
9149 (direct-print-region-use-command-dot-com):
9150 * ffap.el (ffap-menu-regexp):
9151 * find-file.el (ff-special-constructs):
9152 * follow.el (follow-debug):
9153 * forms.el (forms--debug):
9154 * iswitchb.el (iswitchb-all-frames):
9155 * ido.el (ido-all-frames):
9156 * emacs-lisp/timer.el (timer-max-repeats):
9157 * mail/feedmail.el (feedmail-mail-send-hook)
9158 (feedmail-mail-send-hook-queued):
9159 * mail/footnote.el (footnote-signature-separator):
9160 * mail/mailabbrev.el (mail-alias-separator-string)
9161 (mail-abbrev-mode-regexp):
9162 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
9163 * progmodes/idlwave.el (idlwave-libinfo-file)
9164 (idlwave-default-completion-case-is-down)
9165 (idlwave-library-routines): Convert defvars to defcustoms.
9166
9167 * mail/rmail.el (rmail-decode-mime-charset):
9168 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
9169 (idlwave-shell-fix-inserted-breaks)
9170 (idlwave-shell-activate-alt-keybindings)
9171 (idlwave-shell-use-breakpoint-glyph):
9172 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
9173
f7ae6719
SM
91742012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
9175
9176 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
9177
47086495
WS
91782012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
9179
9180 * progmodes/verilog-mode.el (font-lock-keywords):
9181 Fix mis-highligting auto. Reported by Craig Barner.
9182 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
fc0c31f8 9183 defines from global name space. Reported by Dan Dever.
47086495
WS
9184 (verilog-auto-reset, verilog-auto-reset-widths)
9185 (verilog-auto-tieoff): Support using unbased numbers for
9186 AUTORESET and AUTOTIEOFF.
9187 (verilog-submit-bug-report): Update variable list.
9188 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
fc0c31f8 9189 parenthesis from not matching. Reported by Michael Rytting.
47086495
WS
9190 (verilog-auto-template-lint): Fix hash error when linting modules
9191 with no used templates.
9192 (verilog-warn, verilog-warn-error)
9193 (verilog-warn-fatal): When non-interactive report multiple
9194 warnings before exiting. Suggested by Brad Dobbie.
9195 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
9196 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
9197 to report unused template errors. Reported by Brad Dobbie.
9198 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
fc0c31f8 9199 nets, bug438. Reported by Vns Blore.
47086495
WS
9200 (verilog-auto-inout-module, verilog-auto-reg)
9201 (verilog-read-decls, verilog-read-sub-decls-sig)
9202 (verilog-signals-edit-wire-reg, verilog-signals-with):
9203 Fix passing of Verilog data types in ANSI input/output ports
fc0c31f8 9204 such as "output logic" into the AUTOs. Special case "wire" and
47086495
WS
9205 "reg" for backwards compatibility presuming Verilog 2001.
9206 (verilog-auto-ascii-enum): Add "auto enum" as alias.
9207 (verilog-preprocess): Fix replication of preprocess output.
9208 Reported by Brad Dobbie.
9209 (verilog-auto-inst-interfaced-ports):
9210 Create verilog-auto-inst-interfaced-ports, bug429.
9211 Reported by Julian Gorfajn.
9212 (verilog-after-save-font-hook)
9213 (verilog-before-save-font-hook): New variable.
9214 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
9215 (verilog-save-font-mods): Wrap disabling fontification, reported
9216 by David Rogoff.
9217 (verilog-do-indent, verilog-pretty-declarations-auto)
9218 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
9219 Reported by Pierre-David Pfister.
9220 (verilog-set-auto-endcomments): Fix endtask auto comments outside
9221 of class declarations, bug292. Reported by Kevin Heilman.
9222 (verilog-read-decls): Fix 'parameter type' not appearing in
9223 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
9224 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
fc0c31f8 9225 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
47086495
WS
9226 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
9227 Reported by David Kravitz.
9228
92292012-05-03 Michael McNamara <mac@mail.brushroad.com>
9230
9231 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
9232 assignment with tests in ifs and for loops.
9233 (verilog-extended-complete-re, verilog-complete-reg): Change so
9234 that DPI inport functions don't look like fuction declarations.
9235 (verilog-pretty-expr): Don't line up assignment
9236 operations to the test and increment in if and for loops
9237 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 9238 that DPI inport functions don't look like fuction declarations.
47086495 9239
2e51d4b5
KH
92402012-05-03 Kenichi Handa <handa@m17n.org>
9241
9242 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 9243 decoding, and show a warning message without signaling an error
2e51d4b5
KH
9244 (Bug#11282).
9245
2bd785a2
SM
92462012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
9247
9248 * emacs-lisp/bytecomp.el
9249 (byte-compile-file-form-custom-declare-variable): Compile all elements,
9250 since cconv.el might have introduced :fun-body, internal-make-closure,
9251 and friends for bytecomp to handle (bug#11391).
9252 * custom.el (defcustom): Avoid ((λ ..) ..).
9253
99d27583
SM
92542012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
9255
9256 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
9257
55a71479
JB
92582012-05-02 Juanma Barranquero <lekktu@gmail.com>
9259
9260 * notifications.el (dbus-debug):
9261 * term/linux.el (gpm-mouse-enable):
9262 * term/screen.el (xterm-register-default-colors): Declare.
9263
7b97c764
CY
92642012-05-02 Chong Yidong <cyd@gnu.org>
9265
2bc356d7
CY
9266 * cus-start.el (gc-cons-percentage, exec-suffixes)
9267 (dos-display-scancodes, dos-hyper-key, dos-super-key)
9268 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
9269 (make-cursor-line-fully-visible, void-text-area-pointer)
9270 (font-list-limit): Add customization data.
9271
7b97c764
CY
9272 * allout.el (allout-exposure-change-functions)
9273 (allout-structure-added-functions)
9274 (allout-structure-deleted-functions)
9275 (allout-structure-shifted-functions): Rename abnormal hooks from
9276 *-hook, and convert to defcustoms.
5d3385a0
JB
9277 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
9278 Convert to defcustoms.
7b97c764
CY
9279 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
9280
9281 * allout-widgets.el: Hook callers changed.
9282
90207a15 92832012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
9284
9285 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
9286 the yanked message in preference to the default value of
9287 buffer-file-coding-system.
9288
90207a15 92892012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 9290
5d3385a0
JB
9291 * window.el (display-buffer--action-function-custom-type):
9292 Fix entry.
d9558cad 9293
90207a15 92942012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
9295
9296 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
9297
d80ac57b
GM
92982012-05-01 Glenn Morris <rgm@gnu.org>
9299
976f7668
GM
9300 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
9301
beb83b5a
GM
9302 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
9303
d80ac57b
GM
9304 * cus-edit.el (custom-variable-documentation): Simplify with format.
9305
b593d6a9 93062012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 9307 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
9308
9309 * simple.el (suggest-key-bindings, execute-extended-command):
9310 Move from keyboard.c.
9311
782fbf2a
CY
93122012-05-01 Chong Yidong <cyd@gnu.org>
9313
9314 * follow.el: Eliminate advice.
9315 (set-process-filter, process-filter, sit-for): Advice deleted.
9316 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
9317 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
9318 Vars deleted.
782fbf2a
CY
9319 (follow-auto): Use a :set function.
9320 (follow-mode): Rewritten. Don't advise process filters.
9321 (follow-switch-to-current-buffer-all, follow-scroll-up)
9322 (follow-scroll-down): Assume follow-mode is bound.
9323 (follow-comint-scroll-to-bottom)
9324 (follow-align-compilation-windows): New functions.
9325 (follow--window-sorter): New function.
9326 (follow-all-followers): Use it to explicitly sort windows by their
9327 positions; don't make assumptions about next-window order.
9328 (follow-windows-start-end, follow-delete-other-windows-and-split)
9329 (follow-calc-win-start): Doc fix.
9330 (follow-windows-aligned-p, follow-select-if-visible): Don't call
9331 vertical-motion unnecessarily.
9332 (follow-adjust-window): New function.
9333 (follow-post-command-hook): Use it.
9334 (follow-call-set-process-filter, follow-call-process-filter)
9335 (follow-intercept-process-output, follow-tidy-process-filter-alist)
9336 (follow-stop-intercept-process-output, follow-generic-filter):
9337 Functions deleted.
9338 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
9339 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
9340 New functions, replacing advice on scroll-bar-* commands.
87233a14 9341 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
9342
9343 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
9344 (comint-postoutput-scroll-to-bottom): Use it.
9345 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 9346
290af740
GM
93472012-05-01 Glenn Morris <rgm@gnu.org>
9348
9349 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
9350 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
9351 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
9352 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
9353 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
9354 Remove no-byte-compile setting.
9355
6eac8dc9
SM
93562012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
9357
9358 * minibuffer.el (completion-table-with-quoting): Fix compatibility
9359 all-completions code to not return a number in the last cdr.
9360
9cc7819c
LL
93612012-04-30 Leo Liu <sdl.web@gmail.com>
9362
9363 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
9364 read-only error.
9365
c93b886f
CY
93662012-04-29 Chong Yidong <cyd@gnu.org>
9367
9368 * follow.el (follow-calc-win-end): Rewrite to handle partial
9369 screen lines correctly (Bug#8390).
9370 (follow-avoid-tail-recenter): Minor cleanup.
9371
8b6c19f4
SM
93722012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
9373
9374 Avoid the obsolete `assoc' package.
9375 * speedbar.el (speedbar-refresh): Avoid adelete.
9376 (speedbar-file-lists): Simplify and avoid aput.
9377 * man.el (Man--sections, Man--refpages): New vars, replacing
9378 Man-sections-alist and Man-refpages-alist.
9379 (Man-build-section-alist, Man-build-references-alist):
9380 Use them; avoid aput.
9381 (Man--last-section, Man--last-refpage): New vars.
9382 (Man-follow-manual-reference): Use them.
9383 Use the `default' arg of completing-read.
9384 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
9385
c5bb7569
CY
93862012-04-27 Chong Yidong <cyd@gnu.org>
9387
d1d2e2e8
CY
9388 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
9389
15cd8efd
CY
9390 * startup.el (x-apply-session-resources): New function.
9391
9392 * term/ns-win.el (ns-initialize-window-system):
9393 * term/w32-win.el (w32-initialize-window-system):
9394 * term/x-win.el (x-initialize-window-system): Use it to properly
9395 set menu-bar-mode and other vars from X resources, even if the
9396 initial frame is not a window-system frame (Bug#2299).
9397
c5bb7569
CY
9398 * subr.el (read-key): Avoid running filter function when setting
9399 up temporary tool bar entries (Bug#9922).
9400
a8e7d6d7 94012012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
9402
9403 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
9404 (Bug#11344)
9405
a8e7d6d7 94062012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
9407
9408 * select.el (xselect--encode-string): New function, split from
9409 xselect-convert-to-string.
9410 (xselect-convert-to-string): Use it.
9411 (xselect-convert-to-filename, xselect-convert-to-os)
9412 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
9413 returned strings are properly encoded (Bug#11315).
9414
a8e7d6d7 94152012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
9416
9417 * simple.el (delete-active-region): Move to killing custom group.
9418
a8e7d6d7 94192012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
9420
9421 * progmodes/which-func.el (which-func-current): Quote %
9422 characters for mode-line processing.
9423
578c1d4b 94242012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
9425
9426 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
9427 reaching eob (Bug#11286).
9428
a8e7d6d7 94292012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
9430
9431 * progmodes/gdb-mi.el (gdb-control-level): New variable.
9432 (gdb): Make it buffer-local and init to zero.
9433 (gdb-control-commands-regexp): New variable.
9434 (gdb-send): Don't wrap in "-interpreter-exec console" if
9435 gdb-control-level is positive. Increment gdb-control-level
9436 whenever the command matches gdb-control-commands-regexp, and
9437 decrement it each time the command is "end". (Bug#11279)
9438
a8e7d6d7 94392012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
9440
9441 * window.el (adjust-window-trailing-edge, enlarge-window)
9442 (shrink-window, window-resize):
9443 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
9444 windows (Bug#11276).
9445
b3608390
CY
94462012-04-27 Chong Yidong <cyd@gnu.org>
9447
9448 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 9449 fix "missing prefix" warning. All callers changed.
b3608390 9450
797e6e88
SM
94512012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
9452
9453 * emacs-lisp/assoc.el: Move to obsolete/.
9454
e95a67dc
SM
94552012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
9456
657c21e4 9457 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
9458
9459 * term/ns-win.el (ns-define-service):
9460 * progmodes/pascal.el (pascal-goto-defun):
9461 * progmodes/js.el (js--read-tab):
9462 * progmodes/etags.el (tags-lazy-completion-table):
9463 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
9464 * emacs-lisp/ewoc.el (ewoc--wrap):
9465 * emacs-lisp/assoc.el (aput, adelete, amake):
9466 * doc-view.el (doc-view-convert-current-doc):
9467 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
9468
cb3e7ae0
CY
94692012-04-26 Chong Yidong <cyd@gnu.org>
9470
dce04f7f
CY
9471 * image.el (image-type-from-buffer): Only return supported image
9472 type (Bug#9045).
9473
cb3e7ae0
CY
9474 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
9475 value, for symmetry with diff-end-of-hunk.
9476 (diff-split-hunk, diff-find-source-location)
9477 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
9478 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
9479 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
9480 compute the relevant hunk or file properly (Bug#6005).
9481 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
9482
0d42eb3e
SM
94832012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
9484
9485 * vc/vc-mtn.el:
9486 * vc/vc-hg.el:
9487 * vc/vc-git.el:
9488 * vc/vc-dir.el:
9489 * vc/vc-cvs.el:
9490 * vc/vc-bzr.el:
9491 * vc/vc-arch.el:
9492 * vc/vc.el: Replace lexical-let by lexical-binding.
9493 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
9494 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
9495 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
9496
f08ae1c9
CY
94972012-04-26 Chong Yidong <cyd@gnu.org>
9498
8b71081d
CY
9499 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
9500 (diff-mode-shared-map): Bind it to / and [remap undo].
9501
f08ae1c9
CY
9502 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
9503 (ediff-window-setup-function): Use it as the default, to set up
9504 windows based on whether the current frame is graphical (Bug#2138).
9505 (ediff-choose-window-setup-function-automatically): Make obsolete.
9506
9507 * vc/ediff-init.el: Always define ediff-pixel-width/height.
9508
ef24141c
SM
95092012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9510
cc356a5d
SM
9511 * ffap.el: Remove old code for obsolete package.
9512 (ffap-complete-as-file-p): Remove.
9513
b4ff4f1f
SM
9514 Use completion-table-with-quoting for comint and pcomplete.
9515 * comint.el (comint--unquote&requote-argument)
9516 (comint--unquote-argument, comint--requote-argument): New functions.
9517 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
9518 (comint-quote-filename): Use regexp-opt-charset.
9519 (comint--common-suffix, comint--common-quoted-suffix)
9520 (comint--table-subvert): Remove.
9521 (comint-unquote-function, comint-requote-function): New vars.
9522 (comint--complete-file-name-data): Use them with
9523 completion-table-with-quoting.
9524 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
9525 * pcomplete.el (pcomplete-arg-quote-list)
9526 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
9527 (pcomplete-unquote-argument-function): Default to non-nil.
9528 (pcomplete-unquote-argument): Simplify.
9529 (pcomplete--common-quoted-suffix): Remove.
9530 (pcomplete-requote-argument-function): New var.
9531 (pcomplete--common-suffix): New function.
9532 (pcomplete-completions-at-point): Use completion-table-with-quoting
9533 and completion-table-subvert.
9534
79c4eeb4
SM
9535 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
9536 (minibuffer--double-dollars): Preserve properties.
9537 (completion--sifn-requote): New function.
9538 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
9539
ef24141c
SM
9540 * minibuffer.el: Add support for completion of quoted/escaped data.
9541 (completion-table-with-quoting, completion-table-subvert): New funs.
9542 (completion--twq-try, completion--twq-all): New functions.
9543 (completion--nth-completion): New function.
9544 (completion-try-completion, completion-all-completions): Use it.
9545
784e7d6e
LL
95462012-04-25 Leo Liu <sdl.web@gmail.com>
9547
dd2ac746
SM
9548 * progmodes/python.el (python-pdbtrack-get-source-buffer):
9549 Use compilation-message if available to find real filename.
784e7d6e 9550
07875ee7
CY
95512012-04-25 Chong Yidong <cyd@gnu.org>
9552
9553 * vc/diff-mode.el (diff-setup-whitespace): New function.
9554 (diff-mode): Use it.
9555
9556 * vc/diff.el (diff-sentinel):
9557 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
9558 Whitespace mode variables based on diff style (Bug#8612).
9559
5055880d
LL
95602012-04-25 Leo Liu <sdl.web@gmail.com>
9561
daf75653
LL
9562 * progmodes/python.el (python-send-region): Add suffix .py to the
9563 temp file.
9564
5055880d
LL
9565 * files.el (auto-mode-alist): Use javascript-mode instead.
9566
db9b177b
AH
95672012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
9568
ef24141c 9569 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 9570
090bd7cb 9571 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 9572 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 9573 references, see Bug#9.
ef24141c 9574 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 9575 when receiving a fault reply.
ef24141c 9576 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 9577
090bd7cb 9578 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 9579 (soap-inspect-simple-type): New function.
db9b177b 9580
090bd7cb 9581 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 9582 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
9583 (soap-decode-basic-type, soap-encode-basic-type):
9584 support unsignedInt and double basic types.
db9b177b 9585 (soap-resolve-references-for-simple-type)
ef24141c
SM
9586 (soap-parse-simple-type, soap-encode-simple-type): New function.
9587 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 9588
090bd7cb 9589 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
9590 (soap-default-soapenc-types): Add integer, byte and anyURI types.
9591 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
9592 the local name of "soapenc:Array".
9593 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
9594 decoding integer, byte and anyURI xsd types.
9595
1fc6097b
CY
95962012-04-25 Chong Yidong <cyd@gnu.org>
9597
9598 * cus-edit.el (custom-buffer-create-internal): Update header text.
9599
afc6df87
EZ
96002012-04-25 Eli Zaretskii <eliz@gnu.org>
9601
9602 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
9603 settings on 'system-type', not on 'window-system'. On MS-Windows,
9604 set interactive-mode on in GDB.
9605
dfbd787f
SM
96062012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
9607
9608 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
9609 (ruby-syntax-propertize-regexp): Remove.
9610 (ruby-syntax-propertize-function): Split regexp into chunks.
9611 Match following code directly.
9612
85222d44
DG
96132012-04-24 Dmitry Gutov <dgutov@yandex.ru>
9614
51a8ea2a
DG
9615 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
9616 (ruby-syntax-propertize-regexp): New function.
9617 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
9618 by a special keyword.
9619
85222d44
DG
9620 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
9621 (ruby-syntax-general-delimiters-goto-beg)
9622 (ruby-syntax-propertize-general-delimiters): New functions.
9623 (ruby-syntax-propertize-function): Use them to handle GDL.
9624 (ruby-font-lock-keywords): Move old handling of GDL...
9625 (ruby-font-lock-syntactic-keywords): .. to here.
9626 (ruby-calculate-indent): Adjust indentation for GDL.
9627
b613912b
MA
96282012-04-24 Michael Albinus <michael.albinus@gmx.de>
9629
b5380639
MA
9630 * notifications.el (top): Remove unneeded declarations.
9631 (notifications-specification-version): Change to "1.2".
e43042fe 9632 (notifications-interface, notifications-notify-method)
b613912b
MA
9633 (notifications-close-notification-method): Fix docstring.
9634 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
9635 (notifications-notify): Add :action-items, :resident and
9636 :transient hints. Change "image_data" to "image-data" and
9637 "image_path" to "image-path".
b613912b
MA
9638 (notifications-get-capabilities): New defun.
9639
257440aa
LL
96402012-04-24 Leo Liu <sdl.web@gmail.com>
9641
9642 * progmodes/python.el: Move hideshow setup to the end.
9643
b1bac16e
MR
96442012-04-24 Martin Rudalics <rudalics@gmx.at>
9645
9646 * window.el (handle-select-window): Clear echo area since this is
9647 no more done by read_char (Bug#11304).
9648
d81bd059
SM
96492012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
9650
9651 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
9652 and `/ M' to filter-derived-mode.
9653 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
9654 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
9655 (ibuffer-mark-by-mode): Use default rather than initial-input.
9656 (ibuffer-filter-by-derived-mode): Autoload and require-match.
9657
c4cf6d91
IA
96582012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
9659
9660 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
9661 (ibuffer-filter-by-derived-mode): New filter.
9662 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
9663
7511ded8
CY
96642012-04-23 Andreas Politz <politza@fh-trier.de>
9665
9666 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
9667
775c916b
CY
96682012-04-23 Chong Yidong <cyd@gnu.org>
9669
9670 * cus-edit.el (customize-apropos, customize-apropos-options):
9671 Disable matching of non-option variables (Bug#11176).
9672 (customize-option, customize-option-other-window)
9673 (customize-changed-options): Doc fix.
9674 (customize-apropos-options, customize-apropos-faces)
9675 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
9676
9677 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 9678 Fix word list splitting (Bug#11132).
46c71e23
CY
9679 (apropos-symbol, apropos-keybinding, apropos-label)
9680 (apropos-property, apropos-function-button)
9681 (apropos-variable-button, apropos-misc-button): New faces.
9682 (apropos-symbol-face, apropos-keybinding-face)
9683 (apropos-label-face, apropos-property-face, apropos-match-face):
9684 Variables removed (Bug#8396).
9685 (apropos-library-button, apropos-format-plist, apropos-print)
9686 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 9687
2df41f9c
MA
96882012-04-23 Michael Albinus <michael.albinus@gmx.de>
9689
9690 * net/xesam.el (xesam-mode-map): Use let-bound map in
9691 initialization. (Bug#11292)
9692
da00640a
AM
96932012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9694
9695 Preserve ispell session localwords when switching back to
9696 original buffer.
9697
090bd7cb
JB
9698 * textmodes/ispell.el (ispell-buffer-session-localwords):
9699 New buffer-local variable to hold buffer session localwords.
ed9265fc 9700 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
9701 localwords.
9702 (ispell-command-loop, ispell-change-dictionary)
9703 (ispell-buffer-local-words): Preserve session localwords when
9704 needed.
9705
090bd7cb
JB
9706 * textmodes/flyspell.el (flyspell-process-localwords)
9707 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 9708
f621ccf5
AM
97092012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9710
090bd7cb
JB
9711 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
9712 using obsolete `translation-table-for-input'.
ef24141c
SM
9713 (ispell-word, ispell-process-line, ispell-complete-word):
9714 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 9715
c2d1019e
CY
97162012-04-22 Chong Yidong <cyd@gnu.org>
9717
9718 * cus-edit.el (custom-variable-menu)
9719 (custom-variable-reset-saved, custom-face-menu)
9720 (custom-face-reset-saved): If there is no saved value, make the
9721 "reset-saved" operation bring back the default (Bug#9509).
9722 (custom-face-state): Properly detect themed faces.
9723
eeddc531
CY
9724 * faces.el (face-spec-set): Stop supporting deprecated form of
9725 third arg.
9726
dcbf5805
MA
97272012-04-22 Michael Albinus <michael.albinus@gmx.de>
9728
9729 Move functions from C to Lisp. Make non-blocking method calls
9730 the default. Implement further D-Bus standard interfaces.
9731
ef24141c
SM
9732 * net/dbus.el (dbus-message-internal): Declare function.
9733 Remove unneeded function declarations.
dcbf5805
MA
9734 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
9735 (dbus-message-type-method-return, dbus-message-type-error)
9736 (dbus-message-type-signal): Declare variables. Remove local
9737 definitions.
9738 (dbus-interface-dbus, dbus-interface-peer)
9739 (dbus-interface-introspectable, dbus-interface-properties)
9740 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
9741 Adapt docstring.
9742 (dbus-interface-objectmanager): New defconst.
9743 (dbus-call-method, dbus-call-method-asynchronously)
9744 (dbus-send-signal, dbus-method-return-internal)
9745 (dbus-method-error-internal, dbus-register-service)
9746 (dbus-register-signal, dbus-register-method): New defuns, moved
9747 from dbusbind.c
9748 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
9749 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
9750 New defuns.
dcbf5805
MA
9751 (dbus-call-method-non-blocking): Make it an obsolete function.
9752 (dbus-unregister-object, dbus-unregister-service)
9753 (dbus-handle-event, dbus-register-property)
9754 (dbus-property-handler): Obey the new structure of
9755 `bus-registered-objects'.
9756 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
9757 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
9758 Use `dbus-call-method'.
9759
cf20dee0
CY
97602012-04-22 Chong Yidong <cyd@gnu.org>
9761
9762 * cus-edit.el (custom-commands, custom-reset-menu)
9763 (Custom-reset-standard): Tweak labels.
9764 (custom-reset-button-menu): Change default to t.
9765 (custom-buffer-create-internal): For the custom-reset-button-menu
9766 case, put the revert button first.
9767 (custom-group-subtitle): New face.
9768 (custom-group-value-create): Align docstring to a specific column.
9769
9770 * wid-edit.el (widget-documentation-link-add): Don't handle
9771 indentation in this function.
9772 (widget-documentation-string-indent-to): New function.
9773 (widget-documentation-string-value-create): Use it.
9774
9775 * autorevert.el (auto-revert):
9776 * epg-config.el (epg):
9777 * ibuffer.el (ibuffer):
9778 * mpc.el (mpc):
9779 * ses.el (ses):
9780 * eshell/eshell.el (eshell):
9781 * net/ange-ftp.el (ange-ftp):
9782 * progmodes/ebnf2ps.el (postscript):
9783 * progmodes/flymake.el (flymake):
9784 * progmodes/prolog.el (prolog):
9785 * progmodes/verilog-mode.el (verilog-mode):
9786 * progmodes/which-func.el (which-func):
9787 * term/xterm.el (xterm):
9788 * textmodes/picture.el (picture):
9789 * textmodes/tildify.el (tildify):
9790 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
9791 customization buffers.
9792
583e23bd
AM
97932012-04-22 Alan Mackenzie <acm@muc.de>
9794
9795 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
9796 Adding a ) can hide the resulting (..) from searches. Fix it.
9797 Bound the backward search to the position of the existing (.
9798
7dd51bf1
JB
97992012-04-21 Juanma Barranquero <lekktu@gmail.com>
9800
9801 * progmodes/verilog-mode.el (verilog-mode): Check whether
9802 which-func-modes is t before adding verilog-mode.
9803 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
9804
d64a438f
LL
98052012-04-21 Leo Liu <sdl.web@gmail.com>
9806
7dd51bf1 9807 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 9808
081e8d65
MV
98092012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
9810
9811 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
9812 filling of the last column of a table (Bug#5635).
9813 (woman-find-next-control-line): New arg, specifying an additional
9814 regexp component for the control line.
9815 (woman2-roff-buffer): Use it.
9816 (woman-break-table): New function.
9817 (woman2-TS): Use it.
9818
98192012-04-21 Chong Yidong <cyd@gnu.org>
9820
9821 * woman.el (woman-set-buffer-display-table, woman-decode-region)
9822 (woman-horizontal-escapes, woman-negative-vertical-space)
9823 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
9824 (WoMan-warn-ignored): Use ?\s instead of ?\ .
9825
ed571ccb
SM
98262012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9827
9828 * minibuffer.el (completion-file-name-table): Complete user names.
9829
39773899
LL
98302012-04-20 Leo Liu <sdl.web@gmail.com>
9831
9832 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
9833 and pcase-let*.
9834
de6ff46d
CY
98352012-04-20 Chong Yidong <cyd@gnu.org>
9836
9837 * server.el (server-execute): Respect initial-buffer-choice if it
9838 is a string and there are no files to open (Bug#2825).
9839 (server-create-window-system-frame, server-create-tty-frame):
9840 Don't switch buffers here.
2d0e8e61
CY
9841 (server-process-filter): Only try to open a window system frame if
9842 compiled with graphical support (Bug#8314).
de6ff46d 9843
54071013
DN
98442012-04-20 Dan Nicolaescu <dann@gnu.org>
9845
9846 * battery.el (battery-echo-area-format): Display remaining time
9847 for sysfs backend too (Bug#11269).
9848 (battery-linux-sysfs): Fix conditional for the charge.
9849
f30d612a
CY
98502012-04-20 Chong Yidong <cyd@gnu.org>
9851
c07a4c0b 9852 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
9853 (gdb-inferior-io--init-proc): New function.
9854 (gdb-init-1): Use it.
9855 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
9856 responsible for allocating a new pty and hooking it to gdb when
9857 the old pty gets an EIO due to process exit.
9858 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
9859 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
9860 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
9861
2116e93c
EZ
98622012-04-20 Eli Zaretskii <eliz@gnu.org>
9863
9864 * window.el (window-min-size, window-sizable, window-min-delta)
9865 (window-max-delta, window--resizable, window-resizable)
9866 (window-total-size, window-full-height-p, window-full-width-p)
9867 (window-in-direction, window--resize-mini-window, window-resize)
9868 (window--resize-child-windows-normal)
9869 (window--resize-child-windows, window--resize-siblings)
9870 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 9871 (enlarge-window, shrink-window): Doc fixes.
2116e93c 9872
c07a4c0b 98732012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 9874
ef24141c
SM
9875 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
9876 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
9877 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
9878 pty process (Bug#11273).
9879 (gdb-update): New arg to suppress talking to the gdb process.
9880 (gdb-done-or-error): Use it.
9881 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
9882 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
9883 sentinel not being called.
9884
9885 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
9886
d02766ab
CY
9887 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
9888
c07a4c0b 98892012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
9890
9891 * net/network-stream.el (open-network-stream): Doc fix.
9892
c07a4c0b 98932012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
9894
9895 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
9896
c07a4c0b 98972012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
9898
9899 Ensure searching for keywords is case sensitive.
9900
9901 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
9902 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
9903 (c-defun-name, c-mark-function, c-cpp-define-name)
9904 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 9905 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 9906
ef24141c
SM
9907 * progmodes/cc-mode.el (c-font-lock-fontify-region):
9908 Bind case-fold-search to nil.
f0f6bc35 9909
c07a4c0b 99102012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
9911
9912 * mail/sendmail.el (mail-bury): Call return action with the right
9913 Rmail buffer (Bug#11242).
9914
9a864fa2
CY
9915 * server.el (server-process-filter): Handle corner case where both
9916 tty and nowait options are present (Bug#11102).
9917
539aa513
EZ
99182012-04-20 Eli Zaretskii <eliz@gnu.org>
9919
9920 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
9921 (top level): Put into the executable the ident-style '$Id:' tag on
9922 windows-nt as well.
539aa513 9923
cfc7d5da
SM
99242012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9925
9926 * electric.el (electric-indent-post-self-insert-function): Check that
9927 electric-indent-mode is enabled in current buffer.
9928
5b01685c
JB
99292012-04-19 Juanma Barranquero <lekktu@gmail.com>
9930
9931 * imenu.el (imenu-progress-message): Restore; it is "used" in
9932 erc/erc-imenu.el and net/snmp-mode.el.
9933
4d6769e1
JB
99342012-04-19 Juanma Barranquero <lekktu@gmail.com>
9935
9936 * avoid.el (mouse-avoidance-mode): Mark unused arg.
9937 (mouse-avoidance-nudge-mouse): Remove unused binding.
9938
9939 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
9940
9941 * descr-text.el (describe-char):
9942 * progmodes/python.el (python-describe-symbol):
9943 Don't call `toggle-read-only', set `buffer-read-only'.
9944
9945 * imenu.el (imenu-default-goto-function): Mark unused args.
9946 (imenu-progress-message): Remove obsolete macro; all callers changed.
9947
9948 * subr.el (keymap-canonicalize): Remove unused binding.
9949 (read-passwd): Mark unused arg.
9950
9951 * tutorial.el (tutorial--display-changes): Remove unused binding.
9952 (tutorial--save-tutorial-to): Remove unused variable.
9953
9954 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
9955 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
9956 (package-generate-autoloads, package-menu--generate)
9957 (package-menu--find-upgrades): Remove unused bindings.
9958
9959 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
9960 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
9961 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
9962 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
9963 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
9964 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
9965 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
9966 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
9967 (cua-delete-char-rectangle): Mark unused args.
9968 (cua-align-rectangle): Remove unused binding.
9969
9970 * mail/rmail.el (compilation--message->loc)
9971 (epa--find-coding-system-for-mime-charset): Declare.
9972
9973 * net/dbus.el (dbus-register-service): Declare.
9974 (dbus-name-owner-changed-handler): Remove unused binding.
9975
9976 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
9977 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
9978 (nxml-scan-backward-within): Mark unused arg.
9979 (nxml-dynamic-markup-word): Remove unused binding.
9980
9981 * mouse.el (mouse-menu-major-mode-map):
9982 * emacs-lisp/authors.el (authors-scan-change-log)
9983 (authors-add-to-author-list):
9984 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
9985 * emacs-lisp/smie.el (smie-auto-fill):
9986 * mail/sendmail.el (mail-bury):
9987 * mail/unrmail.el (unrmail):
9988 * net/tls.el (open-tls-stream):
9989 * textmodes/picture.el (picture-mouse-set-point):
9990 Remove unused bindings.
9991
8c8fc5df
MA
99922012-04-19 Michael Albinus <michael.albinus@gmx.de>
9993
9994 * net/tramp.el (tramp-action-password): Let-bind
9995 `enable-recursive-minibuffers' to t.
9996
a77b0ac9
SS
99972012-04-18 Sam Steingold <sds@gnu.org>
9998
9999 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
10000 instead of 'string to accommodate values like [f11].
10001 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
10002 * progmodes/gdb-mi.el: Likewise.
10003
12a106a9
LL
100042012-04-18 Leo Liu <sdl.web@gmail.com>
10005
10006 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
10007 current buffer.
10008 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
10009 LOCAL is nil.
10010
bc6494ef
CY
100112012-04-18 Chong Yidong <cyd@gnu.org>
10012
10013 * simple.el (line-move): Use forward-line if in batch mode
10014 (Bug#11053).
10015
c09c46b2
CS
100162012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
10017
10018 * files.el (after-find-file): Do not try to add a final newline if
10019 the buffer is read-only (Bug#11156).
10020
5f6530ea
RS
100212012-04-17 Richard Stallman <rms@gnu.org>
10022
10023 * mail/rmail.el (rmail-start-mail):
10024 Pass (rmail-mail-return...) for the return-action.
10025 Pass (rmail-yank-current-message...) for the yank-action.
10026 (rmail-yank-current-message): New function.
10027 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
10028 (rmail-reply): Likewise.
10029 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
10030
10031 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 10032 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
10033 buffer, not newbuf.
10034
197b6f3c
JB
100352012-04-17 Juanma Barranquero <lekktu@gmail.com>
10036
10037 * server.el (server-ensure-safe-dir): Simplify.
10038
2311d8e5 100392012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 10040
2311d8e5
GM
10041 * emacs-lisp/smie.el: Provide smarter auto-filling.
10042 (smie-auto-fill): New function.
10043 (smie-setup): Use it.
98fb480e 10044
2311d8e5
GM
10045 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
10046
100472012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
10048
10049 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
10050 (comment-indent): Use it.
10051
2311d8e5 100522012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
10053
10054 * ses.el: The overall change is to add cell renaming, that is
10055 setting fancy names for cell symbols other than name matching
10056 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 10057 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 10058 (ses-create-cell-variable): New defun.
2311d8e5 10059 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
10060 (ses-relocate-formula): Relocate formulas only for cells the
10061 symbols of which are not renamed, i.e. symbols whose names do not
10062 match regexp "\\`[A-Z]+[0-9]+\\'".
10063 (ses-relocate-all): Relocate values only for cells the symbols of
10064 which are not renamed.
10065 (ses-load): Create cells variables as the (ses-cell ...) are read,
10066 in order to check row col consistency with cell symbol name only
10067 for cells that are not renamed.
10068 (ses-replace-name-in-formula): New defun.
10069 (ses-rename-cell): New defun.
4bdf2ad2 10070
fc72b15c
PO
100712012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
10072
10073 * progmodes/perl-mode.el (perl-indent-parens-as-block):
10074 New option (bug#11118).
10075 (perl-calculate-indent): Respect it.
10076
12e10e61
GM
100772012-04-17 Glenn Morris <rgm@gnu.org>
10078
10079 * dired-aux.el (dired-mark-read-string): Doc fix.
10080
30009afd
DA
100812012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
10082
10083 * dired-aux.el (dired-mark-read-string): Offer optional completion.
10084 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
10085
41f03f4d
GM
100862012-04-17 Glenn Morris <rgm@gnu.org>
10087
10088 * mouse.el (mouse-drag-track):
10089 * speedbar.el (speedbar-frame-mode):
10090 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
10091
f45f90f3
LL
100922012-04-16 Leo Liu <sdl.web@gmail.com>
10093
10094 * progmodes/python.el: Trivial cleanup.
10095
94ee8db5
GM
100962012-04-16 Glenn Morris <rgm@gnu.org>
10097
121b8917
GM
10098 * vc/vc.el (vc-string-prefix-p):
10099 * vc/pcvs-util.el (cvs-string-prefix-p):
10100 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
10101 * mpc.el (mpc-string-prefix-p):
10102 Make all of these into obsolete aliases for string-prefix-p.
10103 Update callers.
10104 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
10105
1197ecfa
GM
10106 * textmodes/two-column.el: Move custom options to the start.
10107 (frame-width): Remove compat definition.
10108 (2C-associate-buffer, 2C-dissociate):
10109 Use with-current-buffer rather than save-excursion.
10110 (2C-dissociate): Force a mode-line update.
10111 (2C-autoscroll): Use ignore-errors.
10112
099e7202
GM
10113 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
10114 Autoload trivia.
10115
bf350d6a
GM
10116 * emacs-lisp/cl-extra.el (*random-state*):
10117 Remove unnecessary declaration.
10118
0e829eab
GM
10119 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
10120
e3ad7552
GM
10121 * play/cookie1.el (cookie-snarf):
10122 Give an explicit error if input file cannot be read.
10123
68892d27
GM
10124 * play/yow.el (yow-file): Use expand-file-name rather than concat.
10125
20f0c46d
GM
10126 * progmodes/perl-mode.el (c-macro-expand):
10127 Remove unnecessary autoload (it is in loaddefs.el).
10128
5a0978ce
GM
10129 * textmodes/picture.el (picture-desired-column)
10130 (picture-update-desired-column): Convert comments to doc-strings.
10131 (picture-substitute): Remove function.
10132 (picture-mode-map): Initialize in the defvar.
10133
6b955486
GM
10134 * woman.el: Remove eval-after-load for tar-mode.
10135 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
10136 (woman-tar-extract-file): Autoload it.
10137
94ee8db5
GM
10138 * frame.el (automatic-hscrolling): Make this alias obsolete.
10139
177eca34
AM
101402012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10141
090bd7cb 10142 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 10143 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
10144 (ispell-dictionary-base-alist): Revert to original XEmacs
10145 friendly version for default. [:alpha:] will be added in
090bd7cb 10146 `ispell-set-spellchecker-params' if needed.
177eca34 10147
c505aaeb
CY
101482012-04-16 Chong Yidong <cyd@gnu.org>
10149
b19dd9d1 10150 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
10151 (imagemagick-register-types): Use it.
10152 (imagemagick-types-inhibit): Add :set function. Allow new value
10153 of t to inhibit all types.
10154
10155 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
10156 so we can preload it.
10157
10158 * loadup.el (fboundp): Preload regexp-opt, needed by
10159 imagemagick-register-types.
10160
60efac0f
CY
101612012-04-15 Chong Yidong <cyd@gnu.org>
10162
10163 * frame.el (scrolling): Remove nearly unused customization group.
10164
10165 * scroll-all.el (scroll-all-mode): Move to windows group.
10166
5dd1713e
CY
101672012-04-15 Chong Yidong <cyd@gnu.org>
10168
10169 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
10170
e6fd457e
CY
101712012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10172
10173 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 10174 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 10175
e153c136
GM
101762012-04-15 Glenn Morris <rgm@gnu.org>
10177
10178 * simple.el (process-file-side-effects): Doc fix.
10179
e6fd457e 101802012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
10181
10182 * international/mule-cmds.el (set-language-environment): Doc fix.
10183
3603c3b1
JB
101842012-04-14 Juanma Barranquero <lekktu@gmail.com>
10185
10186 * server.el (server-auth-key, server-generate-key): Doc fixes.
10187 (server-get-auth-key): Doc fix. Use `string-match-p'.
10188 (server-start): Reflow docstring.
10189
e6de100c
LI
101902012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
10191
10192 * server.el (server-generate-key): `called-interactively-p'
10193 requires a parameter.
10194
29734c21
MN
101952012-04-14 Michal Nazarewicz <mina86@mina86.com>
10196
10197 * server.el (server-auth-key): New variable.
75f1671a 10198 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
10199 (server-start): Use the new variable and functions to allow
10200 setting a permanent server key (bug#9423).
10201
d65c9521
LL
102022012-04-14 Leo Liu <sdl.web@gmail.com>
10203
10204 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
10205
5ae255c7
PE
102062012-04-14 Paul Eggert <eggert@cs.ucla.edu>
10207
10208 Spelling fixes.
10209 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
10210 Emacs uses American spelling.
10211
d5e6342e
JB
102122012-04-14 Juanma Barranquero <lekktu@gmail.com>
10213
10214 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
10215 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
10216 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
10217 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
10218
ab036cd7
SM
102192012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10220
10221 * progmodes/which-func.el (which-func-modes): Change default.
10222
35dc09a1 102232012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
10224
10225 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
10226 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
10227
35dc09a1 102282012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
10229
10230 * custom.el (custom-theme-set-variables): Doc fix.
10231
35dc09a1 102322012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
10233
10234 * international/mule.el (set-auto-coding-for-load): Doc fix.
10235
35dc09a1 102362012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 10237
35dc09a1
GM
10238 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
10239 imenu work again for Objective C Mode. Correct the *-index values,
10240 these having been disturbed by a previous change in 2011-08.
57f845ee 10241
0de3da9f
AM
10242 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
10243 Correct two search limits.
10244
35dc09a1 102452012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
10246
10247 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
10248
35dc09a1 102492012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
10250
10251 * international/characters.el: Fix sorting.
10252
35dc09a1 102532012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
10254
10255 * international/characters.el: Add more missing Latin case pairs.
10256
35dc09a1 102572012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
10258
10259 * files.el (dir-locals-set-class-variables): Doc fix.
10260
35dc09a1 102612012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 10262
3f1b5bf8
EZ
10263 * international/characters.el: Add set-case-syntax-pair call for
10264 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
10265 counterpart. (Bug#11209)
10266
9f847f41
EZ
10267 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
10268
35dc09a1 102692012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
10270
10271 * calendar/holidays.el (calendar-check-holidays): Doc fix.
10272
35dc09a1 102732012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 10274
35dc09a1
GM
10275 * textmodes/ispell.el (ispell-dictionary-base-alist):
10276 Add data for Hebrew.
e2627d21 10277
35dc09a1 102782012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 10279
35dc09a1
GM
10280 * net/rcirc.el (rcirc-cmd-quit):
10281 Revert 2012-03-18 change (Bug#11192).
5c14e333 10282
35dc09a1 102832012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
10284
10285 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
10286
35dc09a1 102872012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 10288
4517fe3a
SM
10289 * minibuffer.el (completion-in-region-mode-map):
10290 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 10291
b472a594
VD
102922012-04-13 Vivek Dasmohapatra <vivek@etla.org>
10293
10294 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
10295
09b95ce3
MY
102962012-04-13 Masatake YAMATO <yamato@redhat.com>
10297
10298 * minibuffer.el (minibuffer-local-filename-syntax): New variable
10299 to allow `C-M-f' and `C-M-b' to move to the nearest path
10300 separator (bug#9511).
10301
4b63a9ca
LI
103022012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
10303
10304 * avoid.el: Require cl when compiling. And also move the
10305 `provide' to the end.
10306
7b55b8bf
TV
103072012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10308
10309 * avoid.el (mouse-avoidance-banish-position): New variable.
10310 (mouse-avoidance-banish-destination): Use it (bug#10165).
10311
adedaa1f
LL
103122012-04-13 Leo Liu <sdl.web@gmail.com>
10313
10314 * progmodes/which-func.el (which-func-modes): Add objc-mode.
10315
70e74021
KB
103162012-04-13 Ken Brown <kbrown@cornell.edu>
10317
10318 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 10319 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
10320 (browse-url-filename-alist): For the same reason, don't modify
10321 file:// URLs on Cygwin.
10322
e75e89ba
SM
103232012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
10324
10325 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
10326 the region on shift if the binding is already shifted (bug#11221).
10327
82f289a4
GM
103282012-04-12 Glenn Morris <rgm@gnu.org>
10329
10330 * mail/mailpost.el: Move to obsolete/.
10331
d333dc4c
DA
103322012-04-12 Drew Adams <drew.adams@oracle.com>
10333
10334 * imenu.el (imenu--generic-function): Ignore invisible definitions
10335 (bug#10123).
10336
0d15b5ba
VD
103372012-04-12 Vivek Dasmohapatra <vivek@etla.org>
10338
10339 * hexl.el (hexl-bits): New variable.
10340 (hexl-options): Mention the variable in the doc string.
75f1671a 10341 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 10342 (hexl-mode): Mention the new variable.
75f1671a
JB
10343 (hexl-mode, hexl-current-address, hexl-current-address):
10344 Use the displen.
0d15b5ba
VD
10345 (hexl-ascii-start-column): New function.
10346 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
10347 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
10348
64a440db
AM
103492012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10350
10351 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
10352 '("-i" ENCODING), in 2 separate command-line arguments, to specify
10353 the encoding, as expected by hunspell.
10354
6decb6c2
SM
103552012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
10356
10357 * battery.el (battery--linux-sysfs-regexp): New const.
10358 (battery-status-function): Use it. Remove yeeloong special case.
10359 (battery-yeeloong-sysfs): Remove.
10360 (battery-echo-area-format): Remove yeeloong special case.
10361
088be6fb
SM
103622012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
10363
6622e416
SM
10364 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
10365 Reported by Noah Friedman.
10366
088be6fb
SM
10367 * subr.el (read-passwd): Use read-string.
10368
b49f886e
LMI
103692012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10370
10371 * vcursor.el (vcursor-move): Increase the priority of the overlay
10372 (bug#9663).
10373
a63067fc
DD
103742012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
10375
10376 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
10377 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
10378
ac3cf14a
WS
103792012-04-11 William Stevenson <yhvh2000@gmail.com>
10380
10381 * textmodes/artist.el (artist-mode): Convert artist-mode to use
10382 define-minor-mode (bug#10760).
10383
c4fc691b 103842012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 10385
4d6769e1 10386 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
10387 that directories matching `grep-find-ignored-files' won't be
10388 pruned (bug#10351).
10389
af23e2e5
CY
103902012-04-11 Chong Yidong <cyd@gnu.org>
10391
10392 * startup.el (command-line): Remove support for long-obsolete
10393 variable font-lock-face-attributes.
10394
ab7ce8c1
GM
103952012-04-11 Glenn Morris <rgm@gnu.org>
10396
10397 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
10398
de8c03dc
SM
103992012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
10400
10401 * window.el (window--state-get-1): Obey window-point-insertion-type.
10402
050cc68b
LB
104032012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
10404
10405 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
10406 to previous function when point is on the first character of a
75f1671a 10407 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 10408
a38c310c
GM
104092012-04-11 Glenn Morris <rgm@gnu.org>
10410
effed0c2
GM
10411 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
10412 not just file-errors.
10413
a38c310c
GM
10414 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
10415 (vc-bzr-sha1): Use internal sha1.
10416
0221e323
SM
104172012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
10418
10419 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
10420
43956923
SG
104212012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
10422
10423 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
10424 that start in the middle of the line (bug#10496).
10425
6a8c9eaf
DN
104262012-04-10 Dan Nicolaescu <dann@gnu.org>
10427
10428 * battery.el (battery-linux-proc-acpi): Only one battery is
10429 discharged at a time, but that seems to confuse battery.el when
10430 computing `rate-type' for the battery not being discharged
10431 (bug#10332).
10432
1930bf5d
SM
104332012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
10434
2a718f6f
SM
10435 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
10436
599430d0
SM
10437 * international/quail.el: Use dolist and simplify.
10438 (quail-define-package, quail-update-keyboard-layout)
10439 (quail-define-rules): Use dolist.
10440 (quail-insert-kbd-layout, quail-get-translation): CSE.
10441
a2754b6c
SM
10442 * tmm.el: Use dolist, remove left over hook.
10443 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
10444 Use dolist.
10445 (calendar-load-hook): Don't mess with it.
10446
1930bf5d
SM
10447 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
10448 Use derived-mode-p. Run the diff asynchronously.
10449
9f67961c
LMI
104502012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
10451
10452 * obsolete/mouse-sel.el: Add an Obsolete-since header.
10453
2a8ce227
JB
104542012-04-10 Juanma Barranquero <lekktu@gmail.com>
10455
10456 * misc.el: Display absolute path of loaded DLLs (bug#10424).
10457 (list-dynamic-libraries--loaded): New function.
10458 (list-dynamic-libraries--refresh): Use it.
10459
8f33b5f8
NW
104602012-04-10 Nathan Weizenbaum <nweiz@google.com>
10461
1930bf5d
SM
10462 * progmodes/python.el (python-fill-paragraph):
10463 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
10464 disabled (bug#7018).
10465
b12f0439
L
104662012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
10467
1930bf5d 10468 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
10469 DOS/MS Windows for the Baltic languages. There are still plenty
10470 of texts written in this encoding/codepage (bug#6519).
b12f0439 10471
57c3bd01
GM
104722012-04-10 Glenn Morris <rgm@gnu.org>
10473
10474 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
10475 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
10476
6c3eab30
FA
104772012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
10478
1930bf5d 10479 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
10480 next-line "n" and previous-line "p" in order to make recentf more
10481 consistent with ibuffer, dired or org-mode (bug#9387).
10482
24d78a88
LMI
104832012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
10484
bc72b5d9
LMI
10485 * image.el (put-image): Return the overlay created instead of the
10486 optional input string (bug#7834). Note that this may break code
10487 that is (for some reason or other) depending on `put-image'
10488 returning the string.
10489
bd2dba5a
LMI
10490 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
10491
74beb59f
LMI
10492 * simple.el (zap-to-char): Allow zapping using input methods
10493 (bug#1580).
10494
24d78a88
LMI
10495 * textmodes/fill.el (fill-region): Leave point and mark where they
10496 were before filling (bug#5399).
10497
263f20cd
GM
104982012-04-09 Glenn Morris <rgm@gnu.org>
10499
10500 * version.el (emacs-bzr-get-version):
10501 Handle lightweight checkouts of local branches.
10502
58d1f797
AS
105032012-04-09 Andreas Schwab <schwab@linux-m68k.org>
10504
263f20cd 10505 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 10506
b4d3bc10
CY
105072012-04-09 Chong Yidong <cyd@gnu.org>
10508
10509 * custom.el (custom-variable-p): Return nil for non-symbol
10510 arguments instead of signaling an error.
10511 (user-variable-p): Obsolete alias for custom-variable-p.
10512
10513 * apropos.el (apropos-variable):
10514 * files-x.el (read-file-local-variable):
10515 * simple.el (set-variable):
10516 * woman.el (woman-mini-help):
10517 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
10518
fd06db5d
GM
105192012-04-09 Glenn Morris <rgm@gnu.org>
10520
e5fcdb5e
GM
10521 * startup.el (normal-top-level): Don't look for leim-list.el
10522 in places where it will not be found. (Bug#910)
10523
fd06db5d
GM
10524 * international/mule-cmds.el (set-default-coding-systems):
10525 * files.el (normal-mode):
10526 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
10527 This function was removed with ucs-tables.el in 2008.
10528
b39bb7e1
EZ
105292012-04-08 Eli Zaretskii <eliz@gnu.org>
10530
10531 * textmodes/ispell.el (ispell-check-version): For hunspell, set
10532 ispell-encoding8-command to "-i", without a trailing space.
10533 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
10534 separate command-line arguments, to specify the encoding, since
10535 that's how hunspell expects it.
10536
5c5b8e23
GM
105372012-04-08 Glenn Morris <rgm@gnu.org>
10538
10539 * loadup.el: Load bindings before cus-start.
10540 This reduces somewhat the number of "rogue" settings in emacs -Q.
10541
a1ed8b05
GM
105422012-04-07 Glenn Morris <rgm@gnu.org>
10543
10544 * version.el (emacs-bzr-get-version): New function.
dfae128a 10545 (emacs-bzr-version): New variable.
a1ed8b05
GM
10546 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
10547 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
10548
b142f158
EZ
105492012-04-07 Eli Zaretskii <eliz@gnu.org>
10550
dfae128a
GM
10551 * international/uni-bidi.el, international/uni-category.el:
10552 * international/uni-combining.el, international/uni-decimal.el:
10553 * international/uni-decomposition.el, international/uni-digit.el:
10554 * international/uni-lowercase.el, international/uni-mirrored.el:
10555 * international/uni-name.el, international/uni-numeric.el:
10556 * international/uni-titlecase.el, international/uni-uppercase.el:
10557 Update for Unicode 6.1.
b142f158 10558
9078ead6
EZ
105592012-04-07 Eli Zaretskii <eliz@gnu.org>
10560
10561 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
10562
f23d2c7d
LMI
105632012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
10564
10565 * window.el (shrink-window): Mention the `window-min-height'
10566 variable in the doc string.
10567
0a0a3573
BG
105682012-04-05 Bastien Guerry <bzg@altern.org>
10569
10570 * color.el (color-lighten-name): Fix typo.
10571
e5248ac9
SM
105722012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
10573
10574 * server.el (server--on-display-p): New function.
10575 (server--on-display-p): Use it.
10576
b4243e22
GV
105772012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
10578
10579 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
10580 (bug#11145).
10581
305d9f44
SM
105822012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
10583
10584 * comint.el (comint--common-quoted-suffix): Check string boundary
10585 before comparing (bug#11158).
10586 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
10587
3d439cd1
CY
105882012-04-04 Chong Yidong <cyd@gnu.org>
10589
321cc491
CY
10590 * minibuffer.el (completion-extra-properties): Doc fix.
10591
3d439cd1
CY
10592 * subr.el (delayed-warnings-hook): Doc fix.
10593
2d562c0f
DU
105942012-04-04 Daiki Ueno <ueno@unixuser.org>
10595
10596 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
10597 selection (Bug#11159).
10598 (epa-insert-keys): Inform that the default public key will be
10599 exported if no key is selected.
10600
4443f204
RS
106012012-04-04 Richard Stallman <rms@gnu.org>
10602
10603 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
10604
529c06b6
CY
106052012-04-03 Chong Yidong <cyd@gnu.org>
10606
10607 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
10608 mail-insert-file, not its obsolete alias mail-attach-file.
10609
66b907dc
MA
106102012-04-03 Michael Albinus <michael.albinus@gmx.de>
10611
10612 * notifications.el (notifications-notify): Fix docstring.
10613
c0ea195d
GM
106142012-04-02 Glenn Morris <rgm@gnu.org>
10615
10616 * emacs-lisp/authors.el (authors-aliases): Another addition.
10617
5ca64e00
MA
106182012-04-02 Michael Albinus <michael.albinus@gmx.de>
10619
10620 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
10621 `tramp-compat-call-process' instead of `tramp-local-call-process'.
10622 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
10623
42ee526b
CY
106242012-04-01 Chong Yidong <cyd@gnu.org>
10625
10626 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
10627 Handle root directory properly.
10628 (copy-directory): Caller changed.
10629
10630 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
10631 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
10632
0b021094
GM
106332012-03-31 Glenn Morris <rgm@gnu.org>
10634
40f86458
GM
10635 * term/xterm.el (xterm-extra-capabilities): Doc fix.
10636
7019c177
GM
10637 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
10638
a1daddd6
GM
10639 * calendar/calendar.el (calendar-window-list)
10640 (calendar-hide-window): Restore. (Bug#11140)
10641 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
10642
0b021094
GM
10643 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
10644
40311efc
TV
106452012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10646
10647 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
10648 Check if file is a symlink (Bug#10489).
10649
10650 * files.el (copy-directory): Likewise.
10651
5319014e
CY
106522012-03-30 Chong Yidong <cyd@gnu.org>
10653
10654 * image.el (imagemagick-types-inhibit)
10655 (imagemagick-register-types): Doc fix.
10656
935d1290
AM
106572012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10658
090bd7cb 10659 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 10660 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 10661 and treats ~word as ordinary words in pipe mode.
935d1290 10662
61c6e8fd
GM
106632012-03-30 Glenn Morris <rgm@gnu.org>
10664
10665 * tutorial.el (help-with-tutorial): Ensure local variables don't
10666 happen to make the buffer read-only. (Bug#11127)
10667
81fdff00
SM
106682012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
10669
10670 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
10671 (perl-calculate-indent): Return `noindent' in strings.
10672
6e7a6ec0
SS
106732012-03-28 Sam Steingold <sds@gnu.org>
10674
10675 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
10676 instead of the broken adhockery which does not prevent calendar
10677 buffers from being displayed at random after exit.
10678 (calendar-window-list, calendar-hide-window): Remove the broken
10679 adhockery.
10680
fee88ca0
GM
106812012-03-28 Glenn Morris <rgm@gnu.org>
10682
10683 * replace.el (query-replace-map): Doc fix.
10684
38de3354
AS
106852012-03-28 Andreas Schwab <schwab@linux-m68k.org>
10686
10687 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
10688 contents. (Bug#11109)
10689
b973155e
SM
106902012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
10691
10692 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
10693 (bug#11077).
10694 (avl-tree--check, avl-tree--check-node): New funs.
10695
dcb6e7b3
MR
106962012-03-27 Martin Rudalics <rudalics@gmx.at>
10697
10698 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
10699 (switch-to-prev-buffer, switch-to-next-buffer):
10700 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
10701 showing a buffer already is done on the same frame.
10702
b4fa35fa
GM
107032012-03-27 Glenn Morris <rgm@gnu.org>
10704
10705 * startup.el (mail-host-address): Doc fix.
10706
f9210e18
SM
107072012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10708
10709 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
10710 than 197 variables.
10711
c0bf7753
AF
107122012-03-26 Ami Fischman <ami@fischman.org>
10713
10714 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
10715
33da7b16
GM
107162012-03-26 Glenn Morris <rgm@gnu.org>
10717
02243d9d
GM
10718 * files.el (save-buffers-kill-emacs): Doc fix.
10719
33da7b16
GM
10720 * startup.el (normal-top-level, command-line, command-line-1):
10721 Give them doc strings.
10722
e5a69fd0
EZ
107232012-03-25 Eli Zaretskii <eliz@gnu.org>
10724
10725 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 10726 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 10727
9a69676a
CY
107282012-03-25 Chong Yidong <cyd@gnu.org>
10729
4125cb8b
CY
10730 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
10731 theme if it was previously enabled before (Bug#11031).
10732
dd470960
CY
10733 * cus-theme.el (custom-theme-write-faces): Retrieve current face
10734 spec with custom-face-get-current-spec if its :shown-value is not
10735 determined yet (Bug#9337).
4125cb8b 10736 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 10737
9a69676a
CY
10738 * button.el (button-at): Minor addition to docstring.
10739
6e7e90fa
SL
107402012-03-24 Simon Leinen <simon.leinen@gmail.com>
10741
10742 * vc/vc.el (vc-merge): Fix a prompt.
10743
f06e2758
CY
107442012-03-24 Chong Yidong <cyd@gnu.org>
10745
10746 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
10747 point (Bug#9623).
10748
6e7e90fa
SL
10749 * button.el (button-at): Minor addition to docstring.
10750
b9d0879b
SM
107512012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
10752
10753 * newcomment.el (comment-choose-indent): No space after BOL.
10754
e71cebb3
SS
107552012-03-22 Sam Steingold <sds@gnu.org>
10756
10757 * window.el (switch-to-prev-buffer): Revert last patch because the
10758 bug turned out to be an advertised feature (Elisp manual 28.14).
10759
335aff35
GM
107602012-03-22 Glenn Morris <rgm@gnu.org>
10761
10762 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
10763 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
10764
c676576a
LMI
107652012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
10766
10767 * net/network-stream.el (network-stream-open-starttls): Make error
10768 message under Windows be less misleading.
10769
126f3d39
LW
107702012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
10771
10772 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
10773 understands (bug#9942).
10774
64fee311
CY
107752012-03-22 Chong Yidong <cyd@gnu.org>
10776
10777 * simple.el (end-of-visible-line): Handle return value of
10778 next-single-property-change properly (Bug#9371).
10779
a640d29a
KH
107802012-03-22 Kenichi Handa <handa@m17n.org>
10781
10782 * international/quail.el (quail-insert-kbd-layout): Fix previous
10783 change. To avoid unwanted bidi reordering, use
10784 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
10785
39675016
DG
107862012-03-21 Dmitry Gutov <dgutov@yandex.ru>
10787
10788 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
10789 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
10790 (ruby-beginning-of-indent): Be more careful with the difference
10791 between word-boundary and symbol boundary.
10792 (ruby-mode-syntax-table): Make : a symbol constituent.
10793
0a6934fc 107942012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 10795
3d008e4f
SM
10796 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
10797
0a6934fc
SM
107982012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
10799
af67c9d7
SM
10800 * progmodes/etags.el (tags-completion-at-point-function):
10801 Improve last fix.
10802
1acad97c
SM
10803 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
10804
e298b5da
SS
108052012-03-21 Sam Steingold <sds@gnu.org>
10806
10807 * progmodes/etags.el (tags-completion-at-point-function):
10808 Avoid the error when point is inside the pattern.
10809
91d82a70
JY
108102012-03-21 John Yates <john@yates-sheets.org> (tiny change)
10811
10812 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
10813 line (Bug#10855).
10814
69188b79
CY
108152012-03-21 Drew Adams <drew.adams@oracle.com>
10816
10817 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
10818
99fc91fe
AK
108192012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
10820
10821 * ido.el (ido-set-current-directory, ido-read-internal)
10822 (ido-choose-completion-string, ido-completion-help): Handle nil
10823 value of ido-completion-buffer (Bug#11008).
10824
087bbb4c
SS
108252012-03-21 Sam Steingold <sds@gnu.org>
10826
10827 * window.el (switch-to-prev-buffer): Do not switch to a visible
10828 window previous buffer, just like with the frame previous buffers.
10829
fb5b8aca
CY
108302012-03-21 Chong Yidong <cyd@gnu.org>
10831
10832 * faces.el (make-face, make-empty-face, copy-face):
10833 * face-remap.el (face-remap-add-relative, face-remap-set-base):
10834 Doc fixes.
10835
dc9924b8
SM
108362012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
10837
10838 * wid-edit.el (widget-complete-field): Remove (bug#11051).
10839 (widget-complete): Remove broken use of it.
10840
f0bcceb9
CY
108412012-03-20 Chong Yidong <cyd@gnu.org>
10842
dc9924b8
SM
10843 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
10844 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
10845 characters.
10846
ee52ebf3
TH
108472012-03-20 Tassilo Horn <tassilo@member.fsf.org>
10848
10849 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
10850 to draw rectangles, not squares. (Regression introduced by revno
10851 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
10852
4c5779ab
CY
108532012-03-18 Chong Yidong <cyd@gnu.org>
10854
10855 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
10856 it is not yet defined (for temacs).
10857
15360934
LL
108582012-03-18 Leo Liu <sdl.web@gmail.com>
10859
735135f9
PE
10860 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
10861 prefix.
15360934 10862
d9a8eb66
EZ
108632012-03-17 Eli Zaretskii <eliz@gnu.org>
10864
10865 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
10866 (ispell-choices-win-default-height, ispell-silently-savep)
10867 (ispell-dictionary-alist, ispell-encoding8-command)
10868 (ispell-check-version, ispell-aspell-find-dictionary)
10869 (ispell-valid-dictionary-list, ispell-words-keyword)
10870 (ispell-get-word, ispell-internal-change-dictionary)
10871 (ispell-region, ispell-skip-region-list)
10872 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
10873 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
10874 (ispell-message-text-end, ispell-message)
10875 (ispell-buffer-local-parsing): Doc fix.
10876
f02ff80d
J
108772012-03-13 Jambunathan K <kjambunathan@gmail.com>
10878
10879 * htmlfontify.el: Add support for code block fontification for ODT
10880 export (Bug #9914).
10881 (hfy-optimisations): Define new option
10882 `body-text-only'
10883 (hfy-fontify-buffer): Honor above setting.
10884 (hfy-begin-span, hfy-end-span): New routines factored out form
10885 `hfy-fontify-buffer'.
10886 (hfy-begin-span-handler, hfy-end-span-handler): New variables
10887 that permit insertion of custom tags.
10888 (hfy-fontify-buffer): Use above handlers.
10889 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
10890 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 10891 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 10892 over multiple runs. This is made possible by having the caller let
f02ff80d
J
10893 bind a special variable `hfy-user-sheet-assoc'.
10894 (htmlfontify-string): New defun.
10895 (hfy-compile-face-map): Make sure that the last char in the
10896 buffer is correctly fontified.
10897 (hfy-face-resolve-face): Whitespace only change.
10898
9ac7a13f
EZ
108992012-03-17 Eli Zaretskii <eliz@gnu.org>
10900
10901 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
10902 message more clear.
10903
e2b5bdd7
LL
109042012-03-16 Leo Liu <sdl.web@gmail.com>
10905
10906 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
10907
2e492df3
AM
109082012-03-16 Alan Mackenzie <acm@muc.de>
10909
10910 Further optimise the handling of large macros.
10911
10912 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
10913 limit to a call of `c-literal-limits'.
10914 (c-determine-+ve-limit): New function.
dc9924b8
SM
10915 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
10916 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
10917 In CASE 5B, restrict a search limit to 500.
10918 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
10919
10920 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
10921 Restrict macro bounds to +-500 from after-change's BEG END.
10922
50e94f0c
LL
109232012-03-16 Leo Liu <sdl.web@gmail.com>
10924
10925 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
10926
6f09f6ed
AH
109272012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
10928
10929 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 10930 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 10931
c7e73d51
GM
109322012-03-16 Glenn Morris <rgm@gnu.org>
10933
da986230
GM
10934 * view.el (view-buffer, view-buffer-other-window)
10935 (view-buffer-other-frame): Doc fixes re special mode-class.
10936
0835f01e
GM
10937 * subr.el (eval-after-load): If named feature is provided not from
10938 a file, run after-load forms. (Bug#10946)
10939
c7e73d51
GM
10940 * calendar/calendar.el (calendar-insert-at-column):
10941 Handle non-unit-width characters a bit better. (Bug#10978)
10942
3f2eafd1
CY
109432012-03-15 Chong Yidong <cyd@gnu.org>
10944
10945 * emacs-lisp/ring.el (ring-extend): New function.
10946 (ring-insert+extend): Extend the ring correctly (Bug#11019).
10947
10948 * comint.el (comint-read-input-ring)
10949 (comint-add-to-input-history): Grow comint-input-ring lazily.
10950
103af3fe
SM
109512012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
10952
663b1677
SM
10953 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
10954 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
10955
103af3fe
SM
10956 * imenu.el: Fix multiple inheritance breakage (bug#9199).
10957 (imenu-add-to-menubar): Don't add a redundant index.
10958 (imenu-update-menubar): Handle a dynamically composed keymap.
10959
899cb7cb
KY
109602012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
10961
10962 * mail/sendmail.el (mail-encode-header):
10963 Bind rfc2047-encode-encoded-words to nil.
10964
3809f91d
GM
109652012-03-13 Glenn Morris <rgm@gnu.org>
10966
10967 * calendar/calendar.el (calendar-string-spread):
10968 Handle non-unit-width characters a bit better. (Bug#10978)
10969
9e345a01
LL
109702012-03-13 Leo Liu <sdl.web@gmail.com>
10971
10972 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
10973 directory and file as argument (Bug#10822).
10974
4a07df36
KS
109752012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
10976
10977 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
10978 For dynamically generated code, follow $PC.
10979 (gdb-disassembly-handler-custom): Handle no function name case.
10980
4aaa9356
TL
109812012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
10982
10983 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
10984 * emulation/ws-mode.el (ws-query-replace):
10985 * sort.el (sort-regexp-fields):
10986 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
10987
225979da
SM
109882012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10989
10990 * dabbrev.el: Fix cycle completion order (bug#10963).
10991 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
10992 (dabbrev-completion): Don't use an obarray; provide
10993 a cycle-sort-function.
10994
e2f1fdab
LL
109952012-03-12 Leo Liu <sdl.web@gmail.com>
10996
dc9924b8 10997 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
10998 (kill-do-not-save-duplicates): Doc fix.
10999
b19490ed
SM
110002012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11001
11002 * dabbrev.el: Fix cycle completion (bug#10963).
11003 Use lexical binding and wrap to 80 columns.
11004 (dabbrev-completion): Delay computing the list of completions.
11005
4b05d722
KH
110062012-03-12 Kenichi Handa <handa@m17n.org>
11007
11008 * international/quail.el (quail-insert-kbd-layout): Surround each
11009 row by LRO and PDF instead of inserting many LRMs. Pad the left
11010 and right of each non-spacing marks. Insert invisible space
11011 between lower and upper characters to prevent composition.
11012
dbbc2e69
SM
110132012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11014
11015 * minibuffer.el (minibuffer-complete): Don't get confused when the
11016 function is run twice via different commands (bug#10958).
11017 (complete-with-action): Fix docstring.
11018
292112ed
CY
110192012-03-12 Chong Yidong <cyd@gnu.org>
11020
5d1ac394
CY
11021 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
11022 (nxml-completion-at-point-function): New function.
11023 (nxml-mode): Use it.
11024 (nxml-bind-meta-tab-to-complete-flag): Default to t.
11025
292112ed
CY
11026 * emacs-lisp/package.el (package-unpack, package-unpack-single):
11027 Load generated autoloads file before byte compiling (Bug#10970).
11028 (package--make-autoloads-and-compile): New helper fun.
11029
4098f8f7
CS
110302012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
11031
11032 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
11033
8f754691
MA
110342012-03-11 Michael Albinus <michael.albinus@gmx.de>
11035
11036 * autorevert.el (auto-revert-handler): Ensure, that
11037 file-readable-p is applied only for local files or in
11038 auto-revert-tail-mode.
11039
e29ab36b
AS
110402012-03-11 Andreas Schwab <schwab@linux-m68k.org>
11041
dbbc2e69
SM
11042 * server.el (server-eval-at): Handle non-tcp connections.
11043 Decode result string.
ad0bf5b6 11044
e29ab36b
AS
11045 * server.el (server-msg-size): New constant.
11046 (server-reply-print): New function.
11047 (server-eval-and-print): Use it.
11048 (server-eval-at): Use server-quote-arg and server-unquote-arg.
11049 Handle -print-nonl.
11050
de5939ba
CS
110512012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
11052
11053 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
11054 (Bug#10987).
11055
0c93eabf
CY
110562012-03-11 Chong Yidong <cyd@gnu.org>
11057
397a688f
CY
11058 * simple.el (goto-line): Doc fix (Bug#9938).
11059
2cc775f9
CY
11060 * subr.el (save-window-excursion): Doc fix (Bug#9979).
11061
0c93eabf
CY
11062 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
11063 when finished (Bug#10963).
11064
c491fa41
MR
110652012-03-11 Martin Rudalics <rudalics@gmx.at>
11066
11067 * window.el (split-window-below): Fix bug in case where
11068 split-window-keep-point is nil (Bug#10971).
11069
300e8fa5
JL
110702012-03-11 Juri Linkov <juri@jurta.org>
11071
11072 * replace.el (replace-highlight): Set isearch-word to nil
11073 unconditionally. (Bug#10887)
11074
dbf6c5a1
EZ
110752012-03-10 Eli Zaretskii <eliz@gnu.org>
11076
11077 * net/mairix.el (mairix-replace-invalid-chars): Rename from
11078 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 11079 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
11080 (mairix-widget-create-query): Add usage information about mairix
11081 search forms: negating words, searching for substrings, etc.
11082
b9e501de
JP
110832012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
11084
11085 * international/fontset.el (font-encoding-alist): Add an entry for
11086 ksx1001 (Bug#5667).
11087
92795c91
RS
110882012-03-10 Richard Stallman <rms@gnu.org>
11089
1694e6c1
RS
11090 * mail/sendmail.el (mail-encode-header):
11091 Set rfc2047-encode-encoded-words.
11092
607e8555
RS
11093 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
11094
de3bc99a
RS
11095 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
11096 view buffer means not swapped.
11097 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
11098 (rmail-write-region-annotate): Error if real text has disappeared.
11099
92795c91
RS
11100 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
11101
699bd04e
CY
111022012-03-10 Chong Yidong <cyd@gnu.org>
11103
11104 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
11105 * emulation/cua-base.el (cua--init-keymaps):
11106 Add delete-forward-char to remappings (Bug#9666).
699bd04e 11107
570a1714
MR
111082012-03-10 Martin Rudalics <rudalics@gmx.at>
11109
dbbc2e69
SM
11110 * speedbar.el (speedbar-unhighlight-one-tag-line):
11111 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 11112
82dcf4e4
CY
111132012-03-10 Chong Yidong <cyd@gnu.org>
11114
7a2c7ca7
CY
11115 * minibuffer.el (completion-in-region, completion-help-at-point):
11116 Give the completion field overlay a high priority (Bug#6830).
11117
82dcf4e4
CY
11118 * dired.el (dired-goto-file): Recognize absolute file name
11119 listings (Bug#7126).
11120 (dired-goto-file-1): New helper function.
11121 (dired-toggle-read-only): Inhibit warnings.
11122
052e28ac
MA
111232012-03-09 Michael Albinus <michael.albinus@gmx.de>
11124
75f1671a 11125 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
11126 there are no properties.
11127
95d5e396
LL
111282012-03-09 Leo Liu <sdl.web@gmail.com>
11129
11130 * savehist.el (savehist-printable): Stricter check for string
11131 value (Bug#10937).
11132
3f018d6d
EZ
111332012-03-09 Eli Zaretskii <eliz@gnu.org>
11134
dbbc2e69
SM
11135 * mail/smtpmail.el (smtpmail-send-it):
11136 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
11137 valid mbox format.
11138
f7fd3d79
GM
111392012-03-09 Glenn Morris <rgm@gnu.org>
11140
11141 * files.el (dir-locals-find-file):
11142 Don't check result is regular, readable.
11143 (dir-locals-read-from-file): Demote errors.
11144
6ff6e72f
EZ
111452012-03-08 Eli Zaretskii <eliz@gnu.org>
11146
dbbc2e69
SM
11147 * international/quail.el (quail-insert-kbd-layout):
11148 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
11149 layout cell, to prevent their reordering by bidi display engine.
11150 For details, see the discussion in
11151 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
11152
9cec7834
AM
111532012-03-08 Alan Mackenzie <acm@muc.de>
11154
11155 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
11156 the starting position; make it extend the marked region when
11157 invoked repeatedly - all under appropriate circumstances.
11158 Fixes bugs #5525, #10906.
11159
9a40b8d4
GM
111602012-03-08 Glenn Morris <rgm@gnu.org>
11161
11162 * files.el (locate-dominating-file, dir-locals-find-file):
11163 Undo 2012-03-06 change.
11164
7a08ed35
EZ
111652012-03-07 Eli Zaretskii <eliz@gnu.org>
11166
dbbc2e69
SM
11167 * international/quail.el (quail-help):
11168 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
11169 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
11170 for the reason.
11171
5aca4f71 111722012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
11173
11174 Avoid superfluous registering of signals. (Bug#10807)
11175
11176 * notifications.el (notifications-on-action-object)
11177 (notifications-on-close-object): New defvars.
11178 (notifications-on-action-signal, notifications-on-closed-signal):
11179 Unregister the signal if not needed any longer.
11180 (notifications-notify): Register `notifications-action-signal' or
11181 `notifications-closed-signal', if :on-action or :on-close has been
11182 passed as argument.
11183
78e8b10a
CY
111842012-03-07 Chong Yidong <cyd@gnu.org>
11185
11186 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
11187 non-X platforms.
11188
69481eb8
GM
111892012-03-06 Glenn Morris <rgm@gnu.org>
11190
11191 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
11192 (x-disown-selection-internal, x-get-selection-internal):
11193 Doc fix (add arglist signatures). (Bug#10783)
11194
133b8e11
KS
111952012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
11196
11197 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
11198 Handle breakpoints with no "type".
11199
99a83064
GM
112002012-03-06 Glenn Morris <rgm@gnu.org>
11201
11202 * files.el (locate-dominating-file): Add optional predicate argument.
11203 (dir-locals-find-file): Make use of above change.
11204
17798e78
TTN
112052012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
11206
11207 * info.el (Info-insert-dir): Also try "dir.gz".
11208
eb182446
GM
112092012-03-06 Glenn Morris <rgm@gnu.org>
11210
8f2114ee
GM
11211 * files.el (dir-locals-find-file):
11212 Ignore non-readable or non-regular files. (Bug#10928)
11213
eb182446
GM
11214 * files.el (locate-dominating-file): Doc fix.
11215
24679323
AS
112162012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
11217
11218 * calendar/calendar.el (calendar-set-mode-line):
11219 `getenv' returns a string. (Bug#10951)
11220
01d972a9
LL
112212012-03-05 Leo Liu <sdl.web@gmail.com>
11222
109aa8a9
LL
11223 * simple.el (backward-delete-char-untabify): Constrain point to
11224 field (Bug#10939).
11225
01d972a9
LL
11226 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
11227
10607bea
CY
112282012-03-05 Chong Yidong <cyd@gnu.org>
11229
11230 * simple.el (count-words): If called from Lisp, return the word
11231 count, for symmetry with `count-lines'. Arglist changed.
11232 (count-words--message): Args changed. Consolidate counting code
11233 from count-words and count-words-region.
11234 (count-words-region): Caller changed.
11235 (count-lines-region): Make it an obsolete alias.
11236
5dd11cfe
TH
112372012-03-04 Tassilo Horn <tassilo@member.fsf.org>
11238
11239 * saveplace.el (save-place-to-alist)
11240 (save-place-ignore-files-regexp): Allow value nil to disable this
11241 feature.
11242
c349f4e6
CY
112432012-03-04 Chong Yidong <cyd@gnu.org>
11244
11245 * faces.el (face-spec-reset-face): For the default face, reset the
11246 attributes to default values (Bug#10748).
11247
e627be4c
LMI
112482012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
11249
11250 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
11251 previous patch: Check `message-send-mail-function', and not the
11252 default function (bug#10897).
11253
ebeabff4
MA
112542012-03-04 Michael Albinus <michael.albinus@gmx.de>
11255
a41a6cf4
MA
11256 * notifications.el (notifications-on-action-signal)
11257 (notifications-on-closed-signal): Check for unique service name of
11258 incoming event. Fix error in removing entry.
ebeabff4 11259 (top): Register for signals with wildcard service name.
a41a6cf4 11260 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 11261
c1ca42b4
CY
112622012-03-04 Chong Yidong <cyd@gnu.org>
11263
dc9924b8 11264 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 11265
ea16568d
GM
112662012-03-04 Glenn Morris <rgm@gnu.org>
11267
11268 * abbrev.el (copy-abbrev-table, abbrev-table-p)
11269 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
11270 (expand-abbrev, define-abbrev-table): Doc fixes.
11271
fbae4637
LMI
112722012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11273
11274 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
11275 `message-default-send-mail-function' and not `send-mail-function'
11276 when doing the prompting for `sendmail-query-once' before sending
11277 in Message buffers (bug#10897).
11278
a1e7225c
LMI
11279 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
11280 This is inconsistent with all the other stream functions, which leave
11281 the setting up to the higher levels (if so wanted) (bug#10931).
11282
56d093a9
AM
112832012-03-02 Alan Mackenzie <acm@muc.de>
11284
11285 Depessimize the handling of very large macros.
11286
11287 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
11288 (c-macro-cache-syntactic): New variables to implement a one
11289 element macro cache.
11290 (c-invalidate-macro-cache): New function.
11291 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
11292 Adapt to use the new cache.
11293 (c-state-safe-place): Use better the cache of safe positions.
11294 (c-state-semi-nonlit-pos-cache)
11295 (c-state-semi-nonlit-pos-cache-limit):
11296 New variables for...
11297 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
11298 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
11299 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
11300 Use c-state-semi-safe-place.
56d093a9 11301
dbbc2e69
SM
11302 * progmodes/cc-langs.el (c-get-state-before-change-functions):
11303 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 11304
817e5c3d
MA
113052012-03-02 Michael Albinus <michael.albinus@gmx.de>
11306
dbbc2e69
SM
11307 * jka-compr.el (jka-compr-call-process):
11308 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
11309 not remote.
11310
a032a702
MA
113112012-03-01 Michael Albinus <michael.albinus@gmx.de>
11312
11313 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
11314 access of FILE2, if FILE1 does not exist.
11315
99a54f21
MA
11316 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
11317 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
11318
11319 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
11320 Add "PAGER=" to `process-environment'.
11321
f6561e1f
MM
113222012-03-01 Michael R. Mauger <mmaug@yahoo.com>
11323
11324 * progmodes/sql.el: Bug fix
11325 (sql-get-login-ext): Save login values in globals.
11326 (sql-get-login): Use new version of `sql-get-login-ext'.
11327 (sql-interactive-mode): Set global `sql-connection' to nil.
11328 (sql-connect): Set global values for connection.
11329 (sql-product-interactive): Save global values as buffer local.
11330
2d44d9cc
LL
113312012-02-29 Leo Liu <sdl.web@gmail.com>
11332
11333 * abbrev.el (define-abbrevs): Reset sys to nil.
11334
96b49301 113352012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11336
bf7f9bc5
JB
11337 * files.el (file-equal-p): Rename from `files-equal-p'.
11338 Return nil when one or both files don't exist.
96b49301 11339 (file-subdir-of-p): Now only top directory must exists,
11340 return nil if it doesn't.
bf7f9bc5
JB
11341 (copy-directory): No need to test with `file-subdir-of-p' after
11342 creating dir.
11343 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
11344 to `file-equal-p'.
96b49301 11345
44e97401
GM
113462012-02-28 Glenn Morris <rgm@gnu.org>
11347
11348 * shell.el (shell-mode):
11349 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
11350 * play/landmark.el (landmark-font-lock-face-O):
11351 * play/handwrite.el (handwrite):
11352 * play/gomoku.el (gomoku-O):
11353 * net/browse-url.el (browse-url-browser-display):
11354 * international/mule.el (define-charset):
11355 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
11356 * filesets.el (filesets-find-file-delay):
11357 * eshell/em-xtra.el (eshell-xtra):
11358 * eshell/em-unix.el (eshell-grep):
11359 * emulation/viper.el (viper-mode):
11360 * emacs-lisp/regexp-opt.el (regexp-opt-group):
11361 * emacs-lisp/easymenu.el (easy-menu-define):
11362 * calendar/timeclock.el (timeclock-use-display-time):
11363 * bs.el (bs-mode):
11364 * bookmark.el (bookmark-save-flag):
11365 Doc fix (standardize possessive apostrophe usage).
11366
c98c6276
CY
113672012-02-27 Chong Yidong <cyd@gnu.org>
11368
bf7f9bc5
JB
11369 * emulation/viper-cmd.el (viper-intercept-ESC-key):
11370 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 11371
c98c6276
CY
11372 * font-lock.el (font-lock-specified-p): Rename from
11373 font-lock-spec-present. Callers changed.
11374
9c62cd04 113752012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 11376
bf7f9bc5
JB
11377 * emacs-lisp/package.el (package-compute-transaction):
11378 Handle holding a package version to t in package-load-list.
8ac9e529 11379
530739c9
MA
113802012-02-26 Michael Albinus <michael.albinus@gmx.de>
11381
11382 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
11383 (tramp-get-inode, tramp-get-device): Use cached values.
11384
487915d7
AM
113852012-02-26 Alan Mackenzie <acm@muc.de>
11386
11387 Check there is a font-lock specification before doing initial
11388 fontification.
11389
11390 * font-core.el (font-lock-mode): Move the conditional from
11391 :after-hook to font-lock-initial-fontify.
11392 (font-lock-default-function): Move the check for a specification
11393 to font-lock-spec-present.
11394
dc9924b8 11395 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
11396 (font-lock-spec-present): New function.
11397
4fd96557
JB
113982012-02-26 Jim Blandy <jimb@red-bean.com>
11399
11400 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
11401 (gdb-send): Apply it to the operand of the '-interpreter-exec
11402 console' command, so that we can pass arguments with (say) quotes
11403 in them. Store exact string sent in gdb-debug-log (Bug#10765).
11404
9a4888c0
CY
114052012-02-26 Chong Yidong <cyd@gnu.org>
11406
07498861
CY
11407 * help-fns.el (describe-function-1): Clarify description of
11408 remapping (Bug#10844).
11409
9a4888c0
CY
11410 * files.el (files-equal-p): Doc fix.
11411 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
11412 and quit the loop once a mismatch is found.
11413
ea8fb88d
JB
114142012-02-25 Juanma Barranquero <lekktu@gmail.com>
11415
11416 * bs.el (bs--show-with-configuration): Don't throw an error
11417 if the window cannot be split; otherwise, subsequent calls to
11418 bs-show fail, restoring a stale window config. (Bug#10882)
11419
525795c1
JD
114202012-02-25 Jan Djärv <jan.h.d@swipnet.se>
11421
11422 * term/ns-win.el (global-map): Bind ns-drag-file to
11423 ns-find-file (Bug#5855, Bug#10050).
11424
f008086f
AS
114252012-02-25 Andreas Schwab <schwab@linux-m68k.org>
11426
11427 * calendar/parse-time.el (parse-time-string): Allow extractor to
11428 return nil.
11429
a3fcfa99
MA
114302012-02-25 Michael Albinus <michael.albinus@gmx.de>
11431
91027d08
JB
11432 * net/tramp.el (tramp-file-name-for-operation):
11433 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
11434
11435 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
11436 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
11437 Add COPY-CONTENTS argument.
a3fcfa99 11438
67b0de11
CY
114392012-02-25 Chong Yidong <cyd@gnu.org>
11440
11441 Add custom groups for VC backends, for consistency with vc-bzr.
11442
11443 * vc/vc-arch.el (vc-arch):
11444 * vc/vc-cvs.el (vc-cvs):
11445 * vc/vc-git.el (vc-git):
11446 * vc/vc-hg.el (vc-hg):
11447 * vc/vc-mtn.el (vc-mtn):
11448 * vc/vc-rcs.el (vc-rcs):
11449 * vc/vc-sccs.el (vc-sccs):
11450 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
11451 All relevant defcustoms reassigned.
11452
3c9dfce6
CY
114532012-02-25 Chong Yidong <cyd@gnu.org>
11454
1339bf43
CY
11455 * newcomment.el (comment-styles): Add autoload (Bug#10868).
11456
3c9dfce6
CY
11457 * term/x-win.el (x-initialize-window-system): Reduce default for
11458 x-selection-timeout to 5 seconds (Bug#8869).
11459
25b2e303 114602012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11461
ec70a47d
GM
11462 * files.el (files-equal-p, file-subdir-of-p): New functions.
11463 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 11464 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
11465 * dired-aux.el (dired-copy-file-recursive): Same.
11466 (dired-create-files): Modify destination when source is equal to
11467 dest when copying files.
53a46cd0 11468 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 11469
914260cd
MA
114702012-02-24 Michael Albinus <michael.albinus@gmx.de>
11471
11472 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
11473 (Bug#10874)
11474
2cb228f7
AM
114752012-02-23 Alan Mackenzie <acm@muc.de>
11476
11477 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
11478 parameter "after-hook:" to allow the expansion to run code after
11479 the execution of the mode hooks.
11480
11481 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 11482 from font-lock-mode-internal.
2cb228f7 11483
91027d08 11484 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
11485 :after-hook.
11486
8f0fde21
SM
114872012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
11488
3e88618b
SM
11489 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
11490 (completion--cache-all-sorted-completions): New function.
11491 (completion-all-sorted-completions): Use it.
11492 (completion--do-completion, minibuffer-force-complete):
11493 Use it to re-instate the flush hook.
11494
8f0fde21
SM
11495 * icomplete.el (icomplete-completions): Replace last fix with a better
11496 one (bug#10850).
11497
8e911f6f
DG
114982012-02-23 Dmitry Gutov <dgutov@yandex.ru>
11499
11500 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
11501 when it might call us back infinitely (bug#10797).
11502
49fe4321
GM
115032012-02-23 Glenn Morris <rgm@gnu.org>
11504
11505 * minibuffer.el (completion-category-overrides): Doc fix.
11506
b291b572
SM
115072012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
11508
11509 * minibuffer.el (completion-table-with-context): Fix inf-loop.
11510 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
11511
31a9ef2e
GM
115122012-02-23 Glenn Morris <rgm@gnu.org>
11513
5e6e6794 11514 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
11515 (authors-obsolete-files-regexps, authors-ignored-files)
11516 (authors-ambiguous-files, authors-renamed-files-alist):
11517 Add more entries.
11518
0bd1e074
JL
115192012-02-23 Juri Linkov <juri@jurta.org>
11520
11521 * isearch.el (isearch-occur): Sync interactive spec with occur's
11522 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
11523
b617673c
JL
11524 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
11525
19e9789e
JL
115262012-02-22 Juri Linkov <juri@jurta.org>
11527
11528 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
11529 (ucs-insert): Doc fix. Check for hex digits in the string.
11530 Don't display `nil' in the error message. (Bug#10857)
11531
f41ce09d
AM
115322012-02-22 Alan Mackenzie <acm@muc.de>
11533
7a71b18d 11534 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 11535
ac2eceee
GM
115362012-02-22 Glenn Morris <rgm@gnu.org>
11537
11538 * ffap.el (ffap-c-path):
11539 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
11540
abd1f678
CY
115412012-02-22 Chong Yidong <cyd@gnu.org>
11542
11543 * custom.el (load-theme): Doc fix.
11544
f25aef2e
GM
115452012-02-22 Glenn Morris <rgm@gnu.org>
11546
11547 * dired-x.el (dired-guess-shell-alist-default):
11548 Remove escape sequences from nroff output. (Bug#172)
11549
5f8dc2ca
GM
115502012-02-21 Glenn Morris <rgm@gnu.org>
11551
6ff86ec4
GM
11552 * vc/emerge.el (emerge-defvar-local):
11553 Set `permanent-local' property rather than unused `preserved'.
11554
be3223a3 11555 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
11556 (picture-mode-map): Use it. (Bug#10860)
11557 (picture-mode): Doc fix.
11558
3fe58f4f
JB
115592012-02-21 Juanma Barranquero <lekktu@gmail.com>
11560
11561 * newcomment.el (uncomment-region-default): Remove unused binding.
11562
f9a998c3
GM
115632012-02-21 Glenn Morris <rgm@gnu.org>
11564
11565 * textmodes/picture.el (picture-motion, picture-motion-reverse)
11566 (picture-self-insert, picture-tab-chars): Doc fix.
11567 (picture-mode-map): Fix C-a, C-e.
11568
c6029348
GM
115692012-02-20 Glenn Morris <rgm@gnu.org>
11570
11571 * emacs-lisp/authors.el (authors-aliases): Add another entry.
11572
ab1ce9d7
LL
115732012-02-20 Leo Liu <sdl.web@gmail.com>
11574
11575 * icomplete.el (icomplete-completions): Check FROM arg before
11576 passing to substring (Bug#10850).
11577
0fd40f89
CY
115782012-02-19 Chong Yidong <cyd@gnu.org>
11579
11580 * comint.el: Require ansi-color.
11581 (comint-output-filter-functions): Add ansi-color-process-output.
11582
11583 * ansi-color.el: Don't set comint-output-filter-functions; it is
11584 now in the initial value defined in comint.el.
11585 (ansi-color-apply-face-function): New variable.
11586 (ansi-color-apply-on-region): Use it.
11587 (ansi-color-apply-overlay-face): New function.
11588
11589 * shell.el (shell): No need to require ansi-color.
11590 (shell-mode): Use ansi-color-apply-face-function to highlight
11591 color escapes using font-lock-face property (Bug#10835).
11592
20af2394
CY
115932012-02-19 Chong Yidong <cyd@gnu.org>
11594
11595 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
11596 mode-line formats (Bug#10839).
11597
e23a3fbe
GM
115982012-02-18 Glenn Morris <rgm@gnu.org>
11599
b474519e
GM
11600 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
11601
11602 * mail/undigest.el (unforward-rmail-message): Doc fix.
11603
e23a3fbe
GM
11604 * saveplace.el (save-place-ignore-files-regexp): Add :version.
11605
57939ff4
EZ
116062012-02-18 Eli Zaretskii <eliz@gnu.org>
11607
11608 * international/characters.el (script-list): Sync with the latest
11609 Unicode Character Database.
11610
0c23686e
AS
116112012-02-18 Andreas Schwab <schwab@linux-m68k.org>
11612
11613 * international/titdic-cnv.el: Remove duplicate coding tag.
11614 * language/cham.el: Likewise.
11615 * language/tai-viet.el: Likewise.
11616
6818b449
GM
116172012-02-18 Glenn Morris <rgm@gnu.org>
11618
11619 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
11620 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
11621 (calendar-bahai-all-holidays-flag, calendar-other-dates):
11622 * calendar/diary-lib.el (diary-abbreviated-year-flag):
11623 * calendar/holidays.el (holiday-bahai-holidays)
11624 (calendar-holidays, list-holidays):
11625 Use utf-8 Bahá'í in doc-strings, menus, etc.
11626
0311a3fc
TH
116272012-02-17 Tassilo Horn <tassilo@member.fsf.org>
11628
11629 * saveplace.el (save-place-ignore-files-regexp): New variable
11630 allowing for excluding files from saving their location of point.
11631 The default value matches the temporary commit message editing
11632 files from Git, SVN, Bazaar, and Mercurial.
11633 (save-place-to-alist): Use it.
11634
d209e2fb 116352012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 11636 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
11637
11638 * newcomment.el (uncomment-region-default): Don't leave extra space
11639 when an arg is provided (bug#8150).
11640
ee0ce425
TZ
116412012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
11642
eb864a71 11643 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 11644
95ddf442
GM
116452012-02-17 Glenn Morris <rgm@gnu.org>
11646
11647 * net/socks.el: Require network-stream. (Bug#10599)
11648
48dd1e39 116492012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
11650
11651 * international/charprop.el:
11652 * international/uni-name.el:
11653 * international/uni-old-name.el:
11654 * international/uni-comment.el: Regenerate.
11655
d68cd087
GM
116562012-02-16 Glenn Morris <rgm@gnu.org>
11657
11658 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
11659 Interactively in calendar buffer, give an error if not on a date.
11660
13932042
GM
116612012-02-15 Glenn Morris <rgm@gnu.org>
11662
11663 * shell.el (shell-delimiter-argument-list):
11664 Revert 2011-02-17 change. (Bug#8027)
11665
c3a70e2b
CY
116662012-02-15 Chong Yidong <cyd@gnu.org>
11667
60236b0d
CY
11668 * minibuffer.el (completion-at-point-functions): Doc fix.
11669
c3a70e2b
CY
11670 * custom.el (defcustom): Doc fix; note use of defvar.
11671
9f26dc24
GM
116722012-02-15 Glenn Morris <rgm@gnu.org>
11673
11674 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
11675 Doc fixes.
11676
6546b134
GM
116772012-02-14 Glenn Morris <rgm@gnu.org>
11678
11679 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
11680
d29b2b4c
LI
116812012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
11682
11683 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
11684 way the ports list is computed.
835bdcba
LI
11685 (smtpmail-query-smtp-server): Prompt the user for a port number if
11686 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 11687
08dcdbc9
TZ
116882012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
11689
11690 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
11691
2605051a
GM
116922012-02-13 Glenn Morris <rgm@gnu.org>
11693
11694 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
11695
7ee99f32
TZ
116962012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
11697
11698 * net/gnutls.el (gnutls-trustfiles): New variable.
11699 (gnutls-negotiate): Use it.
11700
5f0af64f
LI
117012012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
11702
11703 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
11704 does its stuff if Gnus is running.
11705
c14fcc95
AM
117062012-02-13 Alan Mackenzie <acm@muc.de>
11707
11708 Fix a loop in c-set-fl-decl-start.
11709
7a71b18d 11710 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
11711 c-backward-syntactic-ws actually moves backwards.
11712
142b4d90
LL
117132012-02-13 Leo Liu <sdl.web@gmail.com>
11714
11715 * net/rcirc.el (rcirc-markup-attributes): Move point to the
11716 beginning so that all \C-o chars are removed.
11717
fa9958a6
TZ
117182012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
11719
dc9924b8 11720 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 11721
0bc5886a
AM
117222012-02-12 Alan Mackenzie <acm@muc.de>
11723
11724 Fix infinite loop with long macros.
4d6769e1 11725 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 11726
d4bd55e7
CY
117272012-02-12 Chong Yidong <cyd@gnu.org>
11728
11729 * window.el (display-buffer): Doc fix (Bug#10785).
11730
66f3fe22
GM
117312012-02-12 Glenn Morris <rgm@gnu.org>
11732
bd7da63e
GM
11733 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
11734 (x-disown-selection-internal, x-get-selection-internal):
11735 Sync docs with the xselect.c versions.
11736
66f3fe22
GM
11737 * allout-widgets.el: Add missing license notice.
11738
3e0d2fa7
GM
117392012-02-11 Glenn Morris <rgm@gnu.org>
11740
cfecdf09
GM
11741 * select.el (x-get-selection-internal, x-own-selection-internal)
11742 (x-disown-selection-internal):
11743 * x-dnd.el (x-get-selection-internal): Update declarations.
11744
6d216d7f
GM
11745 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
11746
2bed3f04
GM
11747 * window.el (window-sides-slots):
11748 * tool-bar.el (tool-bar-position):
11749 * term/xterm.el (xterm-extra-capabilities):
11750 * ses.el (ses-self-reference-early-detection):
11751 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
11752 (verilog-auto-wire-type)
11753 (verilog-auto-delete-trailing-whitespace)
11754 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
11755 (verilog-auto-tieoff-declaration):
11756 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
11757 (sql-oracle-statement-starters, sql-oracle-scan-on):
11758 * progmodes/prolog.el (prolog-align-comments-flag)
11759 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
11760 (prolog-left-indent-regexp, prolog-paren-indent-p)
11761 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
11762 (prolog-types, prolog-mode-specificators)
11763 (prolog-determinism-specificators, prolog-directives)
11764 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
11765 (prolog-electric-dot-flag)
11766 (prolog-electric-dot-full-predicate-template)
11767 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
11768 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
11769 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
11770 (prolog-program-switches, prolog-prompt-regexp)
11771 (prolog-debug-on-string, prolog-debug-off-string)
11772 (prolog-trace-on-string, prolog-trace-off-string)
11773 (prolog-zip-on-string, prolog-zip-off-string)
11774 (prolog-use-standard-consult-compile-method-flag)
11775 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
11776 (prolog-imenu-max-lines, prolog-info-predicate-index)
11777 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
11778 (prolog-char-quote-workaround):
11779 * progmodes/cc-vars.el (c-defun-tactic):
11780 * net/tramp.el (tramp-encoding-command-interactive)
11781 (tramp-local-end-of-line):
11782 * net/soap-client.el (soap-client):
11783 * net/netrc.el (netrc-file):
11784 * net/gnutls.el (gnutls):
11785 * minibuffer.el (completion-category-overrides)
11786 (completion-cycle-threshold)
11787 (completion-pcm-complete-word-inserts-delimiters):
11788 * man.el (Man-name-local-regexp):
11789 * mail/feedmail.el (feedmail-display-full-frame):
11790 * international/characters.el (glyphless-char-display-control):
11791 * eshell/em-ls.el (eshell-ls-date-format):
11792 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
11793 (lisp-lambda-list-keyword-parameter-indentation)
11794 (lisp-lambda-list-keyword-parameter-alignment):
11795 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
11796 * dired-x.el (dired-omit-verbose):
11797 * cus-theme.el (custom-theme-allow-multiple-selections):
11798 * calc/calc.el (calc-highlight-selections-with-faces)
11799 (calc-lu-field-reference, calc-lu-power-reference)
11800 (calc-note-threshold):
11801 * battery.el (battery-mode-line-limit):
11802 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
11803 (archive-7z-update):
11804 * allout.el (allout-prefixed-keybindings)
11805 (allout-unprefixed-keybindings)
11806 (allout-inhibit-auto-fill-on-headline)
11807 (allout-flattened-numbering-abbreviation):
11808 * allout-widgets.el (allout-widgets-auto-activation)
11809 (allout-widgets-icons-dark-subdir)
11810 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
11811 (allout-widgets-theme-dark-background)
11812 (allout-widgets-theme-light-background)
11813 (allout-widgets-item-image-properties-emacs)
11814 (allout-widgets-item-image-properties-xemacs)
11815 (allout-widgets-run-unit-tests-on-load)
11816 (allout-widgets-time-decoration-activity)
11817 (allout-widgets-hook-error-post-time)
11818 (allout-widgets-track-decoration):
11819 Add missing :version tags to new defcustoms and defgroups.
11820
5fec1b8e
GM
11821 * progmodes/sql.el (sql-ansi-statement-starters)
11822 (sql-oracle-statement-starters): Add custom type.
11823
3e0d2fa7
GM
11824 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
11825 (prolog-system-version): Give it a type.
11826
90b671e2
EZ
118272012-02-11 Eli Zaretskii <eliz@gnu.org>
11828
11829 * term/pc-win.el (x-select-text, x-selection-owner-p)
11830 (x-own-selection-internal, x-disown-selection-internal)
11831 (x-get-selection-internal): Sync doc strings and argument lists
11832 with xselect.c, common-win.el and x-win.el. (Bug#10783)
11833
5eac0c02
LL
118342012-02-11 Leo Liu <sdl.web@gmail.com>
11835
11836 * progmodes/python.el (python-end-of-statement): Fix infinite
11837 loop. (Bug#10788)
11838
f82cb659
GM
118392012-02-10 Glenn Morris <rgm@gnu.org>
11840
11841 * international/mule-cmds.el (unify-8859-on-encoding-mode)
11842 (unify-8859-on-decoding-mode): Properly mark as obsolete.
11843
cc26d239
LI
118442012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
11845
11846 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
11847 about SMTP before checking the From header.
11848
91027d08 11849 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
11850 into own function for reuse by emacsbug.el.
11851
1be3ca5a
LL
118522012-02-10 Leo Liu <sdl.web@gmail.com>
11853
11854 * subr.el (condition-case-unless-debug): Rename from
11855 condition-case-no-debug. All callers changed.
11856 (with-demoted-errors): Fix caller.
11857
11858 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
11859 * nxml/rng-valid.el (rng-do-some-validation):
11860 * emacs-lisp/package.el (package-refresh-contents)
11861 (package-menu-execute):
11862 * desktop.el (desktop-create-buffer):
91027d08 11863 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 11864
b011fbfe
GM
118652012-02-10 Glenn Morris <rgm@gnu.org>
11866
b2096d72
GM
11867 * textmodes/bibtex.el:
11868 Add missing :version tags for new/changed defcustoms.
11869
b011fbfe
GM
11870 * files.el (remote-file-name-inhibit-cache): Doc fixes.
11871
4c7e65bf
LI
118722012-02-09 Lars Ingebrigtsen <larsi@rusty>
11873
11874 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
11875 (smtpmail-via-smtp): Use it, or fall back on the From address.
11876 (smtpmail-send-it): Ditto.
11877
f3934f6f
SM
118782012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
11879
11880 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
11881 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
11882 (byte-compile-tmp-var): New const.
11883 (byte-compile-defvar): Use it to minimize .elc size.
11884 Just use `defvar' rather than simulate it (bug#10761).
11885
a075a2c5
GM
118862012-02-09 Glenn Morris <rgm@gnu.org>
11887
cf3aa21b
GM
11888 * files.el (rename-uniquely): Doc fix. (Bug#3806)
11889
354998cd
GM
11890 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
11891 Add :version tags.
11892
dc9924b8
SM
11893 * progmodes/compile.el (compilation-error-screen-columns)
11894 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 11895
dab3703d
GM
11896 * vc/log-view.el (log-view-toggle-entry-display):
11897 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
11898
3f88cd72
GM
11899 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
11900 (report-emacs-bug-can-use-xdg-email):
11901 (report-emacs-bug-insert-to-mailer): Doc fixes.
11902 (report-emacs-bug): Message fix.
11903
d95b247d
GM
11904 * net/browse-url.el (browse-url-can-use-xdg-open)
11905 (browse-url-xdg-open): Doc fixes.
11906
a075a2c5
GM
11907 * electric.el (electric-indent-mode, electric-pair-mode)
11908 (electric-layout-rules, electric-layout-mode): Doc fixes.
11909 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
11910
ffb6157e
MR
119112012-02-08 Martin Rudalics <rudalics@gmx.at>
11912
11913 * server.el (server-unselect-display): Don't inadvertently kill
11914 the current buffer. (Bug#10729)
11915
e1ac4066
GM
119162012-02-08 Glenn Morris <rgm@gnu.org>
11917
34e8a2da
GM
11918 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
11919 (sql-list-table): Doc fixes.
11920
b4ac6e8c
GM
11921 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
11922 Comment out (does nothing).
11923
e1ac4066
GM
11924 * completion.el (dynamic-completion-mode):
11925 * dirtrack.el (dirtrack-debug-mode):
11926 * electric.el (electric-layout-mode):
11927 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
11928 * face-remap.el (text-scale-mode, buffer-face-mode):
11929 * iimage.el (iimage-mode):
11930 * image-mode.el (image-transform-mode):
11931 * minibuffer.el (completion-in-region-mode):
11932 * scroll-lock.el (scroll-lock-mode):
11933 * simple.el (next-error-follow-minor-mode):
11934 * tar-mode.el (tar-subfile-mode):
11935 * tooltip.el (tooltip-mode):
11936 * vcursor.el (vcursor-use-vcursor-map):
11937 * wid-browse.el (widget-minor-mode):
11938 * emulation/tpu-edt.el (tpu-edt-mode):
11939 * emulation/tpu-extras.el (tpu-cursor-free-mode):
11940 * international/iso-ascii.el (iso-ascii-mode):
11941 * language/thai-util.el (thai-word-mode):
11942 * mail/supercite.el (sc-minor-mode):
11943 * net/goto-addr.el (goto-address-mode):
11944 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
11945 * progmodes/cwarn.el (cwarn-mode):
11946 * progmodes/flymake.el (flymake-mode):
11947 * progmodes/glasses.el (glasses-mode):
11948 * progmodes/hideshow.el (hs-minor-mode):
11949 * progmodes/pascal.el (pascal-outline-mode):
11950 * textmodes/enriched.el (enriched-mode):
11951 * vc/smerge-mode.el (smerge-mode):
11952 Doc fixes (minor mode argument).
11953
5e0d957f
EZ
119542012-02-07 Eli Zaretskii <eliz@gnu.org>
11955
11956 * ls-lisp.el (ls-lisp-sanitize): New function.
11957 (ls-lisp-insert-directory): Use it to fix or remove any elements
11958 in file-alist with missing attributes. (Bug#4673)
11959
98d7371e
AM
119602012-02-07 Alan Mackenzie <acm@muc.de>
11961
11962 Fix spurious recognition of c-in-knr-argdecl.
11963
11964 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
11965 putative K&R region.
11966
667ced3a
AM
119672012-02-07 Alan Mackenzie <acm@muc.de>
11968
eb864a71
LM
11969 * progmodes/cc-engine.el (c-forward-objc-directive):
11970 Prevent looping in "#pragma mark @implementation".
667ced3a 11971
5b77774d
MA
119722012-02-07 Michael Albinus <michael.albinus@gmx.de>
11973
11974 * notifications.el (notifications-on-closed-signal): Make `reason'
11975 optional. (Bug#10744)
11976
af008560
GM
119772012-02-07 Glenn Morris <rgm@gnu.org>
11978
60d47423
GM
11979 * emacs-lisp/easy-mmode.el (define-minor-mode):
11980 Doc fixes for the macro and the mode it defines.
11981
dd605cc4
GM
11982 * image.el (imagemagick-types-inhibit): Doc fix.
11983
af008560
GM
11984 * cus-start.el (imagemagick-render-type): Add it.
11985
5cc59a37
LI
119862012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
11987
4d6769e1
JB
11988 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
11989 Set the default at load time, too, so that `font-lock-fontify-buffer'
11990 can be called without setting up the entire mode first. This fixes
11991 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 11992
9a6dd747
CY
119932012-02-06 Chong Yidong <cyd@gnu.org>
11994
2d16b285
CY
11995 * simple.el (list-processes--refresh): Delete exited processes
11996 (Bug#8094).
11997
171e9b6e
CY
11998 * comint.el (comint-next-prompt): next-single-char-property-change
11999 and prev-single-char-property-change never return nil (Bug#8657).
12000
9a6dd747
CY
12001 * custom.el (defcustom): Doc fix (Bug#9711).
12002
aa4589a7
CY
120032012-02-05 Chong Yidong <cyd@gnu.org>
12004
5c2a252f
CY
12005 * cus-edit.el (custom-variable-reset-backup): Quote the value
12006 before storing it in the customized-value property (Bug#6712).
4aab9006 12007 (custom-display): Add a customization type tag.
983b9602 12008 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 12009
aa4589a7
CY
12010 * wid-edit.el (widget-field-value-get): New optional arg to
12011 suppress trailing whitespace truncation.
12012 (character): Use it (Bug#2689).
12013
1ff980ae
AS
120142012-02-05 Andreas Schwab <schwab@linux-m68k.org>
12015
12016 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
12017 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
12018
03988c98
CY
120192012-02-05 Chong Yidong <cyd@gnu.org>
12020
eeb6cc88
CY
12021 * cus-edit.el (custom-variable-value-create): For mismatched
12022 types, show the current value (Bug#7600).
12023
03988c98
CY
12024 * custom.el (defcustom): Doc fix.
12025
f8cdeef0
GM
120262012-02-05 Glenn Morris <rgm@gnu.org>
12027
12028 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
12029
0696d255
JB
120302012-02-05 Juanma Barranquero <lekktu@gmail.com>
12031
12032 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
12033 (pp-buffer): Use `ignore-errors', `looking-at-p'.
12034 (pp-last-sexp): Use `looking-at-p'.
12035
34c99998
GM
120362012-02-04 Glenn Morris <rgm@gnu.org>
12037
8f05da42
GM
12038 * files.el (revert-buffer):
12039 Doc fix (mention revert-buffer-in-progress-p).
12040
f160676e
GM
12041 * emacs-lisp/ert-x.el (ert-simulate-command):
12042 Check deferred-action-list (which is obsolete) is bound.
12043
c7291ad9
GM
12044 * subr.el (with-wrapper-hook): Doc fixes.
12045
34c99998
GM
12046 * simple.el (filter-buffer-substring-functions)
12047 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
12048
6283a7d3
LL
120492012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
12050
12051 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
12052 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
12053
e96e3013
LL
120542012-02-04 Leo Liu <sdl.web@gmail.com>
12055
12056 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
12057
8ded50f2
GM
120582012-02-04 Glenn Morris <rgm@gnu.org>
12059
82ff1d13
GM
12060 * image.el (image-extension-data): Add obsolete alias.
12061
987a0a16
GM
12062 * isearch.el (isearch-update): Doc fix.
12063
ea32ef46
GM
12064 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
12065
8ded50f2
GM
12066 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
12067
eea14f31
GM
120682012-02-03 Glenn Morris <rgm@gnu.org>
12069
12070 * image.el (image-animated-p): Doc fix. Use image-animated-types.
12071 (image-animate-timeout): Doc fix.
12072
12073 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
12074
12f381b7
GM
120752012-02-02 Glenn Morris <rgm@gnu.org>
12076
953cebf5
GM
12077 * server.el (server-auth-dir): Doc fix.
12078 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
12079
12f381b7
GM
12080 * subr.el (run-mode-hooks): Doc fix.
12081
953a8c3b
JL
120822012-02-02 Juri Linkov <juri@jurta.org>
12083
12084 * image-mode.el (image-toggle-display-image): Remove tautological
12085 `major-mode' from the `derived-mode-p' test.
12086
c5d3843c
KH
120872012-02-02 Kenichi Handa <handa@m17n.org>
12088
9f6e692e 12089 * composite.el (compose-region): Cancel previous change.
c5d3843c 12090
159462d4 120912012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
12092
12093 * composite.el (compose-region, compose-string): Signal error for
12094 a null string component (Bug#6988).
12095
9f562668
CY
120962012-02-01 Chong Yidong <cyd@gnu.org>
12097
e2cef717
CY
12098 * view.el (view-buffer-other-window, view-buffer-other-frame):
12099 Handle special modes like view-buffer (Bug#10650).
12100 (view-buffer): Simplify.
12101
9f562668
CY
12102 * frame.el (set-frame-font): Tweak meaning of third argument.
12103
9f6e692e
JB
12104 * dynamic-setting.el (font-setting-change-default-font):
12105 Use set-frame-font (Bug#9982).
9f562668 12106
781acb9f
GM
121072012-02-01 Glenn Morris <rgm@gnu.org>
12108
6035be52
GM
12109 * progmodes/compile.el (compilation-internal-error-properties):
12110 Respect compilation-first-column in the "*compilation*" buffer.
12111
781acb9f
GM
12112 * emacs-lisp/easy-mmode.el (define-minor-mode):
12113 Relax :variable's test for a named function.
12114
abbceb00
AM
121152012-01-31 Alan Mackenzie <acm@muc.de>
12116
12117 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
12118 off by one error.
12119
fce3fdeb
CY
121202012-01-31 Chong Yidong <cyd@gnu.org>
12121
12122 * frame.el (set-frame-font): New arg ALL-FRAMES.
12123
12124 * menu-bar.el (menu-set-font): Use set-frame-font.
12125
12126 * faces.el (face-spec-reset-face): Don't apply unspecified
12127 attribute values to the default face.
12128
47893581
JB
121292012-01-31 Juanma Barranquero <lekktu@gmail.com>
12130
12131 * progmodes/cwarn.el (cwarn): Remove dead link.
12132 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
12133 Remove * from defcustom docstrings.
12134 (turn-on-cwarn-mode): Make obsolete.
12135 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
12136 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
12137
e58e988a
GM
121382012-01-31 Glenn Morris <rgm@gnu.org>
12139
60dc2671 12140 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 12141 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 12142 Allow named functions to be used as the cdr of :variable.
e58e988a 12143
7a3f511d
GM
121442012-01-30 Glenn Morris <rgm@gnu.org>
12145
12146 * emacs-lisp/authors.el (authors-fixed-entries):
12147 Remove reference to deleted file rnewspost.el.
12148
cb882333
JB
121492012-01-29 Juanma Barranquero <lekktu@gmail.com>
12150
12151 * window.el (window-with-parameter): Remove unused variable `windows'.
12152 (window--side-check): Remove unused variable `code'.
12153 (window--resize-siblings): Remove unused variable `first'.
12154 (adjust-window-trailing-edge): Remove unused variable `failed'.
12155 (window-deletable-p, window--delete): Remove unused variable `buffer'.
12156 Use `let', not `let*'.
12157 (balance-windows-2): Remove unused variable `found'.
12158 (window--state-put-2): Remove unused variable `splits'.
12159 (window-state-put): Remove unused variable `selected'.
12160 (same-window-p): Use `string-match-p'.
12161 (display-buffer-assq-regexp): Remove unused variable `value'.
12162 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
12163 Mark argument ALIST as ignored.
12164 (pop-to-buffer): Remove unused variable `old-window'.
12165
907201af
EZ
121662012-01-29 Eli Zaretskii <eliz@gnu.org>
12167
12168 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
12169 and .lzma compressed files.
12170
ea162670
CY
121712012-01-29 Chong Yidong <cyd@gnu.org>
12172
5b95ee8a
CY
12173 * frame.el (window-system-default-frame-alist): Doc fix.
12174
ea162670
CY
12175 * dynamic-setting.el (font-setting-change-default-font): Don't
12176 change the default face if SET-FONT argument is non-nil (Bug#9982).
12177
6fccd6e8 121782012-01-29 Samuel Bronson <naesten@gmail.com>
d6e6f4b1
SB
12179
12180 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
12181
0f29fa41 121822012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
12183
12184 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
12185 breakpoints in files outside current directory (Bug#6098).
12186
db174434
CY
121872012-01-29 Chong Yidong <cyd@gnu.org>
12188
6b25e4e2
SE
12189 * progmodes/python.el: Require ansi-color at top-level.
12190
6df6ae42
JB
12191 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
12192 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
12193 (lisp-mode-abbrev-table): Add doc.
12194 (lisp-mode-variables): Don't set local-abbrev-table.
12195 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
12196
e70ee681
RW
121972012-01-28 Roland Winkler <winkler@gnu.org>
12198
12199 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
12200
ace88aa2
RW
122012012-01-28 Roland Winkler <winkler@gnu.org>
12202
12203 * textmodes/bibtex.el (bibtex-entry-alist): New function.
12204 (bibtex-set-dialect): Use it. Either set global values of
12205 dialect-dependent variables or bind these variables buffer-locally
12206 (Bug#10254).
12207 (bibtex-mode): Call bibtex-set-dialect via
12208 hack-local-variables-hook.
eb864a71
LM
12209 (bibtex-dialect): Update docstring.
12210 Add safe-local-variable predicate.
ace88aa2
RW
12211 (bibtex-entry-alist, bibtex-field-alist): Initialize via
12212 bibtex-set-dialect.
12213 (bibtex-mode-map): Define menu for each dialect.
12214 (bibtex-entry): Fix docstring.
12215
93376c5b
CY
122162012-01-28 Chong Yidong <cyd@gnu.org>
12217
12218 * eshell/esh-arg.el (eshell-quote-argument): New function.
12219
12220 * eshell/esh-ext.el (eshell-invoke-batch-file):
12221 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
12222 first arg to eshell-parse-command (Bug#10523).
12223
4372494f
DA
122242012-01-28 Drew Adams <drew.adams@oracle.com>
12225
12226 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
12227 `default-directory' is non-nil.
12228
4d4ec1f8
EZ
122292012-01-28 Eli Zaretskii <eliz@gnu.org>
12230
12231 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
12232 line that displays system-configuration-options. (Bug#9924)
12233
7c188927
DA
122342012-01-28 Drew Adams <drew.adams@oracle.com>
12235
12236 * descr-text.el (describe-char): Show information about POS, in
12237 addition to information about the character at POS. Improve and
12238 update the doc string. Change "code point" to "code point in
12239 charset", to avoid confusion with the character's Unicode code
12240 point shown above that. (Bug#10129)
12241
e0da685a
EZ
122422012-01-28 Eli Zaretskii <eliz@gnu.org>
12243
12244 * descr-text.el (describe-char): Show the raw character, not only
12245 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
12246 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
12247 for the reasons.
12248
70550acf
PH
122492012-01-28 Phil Hagelberg <phil@hagelb.org>
12250
eb864a71
LM
12251 * emacs-lisp/package.el (package-install):
12252 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 12253
0ce8e868
CY
122542012-01-28 Chong Yidong <cyd@gnu.org>
12255
cb882333
JB
12256 * emacs-lisp/package.el (package-maybe-load-descriptor):
12257 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
12258 (package-maybe-load-descriptor): Use it.
12259 (package-download-transaction): Fully load required packages
12260 inside the loop, so that `require' calls work (Bug#10593).
12261 (package-install): No need to call package-initialize now.
12262
2e7f3bea
CY
122632012-01-28 Chong Yidong <cyd@gnu.org>
12264
6e9bad14
CY
12265 * simple.el (deactivate-mark): Doc fix (Bug#8614).
12266
f823b8ca
CY
12267 * tooltip.el (tooltip-mode): Doc fix.
12268 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
12269
2680c309
CY
12270 * frame.el (set-cursor-color): Doc fix (Bug#352).
12271
d7a9e63b
CY
12272 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
12273 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
12274
2e7f3bea
CY
12275 * cus-edit.el (custom-buffer-create-internal): Fix search button
12276 action (Bug#10542).
2ae01800 12277 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 12278
fc4f7a23
EW
122792012-01-27 Eduard Wiebe <usenet@pusto.de>
12280
12281 * dired.el (dired-mark-files-regexp):
12282 Include any subdirectory components. (Bug#10445)
12283
7dd37071
ML
122842012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
12285
12286 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
12287 Handle [host]:port syntax. (Bug#10533)
12288
a268160b
AH
122892012-01-27 Alex Harsanyi <harsanyi@mac.com>
12290
12291 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
12292
e43273ef
GM
122932012-01-26 Glenn Morris <rgm@gnu.org>
12294
12295 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
12296 * term.el (term-raw-escape-map): Use Control-X-prefix.
12297 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
12298
1edf595d
MR
122992012-01-25 Martin Rudalics <rudalics@gmx.at>
12300
12301 * window.el (window-state-get, window--state-get-1): Don't deal
12302 with fixed-sizeness of windows. Simplify code.
12303
fa8eafef
JC
123042012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
12305
6df6ae42
JB
12306 * window.el (window--state-get-1, window--state-put-2):
12307 Don't save and restore the mark.
fa8eafef 12308
0b21c100
CY
123092012-01-25 Chong Yidong <cyd@gnu.org>
12310
12311 * custom.el (custom-variable-p): Doc fix.
12312
5ae1a6c8
GM
123132012-01-25 Glenn Morris <rgm@gnu.org>
12314
40047858
GM
12315 * dired.el (dired-goto-file): Handle some of the more common
12316 characters that `ls -b' escapes. (Bug#10596)
12317
5ddce96c
GM
12318 * progmodes/compile.el (compilation-next-error-function):
12319 Respect compilation-first-column in the "*compilation*" buffer.
12320 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
12321
5ae1a6c8
GM
12322 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
12323
b559f1a9
GM
123242012-01-24 Glenn Morris <rgm@gnu.org>
12325
12326 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
12327
6725d21a
JD
123282012-01-24 Julien Danjou <julien@danjou.info>
12329
12330 * color.el (color-rgb-to-hsl): Fix value computing.
12331 (color-hue-to-rgb): New function.
12332 (color-hsl-to-rgb): New function.
12333 (color-clamp, color-saturate-hsl, color-saturate-name)
12334 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
12335 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
12336
70df4bbe
GM
123372012-01-24 Glenn Morris <rgm@gnu.org>
12338
12339 * vc/vc-rcs.el (vc-rcs-create-tag):
12340 * vc/vc-sccs.el (vc-sccs-create-tag):
12341 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
12342
802a2ae2
ML
123432012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
12344
12345 * eshell/esh-util.el (eshell-read-hosts-file):
12346 Skip comment lines. (Bug#10549)
12347
d7128bb1
ML
12348 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
12349
d1a5c3b4
JB
123502012-01-23 Juanma Barranquero <lekktu@gmail.com>
12351
2724d9c7
JB
12352 * subr.el (display-delayed-warnings): Doc fix.
12353 (collapse-delayed-warnings): New function to collapse identical
12354 adjacent warnings.
12355 (delayed-warnings-hook): Add it.
d1a5c3b4 12356
a5509865
MA
123572012-01-22 Michael Albinus <michael.albinus@gmx.de>
12358
12359 * net/tramp.el (tramp-action-login): Set connection property "login-as".
12360
a5509865
MA
12361 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
12362 (tramp-default-user-alist): Don't add "pscp".
12363 (tramp-do-copy-or-rename-file-out-of-band): Use connection
12364 property "login-as", if set. (Bug#10530)
12365
cc6d5805
MA
123662012-01-21 Michael Albinus <michael.albinus@gmx.de>
12367
12368 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
12369 "plink1" and "psftp". (Bug#10530)
12370
123712012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
12372
12373 * international/mule-cmds.el (prefer-coding-system): Show a
12374 warning message if the default value of file-name-coding-system
12375 was not changed.
12376
f0960428
JC
123772012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
12378
cb882333
JB
12379 * windmove.el (windmove-reference-loc):
12380 Fix windmove-reference-loc miscalculation.
f0960428 12381
dd6f2a63
JB
123822012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
12383
12384 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
12385 default unit.
12386
7b447e9b
GM
123872012-01-21 Glenn Morris <rgm@gnu.org>
12388
117a9ea1
GM
12389 * international/mule.el (auto-coding-alist): Add .tbz.
12390
7b447e9b
GM
12391 * files.el (local-enable-local-variables): Doc fix.
12392 (inhibit-local-variables-regexps): Rename from
12393 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
12394 Doc fix. Add some extensions from auto-coding-alist.
12395 (inhibit-local-variables-suffixes):
12396 Rename from inhibit-first-line-modes-suffixes. Doc fix.
12397 (inhibit-local-variables-p):
12398 New function, extracted from set-auto-mode-1.
12399 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
12400 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
12401 (hack-local-variables): Doc fix. Make the mode-only case
12402 respect enable-local-variables and friends.
12403 Respect inhibit-local-variables-regexps for file-locals, but
12404 not for directory-locals.
12405 (set-visited-file-name):
12406 Take account of inhibit-local-variables-regexps.
12407 Whether it applies may change as the file name is changed.
12408 * jka-cmpr-hook.el (jka-compr-install):
12409 * jka-compr.el (jka-compr-uninstall):
12410 Update for inhibit-first-line-modes-suffixes name change.
12411
dd6e3cdd
MR
124122012-01-20 Martin Rudalics <rudalics@gmx.at>
12413
12414 * help-macro.el (make-help-screen): Temporarily restore original
12415 binding for minor-mode-map-alist (Bug#10454).
12416
0d0deb38
JD
124172012-01-19 Julien Danjou <julien@danjou.info>
12418
12419 * color.el (color-name-to-rgb): Use the white color to find the max
12420 color component value and return correctly computed values.
12421 (color-name-to-rgb): Add missing float conversion for max value.
12422
34a02f46
MR
124232012-01-19 Martin Rudalics <rudalics@gmx.at>
12424
12425 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
12426 special state value for window-persistent-parameters.
12427 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
12428 (window--state-put-2): Reset all window parameters to nil before
12429 assigning values of persistent parameters.
12430
606c44c4
AM
124312012-01-18 Alan Mackenzie <acm@muc.de>
12432
12433 Eliminate sluggishness and hangs in fontification of "semicolon
12434 deserts".
12435
cb882333
JB
12436 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
12437 Change value 10000 -> 3000.
606c44c4
AM
12438 (c-state-safe-place): Reformulate so it doesn't stack up an
12439 infinite number of wrong entries in c-state-nonlit-pos-cache.
12440 (c-determine-limit-get-base, c-determine-limit): New functions to
12441 determine backward search limits disregarding literals.
12442 (c-find-decl-spots): Amend commenting.
12443 (c-cheap-inside-bracelist-p): New function which detects "={".
12444
12445 * progmodes/cc-fonts.el
12446 (c-make-font-lock-BO-decl-search-function): Give a limit to a
12447 backward search.
12448 (c-font-lock-declarations): Fix an occurrence of point being
12449 undefined. Check additionally for point being in a bracelist or
12450 near a macro invocation without a semicolon so as to avoid a
12451 fruitless time consuming search for a declarator. Give a more
12452 precise search limit for declarators using the new
12453 c-determine-limit.
12454
f3860cea
GM
124552012-01-18 Glenn Morris <rgm@gnu.org>
12456
12457 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
12458 (set-auto-mode): Doc fixes.
12459
1db03b16
GM
124602012-01-17 Glenn Morris <rgm@gnu.org>
12461
0e6038be
GM
12462 * isearch.el (search-nonincremental-instead): Fix doc typo.
12463
1db03b16
GM
12464 * dired.el (dired-insert-directory): Handle newlines in directory name.
12465 (dired-build-subdir-alist): Unescape newlines in directory name.
12466
4cb0aa75
MA
124672012-01-17 Michael Albinus <michael.albinus@gmx.de>
12468
12469 * net/tramp.el (tramp-local-end-of-line): New defcustom.
12470 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
12471 (tramp-action-terminal): Use it. (Bug#10530)
12472
1d00653d
SM
124732012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
12474
12475 * minibuffer.el (completion--replace): Strip properties (bug#10062).
12476
6a6ee00d
MR
124772012-01-16 Martin Rudalics <rudalics@gmx.at>
12478
12479 * window.el (window-state-ignored-parameters): Remove variable.
12480 (window--state-get-1): Rename argument MARKERS to IGNORE.
12481 Handle persistent window parameters. Make copy of clone-of
12482 parameter only if requested. (Bug#10348)
12483 (window--state-put-2): Install a window parameter only if it has
12484 a non-nil value or an existing parameter shall be overwritten.
12485
97912def
MA
124862012-01-15 Michael Albinus <michael.albinus@gmx.de>
12487
12488 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
12489
688070a5
EZ
124902012-01-14 Eli Zaretskii <eliz@gnu.org>
12491
12492 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
12493 don't pass the (nil) value of `upnode' to string-match.
12494
301afadc
CY
124952012-01-14 Chong Yidong <cyd@gnu.org>
12496
12497 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 12498 Fix values recognized by the cursorBlink resource.
301afadc 12499
9e5788aa
PE
125002012-01-14 Paul Eggert <eggert@cs.ucla.edu>
12501
12502 * epg.el (epg--make-temp-file): Avoid permission race condition
12503 when running on old Emacs versions (bug#10403).
12504
3cdb7f5a
GM
125052012-01-14 Glenn Morris <rgm@gnu.org>
12506
12507 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
12508
8c82b1b4
AM
125092012-01-13 Alan Mackenzie <acm@muc.de>
12510
12511 Fix filling for when filladapt mode is enabled.
12512
12513 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
12514 c-mask-paragraph, pass in `fill-paragraph' rather than
12515 `fill-region-as-paragraph'. (This is a reversion of a previous
12516 change.)
eb864a71
LM
12517 * progmodes/cc-mode.el (c-basic-common-init):
12518 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 12519
e517eda4
GM
125202012-01-13 Glenn Morris <rgm@gnu.org>
12521
1498536e
GM
12522 * dired.el (dired-switches-escape-p): New function.
12523 (dired-insert-directory): Use dired-switches-escape-p.
12524 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
12525
e517eda4
GM
12526 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
12527
328f984d
GM
125282012-01-12 Glenn Morris <rgm@gnu.org>
12529
12530 * mail/sendmail.el (mail-mode): Update paragraph-separate for
12531 changes in adaptive-fill-regexp. (Bug#10276)
12532
2cc769a8
AM
125332012-01-11 Alan Mackenzie <acm@muc.de>
12534
12535 Fix Emacs bug #10463 - put `widen's around the critical spots.
12536
1d00653d 12537 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
12538 widen around each invocation of c-state-pp-to-literal. Remove an
12539 unused let variable.
12540
e52c37fa
GM
125412012-01-11 Glenn Morris <rgm@gnu.org>
12542
12543 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 12544 Doc fix.
e52c37fa 12545
96f8741e
CY
125462012-01-10 Chong Yidong <cyd@gnu.org>
12547
1d00653d
SM
12548 * net/network-stream.el (network-stream-open-starttls):
12549 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
12550 response to the capability command.
12551
b09a806e
GM
125522012-01-10 Glenn Morris <rgm@gnu.org>
12553
12554 * mail/unrmail.el (unrmail): Tweak previous change.
12555
7655cb66
CY
125562012-01-09 Chong Yidong <cyd@gnu.org>
12557
12558 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
12559
9d5a8f0b
AM
125602012-01-08 Alan Mackenzie <acm@muc.de>
12561
12562 Optimise font locking in long enum definitions.
12563
12564 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
12565 arm to a cond form to handle enums.
12566 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
12567 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
12568
9a0115ab 125692012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
12570
12571 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 12572 (Bug#10401)
6bb72cbd 12573
f186bb95
LMI
125742012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
12575
29232a68
LMI
12576 * faces.el (set-face-attribute): Clarify the meaning of the nil
12577 frame (bug#10294).
12578
4e5d086d
LMI
12579 * subr.el (with-selected-frame): Mention that the selected frame
12580 is restored (bug#9980).
12581
8e66aebe
LMI
12582 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
12583 (bug#9759).
12584
cd394be1 12585 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
12586 (password-read): Don't autoload unused function.
12587
adf4e762
JB
125882012-01-07 Juanma Barranquero <lekktu@gmail.com>
12589
12590 * progmodes/which-func.el (which-func-mode): Turn into a
12591 non-interactive function and mark as obsolete (bug#10428).
12592
89bd9ccd
CY
125932012-01-06 Chong Yidong <cyd@gnu.org>
12594
12595 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
12596 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
12597 functions, along with 1 and -1.
12598
4afee9d5
EZ
125992012-01-06 Eli Zaretskii <eliz@gnu.org>
12600
12601 * time.el (display-time-load-average)
12602 (display-time-default-load-average): Doc fixes. See the thread
12603 starting at
12604 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
12605 for the details.
12606
536aea70
GM
126072012-01-06 Glenn Morris <rgm@gnu.org>
12608
665ae865
GM
12609 * mail/unrmail.el (unrmail): Give an explicit error if the input file
12610 has no messages. (Bug#10377)
12611
c869783d
GM
12612 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
12613 than Info-edit. (Bug#10385)
12614
2bb4227e
GM
12615 * time.el (display-time-load-average, display-time-next-load-average):
12616 Doc fixes.
12617
7d5944b9
GM
12618 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
12619 local setting of buffer-read-only to the input buffer. (Bug#10419)
12620
536aea70
GM
12621 * calendar/calendar.el (calendar-mode):
12622 Locally set scroll-margin to 0. (Bug#10379)
12623
7dccca16
UM
126242012-01-06 Ulrich Mueller <ulm@gentoo.org>
12625
12626 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
12627
afbb7930
GM
126282012-01-05 Glenn Morris <rgm@gnu.org>
12629
12630 * eshell/em-unix.el (diff-no-select): Autoload it.
12631 (eshell/diff): Use diff-no-select. (Bug#10420)
12632
04482335
CY
126332012-01-05 Chong Yidong <cyd@gnu.org>
12634
7baca3bc
CY
12635 * shell.el (shell-dynamic-complete-functions): Revert last change.
12636 (shell-command-completion-function): New function.
12637 (shell-completion-vars): Use it to implement
12638 shell-completion-execonly (Bug#10417).
12639
04482335
CY
12640 * custom.el (enable-theme): Don't set custom-safe-themes.
12641
1d00653d
SM
12642 * cus-theme.el (custom-theme-merge-theme):
12643 Ignore custom-enabled-themes and custom-safe-themes.
04482335 12644
bb5aa5d6
MM
126452012-01-05 Michael R. Mauger <mmaug@yahoo.com>
12646
12647 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
12648 first prompt in `sql-interacive-mode'.
12649 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 12650 keywords.
6df6ae42 12651 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
12652 (sql-product-interactive): Bug fix: Set `sql-buffer' in
12653 context of original buffer. Invoke `sql-login-hook'.
12654
a7183d7c
EZ
126552012-01-04 Eli Zaretskii <eliz@gnu.org>
12656
12657 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
12658 letters in cite-prefix.
12659
a1eacd1e
LMI
126602012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12661
12662 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
12663
787cdb34
CY
126642012-01-03 Chong Yidong <cyd@gnu.org>
12665
1d00653d
SM
12666 * shell.el (shell-dynamic-complete-functions):
12667 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
12668 comint-filename-completion first (Bug#10417).
12669
30710442
RS
126702012-01-02 Richard Stallman <rms@gnu.org>
12671
12672 * battery.el (battery-status-function):
12673 Detect when to use battery-yeeloong-sysfs.
12674 (battery-echo-area-format): Add string for Yeeloong.
12675 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
12676 (battery-yeeloong-sysfs): New function.
12677
f75bfc33
CY
126782012-01-02 Chong Yidong <cyd@gnu.org>
12679
12680 * dirtrack.el (dirtrack-list): Eliminate unused third element.
12681 (dirtrack): Merge code for handling relative filenames in prompt
12682 from shell-dir-cookie-watcher.
12683 (dirtrack-debug-message): New arg to avoid excess format calls.
12684
12685 * shell.el (shell-dir-cookie-re): Variable deleted.
12686 (shell-dir-cookie-watcher): Function deleted.
12687 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
12688 with dirtrack-mode.
12689
651e947e
EZ
126902012-01-01 Eli Zaretskii <eliz@gnu.org>
12691
1d00653d
SM
12692 * term/w32-win.el (dynamic-library-alist) <gnutls>:
12693 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
12694 libgnutls-26.dll.
12695
94d4c7dc
AS
126962011-12-31 Andreas Schwab <schwab@linux-m68k.org>
12697
12698 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
12699
8d43f3cd
EZ
127002011-12-31 Eli Zaretskii <eliz@gnu.org>
12701
12702 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
12703 headers of non-MIME messages, when rmail-enable-mime is non-nil.
12704
98c8795a
MA
127052011-12-29 Michael Albinus <michael.albinus@gmx.de>
12706
12707 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
12708 also for alternative shells.
12709 (tramp-open-connection-setup-interactive-shell): Check, whether
12710 the shell is a busybox.
12711 (tramp-send-command): Don't suppress multiple prompts for
12712 busyboxes, it hurts.
12713
51281b32
CY
127142011-12-28 Chong Yidong <cyd@gnu.org>
12715
12716 * progmodes/gdb-mi.el (gdb-get-source-file-list)
12717 (gdb-get-source-file): Move mode line update to
12718 gdb-get-source-file (Bug#10087).
12719
2170cb53
CY
127202011-12-25 Chong Yidong <cyd@gnu.org>
12721
12722 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
12723 gud-gdb-marker-filter without taking it as an argument.
12724 (gud-gdb-run-command-fetch-lines): Caller changed.
12725 (gud-gdb-completion-function): New variable.
12726 (gud-gdb-completion-at-point): Use it.
12727 (gud-gdb-completions-1): Split from gud-gdb-completions.
12728
12729 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
12730 function as separate arguments.
12731 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
12732 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
12733 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
12734 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
12735 (gdb-stopped, def-gdb-auto-update-trigger)
12736 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
12737 (gdb-get-changed-registers, gdb-get-main-selected-frame):
12738 Callers changed.
2170cb53
CY
12739 (gud-gdbmi-completions): New function.
12740 (gdb): Use it for generating the completion table.
12741
be8b11bb
AM
127422011-12-24 Alan Mackenzie <acm@muc.de>
12743
12744 Introduce a mechanism to widen the region used in context font
1d00653d 12745 locking. Use this to protect declarations from losing their contexts.
be8b11bb 12746
1d00653d
SM
12747 * progmodes/cc-langs.el (c-before-font-lock-functions):
12748 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 12749 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
12750 functions to be run just before context (etc.) font locking.
12751
12752 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 12753 New, functionality extracted from
be8b11bb 12754 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 12755 (c-in-after-change-fontification): New variable.
be8b11bb
AM
12756 (c-after-change): Set c-in-after-change-fontification.
12757 (c-set-fl-decl-start): Rejig its interface, so it can be called
12758 from both after-change and context fontifying.
b81d40f0
JB
12759 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
12760 New functions.
12761 (c-standard-font-lock-fontify-region-function): New variable.
12762 (c-font-lock-fontify-region): New function.
be8b11bb 12763
341cf6ac
JL
127642011-12-24 Juri Linkov <juri@jurta.org>
12765
12766 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
12767 (Bug#10348)
12768
bffcee0a
MA
127692011-12-23 Michael Albinus <michael.albinus@gmx.de>
12770
12771 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
12772 existence of source file. (Bug#10325)
12773
cb5e207c
AM
127742011-12-23 Alan Mackenzie <acm@muc.de>
12775
12776 Fix unstable fontification inside templates.
12777
b81d40f0
JB
12778 * progmodes/cc-langs.el (c-before-font-lock-functions):
12779 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
12780 additionally has c-set-fl-decl-start. The other languages (apart
12781 from AWK) have that as a single entry.
12782
b81d40f0
JB
12783 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
12784 The functionality for "local" declarations has been extracted to
cb5e207c
AM
12785 c-set-fl-decl-start.
12786
b81d40f0
JB
12787 * progmodes/cc-mode.el (c-common-init, c-after-change):
12788 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
12789 (c-set-fl-decl-start): New function, extracted from
12790 c-font-lock-enclosing-decls and enhanced.
12791
60ff536c
JB
127922011-12-23 Juanma Barranquero <lekktu@gmail.com>
12793
12794 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
12795
1c4757d6
JL
127962011-12-22 Juri Linkov <juri@jurta.org>
12797
12798 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
12799
d031f2c7
CY
128002011-12-22 Chong Yidong <cyd@gnu.org>
12801
12802 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
12803
bace743a
DA
128042011-12-21 Drew Adams <drew.adams@oracle.com>
12805
12806 * files.el (file-remote-p): Fix docstring. (Bug#10319)
12807
728a1f2b
JC
128082011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
12809
12810 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
12811
0d373f73
TZ
128122011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
12813
fec0aaa4
TZ
12814 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
12815 highlighting and support. Fix up comments for capitalization.
12816 (cfengine-mode-debug): New var.
12817 (cfengine3-mode): Change the modeline indicator to "CFE3".
12818 (cfengine3-font-lock-keywords): Improve defun highlighting.
12819 (cfengine2-actions): Rename from `cfengine-actions'.
12820 (cfengine2-font-lock-keywords): Rename from
12821 `cfengine-font-lock-keywords'.
12822 (cfengine2-imenu-expression): Rename from
12823 `cfengine-imenu-expression'.
12824 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
12825 (cfengine2-beginning-of-defun): Rename from
12826 `cfengine-beginning-of-defun'.
12827 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
12828 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
12829 (cfengine2-mode): Rename from `cfengine-mode'. Change the
12830 modeline indicator to "CFE2".
12831 (cfengine-mode): Defalias to `cfengine-auto-mode'.
12832 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 12833
bc86f573
CY
128342011-12-21 Chong Yidong <cyd@gnu.org>
12835
12836 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
12837 filename argument.
12838
d45ba96b
MR
128392011-12-20 Martin Rudalics <rudalics@gmx.at>
12840
12841 * window.el (window-normalize-buffer-to-display): Remove.
12842 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
12843
a6198c90
CY
128442011-12-19 Chong Yidong <cyd@gnu.org>
12845
12846 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
12847 Don't signal an error in a predicate function; return non-nil.
12848 (vc-dir-mark-file): Move the error here.
12849 (vc-dir-mark-unmark): If acting on the region, keep going if one
12850 of the entries cannot be marked/unmarked.
12851 (vc-dir-mark-all-files): If current entry is a directory, mark
12852 only child files, as documented.
12853
34c5fb55
VB
128542011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
12855
12856 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
12857 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
12858 addition.
12859
c803b2b7
JD
128602011-12-18 Jan Djärv <jan.h.d@swipnet.se>
12861
12862 * term/ns-win.el (ns-get-selection-internal)
12863 (ns-store-selection-internal): Declare.
1154d12e
JB
12864 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
12865 Declare as obsolete.
12866 (ns-get-pasteboard, ns-paste-secondary):
12867 Use ns-get-selection-internal.
41e9b956 12868 (ns-set-pasteboard, ns-copy-including-secondary):
1154d12e 12869 Use ns-store-selection-internal.
c803b2b7 12870
9cff91f8 128712011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
12872
12873 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 12874 (vc-deduce-fileset): Doc fix.
99a289d9 12875
f16c898a
AS
128762011-12-16 Andreas Schwab <schwab@linux-m68k.org>
12877
12878 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
12879
763237c4
SS
128802011-12-13 Sam Steingold <sds@gnu.org>
12881
12882 * man.el (Man-getpage-in-background): When running under a
12883 window-system, ignore $MANWIDTH and $COLUMNS.
12884
5fc1c122
KH
128852011-12-15 Kenichi Handa <handa@m17n.org>
12886
12887 * language/ethio-util.el: Change coding tag to utf-8-emacs.
12888 (setup-ethiopic-environment-internal): Comment out key-binding for
12889 ethio-toggle-punctuation.
12890
13d49cbb
AM
128912011-12-13 Alan Mackenzie <acm@muc.de>
12892
898169a2
AM
12893 Add the switch statement to AWK Mode.
12894
7a71b18d 12895 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
12896 "default" to the keywords regexp.
12897
7a71b18d 12898 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 12899 expression as the rest.
1d00653d
SM
12900 (c-nonlabel-token-key): Allow string literals for AWK.
12901 Refactor for the other modes.
898169a2 12902
13d49cbb 12903 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 12904 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
12905 routines. Limit backward searching in c-font-lock-enclosing.decl.
12906
12907 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
12908 pp-state and literal type in addition to the limits.
1d00653d 12909 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 12910 (c-state-literal-at): Use the above new defun.
1d00653d
SM
12911 (c-slow-in-literal, c-fast-in-literal): Remove.
12912 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
12913
12914 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
12915 being in a literal. Add a limit for backward searching.
12916
12917 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
12918 c-slow-in-literal.
12919
15e0efc7
SM
129202011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
12921
12922 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
12923
454592a6
MR
129242011-12-13 Martin Rudalics <rudalics@gmx.at>
12925
12926 * window.el (delete-other-windows): Use correct frame in call to
12927 window-with-parameter.
12928
87393f26
DP
129292011-12-12 Daniel Pfeiffer <occitan@t-online.de>
12930
12931 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
12932 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
12933 (makefile-gmake-statements, makefile-makepp-statements):
12934 Use it and add new makepp keywords.
12935 (makefile-makepp-font-lock-keywords): Add new patterns.
12936 (makefile-match-function-end): Match new [...] and [[...]].
12937
11636b22
JB
129382011-12-11 Juanma Barranquero <lekktu@gmail.com>
12939
12940 * ses.el (ses-call-printer-return, ses-cell-property-get)
12941 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
12942 (ses-create-cell-variable, ses-reset-header-string)
12943 (ses-cell-set-formula, ses-repair-cell-reference-all)
12944 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
12945 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
12946 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
12947 (ses-aset-with-undo, ses-load, ses-truncate-cell)
12948 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
12949 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
12950 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
12951 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
12952 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
12953 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
12954 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
12955 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
12956
cf018193
VB
129572011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
12958
12959 * ses.el: The overall change is to add cell renaming, that is
12960 setting fancy names for cell symbols other than name matching
12961 "\\`[A-Z]+[0-9]+\\'" regexp .
12962 (ses-create-cell-variable): New defun.
12963 (ses-relocate-formula): Relocate formulas only for cells the
12964 symbols of which are not renamed, i.e. symbols whose names do not
12965 match regexp "\\`[A-Z]+[0-9]+\\'".
12966 (ses-relocate-all): Relocate values only for cells the symbols of
12967 which are not renamed.
12968 (ses-load): Create cells variables as the (ses-cell ...) are read,
12969 in order to check row col consistency with cell symbol name only
12970 for cells that are not renamed.
12971 (ses-replace-name-in-formula): New defun.
12972 (ses-rename-cell): New defun.
12973
ee957461
CY
129742011-12-11 Chong Yidong <cyd@gnu.org>
12975
12976 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
12977 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
12978
9a9e9ef0
MR
129792011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
12980
12981 * window.el (other-window): Fix docstring.
12982
92a8eba5
EZ
129832011-12-10 Eli Zaretskii <eliz@gnu.org>
12984
12985 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
12986 `from' or `to' address before taking its substring.
12987 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
12988 encoded name is chopped in the middle of the encoded string, and
12989 thus displayed encoded.
12990
e152e577
JB
129912011-12-10 Juanma Barranquero <lekktu@gmail.com>
12992
12993 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
12994
e5d84bfe
EZ
129952011-12-10 Eli Zaretskii <eliz@gnu.org>
12996
12997 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
12998 to use texinfo-update-node and commands that call it if the
12999 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 13000 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
13001 (texinfo-all-menus-update, texinfo-master-menu)
13002 (texinfo-update-node, texinfo-every-node-update)
13003 (texinfo-multiple-files-update): Doc fix. Warn against updating
13004 all the @node lines.
13005 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
13006 argument is numeric. Explain better in the doc string what the
13007 function really does.
13008 (texinfo-insert-master-menu-list): Improve the error message
13009 displayed if there's no menu in the Top node.
13010 (Bug#2975) See also this thread:
e5d84bfe
EZ
13011 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
13012
1d84e9bb
MG
130132011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
13014
13015 * speedbar.el (speedbar-supported-extension-expressions):
13016 Add .adb and .ads, commonly used for Ada source code (bug#10256).
13017
382c953b
JB
130182011-12-09 Juanma Barranquero <lekktu@gmail.com>
13019
13020 * printing.el (pr-mode-alist):
13021 * simple.el (filter-buffer-substring-functions)
13022 (completion-list-insert-choice-function):
13023 * window.el (window-with-parameter, window-atom-root)
13024 (window-sides-slots, window-size-fixed, window-min-delta)
13025 (window-max-delta, window--resize-mini-window)
13026 (window--resize-child-windows-normal, window-tree)
13027 (delete-other-windows, quit-window, split-window)
13028 (display-buffer-record-window, special-display-buffer-names)
13029 (special-display-regexps, special-display-popup-frame)
13030 (same-window-p, split-window-sensibly)
13031 (display-buffer-overriding-action, display-buffer-alist)
13032 (display-buffer-base-action, display-buffer, switch-to-buffer)
13033 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
13034 (fit-window-to-buffer, recenter-positions)
13035 (mouse-autoselect-window-state, mouse-autoselect-window-select):
13036 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
13037 and remove unneeded backslashes in docstrings.
13038
39c9faef
SM
130392011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
13040
98449af8
SM
13041 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
13042
39c9faef
SM
13043 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
13044 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
13045 end in ".mk".
13046 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
13047 when reading the makefile (bug#10116).
13048
86ed9fdc
SM
130492011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
13050
13051 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
13052 (bug#10116).
13053
5580f89d
GM
130542011-12-06 Glenn Morris <rgm@gnu.org>
13055
13056 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
13057
28d3917c
CY
130582011-12-06 Chong Yidong <cyd@gnu.org>
13059
13060 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
13061
a98edce9
JB
130622011-12-06 Juanma Barranquero <lekktu@gmail.com>
13063
13064 * textmodes/table.el (table-shorten-cell): Fix typo.
13065
e65adfac
CG
130662011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
13067
13068 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
13069
71cc0b74
EZ
130702011-12-05 Eli Zaretskii <eliz@gnu.org>
13071
13072 * descr-text.el (describe-char): Fix display of strong
13073 right-to-left characters and directional embeddings and overrides.
13074
13075 * simple.el (what-cursor-position): Fix display of codepoints of
13076 strong right-to-left characters.
13077
315bc30d
CY
130782011-12-05 Chong Yidong <cyd@gnu.org>
13079
13080 * faces.el (read-color): Doc fix.
13081
58a70b94
GM
130822011-12-05 Glenn Morris <rgm@gnu.org>
13083
13084 * align.el (align--set-marker): Add doc-string.
13085 Don't try to move something that is not a marker. (Bug#10216)
13086
5158face
GM
130872011-12-04 Glenn Morris <rgm@gnu.org>
13088
13089 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
13090 overly zealous deletion of trailing whitespace.
13091
520fca41
JB
130922011-12-04 Juanma Barranquero <lekktu@gmail.com>
13093
13094 * server.el (server-delete-client): On Windows, do not try to delete
13095 the only terminal.
13096 (server-process-filter): On Windows, treat requests for a tty frame as
13097 if they were for a GUI frame if the running server is in GUI mode.
13098
5e605a2e
GM
130992011-12-03 Glenn Morris <rgm@gnu.org>
13100
13101 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
13102
5c3fe83f
SM
131032011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
13104
6f5e57e7
SM
13105 * electric.el: Streamline electric-indent's hook.
13106 (electric-indent-chars): Revert to simple list.
13107 (electric-indent-functions): New var.
13108 (electric-indent-post-self-insert-function): Use it.
13109
5c3fe83f
SM
13110 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
13111 there's no inferior buffer (bug#10196).
13112 (prolog-consult-compile): Don't use toggle-read-only.
13113
6bdac736
MA
131142011-12-02 Michael Albinus <michael.albinus@gmx.de>
13115
13116 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
13117 interrupt. (Bug#10187)
13118
6131ba7f
SM
131192011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
13120
99c79fee
SM
13121 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
13122 (bug#9160).
13123
6131ba7f
SM
13124 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
13125 (bug#10191).
13126
cb0a02ea
JL
131272011-12-02 Juri Linkov <juri@jurta.org>
13128
13129 * info.el (Info-search): Display "end of manual" when Isearch
13130 reaches the end of single-file Info manual. (Bug#9918)
13131
66e0570c
EZ
131322011-12-02 Eli Zaretskii <eliz@gnu.org>
13133
13134 * isearch.el (isearch-message-prefix): Run the input method part
13135 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
13136
02b16839
JL
131372011-12-02 Juri Linkov <juri@jurta.org>
13138
13139 * isearch.el (isearch-occur): Use `word-search-regexp' for
13140 `isearch-word'.
13141 (isearch-search-and-update): Add condition for `isearch-word' and
13142 call `word-search-regexp'. (Bug#10145)
13143
0b950688
GM
131442011-12-01 Glenn Morris <rgm@gnu.org>
13145
13146 * eshell/em-hist.el (eshell-hist-initialize):
13147 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 13148 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 13149
9505c3c7
SM
131502011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
13151
13152 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
13153
1bbe96b2 131542011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 13155
a1beca85
SM
13156 * progmodes/verilog-mode.el (verilog-pretty-expr):
13157 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
13158 verilog, such as += *= and the like.
13159 (verilog-assignment-operator-re): Regular expression to find the
13160 assigment operator in a verilog assignment.
13161 (verilog-assignment-operation-re): Regular expression to find an
13162 assignment statement for pretty-expr.
13163 (verilog-in-attribute-p): Query returns true if point is in an
13164 attribute context; used to skip these for expression line up from
13165 pretty-expr.
13166 (verilog-in-parameter-p): Query returns true if point is in an
13167 parameter definition context; used to skip these for expression
13168 line up from pretty-expr.
13169 (verilog-in-parenthesis-p): Query returns true if point is in a
13170 parenthetical expression, specifically ( ) but not [ ] or { };
13171 used by pretty-expr.
13172 (verilog-just-one-space): If there is no space, don't add one.
13173 (verilog-get-lineup-indent-2): Specifically skip just attribute
13174 contexts for expression lineup, rather than skipping all
13175 parenthetical expressions.
13176 (verilog-calculate-indent): Fix comment, and fix indent.
13177 (verilog-do-indent): Indent declarations in lists (suggested by
13178 Joachim Lechner).
13179 (verilog-mode-abbrev-table): Populate abbrev mode with the various
13180 skeleton items.
13181 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
13182 by Alain Mellan).
13183
1bbe96b2 131842011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
13185
13186 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
13187 parameters with embedded comments. Reported by Ray Stevens.
13188 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
13189 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
13190 Reported by Tim Holt.
13191 (verilog-auto): Fix AUTOing a upper module then AUTOing module
13192 instantiated by upper module causing wrong expansion until AUTOed a
13193 second time. Reported by K C Buckenmaier.
13194 (verilog-diff-auto): Fix showing .* as a difference when
13195 `verilog-auto-star-save' off. Reported by Dan Dever.
13196 (verilog-auto-reset, verilog-read-always-signals)
13197 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
13198 temporary signals in reset list if
13199 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
13200 style to each signal's assignment type, bug381.
13201 Reported by Thomas Esposito.
6288f0ca
WS
13202 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
13203 (verilog-uvm-statement-re): Support UVM indentation and
13204 highlighting, with old OVM keywords only.
a1beca85 13205 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
13206 Support AUTOTIEOFF creating non-wire data types.
13207 Suggested by Jonathan Greenlaw.
6288f0ca
WS
13208 (verilog-auto-insert-lisp, verilog-delete-to-paren)
13209 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
13210 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
13211 (verilog-read-sub-decls, verilog-read-sub-decls-line):
13212 Fix mismatching parenthesis inside commented out code when deleting
382c953b 13213 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
13214 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
13215 non-numeric vector width. Reported by Alex Reed.
13216 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 13217 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
13218 (verilog-auto-delete-trailing-whitespace):
13219 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
13220 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
13221 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
13222 Fix verilog-scan-cache corruption when running user AUTO expansion
13223 hooks that call indentation routines.
13224 (verilog-simplify-range-expression): Fix typo ignoring lower case
13225 identifiers.
13226 (verilog-delete-auto): Fix delete-autos to also remove user created
13227 automatics, as long as they start with AUTO.
13228 (verilog-batch-diff-auto, verilog-diff-auto)
13229 (verilog-diff-function): Add `verilog-diff-auto' and bind to
13230 "C-c?" to report differences in AUTO expansion, ignoring spaces.
13231 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
13232 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
13233 (verilog-re-search-forward-quick, verilog-syntax-ppss):
13234 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
13235 is disabled and its cache will get corrupt, causing AUTOS not to
13236 expand. Instead use only -quick functions.
13237 (verilog-scan-region): Fix scanning over escaped quotes.
13238 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
13239 (verilog-re-search-backward-quick)
13240 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
13241 related functions now ignore strings, to fix misparsing of strings
13242 with magic comments embedded in them.
a1beca85
SM
13243 (verilog-read-auto-template):
13244 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
13245 Reported by Brad Dobbie.
13246 (verilog-read-auto-template):
13247 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 13248 Reported by Brad Dobbie.
6288f0ca
WS
13249 (verilog-auto-inst, verilog-auto-inst-param)
13250 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
13251 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
13252 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
13253 debugging templates without merge conflicts, bug357.
13254 Reported by Brad Dobbie.
13255 (verilog-read-auto-template):
13256 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
13257 Reported by Brad Dobbie.
13258 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
13259 abbrevs so user won't be asked to save.
13260 (verilog-read-auto-lisp-present): Fix to start at beginning of
13261 buffer in case called outside of verilog-auto.
13262 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
13263 to "X-2". Reported by Matthew Myers.
13264 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
13265 all inputs from module templates. Reported by Leith Johnson.
13266 (verilog-module-inside-filename-p): Fix locating programs as with
13267 modules.
13268 (verilog-auto-inst-port): Fix vl-width expressions when using
13269 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
13270 (verilog-decls-get-regs, verilog-decls-get-signals,
13271 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
13272 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
13273 verilog-read-decls): Combine reg and wire structures into one var
13274 structure to represent SystemVerilog concepts.
13275 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
13276 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
13277 (verilog-auto-wire-type, verilog-insert-definition):
13278 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
13279 SystemVerilog "logic" keyword instead of "wire"/"reg".
13280 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
13281 to declares outputs that also have assignments (presumably in an
a1beca85
SM
13282 ifdef or generate if so there's not a driver conflict).
13283 Reported by Matthew Myers.
13284 (verilog-auto-declare-nettype, verilog-insert-definition):
13285 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
13286 `default_nettype none. Reported by Julian Gorfajn.
13287 (verilog-read-always-signals-recurse, verilog-read-decls)
13288 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
13289 malformed end statement, bug325. Reported by Joshua Wise and
13290 Andrew Drake.
13291 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
13292 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
13293 when expanding .* in interfaces, bug320.
13294 Reported by Pierre-David Pfister.
6288f0ca 13295 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
13296 name and open parenthesis, bug317.
13297 Reported by Pierre-David Pfister.
6288f0ca
WS
13298 (verilog-simplify-range-expression): Fix simplification of
13299 multiplications inside AUTOWIRE connections, bug303.
13300 (verilog-auto-inst-port): Support parameter expansion in
13301 multidimensional arrays.
13302 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
13303 after "assert property". Reported by Julian Gorfajn.
13304 (verilog-simplify-range-expression): Fix "couldn't merge" errors
13305 with multiplication, bug303.
13306 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
13307 Reported by Jan Frode Lonnum.
13308
1bbe96b2
GM
133092011-11-30 Juanma Barranquero <lekktu@gmail.com>
13310
13311 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
13312 (hfy-shell-file-name, hfy-shell):
13313 * international/fontset.el (x-decompose-font-name): Fix typos.
13314
133152011-11-29 Ken Brown <kbrown@cornell.edu>
13316
13317 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
13318 (gdb-version): Remove defvar.
13319 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
13320 (gdb-gud-context-command, gdb-non-stop-handler)
13321 (gdb-current-context-command, gdb-stopped): Use it.
13322 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
13323 (gdb-non-stop-handler): Don't enable pretty-printing here.
13324 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
13325 non-stop mode. Use the following.
13326 (gdb-check-target-async): New defun.
13327 (gud-watch, gdb-stopped): Fix whitespace.
13328 (gdb-get-source-file): Don't try to display the source file if
13329 `gdb-main-file' is nil.
13330
133312011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
13332
13333 * align.el: Try to generate fewer markers (bug#10047).
13334 (align--set-marker): New macro.
13335 (align-region): Use it.
13336
c935221f
SM
133372011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
13338
13339 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
13340
e70b5064
CY
133412011-11-29 Chong Yidong <cyd@gnu.org>
13342
13343 * indent.el (indent-for-tab-command, indent-according-to-mode):
13344 Doc fix.
13345 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
13346
f3af92b7
MA
133472011-11-29 Michael Albinus <michael.albinus@gmx.de>
13348
13349 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
13350 aware of remote file names. (Bug#10124)
13351
ed472be9
CY
133522011-11-29 Chong Yidong <cyd@gnu.org>
13353
13354 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
13355
24510c22
SM
133562011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
13357
13358 * files.el (find-file): Don't use force-same-window (bug#10144).
13359 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
13360 use pop-to-buffer if the selected window can't be used.
13361 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
13362
c60c3703
EZ
133632011-11-28 Eli Zaretskii <eliz@gnu.org>
13364
13365 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
13366 special-mode-map.
13367
e95def75
CY
133682011-11-28 Chong Yidong <cyd@gnu.org>
13369
13370 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
13371
c3f1c606
NR
133722011-11-27 Nick Roberts <nickrob@snap.net.nz>
13373
13374 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
13375 gdb-get-source-file-list on gdb-create-source-file-list.
13376
00db469c
EZ
133772011-11-26 Eli Zaretskii <eliz@gnu.org>
13378
13379 * whitespace.el (whitespace-newline): Use a different foreground
13380 color for 16-color light-background displays.
13381
4ad3bc2a
CY
133822011-11-24 Chong Yidong <cyd@gnu.org>
13383
13384 * window.el (display-buffer--special-action): Doc fix.
13385
e9fce1ac
JB
133862011-11-25 Juanma Barranquero <lekktu@gmail.com>
13387
13388 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
13389 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
13390 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
13391 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
13392 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
13393 (avl-tree-stack-first):
13394 * emacs-lisp/cconv.el (cconv--analyse-use):
13395 * net/gnutls.el (gnutls-negotiate): Fix typos.
13396
cb825e5d
GM
133972011-11-24 Glenn Morris <rgm@gnu.org>
13398
3adbe224
GM
13399 * lpr.el (lpr-windows-system, lpr-lp-system):
13400 * mail/binhex.el (binhex-begin-line):
13401 * progmodes/grep.el (grep-history, grep-find-history):
13402 * textmodes/flyspell.el:
13403 * vc/pcvs-defs.el (cvs-global-menu):
13404 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
13405 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
13406 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
13407
321decc8
GM
13408 * net/tls.el: Fix case of "GnuTLS".
13409
420b63ad
GM
13410 * paths.el (rmail-file-name): Format doc-string for make-docfile.
13411
cb825e5d
GM
13412 * version.el (emacs-build-system): Give it a doc-string.
13413
a0649f08
JL
134142011-11-24 Juri Linkov <juri@jurta.org>
13415
13416 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
13417
c0bc0fd4
GM
134182011-11-24 Glenn Morris <rgm@gnu.org>
13419
13420 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
13421 if called on a non-mime message just toggle the headers. (Bug#8006)
13422
20db1522
JB
134232011-11-24 Juanma Barranquero <lekktu@gmail.com>
13424
13425 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
13426 (allout-lead-with-comment-string, allout-structure-deleted-hook)
13427 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
13428 (allout-rebullet-heading, allout-open-sibtopic)
13429 (allout-toggle-current-subtree-encryption)
13430 (allout-toggle-subtree-encryption, allout-encrypt-string)
13431 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
13432 (allout-distinctive-bullets-string, allout-auto-activation):
13433 * window.el (window-normalize-buffer-to-display):
13434 * progmodes/verilog-mode.el (verilog-batch-indent):
13435 * textmodes/bibtex.el (bibtex-field-braces-opt)
13436 (bibtex-field-strings-opt):
13437 * vc/cvs-status.el (cvs-tree-merge):
13438 Fix typos.
13439
7262a87c
MA
134402011-11-23 Michael Albinus <michael.albinus@gmx.de>
13441
13442 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
13443 `non-essential' to t, in order to avoid remote connections.
13444
283430a1
EZ
134452011-11-23 Eli Zaretskii <eliz@gnu.org>
13446
a1beca85
SM
13447 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
13448 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
13449 case-insensitively.
13450
d2992a38
ML
134512011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
13452
13453 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
13454
50419064
GM
134552011-11-23 Glenn Morris <rgm@gnu.org>
13456
da94eca1
GM
13457 * paths.el (rmail-file-name): Reformat the doc-string so that it
13458 is picked up.
13459
9aac4de2
GM
13460 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
13461 (rmail-auto-file): Ignore case in the "special" field names,
13462 as mail-fetch-field does for all others.
13463
8038d2d2
GM
13464 * mail/rmail.el (rmail-forward):
13465 * mail/rmailkwd.el (rmail-set-label):
13466 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
13467 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
13468
f3fe222a
GM
13469 * mail/rmail.el (rmail-current-message): Doc fix.
13470
50419064
GM
13471 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
13472
28109f49
SM
134732011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
13474
13475 * server.el (server-eval-and-print): Allow C-g (bug#6585).
13476
394c65f1
GM
134772011-11-22 Glenn Morris <rgm@gnu.org>
13478
13479 * mail/rmailmm.el (test-rmail-mime-handler)
13480 (test-rmail-mime-bulk-handler)
13481 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
13482
f2a0aa3a
JL
134832011-11-21 Juri Linkov <juri@jurta.org>
13484
1154d12e
JB
13485 * calc/calc.el (calc-read-key-sequence):
13486 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 13487
9c34a344
LMI
134882011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13489
13490 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
13491 Tell the caller that the next line needs recomputation, even
13492 though it doesn't start a sexp (bug#10094).
13493
f04a3be9
SM
134942011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
13495
13496 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
13497
7978747f
SM
134982011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
13499
f04a3be9
SM
13500 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
13501 Use force-same-window.
7978747f 13502
fe7a3057
JB
135032011-11-20 Juanma Barranquero <lekktu@gmail.com>
13504
13505 * descr-text.el (describe-char-unicode-data):
13506 * json.el (json-string-escape):
13507 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
13508 (Footnote-unicode, Footnote-style-p):
13509 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
13510
24901d61
CY
135112011-11-20 Chong Yidong <cyd@gnu.org>
13512
13513 * window.el (replace-buffer-in-windows): Restore interactive spec.
13514
bac7ff22
SM
135152011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
13516
24f3d7b9
SM
13517 * electric.el (electric-indent-mode): Fix last change (too optimistic).
13518
bac7ff22
SM
13519 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
13520 (byte-compile-global-not-obsolete-vars): New var.
13521 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
13522 Use it.
13523 (byte-compile-warn-obsolete): Align text with the one in *Help*.
13524
cd1181db
JB
135252011-11-20 Juanma Barranquero <lekktu@gmail.com>
13526
13527 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
13528 * progmodes/pascal.el (electric-pascal-equal):
13529 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
13530 * xml.el (xml-substitute-special): Fix typos.
13531
7fb18e9e
GM
135322011-11-20 Glenn Morris <rgm@gnu.org>
13533
13534 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
13535 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
13536 Doc fixes.
13537 (rmail-decode-mime-charset): Mark as obsolete.
13538
13539 * mail/rmailsum.el (rmail-message-regexp-p-1):
13540 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
13541 Before using mime functions, check they are set. (Bug#10077)
13542
d5a6b3ba
JL
135432011-11-19 Juri Linkov <juri@jurta.org>
13544
13545 * info.el (Info-finder-find-node): Use `package--builtins' instead
13546 of `package-alist'. Use node names formed by the pattern "Keyword "
13547 and the keyword name.
13548
e981b61f
AS
135492011-11-19 Andreas Schwab <schwab@linux-m68k.org>
13550
1d00653d 13551 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 13552
3ffbc301
JL
135532011-11-19 Juri Linkov <juri@jurta.org>
13554
13555 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
13556 that calls `revert-buffer' on all Info buffers. (Bug#9915)
13557 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
13558 `old-history', `old-history-forward'. Add let-binding
13559 `window-selected'. Remove calls to `kill-buffer',
13560 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
13561 before calling `Info-find-node', so `Info-find-node-2' will reread
13562 the Info file. Restore window positions only when `window-selected'
13563 is non-nil.
13564
30c62133
JL
135652011-11-19 Juri Linkov <juri@jurta.org>
13566
13567 * isearch.el (isearch-lazy-highlight-new-loop):
13568 Remove condition `(not isearch-error)'. (Bug#9918)
13569
13570 * misearch.el (multi-isearch-search-fun): Add condition
13571 `(not bound)' to ignore lazy-highlighting search.
13572 Add the search-failed message "end of multi" when the end of
13573 multi-sequence is reached. Uncapitalize the search-failed
13574 message "Repeat for next buffer".
13575
13576 * info.el (Info-search): Add the search-failed message
13577 "end of the manual" when the end of the manual is reached
13578 in Isearch mode.
13579
645ca9cf
JL
135802011-11-19 Juri Linkov <juri@jurta.org>
13581
13582 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
13583 Use non-destructive `remove' instead of `delete' because
13584 `Info-history-list' stored to `Info-isearch-initial-history-list' in
13585 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
13586
df754f66
JL
135872011-11-19 Juri Linkov <juri@jurta.org>
13588
13589 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
13590 to nil instead of binding `search-ring' and `regexp-search-ring'.
13591 (Bug#9185)
13592
0e23d96a
EZ
135932011-11-19 Eli Zaretskii <eliz@gnu.org>
13594
13595 * simple.el (line-move): Force movement by logical lines for any
13596 hscrolled window, not only when auto-hscroll-mode is on.
13597 (line-move-visual): Update doc string to that effect. (Bug#10076)
13598
8a6ccb66
AS
135992011-11-19 Andreas Schwab <schwab@linux-m68k.org>
13600
13601 * language/european.el (macintosh): Define as alias for mac-roman.
13602
49ae5b39
EZ
136032011-11-19 Eli Zaretskii <eliz@gnu.org>
13604
13605 * mail/rmailmm.el (rmail-mime-display-header)
13606 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
13607 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
13608 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
13609 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
13610 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
13611 of a raw aref.
13612 (rmail-mime-entity-segment): To get past the tagline, move forward
13613 2 more lines, to account for the 2 empty lines that precede and
13614 follow the line with the buttons.
13615 (rmail-mime-update-tagline): Move one more line, to get past the
13616 empty line that follows the buttons in the tagline. (Bug#9520)
13617
c56cad4a
MR
136182011-11-19 Martin Rudalics <rudalics@gmx.at>
13619
13620 * window.el (window-max-delta-1, window-min-delta-1)
13621 (window-min-size-1, window-state-get-1, window-state-put-1)
13622 (window-state-put-2): Use "window--" prefix.
13623
cbe71af3
SM
136242011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
13625
2ad52c60
SM
13626 * emacs-lisp/smie.el: Improve warnings and conflict detection.
13627 (smie-warning-count): New var.
13628 (smie-set-prec2tab): Use it.
13629 (smie-bnf->prec2): Improve warnings. Add docstring.
13630 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
13631 (smie-bnf--set-class): New function.
13632 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
13633 corner case.
13634
6944dbc1
SM
13635 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
13636 (compilation-error-properties, compilation-move-to-column):
13637 Handle compilation-first-column while in the target buffer.
13638
c400c4d7
SM
13639 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
13640 Don't hardcode point-min==1.
13641
6dbe3e96
SM
13642 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
13643 (eshell-rewrite-for-command): Remove workaround.
13644 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
13645 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
13646 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
13647
cbe71af3
SM
13648 * files-x.el (modify-file-local-variable): Obey commenting conventions.
13649
a8e1496d
GM
136502011-11-17 Glenn Morris <rgm@gnu.org>
13651
13652 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
13653 Ignore buffer-local generated-autoload-file if it is the same
13654 as the global value. (Bug#10049)
13655
df85d315
JB
136562011-11-17 Juanma Barranquero <lekktu@gmail.com>
13657
13658 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
13659 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
13660 (reftex-toc-previous-heading, reftex-toc-max-level)
13661 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
13662 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
13663 (reftex-toc-do-promote, reftex-toc-promote-prepare)
13664 (reftex-toc-promote-action, reftex-toc-extract-section-number)
13665 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
13666 (reftex-toc-rename-label, reftex-toc-visit-location)
13667 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
13668 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
13669 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
13670 leaving "*toc*" only for references to the buffer.
13671
a0c2d0ae
MR
136722011-11-17 Martin Rudalics <rudalics@gmx.at>
13673
13674 * window.el (window-resize, delete-window, split-window):
13675 Replace window-splits by window-combination-resize.
1d00653d 13676 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 13677
35c0bac8
GM
136782011-11-17 Glenn Morris <rgm@gnu.org>
13679
13680 * progmodes/sh-script.el (sh-font-lock-keywords-var):
13681 Make bash entry derive from sh entry, not shell entry.
13682
d0c8fc8a
MA
136832011-11-16 Michael Albinus <michael.albinus@gmx.de>
13684
7262a87c
MA
13685 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
13686 local file name.
13687
7877f373
JB
136882011-11-16 Juanma Barranquero <lekktu@gmail.com>
13689
13690 * menu-bar.el (menu-bar-file-menu):
13691 * printing.el (pr-ps-utility):
13692 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
13693 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
13694 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
13695 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
13696 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
13697 (icalendar--convert-cyclic-to-ical)
13698 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
13699 (icalendar--convert-ical-to-diary)
13700 (icalendar--convert-recurring-to-diary)
13701 (icalendar--convert-non-recurring-all-day-to-diary)
13702 (icalendar-import-format-sample):
13703 * progmodes/idlw-shell.el (idlwave-shell-mode):
13704 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
13705 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
13706 (vhdl-ps-print-init): Fix typos.
13707
10649b82
KM
137082011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
13709
9d0cfcd6
GM
13710 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
13711 FSF and collapse date sequence, obscure author/maintainer email address
13712 better, remove extra version line, track relocation of author's webpage.
10649b82 13713
9d0cfcd6
GM
13714 * progmodes/python.el (python-pdbtrack-input-prompt)
13715 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
13716 regular python pdb prompts. Adjustments shamelessly taken exactly as
13717 suggested in EmacsWiki page (tiny change):
13718 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 13719
58179cce
JB
137202011-11-16 Juanma Barranquero <lekktu@gmail.com>
13721
13722 * expand.el (expand-pos, expand-index, expand-point):
13723 Remove redundant info from docstring.
13724 (expand-add-abbrevs): Doc fix.
13725 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
13726 (expand-sample-perl-mode-expand-list): Fix typos.
13727
13728 * net/dbus.el (dbus-event-member-name):
13729 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
13730 * term/pc-win.el (msdos-create-frame-with-faces):
13731 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
13732
b6f67890
MR
137332011-11-16 Martin Rudalics <rudalics@gmx.at>
13734
13735 * window.el (split-window, window-state-get-1)
13736 (window-state-put-1, window-state-put-2): Rename occurrences of
13737 window-nest to window-combination-limit.
1d00653d 13738 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 13739
ce7ddba0
CY
137402011-11-16 Chong Yidong <cyd@gnu.org>
13741
13742 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
13743 regexp (Bug#10033).
13744
3ae704f4
SM
137452011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
13746
13747 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
13748 `completing-read' will remove *Completions* and will preserve
13749 current-buffer for us.
13750 (tmm-add-prompt): Users of *Completions* will always (re)set its
13751 major mode.
13752 (tmm-old-comp-map): Remove.
13753
6ad1cdde
GM
137542011-11-16 Glenn Morris <rgm@gnu.org>
13755
13756 * mail/rmailedit.el: Require rmailmm when compiling.
13757 (rmail-old-mime-state): New declaration.
13758 (rmail-edit-current-message): If editing a mime message,
13759 edit the "raw" message from the mbox buffer.
13760 (rmail-cease-edit): Handle mime messages. (Bug#9840)
13761
d20faa20
GM
137622011-11-15 Glenn Morris <rgm@gnu.org>
13763
13764 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
13765 which wasn't being used. Add optional arg to force given state.
13766 (rmail-mime): Add optional arg to force given state.
13767
c7015153
JB
137682011-11-15 Juanma Barranquero <lekktu@gmail.com>
13769
13770 * allout.el (allout-encryption-plaintext-sanitization-regexps):
13771 * frame.el (display-mm-dimensions-alist):
13772 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
13773 (outline-move-subtree-down):
13774 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
13775 (newsticker--treeview-do-get-node):
13776 * net/quickurl.el (quickurl-list-buffer-name):
13777 * progmodes/dcl-mode.el (dcl-mode):
13778 * progmodes/gdb-mi.el (gdb-mapcar*):
13779 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
13780
45261b50
GM
137812011-11-15 Glenn Morris <rgm@gnu.org>
13782
13783 * mail/rmail.el (rmail-file-coding-system): It's only ever used
13784 in a boolean sense, so just make it a boolean, and fix the doc.
13785 (rmail-show-mime-function, rmail-mime-feature)
13786 (rmail-require-mime-maybe): Doc fixes.
13787 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
13788
13789 * mail/rmailmm.el (rmail-show-mime): Doc fix.
13790
0d26e0b6
JB
137912011-11-15 Juanma Barranquero <lekktu@gmail.com>
13792
13793 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
13794 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
13795 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
13796 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
13797
447f30f6
GM
137982011-11-15 Glenn Morris <rgm@gnu.org>
13799
672b871d
GM
13800 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
13801 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
13802 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
13803 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
13804 (rmail-mime, rmail-show-mime): Doc fixes.
13805
f6aa5bb1
GM
13806 * term/ns-win.el (mode-line-frame-identification):
13807 Leave it alone. (Bug#10051)
13808
947cd66b
GM
13809 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
13810
447f30f6
GM
13811 * mail/rmailout.el (rmail-output-to-rmail-buffer):
13812 Handle empty buffers. (Bug#9978)
13813
0b381c7e
JB
138142011-11-14 Juanma Barranquero <lekktu@gmail.com>
13815
13816 * international/mule.el (define-charset):
13817 * mail/rmailmm.el (rmail-mime-find-header-encoding):
13818 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
13819 * progmodes/verilog-mode.el (verilog-backward-token):
13820 * textmodes/ispell.el (lookup-words):
13821 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
13822
71e027ac
GM
138232011-11-14 Glenn Morris <rgm@gnu.org>
13824
56632ce4
GM
13825 * progmodes/executable.el
13826 (executable-make-buffer-file-executable-if-script-p):
13827 Handle file-modes returning nil.
13828
40500957
GM
13829 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
13830 message - not necessary, and causes problems. (Bug#9831)
13831
071c2340
GM
13832 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
13833
d3cfca60
GM
13834 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
13835
71e027ac
GM
13836 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
13837 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
13838 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
13839
89d61221
MR
138402011-11-12 Martin Rudalics <rudalics@gmx.at>
13841
13842 * window.el (window-resize, delete-window): Use window-splits
13843 variable instead of function.
13844 (window-state-get-1, window-state-put-2, window-state-put):
13845 Don't deal with windows' splits status.
13846
98282f6f
GM
138472011-11-12 Glenn Morris <rgm@gnu.org>
13848
13849 * apropos.el (apropos-do-all, apropos-library, apropos-value)
13850 (apropos-documentation): Doc fixes.
13851
40a8bdf6
JB
138522011-11-11 Juanma Barranquero <lekktu@gmail.com>
13853
13854 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
13855 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
13856
65bd19ff
SM
138572011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
13858
13859 * electric.el (electric-indent-post-self-insert-function): Make it
13860 possible for a char to only indent in some circumstances.
13861 (electric-indent-mode): Simplify.
13862
54f9154c
MR
138632011-11-11 Martin Rudalics <rudalics@gmx.at>
13864
13865 * window.el (windows-with-parameter): Remove unused function.
13866 (windows-at-side): Rename to window-at-side-list.
13867 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
13868 (window-side-check, window-size-ignore, window-size-fixed-1)
13869 (window-in-direction-2): Prefix with "window--".
13870 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 13871
68cbc58b
GM
138722011-11-11 Glenn Morris <rgm@gnu.org>
13873
13874 * subr.el (eval-after-load): If FILE is already loaded,
13875 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
13876
b2621720
GM
138772011-11-10 Glenn Morris <rgm@gnu.org>
13878
9a4de110
GM
13879 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
13880 Call svn via vc-svn-command rather than vc-do-command.
13881 (vc-svn-command): Add --non-interactive. (Bug#9993)
13882 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
13883
b2621720
GM
13884 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
13885 Add toggle-read-only. (Bug#7292)
13886 * files.el (toggle-read-only): Mention that it should only
13887 be used interactively. (Bug#10006)
13888
1dce7193
SM
138892011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
13890
d9ac1a1e
SM
13891 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13892 Adjust regexp for OCaml warnings.
13893
0c325082
SM
13894 * electric.el (electric-pair-post-self-insert-function): Let user
13895 turn it off buffer-locally (bug#9932).
13896
90132c14
SM
13897 * progmodes/python.el (python-beginning-of-statement):
13898 Rewrite (bug#2703).
13899
1dce7193
SM
13900 * progmodes/compile.el: Better handle TABs (bug#9749).
13901 (compilation-internal-error-properties)
13902 (compilation-next-error-function): Obey the target buffer's
13903 compilation-error-screen-columns.
13904
c4e7c63a
JB
139052011-11-09 Juanma Barranquero <lekktu@gmail.com>
13906
13907 * progmodes/meta-mode.el: Remove obsolete comments.
13908 (meta-right-comment-regexp, meta-ignore-comment-regexp):
13909 Fix typos in docstrings.
13910
2cffd681
MR
139112011-11-09 Martin Rudalics <rudalics@gmx.at>
13912
13913 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 13914 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
13915 (window--resizable): New function. Make all callers of
13916 window-resizable call window--resizable instead.
13917 (window-resizable): Rewrite in terms of window--resizable.
13918
0edcba87
GM
139192011-11-08 Glenn Morris <rgm@gnu.org>
13920
13921 * progmodes/delphi.el (delphi-mode-syntax-table):
13922 Let define-derived-mode define a proper syntax table. (Bug#9994)
13923
4b0d61e3
SM
139242011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
13925
13926 * window.el: Stay away from defsubst.
13927 (window-list-no-nils): Remove.
13928 (window-state-get-1, window-state-get): Use backquote instead.
13929
cd394be1 139302011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 13931
4b0d61e3 13932 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 13933 Fix incorrect use of default argument in `completing-read'.
13934
e1c2c6f2
MR
139352011-11-08 Martin Rudalics <rudalics@gmx.at>
13936
13937 * window.el (display-buffer-function, special-display-function):
13938 Mention display-buffer-record-window but do not mention
13939 help-setup parameter in doc-strings.
b3f4a882 13940 (window-min-delta): Fix doc-string typo.
e1c2c6f2 13941
105216ed
CY
139422011-11-08 Chong Yidong <cyd@gnu.org>
13943
13944 * window.el (window-total-height, window-total-width): Doc fix.
13945 (window-body-size): Move from C.
13946 (window-body-height, window-body-width): Move to C.
13947
0a9f9ab5
SM
139482011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
13949
13950 * window.el: Make special-display like display-buffer-alist (bug#9532).
13951 (display-buffer--special-action): New function, morphed
13952 from display-buffer--special.
13953 (display-buffer): Use it to handle special-display-buffers at higher
13954 priority (just after display-buffer-alist).
13955 (display-buffer-fallback-action, display-buffer--other-frame-action)
13956 (pop-to-buffer-same-window): Remove display-buffer--special.
13957
a769dd15
GM
139582011-11-07 Glenn Morris <rgm@gnu.org>
13959
13960 * calendar/cal-menu.el (cal-menu-set-date-title):
13961 Do nothing if not in a calendar. (Bug#9976)
13962
05a61ee3
SM
139632011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
13964
13965 * files.el (find-file): Always use selected-window.
13966
be7f5545
MR
139672011-11-07 Martin Rudalics <rudalics@gmx.at>
13968
13969 * window.el (window-combinations): Make WINDOW argument
13970 mandatory. Rewrite doc-string.
13971 (walk-window-subtree, window-atom-check, window-min-delta)
13972 (window-max-delta, window--resize-this-window)
13973 (window--resize-root-window-vertically, window-tree)
13974 (balance-windows, window-state-put): Rewrite doc-strings as to
13975 not mention the term "subwindow".
13976 (window--resize-subwindows-skip-p): Rename to
13977 window--resize-child-windows-skip-p.
13978 (window--resize-subwindows-normal): Rename to
13979 window--resize-child-windows-normal.
13980 (window--resize-subwindows): Rename to
13981 window--resize-child-windows.
13982 (window-or-subwindow-p): Rename to window--in-subtree-p.
13983
3c6702ef
ML
139842011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
13985
13986 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
13987 Ensure that mbox format messages end in two newlines (Bug#9974).
13988
49745b39
CY
139892011-11-06 Chong Yidong <cyd@gnu.org>
13990
13991 * window.el (window-combination-p): Function deleted; its
13992 side-effect is not used in any existing code.
13993 (window-combinations, window-combined-p): Call window-*-child
13994 directly.
13995
24300f5f
CY
139962011-11-05 Chong Yidong <cyd@gnu.org>
13997
13998 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
13999 (window-size-ignore, window-state-get): Callers changed.
14000 (window-normalize-window): Rename from window-normalize-any-window.
14001 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 14002 (window-normalize-live-window): Delete.
447f16b8
CY
14003 (window-combination-p, window-combined-p, window-combinations)
14004 (walk-window-subtree, window-atom-root, window-min-size)
14005 (window-sizable, window-sizable-p, window-size-fixed-p)
14006 (window-min-delta, window-max-delta, window-resizable)
14007 (window-resizable-p, window-full-height-p, window-full-width-p)
14008 (window-current-scroll-bars, window-point-1, set-window-point-1)
14009 (window-at-side-p, window-in-direction, window-resize)
14010 (adjust-window-trailing-edge, maximize-window, minimize-window)
14011 (window-deletable-p, delete-window, delete-other-windows)
14012 (record-window-buffer, unrecord-window-buffer)
14013 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
14014 (quit-window, split-window, window-state-put)
14015 (set-window-text-height, fit-window-to-buffer)
14016 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 14017
89bd5ee1
EZ
140182011-11-04 Eli Zaretskii <eliz@gnu.org>
14019
53479029
EZ
14020 * mail/rmail.el (rmail-simplified-subject): Decode subject with
14021 rfc2047-decode-string.
14022 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
14023 warnings.
14024
89bd5ee1
EZ
14025 * window.el (window-body-height, window-body-width): Mention in
14026 the doc string that the return values are in frame's canonical
14027 units. (Bug#9949)
14028
bd17fdee
AM
140292011-11-03 Alan Mackenzie <acm@muc.de>
14030
14031 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
14032 change in cc-engine.el.
14033
acc825c5
SM
140342011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
14035
14036 * window.el (switch-to-buffer): Use `force-same-window' interactively.
14037
1885e5b8
MR
140382011-11-02 Martin Rudalics <rudalics@gmx.at>
14039
14040 * window.el (quit-window): Call unrecord-window-buffer after
14041 showing another buffer in the window. (Bug#9937)
acc825c5 14042 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 14043
ebe06da9
JB
140442011-11-02 Juanma Barranquero <lekktu@gmail.com>
14045
14046 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
14047 Accept status with more than 9 shelves. (Bug#9935)
14048 Reported by Colin D Bennett <colin@gibibit.com>.
14049
4ee88440
MR
140502011-11-01 Martin Rudalics <rudalics@gmx.at>
14051
14052 * help.el (with-help-window): Don't reference
14053 temp-buffer-show-specifiers in doc-string.
14054
08e1d82c
AS
140552011-10-31 Andreas Schwab <schwab@linux-m68k.org>
14056
14057 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
14058 menu-item.
14059
84bd6e9e
VJL
140602011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
14061
14062 * whitespace.el: New version 13.2.2.
14063 (whitespace-newline-mode): Disable properly. Reported by Sarah
14064 <EmacsWiki>.
14065
dba0634a
UJ
140662011-10-30 Ulf Jasper <ulf.jasper@web.de>
14067
14068 * net/newst-treeview.el: Remove "Time-stamp".
14069 (newsticker--group-manage-orphan-feeds): Do not call
14070 newsticker--treeview-tree-update.
db22a3c2
JB
14071 (newsticker-treeview-update, newsticker-treeview):
14072 Call newsticker--treeview-tree-update if necessary.
dba0634a 14073
3d8daefe
MR
140742011-10-30 Martin Rudalics <rudalics@gmx.at>
14075
14076 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
14077 (window-iso-combinations): Remove "iso-" infix.
14078 Suggested by Chong Yidong.
3d8daefe
MR
14079 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
14080 (window-max-delta-1, window-resize, window--resize-siblings)
14081 (window--resize-this-window, adjust-window-trailing-edge)
14082 (split-window, balance-windows-1)
14083 (shrink-window-if-larger-than-buffer):
14084 * calendar/calendar.el (calendar-generate-window):
db22a3c2 14085 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 14086
1bc4c3ae
SM
140872011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
14088
14089 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
14090 in place (bug#9907).
14091 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
14092 (eshell-rewrite-if-command, eshell-rewrite-for-command)
14093 (eshell-structure-basic-command, eshell-rewrite-while-command)
14094 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
14095 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
14096 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
14097 (eshell-do-pipelines-synchronously, eshell-eval-command):
14098 Use backquotes and prefer setq to set.
14099 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
14100 (eshell-macrop): Use functionp.
c1e2f5fa 14101 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 14102
30b65d9c
CY
141032011-10-30 Chong Yidong <cyd@gnu.org>
14104
14105 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
14106 instead of set-mark (Bug#9810).
14107
2d197ffb
CY
141082011-10-30 Chong Yidong <cyd@gnu.org>
14109
14110 * window.el (split-window-below, split-window-right): Rename from
14111 split-window-above-each-other and split-window-side-by-side
14112 respectively. All callers changed.
14113 (split-window-sensibly, split-window-sensibly): Use them.
14114 (split-window-keep-point): Doc fix.
14115
14116 * isearch.el: Add isearch-scroll property to split-window-below
14117 and split-window-right.
14118
14119 * follow.el (follow-mode):
14120 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
14121 * progmodes/ada-xref.el (ada-gdb-application):
14122 * emulation/vip.el (vip-buffer-in-two-windows):
14123 * image-dired.el (image-dired-dired-with-window-configuration):
14124 * dired-x.el (dired-do-find-marked-files):
14125 * dired.el (dired-pop-to-buffer):
14126 * bs.el (bs--show-with-configuration):
14127 * vc/emerge.el (emerge-setup-windows):
14128 * textmodes/two-column.el (2C-two-columns):
14129 * textmodes/reftex-toc.el (reftex-toc):
14130 * progmodes/gdb-mi.el (gdb-setup-windows):
14131 * progmodes/fortran.el (fortran-window-create):
14132 * net/newst-treeview.el (newsticker--treeview-window-init):
14133 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
14134 * emulation/tpu-edt.el (tpu-gold-map):
14135 * emulation/crisp.el (crisp-mode-map):
14136 * calendar/calendar.el (calendar-basic-setup): Callers changed.
14137
38bb2ca8
CY
141382011-10-29 Chong Yidong <cyd@gnu.org>
14139
aa4de341
CY
14140 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
14141
e1eb5385
CY
14142 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
14143
5d2ece3c
CY
14144 * textmodes/flyspell.el (flyspell-word): Fix char offset for
14145 forged Ispell output (Bug#7904).
14146
38bb2ca8
CY
14147 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
14148
d0af9f77
SM
141492011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
14150
14151 * doc-view.el: Avoid ugly errors about not finding nil.
14152 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
14153 (doc-view-dvipdf-program, doc-view-unoconv-program)
14154 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
14155 Avoid nil or absolute file name as default value.
14156 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
14157
52bedd34
AM
141582011-10-28 Alan Mackenzie <acm@muc.de>
14159
db22a3c2 14160 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 14161
7e43cfa5
AM
141622011-10-28 Alan Mackenzie <acm@muc.de>
14163
14164 Amend the handling of c-beginning/end-of-defun in nested declaration
14165 scopes.
14166
52bedd34
AM
14167 * progmodes/cc-vars.el (c-defun-tactic): Move here from
14168 cc-langs.el. Change it to a defcustom.
7e43cfa5 14169
52bedd34
AM
14170 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
14171 cc-vars.el.
7e43cfa5 14172
d0af9f77
SM
14173 * progmodes/cc-engine.el (c-beginning-of-statement-1):
14174 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 14175
52bedd34 14176 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 14177 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
14178 (c-widen-to-enclosing-decl-scope): New function.
14179 (c-while-widening-to-decl-block): New macro.
14180 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
14181 outward for defun boundaries, and correspondingly change symbol
14182 `respect-enclosure' to `go-outward'.
14183 (c-declaration-limits): Change algorithm to report only the "innermost"
14184 defun's boundaries.
14185
1a2ce9ee
DD
141862011-10-28 Deniz Dogan <deniz@dogan.se>
14187
14188 * net/rcirc.el (rcirc-mode): Use hard newlines.
14189
bc97a826
AM
141902011-10-28 Alan Mackenzie <acm@muc.de>
14191
14192 Amend to indent and fontify macros "which include their own semicolon"
14193 correctly, using the "virtual semicolon" mechanism.
14194
52bedd34 14195 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 14196
d0af9f77 14197 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 14198 Recode to scan one line at a time rather than having \n and \r
58179cce 14199 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 14200 (c-forward-label): Amend for virtual semicolons.
58179cce 14201 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 14202
52bedd34
AM
14203 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
14204 of the new C macros.
bc97a826 14205
52bedd34 14206 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
14207 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
14208 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
14209 (c-opt-cpp-macro-define): Make into a full language variable.
14210 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
14211 AWK Mode (including \n, \r) removed, no longer needed.
14212
d0af9f77
SM
14213 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
14214 Invoke c-make-macro-with-semi-re.
bc97a826 14215
52bedd34
AM
14216 * progmodes/cc-vars.el (c-macro-with-semi-re):
14217 (c-macro-names-with-semicolon): New variables.
58179cce 14218 (c-make-macro-with-semi-re): New function.
bc97a826 14219
7a6c0941
SM
142202011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
14221
14222 * vc/log-edit.el: Fill empty field rather than adding new one.
14223 (log-edit-add-field): New function.
14224 (log-edit-insert-changelog): Use it.
14225
b0c4cdcf
ML
142262011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
14227
14228 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
14229
ee1f1da9
SM
142302011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
14231
14232 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
14233 (gdb--check-interpreter): New function.
14234 (gdb): Use it.
14235
51bc5f8b
GM
142362011-10-27 Glenn Morris <rgm@gnu.org>
14237
416a2c45
GM
14238 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
14239 (least-positive-float, least-negative-float)
14240 (least-positive-normalized-float, least-negative-normalized-float)
14241 (float-epsilon, float-negative-epsilon):
14242 Remove unnecessary declarations.
14243
14244 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
14245 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
14246 (least-positive-float, least-negative-float)
14247 (least-positive-normalized-float, least-negative-normalized-float)
14248 (float-epsilon, float-negative-epsilon): Add doc-strings,
14249 based on those in cl.texi.
14250
51bc5f8b
GM
14251 * files.el (set-visited-file-name): If the major-mode changed,
14252 reload the local variables. (Bug#9796)
14253
15de15c6
CY
142542011-10-27 Chong Yidong <cyd@gnu.org>
14255
14256 * subr.el (change-major-mode-after-body-hook): New hook.
14257 (run-mode-hooks): Run it.
14258
ee1f1da9
SM
14259 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14260 Use change-major-mode-before-body-hook.
15de15c6
CY
14261
14262 * simple.el (fundamental-mode):
14263 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
14264 change introducing fundamental-mode-hook.
14265
5430d399
JB
142662011-10-26 Juanma Barranquero <lekktu@gmail.com>
14267
acc825c5 14268 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 14269
ad74a69e
MA
142702011-10-26 Michael Albinus <michael.albinus@gmx.de>
14271
14272 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 14273 tramp.el explicitly. (Bug#7583)
ad74a69e 14274
71d4c2a5
SM
142752011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
14276
14277 * progmodes/octave-mod.el:
14278 * progmodes/octave-inf.el: Update maintainer.
14279
b1f6fa26
CY
142802011-10-26 Chong Yidong <cyd@gnu.org>
14281
14282 * subr.el (with-wrapper-hook): Rewrite doc.
14283
3f04efd6
MA
142842011-10-25 Michael Albinus <michael.albinus@gmx.de>
14285
14286 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 14287 filenames "/method:foo:". (Bug#9793)
3f04efd6 14288
410488d3
SM
142892011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
14290
14291 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
14292 (bug#9865).
14293
c1ebb47e
GM
142942011-10-24 Glenn Morris <rgm@gnu.org>
14295
14296 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
14297
7f5c46c7
MA
142982011-10-24 Michael Albinus <michael.albinus@gmx.de>
14299
14300 * notifications.el: Add the requirement of a running D-Bus session
14301 bus to the Commentary.
14302
db2440b6
JL
143032011-10-24 Juri Linkov <juri@jurta.org>
14304
14305 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
14306 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
14307 (Bug#9364)
14308
feecf435
JL
143092011-10-24 Juri Linkov <juri@jurta.org>
14310
14311 * info.el (Info-following-node-name-re): Add newline to the list
14312 of allowed characters for leading space. (Bug#9824)
14313
a3839de2
SM
143142011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
14315
acc825c5
SM
14316 * progmodes/octave-inf.el (inferior-octave-mode-map):
14317 Fix C-c C-h binding.
a3839de2
SM
14318 * progmodes/octave-mod.el (octave-help): Remove.
14319
09388e76
MA
143202011-10-23 Michael Albinus <michael.albinus@gmx.de>
14321
14322 Sync with Tramp 2.2.3.
14323
14324 * net/tramp-cache.el (top): Pacify byte-compiler using
14325 `init-file-user' and `site-run-file'.
14326
14327 * net/trampver.el: Update release number.
14328
86c60681
CY
143292011-10-23 Chong Yidong <cyd@gnu.org>
14330
14331 * files.el (toggle-read-only): Remove obsolete comment about
14332 version control.
14333
14334 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
14335 for toggle-read-only. Note that this hasn't called vc-next-action
14336 since 2008-05-02, though it wasn't documented at the time.
14337
a3839de2
SM
14338 * vc/ediff-init.el (ediff-toggle-read-only-function):
14339 Use toggle-read-only.
86c60681 14340
cd5495ff
AM
143412011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
14342
14343 Fix bug #9560, sporadic wrong indentation; improve instrumentation
14344 of c-parse-state.
14345
00b77525 14346 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 14347 correct faulty logical expression.
cd5495ff
AM
14348 (c-parse-state-state, c-record-parse-state-state):
14349 (c-replay-parse-state-state): New defvar/defuns.
14350 (c-debug-parse-state): Use new functions.
14351
42ee24ed
MR
143522011-10-22 Martin Rudalics <rudalics@gmx.at>
14353
14354 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 14355 last fix. Use window-in-direction correctly.
42ee24ed 14356
a7dee7e7
CY
143572011-10-21 Chong Yidong <cyd@gnu.org>
14358
14359 * progmodes/idlwave.el (idlwave-mode):
14360 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
14361 require-final-newline; that's done in prog-mode.
14362 Suggested by Stefan Monnier.
a7dee7e7 14363
e07b9a6d
MR
143642011-10-21 Martin Rudalics <rudalics@gmx.at>
14365
14366 * mouse.el (mouse-drag-window-above)
14367 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
14368 (mouse-drag-mode-line-1, mouse-drag-header-line)
14369 (mouse-drag-vertical-line-rightward-window): Remove.
14370 (mouse-drag-line): New function.
14371 (mouse-drag-mode-line, mouse-drag-header-line)
14372 (mouse-drag-vertical-line): Call mouse-drag-line.
14373 * window.el (window-at-side-p, windows-at-side): New functions.
14374
7e1361d9
UM
143752011-10-21 Ulrich Mueller <ulm@gentoo.org>
14376
14377 * tar-mode.el (tar-grind-file-mode):
14378 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
14379
30fcaf3a
CY
143802011-10-21 Chong Yidong <cyd@gnu.org>
14381
14382 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
14383 * progmodes/vera-mode.el (vera-mode):
14384 Use mode-require-final-newline.
30fcaf3a 14385
516eddb0
GM
143862011-10-20 Glenn Morris <rgm@gnu.org>
14387
db22a3c2 14388 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 14389
10d5f513
CS
143902011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
14391
14392 * emulation/cua-base.el (cua-set-mark): Fix case of string.
14393
ac6c8639
CY
143942011-10-20 Chong Yidong <cyd@gnu.org>
14395
14396 * emulation/cua-base.el (cua-mode):
14397 * mail/footnote.el (footnote-mode):
14398 * mail/mailabbrev.el (mail-abbrevs-mode):
14399 * net/xesam.el (xesam-minor-mode):
14400 * progmodes/bug-reference.el (bug-reference-mode):
14401 * progmodes/cap-words.el (capitalized-words-mode):
14402 * progmodes/compile.el (compilation-minor-mode)
14403 (compilation-shell-minor-mode):
14404 * progmodes/gud.el (gud-tooltip-mode):
14405 * progmodes/hideif.el (hide-ifdef-mode):
14406 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
14407 * progmodes/subword.el (subword-mode):
14408 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
14409 * progmodes/which-func.el (which-function-mode):
14410 * term/tvi970.el (tvi970-set-keypad-mode):
14411 * term/vt100.el (vt100-wide-mode):
14412 * textmodes/flyspell.el (flyspell-mode):
14413 * textmodes/ispell.el (ispell-minor-mode):
14414 * textmodes/nroff-mode.el (nroff-electric-mode):
14415 * textmodes/paragraphs.el (use-hard-newlines):
14416 * textmodes/refill.el (refill-mode):
14417 * textmodes/reftex.el (reftex-mode):
14418 * textmodes/rst.el (rst-minor-mode):
14419 * textmodes/sgml-mode.el (html-autoview-mode)
14420 (sgml-electric-tag-pair-mode):
14421 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
14422 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
14423 * emulation/crisp.el (crisp-mode):
14424 * emacs-lisp/eldoc.el (eldoc-mode):
14425 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
14426 minor mode behavior.
14427
aa42ab43
JL
144282011-10-19 Juri Linkov <juri@jurta.org>
14429
14430 * descr-text.el (describe-char): Add #x2010 and #x2011 to
14431 the list of hard-coded chars with escape-glyph face.
14432
89400f1d
SM
144332011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
14434
14435 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
14436
305c07f6
MA
144372011-10-19 Michael Albinus <michael.albinus@gmx.de>
14438
14439 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
14440 running process.
14441
13754b54
GM
144422011-10-19 Glenn Morris <rgm@gnu.org>
14443
14444 * vc/vc-bzr.el (vc-bzr-after-dir-status):
14445 Ignore ignored files. (Bug#9726)
14446
06e21633
CY
144472011-10-19 Chong Yidong <cyd@gnu.org>
14448
14449 Doc fix for minor modes, stating that an omitted argument enables
14450 the mode unconditionally when called from Lisp.
14451
14452 * abbrev.el (abbrev-mode):
14453 * allout.el (allout-mode):
14454 * autoinsert.el (auto-insert-mode):
14455 * autoarg.el (autoarg-mode, autoarg-kp-mode):
14456 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
14457 (global-auto-revert-mode):
14458 * battery.el (display-battery-mode):
14459 * composite.el (global-auto-composition-mode)
14460 (auto-composition-mode):
14461 * delsel.el (delete-selection-mode):
14462 * desktop.el (desktop-save-mode):
14463 * dired-x.el (dired-omit-mode):
14464 * dirtrack.el (dirtrack-mode):
14465 * doc-view.el (doc-view-minor-mode):
14466 * double.el (double-mode):
14467 * electric.el (electric-indent-mode, electric-pair-mode):
14468 * emacs-lock.el (emacs-lock-mode):
14469 * epa-hook.el (auto-encryption-mode):
14470 * follow.el (follow-mode):
14471 * font-core.el (font-lock-mode):
14472 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
14473 * help.el (temp-buffer-resize-mode):
14474 * hilit-chg.el (highlight-changes-mode)
14475 (highlight-changes-visible-mode):
14476 * hi-lock.el (hi-lock-mode):
14477 * hl-line.el (hl-line-mode, global-hl-line-mode):
14478 * icomplete.el (icomplete-mode):
14479 * ido.el (ido-everywhere):
14480 * image-file.el (auto-image-file-mode):
14481 * image-mode.el (image-minor-mode):
14482 * iswitchb.el (iswitchb-mode):
14483 * jka-cmpr-hook.el (auto-compression-mode):
14484 * linum.el (linum-mode):
14485 * longlines.el (longlines-mode):
14486 * master.el (master-mode):
14487 * mb-depth.el (minibuffer-depth-indicate-mode):
14488 * menu-bar.el (menu-bar-mode):
14489 * minibuf-eldef.el (minibuffer-electric-default-mode):
14490 * mouse-sel.el (mouse-sel-mode):
14491 * msb.el (msb-mode):
14492 * mwheel.el (mouse-wheel-mode):
14493 * outline.el (outline-minor-mode):
14494 * paren.el (show-paren-mode):
14495 * recentf.el (recentf-mode):
14496 * reveal.el (reveal-mode, global-reveal-mode):
14497 * rfn-eshadow.el (file-name-shadow-mode):
14498 * ruler-mode.el (ruler-mode):
14499 * savehist.el (savehist-mode):
14500 * scroll-all.el (scroll-all-mode):
14501 * scroll-bar.el (scroll-bar-mode):
14502 * server.el (server-mode):
14503 * shell.el (shell-dirtrack-mode):
14504 * simple.el (auto-fill-mode, transient-mark-mode)
14505 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
14506 (line-number-mode, column-number-mode, size-indication-mode)
14507 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
14508 * strokes.el (strokes-mode):
14509 * time.el (display-time-mode):
14510 * t-mouse.el (gpm-mouse-mode):
14511 * tool-bar.el (tool-bar-mode):
14512 * tooltip.el (tooltip-mode):
14513 * type-break.el (type-break-mode-line-message-mode)
14514 (type-break-query-mode):
14515 * view.el (view-mode):
14516 * whitespace.el (whitespace-mode, whitespace-newline-mode)
14517 (global-whitespace-mode, global-whitespace-newline-mode):
14518 * xt-mouse.el (xterm-mouse-mode): Doc fix.
14519
a3839de2
SM
14520 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14521 Fix autogenerated docstring.
06e21633 14522
5214e501
JL
145232011-10-19 Juri Linkov <juri@jurta.org>
14524
14525 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
14526 by checking environment variables "DESKTOP_SESSION" and
14527 "XDG_CURRENT_DESKTOP". (Bug#9779)
14528
195f8db9
JL
145292011-10-19 Juri Linkov <juri@jurta.org>
14530
14531 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
14532 (browse-url-chromium-program, browse-url-chromium-arguments):
14533 New defcustoms.
14534 (browse-url-default-browser): Check for `browse-url-chromium' and
14535 call `browse-url-chromium-program'.
14536 (browse-url-chromium): New command. (Bug#9779)
14537
343a34ff
JB
145382011-10-18 Juanma Barranquero <lekktu@gmail.com>
14539
14540 * facemenu.el (list-colors-duplicates): On Windows, detect more
14541 duplicates by assuming that only colors matching "^System" are
14542 special "system colors". (Bug#9722)
14543
6978a151
SM
145442011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
14545
14546 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
14547 to distinguish the author from the committer.
14548
6a80b297
MA
145492011-10-18 Michael Albinus <michael.albinus@gmx.de>
14550
14551 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
14552
b31a5677
JK
145532011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
14554
14555 * international/mule.el (sgml-html-meta-auto-coding-function):
14556 Add support for detecting encoding in HTML5 specified only as
14557 <meta charset="UTF-8">. Implementation just makes http-equiv and
14558 content-type parts from HTML4 encoding string optional. (Bug#9716)
14559
80c6d77f
GM
145602011-10-18 Glenn Morris <rgm@gnu.org>
14561
14562 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
14563
08b0fee8
CY
145642011-10-18 Chong Yidong <cyd@gnu.org>
14565
14566 * faces.el (cursor): Doc fix.
14567
67e729a5
CY
145682011-10-17 Chong Yidong <cyd@gnu.org>
14569
14570 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
14571
343a34ff 145722011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
14573
14574 * dirtrack.el (dirtrack): Support shell buffers with path
14575 prefixes, e.g. tramp-based remote shells. (Bug#9647)
14576
0bc06380
TZ
145772011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
14578
14579 * json.el: Bump version to 1.3 and note change in History.
14580 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
14581
8b79f3e0
SM
145822011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
14583
5a7c536b
SM
14584 * comint.el (comint-insert-input, comint-send-input)
14585 (comint-get-old-input-default, comint-backward-matching-input)
14586 (comint-next-prompt): Use nil instead of `input' for field property of
14587 past user input (bug#114).
14588
96a8a0df
SM
14589 * minibuffer.el (completion--replace): Inherit surrounding properties
14590 (bug#114).
14591 (minibuffer-complete-and-exit): Use it.
14592
8b79f3e0
SM
14593 * comint.el (comint--table-subvert): Quote the all-completions output
14594 (bug#9160).
14595
b8f7ff0d
MR
145962011-10-17 Martin Rudalics <rudalics@gmx.at>
14597
8b79f3e0 14598 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 14599
b8f7ff0d 14600 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 14601 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
14602 entries and separate them from frame entries.
14603
c235b555
GM
146042011-10-15 Glenn Morris <rgm@gnu.org>
14605
14606 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
14607 Doc fixes.
14608
6bbfa6e1
CY
146092011-10-15 Chong Yidong <cyd@stupidchicken.com>
14610
8b79f3e0
SM
14611 * net/network-stream.el (network-stream-open-starttls):
14612 Improve detection of failure due to lack of TLS support.
ec5c990d 14613
6bbfa6e1
CY
14614 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
14615 putting the input text in front and in bold.
14616
98488977
SM
146172011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
14618
3d1337be
SM
14619 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
14620
ee0b45e4
SM
14621 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
14622 empty buffer.
14623
98488977
SM
14624 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
14625 unread-command-events rather than pushing yet-another event.
14626
186f4720
EZ
146272011-10-14 Eli Zaretskii <eliz@gnu.org>
14628
14629 * mail/sendmail.el (sendmail-query-once): Improve the wording of
14630 the explanation of the possible choices. Make the options passed
14631 to completing-read shorter.
14632
8b7a997c
AM
146332011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14634
14635 * textmodes/flyspell.el (flyspell-large-region): Make sure
14636 extended character mode is used if defined (Bug#1339).
14637
12587bbb
EZ
146382011-10-13 Eli Zaretskii <eliz@gnu.org>
14639
14640 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
14641 character info for LRE, LRO, RLE, and RLO characters by appending
14642 an invisible PDF.
12587bbb 14643
bad41229
SM
146442011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
14645
14646 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
14647 even in case of error; add debug spec; simplify data flow.
14648 (with-timeout-handler): Remove.
14649
28dbc92f
MA
146502011-10-12 Michael Albinus <michael.albinus@gmx.de>
14651
14652 Fix Bug#6019, Bug#9315.
14653
14654 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
14655 complete `buffer-file-name', the local file name part could look
14656 remotely (for example on VMS).
14657
14658 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
14659 `tramp-run-real-handler'.
14660 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
14661 already quoted by '"'.
14662
14663 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
14664 Let `file-name-handler-alist' be nil, the local file name part
14665 could look remotely (for example on VMS).
14666
e1b0b23a
SM
146672011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
14668
14669 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
14670 from here...
14671 (flyspell-post-command-hook): ...to here.
14672
a120bde9
SM
146732011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
14674
14675 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
14676 if not needed.
14677 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
14678 using completion. Protect against "slow" callers.
14679 Remove the "message hack".
14680
7ce7717b
JL
146812011-10-11 Juri Linkov <juri@jurta.org>
14682
14683 * isearch.el (isearch-lazy-highlight-word): New variable.
14684 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
14685 Use it. (Bug#9727)
14686
c02ee9d6
GM
146872011-10-11 Glenn Morris <rgm@gnu.org>
14688
14689 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
14690 like f90-previous-statement does.
14691
93e616fd 146922011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14693
1f190e73 14694 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
14695 only in interactive use, to avoid error.
14696
af7b6078
SM
146972011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
14698
14699 * minibuffer.el (completion-file-name-table): Fix last change,
14700 i.e. ignore normal errors but not the other ones.
14701
0563dae9
MR
147022011-10-10 Martin Rudalics <rudalics@gmx.at>
14703
14704 * window.el (special-display-buffer-names)
14705 (special-display-regexps): Remove some remnants of earlier
14706 changes from doc-strings.
366ca7f3
MR
14707 (quit-windows-on): New function.
14708
14709 * vc/vc.el (vc-revert, vc-rollback):
14710 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
14711 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 14712 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 14713
49677495
MR
147142011-10-09 Martin Rudalics <rudalics@gmx.at>
14715
14716 * window.el (frame-auto-hide-function): Add version tag.
14717 (Bug#9699)
14718
56f2d1e1
MA
147192011-10-09 Michael Albinus <michael.albinus@gmx.de>
14720
14721 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
14722 condition.
14723
112a6592
LL
147242011-10-09 Leo Liu <sdl.web@gmail.com>
14725
14726 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
14727 (Bug#9701)
14728
0812589b
GM
147292011-10-08 Glenn Morris <rgm@gnu.org>
14730
14731 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
14732 before the first code statement zero indent. (Bug#9690)
14733
b2b0776e
CY
147342011-10-08 Chong Yidong <cyd@stupidchicken.com>
14735
14736 * simple.el (count-words-region): Always count in the region.
14737 Report the number of lines and characters too.
14738 (count-words): New command, which counts in the buffer if the
14739 region is inactive, as count-words-region used to.
14740 (count-words--message): New function. Handle plurals.
14741 (count-lines-region): Make it an alias for count-words-region.
14742
14743 * bindings.el (esc-map): Replace count-lines-region with
14744 count-words-region.
14745
c557cd6b
MR
147462011-10-08 Martin Rudalics <rudalics@gmx.at>
14747
14748 * window.el (window--delete): Delete dedicated frame
14749 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 14750 (switch-to-buffer): Fix doc-string typo.
c557cd6b 14751
61a57ef4 147522011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14753
3a7d293b 14754 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 14755
c3833279
CY
147562011-10-07 Chong Yidong <cyd@stupidchicken.com>
14757
14758 * bindings.el ([M-left],[M-right]): Bind to left-word and
14759 right-word respectively.
14760
21ce8245
GM
147612011-10-07 Glenn Morris <rgm@gnu.org>
14762
14763 * cus-start.el (debug-on-quit): Fix custom type.
14764
6d823bb2
LMI
147652011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
14766
0181e193
LMI
14767 * subr.el (define-key-after): Clarify that the function is not
14768 useful for non-menu keymaps.
14769
6d823bb2
LMI
14770 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
14771
8e3459ce 147722011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14773
21ce8245 14774 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 14775 in current minibuffer (Fix bug with recursive minibuffers).
14776
a1c2d21e
CY
147772011-10-06 Chong Yidong <cyd@stupidchicken.com>
14778
14779 * progmodes/gdb-mi.el (gdb): Doc fix.
14780
5a4cf282
MR
147812011-10-05 Martin Rudalics <rudalics@gmx.at>
14782
14783 * window.el (frame-auto-hide-function): New option replacing
14784 frame-auto-delete. Suggested by Stefan Monnier.
14785 (window--delete): Call frame-auto-hide-function instead of
14786 investigating frame-auto-delete.
c96111ea
MR
14787 (window-point-1, set-window-point-1): New functions.
14788 (window-in-direction, record-window-buffer, window-state-get-1)
14789 (display-buffer-record-window): Use window-point-1 instead of
14790 window-point.
14791 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 14792
9854542e
SM
147932011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
14794
14795 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
14796
8943cfb0
GM
147972011-10-05 Glenn Morris <rgm@gnu.org>
14798
14799 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
14800 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
14801
647ab967
LL
148022011-10-05 Leo Liu <sdl.web@gmail.com>
14803
14804 * subr.el (read-char-choice): Fix argument to buffer-live-p which
14805 works with buffer object.
14806
3ddfbced
SM
148072011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
14808
14809 * mpc.el (mpc-tool-bar-map): Add labels.
14810
bdfa5dd2
GM
148112011-10-04 Glenn Morris <rgm@gnu.org>
14812
14813 * calendar/holidays.el (calendar-check-holidays): Doc fix.
14814
0e2070b5
MR
148152011-10-04 Martin Rudalics <rudalics@gmx.at>
14816
14817 * window.el (window--delete): New function.
14818 (frame-auto-delete): Resuscitate option.
14819 (bury-buffer, replace-buffer-in-windows)
14820 (quit-window): Rewrite using window--delete.
14821 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
14822 Pass display-buffer-mark-dedicated to window--display-buffer-2
14823 (Bug#9639).
14824
3dc61a09
SM
148252011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
14826
915a9b64
SM
14827 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
14828 returns a list (bug#9554). Add remote file name completion.
14829 * comint.el (comint--table-subvert): Curry and get quote&unquote
14830 functions as arguments.
14831 (comint--complete-file-name-data): Adjust call accordingly.
14832 * pcomplete.el (pcomplete--table-subvert): Remove.
14833 (pcomplete-completions-at-point): Use comint--table-subvert instead.
14834
3dc61a09
SM
14835 * minibuffer.el (completion-table-case-fold): Use currying.
14836 (completion--styles-type, completion--cycling-threshold-type):
14837 New constants.
14838 (completion-styles, completion-category-overrides)
14839 (completion-cycle-threshold): Use them.
14840 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
14841 completion-table-case-fold.
14842
8ea0a993
SB
148432011-10-03 Stephen Berman <stephen.berman@gmx.net>
14844
14845 * minibuffer.el (completion-category-overrides): Fix type of styles
14846 and add more user friendly tags (bug#9660).
14847
8c24b7f6
SM
148482011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
14849
14850 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
14851 (mule-input-method-string): New widget.
14852 (default-input-method, language-info-custom-alist): Use it.
14853
428fe61a
SM
148542011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
14855
32c1fffd
SM
14856 * pcomplete.el: Require comint.
14857 (pcomplete--common-suffix): Remove.
14858 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
14859 (pcomplete--table-subvert): Sync with comint--table-subvert.
14860 (pcomplete--entries): Use comint-completion-file-name-table.
14861 * comint.el (comint-unquote-filename): Simplify.
14862 (comint-completion-file-name-table): New function (bug#9616).
14863 (comint--complete-file-name-data): Use it.
14864
428fe61a
SM
14865 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
14866 (pcmpl-gnu-tar-buffer): Remove.
14867 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
14868 around. Make sure pcomplete-suffix-list is only changed temporarily.
14869 Don't look inside the tar's file if it's too large.
428fe61a 14870
04c52e2f
CY
148712011-10-01 Chong Yidong <cyd@stupidchicken.com>
14872
ce3cefcc
CY
14873 * cus-edit.el (custom-mode-map):
14874 * epa.el (epa-key-list-mode-map):
14875 * man.el (Man-mode-map):
14876 * startup.el (splash-screen-keymap):
14877 * simple.el (special-mode-map): Use scroll-up-command and
14878 scroll-down-command.
14879
14880 * progmodes/idlw-help.el (idlwave-help-mode-map):
14881 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
14882 * net/newst-plainview.el (newsticker-mode-map):
14883 * emulation/ws-mode.el (wordstar-mode-map):
14884 * emulation/vi.el (vi-com-map):
14885 * calc/calc-graph.el (calc-graph-show-dumb):
14886 * term/sun.el (terminal-init-sun):
14887 * term/ns-win.el (global-map):
14888 * progmodes/grep.el (grep-mode-map):
14889 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
14890 * mail/rmail.el (rmail-mode-map):
14891 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
14892
04c52e2f
CY
14893 * custom.el (custom-safe-themes, load-theme): Treat value of t for
14894 custom-safe-themes as special.
14895
79adf8c8
JD
148962011-10-01 Julien Danjou <julien@danjou.info>
14897
14898 * notifications.el (notifications-notify): Fix docstring.
14899
63bd50d3
PS
149002011-10-01 Per Starbäck <per@starback.se>
14901
14902 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
14903
199e4c7e
MR
149042011-09-30 Martin Rudalics <rudalics@gmx.at>
14905
14906 * startup.el (command-line-1): Fix last fix by inserting
14907 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 14908 (Bug#9605) and (Bug#9636)
199e4c7e 14909
fe5f08dd
EZ
149102011-09-29 Eli Zaretskii <eliz@gnu.org>
14911
14912 * simple.el (line-move): If auto-hscroll-mode is disabled and the
14913 window is hscrolled, move by logical lines. (Bug#9607)
14914 (line-move-visual): Update the doc string to the above effect.
14915
b5516bbd
MR
149162011-09-29 Martin Rudalics <rudalics@gmx.at>
14917
ccee00c0
MR
14918 * window.el (display-buffer-record-window): When WINDOW is the
14919 selected window use `point' instead of `window-point'. (Bug#9626)
14920
b5516bbd
MR
14921 * startup.el (command-line-1): Use insert-before-markers when
14922 inserting initial-scratch-message. (Bug#9605)
ccee00c0 14923
b5516bbd
MR
14924 * help.el (help-window): Remove variable.
14925
52aa0014
GM
149262011-09-29 Glenn Morris <rgm@gnu.org>
14927
14928 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
14929
df9a7357
JB
149302011-09-29 Juanma Barranquero <lekktu@gmail.com>
14931
14932 * descr-text.el (describe-char-categories): Accept category
14933 descriptions more than one line long.
14934
a8406c20
SM
149352011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
14936
88d9610c
SM
14937 * simple.el (delete-trailing-whitespace): Fix last change.
14938
a5daf810
SM
14939 * progmodes/perl-mode.el (perl-syntax-propertize-function):
14940 Don't confuse "y => 3" as the beginning of a `y' operation.
14941
a8406c20
SM
14942 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
14943 object has more than 4 slots (bug#9613).
14944
a239d4e9
JB
149452011-09-28 Juanma Barranquero <lekktu@gmail.com>
14946
14947 * subr.el (with-output-to-temp-buffer):
14948 * net/quickurl.el (quickurl, quickurl-browse-url):
14949 Fix typos in docstrings.
14950
693fbdb6
EZ
149512011-09-27 Eli Zaretskii <eliz@gnu.org>
14952
14953 * minibuffer.el (completion-styles)
14954 (completion-category-overrides): Cross reference each other in doc
14955 strings.
14956
8b457e28
GM
149572011-09-27 Glenn Morris <rgm@gnu.org>
14958
14959 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
14960 to split-string. (Bug#9606)
14961
85a16208
LMI
149622011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
14963
14964 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
14965 (bug#9615).
14966
502f9ebd
CY
149672011-09-27 Chong Yidong <cyd@stupidchicken.com>
14968
14969 * emacs-lisp/package.el (list-packages): Fix echo area message.
14970
7690bdea
LL
149712011-09-27 Leo Liu <sdl.web@gmail.com>
14972
14973 * ido.el (ido-read-internal): Accept cons cell HIST arg.
14974
e2ee6f30
MA
149752011-09-25 Michael Albinus <michael.albinus@gmx.de>
14976
14977 * net/dbus.el (dbus-unregister-object): Don't release services for
14978 registered signals. (Bug#9581)
14979
f3f98342
TZ
149802011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
14981
14982 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
14983 function that picks between cfengine 2 and 3 support
14984 automatically. Update docs accordingly.
14985
dd7aa8dd
KH
149862011-09-22 Kenichi Handa <handa@m17n.org>
14987
14988 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
14989 ZERO.
14990 (indian-itrans-v5-table-for-tamil): New variable.
14991 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
14992
3f2b07f8
KM
149932011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
14994
14995 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
14996 that's true if the current command involved collapsing of text.
14997 It's reset to false at the beginning of the next command.
14998 (allout-post-command-business): Move the cursor to the beginning
14999 of entry if the cursor is hidden and collapsing activity just
15000 happened.
15001
371d6a61
CY
150022011-09-24 Chong Yidong <cyd@stupidchicken.com>
15003
15004 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
15005 tracking (Bug#9541).
15006
2ac2721a
UJ
150072011-09-24 Ulf Jasper <ulf.jasper@web.de>
15008
15009 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
15010 (newsticker-show-news): Automatically load html rendering package
15011 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
15012 because w3m-fill-column is let-bound" and the error "Symbol's value
15013 as variable is void: w3m-fill-column".
2ac2721a 15014
fac7ae53
MA
150152011-09-24 Michael Albinus <michael.albinus@gmx.de>
15016
15017 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
15018 Release services only if they are defined. (Bug#9581)
15019
e08b633b
RS
150202011-09-23 Richard Stallman <rms@gnu.org>
15021
e488d29c
RS
15022 * textmodes/paragraphs.el (forward-sentence): For backwards case,
15023 distinguish start of paragraph from start of its text.
15024
19c38752
RS
15025 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
15026
e08b633b
RS
15027 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
15028 (rmail-generate-viewer-buffer): Put that hook on view buffer.
15029 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
15030
0a39f27e
AS
150312011-09-23 Andreas Schwab <schwab@linux-m68k.org>
15032
15033 * international/mule-diag.el (mule-diag): Insert a newline after
15034 each fontset description.
15035
db4e950d
SM
150362011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
15037
15038 * simple.el (delete-trailing-whitespace):
15039 Document last change; simplify.
15040
eca3f3ea
PW
150412011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
15042
d68e189a
PW
15043 * simple.el (delete-trailing-whitespace): Also delete
15044 extra newlines at the end of the buffer.
15045
eca3f3ea
PW
15046 * textmodes/picture.el: Make motion commands obey shift-select-mode.
15047 (picture-newline): Use forward-line so as to ignore fields.
15048
01c157cc
SM
150492011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
15050
15051 * subr.el (with-wrapper-hook): Fix edebug spec.
15052
022de23e
LMI
150532011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
15054
15055 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
15056 (bug#4538).
15057
91683089
MA
150582011-09-23 Michael Albinus <michael.albinus@gmx.de>
15059
eca3f3ea
PW
15060 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
15061 Fix nasty bug using wrong cached values.
91683089 15062
5bdd6fa4
AM
150632011-09-23 Alan Mackenzie <acm@muc.de>
15064
15065 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
15066
97adfb97
CY
150672011-09-23 Chong Yidong <cyd@stupidchicken.com>
15068
15069 * window.el (pop-to-buffer): Ensure right window is selected if we
15070 chose another frame.
15071
d4ef2b50
EZ
150722011-09-22 Eli Zaretskii <eliz@gnu.org>
15073
15074 * simple.el (what-cursor-position): Use get-char-property-change
15075 and next-single-char-property-change, to be able to show display
15076 properties that come from overlays as well as text properties.
15077
72258fe5
CY
150782011-09-22 Chong Yidong <cyd@stupidchicken.com>
15079
15080 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
15081
15082 * cmuscheme.el (run-scheme, switch-to-scheme):
15083 * cus-edit.el (customize-group, custom-buffer-create)
15084 (customize-browse):
15085 * info.el (info):
15086 * shell.el (shell):
15087 * mail/sendmail.el (mail):
15088 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
15089
8f098516
RS
150902011-09-22 Richard Stallman <rms@gnu.org>
15091
15092 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
15093 move back only to line beg, don't move back over blank lines.
15094
e74f1bb6
MA
150952011-09-22 Michael Albinus <michael.albinus@gmx.de>
15096
15097 * files.el (copy-directory): Set directory attributes only in case
15098 they could be retrieved from the source directory. (Bug#9565)
15099
bfeef8b6
DK
151002011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
15101
15102 * progmodes/hideshow.el (hs-looking-at-block-start-p)
15103 (hs-find-block-beginning, hs-hide-level-recursive):
15104 Ignore strings as well as comments. (Bug#9502)
15105
7e423bb8
AS
151062011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
15107
15108 * progmodes/sql.el (sql-comint-postgres):
15109 Convert port number to a string. (Bug#9566)
15110
b4d72fcf
MR
151112011-09-22 Martin Rudalics <rudalics@gmx.at>
15112
15113 * window.el (quit-window): Undedicate window when switching to
15114 previous buffer. Reported by Thierry Volpiatto
15115 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
15116 (special-display-popup-frame): When popping up a new frame reset
15117 its previous buffers to nil. Simplify code.
b4d72fcf 15118
a7b88dc6
MA
151192011-09-21 Michael Albinus <michael.albinus@gmx.de>
15120
15121 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
15122 and process filter, as done also in `shell-command'.
15123
cf4eacfd
MR
151242011-09-21 Martin Rudalics <rudalics@gmx.at>
15125
eca3f3ea 15126 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
15127 Call set-window-start with NOFORCE argument t.
15128 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
15129 (quit-window): Reword doc-string. Handle new format of
15130 quit-restore parameter. Don't delete window if it has a
15131 previous buffer we can show instead of the present one.
15132 (display-buffer-record-window): Rewrite using a new format for
15133 the quit-restore window parameter
15134 (special-display-popup-frame, display-buffer-same-window)
15135 (display-buffer-reuse-window, display-buffer-pop-up-frame)
15136 (display-buffer-pop-up-window, display-buffer-use-some-window):
15137 Adapt symbol passed to display-buffer-record-window.
15138 * help.el (help-window-setup): Handle new format of quit-restore
15139 parameter.
15140
8d28cb95
SM
151412011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
15142
94ab793f
SM
15143 * faces.el (face-list): Fix docstring (bug#9564).
15144
8d28cb95
SM
15145 * window.el (display-buffer--action-function-custom-type):
15146 Don't include internal functions in the Custom interface.
15147
3820edeb
JL
151482011-09-20 Juri Linkov <juri@jurta.org>
15149
15150 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
15151 (Info-forward-node, Info-backward-node, Info-next-preorder)
15152 (Info-last-preorder): Use it. (Bug#9528)
15153
5147931d
JL
151542011-09-20 Juri Linkov <juri@jurta.org>
15155
15156 * info.el (Info-last-preorder): Visit last menu item only when
15157 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
15158
cf499a1a
JD
151592011-09-20 Julien Danjou <julien@danjou.info>
15160
15161 * password-cache.el (password-cache-remove): Remove entries even if the
15162 value is nil, so that password with a nil value (negative caching) is
15163 possible to invalidate.
15164
f84e2fe2
LM
151652011-09-20 Lawrence Mitchell <wence@gmx.li>
15166
15167 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
15168 all whitespace around breakpoint. (Bug#9553)
15169 (f90-find-breakpoint): Only break at whitespace inside a comment.
15170
78054a46
SM
151712011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
15172
15173 * minibuffer.el (completion-file-name-table): Keep track of errors.
15174 (completion-table-with-predicate): Handle the case where pred1 is nil.
15175 * pcomplete.el (pcomplete-completions-at-point): Simplify.
15176
345083b2
SM
151772011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
15178
e24e27be
SM
15179 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
15180 (debugger-return-value): Signal an error if the debugging context does
15181 not await any return value.
15182
345083b2
SM
15183 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
15184 * image-mode.el (image-toggle-display-text)
15185 (image-toggle-display-image): Stay away from evil `intangible'.
15186
08d355e3
LL
151872011-09-19 Leo Liu <sdl.web@gmail.com>
15188
15189 * replace.el (occur-revert-arguments): Make it permanent-local.
15190 (occur-mode): Don't call font-lock-defontify.
15191
f01da43f
CY
151922011-09-19 Chong Yidong <cyd@stupidchicken.com>
15193
15194 * net/ldap.el (ldap-search-internal): Don't push empty search
15195 result (Bug#9508).
15196
b6072fa6
SM
151972011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
15198
15199 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
15200
443d6696
MA
152012011-09-19 Michael Albinus <michael.albinus@gmx.de>
15202
15203 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
15204 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
15205
7cc6e154
JL
152062011-09-18 Juri Linkov <juri@jurta.org>
15207
15208 * buff-menu.el (Buffer-menu-mode-map):
15209 * dired.el (dired-mode-map):
15210 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
15211 (lisp-interaction-mode-map):
15212 * emacs-lisp/package.el (package-menu-mode-map):
15213 * epa.el (epa-key-list-mode-map):
15214 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
15215 (menu-bar-options-menu):
15216 * outline.el (outline-mode-menu-bar-map):
15217 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
15218 * vc/vc-dir.el (vc-dir-menu-map):
15219 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
15220 Capitalize non-function content words in menu item strings.
15221
15222 * dired.el (dired-mode-map): Add menu item for
15223 `image-dired-dired-toggle-marked-thumbs'.
15224
80302a81
JL
152252011-09-18 Juri Linkov <juri@jurta.org>
15226
15227 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
15228 to `isearch-case-fold-search' and restore its original value
15229 after the `isearch-mode' call.
15230
46c5cf66
JL
152312011-09-18 Juri Linkov <juri@jurta.org>
15232
15233 * progmodes/grep.el (grep-process-setup): Don't check code for 1
15234 because `zgrep' returns 1 for successful matches (bug#9226).
15235
d18b513b
JL
152362011-09-18 Juri Linkov <juri@jurta.org>
15237
15238 * info.el (Info-extract-menu-node-name): Check the second match
15239 for empty string (second test-case of bug#9528).
15240 (Info-last-preorder): Let-bind `Info-history' to nil to not add
15241 intermediate nodes to the history (first test-case of bug#9528).
15242
72753f87
JL
152432011-09-18 Juri Linkov <juri@jurta.org>
15244
15245 * info.el (Info-mode-syntax-table): New variable.
1154d12e 15246 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 15247
c9384295
JL
152482011-09-18 Juri Linkov <juri@jurta.org>
15249
1154d12e
JB
15250 * info.el (Info-file-supports-index-cookies):
15251 Increment line-beginning-position's arg from 3 to 4 because makeinfo
15252 outputs one more line for long file names (bug#4142).
c9384295 15253
d473dce8
CY
152542011-09-18 Chong Yidong <cyd@stupidchicken.com>
15255
15256 * newcomment.el (comment-normalize-vars): If prompting for
15257 comment-start, set comment-start-skip too (Bug#8424).
15258
2176854d
JB
152592011-09-18 Johan Bockgård <bojohan@gnu.org>
15260
15261 * icomplete.el: Fix previous fix of Bug#5849.
15262 (icomplete-mode): Don't set completion-show-inline-help.
15263 (icomplete-minibuffer-setup): Set completion-show-inline-help
15264 locally during icompletion.
15265
3aace4e4
CY
152662011-09-18 Chong Yidong <cyd@stupidchicken.com>
15267
c940224f
CY
15268 * woman.el (woman2-process-escapes): Don't delete unrecognized
15269 escapes (Bug#7843).
15270
3aace4e4
CY
15271 * files.el (inhibit-first-line-modes-regexps): Add image files.
15272 (hack-local-variables-prop-line): Return nil for malformed
15273 prop-lines (Bug#9044).
15274
710dec63
MA
152752011-09-18 Michael Albinus <michael.albinus@gmx.de>
15276
15277 * net/tramp.el (top): Don't require 'shell.
15278 (tramp-methods): Fix docstring.
15279 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
15280 Return complete remote file name. Handle "smb" case.
15281 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
15282 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
15283
15284 * net/tramp-compat.el (top): Require 'shell.
15285
15286 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
15287 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
15288 `tramp-current-host'.
15289 (tramp-get-remote-tmpdir): Remove.
15290
15291 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
15292 `tramp-tmpdir' entries.
15293 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
15294 (tramp-smb-handle-file-attributes): Ignore errors.
15295 (tramp-smb-wait-for-output): Check also for process end.
15296
5d5ac8ec
LMI
152972011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
15298
15299 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
15300 when sending QUIT (bug#9312).
15301
8c0f49f0
CY
153022011-09-17 Chong Yidong <cyd@stupidchicken.com>
15303
15304 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
15305 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
15306 occur-mode-display-occurrence.
15307 (occur-edit-mode): Add usage message.
15308 (occur-cease-edit): New command.
15309 (occur-after-change-function): Use text properties to find the
15310 position of the prefix text.
15311 (occur-engine): Set stickiness of prefix text properties.
15312
8f1383f7
GM
153132011-09-17 Glenn Morris <rgm@gnu.org>
15314
15315 * progmodes/etags.el (complete-tag):
15316 Fix call to completion-in-region. (Bug#9526)
15317
744ba0e3
JL
153182011-09-17 Juri Linkov <juri@jurta.org>
15319
15320 * textmodes/ispell.el (ispell-word): Add to the error message
15321 the word, ispell program name and current dictionary (bug#9121).
15322 (ispell-tex-arg-end): Capitalize "error" in the error message.
15323
d9bbf400
AS
153242011-09-17 Andreas Schwab <schwab@linux-m68k.org>
15325
15326 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
15327 check. (Bug#4251)
15328
8da11505
JL
153292011-09-17 Juri Linkov <juri@jurta.org>
15330
15331 * window.el (window-safe-min-height, window-safe-min-width):
15332 Fix typos (followup to bug#9522).
15333
a91adc7e
SJ
153342011-09-17 Sven Joachim <svenjoac@gmx.de>
15335
15336 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
15337
064f328a
EZ
153382011-09-16 Eli Zaretskii <eliz@gnu.org>
15339
15340 * simple.el (line-move): If goal-column is set, move by logical
15341 lines, not by display lines. (Bug#971)
15342 (next-line, previous-line, goal-column, line-move-visual): Doc fix
15343 to reflect the above change.
15344
e69df516
SM
153452011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
15346
15347 * image.el (imagemagick-register-types): Use regexp-opt.
15348
cbb0f9ab
CY
153492011-09-15 Chong Yidong <cyd@stupidchicken.com>
15350
15351 * window.el (display-buffer-base-action): Rename from
15352 display-buffer-default-action. Make default value empty.
15353 (display-buffer-overriding-action): Convert to defvar.
15354 (display-buffer-fallback-action): New var.
15355
25322144
CY
153562011-09-15 Chong Yidong <cyd@stupidchicken.com>
15357
15358 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
15359 declaration.
15360 (package--add-to-archive-contents): If there is a duplicate entry
15361 with an older version, remove it.
15362 (package-menu-mark-delete, package-menu-mark-install)
15363 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
15364 (package-menu-mark-obsolete-for-deletion):
15365 Use package-menu-get-status instead of a regexp search.
25322144
CY
15366 (package-menu-get-status): Use tabulated-list-entry.
15367 (package-menu-mark-upgrades): New command.
d770725a 15368 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
15369 (package-menu-execute): Do installation before deletion.
15370 (package-menu-refresh, package-menu-execute): Use derived-mode-p
15371 instead of checking major-mode.
15372 (package-menu--find-upgrades): New function.
15373
7520339c
LMI
153742011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
15375
15376 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
15377 passwords in the log buffer.
65a046c4
LMI
15378 (smtpmail-process-filter): Update the process marker so that the
15379 "broken by peer" status message is inserted in the right place.
7520339c 15380
d3c30954
SM
153812011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
15382
3fe48822
SM
15383 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
15384 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
15385 bibtex-completion-at-point-function.
15386 (bibtex-completion-at-point-function): Use them.
15387
1b8b3954
SM
15388 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
15389
d3c30954
SM
15390 * mpc.el (mpc-constraints-tag-lookup): New function.
15391 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
15392 also to browser "album|playlist".
15393
72779976
JL
153942011-09-14 Juri Linkov <juri@jurta.org>
15395
15396 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
15397 (isearch-edit-string): Use length of `isearch-string' when
15398 `isearch-fail-pos' returns nil.
15399 (isearch-message): Remove duplicate code and call
15400 `isearch-fail-pos' with arg `t'.
15401
a0bf2bcd
CY
154022011-09-14 Chong Yidong <cyd@stupidchicken.com>
15403
17bb0a2d
CY
15404 * replace.el (occur-mode-goto-occurrence): Don't force using other
15405 window (Bug#9499).
15406
a0bf2bcd
CY
15407 * dired-aux.el (dired-do-chmod): Don't provide initial input.
15408
f678e0b6
MR
154092011-09-14 Martin Rudalics <rudalics@gmx.at>
15410
15411 * window.el (display-buffer-window): Remove.
15412 (display-buffer-record-window): Use help-setup window parameter
15413 instead of variable display-buffer-window.
15414 (display-buffer-function, special-display-buffer-names)
15415 (special-display-function): Mention help-setup parameter instead
15416 of display-buffer-window in doc-string.
d3c30954
SM
15417 * help.el (help-window-setup): New argument help-window.
15418 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
15419 Reword some messages.
15420 (with-help-window): Pass window used for displaying the buffer
15421 to help-window-setup. Don't set display-buffer-window.
15422
8e39b2e8
GM
154232011-09-13 Glenn Morris <rgm@gnu.org>
15424
15425 * emacs-lisp/debug.el (debugger-make-xrefs):
15426 Preserve point. (Bug#9462)
15427
85e9c04b
CY
154282011-09-13 Chong Yidong <cyd@stupidchicken.com>
15429
15430 * window.el (window-deletable-p): Use next-frame.
15431
1b36ed6a
MR
154322011-09-13 Martin Rudalics <rudalics@gmx.at>
15433
15434 * window.el (window-auto-delete): Remove.
15435 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 15436 dedication and previous buffers.
1b36ed6a
MR
15437 (switch-to-prev-buffer): Don't delete window.
15438 (delete-windows-on): Delete a window's frame if and only if the
15439 window is dedicated.
15440 (replace-buffer-in-windows): Delete buffer's window or frame if
15441 and only if window is dedicated.
15442 (quit-window): Handle quit-restore as before last change.
4d61f28d 15443 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 15444
ef8ef9fb
CY
154452011-09-13 Chong Yidong <cyd@stupidchicken.com>
15446
15447 * window.el (window-deletable-p): Never delete the last frame on a
15448 given terminal.
15449
b2cba41e
GM
154502011-09-13 Glenn Morris <rgm@gnu.org>
15451
15452 * help.el (describe-key-briefly): Copy previous standard-output change.
15453
51553db6 154542011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
15455
15456 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
15457
b7556719
GM
154582011-09-13 Glenn Morris <rgm@gnu.org>
15459
15460 * emacs-lisp/lisp-mode.el (lisp-indent-function):
15461 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
15462
64b51947
CY
154632011-09-12 Chong Yidong <cyd@stupidchicken.com>
15464
15465 * dired-aux.el (dired-mark-read-string): Don't return default
15466 value on empty input (Bug#9361).
15467 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
15468 Omit initial minibuffer contents.
15469 (dired-do-chmod): Signal an error on empty input.
15470 (dired-mark-read-string): Don't return default on empty input.
15471
15472 * files.el (file-modes-symbolic-to-number): Doc fix.
15473
393a301e
SM
154742011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
15475
15476 * international/mule-cmds.el (ucs-completions): Remove.
15477 (read-char-by-name): Use complete-with-action instead; add metadata.
15478
fa5660f9
CY
154792011-09-11 Chong Yidong <cyd@stupidchicken.com>
15480
15481 * window.el (display-buffer--action-function-custom-type)
15482 (display-buffer--action-custom-type): New vars.
15483 (display-buffer-alist, display-buffer-default-action)
15484 (display-buffer-overriding-action): Add defcustom types.
15485
4a592f66
CY
15486 * frame.el (delete-other-frames): Doc fix (Bug#276).
15487
73d56dbd
LMI
154882011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15489
15490 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
15491
37ac18a3
CY
154922011-09-11 Chong Yidong <cyd@stupidchicken.com>
15493
15494 Change modes that used same-window-* vars to use switch-to-buffer.
15495
15496 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
15497 Use switch-to-buffer.
15498
15499 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
15500 (customize-browse, custom-buffer-create-other-window):
15501 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
15502
15503 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
15504 (Info-prev, Info-up, Info-speedbar-goto-node)
15505 (info-display-manual): Use switch-to-buffer.
15506 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
15507
15508 * mail/sendmail.el (mail): Use switch-to-buffer.
15509 (mail-recover): Use switch-to-buffer-other-window.
15510
15511 * cmuscheme.el (run-scheme, switch-to-scheme):
15512 * ielm.el (ielm):
15513 * shell.el (shell):
15514 * net/rlogin.el (rlogin):
15515 * net/telnet.el (telnet, rsh):
15516 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
15517
10195bd6
AS
155182011-09-11 Andreas Schwab <schwab@linux-m68k.org>
15519
15520 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
15521
b322f63a
LMI
155222011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15523
39d7fed6
LMI
15524 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
15525 so don't mention it (bug#9301).
ba5a81f1 15526 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 15527
ee0e9f11
LMI
15528 * faces.el (face-spec-set-match-display): Make `(type graphic)'
15529 match `x', `w32' and `ns', like the manual says (bug#9029).
15530
0b1c89c1 15531 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
15532 (process-kill-buffer-query-function): Mention the buffer name in
15533 the query.
0b1c89c1 15534
77549ea8
LMI
15535 * image-mode.el (image-next-line): The line parameter is mandatory
15536 (bug#9258).
15537
803ef892
LMI
15538 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
15539 which can be useful (bug#9301).
15540
12980837
LMI
15541 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
15542
91054f8f
LMI
15543 * subr.el (match-string): Mention that the current buffer should
15544 be the same as the search was done in (bug#9282).
15545
b322f63a
LMI
15546 * facemenu.el: Disable the remove-* commands if the mark isn't
15547 active (bug#9162).
15548
3199b96f
CY
155492011-09-10 Chong Yidong <cyd@stupidchicken.com>
15550
15551 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
15552 of display-buffer.
15553 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
15554
15555 * replace.el (occur-mode-goto-occurrence)
15556 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
15557 and display-buffer.
15558
15559 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
15560 display-buffer.
15561
15562 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
15563 special-display and same-window variables.
15564 (mail-other-window): Use switch-to-buffer-other-window.
15565 (mail-other-frame): USe switch-to-buffer-other-frame.
15566
393a301e
SM
15567 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
15568 Use display-buffer-other-frame.
3199b96f
CY
15569 (gdb-display-gdb-buffer): Use pop-to-buffer.
15570
15571 * progmodes/gud.el (gud-goto-info): Use info-other-window.
15572
15573 * progmodes/python.el: Don't set same-window-buffer-names.
15574
15575 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
15576
15577 * window.el (display-buffer-alist): Add *Python*.
15578
8319e0bf
CY
155792011-09-10 Chong Yidong <cyd@stupidchicken.com>
15580
15581 * window.el (display-buffer-alist): Add entry for buffers
15582 previously handled same-window-*.
15583 (display-buffer-alist, display-buffer-default-action)
15584 (display-buffer-overriding-action): Mark as risky.
15585 (display-buffer-alist): Document action function changes.
15586 (display-buffer--same-window-action)
15587 (display-buffer--other-frame-action): New variables.
15588 (switch-to-buffer, display-buffer-other-frame): Use them.
15589 (display-buffer): Rename reuse-frame entry to reusable-frames.
15590 (display-buffer-reuse-selected-window): Function deleted.
15591 (display-buffer-reuse-window): Handle reusable-frames alist entry.
15592 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
15593 (display-buffer-special): New function.
15594 (display-buffer--maybe-pop-up-frame-or-window): Rename from
15595 display-buffer-reuse-or-pop-window. Split off special-display
15596 part into display-buffer-special.
15597 (display-buffer-use-some-window): Don't perform any special
15598 pop-up-frames handling.
15599 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 15600 (display-buffer--maybe-same-window): Rename from
0d3ff375 15601 display-buffer-maybe-same-window.
8319e0bf 15602
919a69aa
CY
15603 * info.el: Don't set same-window-regexps.
15604 (info-setup): New function.
15605 (info-other-window, info): Call it.
15606
15607 * cus-edit.el: Don't set same-window-regexps.
15608 (customize-group): New argument.
15609 (customize-group-other-window): Use it.
15610 (customize-face, customize-face-other-window): Likewise.
15611 (custom-buffer-create-other-window): Use pop-to-buffer directly.
15612
8319e0bf
CY
15613 * net/rlogin.el:
15614 * net/telnet.el:
15615 * progmodes/gud.el: Don't set same-window-regexps.
15616
15617 * cmuscheme.el:
15618 * ielm.el:
15619 * shell.el:
15620 * mail/sendmail.el:
15621 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
15622
25173000
JL
156232011-09-10 Juri Linkov <juri@jurta.org>
15624
15625 * isearch.el (isearch-edit-string): Remove obsolete mention of
15626 `C-w' (`isearch-yank-word-or-char') from docstring.
15627 (isearch-query-replace): Fix typo in docstring (bug#9466).
15628
056e44ef
JL
156292011-09-10 Juri Linkov <juri@jurta.org>
15630
15631 * paren.el (show-paren-function): Don't show escaped parens.
15632 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
15633
c3760c17
EZ
156342011-09-10 Eli Zaretskii <eliz@gnu.org>
15635
15636 * mail/sendmail.el (mml-to-mime, mml-attach-file)
15637 (mm-default-file-encoding): Remove autoload forms, they are
15638 replaced with autoload cookies in mml.el and mm-encode.el.
15639 (mail-add-attachment): New command.
15640 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
15641 (mail-mode): Mention mail-insert-file and mail-add-attachment in
15642 the doc string.
15643 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
15644
fece895e
RT
156452011-09-10 Reuben Thomas <rrt@sc3d.org>
15646
e69df516
SM
15647 * simple.el (count-words-region): Use buffer if there's no region
15648 (bug#9429).
fece895e 15649
5e68ce4a
JL
156502011-09-09 Juri Linkov <juri@jurta.org>
15651
15652 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
15653 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
15654 (wdired-isearch-filter-read-only): New function. (Bug#6362)
15655
0a6b9622
AM
156562011-09-09 Alan Mackenzie <acm@muc.de>
15657
15658 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
15659 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
15660
14a29deb
EZ
156612011-09-09 Eli Zaretskii <eliz@gnu.org>
15662
15663 Fix for Savannah bug#9392.
15664 * simple.el (mail-encode-mml): New defvar.
15665
15666 * mail/rmail.el (mail-encode-mml): Add a defvar.
15667 (rmail-enable-mime-composing): Default to t.
15668 (rmail-forward): Use MIME method of forwarding only if both
15669 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
15670 Set mail-encode-mml non-nil if the MIME method was used.
15671
15672 * mail/sendmail.el (mml-to-mime): Add autoload form.
15673 (mail-encode-mml): Add a defvar.
15674 (mail-mode): Make mail-encode-mml buffer-local and initialize it
15675 to nil.
15676 (mail-send): If mail-encode-mml is non-nil, run the outgoing
15677 message through mml-to-mime, and reset mail-encode-mml to nil.
15678
28c45130
GM
156792011-09-09 Glenn Morris <rgm@gnu.org>
15680
15681 * woman.el (woman-if-body): When processing an .el block,
15682 do not delete the next .el block as well. (Bug#9447)
69f4b618 15683 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 15684
9b1c252e
MR
156852011-09-08 Martin Rudalics <rudalics@gmx.at>
15686
15687 * window.el (window-deletable-p): Make sure window is live before
15688 invoking window-prev-buffers.
15689
567457e3
LL
156902011-09-08 Leo Liu <sdl.web@gmail.com>
15691
15692 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
15693
97f05794
JL
156942011-09-08 Juri Linkov <juri@jurta.org>
15695
15696 * progmodes/compile.el (compilation-environment): Make it
15697 a defcustom (bug#8340).
15698
8b0874b5
MR
156992011-09-08 Martin Rudalics <rudalics@gmx.at>
15700
15701 * window.el (frame-auto-delete): Rename to window-auto-delete.
15702 Make it control auto-deletion of windows and/or frames.
15703 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 15704 for deleting window/frame. (Bug#9419)
8b0874b5
MR
15705 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
15706 Rewrite handling of case when window/frame can be deleted.
15707 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 15708 argument t. (Bug#9456)
8b0874b5 15709
4feb6e73
CY
157102011-09-07 Chong Yidong <cyd@stupidchicken.com>
15711
15712 * help-mode.el (help-mode): Restore autoload.
15713
91ab9c13
JL
157142011-09-07 Juri Linkov <juri@jurta.org>
15715
15716 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
15717 `compilation-environment'. Set buffer-local
15718 `compilation-environment' to `thisenv' later after (funcall mode).
15719 (Bug#8340)
15720
15721 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
15722 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
15723 instead of replacing its value. (Bug#8340)
15724
0527e251
JL
157252011-09-07 Juri Linkov <juri@jurta.org>
15726
15727 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
15728 based on text properties put by `grep-filter' instead of matching
15729 escape sequences.
15730 (grep-mode): Set buffer-local `compilation-error-screen-columns'
15731 to the value of `grep-error-screen-columns' (bug#9438).
15732
249f792c
JL
157332011-09-07 Juri Linkov <juri@jurta.org>
15734
15735 * simple.el (next-error-highlight, next-error-highlight-no-select):
15736 Doc fix (bug#9432).
15737
ff7271b9
OT
157382011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
15739
15740 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
15741 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
15742
183fc730
LL
157432011-09-07 Leo Liu <sdl.web@gmail.com>
15744
15745 * net/rcirc.el (rcirc-mode): Conditionally initialize
15746 rcirc-input-ring.
15747
77694924
SM
157482011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
15749
15750 * emacs-lisp/find-func.el (find-function-C-source): Only set
15751 find-function-C-source-directory after checking that we found a source
15752 file there (bug#9440).
15753
d809b8eb
AM
157542011-09-06 Alan Mackenzie <acm@muc.de>
15755
15756 * isearch.el (isearch-other-meta-char): Wherever a key list is
15757 unread, "unread" the prefix arg, too. This fixes bug #8901.
15758
453de99f
OG
157592011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
15760
15761 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
15762
90439906
JL
157632011-09-05 Juri Linkov <juri@jurta.org>
15764
15765 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
15766
f62bd846
JL
157672011-09-05 Juri Linkov <juri@jurta.org>
15768
15769 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
15770 keeping point where processing of grep matches begins, and
15771 continue to delete remaining escape sequences from the same point.
15772 (grep-filter): Make leading zero optional in "0?1;31m" because
15773 git-grep emits "\033[1;31m" escape sequences unlike expected
15774 "\033[01;31m" as GNU Grep does (bug#9408).
15775 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
15776
045820ec
JL
157772011-09-05 Juri Linkov <juri@jurta.org>
15778
15779 * subr.el (y-or-n-p): Capitalize "yes".
15780
f5e29b9b
MA
157812011-09-04 Michael Albinus <michael.albinus@gmx.de>
15782
15783 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
15784 `tramp-cache-unload-hook' where appropriate.
15785 (tramp-methods): Rename `tramp-remote-sh' to
15786 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
15787 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
15788
15789 * net/tramp-sh.el (top): Don't require 'shell.
15790 (tramp-methods): Add `tramp-remote-shell' and
15791 `tramp-remote-shell-args' entries.
15792 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
15793 (tramp-sh-handle-shell-command): Remove.
15794 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
15795 Use `tramp-remote-shell'.
15796
2784c434
CY
157972011-09-03 Chong Yidong <cyd@stupidchicken.com>
15798
393a301e 15799 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
15800 (sendmail-query-once): Save directly to send-mail-function.
15801 Update message-send-mail-function too.
15802
15803 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
15804
464cdf56
CS
158052011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
15806
15807 * progmodes/python.el (python-mode-map): Use correct function to
15808 start python interpreter from menu-bar (as reported by Geert
15809 Kloosterman).
15810 (inferior-python-mode-map): Fix typo.
393a301e 15811 (python-shell-map): Remove.
464cdf56 15812
d37e5c87
DD
158132011-09-03 Deniz Dogan <deniz@dogan.se>
15814
15815 * net/rcirc.el (rcirc-print): Simplify code for
15816 rcirc-scroll-show-maximum-output. There is no need to walk
15817 through all windows to find the right one.
15818
f3ada0ee
CS
158192011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
15820
15821 * help.el (help-return-method): Doc fix.
15822
1f3c99ca
MR
158232011-09-03 Martin Rudalics <rudalics@gmx.at>
15824
15825 * window.el (window-deletable-p): Don't return a non-nil value
15826 when there's a buffer that was shown in the window before.
15827 (Bug#9419)
393a301e
SM
15828 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
15829 Set window's previous buffers to nil.
1f3c99ca 15830
a3cf097f
EZ
158312011-09-03 Eli Zaretskii <eliz@gnu.org>
15832
15833 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
15834 newline before and after the tag line, so it doesn't interfere
15835 with determining the paragraph direction of bidirectional text.
15836
3d03de90
LL
158372011-09-03 Leo Liu <sdl.web@gmail.com>
15838
15839 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
15840
c3313451
CY
158412011-09-02 Chong Yidong <cyd@stupidchicken.com>
15842
393a301e 15843 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
15844 (pop-to-buffer): Change interactive spec. Pass second argument
15845 directly to display-buffer.
15846 (display-buffer): Fix interactive spec. Use functionp to
15847 distinguish between a function and a list of functions.
15848
15849 * abbrev.el (edit-abbrevs):
15850 * arc-mode.el (archive-extract):
15851 * autoinsert.el (auto-insert):
15852 * bookmark.el (bookmark-bmenu-list):
15853 * files.el (find-file):
15854 * view.el (view-buffer):
15855 * progmodes/compile.el (compilation-goto-locus):
15856 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
15857
89894cd8
CY
158582011-09-02 Chong Yidong <cyd@stupidchicken.com>
15859
15860 * window.el (display-buffer-alist): Doc fix.
15861 (display-buffer): Add docstring. Don't treat
15862 display-buffer-default specially.
15863 (display-buffer-reuse-selected-window)
15864 (display-buffer-same-window, display-buffer-maybe-same-window)
15865 (display-buffer-reuse-window, display-buffer-pop-up-frame)
15866 (display-buffer-pop-up-window)
15867 (display-buffer-reuse-or-pop-window)
15868 (display-buffer-use-some-window): New functions.
15869 (display-buffer-default-action): Use them.
393a301e 15870 (display-buffer-default): Delete.
89894cd8
CY
15871 (pop-to-buffer-1): Fix choice of actions.
15872
ae0bc9fb
SM
158732011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
15874
15875 * minibuffer.el (completion--insert-strings): Don't get confused by
15876 completion entries that end with an LF char.
15877
e9d90883
EZ
158782011-09-01 Eli Zaretskii <eliz@gnu.org>
15879
15880 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
15881
437014c8
CY
158822011-09-01 Chong Yidong <cyd@stupidchicken.com>
15883
15884 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
15885 (display-buffer-same-window, display-buffer-other-window):
15886 New functions.
437014c8
CY
15887 (pop-to-buffer-1): New function. Use the above.
15888 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 15889 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
15890
15891 * view.el (view-buffer-other-window, view-buffer-other-frame):
15892 Just use pop-to-buffer.
15893
a5e063d5
TV
158942011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15895
15896 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
15897
793d32bb
WH
158982011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
15899
15900 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
15901
d65e4c15
RS
159022011-08-31 Richard Stallman <rms@gnu.org>
15903
15904 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
15905 of the separation of rmail-view-buffer from rmail-buffer.
15906 If you say no to "replace original", the decrypt is in the
15907 view buffer. If you say yes, the decrypt goes into the
15908 rmail buffer also.
15909
f818cd2a
MR
159102011-08-31 Martin Rudalics <rudalics@gmx.at>
15911
15912 * window.el (display-buffer-window): Rewrite doc-string.
15913 (display-buffer-record-window): New function.
15914 (display-buffer-macro-specifiers)
15915 (display-buffer-even-window-sizes, display-buffer-set-height)
15916 (display-buffer-set-width, display-buffer-in-window)
15917 (display-buffer-reuse-window, display-buffer-split-specifiers)
15918 (display-buffer-side-specifiers, display-buffer-split-window-1)
15919 (display-buffer-split-window, display-buffer-split-atom-window)
15920 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
15921 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
15922 (display-buffer-other-window-means-other-frame)
15923 (display-buffer-normalize-special)
15924 (display-buffer-normalize-default)
15925 (display-buffer-normalize-argument)
15926 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
15927 (display-buffer-normalize-specifiers, display-buffer-frame)
15928 (display-buffer-same-window, display-buffer-same-frame)
15929 (display-buffer-other-window)
15930 (display-buffer-same-frame-other-window)
15931 (display-buffer-other-frame, pop-to-buffer-same-window)
15932 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
15933 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
15934 (switch-to-buffer-same-frame)
15935 (switch-to-buffer-other-window-same-frame)
15936 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
15937 (display-buffer-alist-set-1, display-buffer-alist-set-2)
15938 (display-buffer-alist-set): Remove.
15939 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
15940 (special-display-regexps, special-display-function):
15941 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
15942 parameter.
15943 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
15944 (special-display-frame-alist, special-display-popup-frame)
15945 (same-window-buffer-names, same-window-regexps, same-window-p)
15946 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
15947 (split-window-preferred-function, split-height-threshold)
15948 (split-width-threshold, window-splittable-p)
15949 (split-window-sensibly, window--try-to-split-window)
15950 (window--frame-usable-p, even-window-heights)
15951 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
15952 (window--display-buffer-2, display-buffer-other-frame):
15953 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
15954 (display-buffer-default, display-buffer-assq-regexp): New functions.
15955 (display-buffer-alist): Rewrite doc-string.
15956 (display-buffer-default-action)
15957 (display-buffer-overriding-action): New variables.
15958 (display-buffer, switch-to-buffer): Rewrite.
15959 (pop-to-buffer): Restore Emacs 23 behavior but use
15960 window-normalize-buffer-to-display.
15961 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
15962 Restore Emacs 23 behavior but use
15963 window-normalize-buffer-to-switch-to.
15964 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
15965 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
15966 Rewrite using Emacs 23 options.
f818cd2a 15967
5bc3b51d
MA
159682011-08-31 Michael Albinus <michael.albinus@gmx.de>
15969
15970 * net/tramp.el (tramp-root-regexp): Remove.
15971 (tramp-completion-file-name-regexp-unified)
15972 (tramp-completion-file-name-regexp-separate)
15973 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 15974 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
15975 (tramp-drop-volume-letter): Simplify definition.
15976 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 15977
b1a4f8e1
SM
159782011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
15979
15980 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
15981 (bug#9356).
15982
5664fa7b
RT
159832011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
15984
b1a4f8e1 15985 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 15986
9a45d6c3
JL
159872011-08-29 Juri Linkov <juri@jurta.org>
15988
15989 * isearch.el (isearch-done): Don't display message "Mark saved"
15990 when arg `edit' is non-nil to prevent its flicker in the echo area.
15991
fb87e0fb
CY
159922011-08-28 Chong Yidong <cyd@stupidchicken.com>
15993
15994 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
15995 obsolete packages for deletion.
15996
09ac1c2a
CS
159972011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
15998
15999 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 16000 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
16001 view-mode from help-mode.
16002 (help-xref-override-view-map): Remove.
16003 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
16004 view-mode is not used anymore.
16005
7a1ff57f
CY
160062011-08-28 Chong Yidong <cyd@stupidchicken.com>
16007
16008 * server.el (server-port): Doc fix.
16009
b9696605
CY
16010 * cus-theme.el (custom-theme-choose-mode): Inherit from
16011 special-mode (Bug#9124).
16012 (custom-theme-choose-mode-map): Add special-mode to parent.
16013
ef8cdf8c
AM
160142011-08-28 Alan Mackenzie <acm@muc.de>
16015
16016 * progmodes/cc-fonts.el
16017 (c-make-font-lock-BO-decl-search-function): New function.
16018 (c-basic-matchers-after - "Fontify the clauses after various
16019 keywords"): Extract the three keyword lists for the 3 erroneous
16020 constructs from the list of four, and use the new function above
16021 in place of an old one.
16022
27de4e20
DD
160232011-08-28 Deniz Dogan <deniz@dogan.se>
16024
16025 * net/rcirc.el (rcirc-insert-prev-input)
16026 (rcirc-insert-next-input): Remove unused argument.
16027
356a3681
SM
160282011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
16029
16030 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
16031
3fc9b218
AM
160322011-08-27 Alan Mackenzie <acm@muc.de>
16033
16034 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
16035 handle function pointer parameters properly.
16036
538a061c
MR
160372011-08-27 Martin Rudalics <rudalics@gmx.at>
16038
16039 * window.el (display-buffer-reuse-window): Fix case where
16040 selected window was reused with non-nil OTHER-WINDOW argument.
16041 (Bug#9381)
16042
35b1c40c
DD
160432011-08-27 Deniz Dogan <deniz@dogan.se>
16044
16045 * net/rcirc.el (rcirc-check-auth-status): Adding support for
16046 oftc's NickServ messages.
16047
2f6a3e79
GM
160482011-08-27 Glenn Morris <rgm@gnu.org>
16049
16050 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
16051
7254299e
CY
160522011-08-26 Chong Yidong <cyd@stupidchicken.com>
16053
16054 * emacs-lisp/package.el (package-install): Call package-initialize
16055 if called interactively.
16056
f8ccf167
LL
160572011-08-26 Leo Liu <sdl.web@gmail.com>
16058
16059 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
16060
3e8cd5ce
JL
160612011-08-25 Juri Linkov <juri@jurta.org>
16062
16063 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
16064 `search-whitespace-regexp' (bug#9364).
16065
93eb7113
JL
160662011-08-25 Juri Linkov <juri@jurta.org>
16067
16068 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
16069 `regexp-search-ring' to their global values to protect from
16070 updating by `read-from-minibuffer' (bug#9185).
16071
f65d1611
JL
160722011-08-25 Juri Linkov <juri@jurta.org>
16073
16074 * textmodes/ispell.el (ispell-command-loop): Add newline
16075 at the end of the "Use option `i'..." line.
16076
f1cf7a31
JL
160772011-08-25 Juri Linkov <juri@jurta.org>
16078
16079 * battery.el (display-battery-mode): If `battery-status-function'
16080 or `battery-mode-line-format' is nil, display the message and set
16081 `display-battery-mode' to nil (bug#9363).
16082
0c95fcf7
EZ
160832011-08-25 Eli Zaretskii <eliz@gnu.org>
16084
16085 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
16086 bidi-string-mark-left-to-right; they are unnecessary now.
16087
a2ebe600
DD
160882011-08-25 Deniz Dogan <deniz@dogan.se>
16089
16090 * net/quickurl.el: Documentation typo fixes.
16091
e4ed06f1
CY
160922011-08-25 Chong Yidong <cyd@stupidchicken.com>
16093
16094 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
16095
e5f1c99e
GM
160962011-08-25 Glenn Morris <rgm@gnu.org>
16097
b2948976
GM
16098 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
16099
e5f1c99e
GM
16100 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
16101 (smtpmail-via-smtp): Handle nil response from smtp.
16102
f22f4808
JL
161032011-08-24 Juri Linkov <juri@jurta.org>
16104
16105 * proced.el (proced-marked): Inherit from `error' instead of
16106 `font-lock-warning-face'.
16107
16108 * ibuffer.el (ibuffer-marked-face): Change default face from
16109 `font-lock-warning-face' to `warning'.
16110 (ibuffer-deletion-face): Change default face from
16111 `font-lock-type-face' to `error'.
16112
16113 * battery.el (battery-update): Use the face `error' instead of
16114 `font-lock-warning-face' (bug#6117).
16115
6a93965e
JL
161162011-08-24 Juri Linkov <juri@jurta.org>
16117
16118 * faces.el (success): Change face color from "Green3" to
16119 "ForestGreen" on light background (bug#9353).
16120
1ed43b09
CY
161212011-08-24 Chong Yidong <cyd@stupidchicken.com>
16122
5664fa7b
RT
16123 * window.el (quit-window): Rename from quit-restore-window.
16124 Use same arglist as old quit-window.
1ed43b09
CY
16125 (frame-auto-delete): Doc fix.
16126
16127 * view.el (view-mode-exit): Use quit-window.
16128
11dcdbb2
JL
161292011-08-24 Juri Linkov <juri@jurta.org>
16130
16131 * isearch.el (isearch-ring-adjust1): Start visiting previous
16132 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
16133 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
16134 for empty search string (when the last search string is reused
16135 automatically) to adjust the isearch ring to the last element and
16136 prepare the correct index for further M-p commands (bug#9185).
16137
de62b4df
KH
161382011-08-24 Kenichi Handa <handa@m17n.org>
16139
16140 * international/ucs-normalize.el: If decomposition property of
16141 CHAR is the default one (i.e. a list of CHAR itself), treat it as
16142 nil.
16143 (nfd, nfkd): Likewise.
16144
963b492b
SM
161452011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
16146
16147 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
16148 from process filters aren't reliably transmitted to the surrounding
16149 accept-process-output.
16150 (mpc-proc-check): New function.
16151 (mpc-proc-sync): Use it (bug#8293)
16152
93b6b5e1
SM
161532011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
16154
16155 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
16156 Add compatibility functions (bug#9313).
16157
bca633fb
EZ
161582011-08-23 Eli Zaretskii <eliz@gnu.org>
16159
b177498a
EZ
16160 * cus-start.el (all): Add entry for bidi-paragraph-direction.
16161
6df6ae42 16162 * international/uni-bidi.el: Regenerate.
bca633fb 16163
0902a04e
KH
161642011-08-23 Kenichi Handa <handa@m17n.org>
16165
16166 * international/charprop.el:
16167 * international/uni-bidi.el:
16168 * international/uni-category.el:
16169 * international/uni-combining.el:
16170 * international/uni-comment.el:
16171 * international/uni-decimal.el:
16172 * international/uni-decomposition.el:
16173 * international/uni-digit.el:
16174 * international/uni-lowercase.el:
16175 * international/uni-mirrored.el:
16176 * international/uni-name.el:
16177 * international/uni-numeric.el:
16178 * international/uni-old-name.el:
16179 * international/uni-titlecase.el:
16180 * international/uni-uppercase.el: Regenerate.
16181
3bbf23bc
MR
161822011-08-23 Martin Rudalics <rudalics@gmx.at>
16183
16184 * help.el (help-window-setup): Fix message displayed when other
16185 window is reused. (Bug#9341)
16186
b3fd59bd
SM
161872011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
16188
1802e444
SM
16189 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
16190 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
16191
b3fd59bd
SM
16192 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
16193 Mark obsolete.
16194 * shell.el (shell-parse-pcomplete-arguments): New function.
16195 (shell-completion-vars): Use it instead (bug#9160).
16196
4eb61348
SM
161972011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
16198
867cab74
SM
16199 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
16200 strings and comments (bug#9333).
16201
4eb61348
SM
16202 * emacs-lisp/debug.el (debug-arglist): New function.
16203 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
16204 (debug-on-entry-1): Handle interpreted closures (bug#9120).
16205
262a1439
JL
162062011-08-22 Juri Linkov <juri@jurta.org>
16207
56ee679c
JL
16208 * progmodes/compile.el (compilation-mode-font-lock-keywords):
16209 Revert regexp that highlights output switches to its old
16210 pre-2010-10-28 value and remove one `?' from it (bug#9319).
16211
262a1439
JL
16212 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
16213 to check for empty output (bug#9226).
16214
f13f86fb
CY
162152011-08-22 Chong Yidong <cyd@stupidchicken.com>
16216
16217 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
16218 symbol-constituent as the default, as that stops font-lock from
16219 working properly (Bug#8843).
16220
c65c9622
LMI
162212011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
16222
16223 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
16224 `coding-system-for-*' around the process open call to avoid
16225 auth-source side effects.
e7f2c178 16226 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
16227 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
16228 probe hangs.
c65c9622 16229
23a8a5ab
CY
162302011-08-21 Chong Yidong <cyd@stupidchicken.com>
16231
ff98b2dd
CY
16232 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
16233
23a8a5ab
CY
16234 * emacs-lisp/find-func.el (find-function-noselect): New arg
16235 lisp-only.
16236
16237 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
16238 signal an error for built-in functions (Bug#6664).
16239
f5e3c598
LMI
162402011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
16241
16242 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
16243 (smtpmail-try-auth-methods): Use it.
16244
a3f2468a
CY
162452011-08-21 Chong Yidong <cyd@stupidchicken.com>
16246
2c34e8da
CY
16247 * font-lock.el (font-lock-fontify-region)
16248 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
16249 (font-lock-default-unfontify-buffer)
16250 (font-lock-default-fontify-region)
16251 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
16252
b3fd59bd
SM
16253 * progmodes/compile.el (compilation-error-properties):
16254 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
16255 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
16256 `ant' regexp.
ee31aabc 16257
a3f2468a
CY
16258 * net/browse-url.el (browse-url-firefox): Don't call
16259 browse-url-firefox-sentinel unless using -remote (Bug#9328).
16260
8e999f70
GM
162612011-08-20 Glenn Morris <rgm@gnu.org>
16262
c21a496a
GM
16263 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
16264
59ee0542
GM
16265 * tutorial.el (tutorial--default-keys): Update some default bindings.
16266
8e999f70
GM
16267 * files.el (hack-local-variables): Fully ignore case for "mode:".
16268
e3715033
AM
162692011-08-20 Alan Mackenzie <acm@muc.de>
16270
16271 Resolve invalid use of a regexp in regexp-opt.
16272
4d61f28d
JB
16273 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
16274 detection for a java annotation.
e3715033 16275
4d61f28d 16276 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
16277 detection for a java annotation.
16278
4d61f28d
JB
16279 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
16280 handling for java.
e3715033
AM
16281 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
16282
04ed2e9c
CY
162832011-08-20 Chong Yidong <cyd@stupidchicken.com>
16284
16285 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
16286 (Bug#9274).
16287
826cee64
AM
162882011-08-20 Alan Mackenzie <acm@muc.de>
16289
58179cce 16290 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
16291 such a construct. Mainly for when jit-lock etc. starts a chunk
16292 here.
16293
58179cce 16294 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 16295 variable.
58179cce 16296 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
16297 c-make-font-lock-search-function.
16298 (c-make-font-lock-search-function): Use the above function.
16299 (c-make-font-lock-context-search-function): New function.
16300 (c-cpp-matchers): Enhance the preprocessor expression case with
16301 the above function
16302 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
16303 which takes an expression.
16304
16305 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
16306
13009bd8
MR
163072011-08-20 Martin Rudalics <rudalics@gmx.at>
16308
16309 * window.el (display-buffer-reuse-window)
16310 (display-buffer-pop-up-window): Don't reuse or split a side
16311 window.
16312
9234ff7f
GM
163132011-08-19 Glenn Morris <rgm@gnu.org>
16314
16315 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 16316 Downcase "Mode:". (Bug#9331)
9234ff7f 16317
f635daa1
CY
163182011-08-18 Chong Yidong <cyd@stupidchicken.com>
16319
16320 * international/characters.el: Add L and R categories.
16321
16322 * subr.el (bidi-string-mark-left-to-right): Rename from
16323 string-mark-left-to-right. Use category search.
16324
16325 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
16326
bc987f8b
JL
163272011-08-18 Juri Linkov <juri@jurta.org>
16328
16329 * faces.el (error, warning, success): New faces with definitions
16330 copied from old default values of `font-lock-warning-face',
16331 `compilation-warning', `compilation-info' (bug#6117).
16332
16333 * font-lock.el (font-lock-warning-face): Inherit from `error'.
16334
16335 * progmodes/compile.el (compilation-error): Inherit from `error'.
16336 (compilation-warning): Inherit from `warning'.
16337 (compilation-info): Inherit from `success'.
16338
16339 * dired.el (dired-marked): Inherit from `warning'.
16340 (dired-flagged): Inherit from `error'.
16341
57173b96
LMI
163422011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
16343
3e79eb87
LMI
16344 * mail/smtpmail.el (auth-source): Require to avoid problems with
16345 binding variables (bug#9298). Also clean up some unused
16346 autoloads.
16347
b3fd59bd
SM
16348 * net/network-stream.el (network-stream-open-starttls):
16349 Support using starttls.el without using gnutls-cli.
57173b96 16350
02b404de
JL
163512011-08-17 Juri Linkov <juri@jurta.org>
16352
16353 * progmodes/grep.el (rgrep): Handle the case when
16354 `grep-find-command' is a cons cell (bug#9278).
16355
8c9177f2
MR
163562011-08-17 Martin Rudalics <rudalics@gmx.at>
16357
16358 * window.el (display-buffer-pop-up-frame): Run frame creation
16359 function with BUFFER current (as special-display-popup-frame
16360 does). Reported by Drew Adams.
16361
3644a0ab
DU
163622011-08-17 Daiki Ueno <ueno@unixuser.org>
16363
16364 * epa-mail.el: Simplify GnuPG group expansion using
16365 epg-expand-group.
16366 (epa-mail-group-alist, epa-mail-group-modtime)
16367 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
16368 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
16369 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
16370 Remove.
16371
5e617bc2 163722011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
16373
16374 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
16375
9c4aeabf
AM
163762011-08-16 Alan Mackenzie <acm@muc.de>
16377
16378 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
16379 Correct, to avoid the inside of macros.
16380
3a99bf64
RS
163812011-08-16 Richard Stallman <rms@gnu.org>
16382
04963aa8
RS
16383 * epa-mail.el: Handle GnuPG group definitions.
16384 (epa-mail-group-alist, epa-mail-group-modtime)
16385 (epa-mail-gnupg-conf-file): New variables.
16386 (epa-mail-parse-groups, epa-mail-sync-groups)
16387 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
16388 (epa-mail-expand-recipients): New functions.
16389 (epa-mail-encrypt): Call epa-mail-expand-recipients.
16390
177549d0
RS
16391 * mail/rmail.el (rmail-epa-decrypt): New command.
16392
fe38beef
RS
16393 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
16394 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
16395 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
16396 (epa-decrypt-armor-in-region): Make error message clearer.
16397
934eacb9
SM
163982011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
16399
16400 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
16401 and "a2b" to "ab" for `prefix'.
16402
d024fb4e
CY
164032011-08-14 Chong Yidong <cyd@stupidchicken.com>
16404
16405 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
16406 filter groups.
de148fee
CY
16407 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
16408 Fourquet (Bug#8804).
d024fb4e 16409
62f1ca49
JB
164102011-08-12 Juanma Barranquero <lekktu@gmail.com>
16411
16412 * startup.el (argi): Declare as global variable (bug#9275).
16413
9ccaaa4b
CY
164142011-08-12 Chong Yidong <cyd@stupidchicken.com>
16415
16416 * subr.el (string-mark-left-to-right): Search the entire string
16417 for RTL script, not just the terminating character. Doc fix.
16418
a3dae87a
SM
164192011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
16420
6cd18349
SM
16421 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
16422 New function.
16423 (js--regexp-literal, js-syntax-propertize-function): Remove.
16424 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
16425 (js-mode-map): Don't rebind electric keys.
16426 (js-insert-and-indent): Remove.
16427 (js-mode): Setup electric-layout and electric-indent instead.
16428
a3dae87a
SM
16429 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
16430
9d5cb631
DU
164312011-08-12 Daiki Ueno <ueno@unixuser.org>
16432
16433 * epa.el (epa-progress-callback-function): Fix the logic of
16434 displaying progress.
16435 * epa-file.el (epa-file-insert-file-contents): Make progress
16436 display more user-friendly.
16437 (epa-file-write-region): Ditto.
16438
3e26a4a2
CY
164392011-08-10 Chong Yidong <cyd@stupidchicken.com>
16440
16441 * subr.el (string-mark-left-to-right): New function.
16442
16443 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
16444 Use string-mark-left-to-right.
16445 (list-buffers-noselect): Caller changed.
16446
a3dae87a
SM
16447 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
16448 Use string-mark-left-to-right.
3e26a4a2
CY
16449 (tabulated-list-print): Recenter after moving point.
16450
ac8cf6e6
JL
164512011-08-10 Juri Linkov <juri@jurta.org>
16452
16453 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
16454 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
16455 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
16456
8d96c9a4
CY
164572011-08-09 Chong Yidong <cyd@stupidchicken.com>
16458
16459 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
16460 (Bug#7554).
16461
7be1c708 164622011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
16463
16464 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
16465 character. (Bug#6594)
16466
37e11a63
CY
164672011-08-08 Chong Yidong <cyd@stupidchicken.com>
16468
839dde57
CY
16469 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
16470 (image-dired--with-db-file): New macro.
16471 (image-dired-write-tags, image-dired-remove-tag)
16472 (image-dired-create-gallery-lists, image-dired-write-comments)
16473 (image-dired-get-comment, image-dired-mark-tagged-files)
16474 (image-dired-list-tags, image-dired-gallery-generate): Use it.
16475 (image-dired-gallery-generate): Use insert-file-contents.
16476
37e11a63
CY
16477 * time.el (display-time-world-list, display-time-world-display):
16478 * time-stamp.el (time-stamp-string):
16479 * vc/add-log.el (add-change-log-entry): Use setenv instead of
16480 set-time-zone-rule (Bug#7337).
16481
0b4946c4
DU
164822011-08-08 Daiki Ueno <ueno@unixuser.org>
16483
16484 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
16485 (epg-error-to-string, epg-errors-to-string): New function.
16486 (epg-wait-for-completion): Reverse errors list.
16487 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
16488 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
16489 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
16490 (epg-sign-keys, epg-generate-key-from-file)
16491 (epg-generate-key-from-string): Format errors by using
16492 epg-errors-to-string (bug#9255).
16493 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
16494
75bfc667
JL
164952011-08-07 Juri Linkov <juri@jurta.org>
16496
16497 * faces.el (list-faces-display): Remove extra angle bracket
16498 from `help-mode-map'.
16499
16500 * info.el (Info-history-toc-nodes): Doc fix.
16501
16502 * longlines.el (longlines-mode): Doc fix.
16503
673e08bb
SM
165042011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
16505
4640dd88
SM
16506 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
16507 of statements and in a few more cases (bug#9183).
16508
673e08bb
SM
16509 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
16510 New functions.
16511 (cl-transform-lambda): Use them (bug#9239).
16512
89b3f019
MR
165132011-08-05 Martin Rudalics <rudalics@gmx.at>
16514
16515 * window.el (display-buffer-same-window)
16516 (display-buffer-same-frame, display-buffer-other-window)
16517 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
16518 (pop-to-buffer-other-window)
16519 (pop-to-buffer-same-frame-other-window)
16520 (pop-to-buffer-other-frame): Make them defuns.
16521 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
16522
640c8776
SM
165232011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
16524
16525 * subr.el (make-composed-keymap): Move from C. Change calling
16526 convention, and improve docstring to bring attention to a subtle point.
16527 * minibuffer.el (completing-read-default): Adjust accordingly.
16528
63648a95
MA
165292011-08-03 Michael Albinus <michael.albinus@gmx.de>
16530
16531 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
16532 (tramp-open-shell): Use `tramp-shell-quote-argument'.
16533
16534 * net/trampver.el: Update release number.
16535
b796c9b7
SM
165362011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
16537
16538 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
16539 "in" (bug#9190).
16540
2239d7d5
LMI
165412011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16542
e07dd7c3
LMI
16543 * mail/sendmail.el (sendmail-query-once): Restore the current
16544 buffer after querying (bug#9074).
16545
0e6a2bd7
LMI
16546 * dired.el (dired-flagged): Use different faces for marked and
16547 flagged files (bug#6117).
16548
ce887515
LMI
16549 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
16550 (bug#4433).
16551
92f2affc
LMI
16552 * ido.el (ido-mode): Switch off the message if called
16553 non-interactively.
16554
57d5aff0
LMI
16555 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
16556 before 587, since it appears that that's more likely to work for
16557 more people.
16558
98cd6c18 16559 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 16560 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
16561 exist.
16562
b96dec83
LMI
16563 * info.el: Remove the `Info-beginning-of-buffer' function
16564 (bug#8325).
16565
b796c9b7
SM
16566 * net/network-stream.el (network-stream-open-starttls):
16567 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 16568
d90e2ea0
MR
165692011-08-01 Martin Rudalics <rudalics@gmx.at>
16570
16571 * window.el (display-buffer-in-window): Don't set dedicated status
16572 of window here (Bug#9215).
16573 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
16574 (display-buffer-pop-up-side-window)
b796c9b7 16575 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 16576
cca09170
SM
165772011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
16578
16579 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
16580 before binding generated-autoload-file.
16581
027b979c
DD
165822011-08-01 Deniz Dogan <deniz@dogan.se>
16583
16584 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
16585
3c7ee4f3
MA
165862011-07-30 Michael Albinus <michael.albinus@gmx.de>
16587
16588 Sync with Tramp 2.2.2.
16589
16590 * net/trampver.el: Update release number.
16591
2cc8e51a
JL
165922011-07-30 Juri Linkov <juri@jurta.org>
16593
16594 * dired-aux.el (dired-touch-initial): Remove function.
16595 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
16596 current time, and `default' to the last modification time of the
16597 current marked file (bug#6887).
16598
a514d856
JM
165992011-07-28 Jose E. Marchesi <jemarch@gnu.org>
16600
16601 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 16602 numeric argument to read-number (bug#9163).
a514d856 16603
8a7eddd7
MA
166042011-07-27 Michael Albinus <michael.albinus@gmx.de>
16605
16606 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
16607 connection process, it could be nil.
16608
1ddd96f5
LL
166092011-07-27 Leo Liu <sdl.web@gmail.com>
16610
16611 Simplify url handling in rcirc-mode.
16612
16613 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
16614 (rcirc-browse-url-at-mouse): Remove.
16615 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
16616
b248a85d
AM
166172011-07-26 Alan Mackenzie <acm@muc.de>
16618
16619 Fontify bitfield declarations properly.
16620
16621 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
16622 (c-symbol-chars): Now exported as a lang variable.
16623 (c-not-primitive-type-keywords): New lang variable.
16624
16625 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
16626 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 16627 parsed as a bitfield declaration.
b248a85d 16628
b796c9b7
SM
16629 * progmodes/cc-engine.el (c-beginning-of-statement-1):
16630 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
16631 (c-punctuation-in): New function.
16632 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
16633 declarations properly.
16634
68575ab0
UJ
166352011-07-26 Ulf Jasper <ulf.jasper@web.de>
16636
16637 * calendar/icalendar.el (icalendar--all-events): Take care of
16638 multiple vcalendars in a single file.
b796c9b7 16639 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 16640
0f0a88b9
DD
166412011-07-25 Deniz Dogan <deniz@dogan.se>
16642
16643 * image.el (insert-image): Clarifying docstring.
16644
0b3f36df
MA
166452011-07-24 Michael Albinus <michael.albinus@gmx.de>
16646
16647 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
16648 `tramp-send-command-and-check' if there is no error.
16649 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
16650
a9901f61
AM
166512011-07-22 Alan Mackenzie <acm@muc.de>
16652
16653 Prevent cc-langs.elc being loaded at run time.
16654
16655 * progmodes/cc-mode.el: Remove two autoload forms which loaded
16656 cc-langs.
16657
4d61f28d 16658 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
16659 "(require 'cc-langs)". Quote a form so it will evaluate at
16660 (cc-mode's) compilation time.
16661
11d074b2
MA
166622011-07-22 Michael Albinus <michael.albinus@gmx.de>
16663
16664 * net/tramp.el (tramp-file-name-handler): Avoid recursive
16665 loading. (Bug#9114)
16666
938b94c8
MR
166672011-07-21 Martin Rudalics <rudalics@gmx.at>
16668
16669 * window.el (display-buffer-pop-up-window)
16670 (display-buffer-pop-up-side-window)
16671 (display-buffer-in-side-window): Call display-buffer-set-height
16672 and display-buffer-set-width after setting the new window's
b796c9b7 16673 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 16674
bfa4f190
SS
166752011-07-20 Sam Steingold <sds@gnu.org>
16676
16677 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
16678 (etags-tags-included-tables): Call `convert-standard-filename' on
16679 the file names contained in TAGS so that windows Emacs can handle
16680 TAGS files created by cygwin ctags.
16681
8ca42262
LMI
166822011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
16683
16684 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
16685 which apparently didn't work.
16686
5db2afd2 166872011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 16688
5db2afd2
RW
16689 * proced.el (proced-send-signal): For *Marked Processes* buffer
16690 put point at beginning of buffer.
16691
92e15d10
SB
166922011-07-19 Stephen Berman <stephen.berman@gmx.net>
16693
16694 * proced.el (proced-format): Make header lines align with the text
16695 (bug#1779).
16696
1bfd59e5
LMI
166972011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
16698
16699 * view.el (view-buffer): Allow running in `special' modes if we're
16700 visiting a file (bug#8615).
16701
f5aae37c
MR
167022011-07-19 Martin Rudalics <rudalics@gmx.at>
16703
16704 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
16705 (display-buffer-alist-set-1, display-buffer-alist-set-2):
16706 New functions.
f5aae37c
MR
16707 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
16708 more accurately.
16709
bf2c1571
AM
167102011-07-18 Alan Mackenzie <acm@muc.de>
16711
16712 Fontify declarators properly when, e.g., a jit-lock chunk begins
16713 inside a declaration.
16714
16715 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
16716
b796c9b7
SM
16717 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
16718 New function.
bf2c1571
AM
16719 (c-complex-decl-matchers): Insert reference to
16720 c-font-lock-enclosing-decls.
16721
16722 * progmodes/cc-engine.el (c-backward-single-comment):
16723 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
16724 to nil around calls to (forward-comment -1).
16725
4e190b80
LMI
167262011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
16727
12dc863d
LMI
16728 * image.el (put-image): Doc typo fix.
16729
a762e966
LMI
16730 * progmodes/etags.el (tags-search): Doc typo fix.
16731
4e190b80
LMI
16732 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
16733 password if we get errors 550 to 554.
16734
f019fb21
LMI
167352011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
16736
b796c9b7 16737 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 16738
81746738
LMI
16739 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
16740 indentation character (bug#6380).
16741
3ee3a1b5
LMI
16742 * files.el (buffer-offer-save): Made permanently local (bug#6241).
16743
c82f64de
LMI
16744 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
16745 to clarify what the problem is (bug#4291).
16746
f019fb21
LMI
16747 * simple.el (current-kill): Clarify what
16748 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
16749 (auto-fill-mode): Document `auto-fill-function' in relation to
16750 `auto-fill-mode' (bug#2470).
f019fb21 16751
0794775d
LM
167522011-07-16 Lawrence Mitchell <wence@gmx.li>
16753
16754 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
16755 method if slot is read-only (bug#9035).
16756
be39b8cc
MR
167572011-07-16 Martin Rudalics <rudalics@gmx.at>
16758
b796c9b7 16759 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 16760 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
16761 selected before, see discussion of (Bug#8615), (Bug#6954).
16762 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 16763
6ccf7859
GM
167642011-07-15 Glenn Morris <rgm@gnu.org>
16765
16766 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 16767 Respect help-form.
6ccf7859 16768
87e86684
LM
167692011-07-09 Lawrence Mitchell <wence@gmx.li>
16770
16771 * net/gnutls.el (gnutls-min-prime-bits): New variable.
16772 (gnutls-negotiate): Use it.
16773
d6066239
LMI
167742011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
16775
b796c9b7
SM
16776 * net/gnutls.el (gnutls-negotiate):
16777 Upcase `gnutls-algorithm-priority'.
d6066239 16778
bd23ebc0
GM
167792011-07-15 Glenn Morris <rgm@gnu.org>
16780
c65bca65
GM
16781 * jka-compr.el (jka-compr-verbose): Move from here...
16782 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
16783 Add missing :version tag.
16784 * info.el: No need to require jka-compr when compiling.
bd23ebc0 16785
478615cc
LMI
167862011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
16787
7b41decb
LMI
16788 * net/gnutls.el (gnutls-algorithm-priority): New variable.
16789 (gnutls-negotiate): Use it.
16790
dbc44fcd
LMI
16791 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
16792
06789f97
LMI
16793 * info.el (Info-beginning-of-buffer): New command.
16794 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
16795 announcing `b' as the key (bug#8325).
ab896c37 16796 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 16797
c39da690
LMI
16798 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
16799
3aa5f34b
LMI
16800 * international/mule-cmds.el
16801 (describe-specified-language-support): Make the error message
16802 clearer (bug#8905).
16803
4bf0979f
LMI
16804 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
16805
478615cc
LMI
16806 * isearch.el (isearch-barrier): Add a doc string, since it's
16807 mentioned in a function doc string (bug#8678).
16808
75c68aa1
MR
168092011-07-15 Martin Rudalics <rudalics@gmx.at>
16810
16811 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
16812 buffer argument (Bug#9083) and self-identifying label argument.
16813
a7c33da2
GM
168142011-07-15 Glenn Morris <rgm@gnu.org>
16815
16816 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
16817
2f5c6024
LMI
168182011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
16819
16820 * man.el (Man-fontify-manpage): Fix message when formatting the
16821 man page (bug#7929).
16822
0bb23927 168232011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
16824
16825 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
16826 argument LRM; if non-nil, append an invisible LRM character to the
16827 buffer name.
16828 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
16829 last argument non-nil, when formatting buffer names.
0bb23927
EZ
16830 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
16831 paragraph direction.
cce4b0a7 16832
621ef9ab
LMI
168332011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
16834
d1583c48
LMI
16835 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
16836 the man page name (bug#7929).
16837
6a57fb5f
LMI
16838 * image.el (put-image): Mention the `put-image' overlay property
16839 (bug#7834).
16840
d7956b14
LMI
16841 * scroll-bar.el (set-scroll-bar-mode): Mention that
16842 `scroll-bar-mode' lists the values (bug#7772).
16843
5b2d4a66
LMI
16844 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
16845 command (bug#7729).
16846
7509a874
LMI
16847 * rect.el (apply-on-rectangle): Return the point after the last
16848 operation.
16849 (string-rectangle): Go to the point after the last operation
16850 (bug#7522).
16851
4fe74b19
LMI
16852 * printing.el (pr-toggle-region): Clarify the documentation
16853 slightly (bug#7493).
16854
b796c9b7
SM
16855 * time.el (display-time-update):
16856 Allow `display-time-mail-function' to return nil (bug#7158).
16857 Fix suggested by Detlev Zundel.
ab283561 16858
fc233c9d
LMI
16859 * vc/diff.el (diff): Clarify the order the file names are read
16860 (bug#7111).
16861
43f5740b
LMI
16862 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
16863 the doc string (bug#7015).
16864
f2182a76
LMI
16865 * font-lock.el (font-lock-maximum-decoration): Mention what
16866 numeric levels mean (bug#6935).
16867
621ef9ab
LMI
16868 * startup.el (initial-buffer-choice): Don't mention the `none'
16869 selection, which is against policy.
16870
adc47434
MR
168712011-07-14 Martin Rudalics <rudalics@gmx.at>
16872
b796c9b7
SM
16873 * window.el (display-buffer-normalize-special):
16874 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 16875
7e5bfb8f
EZ
168762011-07-14 Eli Zaretskii <eliz@gnu.org>
16877
16878 * subr.el (version<, version<=, version=): Mention "-CVS" and
16879 "-12345" alpha version numbers.
16880
27fa387a
CY
168812011-07-14 Chong Yidong <cyd@stupidchicken.com>
16882
16883 * bindings.el: Add advertised binding for set-mark-command
16884 (Bug#5772).
16885
8bdfa064
CY
168862011-07-14 Chong Yidong <cyd@stupidchicken.com>
16887
16888 * bindings.el (mode-line-other-buffer):
16889 * bookmark.el (bookmark-bmenu-2-window):
16890 * bs.el (bs-cycle-next, bs-cycle-previous):
16891 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
16892 switch-to-buffer.
16893
16894 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 16895 Delete.
8bdfa064 16896
5eba16a3
JB
168972011-07-14 Juanma Barranquero <lekktu@gmail.com>
16898
16899 * follow.el (follow-debug-message, follow-redisplay):
16900 * jka-cmpr-hook.el (with-auto-compression-mode):
16901 Fix typos in docstrings.
16902
15853710
LMI
169032011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16904
a28e4607
LMI
16905 * subr.el (with-silent-modifications): Clarify somewhat what the
16906 macro inhibits (bug#6525).
16907
15853710
LMI
16908 * simple.el (eval-expression): Note what it does if called
16909 interactively (bug#6495).
16910
bee0fcef
CY
169112011-07-13 Chong Yidong <cyd@stupidchicken.com>
16912
b796c9b7
SM
16913 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
16914 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
16915
16916 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
16917 Remove switch-to-buffer.
16918
58274504
LMI
169192011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16920
bd2fcc8d
LMI
16921 * files.el (make-directory): Clarify that an error will be raised
16922 if there's an error (bug#6397).
16923
0f04b32c
LMI
16924 * startup.el (initial-buffer-choice): Add `none' as a choice
16925 (bug#6234).
16926
465c5fc8
LMI
16927 * subr.el (add-hook): Clarify section about buffer-local hooks
16928 (bug#6218).
16929
58274504
LMI
16930 * dired.el (dired-flagged): Clarify doc string (bug#6117).
16931
bead9a43
JB
169322011-07-13 Juanma Barranquero <lekktu@gmail.com>
16933
16934 * tabify.el (untabify): Preserve the current column so that point
16935 doesn't move (bug#6032).
16936
3af98a7b
LMI
169372011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16938
b796c9b7
SM
16939 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
16940 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 16941
6240145a
GM
169422011-07-13 Glenn Morris <rgm@gnu.org>
16943
16944 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
16945 (dired-insert-directory): Give a message the first time
16946 if ls is found not to support --dired.
16947
1d8c2ccc
LMI
169482011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16949
16950 * simple.el (toggle-truncate-lines): Clarify what is toggled
16951 (bug#5580). Text by Drew Adams.
16952
5fc4038e
CY
169532011-07-13 Chong Yidong <cyd@stupidchicken.com>
16954
16955 * simple.el (blink-matching-open): Make the error message from the
16956 last change less verbose.
16957
bf6012e5
DN
169582011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
16959
16960 * font-lock.el (font-lock-comment-face): Use the high contrast
16961 "yellow" color for font-lock-comment-face on low color terminals
16962 using a dark background color (bug#4221).
16963
343c3b5a
LMI
169642011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16965
7e9505c5
LMI
16966 * dired.el (dired-insert-set-properties): Make the doc string
16967 reflect what it does now (bug#5325).
16968
c26fdcf5
LMI
16969 * simple.el (blink-matching-open): Say that we were unable to find
16970 the match within the limit, if we're limited (bug#5122).
16971
bb388cc5
LMI
16972 * international/mule-cmds.el (prefer-coding-system): Add an
16973 example (bug#4869).
16974
343c3b5a
LMI
16975 * progmodes/etags.el (tags-search): Document `file-list-form'
16976 (bug#4731).
16977
2a517d45
LM
169782011-07-13 Lawrence Mitchell <wence@gmx.li>
16979
16980 * net/browse-url.el (browse-url-default-browser)
16981 (browse-url-browser-function): Make the default browser choice a
16982 bit more logical (bug#4300). Also clean up the doc string.
16983
b6c78ef2
JB
169842011-07-13 Juanma Barranquero <lekktu@gmail.com>
16985
16986 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
16987 binary endings (bug#4440).
16988
1c4dd947
LMI
169892011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16990
a2014063
LMI
16991 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
16992 which can be pretty annoying (bug#8971).
16993
9c9c2d88
LMI
16994 * jka-compr.el (jka-compr-verbose): New variable, and use
16995 throughout (bug#8971).
16996
1c4dd947
LMI
16997 * info.el (Info-find-file): Fall back on the installation
16998 directory if we can't find the info node anywhere else.
16999
a1c9f41b
SO
170002011-07-13 Sergei Organov <osv@javad.com> (tiny change)
17001
17002 * vc/vc.el (vc-revert-file):
17003 Don't set file time-stamp in the past. (Bug#5181)
17004
536f3d36
LMI
170052011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
17006
7152b011
LMI
17007 * files.el (after-find-file): Give a better error message when
17008 trying to find a symlink that points to a file that doesn't exist
17009 (bug#4398).
17010
536f3d36
LMI
17011 * progmodes/cc-vars.el: Remove (probably) misleading comment
17012 (bug#4396).
17013
460c0fba
JB
170142011-07-12 Johan Bockgård <bojohan@gnu.org>
17015
17016 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
17017
7a6bda45
CY
170182011-07-12 Chong Yidong <cyd@stupidchicken.com>
17019
17020 * mouse-sel.el: Hack restoring functionality, while keeping
17021 compatibility with 2010-07-03 changes to mouse selection.
17022 (mouse-sel-primary-overlay): New var.
17023 (mouse-sel-selection-alist): Use it.
17024 (mouse-sel-mode): Doc fix; remove points that are default features
17025 of mouse.el.
17026
c79598ef
JB
170272011-07-12 Johan Bockgård <bojohan@gnu.org>
17028
17029 * progmodes/compile.el (compilation-error-regexp-alist-alist):
17030 Fix previous fix (bug#2490).
17031
ff8be6ef
RW
170322011-07-12 Roland Winkler <winkler@gnu.org>
17033
b796c9b7
SM
17034 * textmodes/bibtex.el (bibtex-initialize):
17035 Use pop-to-buffer-same-window.
ff8be6ef
RW
17036 (bibtex-search-entries): Fix interactive call.
17037
296ba3ee
LMI
170382011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
17039
f5242a02 17040 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
17041 Fontise bytecomp Error lines more correctly (bug#2490).
17042 Fix suggested by Johan Bockgård.
f5242a02 17043
296ba3ee
LMI
17044 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
17045
17046 * dired-x.el (dired-guess-default): Use `delete-dups'.
17047
f69fd0d2
CY
170482011-07-12 Chong Yidong <cyd@stupidchicken.com>
17049
17050 * dired.el (dired-mark-prompt):
17051 * dired-aux.el (dired-read-shell-command): Doc fix.
17052
eab5dc07
LMI
170532011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
17054
b796c9b7
SM
17055 * mail/sendmail.el (sendmail-query-once):
17056 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
17057 emacs -Q.
17058
17059 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
17060
eab5dc07
LMI
17061 * cus-edit.el (custom-file): Take an optional no-error variable.
17062 (customize-save-variable): Set the variable, and give a warning if
17063 running under "emacs -q".
17064
a1e65d42
JB
170652011-07-11 Juanma Barranquero <lekktu@gmail.com>
17066
17067 * loadhist.el (unload-feature-special-hooks):
17068 Add `auto-coding-functions', `fill-nobreak-predicate' and
17069 `find-directory-functions' (bug#5327).
17070
1d52da10
LMI
170712011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
17072
be958f1d
LMI
17073 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
17074
5bedb26c
LMI
17075 * cus-edit.el (custom-guess-name-alist): -alist variables should
17076 use the `alist' type (bug#3120). Suggested by Drew Adams.
17077
1d52da10
LMI
17078 * printing.el: Add documentation to all the `pr-toggle-' commands.
17079
cd394be1 170802011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
17081
17082 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
17083 backends where it makes sense (bug#2623).
17084
dcc88d8a
LMI
170852011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
17086
c3de9feb
LMI
17087 * dired-x.el (dired-guess-default): Remove duplicate shell command
17088 entries (bug#2028).
8a93078b 17089 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 17090 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 17091
dcc88d8a
LMI
17092 * subr.el (remove-duplicates): New conveniency function.
17093
505e3645
LMI
170942011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
17095
17096 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
17097 (bug#1526).
17098
170992011-07-10 Martin Rudalics <rudalics@gmx.at>
17100
17101 * window.el (display-buffer-normalize-default): Don't invert
17102 meaning of even-window-heights. Reported by Eli Zaretskii
17103 <eliz@gnu.org>.
17104
455e4fa1
BR
171052011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
17106
17107 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
17108
8e0bc3e9
CY
171092011-07-10 Chong Yidong <cyd@stupidchicken.com>
17110
17111 * window.el (display-buffer): Fix arguments to
17112 display-buffer-reuse-window in last change.
17113
fa7c3228
CY
17114 * faces.el (link): Use a less saturated blue on light backgrounds.
17115
17116 * startup.el (fancy-startup-text, fancy-about-text)
17117 (fancy-startup-tail): Use font-lock faces, for background safety.
17118
c0a7f300
BN
171192011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
17120
b796c9b7
SM
17121 * emulation/viper-cmd.el (viper-change-state-to-vi):
17122 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 17123
4dc2a129
MR
171242011-07-09 Martin Rudalics <rudalics@gmx.at>
17125
17126 * window.el (display-buffer-default-specifiers): Remove.
17127 (display-buffer-macro-specifiers): Remove default specifiers.
17128 (display-buffer-alist): Default to nil.
b796c9b7 17129 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
17130 (display-buffer-pop-up-window): Allow splitting internal
17131 windows. Check whether a live window was created.
17132 (display-buffer-other-window-means-other-frame)
17133 (display-buffer-normalize-arguments): Rename to
17134 display-buffer-normalize-argument and rewrite. Set the
17135 other-window specifier.
17136 (display-buffer-normalize-special): New function.
17137 (display-buffer-normalize-options): Rename to
17138 display-buffer-normalize-default and rewrite.
17139 (display-buffer-normalize-options-inhibit): Remove.
17140 (display-buffer-normalize-specifiers): Rewrite.
17141 (display-buffer): Process other-window specifier and call
17142 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
17143 more faithfully.
b796c9b7 17144 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 17145 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
17146 (display-buffer-in-window, display-buffer-alist-set):
17147 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
17148 <tassilo@member.fsf.org>.
17149
2d43b8c9
LL
171502011-07-09 Leo Liu <sdl.web@gmail.com>
17151
17152 * register.el (insert-register): Restore accidental change on
17153 2011-06-26. (Bug#9028)
17154
7f9b7c53
GM
171552011-07-09 Glenn Morris <rgm@gnu.org>
17156
17157 * subr.el (remq): Handle the empty list. (Bug#9024)
17158
f042cfd8
AS
171592011-07-08 Andreas Schwab <schwab@linux-m68k.org>
17160
17161 * mail/sendmail.el (send-mail-function): No longer delay custom
17162 initialization.
17163 * custom.el (custom-initialize-delay): Doc fix.
17164
856b2f11
SM
171652011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
17166
17167 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
17168
afae1d68
MA
171692011-07-08 Michael Albinus <michael.albinus@gmx.de>
17170
17171 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
17172 human-friendly prompt.
17173
0757af94
SM
171742011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
17175
17176 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
17177 provided by a particular plugin.
17178
d760b731
LMI
171792011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
17180
17181 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
17182 save customizations (with "emacs -Q"), just set the variable
17183 instead of erroring out.
17184
17185 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
17186
cd79ce90
JL
171872011-07-08 Juri Linkov <juri@jurta.org>
17188
17189 * arc-mode.el (archive-zip-expunge, archive-zip-update)
17190 (archive-zip-update-case): Use 7z if found by `executable-find'.
17191 The order of searching the available programs is the same as in
17192 `archive-zip-extract' (bug#8968).
17193
14cc04aa
CY
171942011-07-07 Chong Yidong <cyd@stupidchicken.com>
17195
17196 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
17197 (menu-bar-options-menu): Tweak descriptions.
17198
0a1848ec
LMI
171992011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
17200
17201 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
17202 menu items into verb phrases (bug#1421). Also refill to fit under
17203 80 columns.
17204
f5bd0689
CY
172052011-07-07 Chong Yidong <cyd@stupidchicken.com>
17206
538e85c6
CY
17207 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
17208 (Info-read-node-name): Doc fix (Bug#1084).
17209
f5bd0689
CY
17210 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
17211 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
17212 (end-of-sexp, beginning-of-sexp)
17213 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
17214 (forward-symbol, forward-same-syntax, word-at-point)
17215 (sentence-at-point): Doc fix (Bug#1144).
17216
56ec5115
LMI
172172011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
17218
f3f8e37f
LMI
17219 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
17220 should cover it (bug#1281).
17221
0757af94 17222 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 17223
e9fce1ac 17224 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
17225 negotiation fails, then possibly try again with a non-encrypted
17226 connection (bug#9017).
17227
56ec5115
LMI
17228 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
17229 be used.
17230
c2f9aec8
RS
172312011-07-07 Richard Stallman <rms@gnu.org>
17232
17233 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
17234 property, and handle its changed format.
17235 Look for the correct line number.
17236 Use file's line contents (but not past first =) to find
17237 correct line in message.
17238
ef7b981d 172392011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
17240
17241 * international/characters.el (build-unicode-category-table):
17242 Delete it.
0757af94 17243 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 17244
0757af94 17245 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
17246 to src/chartab.c.
17247 (get-char-code-property): Call unicode-property-table-internal to
17248 load a file. Call get-unicode-property-internal where necessary.
17249 (put-char-code-property): Call unicode-property-table-internal to
17250 load a file. Call put-unicode-property-internal where necessary.
17251 put-unicode-property-internal where necessary.
0757af94
SM
17252 (char-code-property-description):
17253 Call unicode-property-table-internal to load a file.
c805dec0
KH
17254
17255 * international/charprop.el:
17256 * international/uni-bidi.el:
17257 * international/uni-category.el:
17258 * international/uni-combining.el:
17259 * international/uni-comment.el:
17260 * international/uni-decimal.el:
17261 * international/uni-decomposition.el:
17262 * international/uni-digit.el:
17263 * international/uni-lowercase.el:
17264 * international/uni-mirrored.el:
17265 * international/uni-name.el:
17266 * international/uni-numeric.el:
17267 * international/uni-old-name.el:
17268 * international/uni-titlecase.el:
17269 * international/uni-uppercase.el: Regenerate.
17270
17271 * loadup.el: Load international/charprop.el before
17272 international/characters.
17273
e14b388a
CY
172742011-07-07 Chong Yidong <cyd@stupidchicken.com>
17275
17276 * window.el (next-buffer, previous-buffer): Signal an error if
17277 called from a minibuffer window.
17278
17279 * bindings.el: Revert 2011-07-04 change.
17280
354cf0ba
RS
172812011-07-06 Richard Stallman <rms@gnu.org>
17282
17283 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
17284 (rmail-mime-insert-bulk, rmail-mime-insert-text):
17285 Treat markers like ints.
17286 (rmail-mime-entity): Doc fix.
17287
a48868a7
LMI
172882011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
17289
4906cd3d
LMI
17290 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
17291 defcustom again for backwards compatibility.
17292
e0457abe
LMI
17293 * simple.el (shell-command-on-region): Fill.
17294
d67f7e1f
LMI
17295 * dired-aux.el (dired-kill-line): Add a doc string.
17296
fe204702
LMI
17297 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
17298 to "\\sw\\|\\s_" (bug#358).
17299
a48868a7
LMI
17300 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
17301 (dired-unmark-backward): Ditto.
17302 (dired-flag-backup-files): Ditto.
17303
17304 * dired-x.el (dired-mark-sexp): Ditto.
17305
aa8a705c
RS
173062011-07-06 Richard Stallman <rms@gnu.org>
17307
17308 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
17309 (rmail-mime-entity): New arg TRUNCATED.
17310 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
17311 New functions.
17312 (rmail-mime-save): Warn if entity is truncated.
17313 (rmail-mime-toggle-hidden): Likewise, for showing.
17314 (rmail-mime-process-multipart): Record when an entity is truncated.
17315
a9a936b9
RS
17316 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
17317 if ENTITY is a string.
17318
1f2b92cb
LMI
173192011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
17320
f4f73198 17321 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
17322 of faces when `M-C-x'-ing their definitions (bug#8378).
17323 Also clean up the code slightly.
f4f73198 17324
12b16734 17325 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 17326 because that makes the colors go away.
12b16734 17327
f0691d22
LMI
17328 * mail/sendmail.el (send-mail-function): Change the default to
17329 `sendmail-query-once'.
9e87df06 17330 (sendmail-query-once): Add an autoload cookie.
f0691d22 17331
1f2b92cb
LMI
17332 * net/network-stream.el (network-stream-open-starttls): Try using
17333 a plain connection even if the server offered STARTTLS, and we
17334 kinda wanted to use it, if Emacs doesn't have any STARTTLS
17335 capability. This should make smtpmail.el work in slightly more
17336 configurations.
17337
1cdd2a1b
MA
173382011-07-06 Michael Albinus <michael.albinus@gmx.de>
17339
17340 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
17341 New defun.
17342 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
17343
fbcc67e2
MM
173442011-07-06 Michael R. Mauger <mmaug@yahoo.com>
17345
17346 * progmodes/sql.el: Version 3.0
0757af94 17347 (sql-product-alist): Add product :completion-object,
fbcc67e2 17348 :completion-column, and :statement attributes.
0757af94 17349 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 17350 (sql-mode-syntax-table): Mark all punctuation.
0757af94 17351 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
17352 ansi keywords.
17353 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 17354 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
17355 (sql-oracle-show-reserved-words): New function for development.
17356 (sql-product-font-lock): Simplify for source code buffers.
17357 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
17358 New functions.
17359 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
17360 (sql-mode-map): Add statement movement functions.
17361 (sql-ansi-statement-starters, sql-oracle-statement-starters):
17362 New variable.
fbcc67e2
MM
17363 (sql-statement-regexp, sql-beginning-of-statement)
17364 (sql-end-of-statement, sql-signum): New functions.
0757af94 17365 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
17366 (sql-show-sqli-buffer): Bug fix.
17367 (sql-interactive-mode): Store connection data as buffer local.
0757af94 17368 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
17369 with sql-interactive-mode.
17370 (sql-save-connection): Save buffer local settings.
0757af94 17371 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
17372 (sql-product-interactive): Bug fix.
17373 (sql-preoutput-hold): New variable.
17374 (sql-interactive-remove-continuation-prompt): Bug fixes.
17375 (sql-debug-redirect): New variable.
17376 (sql-str-literal): New function.
17377 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 17378 Redesign.
fbcc67e2
MM
17379 (sql-oracle-save-settings, sql-oracle-restore-settings)
17380 (sql-oracle-list-all, sql-oracle-list-table): New functions.
17381 (sql-completion-object, sql-completion-column)
17382 (sql-completion-sqlbuf): New variables.
17383 (sql-build-completions-1, sql-build-completions)
17384 (sql-try-completion): New functions.
17385 (sql-read-table-name): Use them.
17386 (sql-contains-names): New buffer local variable.
17387 (sql-list-all, sql-list-table): Use it.
17388 (sql-oracle-completion-types): New variable.
17389 (sql-oracle-completion-object, sql-sqlite-completion-object)
17390 (sql-postgres-completion-object): New functions.
17391
d4eaeab1
GM
173922011-07-06 Glenn Morris <rgm@gnu.org>
17393
17394 * window.el (pop-to-buffer): Doc fix.
17395
322b7dab 173962011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
17397
17398 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
17399
322b7dab 174002011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 17401
322b7dab 17402 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 17403
322b7dab 17404 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 17405
605dd5bf
CY
174062011-07-05 Chong Yidong <cyd@stupidchicken.com>
17407
17408 * button.el (button): Inherit from link face. Suggested by Dan
17409 Nicolaescu.
17410
7dbfa719
SM
174112011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
17412
3db614b0
SM
17413 * progmodes/gdb-mi.el: Fit in 80 columns.
17414 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
17415 switch-to-buffer.
17416
7dbfa719
SM
17417 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
17418 if imenu is simply not configured (bug#8941).
17419
919d884a
KM
174202011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
17421
17422 * allout.el (allout-post-undo-hook): New allout outline-change
17423 event hook to signal undo activity.
17424 (allout-post-command-business): Run allout-post-undo-hook if an
17425 undo just occurred.
7dbfa719
SM
17426 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
17427 * allout-widgets.el (allout-widgets-after-undo-function):
17428 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
17429 in the vicinity of an undo.
17430 (allout-widgets-mode): Include allout-widgets-after-undo-function
17431 on the new allout-post-undo-hook.
17432
450a0f09
SM
174332011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
17434
17435 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
17436 Let define-derived-mode define it.
17437 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
17438 cycles of abbrev-table inheritance (bug#8998).
17439
2de69e00
RW
174402011-07-05 Roland Winkler <winkler@gnu.org>
17441
17442 * textmodes/bibtex.el: Add support for biblatex.
17443 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
17444 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
17445 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
17446 (bibtex-entry-alist, bibtex-field-alist): New variables.
17447 (bibtex-entry-field-alist): Obsolete alias for
17448 bibtex-BibTeX-entry-alist.
17449 (bibtex-entry-alist, bibtex-field-alist): New widgets.
17450 (bibtex-set-dialect): New command.
17451 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
17452 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
17453 Bind via bibtex-set-dialect.
2de69e00
RW
17454 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
17455 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
17456 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
17457 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
17458 Define via bibtex-set-dialect.
450a0f09
SM
17459 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
17460 Obey bibtex-no-opt-remove-re.
2de69e00
RW
17461 (bibtex-vec-push, bibtex-vec-incr): New functions.
17462 (bibtex-format-entry, bibtex-field-list)
17463 (bibtex-print-help-message, bibtex-validate)
17464 (bibtex-search-entries): Use new format of bibtex-entry-alist.
17465
2dcdbdd9
SM
174662011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
17467
17468 * progmodes/compile.el (compilation-goto-locus):
17469 * net/tramp-cmds.el (tramp-append-tramp-buffers):
17470 * bs.el (bs-cycle-next, bs-cycle-previous):
17471 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
17472 * bindings.el (mode-line-other-buffer):
17473 * autoinsert.el (auto-insert):
17474 * arc-mode.el (archive-extract):
17475 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
17476
b27640fe
JB
174772011-07-05 Juanma Barranquero <lekktu@gmail.com>
17478
17479 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
17480 Fix check of `emacs-lock-unlockable-modes'.
17481 Coerce true values of `emacs-lock--try-unlocking' to t.
17482
53bbe3ad
JB
174832011-07-05 Juanma Barranquero <lekktu@gmail.com>
17484
17485 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
17486 * emacs-lock.el: New file.
17487
1d3cdbc7
JD
174882011-07-05 Julien Danjou <julien@danjou.info>
17489
17490 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
17491 than `boundp' to check if face is set.
17492
9173deec
JB
174932011-07-05 Juanma Barranquero <lekktu@gmail.com>
17494
17495 * register.el (registerv-make):
17496 * window.el (window-min-height): Fix typos in docstrings.
17497
869795d6
JD
174982011-07-05 Jan Djärv <jan.h.d@swipnet.se>
17499
9173deec 17500 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
17501 Update doc string.
17502
b768cdcd
JB
175032011-07-04 Juanma Barranquero <lekktu@gmail.com>
17504
17505 * server.el (server-execute): Catch quit and call
17506 `server-return-error' to pass the error back to emacsclient and
17507 close the connection (bug#8942).
17508
13aa217b
KM
175092011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
17510
17511 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
17512 insecure exception for current topic. Also note that auto-saves
17513 are handled differently.
17514
5d3385a0 17515 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
17516 State variables for tracking auto-save inhibition situation.
17517
17518 (allout-write-contents-hook-handler): Rename from
17519 'allout-write-file-hook-handler', and describe how it depends on
17520 write-contents-functions sensitivity to non-nil value to prevent
17521 file write.
17522
17523 (allout-auto-save-hook-handler): Remove. auto-save does not check
17524 this in individual buffers, only in the starting buffer, so this
17525 is not the right way for us to inhibit auto-save in a buffer
17526 according to its condition.
17527
17528 (allout-mode): Use new allout-write-contents-hook-handler, and
17529 only with write-contents-functions. Remove auto-save provisions -
17530 they're implemented elsewhere.
17531
17532 (allout-before-change-handler): If undo is in progress, note that
17533 for attention of allout-post-command-business.
17534
17535 (allout-post-command-business): If the command we're following was
17536 an undo, check for change in the status of encrypted items and
17537 adjust auto-save inhibitions accordingly.
17538
17539 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
17540 according to whether there are or aren't any plain-text topics
17541 pending encryption.
17542
2dcdbdd9 17543 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
17544 Adjust buffer-saved-size and some allout state to inhibit auto-saves
17545 if there are plain-text topics pending encryption.
13aa217b
KM
17546
17547 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
17548 buffer-saved-size and some allout state to not inhibit auto-saves
17549 if there are no longer any plain-text topics pending encryption.
17550
0757af94
SM
17551 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
17552 No longer provide for exemption of the current topic.
13aa217b 17553
ac89b32c
JL
175542011-07-04 Juri Linkov <juri@jurta.org>
17555
17556 Add 7z operations to delete and save changed members (bug#8968).
17557 * arc-mode.el (archive-7z-expunge, archive-7z-update):
17558 New defcustoms.
17559 (archive-7z-write-file-member): New function.
17560 (archive-7z-summarize): Fix the number of dashes in the
17561 listing output.
17562
8fa39615
SM
175632011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
17564
17565 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
17566 (bug#8958).
17567
2f11b3f1
CY
175682011-07-04 Chong Yidong <cyd@stupidchicken.com>
17569
d66fef2b
CY
17570 * bindings.el: Ignore next-buffer and previous-buffer in
17571 minibuffer-local-map.
17572
2f11b3f1
CY
17573 * font-lock.el (font-lock-builtin-face): Change light background
17574 color to dark slate blue (Bug#6693).
17575
f932a347
WD
175762011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
17577
17578 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
17579
c8af70e1
SM
175802011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
17581
17582 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
17583 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
17584 Add switch-to-buffer.
17585
f158badc
LMI
175862011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
17587
17588 * isearch.el (isearch-search-fun-function): Clarify further the
17589 meaning of the function returned.
17590
6d95bd46
MA
175912011-07-04 Michael Albinus <michael.albinus@gmx.de>
17592
17593 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
17594
17595 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
17596 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
17597 Use it.
17598 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
17599 `tramp-default-remote-path' does not exist.
17600 (tramp-send-command-and-read): New optional argument NOERROR.
17601 (tramp-open-connection-setup-interactive-shell)
17602 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
17603 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
17604 (tramp-process-sentinel): Flush also process' connection property.
17605 (tramp-sh-handle-start-file-process): Do not set process
17606 sentinel. It is done now ...
17607 (tramp-maybe-open-connection): ... here. (Bug#8929)
17608
909e6b67
MK
176092011-07-04 MON KEY <monkey@sandpframing.com>
17610
17611 * play/animate.el (animate-string): Doc fixes and allow changing
17612 the buffer name (bug#5417).
17613
176142011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
17615
c8af70e1 17616 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 17617
f34755dc
PE
176182011-07-04 Paul Eggert <eggert@cs.ucla.edu>
17619
396cec72
PE
17620 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
17621 This is simpler and helps future-proof the code.
17622 (timer-until): Use time-subtract and float-time.
08235028 17623 (timer--time-less-p): Use time-less-p.
f34755dc 17624
56e6cc31
JB
176252011-07-04 Juanma Barranquero <lekktu@gmail.com>
17626
3abb79e5
JB
17627 * type-break.el (timep): Use the value of `float-time' to avoid a
17628 byte-compiler warning.
17629
56e6cc31
JB
17630 * server.el (server-eval-and-print): Return any result, even nil.
17631
7b9430b4
PE
176322011-07-03 Paul Eggert <eggert@cs.ucla.edu>
17633
17634 * type-break.el: Accept time formats that the builtins accept.
17635 (timep, type-break-time-difference): Accept any format that
17636 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
17637 This is simpler and helps future-proof the code.
17638 (type-break-time-difference): Round rather than ignoring
17639 subseconds components.
17640
3034e9e7
LMI
176412011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17642
17643 * info.el (Info-apropos-matches): Make non-interactive, since it
17644 doesn't seem to do anything useful as a command (bug#8829).
17645
1485f4c0
CY
176462011-07-03 Chong Yidong <cyd@stupidchicken.com>
17647
17648 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 17649 Move from faces.el.
1485f4c0
CY
17650 (frame-default-terminal-background): New function.
17651
17652 * custom.el (custom-push-theme): Don't record faces in `changed'
17653 theme; this doesn't work correctly for per-frame face settings.
17654 (disable-theme): Use face-set-after-frame-default to reset faces.
17655 (custom--frame-color-default): New function.
17656
9fa3dd45
LMI
176572011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17658
c8af70e1 17659 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
17660 (bug#8769).
17661
6cbbc20c
KR
176622011-03-29 Kevin Ryde <user42@zip.com.au>
17663
17664 * progmodes/compile.el (compilation-error-regexp-alist-alist):
17665 `perl-Test2' extend to match possible "fail #N" rep count
17666 (bug#8377).
17667
c7f98048
LMI
176682011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17669
65676592
LMI
17670 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
17671 `smtpmail-via-smtp' now returns the error instead of nil.
17672
c7f98048
LMI
17673 * isearch.el (isearch-search-fun-function): Clarify the doc string
17674 (bug#8101).
17675
56e6cc31 176762011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
17677
17678 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
17679 unnecessary spaces (bug#8987).
17680
2b216704
LMI
176812011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17682
17683 * net/network-stream.el (open-network-stream): Use the
17684 :end-of-capability command thoughout.
17685
176862011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
17687
17688 * net/network-stream.el (open-network-stream): Add the
17689 :end-of-capability command parameter, used by pop3.el.
17690
36adf6ce
LMI
176912011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17692
1ca0da0e
LMI
17693 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
17694
fc00f69c
LMI
17695 * fringe.el (fringe-query-style): Remove redundant text " (type ?
17696 for list)" (bug#6475).
17697
28fd8759 17698 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 17699 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
17700 an error (bug#6297).
17701
0dd8b6da
LMI
17702 * man.el (Man-reference-regexp): Allow matching possible
17703 word-wrapped references (bug#6289).
17704
ce1438d6
LMI
17705 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
17706 for consistency with the other vc buffers (bug#6197).
17707 (vc-checkin): Ditto.
17708
17709 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
17710
36adf6ce
LMI
17711 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
17712
e83cc1f7
LMI
177132011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
17714
8a20ca4c
LMI
17715 * custom.el (defcustom): Clarify that :set is only used in the
17716 Customize user interface (bug#6089).
17717
83319045
LMI
17718 * progmodes/flymake.el (flymake-mode): If the buffer isn't
17719 associated with a file, refuse to run instead of erroring out
17720 (bug#6084).
17721
a8392169
LMI
17722 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
17723 the doc string, since it appears that using `fill-column' always
17724 controls the width (bug#7845).
17725
e83cc1f7
LMI
17726 * simple.el (shell-command-on-region): Say where the error output
17727 went if `shell-command-default-error-buffer' is set (bug#6857).
17728
e47ca23b
KM
177292011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
17730
17731 * allout.el (allout-yank-processing): Adjust cursor position for
17732 backwards-deleted space.
17733
17734 (allout-rebullet-heading): Register changes with
17735 allout-exposure-changed-hook, so the modified topic is properly
17736 decorated.
17737
5cf56143
LMI
177382011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
17739
08549772
LMI
17740 * minibuffer.el (completion-in-region): Document PREDICATE
17741 (bug#7136).
17742
48e96771
LMI
17743 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
17744 of keyword/argument pairs (bug#6904).
17745
c8af70e1
SM
17746 * replace.el (multi-occur):
17747 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 17748
e17d05e2
LMI
177492011-07-02 Drew Adams <drew.adams@oracle.com>
17750
17751 * dired.el (dired-mark-if): Make the message about whether it's
17752 marking or unmarking clearer (bug#8523).
17753
063b0e45
LMI
177542011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
17755
17756 * disp-table.el (display-table-print-array): New function.
17757 (describe-display-table): Use it to print the vectors more pretty
17758 (Bug#8859).
17759
28545e04
MR
177602011-07-02 Martin Rudalics <rudalics@gmx.at>
17761
17762 * window.el (window-state-get-1): Don't assign clone numbers.
17763 Add clone-of item to list of window parameters.
17764 (window-state-put-2): Don't process clone numbers.
17765 (display-buffer-alist): Fix doc-string.
17766
3349e122
SM
177672011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
17768
17769 * subr.el (remq): Don't allocate if it's not needed.
17770 (keymap--menu-item-binding, keymap--menu-item-with-binding)
17771 (keymap--merge-bindings): New functions.
17772 (keymap-canonicalize): Use them to refine the canonicalization.
17773 * minibuffer.el (minibuffer-local-completion-map)
17774 (minibuffer-local-must-match-map): Move initialization from C.
17775 (minibuffer-local-filename-completion-map): Move initialization from C;
17776 don't inherit from anything here.
17777 (minibuffer-local-filename-must-match-map): Make obsolete.
17778 (completing-read-default): Use make-composed-keymap to combine
17779 minibuffer-local-filename-completion-map with either
17780 minibuffer-local-must-match-map or
17781 minibuffer-local-filename-completion-map.
17782
d224ac83
GM
177832011-07-01 Glenn Morris <rgm@gnu.org>
17784
3de63bf8
GM
17785 * type-break.el (type-break-time-sum): Use dolist.
17786
d224ac83
GM
17787 * textmodes/flyspell.el (flyspell-word-search-backward):
17788 Replace CL function.
17789
1a1e3f32
SM
177902011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
17791
fe3f64d5
SM
17792 * mouse.el (mouse--strip-first-event): New function.
17793 (function-key-map): Use it to map fringe clicks to normal clicks
17794 by default.
17795
eb604e34
SM
17796 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
17797 (vc-bzr-revision-completion-table): Add support for annotate and date.
17798
1a1e3f32
SM
17799 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
17800 inherit from parent.
17801
5bd35902
LMI
178022011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
17803
ace6c69c 17804 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 17805 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 17806
191e2bed
LMI
17807 * dired.el (dired-mode): Fix up the doc string as suggested by
17808 Drew Adams (bug#8817).
17809
5bd35902
LMI
17810 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
17811 cookie, since the manual says that it should be possible to add
17812 this function to `find-file-hook' (bug#8709).
17813
eee8207a
TZ
178142011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
17815
17816 * progmodes/cfengine.el: Moved all cfengine3.el functionality
17817 here. Noted Ted Zlatanov as the maintainer.
17818 (cfengine-common-settings, cfengine-common-syntax): New functions
17819 to set up common things between `cfengine-mode' and
17820 `cfengine3-mode'.
17821 (cfengine3-mode): New mode.
17822 (cfengine3-defuns cfengine3-defuns-regex
17823 (cfengine3-class-selector-regex cfengine3-category-regex)
17824 (cfengine3-vartypes cfengine3-font-lock-keywords)
17825 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 17826 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 17827
36b148cf
MA
178282011-07-01 Michael Albinus <michael.albinus@gmx.de>
17829
17830 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
17831
17832 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
17833
0bf4ba9a
MR
178342011-07-01 Martin Rudalics <rudalics@gmx.at>
17835
17836 * window.el (same-window-buffer-names, same-window-regexps)
17837 (same-window-p, special-display-frame-alist)
17838 (special-display-popup-frame, special-display-function)
17839 (special-display-buffer-names, special-display-regexps)
17840 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
17841 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
17842 (split-window-preferred-function, split-height-threshold)
17843 (split-width-threshold, even-window-heights)
17844 (display-buffer-mark-dedicated, window-splittable-p)
17845 (split-window-sensibly, window-safely-shrinkable-p):
17846 Un-obsolete.
17847 (display-buffer): Don't spread args with function specifier
17848 because special-display-popup-frame won't like it.
17849
35837f51
PE
178502011-07-01 Paul Eggert <eggert@cs.ucla.edu>
17851
d0672f86
PE
17852 Time-stamp simplifications and fixes.
17853 These improve accuracy slightly, and future-proof the code
17854 against some potential changes to current-time format.
17855
b9444d97
PE
17856 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
17857 by using time-since and float-time.
17858
0ef923dc
PE
17859 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
17860 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
17861 + NNN microseconds".
17862
2f81380d
PE
17863 * type-break.el (type-break-time-sum): Rewrite using time-add.
17864
845b5c3e
PE
17865 * play/hanoi.el (hanoi-current-time-float): Remove.
17866 All uses replaced by float-time.
17867
ee6f1be0
PE
17868 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
17869 This yields a more-accurate answer.
17870 (rng-time-to-float): Remove; no longer needed.
17871
fe955043
PE
17872 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
17873
5777162a
PE
17874 * calendar/timeclock.el (timeclock-seconds-to-time):
17875 Defalias to seconds-to-time, since they're the same thing.
17876
3103f8b6 17877 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 17878 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
17879 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
17880
0e61a35f
SM
178812011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
17882
17883 * window.el (bury-buffer): Don't iconify the only frame.
17884 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
17885 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
17886
ddd63a1e
CY
178872011-07-01 Chong Yidong <cyd@stupidchicken.com>
17888
0e61a35f
SM
17889 * eshell/em-smart.el (eshell-smart-display-navigate-list):
17890 Add mouse-yank-primary.
ddd63a1e 17891
055f4923
TZ
178922011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
17893
17894 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
17895
6a2fb145
SM
178962011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
17897
17898 * emacs-lisp/find-func.el (find-library--load-name): New fun.
17899 (find-library-name): Use it to find relative load names when provided
17900 absolute file name (bug#8803).
17901
fd4983f2
LMI
179022011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
17903
887d14ad
LMI
17904 * textmodes/flyspell.el (flyspell-word): Consider words that
17905 differ only in case as potential doublons (bug#5687).
17906
c53dc7fc
LMI
17907 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
17908 Remove two rather uninteresting debugging-like messages to make
17909 debbugs.el more silent.
17910
fd4983f2
LMI
17911 * comint.el (comint-password-prompt-regexp): Accept "Response" as
17912 a password-like phrase.
17913
7a71b18d 179142011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
17915
17916 * progmodes/cc-guess.el: New file.
17917
6a2fb145 17918 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
17919
17920 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
17921 derived from `c-basic-common-init'.
17922
17923 * progmodes/cc-mode.el (top-level): Require cc-guess.
17924 (c-basic-common-init): Use `cc-choose-style-for-mode'.
17925
1fa280a3
LM
179262011-06-30 Lawrence Mitchell <wence@gmx.li>
17927
17928 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
17929
e6597158
AM
179302011-06-30 Alan Mackenzie <acm@muc.de>
17931
1fa280a3
LM
17932 * progmodes/cc-engine.el (c-guess-continued-construct):
17933 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
17934 lock is disabled. Name this case as "CASE G".
17935
68ba37fb
KM
179362011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
17937
17938 * allout.el (allout-yank-processing): Fix injection of extra space
17939 between bullet and non-whitespace character in first topic when
17940 pasting, ensuring that the actual spacing in the pasted topic
17941 following the bullet char is preserved. This extra space was
17942 causing pasted encrypted topics to get a decrypted status even
17943 when the content was actually still encrypted. Now the decryption
17944 status from before the paste is preserved.
17945
17946 (allout-flag-region): Set all allout overlays so they evaporate
17947 when reduced to zero length (evanescent), to prevent overlay
17948 leakage.
17949
887a0b34
GM
179502011-06-30 Glenn Morris <rgm@gnu.org>
17951
94b9acce
GM
17952 * w32-fns.el (w32-charset-info-alist): Declare.
17953
1d9b46d4
GM
17954 * find-dired.el (find-grep-options): Simplify.
17955
cc232200
GM
17956 * term/ns-win.el (ns-set-resource): Declare.
17957
28e77c46
GM
17958 * ses.el (row, col): Declare dynamic variables honestly.
17959
887a0b34
GM
17960 * textmodes/reftex-parse.el (index-tags): Declare.
17961
658d8eb8
CY
179622011-06-30 Chong Yidong <cyd@stupidchicken.com>
17963
17964 * cus-edit.el (customize-push-and-save): New function.
17965
17966 * files.el (hack-local-variables-confirm): Use it.
17967
1fa280a3
LM
17968 * custom.el (load-theme): New arg NO-CONFIRM.
17969 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
17970 (custom-enabled-themes): Doc fix.
17971
17972 * cus-theme.el (customize-create-theme)
17973 (custom-theme-merge-theme): Callers to load-theme changed.
17974
bb617717
LMI
179752011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
17976
d61bdd5d
LMI
17977 * thingatpt.el (thing-at-point-short-url-regexp): Require that
17978 short URLs have at least one dot in them (bug #7614).
17979
bb617717
LMI
17980 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
17981 nil, because using a pty is apparently too slow (bug #895).
17982
2f31f37a
LMI
179832011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
17984
17985 * mail/sendmail.el (sendmail-query-once): New function.
17986 (sendmail-query-once-function): New variable.
17987
3076b24e
GM
179882011-06-29 Glenn Morris <rgm@gnu.org>
17989
faf2a174
GM
17990 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
17991
3076b24e
GM
17992 * ses.el (top-level): Require cl when compiling.
17993 (ses-set-localvars): Fix error statement.
17994 Call it at compile time to silence a storm of warnings.
17995
5386012d
MR
179962011-06-29 Martin Rudalics <rudalics@gmx.at>
17997
17998 * window.el (normalize-live-buffer): Rename to
17999 window-normalize-buffer.
18000 (normalize-live-frame): Rename to window-normalize-frame.
18001 (normalize-any-window): Rename to window-normalize-any-window.
18002 (normalize-live-window): Rename to window-normalize-live-window.
18003 (make-window-atom): Rename to window-make-atom.
18004 (window-resize-reset): Rename to window--resize-reset.
18005 (window-resize-reset-1): Rename to window--resize-reset-1.
18006 (resize-mini-window): Rename to window--resize-mini-window.
18007 (resize-subwindows-skip-p): Rename to
18008 window--resize-subwindows-skip-p.
18009 (resize-subwindows-normal): Rename to
18010 window--resize-subwindows-normal.
18011 (resize-subwindows): Rename to window--resize-subwindows.
18012 (resize-other-windows): Rename to window--resize-siblings.
18013 (resize-this-window): Rename to window--resize-this-window.
18014 (resize-root-window): Rename to window--resize-root-window.
18015 (resize-root-window-vertically): Rename to
18016 window--resize-root-window-vertically.
18017 (normalize-buffer-to-display): Rename to
18018 window-normalize-buffer-to-display.
18019 (normalize-buffer-to-switch-to): Rename to
18020 window-normalize-buffer-to-switch-to.
18021 Correspondingly update all callers of the functions listed
18022 above.
18023 (display-buffer-alist, display-buffer-normalize-arguments)
18024 (display-buffer-normalize-options, display-buffer)
18025 (display-buffer-alist-set): Use "function" instead of
18026 "fun-with-args".
18027
1176868d
CY
180282011-06-28 Chong Yidong <cyd@stupidchicken.com>
18029
18030 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
18031 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
18032 debbugs.gnu.org. Mention acknowledgment email.
18033
20a7a65f
LMI
180342011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
18035
18036 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
18037 buffer multibyteness, since it shouldn't matter.
18038
5f45cca5
MR
180392011-06-28 Martin Rudalics <rudalics@gmx.at>
18040
18041 * window.el (display-buffer-in-side-window): Handle dedicated
18042 windows as in display-buffer-reuse-window.
18043 (display-buffer-normalize-alist): Use value of override
18044 specifier.
18045 (display-buffer-normalize-specifiers): Use value of
18046 other-window-means-other-frame specifier.
18047 (display-buffer-alist): Rewrite some texts in widgets.
18048 (display-buffer): Spread arguments when calling function
18049 specified by fun-with-args.
18050
ad85fe1f
DD
180512011-06-28 Deniz Dogan <deniz@dogan.se>
18052
1fa280a3
LM
18053 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
18054 Unnest `let'.
da68c4c8 18055
ad85fe1f
DD
18056 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
18057 selectors (Bug#5732).
ec49bd31 18058 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 18059
a08cc025
JA
180602011-06-27 Jari Aalto <jari.aalto@cante.net>
18061
18062 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
18063 (eshell-ls-date-format): New defcustom.
18064 (eshell-ls-file): Use it.
18065
e2b551c5
SM
180662011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
18067
18068 * help-fns.el (describe-variable): Fix message for terminal-local vars.
18069
8982b231
KY
180702011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
18071
18072 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
18073 (ange-ftp-make-tmp-name): New arg.
18074 (ange-ftp-file-local-copy): Use it.
18075
36c9fa27
J
180762011-06-27 Jambunathan K <kjambunathan@gmail.com>
18077
18078 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
18079 no-conversion (Bug#8870).
18080
d68443dc
MR
180812011-06-27 Martin Rudalics <rudalics@gmx.at>
18082
18083 * window.el (window-right, window-left, window-child)
18084 (window-child-count, window-last-child)
18085 (window-iso-combination-p, walk-window-tree-1)
18086 (window-atom-check-1, window-tree-1, delete-window)
18087 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
18088 new naming conventions - window-vchild, window-hchild,
18089 window-next and window-prev are now called window-top-child,
18090 window-left-child, window-next-sibling and window-prev-sibling
18091 respectively.
d615d6d2
MR
18092 (resize-window-reset): Rename to window-resize-reset.
18093 (resize-window-reset-1): Rename to window-resize-reset-1.
18094 (resize-window): Rename to window-resize.
18095 (window-min-height, window-min-width)
18096 (resize-mini-window, resize-this-window, resize-root-window)
18097 (resize-root-window-vertically, adjust-window-trailing-edge)
18098 (enlarge-window, shrink-window, maximize-window)
18099 (minimize-window, delete-window, quit-restore-window)
18100 (split-window, balance-windows, balance-windows-area-adjust)
18101 (balance-windows-area, window-state-put-2)
18102 (display-buffer-even-window-sizes, display-buffer-set-height)
18103 (display-buffer-set-width, set-window-text-height)
18104 (fit-window-to-buffer): Rename all "resize-window" prefixed
18105 calls to use the "window-resize" prefix convention.
18106 (display-buffer-alist): Fix symbol for label specifier.
18107 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
18108 corresponding specifier.
18109 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 18110
b6458526
VB
181112011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
18112
18113 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
18114 convention.
18115 (ses-call-printer): Does not pass an empty string to formatter when the
18116 cell is empty to keep from barking printer Calc math-format-value.
18117
d31fd9ac
RS
181182011-06-27 Richard Stallman <rms@gnu.org>
18119
43d5bf84
RS
18120 * battery.el (battery-mode-line-limit): New variable.
18121 (battery-update): Handle it.
18122
d31fd9ac
RS
18123 * mail/rmailmm.el (rmail-mime-process-multipart):
18124 Handle truncated messages.
18125
819a6054
GM
181262011-06-27 Glenn Morris <rgm@gnu.org>
18127
18128 * progmodes/flymake.el (flymake-err-line-patterns):
18129 Allow for column numbers in the ant/javac pattern. (Bug#8866)
18130
cedc73f2
VB
181312011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
18132
819a6054 18133 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
18134 (ses--clean-!, ses--clean-_): New functions.
18135 (ses-range): Add configurability of readout order, and conversion
18136 to Calc vector.
18137
5e5d49b6
VB
18138 * ses.el (ses-repair-cell-reference-all): New function.
18139 (ses-cell-symbol): Set macro as safe, so that it can be used in
18140 formulas.
18141
56e6cc31 18142 * ses.el: Update cycle detection algorithm.
90ca8b49 18143 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 18144 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
18145 (ses-set-localvars): New function.
18146 (ses-make-cell): Add property-list as a cell element.
18147 (ses-cell-property-get-fun, ses-cell-property-get)
18148 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
18149 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
18150 New functions.
90ca8b49
VB
18151 (ses-cell-property-set, ses-cell-property-pop)
18152 (ses-cell-property-get-handle): New macro.
18153 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
18154 New aliases, used for code readability.
18155 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
18156 cycle detection.
18157 (ses-self-reference-early-detection): New defcustom.
fac916bf 18158 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
18159 (ses-mode): Use ses-set-localvars.
18160 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
18161 before lauching the update processing.
18162 (ses-initialize-Dijkstra-attempt): New function.
18163 (ses-recalculate-cell): Update for cycle detection based on
18164 Dijkstra algorithm.
18165
2bb63e81
VB
18166 * ses.el: Fix commenting and indenting convention.
18167
c9d29fb8
SM
181682011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
18169
18170 * bs.el (bs-cycle-next): Complete last change.
18171
d8e4b68b
JB
181722011-06-27 Drew Adams <drew.adams@oracle.com>
18173
18174 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
18175
40098786
LMI
181762011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
18177
c9d29fb8
SM
18178 * net/network-stream.el (network-stream-open-starttls):
18179 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
18180 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
18181
40098786
LMI
18182 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
18183 to binary to possibly avoid line encoding issues on Windows (among
18184 other things).
18185
468d09d4
LMI
181862011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
18187
18188 * net/network-stream.el (open-network-stream): Return an :error
18189 saying what the problem was, if possible.
18190
18191 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
18192 server.
18193
18194 * net/network-stream.el (network-stream-open-starttls): If we
18195 wanted to use STARTTLS, and the server offered it, but we weren't
18196 able to because we had no STARTTLS support, then close the connection.
18197 (open-network-stream): Return an :error element, if present.
18198
16f07dd7
CY
181992011-06-26 Chong Yidong <cyd@stupidchicken.com>
18200
88821ca0
CY
18201 * hl-line.el (hl-line-sticky-flag): Doc fix.
18202 (global-hl-line-sticky-flag): New option (Bug#8323).
18203 (global-hl-line-highlight): Obey it.
18204
16f07dd7
CY
18205 * vc/vc.el (vc-revert-show-diff): Default to t.
18206
6b5ccddf
KM
182072011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
18208
c9d29fb8
SM
18209 * allout-widgets.el (allout-widgets-post-command-business):
18210 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
18211 undecorated when an isearch is continued past, and isearch
18212 automatically collapses them. This leads to "widget leaks", where
18213 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
18214 hidden widgets can slow down cursor travel, substantially.
18215 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
18216 so we're doing without this nicety.
18217
18218 (allout-widgets-tally-string): Don't try to do a hash-table-count
18219 of allout-widgets-tally when it's nil. This eliminates spurious "Error
18220 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
18221 *Messages* when allout-widgets-maintain-tally is t.
18222
355f2e07
MR
182232011-06-26 Martin Rudalics <rudalics@gmx.at>
18224
18225 * window.el (display-buffer-normalize-argument): Rename to
18226 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
18227 LABEL argument. Respect special-display-function when popping up
18228 a new frame. Fix code searching for a window showing the buffer
18229 on another frame.
c9d29fb8
SM
18230 (display-buffer-normalize-specifiers):
18231 Call display-buffer-normalize-arguments.
355f2e07
MR
18232 (display-buffer-in-window): Don't undedicate the window if its
18233 buffer remains the same.
18234 Reported by Drew Adams <drew.adams@oracle.com>.
18235 (display-buffer-alist): Add choice for same-window macro
18236 specfier.
18237 (display-buffer): Mention special meaning of LABEL argument in
18238 doc-string. Fix quoting. Don't pop up a new frame even as
18239 fallback.
18240
7ca8fc42
JB
182412011-06-26 Juanma Barranquero <lekktu@gmail.com>
18242
18243 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
18244 avoid deleting the current window in some cases (bug#8911).
18245
bc312254
AS
182462011-06-26 Andreas Schwab <schwab@linux-m68k.org>
18247
18248 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
18249 (Bug#8934)
18250
2db18f3f
LMI
182512011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
18252
c9d29fb8
SM
18253 * net/network-stream.el (network-stream-open-starttls):
18254 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
18255 (network-stream-open-tls): Ditto.
18256
6302e0d3
LL
182572011-06-26 Leo Liu <sdl.web@gmail.com>
18258
18259 * register.el (registerv): New struct.
18260 (registerv-make): New function.
c9d29fb8
SM
18261 (jump-to-register, describe-register-1, insert-register):
18262 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
18263 struct. (Bug#8415)
18264
5fdd4046
CY
182652011-06-26 Chong Yidong <cyd@stupidchicken.com>
18266
2afef60a
CY
18267 * vc/vc.el (vc-revert-show-diff): New defcustom.
18268 (vc-diff-internal): New arg specifying diff buffer.
18269 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
18270 reuse an existing *vc-diff* buffer (Bug#8927).
18271
5fdd4046
CY
18272 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
18273
e93db24a
GM
182742011-06-26 Glenn Morris <rgm@gnu.org>
18275
18276 * progmodes/f90.el (f90-critical-indent): New option.
18277 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
18278 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
18279 (f90-mode): Doc fix.
18280 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
18281 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
18282 (f90-beginning-of-block, f90-next-block, f90-indent-region)
18283 (f90-match-end): Handle block, critical.
18284
eefff499
GM
182852011-06-25 Glenn Morris <rgm@gnu.org>
18286
f6ba4cc9
GM
18287 * calendar/diary-lib.el (diary-included-files): Doc fix.
18288 (diary-include-files): New function, extracted from
18289 diary-include-other-diary-files and diary-mark-included-diary-files.
18290 (diary-include-other-diary-files, diary-mark-included-diary-files):
18291 Just call diary-include-files.
18292 (diary-mark-entries): Reset diary-included-files on first call.
18293
16712304
GM
18294 * calendar/diary-lib.el (diary-mark-entries)
18295 (diary-mark-included-diary-files):
18296 Visit included diary-files in temp buffers.
18297
5d8e0d43
GM
18298 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
18299 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
18300 (f90-start-block-re, f90-imenu-generic-expression)
18301 (f90-looking-at-program-block-start, f90-no-block-limit):
18302 Add support for submodules.
18303
ccf7a5d5
GM
18304 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
18305 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 18306
11fdef7d 183072011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
18308
18309 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
18310 buffer-file-type before setting its value, to avoid disastrous
eefff499 18311 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 18312
74f53697
JB
183132011-06-25 Juanma Barranquero <lekktu@gmail.com>
18314
18315 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
18316
18317 * ses.el (ses-unload-function):
18318 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
18319
18320 * proced.el (proced-unload-function):
18321 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
18322
18a4ce5e
AR
183232011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
18324
18325 * server.el (server-create-window-system-frame): Add parameters arg.
18326 (server-process-filter): Doc fix. Handle frame-parameters.
18327
519d22cc
JB
183282011-06-25 Juanma Barranquero <lekktu@gmail.com>
18329
18330 Fix bug#8730, bug#8781.
18331
18332 * loadhist.el (unload--set-major-mode): New function.
18333 (unload-feature): Use it.
18334
18335 * progmodes/python.el (python-after-info-look): Add autoload cookie.
18336 (python-unload-function): New function.
18337
c206f5b0
SM
183382011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
18339
18340 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
18341
f9ad64f3
GS
183422011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
18343
18344 * net/browse-url.el (browse-url-firefox-program): Add icecat to
18345 the candidates list.
18346
7d0da90e
JB
183472011-06-24 Juanma Barranquero <lekktu@gmail.com>
18348
18349 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
18350
14b4e83d
RS
183512011-06-23 Richard Stallman <rms@gnu.org>
18352
18353 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
18354 (rmail-variables): Set next-error-move-function.
18355 (rmail-what-message): Take argument POS.
18356 (rmail-next-error-move): New function.
18357
273d2baf
SM
183582011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
18359
18360 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
18361 messages for adjacent non-terminals.
18362
56c2cc9a
RS
183632011-06-23 Richard Stallman <rms@gnu.org>
18364
18365 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 18366 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
18367 (rmail-start-mail): Don't specify use of rmail-mail-return;
18368 that's done by mail-bury now.
18369 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 18370
d59eb518
MA
183712011-06-23 Michael Albinus <michael.albinus@gmx.de>
18372
18373 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
18374 SIZE is a number.
18375
02cfc6d6
MR
183762011-06-23 Martin Rudalics <rudalics@gmx.at>
18377
18378 * window.el (get-lru-window, get-mru-window)
18379 (get-largest-window): Never return a minibuffer window.
18380 (display-buffer-pop-up-window): Fix a bug that could lead to
18381 reusing the minibuffer window.
18382 (display-buffer): Pass original specifier argument to
18383 display-buffer-function instead of the normalized one.
18384 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
18385
4e323265
LL
183862011-06-22 Leo Liu <sdl.web@gmail.com>
18387
18388 * minibuffer.el (completing-read-function)
1f9f395d 18389 (completing-read-default): Move from minibuf.c.
4e323265 18390
7a70468f
RS
183912011-06-22 Richard Stallman <rms@gnu.org>
18392
50718fc2
RS
18393 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
18394 to Rmail even if not started by a special Rmail command.
18395
7a70468f
RS
18396 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
18397 Copy the buffer currently showing just one message.
18398
297dde5a
RW
183992011-06-22 Roland Winkler <winkler@gnu.org>
18400
18401 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
18402 (bibtex-clean-entry): First delete the old key so that a
18403 customized algorithm for generating the new key does not get
18404 confused by the old key.
18405 (bibtex-url): Obey regexp of first step.
18406 (bibtex-search-entries): Do not use add-to-list with local
18407 list-var.
18408
97bb1093
LMI
184092011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
18410
18411 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
18412 stored a user name, then query for the password first, instead of
18413 waiting for SMTP to give an error message and the trying again.
18414
1c0f1a19
JD
184152011-06-22 Lawrence Mitchell <wence@gmx.li>
18416
18417 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
18418 BUFFER in call-process.
18419
396f7c9d
LMI
184202011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
18421
18422 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
18423 QUIT twice.
ddb7ffee
LMI
18424 (smtpmail-try-auth-methods): Require user name and password from
18425 auth-source.
396f7c9d 18426
8998d1b3
MR
184272011-06-22 Martin Rudalics <rudalics@gmx.at>
18428
18429 * window.el (display-buffer-default-specifiers)
18430 (display-buffer-alist): Remove entries for pop-up-frame-alist.
18431 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 18432 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
18433
18434 * frame.el (pop-up-frame-alist, pop-up-frame-function)
18435 (special-display-frame-alist, special-display-popup-frame):
18436 Remove duplicate declarations. These are now in window.el.
18437
4ea31e07
LMI
184382011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
18439
c9d29fb8
SM
18440 * mail/smtpmail.el (smtpmail-via-smtp):
18441 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
18442 server supports it. SMTP servers that support STARTTLS commonly
18443 require it.
18444
18445 * net/network-stream.el (network-stream-open-starttls): Support
18446 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 18447 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 18448
95f41d9a
LMI
18449 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
18450 upgrades with `open-network-stream', and rely solely on
18451 auth-source for all credentials. Big changes throughout the file,
18452 but in particular:
c9d29fb8
SM
18453 (smtpmail-auth-credentials): Remove.
18454 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
18455 (smtpmail-via-smtp): Check for servers saying they want AUTH after
18456 MAIL FROM, too.
95f41d9a 18457
c9d29fb8
SM
18458 * net/network-stream.el (network-stream-open-starttls):
18459 Provide support for client certificates both for external and built-in
4ea31e07
LMI
18460 STARTTLS.
18461 (auth-source): Require.
18462 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
18463 (network-stream-certificate): Change cert-cert to cert and
18464 cert-key to key.
4ea31e07 18465
065ec2c7
MA
184662011-06-21 Michael Albinus <michael.albinus@gmx.de>
18467
18468 * net/tramp-cache.el (top): Don't load the persistency file when
18469 "emacs -Q" has been called.
18470
cd93b359
DR
184712011-06-21 Tim Harper <timcharper@gmail.com>
18472
d8e4b68b
JB
18473 * term/ns-win.el (ns-initialize-window-system):
18474 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
18475 resource to NO as it is not yet supported by the NS port.
18476
ae9c0411
JB
184772011-06-21 Juanma Barranquero <lekktu@gmail.com>
18478
18479 * misc.el (list-dynamic-libraries--refresh): Compute header here...
18480 (list-dynamic-libraries): ...not here.
18481
7f3f739f
LL
184822011-06-21 Leo Liu <sdl.web@gmail.com>
18483
18484 * subr.el (sha1): Implement sha1 using secure-hash.
18485
327c8fb1
MR
184862011-06-21 Martin Rudalics <rudalics@gmx.at>
18487
18488 * window.el (display-buffer-alist): In default value do not
18489 enforce searching a window on any but the selected frame.
18490 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
18491 (display-buffer-select-window): Remove function.
18492 (display-buffer-in-window): When a window on another frame gets
18493 reused, do not select it any more but just raise its frame if
18494 necessary (Bug#8851) and (Bug#8856).
18495 (display-buffer-normalize-options): Handle pop-up-frames related
18496 options more faithfully.
18497 (pop-to-buffer): Don't rely on `display-buffer' selecting the
18498 window if it is on another frame.
c9d29fb8
SM
18499 (display-buffer-alist, display-buffer-default-specifiers):
18500 Don't make new frame unsplittable by default.
9e9de014
MR
18501 (display-buffer-normalize-argument): Fix doc-string typo and use
18502 'same-frame-other-window instead of 'other-window when associating
18503 with display-buffer-macro-specifiers.
327c8fb1 18504
7cf3f556
VB
185052011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
18506
18507 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
18508 New functions.
18509 (5x5-mode-map, 5x5-mode-menu): Bind them.
18510 (5x5-draw-grid): Tweak the solver's rendering.
18511
60a406cf
SM
185122011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
18513
18514 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
18515 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
18516
d8e4b68b 185172011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
18518
18519 * menu-bar.el: Use function variable instead of switch-to-buffer.
18520 (menu-bar-select-buffer-function): New variable.
60a406cf 18521 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 18522
478d6f95
SM
185232011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
18524
18525 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
18526 variable's status.
18527
ca530739
JD
185282011-06-20 Jan Djärv <jan.h.d@swipnet.se>
18529
18530 * x-dnd.el (x-dnd-version-from-flags)
18531 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
18532 and long as number (Bug#8899).
18533 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
18534
bcd70d97
SM
185352011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
18536
60a406cf 18537 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
18538 (completion-try-completion, completion-all-completions): Compute the
18539 metadata argument if it's missing; make it optional (bug#8795).
18540
60a406cf 18541 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
18542 (widget-complete): Use new :completion-function property.
18543 (widget-completions-at-point): New function.
18544 (default): Use :completion-function instead of :complete.
60a406cf
SM
18545 (widget-default-completions): Rename from widget-default-complete;
18546 Rewrite.
bcd70d97
SM
18547 (widget-string-complete, widget-file-complete, widget-color-complete):
18548 Remove functions.
18549 (file, symbol, function, variable, coding-system, color):
18550 * international/mule-cmds.el (default-input-method, charset)
18551 (language-info-custom-alist):
18552 * cus-edit.el (face): Use new property :completions.
18553
18554 * progmodes/pascal.el (pascal-completions-at-point): New function.
18555 (pascal-mode): Use it.
18556 (pascal-mode-map): Use completion-at-point.
18557 (pascal-toggle-completions): Make obsolete.
18558 (pascal-complete-word, pascal-show-completions):
18559 * progmodes/octave-mod.el (octave-complete-symbol):
18560 Redefine as obsolete alias.
18561 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
18562 Signal absence of completion info for old Octave,
18563 (inferior-octave-complete): Redefine as obsolete alias.
18564 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
18565 (meta-completions-at-point): Rename from meta-complete-symbol and
18566 adapt it for use on completion-at-point-functions.
18567 (meta-common-mode): Use it.
18568 (meta-looking-at-backward, meta-match-buffer): Remove.
18569 (meta-complete-symbol): Redefine as obsolete alias.
18570 (meta-common-mode-map): Use completion-at-point.
18571 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
18572 (makefile-mode-map): Use completion-at-point.
18573 (makefile-completions-at-point): Rename from makefile-complete and
18574 adapt it for use on completion-at-point-functions.
18575 (makefile-mode): Use it.
18576 (makefile-complete): Redefine as obsolete alias.
18577
aebf69c8
DD
185782011-06-20 Deniz Dogan <deniz@dogan.se>
18579
18580 * net/rcirc.el: Delete trailing whitespaces once and for all.
18581
bfbbb27d
DC
185822011-06-20 Daniel Colascione <dan.colascione@gmail.com>
18583
18584 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
18585
d264a46b
CY
185862011-06-19 Chong Yidong <cyd@stupidchicken.com>
18587
4ca009e5
CY
18588 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
18589
d264a46b
CY
18590 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
18591
fbf5b3ce
MR
185922011-06-19 Martin Rudalics <rudalics@gmx.at>
18593
18594 * window.el (display-buffer-other-window-means-other-frame):
18595 Call display-buffer-normalize-alist.
18596 (display-buffer-normalize-specifiers-1): Rename to
18597 display-buffer-normalize-argument. New argument other-frame.
18598 Rewrite.
18599 (display-buffer-normalize-specifiers-2): Rename to
18600 display-buffer-normalize-options.
18601 (display-buffer-normalize-alist-1): New function.
18602 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
18603 display-buffer-normalize-alist.
18604 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
18605 (display-buffer-normalize-options-inhibit): New variable.
18606 (display-buffer-normalize-specifiers): Rewrite calling
18607 display-buffer-normalize-alist,
18608 display-buffer-normalize-argument, and
18609 display-buffer-normalize-options. Don't call the latter if
18610 display-buffer-normalize-options-inhibit is non-nil.
18611 (frame-auto-delete): New option.
18612 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
18613 (window-list-no-nils, window-state-ignored-parameters)
18614 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
18615 (window-state-put-1, window-state-put-2, window-state-put):
18616 New functions.
9a028c23
MR
18617 (display-buffer-normalize-options): Move special-display-p group
18618 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 18619
6d10d800
CY
186202011-06-18 Chong Yidong <cyd@stupidchicken.com>
18621
6420d28b
CY
18622 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
18623 groups (Bug#8776).
18624 (rx-submatch-n): New function.
18625 (rx): Document it.
18626
ddb8b596
CY
18627 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
18628 (Bug#8768).
18629
18630 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
18631
77080289
CY
18632 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
18633
61dfb316
CY
18634 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
18635 anytime existing face settings are present (Bug#8889).
18636
6d10d800
CY
18637 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
18638 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
18639 Remove unused argument.
18640
be3fb2b8
MR
186412011-06-18 Martin Rudalics <rudalics@gmx.at>
18642
bcd70d97
SM
18643 * window.el (display-buffer-default-specifiers):
18644 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
18645 pop-up-window-min-width, and another reuse-window specifier
18646 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
18647 (display-buffer-normalize-specifiers-2):
18648 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
18649 pop-up-windows is unset. Add a reuse-window specifier for the
18650 case popping up a new window fails.
18651 (special-display-popup-frame): Remove double quoting.
28dec25a 18652 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 18653
1c6d8c76
SM
186542011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
18655
18656 * shell.el (shell-completion-vars): Set pcomplete-termination-string
18657 according to comint-completion-addsuffix.
18658
18659 * pcomplete.el: Convert to lexical binding and fix bug#8819.
18660 (pcomplete-suffix-list): Mark as obsolete.
18661 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
18662 pcomplete-seen in the closure.
18663 (pcomplete-comint-setup): Setup completion-at-point as well.
18664 (pcomplete--entries): New function.
18665 (pcomplete--env-regexp): New var.
18666 (pcomplete-entries): Rewrite to work with partial-completion and
18667 without relying on pcomplete-suffix-list.
18668 (pcomplete-pare-list): Remove, unused.
18669
25aef8b8
MR
186702011-06-17 Martin Rudalics <rudalics@gmx.at>
18671
18672 * window.el (display-buffer-alist): Set pop-up-window-min-height
18673 and pop-up-window-min-width in default value. Reported by
18674 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
18675 other-window-means-other-frame.
18676 (display-buffer-macro-specifiers): Comment out entry for
18677 other-window specifier.
18678 (display-buffer-other-window-means-other-frame): New function.
18679 (display-buffer-normalize-specifiers-1): New arguments
18680 buffer-name and label. Treat other-window case specially.
18681 (display-buffer-normalize-specifiers-2): Treat other-window case
18682 specially.
18683 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
18684 (display-buffer-normalize-specifiers):
18685 Call display-buffer-normalize-specifiers-3.
25aef8b8 18686
dbad4f69
MR
186872011-06-17 Martin Rudalics <rudalics@gmx.at>
18688
18689 * window.el (same-window-p): Fix two typos introduced when
18690 adding with-no-warnings.
d1067961
MR
18691 (display-buffer-normalize-specifiers-1): Don't check
18692 pop-up-frames for 'unset initialization.
18693 (display-buffer-normalize-specifiers-2): Major rewrite using
18694 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
18695 (pop-up-frames, display-buffer-reuse-frames)
18696 (display-buffer-mark-dedicated): Don't initialize to 'unset.
18697 Suggested by David Engster <deng@randomsample.de>.
18698 (even-window-heights): Initialize to 'unset.
18699 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
18700 (display-buffer-macro-specifiers): Don't pop up a new frame in the
18701 other window case.
dbad4f69 18702
9b9c9e3a
MR
187032011-06-16 Martin Rudalics <rudalics@gmx.at>
18704
bcd70d97
SM
18705 * window.el (display-buffer-normalize-specifiers-1):
18706 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 18707 second argument of display-buffer (Bug#8865).
981d5c09
MR
18708 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
18709 (switch-to-buffer-other-window-same-frame)
18710 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
18711 Adams (Bug#8875).
9c2755e9
MR
18712 (display-buffer): Don't check noninteractive when calling
18713 display-buffer-pop-up-frame.
18714 (display-buffer-pop-up-frame): Never pop up a frame in
18715 noninteractive mode (Bug#8857).
67222e1d
MR
18716 (enlarge-window, shrink-window): Don't report an error when the
18717 window can't be resized as requested (Bug#8862).
9b9c9e3a 18718
2b75be67
SM
187192011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
18720
9ffdd3ba
SM
18721 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
18722
cb581a67
SM
18723 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
18724
2b75be67
SM
18725 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
18726
8c0e3589
AM
187272011-06-15 Alan Mackenzie <acm@muc.de>
18728
cb581a67
SM
18729 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
18730 for declarators, disable knr checking to speed up for normal files.
18731 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 18732
b96e6cde
LMI
187332011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
18734
4bba86e6
LMI
18735 * net/network-stream.el (open-network-stream): Add the keyword
18736 :always-query-capabilities for the case where you want to force a
18737 `plain' network connection, but the protocol still requires the
18738 capabilitiy command (i.e., SMTP and EHLO).
18739
2b75be67 18740 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
18741 consistency with other `-live-p' functions.
18742
efdcdbf8
SM
187432011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
18744
18745 * window.el (same-window-buffer-names, same-window-regexps)
18746 (special-display-frame-alist, special-display-popup-frame)
18747 (special-display-function, special-display-buffer-names)
18748 (special-display-regexps, pop-up-frame-alist)
18749 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
18750 (pop-up-windows, split-window-preferred-function)
18751 (split-height-threshold, split-width-threshold, even-window-heights)
18752 (display-buffer-mark-dedicated): Don't encourage the use of
18753 display-buffer-alist from Elisp code.
18754
c5cde042
DN
187552011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
18756
18757 * progmodes/python.el (python-mode): Derive from prog-mode.
18758 * progmodes/ps-mode.el (ps-mode):
18759 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 18760 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
18761 * progmodes/ld-script.el (ld-script-mode): Likewise.
18762
baa1c9ab
MR
187632011-06-15 Martin Rudalics <rudalics@gmx.at>
18764
18765 * window.el (display-buffer-alist): Trim default value to avoid
18766 popping up a new frame (Bug#8857) or reusing an arbitrary window
18767 on another frame.
18768 (display-buffer): Do not fall back on popping up a new frame in
18769 batch mode (Bug#8857).
18770
c5dd5a51
CY
187712011-06-14 Chong Yidong <cyd@stupidchicken.com>
18772
18773 * cus-theme.el (describe-theme-1): Use custom-theme-p.
18774 (custom-theme-summary): New function.
18775 (customize-themes): Use it.
18776
d647b7c4
GM
187772011-06-13 Glenn Morris <rgm@gnu.org>
18778
18779 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
18780
9481c002
MR
187812011-06-13 Martin Rudalics <rudalics@gmx.at>
18782
357f93d2
MR
18783 * help.el (help-window): Remove variable.
18784 (help-window-point-marker, temp-buffer-max-height)
18785 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
18786 (help-print-return-message): Don't set help-window.
18787 (resize-temp-buffer-window): Rewrite cod eand doc-string.
18788 (help-window-setup-finish): Remove.
18789 (help-window-display-message, help-window-setup)
18790 (with-help-window): Major rewrite based on new
18791 display-buffer-window variable.
18792
18793 * help-mode.el (help-mode-finish): Remove help-window related
18794 code.
18795
18796 * view.el (view-exits-all-viewing-windows): Remove reference to
18797 view-return-to-alist in doc-string.
18798 (view-return-to-alist): Make obsolete.
18799 (view-buffer): Call pop-to-buffer-same-window and remove
18800 undo-window code.
18801 (view-buffer-other-window): Call pop-to-buffer-other-window and
18802 simplify code. Ignore second argument.
18803 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
18804 simplify code. Ignore second argument.
18805 (view-return-to-alist-update): Make obsolete.
18806 (view-mode-enter): Rename second argument to QUIT-RESTORE.
18807 Rewrite using quit-restore window parameters.
2b75be67
SM
18808 (view-mode-exit): Rename second argument to EXIT-ONLY.
18809 Rewrite using quit-restore-window.
357f93d2
MR
18810 (View-exit, View-exit-and-edit, View-leave, View-quit)
18811 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
18812 appropriate arguments.
18813 (view-end-message): Use quit-restore window parameter.
18814
9481c002
MR
18815 * window.el (display-buffer-function): Rewrite doc-string.
18816 (display-buffer-window, display-buffer-alist): New variables.
18817 (display-buffer-split-specifiers)
18818 (display-buffer-side-specifiers)
18819 (display-buffer-macro-specifiers): New constants.
18820 (display-buffer-even-window-sizes, display-buffer-set-height)
18821 (display-buffer-set-width, display-buffer-select-window)
18822 (display-buffer-in-window, display-buffer-reuse-window)
18823 (display-buffer-split-window-1, display-buffer-split-window)
18824 (display-buffer-split-atom-window, display-buffer-pop-up-window)
18825 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
18826 (display-buffer-in-side-window, normalize-buffer-to-display)
18827 (display-buffer-normalize-specifiers-1)
18828 (display-buffer-normalize-specifiers-2)
2b75be67
SM
18829 (display-buffer-normalize-specifiers, display-buffer-frame):
18830 New functions.
9481c002
MR
18831 (display-buffer): Major rewrite.
18832 (display-buffer-other-window, display-buffer-other-frame)
18833 (pop-to-buffer, switch-to-buffer-other-window)
18834 (switch-to-buffer-other-frame): Rewrite.
18835 (display-buffer-same-window, display-buffer-same-frame)
18836 (display-buffer-same-frame-other-window)
18837 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
18838 (pop-to-buffer-other-window)
18839 (pop-to-buffer-same-frame-other-window)
18840 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
18841 (switch-to-buffer-other-window-same-frame): New functions.
18842 (same-window-p, special-display-p): Rewrite disabling warnings.
18843 Make obsolete.
18844 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
18845 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
18846 Make obsolete
18847 (same-window-buffer-names, same-window-regexps)
18848 (special-display-frame-alist, special-display-popup-frame)
18849 (special-display-function, special-display-buffer-names)
18850 (special-display-regexps, pop-up-frame-alist)
18851 (pop-up-frame-function, split-window-preferred-function)
18852 (split-height-threshold, split-width-threshold)
18853 (even-window-heights): Make obsolete.
18854
9db51aca
GM
188552011-06-12 Glenn Morris <rgm@gnu.org>
18856
18857 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 18858 Misc simplifications.
9db51aca 18859
39cffb44
MR
188602011-06-12 Martin Rudalics <rudalics@gmx.at>
18861
18862 * window.el (window-safely-shrinkable-p): Restore function which
18863 was inadvertently removed in change from 2011-06-11. Declare as
18864 obsolete.
18865
2b75be67
SM
18866 * calendar/calendar.el (calendar-generate-window):
18867 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
18868 window-safely-shrinkable-p.
18869
a8955be7
GM
188702011-06-12 Glenn Morris <rgm@gnu.org>
18871
18872 * progmodes/fortran.el (fortran-mode-syntax-table):
18873 * progmodes/f90.el (f90-mode-syntax-table):
18874 Set % to punctuation. (Bug#8820)
18875 (f90-find-tag-default): Remove, no longer needed.
18876
f0d4059d
DC
188772011-06-12 Daniel Colascione <dan.colascione@gmail.com>
18878
18879 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
18880
1100a63c
CY
188812011-06-11 Chong Yidong <cyd@stupidchicken.com>
18882
18883 * image.el (image-animated-p): Return animation delay in seconds.
18884 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
18885 (image-animate-timeout): Remove DELAY argument. Don't assume
18886 every subimage has the same delay; get it from image-animated-p.
18887 (image-animate): Caller changed.
18888
def722bf
MA
188892011-06-11 Michael Albinus <michael.albinus@gmx.de>
18890
18891 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
18892 to ignored backtrace functions.
18893
0a2bb1a9
GM
188942011-06-11 Glenn Morris <rgm@gnu.org>
18895
18896 * calendar/appt.el (appt-disp-window-function): Doc fix.
18897 (appt-check): Handle overlapping appointments. (Bug#8337)
18898
6198ccd0
MR
188992011-06-11 Martin Rudalics <rudalics@gmx.at>
18900
18901 * window.el (window-tree-1, window-tree): New functions, moving
18902 the latter to window.el.
18903 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
18904 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
18905 (bw-refresh-edges): Remove.
18906 (balance-windows-1, balance-windows-2): New functions.
18907 (balance-windows): Rewrite in terms of window tree functions,
18908 balance-windows-1 and balance-windows-2.
18909 (bw-adjust-window): Remove.
18910 (balance-windows-area-adjust): New function with functionality of
18911 bw-adjust-window but using resize-window.
2b75be67
SM
18912 (set-window-text-height): Rewrite doc-string.
18913 Use normalize-live-window and resize-window.
18914 (enlarge-window-horizontally, shrink-window-horizontally):
18915 Rename argument to DELTA.
6198ccd0
MR
18916 (window-buffer-height): New function.
18917 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
18918 Rewrite using new window resize routines.
2b75be67
SM
18919 (kill-buffer-and-window, mouse-autoselect-window-select):
18920 Use ignore-errors instead of condition-case.
6198ccd0
MR
18921 (quit-window): Call delete-frame instead of delete-windows-on
18922 for the only buffer on frame.
18923
9397e56f
MR
189242011-06-10 Martin Rudalics <rudalics@gmx.at>
18925
18926 * loadup.el (top-level): Load window before files for the sake
18927 of replace-buffer-in-windows.
18928
18929 * files.el (read-buffer-to-switch)
18930 (switch-to-buffer-other-window)
2b75be67
SM
18931 (switch-to-buffer-other-frame, display-buffer-other-frame):
18932 Move to window.el.
9397e56f
MR
18933
18934 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
18935 (previous-buffer): Move to window.el.
18936
18937 * bindings.el (unbury-buffer): Move to window.el.
18938
18939 * window.el (delete-other-windows-vertically): Move after
18940 definition of delete-other-windows.
18941 (other-window, delete-windows-on, replace-buffer-in-windows):
18942 Move here from window.c.
18943 (record-window-buffer, unrecord-window-buffer)
18944 (set-window-buffer-start-and-point, switch-to-prev-buffer)
18945 (switch-to-next-buffer): New functions.
18946 (get-next-valid-buffer, last-buffer, next-buffer): Move here
18947 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
18948 (previous-buffer): Move here from simple.el.
18949 Call switch-to-prev-buffer.
9397e56f
MR
18950 (bury-buffer): Move here from buffer.c. Switch to previous
18951 buffer when window cannot be deleted.
18952 (unbury-buffer): Move here from bindings.el.
18953 (ctl-x-map): Move binding for other-window from window.c to
18954 here.
18955 (read-buffer-to-switch, switch-to-buffer-other-window)
18956 (switch-to-buffer-other-frame): Move here from files.el.
18957 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
18958 (switch-to-buffer): Move here from buffer.c.
18959 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 18960
562dd5e9
MR
189612011-06-10 Martin Rudalics <rudalics@gmx.at>
18962
18963 * window.el (window-min-height, window-min-width): Move here
18964 from window.c. Add defcustoms and rewrite doc-strings.
18965 (resize-mini-window, resize-window): New functions.
18966 (adjust-window-trailing-edge, enlarge-window, shrink-window):
18967 Move here from window.c.
18968 (maximize-window, minimize-window): New functions.
18969 (delete-window, delete-other-windows, split-window): Move here
18970 from window.c.
18971 (window-split-min-size): New function.
18972 (split-window-keep-point): Mention split-window-above-each-other
18973 instead of split-window-vertically.
2b75be67 18974 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
18975 Rename split-window-vertically to split-window-above-each-other
18976 and provide defalias for old definition.
18977 (split-window-side-by-side, split-window-horizontally):
18978 Rename split-window-horizontally to split-window-side-by-side
18979 and provide defalias for the old definition.
562dd5e9
MR
18980 (ctl-x-map): Move bindings for delete-window,
18981 delete-other-windows and enlarge-window here from window.c.
18982 Replace bindings for split-window-vertically and
18983 split-window-horizontally by bindings for
18984 split-window-above-each-other and split-window-side-by-side.
18985
18986 * cus-start.el (all): Remove entries for window-min-height and
18987 window-min-width. Add entries for window-splits and
18988 window-nest.
18989
f0da764a
GM
189902011-06-09 Glenn Morris <rgm@gnu.org>
18991
80675c21
GM
18992 * calendar/appt.el (appt-mode-line): New function.
18993 (appt-check, appt-disp-window): Use it.
18994
f0da764a
GM
18995 * files.el (hack-one-local-variable-eval-safep):
18996 Allow minor-modes with explicit +/-1 arguments.
18997
59f623b7
TZ
189982011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
18999
19000 * term/xterm.el (xterm): Add defgroup.
19001 (xterm-extra-capabilities): Add defcustom to supply known xterm
19002 capabilities, skip querying them, or query them (default).
19003 (terminal-init-xterm): Use it.
19004 (terminal-init-xterm-modify-other-keys): New function to set up
19005 modifyOtherKeys support to simplify `terminal-init-xterm'.
19006
9aab8e0d
MR
190072011-06-09 Martin Rudalics <rudalics@gmx.at>
19008
19009 * window.el (resize-window-reset, resize-window-reset-1)
19010 (resize-subwindows-skip-p, resize-subwindows-normal)
19011 (resize-subwindows, resize-other-windows, resize-this-window)
19012 (resize-root-window, resize-root-window-vertically)
19013 (window-deletable-p, window-or-subwindow-p)
19014 (frame-root-window-p): New functions.
19015
e8b08aee
GM
190162011-06-09 Glenn Morris <rgm@gnu.org>
19017
19018 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
19019 (ange-ftp-get-files): Use it.
19020
254c37a5
AK
190212011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
19022
19023 * mail/sendmail.el (mail-recover-1, mail-recover):
19024 * files.el (recover-file, recover-session):
19025 Handle dired-listing-switches not being just a single short option.
19026
35d7dbd3
GM
190272011-06-09 Glenn Morris <rgm@gnu.org>
19028
19029 * calendar/appt.el (appt-display-message, appt-disp-window):
19030 Handle lists of appointments.
19031
387522b2
MR
190322011-06-08 Martin Rudalics <rudalics@gmx.at>
19033
2b75be67
SM
19034 * window.el (one-window-p): Move down in code.
19035 Rewrite doc-string.
19036 (window-current-scroll-bars): Rewrite doc-string.
19037 Normalize live window argument.
387522b2
MR
19038 (walk-windows, get-window-with-predicate, count-windows):
19039 Rewrite doc-string. Use window-list-1.
19040 (window-in-direction-2, window-in-direction, get-mru-window):
19041 New functions.
19042
d8e4b68b 190432011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
19044
19045 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
19046 Doc fix (Bug#8713).
19047
190482011-06-08 Chong Yidong <cyd@stupidchicken.com>
19049
19050 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
19051
190522011-06-08 Juanma Barranquero <lekktu@gmail.com>
19053
19054 * loadhist.el (unload-feature-special-hooks):
19055 Add `comint-output-filter-functions'.
19056
0de12c52
IK
190572011-06-08 Ivan Kanis <gnu@kanis.fr>
19058
19059 * calendar/appt.el (appt-check): Move some initializations into the let.
19060
f3d1777e
MR
190612011-06-08 Martin Rudalics <rudalics@gmx.at>
19062
19063 * window.el (window-height): Defalias to window-total-height.
19064 (window-width): Defalias to window-body-width.
19065
18af70d0
CY
190662011-06-07 Chong Yidong <cyd@stupidchicken.com>
19067
19068 * image-mode.el (image-toggle-animation): New command.
19069 (image-mode-map): Bind it to RET.
19070 (image-mode): Update message.
19071 (image-toggle-display-image): Avoid a spurious cache flush.
19072 (image-transform-rotation): Doc fix.
19073 (image-transform-properties): Return quickly in the normal case.
19074 (image-animate-loop): Rename from image-animate-max-time.
19075
2b75be67 19076 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
19077 (create-animated-image): Remove unnecessary function.
19078 (image-animate): Rename from image-animate-start. New arg.
2b75be67 19079 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
19080 (image-animate-timer): Use car-safe.
19081 (image-animate-timeout): Rename argument.
19082
190b47e6
MR
190832011-06-07 Martin Rudalics <rudalics@gmx.at>
19084
19085 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
19086 window.c. Rename first argument to ALL-FRAMES.
19087 Rephrase doc-strings.
19088 (get-buffer-window-list): Rewrite using window-list-1.
19089 Rephrase doc-string.
a1511caf
MR
19090 (window-safe-min-height, window-safe-min-width): New constants.
19091 (window-size-ignore, window-min-size, window-min-size-1)
19092 (window-sizable, window-sizable-p, window-size-fixed-1)
19093 (window-size-fixed-p, window-min-delta-1, window-min-delta)
19094 (window-max-delta-1, window-max-delta, window-resizable)
19095 (window-resizable-p, window-total-height, window-total-width)
19096 (window-body-width): New functions.
19097 (window-full-height-p, window-full-width-p): Rewrite using
19098 window-total-size.
19099 (window-body-height): Rewrite using window-body-size.
190b47e6 19100
85cc1f11
MR
191012011-06-06 Martin Rudalics <rudalics@gmx.at>
19102
19103 * window.el (window-right, window-left, window-child)
19104 (window-child-count, window-last-child, window-any-p)
19105 (normalize-live-buffer, normalize-live-frame)
19106 (normalize-any-window, normalize-live-window)
19107 (window-iso-combination-p, window-iso-combined-p)
19108 (window-iso-combinations)
19109 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
19110 (windows-with-parameter, window-with-parameter)
19111 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
19112 (window-atom-check, window-side-check, window-check):
19113 New functions.
85cc1f11
MR
19114 (ignore-window-parameters, window-sides, window-sides-vertical)
19115 (window-sides-slots): New variables.
19116 (window-size-fixed): Move down in code. Minor doc-string fix.
19117
e7156492
AS
191182011-06-05 Andreas Schwab <schwab@linux-m68k.org>
19119
19120 * comint.el (comint-dynamic-complete-as-filename)
19121 (comint-dynamic-complete-filename): Correctly call
19122 completion-in-region.
19123
7e821d0d
DD
191242011-06-05 Deniz Dogan <deniz@dogan.se>
19125
19126 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
19127 in last change.
19128
ac09b8a1
DD
191292011-06-05 Deniz Dogan <deniz@dogan.se>
19130
19131 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
19132 (rcirc): Use it to prompt for encryption.
19133
34699b85
RW
191342011-06-05 Roland Winkler <winkler@gnu.org>
19135
19136 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
19137 (bibtex-search-entries): New command bound to C-c C-a.
19138 (bibtex-display-entries): New function.
19139
004dedd3
RW
191402011-06-05 Roland Winkler <winkler@gnu.org>
19141
19142 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
19143 (bibtex-insert-kill): After yanking insert newline if necessary.
19144 (bibtex-initialize): Call bibtex-string-files-init only once.
19145 (bibtex-mode): Do not call easy-menu-add.
19146 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
19147 (bibtex-yank): Set arg properly if nil.
19148
022fe7ce
RW
191492011-06-05 Roland Winkler <winkler@gnu.org>
19150
2b75be67
SM
19151 * textmodes/bibtex.el (bibtex-search-entry-globally):
19152 New variable.
022fe7ce
RW
19153 (bibtex-search-entry): Use it.
19154
b7c3692a
RW
191552011-06-05 Roland Winkler <winkler@gnu.org>
19156
19157 * textmodes/bibtex.el (bibtex-entry-format): New option
19158 sort-fields.
19159 (bibtex-format-entry, bibtex-reformat): Honor this option.
19160 (bibtex-parse-entry): Return fields in proper order.
19161
8eda563d
JB
191622011-06-05 Juanma Barranquero <lekktu@gmail.com>
19163
19164 * doc-view.el (doc-view-remove-if): Move computation of result out
19165 of `dolist' to silence misleading lexical-binding warning.
19166
7dbe3dbc
CY
191672011-06-04 Chong Yidong <cyd@stupidchicken.com>
19168
19169 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
19170 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
19171
0c33dd17
MA
191722011-06-04 Michael Albinus <michael.albinus@gmx.de>
19173
19174 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
19175 "SunOS 5.10".
19176
f8f91c2b
MA
191772011-06-04 Michael Albinus <michael.albinus@gmx.de>
19178
19179 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
19180 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
19181 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
19182 (tramp-parse-putty):
19183 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
19184 (tramp-completion-function-alist-ssh)
19185 (tramp-completion-function-alist-telnet)
19186 (tramp-completion-function-alist-su)
19187 (tramp-completion-function-alist-putty): Set `tramp-autoload'
19188 cookie.
19189
19190 * net/tramp-ftp.el:
19191 * net/tramp-sh.el:
19192 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
19193 load "tramp.el" `tramp-set-completion-function'.
19194
e17d9003
SM
191952011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
19196
19197 * shell.el: Require and use pcomplete.
19198 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
19199 (shell-completion-vars): Set pcomplete-default-completion-function.
19200
6c4cab03
DD
192012011-06-04 Deniz Dogan <deniz@dogan.se>
19202
19203 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
19204 `memq' (Bug#8799).
19205
ea9fafe0
SM
192062011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
19207
19208 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
19209
b3e945d3
JB
192102011-06-02 Juanma Barranquero <lekktu@gmail.com>
19211
19212 * bs.el (bs--mark-unmark, bs--nth-wrapper):
19213 * mpc.el (mpc-select-extend, mpc-songpointer-context):
19214 * vc/log-view.el (log-view-beginning-of-defun):
19215 * vc/smerge-mode.el (smerge-apply-resolution-patch)
19216 (smerge-refine-forward, smerge-refine-chopup-region):
19217 Silence warning for unused `dotimes' counter variables.
19218
7d520089
SM
192192011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
19220
19221 * net/tramp.el (tramp-with-progress-reporter): Rename from
19222 with-progress-reporter. Use `declare'.
19223 * net/tramp-smb.el:
19224 * net/tramp-sh.el:
19225 * net/tramp-gvfs.el: Update all uses.
19226
a1c2400f
JB
192272011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
19228
19229 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
19230 buffer isn't killed before making it current.
19231
2403c841
SM
192322011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
19233
19234 Silence various byte-compiler warnings.
19235 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
19236 `access-type' and new obsolescence format.
19237 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
19238 new format.
19239 (byte-compile-check-variable): New `access-type' argument.
19240 Only warn if the access-type is obsolete.
19241 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
19242 (byte-compile-variable-set): Adjust callers.
19243 * help-fns.el (describe-variable): Adjust to new obsolescence format.
19244 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
19245 setting it as obsolete.
19246 * simple.el (minibuffer-completing-symbol):
19247 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
19248 access as obsolete.
19249 * minibuffer.el (minibuffer-completing-file-name): Don't make it
19250 obsolete yet.
19251 * international/quail.el (quail-mouse-choose-completion): Remove unused
19252 code referring to obsolete var.
19253 (quail-choose-completion-string): Remove.
19254 * server.el (server-clients-with, server-kill-buffer-query-function)
19255 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
19256 * proced.el (proced-send-signal):
19257 * emacs-lisp/lisp.el (lisp-complete-symbol):
19258 Replace completion-annotate-function with completion-extra-properties.
19259
2462470b
SM
192602011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
19261
fb5b2591
SM
19262 * simple.el (goto-line): Use read-number.
19263 (overriding-map-is-bound): Remove.
19264 (saved-overriding-map): Change default.
19265 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
19266 Take the map as argument.
19267 (universal-argument, negative-argument, digit-argument): Use it.
19268 (restore-overriding-map): Adjust.
19269 (do-auto-fill): Use fill-forward-paragraph.
19270 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
19271
fd6fa53f
SM
19272 * minibuffer.el (minibuffer-inactive-mode-map): New var.
19273 (minibuffer-inactive-mode): New major mode.
19274 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
19275 the *Messages* buffer" hack.
19276 (mouse-popup-menubar): Don't burp if the event is a normal key.
19277
2462470b
SM
19278 Miscellaneous tweaks.
19279 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
19280 lexical scoping as in subr.el's dolist and dotimes.
19281 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
19282 Silence compiler warning.
19283 * thingatpt.el (forward-whitespace): Trivial coding style fix.
19284 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
19285 * international/ccl.el (ccl-compile): Trivial simplification.
19286 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
19287 * emacs-lisp/testcover.el (testcover-end): Remove spurious
19288 `printflag' argument.
19289 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
19290 Purecopy the whole obsolescence data.
19291
108bf785
LL
192922011-06-01 Leo Liu <sdl.web@gmail.com>
19293
19294 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
19295 improve doc-string as suggested by Marco Pessotto
19296 <melmothx@gmail.com>.
19297 (rcirc-print): Fix last change.
19298
30a23501
SM
192992011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
19300
19301 * minibuffer.el (complete-with-action): Return nil for the metadata and
19302 boundaries of non-functional tables.
19303 (completion-table-dynamic): Return nil for the metadata.
19304 (completion-table-with-terminator): Add default case, using
19305 complete-with-action.
19306 (completion--metadata): New function.
19307 (completion-all-sorted-completions, minibuffer-completion-help): Use it
19308 to try and avoid pathological performance problems.
19309 (completion--embedded-envvar-table): Return `category' metadata.
19310
bcd54f83
LMI
193112011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
19312
19313 * subr.el (process-alive-p): New tiny convenience function.
19314
e227544d
SM
193152011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
19316
19317 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
19318 content but also its previous major mode.
19319
e8296fdc
HE
193202011-05-31 Helmut Eller <eller.helmut@gmail.com>
19321
4d61f28d 19322 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
19323 *Backtrace* buffer when we exit with C-M-c.
19324
620c53a6
SM
193252011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
19326
19327 * minibuffer.el: Add metadata method to completion tables.
19328 (completion-category-overrides): New defcustom.
19329 (completion-metadata, completion--field-metadata)
19330 (completion-metadata-get, completion--styles)
19331 (completion--cycle-threshold): New functions.
19332 (completion-try-completion, completion-all-completions):
19333 Add `metadata' argument to choose completion-styles.
19334 (completion--do-completion): Use metadata to choose cycling.
19335 (completion-all-sorted-completions): Use metadata for sorting.
19336 Remove :completion-cycle-penalty which is not needed any more.
19337 (completion--try-word-completion): Add `metadata' argument.
19338 (minibuffer-completion-help): Check metadata for annotation function
19339 and sorting.
19340 (completion-file-name-table): Return `category' metadata.
19341 (minibuffer-completing-file-name): Make obsolete.
19342 * simple.el (minibuffer-completing-symbol): Make obsolete.
19343 * icomplete.el (icomplete-completions): Pass new `metadata' param to
19344 completion-try-completion.
19345
1257e755
SM
193462011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
19347
19348 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
19349
3767e706
LL
193502011-05-30 Leo Liu <sdl.web@gmail.com>
19351
19352 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
19353 (rcirc-print): Decode all incoming messages (bug#8744).
19354 (rcirc-decode-coding-system): Allow value nil for automatic coding
19355 system detection.
3767e706 19356
d1a5d56a
GM
193572011-06-01 Glenn Morris <rgm@gnu.org>
19358
19359 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
19360
e8cbec34
CY
193612011-05-29 Chong Yidong <cyd@stupidchicken.com>
19362
19363 * image.el (image-animate-max-time): Allow nil and t values.
19364 Default to nil.
19365 (create-animated-image): Doc fix.
19366 (image-animate-start): Remove second arg; just use
19367 image-animate-max-time.
19368 (image-animate-timeout): Doc fix. Args changed.
19369
19370 * image-mode.el (image-toggle-display-image): Ensure that the
19371 image spec passed to the animate timer is the same object as in
58179cce 19372 the buffer's display property (Bug#6981).
e8cbec34
CY
19373 (image-transform-properties): Doc fix.
19374
19375 * image.el (image-animate-max-time): Default to nil.
19376
159daf87
MR
193772011-05-29 Martin Rudalics <rudalics@gmx.at>
19378
19379 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
19380 entire buffer list (Bug#8184).
19381
d66c4c7c
CY
193822011-05-29 Chong Yidong <cyd@stupidchicken.com>
19383
19384 * image.el (imagemagick-types-inhibit)
19385 (imagemagick-register-types): Doc fix.
19386
80aec780
DD
193872011-05-29 Deniz Dogan <deniz@dogan.se>
19388
19389 * net/rcirc.el (rcirc): Use the user's stored encryption method by
19390 default.
19391
1dd3c2d9
CY
193922011-05-29 Chong Yidong <cyd@stupidchicken.com>
19393
19394 * select.el: Don't perform clipboard-manager saving in hooks;
19395 leave the hooks empty.
19396
60e56523
LL
193972011-05-28 Leo Liu <sdl.web@gmail.com>
19398
19399 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
19400 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
19401 (occur-edit-mode): New major mode (Bug#8463).
19402 (occur-after-change-function): New function.
19403 (occur-engine): Give Occur tags a read-only property.
19404
2b1e1a22
KR
194052011-05-28 Kevin Ryde <user42@zip.com.au>
19406
19407 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
19408
5d344e88
CY
194092011-05-28 Chong Yidong <cyd@stupidchicken.com>
19410
8e6ca83d
CY
19411 * bindings.el (help-echo): Make the initial non-indicator dash
19412 empty on graphical terminals (Bug#7295).
19413
5d344e88
CY
19414 * files.el (auto-mode-alist): Move config rule after the
19415 in-stripping one (Bug#8547).
19416
bfbbace7
CY
19417 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
19418
fbeba6e2
CY
19419 * startup.el (normal-splash-screen): Remove gratuitous mode-line
19420 setting (Bug#8740).
19421
60ed8c72
AA
194222011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
19423
4ac619f0
AA
19424 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
19425 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
19426 (Bug#8539).
60ed8c72 19427
23db196e
CY
194282011-05-28 Chong Yidong <cyd@stupidchicken.com>
19429
19430 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
19431
5012f24c
DK
194322011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
19433
19434 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
19435 (hs-hide-block-at-point, hs-find-block-beginning)
19436 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
19437 (Bug#8279).
19438
6a639b16
GM
194392011-05-28 Glenn Morris <rgm@gnu.org>
19440
19441 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
19442
d43eaf2c
CY
194432011-05-28 Chong Yidong <cyd@stupidchicken.com>
19444
5199bde1
CY
19445 * help-fns.el (describe-function-1): If the function is a derived
19446 major mode, print the parent mode.
19447
d43eaf2c
CY
19448 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
19449 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
19450
423428a8
SM
194512011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
19452
0ff8e1ba 19453 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 19454 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
19455 * progmodes/etags.el (tags-completion-at-point-function):
19456 * info-look.el (info-lookup-completions-at-point): Mark as
19457 non-exclusive.
19458 (info-complete): Adjust accordingly.
19459
423428a8
SM
19460 * info-look.el: Convert to lexical-binding and completion-at-point.
19461 (info-lookup-completions-at-point): New function.
19462 (info-complete): Use it and completion-in-region.
19463
b74aa22b
DA
194642011-05-28 Drew Adams <drew.adams@oracle.com>
19465
19466 * isearch.el: Let M-e start with point at the first mismatched char.
19467 (isearch-fail-pos): New function.
19468 (isearch-edit-string): Use it.
19469
66e2e71d
DK
194702011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
19471
19472 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
19473
b1890b0f 194742011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
19475
19476 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
19477 traversal functions for avl-trees.
19478 (avl-tree--stack): New struct.
19479 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
19480 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
19481 (avl-tree--do-enter): Add optional `updatefun' arg.
19482 Change return value.
eb95d01d 19483 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
19484 (avl-tree--do-delete): Add `test' and `nilflag' args.
19485 Change return value.
eb95d01d
TC
19486 (avl-tree-member): Add optional `nilflag'
19487 (avl-tree-member-p): New function.
19488 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
19489 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
19490 (avl-tree-stack-empty-p): New functions.
19491
3769ddcf
TC
19492 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
19493 avl-tree--del-balance1 and make it work both ways.
19494 (avl-tree--del-balance2): Remove.
19495 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
19496 make it work both ways.
19497 (avl-tree--enter-balance2): Remove.
19498 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
19499 New macros.
19500 (avl-tree--mapc, avl-tree-map): Add direction argument.
19501
eb95d01d 195022011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
19503
19504 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
19505
a9f737ee
CY
195062011-05-27 Chong Yidong <cyd@stupidchicken.com>
19507
19508 * select.el: Support clipboard managers with built-in function
19509 x-clipboard-manager-save, via delete-frame-functions and
19510 kill-emacs-hook.
19511 (xselect-convert-to-targets): Add MULTIPLE target to list.
19512 (xselect-convert-to-save-targets): New function.
19513
c92a1e54
KH
195142011-05-27 Kenichi Handa <handa@m17n.org>
19515
19516 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
19517 let-binding rfc2047-encode-encoded-words to nil.
19518
e145f188
GM
195192011-05-27 Glenn Morris <rgm@gnu.org>
19520
5ec8a862
GM
19521 * mail/emacsbug.el: Don't require url-util.
19522
4b29d9fb
GM
19523 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
19524
e145f188
GM
19525 * files.el (set-auto-mode):
19526 Also respect mode: entries at the end of the file. (Bug#8586)
19527
7d15102b
GM
195282011-05-26 Glenn Morris <rgm@gnu.org>
19529
98f593b8
GM
19530 * files.el (hack-local-variables-prop-line, hack-local-variables):
19531 Downcase mode names, as seems to be traditional.
27b48e63 19532 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 19533
7d15102b
GM
19534 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
19535 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
19536
51d5b4ec
JD
195372011-05-25 Julien Danjou <julien@danjou.info>
19538
19539 * textmodes/rst.el (rst-define-level-faces): Do not define face
19540 symbol if it is already defined.
19541
91513f63
VB
195422011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
19543
19544 * play/5x5.el (5x5-new-game, 5x5-randomize):
19545 Reset 5x5-solver-output to nil when a new grid is cast.
19546 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
19547 these debugging traces, as defmacro breaks the compiled code.
19548
4d90d6d0
DK
195492011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
19550
19551 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
19552
e1b90ef6
LL
195532011-05-24 Leo Liu <sdl.web@gmail.com>
19554
19555 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
19556 (vc-bzr-sha1): Adapt.
19557
d8e4b68b 19558 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
19559
19560 * bindings.el: Provide sha1 feature.
19561
db0406bb 195622011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
19563
19564 * mail/sendmail.el: Require `rfc2047'.
19565 (mail-insert-from-field): Do not perform RFC2047 encoding.
19566 (mail-encode-header): New function.
19567 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
19568 buffer to the return value of select-message-coding-system.
19569 Call mail-encode-header.
b8d747b9
KH
19570
19571 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
19572
db0406bb 195732011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 19574
4d90d6d0
DK
19575 * mail/supercite.el (sc-default-cite-frame):
19576 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 19577
eb8a5e9b
GM
195782011-05-24 Glenn Morris <rgm@gnu.org>
19579
f8630703
GM
19580 * progmodes/python.el (brm-menu): Declare.
19581
8831bbed
GM
19582 * emulation/viper.el (viper-set-hooks): Declare.
19583
eb8a5e9b
GM
19584 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
19585 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
19586 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
19587 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
19588 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
19589 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
19590
a2a25d24
SM
195912011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
19592
19593 Add an :exit-function for completion-at-point.
19594
19595 * minibuffer.el (completion--done): New fun.
19596 (completion--do-completion): Use it. New arg `expect-exact'.
19597 (minibuffer-complete, minibuffer-complete-word): Don't output message,
19598 since completion--do-completion does it for us now.
19599 (minibuffer-force-complete): Use completion--done and
19600 completion--replace. Handle sole-completion case with more care.
19601 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
19602 (completion-extra-properties): New var.
19603 (completion-annotate-function): Make obsolete.
19604 (minibuffer-completion-help): Adjust accordingly.
19605 Use completion-list-insert-choice-function.
19606 (completion-at-point, completion-help-at-point):
19607 Bind completion-extra-properties.
19608 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
19609 * simple.el (completion-list-insert-choice-function): New var.
19610 (completion-setup-function): Preserve it.
19611 (choose-completion): Pay attention to it, shuffle the code a bit.
19612 (choose-completion-string): New arg `insert-function'.
19613
19614 * textmodes/bibtex.el: Convert to lexical binding.
19615 (bibtex-mode-map): Use completion-at-point.
19616 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
19617 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
19618 (bibtex-complete): Define as obsolete alias.
19619 (bibtex-complete-internal): Remove.
19620 (bibtex-format-entry): Remove unused sub-group in regexp.
19621 * shell.el (shell--command-completion-data)
19622 (shell-environment-variable-completion):
19623 * pcomplete.el (pcomplete-completions-at-point):
19624 * comint.el (comint--complete-file-name-data): Use :exit-function
19625 instead of completion-table-with-terminator so it also works for
19626 choose-completion.
19627
e44e373d
SM
196282011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
19629
4f91a816
SM
19630 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
19631
782fc819
SM
19632 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
19633 (bug#8710).
19634
e44e373d
SM
19635 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
19636
381987c3
KM
196372011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
19638
19639 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
19640 customization variable and implement: If non-nil, auto-fill will
19641 be inhibited while on topic's header line.
19642
b776bc70
VB
196432011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
19644
19645 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 19646 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
19647 always have a solution in grid size = 5 cases.
19648 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
19649 (5x5-solver-output, 5x5-log-buffer): New vars.
19650 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
19651 Make these variables buffer local to achieve 5x5 multi-session-ness.
19652 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
19653 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
19654 (5x5-solve-suggest): New funs.
19655 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
19656 randomize a grid so that we ensure that there is always a solution.
19657 (5x5-make-random-grid): Allow other movement than flipping.
19658
7de88b6e
KR
196592011-05-23 Kevin Ryde <user42@zip.com.au>
19660
19661 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 19662 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
19663 advice and passes PREDICATE.
19664
b1ef1257
SM
196652011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
19666
bbca48fe
SM
19667 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
19668 byte-compile-lambda if it's actually a lambda.
19669
b1ef1257
SM
19670 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
19671 Fix function quoting. Use backquote better.
19672
92a9cc65
YS
196732011-05-22 Yuanle Song <sylecn@gmail.com>
19674
19675 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
19676 matching (Bug#8516).
19677
f0fb8059
JA
196782011-01-22 Jari Aalto <jari.aalto@cante.net>
19679
19680 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
19681 different face (Bug#8178).
19682
d5b44c93
CY
196832011-05-22 Chong Yidong <cyd@stupidchicken.com>
19684
19685 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
19686 defface (Bug#8144).
19687
79106a44
SM
196882011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
19689
9c848d8a
SM
19690 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
19691 funcall as well (bug#8712). Warn when performing those conversions.
19692 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
19693
79106a44
SM
19694 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
19695
88dfa756
GM
196962011-05-22 Glenn Morris <rgm@gnu.org>
19697
19698 * files.el (hack-local-variables-prop-line): Small simplifications.
19699 (hack-local-variables, hack-local-variables-prop-line):
19700 If MODE-ONLY, return the mode, rather than just `t'.
19701
b7cf2c79
SM
197022011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
19703
19704 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
19705
3f1a8558
GM
197062011-05-21 Glenn Morris <rgm@gnu.org>
19707
7e4ccca3
GM
19708 * files.el (hack-local-variables-prop-line, hack-local-variables):
19709 If only interested in the mode, don't bother doing the other stuff.
19710
637d46ca
GM
19711 * image-mode.el (image-after-revert-hook):
19712 Redraw all frames on which the image is visible. (Bug#8567)
19713
973d955b
GM
19714 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
19715
3f1a8558
GM
19716 * wid-edit.el (widget-checklist-match-inline):
19717 Fix 2011-04-19 change. (Bug#8649)
19718
96479927
SM
197192011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
19720
1dcf791f
SM
19721 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
19722 Also allow singlespace after single-letter capitals followed by a dot.
19723
96479927
SM
19724 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
19725 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
19726
35fd0881
N
197272011-05-20 Nix <nix@esperi.org.uk>
19728
19729 * files.el (basic-save-buffer-2):
19730 Fix handling of break-hardlink-on-save with non-existent files.
19731
82745640
DD
197322011-05-19 Deniz Dogan <deniz@dogan.se>
19733
19734 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 19735 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 19736
4a720484
GM
197372011-05-19 Glenn Morris <rgm@gnu.org>
19738
d1f21341
GM
19739 * progmodes/f90.el (f90-type-def-re):
19740 Handle "type, bind(c)". (Bug#8691)
19741
4a720484
GM
19742 * emacs-lisp/autoload.el (batch-update-autoloads):
19743 Set autoload-excludes by parsing loadup.el rather than Makefiles.
19744
2fb0a219
MA
197452011-05-18 Michael Albinus <michael.albinus@gmx.de>
19746
19747 * net/tramp.el (tramp-process-actions): Set "first-password-request"
19748 property for the correct connection in case of multihops.
19749
e565dd37
GM
197502011-05-18 Glenn Morris <rgm@gnu.org>
19751
c2571358 19752 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
19753 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
19754
e565dd37
GM
19755 Rationalize calendar handling of day and month abbrev-arrays.
19756 * calendar/calendar.el (calendar-customized-p): New function.
19757 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
19758 (calendar-day-name-array, calendar-month-name-array): Doc fix.
19759 Add :set function.
19760 (calendar-abbrev-length, calendar-day-abbrev-array)
19761 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
19762 (calendar-day-abbrev-array, calendar-month-abbrev-array):
19763 Elements may no longer be nil.
19764 (calendar-day-name, calendar-month-name):
19765 Update for changed nature of abbrev arrays.
19766 * calendar/diary-lib.el (diary-name-pattern):
19767 Update for changed nature of abbrev arrays.
19768 (diary-mark-entries-1): Update calendar-make-alist calls.
19769 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
19770 * calendar/cal-html.el (cal-html-day-abbrev-array):
19771 Simply inherit from calendar-day-abbrev-array.
19772
1d99a745
SM
197732011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
19774
19775 * progmodes/grep.el (grep-mode): Disable default
19776 compilation-directory-matcher setting (bug#8684).
19777
7c1d9aa0
MA
197782011-05-17 Michael Albinus <michael.albinus@gmx.de>
19779
19780 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
19781 instead of "head" and "tail". There were problems with SunOS 5.9,
19782 and it performs better.
19783
3952e9d8
GM
197842011-05-17 Glenn Morris <rgm@gnu.org>
19785
2dd12e7f
GM
19786 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
19787
e4157b9c
GM
19788 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
19789 Replace obsolete function.
19790
8e249bbd
GM
19791 * shell.el (pcomplete-parse-arguments-function): Declare.
19792
3952e9d8
GM
19793 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
19794 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
19795 (appt-check): Doc fixes.
19796 (appt-disp-window-function, appt-delete-window-function):
19797 Remove needless special case in custom :type.
19798 (appt-display-count): Default to 0, not nil.
19799 (appt-check): Reset appt-display-count to 0, not nil.
19800
c71a0d48 198012011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 19802
c71a0d48
GM
19803 * progmodes/python.el (python-font-lock-keywords):
19804 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 19805
31d55be9
SM
198062011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
19807
19808 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
19809
3bfacb2f
KR
198102011-05-16 Kevin Ryde <user42@zip.com.au>
19811
19812 * info-look.el (makefile-automake-mode): New setups, looking in
19813 automake manual, then makefile-mode.
19814 (makefile-mode): Remove automake manual, have it just in
19815 makefile-automake-mode since there's various things different or
19816 not relevant to plain make.
19817 (makefile-mode): Remove "other-modes" non-existent automake-mode,
19818 believe a hypothetical automake-mode would go to makefile-mode,
19819 not the other way around.
19820
c8e83751
CY
198212011-05-15 Chong Yidong <cyd@stupidchicken.com>
19822
5e9e35cd
CY
19823 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
19824 hunk-end tags (Bug#8672).
19825
c8e83751
CY
19826 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
19827 vc-annotate-show-diff-revision-at-line (Bug#8671).
19828
50b23e5a
GM
198292011-05-14 Glenn Morris <rgm@gnu.org>
19830
7210a739
GM
19831 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
19832 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
19833 (change-log-font-lock-keywords): Also handle multiple author lines
19834 with leading tabs. (Bug#8644)
7210a739 19835
4691905a
GM
19836 * calendar/appt.el (appt-check): Rename some local variables.
19837 Some simplification/reordering.
19838
50b23e5a
GM
19839 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
19840 (feedmail-sendmail-f-doesnt-sell-me-out)
19841 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
19842 (feedmail-debug-sit-for, feedmail-queue-express-hook)
19843 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
19844 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
19845 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
19846 (feedmail-binmail-gnulinuxish-template):
19847 Rename from feedmail-binmail-linuxish-template.
19848 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
19849 Use insert-buffer-substring.
19850
215cda7c
BC
198512011-05-14 Bill Carpenter <bill@carpenter.org>
19852
19853 * mail/feedmail.el (feedmail-patch-level): Increase.
19854 (feedmail-debug): New custom group.
19855 (feedmail-confirm-outgoing-timeout)
19856 (feedmail-sendmail-f-doesnt-sell-me-out)
19857 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
19858 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
19859 (feedmail-sender-line, feedmail-from-line)
19860 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 19861 (feedmail-spray-this-address)
215cda7c
BC
19862 (feedmail-spray-address-fiddle-plex-list)
19863 (feedmail-queue-use-send-time-for-date)
19864 (feedmail-queue-use-send-time-for-message-id)
19865 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
19866 (feedmail-buffer-eating-function):
19867 Doc fixes.
19868 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
19869 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
19870 (feedmail-message-action-scroll-down): New functions.
19871 (feedmail-queue-directory, feedmail-queue-draft-directory):
19872 Use expand-file-name.
19873 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
19874 Remove C-v help entry.
19875 (feedmail-queue-buffer-file-name): New variable.
19876 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
19877 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
19878 (feedmail-message-action-send-strong, feedmail-message-action-edit)
19879 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
19880 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
19881 (feedmail-message-action-toggle-spray)
19882 (feedmail-run-the-queue-no-prompts)
19883 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
19884 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
19885 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
19886 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
19887 (feedmail-envelope-deducer, feedmail-fiddle-from)
19888 (feedmail-fiddle-sender, feedmail-default-date-generator)
19889 (feedmail-fiddle-date, feedmail-fiddle-message-id)
19890 (feedmail-fiddle-spray-address)
19891 (feedmail-fiddle-list-of-spray-fiddle-plexes)
19892 (feedmail-fiddle-list-of-fiddle-plexes)
19893 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
19894 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
19895 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
19896 Change default. Doc fix.
19897 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
19898 (feedmail-binmail-linuxish-template): New constant.
19899 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
19900 Respect feedmail-sendmail-f-doesnt-sell-me-out.
19901 (feedmail-send-it): Add debug call.
19902 Use feedmail-queue-buffer-file-name, and
19903 feedmail-send-it-immediately-wrapper.
19904 (feedmail-message-action-send): Add debug call.
19905 Use feedmail-send-it-immediately-wrapper.
19906 (feedmail-queue-express-to-queue): Add debug call.
19907 Run feedmail-queue-express-hook.
19908 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
19909 (feedmail-message-action-help-blat):
19910 Rename from feedmail-queue-send-edit-prompt-help-first.
19911 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
19912 Check line-endings. Handle errors better.
19913 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
19914 Doc fix. Add debug call.
19915 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
19916 Use feedmail-queue-send-edit-prompt-inner.
19917 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
19918 (feedmail-queue-send-edit-prompt-inner): New function, extracted
19919 from feedmail-queue-send-edit-prompt.
19920 (feedmail-queue-send-edit-prompt-help)
19921 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
19922 (feedmail-tidy-up-slug): Add debug call.
19923 Respect feedmail-queue-slug-suspect-regexp.
19924 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
19925 (feedmail-dump-message-to-queue): Add debug call.
19926 Expand queue-directory.
19927 (feedmail-dump-message-to-queue): Change message slightly.
19928 Use feedmail-say-chatter.
19929 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
19930 (feedmail-send-it-immediately-wrapper): New function.
19931 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
19932 Insert empty string rather than newline. Handle full-frame case.
19933 Use catch/throw. Use feedmail-say-chatter.
19934 (feedmail-fiddle-from): Try mail-host-address.
19935 (feedmail-default-message-id-generator): Doc fix.
19936 Bind system-time-locale. Handle missing end.
19937 (feedmail-fiddle-x-mailer): Add debug call.
19938 Handle feedmail-x-mailer-line being nil.
19939 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
19940 Add debug call. Use buffer-substring-no-properties.
19941 (feedmail-say-debug, feedmail-say-chatter): New functions.
19942 (feedmail-find-eoh): Give an explicit error.
19943
42c7e61e
UJ
199442011-05-13 Ulf Jasper <ulf.jasper@web.de>
19945
c2571358 19946 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 19947 family from helvetica to sans.
c2571358 19948 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
19949 etc/images/newsticker.
19950
c2571358 19951 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
19952 family from helvetica to sans.
19953
19954 * net/newst-plainview.el (newsticker-new-item-face)
19955 (newsticker-old-item-face, newsticker-immortal-item-face)
19956 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 19957 (newsticker-statistics-face): Change default family from
42c7e61e 19958 helvetica to sans.
c2571358 19959 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
19960 etc/images/newsticker.
19961
5d3385a0
JB
19962 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
19963 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
19964 auto-marking.
19965
8497a297
DV
199662011-05-13 Didier Verna <didier@xemacs.org>
19967
19968 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
19969 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
19970 TODO entries.
8497a297
DV
19971 (lisp-lambda-list-keyword-parameter-indentation)
19972 (lisp-lambda-list-keyword-parameter-alignment)
19973 (lisp-lambda-list-keyword-alignment): New customizable user options.
19974 (lisp-indent-defun-method): Improve docstring.
19975 (extended-loop-p): Fix comment.
19976 (lisp-indent-lambda-list-keywords-regexp): New variable.
19977 (lisp-indent-lambda-list): New function.
19978 (lisp-indent-259): Use it.
19979 (lisp-indent-defmethod): Support for more than one
19980 method qualifier and properly indent methods lambda-lists.
19981 (defgeneric): Provide a missing common-lisp-indent-function property.
19982
f278f87f
SM
199832011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
19984
19985 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
19986 bounds for the empty string (bug#8667).
19987
5233edd7
GM
199882011-05-13 Glenn Morris <rgm@gnu.org>
19989
5237a44f
GM
19990 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
19991
8340026c 19992 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 19993 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 19994
5233edd7 19995 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 19996 (appt-time-msg-list): Doc fix.
a5464014 19997 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 19998
92d10796
AS
199992011-05-12 Andreas Schwab <schwab@linux-m68k.org>
20000
20001 * progmodes/ld-script.el (ld-script-keywords)
20002 (ld-script-builtins): Update keywords list.
20003
914a0ae1
SM
200042011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
20005
c89be45f
SM
20006 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
20007
914a0ae1
SM
20008 * shell.el (shell-completion-vars): New function.
20009 (shell-mode):
20010 * simple.el (read-shell-command): Use it.
20011 (blink-matching-open): No need for " [...]" in minibuffer-message.
20012
98dc3df3
GM
200132011-05-12 Glenn Morris <rgm@gnu.org>
20014
20015 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
20016 (appt-check): Simplify.
20017
d2fc7e3d 200182011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 20019
4d61f28d 20020 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
20021 literal "/dev/null".
20022
d2fc7e3d 200232011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
20024
20025 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
20026 Fix typo.
20027
d2fc7e3d 200282011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 20029
3f254caa
SM
20030 * progmodes/which-func.el (which-function):
20031 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
20032 which might not be defined (Bug#8260).
20033
d45885f7
GM
200342011-05-12 Glenn Morris <rgm@gnu.org>
20035
20036 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
20037 Let byte-compile-initial-macro-environment always take precedence.
20038
488086f4
SM
200392011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
20040
20041 * net/rcirc.el: Add support for SSL/TLS connections.
20042 (rcirc-server-alist): New field `encryption'.
20043 (rcirc): Check `encryption' settings.
20044 (rcirc-connect): New arg `encryption'. Use open-network-stream.
20045 Merge make-local-variable into `set'.
20046 (rcirc--connection-open-p): New function.
20047 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
20048 the process is not a network process (e.g. running gnutls-cli).
20049 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
20050 Make rcirc-(en|de)code-coding-system local here.
20051 (rcirc-mode): Merge make-local-variable into `set'.
20052 (rcirc-parent-buffer): Make permanent buffer-local.
20053 (rcirc-multiline-minor-mode): Don't do it here.
20054 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
20055 there's no server buffer.
20056
7d3b9d44
GM
200572011-05-11 Glenn Morris <rgm@gnu.org>
20058
f64049c6
GM
20059 * newcomment.el (comment-kill): Prefix "unused" local.
20060
93c9df73
GM
20061 * term/w32console.el (get-screen-color): Declare.
20062
7d3b9d44
GM
20063 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
20064 Handle symbol elements of byte-compile-initial-macro-environment.
20065
9e2dd53f
LL
200662011-05-10 Leo Liu <sdl.web@gmail.com>
20067
488086f4
SM
20068 * bookmark.el (bookmark-bmenu-mode-map):
20069 Bind bookmark-bmenu-search to `/'.
8b340240 20070
9e2dd53f 20071 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
20072 (footnote-unicode-string, footnote-unicode-regexp): New variable.
20073 (Footnote-unicode): New function.
20074 (footnote-style-alist): Add unicode style to the list.
20075 (footnote-style): Doc fix.
9e2dd53f 20076
79b70037
GM
200772011-05-10 Jim Meyering <meyering@redhat.com>
20078
20079 Fix doubled-word typos.
20080 * international/quail.el (quail-insert-kbd-layout): and and -> and
20081 * kermit.el: and and -> and
20082 * net/ldap.el (ldap-search-internal): to to -> to
20083 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
20084 * progmodes/js.el (js-mode): and and -> and
20085 * textmodes/artist.el (artist-move-to-xy): at at -> at
20086 (artist-draw-region-trim-line-endings): if if -> if
20087 And Safetyc -> Safety.
20088 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
20089
b8f82dc1 200902011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 20091 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
20092
20093 * files.el (hack-one-local-variable-eval-safep):
20094 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
20095
4f99f44b
GM
200962011-05-10 Glenn Morris <rgm@gnu.org>
20097
20098 * calendar/diary-lib.el (diary-list-entries-hook)
20099 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
20100 (diary-nongregorian-marking-hook, diary-list-entries)
20101 (diary-include-other-diary-files, diary-mark-entries)
20102 (diary-mark-included-diary-files): Doc fixes.
20103
84f29e6b
JB
201042011-05-09 Juanma Barranquero <lekktu@gmail.com>
20105
20106 * misc.el: Require tabulated-list.el during compilation.
20107
9bedd73a
CY
201082011-05-09 Chong Yidong <cyd@stupidchicken.com>
20109
488086f4
SM
20110 * progmodes/compile.el (compilation-start):
20111 Run compilation-filter-hook for the async case too.
9bedd73a
CY
20112 (compilation-filter-hook): Doc fix.
20113
797c735c
DD
201142011-05-09 Deniz Dogan <deniz@dogan.se>
20115
20116 * wdired.el: Remove outdated installation comment. Fix usage
20117 comment.
20118
5f4b1dfe
JB
201192011-05-09 Juanma Barranquero <lekktu@gmail.com>
20120
20121 * misc.el: Implement new command `list-dynamic-libraries'.
20122 (list-dynamic-libraries--loaded-only-p): New variable.
20123 (list-dynamic-libraries--refresh): New function.
20124 (list-dynamic-libraries): New command.
20125
4c44026c
CY
201262011-05-09 Chong Yidong <cyd@stupidchicken.com>
20127
488086f4
SM
20128 * progmodes/compile.el (compilation-error-regexp-alist-alist):
20129 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
20130 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
20131 higher priority to avoid clobbering by gnu.
20132
027f966d
CY
201332011-05-08 Chong Yidong <cyd@stupidchicken.com>
20134
20135 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
20136 if the face has existing theme settings (Bug#8454).
20137
085f5d7d
CY
201382011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
20139
488086f4
SM
20140 * progmodes/perl-mode.el (perl-imenu-generic-expression):
20141 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 20142
2a86a00c
RS
20143 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
20144 special file names `.' and `..' (Bug#8259).
20145
d9c54a06
CY
201462011-05-08 Chong Yidong <cyd@stupidchicken.com>
20147
488086f4
SM
20148 * progmodes/grep.el (grep-mode-font-lock-keywords):
20149 Remove buffer-changing entries.
d9c54a06
CY
20150 (grep-filter): New function.
20151 (grep-mode): Add it to compilation-filter-hook.
20152
20153 * progmodes/compile.el (compilation-filter-hook)
20154 (compilation-filter-start): New defvars.
20155 (compilation-filter): Call compilation-filter-hook prior to
20156 updating the process mark.
20157
c4662635
SM
201582011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
20159
20160 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
20161
b0512a1d
EZ
201622011-05-07 Eli Zaretskii <eliz@gnu.org>
20163
605c9376
EZ
20164 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
20165 mailclient-send-it even if window-system is nil. (Bug#8595)
20166
c4662635
SM
20167 * term/w32console.el (terminal-init-w32console):
20168 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
20169 background-mode. (Bug#8597)
20170
d1dc2cc2
SM
201712011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
20172
20173 Make bytecomp.el understand that defmethod defines funs (bug#8631).
20174 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
20175 New functions.
20176 (defgeneric, eieio--defmethod): Use them.
20177 (eieio-defgeneric): Remove.
20178 (defmethod): Call defgeneric in a way visible to the byte-compiler.
20179
915d1300
GM
201802011-05-07 Glenn Morris <rgm@gnu.org>
20181
a3961c3e
GM
20182 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
20183 Use let rather than let*.
20184 (timeclock-find-discrep): Remove unused local.
20185
314347b9
GM
20186 * calendar/diary-lib.el (diary-comment-start): Doc fix.
20187
915d1300
GM
20188 * calendar/appt.el (appt-time-msg-list): Doc fix.
20189
275b59b0
NF
201902011-05-06 Noah Friedman <friedman@splode.com>
20191
20192 * apropos.el (apropos-print-doc): Only use
20193 emacs-lisp-docstring-fill-column when it is bound to an integer,
20194 per that variable's documentation.
20195
6c19f744
SM
201962011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
20197
20198 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 20199 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 20200
60f884b2
GM
202012011-05-06 Glenn Morris <rgm@gnu.org>
20202
5006e634
GM
20203 * calendar/appt.el (appt-message-warning-time): Doc fix.
20204 (appt-warning-time-regexp): New option.
20205 (appt-make-list): Respect appt-message-warning-time.
20206
548d0a63
GM
20207 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
20208 New options.
20209 (diary-add-to-list): Strip comments from the displayed string.
20210 (diary-mode): Set comment-start and comment-end.
20211
60f884b2
GM
20212 * vc/diff-mode.el (smerge-refine-subst): Declare.
20213 (diff-refine-hunk): Don't require smerge-mode when compiling.
20214
989681bb
JB
202152011-05-06 Juanma Barranquero <lekktu@gmail.com>
20216
20217 * simple.el (list-processes): Return nil as the docstring says.
20218
a6bc05e1
MA
202192011-05-05 Michael Albinus <michael.albinus@gmx.de>
20220
20221 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
20222 to "".
20223 (ange-ftp-write-region, ange-ftp-insert-file-contents)
20224 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
20225 determining of binary transfer. (Bug#7383)
20226
23c22e9a
MA
202272011-05-05 Michael Albinus <michael.albinus@gmx.de>
20228
c4662635
SM
20229 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
20230 Fix port computation bug. (Bug#8618)
23c22e9a 20231
0bff894f
GM
202322011-05-05 Glenn Morris <rgm@gnu.org>
20233
b8296902
GM
20234 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
20235
1f522ce8
GM
20236 * simple.el (shell-dynamic-complete-functions)
20237 (comint-dynamic-complete-functions): Declare.
20238
cf5bee67
GM
20239 * net/network-stream.el (gnutls-negotiate):
20240 * simple.el (tabulated-list-print): Fix declarations.
20241
20242 * progmodes/gud.el (syntax-symbol, syntax-point):
20243 Remove unnecessary and incorrect declarations.
20244
0bff894f 20245 * emacs-lisp/check-declare.el (check-declare-scan):
1f9f395d 20246 Handle byte-compile-initial-macro-environment in bytecomp.el.
0bff894f 20247
9869b3ae
SM
202482011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
20249
20250 Fix earlier half-done eieio-defmethod change (bug#8338).
20251 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
20252 Streamline and change calling convention.
20253 (defmethod): Adjust accordingly and simplify.
20254 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
20255 new eieio--defmethod.
20256 (slot-boundp): Minor CSE simplification.
20257
9c1d5ac5
MZ
202582011-05-05 Milan Zamazal <pdm@zamazal.org>
20259
20260 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
20261 (glasses-make-readable): Use glasses-separate-capital-groups.
20262
455c834e
JB
202632011-05-05 Juanma Barranquero <lekktu@gmail.com>
20264
20265 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
20266 (warning-series): Doc fix.
20267 (display-warning): Don't try to create the buffer if we just found it.
20268
9ed7c8cb
CY
202692011-05-04 Chong Yidong <cyd@stupidchicken.com>
20270
20271 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
20272 (autoload-find-generated-file): New function.
20273 (generate-file-autoloads): Bind generated-autoload-file to
20274 buffer-file-name.
9869b3ae
SM
20275 (update-file-autoloads, update-directory-autoloads):
20276 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
20277 output file (Bug#7989).
20278 (batch-update-autoloads): Doc fix.
20279
0898ca10
JB
202802011-05-04 Juanma Barranquero <lekktu@gmail.com>
20281
20282 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
20283
31dfb76c
GM
202842011-05-04 Glenn Morris <rgm@gnu.org>
20285
f330b642
GM
20286 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
20287 function, so it follows changes in calendar-date-style.
20288 (diary-fancy-date-matcher): New function.
20289 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
20290 (diary-fancy-font-lock-fontify-region-function):
20291 Use diary-fancy-date-pattern as a function.
20292
31dfb76c
GM
20293 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
20294 non-numbers for `year' etc pseudo-variables. (Bug#8583)
20295
48e79d6a
TZ
202962011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
20297
20298 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
20299 instead of positional arguments. Allow :keylist and :crlfiles
20300 arguments.
20301 (open-gnutls-stream): Call it.
20302
20303 * net/network-stream.el (network-stream-open-starttls): Adjust to
20304 call `gnutls-negotiate' with :process and :hostname arguments.
20305
dd5a5ee0
SM
203062011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
20307
ef80fc09
SM
20308 * minibuffer.el (completion--message): New function.
20309 (completion--do-completion, minibuffer-complete)
20310 (minibuffer-force-complete, minibuffer-complete-word): Use it.
20311 (completion--do-completion): Don't ignore completion-auto-help when in
20312 icomplete-mode.
20313
dd5a5ee0
SM
20314 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
20315 internal encoding (e.g. tibetan zero is not whitespace).
20316 (global-whitespace-mode): Prefer save-current-buffer.
20317 (whitespace-trailing-regexp): Remove useless save-match-data.
20318 (whitespace-empty-at-bob-regexp): Minor simplification.
20319
b7d22a83
CY
203202011-05-03 Chong Yidong <cyd@stupidchicken.com>
20321
20322 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
20323
5192af46
AM
203242011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
20325
20326 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 20327 Use `concat' to create string for insertion.
5192af46 20328
5767d190
SM
203292011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
20330
20331 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
20332 Avoid open-line which runs post-self-insert-hook.
20333 (bibtex-fill-entry): Remove unused `end' var.
20334
bf242939
AM
203352011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
20336
5767d190
SM
20337 * textmodes/ispell.el (ispell-add-per-file-word-list):
20338 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 20339
25666126
LL
203402011-05-03 Leo Liu <sdl.web@gmail.com>
20341
20342 * isearch.el (isearch-yank-pop): New command.
5767d190 20343 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
20344 (isearch-forward): Mention it.
20345
52d3c2d0
SM
203462011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
20347
1bcace58
SM
20348 * simple.el (minibuffer-complete-shell-command): Remove.
20349 (minibuffer-local-shell-command-map): Use completion-at-point.
20350 (read-shell-command): Setup completion vars here instead.
20351 (read-expression-map): Bind TAB to symbol completion.
20352
52d3c2d0
SM
20353 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
20354 error directly rather via storing it into `results'.
20355
35813471
LL
203562011-05-02 Leo Liu <sdl.web@gmail.com>
20357
20358 * vc/diff.el: Fix description.
20359
e793a940
LMI
203602011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
20361
20362 * server.el (server-eval-at): New function.
20363
8de66e05
LMI
203642011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
20365
20366 * net/network-stream.el (open-network-stream): Take a :nowait
20367 parameter and pass it on to `make-network-process'.
20368 (network-stream-open-plain): Ditto.
20369
dcb79f20
AS
203702011-04-30 Andreas Schwab <schwab@linux-m68k.org>
20371
20372 * faces.el (face-spec-set-match-display): Don't match toolkit
20373 options on terminal frames.
20374
14a7fbd8
SM
203752011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
20376
7eabc1be
SM
20377 * progmodes/pascal.el: Use lexical binding.
20378 (pascal-mode-map): Remove author preferences.
20379
14a7fbd8
SM
20380 * pcomplete.el (pcomplete-std-complete): Don't abuse
20381 completion-at-point.
20382
50f84510
JB
203832011-04-28 Juanma Barranquero <lekktu@gmail.com>
20384
6e087a44
JB
20385 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
20386 removing code that has been dead since 1991 or so.
20387
50f84510
JB
20388 * startup.el (command-line): When warning about "_emacs", use a
20389 delayed warning to allow the user to filter it out.
20390
0ba690bd
DD
203912011-04-28 Deniz Dogan <deniz@dogan.se>
20392
20393 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
20394 user has not joined.
20395
08abfaad
SM
203962011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
20397
20398 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
20399 aren't any completions at point.
20400
638f053a
JB
204012011-04-28 Juanma Barranquero <lekktu@gmail.com>
20402
20403 * subr.el (display-delayed-warnings): New function.
20404 (delayed-warnings-hook): New variable.
20405
8fff8daa
SM
204062011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
20407
08abfaad
SM
20408 * minibuffer.el (completion-at-point, completion-help-at-point):
20409 Don't presume that a given completion-at-point-function will always
20410 use the same calling convention.
20411
8fff8daa
SM
20412 * pcomplete.el (pcomplete-completions-at-point):
20413 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
20414 pcomplete-seen is non-nil.
20415 (pcomplete-comint-setup): Also recognize the new comint/shell
20416 completion functions.
20417 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
20418 pcomplete-seen is non-nil.
20419
841a1577 204202011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 20421
841a1577 20422 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 20423 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 20424 the first character in the entry. This allows for code to add its
211ec907
UJ
20425 own uid to the entry.
20426 (icalendar--convert-float-to-ical): Add export of
20427 `diary-float'-entries save for those with the optional DAY
20428 argument.
20429
2a782793
DC
204302011-04-27 Daniel Colascione <dan.colascione@gmail.com>
20431
20432 * subr.el (shell-quote-argument): Use alternate escaping strategy
20433 when we spot a variable reference in a string.
20434
0438ce91
DC
204352011-04-26 Daniel Colascione <dan.colascione@gmail.com>
20436
20437 * cus-start.el (all): Define customization for debug-on-event.
20438
841a1577 204392011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
20440
20441 * subr.el (shell-quote-argument): Escape correctly under Windows.
20442
d090ed6c
SM
204432011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
20444
20445 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
20446
bfd31217
MA
204472011-04-25 Michael Albinus <michael.albinus@gmx.de>
20448
d090ed6c
SM
20449 * net/tramp.el (tramp-process-actions): Add POS argument.
20450 Delete region between POS and (pos).
bfd31217 20451
d090ed6c
SM
20452 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
20453 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
20454 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
20455
20456 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
20457 position in `tramp-process-actions' call.
20458
20459 * net/trampver.el: Update release number.
20460
e92f3bd3
SM
204612011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
20462
850256b5
SM
20463 * custom.el (defcustom): Obey lexical-binding.
20464
e92f3bd3
SM
20465 Fix octave-inf completion problems reported by Alexander Klimov.
20466 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
20467 Inherit from octave-mode-syntax-table.
20468 (inferior-octave-mode): Set info-lookup-mode.
20469 (inferior-octave-completion-at-point): New function.
20470 (inferior-octave-complete): Use it and completion-in-region.
20471 (inferior-octave-dynamic-complete-functions): Use it as well, and use
20472 comint-filename-completion.
20473 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
20474 symbol elements which shouldn't be word elements.
20475 (octave-font-lock-keywords, octave-beginning-of-defun)
20476 (octave-function-header-regexp): Adjust regexps accordingly.
20477 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
20478
cd22b309
JB
204792011-04-25 Juanma Barranquero <lekktu@gmail.com>
20480
20481 * net/gnutls.el (gnutls-errorp): Declare before first use.
20482
8b492194
TZ
204832011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
20484
20485 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
20486 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 20487 default trustfile exists before going to use it. Add missing
5a5fa834 20488 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
20489 Reported by Claudio Bley <claudio.bley@gmail.com>.
20490 (open-gnutls-stream): Add usage example.
20491
20492 * net/network-stream.el (network-stream-open-starttls): Give host
20493 parameter to `gnutls-negotiate'.
20494 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 20495 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 20496
841a1577 204972011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 20498
cd22b309
JB
20499 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
20500 Use correct match group (bug#8438).
05842630 20501
3ba7869c
CY
205022011-04-24 Chong Yidong <cyd@stupidchicken.com>
20503
512e3ae1
CY
20504 * emacs-lisp/package.el (package-built-in-p): Fix typo.
20505 (package-menu--generate): New arg specifying packages to show.
20506 (package-menu-refresh, package-menu-execute, list-packages):
20507 Callers changed.
20508 (package-show-package-list): New function, replacing deleted
20509 package--list-packages (renamed because it is non-internal).
20510
20511 * finder.el (finder-list-matches): Use package-show-package-list
20512 instead of deleted package--list-packages.
20513
e92f3bd3
SM
20514 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
20515 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
20516 (vc-annotate-mode-map): Bind it to RET.
20517
7031be6d
UR
205182011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
20519
20520 * progmodes/etags.el (next-file): Don't use set-buffer to change
20521 buffers (Bug#8478).
20522
4ef177aa
CY
205232011-04-24 Chong Yidong <cyd@stupidchicken.com>
20524
c8d173eb
CY
20525 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
20526
4ef177aa
CY
20527 * apropos.el (apropos-label-face): Avoid variable-pitch face.
20528 (apropos-accumulator): Doc fix.
20529 (apropos-function, apropos-macro, apropos-command)
20530 (apropos-variable, apropos-face, apropos-group, apropos-widget)
20531 (apropos-plist): Add face property.
20532 (apropos-symbols-internal): Fix indentation.
20533 (apropos-print): Simplify help, and recognize apropos-multi-type.
20534 (apropos-print-doc): Use button-type-get to extract the button's
20535 face property. Fill docstring (Bug#8352).
20536
4ffd0d6b 205372011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
20538
20539 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
20540
c6c32125 20541 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 20542 (mpuz-mode-map): Use mapc.
c6c32125
JB
20543 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
20544 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
20545 Fix typos in docstrings.
20546
58d468b4
JB
20547 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
20548 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
20549
6470c3c6
JB
20550 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
20551
4ffd0d6b 205522011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
20553
20554 * minibuffer.el (completion--do-completion): Avoid the "Next char
20555 not unique" prompt if icomplete-mode is enabled (Bug#5849).
20556
3ad8bad0
CY
20557 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
20558 mouse-2 into unread-command-events, it is interpreted correctly.
20559
71d73c9c 20560 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 20561 (image-toggle-display): Doc fix.
71d73c9c 20562
841a1577 205632011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 20564
4ffd0d6b
GM
20565 * textmodes/page.el (what-page): Use line-number-at-pos to
20566 calculate line number (Bug#6825).
6e1dbaa9 20567
c2fb1b60
JB
205682011-04-22 Juanma Barranquero <lekktu@gmail.com>
20569
20570 * eshell/esh-mode.el (find-tag-interactive): Declare function.
20571 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
20572 Pass argument NO-DEFAULT to `find-tag-interactive'.
20573
e02f48d7
JB
205742011-04-22 Juanma Barranquero <lekktu@gmail.com>
20575
20576 Lexical-binding cleanup.
20577
20578 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
20579 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
20580 * progmodes/ada-prj.el (ada-prj-initialize-values)
20581 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
20582 (ada-prj-show-value):
20583 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
20584 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
20585 (antlr-invalidate-context-cache, antlr-options-menu-filter)
20586 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
20587 * progmodes/bug-reference.el (bug-reference-push-button):
20588 * progmodes/fortran.el (fortran-line-length):
20589 * progmodes/glasses.el (glasses-change):
20590 * progmodes/octave-mod.el (octave-fill-paragraph):
20591 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
20592 (python-pdbtrack-grub-for-buffer, python-sentinel):
20593 * progmodes/sql.el (sql-save-connection):
20594 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
20595 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
20596 Mark unused parameters.
20597
20598 * progmodes/compile.el (compilation--flush-directory-cache)
20599 (compilation--flush-parse, compile-internal): Mark unused parameters.
20600 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
20601 (compilation-next-error-function): Remove unused variable `timestamp'.
20602
20603 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
20604 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
20605
20606 * progmodes/dcl-mode.el (dcl-end-of-command):
20607 Remove unused variable `start'.
20608 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
20609 (dcl-option-value-basic, dcl-option-value-offset)
20610 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
20611 Mark unused parameters.
20612 (dcl-save-local-variable): Remove unused variable `val'.
20613 (mode): Declare.
20614
20615 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
20616 Mark unused parameters.
20617 (delphi-ignore-changes): Move before first use.
20618 (delphi-charset-token-at): Remove unused variable `start'.
20619 (delphi-else-start): Remove unused variable `if-count'.
20620 (delphi-comment-block-start, delphi-comment-block-end):
20621 Remove unused variable `kind'.
20622 (delphi-indent-line): Remove unused variable `new-point'.
20623
20624 * progmodes/ebrowse.el (ebrowse-files-list)
20625 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
20626 Mark unused parameters. Don't quote `lambda'.
20627 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
20628 Don't quote `lambda'.
20629 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
20630 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
20631 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
20632 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
20633 Use `ignore-errors'.
20634 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
20635 (ebrowse-view/find-file-and-search-pattern)
20636 (ebrowse-view/find-member-declaration/definition):
20637 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
20638 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
20639 Rename parameter PREFIX-ARG to PREFIX.
20640 (ebrowse-tags-read-name): Remove unused variables `start' and
20641 `member-info'.
20642 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
20643 to `tags-file'.
20644
20645 * progmodes/etags.el (local-find-tag-hook): Declare.
20646 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
20647 Mark unused parameters.
20648
20649 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
20650 (executable-interpret): Mark unused parameter.
20651
20652 * progmodes/flymake.el (flymake-process-sentinel)
20653 (flymake-after-change-function)
20654 (flymake-create-temp-with-folder-structure)
20655 (flymake-get-include-dirs-dot): Mark unused parameters.
20656 (flymake-safe-delete-directory): Remove unused variable `err'.
20657
20658 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
20659 (speedbar-timer-fn, speedbar-line-text)
20660 (speedbar-change-expand-button-char, speedbar-delete-subblock)
20661 (speedbar-center-buffer-smartly): Declare functions.
20662 (gdb-find-watch-expression): Remove unused variable `array'.
20663 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
20664 (gdb-starting): Mark unused parameters.
20665 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
20666 (gdb-table-string): Remove unused variable `res'.
20667 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
20668 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
20669 (gdb-display-buffer): Remove unused variable `cur-size'.
20670
20671 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
20672 allow lexical-binding compilation.
20673 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
20674 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
20675 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
20676 Mark unused parameters.
20677 (gud-gdb-marker-filter): Remove unused variable `match'.
20678 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
20679 lambda expressions and funcall them, instead of using `fset'.
20680
20681 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
20682 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
20683
20684 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
20685 variable `header-beg'; use `let'.
20686
20687 * progmodes/icon.el (indent-icon-exp): Remove unused variables
20688 `restart', `last-sexp' and `at-do'.
20689
20690 * progmodes/js.el (js--debug): Mark unused parameter.
20691 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
20692 (js--splice-into-items): Remove unused variable `item'.
20693 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
20694
20695 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
20696 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
20697 (makefile-complete): Remove unused variable `try'.
20698 (makefile-fill-paragraph, makefile-match-function-end):
20699 Mark unused parameters.
20700
20701 * progmodes/octave-inf.el (inferior-octave-complete):
20702 Remove unused variable `proc'.
20703 (inferior-octave-output-digest): Mark unused parameter.
20704
20705 * progmodes/perl-mode.el (perl-calculate-indent):
20706 Remove unused variable `err'.
20707
20708 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
20709 (prolog-indent-line): Mark unused parameters.
20710 (prolog-indent-line): Remove unused variable `beg'.
20711
20712 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
20713 (reporter-dont-compact-list): Declare.
20714
20715 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
20716 Remove unused variable `char'.
20717 (sh-debug): Mark unused parameter.
20718 (sh-get-indent-info): Remove unused variable `start'.
20719 (sh-calculate-indent): Remove unused variable `var'.
20720
20721 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
20722 (simula-electric-keyword): Remove unused variable `null'.
20723 (simula-search-backward, simula-search-forward): Remove unused
20724 variables `begin' and `end'.
20725
20726 * progmodes/vera-mode.el (vera-guess-basic-syntax):
20727 Remove unused variable `pos'.
20728 (vera-electric-tab, vera-comment-uncomment-region):
20729 Mark unused parameters.
20730 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
20731
7ede3b65
CY
207322011-04-22 Chong Yidong <cyd@stupidchicken.com>
20733
20734 * emacs-lisp/package.el (package--builtins, package-alist)
20735 (package-load-descriptor, package-built-in-p, package-activate)
20736 (define-package, package-installed-p)
20737 (package-compute-transaction, package-buffer-info)
20738 (package--push): Doc fix. Distinguish more clearly between
20739 version strings and version lists.
20740
121656e9
JB
207412011-04-21 Juanma Barranquero <lekktu@gmail.com>
20742
20743 Lexical-binding cleanup.
20744
20745 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
20746 (5x5-make-mutate-best):
20747 * play/fortune.el (fortune-in-buffer):
20748 * play/gomoku.el (gomoku-init-display):
20749 * play/solitaire.el (solitaire, solitaire-do-check):
20750 * play/tetris.el (tetris-default-update-speed-function):
20751 Mark unused parameters.
20752
20753 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
20754 (bubbles--shift): Remove unused variable `char-org'.
20755 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
20756 (bubbles--show-images): Remove unused variable `char'.
20757
20758 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
20759 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
20760 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
20761 (decipher-analyze-buffer): Use ?\s.
20762 (decipher-make-checkpoint): Remove unused variable `mapping'.
20763
20764 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
20765
20766 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
20767 Remove unused variable `result'; use `let'.
20768
20769 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
20770 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
20771 (gametree-children-shown-p, gametree-compute-reduced-score):
20772 Use `ignore-errors'.
20773
20774 * play/handwrite.el (ps-lpr-switches): Declare.
20775 (handwrite): Remove unused variables `pmin' and `lastp'.
20776
20777 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
20778
20779 * play/landmark.el (landmark-init-display)
20780 (landmark-update-naught-weights): Mark unused parameters.
20781 (landmark-y): Remove unused variable `noise'. Simplify.
20782 (landmark-human-plays): Remove unused variable `score'.
20783
20784 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
20785 (mpuz-try-proposal): Remove unused variable `game'.
20786
20787 * play/zone.el (life-patterns): Declare.
20788
80f499c7
JB
207892011-04-20 Juanma Barranquero <lekktu@gmail.com>
20790
20791 * vc/vc.el (ediff-vc-internal): Declare function.
20792
024ff170
SM
207932011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
20794
c0a193ea
SM
20795 * shell.el: Use lexical-binding and std completion UI.
20796 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
20797 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
20798 comint-preoutput-filter-functions rather than on
20799 comint-output-filter-functions.
20800 (shell-command-completion, shell--command-completion-data)
20801 (shell-filename-completion, shell-environment-variable-completion)
20802 (shell-c-a-p-replace-by-expanded-directory): New functions.
20803 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
20804 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
20805 (shell-dynamic-complete-environment-variable): Use them.
20806 (shell-dynamic-complete-as-environment-variable)
20807 (shell-dynamic-complete-as-command): Remove.
20808 (shell-match-partial-variable): Match past point.
20809 * comint.el: Clean up use of completion-at-point-functions.
20810 (comint-completion-at-point): New function.
20811 (comint-mode): Use it completion-at-point-functions.
20812 (comint-dynamic-complete): Make it obsolete.
20813 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
20814 (comint-c-a-p-replace-by-expanded-history): New function.
20815 (comint-dynamic-complete-functions)
20816 (comint-replace-by-expanded-history): Use it.
20817 * minibuffer.el (completion-table-with-terminator): Allow dynamic
20818 termination strings. Try harder to avoid second try-completion.
20819 (completion-in-region-mode-map): Disable bindings that don't work yet.
20820
2dbaa080
SM
20821 * comint.el: Use lexical-binding. Require CL.
20822 (comint-dynamic-complete-functions): Use comint-filename-completion.
20823 (comint-completion-addsuffix): Tweak custom type.
20824 (comint-filename-completion, comint--common-suffix)
20825 (comint--common-quoted-suffix, comint--table-subvert)
20826 (comint--complete-file-name-data): New functions.
20827 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
20828 (comint-dynamic-list-filename-completions): Use them.
20829 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 20830
2dbaa080
SM
20831 * minibuffer.el (completion-in-region-mode):
20832 Keep completion-in-region-mode--predicate global.
20833 (completion-in-region--postch):
20834 Assume completion-in-region-mode--predicate is not null.
20835
c79a6f38
SM
20836 * progmodes/flymake.el (flymake-start-syntax-check-process):
20837 Obey `dir'. Simplify.
20838
024ff170
SM
20839 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
20840 we're in VC after all.
20841
1c6c854e
CS
208422011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
20843
20844 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 20845 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
20846 (vc-version-diff): Use vc-diff-build-argument-list-internal.
20847
bed7f140
SM
208482011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
20849
332e62ab
SM
20850 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
20851 add sanity check.
20852
bed7f140
SM
20853 * obsolete/erc-hecomplete.el: Make obsolete.
20854 * obsolete/: Standardize obsolescence info in the header.
20855
f195c582
GM
208562011-04-20 Glenn Morris <rgm@gnu.org>
20857
20858 * calendar/solar.el (solar-horizontal-coordinates):
20859 Use the longitude argument rather than `calendar-longitude'.
20860 (solar-date-next-longitude): Remove unused locals.
20861
cb79b8c0
VJL
208622011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
20863
20864 * whitespace.el: New version 13.2.1.
20865
208662011-04-20 felix <EmacsWiki> (tiny change)
20867
d8e4b68b 20868 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
20869 switching between major modes on a file.
20870
602ea69d
SM
208712011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
20872
20873 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
20874 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
20875 multi-line comments as well.
20876
06b60517
JB
208772011-04-19 Juanma Barranquero <lekktu@gmail.com>
20878
20879 Lexical-binding cleanup.
20880
20881 * arc-mode.el (archive-mode-revert):
20882 * cmuscheme.el (scheme-interactively-start-process):
20883 * custom.el (custom-initialize-delay):
20884 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
20885 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
20886 * emacs-lock.el (emacs-lock-clear-sentinel):
20887 * ezimage.el (defezimage):
20888 * follow.el (follow-avoid-tail-recenter):
20889 * fringe.el (set-fringe-mode-1):
20890 * generic-x.el (bat-generic-mode-compile):
20891 * help-mode.el (help-info-variable, help-do-xref)
20892 (help-mode-revert-buffer):
20893 * help.el (view-emacs-todo):
20894 * iswitchb.el (iswitchb-completion-help):
20895 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
20896 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
20897 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
20898 * locate.el (locate-update):
20899 * longlines.el (longlines-encode-region)
20900 (longlines-after-change-function):
20901 * outline.el (outline-isearch-open-invisible):
20902 * ps-def.el (declare-function, charset-dimension, char-width)
20903 (encode-char):
20904 * ps-mule.el (ps-mule-plot-string):
20905 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
20906 (recentf-edit-list-select, recentf-edit-list-validate)
20907 (recentf-open-files-action):
20908 * rect.el (delete-whitespace-rectangle-line)
20909 (rectangle-number-line-callback):
20910 * register.el (window-configuration-to-register)
20911 (frame-configuration-to-register):
20912 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
20913 * select.el (xselect-convert-to-string, xselect-convert-to-length)
20914 (xselect-convert-to-targets, xselect-convert-to-delete)
20915 (xselect-convert-to-filename, xselect-convert-to-charpos)
20916 (xselect-convert-to-lineno, xselect-convert-to-colno)
20917 (xselect-convert-to-os, xselect-convert-to-host)
20918 (xselect-convert-to-user, xselect-convert-to-class)
20919 (xselect-convert-to-name, xselect-convert-to-integer)
20920 (xselect-convert-to-atom, xselect-convert-to-identity):
20921 * subr.el (declare, ignore, process-kill-without-query)
20922 (text-clone-maintain):
20923 * terminal.el (te-get-char, te-tic-sentinel):
20924 * tool-bar.el (tool-bar-make-keymap):
20925 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
20926 * type-break.el (type-break-mode, type-break-noninteractive-query):
20927 * view.el (View-back-to-mark):
20928 * wid-browse.el (widget-browse-action, widget-browse-widget)
20929 (widget-browse-widgets, widget-browse-sexp):
20930 * widget.el (define-widget-keywords):
20931 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
20932 Mark unused parameters.
20933
20934 * align.el (align-adjust-col-for-rule): Mark unused parameter.
20935 (align-areas): Remove unused variable `look'.
20936 (align-region): Remove unused variables `real-end' and `pos-list'.
20937
20938 * apropos.el (apropos-score-doc): Remove unused variable `i'.
20939
20940 * bindings.el (mode-line-modified, mode-line-remote):
20941 Mark unused parameters.
20942 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
20943
20944 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
20945 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
20946
20947 * comint.el (comint-history-isearch-pop-state)
20948 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
20949 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
20950 (comint-substitute-in-file-name): Doc fix.
20951
20952 * completion.el (cmpl-statistics-block): Mark unused parameter.
20953 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
20954 (save-completions-to-file, load-completions-from-file):
20955 Remove unused local variable `e'.
20956
20957 * composite.el (compose-chars): Remove unused variable `len'.
20958 (lgstring-insert-glyph): Remove unused variable `g'.
20959 (compose-glyph-string): Remove unused variables `ascent',
20960 `descent', `lbearing' and `rbearing'.
20961 (compose-glyph-string-relative): Remove unused variables
20962 `lbearing', `rbearing' and `wadjust'.
20963 (compose-gstring-for-graphic): Remove unused variables `header',
20964 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
20965 (compose-gstring-for-terminal): Remove unused variables `header'
20966 and `nchars'. Use `let', not `let*'.
20967
20968 * cus-edit.el (Custom-set, Custom-save, custom-reset)
20969 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
20970 (Custom-buffer-done, custom-buffer-create-internal)
20971 (custom-browse-visibility-action, custom-browse-group-tag-action)
20972 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
20973 (widget-magic-mouse-down-action, custom-toggle-parent)
20974 (custom-add-parent-links, custom-toggle-hide-variable)
20975 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
20976 (custom-toggle-hide-face, face, hook, custom-group-link-action)
20977 (custom-face-menu-create, custom-variable-menu-create, get)
20978 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
20979 (custom-reset-standard-save-and-update): Remove unused variable `value'.
20980 (customize-apropos): Remove unused variable `tests'.
20981 (custom-group-value-create): Remove unused variable `hidden-p'.
20982 (sort-fold-case): Declare.
20983
20984 * cus-theme.el (custom-reset-standard-faces-list)
20985 (custom-reset-standard-variables-list): Declare.
20986 (customize-create-theme, custom-theme-revert, custom-theme-write)
20987 (custom-theme-choose-mode, customize-themes, custom-theme-save):
20988 Mark unused parameters.
20989
20990 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
20991
20992 * delim-col.el (delimit-columns-max): Move defvar before first use.
20993
20994 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 20995 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
20996
20997 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
20998 (auto-insert): Declare.
20999 (desktop-restore-file-buffer): Rename desktop-* parameters;
21000 mark unused ones.
21001 (desktop-create-buffer): Rename desktop-* parameters and bind them.
21002 (desktop-buffer): Rename desktop-* parameters.
21003
21004 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
21005 (dframe-reposition-frame-xemacs, dframe-help-echo)
21006 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
21007 Mark unused parameters.
21008
21009 * dired-aux.el (backup-extract-version-start, overwrite-query)
21010 (overwrite-backup-query, rename-regexp-query)
21011 (rename-non-directory-query): Declare.
21012 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
21013 (dired-add-entry): Remove unused variable `orig-file-name'.
21014 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
21015 Use parameter PRESERVE-TIME instead of accessing dynamic variable
21016 `dired-copy-preserve-time' directly.
21017 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
21018 (dired-insert-subdir-newpos): Rename unused variable `pos'.
21019
21020 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
21021 (dired-virtual-revert, dired-make-relative-symlink):
21022 Mark unused parameters.
21023 (manual-program): Declare.
21024 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
21025 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
21026 wrapped in `with-no-warnings' to avoid replacing one warning by another.
21027
21028 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
21029
21030 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
21031
21032 * echistory.el (electric-history-in-progress, Helper-return-blurb):
21033 Declare.
21034
21035 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
21036
21037 * electric.el (Electric-command-loop): Rename parameter
21038 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
21039
21040 * expand.el (expand-in-literal): Remove unused variable `here'.
21041
21042 * facemenu.el (facemenu-add-new-color):
21043 Remove unused variable `docstring'.
21044
21045 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
21046 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
21047 (face-attr-construct): Mark unused parameter. Doc fix.
21048 (read-color): Remove unused variable `hex-string'.
21049
21050 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
21051 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
21052 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
21053 (display-buffer-other-frame): Remove unused variable `old-window'.
21054 (kill-buffer-hook): Declare.
21055 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
21056 Mark unused parameters.
21057 (after-find-file): Pass 1 to `auto-save-mode', not t.
21058
21059 * files-x.el (auto-insert): Declare.
21060 (modify-file-local-variable-prop-line): Remove unused variable `val'.
21061
21062 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 21063 variable `buf'. Mark unused parameter.
06b60517
JB
21064 (find-lisp-insert-directory): Mark unused parameter.
21065
21066 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
21067 (format-encode-region): Remove unused variables `cur-buf' and `result'.
21068 (format-common-tail): Remove, unused.
21069 (format-deannotate-region): Remove unused variable `loc'.
21070 (format-annotate-region): Remove unused variable `p'.
21071 (format-annotate-single-property-change): Remove unused variables
21072 `default' and `tail'.
21073
21074 * forms.el (read-file-filter): Declare.
21075 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
21076
21077 * frame.el (frame-creation-function-alist): Mark unused parameter.
21078 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
21079
21080 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
21081 Remove unused parameters.
21082 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
21083 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
21084
21085 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
21086 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
21087 (hfy-prepare-tag-map): Mark unused parameters.
21088 (htmlfontify-buffer): Use `called-interactively-p'.
21089
21090 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
21091 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
21092 (ibuffer-do-occur): Mark unused parameters.
21093 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
21094 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
21095
21096 * ibuffer.el: Don't quote `lambda'.
21097 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
21098 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
21099 Mark unused parameters.
21100
21101 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
21102 (ido-completing-read): Mark unused parameters.
21103 (ido-copy-current-word): Mark unused parameters;
21104 remove unused variable `name'.
21105 (ido-sort-merged-list): Remove unused parameter `dirs'.
21106
21107 * ielm.el (ielm-input-sender): Mark unused parameter.
21108 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
21109 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
21110 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
21111 `ielm-string' as a dynamic variable accessible from the IELM prompt.
21112 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
21113
21114 * image-dired.el (image-dired-display-thumbs): Remove unused
21115 variables `curr-file' and `count'.
21116 (image-dired-remove-tag): Remove unused variable `start'.
21117 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
21118 variable `curr-file'
21119 (image-dired-rotate-original): Remove unused variable `temp-file'.
21120 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
21121 Remove unused variable `file'.
21122 (image-dired-gallery-generate): Remove unused variable `curr'.
21123 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
21124
21125 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
21126
21127 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
21128
21129 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
21130
21131 * isearch.el (minibuffer-history-symbol): Declare.
21132 (isearch-edit-string): Remove unused variable `err'.
21133 (isearch-message-prefix, isearch-message-suffix):
21134 Mark unused parameters.
21135
21136 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
21137
21138 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
21139
21140 * makesum.el (double-column): Remove unused variable `cnt'.
21141
21142 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
21143 (ido-ignore-item-temp-list): Declare.
21144
21145 * mouse-drag.el (mouse-drag-throw): Remove unused variables
21146 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
21147 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
21148 (mouse-drag-drag): Remove unused variables `mouse-delta' and
21149 `mouse-col-delta'.
21150
21151 * mouse-sel.el (mouse-extend-internal):
21152 Remove unused variable `orig-window-frame'.
21153
21154 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
21155 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
21156 Move declarations before first use.
21157 (pcomplete-opt): Mark unused parameters; doc fix.
21158
21159 * proced.el (proced-revert): Mark unused parameter.
21160 (proced-send-signal): Remove unused variable `err'.
21161
21162 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
21163 Rename parameter PREFIX-ARG to ARG.
21164 (ps-basic-plot-string, ps-basic-plot-whitespace):
21165 Mark unused parameters.
21166
21167 * replace.el (replace-count): Define.
21168 (occur-revert-function): Mark unused parameters.
21169 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
21170 (isearch-case-fold-search, isearch-string): Declare.
21171 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
21172 bind `case-fold-search'. Remove unused variables `beg' and `end',
21173 and simplify.
21174 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
21175 COUNT and bind `replace-count'.
21176 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
21177 to COUNT.
21178
21179 * savehist.el (print-readably, print-string-length): Declare.
21180
21181 * shadowfile.el (shadow-expand-cluster-in-file-name):
21182 Remove unused variable `cluster'.
21183 (shadow-copy-file): Remove unused variable `i'.
21184 (shadow-noquery, shadow-clusters, shadow-site-cluster)
21185 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
21186 (shadow-define-literal-group, shadow-define-regexp-group)
21187 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
21188
21189 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
21190 (shell): Use `called-interactively-p'.
21191 (shell-directory-tracker): Remove unused variable `chdir-failure'.
21192
21193 * simple.el (compilation-context-lines, comint-file-name-quote-list)
21194 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
21195 (delete-backward-char): Remove unused variable `ocol'.
21196 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
21197 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
21198 (event-apply-hyper-modifier, event-apply-shift-modifier)
21199 (event-apply-control-modifier, event-apply-meta-modifier):
21200 Mark unused parameters.
21201 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
21202 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
21203
21204 * speedbar.el (speedbar-ignored-directory-expressions)
21205 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
21206 (speedbar-find-file, speedbar-dir-follow)
21207 (speedbar-directory-buttons-follow, speedbar-tag-find)
21208 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
21209 (speedbar-buffers-line-directory, speedbar-buffer-click):
21210 Mark unused parameters.
21211 (speedbar-tag-file): Remove unused variable `mode'.
21212 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
21213
21214 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
21215
21216 * talk.el (talk): Remove unused variable `display'.
21217
21218 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
21219 (tar-write-region-annotate): Mark unused parameter.
21220
21221 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
21222 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
21223 Declare them, wrapped in `with-no-warnings' to avoid replacing one
21224 warning by another.
21225
21226 * time-stamp.el (time-stamp-string-preprocess):
21227 Remove unused variable `require-padding'.
21228
21229 * tree-widget.el (widget-glyph-enable): Declare.
21230 (tree-widget-action): Mark unused parameter.
21231
21232 * w32-fns.el (x-get-selection): Mark unused parameter.
21233 (autoload-make-program, generated-autoload-file): Declare.
21234
21235 * wdired.el (wdired-revert): Mark unused parameters.
21236 (wdired-xcase-word): Remove unused variable `err'.
21237
21238 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
21239 (whitespace-help-scroll): Remove unused variable `data-help'.
21240
21241 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
21242 (widget-image-insert, widget-after-change, default)
21243 (widget-default-format-handler, widget-default-notify)
21244 (widget-default-prompt-value, widget-info-link-action)
21245 (widget-url-link-action, widget-function-link-action)
21246 (widget-variable-link-action, widget-file-link-action)
21247 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
21248 (widget-field-prompt-internal, widget-field-action, widget-field-match)
21249 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
21250 (widget-insert-button-action, widget-delete-button-action, visibility)
21251 (widget-documentation-link-action, widget-documentation-string-action)
21252 (widget-const-prompt-value, widget-regexp-match, symbol)
21253 (widget-coding-system-prompt-value)
21254 (widget-key-sequence-value-to-external, sexp)
21255 (widget-sexp-value-to-internal, character, vector, cons)
21256 (widget-choice-prompt-value, widget-boolean-prompt-value)
21257 (widget-color--choose-action): Mark unused parameters.
21258 (widget-item-match-inline, widget-choice-match-inline)
21259 (widget-checklist-match, widget-checklist-match-inline)
21260 (widget-group-match): Rename parameter VALUES to VALS.
21261 (widget-field-value-set): Remove unused variable `size'.
21262 (widget-color-action): Remove unused variables `value' and `start'.
21263
21264 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 21265 variable `dir'. Doc fix.
06b60517
JB
21266 (windmove-find-other-window): Don't pass it.
21267
21268 * window.el (count-windows): Mark unused parameter.
21269 (bw-adjust-window): Remove unused variable `err'.
21270
21271 * woman.el (woman-file-name): Remove unused variable `default'.
21272 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
21273 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
21274 (global-font-lock-mode): Declare.
21275 (woman-decode-region): Mark unused parameter.
21276 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
21277
21278 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
21279 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
21280 (x-dnd-handle-moz-url): Remove unused variable `title'.
21281 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
21282
21283 * xml.el (xml-parse-tag, xml-parse-attlist):
21284 Remove unused variable `pos'.
21285
bc4f7f3d
GM
212862011-04-19 Glenn Morris <rgm@gnu.org>
21287
21288 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
21289 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
21290 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
21291 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
21292 * calendar/cal-html.el (cal-html-insert-minical):
21293 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
21294 (calendar-mark-date-pattern):
21295 Prefix "unused" locals.
21296
21297 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
21298 optional argument `style'.
21299
21300 * calendar/appt.el (appt-make-list):
21301 * calendar/cal-china.el (calendar-chinese-date-string):
21302 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
21303 (diary-hebrew-yahrzeit):
21304 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
21305 * calendar/calendar.el (calendar-generate-window):
21306 * calendar/time-date.el (time-to-days):
21307 Remove unused local variables.
21308
16a43933
CY
213092011-04-18 Chong Yidong <cyd@stupidchicken.com>
21310
21311 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
21312 glyphless-char-display table.
21313 (tabulated-list-glyphless-char-display): New var.
21314
7eed1860
SS
213152011-04-18 Sam Steingold <sds@gnu.org>
21316
21317 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
21318 to acknowledgments.
21319
4d2d1ccd
GM
213202011-04-17 Glenn Morris <rgm@gnu.org>
21321
21322 * calendar/diary-lib.el (diary-sexp-entry):
21323 * calendar/holidays.el (holiday-sexp):
21324 Set debug-on-error rather than the removed stack-trace-on-error.
21325
239da61d
GM
213262011-04-16 Glenn Morris <rgm@gnu.org>
21327
21328 * progmodes/f90.el: Use lexical-binding.
21329 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
21330
8b05752a
SM
213312011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
21332
daca8ba5
SM
21333 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
21334 (mail-mode): Setup mailalias completion here instead.
21335 * mail/mailalias.el: Use lexical-binding.
21336 (pattern, mailalias-done): Declare dynamic.
21337 (mail-completion-at-point-function): New function, from mail-complete.
21338 (mail-complete): Use it.
21339 (mail-completion-expand): New function.
21340 (mail-get-names): Use it.
21341 (mail-directory, mail-directory-process, mail-directory-stream):
21342 Don't use `pattern' for lexically bound arg.
21343
6f542485
SM
21344 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
21345
037e7c3f
SM
21346 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
21347 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
21348 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
21349
8b05752a
SM
21350 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
21351 (byte-save-window-excursion, byte-temp-output-buffer-setup)
21352 (byte-interactive-p): Define them again, for use when inlining
21353 old code.
21354
49093f60
JB
213552011-04-15 Juanma Barranquero <lekktu@gmail.com>
21356
21357 * loadup.el: Use `string-to-number', not `string-to-int'.
21358
b5b8e7de
SM
213592011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
21360
21361 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
21362 gud-gdb-complete-command.
21363 (gud-gdb-completions): New function, from gud-gdb-complete-command.
21364 (gud-gdb-completion-at-point): New function.
21365 (gud-gdb-completions): Remove.
21366
f42efeb5
MA
213672011-04-14 Michael Albinus <michael.albinus@gmx.de>
21368
49093f60
JB
21369 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
21370 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
21371 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
21372 whether `executable-find' is bound.
f42efeb5
MA
21373
21374 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
21375
e240cc21
SM
213762011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
21377
21378 * minibuffer.el (completion-in-region-mode-predicate)
21379 (completion-in-region-mode--predicate): New vars.
21380 (completion-in-region, completion-in-region--postch)
21381 (completion-in-region-mode): Use them.
21382 (completion--capf-wrapper): Also return the hook function.
21383 (completion-at-point, completion-help-at-point):
21384 Adjust and provide a predicate.
c2bd2ab0
SM
21385
21386 Preserve arg names for advice of subr and lexical functions (bug#8457).
21387 * help-fns.el (help-function-arglist): Consolidate the subr and
21388 new-byte-code cases. Add argument `preserve-names' to extract names
21389 from the docstring when needed.
21390 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
21391 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
21392 (ad-arglist): Use help-function-arglist's new arg.
21393 (ad-definition-type): Use cond.
21394
c183f693
JB
213952011-04-13 Juanma Barranquero <lekktu@gmail.com>
21396
06641a47
JB
21397 * autorevert.el (auto-revert-handler):
21398 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
21399 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
21400 Don't quote lambda.
21401
c183f693
JB
21402 * image-mode.el (image-transform-set-scale):
21403 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
21404
1e3b6001
G
214052011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
21406
21407 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 21408 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
21409 Upgrades via gnutls-cli are too slow to be done opportunistically.
21410
2d6af8dd
JB
214112011-04-12 Juanma Barranquero <lekktu@gmail.com>
21412
21413 * dframe.el (dframe-current-frame): Remove spurious quote.
21414
c0749a51
GM
214152011-04-12 Glenn Morris <rgm@gnu.org>
21416
088d0d61
GM
21417 * calendar/cal-tex.el (cal-tex-end-document):
21418 Try to automatically use latin1 input if needed.
21419
c0749a51
GM
21420 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
21421 Don't try to cons a mark onto an empty element.
21422
5c90fde0
LL
214232011-04-11 Leo Liu <sdl.web@gmail.com>
21424
21425 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
21426 buffers.
21427 (ido-kill-buffer-at-head): Support killing virtual buffers.
21428
369e974d
CY
214292011-04-10 Chong Yidong <cyd@stupidchicken.com>
21430
21431 * minibuffer.el (completion-show-inline-help): New var.
21432 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
21433 (minibuffer-force-complete, minibuffer-complete-word):
21434 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
21435
21436 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
21437 to avoid interference from inline help (Bug#5849).
21438
37f1c930
LL
214392011-04-10 Leo Liu <sdl.web@gmail.com>
21440
099c39a4
JB
21441 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
21442 Fix typo.
37f1c930 21443
a32d4040
CY
214442011-04-09 Chong Yidong <cyd@stupidchicken.com>
21445
21446 * image-mode.el (image-toggle-display-image): Signal an error if
21447 not in Image mode.
21448 (image-transform-mode, image-transform-resize)
21449 (image-transform-set-rotation): Doc fix.
daca8ba5 21450 (image-transform-set-resize): Delete.
a32d4040
CY
21451 (image-transform-set-scale, image-transform-fit-to-height)
21452 (image-transform-fit-to-width): Handle image-toggle-display-image
21453 and image-transform-resize directly.
21454
099c39a4 214552011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
21456
21457 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
21458 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
21459 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
21460 (doc-view-mode-map): Add bindings for the new functions.
21461
099c39a4 214622011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 21463
4d61f28d 21464 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
21465 Fix typo in docstring.
21466
3726838a
EZ
214672011-04-08 Eli Zaretskii <eliz@gnu.org>
21468
04f33f1e
EZ
21469 * files.el (file-size-human-readable): Produce one digit after
21470 decimal, like "ls -lh" does.
21471
21472 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
21473 the file size representation.
21474
3726838a
EZ
21475 * simple.el (list-processes): If async subprocesses are not
21476 available, error out with a clear error message.
21477
cbb59342
CY
214782011-04-08 Chong Yidong <cyd@stupidchicken.com>
21479
21480 * help.el (help-form-show): New function, to be called from C.
21481 Put help-form output in a buffer named differently than *Help*.
21482
e3971c44
EZ
214832011-04-08 Eli Zaretskii <eliz@gnu.org>
21484
21485 * files.el (file-size-human-readable): New function.
21486
21487 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
21488 computing the representation inline. Don't require `cl'.
21489
12544bbe
GM
214902011-04-08 Glenn Morris <rgm@gnu.org>
21491
a1de6c6a
GM
21492 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
21493
3c4671f4
GM
21494 * net/browse-url.el (browse-url-firefox):
21495 Test system-type, not system-configuration.
21496
b605679c
GM
21497 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
21498 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
21499 Use log-edit-empty-buffer-p. (Bug#7598)
21500
56442f0c
GM
21501 * net/rlogin.el (rlogin-process-connection-type): Simplify.
21502 (rlogin-mode-map): Initialize in the defvar.
21503 (rlogin): Use ignore-errors.
21504
12544bbe
GM
21505 * replace.el (occur-mode-map): Some fixes for menu items.
21506
eb237b0f
AH
215072011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
21508
21509 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
21510
7d668f2c
CY
215112011-04-06 Chong Yidong <cyd@stupidchicken.com>
21512
e67a13ab
CY
21513 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
21514 issuing unused warnings.
21515
21516 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
21517 macro directly.
21518
7d668f2c
CY
21519 * simple.el: Lisp reimplement of list-processes. Based on an
21520 earlier reimplementation by Leo Liu, but using tabulated-list.el.
21521 (process-menu-mode): New major mode.
21522 (list-processes--refresh, list-processes):
21523 (process-menu-visit-buffer): New functions.
21524
21525 * files.el (save-buffers-kill-emacs): Don't assume any return
21526 value of list-processes, which is undocumented anyway.
21527
a83ec3c9
CY
215282011-04-06 Chong Yidong <cyd@stupidchicken.com>
21529
21530 * emacs-lisp/tabulated-list.el: New file.
21531
e91a96fe
CY
21532 * emacs-lisp/package.el: Use Tabulated List mode.
21533 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
21534 (package-menu-mode): Derive from tabulated-list-mode. Set up the
21535 table format using Tabulated List mode variables.
21536 (package--push): New macro, replacing package-list-maybe-add.
21537 (package-menu--generate): Use package--push. Renamed from
21538 package--generate-package-list.
21539 (package-menu-refresh, list-packages): Use it.
daca8ba5 21540 (package-menu--print-info): Rename from package-print-package.
e91a96fe 21541 Return insertion data instead of inserting it directly.
099c39a4
JB
21542 (package-menu-describe-package, package-menu-execute):
21543 Use tabulated-list-get-id.
e91a96fe
CY
21544 (package-menu-mark-delete, package-menu-mark-install)
21545 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
21546 (package-menu-mark-obsolete-for-deletion):
21547 Use tabulated-list-put-tag.
e91a96fe
CY
21548 (package--list-packages, package-menu-revert)
21549 (package-menu-get-package, package-menu-get-version)
21550 (package-menu-sort-by-column): Functions deleted.
21551 (package-menu-package-list, package-menu-sort-key): Vars deleted.
21552 (package-menu--status-predicate, package-menu--version-predicate)
21553 (package-menu--name-predicate)
21554 (package-menu--description-predicate): Handle arguments in the
21555 Tabulated List format.
21556 (package-list-packages-no-fetch): Call list-packages.
21557
3e214b50
JB
215582011-04-06 Juanma Barranquero <lekktu@gmail.com>
21559
21560 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 21561 (after-find-file): Don't bind it.
3e214b50
JB
21562 (revert-buffer-in-progress-p): New variable.
21563 (revert-buffer): Bind it.
21564 Pass nil for `after-find-file-from-revert-buffer'.
21565
21566 * saveplace.el (save-place-find-file-hook): Use new variable
21567 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
21568
3f0f1700
GM
215692011-04-06 Glenn Morris <rgm@gnu.org>
21570
c0274801
GM
21571 * Makefile.in (AUTOGEN_VCS): New variable.
21572 (autoloads): Use $AUTOGEN_VCS.
21573
3f0f1700
GM
21574 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
21575 * calendar/calendar.el (calendar-mode-map):
21576 Check for toolkit scroll bars. (Bug#8305)
21577
41ea9e48
CY
215782011-04-05 Chong Yidong <cyd@stupidchicken.com>
21579
21580 * minibuffer.el (completion-in-region--postch)
21581 (completion-in-region-mode): Remove unnecessary messages.
21582
6194c800
JB
215832011-04-05 Juanma Barranquero <lekktu@gmail.com>
21584
33256f14
JB
21585 * font-lock.el (font-lock-refresh-defaults):
21586 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
21587 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
21588
6194c800
JB
21589 * info.el (Info-directory-list, Info-read-node-name-2)
21590 (Info-split-parameter-string): Doc fixes.
21591 (Info-virtual-nodes): Reflow docstring.
21592 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
21593 (Info-apropos-toc-nodes, info-finder, Info-get-token)
21594 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
21595 Fix typos in docstrings.
21596 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
21597 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
21598 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
21599 (Info-restore-desktop-buffer): Mark unused parameters.
21600 (Info-directory-find-file, Info-directory-find-node)
21601 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
21602 (Info-virtual-index-find-node, Info-apropos-find-file)
21603 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 21604 Mark unused parameters; fix typos in docstrings.
6194c800
JB
21605 (Info-virtual-index): Remove unused local variable `nodename'.
21606
b87a8200 216072011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 21608
b87a8200
DD
21609 * net/rcirc.el: Update my e-mail address.
21610 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 21611
3b2ff876
CY
216122011-04-05 Chong Yidong <cyd@stupidchicken.com>
21613
21614 * startup.el (command-line): Save the cursor's theme-face
21615 directly, instead of using face-override-spec.
21616
21617 * custom.el (load-theme): Minor optimization in assigning faces.
21618
8d17e7ca
JB
216192011-04-04 Juanma Barranquero <lekktu@gmail.com>
21620
21621 * help-fns.el (describe-variable): Complete all variables having
21622 documentation, including keywords.
21623 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
21624
2fbc1934
JB
216252011-04-04 Juanma Barranquero <lekktu@gmail.com>
21626
21627 Convert to lexical-binding.
21628
21629 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
21630 (bs--get-marked-string, bs--get-modified-string)
21631 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
21632 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
21633 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
21634
21635 * ehelp.el (electric-help-execute-extended)
21636 (electric-help-ctrl-x-prefix):
21637 * hexl.el (hexl-revert-buffer-function):
21638 * linum.el (linum-after-change, linum-after-scroll):
21639 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
21640
21641 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
21642
74f50695
DU
216432011-04-04 Daiki Ueno <ueno@unixuser.org>
21644
21645 * epa-dired.el:
21646 * epa-mail.el:
21647 * epa-hook.el:
21648 * epa-file.el:
21649 * epa.el:
21650 * epg.el: Use lexical binding.
21651
c11325f7
CY
216522011-04-03 Chong Yidong <cyd@stupidchicken.com>
21653
0d9e9a12
CY
21654 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
21655
c11325f7 21656 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
21657 dictionary case for flyspell-mark-duplications-exceptions.
21658 Use regexp matching for languages.
c11325f7
CY
21659 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
21660 default dictionary (Bug#7926).
21661
da91b5f2
CY
216622011-04-02 Chong Yidong <cyd@stupidchicken.com>
21663
099c39a4
JB
21664 * emacs-lisp/package.el (package--with-work-buffer):
21665 Recognize https URLs.
da91b5f2 21666
099c39a4
JB
21667 * net/network-stream.el: Move from gnus/proto-stream.el.
21668 Change prefix to network-stream throughout.
da91b5f2
CY
21669 (open-protocol-stream): Merge into open-network-stream, leaving
21670 open-protocol-stream as an alias. Handle nil BUFFER args.
21671
21672 * subr.el (open-network-stream): Move to net/network-stream.el.
21673
afa8e9f6
GM
216742011-04-02 Glenn Morris <rgm@gnu.org>
21675
1d2e369d
GM
21676 * find-dired.el (find-exec-terminator): New option.
21677 (find-ls-option): Test for -ls support.
21678 (find-ls-subdir-switches): Test for -b in find-ls-option.
21679 (find-dired, find-grep-dired): Doc fixes.
21680 (find-dired): Use find-exec-terminator.
21681
8abb7da8 21682 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
21683 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
21684 (find-name-arg): Remove purecopy.
8abb7da8 21685
f3ca7378
GM
21686 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
21687 (grep-compute-defaults): Check for `-exec COMMAND +' support.
21688 Set grep-find-use-xargs, grep-find-command, and grep-find-template
21689 accordingly. Don't add the null-device if not needed.
21690
afa8e9f6
GM
21691 * files.el (save-some-buffers): Doc fix.
21692
35eae264
EZ
216932011-04-02 Eli Zaretskii <eliz@gnu.org>
21694
21695 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
21696
26b51db5
JB
216972011-04-01 Juanma Barranquero <lekktu@gmail.com>
21698
21699 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
21700 Use `dolist' rather than `mapcar'.
21701
7200d79c
SM
217022011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
21703
03408648 21704 Add lexical binding.
7200d79c 21705
03408648
SM
21706 * subr.el (apply-partially): Use new closures rather than CL.
21707 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
21708 (dolist, dotimes): Use slightly different expansion for lexical code.
21709 (functionp): Move to C.
21710 (letrec): New macro.
21711 (with-wrapper-hook): Use it and apply-partially instead of CL.
21712 (eval-after-load): Preserve lexical-binding.
21713 (save-window-excursion, with-output-to-temp-buffer): Turn them
21714 into macros.
7200d79c 21715
03408648
SM
21716 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
21717
21718 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
21719 than the arglist.
21720 (help-add-fundoc-usage): Don't add `Not documented'.
21721 (help-function-arglist): Handle closures, subroutines, and new
21722 byte-code-functions.
21723 (help-make-usage): Remove leading underscores.
21724 (describe-function-1): Handle closures.
21725 (describe-variable): Use special-variable-p for completion.
21726
21727 * files.el (lexical-binding): Declare safe.
f488fb65 21728
03408648
SM
21729 * emacs-lisp/pcase.el: Don't use destructuring-bind.
21730 (pcase--memoize): Rename from pcase-memoize. Change weakness.
21731 (pcase): Add `let' pattern.
21732 Change memoization so it actually works.
21733 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
21734 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
21735 <let>: New case.
f488fb65 21736
03408648
SM
21737 * emacs-lisp/macroexp.el: Use lexical binding.
21738 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
21739 Don't convert ' to #' without checking that it's indeed quoting
21740 a lambda.
21741
21742 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 21743 Use eval-sexp-add-defvars.
03408648
SM
21744 (eval-sexp-add-defvars): New fun.
21745
21746 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
21747
21748 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
21749 Don't autoload.
21750 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
21751 than the internal `byte-compile-lambda'.
21752 (defmethod): Don't hide code under quotes.
21753 (eieio-defmethod): New `code' argument.
21754
21755 * emacs-lisp/eieio-comp.el: Remove.
21756
21757 * emacs-lisp/edebug.el (edebug-eval-defun)
21758 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
21759 (edebug-toggle): Avoid `eval'.
21760
21761 * emacs-lisp/disass.el (disassemble-internal): Handle new
21762 `closure' objects.
21763 (disassemble-1): Handle new byte codes.
21764
21765 * emacs-lisp/cl.el (pushnew): Silence warning.
21766
21767 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
21768 (cl-byte-compile-throw): Remove.
21769 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
21770
21771 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
21772 closures.
21773
21774 * emacs-lisp/cconv.el: New file.
21775
21776 * emacs-lisp/bytecomp.el: Use lexical binding instead of
21777 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
21778 (byte-compile-initial-macro-environment):
21779 Handle declare-function here.
21780 (byte-compile--lexical-environment): New var.
21781 (byte-stack-ref, byte-stack-set, byte-discardN)
21782 (byte-discardN-preserve-tos): New lap codes.
21783 (byte-interactive-p): Don't use any more.
21784 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
21785 New macros.
21786 (byte-compile-lapcode): Use them and handle new lap codes.
21787 (byte-compile-obsolete): Remove.
21788 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
21789 (byte-compile-arglist-warn): Check late def of inlinable funs.
21790 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
21791 since they should have been expanded by now.
21792 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
21793 (byte-compile-from-buffer): Remove unused second arg.
21794 (byte-compile-preprocess): New function.
21795 (byte-compile-toplevel-file-form): New function to distinguish
21796 file-form calls from outside from file-form calls from hunk-handlers.
21797 (byte-compile-file-form): Simplify.
21798 (byte-compile-file-form-defsubst): Remove.
21799 (byte-compile-file-form-defmumble): Simplify now that
21800 byte-compile-lambda always returns a byte-code-function.
21801 (byte-compile): Preprocess.
21802 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
21803 Remove, not used any more.
21804 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
21805 (byte-compile-make-args-desc): New funs.
21806 (byte-compile-lambda): Handle lexical functions. Always return
21807 a byte-code-function.
21808 (byte-compile-reserved-constants): New var, to make up room for
21809 closed-over variables.
21810 (byte-compile-constants-vector): Obey it.
21811 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
21812 (byte-compile-macroexpand-declare-function): New function.
21813 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
21814 byte-code-functions.
21815 (byte-compile-form): Check obsolescence here.
21816 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
21817 (byte-compile-variable-ref): Remove.
21818 (byte-compile-dynamic-variable-op): New fun.
21819 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
21820 (byte-compile-variable-set): New funs.
21821 (byte-compile-discard): Add 2 args.
21822 (byte-compile-stack-ref, byte-compile-stack-set)
21823 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
21824 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
21825 macroexpand-all instead.
21826 (byte-compile-quote-form): Remove.
21827 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
21828 (byte-compile-bind, byte-compile-unbind): New funs.
21829 (byte-compile-let): Handle let* and lexical binding.
21830 (byte-compile-let*): Remove.
21831 (byte-compile-catch, byte-compile-unwind-protect)
21832 (byte-compile-track-mouse, byte-compile-condition-case):
21833 Handle a new :fun-body form, used for lexical scoping.
21834 (byte-compile-save-window-excursion)
21835 (byte-compile-with-output-to-temp-buffer): Remove.
21836 (byte-compile-defun): Simplify.
21837 (byte-compile-stack-adjustment): New fun.
21838 (byte-compile-out): Use it.
21839 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
21840
21841 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
21842 handler any more.
21843
21844 * emacs-lisp/byte-opt.el: Use lexical binding.
21845 (byte-inline-lapcode): Remove (to bytecomp).
21846 (byte-compile-inline-expand): Pay attention to inlining to/from
21847 lexically bound code.
21848 (byte-compile-unfold-lambda): Don't handle byte-code-functions
21849 any more.
21850 (byte-optimize-form-code-walker): Don't handle save-window-excursion
21851 any more and don't call compiler-macros.
21852 (byte-compile-splice-in-already-compiled-code): Remove.
21853 (byte-code): Don't inline any more.
21854 (disassemble-offset): Receive `bytes' as argument rather than via
21855 dynamic scoping.
21856 (byte-compile-tag-number): Declare before first use.
21857 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
21858 `return' even if make-spliceable.
21859 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
21860 obsolete interactive-p.
21861 (byte-optimize-lapcode): Optimize new lap-codes.
21862 Don't trip up on new form of `byte-constant' lap code.
21863
21864 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
21865
21866 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
21867
21868 * custom.el (custom-initialize-default, custom-declare-variable):
21869 Use `defvar'.
21870
21871 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
21872 New variables.
21873 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
21874 (COMPILE_FIRST): Add macroexp and cconv.
21875 * makefile.w32-in: Mirror changes in Makefile.in.
21876
21877 * vc/cvs-status.el:
21878 * vc/diff-mode.el:
21879 * vc/log-edit.el:
21880 * vc/log-view.el:
21881 * vc/smerge-mode.el:
21882 * textmodes/bibtex-style.el:
090bd7cb 21883 * textmodes/css-mode.el:
03408648
SM
21884 * startup.el:
21885 * uniquify.el:
da91b5f2
CY
21886 * minibuffer.el:
21887 * newcomment.el:
21888 * reveal.el:
21889 * server.el:
21890 * mpc.el:
21891 * emacs-lisp/smie.el:
21892 * doc-view.el:
21893 * dired.el:
03408648
SM
21894 * abbrev.el: Use lexical binding.
21895
0f0c1f27
EZ
218962011-04-01 Eli Zaretskii <eliz@gnu.org>
21897
21898 * info.el (info-display-manual): New function.
21899
c82b2579
SM
219002011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
21901
21902 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
21903
221ddf68
TH
219042011-03-31 Tassilo Horn <tassilo@member.fsf.org>
21905
21906 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 21907 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 21908
cba6e77e
GM
219092011-03-31 Glenn Morris <rgm@gnu.org>
21910
e040639f
GM
21911 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
21912
cba6e77e
GM
21913 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
21914
6d0f1c9e
CS
219152011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
21916
21917 * progmodes/python.el (python-default-interpreter)
21918 (python-python-command-args, python-jython-command-args)
21919 (python-which-shell, python-which-args, python-which-bufname)
21920 (python-file-queue, python-comint-output-filter-function)
21921 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
21922 variables and functions.
21923
3e2d70fd
SM
219242011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
21925
21926 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
21927 (completion-in-region-mode): New minor mode.
21928 (completion-in-region): Use it.
21929 (completion-in-region--data, completion-in-region-mode-map): New vars.
21930 (completion-in-region--postch): New function.
21931 (completion--capf-misbehave-funs, completion--capf-safe-funs):
21932 New vars.
21933 (completion--capf-wrapper): New function.
21934 (completion-at-point): Use it to track well-behavedness of
21935 hook functions.
21936 (completion-help-at-point): New command.
21937
f3e4086c
JM
219382011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
21939
21940 * vc/add-log.el (add-change-log-entry): Don't use whitespace
21941 syntax class to search for whitespace on a single line
21942 (Message-ID: <4D938140.4030905@redhat.com>).
21943
eb7ffc14
LL
219442011-03-30 Leo Liu <sdl.web@gmail.com>
21945
21946 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
21947 New commands.
21948 (edit-abbrevs-map): Bind them here.
21949 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
21950
d806ab68
KM
219512011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
21952
21953 * allout.el (allout-hide-by-annotation, allout-flag-region):
21954 Reduce possibility of overlay leakage by making them volatile.
21955
21956 * allout-widgets.el (allout-widgets-tally): Define as nil so the
21957 hash is not shared between buffers. Mode initialization is
21958 responsible for giving it a useful starting value.
21959 (allout-item-span): Reduce possibility of overlay leakage by
21960 making them volatile.
21961 (allout-widgets-count-buttons-in-region): Add diagnostic function
21962 for tracking down button overlay leaks.
21963
ea622834
LL
219642011-03-29 Leo Liu <sdl.web@gmail.com>
21965
21966 * ido.el (ido-read-internal): Use the default history var
21967 minibuffer-history if no HISTORY is specified.
21968
b62f8267
G
219692011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
21970
03408648
SM
21971 * net/imap.el (imap-shell-open, imap-process-connection-type):
21972 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
21973 Kerberos, SSL, other subprocesses.
21974
947b6566
LL
219752011-03-28 Leo Liu <sdl.web@gmail.com>
21976
21977 * abbrev.el (abbrev-table-empty-p): New function.
21978 (prepare-abbrev-list-buffer): Place empty abbrev tables after
21979 nonempty ones. (Bug#5937)
21980
5ffb62aa
JD
219812011-03-27 Jan Djärv <jan.h.d@swipnet.se>
21982
21983 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
21984
7a097943
LL
219852011-03-27 Leo Liu <sdl.web@gmail.com>
21986
21987 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
21988 for foreground and background colors.
21989 (ansi-color-make-color-map): Adapt.
21990
c5b40130
LL
219912011-03-25 Leo Liu <sdl.web@gmail.com>
21992
1f48f7d2
LL
21993 * midnight.el (midnight-time-float): Remove. Note it calculates
21994 the microsecond component incorrectly and seconds-to-time does the
21995 same job.
625897ec 21996 Remove redundant (require 'timer).
1f48f7d2 21997
c5b40130
LL
21998 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
21999 (ido-completions): Remove unused arguments. (Bug#8329)
22000
d86d2721
SM
220012011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
22002
22003 * minibuffer.el (completion--flush-all-sorted-completions):
22004 Remove itself from hook.
22005 (completion-at-point): Let the functions perform the completion
22006 immediately and return nil or t.
22007 * comint.el (comint-dynamic-complete-functions): Now identical to
22008 completion-at-point-functions.
22009 (comint-dynamic-list-input-ring): Remove unused var `index'.
22010 (comint--match-partial-filename, comint--unquote&expand-filename):
22011 New funs, split from comint-match-partial-filename.
22012 (comint-dynamic-complete): Use completion-at-point.
22013 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
22014
e8974c48
DA
220152011-03-24 Drew Adams <drew.adams@oracle.com>
22016
22017 * thingatpt.el: Support `defun'.
22018
def71b5e
LL
220192011-03-23 Leo Liu <sdl.web@gmail.com>
22020
cb5af48e
LL
22021 * abbrevlist.el: Move to obsolete/abbrevlist.el.
22022
def71b5e
LL
22023 * help-mode.el (help-mode-finish): Tweak regexp.
22024
927c53e7
GM
220252011-03-23 Glenn Morris <rgm@gnu.org>
22026
18d05bed
GM
22027 * eshell/esh-opt.el (eshell-eval-using-options):
22028 Do not bind unused local variable `eshell-option-stub'.
22029
927c53e7
GM
22030 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
22031
9d0da923
JB
220322011-03-22 Juanma Barranquero <lekktu@gmail.com>
22033
22034 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
22035 keymap variable in `with-no-warnings' to avoid a warning when the
22036 keymap has been already `defconst'ed.
22037
4b978a67
LL
220382011-03-22 Leo Liu <sdl.web@gmail.com>
22039
22040 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
22041 encode all chars in abbrevs; otherwise use emacs-mule or
22042 utf-8-emacs. (Bug#8308)
22043
5fd62452
JB
220442011-03-22 Juanma Barranquero <lekktu@gmail.com>
22045
0b1596c6
JB
22046 * simple.el (backward-delete-char-untabify):
22047 Avoid warning about using `delete-backward-char'.
22048
5fd62452
JB
22049 * image.el (image-type-file-name-regexps): Make it variable.
22050 `imagemagick-register-types' modifies it, and the user may want
22051 to add new extensions for known image types.
22052 (imagemagick-register-types): Throw error if not using ImageMagick.
22053
0b4e93f1
LL
220542011-03-22 Leo Liu <sdl.web@gmail.com>
22055
22056 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
22057 located before rcirc-prompt-end-marker.
22058 (rcirc-complete): Error if point is not after rcirc prompt.
22059 Handle the case when table is nil.
9882e214 22060 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 22061
fccee4ab
CY
220622011-03-22 Chong Yidong <cyd@stupidchicken.com>
22063
22064 * custom.el (custom--inhibit-theme-enable): Make it affect only
22065 custom-theme-set-variables and custom-theme-set-faces.
22066 (provide-theme): Ignore custom--inhibit-theme-enable.
22067 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
22068 (custom-enabling-themes): Delete variable.
d86d2721
SM
22069 (enable-theme): Accept only loaded themes as arguments.
22070 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
22071 (custom-enabled-themes): Forbid themes from setting this.
22072 Eliminate use of custom-enabling-themes.
22073 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 22074
af896da6
LL
220752011-03-21 Leo Liu <sdl.web@gmail.com>
22076
22077 * ido.el (ido-read-internal): Add ido-selected to history instead
22078 of user input.
22079
78f64af0
SM
220802011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
22081
22082 * subr.el (deferred-action-list, deferred-action-function):
22083 Mark obsolete.
22084
b16ac1ec
LL
220852011-03-21 Leo Liu <sdl.web@gmail.com>
22086
810f7698
LL
22087 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
22088 change on 2011-02-13 (bug#8309).
22089
b16ac1ec
LL
22090 * minibuffer.el (read-file-name-function): Change default value.
22091 (read-file-name--defaults): Rename from read-file-name-defaults.
22092 (read-file-name-default): Rename from read-file-name.
22093 (read-file-name): Call read-file-name-function.
22094
4e05e67e
GM
220952011-03-21 Glenn Morris <rgm@gnu.org>
22096
22097 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
22098 Doc fixes.
22099
4359915b
CY
221002011-03-21 Chong Yidong <cyd@stupidchicken.com>
22101
22102 * cus-theme.el: Add missing provide statement.
22103 (customize-create-theme): Extract theme value correctly.
22104 (custom-theme-visit-theme): Autoload.
22105 (customize-create-theme): Prompt before inserting default faces.
22106
1fe275ee
JB
221072011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
22108
22109 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
22110 units and musical notes.
22111
cd394be1 221122011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
22113
22114 * ido.el (ido-read-internal): Use completing-read-default.
22115 (ido-completing-read): Fix compatibility with completing-read.
22116
7d476bde
CO
221172011-03-20 Christian Ohler <ohler@gnu.org>
22118
22119 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
22120 (ert-delete-all-tests): Use `called-interactively-p' rather than
22121 `interactive-p'.
22122 (ert--make-xrefs-region): Respect END.
22123
fe0fb33e
CY
221242011-03-19 Chong Yidong <cyd@stupidchicken.com>
22125
ff854b0b
CY
22126 * dired-aux.el (dired-create-directory): Signal an error if the
22127 directory already exists (Bug#8246).
22128
fe0fb33e
CY
22129 * facemenu.el (list-colors-display): Call list-faces-display
22130 inside with-help-window.
22131 (list-colors-print): Use display property to align the final
22132 column, instead of checking window-width.
22133
576bce32
EZ
221342011-03-19 Eli Zaretskii <eliz@gnu.org>
22135
4d61f28d 22136 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
22137 windows-nt systems.
22138 (emerge-protect-metachars): Quote correctly for ms-dos and
22139 windows-nt systems.
22140
89c41d68 221412011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
22142
22143 * info.el (info-initialize): Replace all uses of `:' with
22144 path-separator for compatibility with non-Unix systems.
22145 Cache quoting of path-separator. (Bug#8258)
22146
b14e3e21 221472011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
22148
22149 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
22150 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
22151 (mouse-avoidance-mode): Fix typos in docstrings.
22152
4525ce3e
CY
221532011-03-19 Chong Yidong <cyd@stupidchicken.com>
22154
22155 * startup.el (package-subdirectory-regexp): Move from package.el.
22156 Omit \\` and \\', and let callers add them.
22157
22158 * emacs-lisp/package.el (package-strip-version)
22159 (package-load-all-descriptors): Add \\` and \\' to
22160 package-subdirectory-regexp before using it.
22161 (package-untar-buffer): New arg DIR; ensure that file untars only
22162 into this expected directory. Remove superfluous delete-region.
22163 (package-unpack): Caller changed.
22164 (package-tar-file-info): Use package-subdirectory-regexp.
22165
a904a09a 221662011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 22167
a904a09a
SM
22168 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
22169 diff-mode-shared-map (bug#8284).
22170 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
22171
221722011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
22173
22174 * calendar/time-date.el (format-seconds): Use assoc instead of
22175 assoc-string, since assoc-string doesn't exist in XEmacs.
22176
171fc304
JB
221772011-03-17 Juanma Barranquero <lekktu@gmail.com>
22178
22179 * custom.el (custom-known-themes): Reflow docstring.
22180 (custom-theme-load-path): Fix typo in docstring.
22181 (load-theme): Fix typo in error message.
22182 (custom-available-themes, custom-variable-theme-value):
22183 Use `let', not `let*'.
22184
d71990a1
JB
221852011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
22186
22187 * calc/README: Mention inclusion of musical notes.
22188
22189 * calc/calc-units.el (calc-lu-quant): Rename from
22190 `calc-logunits-quantity'.
22191 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
22192 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
22193 (calc-db): Rename from `calc-dblevel'.
22194 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
22195 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
22196 (calc-np): Rename from `calc-nplevel'.
22197 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
22198 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
22199 (calc-lu-plus): Rename from `calc-logunits-add'.
22200 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
22201 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
22202 (calc-lu-minus): Rename from `calc-logunits-sub'.
22203 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
22204 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
22205 (calc-lu-times): Rename from `calc-logunits-mul'.
22206 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
22207 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
22208 (calc-lu-divide): Rename from `calc-logunits-div'.
22209 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
22210 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
22211
22212 * calc/calc-ext.el (calc-init-extensions): Update the names of the
22213 functions being autoloaded.
22214
22215 * calc/calc.el (calc-lu-power-reference): Rename from
22216 `calc-logunits-power-reference'.
22217 (calc-lu-field-reference): Rename from
22218 `calc-logunits-field-reference'.
22219
7a71b18d
GM
22220 * calc/calc-help.el (calc-l-prefix-help):
22221 Mention musical note functions.
d71990a1 22222
40c2934b
SM
222232011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
22224
22225 * minibuffer.el (completion-all-sorted-completions):
22226 Use :completion-cycle-penalty text property if present.
22227
b0911414
KM
222282011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
22229
22230 * allout.el (allout-yank-processing): Adjust for new rebulleting
22231 regime so bullet being yanked is used without prompting the user
22232 for a choice.
22233
8a05b668
JB
222342011-03-16 Juanma Barranquero <lekktu@gmail.com>
22235
22236 * startup.el (command-line): Warn the user that _emacs is deprecated.
22237
5ba5fb81
JB
222382011-03-16 Juanma Barranquero <lekktu@gmail.com>
22239
22240 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
22241 (delphi-verbose, delphi-comment-face, delphi-string-face)
22242 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
22243 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
22244 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
22245 (delphi-new-comment-line, delphi-font-lock-defaults)
22246 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
22247 Fix typos in docstrings.
22248
2dab465b
KM
222492011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
22250
5ba5fb81 22251 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
22252 Invert the roles of character and string values for INSTEAD, so a
22253 string is used for the more common case of a defaulting prompt.
22254
0adf5618
SM
222552011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
22256
22257 * progmodes/ruby-mode.el (ruby-backward-sexp):
22258 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
22259 * play/gamegrid.el (gamegrid-make-face):
22260 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
22261 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
22262 * notifications.el (notifications-notify):
22263 * net/xesam.el (xesam-search-engines):
22264 * net/quickurl.el (quickurl-list-insert):
22265 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
22266
d72700e5
CY
222672011-03-15 Chong Yidong <cyd@stupidchicken.com>
22268
22269 * startup.el (command-line): Update package subdirectory regexp.
22270
49c5410a
SM
222712011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
22272
c6eee9aa
SM
22273 * allout.el (allout-abbreviate-flattened-numbering)
22274 (allout-mode-deactivate-hook): Fix up obsolescence "date".
22275
49c5410a
SM
22276 * subr.el (read-char-choice): Only show the cursor after the prompt,
22277 not after the answer.
22278
047b2bb9
KR
222792011-03-15 Kevin Ryde <user42@zip.com.au>
22280
22281 * help-fns.el (variable-at-point): Skip leading quotes, if any
22282 (bug#8253).
22283
0a57d256
SM
222842011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
22285
22286 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
22287 warning message.
22288
77c992bc
MA
222892011-03-14 Michael Albinus <michael.albinus@gmx.de>
22290
22291 * shell.el (shell): When called interactively, offer to change the
22292 shell file name on remote hosts.
22293
eebc475d
TZ
222942011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
22295
22296 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
22297 integration for LDAP parameters. The host, base, user or binddn,
22298 and secret tokens can be specified in a netrc file, for instance.
22299 This is optional because an `auth-source' parameter must be
22300 specified in the search attributes.
22301
9d05d1ba
JB
223022011-03-13 Juanma Barranquero <lekktu@gmail.com>
22303
22304 * help.el (describe-mode): Link to the mode's definition (bug#8185).
22305
09d9db2c
GM
223062011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
22307
22308 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
22309 into declaration. Remove redundant and harmful binding.
22310
223112011-03-12 Eli Zaretskii <eliz@gnu.org>
22312
22313 * files.el (file-ownership-preserved-p): Pass `integer' as an
22314 explicit 2nd argument to `file-attributes'. If the file's owner
22315 is the Administrators group on Windows, and the current user is
22316 Administrator, consider that a match.
22317
22318 * server.el (server-ensure-safe-dir): Consider server directory
22319 safe on MS-Windows if its owner is the Administrators group while
22320 the current Emacs user is Administrator. Use `=' to compare
22321 numerical UIDs, since they could be integers or floats.
22322
219bd536
JB
223232011-03-12 Juanma Barranquero <lekktu@gmail.com>
22324
22325 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
22326
f3afd36b
MA
223272011-03-12 Michael Albinus <michael.albinus@gmx.de>
22328
22329 Sync with Tramp 2.2.1.
22330
22331 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
22332
22333 * net/trampver.el: Update release number.
22334
3aaaa6f1
SM
223352011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
22336
94642599
SM
22337 * progmodes/compile.el (compilation--previous-directory): Fix up
22338 various nil/dead-marker mismatches (bug#8014).
22339 (compilation-directory-properties, compilation-error-properties):
22340 Don't call it at a position past the one we're about to change.
22341
3aaaa6f1
SM
22342 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
22343 Disable obsolescence warnings in the file that declares it.
22344
14239447
KM
223452011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
22346
099c39a4
JB
22347 * allout-widgets.el (allout-widgets-tally):
22348 Initialize allout-widgets-tally as a hash table rather than nil to
22349 prevent mode-line redisplay warnings. Also, clarify the module
22350 description and fix a comment typo.
14239447 22351
135e287c
JB
223522011-03-11 Juanma Barranquero <lekktu@gmail.com>
22353
22354 * help-fns.el (describe-variable): Don't complete keywords.
22355 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
22356
ffbf300e
CY
223572011-03-10 Chong Yidong <cyd@stupidchicken.com>
22358
ba08b241
CY
22359 * emacs-lisp/package.el (package-version-join): Impose a standard
22360 string representation for pre/alpha/beta version lists.
22361 (package-unpack-single): Standardize the directory name by passing
22362 it through package-version-join.
22363 (package-strip-rcs-id): Accept any version string that does not
22364 signal an error in version-to-list.
ffbf300e 22365
f346fd6b
MA
223662011-03-10 Michael Albinus <michael.albinus@gmx.de>
22367
22368 * simple.el (delete-trailing-whitespace): Return nil for the
22369 benefit of `write-file-functions'.
22370
ccb55d27
GM
223712011-03-10 Glenn Morris <rgm@gnu.org>
22372
5ceaac0c
GM
22373 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
22374
02da65ff
GM
22375 * vc/vc-git.el (vc-git-program): New option.
22376 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
22377 (vc-git--call): Use it.
22378
b2f603cc
GM
22379 * eshell/esh-util.el (eshell-condition-case): Doc fix.
22380
5772caab
GM
22381 * cus-edit.el (Custom-newline): If no button at point, look
22382 for a subgroup button at start-of-line. (Bug#2298)
22383
ccb55d27
GM
22384 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
22385
ec6ecaed
JD
223862011-03-10 Julien Danjou <julien@danjou.info>
22387
22388 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
22389 `cursor-type' is nil.
22390
9d5aa01d
JB
223912011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
22392
22393 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
22394
b6a5875b
KM
223952011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
22396
7a71b18d 22397 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
22398 preserves the existing header prefix, rebulleting it if necessary,
22399 rather than replacing it. This is necessary for proper operation
22400 of cooperative addons like allout-widgets.
1154d12e
JB
22401 (allout-make-topic-prefix, allout-rebullet-heading):
22402 Change SOLICIT arg to INSTEAD, and interpret additionally a string
22403 value as alternate bullet to be used, instead of prompting the user
22404 for a bullet character.
b6a5875b 22405
ee545c35
MA
224062011-03-09 Michael Albinus <michael.albinus@gmx.de>
22407
d86d2721
SM
22408 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
22409 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
22410 `tramp-default-port'.
22411
c47971d7
DD
224122011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
22413
22414 * net/rcirc.el (rcirc-handler-001): Remove useless
22415 with-rcirc-process-buffer.
22416 (rcirc-check-auth-status): Swap arguments to string-match.
22417
13522cb4
GM
224182011-03-09 Glenn Morris <rgm@gnu.org>
22419
0be6f4f1
GM
22420 * shell.el (shell-mode):
22421 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
22422
13522cb4
GM
22423 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
22424 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
22425
515de2e3
CY
224262011-03-08 Chong Yidong <cyd@stupidchicken.com>
22427
22428 * emacs-lisp/package.el (package-refresh-contents)
22429 (package-menu-execute): Use condition-case-no-debug.
22430
b511b994
MA
224312011-03-08 Michael Albinus <michael.albinus@gmx.de>
22432
22433 * simple.el (shell-command-to-string): Use `process-file'.
22434
22435 * emacs-lisp/package.el (package-tar-file-info): Handle also
22436 remote files.
22437
d86d2721
SM
22438 * emacs-lisp/package-x.el (package-upload-buffer-internal):
22439 Use `equal' for upload base check.
b511b994 22440
25bbfb31
AM
224412011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
22442
22443 * textmodes/texinfo.el (texinfo-environments):
22444 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
22445
be996521
GM
224462011-03-08 Glenn Morris <rgm@gnu.org>
22447
e9c8529f
GM
22448 * cus-start.el (cursor-in-non-selected-windows):
22449 Fix :set quoting oddness. (Bug#8192)
22450
be996521
GM
22451 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
22452 in some setf expressions. (Bug#2159)
22453
2bb5649e
CY
224542011-03-08 Chong Yidong <cyd@stupidchicken.com>
22455
22456 * custom.el (custom-available-themes): Return themes in
22457 alphabetical order.
22458
33383987 22459See ChangeLog.15 for earlier changes.
e3d51b27
MR
22460
22461;; Local Variables:
22462;; coding: utf-8
e3d51b27
MR
22463;; End:
22464
acaf905b 22465 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
22466
22467 This file is part of GNU Emacs.
22468
22469 GNU Emacs is free software: you can redistribute it and/or modify
22470 it under the terms of the GNU General Public License as published by
22471 the Free Software Foundation, either version 3 of the License, or
22472 (at your option) any later version.
22473
22474 GNU Emacs is distributed in the hope that it will be useful,
22475 but WITHOUT ANY WARRANTY; without even the implied warranty of
22476 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22477 GNU General Public License for more details.
22478
22479 You should have received a copy of the GNU General Public License
22480 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.