Auto-commit of generated files.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
6ae57a67
KD
12012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
2
3 * help-macro.el (make-help-screen): Instead of switch-to-buffer
4 use pop-to-buffer with NORECORD argument t. As buffer name use
5 *Metahelp* with a leading space (Bug#13190).
6
7c3d167f
RF
72012-12-16 Romain Francoise <romain@orebokech.com>
8
9 * files.el (file-extended-attributes)
10 (set-file-extended-attributes): New functions.
11 (backup-buffer): Use them to handle both SELinux context and ACL
12 entries.
13 (backup-buffer-copy): Work with an alist of extended attributes,
14 rather than an SELinux context.
15 (basic-save-buffer-2): Ditto.
16
19b748ad
TM
172012-12-16 Timo Myyrä <timo.myyra@gmail.com>
18
19 * battery.el (battery-bsd-apm): New function.
20
70042c64
JB
212012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
22
23 * calc/calc.el (calc-standard-date-formats): Adjust one of the
24 standard date formats.
25
279f9b06
JL
262012-12-15 Juri Linkov <juri@jurta.org>
27
28 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
29 `isearch-insert-char-by-name'.
30 (with-isearch-suspended): New defmacro with body mostly from
31 `isearch-edit-string' except the part that sets
32 `isearch-new-string' and `isearch-new-message'.
33 (isearch-edit-string): Use new macro `with-isearch-suspended' with
34 body that sets `isearch-new-string' and `isearch-new-message'.
35 (isearch-insert-char-by-name): New command.
36 * international/mule-cmds.el (read-char-by-name): Let-bind
37 `enable-recursive-minibuffers' to t.
38 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
39
8370def5
JL
402012-12-15 Juri Linkov <juri@jurta.org>
41
42 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
43 (Bug#13175)
44
178fb95d
CS
452012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
46
47 * dired-x.el (dired-guess-shell-command): Put colon at the end of
48 the prompt. (Bug#13045)
49
a5f74442
GM
502012-12-14 Glenn Morris <rgm@gnu.org>
51
52 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
53 Try to include filename in non-bytecomp warning. (Bug#13132)
54
97976f9f
PE
552012-12-14 Paul Eggert <eggert@cs.ucla.edu>
56
57 Fix permissions bugs with setgid directories etc. (Bug#13125)
58 * files.el (backup-buffer): Don't rely on 9th output of
59 file-attributes, as it's now a placeholder. Instead, use the new
60 optional arg of file-ownership-preserved-p.
61 (file-ownership-preserved-p): New optional arg GROUP.
62 Fix mishandling of setuid directories that would cause this
63 function to return t when it should have returned nil.
64 Document what happens if the file does not exist, and when
65 it's not known whether the ownership will be preserved.
66 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
67 Likewise.
68 (tramp-get-local-gid): Use group-gid for integer, as that's
69 faster and more reliable.
70
016b2a42
JD
712012-12-14 Julien Danjou <julien@danjou.info>
72
73 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords): Update
74 keywords list, data type and PL/pgSQL.
75
665e5e07
DA
762012-12-14 Dave Abrahams <dave@boostpro.com>
77
78 * vc/ediff-util.el (ediff-buffer-type): New function.
79 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
80 rather than taking it as as argument.
81 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
82
d72e9e92
RC
832012-12-14 Ryan Crum <ryan.crum@eleostech.com>
84
85 * json.el: Add pretty-print option (bug#12634).
86 (json-encoding-separator, json-encoding-default-indentation)
87 (json--encoding-current-indentation, json-encoding-pretty-print)
88 (json-encoding-lisp-style-closings): New vars.
89 (json--with-indentation): New macro.
90 (json-encode-hash-table, json-encode-alist, json-encode-plist)
91 (json-encode-array): Use it to obey json-encoding-pretty-print.
92 (json-pretty-print-buffer, json-pretty-print): New commands.
93
dbb530d9
DG
942012-12-14 Dmitry Gutov <dgutov@yandex.ru>
95
96 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
97 Extract `ruby-syntax-propertize-expansions'.
98 (ruby-syntax-propertize-expansions): Only change syntax on
99 certain string delimiters, to punctuation. This way the common
100 functions like forward-word and thing-at-point still work.
101 (ruby-match-expression-expansion): Improve readability.
bb808526
DG
102 (ruby-block-contains-point): New function.
103 (ruby-add-log-current-method): Handle several edge cases.
dbb530d9 104
ce0440ff
JB
1052012-12-13 Juanma Barranquero <lekktu@gmail.com>
106
107 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
108 unload-feature finishes even when aborting an ongoing edebug session.
109 Also, do not worry about edebug-mode, unload-feature takes care of it.
110
f10331bf
AS
1112012-12-13 Andreas Schwab <schwab@suse.de>
112
113 * net/tls.el (tls-program): Update customize type.
114
5f3a3bb1
JB
1152012-12-13 Juanma Barranquero <lekktu@gmail.com>
116
117 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
118 (edebug-setup-hook, cl-read-load-hooks): Use it.
119 (edebug-unload-function): New function. (Bug#13163)
120
6ce21463
MA
1212012-12-13 Michael Albinus <michael.albinus@gmx.de>
122
123 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
124 Otherwise, there could be errors in autoloading. (Bug#13151)
125
d754b364
JH
1262012-12-13 Jürgen Hötzel <juergen@archlinux.org>
127
128 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
129 sequences.
130
727f9739 1312012-12-13 Alan Mackenzie <acm@muc.de>
14b8c3d9
AM
132
133 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
134 * progmodes/cc-engine.el (c-backward-comments): Add code to work
135 around `forward-comment' not recognizing ^M as whitespace.
136
727f9739 1372012-12-13 Fabián Ezequiel Gallina <fgallina@cuca>
2c43a9ad
FEG
138
139 * progmodes/python.el (python-skeleton-class)
140 (python-skeleton-def): Do not add space after defun name.
141
eb8006c6
SM
1422012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
143
144 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
145 (cl--symbol-function): Remove (now that funbound is like nil).
146
4c74b1e4
GM
1472012-12-12 Glenn Morris <rgm@gnu.org>
148
149 * button.el (button--area-button-p): Fix typo.
150
37f38bca
SS
1512012-12-12 Sam Steingold <sds@gnu.org>
152
153 * frame.el (frame-maximization-style): New user option.
154 (toggle-frame-maximized): Toggle frame maximization according to
155 `frame-maximization-style', bound to <f11>.
156 (cycle-frame-maximized): Cycle between all maximization styles and
157 non-maximized frame, bound to shift-<f11>.
158
fd49a218
DC
1592012-12-12 David Cadé <codename68@gmail.com>
160
161 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
162
69e1c203
JB
1632012-12-12 Jonas Bernoulli <jonas@bernoul.li>
164
165 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
166 (eieio-override-prin1): Don't quote kewords and booleans.
167 (object-write) <eieio-default-superclass>: Don't put closing parens
168 on new line, avoid needless empty lines, align values that are objects
169 with the slot keyword (instead of beginning on the same line).
170 (eieio-list-prin1): Align value with slot keyword; increase
171 eieio-print-depth before printing members of the list.
172
4b0df848
SM
1732012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
174
030f4af5
SM
175 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
176 a display text-property.
177 (report-emacs-bug-hook): Don't bother deleting it any more.
178
6ac1f8ca
SM
179 * hilit-chg.el (highlight-save-buffer-state): Delete.
180 Use with-silent-modifications instead.
181 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
182
4b0df848
SM
183 * button.el: Handle buttons in display text-properties.
184 (button--area-button-p, button--area-button-string):
185 Use (STRING . STRING-POS) representation instead of just STRING.
186
d46d2d3a
EZ
1872012-12-11 Eli Zaretskii <eliz@gnu.org>
188
189 * makefile.w32-in (compile4-SH): Fix a typo that caused term
190 subdirectory be skipped.
191
a0099d31
GM
1922012-12-11 Glenn Morris <rgm@gnu.org>
193
36327e4f
GM
194 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
195
a0099d31
GM
196 * progmodes/f90.el (f90-line-continued, f90-indent-region):
197 Treat preprocessor lines embedded in continuations like comments.
198 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
199
ff3f6c26
JB
2002012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
201
202 * calc/calc.el (calc-standard-date-formats): Add more date
203 formats.
204 * calc/calc-forms.el (math-parse-iso-date): New function.
205 (math-parse-date): Use `math-parse-iso-date' when appropriate.
206 (math-parse-iso-date-validate): Add extra error checking.
207 (calc-date-notation): Add ability to access new date formats.
208
ed6f2cd4
SM
2092012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
210
211 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
212 font-lock as well as when there's no text-property.
213
c868b919
J
2142012-12-10 Jambunathan K <kjambunathan@gmail.com>
215
216 * hi-lock.el: Refine the choice of default face.
217 (hi-lock-keyword->face): New function. Use it wherever we used
218 cadadadr instead.
219 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
220 (hi-lock--last-face): Remove var.
221 (hi-lock--unused-faces): New var to replace it.
222 (hi-lock-read-face-name): Use/maintain it.
223 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
224 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
225 if it has another face.
226
2b8c9064
EZ
2272012-12-10 Eli Zaretskii <eliz@gnu.org>
228
229 * subr.el (w32notify-handle-event): New function.
230 (inotify-handle-event): Doc fix.
231
81606b10
RS
2322012-12-10 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
233
234 * subr.el (inotify-event-p, inotify-handle-event): New functions.
235
265c2fbf 2362012-12-10 Dani Moncayo <dmoncayo@gmail.com>
6ce49f24
DM
237
238 * simple.el (just-one-space): Doc fix.
239
265c2fbf 2402012-12-10 Eli Zaretskii <eliz@gnu.org>
8d43bd30 241
c868b919 242 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
8d43bd30 243
265c2fbf 2442012-12-10 Le Wang <l26wang@gmail.com>
3a21537c
LW
245
246 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
247 narrowed buffer (bug#12361).
248
265c2fbf 2492012-12-10 Juanma Barranquero <lekktu@gmail.com>
bf741d33
JB
250
251 * vc/vc-hooks.el (vc-state): Doc fix.
252
265c2fbf 2532012-12-10 Glenn Morris <rgm@gnu.org>
07026166
GM
254
255 * mail/rmail.el (rmail-maybe-display-summary):
256 Preserve buffer, in case select-window changes it. (Bug#13066)
257
265c2fbf 2582012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
82e1f390
SM
259
260 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
261 cl-load-hook where they belong.
262
bad162fd
SM
2632012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
264
265 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
266
ca065258
EZ
2672012-12-09 Eli Zaretskii <eliz@gnu.org>
268
269 Parallelize byte compilation on MS-Windows.
270 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
bad162fd 271 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
ca065258
EZ
272 (WINS_BASIC): Define as concatenation of the above.
273 (compile): Subdivide into 4 separate and independent jobs that can
274 be run in parallel.
275 (compile0-CMD, compile0-SH): New targets for compiling
276 COMPILE_FIRST files, which are prerequisites for the rest of the
277 byte-compilation.
bad162fd
SM
278 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
279 New targets for parallel compilation with cmd.exe.
ca065258
EZ
280 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
281 compiling under a Unixy shell.
282
5dea55d2
CY
2832012-12-09 Chong Yidong <cyd@gnu.org>
284
285 * simple.el (set-mark-default-inactive): Delete this
286 accidentally-introduced option.
287 (set-mark-command, exchange-point-and-mark): Remove calls.
288
c6c08d3f
GM
2892012-12-09 Glenn Morris <rgm@gnu.org>
290
291 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
292 Respect a defcustom's :set function, if appropriate. (Bug#109)
293 (eval-defun): Doc fix.
294
858aab4c
JL
2952012-12-08 Juri Linkov <juri@jurta.org>
296
297 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
298 (Info-fontify-node, Info-bookmark-make-record): Remove the
299 file extension from Info-current-file (Bug#13016).
300
2e4ad7e5
SM
3012012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
302
303 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
304 point, still provide some default.
305 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
306 names, since we don't use it right now. Actually return the list.
307 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
308
75498db0
CY
3092012-12-07 Chong Yidong <cyd@gnu.org>
310
ffe7ba8f
CY
311 * novice.el (disabled-command-function): Remove a spurious help
312 xref (Bug#13043). Suggested by Kelly Dean.
313
454eb095
CY
314 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
315 syntax is specified (Bug#13025).
316
75498db0
CY
317 * info.el (Info-set-mode-line): Remove the file extension from
318 Info-current-file if there is one (Bug#13016).
319
13a40633
GM
3202012-12-07 Glenn Morris <rgm@gnu.org>
321
54c8b5ba
GM
322 * mail/rmail.el (rmail-mime-decoded): New permanent local.
323 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
324 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
325 and rmail-mime-decoded. (Bug#9841)
326
13a40633
GM
327 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
328 (batch-unrmail, unrmail): Doc fixes.
329 (unrmail): Respect unrmail-mbox-format.
330 * mail/rmail.el (rmail-mbox-format): New option.
331 (rmail-show-message-1): Respect rmail-mbox-format.
332
4611a3cc
SM
3332012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
334
335 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
336
1812c724
SM
3372012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
338
338bfefa
SM
339 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
340 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
341 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
342 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
343 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
344 (cl-progv): Don't rely on dynamic scoping to find the body.
345 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
346 (cl--proclaims-deferred): Rename from the "cl-" prefix.
347 (cl-declaim): Use backquotes.
348 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
349 Use "cl--" prefix for the object's tag.
350
1812c724
SM
351 * ses.el: Use advice-add/remove.
352 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
353 (copy-region-as-kill, yank): Use advice-add.
354 (ses-unload-function): Use advice-remove.
355
24fc9480
JB
3562012-12-06 Jonas Bernoulli <jonas@bernoul.li>
357
358 * button.el: Make them work in header-lines (bug#12817).
359 (button-map): Add bindings for header-line and mode-line use.
360 (button-get, button-put, button-label): `button' may now be a string.
361 (button-activate): Don't make it a defsubst.
362 (button--area-button-p, button--area-button-string): New functions.
363 (make-text-button): Fix the return value when `beg' was a string.
364 (push-button): Handle the mode-line case.
365
853c1ffc
SM
3662012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
367
93852cb0
SM
368 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
369 (sql-signum): Remove. Use `cl-signum' instead.
370 (sql-read-passwd): Remove; use read-passwd instread.
371 (sql-get-login-ext): Use read-string.
372 (sql-get-login): Use dolist and pcase.
373 (sql--completion-table): Rename from sql-try-completion.
374 Use complete-with-action.
375 (sql-mode): Don't change abbrev-all-caps globally.
376 (sql-connect): Don't rely on dynamic scoping for `new-name'.
377 (sql-postgres-completion-object): Initialize vars in their `let'.
378 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
379 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
380 (sql-comint-interbase): Use a single append, without setq.
381 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
382
853c1ffc
SM
383 * hi-lock.el: Rework the default face and the serialize regexp code.
384 (hi-lock--auto-select-face-defaults): Remove.
385 (hi-lock-string-serialize-serial): Remove.
386 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
387 make weak.
388 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
389 equal string.
390 (hi-lock-set-pattern): Adjust accordingly.
391 (hi-lock--regexps-at-point): Simplify accordingly.
392 (hi-lock--auto-select-face-defaults): Remove.
393 (hi-lock--last-face): New var to replace it.
394 (hi-lock-read-face-name): Rewrite (bug#11095).
395 (hi-lock-unface-buffer): Arrange for the face to be the next default.
396
5504e2c7
MA
3972012-12-06 Michael Albinus <michael.albinus@gmx.de>
398
853c1ffc
SM
399 * net/tramp.el (tramp-replace-environment-variables):
400 Hide compiler warning.
5504e2c7
MA
401 (tramp-file-name-for-operation): Remove `executable-find',
402 `start-process', `call-process' and `call-process-region'.
403
853c1ffc 404 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
5504e2c7
MA
405
406 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
407 compatibility.
408
409 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
410
e1d51545
CY
4112012-12-06 Chong Yidong <cyd@gnu.org>
412
413 * ffap.el (ffap-replace-file-component): Fix typo.
414
d8ad4d3f 4152012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
ef54d315
SM
416
417 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
418 fix open-paren-like token test (bug#12785).
419
d8ad4d3f 4202012-12-06 Glenn Morris <rgm@gnu.org>
52d129cd
GM
421
422 * mail/rmailsum.el (rmail-new-summary): Tweak for
423 rmail-maybe-display-summary changing buffer. (Bug#13066)
424
d8ad4d3f 4252012-12-06 Juri Linkov <juri@jurta.org>
68bf4e09
JL
426
427 * info.el (Info-fontify-node): Don't hide the last newline.
428 (Bug#12272)
429
9ad948e2
KY
4302012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
431
432 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
433 so as to enable message-read-from-minibuffer to expand mail aliases.
434
4b5c89ee
SM
4352012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
436
437 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
438 the `intangible' property.
439 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
440
5602a53a
DD
4412012-12-05 Deniz Dogan <deniz@dogan.se>
442
443 * net/rcirc.el (rcirc-urls): Update documentation.
444 (rcirc-condition-filter): New function.
445 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
446 and exclude consecutive duplicate URLs (Bug#6082).
447
51b890ac
MA
4482012-12-05 Michael Albinus <michael.albinus@gmx.de>
449
d5f97f62
MA
450 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
451 Check return code of copy command.
452
853c1ffc
SM
453 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
454 Use group `tramp'. Add version.
51b890ac 455
04b14f2b
CY
4562012-12-05 Chong Yidong <cyd@gnu.org>
457
a3680194
CY
458 * ffap.el (ffap-url-regexp): Don't require matching at front of
459 string (Bug#4952).
460 (ffap-url-p): If only a substring matches, return that.
461 (ffap-url-at-point): Use the return value of ffap-url-p.
462 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
463 (find-file-at-point, dired-at-point, dired-at-point-prompter)
464 (ffap-guess-file-name-at-point): Likewise.
465 (ffap-replace-file-component): Fix typo.
466
04b14f2b
CY
467 * info.el (info-display-manual): Add existing Info buffers, whose
468 files may not be in Info-directory-list, to the completion.
469 (info--manual-names): New helper function.
470
49596095
GM
4712012-12-05 Glenn Morris <rgm@gnu.org>
472
473 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
474 New functions, for detecting and resolving conflicts. (Bug#10709)
475
b85aec93
J
4762012-12-04 Jambunathan K <kjambunathan@gmail.com>
477
478 * hi-lock.el (hi-lock-auto-select-face): New user variable.
479 (hi-lock-auto-select-face-defaults): New buffer local variable.
480 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
481 (hi-lock-unface-buffer): Prompt user with useful defaults.
482 With prefix arg, unhighlight all hi-lock patterns in buffer.
483
8515507f
SM
4842012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
485
486 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
487
72cebfb7
MA
4882012-12-04 Michael Albinus <michael.albinus@gmx.de>
489
490 * Makefile.in (TRAMP_SRC):
491 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
492
0ec3f7ea
JH
4932012-12-04 Juergen Hoetzel <juergen@archlinux.org>
494
495 * net/tramp-adb.el: New package.
496
770de7cf
CY
4972012-12-04 Chong Yidong <cyd@gnu.org>
498
ce3e7725
CY
499 * terminal.el: Move to obsolete/.
500
770de7cf
CY
501 * longlines.el: Move to obsolete/.
502
503 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
504 Remove code referring to longlines mode.
505
c38a186c
JL
5062012-12-03 Juri Linkov <juri@jurta.org>
507
508 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
509
329bfd64
AM
5102012-12-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
511
512 * textmodes/ispell.el (ispell-init-process)
475eea6f
AM
513 (ispell-start-process, ispell-internal-change-dictionary):
514 Make sure personal dictionary name is expanded after initial
515 `default-directory' value. Use expanded strings for
516 keep/restart checks and for value (Bug#13019).
329bfd64 517
77a74935
JB
5182012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
519
520 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
521
c5bc2d1d 5222012-12-03 Leo Liu <sdl.web@gmail.com>
ff3d86d0
LL
523
524 * files.el (dir-locals-read-from-file): Check file non-empty
525 before reading. (Bug#13038)
526
c5bc2d1d 5272012-12-03 Glenn Morris <rgm@gnu.org>
6247eff5
GM
528
529 * jka-cmpr-hook.el (jka-compr-get-compression-info):
530 Remove any version extension before checking filename. (Bug#13006)
531 (jka-compr-compression-info-list): Belated :version bump.
532
c5bc2d1d 5332012-12-03 Chong Yidong <cyd@gnu.org>
a5bf43ba 534
8ecba97d
CY
535 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
536
a5bf43ba
CY
537 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
538 (buffer-menu): Doc fix (Bug#12294).
539
c5bc2d1d 5402012-12-03 Roland Winkler <winkler@gnu.org>
34755291
RW
541
542 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
543 of diary-show-all-entries in the diary buffer (Bug#12994).
544
c5bc2d1d 5452012-12-03 Michael Albinus <michael.albinus@gmx.de>
c2f5b60a
MA
546
547 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
548 "<STDIN>". This is binary safe.
549
682ceaf8
JB
5502012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
551
552 * calc/calc-forms.el (math-absolute-from-iso-dt)
553 (math-date-to-iso-dt, math-parse-iso-date-validate)
554 (math-iso-dt-to-date): New functions.
555 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
556 (math-fd-isoweekday): New variables.
557 (calc-date-notation, math-parse-standard-date, math-format-date)
558 (math-format-date-part): Add support for more formatting codes.
559
db47d5e9
DG
5602012-12-02 Dmitry Gutov <dgutov@yandex.ru>
561
562 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
563 current buffer's file name when called interactively (Bug#12488).
564
3faf4944
JL
5652012-12-02 Juri Linkov <juri@jurta.org>
566
567 * info.el (info-display-manual): Don't clobber an existing Info
010db6da 568 buffer (Bug#10770). Add completion (Bug#10771).
3faf4944 569
cb5d51dc
YN
5702012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
571
572 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
573 before using it for comparison (Bug#5297).
574
f38cd76e
JA
5752012-12-01 Jari Aalto <jari.aalto@cante.net>
576
577 * textmodes/css-mode.el (css-current-defun-name): New function.
578 (css-mode): Use it.
579
580 * textmodes/sgml-mode.el (html-current-defun-name): New function.
581 (html-mode): Use it.
582
ba03d0d9
CY
5832012-12-01 Chong Yidong <cyd@gnu.org>
584
585 Modularize add-log-current-defun (Bug#2224).
586 Suggested by Jari Aalto.
587
588 * vc/add-log.el (add-log-current-defun-function): Doc fix.
589 (add-log-current-defun): Move mode-specific code to other files.
590 (add-log-lisp-like-modes, add-log-c-like-modes)
591 (add-log-tex-like-modes): Variables deleted.
592
593 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
594 (lisp-mode-variables): Use it.
595
596 * progmodes/cc-mode.el (c-common-init):
597 * progmodes/cperl-mode.el (cperl-mode): Set a value for
598 add-log-current-defun-function.
599
600 * progmodes/m4-mode.el (m4-current-defun-name): New function.
601 (m4-mode): Use it.
602
603 * progmodes/perl-mode.el (perl-current-defun-name): New.
604 (perl-mode): Use it.
605
853c1ffc
SM
606 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
607 Use lisp-current-defun-name.
ba03d0d9
CY
608
609 * textmodes/tex-mode.el (tex-current-defun-name): New.
610 (tex-common-initialization): Use it.
611
612 * textmodes/texinfo.el (texinfo-current-defun-name): New.
613 (texinfo-mode): Use it.
614
92eadba5
CY
6152012-12-01 Chong Yidong <cyd@gnu.org>
616
617 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
618 * progmodes/autoconf.el (autoconf-mode):
619 * progmodes/js.el (js-mode):
620 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
621 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
622 * progmodes/perl-mode.el (perl-mode):
623 * progmodes/sh-script.el (sh-mode, sh-set-shell):
624 * textmodes/css-mode.el (css-mode):
625 * textmodes/sgml-mode.el (html-mode, sgml-mode)
626 (sgml-tags-invisible, sgml-guess-indent):
627 * textmodes/tex-mode.el (tex-common-initialization)
628 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
629 (doctex-mode, plain-tex-mode, latex-mode):
630 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
631
3ddbf803
KK
6322012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
633
634 * vc/vc-hg.el (vc-hg-next-revision):
635 Ensure use of default "tip" output format. (Bug#6968)
636
f0b6ae63
KS
6372012-12-01 Kim F. Storm <storm@cua.dk>
638
639 * startup.el (fancy-startup-tail): Add a clickable link
640 (Bug#2176).
641
c01bf73e
CY
6422012-12-01 Chong Yidong <cyd@gnu.org>
643
644 * startup.el (fancy-startup-tail): Improve the message about
645 auto-save files (Bug#2176).
646
f0b6ae63
KS
647 * files.el (recover-session): Improve the descriptive message, and
648 use substitute-command-keys.
649
a9400458
GM
6502012-12-01 Glenn Morris <rgm@gnu.org>
651
652 * ido.el (ido-file-internal):
653 Handle other-window, other-frame for dired. (Bug#13036)
654
fb3bf6ce
GM
6552012-11-30 Glenn Morris <rgm@gnu.org>
656
657 * icomplete.el (icomplete-separator): Fix :version.
658
a813fe3f
CY
6592012-11-30 Chong Yidong <cyd@gnu.org>
660
661 * shell.el (shell): For C-u M-x shell, use an inactive shell
662 buffer as the default (Bug#1975).
276479fd
CY
663 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
664 (shell-mode): Use them to reapply ansi colorization if Shell mode
665 is re-enabled.
a813fe3f 666
a8b733a5
CY
6672012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
668
669 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
670
6fccd6e8
SB
6712012-11-30 Samuel Bronson <naesten@gmail.com>
672
673 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
674 flag to xargs, for compatibility with BSD xargs (Bug#11703).
675
53c9a337
TT
6762012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
677
678 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
679 by move-to-column (Bug#3234).
680
ccf520bb
CY
6812012-11-30 Chong Yidong <cyd@gnu.org>
682
683 * longlines.el (longlines-wrap-line, longlines-encode-region):
684 Preserve text properties (Bug#1425).
685
171b0949
OT
6862012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
687
688 * vc/vc.el (vc-register): Allow registering a file which is
689 already registered with a different backend (Bug#10589).
690
cc37e70f
J
6912012-11-29 Jambunathan K <kjambunathan@gmail.com>
692 Stefan Monnier <monnier@iro.umontreal.ca>
693
694 * icomplete.el: Change separator; add ido-style commands.
695 (icomplete-show-key-bindings): Remove custom var.
696 (icomplete-get-keys): Remove function.
697 (icomplete-forward-completions, icomplete-backward-completions):
698 New commands.
699 (icomplete-minibuffer-map): New var.
700 (icomplete-minibuffer-setup): Use it.
701 (icomplete-exhibit): Don't delay if the list of completions is known.
702 (icomplete-separator): New custom.
703 (icomplete-completions): Use it.
704 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
705 (minibuffer-force-complete-and-exit): New command.
706 (minibuffer--complete-and-exit): New function extracted from
707 minibuffer-complete-and-exit.
708 (minibuffer-complete-and-exit): Use it.
83e12fe0
SM
709
710 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
711 error message when the file doesn't exist (bug#12974).
712
31646597
KD
7132012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
714
715 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
716
e9df8f87
GM
7172012-11-29 Glenn Morris <rgm@gnu.org>
718
824eefe4
GM
719 * files.el (hack-dir-local-variables): Warn if try to set
720 coding via dir-locals, since it doesn't work. (Bug#7169)
721
4ad900d9
GM
722 Add desktop support for restoring vc-dir buffers. (Bug#10606)
723 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
724 Set buffer-local value of desktop-save-buffer.
725 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
726 New functions.
727 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
728 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
729
e9df8f87
GM
730 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
731 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
732 Doc fix.
733 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
734 Doc fixes.
735
e7c8fcc4
JB
7362012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
737
738 * calc/calc-forms.el (calc-date-notation): Fix regexp
739 used to find time codes. Fix symbol for seconds.
740
48d6d9c0
GM
7412012-11-27 Glenn Morris <rgm@gnu.org>
742
743 * emacs-lisp/derived.el (derived-mode-make-docstring):
744 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
745
369f945d
SM
7462012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
747
748 * textmodes/table.el (table-insert): Don't use `symbol-name' on
749 lexically scoped variables (bug#13005).
750
5c9cf0a3 7512012-11-27 Glenn Morris <rgm@gnu.org>
98f99594 752
999e745e
GM
753 * vc/vc-hooks.el (vc-mistrust-permissions):
754 Default to t, to avoid data-loss. (Bug#11490)
98f99594 755
5c9cf0a3 7562012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
207cb73c 757
999e745e
GM
758 * progmodes/python.el (python-indent-guess-indent-offset):
759 If indentation is guessed make python-indent-offset buffer-local.
760
207cb73c 761 Fix Imenu regression.
999e745e
GM
762 * progmodes/python.el (python-nav-beginning-of-defun):
763 Fix forward movement when statement(s) separates point from defun.
207cb73c
FEG
764 (python-imenu-prev-index-position): New function.
765
5c9cf0a3 7662012-11-27 Eli Zaretskii <eliz@gnu.org>
33a488e4
EZ
767
768 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
769
770 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
865f7d8f 771 Don't set buffer-file-type. Return nil. (Bug#12989)
33a488e4 772
5c9cf0a3 7732012-11-27 Glenn Morris <rgm@gnu.org>
50207191
GM
774
775 * hippie-exp.el (hippie-expand-try-functions-list):
776 Re-autoload it. (Bug#12982)
777
5c9cf0a3 7782012-11-27 Eli Zaretskii <eliz@gnu.org>
2147c6ab 779
369f945d
SM
780 * descr-text.el (describe-char-padded-string):
781 Call internal-char-font only on GUI frames. (Bug#11964)
2147c6ab 782
5c9cf0a3 7832012-11-27 Andreas Schwab <schwab@linux-m68k.org>
58b1ae1e
AS
784
785 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
786 and obsoletion message.
787
5c9cf0a3 7882012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
35a10516
SM
789
790 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
791 the constructs to keep outside of the `cl-block' (bug#12977).
792
5c9cf0a3 7932012-11-27 Chong Yidong <cyd@gnu.org>
0c5ef133
CY
794
795 * mouse.el (mouse-drag-line): Even if the line is not draggable,
796 keep reading until we get the up-event anyway, in order to process
797 the up-event for mouse-1-click-follows-link (Bug#12971).
798
848a2dd1
SM
7992012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
800
801 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
802 base function is not yet defined (bug#12965).
803 (ad-activate-advised-definition): Use ad-compile-function.
804 (ad-activate): Use cond.
805
9ad79506
LL
8062012-11-25 Leo Liu <sdl.web@gmail.com>
807
808 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
809 (Bug#12979)
810
e2cb57f5
VB
8112012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
812
813 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
814 reftex-section-info-function in order to be compatible with
815 Texinfo integration.
816
817 * textmodes/reftex.el (reftex-section-pre-regexp)
848a2dd1
SM
818 (reftex-section-post-regexp, reftex-section-info-function):
819 New variable.
820 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
821 reftex-section-post-regexp, and reftex-section-info-function in order
822 to be compatible with Texinfo integration.
823
824 * textmodes/reftex-toc.el (reftex-toc-promote-action):
825 use reftex-section-pre-regexp variable in order to be compatible with
e2cb57f5
VB
826 Texinfo integration.
827
1c4f115d
CY
8282012-11-25 Chong Yidong <cyd@gnu.org>
829
830 * faces.el: Make face-spec-set more analogous to setq.
831 (face-spec-set): Change the third arg to specify whether this
832 function is being called via defface, customize, or a third party.
833 Set the appropriate symbol properties. Clear the override spec if
834 setting via Custom. Initialize face if necessary. (Bug#4988)
835 (face-spec-recalc): Allow theme faces to completely replace the
836 defface spec, in the same way as custom faces (Bug#8454).
837
838 * cus-face.el (custom-declare-face): Move face initialization to
839 face-spec-set.
840 (custom-theme-set-faces): Don't initialize the face name here, as
841 that is now done in face-spec-set.
842
843 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
844 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
845 Simplify by using the new arg to face-spec-set.
846
847 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
848 reset face-override-spec too, and use custom-declare-face.
849
c2350548
JD
8502012-11-24 Jan Djärv <jan.h.d@swipnet.se>
851
852 * term/ns-win.el (ns-initialize-window-system): Move creation of
853 fontsets here (Bug#11964).
854
ecfc364c
VB
8552012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
856
857 * ses.el (ses-rename-cell): Correct bug on mode-line update after
858 cell renaming.
859
0917cc54
CY
8602012-11-24 Chong Yidong <cyd@gnu.org>
861
433212bf
CY
862 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
863 obsolete.
864
0917cc54
CY
865 * custom.el (custom-theme-set-variables): Use a topological sort
866 for ordering by custom dependencies (Bug#12952).
867 (custom--sort-vars, custom--sort-vars-1): New functions.
868
d125ca15 8692012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
002c019c
SM
870
871 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
872 lexical-binding (bug#12938).
873
d125ca15 8742012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
977f9325
WJ
875
876 * image-mode.el (image-transform-check-size): Use assertions only
877 for images of type imagemagick.
878
879 Otherwise no error, image-transform-fit-to-{width,height} is
880 silently ignored, as before. Doc fix.
881
d125ca15 8822012-11-24 Chong Yidong <cyd@gnu.org>
bccffa83
CY
883
884 * faces.el (color-defined-p): Doc fix (Bug#12853).
885
d125ca15 8862012-11-24 Juri Linkov <juri@jurta.org>
61a2a122
JL
887
888 * dired.el (dired-mark): Add optional arg `interactive'.
889 Check for `use-region-p' if `interactive' is non-nil.
890 (dired-unmark, dired-flag-file-deletion): Add optional arg
891 `interactive'. Call `dired-mark' with the arg `interactive'.
892 (Bug#10624)
893
cc4c01bd
JL
894 * wdired.el: Revert 2012-10-17 change partly and replace it with
895 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
896 (wdired-finish-edit): Add marks for new file names to
897 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
898 after `revert-buffer'.
899 (wdired-do-renames): Remove calls to `dired-remove-file',
900 `dired-add-file', `dired-add-entry'. (Bug#11795)
901
d125ca15 9022012-11-24 Alan Mackenzie <acm@muc.de>
b03aabda 903
dc310ed0
AM
904 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
905
b03aabda
AM
906 Fix bugs in the state cache. Enhance a debugging mechanism.
907 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
908 "brace at column zero" strategy for C++.
909 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
910 (c-parse-state-point): New variable.
911 (c-record-parse-state-state): Record old parse state with
912 `copy-tree'. Record previous value of point.
913 (c-debug-parse-state-double-cons): New debugging function.
914 (c-debug-parse-state): Call the above new function.
915 (c-toggle-parse-state-debug): Output a confirmatory message.
916
002c019c
SM
917 * progmodes/cc-mode.el (c-before-change, c-after-change):
918 Call c-invalidate-state-cache from `c-before-change' instead of
b03aabda
AM
919 `c-after-change'.
920
930a6273
CY
9212012-11-23 Chong Yidong <cyd@gnu.org>
922
923 * find-cmd.el (find-constituents): Add executable, ipath,
924 readable, samefile, writable, daystart, regextype (Bug#12856).
925
15c9d04e
SM
9262012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
927
928 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
929
2ecb2679
PE
9302012-11-22 Paul Eggert <eggert@cs.ucla.edu>
931
932 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
933 definition. This fixes a bootstrap failure.
a14a5a40
PE
934 (calc-gregorian-switch): In menu, put dates before regions.
935 This is easier to follow, lines up better in the menu, and lets us
936 coalesce regions that switch at the same time. Give country
15c9d04e
SM
937 names, not "Vatican", as that's better for non-expert users.
938 Use names that are stable between the date of switch and now, e.g.,
a14a5a40
PE
939 Bohemia and Moravia (which existed then and now) and not
940 Czechoslovakia (which didn't exist then and doesn't exist now).
941 What is now the U.S. mostly did not switch at the same time as
942 Britain, so omit the U.S. Correct spelling of "Britain".
943 Catholic Switzerland was too much of a mess, so omit it.
2ecb2679 944
723da6aa
JB
9452012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
946
947 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
948 after the variable is changed.
949
21fa2482
DC
9502012-11-21 Daniel Colascione <dancol@dancol.org>
951
952 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
b6096e85
DC
953 in SQL declarations for font-lock.
954 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
21fa2482 955
3ca2f1bf
GM
9562012-11-21 Glenn Morris <rgm@gnu.org>
957
1bf335cf
GM
958 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
959 (face-italic-p): Add optional argument "inherit".
960
3ca2f1bf
GM
961 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
962 Remove -p suffix from names, for consistency with other set-face-*.
963 (set-face-inverse-video): Fix interactive spec.
964 * play/gamegrid.el (gamegrid-make-mono-tty-face):
965 * textmodes/table.el (table--update-cell-face):
966 Use set-face-inverse-video rather than now obsolete alias.
967
6ef2e5ef 9682012-11-21 Eli Zaretskii <eliz@gnu.org>
7cf95797
EZ
969
970 * simple.el (line-move): Don't call line-move-partial if
971 scroll-conservatively is in effect. (Bug#12927)
972
6ef2e5ef 9732012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
63f25172 974
93b05041
SM
975 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
976 Fallback on completion-at-point rather than
977 pcomplete-expand-and-complete, and only if pcomplete actually failed.
978 (eshell-cmpl-initialize): Setup completion-at-point.
979
980 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
981
bc715d67
SM
982 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
983
6ef2e5ef 9842012-11-21 Michael Albinus <michael.albinus@gmx.de>
d7f2a65c
MA
985
986 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
987 are remote, check out-of-band property for both.
988
6ef2e5ef 9892012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
d1c0cddf
SM
990
991 * window.el (switch-to-buffer): Re-add the warning that was lost in the
992 code rewrite.
993
6ef2e5ef 9942012-11-21 Paul Eggert <eggert@cs.ucla.edu>
0c93aa38 995
535efd4a
PE
996 More minor time fixes.
997 * calendar/time-date.el: Commentary fix.
998 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
999 too much other code depends on (0 0) time stamps.
1000 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
1001 Add a couple of FIXME comments.
1002
0c93aa38
PE
1003 Minor cleanup for times as lists of four integers.
1004 * files.el (dir-locals-directory-cache):
1005 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
1006 Doc fixes.
1007 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
1008 * ps-bdf.el (bdf-file-newer-than-time):
1009 Process four-integers time stamps, not two. Doc fixes.
1010
23ba2705
SM
10112012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
1012
2e31777b
SM
1013 * uniquify.el (uniquify-managed): Use defvar-local.
1014 (rename-buffer, create-file-buffer): Advise with advice-add.
1015 (uniquify-unload-function): Unadvise accordingly.
1016
8b62d742
SM
1017 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
1018 (trace-buffer): Don't purecopy.
1019 (trace-entry-message, trace-exit-message): Add `context' arg.
1020 (trace--timer): New var.
1021 (trace-make-advice): Adjust for use in nadvice.
1022 Add `context' argument. Delay `display-buffer' via a timer.
1023 (trace-function-internal): Use advice-add.
1024 (trace--read-args): New function.
1025 (trace-function-foreground, trace-function-background): Use it.
1026 (trace-function): Rename to trace-function-foreground and redefine as
1027 an alias to that new name.
1028 (untrace-function, untrace-all): Adjust to the use of nadvice.
1029
5d0ccd95
SM
1030 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
1031
3837d988
SM
1032 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
1033
23ba2705
SM
1034 * subr.el (called-interactively-p-functions): New var.
1035 (internal--called-interactively-p--get-frame): New macro.
1036 (called-interactively-p, interactive-p): Rewrite in Lisp.
1037 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
1038 (called-interactively-p-functions): Use it.
1039 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
1040 (called-interactively-p-functions): Use it.
1041 * allout.el (allout-called-interactively-p): Don't assume
1042 called-interactively-p is a subr.
1043
b0636be7
GM
10442012-11-20 Glenn Morris <rgm@gnu.org>
1045
1046 * profiler.el (profiler-report-mode-map): Add a menu.
1047 No need to bind `q' because we derive from special-mode.
1048 (profiler-report-find-entry): Handle calls from the menu-bar.
1049
855b17af
SM
10502012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
1051
14146222
SM
1052 * emacs-lisp/byte-run.el (defun-declarations-alist):
1053 Allow a compiler-macro to be a lambda expression.
1054
1055 * progmodes/python.el: Use cl-lib. Move var declarations outside of
1056 eval-when-compile.
1057 (python-syntax-context): Add compiler-macro.
1058 (python-font-lock-keywords): Simplify with De Morgan.
1059
1000d895
SM
1060 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
1061
ac5392dc
SM
1062 * files.el (load-file): Require match in minibuffer selection, as was
1063 the case in Emacs-20 before we changed the spec to allow .elc files
1064 (bug#12935).
1065
19dc7206
SM
1066 * json.el: Don't require cl since we don't use it.
1067 * color.el: Don't require cl.
1068 (color-complement): `caddr' -> `nth 2'.
1069
855b17af
SM
1070 * calendar/time-date.el (time-to-seconds): De-obsolete.
1071
e8909bdc
JB
10722012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
1073
1074 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
1075 year numbers.
1076 (math-date-to-julian-dt): Adjust the initial approximation for the
1077 year to deal with the new definition of the DATE.
1078
6e9f7997
DC
10792012-11-19 Daniel Colascione <dancol@dancol.org>
1080
855b17af
SM
1081 * term/w32-win.el (cygwin-convert-path-from-windows):
1082 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
6e9f7997 1083
6a3dd257
CY
10842012-11-18 Chong Yidong <cyd@gnu.org>
1085
1086 * filecache.el (file-cache--read-list): New function.
1087 (file-cache-add-directory-list, file-cache-add-file-list)
1088 (file-cache-delete-file-list, file-cache-delete-directory-list):
1089 Use it to read a list of files or directories (Bug#12846).
1090 (file-cache-add-file, file-cache-add-directory)
1091 (file-cache-delete-file-list, file-cache-delete-file-regexp)
1092 (file-cache-delete-directory): Print an message.
1093
eef97f35
JB
10942012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
1095
1096 * calc/calc-forms.el (math-date-to-dt): Use integer date when
1097 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
1098
913c8291
GM
10992012-11-18 Glenn Morris <rgm@gnu.org>
1100
1101 * image.el (insert-image, insert-sliced-image): Doc fix.
1102
2ac9538d 11032012-11-18 Chong Yidong <cyd@gnu.org>
ec6f8ce6
CY
1104
1105 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
1106 (Bug#12810).
1107
2ac9538d 11082012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
c2d07557
CY
1109
1110 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
1111 response when the target file is in a subdirectory (Bug#12757).
1112
2ac9538d 11132012-11-18 Chong Yidong <cyd@gnu.org>
33f8917c
CY
1114
1115 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
1116
2ac9538d 11172012-11-18 Glenn Morris <rgm@gnu.org>
65463c40 1118
9a5e2ee3
GM
1119 * emacs-lisp/cl-lib.el (face-underline-p):
1120 Use set-face-underline rather than the alias set-face-underline-p.
1121
65463c40 1122 * window.el (with-temp-buffer-window): Doc fix.
95f0501e
GM
1123 * subr.el (with-output-to-temp-buffer):
1124 Add doc xref to with-temp-buffer-window.
65463c40 1125
c9ed8e3d
JB
11262012-11-18 Juanma Barranquero <lekktu@gmail.com>
1127
1128 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
1129 * calc/calc.el (math-format-date-cache): Declare.
1130
310e60d9
PE
11312012-11-17 Paul Eggert <eggert@cs.ucla.edu>
1132
6f6b82d6
PE
1133 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
1134 It also uses January 1, 1 AD as its day number 1.
310e60d9 1135 * calc/calc-forms.el (math-julian-date-beginning)
6f6b82d6 1136 (math-julian-date-beginning-int): Implement this.
310e60d9 1137
d7fe6352
JB
11382012-11-17 Juanma Barranquero <lekktu@gmail.com>
1139
1140 * descr-text.el (quail-find-key):
1141 * dired.el (desktop-file-name):
1142 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
1143 * generic-x.el (comint-mode, comint-exec):
1144 * image-dired.el (widget-forward):
1145 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
1146 (speedbar-change-expand-button-char)
1147 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
1148 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
1149 * printing.el (easy-menu-add-item, easy-menu-remove-item)
1150 (widget-field-action, widget-value-set):
1151 * speedbar.el (imenu--make-index-alist):
1152 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
1153 (ring-length, ring-insert):
1154 * vcursor.el (compare-windows-skip-whitespace):
1155 * woman.el (dired-get-filename):
1156 Declare functions.
1157
1158 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
1159
c9f618db
JB
11602012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
1161
1162 * calc/calc.el (calc-gregorian-switch): New variable.
1163
1164 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
1165 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
1166 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
1167 (math-leap-year-p): Add option to distinguish between Julian
1168 and Gregorian calendars.
1169 (math-day-number): Use `math-day-in-year' to do the computations.
1170 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
1171 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
1172 to do the computations.
1173 (math-date-to-dt): Use `math-date-to-julian-dt' and
1174 `math-date-to-gregorian-dt' to do the computations.
1175 (calcFunc-weekday, math-format-date-part): Use the new version of
1176 the DATE to determine the weekday.
1177 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
1178 when necessary.
1179
3804f7bc
EZ
11802012-11-17 Eli Zaretskii <eliz@gnu.org>
1181
1182 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
1183 Cygwin; otherwise use 'file:'. (Bug#12914)
1184 (cygwin-convert-path-from-windows): Declare, to avoid
1185 byte-compiler warnings.
1186
de959d4d
AP
11872012-11-17 Andreas Politz <politza@fh-trier.de>
1188
1189 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
1190 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
1191 prefix and negative numeric prefix args (Bug#12795).
1192
e45deaef
SB
11932012-11-17 Stephen Berman <stephen.berman@gmx.net>
1194
1195 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
1196 Don't signal an error with a score that is too low to add to the
1197 list of top scores. (Bug#12779)
1198
ec15e0ff
CY
11992012-11-17 Chong Yidong <cyd@gnu.org>
1200
8e7696a1
CY
1201 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
1202
ec15e0ff
CY
1203 * filecache.el (file-cache-add-file): Handle relative file name in
1204 the argument (Bug#12694).
1205
60c4ee66
JH
12062012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
1207
1208 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
1209
cdc5d88c
SM
12102012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
1211
dd0c5bbb
SM
1212 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
1213
cdc5d88c
SM
1214 * emacs-lisp/cl-lib.el: Set more meaningful version number.
1215
0ff7851c
MR
12162012-11-16 Martin Rudalics <rudalics@gmx.at>
1217
1218 * window.el (enlarge-window, shrink-window): Don't mention return
1219 value in doc-string (Bug#12896).
1220 (window--display-buffer): Don't resize frames - it won't work
1221 with all window managers and defeat pop-up-frame-alist.
1222 (display-buffer-alist): In doc-string explain that CONDITION can
1223 be a function and which arguments are passed to it (Bug#12854).
1224 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
1225 expressions (Bug#12854).
1226 (display-buffer): Pass ACTION argument to
1227 display-buffer-assq-regexp.
1228
dedd1884
GM
12292012-11-16 Glenn Morris <rgm@gnu.org>
1230
7c82753d
GM
1231 * window.el (fit-frame-to-buffer-bottom-margin)
1232 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
1233
dedd1884
GM
1234 * faces.el (face-underline-p): Use face-attribute-specified-or.
1235
96e05507 12362012-11-16 Juanma Barranquero <lekktu@gmail.com>
662b0ee6
JB
1237
1238 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
1239
96e05507 12402012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
eb31fa40
SM
1241
1242 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
1243
96e05507 12442012-11-16 Glenn Morris <rgm@gnu.org>
e2e13f18 1245
17c083ac
GM
1246 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
1247 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
1248
bde3c6c0
GM
1249 * faces.el (face-underline-p): Doc fix. Handle :underline being
1250 things other than `t' (a string, a list).
1251 (face-inverse-video-p): Doc fix.
1252 (set-face-underline): Rename it back from set-face-underline-p.
1253 Doc fix. Allow interactive input of values other than t.
1254 (read-face-attribute): Apply formatting to :underline,
1255 since like :box and :stipple it can take list values.
1256
e2e13f18
GM
1257 * term.el (ansi-term): Don't let C-x escape-char binding
1258 clobber the more standard C-c binding. (Bug#12842)
1259
e0ea8060
GM
1260 * subr.el (set-temporary-overlay-map): Doc fix.
1261
96e05507 12622012-11-16 Martin Rudalics <rudalics@gmx.at>
92346275
MR
1263
1264 * window.el (record-window-buffer)
1265 (display-buffer-record-window): When copying the markers to
1266 window-point preserve window-point-insertion-type. (Bug#12588)
1267
96e05507 12682012-11-16 Glenn Morris <rgm@gnu.org>
7b1bf173
GM
1269
1270 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
1271 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
1272 Use new names for hooks rather than obsolete aliases.
1273
faeafc01
DC
12742012-11-15 Daniel Colascione <dancol@dancol.org>
1275
1276 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
9533048d
DC
1277 prefix instead of "file:" so that when FILE-NAME begins with "//",
1278 as it does when the target file is on a network share, url-handler
1279 isn't confused.
1280
1232d6c2
SM
12812012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
1282
1283 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
1284 a preactivated advice from an old advice.el; they're not compatible!
1285
47f01a8a
KY
12862012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
1287
1288 * emacs-lisp/nadvice.el (advice--make-interactive-form):
1289 Fix string-spec case.
1290
1291 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
1292
a61428c4
SM
12932012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
1294
1295 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
1296 (advice--buffer-local-function-sample): New var.
1297 (advice--set-buffer-local, advice--buffer-local): New functions.
1298 (add-function, remove-function): Use them.
1299
875ce3a7
DA
13002012-11-15 Drew Adams <drew.adams@oracle.com>
1301
1302 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
1303
589fc479
SM
13042012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
1305
1306 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
1307 potential binding of print-gensym to t, and prettify (back)quotes in
1308 case they appear in args's default values (bug#12884).
1309
1668ea90
SM
13102012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1311
1312 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
1313 (advice-eval-interactive-spec): New function.
1314 (advice--make-interactive-form): Support around advice (bug#12844).
1315
8619323f
DG
13162012-11-14 Dmitry Gutov <dgutov@yandex.ru>
1317
1318 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
1319 more strict. Add docstring.
c62792e7
DG
1320 (ruby-expression-expansion-re): Extract from
1321 `ruby-match-expression-expansion'.
1322 (ruby-syntax-propertize-function): After everything else, search
1323 for expansions in string literals, mark their insides as
1324 whitespace syntax and save match data for font-lock.
1325 (ruby-font-lock-keywords): Use the 2nd group from expression
1326 expansion matches.
1327 (ruby-match-expression-expansion): Use the match data saved to the
1328 text property in ruby-syntax-propertize-function.
8619323f 1329
9c3912d3
SM
13302012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1331
1332 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
1333 (bug#12879).
1334
5e9419e8
DG
13352012-11-13 Dmitry Gutov <dgutov@yandex.ru>
1336
1337 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
1338 start/end keyword a bit harder. Works with different values of N.
1339 Add more comments.
1340 (ruby-end-of-block): Update accordingly.
1341
3c442f8b
SM
13422012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
1343
fa470af0
SM
1344 * woman.el (woman-file-name): Don't mess with unread-command-events
1345 (bug#12861).
1346
3c442f8b
SM
1347 * emacs-lisp/advice.el: Layer on top of nadvice.el.
1348 Remove out of date self-require hack.
1349 (ad-do-advised-functions): Use simple `dolist'.
1350 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
1351 (ad-advice-definition): Redefine as functions.
1352 (ad-advice-classes): Move before first use.
1353 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
fa470af0 1354 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
3c442f8b 1355 (ad--defalias-fset): Remove functions.
fa470af0 1356 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
3c442f8b
SM
1357 (ad-get-orig-definition): Rewrite.
1358 (ad-make-advised-definition-docstring): Change base docstring.
1359 (ad-real-orig-definition): Rewrite.
1360 (ad-map-arglists): Change name of called function.
1361 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
1362 (ad-make-advised-definition): Simplify.
1363 (ad-assemble-advised-definition): Tweak for new calling context.
fa470af0 1364 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
3c442f8b
SM
1365 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
1366 function and call ad-activate if needed.
1367 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
1368 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
1369 (ad-compile-function): Compile ad-Advice-*.
1370 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
1371 (ad-start-advice, ad-stop-advice): Remove.
1372
5745cae6
DG
13732012-11-13 Dmitry Gutov <dgutov@yandex.ru>
1374
1375 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
1376 period before class method names, not after. Remove handling of
1377 one impossible case. Add comments.
1378
413d4689
SM
13792012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
1380
7db1bda8
SM
1381 * emacs-lisp/advice.el: Remove support for freezing.
1382 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
1383 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
1384 Remove support for `freeze'.
1385
413d4689
SM
1386 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
1387 override the default.
1388 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
1389 cl--dotimes/dolist.
1390 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
1391 `cl' is loaded.
1392
1393 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
1394 from add-advice.
1395 (advice--strip-macro): New function.
1396 (advice--defalias-fset): Use them to handle macros.
1397 (advice-add): Use them.
1398 (advice-member-p): Correctly handle macros.
1399
f178c32d
DG
14002012-11-13 Dmitry Gutov <dgutov@yandex.ru>
1401
7db1bda8
SM
1402 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1403 Never font-lock the beginning of singleton class as heredoc.
f178c32d 1404
f78ee6af 14052012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
f8705f6e
SM
1406
1407 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
1408
f78ee6af 14092012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
9db94175
WJ
1410
1411 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
f78ee6af
GM
1412 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
1413 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
9db94175 1414
f78ee6af 14152012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
2e6625b5
FEG
1416
1417 Fix end-of-defun misbehavior.
1418 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
1419 python-beginning-of-defun-function. Handle nested defuns
1420 correctly.
1421 (python-nav-end-of-defun): Rename from
1422 python-end-of-defun-function. Ensure forward movement.
f8705f6e 1423 (python-info-current-defun): Reimplement to work as intended
2e6625b5
FEG
1424 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
1425 parent defuns as soon as possible.
1426
f78ee6af 14272012-11-13 Glenn Morris <rgm@gnu.org>
24c38527
GM
1428
1429 * progmodes/flymake.el (flymake-error-bitmap)
1430 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
1431 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
1432
f78ee6af 14332012-11-13 Dmitry Gutov <dgutov@yandex.ru>
d1e1e53d
DG
1434
1435 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
1436 backward, always stop at indentation. Reverts the change from
1437 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
1438
f78ee6af 14392012-11-13 Glenn Morris <rgm@gnu.org>
68146aa5 1440
a1d3e07e
GM
1441 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
1442 Add ibuffer-filter-by-derived-mode.
1443
84acf328
GM
1444 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
1445 the same name shadowing each other.
1446
38785e75
GM
1447 * window.el (with-temp-buffer-window): Doc tweak.
1448
57fc0fee
GM
1449 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
1450
6ba6a3e5
GM
1451 * help.el (temp-buffer-max-height):
1452 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
68146aa5
GM
1453 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
1454
231d8498
SM
14552012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
1456
1457 * emacs-lisp/nadvice.el: New package.
1458 * subr.el (special-form-p): New function.
1459 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
1460 (elp-all-instrumented-list): Remove var.
1461 (elp-not-profilable): Remove elp-wrapper.
1462 (elp-profilable-p): Use autoloadp and special-form-p.
1463 (elp--advice-name): New const.
1464 (elp-instrument-function): Use advice-add.
1465 (elp--instrumented-p): New predicate.
1466 (elp-restore-function): Use advice-remove.
1467 (elp-restore-all, elp-reset-all): Use mapatoms.
1468 (elp-set-master): Use elp--instrumented-p.
1469 (elp--make-wrapper): Rename from elp-wrapper, return a function
1470 suitable for advice-add. Use cl-inf.
1471 (elp-results): Use mapatoms+elp--instrumented-p.
1472 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
1473 (debug-function-list): Remove var.
1474 (debug): Rename arg, and then let-bind it explicitly inside.
1475 (debugger-setup-buffer): Rename arg.
1476 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
1477 (debugger-frame-number): Adjust to new debug-on-entry setup.
1478 (debug--implement-debug-on-entry): Rename from
1479 implement-debug-on-entry, add argument.
1480 (debugger-special-form-p): Remove, use special-form-p instead.
1481 (debug-on-entry): Use advice-add.
1482 (debug--function-list): New function.
1483 (cancel-debug-on-entry): Use it, along with advice-remove.
1484 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
1485 (debugger-list-functions): Use debug--function-list instead of
1486 debug-function-list.
1487 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
1488 (ad-special-form-p): Remove, use special-form-p instead.
1489 (ad-set-advice-info): Use add-function and remove-function.
1490 (ad--defalias-fset): Adjust accordingly.
1491
19e09879
GM
14922012-11-10 Glenn Morris <rgm@gnu.org>
1493
714cebd1
GM
1494 * mail/emacsbug.el (report-emacs-bug-tracker-url)
1495 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
1496 (report-emacs-bug-create-existing-bugs-buffer)
1497 (report-emacs-bug-parse-query-results)
1498 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
1499
bf67dafa
GM
1500 * term.el (term-default-fg-color, term-default-bg-color):
1501 Make obsolete, rather than just saying "deprecated" in the doc.
1502
19e09879
GM
1503 * term.el (term): Rename from `term-face'.
1504 (term-current-face, ansi-term-color-vector)
1505 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
1506 Update all users.
1507
6baf66d5 15082012-11-10 Jan Djärv <jan.h.d@swipnet.se>
531bdce6
JD
1509
1510 * server.el (server-create-window-system-frame): Handle Nextstep
1511 specially (Bug#12780).
1512
6baf66d5 15132012-11-10 Glenn Morris <rgm@gnu.org>
fedb154e
GM
1514
1515 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
1516 Unautoload, and make obsolete. (Bug#7449)
1517
6baf66d5 15182012-11-10 Chong Yidong <cyd@gnu.org>
9d9e48d9
CY
1519
1520 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
1521 rename from diff-remove-trailing-whitespace (Bug#12831).
1522
6baf66d5 15232012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
32170f7f
SM
1524
1525 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
1526 miscompilation of trace.el.
1527
6baf66d5 15282012-11-10 Glenn Morris <rgm@gnu.org>
26f59676
GM
1529
1530 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
1531
6baf66d5 15322012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
41626722
SM
1533
1534 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
1535 (bug#12812).
1536
6baf66d5 15372012-11-10 Chong Yidong <cyd@gnu.org>
7d806bfe
CY
1538
1539 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
1540 a defcustom with an appropriate :set function.
1541 (minibuffer-default--in-prompt-regexps): New function.
1542
6baf66d5 15432012-11-10 Glenn Morris <rgm@gnu.org>
2ee1d59f 1544
031b2ea7
GM
1545 * emacs-lisp/cl.el (define-setf-expander, defsetf)
1546 (define-modify-macro): Doc fixes.
1547
2ee1d59f
GM
1548 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
1549 (gv-define-simple-setter): Update doc of `fix-return'.
1550
6baf66d5 15512012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
d57c286e 1552
b715ed44
SM
1553 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
1554 twice when `fix-return' is set (bug#12813).
1555
d57c286e
SM
1556 * emacs-lisp/cl.el (defsetf): Pass the third arg to
1557 gv-define-simple-setter (bug#12812).
1558
c9cac599
SM
1559 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
1560 (bug#12756).
1561
6baf66d5 15622012-11-10 Glenn Morris <rgm@gnu.org>
6b3770fb
GM
1563
1564 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
1565
5593ed90
GM
1566 * emacs-lisp/cl-extra.el (cl-prettyexpand):
1567 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
1568 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
1569 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
1570
1571 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
1572
05a859c1
LL
15732012-11-10 Leo Liu <sdl.web@gmail.com>
1574
1575 * ido.el (ido-set-matches-1): Improve flex matching performance by
1576 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
1577
32e5c58c
SM
15782012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
1579
1580 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
1581 (ad--defalias-fset): New function.
1582 (ad-safe-fset): Remove.
1583 (ad-make-freeze-definition): Use cl-letf*.
1584
f5925cd9
SM
15852012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
1586
da03ef8a
SM
1587 * subr.el (dolist): Don't bind VAR in RESULT.
1588
6858633a
SM
1589 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
1590 (fset, documentation): Don't save real def since we don't advise.
1591 (ad-do-advised-functions): Remove problematic `result-form'.
1592 (ad-safe-fset): `ad-real-fset' => `fset'.
1593 (ad-read-advised-function): Don't assume that ad-do-advised-functions
1594 uses CL's dolist internally.
1595 (ad-arglist): Remove unused arg `name'.
1596 (ad-docstring, ad-make-advised-docstring):
1597 `ad-real-documentation' => `documentation'.
1598 (warning-suppress-types): Declare.
1599 (ad-set-arguments): Simple CSE.
1600 (ad-recover-normality): Sanity check.
1601
f5925cd9
SM
1602 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
1603 (funcall '(lambda ..) ..) into ((lambda ..) ..).
1604
93a66b3a
VB
16052012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
1606
1607 * ses.el: symbol to coordinate mapping is made by symbol property
f5925cd9
SM
1608 `ses-cell'. This means that the same mapping is done for all SES
1609 sheets. That is good enough for cells with standard A1 names, but
1610 not for named cell. So a hash map is added for the latter.
1611 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
93a66b3a
VB
1612 (ses-sym-rowcol): Use hashmap for named cell.
1613 (ses-is-cell-sym-p): New defun.
1614 (ses-decode-cell-symbol): New defun.
f5925cd9
SM
1615 (ses-create-cell-variable): Add cell to hashmap when name is not
1616 A1-like.
93a66b3a
VB
1617 (ses-rename-cell): Check that cell new name is not already in
1618 spreadsheet with the use of ses-is-cell-sym-p
1619 (ses-rename-cell): Use hash map for named cells, but accept also
1620 renaming back to A1-like.
1621
67dd8ad1
SM
16222012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
1623
57618ecf
SM
1624 * emacs-lisp/advice.el: Use new dynamic docstrings.
1625 (ad-make-advised-definition-docstring, ad-advised-definition-p):
1626 Use dynamic-docstring-function instead of ad-advice-info.
1627 (ad--make-advised-docstring): New function extracted from
1628 ad-make-advised-docstring.
1629 (ad-make-advised-docstring): Use it.
1630 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
1631 from sql-help.
1632 (sql-help): Use it with dynamic-docstring-function.
1633
67dd8ad1
SM
1634 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
1635
be883b34
SM
16362012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1637
d41706aa
SM
1638 * files.el (hack-one-local-variable--obsolete): New function.
1639 (hack-one-local-variable): Use it for obsolete settings.
1640
85e55412
SM
1641 * subr.el (locate-user-emacs-file): If both old and new name exist, use
1642 the new name.
1643
be883b34
SM
1644 * progmodes/js.el (js--filling-paragraph): New var.
1645 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
1646 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
1647 less sneaky.
1648
cabc040a
JD
16492012-11-08 Julien Danjou <julien@danjou.info>
1650
1651 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
1652 `auto-mode-alist' (Bug#12835).
1653
d14bb752
SM
16542012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1655
79b3e376
SM
1656 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
1657 (perl--prettify-symbols-alist): New const.
1658 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
1659 New functions.
1660 (perl-font-lock-keywords-2): Use them.
1661 (perl-electric-noindent-p): New function.
1662 (perl-mode): Use it to set up electric-indent-mode.
1663 (perl-electric-terminator, perl-indent-command): Mark obsolete.
1664 (perl-mode-map): Remove bindings for them.
1665 (perl-imenu-generic-expression, perl-outline-level):
1666 Match functions&packages in column>0.
1667
3b11e6ac
SM
1668 * env.el (env--substitute-vars-regexp): New const.
1669 (substitute-env-vars): Use it. Add `only-defined' arg.
1670 * net/tramp.el (tramp-replace-environment-variables): Use it.
1671
784c1a7b
SM
1672 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
1673 Byte-compile *before* eval in eval-and-compile.
1674 (byte-compile-log-warning): Remove redundant inhibit-read-only.
1675 (byte-compile-file-form-autoload): Don't hide actual definition.
1676 (byte-compile-maybe-guarded): Accept `functionp' as well.
1677
d14bb752
SM
1678 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
1679
499a0f7a
MA
16802012-11-07 Michael Albinus <michael.albinus@gmx.de>
1681
1682 * notifications.el (notifications-get-server-information-method):
1683 New defconst.
1684 (notifications-get-capabilities): Fix docstring.
1685 (notifications-get-server-information): New defun.
1686
f0704a9a
AM
16872012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1688
1689 * textmodes/ispell.el (ispell-region): Standard re-indent for better
1690 readability.
1691
b159a1fd
AM
1692 * textmodes/ispell.el: Experimental support for support debugging.
1693 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
1694 buffer for ispell.
1695 (ispell-print-if-debug): New function to print stuff to
1696 `ispell-debug-buffer' if debugging is enabled.
1697 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
1698 show some debugging info.
1699 (ispell-buffer-with-debug): New function that creates a debugging
1700 buffer and calls `ispell-buffer' with debugging enabled.
1701
056cb3a1
AM
1702 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
1703 comment in autoconf mode. (Bug#12768)
1704
8e6a67b7
DA
17052012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
1706
1707 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
1708 frame-first-window, frame-root-window, frame-selected-window,
1709 minibuffer-selected-window, minibuffer-window,
1710 window-absolute-pixel-edges, window-at, window-body-height,
1711 window-body-width, window-display-table, window-combination-limit,
1712 window-frame, window-fringes, window-inside-absolute-pixel-edges,
1713 window-inside-edges, window-inside-pixel-edges, window-left-child,
1714 window-left-column, window-margins, window-next-buffers,
1715 window-next-sibling, window-new-normal, window-new-total,
1716 window-normal-size, window-parameter, window-parameters, window-parent,
1717 window-pixel-edges, window-point, window-prev-buffers,
1718 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
1719 window-start, window-text-height, window-top-child, window-top-line,
1720 window-total-height, window-total-width and window-use-time to the list
1721 of functions without side-effects.
1722 (toplevel): Add window-valid-p to the list of error-free functions
1723 without side-effects.
1724
53fc914f
AM
17252012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1726
f5925cd9
SM
1727 * textmodes/ispell.el (ispell-program-name):
1728 Update spellchecker parameters when customized.
53fc914f 1729
9749e2b0
GM
17302012-11-04 Glenn Morris <rgm@gnu.org>
1731
1732 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
1733
2cbafa56
CY
17342012-11-04 Chong Yidong <cyd@gnu.org>
1735
1736 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
1737 same-window-* variables.
1738
85178ca1
JL
17392012-11-04 Juri Linkov <juri@jurta.org>
1740
1741 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
1742 (isearch-describe-key, isearch-describe-mode): Use a display
1743 action instead of binding same-window-* variables (Bug#10040).
1744
5c677d44
GM
17452012-11-03 Glenn Morris <rgm@gnu.org>
1746
49138400
GM
1747 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
1748 Rename handler properties back from cl-- to cl-. (Bug#12788)
1749
5c677d44
GM
1750 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
1751
1d4341f9
EZ
17522012-11-03 Eli Zaretskii <eliz@gnu.org>
1753
1754 * term/pc-win.el: Don't load term/internal from here.
1755
1756 * loadup.el: Load term/internal from here.
1757
12fd5ee1
FEG
17582012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
1759
1760 * progmodes/python.el (inferior-python-mode): Fix hang in
1761 jit-lock (Bug#12645).
1762
43bcfda6
MR
17632012-11-03 Martin Rudalics <rudalics@gmx.at>
1764
1765 * window.el (switch-to-visible-buffer)
1766 (switch-to-buffer-preserve-window-point): Fix doc-strings.
1767
376a8e83
GM
17682012-11-03 Glenn Morris <rgm@gnu.org>
1769
1770 * emacs-lisp/cl-lib.el (cl--random-time):
1771 Rename from cl-random-time. (Bug#12773)
1772 (cl--gensym-counter, cl--random-state): Update callers.
1773 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
1774
0f7b074f
CY
17752012-11-03 Chong Yidong <cyd@gnu.org>
1776
1777 * cus-start.el: Make cursor-type customizable (Bug#11633).
1778
3a6851d9
GM
17792012-11-02 Glenn Morris <rgm@gnu.org>
1780
00a3b041
GM
1781 * filecache.el: No need to load find-lisp when compiling.
1782 (find-lisp-find-files): Autoload it.
1783 (file-cache-add-directory-recursively): Don't require find-lisp.
1784
11fef14a
GM
1785 * image.el (image-type-from-file-name): Trivial simplification.
1786
3a6851d9
GM
1787 * emacs-lisp/bytecomp.el (byte-compile-eval):
1788 Decouple "noruntime" and "cl-functions" warnings.
1789
b4b096e4
SB
17902012-11-01 Stephen Berman <stephen.berman@gmx.net>
1791
1792 * play/gomoku.el (gomoku-display-statistics): Update mode line
1793 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
1794
218e997a
MR
17952012-10-31 Martin Rudalics <rudalics@gmx.at>
1796
1797 * window.el (quit-restore-window): If the window has been
1798 created on an existing frame and ended up as the sole window on
1799 that frame, do not delete it (Bug#12764).
1800
b08b6da7
SM
18012012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
1802
3618df45
SM
1803 * progmodes/sh-script.el (sh--inside-noncommand-expression):
1804 Rename from sh--inside-arithmetic-expression, handle more cases
1805 (bug#11263).
1806
b08b6da7
SM
1807 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
1808 (sh-font-lock-open-heredoc): Use it (bug#12770).
1809
4ddedf94
GM
18102012-10-30 Glenn Morris <rgm@gnu.org>
1811
f43a5263
GM
1812 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
1813
4ddedf94
GM
1814 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
1815
748b0d84
CY
18162012-10-29 Chong Yidong <cyd@gnu.org>
1817
b5dd9a77
CY
1818 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
1819 function key is stored in a keyboard macro (Bug#4894).
1820
748b0d84
CY
1821 * thingatpt.el (number-at-point): Apply a thing-at-point property.
1822
e07fcbdc
SM
18232012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1824
d7f9cc85
SM
1825 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
1826 header comments".
1827 (diff-unified->context, diff-context->unified)
1828 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
1829
c606253c
SM
1830 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
1831
e07fcbdc
SM
1832 * files.el (find-alternate-file): Only ask one question (bug#12487).
1833
894b9dd9
CY
18342012-10-29 Chong Yidong <cyd@gnu.org>
1835
1dc2755a
CY
1836 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
1837 Suggested by Dan Nicolaescu (Bug#6326).
1838
329c48d8
CY
1839 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
1840
2230fa5b 1841 * startup.el (fancy-about-screen): Don't message (Bug#12680).
5c2f2631 1842
e84cad57
CY
1843 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
1844
1913c5f5
CY
1845 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
1846
894b9dd9
CY
1847 * face-remap.el (face-remap-add-relative): Handle the case where a
1848 face-remapping-alist entry is a cons cell (Bug#12762).
1849
329c48d8
CY
18502012-10-29 Kevin Ryde <user42@zip.com.au>
1851
1852 * woman.el (woman-parse-numeric-value): Handle picas correctly
1853 (Bug#12639).
1854
a0ccbcbd
GM
18552012-10-29 Glenn Morris <rgm@gnu.org>
1856
1857 * emacs-lisp/cl.el (defsetf): Doc fix.
1858
b3871e59
SM
18592012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1860
1861 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
1862 syntax to the matching opener, if any (bug#12547).
1863 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
1864 matching open as a "case-(".
1865 (sh-smie-rc-grammar): Add a corresponding rule for it.
1866
cd44022c
DH
18672012-10-28 Daniel Hackney <dan@haxney.org>
1868
1869 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
1870 "PKGNAME-autoloads.el" in case we created it.
1871
70edffb1
SM
18722012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
1873
86957a0c
SM
1874 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
1875 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
b9383404 1876 (completion--twq-all): Disable too-strict assertions.
86957a0c 1877
70edffb1
SM
1878 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
1879
d069271c
EZ
18802012-10-27 Eli Zaretskii <eliz@gnu.org>
1881
1882 * profiler.el (profiler-report-make-entry-part): Fix help-echo
1883 text to match the real keybindings.
1884
e2f022a3
JL
18852012-10-27 Juri Linkov <juri@jurta.org>
1886
1887 * wdired.el (wdired-keep-marker-rename): New defcustom.
1888 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
1889 (Bug#11795)
1890
1891 * dired.el (dired-keep-marker-rename): Add reference to
1892 `wdired-keep-marker-rename' in the docstring.
1893 Add default character value ?R to display initially in
1894 Customization UI instead of ?@.
1895
df171c23
MR
18962012-10-27 Martin Rudalics <rudalics@gmx.at>
1897
1898 * window.el (display-buffer): In doc-string describe
1899 window-height and window-width alist entries.
1900
1901 * time.el (display-time-world): Restore fit-window-to-buffer
1902 behavior.
1903
05b621a6
CY
19042012-10-27 Chong Yidong <cyd@gnu.org>
1905
1906 * subr.el (insert-buffer-substring-as-yank): Doc fix.
1907
55f197b2
J
19082012-10-26 Jambunathan K <kjambunathan@gmail.com>
1909
1910 * minibuffer.el (completion-category-overrides): New completion
1911 category `bookmark' (bug#11131).
1912
372212df
SM
19132012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
1914
150f809c
SM
1915 * emacs-lisp/advice.el (ad-assemble-advised-definition):
1916 Silence bogus compiler warnings for ad-do-it.
1917
372212df
SM
1918 * bookmark.el (bookmark-completing-read): Set the completion category
1919 to `bookmark' (bug#11131).
1920
c5772569
B
19212012-10-26 Bastien <bzg@altern.org>
1922 Stefan Monnier <monnier@iro.umontreal.ca>
1923
1924 * face-remap.el: Use lexical-binding.
1925 (text-scale-adjust): Improve docstring. Use itself for the temporary
1926 overlay-map bindings, so as to repeat the "Use..." message each time.
1927
a2be0357
SM
19282012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
1929
63314e57
SM
1930 * emacs-lisp/macroexp.el (macroexp--expand-all):
1931 Obey byte-compile-warning-enabled-p (bug#12486).
1932
a2be0357
SM
1933 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
1934 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
1935
8c7727c3
MR
19362012-10-26 Martin Rudalics <rudalics@gmx.at>
1937
1938 * mouse.el (mouse-drag-line): Move last form into preceding when
1939 clause (Bug#12731).
1940
1941 * help.el (resize-temp-buffer-window): Fix doc-string.
1942
3f2a848d
DE
19432012-10-25 David Engster <deng@randomsample.de>
1944
1945 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
a2be0357 1946 Remove. This feature is already integrated in imenu.
3f2a848d
DE
1947
1948 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
1949 always loaded. Require `speedbar' unconditionally.
1950
a7723be6
SM
19512012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1952
aaabfc8b
SM
1953 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
1954
414a8595
SM
1955 * minibuffer.el (minibuffer-force-complete): Fix thinko.
1956
fb5b9475
SM
1957 * net/ldap.el (ldap-search-internal): The official ldif format starts
1958 with a "version: 1" header (bug#12724).
1959
a7723be6
SM
1960 * emacs-lisp/package.el (package-installed-p): Warn if not ready
1961 (bug#12721).
1962
a05cb6e3
GM
19632012-10-25 Glenn Morris <rgm@gnu.org>
1964
1965 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
1966
3c92de70
SM
19672012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1968
1969 * minibuffer.el (minibuffer-force-complete): Use one more marker
1970 for the temporary-overlay-map command (bug#12619).
1971
a4b6d7c6
CY
19722012-10-24 Chong Yidong <cyd@gnu.org>
1973
1974 * time.el (display-time-world-mode): Derive from special-mode.
1975 (display-time-world): Use display-buffer (Bug#12708).
1976 (display-time-world-mode-map): Variable deleted.
9321d8d7
CY
1977 (display-time-world-display): Wrap the final delete-char inside
1978 inhibit-read-only.
a4b6d7c6 1979
75e8f9d2
CY
19802012-10-24 Chong Yidong <cyd@gnu.org>
1981
cd996018
CY
1982 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
1983 Doc fix.
1984
75e8f9d2
CY
1985 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
1986
d92df117
SM
19872012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1988
1989 * minibuffer.el (completion--all-sorted-completions-location): New var.
1990 (completion--cache-all-sorted-completions)
1991 (completion--flush-all-sorted-completions): Use it.
1992 (completion-in-region, completion-in-region--postch)
1993 (completion-at-point, completion-help-at-point): Use markers in
1994 completion-in-region--data (bug#12619).
1995
9c3e39f3
SM
19962012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1997
c79825bd
SM
1998 * progmodes/compile.el (compilation-start): Try to handle common
1999 quoting of `cd' argument (bug#12640).
2000
9c3e39f3
SM
2001 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
2002 (bug#12671).
2003
a6709bc7
GM
20042012-10-23 Glenn Morris <rgm@gnu.org>
2005
2006 * progmodes/gud.el (gud-menu-map):
2007 Check gdb-active-process is bound. (Bug#12358)
2008
d1069532
SM
20092012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2010
d20d69c0
SM
2011 * repeat.el (repeat): Set real-this-command (bug#12232).
2012
d1069532
SM
2013 * htmlfontify.el (hfy-post-html-hook):
2014 * filesets.el (filesets-cache-fill-content-hook):
2015 * arc-mode.el (archive-extract-hook):
2016 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
2017 * net/rcirc.el (rcirc-sentinel-functions)
2018 (rcirc-receive-message-functions, rcirc-activity-functions)
2019 (rcirc-print-functions):
2020 * net/dbus.el (dbus-event-error-functions):
2021 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
2022 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
2023 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
2024 * term/sun.el (sun-raw-prefix-hooks):
2025 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
2026
f7eac6d8
MA
20272012-10-23 Michael Albinus <michael.albinus@gmx.de>
2028
d1069532
SM
2029 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
2030 Set `tramp-chunksize' to 1. This improves the performance.
f7eac6d8
MA
2031 (tramp-smb-wait-for-output): Add timeout to
2032 `tramp-accept-process-output' calls.
2033
608d9d7c
CY
20342012-10-23 Chong Yidong <cyd@gnu.org>
2035
49238e7f
CY
2036 * faces.el (font-list-limit): Define as an obsolete variable.
2037
2038 * startup.el (command-line):
2039 * cus-start.el: Don't refer to font-list-limit.
2040
608d9d7c
CY
2041 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
2042
4ff5b1b2
SM
20432012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2044
2045 * subr.el (internal-temp-output-buffer-show): Rename from
2046 temp-output-buffer-show, since previously compiled files expect this name.
2047
ea1d4aac
GM
20482012-10-23 Glenn Morris <rgm@gnu.org>
2049
2050 * image.el (image-type-from-file-name): If multiple types match,
2051 return the first one that is supported. (Bug#9045)
2052
eda82a31
GM
20532012-10-22 Glenn Morris <rgm@gnu.org>
2054
2055 * image.el (imagemagick-enabled-types): Doc fix.
2056
4f020bec
TA
20572012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
2058
2059 * progmodes/which-func.el (which-func-current): The hash-table may have
2060 an explicit nil (bug#12338).
2061
c77d37e2
SM
20622012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
2063
2064 * electric.el (electric-pair-delete-selection-self-insert-function):
2065 Rename to electric-pair-will-use-region, return a boolean.
2066 (electric-pair-mode): Adjust accordingly. Don't require delsel.
2067
2068 * delsel.el (delete-selection-helper): Use a function instead of a hook.
2069 (delete-selection-pre-hook): Use use-region-p.
2070 (delete-selection-self-insert-function): Remove.
2071 (self-insert-command): Obey self-insert-uses-region-functions.
2072 (self-insert-iso): Revert to previous setting, since we don't actually
2073 know what that command does.
2074 (delete-selection-self-insert-hooks): Remove.
2075
b1d39ccc
SL
20762012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
2077
2078 * delsel.el (delete-selection-helper): New function, extracted from
2079 delete-selection-pre-hook.
2080 (delete-selection-pre-hook): Use it.
2081 (delete-selection-self-insert-function): New function.
2082 (delete-selection-self-insert-hooks): New hook.
2083 (self-insert-command, self-insert-iso): Use it.
2084 * electric.el (electric-pair-syntax): New function, extracted from
2085 electric-pair-post-self-insert-function.
2086 (electric-pair-post-self-insert-function): Use it.
2087 (electric-pair-delete-selection-self-insert-function): New function.
2088 (electric-pair-mode): Require delsel and setup
2089 delete-selection-self-insert-hooks (bug#11520).
2090
045ef729
CY
20912012-10-20 Chong Yidong <cyd@gnu.org>
2092
4c5d08a8
CY
2093 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
2094 no changes to show (Bug#12586).
2095
045ef729
CY
2096 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
2097 list explicitly (Bug#12571).
2098
3503c798 20992012-10-20 Arne Jørgensen <arne@arnested.dk>
79e1997a 2100
b1d39ccc
SL
2101 * progmodes/flymake.el (flymake-create-temp-inplace):
2102 Use file-truename.
79e1997a 2103
2068905b
EZ
21042012-10-20 Eli Zaretskii <eliz@gnu.org>
2105
2106 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
2107
4c9e9550
JB
21082012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
2109
2110 * calc/calc-units.el (math-extract-units): Properly extract powers
2111 of units.
2112
1a6e7e38
DC
21132012-10-20 Daniel Colascione <dancol@dancol.org>
2114
2115 * frame.el (make-frame): Set x-display-name as we used to in order
2116 to unbreak creating an X11 frame from an Emacs daemon started
2117 without a display.
2118
8e808318
SM
21192012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2120
2121 * minibuffer.el (minibuffer-force-complete): Make the next completion use
f5925cd9 2122 the same completion-field (bug#12221).
8e808318 2123
fb0104da
MR
21242012-10-19 Martin Rudalics <rudalics@gmx.at>
2125
2126 * emacs-lisp/debug.el (debug): Record height of debugger window
2127 also when debugger will be back (Bug#8789).
2128
8c27235e
CY
21292012-10-18 Chong Yidong <cyd@gnu.org>
2130
2131 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
2132 Convert to defcustom.
2133 (gdb-get-source-file): Don't bind pop-up-windows.
2134
2135 * progmodes/gud.el (gud-display-line): Don't specially re-use
2136 other frames for the gdb-mi case (Bug#12648).
2137
90eacf99
SM
21382012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
2139
aaf0c300
SM
2140 * emacs-lisp/advice.el: Clean up commentary a bit.
2141 (ad-do-advised-functions, ad-with-originals): Use `declare'.
2142 (byte-code-function-p): Never redefine.
2143
90eacf99
SM
2144 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
2145
281c9d2b
GM
21462012-10-18 Glenn Morris <rgm@gnu.org>
2147
40714e3d
GM
2148 * dired.el (dired-sort-toggle): Some ls implementations only allow
2149 a single option string. (Bug#12666)
2150
281c9d2b
GM
2151 * minibuffer.el (completion-cycle-threshold): Doc fix.
2152
b278604e
KH
21532012-10-17 Kenichi Handa <handa@gnu.org>
2154
90eacf99
SM
2155 * international/mule.el (set-keyboard-coding-system):
2156 Recover input meta mode when the new coding system doesn not use 8-bit.
b278604e
KH
2157 Supply TERMINAL arg to set-input-meta-mode.
2158
df171c23 21592012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
7ebc5f5a
MH
2160
2161 * wdired.el (wdired-old-marks): New variable.
2162 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
2163 (wdired-do-renames): Move point with renamed file and don't lose
2164 mark status (Bug#11795).
2165
e5a94ec4
JL
21662012-10-16 Juri Linkov <juri@jurta.org>
2167
2168 * replace.el (query-replace-help): Mention multi-buffer replacement
2169 keys in the Help message. (Bug#12655)
2170
d18a0d24
CY
21712012-10-15 Chong Yidong <cyd@gnu.org>
2172
2173 * emacs-lisp/byte-run.el (defsubst): Doc fix.
2174
8111f5e6
EZ
21752012-10-14 Eli Zaretskii <eliz@gnu.org>
2176
7b9abf24
EZ
2177 * window.el (display-buffer): Doc fix.
2178
8111f5e6
EZ
2179 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2180 Adjust the msft regexp to the output of Studio 2010, and move msft
2181 before edg-1. See the discussion on emacs-devel,
2182 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
2183 for the details.
2184
5046ef67
SM
21852012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
2186
9760c73c
SM
2187 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
2188 (oset): Move uses of object-class-fast macro after its definition.
2189
5046ef67
SM
2190 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
2191
0d11ff1c
CY
21922012-10-13 Chong Yidong <cyd@gnu.org>
2193
2194 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
2195 enabled, re-enable it (Bug#11963).
2196
88ded8ac
MR
21972012-10-13 Martin Rudalics <rudalics@gmx.at>
2198
2199 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
2200 non-nil, restore window configuration (Bug#12623).
2201
bd0ffffd
SM
22022012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
2203
06485aa8
SM
2204 * help-fns.el (describe-variable, describe-function-1):
2205 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
2206
bd0ffffd
SM
2207 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
2208
3a989246
GM
22092012-10-12 Glenn Morris <rgm@gnu.org>
2210
2211 * mail/rmailsum.el (rmail-header-summary):
2212 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
2213
55cd00c8
FEG
22142012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
2215
bd0ffffd
SM
2216 * progmodes/python.el (python-mode-map):
2217 Replace subtitute-key-definition with proper command remapping.
55cd00c8
FEG
2218 (python-nav--up-list): Fix behavior for blocks on the same level.
2219
ac9fc2c7
SM
22202012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
2221
d8cc4c00 2222 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
d8cc4c00 2223
5253a5fd
SM
2224 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
2225 changes to the format of load-history.
2226
ac9fc2c7
SM
2227 * international/mule-cmds.el (read-char-by-name): Move let-binding of
2228 completion-ignore-case in case that var is buffer-local (bug#12615).
2229
cde44a77
KH
22302012-10-11 Kenichi Handa <handa@gnu.org>
2231
2232 * international/eucjp-ms.el: Re-generated.
2233
4ef4a10d
KH
22342012-10-10 Kenichi Handa <handa@gnu.org>
2235
2236 * select.el (xselect--encode-string): If a coding is specified for
2237 selection, and that is compatible with COMPOUND_TEXT, use it.
2238
9d7f027b
MR
22392012-10-10 Martin Rudalics <rudalics@gmx.at>
2240
2241 * window.el (switch-to-buffer-preserve-window-point): New option.
ac9fc2c7
SM
2242 (switch-to-buffer):
2243 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
9d7f027b 2244
238f3a58
SM
22452012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
2246
2247 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
2248 Don't document nil as a useful value (bug#12583).
2249
1d51f99c
MA
22502012-10-09 Michael Albinus <michael.albinus@gmx.de>
2251
238f3a58
SM
2252 * net/tramp.el (tramp-debug-message):
2253 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
1d51f99c
MA
2254 (with-tramp-progress-reporter): Rename from
2255 `tramp-with-progress-reporter'.
238f3a58
SM
2256 (with-tramp-file-property, with-tramp-connection-property):
2257 Move from tramp-cache.el, rename from `with-file-property' and
1d51f99c
MA
2258 `with-connection-property', respectively.
2259
2260 * net/tramp-cache.el: Remove `with-file-property' and
2261 `with-connection-property'.
2262
2263 * net/tramp.el:
2264 * net/tramp-gvfs.el:
2265 * net/tramp-sh.el:
2266 * net/tramp-smb.el: Adapt callees.
2267
2268 * net/trampver.el: Update release number.
2269
26b77251
GM
22702012-10-09 Glenn Morris <rgm@gnu.org>
2271
9a5f296f
GM
2272 * w32-fns.el (set-message-beep):
2273 * term/w32-win.el (set-message-beep): Update declarations.
2274
94c66ce5
SM
22752012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
2276
10766e9e
SM
2277 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
2278 (mode-line-widen, mode-line-input-method-map)
2279 (mode-line-coding-system-map, mode-line-remote)
2280 (mode-line-unbury-buffer, mode-line-bury-buffer)
2281 (mode-line-next-buffer, mode-line-previous-buffer):
2282 Replace save-selected-window+select-window => with-selected-window.
2283
f754db08
SM
2284 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
2285 * progmodes/cc-vars.el (bq-process): Remove, unused.
2286
94c66ce5
SM
2287 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
2288
a4ff7fe1
FEG
22892012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
2290
2291 Implemented `backward-up-list'-like navigation.
2292 * progmodes/python.el (python-nav-up-list)
2293 (python-nav-backward-up-list): New functions.
2294 (python-mode-map): Define substitute key for backward-up-list to
2295 python-nav-backward-up-list.
2296
24517d82
FEG
22972012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
2298
2299 * progmodes/python.el (python-fill-paragraph): Rename from
2300 python-fill-paragraph-function. Fixed fill-paragraph for
2301 decorators (Bug#12605).
2302
51867ae2
FEG
23032012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
2304
2305 * progmodes/python.el (python-shell-output-filter): Handle extra
2306 carriage return in OSX (Bug#12409).
2307
a5b773c4
FEG
23082012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
2309
2310 Fix shell handling of unbalanced quotes and parens in output.
94c66ce5 2311 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
a5b773c4
FEG
2312 (python-syntax-propertize-function): Use it.
2313 (python-shell-output-syntax-table): New var.
2314 (inferior-python-mode): Prevent unbalanced parens/quotes from
2315 previous output mess with current input context.
2316
13373538
JB
23172012-10-08 Juanma Barranquero <lekktu@gmail.com>
2318
2319 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
2320 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
2321
775a132d
MA
23222012-10-08 Michael Albinus <michael.albinus@gmx.de>
2323
2324 * ffap.el (ffap-replace-file-component): Support Tramp file name
2325 syntax, not only ange-ftp's one.
2326
3ab44929
GM
23272012-10-08 Glenn Morris <rgm@gnu.org>
2328
57f1dee4
GM
2329 * cus-start.el (message-log-max): Set :version.
2330
3ab44929
GM
2331 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
2332
6a088630
MR
23332012-10-08 Martin Rudalics <rudalics@gmx.at>
2334
2335 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
2336 the minibuffer window (Bug#10851).
2337
8dbce54c
FEG
23382012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
2339
2340 Enhancements on forward-sexp movement.
2341 * progmodes/python.el (python-nav-beginning-of-statement)
2342 (python-nav-end-of-statement): Return point-marker.
2343 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
2344 (python-info-current-symbol)
2345 (python-info-statement-starts-block-p): Rename from
2346 python-info-beginning-of-block-p.
2347 (python-info-statement-ends-block-p): Rename from
2348 python-info-end-of-block-p.
2349 (python-info-beginning-of-statement-p)
2350 (python-info-end-of-statement-p)
2351 (python-info-beginning-of-block-p, python-info-end-of-block-p):
2352 New functions.
2353
5acd2b3e
SM
23542012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2355
2356 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
2357 frame-selected-windows.
2358
e08348a0
DC
23592012-10-08 Daniel Colascione <dancol@dancol.org>
2360
2361 * battery.el (battery-status-function): Check for
2362 w32-battery-status itself, not system-time windows-nt.
2363
2364 * frame.el: Require cl-lib.
2365 (display-format-alist): New variable mapping frame types to
2366 functions that initialize them.
2367 (window-system-for-display): New function: interprets
2368 display-format-alist.
2369 (make-frame-on-display): Remove existing display-selection logic
2370 and just forward to make-frame, which will now DTRT.
2371 (make-frame): Restructure to use window-system-for-display to
2372 figure out how to create a frame on a given display.
2373 (display-mouse-p): Look for frame-type w32, not a particular
2374 system-type.
2375
2376 * loadup.el: Load w32 lisp code when we have the w32 feature.
2377
2378 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
2379 system-type windows-nt.
2380
2381 * server.el (server-create-window-system-frame): Look for window
2382 type.
2383 (server-proces-filter): Only force a window system when windows-nt
2384 _and_ w32. Explain why.
2385
2386 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
2387 of window systems we configure for the mode.
2388
2389 * startup.el (command-line): Mark window system is initialized
2390 after we've done it.
2391
2392 * common-win.el (x-select-text): Look for w32, not windows-nt.
2393
2394 * ns-win.el: Require cl-lib. Add ourselves to
2395 display-format-alist.
2396 (ns-initialize-window-system): Assert we're not initialized twice.
2397
2398 * w32-win.el: Enable lexical binding; require cl-lib; add
2399 ourselves to display-format-alist.
2400 (w32-handle-dropped-file): Convert incoming dropped files from
2401 Windows paths to Cygwin ones before passing them on to the rest of
2402 Emacs.
2403 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
2404 (w32-initialize-window-system): Assert we're not initialized twice.
2405
2406 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
2407 (x-initialize-window-system): Assert we're not initialized twice.
2408
2409 * w32-common-fns.el: New File.
2410 (w32-version, w32-using-nt, w32-get-clipboard-data)
2411 (w32-set-clipboard-data, x-set-selection, x-get-selection)
2412 (w32-charset-info-alist, x-last-selected, text)
2413 (x-get-selection-value, x-selection-value): Move here.
2414
2415 * w32-fns.el: Require w32-common-fns.
2416 (w32-version, w32-using-nt, w32-get-clipboard-data)
2417 (w32-set-clipboard-data, x-set-selection, x-get-selection)
2418 (w32-charset-info-alist, x-last-selected, text)
2419 (x-get-selection-value, x-selection-value): Move to
2420 w32-common-fns.
2421
2422 * w32-vars.el:
2423 (w32-allow-system-shell, w32-system-shells): Define only in
2424 non-cygwin case.
2425
795b1482
SM
24262012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2427
2428 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
2429 (read-passwd): Remove a few more potential sources of leaks.
2430
f27c99dc
FEG
24312012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
2432
2433 * progmodes/python.el (inferior-python-mode)
795b1482 2434 (python-shell-make-comint): Fix initialization of local
f27c99dc
FEG
2435 variables copied from parent buffer.
2436
fcacb558
JD
24372012-10-07 Jan Djärv <jan.h.d@swipnet.se>
2438
2439 * term/ns-win.el (ns-read-file-name): Update declaration to match
2440 nsfns.m.
2441 (ns-respond-to-change-font): Change fontsize separatly so we are sure
2442 it is set when font is acted upon.
2443
be0d5bae
FEG
24442012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
2445
2446 Enhancements to indentation.
2447 * progmodes/python.el (python-indent-context): Give priority to
2448 inside-string context. Make comments indentation markers.
2449 (python-indent-region): Do not mess with strings, unless it's the
2450 enclosing set of quotes.
2451
13af0d10
SM
24522012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2453
662a9d0e
SM
2454 * window.el (internal--before-save-selected-window)
2455 (internal--after-save-selected-window): New functions extracted from
2456 save-selected-window. Make sure we return the `alist' we construct.
2457 (save-selected-window): Use them.
2458
2459 * textmodes/tex-mode.el (tex-recenter-output-buffer):
2460 Use with-selected-window.
2461
13af0d10
SM
2462 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
2463 forms that define macros (bug#12593).
2464
6aa75fb6
KH
24652012-10-07 Kenichi Handa <handa@gnu.org>
2466
13af0d10
SM
2467 * international/mule-conf.el (compound-text-with-extensions):
2468 Add :mime-charset property as x-ctext.
6aa75fb6 2469
78d876b9
SM
24702012-10-07 Stefan Merten <smerten@oekonux.de>
2471
2472 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
2473 (rst-indent-literal-normal, rst-indent-literal-minimized)
2474 (rst-indent-comment): Correct :version tag.
557337e9 2475 (rst-official-cvs-rev): Correct version string.
78d876b9 2476
99a1e701
GM
24772012-10-07 Glenn Morris <rgm@gnu.org>
2478
2479 * mail/rmailmm.el (rmail-mime-process-multipart):
2480 Do not confuse a multipart message with an epilogue
2481 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
2482
08f18c3d
FEG
24832012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
2484
2485 Fix shell output retrieval and comint-prompt-regexp init.
2486 * progmodes/python.el (inferior-python-mode):
2487 (python-shell-make-comint): Fix initialization of
2488 comint-prompt-regexp from copied file local variables.
2489 (python-shell-fetched-lines): Remove var.
2490 (python-shell-output-filter-in-progress): Rename from
2491 python-shell-fetch-lines-in-progress.
2492 (python-shell-output-filter-buffer): Rename from
2493 python-shell-fetch-lines-string.
2494 (python-shell-fetch-lines-filter): Delete function.
2495 (python-shell-output-filter): New function.
2496 (python-shell-send-string-no-output): Use them.
2497
82ed3ab4
GM
24982012-10-07 Glenn Morris <rgm@gnu.org>
2499
1595ecfa
GM
2500 * hi-lock.el (hi-lock-process-phrase):
2501 Try to make it less fragile. (Bug#7161)
2502
82ed3ab4
GM
2503 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
2504
f1f4dba0
GM
25052012-10-06 Glenn Morris <rgm@gnu.org>
2506
addc11ed 2507 * ehelp.el (electric-help-mode): Use help-mode rather than
32939005
GM
2508 non-existent mode `help'.
2509 (electric-help-map): Use button-buffer-map. (Bug#10917)
addc11ed 2510
460042b8
GM
2511 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
2512 (reftex-create-bibtex-footer): Fix custom types.
2513
67667c70
GM
2514 * progmodes/sh-script.el (sh-indent-after-continuation):
2515 Add explicit :group.
2516
18dec750
GM
2517 * textmodes/rst.el (rst-preferred-decorations)
2518 (rst-shift-basic-offset): Clarify obsolescence versions.
2519
d1a1c7e6
GM
2520 * profiler.el (profiler): Add missing group :version tag.
2521 * avoid.el (mouse-avoidance-banish-position):
2522 * proced.el (proced-renice-command):
2523 * calc/calc.el (calc-ensure-consistent-units):
2524 * calendar/icalendar.el (icalendar-import-format-uid):
2525 * net/tramp.el (tramp-save-ad-hoc-proxies):
2526 * progmodes/bug-reference.el (bug-reference-bug-regexp):
2527 * progmodes/flymake.el (flymake-error-bitmap)
2528 (flymake-warning-bitmap, flymake-fringe-indicator-position):
2529 * progmodes/sh-script.el (sh-indent-after-continuation):
2530 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
2531 (verilog-before-save-font-hook, verilog-after-save-font-hook):
2532 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
2533 (vhdl-array-index-record-field-in-sensitivity-list)
2534 (vhdl-indent-comment-like-next-code-line):
2535 * textmodes/reftex-vars.el (reftex-ref-style-alist)
2536 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
2537 (reftex-cite-key-separator, reftex-create-bibtex-header)
2538 (reftex-create-bibtex-footer):
2539 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
2540 (rst-indent-literal-normal, rst-indent-literal-minimized)
2541 (rst-indent-comment): Add missing custom :version tags.
2542
ef35abb4
GM
2543 * calendar/timeclock.el (timeclock-modeline-display):
2544 Add missing obsolete alias for renamed user option.
2545
d1aae614
GM
2546 * strokes.el (strokes-modeline-string):
2547 * emulation/crisp.el (crisp-mode-modeline-string):
2548 * eshell/esh-mode.el (eshell-status-in-modeline):
2549 Aliases to defcustoms must come before the defcustom.
2550
f1f4dba0
GM
2551 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
2552 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
2553 (cal-tex-cursor-week-monday): Doc fixes.
2554 (cal-tex-cursor-week2-summary): Doc fix.
2555 Rename from cal-tex-cursor-week-at-a-glance.
2556
2557 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
2558 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
2559
2560 * calendar/calendar.el (calendar-mode-map):
2561 Add cal-tex-cursor-week2-summary.
2562
d39109c3
SM
25632012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
2564
685f87b0
SM
2565 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
2566
d39109c3
SM
2567 * subr.el (read-passwd-map): New var.
2568 (read-passwd): Use `read-string' again.
2569 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
2570
5694896d
J
25712012-10-06 Jambunathan K <kjambunathan@gmail.com>
2572
2573 * register.el (append-to-register, prepend-to-register):
2574 Deactivate mark, as does `copy-to-register' (bug#12389).
2575
9414dd8d
CY
25762012-10-06 Chong Yidong <cyd@gnu.org>
2577
2578 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
2579
2b89bca4
KH
25802012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
2581
2582 * international/characters.el: Fix simple mistake ((car chars) ->
2583 elt), delete duplicated code.
2584
d5acb99a
GM
25852012-10-06 Glenn Morris <rgm@gnu.org>
2586
2587 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
2588
123ec157
JS
25892012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
2590
2591 * color.el (color-hsl-to-rgb): Fix incorrect results for
2592 small and large hue values. (Bug#12559)
2593
7fa36ccb
FEG
25942012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
2595
2596 Enhancements to docstring formatting when filling paragraphs.
2597 * progmodes/python.el (python-fill-docstring-style): Rename from
2598 python-fill-string-style. Added new style.
2599 (python-fill-string): Use new style. Better checks for
2600 docstrings.
2601
d8788e1e
GM
26022012-10-05 Glenn Morris <rgm@gnu.org>
2603
204f3953
GM
2604 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
2605
d8788e1e
GM
2606 * color.el (color-name-to-rgb, color-rgb-to-hex)
2607 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
2608 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
2609 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
2610 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
2611
8d956cef
GM
2612 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
2613
e8757f09 26142012-10-05 Juanma Barranquero <lekktu@gmail.com>
ea9a3563
JB
2615
2616 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
2617 to get the correct size across symlinks.
2618
e8757f09
GM
2619 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
2620
0e2ae83d
JL
26212012-10-04 Juri Linkov <juri@jurta.org>
2622
2623 * replace.el (query-replace-interactive): Declare obsolete.
2624 (query-replace-read-from): Add the last incremental search string
2625 to the list of default values accessible via M-n.
2626 (map-query-replace-regexp): Use `read-regexp'.
2627 (query-replace, query-replace-regexp, query-replace-regexp-eval)
2628 (map-query-replace-regexp, replace-string, replace-regexp):
2629 Fix docstrings to replace mentions of `query-replace-interactive'
2630 with alternatives. (Bug#12526)
2631
93cacb6d
JL
26322012-10-04 Juri Linkov <juri@jurta.org>
2633
2634 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
2635 (dired-pop-to-buffer): Declare obsolete.
2636 (dired-mark-pop-up): Doc fix.
2637
fc345011
FEG
26382012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
2639
2640 Allow user to set docstring style for fill-paragraph.
2641 * progmodes/python.el
2642 (python-fill-comment-function, python-fill-string-function)
2643 (python-fill-decorator-function, python-fill-paren-function):
2644 Remove :safe for defcustoms.
2645 (python-fill-string-style): New defcustom
5694896d 2646 (python-fill-paragraph-function): Enhance context detection.
fc345011
FEG
2647 (python-fill-string): Honor python-fill-string-style settings.
2648
6bab5d8b
MR
26492012-10-04 Martin Rudalics <rudalics@gmx.at>
2650
2651 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
2652 after setting its buffer (Bug#10805).
2653
a1a9f411
FEG
26542012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
2655
2656 Fix cornercase for string syntax.
2657 * progmodes/python.el (python-syntax-propertize-function):
2658 Simplify and enhance the regexp for unescaped quotes. Now it also
2659 matches quotes in weird situations like the single quote in
2660 "something\"'".
2661 (python-syntax-stringify): Simplify num-quotes detecting code.
2662
05e153a6
GM
26632012-10-03 Glenn Morris <rgm@gnu.org>
2664
2665 * help-macro.el (three-step-help):
2666 Revert 2012-09-29 change. (Bug#12567)
2667
2e566ecb
MR
26682012-10-03 Martin Rudalics <rudalics@gmx.at>
2669
96ef9ccd
MR
2670 * menu-bar.el (kill-this-buffer): Don't do anything when
2671 `menu-frame' is not alive or visible (Bug#8184).
2672
2e566ecb
MR
2673 * emacs-lisp/debug.el (debug): When quitting the debugger window
2674 restore current buffer (Bug#12502).
2675
a96e1cb7
CY
26762012-10-02 Chong Yidong <cyd@gnu.org>
2677
5694896d
J
2678 * progmodes/hideif.el (hif-lookup, hif-defined):
2679 Handle semantic-c-takeover-hideif.
a96e1cb7 2680
b3ecad33
PE
26812012-10-02 Paul Eggert <eggert@cs.ucla.edu>
2682
2683 Change sampling interval units from ms to ns.
2684 * profiler.el (profiler-sampling-interval): Change units
2685 from ms to ns, multiplying the default by 1000000 so that
2686 it remains 1 ms.
2687 (profiler-report-cpu-line-format): Give enough room for
2688 the maximum counters on 64-bit hosts.
2689 (profiler-report-render-calltree-1): Call them "CPU samples",
2690 not "Time (ms)", since they are not milliseconds now (and
2691 never really were).
2692
8cb51b66 26932012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
c623f81a 2694
5694896d
J
2695 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
2696 Fix querying BBDB for entries without a last name (Bug#11580).
c623f81a 2697
fd795bf4
CY
26982012-10-02 Chong Yidong <cyd@gnu.org>
2699
2700 * emacs-lisp/eieio.el: Restore Version header.
2701
fe0a74f9
SM
27022012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
2703
6be9197e
SM
2704 * vc/diff-mode.el (diff--auto-refine-data): New var.
2705 (diff-hunk): Use it to delay refinement.
2706 (diff-mode): Remove overlays when we turn off font-lock.
2707
18486139
SM
2708 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
2709 (table-initialize-table-fixed-width-mode)
2710 (table-set-table-fixed-width-mode): Remove functions.
2711 (table-command-list): Move initialization into declaration.
2712 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
2713 (table-with-cache-buffer): Use `declare'.
2714 (table-span-cell): Simplify via CSE.
2715 (table-fixed-width-mode): Use define-minor-mode.
2716 (table-call-interactively, table-funcall, table-apply): Remove.
2717 (table-function): New function, to replace them.
2718
d83ef976
SM
2719 * bookmark.el (bookmark-search-pattern): Remove var.
2720 (bookmark-read-search-input): Remove function.
2721 (bookmark-bmenu-search): Reimplement using a minibuffer.
2722
cd386662
SM
2723 * faces.el (modeline): Remove obsolete face name.
2724
fe0a74f9
SM
2725 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
2726 and give a non-nil default value.
2727 (add-change-log-entry): Simplify accordingly.
2728
9f7b98f8
DG
27292012-10-01 Dmitry Gutov <dgutov@yandex.ru>
2730
2731 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
2732 (vc-git-log-edit-toggle-amend): New function.
2733 (vc-git-log-edit-toggle-signoff): New function.
2734 (vc-git-log-edit-mode): New major mode.
2735 (vc-git-log-edit-mode-map): Keymap for it.
2736 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
2737
2738 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
2739 header names.
2740 (log-edit-toggle-header): New function.
2741 (log-edit-extract-headers): Accept function values in HEADERS alist.
2742
62a81506
CY
27432012-10-01 David Engster <deng@randomsample.de>
2744
2745 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
2746 from symbol property and change message to be more consistent with
2747 Emacs proper.
2748 (eieio-describe-generic): Add filename for each implementation.
2749 Fix indices for generic and normal methods.
2750 (eieio-method-def, eieio-class-def): New buttons.
2751 (eieio-help-find-method-definition)
2752 (eieio-help-find-class-definition): New functions.
2753 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
2754 class, constructor and method definitions.
2755
2756 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
2757 information in symbol property.
2758 (scoped-class): Remove.
2759 (eieio-slot-name-index, call-next-method): Check if it is bound.
2760
27612012-10-01 Leo P. White <lpw25@cam.ac.uk>
2762
2763 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
2764 (eieio-custom-mode): New major mode.
2765 (eieio-customize-object): Use it.
2766
27672012-10-01 Eric Ludlam <zappo@gnu.org>
2768
2769 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
2770 specifying the expected class, and whether subclassing is allowed.
2771 (eieio-persistent-convert-list-to-object):
1f9f395d
JB
2772 (eieio-persistent-validate/fix-slot-value)
2773 (eieio-persistent-slot-type-is-class-p): New functions.
2774 (eieio-named::slot-missing): Doc fix.
62a81506
CY
2775
2776 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
2777 Stop using unused publd variable.
2778
2779 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
2780 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
2781 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
2782 (eieio-speedbar-handle-click): Do not specify a class for the
2783 method. Fixes method invocation order problems with EDE.
2784
375e49d4
SM
27852012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
2786
2787 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
2788 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
2789
16ce6ccd
KF
27902012-10-01 Karl Fogel <kfogel@red-bean.com>
2791
2792 * bookmark.el (bookmark-version-control): Give tags in the
2793 :type choices (Bug#12309), and improve doc string.
e4c4abdd
KF
2794 (bookmark-write-file): Bind `print-circle' to `t' to allow
2795 circular custom bookmark types. (Bug#12503)
16ce6ccd 2796
19e54a4d
PE
27972012-10-01 Paul Eggert <eggert@cs.ucla.edu>
2798
86ec63ba
PE
2799 Revert the FOLLOW-SYMLINKS change for file-attributes.
2800 * files.el (remote-file-name-inhibit-cache, after-find-file):
2801 * time.el (display-time-file-nonempty-p): Undo last change.
2802
19e54a4d
PE
2803 * profiler.el (profiler-sampling-interval): Change default back to 1.
2804 See Stefan Monnier in
2805 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
2806
0478776b
FEG
28072012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
2808
2809 Shell output catching a la gud-gdb.
2810 * progmodes/python.el (python-shell-fetch-lines-in-progress)
375e49d4
SM
2811 (python-shell-fetch-lines-string, python-shell-fetched-lines):
2812 New Vars.
0478776b
FEG
2813 (python-shell-fetch-lines-filter): New function.
2814 (python-shell-send-string-no-output): Use them.
2815
c22bac2c
TM
28162012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
2817
2818 * profiler.el (profiler-sampling-interval): Rename from
2819 profiler-sample-interval.
2820 (profiler-sampling-interval): Default to 10.
2821 (profiler-find-profile): New command (was profiler-find-log).
2822 (profiler-find-profile-other-window): New command.
2823 (profiler-find-profile-other-frame): New command.
2824 (profiler-profile): Introduce API-level data structure.
2825
e7a2937b
PE
28262012-09-30 Paul Eggert <eggert@cs.ucla.edu>
2827
2828 file-attributes has a new optional arg FOLLOW-SYMLINKS.
2829 * files.el (remote-file-name-inhibit-cache):
2830 * time.el (display-time-file-nonempty-p): Use it.
2831 * files.el (after-find-file): Don't chase links before calling
2832 file-exists-p, as file-exists-p already does the right thing.
2833
4f595e15
RA
28342012-09-30 Ralf Angeli <angeli@caeruleus.net>
2835
2836 Merge from standalone RefTeX repository.
2837
2838 The following ChangeLog entries are shortened versions of the
2839 original ones with file paths adapted. A not so strongly edited
2840 version of the original ChangeLog can be found in the commit log.
2841
2842 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
375e49d4
SM
2843 (reftex-arg-cite): Use `reftex-cite-key-separator'.
2844 Correctly handle new value type returned by `reftex-citation'.
4f595e15
RA
2845
2846 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
375e49d4
SM
2847 that entries with whitespace at various places are found.
2848 Doc fix. Include entries that are cross-referenced from cited entries.
4f595e15
RA
2849 Include @String definitions in the resulting bib file. Add header
2850 and footer defined in `reftex-create-bibtex-header' and
2851 `reftex-create-bibtex-footer'.
2852 (reftex-do-citation): Make it possible again to insert
2853 non-existent entries. Save match data when asking for optional
2854 arguments. Return all keys, not just the first one.
2855 (reftex-all-used-citation-keys): Fix regexp to correctly extract
2856 all citations in the same line.
2857 (reftex-parse-bibtex-entry): Accept additional optional argument
2858 `raw' and keep quotes or braces if it is non-nil. Match fields
2859 containing hyphens besides word constituents.
2860 (reftex-get-string-refs): New function.
2861 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
2862 and ask if it should be reread in case it did.
2863 (reftex-pop-to-bibtex-entry)
2864 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
2865 entries with spaces or tabs in front of arguments.
2866 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
375e49d4
SM
2867 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
2868 Match entries containing numbers and symbol constituents.
2869 (reftex-do-citation, reftex-figure-out-cite-format):
2870 Use `reftex-cite-key-separator'.
4f595e15
RA
2871
2872 * textmodes/reftex-dcr.el: Move provide statement to end of file.
2873 (reftex-mouse-view-crossref): Explain why point is set.
2874
2875 * textmodes/reftex-global.el: Whitespace changes.
2876
2877 * textmodes/reftex-index.el: Move provide statement to end of
2878 file.
2879 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
2880 (reftex-index-visit-phrases-buffer): Set marker when visiting
2881 buffer. This allows for returning from the phrases file to the
2882 file one was just editing instead of the file where the last
2883 phrases was added from.
2884 (reftex-index-phrases-syntax-table): New variable. Give ?\"
2885 punctuation syntax as it usually is not used as string quote in
2886 TeX-related modes and may occur unmatched. The change also
2887 prevents fontification of quoted content.
2888 (reftex-index-phrases-mode): Use it.
2889
375e49d4
SM
2890 * textmodes/reftex-parse.el (reftex-parse-from-file):
2891 Move backward one char if a `\' was matched after a section macro.
4f595e15
RA
2892 (reftex-parse-from-file): Use beginning of match instead of end as
2893 bound.
2894
2895 * textmodes/reftex-ref.el: Adapt creation of
2896 `reftex-<package>-<macro>' functions to new structure of
2897 `reftex-ref-style-alist'.
375e49d4
SM
2898 (reftex-reference): Use `reftex-ref-style-list' function.
2899 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
4f595e15
RA
2900 reference macro if `reftex-ref-macro-prompt' is non-nil.
2901 (reftex-reference): Pass refstyle to `reftex-format-special'.
2902 Determine reference macro by looking at
375e49d4
SM
2903 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
2904 Use only one special format function.
4f595e15
RA
2905 (reftex-varioref-vref, reftex-fancyref-fref)
2906 (reftex-fancyref-Fref): Remove definitions. The functions are now
2907 generated from `reftex-ref-style-alist'.
2908 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
2909 Remove.
2910 (reftex-format-special): New function.
2911
2912 * textmodes/reftex-sel.el
2913 (reftex-select-cycle-ref-style-internal): Adapt to new structure
2914 of `reftex-ref-style-alist'. Remove code for testing macro type.
2915 (reftex-select-toggle-varioref)
2916 (reftex-select-toggle-fancyref): Remove.
2917 (reftex-select-cycle-ref-style-internal)
2918 (reftex-select-cycle-ref-style-forward)
2919 (reftex-select-cycle-ref-style-backward): New functions.
2920 (reftex-select-label-map): Use `v' and `V' for general cycling
2921 through reference styles. Add `p' for switching between number
2922 and page reference types.
2923
375e49d4
SM
2924 * textmodes/reftex-toc.el (reftex-re-enlarge):
2925 Call `enlarge-window' only if there is something to do because in Emacs
4f595e15
RA
2926 the horizontal version throws an error even if the parameter is 0.
2927
2928 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
2929 (reftex-plug-into-AUCTeX): Doc fix.
2930 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
2931 string. Adapt to new name.
2932 (reftex-ref-style-alist): Change structure so that it is not
2933 possible to use multiple different package names within a style.
375e49d4
SM
2934 Remove the symbols for symbols for macro type distinction.
2935 Add characters for macro selection.
4f595e15
RA
2936 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
2937 (reftex-create-bibtex-footer): New variables.
2938 (reftex-format-ref-function): Mention third argument of special
2939 format function.
375e49d4
SM
2940 (reftex-ref-style-alist, reftex-ref-style-default-list):
2941 New variables.
4f595e15
RA
2942 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
2943 to new implementation. Mark as obsolete. Add compatibility code
2944 for honoring the variable values in case they are set.
375e49d4
SM
2945 (reftex-cite-format-builtin, reftex-bibliography-commands):
2946 Add support for ConTeXt.
2947 (reftex-format-ref-function, reftex-format-cite-function):
2948 Fix custom type.
4f595e15
RA
2949 (reftex-cite-key-separator): New variable.
2950
2951 * textmodes/reftex.el (reftex-syntax-table-for-bib)
2952 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
2953 `reftex-syntax-table' because parens have to retain their paren
2954 syntax in order for parsing of BibTeX entries like @book(...) to
2955 work.
2956 (reftex-in-comment): Do not error out if `comment-start-skip' is
2957 not set. Deal correctly with escaped comment characters.
375e49d4
SM
2958 (reftex-tie-multifile-symbols): Add doc string.
2959 Initialize `reftex-ref-style-list'.
4f595e15
RA
2960 (reftex-untie-multifile-symbols): Add doc string.
2961 (reftex-add-index-macros): Doc fix.
2962 (reftex-ref-style-activate, reftex-ref-style-toggle)
2963 (reftex-ref-style-list): New functions.
2964 (reftex-mode-menu): Use them. Adapt to new structure of
2965 `reftex-ref-style-alist'.
2966 (reftex-select-with-char): Kill the RefTeX Select buffer when
2967 done.
2968 (reftex-remove-if): New function.
2969 (reftex-erase-all-selection-and-index-buffers)
2970 (reftex-mode-menu): Reference styles are now computed from
2971 `reftex-ref-style-alist'. Fix typo.
2972 (reftex-report-bug): New function.
2973 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
2974 algorithms with O(n log n). Introduce optional argument SORT (not
2975 yet used).
2976
440ba395
FEG
29772012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
2978
2979 Enhancements for triple-quote string syntax.
375e49d4
SM
2980 * progmodes/python.el (python-syntax-propertize-function):
2981 Match both quote cases in one regexp.
440ba395
FEG
2982 (python-syntax-stringify): Handle matches properly.
2983
4c478e6b
JL
29842012-09-30 Juri Linkov <juri@jurta.org>
2985
2986 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
93cacb6d 2987 to nil around the call to `insert' to prevent
4c478e6b
JL
2988 directory time modification by lock_file. (Bug#2295)
2989 * tar-mode.el (tar-summarize-buffer): Idem.
2990
d80d54b2
JL
29912012-09-30 Juri Linkov <juri@jurta.org>
2992
2993 * facemenu.el (list-colors-sort): Add option "Luminance".
2994 (list-colors-sort-key): Implement it.
2995
2996 * vc/diff-mode.el (diff-refine-removed):
2997 * vc/ediff-init.el (ediff-fine-diff-A):
2998 * vc/smerge-mode.el (smerge-refined-removed):
2999 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
3000
d7e642cc
JD
30012012-09-30 Jan Djärv <jan.h.d@swipnet.se>
3002
3003 * term/ns-win.el (x-file-dialog): New function.
3004
ee41332b
JB
30052012-09-30 Juanma Barranquero <lekktu@gmail.com>
3006
3007 * ido.el (ido-max-directory-size): Default to nil; the current
3008 default is small for POSIX systems, and impractical on Windows 7
3009 now that lstat returns directory sizes for NTFS.
3010
5938d519
MR
30112012-09-30 Martin Rudalics <rudalics@gmx.at>
3012
3013 In buffer display functions handle window-height/window-width
3014 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
375e49d4
SM
3015 * window.el (window--display-buffer): New argument ALIST.
3016 Obey window-height and window-width alist entries.
3017 (window--try-to-split-window): New argument ALIST.
3018 Bind window-combination-limit to t when the window's size shall be
5938d519
MR
3019 changed and window-combination-limit equals `window-size'.
3020 (display-buffer-in-atom-window)
3021 (display-buffer-in-major-side-window)
3022 (display-buffer-in-side-window, display-buffer-same-window)
3023 (display-buffer-reuse-window, display-buffer-pop-up-frame)
3024 (display-buffer-pop-up-window, display-buffer-below-selected)
3025 (display-buffer-at-bottom, display-buffer-in-previous-window)
3026 (display-buffer-use-some-window): Adjust all callers of
3027 window--display-buffer and window--try-to-split-window.
3028 (fit-frame-to-buffer): New option.
3029 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
3030 is non-nil.
3031 (display-buffer-in-major-side-window): Evaluate window-height /
3032 window-width alist entries.
3033
3034 * help.el (temp-buffer-resize-frames)
3035 (temp-buffer-resize-regexps): Remove options.
3036 (temp-buffer-resize-mode): Adjust doc-string.
3037 (resize-temp-buffer-window): Don't consult
3038 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
3039 temp-buffer-resize-frames.
3040
375e49d4
SM
3041 * dired.el (dired-mark-pop-up):
3042 Call display-buffer-below-selected with a fit-window-to-buffer alist
5938d519
MR
3043 entry.
3044
c4c0c2df
CY
30452012-09-30 Chong Yidong <cyd@gnu.org>
3046
48de8b12
CY
3047 * server.el (server-host): Document the security implications.
3048 (server-auth-key): Doc fix.
3049
3050 * startup.el (initial-buffer-choice): Doc fix.
3051
3052 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
3053
a97dc380
CY
3054 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
3055 restriction change.
3056
d39d3c8e
CY
3057 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
3058
c4c0c2df
CY
3059 * help-fns.el (help-fns--obsolete): Fix last change.
3060
98a5e33b
SM
30612012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
3062
34cf6f39
SM
3063 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
3064 (minor-mode-map-alist): Remove redundant code.
3065
e01c13fe
SM
3066 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
3067 visited in a buffer.
3068 (cvs-insert-visited-file): New function.
3069 (find-file-hook): Use it.
3070
3071 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
3072
02661b3a
SM
3073 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
3074 chose face.
3075 (log-edit-empty-buffer-p): Don't require a space after a header.
3076
43711d4b
SM
3077 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
3078
38a30d64
SM
3079 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
3080
4ffb41a9
SM
3081 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
3082 a proper minor-mode.
3083
98a5e33b
SM
3084 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
3085
de82e29b
GM
30862012-09-29 Glenn Morris <rgm@gnu.org>
3087
5cc2e639
GM
3088 * winner.el (winner-mode): Remove variable (let define-minor-mode
3089 handle it).
3090 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
3091 Doc fixes.
3092 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
3093 (winner-mode): Use define-minor-mode.
3094
7bd302eb
GM
3095 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
3096 the full definition in loaddefs, rather than duplicating it.
3097
2923922f 3098 * help-macro.el (three-step-help): No need to autoload defcustom.
ced08382 3099
0e3e4156
GM
3100 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
3101 (inferior-lisp-program, inferior-lisp-load-command)
3102 (inferior-lisp-prompt, inferior-lisp-mode-hook):
2923922f 3103 No need to autoload defcustoms.
0e3e4156 3104
de82e29b
GM
3105 * hippie-exp.el (hippie-expand-try-functions-list)
3106 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
3107 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
3108 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
2923922f 3109 (hippie-expand-only-buffers): No need to autoload defcustoms.
de82e29b
GM
3110 * progmodes/vhdl-mode.el (vhdl-line-expand):
3111 Explicitly load hippie-exp, so it does not get autoloaded
3112 while hippie-expand-try-functions-list is let-bound.
3113
e60b51ab
GM
31142012-09-28 Glenn Morris <rgm@gnu.org>
3115
277f0cfa
GM
3116 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
3117
e60b51ab
GM
3118 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
3119 Only "cl.el" counts as cl these days.
3120
53baf48a
JL
31212012-09-28 Juri Linkov <juri@jurta.org>
3122
3123 Display archive errors in the echo area instead of inserting
3124 to the file buffer.
3125
3126 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
3127 to STDERR-TEST that can be a regexp matching a successful output.
3128 Create a temporary file and redirect stderr to it. Search for
3129 STDERR-TEST in the stderr output and display it in the echo area
3130 if no match is found.
3131 (archive-extract-by-file): New function like
3132 `archive-extract-by-stdout' but extracting archives to files
3133 and looking for successful matches in stdout. Function body is
3134 mostly copied from `archive-rar-extract'.
3135 (archive-rar-extract): Use `archive-extract-by-file'.
3136 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
3137
9c1228c3
LL
31382012-09-28 Leo Liu <sdl.web@gmail.com>
3139
375e49d4
SM
3140 * pcomplete.el (pcomplete-show-completions):
3141 Use minibuffer-message to make pcomplete usable in minibuffer.
147c0425 3142
9c1228c3
LL
3143 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
3144
7f457c06
SM
31452012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
3146
3df749b0
SM
3147 * type-break.el: Use lexical-binding.
3148 (type-break-mode): Use define-minor-mode.
3149
7f457c06
SM
3150 * emacs-lisp/pcase.el (pcase--mark-used): New.
3151 (pcase--u1): Use it (bug#12512).
3152
3153 * custom.el (load-theme): Set buffer-file-name so the load is recorded
3154 in load-history with the right file name.
3155
c00ebc98
TH
31562012-09-28 Tassilo Horn <tsdh@gnu.org>
3157
3158 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
3159 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
3160 (doc-view-get-bounding-box): Make bounding box slicing work for
3161 ODF and DVI documents.
3162
96fb7170
GM
31632012-09-28 Glenn Morris <rgm@gnu.org>
3164
3165 * type-break.el (type-break-mode, type-break-interval)
3166 (type-break-good-rest-interval, type-break-keystroke-threshold):
3167 No need to autoload.
3168 (type-break-good-rest-interval, type-break-keystroke-threshold):
3169 Add :set-after.
3170
5bc93c67
CY
31712012-09-28 Chong Yidong <cyd@gnu.org>
3172
3173 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
3174 Add :version tag.
3175
9cad61d6
SM
31762012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
3177
e28e67b3 3178 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
9cad61d6 3179
daee954c
GM
31802012-09-27 Glenn Morris <rgm@gnu.org>
3181
a88324d4
GM
3182 * faces.el (x-display-name): Declare (for without-x builds).
3183
8e5064e5
GM
3184 * linum.el (linum-format): Don't autoload it. Improve :type.
3185
cc1783c2
GM
3186 * progmodes/tcl.el: Don't require outline when compiling.
3187 (outline-regexp, outline-level): Declare.
1dddcf4c
GM
3188 * textmodes/sgml-mode.el: Don't require outline when compiling.
3189 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
3190
48c339f2
GM
3191 * term.el (term-ansi-reset):
3192 Try setting term-ansi-face-already-done to nil. (Bug#11785)
3193
daee954c
GM
3194 * vc/vc.el (vc-next-action): Only gripe about committing read-only
3195 files for RCS and SCCS. (Bug#9781)
3196
b7f42161
CY
31972012-09-27 Chong Yidong <cyd@gnu.org>
3198
3199 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
3200 change; value should be t.
3201
a2e770db
SM
32022012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
3203
83600dc8
SM
3204 * image-mode.el: Use lexical-binding.
3205 (image-mode-winprops): Use t to stand for the window of
3206 a buffer that's not displayed.
3207 * doc-view.el (doc-view-new-window-function): Handle the new
3208 t in winprops.
3209 (doc-view-enlarge): Make it a real nop if the size is not changed.
3210 (doc-view-display): Handle the case where the buffer is not (yet?)
3211 displayed in any window.
3212 (doc-view-saved-settings): New var.
3213 (doc-view-mode): Use it.
3214 (doc-view-fallback-mode): Set it.
3215
a2e770db
SM
3216 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
3217 Set lexical-binding.
3218 (minibuffer-eldef-shorten-default): New var.
3219 (minibuffer-default-in-prompt-regexps): Use it for new default.
3220 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
3221
e3b60857
JB
32222012-09-26 Juanma Barranquero <lekktu@gmail.com>
3223
3224 * international/uni-bidi.el:
3225 * international/uni-category.el:
3226 * international/uni-name.el:
3227 * international/uni-numeric.el: Regenerate.
3228
3a880af4
SM
32292012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
3230 Stefan Monnier <monnier@iro.umontreal.ca>
3231
3232 * profiler.el: New file.
3233
07b1a5fb
SM
32342012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
3235
3236 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
3237 (testcover-reinstrument): Simplify with CSE.
3238
42019c2e
JB
32392012-09-26 Juanma Barranquero <lekktu@gmail.com>
3240
3241 * window.el (temp-buffer-window-setup): Fix typo in docstring.
3242
179f044b
WS
32432012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
3244
3245 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
3246 (verilog-auto-input, verilog-auto-insert-lisp)
3247 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
3248 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
3249 (verilog-auto-unused, verilog-auto-wire)
3250 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
3251 newline. Reported by Andrew Jones.
3252 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
3253 Reported by Brad Dobbie.
07b1a5fb
SM
3254 (verilog-batch-delete-trailing-whitespace):
3255 Create verilog-batch-delete-trailing-whitespace.
3256 Reported by Brad Dobbie.
179f044b
WS
3257 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
3258 parameters from another module. Reported by Dan Katz.
3259 (verilog-auto, verilog-auto-assign-modport)
3260 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
3261 AUTOINOUTMODPORT for UVM interface module shell generation.
3262 Reported by Brad Dobbie.
3263 (verilog-auto-inst-interfaced-ports): Make default nil, as more
3264 standard behavior.
3265 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
3266 Reported by Matt Martin.
3267
9c52dd5a
MR
32682012-09-25 Martin Rudalics <rudalics@gmx.at>
3269
3270 * window.el (window--resize-child-windows): When resizing child
3271 windows proportionally, process them in reverse order to
3272 preserve the "when splitting a window the new one gets the odd
3273 line" behavior.
3274 (window--resize-root-window-vertically): When resizing the
3275 minibuffer window try to affect only windows at the bottom of the
3276 frame. (Bug#12419)
3277
863666eb
CY
32782012-09-25 Chong Yidong <cyd@gnu.org>
3279
3280 * subr.el (declare): Doc fix.
3281
3282 * help-fns.el (help-fns--obsolete): Handle macros properly.
3283
59f7af81
CY
32842012-09-25 Chong Yidong <cyd@gnu.org>
3285
3286 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
3287 this function obsolete.
3288
3289 * calendar/cal-x.el (calendar-two-frame-setup)
3290 (calendar-only-one-frame-setup, calendar-one-frame-setup):
3291 * calendar/calendar.el (american-calendar, european-calendar)
3292 (calendar-for-loop):
3293 * comint.el (comint-dynamic-simple-complete)
3294 (comint-dynamic-complete-as-filename, comint-unquote-filename):
3295 * desktop.el (desktop-load-default):
3296 * dired-x.el (dired-omit-here-always)
3297 (dired-hack-local-variables, dired-default-directory):
3298 * emacs-lisp/derived.el (derived-mode-class):
3299 * emacs-lisp/timer.el (timer-set-time-with-usecs):
3300 * emacs-lock.el (toggle-emacs-lock):
3301 * epa.el (epa-display-verify-result):
3302 * epg.el (epg-sign-keys, epg-start-sign-keys)
3303 (epg-passphrase-callback-function):
3304 * eshell/esh-util.el (eshell-for):
3305 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
3306 (eshell-add-to-window-buffer-names):
3307 * files.el (locate-file-completion):
3308 * imenu.el (imenu-example--create-c-index)
3309 (imenu-example--create-lisp-index)
3310 (imenu-example--lisp-extract-index-name)
3311 (imenu-example--name-and-position):
3312 * international/mule-cmds.el (princ-list):
3313 * international/mule-diag.el (decode-codepage-char):
3314 * international/mule-util.el (detect-coding-with-priority):
3315 * iswitchb.el (iswitchb-read-buffer):
3316 * mail/mailalias.el (mail-complete):
3317 * mail/sendmail.el (mail-sent-via):
3318 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
3319 (mouse-major-mode-menu):
3320 * password-cache.el (password-read-and-add):
3321 * pcomplete.el (pcomplete-parse-comint-arguments):
3322 * progmodes/sh-script.el (sh-maybe-here-document):
3323 * replace.el (query-replace-regexp-eval):
3324 * savehist.el (savehist-load):
3325 * simple.el (choose-completion-delete-max-match):
3326 * term.el (term-dynamic-simple-complete):
3327 * vc/ediff-init.el (ediff-check-version):
3328 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
3329 * vc/vc.el (vc-diff-switches-list):
3330 * view.el (view-return-to-alist-update): Likewise.
3331
3332 * subr.el (eval-next-after-load, makehash, insert-string)
3333 (assoc-ignore-representation, assoc-ignore-case): Use declare to
3334 mark obsolete.
3335 (mode-line-inverse-video): Variable deleted.
3336
3337 * international/mule-util.el (string-to-sequence): Remove.
3338
3339 * calendar/calendar.el (calendar-version):
3340 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
3341 (icalendar-convert-diary-to-ical):
3342 * cus-edit.el (custom-mode):
3343 * ansi-color.el (ansi-color-unfontify-region):
3344 * international/latin1-disp.el (latin1-char-displayable-p):
3345 * progmodes/cwarn.el (turn-on-cwarn-mode):
07b1a5fb
SM
3346 * progmodes/which-func.el (which-func-update-1):
3347 Use define-obsolete-function-alias.
59f7af81
CY
3348
3349 * net/newst-backend.el (newsticker-cache-filename):
07b1a5fb
SM
3350 * net/newst-treeview.el (newsticker-groups-filename):
3351 Fix incorrect obsolescence declaration.
59f7af81
CY
3352
3353 * allout.el (allout-passphrase-hint-string): Likewise.
3354 (allout-init): Use a declare form to mark obsolete.
3355
3356 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
3357 this applies to functions.
3358
3359 * iswitchb.el (iswitchb-read-buffer): Move code of
3360 iswitchb-define-mode-map here, and delete that obsolete function.
3361
3362 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
3363 font-lock-reference-face.
3364
cca96c97
GM
33652012-09-25 Glenn Morris <rgm@gnu.org>
3366
b06eeda8
GM
3367 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
3368 Doc fixes.
3369
cca96c97
GM
3370 * eshell/em-term.el (eshell-term-name):
3371 Default to term-term-name. (Bug#12485)
3372
dc4f818b
FEG
33732012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
3374
cca96c97
GM
3375 * progmodes/python.el (python-shell-send-buffer): Better handling
3376 of "if __name__ == '__main__':" conditionals when sending the buffer.
dc4f818b 3377
289c24bd
GM
33782012-09-24 Glenn Morris <rgm@gnu.org>
3379
3380 * eshell/esh-cmd.el (eshell-find-alias-function):
3381 Tighten up file-name regexp. (Bug#12499)
3382
8fb8b88f
FEG
33832012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
3384
3385 Enhancements for triple-quote string syntax.
3386 * progmodes/python.el (python-quote-syntax): Remove.
3387 (python-syntax-propertize-function): New value.
07b1a5fb
SM
3388 (python-syntax-count-quotes, python-syntax-stringify):
3389 New functions.
8fb8b88f 3390
6c27f0f8
CY
33912012-09-24 Chong Yidong <cyd@gnu.org>
3392
a5f2b6ec
CY
3393 * mail/supercite.el (sc-version): Remove obsolete function.
3394 (sc-describe): Don't mark as obsolete, since it is bound.
3395 (sc-submit-bug-report): Remove.
3396
3397 * vc/log-edit.el (cvs-changelog-full-paragraphs)
3398 (cvs-commit-buffer-require-final-newline): Remove.
0c765e5f
CY
3399 (log-edit-require-final-newline)
3400 (log-edit-changelog-full-paragraphs): Default to t.
a5f2b6ec
CY
3401
3402 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
3403 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
3404 * vc/vc.el (vc-checkout-carefully): Likewise.
3405
3406 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
3407 (emerge-version): Remove.
3408
3409 * progmodes/compile.el (compile-internal): Remove.
3410 (compilation-parse-errors-function): Fix typo.
3411
3412 * international/mule.el (set-char-table-default): Remove.
3413 (set-coding-priority, make-coding-system, generic-char-p)
3414 (charset-list, charset-bytes, charset-id): Use declare to mark
3415 functions as obsolete.
3416
3417 * vc/pcvs-defs.el (cvs-buffer-name-alist)
3418 (cvs-invert-ignore-marks): Remove references to obsolete vars.
3419 * vc/vc-hooks.el (vc-default-registered): Don't use
3420 vc-master-templates.
3421
07b1a5fb
SM
3422 * font-lock.el (font-lock-reference-face):
3423 Use define-obsolete-variable-alias.
6c27f0f8
CY
3424
3425 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
3426 * calendar/calendar.el (calendar-font-lock-keywords):
3427 * calendar/diary-lib.el (diary-font-lock-keywords)
3428 (diary-fancy-font-lock-keywords):
3429 * textmodes/reftex-sel.el (reftex-insert-docstruct):
3430 * textmodes/reftex-index.el (reftex-insert-index):
3431 * textmodes/reftex-cite.el (reftex-format-bib-entry):
3432 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3433 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
3434 * progmodes/prolog.el (prolog-font-lock-keywords):
3435 * progmodes/idlwave.el (idlwave-idl-keywords):
3436 * progmodes/ada-mode.el (ada-font-lock-keywords):
3437 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
3438
bcc0adbf
GM
34392012-09-24 Glenn Morris <rgm@gnu.org>
3440
3441 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
3442
095bb823
FEG
34432012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
3444
3445 * progmodes/python.el (python-indent-line): More consistent cursor
3446 movement behavior.
3447
70efc5c9
SM
34482012-09-23 Stefan Merten <smerten@oekonux.de>
3449
3450 * textmodes/rst.el: Fix compiler warning.
3451
2f438239
RW
34522012-09-23 Roland Winkler <winkler@gnu.org>
3453
07b1a5fb
SM
3454 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
3455 Transcribe also LaTeX hyphenation.
2f438239
RW
3456 (bibtex-reformat): Bug fix. Do not quote twice the elements of
3457 bibtex-reformat-previous-options.
3458
936ad041
RW
34592012-09-23 Roland Winkler <winkler@gnu.org>
3460
3461 * proced.el (proced-renice-command): New variable.
3462 (proced-marked-processes): New function.
3463 (proced-with-processes-buffer): New macro.
3464 (proced-send-signal): Use them.
3465 (proced-renice): New command bound to r.
3466
6fab0274
RW
34672012-09-23 Roland Winkler <winkler@gnu.org>
3468
3469 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
3470 ibuffer-saved-filter-groups has one element, shortcut the call of
3471 completing-read. (Bug#12331)
3472
9a930676
CY
34732012-09-23 Chong Yidong <cyd@gnu.org>
3474
3475 * bindings.el (mode-line-toggle-read-only):
3476 * bs.el (bs-toggle-readonly):
3477 * buff-menu.el (Buffer-menu-toggle-read-only):
3478 * dired.el (dired-toggle-read-only):
3479 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
3480
d07ff9db
CY
34812012-09-23 Chong Yidong <cyd@gnu.org>
3482
3483 * image.el (image-type-available-p): Adapt to init-image-library
3484 argument changes.
3485
51c4474e
JL
34862012-09-22 Juri Linkov <juri@jurta.org>
3487
3488 * dired.el (dired-mode-map): Add [remap read-only-mode] for
3489 `dired-toggle-read-only'. (Bug#12462)
3490
43bf5e8e
MR
34912012-09-22 Martin Rudalics <rudalics@gmx.at>
3492
3493 * subr.el (temp-output-buffer-show): New function.
3494 (with-output-to-temp-buffer): Call temp-output-buffer-show
3495 instead of internal-temp-output-buffer-show.
3496
c88b867f
CY
34972012-09-22 Chong Yidong <cyd@gnu.org>
3498
3df47cd5
CY
3499 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
3500 (Bug#12462).
3501
c88b867f
CY
3502 * repeat.el (repeat): Doc fix (Bug#12348).
3503
3504 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
3505 (Bug#10909).
3506
3507 * simple.el (shell-command-on-region): Doc fix.
3171e303 3508 (read-only-mode): Doc fix.
c88b867f 3509
df9685f3
EZ
35102012-09-22 Eli Zaretskii <eliz@gnu.org>
3511
3512 * emacs-lisp/timer.el (run-with-idle-timer)
3513 (timer-activate-when-idle): Warn against reinvoking an idle timer
3514 from within its own timer action. (Bug#12447)
3515
8e17c9ba
MR
35162012-09-22 Martin Rudalics <rudalics@gmx.at>
3517
3518 * cus-start.el (window-combination-limit): Add new optional
3519 values.
3520 * window.el (temp-buffer-window-show)
3521 (window--try-to-split-window): Handle new values of
3522 window-combination-limit (Bug#1806).
3523 (split-window): Test window-combination-limit for t instead of
3524 non-nil.
3525 (display-buffer-at-bottom): New buffer display action function.
3526 * help.el (temp-buffer-resize-regexps): New option.
3527 (temp-buffer-resize-mode): Rewrite doc-string.
3528 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
bd909927 3529 Don't resize reused window. Suggested by Glenn Morris.
8e17c9ba 3530
48a24920
SM
35312012-09-22 Stefan Merten <smerten@oekonux.de>
3532
70efc5c9 3533 * textmodes/rst.el: Revamp section title faces.
48a24920
SM
3534 (rst-official-version)
3535 (rst-package-emacs-version-alist): Sync with official version
3536 V1.4.0.
3537 (rst-faces-defaults, rst-set-level-default)
3538 (rst-level-face-max, rst-level-face-base-color)
3539 (rst-level-face-base-light, rst-level-face-format-light)
3540 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
3541 (rst-adornment-faces-alist): Match new setup.
3542 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
3543 (rst-level-5, rst-level-6): New faces.
3544
82f8cd94
CY
35452012-09-22 Chong Yidong <cyd@gnu.org>
3546
3547 * simple.el (undo): Handle indirect buffers (Bug#8207).
3548
acfa068f 35492012-09-21 Leo Liu <sdl.web@gmail.com>
a8c14da8
LL
3550
3551 IDO: Disable match re-ordering for buffer switching.
2bc9406c 3552 * ido.el (ido-buffer-disable-smart-matches): New variable.
a8c14da8
LL
3553 (ido-set-matches-1): Use it. (Bug#2042)
3554
acfa068f 35552012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
a316d229
JM
3556
3557 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
3558 Fix 2011-05-17 change. (Bug#12418)
3559
acfa068f 35602012-09-21 Leo Liu <sdl.web@gmail.com>
d02e58f8
LL
3561
3562 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
3563
acfa068f 35642012-09-21 Glenn Morris <rgm@gnu.org>
511fd0b2
GM
3565
3566 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
3567 Be more robust about locating simple.el.
3568
acfa068f 35692012-09-21 Glenn Morris <rgm@gnu.org>
fa05bfe0
GM
3570
3571 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
3572
acfa068f
CY
35732012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
3574
3575 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
3576
41a97e6f
JL
35772012-09-20 Juri Linkov <juri@jurta.org>
3578
eb2deaff
JL
3579 * replace.el (query-replace-read-from): Use `read-regexp' instead
3580 of `read-from-minibuffer' when `regexp-flag' is non-nil.
3581 (occur-read-primary-args): Use `read-regexp' instead of
3582 `read-string'.
3583 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
3584 `read-from-minibuffer'.
3585 * isearch.el (isearch-occur): Use `read-regexp' instead of
3586 `read-string'.
3587 * dired.el (dired-read-regexp): Use `read-regexp' instead of
3588 `read-from-minibuffer'.
3589 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
3590 of `read-string'. (Bug#7567)
3591
5825610b
JL
3592 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
3593 and allow accepting a list of strings prepended to a list of
3594 standard default values. Doc fix. (Bug#12321)
3595
eebbf404
JL
3596 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
3597
41a97e6f
JL
3598 * replace.el (read-regexp): Don't add ": " when PROMPT already
3599 ends with a colon and space. (Bug#12321)
3600
c9e452d3
TH
36012012-09-20 Tassilo Horn <tsdh@gnu.org>
3602
3603 * doc-view.el (doc-view-display): Better fix for the cl-assertion
3604 error.
3605
ee97deee
SM
36062012-09-20 Stefan Merten <smerten@oekonux.de>
3607
70efc5c9 3608 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
ee97deee
SM
3609 Fixes feature request bug#11711.
3610 (rst-mode): Create `imenu-create-index-function'.
3611 (rst-get-stripped-line): Delete after refactoring.
3612 (rst-section-tree, rst-section-tree-rec)
3613 (rst-section-tree-point): Refactor and document properly.
3614 (rst-imenu-find-adornments-for-position)
07b1a5fb
SM
3615 (rst-imenu-convert-cell, rst-imenu-create-index):
3616 New function.
ee97deee 3617
f490dab9
SM
36182012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3619
95b9712e
SM
3620 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
3621 (macroexp--expand-all): Use it.
3622 (macroexp--funcall-and-return): Remove by folding it into its sole
3623 caller (macroexp--warn-and-return).
3624 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
3625 Use macroexp--obsolete-warning.
3626
f490dab9
SM
3627 * calc/calc.el: Fix last change by removing the whole chunk, since it
3628 was only needed back when Calc was not bundled.
3629
96e8d411
MR
36302012-09-20 Martin Rudalics <rudalics@gmx.at>
3631
3632 * emacs-lisp/debug.el (debug): Restore assignment to
3633 debugger-old-buffer removed on 2012-09-08.
3634
0876a82d
JL
36352012-09-20 Juri Linkov <juri@jurta.org>
3636
3637 * dired-aux.el (dired-diff): Remove (require 'diff) since
3638 `diff-latest-backup-file' is now autoloaded.
3639
9f7c28f0
CY
36402012-09-20 Chong Yidong <cyd@gnu.org>
3641
3642 * vc/diff.el (diff-latest-backup-file): Autoload.
3643
7a04bee9
SM
36442012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3645
e6f0a80d
SM
3646 * calc/calc.el: Remove redundant autoload shape check.
3647 (sel-mode): Don't defvar.
3648 (calc-get-stack-element): Add `sel-mode' arg instead.
3649 (calc-top, calc-top-list): Pass it this additional argument.
3650 * calc/calc-store.el (calc-store-map):
3651 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
3652 (calc-map-equation, calc-outer-product, calc-inner-product):
3653 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
3654
7a04bee9
SM
3655 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
3656
12734222
JL
36572012-09-19 Juri Linkov <juri@jurta.org>
3658
3659 * dired-aux.el (dired-diff): Add (require 'diff) because
3660 `diff-latest-backup-file' is not autoloaded.
3661 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
3662 of `dired-get-filename' to t to not report error when there is
3663 no default file on the current line.
3664
46624b4f
SM
36652012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3666
ce97595b
SM
3667 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
3668 macroexp--eval-if-compile.
3669 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
3670 (macroexp--expand-all): Use them (bug#12371).
3671
46624b4f
SM
3672 * doc-view.el (doc-view-guess-paper-size)
3673 (doc-view-scale-bounding-box): Fix unbound `caddr'.
3674
db8a5a18
TH
36752012-09-19 Tassilo Horn <tsdh@gnu.org>
3676
3677 New feature: set optimal slice from BoundingBox information.
3678 * doc-view.el (doc-view-mode-map): Add keybinding.
3679 (doc-view-menu): Add menu entry.
3680 (doc-view-set-slice): Adapt docstring.
3681 (doc-view-get-bounding-box, doc-view-guess-paper-size)
3682 (doc-view-scale-bounding-box)
3683 (doc-view-set-slice-from-bounding-box): New functions.
3684 (doc-view-paper-sizes): New defvar.
3685
69f6644c
GM
36862012-09-19 Glenn Morris <rgm@gnu.org>
3687
35f5b19d
GM
3688 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
3689 (byte-compile-log-warning): Autoload. (Bug#12371)
3690
69f6644c
GM
3691 * calendar/calendar.el (calendar-american-month-header)
3692 (calendar-european-month-header, calendar-iso-month-header)
3693 (calendar-month-header): New options.
3694 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
3695 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
3696
e543ae91
JD
36972012-09-19 Jan Djärv <jan.h.d@swipnet.se>
3698
3699 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
3700
2fd5e67d
JL
37012012-09-18 Juri Linkov <juri@jurta.org>
3702
3703 * dired-aux.el (dired-diff): Restore original functionality of
3704 getting the default value, but keep new feature of using the
3705 latest existing backup file (`diff-latest-backup-file').
3706
42917e79
JL
37072012-09-18 Juri Linkov <juri@jurta.org>
3708
3709 * dired.el (dired-mark): If the region is active in Transient Mark
3710 mode, mark all files in the active region. Doc fix.
3711 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
3712 Doc fix. (Bug#10624)
3713
20f70ede
JL
37142012-09-18 Juri Linkov <juri@jurta.org>
3715
3716 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
3717 attributes for M-n are pulled from the file at point.
3718 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
3719 Suggested by Drew Adams. (Bug#10624)
3720
32fb8162
DG
37212012-09-18 Dmitry Gutov <dgutov@yandex.ru>
3722
3723 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
3724 whitespace after "end".
3725 (ruby-do-end-to-brace): Collapse block to one line if it fits
3726 within fill-column.
3727
37ab5092
MR
37282012-09-18 Martin Rudalics <rudalics@gmx.at>
3729
3730 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
3731 value.
3732 (debug): Don't remove debugger window when debugger is expected
3733 to be back.
3734
ed1f0bd3
CY
37352012-09-18 Chong Yidong <cyd@gnu.org>
3736
3737 * custom.el (defface): Doc fix.
3738
3739 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
3740
a11035b8
MB
37412012-09-18 Martin Blais <blais@furius.ca> (tiny change)
3742
3743 * progmodes/compile.el (compilation-start): Use compilation-always-kill
3744 to initialize query-on-exit; then test that instead (bug#12288).
3745
64f6a736
SM
37462012-09-17 Stefan Merten <smerten@oekonux.de>
3747
70efc5c9 3748 * textmodes/rst.el: Add support for `testcover'.
64f6a736
SM
3749 (rst-defcustom-testcover, rst-testcover-add-compose)
3750 (rst-testcover-add-1value): New functions.
3751 (rst-portable-mark-active-p): Replace by `use-region-p'.
3752 (rst-update-section, rst-classify-adornment)
3753 (rst-find-title-line): Mark `1value' forms.
3754 (rst-classify-adornment): Remove superfluous form.
3755 (rst-update-section, rst-get-adornments-around)
3756 (rst-adornment-complete-p, rst-get-next-adornment)
3757 (rst-adjust, rst-promote-region)
3758 (rst-display-adornments-hierarchy, rst-straighten-adornments)
3759 (rst-find-pfx-in-region, rst-section-tree-rec)
3760 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
3761 (rst-toc-node, rst-toc, rst-forward-section)
3762 (rst-iterate-leftmost-paragraphs)
3763 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
3764 (rst-bullet-list-region)
3765 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
3766 (rst-compile-find-conf, rst-compile)
3767 (rst-repeat-last-character): Fix style.
3768
580bd868
CY
37692012-09-17 Chong Yidong <cyd@gnu.org>
3770
3771 * comint.el (comint--complete-file-name-data): Don't add a space
3772 if the status is `sole'; that adds a gratuitous space in the
3773 completion-cycling case (Bug#12092).
3774
3775 * pcomplete.el (pcomplete-completions-at-point): Likewise.
3776
69de3ec6
RS
37772012-09-17 Richard Stallman <rms@gnu.org>
3778
0dee970c
RS
3779 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
3780 only in the mime-shown mode, not in raw mode.
3781 (rmail-mime): Toggle off mime by displaying the message without
6b250df6 3782 mime processing. (Bug#12305)
0dee970c 3783
6b250df6
GM
3784 * mail/rmail.el (rmail-retry-failure):
3785 Turn off mime processing first. (Bug#12037)
acb1c47b 3786
69de3ec6
RS
3787 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
3788
d079ee5f
CY
37892012-09-17 Chong Yidong <cyd@gnu.org>
3790
3791 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
3792 (shell-dynamic-complete-functions): Convert to defcustom.
3793 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
3794
865fe16f
CY
3795 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
3796 * comint.el (comint-prompt-read-only):
3797 * custom.el (defcustom):
3798 * hi-lock.el (hi-lock-mode):
3799 * ibuffer.el (ibuffer-formats):
3800 * ielm.el (ielm-prompt-read-only):
3801 * novice.el (disable-command):
3802 * saveplace.el (toggle-save-place):
3803 * speedbar.el (speedbar-supported-extension-expressions):
3804 * startup.el (auto-save-list-file-prefix, init-file-user)
3805 (after-init-hook, inhibit-startup-echo-area-message):
3806 * strokes.el (strokes-help):
3807 * time-stamp.el (time-stamp):
3808 * calendar/calendar.el (calendar, diary-file):
3809 * calendar/diary-lib.el (diary-mail-entries, diary)
3810 (diary-list-entries-hook):
3811 * calendar/holidays.el (holidays, calendar-holidays):
3812 * calendar/lunar.el (lunar-phases):
3813 * calendar/solar.el (sunrise-sunset):
3814 * emulation/edt.el (edt-load-keys):
3815 * emulation/viper.el (viper-mode):
3816 * eshell/em-alias.el (eshell-command-aliases-list):
3817 * eshell/esh-util.el (eshell-convert-numeric-arguments):
3818 * international/ogonek.el (ogonek-information):
3819 * net/tramp-cmds.el (tramp-bug):
3820 * net/quickurl.el (quickurl-reread-hook-postfix):
3821 * play/decipher.el (decipher-font-lock-keywords):
3822 * progmodes/cc-styles.el (c-set-style):
3823 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
3824 * progmodes/inf-lisp.el (inferior-lisp-prompt):
3825 * progmodes/octave-mod.el (octave-mode):
3826 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
3827 * progmodes/verilog-mode.el (verilog-read-defines):
3828 * textmodes/two-column.el (2C-mode): Likewise.
3829
48093eb9
KY
38302012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
3831
3832 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
3833 that holds many addresses.
3834
c584eaf9
CY
38352012-09-16 Chong Yidong <cyd@gnu.org>
3836
40d70ecb
CY
3837 * align.el (align-areas): Call the indication function with
3838 positions instead of markers for arguments (Bug#12343).
3839
1667e065
CY
3840 * files.el (parse-colon-path): Use split-string (Bug#12351).
3841
fdc2806d 3842 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
71ce58e7 3843 (display-buffer-function): Mark as obsolete.
fdc2806d 3844
f1be615c 3845 * progmodes/compile.el (compilation-parse-errors): Accept list
ce97595b
SM
3846 values similar to font-lock-keywords (Bug#12136).
3847 Suggested by Oleksandr Manzyuk.
c584eaf9
CY
3848 (compilation-error-regexp-alist): Doc fix.
3849
f40a9709
GM
38502012-09-15 Glenn Morris <rgm@gnu.org>
3851
72aa16e1
GM
3852 * version.el (emacs-bzr-version-bzr): New function.
3853 (emacs-bzr-get-version): Add optional EXTERNAL argument.
3854
82375160
GM
3855 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
3856 checkouts, check the parent dirstate matches the branch.
3857 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
3858 empty string.
3859
f40a9709
GM
3860 * version.el (emacs-bzr-version): Doc fix.
3861 (emacs-bzr-version-dirstate): New function.
3862 (emacs-bzr-get-version): For lightweight checkouts, if the parent
3863 is local try and check that it matches the branch. If not, just
3864 use dirstate information. (Bug#12441)
3865
cb26b7f5
JL
38662012-09-14 Juri Linkov <juri@jurta.org>
3867
3868 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
3869 (Bug#12399)
3870
2de39f08
SM
38712012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
3872
0fb3cb7c
SM
3873 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
3874
2de39f08
SM
3875 * emacs-lisp/edebug.el: Miscellaneous cleanup.
3876 Remove obsolete byte-compiler hack that tried to silence some warnings.
3877 (edebug-submit-bug-report): Remove.
3878 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
3879 Remove aliases, use the un-prefixed name instead.
3880 (edebug-pop-to-buffer): Consider other frames.
3881 (edebug-original-read):: Make it more obvious that it's always defined.
3882 (edebug--make-form-data-entry, edebug--form-data-name)
3883 (edebug--form-data-begin, edebug--form-data-end): Rename from the
3884 single-dashed name, and implement with cl-defstruct.
3885 (edebug-set-form-data-entry): Use the standard accessors.
3886 (edebug-make-top-form-data-entry): Use push.
3887 (edebug-no-match): Drop useless `funcall'.
3888 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
3889 to functions.
3890 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
3891 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
3892 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
3893 (easy-menu-define, with-custom-print): Remove redundant specs.
3894 (edebug-outside-overriding-local-map)
3895 (edebug-outside-overriding-terminal-local-map): Remove, unused.
3896 (edebug--display): Bind unread-command-events directly to nil rather
3897 than binding it to unread-command-events and later setting it to nil.
3898 (edebug--display): Kill edebug-eval-buffer here...
3899 (edebug--recursive-edit): ...rather than here.
3900 Bind standard-output and standard-input.
3901 (edebug-eval): Check cl-macroexpand-all is fboundp.
3902 (edebug-temp-display-freq-count): Fix last change.
3903
3904 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
3905 * subr.el (noreturn, 1value): Add `debug' spec.
3906 * emacs-lisp/advice.el: Require cl-lib.
3907 (ad-copy-tree): Remove, use copy-tree instead.
3908 (ad-dolist): Remove use dolist or cl-dolist instead.
3909 (ad-do-return): Remove, use cl-return instead.
3910 (defadvice): Add `debug' spec.
3911
5b68b333
JL
39122012-09-13 Juri Linkov <juri@jurta.org>
3913
3914 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
3915 (Bug#12399)
3916
b9800ec4
GM
39172012-09-13 Glenn Morris <rgm@gnu.org>
3918
6a2e6868
GM
3919 * calc/calc.el (math-compose-expr):
3920 * calc/calc-ext.el (math-compose-expr):
3921 * progmodes/cc-defs.el (cl-macroexpand-all):
3922 * progmodes/cc-langs.el (delete-duplicates, mapcan)
3923 (cl-macroexpand-all): Update declarations.
3924
b9800ec4
GM
3925 * vc/vc.el: No need to require ediff.
3926 (ediff-load-version-control): Declare.
3927 (ediff-vc-internal): Fix declaration.
3928 (vc-version-ediff): Require ediff.
3929
c18e885b
PE
39302012-09-13 Paul Eggert <eggert@cs.ucla.edu>
3931
3932 Use a more backwards-compatible timer format (Bug#12430).
3933 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
3934 being right after USECS, as that better supports old code that
3935 inadvisedly looked directly at the timer vector.
3936
d607d303
KH
39372012-09-13 Kenichi Handa <handa@gnu.org>
3938
3939 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
3940 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
3941 `coding-priority' property of these language environment.
3942
72eac303
PE
39432012-09-13 Paul Eggert <eggert@cs.ucla.edu>
3944
3945 Fix glitches caused by addition of psec to timers (Bug#12430).
3946 * image.el (image-animate-timer):
3947 * time.el (display-time-world-timer):
3948 Use timer--function and timer--args rather than raw access to
3949 timer vector.
3950
2168fe4f
GM
39512012-09-13 Glenn Morris <rgm@gnu.org>
3952
3953 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
3954 If not compiling a file, try using load-file-name.
3955
bd8d6108
SM
39562012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
3957
c0c54fbd
SM
3958 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
3959 Fix last change.
3960 (edebug-update-eval-list): Use `push'.
3961
bd8d6108
SM
3962 * emacs-lisp/edebug.el: Use lexical-binding.
3963 Remove the "edebug-" prefix from non-dynamically-scoped variables.
3964 Mark unused args with underscore.
3965 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
3966 (edebug-form-data): Use defvar-local.
3967 (edebug-make-before-and-after-form, edebug-make-after-form):
3968 Use backquote.
3969 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
3970 Not dynamically scoped any more.
3971 (edebug--enter-trace): Add arguments `function' and `args'.
3972 Rename from edebug-enter-trace.
3973 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
3974 (edebug--update-coverage): Add `after-index' and `value' args.
3975 Rename from edebug-update-coverage.
3976 (edebug-slow-after): Call it accordingly.
3977 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
3978 edebug-recursive-edit.
3979 (edebug--display): Call it accordingly. Add args `value',
3980 `offset-index', and `arg-mode'. Rename from edebug-display.
3981 (edebug-debugger, edebug): Call it accordingly.
3982 (edebug-eval-display-list): Use dolist.
3983
a9f9d9de
JL
39842012-09-12 Juri Linkov <juri@jurta.org>
3985
3986 * info.el (Info-search): Don't check for isearch-mode and
3987 isearch-regexp before let-binding search-spaces-regexp to
3988 Info-search-whitespace-regexp.
3989 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
3990 search-whitespace-regexp if isearch-lax-whitespace or
3991 isearch-regexp-lax-whitespace is non-nil.
3992 (Info-mode): Don't set local variable search-whitespace-regexp.
3993 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
3994
bfeae2cf
SM
39952012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3996
3997 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
3998 (debugger-env-macro): Remove support for unread-command-char.
3999
4000 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
4001 the temporary map re-appearing on emulation-mode-map-alists.
4002
4003 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
4004 since 22.1.
4005
4006 * ehelp.el (with-electric-help): Accept functions in
4007 electric-help-form-to-execute.
4008 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
4009 And replace unread-command-char -> unread-command-events.
4010
fbbcaf1b
MA
40112012-09-12 Michael Albinus <michael.albinus@gmx.de>
4012
4013 Sync with Tramp 2.2.6.
4014
4015 * net/tramp.el (tramp-accept-process-output): Don't use
4016 JUST-THIS-ONE in the XEmacs case.
4017
4018 * net/trampver.el: Update release number.
4019
4dece104
MR
40202012-09-12 Martin Rudalics <rudalics@gmx.at>
4021
bfeae2cf
SM
4022 * emacs-lisp/debug.el (debugger-previous-window-height):
4023 New variable.
4dece104
MR
4024 (debug): When debugger-jumping-flag is non-nil try to restore
4025 height of debugger window. (Bug#8789)
4026
45b82ad0
SM
40272012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4028
60c49c0f
SM
4029 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
4030 overriding-local-map and pre/post-command-hook here.
4031 (edebug-recursive-edit): Do it here instead (bug#12345).
4032 (edebug-outside-unread-command-char): Remove all uses of
4033 unread-command-char.
4034
45b82ad0
SM
4035 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
4036 inhibit-debugger is bound instead.
4037
baa26ea0
BG
40382012-09-11 Bastien Guerry <bzg@gnu.org>
4039
4040 * subr.el (set-temporary-overlay-map): Add a docstring.
fc0c31f8 4041 (Bug#12346)
baa26ea0 4042
04e8abfa
BG
40432012-09-11 Bastien Guerry <bzg@gnu.org>
4044
96d03571 4045 * minibuffer.el (completion-table-subvert): Fix docstring.
fc0c31f8 4046 (Bug#12347)
96d03571
BG
4047
40482012-09-11 Bastien Guerry <bzg@gnu.org>
4049
fc0c31f8 4050 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
04e8abfa 4051
04e082b0
MM
40522012-09-10 Michael R. Mauger <mmaug@yahoo.com>
4053
4054 * progmodes/sql.el: Version 3.1
4055 (sql-db2-escape-newlines): New variable.
4056 (sql-escape-newlines-filter): Use it.
4057
399a361b
JB
40582012-09-10 Juanma Barranquero <lekktu@gmail.com>
4059
4060 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
4061
0780c517
DN
40622012-09-10 Dan Nicolaescu <dann@gnu.org>
4063
45b82ad0
SM
4064 * vc/diff-mode.el (diff-mode-menu):
4065 Bind diff-remove-trailing-whitespace.
0780c517 4066
9b851e25
SM
40672012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
4068
4069 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
fc0c31f8
JB
4070 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
4071 (emacs-lisp-byte-code-mode): New functions.
9b851e25
SM
4072 (eval-sexp-add-defvars): Don't skip defvars in column >0.
4073 (eval-defun-2): Remove bogus interactive spec.
4074 (lisp-indent-line): Remove redundant whole-exp code, now done in
4075 indent-according-to-mode.
4076 (save-match-data): Remove redundant indent data.
4077
4078 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
4079 Use `declare'.
4080
3231d532
JL
40812012-09-09 Juri Linkov <juri@jurta.org>
4082
4083 * replace.el (replace-regexp-lax-whitespace): New defcustom.
4084 (replace-lax-whitespace, query-replace-regexp)
4085 (query-replace-regexp-eval, replace-regexp): Doc fix.
4086 (perform-replace, replace-highlight): Let-bind
4087 isearch-lax-whitespace to replace-lax-whitespace and
4088 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
4089
4090 * isearch.el (isearch-query-replace): Let-bind
4091 replace-lax-whitespace to isearch-lax-whitespace and
4092 replace-regexp-lax-whitespace to
4093 isearch-regexp-lax-whitespace. (Bug#10885)
4094
70fe8236
SM
40952012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
4096
4097 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
4098
8ed43f15
AM
40992012-09-09 Alan Mackenzie <acm@muc.de>
4100
70fe8236
SM
4101 * progmodes/cc-engine.el (c-state-cache-init):
4102 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
4103 (c-record-parse-state-state):
4104 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
8ed43f15 4105
bfabf70a
AS
41062012-09-09 Andreas Schwab <schwab@linux-m68k.org>
4107
4108 * register.el (register-separator): Rename from
4109 separator-register. All uses changed. Doc fix.
4110 (register): Fix version.
4111
011474aa
CY
41122012-09-09 Chong Yidong <cyd@gnu.org>
4113
4114 * replace.el (query-replace-map): Bind four new symbols for
4115 requesting window scrolling.
4116
4117 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
4118 query-replace-map (Bug#8948).
4119
4120 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
4121
4122 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
4123 since they are now in query-replace-map.
4124
4125 * window.el (scroll-other-window-down): Make the arg optional.
4126
a8b7cd8d
CY
41272012-09-09 Chong Yidong <cyd@gnu.org>
4128
4129 * files.el (hack-local-variables-confirm): Use quit-window to kill
4130 the *Local Variables* buffer.
4131
c3268831
DG
41322012-09-08 Dmitry Gutov <dgutov@yandex.ru>
4133
4134 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
4135 not just expect to be at its beginning. Adjust callees.
4136 Succeed when do-end block has no space before the pipe character.
4137 (ruby-brace-to-do-end): When the original block is one-liner,
4138 convert to multiline. Reindent the result.
4139
0979429b
J
41402012-09-08 Jambunathan K <kjambunathan@gmail.com>
4141
4142 * register.el (register): New group.
27359e99 4143 (separator-register): New user option.
0979429b
J
4144 (increment-register): Route it to `append-to-register', if
4145 register contains text. Implication is that `C-x r +' can now be
4146 used for appending to a text register (bug#12217).
4147 (append-to-register, prepend-to-register): Add separator based on
5b9c45a6 4148 `separator-register'.
0979429b 4149
ace2989a
AM
41502012-09-08 Alan Mackenzie <acm@muc.de>
4151
4152 AWK Mode: make auto-newline work when there's "==" in the pattern.
4153 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
4154 correctly.
0979429b
J
4155 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
4156 Test more rigorously for "=" token.
ace2989a 4157
616c6c36
DG
41582012-09-08 Dmitry Gutov <dgutov@yandex.ru>
4159
0979429b
J
4160 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
4161 Only fail when reached LIMIT.
616c6c36 4162
35d98877
CY
41632012-09-08 Chong Yidong <cyd@gnu.org>
4164
4165 * dired.el (dired-mode-map): Don't bind M-=.
4166
4167 * dired-aux.el (dired-diff): Use backup file as default.
4168
1715f2db
DA
41692012-09-08 Drew Adams <drew.adams@oracle.com>
4170
4171 * subr.el (add-to-history): Fix delete usage (Bug#12314).
4172
6dcef6ec
CY
41732012-09-08 Chong Yidong <cyd@gnu.org>
4174
4175 * subr.el (syntax-after, syntax-class): Doc fix.
4176
fa2bcf43
MR
41772012-09-08 Martin Rudalics <rudalics@gmx.at>
4178
4179 * window.el (display-buffer-in-previous-window): New buffer
4180 display action function.
4181
4182 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
4183 (debugger-previous-window): New variable.
4184 (debug): Rewrite using display-buffer-in-previous-window,
4185 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
4186
daac280a
SM
41872012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
4188
4189 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
4190
9dd40b00
MM
41912012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
4192
daac280a
SM
4193 * progmodes/python.el (python-shell-send-string):
4194 When default-directory is remote, create temp file on remote
9dd40b00
MM
4195 filesystem.
4196 (python-shell-send-file): When file is remote, pass local view of
4197 file paths to remote Python interpreter. (Bug#12340)
4198
145823ec
CY
41992012-09-07 Chong Yidong <cyd@gnu.org>
4200
cee2e90d
CY
4201 * window.el (switch-to-buffer): Doc fix (Bug#12181).
4202
0d7eb2ea
CY
4203 * files.el (after-find-file): Don't fail on a read-only buffer if
4204 require-final-newline is `visit' or `visit-save' (Bug#11156).
4205
145823ec
CY
4206 * subr.el (read-char-choice): Allow quitting via ESC ESC.
4207
daac280a
SM
4208 * userlock.el (ask-user-about-supersession-threat):
4209 Use read-char-choice (Bug#12093).
145823ec 4210
74c582e6
CY
42112012-09-07 Chong Yidong <cyd@gnu.org>
4212
e5c2edf7
CY
4213 * subr.el (buffer-narrowed-p): New function.
4214
4215 * ses.el (ses-widen):
4216 * simple.el (count-words--buffer-message):
1f9f395d 4217 * net/browse-url.el (browse-url-of-buffer): Use it.
e5c2edf7
CY
4218
4219 * simple.el (count-words-region): Don't signal an error if there
4220 is a non-nil prefix arg and the mark is not set.
c640e87d 4221
74c582e6
CY
4222 * help.el (describe-key-briefly): Allow the message to be seen
4223 when invoked from the minibuffer (Bug#7014).
4224
d81ceaaf
DG
42252012-09-07 Dmitry Gutov <dgutov@yandex.ru>
4226
4227 * progmodes/ruby-mode.el (ruby-end-of-defun)
4228 (ruby-beginning-of-defun): Simplify, allow indentation before
4229 block beginning and end keywords.
8f06acce
DG
4230 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
4231 (ruby-end-of-defun): Expect that the point is at the beginning of
4232 the defun.
d81ceaaf 4233
d458ef98
SM
42342012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4235
4236 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
4237 (bug#12367).
4238 (cl--make-usage-args): Strip _ from argument names.
4239
20367d28
RS
42402012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4241
4242 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
4243 obsolete alias speedbar-key-map.
4244 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
4245 (vhdl-index-menu-init): Don't use obsolete variable
4246 font-lock-maximum-size.
4247
3424a4f6
CY
42482012-09-06 Chong Yidong <cyd@gnu.org>
4249
4250 * frame.el (window-system-version): Mark as obsolete.
4251
fcbfbdea
CY
4252 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
4253 of obsolete variable speedbar-key-map.
4254
826b3235
JL
42552012-09-06 Juri Linkov <juri@jurta.org>
4256
4257 * replace.el (replace-lax-whitespace): New defcustom.
4258 (query-replace, query-replace-regexp, query-replace-regexp-eval)
4259 (replace-string, replace-regexp): Mention it in docstrings.
4260 (perform-replace, replace-highlight): Let-bind
4261 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
4262 to the values of replace-lax-whitespace and regexp-flag.
4263 Don't let-bind search-whitespace-regexp. (Bug#10885)
4264
4265 * isearch.el (isearch-query-replace): Let-bind
4266 replace-lax-whitespace instead of let-binding
4267 replace-search-function and replace-re-search-function.
4268 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
4269 and isearch-regexp-lax-whitespace to lazy-highlight variables.
4270 (isearch-toggle-symbol): Set isearch-regexp to nil
4271 in isearch-word mode (like in isearch-toggle-word).
4272
1ec5e41d
JL
42732012-09-06 Juri Linkov <juri@jurta.org>
4274
4275 * replace.el (replace-search-function)
4276 (replace-re-search-function): Set default values to nil.
4277 (perform-replace): Let-bind isearch-related variables based on
4278 replace-related values, call `isearch-search-fun' and let-bind
4279 the result to `search-function'. Remove code that sets
4280 `search-function' and `search-string' separately for
4281 `delimited-flag'.
4282 (replace-highlight): Add new argument `delimited-flag' and
4283 rename other arguments to the names used in `perform-replace'.
4284 Let-bind `isearch-word' to the argument `delimited-flag'.
4285 (Bug#10885, bug#10887)
4286
0ba2d4b6
DG
42872012-09-07 Dmitry Gutov <dgutov@yandex.ru>
4288
4289 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
4290 ruby-beginning-of-indent, simplify, allow all keywords to have
4291 indentation before them.
4292 (ruby-beginning-of-indent): Adjust for above. Search until the
4293 found point is not inside a string or comment.
4294 (ruby-font-lock-keywords): Allow symbols to start with "@"
4295 character, give them higher priority than variables.
4296 (ruby-syntax-propertize-function)
4297 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
4298 matchers. Expression expansions are not comments when inside a
4299 string, and there comment syntax status is irrelevant.
4300 (ruby-match-expression-expansion): New function. Check that
4301 expression expansion is inside a string, and it's not escaped.
4302 (ruby-font-lock-keywords): Use it.
4303
ef654460
MR
43042012-09-05 Martin Rudalics <rudalics@gmx.at>
4305
4306 * help.el (temp-buffer-max-height): New default value.
4307 (temp-buffer-resize-frames): New option.
4308 (resize-temp-buffer-window): Optionally resize frame.
4309
4310 * window.el (fit-frame-to-buffer-bottom-margin): New option.
4311 (fit-frame-to-buffer): New function.
4312
7e570fbf 43132012-09-05 Glenn Morris <rgm@gnu.org>
72308848
GM
4314
4315 * emulation/cua-rect.el (cua--init-rectangles):
4316 * textmodes/picture.el (picture-mode-map):
4317 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
4318 like forward-char and backward-char. (Bug#12317)
4319
7e570fbf 43202012-09-05 Leo Liu <sdl.web@gmail.com>
3aca1291
LL
4321
4322 * progmodes/flymake.el (flymake-warning-re): New variable.
4323 (flymake-parse-line): Use it.
4324
7e570fbf 43252012-09-05 Glenn Morris <rgm@gnu.org>
b6683353
GM
4326
4327 * calendar/holidays.el (holiday-christian-holidays):
4328 Rename an entry. (Bug#12289)
4329
7e570fbf 43302012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
64f8c4bd
SM
4331
4332 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
4333 (bug#12222).
4334
972debf2
SM
43352012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
4336
4337 * loadup.el: Load macroexp. Remove hack.
4338 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
4339 (macroexp--expand-all): Use it to get better warnings.
4340 (macroexp--backtrace, macroexp--trim-backtrace-frame)
4341 (internal-macroexpand-for-load): New functions.
4342 (macroexp--pending-eager-loads): New var.
4343 (emacs-startup-hook): New hack to replace one in loadup.el.
4344 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
4345 (cl--compiler-macro-cXXr): Move to top, before they can be used.
4346 (cl-psetf): Simplify.
4347 (cl-defstruct): Add indent rule.
4348
8ce192e3
LI
43492012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
4350
4351 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
4352 over `user-mail-address' for the SMTP MAIL FROM envelope.
4353 (smtpmail-via-smtp): Ditto.
4354
6578b4d8
DG
43552012-09-04 Dmitry Gutov <dgutov@yandex.ru>
4356
4357 * progmodes/ruby-mode.el: Clean up keybindings.
4358 (ruby-mode-map): Don't bind ruby-electric-brace,
4359 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
4360 backward-kill-word, reindent-then-newline-and-indent.
4361 (ruby-mark-defun): Remove.
4362 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
4363 (ruby-mode): Set local beginning-of-defun-function and
4364 end-of-defun-function values.
4365
c5e28e39
MR
43662012-09-03 Martin Rudalics <rudalics@gmx.at>
4367
4368 * window.el (temp-buffer-window-setup-hook)
4369 (temp-buffer-window-show-hook): New hooks.
4370 (temp-buffer-window-setup, temp-buffer-window-show)
4371 (with-temp-buffer-window): New functions.
972debf2
SM
4372 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
4373 (special-display-popup-frame): Make sure the window used shows BUFFER.
c5e28e39
MR
4374
4375 * help.el (temp-buffer-resize-mode): Fix doc-string.
4376 (resize-temp-buffer-window): New optional argument WINDOW.
4377
4378 * files.el (recover-file, save-buffers-kill-emacs):
4379 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
4380
73406194
MA
43812012-09-02 Michael Albinus <michael.albinus@gmx.de>
4382
4383 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
4384 remote definition of `default-directory', ensure we can connect.
4385
63dd1c6f
JL
43862012-09-02 Juri Linkov <juri@jurta.org>
4387
4388 Toggle whitespace matching mode with M-s SPC.
4389 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
4390
4391 * isearch.el (search-whitespace-regexp): Doc fix.
4392 Remove cons cell customization.
4393 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
4394 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
4395 New variables.
4396 (isearch-forward, isearch-forward-regexp): Doc fix.
4397 (isearch-toggle-lax-whitespace): New command.
4398 (search-forward-lax-whitespace, search-backward-lax-whitespace)
4399 (re-search-forward-lax-whitespace)
4400 (re-search-backward-lax-whitespace): New functions.
4401 (isearch-whitespace-regexp): Remove function.
4402 (isearch-query-replace): Let-bind replace-search-function and
4403 replace-re-search-function.
4404 (isearch-occur): Let-bind search-spaces-regexp according to the
4405 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
4406 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
4407 condition for C-q SPC.
4408 (isearch-search-fun-default): Use new functions mentioned above.
4409 (isearch-search-forward, isearch-search-backward): Remove functions.
4410 (isearch-search): Don't let-bind search-spaces-regexp.
4411 (isearch-lazy-highlight-space-regexp): Remove variable.
4412 (isearch-lazy-highlight-lax-whitespace)
4413 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
4414 (isearch-lazy-highlight-new-loop): Use them.
4415 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
4416
af7dda05
CY
44172012-09-02 Chong Yidong <cyd@gnu.org>
4418
4419 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
4420
d67d3afd
GM
44212012-09-02 Glenn Morris <rgm@gnu.org>
4422
4423 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
4424
69678719
GM
44252012-09-01 Glenn Morris <rgm@gnu.org>
4426
4427 * term.el: Tidy up menu definitions.
4428 (term-mode-map): Use easymenu for In/Out, Complete menus.
4429 (term-pager-break-map): Initialize in the defvar.
4430 (term-terminal-menu, term-signals-menu): Define with easymenu.
4431 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
4432 (term-pager-menu): New, extracted from term-process-pager.
4433 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
4434 (term-update-mode-line): Propertize line/char and page items.
4435 (term-process-pager): Move keymap initialization elsewhere.
4436
78dd6ab1
MR
44372012-09-01 Martin Rudalics <rudalics@gmx.at>
4438
4439 * window.el (switch-to-prev-buffer): Handle additional values of
4440 BURY-OR-KILL argument. Don't switch in minibuffer window.
4441 (switch-to-next-buffer): Don't switch in minibuffer window.
4442 (quit-restore-window): New function based on quit-window.
4443 Handle additional values of former KILL argument.
4444 (quit-window): Call quit-restore-window with appropriate
4445 interpretation of KILL argument.
4446 (display-buffer-below-selected): New buffer display action
4447 function.
4448
3d10e134
SM
44492012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
4450
4451 * minibuffer.el (completion-at-point-functions): Complete docstring
4452 (bug#12254).
4453
0e23ef9d
PE
44542012-09-01 Paul Eggert <eggert@cs.ucla.edu>
4455
4456 Better seed support for (random).
4457 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
4458 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
4459 * play/mpuz.el, play/tetris.el, play/zone.el:
4460 * calc/calc-comb.el (math-init-random-base):
4461 * play/blackbox.el (bb-init-board):
4462 * play/life.el (life):
4463 * server.el (server-use-tcp):
4464 * type-break.el (type-break):
4465 Remove unnecessary call to (random t).
4466 * net/sasl.el (sasl-unique-id-function):
4467 Change (random t) to (random), now that the latter is more random.
4468 * play/life.el (life-initialized): Remove no-longer-needed var.
4469
862382df
MR
44702012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
4471
4472 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
4473 Consider frame's buffer predicate when choosing the buffer.
4474 (Bug#12081)
4475
262a66e1
RS
44762012-08-30 Richard Stallman <rms@gnu.org>
4477
4478 * simple.el (special-mode-map): Delete binding for `z'.
4479
f17e1d00
AS
44802012-08-30 Andreas Schwab <schwab@linux-m68k.org>
4481
4482 * progmodes/compile.el (compilation-always-kill): Doc fix.
4483
24777832
CY
44842012-08-30 Chong Yidong <cyd@gnu.org>
4485
4486 * window.el (display-buffer-reuse-frames): Make the obsolescence
4487 message more informative.
4488
69ba1f04
GM
44892012-08-30 Glenn Morris <rgm@gnu.org>
4490
4491 * paren.el (show-paren-delay):
4492 Add a :set function. Doc fix. (Bug#12297)
4493
f0019ede
MB
44942012-08-29 Martin Blais <blais@furius.ca> (tiny change)
4495
4496 * progmodes/compile.el (compilation-always-kill): New var.
4497 (compilation-start): Use it.
4498
35e62fc9
SM
44992012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4500
af070a1c
SM
4501 * simple.el (read-only-mode): Move from files.el for bootstrapping.
4502 * files.el (read-only-mode): Move to simple.el.
4503
35e62fc9
SM
4504 * files.el (read-only-mode): New minor mode.
4505 (toggle-read-only): Use it and mark obsolete.
4506 (find-file--read-only):
4507 * vc/vc.el (vc-next-action, vc-checkout):
4508 * vc/vc-cvs.el (vc-cvs-checkout):
4509 * obsolete/vc-mcvs.el (vc-mcvs-update):
4510 * ffap.el (ffap--toggle-read-only): Update callers.
4511
c2c43c23
MA
45122012-08-29 Michael Albinus <michael.albinus@gmx.de>
4513
4514 * eshell/esh-ext.el (eshell-external-command): Do not examine
972debf2
SM
4515 remote shell scripts.
4516 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
c2c43c23
MA
4517
4518 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
4519 "/usr/local/sbin".
4520
9fba804b
SM
45212012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4522
4523 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
4524
eada0861 45252012-08-28 Leo Liu <sdl.web@gmail.com>
22ab32ef 4526
806f0cc7
LL
4527 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
4528 completion-at-point. (Bug#12220)
4529
3bb213b9
LL
4530 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
4531
22ab32ef
LL
4532 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
4533
eada0861 45342012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
db148c21 4535
19c17fc1
CY
4536 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
4537 be buffer-local; add delete-trailing-whitespace (bug#12259).
db148c21 4538
eada0861 45392012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
ffe6eaf1
JM
4540
4541 * progmodes/hideif.el (hif-compress-define-list):
4542 Fix typo. (Bug#11951)
4543
eada0861 45442012-08-28 Dan Nicolaescu <dann@gnu.org>
d30aca1b
DN
4545
4546 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
4547 buffer local setting.
4548
27d6c5a8
LL
4549 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
4550 rcirc-encode-coding-system.
4551
eada0861 45522012-08-28 Leo Liu <sdl.web@gmail.com>
4432d2e2
LL
4553
4554 * net/rcirc.el (rcirc-split-message): New function.
4555 (rcirc-send-message): Use it. (Bug#12051)
4556
d44688e4
JL
45572012-08-28 Juri Linkov <juri@jurta.org>
4558
4559 * info.el (Info-fontify-node): Hide empty lines at the end of
4560 the node. (Bug#12272)
4561
34f10d41
MR
45622012-08-27 Drew Adams <drew.adams@oracle.com>
4563
4564 * dired.el (dired-pop-to-buffer): Make window start at beginning
4565 of buffer (Bug#12281).
4566
77f1f99c
CY
45672012-08-26 Chong Yidong <cyd@gnu.org>
4568
4569 * window.el (special-display-regexps, special-display-frame-alist)
4570 (special-display-buffer-names, special-display-function)
4571 (display-buffer-reuse-frames): Mark as obsolete.
4572
4573 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
4574
4575 * help.el (help-print-return-message): Don't treat
4576 display-buffer-reuse-frames specially.
4577
d97af5a0
CY
45782012-08-26 Chong Yidong <cyd@gnu.org>
4579
9fba804b
SM
4580 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
4581 New variable, replacing gdb-frame-parameters.
d97af5a0
CY
4582 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
4583 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
4584 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
4585 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
4586 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
4587 the functions directly with gdb-display-buffer-other-frame-action.
4588 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
4589 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
4590 (gdb-display-stack-buffer, gdb-display-locals-buffer)
4591 (gdb-display-registers-buffer): Define directly.
4592 (def-gdb-display-buffer): Macro deleted.
4593 (gdb-display-buffer): Remove second and third args, callers don't
4594 use them. Defer to the default display-buffer behavior, apart
4595 from making windows dedicated.
4596 (gdb-setup-windows): Don't call display-buffer unnecessarily.
4597
4598 * progmodes/gud.el (gud-display-line): Just use display-buffer.
4599
4600 * window.el (display-buffer-pop-up-frame): Handle a
4601 pop-up-frame-parameters alist entry.
4602 (display-buffer): Document it.
4603
dd7ffad6
CY
46042012-08-26 Chong Yidong <cyd@gnu.org>
4605
4606 * isearch.el (search-whitespace-regexp): Make string and nil
4607 values apply to both ordinary and regexp search. Allow a cons
4608 cell value to distinguish between the two.
4609 (isearch-whitespace-regexp, isearch-search-forward)
4610 (isearch-search-backward): New functions.
4611 (isearch-occur, isearch-search-fun-default, isearch-search)
4612 (isearch-lazy-highlight-new-loop): Use them.
4613 (isearch-forward, isearch-forward-regexp): Doc fix.
4614
4c47bd1e
CY
46152012-08-26 Chong Yidong <cyd@gnu.org>
4616
4617 * faces.el (help-argument-name): Always inherit from italic
4618 (Bug#12213).
4619
9aba119d
MR
46202012-08-25 Martin Rudalics <rudalics@gmx.at>
4621
4622 * window.el (window--even-window-heights): Even heights when
4623 WINDOW and the selected window form a vertical combination.
4624 (display-buffer-use-some-window): Provide that window used gets
4625 sized back by quit-window. (Bug#11880) and (Bug#12091)
4626
ca5256ad
PE
46272012-08-24 Paul Eggert <eggert@cs.ucla.edu>
4628
4629 Fix file time stamp problem with bzr and CVS (Bug#12001).
4630 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
4631 in the file's time stamp, since the version control system loses
4632 that information.
4633
d1c0d176
JL
46342012-08-22 Juri Linkov <juri@jurta.org>
4635
4636 * info.el (Info-fontify-node): Hide the suffix of the
4637 Info file name in the header line. (Bug#12187)
4638
141562ff
GM
46392012-08-22 Glenn Morris <rgm@gnu.org>
4640
4641 * calendar/cal-tex.el (cal-tex-weekly-common):
4642 Restore leading blank page.
4643
3a21537c 46442012-08-22 Le Wang <l26wang@gmail.com>
add9ca2d
BG
4645
4646 * misc.el (forward-to-word, backward-to-word): Activate or extend
61a48e19
GM
4647 the region under `shift-select-mode'. (Bug#12231)
4648
46492012-08-22 Bastien Guerry <bzg@gnu.org>
0fcd3d9f
BG
4650
4651 * progmodes/executable.el (executable-prefix): Set to "#!" instead
4652 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
4653 gives details on why the space is never needed.
4654
ea95074e
MR
46552012-08-22 Martin Rudalics <rudalics@gmx.at>
4656
9fba804b
SM
4657 * window.el (walk-window-tree, window-with-parameter):
4658 New optional argument MINIBUF to control whether these functions
ea95074e
MR
4659 should run on the minibuffer window.
4660 (window-at-side-list): Don't operate on minibuffer window.
4661 (window-in-direction): Simplify and rewrite doc-string.
9fba804b
SM
4662 (window--size-ignore): Rename to window--size-ignore-p.
4663 Update callers.
caceae25
MR
4664 (display-buffer-in-atom-window, window--major-non-side-window)
4665 (window--major-side-window, display-buffer-in-major-side-window)
9fba804b
SM
4666 (delete-side-window, display-buffer-in-side-window):
4667 New functions.
caceae25
MR
4668 (window--side-check, window-deletable-p, delete-window)
4669 (delete-other-windows, split-window): Handle side windows and
4670 atomic windows appropriately.
4671 (window--display-buffer): Call display-buffer-record-window also
4672 when the window buffer did not change.
ea95074e 4673
80a51fa0
CS
46742012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
4675
4676 * help-fns.el (help-fns--key-bindings):
4677 Abbreviate non-symbol remap targets. (Bug#12174)
4678
fbb6300b
MR
46792012-08-22 Martin Rudalics <rudalics@gmx.at>
4680
4681 * dired.el (dired-mark-remembered): Don't clobber point.
4682 (Bug#11795)
4683
2b2c0794
GM
46842012-08-22 Glenn Morris <rgm@gnu.org>
4685
4686 * progmodes/bug-reference.el (bug-reference): New custom group.
4687 (bug-reference-bug-regexp): Make it a defcustom.
4688
37219830
DU
46892012-08-22 Daiki Ueno <ueno@unixuser.org>
4690
4691 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
4692 (js-paren-indent-offset, js-square-indent-offset)
4693 (js-curly-indent-offset): Add :safe (Bug#12257).
4694
94e0e559
EC
46952012-08-22 Edward O'Connor <hober0@gmail.com>
4696
4697 * json.el (json-key-format): Add error properties.
4698 (json-encode-key): New function.
4699 (json-encode-hash-table, json-encode-alist, json-encode-plist):
4700 Use json-encode-key.
4701
da485f5e
GM
47022012-08-22 Glenn Morris <rgm@gnu.org>
4703
4704 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
4705 (cal-tex-leftday, cal-tex-rightday): Remove functions.
4706 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
4707 Update for above change.
4708
c6cc78b8
AS
47092012-08-21 Andreas Schwab <schwab@linux-m68k.org>
4710
4711 * cus-face.el (custom-face-attributes): Fix customize type for the
4712 :underline attribute. (Bug#11805)
4713
5481664a
MR
47142012-08-21 Martin Rudalics <rudalics@gmx.at>
4715
4716 * window.el (window-point-1, set-window-point-1): Remove.
4717 (window-in-direction, record-window-buffer)
4718 (set-window-buffer-start-and-point, split-window-below)
9fba804b
SM
4719 (window--state-get-1, display-buffer-record-window):
4720 Replace calls to window-point-1 and set-window-point-1 by calls to
5481664a
MR
4721 window-point and set-window-point respectively.
4722
6d74698e
GM
47232012-08-21 Glenn Morris <rgm@gnu.org>
4724
b7fa2691
GM
4725 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
4726 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
4727 Use it.
4728
52f56d5a
GM
4729 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
4730 (cal-tex-shortday): New function.
4731 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
4732 (cal-tex-cursor-filofax-daily): Use the above.
4733
9f1ee09e
GM
4734 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
4735 New functions.
4736 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
4737 (cal-tex-cursor-filofax-week): Use them.
4738
79858159
GM
4739 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
4740 New constants.
4741 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
4742 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
4743
d346b2b4
GM
4744 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
4745 (cal-tex-end-document): Don't rely on buffer name.
4746
b2403709
GM
4747 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
4748 Use cal-tex-vspace.
4749 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
4750 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2d225a3a
GM
4751 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
4752 Use cal-tex-arg.
b2403709 4753
1cebb5c0
GM
4754 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
4755 (cal-tex-cursor-week, cal-tex-cursor-week2)
4756 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
4757 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
4758 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
4759 (cal-tex-insert-preamble, cal-tex-b-document)
4760 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
4761 Improve cal-tex-cmd usage.
4762
c68cd5d4
GM
4763 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
4764 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
4765 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
4766 (cal-tex-weekly-paper): New function.
4767 (cal-tex-cursor-week, cal-tex-cursor-week2)
4768 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
4769 (cal-tex-cursor-day): Use it.
4770
9dca4801
GM
4771 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
4772 (cal-tex-cursor-filofax-week): Remove leading blank page.
4773
1941e134
GM
4774 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
4775 Add autoload cookie. For now at least, don't use color, since
4776 no other cal-tex function does.
4777
6d74698e
GM
4778 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
4779 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
4780 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
4781
64cde199
JL
47822012-08-21 Juri Linkov <juri@jurta.org>
4783
4784 * info.el (Info-file-attributes): New variable.
4785 (info-insert-file-contents): Add file attributes to
4786 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
4787 `Info-toc-nodes' when previous modtime of the Info file is less
4788 than new modtime.
4789 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
4790 of info.el. (Bug#12230)
4791
32757648
GM
47922012-08-20 Glenn Morris <rgm@gnu.org>
4793
4794 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
4795 * calendar/holidays.el (calendar-holiday-list):
4796 Report errors with display-warning rather than beep'n'sleep.
4797
a32fbbcf
MA
47982012-08-20 Michael Albinus <michael.albinus@gmx.de>
4799
4800 * net/tramp.el (tramp-accept-process-output): Accept only output
4801 from PROC. Otherwise, process filters and sentinels might be
4802 confused. (Bug#12145)
4803
a05731a0
CY
48042012-08-20 Chong Yidong <cyd@gnu.org>
4805
4806 * descr-text.el (describe-text-properties-1): Use overlays-in to
4807 report on empty overlays (Bug#3322).
4808
36e8d1eb
GM
48092012-08-20 Glenn Morris <rgm@gnu.org>
4810
3d300447
GM
4811 * mail/rmailout.el (rmail-output-read-file-name):
4812 Trap and report errors in rmail-output-file-alist elements.
4813
36e8d1eb
GM
4814 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
4815 since most non-font-lock faces are not also variables).
4816
b96e5814
ER
48172012-08-20 Edward Reingold <reingold@iit.edu>
4818
4819 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
4820 New function. (Bug12160)
4821
7cef3569
GM
48222012-08-19 Glenn Morris <rgm@gnu.org>
4823
4824 * mail/rmailout.el (rmail-output-read-file-name):
4825 Fix previous change (when the alist is nil or does not match).
4826
17975d7f
CY
48272012-08-19 Chong Yidong <cyd@gnu.org>
4828
4829 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
4830 (Bug#12228).
4831
2170b1bd
CY
48322012-08-18 Chong Yidong <cyd@gnu.org>
4833
4834 * simple.el (yank-handled-properties): New defcustom.
4835 (yank-excluded-properties): Add font-lock-face and category.
4836 (yank): Doc fix.
4837
9fba804b
SM
4838 * subr.el (remove-yank-excluded-properties):
4839 Obey yank-handled-properties. The special handling of font-lock-face
2170b1bd
CY
4840 and category is now done this way, instead of being hard-coded.
4841 (insert-for-yank-1): Remove font-lock-face handling.
4842 (yank-handle-font-lock-face-property)
4843 (yank-handle-category-property): New function.
4844
ee218151
GM
48452012-08-17 Glenn Morris <rgm@gnu.org>
4846
4847 * mail/rmailout.el (rmail-output-read-file-name):
4848 Check rmail-output-file-alist against the full message body
4849 in the correct rmail buffer. (Bug#12214)
4850
4a6bc3fd
MA
48512012-08-17 Michael Albinus <michael.albinus@gmx.de>
4852
9fba804b
SM
4853 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
4854 Eliminate superfluous prompt. (Bug#12203)
4a6bc3fd 4855
383dcbf9
CY
48562012-08-17 Chong Yidong <cyd@gnu.org>
4857
4858 * mouse.el (mouse-appearance-menu): If x-select-font returns a
4859 font spec, set the font directly (Bug#3228).
4860
998c4a6a
MR
48612012-08-17 Martin Rudalics <rudalics@gmx.at>
4862
4863 * window.el (delete-window): Fix last fix.
4864
52162052
MR
48652012-08-16 Martin Rudalics <rudalics@gmx.at>
4866
4867 * window.el (window-valid-p): Move to window.c.
85c2386b
MR
4868 (window-child, window-child-count, window-last-child)
4869 (window-normalize-window, window-combined-p)
4870 (window-combinations, window-atom-root, window-min-size)
4871 (window-sizable, window-sizable-p, window-size-fixed-p)
4872 (window-min-delta, window-max-delta, window--resizable)
4873 (window--resizable-p, window-resizable, window-total-size)
4874 (window-full-height-p, window-full-width-p, window-body-size)
4875 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
4876 (minimize-window, window-deletable-p, delete-window)
4877 (delete-other-windows, set-window-buffer-start-and-point)
4878 (next-buffer, previous-buffer, split-window, balance-windows-2)
4879 (set-window-text-height, window-buffer-height)
4880 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
9fba804b
SM
4881 (truncated-partial-width-window-p): Minor code adjustments.
4882 In doc-strings state whether the argument window has to denote a
85c2386b 4883 live, valid or any window.
52162052 4884
1c308380
PS
48852012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
4886
4887 * progmodes/subword.el (subword-forward-function)
4888 (subword-backward-function, subword-forward-regexp)
4889 (subword-backward-regexp): New variables.
4890 (subword-forward, subword-forward-internal, subword-backward-internal):
4891 Use new variables, eg so that different "word" definitions
4892 can be easily used. (Bug#11411)
4893
94c9ece1
SM
48942012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4895
4896 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
4897 for composite selectors.
4898 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
4899 operation just because we can't find a previous revision.
4900
f2045622
CY
49012012-08-15 Chong Yidong <cyd@gnu.org>
4902
4903 * frame.el (set-frame-font): Accept font objects.
4904
582db660
SM
49052012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4906
4907 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
4908
2f29c200
WJ
49092012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
4910
456e62c2
WJ
4911 * man.el (Man-overstrike-face, Man-underline-face)
4912 (Man-reverse-face): Remove variables.
4913 (Man-overstrike, Man-underline, Man-reverse): New faces.
4914 (Man-fontify-manpage): Use them instead of the variables.
4915 (Man-cleanup-manpage): Comment change.
4916 (Man-ansi-color-map): New variable.
4917 (Man-fontify-manpage): Use it.
4918 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
4919
2f29c200
WJ
4920 Implement ANSI SGR parameters 22-27 (bug#12146).
4921 * ansi-color.el (ansi-colors): Doc fix.
4922 (ansi-color-context, ansi-color-context-region): Doc fix.
4923 (ansi-color--find-face): New function.
4924 (ansi-color-apply, ansi-color-apply-on-region): Use it.
4925 Rename the local variable `face' to `codes' since it is now a list of
4926 ansi codes. Doc fix.
4927 (ansi-color-get-face): Remove.
4928 (ansi-color-parse-sequence): New function, derived from
4929 ansi-color-get-face.
4930 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
4931 codes 22-27.
4932
b4f5e9df
SM
49332012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
4934
4935 * subr.el (read-passwd): Allow use from a minibuffer.
4936
ba025fbd
EZ
49372012-08-14 Eli Zaretskii <eliz@gnu.org>
4938
4939 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
4940 inside comments and strings as identifiers.
4941
4942 * progmodes/gud.el (gud-tooltip-print-command): Quote the
4943 expression to evaluate. This allows to evaluate expressions with
4944 embedded whitespace.
4945 (gud-tooltip-tips): Add a blank before the newline in the
4946 message-box text, for the benefit of message-box emulation on
4947 MS-Windows.
4948
4949 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
4950 messages from GDB, pop them up in a tooltip to give feedback to
4951 user.
b4f5e9df
SM
4952 (gdb-tooltip-print-1): Quote the expression to evaluate.
4953 This allows to evaluate expressions with embedded whitespace.
ba025fbd
EZ
4954 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
4955 if the TTY name is nil or empty (which happens when communicating
4956 with the inferior via pipes, e.g. on MS-Windows).
4957 (gdb-internals): If GDB sends a "&\n" empty debugging message,
4958 don't send that to the GUD buffer.
4959
c548f821
GM
49602012-08-14 Glenn Morris <rgm@gnu.org>
4961
4962 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
4963 Optimize away setq-default with no args, as for setq. (Bug#12195)
4964
55802e4a
CY
49652012-08-14 Chong Yidong <cyd@gnu.org>
4966
4abcdac8
CY
4967 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
4968
55802e4a
CY
4969 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
4970 (Bug#12085).
4971
3c3cda1a
GM
49722012-08-14 Glenn Morris <rgm@gnu.org>
4973
4974 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
4975
e1873bd0
MA
49762012-08-14 Michael Albinus <michael.albinus@gmx.de>
4977
4978 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
4979 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
4980 Use cached shell name.
4981
925411b4
FEG
49822012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
4983
4984 * progmodes/python.el (python-shell-send-string):
3c3cda1a 4985 (python-shell-send-setup-code): Do not use `format' with `message'.
925411b4 4986
e636fafe
DG
49872012-08-14 Dmitry Gutov <dgutov@yandex.ru>
4988
4989 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
4990 (ruby-percent-literal-beg-re): New constant.
4991 (ruby-syntax-general-delimiters-goto-beg): Rename to
4992 `ruby-syntax-enclosing-percent-literal', improve literal type check.
4993 (ruby-syntax-propertize-general-delimiters): Rename to
4994 `ruby-syntax-propertize-percent-literal', it's a shorter and more
4995 popular term. Adjust comments everywhere.
4996 (ruby-syntax-propertize-percent-literal): Only propertize when not
4997 inside a simple string or comment. When the literal is unclosed,
4998 leave the text after it unpropertized.
f063063a
DG
4999 (ruby-syntax-methods-before-regexp): New constant.
5000 (ruby-syntax-propertize-function): Use it to recognize regexps.
5001 Don't look at the text after regexp, just use the whitelist.
e636fafe 5002
e5b19827
AS
50032012-08-14 Andreas Schwab <schwab@linux-m68k.org>
5004
5005 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
5006 non-nil always load the compiled file if it exists. (Bug#12197)
5007
a9f6f311
CY
50082012-08-14 Chong Yidong <cyd@gnu.org>
5009
5010 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
5011 (hi-lock-set-pattern): When deciding whether to use font lock or
5012 overlays, look at font-lock-mode instead of font-lock-fontified
5013 (Bug#12168).
5014 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
5015 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
5016
7d806b1e
DU
50172012-08-14 Daiki Ueno <ueno@unixuser.org>
5018
5019 * subr.el (internal--after-with-selected-window): Fix typo
5020 (Bug#12193).
5021
5beed586
FEG
50222012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
5023
5024 Use `completion-table-dynamic' for completion functions.
5025 * progmodes/python.el
5026 (python-shell-completion--do-completion-at-point)
e636fafe
DG
5027 (python-shell-completion--get-completions):
5028 Remove functions.
5beed586
FEG
5029 (python-shell-completion-complete-at-point): New function.
5030 (python-completion-complete-at-point): Use it.
5031
92cb3b04
J
50322012-08-13 Jambunathan K <kjambunathan@gmail.com>
5033
5034 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
5035 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
5036
89660017
SM
50372012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5038
3c98c962
SM
5039 * subr.el (function-get): Refine `autoload' arg so it can also
5040 autoload functions for gv.el (bug#12191).
5041 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
5042 autoloads macros.
5043
aa7c6dbe
SM
5044 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
5045 Prefer pcase-let over destructuring-bind.
5046 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
5047 Also, remove whitespace as we go, rather than after accumulating the
5048 various places.
5049
89660017
SM
5050 * subr.el (internal--before-with-selected-window)
5051 (internal--after-with-selected-window): Fix typo seleted->selected.
5052 (with-selected-window): Adjust callers.
5053 Reported by Dmitry Gutov <dgutov@yandex.ru>.
5054
31cd32c9
BG
50552012-08-13 Bastien Guerry <bzg@gnu.org>
5056
0fcd3d9f 5057 * window.el (special-display-popup-frame): Minor docstring
31cd32c9
BG
5058 enhancement. (Bug#12172)
5059
1b15d8ad
AS
50602012-08-13 Andreas Schwab <schwab@linux-m68k.org>
5061
31e54db0
AS
5062 * tar-mode.el (tar-header-data-end): Only ignore size for files of
5063 type 1-6.
5064 (tar-header-block-summarize, tar-get-descriptor): Handle pax
5065 extended headers.
5066
1b15d8ad
AS
5067 * files.el (hack-local-variables-filter): Remove useless eval.
5068
35cb9c06
MR
50692012-08-13 Martin Rudalics <rudalics@gmx.at>
5070
5071 * subr.el (with-selected-window): Fix last change.
5072
1439443b
SM
50732012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
5074
5075 * subr.el (internal--before-with-seleted-window)
5076 (internal--after-with-seleted-window): New functions.
1b15d8ad
AS
5077 (with-selected-window): Use them, to replace dependency on
5078 tty-top-frame.
1439443b 5079
0d9e2599
NN
50802012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
5081
5082 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
5083 binding for `newline'.
5084 (ruby-move-to-block): When moving backward, stop at block opening,
5085 not indentation.
5086 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
5087 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
5088 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
5089 `ruby-toggle-block'.
5090
ba10c48c
SM
50912012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
5092
5093 * ibuffer.el (ibuffer-do-toggle-read-only):
5094 * dired.el (dired-toggle-read-only):
5095 * buff-menu.el (Buffer-menu-toggle-read-only):
5096 * bindings.el (mode-line-toggle-read-only):
5097 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
5098
9229c658
AS
50992012-08-12 Andreas Schwab <schwab@linux-m68k.org>
5100
5101 * descr-text.el (describe-char): Put the overlays over the
5102 "displayed as" character.
5103
0fd09128
JB
51042012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
5105
5106 * calc/calc-units.el (math-default-units-table): Give an
5107 initial value.
5108 (math-put-default-units): Add options to put composite units and
5109 unit systems in the default units table.
5110 (calc-convert-units): Send composite units to
5111 `math-put-default-units' when appropriate.
5112
9ff9402d 51132012-08-11 Glenn Morris <rgm@gnu.org>
7aacaf15 5114
fbb5e336
GM
5115 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
5116
7aacaf15
GM
5117 * tutorial.el (help-with-tutorial):
5118 * emacs-lisp/copyright.el (copyright-update-directory):
5119 * emacs-lisp/autoload.el (autoload-find-generated-file)
5120 (autoload-find-file): Disable local eval: (for insurance).
5121
f40b9f10
GM
5122 * files.el (hack-local-variables-filter): If an eval: form is not
5123 known to be safe, and enable-local-variables is :safe, then ignore
5124 the form totally, as is done for non-eval forms. (Bug#12155)
6f97980a 5125 This is CVE-2012-3479.
f40b9f10 5126
daa9f1a6
SM
51272012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
5128
5129 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
5130 (rx-form): Simplify.
5131
9cd80478
DG
51322012-08-09 Dmitry Gutov <dgutov@yandex.ru>
5133
0d9e2599
NN
5134 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
5135 ?, _, and : are symbol constituents, ! is not (but kinda should be).
5136 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
5137 (ruby-syntax-propertize-function): Adjust for changes in
5138 `ruby-syntax-propertize-heredoc'.
5139
51402012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
5141
9cd80478
DG
5142 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
5143 binding (use `M-;' instead).
9cd80478 5144 (ruby-singleton-class-p): New function.
0d9e2599 5145 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9cd80478 5146
d301b413
SM
51472012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
5148
5149 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
5150
1530c98e
CY
51512012-08-10 Chong Yidong <cyd@gnu.org>
5152
5153 * progmodes/python.el (python-shell-get-process-name): Don't mess
5154 with same-window-buffer-names.
5155
5156 * eshell/eshell.el (eshell-add-to-window-buffer-names)
5157 (eshell-remove-from-window-buffer-names): Make obsolete.
5158 (eshell-buffer-name, eshell-unload-hook): Don't use them.
5159 (eshell): Just use pop-to-buffer-same-window instead.
5160
e1293765
CY
51612012-08-10 Chong Yidong <cyd@gnu.org>
5162
5163 * bindings.el: Bind M-= back to count-words-region.
5164
5165 * simple.el (count-words-region): Accept a prefix arg for acting
5166 on the entire buffer.
5167 (count-words--buffer-message): New helper function.
5168
e1894109
SM
51692012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
5170
5171 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
5172 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
5173 (event-start, event-end): Use posn-at-point to return a more
5174 informative posn.
5175 (posnp): New function.
5176 * mouse.el (popup-menu-normalize-position): Use it.
5177
c69f56a2
MY
51782012-08-10 Masatake YAMATO <yamato@redhat.com>
5179
5180 * mouse.el (popup-menu-normalize-position): New function.
5181 (popup-menu): Use `popup-menu-normalize-position' to normalize
5182 the form for POSITION argument.
5183
5184 * term/x-win.el (x-menu-bar-open):
5185 Use the value returend from (posn-at-point) as position
5186 passed to `popup-menu'.
5187
31673780
JB
51882012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
5189
5190 * calc/calccomp.el (math-compose-expr): Add extra argument
5191 indicating that parentheses should be put around products in
5192 denominators. Give multiplication precedence over division during
5193 composition.
5194
dab7711b
CY
51952012-08-09 Chong Yidong <cyd@gnu.org>
5196
dee4ef93
CY
5197 * man.el (Man-switches, Man-sed-command, Man-awk-command)
5198 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
5199 (Man-untabify-command, manual-program): Convert to defcustom
5200 (Bug#10429).
5201
73e2bbc5
CY
5202 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
5203
3e861c8a
CY
5204 * descr-text.el (describe-char): Don't insert extra newlines
5205 (Bug#10127).
5206
a9f5a649
CY
5207 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
5208 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
5209
dab7711b
CY
5210 * align.el (align-region): Delete temporary markers (Bug#10047).
5211 Plus some code cleanups.
5212
e0cc4efa
FEG
52132012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
5214
5215 * progmodes/python.el (python-pdbtrack-tracked-buffer)
5216 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
5217 (python-shell-internal-last-output): Use make-local-variable
5218 instead of make-variable-buffer-local.
5219
489af14f
FEG
52202012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
5221
5222 * progmodes/python.el: Enhancements to forward-sexp.
5223 (python-nav-forward-sexp): Rename from
5224 python-nav-forward-sexp-function.
c69f56a2
MY
5225 (python-nav--forward-sexp, python-nav--backward-sexp):
5226 New functions.
489af14f 5227
0fc50303
JB
52282012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
5229
5230 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
5231 modes and simplification modes.
5232
5d65606a
SM
52332012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
5234
5235 * delsel.el (delete-selection-pre-hook): Don't propagate the
5236 file-supersession signals (bug#12161).
5237
4250fdf5
SM
52382012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5239
5240 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
5241 (cl-map-extents): Add compatibility aliases (bug#12135).
5242
d9f9b465
MA
52432012-08-08 Michael Albinus <michael.albinus@gmx.de>
5244
5245 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
5246 tests by `ignore-error'.
5247 (tramp-find-shell): Open also a new shell, when cache is already
5248 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
5249
ce0fcefa
JL
52502012-08-08 Juri Linkov <juri@jurta.org>
5251
5252 * bookmark.el: Add `defaults' property to the bookmark record.
5253 (bookmark-current-buffer): Doc fix.
5254 (bookmark-make-record): Add `defaults' property with default values
5255 to the bookmark record.
5256 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
5257 with `bookmark-insert-current-bookmark'.
5258 (bookmark-set): Get `defaults' property from the bookmark record
5259 and use it in `read-from-minibuffer'.
5260 (bookmark-insert-current-bookmark): Remove function.
5261
5262 * info.el (Info-bookmark-make-record): Add `defaults' property
5263 with values of canonical Info node name, the current Info file
5264 name and the current Info node name. (Bug#12107)
5265
53fa8652
JL
52662012-08-08 Juri Linkov <juri@jurta.org>
5267
5268 * files.el (basic-save-buffer): Use `buffer-name' as the default
5269 of `read-file-name' when buffer is not visiting a file (bug#12128).
5270
242c0a95
JL
52712012-08-08 Juri Linkov <juri@jurta.org>
5272
5273 * info.el (Info-isearch-search): Doc fix.
5274 (Info-search): Change search-failed message from "initial node" to
5275 "end of node" (bug#12078).
5276 (Info-isearch-search): Change `isearch-string-state' to
5277 `isearch--state-string'.
5278
32ac3a6b
GM
52792012-08-08 Glenn Morris <rgm@gnu.org>
5280
5281 * language/persian.el: Remove file.
f8c1afd5 5282 * language/misc-lang.el: Move unique part of persian.el here.
32ac3a6b
GM
5283 * loadup.el: Remove language/persian.
5284
2c2d9c9c
OF
52852012-08-08 Óscar Fuentes <ofv@wanadoo.es>
5286
5287 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
5288
2d79ec42
FEG
52892012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
5290
5291 * progmodes/python.el Fixed defsubst warning.
5292 (python-syntax-context) Rename from python-info-ppss-context.
5293 (python-syntax-context-type): Rename from
5294 python-info-ppss-context-type.
5295 (python-syntax-comment-or-string-p): Rename from
5296 python-info-ppss-comment-or-string-p.
5297
2bd255dd
JB
52982012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
5299
5300 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
5301
c395097f
AS
53022012-08-07 Andreas Schwab <schwab@linux-m68k.org>
5303
6125983e
AS
5304 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
5305 a defcustom that is quoted with backquote.
5306
4250fdf5
SM
5307 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
5308 Fix handling of interactive spec when the body uses return.
651eaf36
AS
5309 (math-do-arg-check, math-define-function-body): Use backquote forms.
5310 * calc/calc-ext.el (math-defcache): Likewise.
5311 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
5312 * allout.el (allout-new-exposure): Likewise.
5313 * calc/calcalg2.el (math-tracing-integral): Likewise.
5314 * info.el (Info-last-menu-item): Likewise.
5315 * emulation/vip.el (vip-loop): Likewise.
5316 * textmodes/artist.el (artist-funcall): Likewise.
5317 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
5318 Construct menu-item directly.
5319
4250fdf5
SM
5320 * progmodes/autoconf.el (font-lock-syntactic-keywords):
5321 Don't declare.
c395097f 5322
5fb50dd3
CY
53232012-08-07 Chong Yidong <cyd@gnu.org>
5324
5325 * simple.el (deactivate-mark): Preserve text properties when
5326 saving the primary selection (Bug#8384).
5327
54eea618
KR
53282012-08-07 Kevin Ryde <user42@zip.com.au>
5329
5330 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
5331 (woman-parse-numeric-value): On a bad .IP line, issue a warning
5332 and continue processing (Bug#12110).
5333
638eaeb9
SM
53342012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
5335
5336 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
5337 syntax-propertize-function (bug#10095).
5338
ea376861
SM
53392012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
5340
f91b35be
SM
5341 * help-fns.el (help-fns--key-bindings, help-fns--signature)
5342 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
5343 describe-function-1.
5344 (describe-function-1): Use them. Move compiler macro after sig.
5345 (help-fns--compiler-macro): Use function-get. Assume we're already in
5346 standard-output. Adjust layout to new call order.
5347
ea376861
SM
5348 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
5349 re-binding a symbol that has a symbol-macro (bug#12119).
5350
d5be7bd0
MB
53512012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
5352
5353 * language/persian.el: New file. (Bug#11812)
5354 * loadup.el: Add language/persian.el.
5355
90749b53
CY
53562012-08-06 Chong Yidong <cyd@gnu.org>
5357
5358 * window.el (window--maybe-raise-frame): New function.
5359 (window--display-buffer): Split off from here.
5360 (display-buffer-reuse-window, display-buffer-pop-up-frame)
5361 (display-buffer-pop-up-window, display-buffer-use-some-window):
5362 Obey an inhibit-switch-frame action alist entry.
5363 (display-buffer): Update doc.
5364
5365 * replace.el (occur-after-change-function): Avoid losing focus by
5366 using the inhibit-switch-frame display parameter (Bug#12139).
5367
ba7b0154
FEG
53682012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
5369
5370 Make internal shell process buffer names start with space.
5371 * progmodes/python.el (python-shell-make-comint): Add optional
5372 argument INTERNAL.
5373 (run-python-internal): Use it.
5374 (python-shell-internal-get-or-create-process): Check for new
5375 internal buffer names.
5376
5eaeacb5
GM
53772012-08-06 Glenn Morris <rgm@gnu.org>
5378
e296d94b 5379 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5eaeacb5
GM
5380 Do less getting and setting of environment variables.
5381
b7ccbdc2
CY
53822012-08-05 Chong Yidong <cyd@gnu.org>
5383
777fe95e
CY
5384 * proced.el (proced): Add substitution string to docstring to
5385 trigger autoloading of the proced library on C-h f (Bug#1768).
5386
4250fdf5
SM
5387 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
5388 Don't show defvars which have no second argument (Bug#8638).
b7ccbdc2
CY
5389
5390 * imenu.el (imenu-generic-expression): Move documentation here
5391 from imenu--generic-function.
5392 (imenu--generic-function): Refer to imenu-generic-expression.
5393
9e3b7800 53942012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
d5c31f1d
5395
5396 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
5397 indentation declaration.
5398 (viper-loop): Add indentation declaration (Bug#7025).
5399
e5d9c0d1
CY
54002012-08-05 Chong Yidong <cyd@gnu.org>
5401
f0422feb
CY
5402 * help-fns.el (describe-variable): Add hyperlink for
5403 directory-local variables files. Improve buffer-local and
5404 permanent-local reporting; suggested by MON KEY (Bug#6644).
5405
5406 * help-mode.el (help-dir-local-var-def): New button type.
5407
e5d9c0d1
CY
5408 * files.el (kill-buffer-hook): Provide a defvar.
5409
a4f2deaa
GM
54102012-08-05 Glenn Morris <rgm@gnu.org>
5411
5412 * eshell/esh-ext.el (eshell/addpath):
5413 Also update eshell-path-env. (Bug#12013)
5414
a9dd5754
CY
54152012-08-05 Chong Yidong <cyd@gnu.org>
5416
a4f2deaa 5417 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
615b0bf0 5418
d014c740
CY
5419 * fringe.el (fringe-styles): Add docstring.
5420 (fringe--check-mode): New function.
5421 (set-fringe-mode, set-fringe-style): Use it.
5422 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
5423
a9dd5754
CY
5424 * files.el (set-auto-mode): Fix invalid setq call.
5425
7c2dc8bd
SM
54262012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5427
5428 * isearch.el: Misc simplification; use defstruct.
5429 (isearch-mode-map): Dense maps now work like sparse ones.
5430 (isearch--state): New defstruct.
5431 (isearch-string-state, isearch-message-state, isearch-point-state)
5432 (isearch-success-state, isearch-forward-state)
5433 (isearch-other-end-state, isearch-word-state, isearch-error-state)
5434 (isearch-wrapped-state, isearch-barrier-state)
5435 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
5436 replaced by defstruct's accessors.
5437 (isearch--set-state): Rename from isearch-top-state and change
5438 calling convention.
5439 (isearch-push-state): Use new isearch--get-state.
5440 (isearch-toggle-word): Disable regexp when enabling word.
5441 (isearch-message-prefix): Remove unused arg _c-q-hack.
5442 (isearch-message-suffix): Remove unused arg _ellipsis.
5443
7fcc0070
AS
54442012-08-04 Andreas Schwab <schwab@linux-m68k.org>
5445
5446 * simple.el (list-processes--refresh): For a server use :host or
5447 :local as the address.
97ad0769 5448 (list-processes): Doc fix.
7fcc0070 5449
a11035b8 54502012-08-04 Michal Nazarewicz <mina86@mina86.com>
00340faf
MN
5451
5452 * lisp/mpc.el: Support password in host argument.
5453 (mpc--proc-connect): Parse and use new password element.
5454 Set mpc-proc variable instead of returning process.
5455 (mpc-proc): Adjust accordingly.
5456
6dad7178
EZ
54572012-08-03 Eli Zaretskii <eliz@gnu.org>
5458
18949c2f
EZ
5459 * whitespace.el (whitespace-display-mappings): Use Unicode
5460 codepoints, instead of emacs-mule codepoints. See
5461 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
5462 for the details.
5463
6dad7178
EZ
5464 * files.el (file-truename): Don't skip symlink-chasing part on
5465 windows-nt. Incorporate the resolution of 8+3 short aliases on
4250fdf5
SM
5466 Windows into the loop that recursively chases symlinks.
5467 Compare directory and its parent case-insensitively on MS-Windows and
6dad7178
EZ
5468 MS-DOS.
5469
385b0198
CY
54702012-08-03 Chong Yidong <cyd@gnu.org>
5471
6200f3c4
CY
5472 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
5473
385b0198
CY
5474 * sort.el (sort-regexp-fields): Doc fix.
5475
b9e74744
TH
54762012-08-03 Tassilo Horn <tsdh@gnu.org>
5477
5478 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
5479 labels regex position point at the expected place.
5480
41013cb4
MK
54812012-08-03 MON KEY <monkey@sandpframing.com>
5482
5483 * net/imap.el (imap-interactive-login, imap-authenticate)
5484 (imap-mailbox-lsub, imap-mailbox-list)
5485 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
5486 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
5487 (imap-parse-response): Doc fix.
5488
0ffee616
JT
54892012-08-03 João Távora <joaotavora@gmail.com>
5490
5491 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
5492 if sexp scanning does not move point (Bug#5734).
5493
cfcc9cc8
TH
54942012-08-02 Tassilo Horn <tsdh@gnu.org>
5495
5496 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
5497 Add listings, minted, and ctable packages.
5498 (reftex-label-alist-builtin): Move listings, minted, and ctable
5499 entries before LaTeX.
a01bbb84 5500 (reftex-label-alist): Docfix.
cfcc9cc8 5501
66ec2442
BG
55022012-08-02 Bastien Guerry <bzg@gnu.org>
5503
5504 * replace.el (occur): Fix docstring (bug#12122).
5505
837b365b
GM
55062012-08-02 Glenn Morris <rgm@gnu.org>
5507
5508 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
5509
e098de97
PE
55102012-08-02 Paul Eggert <eggert@cs.ucla.edu>
5511
5512 Obsolete alias inactivate-current-input-method-function (Bug#10150).
5513 * international/mule-cmds.el: Create
5514 inactivate-current-input-method-function as an obsolete alias for
5515 deactivate-current-input-method-function. See Katsumi Yamaoka in
5516 <http://bugs.gnu.org/10150#46>.
5517
a0f95636
JB
55182012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
5519
5520 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
5521 of nested `if's.
5522
0d26d7c4
GM
55232012-08-01 Glenn Morris <rgm@gnu.org>
5524
5525 * progmodes/autoconf.el (autoconf-definition-regexp):
5526 Add AH_TEMPLATE, adjust submatch numbering.
5527 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
5528 (autoconf-current-defun-function): Update for above change.
5529 (autoconf-current-defun-function): First skip to end of current word.
5530
b686ba06
RS
55312012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
5532
5533 * calendar/cal-html.el (cal-html-insert-agenda-days):
5534 Fix typo. (Bug#12018)
5535
0d49da68
FEG
55362012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
5537
5538 Shell processes: enhancements to startup and CEDET compatibility.
5539 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
5540 (python-shell-make-comint): accept-process-output at startup.
5541 (run-python-internal): Set inferior-python-mode-hook to nil.
5542 (python-shell-internal-get-or-create-process): call sit-for.
5543 (python-preoutput-result): Add obsolete alias.
5544 (python-shell-internal-send-string): Use it.
5545 (python-shell-send-setup-code): Remove call to
5546 accept-process-output.
5547
f1a71c6e
AS
55482012-07-31 Andreas Schwab <schwab@linux-m68k.org>
5549
5550 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
5551 (Bug#12108)
5552
d2605269
JB
55532012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
5554
5555 * calc-mode.el (calc-basic-simplification-mode): Rename from
5556 `calc-limited-simplification-mode'.
5557 (calc-alg-simplification-mode): New function.
fc0c31f8 5558 (calc-set-simplify-mode): Adjust message.
f1a71c6e 5559
d2605269
JB
5560 * calc.el (calc-set-mode-line): Adjust mode line display for
5561 basic simplification mode.
5562
5563 * calc-help.el (calc-m-prefix-help): Update help message.
5564
5565 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
5566 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
5567
a3827a43
BG
55682012-07-31 Bastien Guerry <bzg@gnu.org>
5569
5570 * man.el (man): Fix comment. (bug#12101)
5571
502e3f89
MR
55722012-07-31 Martin Rudalics <rudalics@gmx.at>
5573
5574 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
5575 Don't return a non-nil value when no suitable buffer was found.
5576
d7714961
FEG
55772012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
5578
5579 * progmodes/python.el (run-python-internal): Disable font lock for
5580 internal shells.
5581
1f45e27e
SM
55822012-07-30 Stefan Merten <smerten@oekonux.de>
5583
70efc5c9 5584 * textmodes/rst.el: Silence `checkdoc-ispell'.
1f45e27e
SM
5585 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
5586 (rst-official-version, rst-official-cvs-rev)
5587 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
5588 (rst-mode-map): New key binding.
5589
0aee6912
PE
55902012-07-30 Paul Eggert <eggert@cs.ucla.edu>
5591
5592 Update .PHONY listings in makefiles.
5593 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
5594 autoloads, update-subdirs, updates, bzr-update, update-authors,
5595 compile-onefile, compile-calc, backup-compiled-files,
5596 compile-after-backup, compile-one-process, mh-autoloads,
5597 bootstrap-clean, distclean, maintainer-clean.
5598
9052f9f0
JB
55992012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
5600
1823ac5a
JB
5601 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
5602 (calc-set-mode-line): Don't display "AlgSimp ".
5603
5604 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
5605 (calc-lim-simplify-mode): New function.
5606 (calc-set-simplify-mode): Default to 'alg.
5607 (calc-default-simplify-mode): Make algebraic simplifications
5608 the default.
5609
5610 * calc/calc-ext.el (calc-init-extensions): Remove binding for
5611 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
5612
8d7c7eed 5613 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
5614 indicate new simplification modes.
5615
1823ac5a
JB
5616 * calc/README: Mention new default simplification mode.
5617
9052f9f0
JB
5618 * calc/calc.el (math-normalize-error): New variable.
5619 (math-normalize): Set `math-normalize-error' to t
5620 when there's an error.
5621
5622 * calc/calc-alg.el (math-simplify): Don't simplify when
5623 `math-normalize' returns an error.
5624
20ba0cb4
EZ
56252012-07-29 Eli Zaretskii <eliz@gnu.org>
5626
5627 * international/mule-cmds.el (set-locale-environment): Revert last
5628 change, since display-graphic-p returns nil when this function is
5629 called during startup. Instead...
5630
5631 * term/w32console.el (terminal-init-w32console): ...setup the
5632 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
5633
a5dcc929
JL
56342012-07-29 Juri Linkov <juri@jurta.org>
5635
5636 * simple.el (goto-line): Don't display default line number in the
5637 prompt because it should be displayed by `read-number' (bug#9952).
5638 Add the current line number to the defaults of `goto-line' to
5639 allow its easier modification by users with `M-n' (bug#9201).
5640
5641 * subr.el (read-number): Support multiple default values like in
5642 other minibuffer reading functions. Replace `read' with
5643 `string-to-number' for consistency with `number-to-string'.
5644
72b255c7
PE
56452012-07-29 Paul Eggert <eggert@cs.ucla.edu>
5646
5647 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
5648 * emulation/viper-init.el (viper-deactivate-input-method-action):
5649 Rename from viper-inactivate-input-method-action.
5650 (viper-deactivate-input-method):
5651 Rename from viper-inactivate-input-method.
5652 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
5653 * international/mule-cmds.el (deactivate-input-method):
5654 Rename from inactivate-input-method.
5655 Also run input-method-deactivate-hook.
5656 (deactivate-current-input-method-function):
5657 Rename from inactivate-current-input-method-function.
5658 (input-method-deactivate-hook): New hook.
5659 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
5660 (inactivate-input-method): Mark obsolete.
5661
72b255c7
PE
5662 * international/quail.el (quail-activate):
5663 Also run quail-deactivate-hook.
5664 (quail-deactivate): Rename from quail-inactivate.
5665 * international/robin.el (robin-activate):
5666 Also run robin-deactivate-hook.
5667 (robin-deactivate): Rename from robin-inactivate.
5668
2549c068
CY
56692012-07-29 Chong Yidong <cyd@gnu.org>
5670
5671 * simple.el (indicate-copied-region): New function.
5672 (kill-ring-save): Split off from here.
5673
5674 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
5675 (kill-rectangle): Set deactivate-mark to t on read-only error.
5676
5677 * register.el (copy-to-register, copy-rectangle-to-register):
5678 Deactivate the mark, and use indicate-copied-region (Bug#10056).
4c478e6b
JL
5679 (append-to-register, prepend-to-register): Call indicate-copied-region.
5680
56812012-07-29 Juri Linkov <juri@jurta.org>
17711ed9
JL
5682
5683 * simple.el (async-shell-command-buffer): New defcustom.
5684 (shell-command): Use it. (Bug#4719)
5685
01bd1b0d
EZ
56862012-07-28 Eli Zaretskii <eliz@gnu.org>
5687
5688 * international/mule-cmds.el (set-locale-environment): In a
5689 console session on MS-Windows, set up keyboard and terminal
5690 encoding from the OEM codepage, not the ANSI codepage.
5691 (Bug#12055)
5692
a55739d3
CY
56932012-07-28 Chong Yidong <cyd@gnu.org>
5694
5695 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
5696 gdb-get-location.
5697
0e1a094f 56982012-07-28 Leo Liu <sdl.web@gmail.com>
9a0f8f2e
LL
5699
5700 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
5701 the alist (bug#12029).
5702
20329d73
EZ
57032012-07-28 Eli Zaretskii <eliz@gnu.org>
5704
5705 * makefile.w32-in (custom-deps, finder-data, updates, compile)
5706 (compile-always, compile-first)
5707 ($(lisp)/calendar/cal-loaddefs.el)
5708 ($(lisp)/calendar/diary-loaddefs.el)
5709 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
5710 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
5711 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
5712 instead of on update-subdirs.
5713 (bootstrap-clean): Delete $(lisp)/subdirs.el.
5714
345a2258
CY
57152012-07-28 Chong Yidong <cyd@gnu.org>
5716
1eee6341
CY
5717 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
5718 directory if vc-deduce-backend returns nil (Bug#7350).
5719
345a2258
CY
5720 * simple.el (delete-trailing-lines): New option.
5721 (delete-trailing-whitespace): Obey it (Bug#11879).
5722
049a0936
DE
57232012-07-28 David Engster <deng@randomsample.de>
5724
5725 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
5726 Explanation of new 'symbol-qnames feature in doc-strings.
5727 (xml-maybe-do-ns): Return expanded names as plain symbols if
5728 'symbol-qnames was provided in XML-NS argument (Bug#11916).
5729 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
5730
aa81af71
FEG
57312012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
5732
5733 Consistent completion in inferior python with emacs -nw.
5734 * progmodes/python.el (inferior-python-mode): replace "<tab>"
5735 binding in inferior-python-mode-map with "\t".
5736 (python-shell-completion-complete-at-point)
5737 (python-completion-complete-at-point): Remove interactive spec.
5738
e827b1eb
JB
57392012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
5740
5741 * calc/calccomp.el (math-compose-expr): Undo previous change.
5742
a90dfb95
FEG
57432012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
5744
4250fdf5 5745 * progmodes/python.el (python-mode-map): Add keybinding for
a90dfb95
FEG
5746 run-python.
5747 (python-shell-make-comint): Fix pop-to-buffer call.
5748 (run-python): Autoload. New arg SHOW.
5749 (python-shell-get-or-create-process): Do not pop python process
5750 buffer.
5751
32770973 57522012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
5753
5754 * notifications.el (notifications-on-action-signal)
5755 (notifications-on-closed-signal): Use also the bus address for the map.
5756 (notifications-notify, notifications-close-notification)
fc0c31f8 5757 (notifications-get-capabilities): Add optional argument BUS.
1c6ef030 5758
86332df2
TH
57592012-07-27 Tassilo Horn <tsdh@gnu.org>
5760
4250fdf5
SM
5761 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
5762 Add support for the lstlisting and minted environments, and for the
86332df2
TH
5763 ctable macro.
5764 * textmodes/reftex.el (reftex-compile-variables): Also recognize
5765 labels written in keyvals syntax.
5766
ca1302a4
JB
57672012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
5768
5769 * calc/calccomp.el (math-compose-expr): Use parentheses when
5770 there is a product in the denominator of a fraction.
5771
f8b91036
EZ
57722012-07-26 Eli Zaretskii <eliz@gnu.org>
5773
5774 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
5775 ($(lisp)/calendar/diary-loaddefs.el)
5776 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4250fdf5
SM
5777 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
5778 Fixes failures in parallel bootstrap because subdirs.el is being
f8b91036
EZ
5779 rewritten while the autoload files are built at the same time,
5780 which needs to load subdirs.el.
5781
c8e5a42c
MR
57822012-07-26 Martin Rudalics <rudalics@gmx.at>
5783
5784 * mouse.el (popup-menu): Fix doc-string and re-indent code.
5785 (mouse-drag-line): Don't exit tracking when a switch-frame or
5786 switch-window event occurs (Bug#12006).
5787
670d85ea
SM
57882012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5789
5790 * mouse.el (popup-menu): Fix last change.
5791
7abaf5cc
SM
57922012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5793
5794 Autoload from Lisp with more care. Follow aliases when looking for
5795 function properties.
5796 * subr.el (autoloadp): New function.
5797 (symbol-file): Use it.
5798 (function-get): New function.
5799 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
5800 autoload-do-load.
5801 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
5802 (lisp-indent-function):
5803 * emacs-lisp/gv.el (gv-get):
5804 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
5805 * emacs-lisp/byte-opt.el (byte-optimize-form):
5806 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
5807 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
5808 Use function-get.
5809 * emacs-lisp/cl.el: Don't propagate function properties any more.
5810
5811 * speedbar.el (speedbar-add-localized-speedbar-support):
5812 * emacs-lisp/disass.el (disassemble-internal):
5813 * desktop.el (desktop-load-file):
5814 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
5815 (describe-function-1):
5816 * emacs-lisp/find-func.el (find-function-noselect):
5817 * emacs-lisp/elp.el (elp-instrument-function):
5818 * emacs-lisp/advice.el (ad-has-proper-definition):
5819 * apropos.el (apropos-safe-documentation, apropos-macrop):
5820 * emacs-lisp/debug.el (debug-on-entry):
5821 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
5822 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
5823 * calc/calc.el (name): Use autoloadp & autoload-do-load.
5824
b1364986
AA
58252012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
5826
5827 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
5828 function, not an obsolete variable (Bug#12046).
5829
67ada220
AS
58302012-07-25 Andreas Schwab <schwab@linux-m68k.org>
5831
5832 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
5833
f08088e3
CS
58342012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
5835
5836 * emacs-lisp/pp.el (pp-display-expression): Select old selected
5837 window only if it is still live (Bug#12034).
5838
8137e7b3
MR
58392012-07-25 Martin Rudalics <rudalics@gmx.at>
5840
5841 * subr.el (redirect-frame-focus): Add advertised calling
5842 convention (Bug#12030).
5843
09ae5da1
PE
58442012-07-25 Paul Eggert <eggert@cs.ucla.edu>
5845
5846 Prefer typical American spelling for "acknowledgment".
5847 * vc/add-log.el (change-log-acknowledgment): Rename from
5848 change-log-acknowledgement, with an alias for the old name.
5849
3cc5a3a8
JB
58502012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
5851
5852 * calc-alg.el (math-simplify-divide): Don't cross multiply
5853 in an equation when the lhs is a variable.
5854
b7af7f62
JD
58552012-07-24 Julien Danjou <julien@danjou.info>
5856
5857 * net/netrc.el (netrc-find-service-number, netrc-store-data):
5858 Remove, unused.
5859
ec1b09b1
EZ
58602012-07-23 Eli Zaretskii <eliz@gnu.org>
5861
5862 * startup.el (command-line): Don't display an empty user name in
5863 the error message about non-existent home directory, when
5864 init-file-user was set to an empty string. See
5865 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
5866 for the details and context.
5867
b525fd8a
VB
58682012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
5869
5870 * ses.el (ses-cell-formula-aset): New macro.
5871 (ses-cell-references-aset): New macro.
5872 (ses-cell-p): New function.
5873 (ses-rename-cell): Do no longer rely on complex operations like
5874 ses-cell-set-formula or ses-set-cell to change the cell and handle
5875 the undo at the same time, but rather use lower level new macros
5876 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
fc0c31f8 5877 the undo directly. Refresh the mode line.
b525fd8a 5878
2c73e345
LL
58792012-07-21 Leo Liu <sdl.web@gmail.com>
5880
670d85ea
SM
5881 * progmodes/cc-cmds.el (c-defun-name):
5882 Use match-string-no-properties instead for consistency.
2c73e345 5883
542dfbde
LL
58842012-07-20 Leo Liu <sdl.web@gmail.com>
5885
3646bcd6
LL
5886 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
5887 (Bug#7879)
5888
542dfbde
LL
5889 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
5890
25721031
CY
58912012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
5892
5893 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
5894 * progmodes/bug-reference.el, misearch.el: Provide themselves
5895 (bug#11915).
5896
5897 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
5898 of narrowed buffer (bug#11966).
5899
316e68a7
VB
59002012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
5901
5902 * ses.el (ses-rename-cell): Set new name also in reference list of
5903 cells of which the renamed cell depends.
5904
bbf0e7d9
MY
59052012-07-20 Masatake YAMATO <yamato@redhat.com>
5906
5907 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
5908 to check whether menu-bar is shown or not. If not shown,
5909 show the menu-bar as a popup menu instead of using tmm.
5910 * mouse.el (popup-menu): Accept `point' as `position' argument.
5911
c28662a8
DG
59122012-07-20 Dmitry Gutov <dgutov@yandex.ru>
5913
5914 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
5915 up inside string symbol literal (bug#11923).
5916
87ab808f
EZ
59172012-07-20 Eli Zaretskii <eliz@gnu.org>
5918
5919 * startup.el (fancy-startup-text): Read the whole tutorial, not
5920 just its first 256 bytes. Prevents gibberish in display of the
5921 tutorial title.
5922
89dea803
DA
59232012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
5924
5925 Drop idle buffer compaction due to an absence of the
5926 proved efficiency.
5927 * compact.el: Remove.
5928
8a4e6db8
SS
59292012-07-19 Sam Steingold <sds@gnu.org>
5930
5931 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
5932 vc-bzr-pull & vc-bzr-merge-branch.
5933 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
5934 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
5935 for consistency with compilation-error-regexp-alist.
5936 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
5937 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
5938 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
5939 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
5940
5db81e33
SM
59412012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
5942
5943 * emacs-lisp/chart.el: Use lexical-binding.
5944 (chart-emacs-storage): Don't hardcode the list of entries.
5945
5b835e1d
DA
59462012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
5947
5948 Next round of tweaks caused by Fgarbage_collect changes.
5949 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
5950
9cd47b72
DA
59512012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
5952
5953 Compact buffers when idle.
5954 * compact.el: New file.
5955
1d6fc0df
SM
59562012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
5957
5958 * subr.el (eventp): Presume that if it looks vaguely like an event,
5959 it's an event (bug#10190).
5960
1d29cc7d
FEG
59612012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
5962
5963 Enhancements to ppss related code (thanks Stefan).
5964 * progmodes/python.el (python-indent-context)
5965 (python-indent-calculate-indentation, python-indent-dedent-line)
5966 (python-indent-electric-colon, python-nav-forward-block)
5967 (python-mode-abbrev-table)
1d6fc0df 5968 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
5969 for ppss context.
5970 (python-info-continuation-line-p): Cleanup.
5971 (python-info-ppss-context): Do not catch 'quote.
5972 (python-info-ppss-context-type)
5973 (python-info-ppss-comment-or-string-p): Simplify.
5974
d583cbe6
FEG
59752012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
5976
5977 * progmodes/python.el: Enhancements to eldoc support.
5978 (python-info-current-symbol): New function.
5979 (python-eldoc-at-point): Use python-info-current-symbol.
5980 (python-info-current-defun): Fix cornercase on first defun scan.
5981 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
5982 and signal error when no inferior python process is available.
5983
eceb6feb
DG
59842012-07-18 Dmitry Gutov <dgutov@yandex.ru>
5985
5986 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
5987 assume it's always t.
5988 (vc-git-registered): Remove caching, the function is only called
5989 once.
5990 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
5991
4c8ff0fe
CY
59922012-07-18 Chong Yidong <cyd@gnu.org>
5993
19fb7186
CY
5994 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
5995
9587c688
CY
5996 * simple.el (count-words): Report on narrowing (Bug#9959).
5997
0fe776a1
CY
5998 * bindings.el: Bind M-= to count-words.
5999
4c8ff0fe
CY
6000 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
6001
7f5331cc
MY
60022012-07-18 Masatake YAMATO <yamato@redhat.com>
6003
6004 * progmodes/sh-script.el (sh-imenu-generic-expression):
6005 Capture a function with `function' keyword and without parentheses
6006 like "function FOO" (bug#11856).
6007
2dc2a609
TH
60082012-07-18 Tassilo Horn <tassilo@member.fsf.org>
6009
6010 * window.el (split-window-sensibly): Make WINDOW argument
6011 optional.
6012
439f7677
CY
60132012-07-18 Chong Yidong <cyd@gnu.org>
6014
9aeb25a6
CY
6015 * subr.el (keyboard-translate): Doc fix (Bug#7261).
6016
439f7677
CY
6017 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
6018 and make C-x 8 RET exit isearch (Bug#11439).
6019
6020 * international/iso-transl.el: Move isearch-mode-map key
6021 definitions to isearch.el.
6022
12999ea8
SM
60232012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
6024
6025 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
6026 (eieio-defclass): Use gv-define-setter when possible.
6027
3ab6e069
DA
60282012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
6029
6030 Reflect recent changes in Fgarbage_collect.
6031 * emacs-lisp/chart.el (chart-emacs-storage): Change to
6032 reflect new format of data returned by Fgarbage_collect.
6033
0a60bc10
FEG
60342012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
6035
6036 New utility functions + python-info-ppss-context fix (Bug#11910).
6037 * progmodes/python.el (python-info-beginning-of-block-statement-p)
6038 (python-info-ppss-comment-or-string-p): New functions.
6039 (python-info-ppss-context): Small fix for string check.
6040
6dafa0d5
JL
60412012-07-17 Juri Linkov <juri@jurta.org>
6042
6043 * dired-aux.el (dired-do-async-shell-command): Doc fix.
6044 (dired-do-async-shell-command): Don't add `*' at the end of the
6045 command (Bug#11815).
6046 (dired-do-shell-command): Doc fix.
6047 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
6048 Join the individual commands using either "&" or ";" as the
6049 separator depending on the values of these trailing characters.
6050 At the end re-add the trailing "&". (Bug#10598)
6051
6052 * simple.el (async-shell-command): Sync the interactive spec with
6053 `shell-command'. Doc fix.
6054 (shell-command): Doc fix.
6055
b19dd9d1
JL
60562012-07-17 Juri Linkov <juri@jurta.org>
6057
6058 * descr-text.el (describe-char): Fix format args. (Bug#10129)
6059
bcdc27d7 60602012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 6061
bcdc27d7 6062 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
6063 * progmodes/python.el (python-nav-beginning-of-statement):
6064 Rename from python-nav-statement-start.
bcdc27d7
FEG
6065 (python-nav-end-of-statement): Rename from
6066 python-nav-statement-end.
6067 (python-nav-beginning-of-block): Rename from
6068 python-nav-block-start.
6069 (python-nav-end-of-block): Rename from python-nav-block-end.
6070
191da00e
FEG
60712012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
6072
7f5331cc
MY
6073 * progmodes/python.el (python-shell-send-string-no-output):
6074 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
6075 future interactions (Bug#11868).
6076
4dc7c8d5 60772012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 6078
88ecaf8f
SM
6079 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
6080
ef501ef0
SM
6081 * emacs-lisp/elint.el (elint-find-args-in-code):
6082 Use help-function-arglist, so as to handle lexical byte-code.
6083
aa7aaf8f
SM
6084 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
6085 change (bug#11826).
6086
45fd731c
SM
60872012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
6088
2143fa32
SM
6089 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
6090 Avoid spuriously marking the buffer as modified because of c-is-sws.
6091
efc26dbe
SM
6092 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
6093 as not-a-comment (bug#11946).
6094
f5695c9a
SM
6095 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
6096 for uninterned vars.
6097
6098 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
6099 Use read-event since we don't really want to read chars but bytes.
6100
45fd731c
SM
6101 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
6102 $$..$$ but also $..$ using regexps (bug#11953).
6103 Use tex-verbatim for \url and \path.
6104 (tex-font-lock-keywords): Define as defconst like the others.
6105 (tex-common-initialization): Don't use font-lock-syntax-table any more.
6106
ddfc8813
RK
61072012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
6108
6109 * international/mule-cmds.el (ucs-insert): Make it an obsolete
6110 alias for insert-char.
6111
758e556a
FEG
61122012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
6113
6114 * progmodes/python.el: Simplified imenu implementation.
6115 (python-nav-jump-to-defun): Remove command.
6116 (python-mode-map): Use `imenu' instead.
6117 (python-nav-list-defun-positions-cache)
6118 (python-imenu-include-defun-type, python-imenu-make-tree)
6119 (python-imenu-subtree-root-label, python-imenu-index-alist):
6120 Remove vars.
6121 (python-nav-list-defun-positions, python-nav-read-defun)
6122 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
6123 (python-imenu-make-tree, python-imenu-create-index):
6124 Remove functions.
758e556a
FEG
6125 (python-mode): Update to interact with imenu by setting
6126 `imenu-extract-index-name-function' only.
6127
032d23ab
FEG
61282012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
6129
6130 * progmodes/python.el: Enhancements to navigation commands.
6131 (python-nav-backward-sentence)
6132 (python-nav-forward-sentence): Remove.
6133 (python-nav-backward-statement, python-nav-forward-statement)
6134 (python-nav-statement-start, python-nav-statement-end)
6135 (python-nav-backward-block, python-nav-forward-block)
6136 (python-nav-block-start, python-nav-block-end)
6137 (python-nav-forward-sexp-function)
6138 (python-info-current-line-comment-p)
6139 (python-info-current-line-empty-p): New functions.
6140 (python-indent-context): Use `python-nav-statement-start'.
6141
01795a1b
MA
61422012-07-16 Michael Albinus <michael.albinus@gmx.de>
6143
9328d9aa
MA
6144 * eshell/em-ls.el (eshell/ls): Use `apply'.
6145
6146 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
6147 multi-hops, instead of Tramp internals.
6148
01795a1b
MA
6149 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
6150
6151 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
6152 when F1 and F2 are located on different hosts.
6153
63408057
CY
61542012-07-14 Chong Yidong <cyd@gnu.org>
6155
6156 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
6157 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
6158 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
6159 (xterm-mouse--read-event-sequence-1000)
6160 (xterm-mouse--read-event-sequence-1006): New functions. For old
6161 mouse protocol, handle M-mouse-X events correctly.
6162 (xterm-mouse-event): New arg specifying mouse protocol.
6163 (turn-on-xterm-mouse-tracking-on-terminal)
6164 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
6165 sequence to toggle extended coordinates on newer XTerms.
6166 This appears to be harmless on terminals which do not support this.
63408057 6167
cd276f6e
LL
61682012-07-14 Leo Liu <sdl.web@gmail.com>
6169
28ca98ac
LL
6170 Add fringe bitmap indicators for flymake. (Bug#11253)
6171 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
6172 (flymake-make-overlay): New arg BITMAP.
6173 (flymake-error-bitmap, flymake-warning-bitmap)
6174 (flymake-fringe-indicator-position): New user variables.
6175
cd276f6e
LL
6176 * fringe.el: New bitmap exclamation-mark.
6177
04408072
JD
61782012-07-14 Jan Djärv <jan.h.d@swipnet.se>
6179
6180 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
6181 also (Bug#7879).
6182
b5cf7fc4
CY
61832012-07-14 Chong Yidong <cyd@gnu.org>
6184
6185 * electric.el (electric-pair-post-self-insert-function): Fix pair
6186 insertion in empty-region case (Bug#11520).
6187
be755c79
RT
61882012-07-14 Chong Yidong <cyd@gnu.org>
6189
45fd731c
SM
6190 * bindings.el: Consolidate ctl-x-r-map bindings.
6191 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
6192
6193 * rect.el, register.el: Move bindings to bindings.el.
6194
61952012-07-14 Reuben Thomas <rrt@sc3d.org>
6196
6197 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
6198
7f5b3198
AS
61992012-07-13 Andreas Schwab <schwab@linux-m68k.org>
6200
6201 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
6202
97662200
JB
62032012-07-13 Juanma Barranquero <lekktu@gmail.com>
6204
80185fed
JB
6205 * bindings.el (top): Use `mapc' instead of `mapcar'.
6206
97662200
JB
6207 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
6208
2bb1ae55
MA
62092012-07-13 Michael Albinus <michael.albinus@gmx.de>
6210
6211 * progmodes/sql.el (sql-comint): Suppress the check for program on
6212 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
6213 (Bug#11908)
6214
dea31bd3
CY
62152012-07-13 Chong Yidong <cyd@gnu.org>
6216
6217 * bindings.el: Assign a non-nil permanent-local property to
6218 per-buffer variables which lack a default value (Bug#11930).
6219
6220 * help-fns.el (describe-variable): In the "automatically becomes
6221 local" notice, take note of permanent-local variables.
6222
b68b3337
CY
62232012-07-13 Chong Yidong <cyd@gnu.org>
6224
6225 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
6226 to allow printing the message when called from Lisp.
6227
6228 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6229 Remove toggle-read-only.
6230
6231 * bs.el (bs-toggle-readonly):
45fd731c
SM
6232 * buff-menu.el (Buffer-menu-toggle-read-only):
6233 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
6234
6235 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
6236 Remove with-no-warnings around toggle-read-only.
6237 (ffap-read-only, ffap-read-only-other-window)
6238 (ffap-read-only-other-frame): Callers changed.
6239
6240 * help-mode.el: Don't require view package.
6241 (help-mode-finish): Set buffer-read-only instead of calling
6242 toggle-read-only.
6243
6244 * bindings.el (mode-line-toggle-read-only):
6245 * dired.el (dired-toggle-read-only):
6246 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
6247 with non-nil second arg.
6248
6249 * emacs-lisp/eieio-custom.el (eieio-customize-object):
6250 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
6251 directly.
6252
56bc1586
EZ
62532012-07-12 Eli Zaretskii <eliz@gnu.org>
6254
6255 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
6256 not incf.
6257
a464a6c7
SM
62582012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
6259
6260 More CL cleanups and reduction of use of cl.el.
6261 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
6262 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
6263 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
6264 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
6265 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
6266 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
6267 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
6268 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
6269 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
6270 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
6271 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
6272 * eshell/em-cmpl.el, eshell/em-banner.el:
6273 * calendar/parse-time.el: Use cl-lib.
6274 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
6275 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
6276 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
6277 * term/ns-win.el, term.el, shell.el, ps-samp.el:
6278 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
6279 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
6280 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
6281 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
6282 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
6283 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
6284 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
6285 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
6286 `lambda' rather than with `quote'.
6287 (eshell-do-opt): Adjust accordingly.
6288 (eshell-process-option): Simplify.
6289 * eshell/esh-var.el:
6290 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
6291 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
6292 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
6293 to `pcase--dontcare'.
6294 * emacs-lisp/cl.el (labels): Mark obsolete.
6295 (cl--letf, letf): Move to cl-lib.
6296 (cl--letf*, letf*): Remove.
6297 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
6298 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
6299 (cl-progv): Rewrite.
6300 (cl--letf, cl-letf): Move from cl.el.
6301 (cl-letf*): New macro.
6302 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
6303
7ad4afe1
MA
63042012-07-11 Michael Albinus <michael.albinus@gmx.de>
6305
6306 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
6307
9af57756
CY
63082012-07-11 Chong Yidong <cyd@gnu.org>
6309
6310 * vc/log-edit.el (log-edit-vc-backend): New variable.
6311 (log-edit): Doc fix.
6312
6313 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
6314 argument of log-edit to set up all local variables.
6315 (vc-start-logentry): New optional arg specifying VC backend.
6316
6317 * vc/vc.el (vc-checkin): Use it.
6318 (vc-deduce-fileset): Handle Log Edit buffers.
6319 (vc-diff): Make first argument optional too.
6320
6321 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
6322
8477cc7a
MA
63232012-07-10 Michael Albinus <michael.albinus@gmx.de>
6324
6325 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
6326 command, just in case. The function is not needed anymore.
6327 (eshell-external-command): Do not call `eshell-remote-command'.
6328
19faa8e8
SM
63292012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
6330
f58e0fd5
SM
6331 Reduce use of (require 'cl).
6332 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
6333 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
6334 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
6335 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
6336 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
6337 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
6338 * battery.el, avoid.el, abbrev.el: Use cl-lib.
6339 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
6340 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
6341 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
6342 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
6343 * calculator.el, autorevert.el, apropos.el: Don't require CL.
6344 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
6345 (byte-compile-unfold-bcf, byte-compile-check-variable):
6346 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
6347 (byte-compile-nilconstp):
6348 * emacs-lisp/autoload.el (make-autoload): Use pcase.
6349 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
6350
2519d43a
SM
6351 * emacs-lisp/gv.el (cond): Make it a valid place.
6352 (if): Simplify slightly.
6353
19faa8e8
SM
6354 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
6355 (pcase--self-quoting-p): New function.
6356 (pcase--u1): Use it.
6357
c4907a5e
GM
63582012-07-10 Glenn Morris <rgm@gnu.org>
6359
6360 * emacs-lisp/authors.el (authors-fixed-entries):
6361 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
6362
c4444d16
PE
63632012-07-09 Paul Eggert <eggert@cs.ucla.edu>
6364
6365 Rename configure.in to configure.ac (Bug#11603).
6366 * emacs-lisp/authors.el (authors-canonical-file-name):
6367 * progmodes/autoconf.el (autoconf-mode):
6368 Prefer configure.ac to configure.in.
6369
d75be97d
CY
63702012-07-08 Chong Yidong <cyd@gnu.org>
6371
01ac65bd
CY
6372 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
6373 Implement the mouse-1-click-follows-link handling properly.
6374
6375 * info.el (Info-link-keymap): Use follow-link mechanism for
6376 header-line links (Bug#374).
6377
d75be97d
CY
6378 * simple.el (deactivate-mark): Do not set the primary selection
6379 if another program has acquired it (Bug#11772).
6380
87a92845 63812012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
6382
6383 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
6384 (woman-decode-region): Replace escaped-escapes without destroying
6385 bold or underline (Bug#11552).
87a92845 6386 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 6387
621b9d6c
CY
63882012-07-07 Chong Yidong <cyd@gnu.org>
6389
6390 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
6391 (interprogram-cut-function, interprogram-paste-function):
6392 Mention that we typically mean the clipboard.
621b9d6c 6393
133a11fc
GM
63942012-07-06 Glenn Morris <rgm@gnu.org>
6395
0d27a45e
GM
6396 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
6397
133a11fc
GM
6398 * files.el (toggle-read-only): Restrict message to interactive use.
6399
07b151f1
MA
64002012-07-06 Michael Albinus <michael.albinus@gmx.de>
6401
6402 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
6403
6404 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
6405
211b896b
GM
64062012-07-06 Glenn Morris <rgm@gnu.org>
6407
50394322
GM
6408 * Makefile.in (compile-one-process): Rename from "recompile".
6409
211b896b
GM
6410 * Makefile.in (bzr-update): "compile" is the same as "recompile
6411 autoloads", but parallelizable, so use that instead.
6412
4737eec9
DG
64132012-07-06 Dmitry Gutov <dgutov@yandex.ru>
6414
6415 * window.el (quit-window): Always restore window height when
8137e7b3 6416 it's saved in quit-restore parameter (Bug#11810).
4737eec9 6417
226c3633 64182012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
6419
6420 * simple.el (kill-whole-line): Doc tweak.
6421
226c3633 64222012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
6423
6424 * files.el (file-relative-name): Compare file names
6425 case-insensitively if on MS-Windows or MS-DOS, or if
6426 read-file-name-completion-ignore-case is non-nil. Don't use
6427 case-fold-search for this purpose. (Bug#11827)
6428
4dc7c8d5
SM
64292012-07-17 Andreas Schwab <schwab@linux-m68k.org>
6430
6431 * calendar/cal-dst.el (calendar-current-time-zone):
6432 Return calendar-current-time-zone-cache if non-nil.
6433
64342012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 64352012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 6436
19faa8e8
SM
6437 * calendar/cal-dst.el (calendar-current-time-zone):
6438 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 6439
60198fc9
GM
64402012-07-06 Glenn Morris <rgm@gnu.org>
6441
6442 * Makefile.in (cvs-update): Remove old alias.
6443
957b3189
MA
64442012-07-05 Michael Albinus <michael.albinus@gmx.de>
6445
6446 Sync with Tramp 2.2.6-pre.
6447
6448 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
6449 compatible declaration.
6450
19faa8e8
SM
6451 * net/tramp-cmds.el (tramp-append-tramp-buffers):
6452 Protect `list-load-path-shadows' call.
957b3189
MA
6453
6454 * net/tramp-compat.el (top): Require packages, which aren't
6455 autoloaded anymore for XEmacs. Protect call of
6456 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
6457 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
6458 it hurts at least for SXEmacs.
6459 (tramp-compat-temporary-file-directory): In XEmacs, there is no
6460 standard-value for `temporary-file-directory'.
6461
6462 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
6463 Redirect stderr to /dev/null.
6464 (tramp-sh-handle-write-region): uid and gid can be floats.
6465 Reported by Russell Sim <russell.sim@gmail.com>.
6466 (tramp-sh-handle-vc-registered): Hide errors.
6467 (tramp-vc-file-name-handler): Use dummy results for `process-file'
6468 and `start-file-process'.
6469 (tramp-maybe-open-connection): Check also whether `non-essential'
6470 is bound.
6471
566df3fc
CY
64722012-07-04 Chong Yidong <cyd@gnu.org>
6473
6474 * xml.el (xml--parse-buffer): Use xml-syntax-table.
6475 (xml-parse-tag): Likewise, and avoid changing entity tables.
6476 (xml-syntax-table): Define from scratch, making sure not to give
6477 x2000 and other Unicode spaces whitespace syntax, since those are
6478 not spaces in XML.
6479 (xml-parse-fragment): Delete unused function.
6480 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
6481 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
6482 (xml-entity-ref, xml-pe-reference-re)
6483 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
6484 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
6485 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
6486 (xml-entity-value-re): Use syntax references in regexps where
6487 possible; no need to define inside a let-binding.
6488 (xml-parse-dtd): Use xml-pe-reference-re.
6489 (xml-entity-or-char-ref-re): New defconst.
6490 (xml-parse-string, xml-substitute-special): Use it.
6491
30eabd7a
SM
64922012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
6493
0781098a
SM
6494 * files.el (locate-dominating-file): Allow `name' to be a predicate.
6495 (find-file--read-only): New function.
6496 (find-file-read-only, find-file-read-only-other-window)
6497 (find-file-read-only-other-frame): Use it.
6498 (insert-file-contents-literally): Don't `fset'.
6499 (get-free-disk-space): Use locate-dominating-file.
6500
b5771c0d
SM
6501 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
6502 function is already compiled.
6503
30eabd7a
SM
6504 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
6505
b4886f6e
MA
65062012-07-03 Michael Albinus <michael.albinus@gmx.de>
6507
6508 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
6509 files on the same host.
6510
b9d82339
AS
65112012-07-03 Andreas Schwab <schwab@linux-m68k.org>
6512
6513 * help-fns.el (describe-function-1): Only call
6514 help-fns--autoloaded-p when we have a file name. (Bug#11848)
6515
a76e6535
CY
65162012-07-03 Chong Yidong <cyd@gnu.org>
6517
6518 * xml.el: Protect parser against XML bombs.
6519 (xml-entity-expansion-limit): New variable.
6520 (xml-parse-string, xml-substitute-special): Use it.
6521 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
6522
b544fef2
GM
65232012-07-03 Glenn Morris <rgm@gnu.org>
6524
6525 * progmodes/bug-reference.el (bug-reference-bug-regexp):
6526 Allow linking to specific messages in debbugs reports (eg 123#5).
6527
a7aef6f5
CY
65282012-07-02 Chong Yidong <cyd@gnu.org>
6529
6530 * xml.el: Fix entity and character reference expansion, allowing
6531 them to expand into markup as per XML spec.
6532 (xml-default-ns): New variable.
6533 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
6534 (xml-parse-region): Make first two arguments optional.
6535 Discard text properties.
6536 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
6537 All callers changed.
a7aef6f5
CY
6538 (xml-parse-tag): Call xml-parse-tag-1. For backward
6539 compatibility, this function should not modify buffer contents.
6540 (xml-parse-tag-1): Fix opening-tag regexp.
6541 (xml-parse-string): Rewrite, handling entity and character
6542 references properly.
6543 (xml--entity-replacement-text): Signal an error if a parameter
6544 entity is undefined.
6545
3df31c9f
SM
65462012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
6547
2b5208f1
SM
6548 * comint.el (comint-output-filter): Filter out repeated prompts.
6549
3df31c9f
SM
6550 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
6551 and file-name-absolute-p.
6552 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
6553 internal calls.
6554
e3ac1281
PE
65552012-07-02 Paul Eggert <eggert@cs.ucla.edu>
6556
6557 Spelling fixes.
6558 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
6559 Rename from byte-compile--refiy-function. All uses changed.
6560
fbf2e7ad
CY
65612012-07-01 Chong Yidong <cyd@gnu.org>
6562
6563 * xml.el (xml--parse-buffer): New function. Move most of
6564 xml-parse-region here.
6565 (xml-parse-region): Copy region into a temporary buffer, since
6566 parameter entity substitution requires changing buffer contents.
6567 Use xml--parse-buffer.
6568 (xml-parse-file): Use xml--parse-buffer.
6569 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 6570 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 6571
9bf0aa15
GM
65722012-06-30 Glenn Morris <rgm@gnu.org>
6573
bbce2853
GM
6574 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
6575
9bf0aa15
GM
6576 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
6577 Remove outdated and unnecessary dbus declarations.
6578
0d23c240
EZ
65792012-06-30 Eli Zaretskii <eliz@gnu.org>
6580
6581 * emacs-lisp/timer.el (timer-until): Subtract results of
6582 float-time, instead of taking float-time of the result of
6583 time-subtract, since float-time signals an error for negative time
6584 arguments.
6585
b3218de1
CY
65862012-06-30 Chong Yidong <cyd@gnu.org>
6587
6588 * xml.el (xml-*-re): Convert defvars into defconsts, and
6589 eval-and-compile them so eval-and-compile works on derivatives.
6590 (xml--entity-replacement-text): Use eval-and-comple.
6591
a40c87a0
MA
65922012-06-30 Michael Albinus <michael.albinus@gmx.de>
6593
6594 * vc/vc-git.el (vc-git-registered): Use cache property
6595 `git-registered'.
6596 (vc-git-mode-line-string): Call `vc-working-revision' instead of
6597 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 6598 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 6599
ac87de97
DG
66002012-06-30 Dmitry Gutov <dgutov@yandex.ru>
6601
6602 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 6603 removed (likely outside Emacs). (Bug#11757)
ac87de97 6604
ac10fe06
SM
66052012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
6606
3df31c9f 6607 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 6608
7f3fbd5d
CY
66092012-06-30 Chong Yidong <cyd@gnu.org>
6610
6611 * xml.el: Implement XML parameter entities.
6612 (xml-parameter-entity-alist): New variable.
6613 (xml-parse-region, xml-parse-fragment): Preserve previous values
6614 of xml-entity-alist and xml-parameter-entity-alist, so that
6615 repeated calls on different documents do not change them.
6616 (xml-parse-tag): Fix doctype regexp.
6617 (xml--entity-replacement-text): New function.
6618 (xml-parse-dtd): Use it. Don't handle system entities; doing that
6619 properly requires url retrieval which is unimplemented.
6620 (xml-escape-string): Doc fix.
6621
3cfbebba
SM
66222012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
6623
6624 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
6625
2af3565e
DA
66262012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
6627
6628 * fringe.el (fringe-mode): Doc fix.
6629
929df0e7
MA
66302012-06-29 Michael Albinus <michael.albinus@gmx.de>
6631
6632 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
6633 is non-nil.
6634 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
6635 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
6636
c8d3a25c 66372012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 6638
c8d3a25c
GM
6639 * calendar/cal-dst.el (calendar-current-time-zone):
6640 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 6641
c8d3a25c 66422012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
6643
6644 * progmodes/which-func.el (which-func-format):
6645 Add mouse-face. (Bug#11698)
6646
c8d3a25c
GM
66472012-06-29 Leo Liu <sdl.web@gmail.com>
6648
6649 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
6650
66512012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
6652
6653 * minibuffer.el (minibuffer-confirm-exit-commands):
6654 Add completion-at-point (bug#11725).
6655
66562012-06-29 Glenn Morris <rgm@gnu.org>
6657
6658 * progmodes/f90.el (f90-font-lock-keywords-2):
6659 Add some preprocessor elements. (Bug#10499)
6660
66612012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
6662
6663 * progmodes/cperl-mode.el (cperl-update-syntaxification):
6664 Use syntax-propertize (bug#11739).
6665
2badeec4
JB
66662012-06-28 Juanma Barranquero <lekktu@gmail.com>
6667
6668 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
6669
ae4969c2
JD
66702012-06-28 Julien Danjou <julien@danjou.info>
6671
6672 * term.el (term-handle-colors-array): Use a set of new faces to
6673 color the terminal. Also uses :inverse-video property.
6674 (term-default-fg-color): Set to nil by default, deprecate in favor
6675 of `term-face'.
6676 (term-default-bg-color): Set to nil by default, deprecate in favor
6677 of `term-face'.
6678 (term-current-face): Use `term-face' by default.
6679 (term-bold-attribute): Variable deleted.
6680
1c9bd870
GM
66812012-06-28 Glenn Morris <rgm@gnu.org>
6682
6683 * simple.el (completion-list-mode-finish):
6684 Don't use toggle-read-only. (Since completion-list-mode has
6685 a special mode-class, it wasn't doing anything extra anyway.)
6686
c207708c
SM
66872012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
6688
6689 Make inlining of other-mode interpreted functions work (bug#11799).
6690 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
6691 (byte-compile): Use it to fix compilation of lexical-binding closures.
6692 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
6693 function, if needed.
6694
3fd56834
SM
66952012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
6696
04901786
SM
6697 * help-mode.el (help-make-xrefs): Don't just withstand
6698 cyclic-variable-indirection but any error in documentation-property.
6699
1ec4b7b2
SM
6700 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
6701 memory use.
6702 * bindings.el (bindings--define-key): New function.
6703 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
6704 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
6705 * bindings.el: Use it to purecopy define-key bindings.
6706
e309e2a5
SM
6707 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
6708
d5c6faf9
SM
6709 * emacs-lisp/cl.el (flet): Mark obsolete.
6710 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
6711 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
6712 * progmodes/js.el (js-c-fill-paragraph):
6713 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
6714 (ebrowse-switch-member-buffer-to-derived-class):
6715 * play/5x5.el (5x5-solver): Use cl-flet.
6716
6e9590e2
SM
6717 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
6718 (cl--symbol-function): New macro.
6719 (cl--letf, cl--letf*): Use it.
6720
3fd56834
SM
6721 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
6722 Strip "toggle-" if any.
6723
35ff222c
GM
67242012-06-27 Glenn Morris <rgm@gnu.org>
6725
1ba6038a
GM
6726 * info.el (Info-default-directory-list): Move here from paths.el.
6727 * paths.el: Remove file, which is now empty.
6728 * loadup.el: No longer load "paths".
6729
0ea0e51b
GM
6730 * custom.el (custom-initialize-delay): Doc fix.
6731
35ff222c
GM
6732 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
6733 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
6734 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
6735 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
6736 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
6737 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
6738 * eshell/eshell.el (eshell-defgroup): Remove alias.
6739
c89926a5
CY
67402012-06-27 Chong Yidong <cyd@gnu.org>
6741
6742 * help.el (help-enable-auto-load): New variable.
6743
6744 * help-fns.el (help-fns--autoloaded-p): New function.
6745 (describe-function-1): Refer to a function as "autoloaded" if it
6746 was autoloaded at any time in the past. Perform autoloading if
6747 help-enable-auto-load is non-nil.
6748
cc06e7e7
EZ
67492012-06-26 Eli Zaretskii <eliz@gnu.org>
6750
6751 * makefile.w32-in (compile, compile-always): Depend on
6752 update-subdirs, not on subdirs.el. Otherwise, several different
6753 sub-targets of 'bootstrap' running in parallel could
6754 simultaneously write to subdirs.el, producing a garbled file.
6755
d2c32364
SS
67562012-06-26 Sam Steingold <sds@gnu.org>
6757
6758 * files.el (file-name-base): New convenience function.
0d14cc21
GM
6759 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
6760 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
6761 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
6762 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
6763 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
6764 * textmodes/tex-mode.el: Use it.
6765 Did not touch cedet and org because they are maintained elsewhere.
6766
5cf983b2
MR
67672012-06-26 Martin Rudalics <rudalics@gmx.at>
6768
6769 * calendar/calendar.el (calendar-exit): Don't try to delete or
6770 iconify last frame. See:
6771 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
6772
8c4f2952
JD
67732012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
6774
6775 * server.el (server-process-filter): Remember dir in the
6776 process's `server-client-directory' properties.
6777
772b2e2c
CY
67782012-06-24 Chong Yidong <cyd@gnu.org>
6779
6780 * xml.el (xml-parse-tag): Correctly handle comment embedded in
6781 non-tag text.
6782
711b11e1
JB
67832012-06-23 Juanma Barranquero <lekktu@gmail.com>
6784
6785 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
6786
dc5d230c
SM
67872012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
6788
6789 * help-fns.el (describe-variable): Don't croak when doc is not found.
6790 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
6791 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
6792 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
6793 * emacs-lisp/smie.el (smie-next-sexp): CSE.
6794 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
6795 ((lambda ..) ..).
6796 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
6797
136e1c1d
CY
67982012-06-23 Chong Yidong <cyd@gnu.org>
6799
e8c1cabf
CY
6800 * info.el (Info-mouse-follow-link): Accept symbol values of
6801 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
6802 (Info-fontify-node): Use Info-link-keymap for all navigation
6803 buttons, with link-args property to perform the desired action.
6804 (Info-link-keymap): Doc fix.
6805 (Info-next-link-keymap, Info-prev-link-keymap)
6806 (Info-up-link-keymap): Delete now-unused keymaps.
6807
0e9e6c6a
CY
68082012-06-23 Chong Yidong <cyd@gnu.org>
6809
05e89fea
CY
6810 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
6811
0e9e6c6a
CY
6812 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
6813 system abbrevs.
6814
6815 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
6816
e33c6771
SM
68172012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
6818
b68581e2
SM
6819 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
6820 (bug#11719).
6821
e33c6771
SM
6822 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
6823 the requote function doesn't work properly (bug#11714).
6824
7117e105
GM
68252012-06-23 Glenn Morris <rgm@gnu.org>
6826
6827 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
6828
36cec983
SM
68292012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6830
6831 Further GV/CL cleanups.
6832 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
6833 gv-expander.
6834 (gv--defun-declaration): New function.
6835 (defun-declarations-alist): Use it.
6836 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
6837 (gv-place): Autoload.
6838 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
6839 original definition of dotimes and dolist.
6840 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
6841 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
6842 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
6843 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
6844 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
6845 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
6846 to the function's definition.
6847 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
6848 * window.el:
6849 * files.el:
6850 * faces.el:
6851 * env.el: Don't use CL.
6852
d35af63c
PE
68532012-06-22 Paul Eggert <eggert@cs.ucla.edu>
6854
6855 Support higher-resolution time stamps (Bug#9000).
6856
6857 * calendar/time-date.el (with-decoded-time-value): New arg
6858 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
6859 (encode-time-value): New optional arg PICO. New type 3.
6860 (time-to-seconds) [!float-time]: Support the new picoseconds
6861 component if it's used.
6862 (seconds-to-time, time-subtract, time-add):
6863 Support ps-resolution time stamps as well.
6864
6865 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
6866 (timerp): Timer vectors now have length 9, not 8.
6867 (timer--time): Support new-style (4-part) time stamps.
6868 (timer-next-integral-multiple-of-time): Time stamps now have
6869 picosecond resolution, so take a bit more care about rounding.
6870 (timer-relative-time, timer-inc-time): New optional arg psecs.
6871 (timer-set-time-with-usecs): Set psecs to 0.
6872 (timer--activate): Check psecs component, too.
6873
6874 * proced.el (proced-time-lessp): Support ps-resolution stamps.
6875
ac77b21a
SM
68762012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6877
f143bfe3
SM
6878 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
6879 Move the non-essential binding to the post/pre-command-hook where it is
6880 more obviously correct.
6881
ac77b21a
SM
6882 * subr.el (read-passwd): Don't use a history at all.
6883 * savehist.el (savehist-save): Remove password saved accidentally
6884 because of the above bug.
6885
76386c5a
BG
68862012-06-22 Bastien Guerry <bzg@gnu.org>
6887
6888 * files.el (toggle-read-only): Display a message telling whether
6889 the buffer is read-only or not (bug#11726).
6890
2ee3d7f0
SM
68912012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6892
6893 * emacs-lisp/gv.el: New file.
6894 * subr.el (push, pop): Extend to generalized variables.
6895 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
6896 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
6897 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
6898 gv-define-simple-setter, and gv-define-expander.
6899 Remove setf-methods defined in gv. Rename cl-setf -> setf.
6900 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
6901 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
6902 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
6903 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
6904 gv-letplace.
6905 (cl-defstruct): Don't define setf-method any more.
6906 * emacs-lisp/cl.el (flet): Don't autoload.
6907 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
6908 (define-setf-expander, defsetf, define-modify-macro)
6909 (cl-struct-setf-expander): Move from cl-lib.el.
6910 * emacs-lisp/syntax.el:
6911 * emacs-lisp/ewoc.el:
6912 * emacs-lisp/smie.el:
6913 * emacs-lisp/cconv.el:
6914 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
6915 (timer--time): Use gv-define-simple-setter.
6916 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
6917 to avoid coding-system problems in subr.el. Adjust all users.
6918 (macroexp--maxsize, macroexp-small-p): New functions.
6919 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
6920 * scroll-bar.el (scroll-bar-mode):
6921 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
6922 (normal-erase-is-backspace-mode): Don't use the `eq' place.
6923 * winner.el (winner-configuration, winner-make-point-alist)
6924 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
6925 * files.el (locate-file-completion-table): Avoid list*.
6926
c5695d1d
CY
69272012-06-22 Chong Yidong <cyd@gnu.org>
6928
6929 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
6930 (dired-create-files): Doc fix (Bug#11329).
6931 (dired-do-copy): Doc fix (Bug#11334).
6932 (dired-mark-read-string): Doc fix (Bug#11553).
6933
2ee3d7f0
SM
6934 * dired.el (dired-recursive-copies, dired-recursive-deletes):
6935 Doc fix (Bug#11326).
c5695d1d
CY
6936 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
6937 (dired-dwim-target): Doc fix.
6938
6939 * wdired.el (wdired-mode): Doc fix.
6940
89b5595a
GM
69412012-06-22 Glenn Morris <rgm@gnu.org>
6942
575db3f1
GM
6943 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
6944 (pcmpl-rpm-cache-stamp-file): New constant.
6945 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
6946 (pcmpl-rpm-packages): Optionally cache list of packages.
6947
a4c8dd51
GM
6948 * pcmpl-rpm.el (pcmpl-rpm): New group.
6949 (pcmpl-rpm-query-options): New option.
6950 (pcmpl-rpm-packages): No need to inline it.
6951 Use pcmpl-rpm-query-options.
6952
89b5595a
GM
6953 * calendar/calendar.el (calendar-in-read-only-buffer):
6954 Avoid some needless mode changes.
6955
e76f0800
CY
69562012-06-21 Chong Yidong <cyd@gnu.org>
6957
6958 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
6959 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 6960 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 6961
297a8f1d
CY
69622012-06-20 Chong Yidong <cyd@gnu.org>
6963
6964 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
6965
d34c18b1
DR
69662012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
6967
6968 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
6969 (bug#11201).
6970
32f7f28e
CY
69712012-06-20 Chong Yidong <cyd@gnu.org>
6972
6973 * term.el (term-window-width): Handle the case of a missing right
6974 fringe (Bug#8837).
6975 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
6976 (term-mode): Use define-derived-mode. Minor cleanups.
6977 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
6978 (term-move-columns, term-insert-char, term-emulate-terminal)
6979 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 6980
493c6688
MA
69812012-06-20 Michael Albinus <michael.albinus@gmx.de>
6982
d34c18b1
DR
6983 * net/ange-ftp.el (ange-ftp-get-passwd):
6984 Bind `enable-recursive-minibuffers'.
493c6688
MA
6985 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
6986
3f06ecf4
DR
69872012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
6988
6989 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
6990
68f12411
GM
69912012-06-19 Glenn Morris <rgm@gnu.org>
6992
6993 * progmodes/python.el (python-mode): Derive from prog-mode.
6994
b3820318
KG
69952012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
6996
6997 * emulation/edt.el (edt-default-menu-bar-update-buffers)
6998 (edt-user-menu-bar-update-buffers): New functions.
6999 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
7000
c6bf3022
CY
70012012-06-19 Chong Yidong <cyd@gnu.org>
7002
7003 * subr.el (with-selected-window): Preserve the selected window's
7004 terminal's top-frame (Bug#4702).
7005
7006 * window.el (save-selected-window): Likewise.
7007
25f09295
SM
70082012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7009
7010 * progmodes/python.el (python-rx-constituents): Move backquote.
7011 (python-skeleton-define, python-define-auxiliary-skeleton):
7012 Use `declare'.
7013
6b11952a
MA
70142012-06-18 Michael Albinus <michael.albinus@gmx.de>
7015
7016 * minibuffer.el (read-file-name-default): Revert the patch from
7017 2012-06-17.
7018
ee4b1330
SM
70192012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7020
7021 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
7022 (pcase--u1, pcase--q1): Don't use apply-partially.
7023
35647f79
GM
70242012-06-18 Glenn Morris <rgm@gnu.org>
7025
7026 * progmodes/python.el (python-proc, python-buffer)
7027 (python-send-receive, python-send-string): Fix obsolete versions.
7028
24b0cff0
MR
70292012-06-18 Martin Rudalics <rudalics@gmx.at>
7030
7031 * window.el (special-display-p): Completely remove stringp
7032 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
7033
29855149
MA
70342012-06-17 Michael Albinus <michael.albinus@gmx.de>
7035
7036 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
7037
7038 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
7039
7040 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
7041 * net/tramp-sh.el (tramp-maybe-open-connection):
7042 Throw if `non-essential' is non-nil.
7043
07463363
MR
70442012-06-17 Martin Rudalics <rudalics@gmx.at>
7045
7046 * window.el (special-display-p): Signal an error if BUFFER-NAME
7047 is not a string (Bug#11713).
7048
48d1354e
PE
70492012-06-17 Paul Eggert <eggert@cs.ucla.edu>
7050
7051 * progmodes/python.el (python-info-beginning-of-backslash):
7052 Rename from python-info-beginning-of-backlash, as a spelling fix.
7053
eb4a8a9a
CY
70542012-06-17 Chong Yidong <cyd@gnu.org>
7055
7056 * term.el (term-emulate-terminal): If term-check-size is called,
7057 move point to the process mark without resetting point (Bug#4635).
7058
ddfbf826 70592012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
7060
7061 * international/mule-cmds.el (mule-menu-keymap)
7062 (set-language-environment, set-locale-environment): Doc tweaks.
7063
9b0e3eba
AA
70642012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
7065
7066 * cus-face.el (custom-face-attributes): Add wave-style underline
7067 attribute.
7068 * faces.el (set-face-attribute): Update docstring to describe
7069 wave-style underline attribute.
7070
771e3eae
CY
70712012-06-16 Chong Yidong <cyd@gnu.org>
7072
7073 * term/xterm.el (terminal-init-xterm): Discard input before
7074 querying background mode (Bug#10959).
7075
7ae2ea10
SM
70762012-06-16 Stefan Merten <smerten@oekonux.de>
7077
7078 * textmodes/rst.el: Added and corrected some comments.
7079 (rst-re-alist-def): Improve symbol syntax.
7080 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
7081 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
7082 (rst-official-version, rst-official-cvs-rev): Update version
7083 information.
7ae2ea10 7084
b6974efa
JB
70852012-06-15 Juanma Barranquero <lekktu@gmail.com>
7086
7087 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
7088 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
7089
8826d473
GM
70902012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
7091
7092 * progmodes/python.el: New python.el merge.
7093 (python-guess-indent): Obsolete var.
7094 (python-indent-guess-indent-offset): New defcustom.
7095 (python-indent): Obsolete var.
7096 (python-indent-offset): New defcustom.
7097 (python-python-command, python-jython-command): Delete var.
7098 (python-shell-interpreter): New defcustom.
7099 (python-pdbtrack-do-tracking-p): Delete var.
7100 (python-pdbtrack-activate): New defcustom.
7101 (python-use-skeletons): Obsolete var.
7102 (python-skeleton-autoinsert): New defcustom.
7103 (inferior-python-filter-regexp, python-continuation-offset)
7104 (python-honour-comment-indentation, python-indent-string-contents)
7105 (python-jython-packages, python-mode-hook)
7106 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
7107 (python-shell-prompt-alist)
7108 (python-source-modes): Delete defcustoms.
7109 (python-check-buffer-name, python-eldoc-setup-code)
7110 (python-eldoc-string-code, python-ffap-setup-code)
7111 (python-ffap-string-code, python-fill-comment-function)
7112 (python-fill-decorator-function, python-fill-paren-function)
7113 (python-fill-string-function, python-imenu-include-defun-type)
7114 (python-imenu-make-tree, python-imenu-subtree-root-label)
7115 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
7116 (python-shell-compilation-regexp-alist)
7117 (python-shell-completion-module-string-code)
7118 (python-shell-completion-pdb-string-code)
7119 (python-shell-completion-setup-code)
7120 (python-shell-completion-string-code)
7121 (python-shell-enable-font-lock, python-shell-exec-path)
7122 (python-shell-extra-pythonpaths)
7123 (python-shell-internal-buffer-name, python-shell-interpreter-args)
7124 (python-shell-process-environment)
7125 (python-shell-prompt-block-regexp)
7126 (python-shell-prompt-output-regexp)
7127 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
7128 (python-shell-send-setup-max-wait, python-shell-setup-codes)
7129 (python-shell-virtualenv-path): New defcustoms.
7130 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
7131 (inferior-python-mode-syntax-table, python--prompt-regexp)
7132 (python-buffer, python-command python-python-command)
7133 (python-default-template, python-imports, python-indent-index)
7134 (python-indent-list, python-indent-list-length)
7135 (python-mode-running, python-pdbtrack-is-tracking-p)
7136 (python-preoutput-continuation, python-preoutput-leftover)
7137 (python-preoutput-result, python-preoutput-skip-next-prompt)
7138 (python-prev-dir/file, python-recursing)
7139 (python-saved-check-command, python-version-checked)
7140 (python-which-func-length-limit)
7141 (view-return-to-alist): Delete vars.
7142 (python-check-custom-command, python-dotty-syntax-table)
7143 (python-imenu-index-alist, python-indent-current-level)
7144 (python-indent-dedenters, python-indent-levels)
7145 (python-nav-beginning-of-defun-regexp)
7146 (python-nav-list-defun-positions-cache)
7147 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
7148 (python-shell-internal-buffer)
7149 (python-skeleton-available): New vars.
7150 (def-python-skeleton): Delete macro.
7151 (python-skeleton-define): New macro.
7152 (python-define-auxiliary-skeleton, python-rx): New macros.
7153 (python-insert-class): Delete command.
7154 (python-skeleton-class): New command.
7155 (python-insert-def): Delete command.
7156 (python-skeleton-def): New command.
7157 (python-insert-for): Delete command.
7158 (python-skeleton-for): New command.
7159 (python-insert-if): Delete command.
7160 (python-skeleton-if): New command.
7161 (python-insert-try/except, python-insert-try/finally): Delete commands.
7162 (python-skeleton-try): New command.
7163 (python-insert-while): Delete command.
7164 (python-skeleton-while): New command.
7165 (python-backspace): Delete command.
7166 (python-indent-dedent-line-backspace): New command.
7167 (python-electric-colon): Delete command.
7168 (python-indent-electric-colon): New command.
7169 (python-guess-indent): Delete command.
7170 (python-indent-guess-indent-offset): New command.
7171 (python-shift-left): Delete command.
7172 (python-indent-shift-left): New command.
7173 (python-shift-right): Delete command.
7174 (python-indent-shift-right): New command.
7175 (python-find-function): Delete command.
7176 (python-nav-jump-to-defun): New command.
7177 (python-next-statement): Delete command.
7178 (python-nav-forward-sentence): New command.
7179 (python-previous-statement): Delete command.
7180 (python-nav-backward-sentence): New command.
7181 (python-fill-paragraph): Delete command.
7182 (python-fill-paragraph-function): New command.
7183 (python-send-buffer): Delete command.
7184 (python-shell-send-buffer): New command.
7185 (python-send-defun): Delete command.
7186 (python-shell-send-defun): New command.
7187 (python-send-region, python-send-region-and-go): Delete commands.
7188 (python-shell-send-region)
7189 (python-shell-switch-to-shell): New commands.
7190 (python-send-string): Delete command.
7191 (python-shell-send-string): New command.
7192 (python-switch-to-python): Delete command.
7193 (python-shell-switch-to-shell): New command.
7194 (python-describe-symbol): Delete command.
7195 (python-eldoc-at-point): New command.
7196 (python--set-prompt-regexp, python-args-to-list)
7197 (python-after-info-look, python-check-version)
7198 (python-check-comint-prompt, python-find-imports)
7199 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
7200 (python-unload-function, python-expand-template)
7201 (python-maybe-jython, python-preoutput-filter)
7202 (python-pdbtrack-get-source-buffer)
7203 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
7204 (python-pdbtrack-toggle-stack-tracking)
7205 (python-pdbtrack-track-stack-file, python-initial-text)
7206 (python-first-word, python-comment-line-p, python-send-command)
7207 (python-setup-brm, python-sentinel, python-set-proc)
7208 (python-skip-out, python-input-filter, python-outdent-p)
7209 (python-outline-level, python-backslash-continuation-line-p)
7210 (python-end-of-block, python-end-of-statement, python-mark-block)
7211 (python-beginning-of-block, python-beginning-of-statement)
7212 (python-blank-line-p, python-beginning-of-string)
7213 (python-open-block-statement-p): Delete functions.
7214 (python-indent-line, python-indent-line-1): Delete functions.
7215 (python-indent-line): New function.
7216 (python-indentation-levels): Delete function.
7217 (python-indent-calculate-levels): New function.
7218 (python-proc): Delete function.
7219 (python-shell-get-process): New function.
7220 (python-send-receive): Delete function.
7221 (python-shell-send-string-no-output): New function.
7222 (python-module-path): Delete function.
7223 (python-ffap-module-path): New function.
7224 (python-completion-at-point)
7225 (python-symbol-completions): Delete functions.
7226 (python-completion-complete-at-point): New function.
7227 (python-load-file): Delete function.
7228 (python-shell-send-file): New function.
7229 (python-calculate-indentation): Delete function.
7230 (python-indent-calculate-indentation): New function.
7231 (python-skip-comments/blanks): Delete function.
7232 (python-util-forward-comment): New function.
7233 (python-continuation-line-p): Delete function.
7234 (python-info-continuation-line-p): New function.
7235 (python-which-func, python-current-defun): Delete function.
7236 (python-info-current-defun): New function.
7237 (python-beginning-of-defun): Delete function.
7238 (python-nav-beginning-of-defun): New function.
7239 (python-close-block-statement-p)
7240 (python-block-end-p): Delete function.
7241 (python-info-closing-block): New function.
7242 (python-comint-output-filter-function)
7243 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
7244 (python-fill-comment, python-fill-decorator, python-fill-paren)
7245 (python-fill-string, python-imenu-make-element-tree)
7246 (python-imenu-make-tree, python-imenu-tree-assoc)
7247 (python-indent-context, python-indent-dedent-line)
7248 (python-indent-line-function)
7249 (python-indent-post-self-insert-function)
7250 (python-indent-toggle-levels)
7251 (python-info-assignment-continuation-line-p)
7252 (python-info-beginning-of-backlash)
7253 (python-info-block-continuation-line-p)
7254 (python-info-closing-block-message)
7255 (python-info-line-ends-backslash-p)
7256 (python-info-looking-at-beginning-of-defun)
7257 (python-info-ppss-context, python-info-ppss-context-type)
7258 (python-nav-list-defun-positions, python-nav-read-defun)
7259 (python-nav-sentence-end, python-nav-sentence-start)
7260 (python-pdbtrack-comint-output-filter-function)
7261 (python-pdbtrack-set-tracked-buffer)
7262 (python-shell-calculate-exec-path)
7263 (python-shell-calculate-process-environment)
7264 (python-shell-completion--do-completion-at-point)
7265 (python-shell-completion--get-completions)
7266 (python-shell-completion-complete-at-point)
7267 (python-shell-completion-complete-or-indent)
7268 (python-shell-get-or-create-process)
7269 (python-shell-get-process-name)
7270 (python-shell-internal-get-or-create-process)
7271 (python-shell-internal-get-process-name)
7272 (python-shell-internal-send-string, python-shell-make-comint)
7273 (python-shell-parse-command, python-shell-send-setup-code)
7274 (python-skeleton-add-menu-items)
7275 (python-util-clone-local-variables, python-util-position)
7276 (run-python-internal, python-indentation-levels)
7277 (python-nav-beginning-of-defun)
7278 (python-completion-complete-at-point): New functions.
7279 (run-python): Change arguments. New API requirements.
7280
4302f5ba
SM
72812012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7282
f38ea36d
SM
7283 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
7284 (bug#11649).
7285
7286 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
7287 (macroexp--expand-all): Use it.
7288
4302f5ba
SM
7289 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
7290 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
7291 Use `cl-function' instead.
7292
33377562
JB
72932012-06-14 Juanma Barranquero <lekktu@gmail.com>
7294
7295 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
7296 Suggested by Stefan Monnier while discussing bug#11657.
7297
54c5ba1a
SS
72982012-06-14 Sam Steingold <sds@gnu.org>
7299
7300 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
7301
f9f1b1fe
AS
73022012-06-14 Andreas Schwab <schwab@linux-m68k.org>
7303
7304 * play/doctor.el (doctor-doc): Remove parameter and use
7305 doctor-sent instead of sent.
7306 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
7307
a81068ba
SM
73082012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7309
5a315f9c
SM
7310 * files.el: Require cl-lib.
7311 (file-name-non-special): Replace case -> cl-case.
7312
7313 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
7314
a81068ba
SM
7315 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
7316 mapping from #' to function*.
7317
8cca9703
CY
73182012-06-13 Chong Yidong <cyd@gnu.org>
7319
7320 * mouse.el (mouse-drag-track): Do not set the mark if the user
7321 releases the mouse without selecting anything (Bug#11588).
7322
a12ac9d7
SM
73232012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7324
ccf1dc18
SM
7325 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
7326 as well (bug#11646).
7327
ef62b23d
SM
7328 * loadup.el: Count byte-code functions as well.
7329
c4c8444a
SM
7330 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
7331 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
7332
a12ac9d7
SM
7333 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
7334 (bug#11649). Add cl-defun and cl-defmacro.
7335
87e6e64f
DA
73362012-06-13 Drew Adams <drew.adams@oracle.com>
7337
7338 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
7339 Fix last change.
7340
682cefaf
MA
73412012-06-13 Michael Albinus <michael.albinus@gmx.de>
7342
7343 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
7344 Otherwise, it blocks in batch mode.
7345
773e1f08
JB
73462012-06-13 Juanma Barranquero <lekktu@gmail.com>
7347
7348 * help-mode.el (bookmark-make-record-default): Declare.
7349
60057926
CY
73502012-06-13 Chong Yidong <cyd@gnu.org>
7351
7352 * emacs-lisp/package.el (list-packages): Compute a list of
7353 packages that are newly-available since the last list-packages
7354 invocation.
7355 (package-menu--new-package-list): New var.
7356 (package-menu--generate, package-menu--print-info)
7357 (package-menu--status-predicate, package-menu-mark-install):
7358 Handle new status label "new".
7359
ad4d226c
SM
73602012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7361
7362 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
7363 conversion to backquotes.
7364
f1a4e679
CY
73652012-06-12 Chong Yidong <cyd@gnu.org>
7366
7367 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
7368 Rename from gud-inhibit-global-bindings.
7369
7370 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
7371
7372 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
7373 hook from nxml-glyph-set-hook.
7374
7375 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
7376 declaration.
7377
7378 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
7379
7380 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
7381 Convert to defcustom.
7382
0c9e42b5
DA
73832012-06-12 Drew Adams <drew.adams@oracle.com>
7384
7385 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
7386 New functions.
7387 (help-mode): Use them.
7388
09e06855
GM
73892012-06-11 Glenn Morris <rgm@gnu.org>
7390
7391 * progmodes/fortran.el (fortran-font-lock-keywords-3):
7392 Use preprocessor face for directives.
7393 (fortran-directive-re): Doc fix.
7394
71adb94b
SM
73952012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7396
2eb87922
SM
7397 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
7398 conversion to backquotes (bug#11652).
7399
71adb94b
SM
7400 Fix compiler-expansion of CL's cXXr functions (bug#11673).
7401 * emacs-lisp/cl-lib.el (cl--defalias): New function.
7402 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
7403 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
7404 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
7405 (cl-ninth, cl-tenth): Mark them as inlinable.
7406 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
7407 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
7408 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
7409 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
7410 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
7411 (cl-list*, cl-adjoin): Don't put an autoload manually.
7412 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
7413 (cl--compiler-macro-list*): Add autoload cookie.
7414 (cl--compiler-macro-cXXr): New function.
2eb87922 7415
71adb94b
SM
7416 * help-fns.el (help-fns--compiler-macro): New function extracted from
7417 describe-function-1; follow aliases and use `compiler-macro' property.
7418 (describe-function-1): Use it.
7419
a6674402
CY
74202012-06-11 Chong Yidong <cyd@gnu.org>
7421
7422 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
7423 is uninstalled, if imagemagick is installed.
7424
bb3faf5b
SM
74252012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7426
7427 * emacs-lisp/cl-lib.el: Use lexical-binding.
7428 (cl-map-extents, cl-maclisp-member): Remove.
7429 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
7430 (cl--set-substring, cl--block-wrapper, cl--block-throw)
7431 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
7432 * emacs-lisp/cl-extra.el: Use lexical-binding.
7433 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
7434 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
7435 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
7436 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
7437 * emacs-lisp/cl-seq.el: Use lexical-binding.
7438 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
7439 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
7440 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
7441 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
7442 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
7443 CL's internals.
7444
2fe4b125
MA
74452012-06-11 Michael Albinus <michael.albinus@gmx.de>
7446
7447 Sync with Tramp 2.2.6-pre.
7448
7449 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
7450 `print-length' and `print-level' to nil, in order to avoid
7451 truncation. Reported by Christopher Schmidt
7452 <christopher@ristopher.com>.
7453
7454 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
7455
7456 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
7457 New defmacro.
7458 (tramp-compat-copy-directory): Add optional argument
7459 COPY-CONTENTS. It is not handled yet.
7460
7461 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
7462 (tramp-ftp-file-name-p): Simplify.
7463
7464 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
7465 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
7466 connection vector.
7467
7468 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
7469 (tramp-methods): Do not use `tramp-password-end-of-line'.
7470 (tramp-completion-function-alist-putty): Handle UNIX case.
7471 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
7472 (tramp-do-file-attributes-with-stat)
7473 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
7474 gid as real numbers. They could run out of integer range on cygwin.
7475 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
7476 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
7477 (tramp-open-connection-setup-interactive-shell):
7478 Use `tramp-cleanup'. Move check for busyboxes ...
7479 (tramp-find-shell): ... here. Simplify implementation.
7480 Set "remote-shell" property also for alternative shells.
7481 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
7482 If failing, a regular file would be written otherwise.
7483 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
7484 (tramp-find-inline-encoding): Cache the coding commands in the
7485 process cache. Apply test command on the remote side, if defined.
7486 (tramp-find-inline-compress): Cache the compress commands in the
7487 process cache.
7488 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
7489 when requested. Handle hops.
7490 (tramp-current-connection): New defvar.
87e6e64f
DA
7491 (tramp-maybe-open-connection): Use `tramp-cleanup'.
7492 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 7493 Handle user interrupt. (Bug#10187)
87e6e64f
DA
7494 (tramp-get-inline-compress, tramp-get-inline-coding):
7495 Read connection properties from the process cache.
2fe4b125
MA
7496
7497 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
7498 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
7499 New defconsts.
2fe4b125
MA
7500 (tramp-smb-prompt): Extend for powershell prompt.
7501 (tramp-smb-file-name-handler-alist): Add handlers for
7502 `process-file', `shell-command' and `start-file-process'.
7503 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
7504 (tramp-smb-winexe-shell-command-switch): New defcustoms.
7505 (tramp-smb-file-name-p): Simplify.
7506 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
7507 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
7508 (tramp-smb-shell-quote-argument): New defuns.
7509 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
7510 Implement using "tar". By this, time-stamps are preserved.
7511 (tramp-smb-handle-copy-file): Handle also the case of directories.
7512 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
7513 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
7514 Use `tramp-get-connection-buffer').
2fe4b125
MA
7515 (tramp-smb-handle-rename-file): Use "rename", when source and
7516 target are on the same share.
87e6e64f
DA
7517 (tramp-smb-maybe-open-connection): Handle wrong passwords.
7518 Use `tramp-smb-server-version'.
2fe4b125
MA
7519 (tramp-smb-wait-for-output): Remove prompt.
7520
7521 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
7522 (tramp-methods, tramp-rsh-end-of-line):
7523 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
7524 (tramp-save-ad-hoc-proxies): New defcustom.
7525 (tramp-completion-function-alist): Adapt docstring.
7526 (tramp-default-password-end-of-line): Remove defcustom.
7527 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
7528 (tramp-user-regexp, tramp-file-name-regexp-unified)
7529 (tramp-file-name-regexp-url): Extend regexp by hop separator.
7530 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
7531 (tramp-remote-file-name-spec-regexp): New defconst.
7532 (tramp-file-name-structure): Extend structure for hops.
7533 (tramp-get-method-parameter): Move up.
7534 (tramp-file-name-p, tramp-dissect-file-name)
7535 (with-parsed-tramp-file-name): Handle hops.
7536 (tramp-file-name-hop): New defun.
7537 (tramp-make-tramp-file-name): New optional arg HOP.
7538 (tramp-message-show-progress-reporter-message): New defvar.
7539 (tramp-with-progress-reporter): Use it. We cannot use
7540 `tramp-message-show-message' here, because this suppresses also
7541 error buffers.
7542 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
7543 `tramp-message-show-message' is nil.
7544 Use `tramp-get-connection-buffer'.
2fe4b125
MA
7545 (tramp-cleanup): New defun.
7546 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
7547 (tramp-file-name-handler): If `debug-on-error' is set, propagate
7548 an error unchanged.
7549 (tramp-completion-handle-file-name-all-completions): Handle hops.
7550 Fix an error when called from ido.
7551 (tramp-completion-dissect-file-name): Use better local variable
7552 name. Add hop to the vector.
7553 (tramp-handle-insert-file-contents): Use progress-reporter for the
7554 whole scenario.
7555 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
7556 to `t'.
7557 (tramp-check-for-regexp): Simplify search.
7558 (tramp-enter-password): Remove it. Move implementation ...
7559 (tramp-action-password): ... here.
7560 (tramp-mode-string-to-int, tramp-local-host-p)
7561 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
7562 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
7563 Set tramp-autoload cookie.
2fe4b125
MA
7564
7565 * net/trampver.el: Update release number.
7566
75672012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7568 Michael Albinus <michael.albinus@gmx.de>
7569
7570 * net/tramp.el (tramp-set-completion-function): Fix docstring.
7571 (tramp-parse-group, tramp-parse-file)
7572 (tramp-parse-shostkeys-sknownhosts): New defuns.
7573 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
7574 (tramp-parse-shosts-group, tramp-parse-sconfig)
7575 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
7576 (tramp-parse-sknownhosts, tramp-parse-hosts)
7577 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
7578 Use them.
7579 (tramp-parse-passwd-group, tramp-parse-netrc-group)
7580 (tramp-parse-putty-group): Don't narrow.
7581 (tramp-parse-putty): Make a loop.
7582 (tramp-file-name-handler): Catch the `suppress' signal.
7583
72834e10
CY
75842012-06-11 Chong Yidong <cyd@gnu.org>
7585
7586 * image.el (imagemagick-register-types): Put the ImageMagick entry
7587 at the end of image-type-file-name-regexps.
7588
a4712e11
JB
75892012-06-11 Johan Bockgård <bojohan@gnu.org>
7590
7591 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
7592 (pcase, pcase-let*, pcase-dolist): Use them.
7593
82ad98e3
SM
75942012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7595
7596 * emacs-lisp/pcase.el (pcase--let*): New function.
7597 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
7598 (pcase--expand): Use macroexp-let².
7599
f80efb86
SM
76002012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
7601
7602 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
7603 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
7604 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
7605 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
7606 * emacs-lisp/derived.el: Use pcase instead of `cl'.
7607 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
7608
31ca4639 76092012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 7610
31ca4639
CY
7611 * mail/rmail.el (rmail-yank-current-message): Leave point at
7612 correct position. (Bug#11660)
94f0aa34 7613
31ca4639 76142012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 7615
31ca4639 7616 * allout-widgets.el: Fix code header.
9e1b8ec4 7617
31ca4639 76182012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 7619
f80efb86
SM
7620 * cus-edit.el (customize-changed-options-previous-release):
7621 Bump to 24.1.
31ca4639 7622
642b6d30
AS
76232012-06-09 Andreas Schwab <schwab@linux-m68k.org>
7624
7625 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
7626
4f5d2ba1
CY
76272012-06-09 Chong Yidong <cyd@gnu.org>
7628
7629 * ebuff-menu.el (electric-buffer-list): Preserve header line.
7630
e75852fd
MR
76312012-06-09 Martin Rudalics <rudalics@gmx.at>
7632
7633 * window.el (special-display-popup-frame): Don't use
7634 window--display-buffer (Bug#11651).
7635
1e48e282
EZ
76362012-06-09 Eli Zaretskii <eliz@gnu.org>
7637
8a26b487
EZ
7638 Fix parallel builds: make sure loaddefs.el is not being written
7639 while Lisp files are compiled.
7640 (compile): Don't depend on 'mh-autoloads'.
7641 (compile-CMD, compile-SH): Depend on 'autoloads'.
7642 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
7643
1e48e282
EZ
7644 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
7645
6175e34b
CY
76462012-06-09 Chong Yidong <cyd@gnu.org>
7647
7648 * face-remap.el (face-remap-add-relative, face-remap-set-base)
7649 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
7650 Doc fixes (Bug#11225).
7651
d9857e53
SM
76522012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
7653
7654 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
7655 a function if there's a clear indication that it has a compiler-macro.
7656 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
7657 (macro-declarations-alist): Add arglist to declaration functions.
7658 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
7659 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
7660 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
7661 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
7662 Also add autoload to find the compiler macro.
7663 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
7664 (cl--compiler-macro-member, cl--compiler-macro-assoc)
7665 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
7666 (cl--compiler-macro-get): New functions, replacing calls to
7667 cl-define-compiler-macro.
7668 (cl-typep) [compiler-macro]: Use macroexp-let².
7669
f81298f8 76702012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
7671
7672 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
7673 string properly, fixes Bug#11473.
7674
4b56d0fe
CY
76752012-06-08 Chong Yidong <cyd@gnu.org>
7676
7677 * faces.el (set-face-attribute): Doc fix.
7678 (modify-face): Don't use :bold and :italic.
7679 (error, warning, success): Tweak definitions.
7680
7681 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
7682 (custom-modified, custom-set, custom-changed, custom-themed)
7683 (custom-saved, custom-button, custom-button-mouse)
7684 (custom-button-pressed, custom-state, custom-comment-tag)
7685 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
7686 (custom-group-subtitle): Use new-style face specs.
7687 (custom-invalid-face, custom-rogue-face, custom-modified-face)
7688 (custom-set-face, custom-changed-face, custom-saved-face)
7689 (custom-button-face, custom-button-pressed-face)
7690 (custom-documentation-face, custom-state-face)
7691 (custom-comment-face, custom-comment-tag-face)
7692 (custom-variable-tag-face, custom-variable-button-face)
7693 (custom-face-tag-face, custom-group-tag-face-1)
7694 (custom-group-tag-face): Remove obsolete face alias.
7695
7696 * epa.el (epa-validity-high, epa-validity-medium)
7697 (epa-validity-low, epa-mark, epa-field-name, epa-string)
7698 (epa-field-name, epa-field-body):
7699 * font-lock.el (font-lock-comment-face, font-lock-string-face)
7700 (font-lock-keyword-face, font-lock-builtin-face)
7701 (font-lock-function-name-face, font-lock-variable-name-face)
7702 (font-lock-type-face, font-lock-constant-face):
7703 * ido.el (ido-first-match, ido-only-match, ido-subdir)
7704 (ido-virtual, ido-indicator, ido-incomplete-regexp):
7705 * speedbar.el (speedbar-button-face, speedbar-file-face)
7706 (speedbar-directory-face, speedbar-tag-face)
7707 (speedbar-selected-face, speedbar-highlight-face)
7708 (speedbar-separator-face):
7709 * whitespace.el (whitespace-newline, whitespace-space)
7710 (whitespace-hspace, whitespace-tab, whitespace-trailing)
7711 (whitespace-line, whitespace-space-before-tab)
7712 (whitespace-space-after-tab, whitespace-indentation)
7713 (whitespace-empty):
7714 * emulation/cua-base.el (cua-global-mark):
7715 * eshell/em-prompt.el (eshell-prompt):
7716 * net/newst-plainview.el (newsticker-new-item-face)
7717 (newsticker-old-item-face, newsticker-immortal-item-face)
7718 (newsticker-obsolete-item-face, newsticker-date-face)
7719 (newsticker-statistics-face, newsticker-default-face):
7720 * net/newst-reader.el (newsticker-feed-face)
7721 (newsticker-extra-face, newsticker-enclosure-face):
7722 * net/newst-treeview.el (newsticker-treeview-face)
7723 (newsticker-treeview-new-face, newsticker-treeview-old-face)
7724 (newsticker-treeview-immortal-face)
7725 (newsticker-treeview-obsolete-face)
7726 (newsticker-treeview-selection-face):
7727 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
7728 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
7729 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
7730 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
7731 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
7732 (nxml-outline-active-indicator, nxml-outline-ellipsis):
7733 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
7734 (mpuz-text):
7735 * progmodes/vera-mode.el (vera-font-lock-number)
7736 (vera-font-lock-function, vera-font-lock-interface):
7737 * textmodes/table.el (table-cell): Use new-style face specs, and
7738 don't use the old :bold and :italic attributes.
7739
7740 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
7741 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
7742 (ebrowse-member-class, ebrowse-progress): Likewise.
7743 (ebrowse-tree-mark-face, ebrowse-root-class-face)
7744 (ebrowse-file-name-face, ebrowse-default-face)
7745 (ebrowse-member-attribute-face, ebrowse-member-class-face)
7746 (ebrowse-progress-face): Remove obsolete faces.
7747
7748 * progmodes/flymake.el (flymake-errline, flymake-warnline):
7749 Inherit from error and warning faces respectively.
7750
7751 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
7752 Likewise.
f80efb86
SM
7753 (flyspell-incorrect-face, flyspell-duplicate-face):
7754 Remove obsolete aliases.
4b56d0fe 7755
03310646
MA
77562012-06-08 Michael Albinus <michael.albinus@gmx.de>
7757
7758 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
7759 Avoid infloop.
7760
513749ee
SM
77612012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
7762
7763 * startup.el (argv, argi): Make lexically scoped.
7764 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
7765 * emacs-lisp/cl-macs.el: Use lexical-binding.
7766 Rename cl-bind-* to cl--bind-*.
7767 * files.el: Don't require `cl' since it doesn't use it.
7768 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
7769
595ef4ad
JB
77702012-06-08 Juanma Barranquero <lekktu@gmail.com>
7771
7772 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
7773 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
7774 instead of calling external sort utility.
7775 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
7776
e9f66fcb
EZ
77772012-06-08 Eli Zaretskii <eliz@gnu.org>
7778
7779 * descr-text.el (describe-char): Mention how to insert the
7780 character, if the current input method doesn't support it.
7781 See the discussion in this thread for the details:
7782 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
7783
3d10db47
SS
77842012-06-08 Sam Steingold <sds@gnu.org>
7785
7786 * bindings.el (global-map): Bind XF86Forward to next-buffer and
7787 XF86Back to previous-buffer.
7788 (minibuffer-local-map): Bind them to next-history-element and
7789 previous-history-element respectively.
7790 * help-mode.el (help-mode-map): Bind them to help-go-forward and
7791 help-go-back respectively.
7792 * info.el (Info-mode-map): Bind them to Info-history-forward and
7793 Info-history-back respectively.
7794 These are the keys next to Up on the ThinkPad keyboard.
7795
de7e2b36
SM
77962012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
7797
7798 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
7799 * emacs-lisp/cl-macs.el: Provide itself.
7800 (cl--labels-convert-cache): New var.
7801 (cl--labels-convert): New function.
7802 (cl-flet, cl-labels): New implementation with new semantics, relying on
7803 lexical-binding.
7804 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
7805 (cl-closure-vars, cl--function-convert-cache)
7806 (cl--function-convert): Move from cl-macs.el.
7807 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
7808 rename by removing the "cl-" prefix.
7809 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
7810
6fa6c4ae
SM
78112012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7812
7813 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
7814 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
7815 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
7816 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
7817 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
7818 (cl-hash-table-count): Add old compatibility aliases.
7819
7820 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
7821 Use macroexpand-all-environment instead.
7822 (cl--old-macroexpand): New var.
7823 (cl--sm-macroexpand): New function.
7824 (cl-symbol-macrolet): Use it during macro expansion.
7825 (cl--function-convert-cache): New var.
7826 (cl--function-convert): New function, extracted from
7827 cl-macroexpand-all.
7828 (cl-lexical-let): Use it.
7829
7830 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
7831 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
7832 (cl-member): Remove old alias.
7833
7834 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
7835 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
7836 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
7837 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
7838 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
7839 (cl-macroexpand-cmacs): Remove var.
7840 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
7841 Use macroexpand-all instead.
7842
4dd1c416
SM
78432012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7844
7845 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
7846 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
7847 (macroexp-copyable-p): New functions and macros.
7848 * emacs-lisp/edebug.el (edebug-unwrap):
7849 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
7850 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
7851 (pcase--let*): Remove.
7852 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
7853 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
7854 macroexp-const-p instead.
7855 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
7856
7857 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
7858 instead of "cl-" for internal definitions. Use macroexp-const-p.
7859 (cl-old-bc-file-form): Remove var.
7860 (cl-const-exprs-p): Remove fun.
7861 (cl-labels, cl-macrolet): Use backquote.
7862 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
7863 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
7864 (cl-define-setf-expander): Rename from cl-define-setf-method.
7865 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
7866
7867 * international/mule-cmds.el: Don't require CL.
7868 (view-hello-file): Don't use `letf'.
7869
ed8bd4d7
SM
78702012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7871
7287f2f3
SM
7872 * tmm.el (tmm-prompt): Use string-prefix-p.
7873 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
7874 (tmm-add-prompt): Use minibuffer-completion-help.
7875 (tmm-delete-map): Remove.
7876
ed8bd4d7
SM
7877 * subr.el (kbd): Make it its own function.
7878
7b4cdbf4
SM
78792012-06-07 Stefan Merten <smerten@oekonux.de>
7880
7881 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
7882 Silence compiler warnings. Fix versions.
ed8bd4d7 7883 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 7884 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 7885 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
7886 (rst-package-emacs-version-alist): Correct Emacs version to
7887 represent major merge with upstream.
ed8bd4d7 7888 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 7889
2b48d721
GM
78902012-06-06 Glenn Morris <rgm@gnu.org>
7891
7892 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
7893 Only print environment variables if set.
7894
fa779ab0
SM
78952012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
7896
7897 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
7898 (macroexp--cons): Rename from maybe-cons.
7899 (macroexp--accumulate): Rename from macroexp-accumulate.
7900 (macroexp--all-forms): Rename from macroexpand-all-forms.
7901 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
7902 (macroexp--expand-all): Rename from macroexpand-all-1.
7903
628299e0
SS
79042012-06-06 Sam Steingold <sds@gnu.org>
7905
7906 * calendar/calendar.el (calendar-in-read-only-buffer):
7907 Call `special-mode' to enable the standard read-only keybindings.
7908
b7bb5838
SM
79092012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
7910
7911 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
7912 with "loading" messages (bug#11635).
7913
dfb308ba
MA
79142012-06-06 Michael Albinus <michael.albinus@gmx.de>
7915
7916 * files.el (enable-remote-dir-locals): New option.
7917 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
7918
0372ee92
MA
7919 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
7920 Ensure, that the temp directory is local.
7921
7922 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
7923 `temporary-file-directory'.
7924
eed0bb91
MA
7925 * progmodes/python.el (python-send-region): Ensure, that the
7926 temporary file is created also in the remote case.
7927
7a58f64d
GM
79282012-06-06 Glenn Morris <rgm@gnu.org>
7929
f7dd4e98
GM
7930 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
7931 (vc-rcs-update-changelog): Use it.
7932
090bd7cb 7933 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 7934
7a58f64d
GM
7935 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
7936 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
7937 (vc-sccs-diff): Replace use of the external vcdiff script.
7938
daed4003
GM
79392012-06-05 Glenn Morris <rgm@gnu.org>
7940
7941 * ledit.el: Move to obsolete/.
7942
48c455c7
SS
79432012-06-05 Sam Steingold <sds@gnu.org>
7944
ed9265fc 7945 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
7946 patch (Bug#11140).
7947
57a7d507
SM
79482012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7949
090bd7cb 7950 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 7951
53aacf21
SM
7952 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
7953 compiler-macro expansion.
7954
57a7d507
SM
7955 Add native compiler-macro support.
7956 * emacs-lisp/macroexp.el (macroexpand-all-1):
7957 Support compiler-macros directly. Properly follow aliases and apply
7958 the compiler macros more thoroughly.
7959 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
7960 macroexpand now properly follows aliases.
7961 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
7962 (cl-compiler-macroexpand): Use new prop.
7963 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
7964
7965 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
7966
51a5f9d8
MR
79672012-06-05 Martin Rudalics <rudalics@gmx.at>
7968
7969 * window.el (get-lru-window, get-mru-window, get-largest-window):
7970 New argument NOT-SELECTED to avoid picking the selected window.
7971 (window--display-buffer-1, window--display-buffer-2): Replace by
7972 new function window--display-buffer
7973 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
7974 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7975 Use window--display-buffer.
51a5f9d8
MR
7976 (display-buffer-use-some-window): Remove temporary dedication
7977 hack by calling get-lru-window and get-largest-window with
7978 NOT-SELECTED argument non-nil. Call window--display-buffer.
7979
08f9f738
GM
79802012-06-05 Glenn Morris <rgm@gnu.org>
7981
7982 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
7983 Replace external vcdiff script.
7984
e364a2b7
SM
79852012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
7986
7987 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
7988
041df390
CY
79892012-06-04 Chong Yidong <cyd@gnu.org>
7990
e364a2b7
SM
7991 * image.el (imagemagick-types-inhibit): Revert last change.
7992 Add INFO and M.
47b36b94 7993 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 7994
7c1898a7
SM
79952012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
7996
7997 * emacs-lisp/cl-lib.el: Rename from cl.el.
7998 * emacs-lisp/cl.el: New compatibility file.
7999 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
8000 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
8001 to obey the "cl-" prefix.
8002 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
8003
0c3461de
GM
80042012-06-03 Glenn Morris <rgm@gnu.org>
8005
1e266c88
GM
8006 * emacs-lisp/authors.el (authors-aliases): Addition.
8007
0c3461de
GM
8008 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
8009 Fix :version.
8010
d8a52e15
SM
80112012-06-03 Stefan Merten <smerten@oekonux.de>
8012
8013 * textmodes/rst.el: Add comments.
8014 (rst-transition, rst-adornment): New faces.
8015 (rst-adornment-faces-alist): Make default safe to reevaluate.
8016 Fixes
8017 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
8018 Improve customization tags.
8019 (rst-define-level-faces): Clarify meaning.
8020
5205d6f6
CY
80212012-06-03 Chong Yidong <cyd@gnu.org>
8022
8023 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
8024 (compilation-mode-line-run, compilation-mode-line-exit):
8025 New faces.
5205d6f6
CY
8026 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
8027
757ee657
JD
80282012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
8029
7c1898a7
SM
8030 * progmodes/which-func.el (which-func-update-ediff-windows):
8031 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 8032
5f2c76c6
CY
80332012-06-03 Chong Yidong <cyd@gnu.org>
8034
8035 * bindings.el: Remove explicit help text from format-mode-line.
8036 It is now supplied by mode-line-default-help-echo.
8037 (mode-line-front-space, mode-line-end-spaces)
8038 (mode-line-misc-info): New variables.
8039 (mode-line-modes, mode-line-position): Move the default value to
8040 the variable definition.
8041 (mode-line-default-help-echo): New defcustom.
383f7350
CY
8042 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
8043 (mode-line-modified-help-echo): New functions.
8044 (mode-line-mule-info, mode-line-modified): Use them.
8045 (mode-line-eol-desc, propertized-buffer-identification):
8046 Consistency fixes for help text.
cbe46e5f
CY
8047 (mode-line-coding-system-map): Allow using mouse-3 to invoke
8048 set-buffer-file-coding-system (Bug#289).
8049 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 8050
f2d6a3df
SM
80512012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
8052
8053 * simple.el (execute-extended-command): Set real-this-command
8054 (bug#11506).
8055
37269466
CY
80562012-06-02 Chong Yidong <cyd@gnu.org>
8057
8058 Remove incorrect uses of "modeline" in comments, docstrings, and
8059 function/variable names (Bug#10329).
8060
8061 * cus-edit.el (mode-line):
8062 * dframe.el (dframe-mouse-hscroll):
8063 * emacs-lisp/re-builder.el:
8064 * emacs-lisp/easy-mmode.el (define-minor-mode):
8065 * frame.el (set-frame-name):
8066 * help.el (lookup-minor-mode-from-indicator):
8067 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
8068 * progmodes/cc-cmds.el (c-toggle-auto-newline)
8069 (c-toggle-hungry-state):
8070 * progmodes/antlr-mode.el (antlr-language-alist):
8071 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
8072 * progmodes/vhdl-mode.el (vhdl-mode):
8073 * progmodes/which-func.el (which-func, which-func-cleanup-function):
8074 * term/ns-win.el (ns-face-at-pos):
8075 * term/sup-mouse.el (sup-mouse-report):
8076 * textmodes/flyspell.el (flyspell-mode-line-string):
8077 * textmodes/ispell.el (ispell-highlight-face):
8078 * textmodes/reftex-global.el:
8079 * vc/vc-arch.el (vc-arch-mode-line-string):
8080 * vc/vc-cvs.el (vc-cvs-mode-line-string):
8081 * vc/vc-git.el (vc-git-mode-line-string):
8082 * vc/vc-hooks.el (vc-display-status)
8083 (vc-default-mode-line-string):
8084 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
8085
8086 * ansi-color.el (ansi-color-faces-vector): Change default faces.
8087
8088 * dired.el (dired-sort-set-mode-line): Rename from
8089 dired-sort-set-modeline. All callers changed.
8090
8091 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
8092 eshell-status-in-modeline.
8093
8094 * foldout.el (foldout-mode-line-string): Rename from
8095 foldout-modeline-string. All callers changed.
8096 (foldout-update-mode-line): Rename from foldout-update-modeline.
8097
8098 * subr.el (redraw-modeline): Make into obsolete alias.
8099
8100 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
8101 timeclock-modeline-display. Make old name an alias.
8102 (timeclock-update-mode-line): Likewise. All callers changed.
8103 (timeclock-mode-line-display): No need to check before using
8104 add-hook.
8105 (timeclock-relative, timeclock-day-over-hook)
8106 (timeclock-use-elapsed, timeclock-mode-string)
8107 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
8108
8109 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
8110 crisp-mode-modeline-string.
8111
8112 * play/solitaire.el (solitaire-build-mode-line): Rename from
8113 solitaire-build-modeline. All callers changed.
8114
8115 * play/zone.el (zone-hiding-mode-line): Rename from
8116 zone-hiding-modeline. All callers changed.
8117 (zone): Remove unusued `modeline-hidden-level' property.
8118
8119 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
8120 xscheme-modeline-initialize. All callers changed.
8121
8122 * strokes.el (strokes-lighter): Rename from
8123 strokes-modeline-string.
8124
8125 * textmodes/sgml-mode.el (html-face-tag-alist)
8126 (html-tag-face-alist): Use mode-line face instead of obsolete
8127 alias modeline.
8128
42152ee4
SM
81292012-06-02 Stefan Merten <smerten@oekonux.de>
8130
8131 * textmodes/rst.el: Always require `cl'.
4cf9b38d 8132 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 8133
95f520b5
CY
81342012-06-02 Chong Yidong <cyd@gnu.org>
8135
8136 * image.el (imagemagick-enabled-types): Rename from
8137 imagemagick-types-enable. Add many more types.
8138 (imagemagick-types-inhibit): Change default to nil.
8139 (imagemagick-filter-types): Caller changed.
8140
4a5f187a
SM
81412012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
8142
03fef3e6
SM
8143 * emacs-lisp/cl-macs.el: Use backquotes.
8144 (cl-transform-function-property): Use eval-and-compile rather than
8145 abusing `require'.
8146 (defstruct): Use declare-function instead of with-no-warnings.
8147
4a5f187a
SM
8148 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
8149 (byte-compile-output-docform): Re-add the print-circle bindings.
8150 (byte-compile-fix-header): Use #$ just because it's shorter.
8151 (byte-compile-output-file-form): Remove defun/defmacro.
8152
bd56924f
MR
81532012-06-01 Martin Rudalics <rudalics@gmx.at>
8154
8155 * simple.el (choose-completion): Remove now obsolete binding for
8156 owindow.
8157
046e38ce
MA
81582012-06-01 Michael Albinus <michael.albinus@gmx.de>
8159
8160 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
8161 in order to avoid "Stack overflow in regexp matcher".
8162
32d72c2f
GM
81632012-05-31 Glenn Morris <rgm@gnu.org>
8164
8165 * image.el: For clarity, call imagemagick-register-types at
8166 top-level, rather than relying on a custom :initialize.
8167 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
8168 (imagemagick-filter-types): New function. (Bug#7406)
8169 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
8170 If disabling support, remove elements altogether rather
8171 than using an impossible regexp.
8172 (imagemagick-types-inhibit): Give it the default init function.
8173
dd41169b
SM
81742012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8175
4a5f187a
SM
8176 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
8177 Handle arbitrary file name lengths (Bug#11585).
dd41169b 8178
efc00ab1 81792012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
8180
8181 * desktop.el (desktop-read): Clear previous and next buffers for
8182 all windows and bury *Messages* buffer (bug#11556).
8183
500fcedc
SM
81842012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8185
8186 Add `declare' for `defun'. Align `defmacro's with it.
8187 * emacs-lisp/easy-mmode.el (define-minor-mode)
8188 (define-globalized-minor-mode): Don't autoload the var definitions.
8189 * emacs-lisp/byte-run.el: Use lexical-binding.
8190 (defun-declarations-alist, macro-declarations-alist): New vars.
8191 (defmacro, defun): Use them.
8192 (make-obsolete, define-obsolete-function-alias)
8193 (make-obsolete-variable, define-obsolete-variable-alias):
8194 Use `declare'.
8195 (macro-declaration-function): Mark obsolete.
8196 * emacs-lisp/autoload.el: Use lexical-binding.
8197 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
8198
6e8a1786
AM
81992012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8200
8201 * textmodes/ispell.el (ispell-with-no-warnings):
8202 Define as a macro.
500fcedc
SM
8203 (ispell-kill-ispell, ispell-change-dictionary):
8204 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
8205 `interactive-p'.
8206
61b108cc
SM
82072012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8208
8209 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
8210 (macro-declaration-function): Move var from C code.
8211 (macro-declaration-function): Define function with defalias.
8212 * emacs-lisp/macroexp.el (macroexpand-all-1):
8213 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
8214 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
8215 defun/defmacro any more.
8216 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
8217 Provide fallback for unknown arglist.
8218 (byte-compile-arglist-warn): Change calling convention.
8219 (byte-compile-output-file-form): Move print-vars binding.
8220 (byte-compile-output-docform): Simplify accordingly.
8221 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
8222 (byte-compile-defmacro-declaration): Remove.
8223 (byte-compile-file-form-defmumble): Generalize to defalias.
8224 (byte-compile-output-as-comment): Return byte-positions.
8225 Simplify callers accordingly.
8226 (byte-compile-lambda): Use `assert'.
8227 (byte-compile-defun, byte-compile-defmacro): Remove.
8228 (byte-compile-file-form-defalias):
8229 Use byte-compile-file-form-defmumble.
8230 (byte-compile-defalias-warn): Remove.
8231
6d3f7c2f
SM
82322012-05-29 Stefan Merten <smerten@oekonux.de>
8233
8234 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 8235 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
8236
8237 (rst-mode-abbrev-table): Merge definition.
8238 (rst-mode): Make sure `font-lock-defaults' is buffer local.
8239 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
8240
6dbaa1c7
UJ
82412012-05-29 Ulf Jasper <ulf.jasper@web.de>
8242
8243 * calendar/icalendar.el
8244 (icalendar-export-region): Export UID properly.
8245
d209e2fb 82462012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
8247 * calendar/icalendar.el (icalendar-import-format):
8248 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
8249 (icalendar-import-format-uid): New.
8250 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
8251 Export UID.
8252
6876a58d
SM
82532012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
8254
8255 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
8256 different alternative patterns.
8257 (pcase-codegen): Be more careful to preserve identity.
8258 (pcase--u1): Don't forget to mark vars as used.
8259
8260 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
8261 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
8262 (byte-compile-from-buffer): ...rather than here.
8263
8264 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
8265 functions from byte-compile-function-environment.
8266
46b7967e
TN
82672012-05-29 Troels Nielsen <bn.troels@gmail.com>
8268
8269 * window.el (window-deletable-p): Avoid deleting the root window
8270 of a frame with an active minibuffer.
8271
69d565e2
MR
82722012-05-29 Martin Rudalics <rudalics@gmx.at>
8273
8274 * simple.el (choose-completion): Use quit-window (Bug#11567).
8275
a149fa51
CY
82762012-05-29 Chong Yidong <cyd@gnu.org>
8277
8278 * whitespace.el (whitespace-cleanup): Fix usage of
8279 whitespace-empty-at-bob-regexp (Bug#11492).
8280
2b311310
AH
82812012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
8282
8283 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
8284 revert (Bug#11488).
8285
b9cb2387
JL
82862012-05-29 Juri Linkov <juri@jurta.org>
8287
8288 * isearch.el (isearch-mode-map): Bind `M-s _' to
8289 `isearch-toggle-symbol'. Bind `M-s c' to
8290 `isearch-toggle-case-fold'.
8291 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
8292 (isearch-forward): Add `M-s _' to the docstring.
8293 (isearch-forward-symbol, isearch-toggle-case-fold)
8294 (isearch-symbol-regexp): New functions. (Bug#11381)
8295
d5e61c1c
JL
82962012-05-29 Juri Linkov <juri@jurta.org>
8297
8298 * isearch.el (isearch-word): Add docstring. (Bug#11381)
8299 (isearch-occur, isearch-search-and-update): If `isearch-word' is
8300 a function, call it to get the regexp.
8301 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
8302 property `isearch-message-prefix' instead of the string "word ".
8303 (isearch-search-fun-default): For the case of `isearch-word',
8304 return a lambda that calls re-search-forward/re-search-backward
8305 with a regexp returned by `word-search-regexp' or by the function
8306 in `isearch-word'.
8307
8cbd80f7
JL
83082012-05-29 Juri Linkov <juri@jurta.org>
8309
8310 * isearch.el (isearch-search-fun-default): New function.
8311 (isearch-search-fun): Move default part to the new function
8312 `isearch-search-fun-default'.
8313 (isearch-search-fun-function): Set the default value to
8314 `isearch-search-fun-default'. (Bug#11381)
8315
8316 * comint.el (comint-history-isearch-end):
8317 Use `isearch-search-fun-default'.
8318 (comint-history-isearch-search): Use `isearch-search-fun-default'
8319 and remove spacial case for `isearch-word'.
8320 (comint-history-isearch-wrap): Remove spacial case for
8321 `isearch-word'.
8322
8323 * hexl.el (hexl-isearch-search-function):
8324 Use `isearch-search-fun-default'.
8325
8326 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
8327 Use `word-search-regexp' for `isearch-word'.
8328
8329 * misearch.el (multi-isearch-search-fun):
8330 Use `isearch-search-fun-default'.
8331
8332 * simple.el (minibuffer-history-isearch-search):
8333 Use `isearch-search-fun-default' and remove spacial case for
8334 `isearch-word'.
8335 (minibuffer-history-isearch-wrap): Remove spacial case for
8336 `isearch-word'.
8337
8338 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
8339 Remove spacial case for `isearch-word'.
8340 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
8341
85c8c5b6
AM
83422012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8343
8344 Decrease XEmacs incompatibilities.
8345 * textmodes/flyspell.el (flyspell-check-pre-word-p):
8346 Use `string-match'.
8347 (flyspell-delete-region-overlays): Use alternative definition for
8348 XEmacs.
8349 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
8350 (flyspell-word): Use `process-kill-without-query' if XEmacs.
8351 (flyspell-mode-on): Use `interactive-p' if XEmacs.
8352 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
8353 `define-obsolete-face-alias' under XEmacs, but old method.
8354
8355 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
8356 `with-no-warnings' definition or Emacs alias.
8357 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
8358 (ispell-word): Do not use `region-p' if XEmacs.
8359
8cab9efc
AM
83602012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8361
8362 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
8363 Check for `ispell-dictionary-base-alist' instead of full
8364 `ispell-dictionary-alist'.
8365 (ispell-init-process): Show spellchecker when starting new Ispell
8366 process.
8367
fda91268
RZ
83682012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
8369
8370 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
8371 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
8372
694ea8e3
JB
83732012-05-27 Juanma Barranquero <lekktu@gmail.com>
8374
8375 * version.el (motif-version-string, gtk-version-string)
8376 (ns-version-string): Declare.
8377
e4d4f539
JL
83782012-05-27 Juri Linkov <juri@jurta.org>
8379
8380 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
8381 after the `eval-defun-1' specialcaseing
8382 like in `edebug-eval-defun' (bug#10181).
8383
8384 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
8385 like in `eval-defun-1'.
8386
33017faf 83872012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 8388
fda91268
RZ
8389 * mail/sendmail.el (mail-yank-region):
8390 Recognize rmail-yank-current-message in addition to insert-buffer.
8391 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
8392 a *mail* buffer created through rmail-start-mail with sendmail as
8393 mail-user-agent.
8394
33017faf
GM
83952012-05-27 Chong Yidong <cyd@gnu.org>
8396
8397 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
8398 Default to 256 (Bug#11267).
8399
8400 * help.el (describe-mode): Doc fix.
8401
04188bb9
GM
84022012-05-26 Glenn Morris <rgm@gnu.org>
8403
38264cc9
GM
8404 * w32-fns.el (w32-init-info): Remove.
8405 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
8406
eb7afdad
GM
8407 * info.el (info-initialize): For self-contained NS builds, put the
8408 included info/ directory at the front. (Bug#2791)
8409
04188bb9
GM
8410 * paths.el (Info-default-directory-list): Make it a defcustom,
8411 mainly so that we can use custom-initialize-delay.
8412
a179e3f7
SM
84132012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
8414
43416392
SM
8415 * subr.el (buffer-has-markers-at): Mark obsolete.
8416
a179e3f7 8417 * subr.el (lambda): Use declare.
43416392 8418
a179e3f7
SM
8419 * emacs-lisp/lisp-mode.el (lambda):
8420 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
8421
34a008d9
AH
84222012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
8423
8424 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
8425
0a3b289f
GM
84262012-05-26 Glenn Morris <rgm@gnu.org>
8427
8428 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
8429
758c81e8
GM
84302012-05-25 Glenn Morris <rgm@gnu.org>
8431
f9f334f0
GM
8432 * paths.el: Remove no-byte-compile.
8433 * loadup.el: No need to load paths.el uncompiled.
8434
87eb79c2
GM
8435 * image.el (imagemagick-types-inhibit): Doc fix.
8436
758c81e8
GM
8437 * version.el: Remove no-byte-compile and associated formatting.
8438 * loadup.el: No need to load version.el uncompiled. AFAICS, this
8439 is ancient code from when there was an "inc-vers.el".
8440
e7e85dc0
SM
84412012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8442
8443 * progmodes/gdb-mi.el: Minor style changes.
8444 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
8445 Turn into minor modes.
8446 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
8447 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
8448 (gdb-shell): Remove unneeded let-binding.
8449 (gdb-get-many-fields): Eliminate O(n²) behavior.
8450
f31237a4
EZ
84512012-05-25 Eli Zaretskii <eliz@gnu.org>
8452
8453 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
8454 platforms that don't link in fontset.c.
8455
bc1b21bb
JL
84562012-05-25 Juri Linkov <juri@jurta.org>
8457
8458 Use the same diff color scheme as in modern VCSes (bug#10181).
8459
8460 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
8461 to avoid confusion with `diff-added' that now uses green colors.
8462 (diff-removed): Use shades of red.
8463 (diff-added): Use shades of green.
8464 (diff-changed): Leave just the yellow color.
8465 (diff-use-changed-face): New variable.
8466 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
8467 how to highlight context diff changes.
8468 (diff-refine-change): Use shades of yellow.
8469 (diff-refine-removed): New face that uses shades of red.
8470 (diff-refine-added): New face that uses shades of green.
8471 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
8472 `diff-refine-removed' in the call to `smerge-refine-subst'
8473 depending on the value of `diff-use-changed-face'.
8474
8475 * vc/smerge-mode.el (smerge-mine): Use shades of red.
8476 (smerge-other): Use shades of green.
8477 (smerge-base): Use shades of yellow.
8478 (smerge-refined-change): Empty face.
8479 (smerge-refined-removed): New face that uses shades of red.
8480 (smerge-refined-added): New face that uses shades of green.
8481 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
8482 args `props-r' and `props-a', and use them. Doc fix.
8483 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
8484 on its value use different faces `smerge-refined-change',
8485 `smerge-refined-removed', `smerge-refined-added' in the call to
8486 `smerge-refine-subst'.
8487
8488 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
8489 Add face condition `min-colors 88' with shades of red.
8490 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
8491 `min-colors 88' with shades of green.
8492 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
8493 `min-colors 88' with shades of yellow.
8494
6df9112c
GM
84952012-05-24 Glenn Morris <rgm@gnu.org>
8496
ead5edc0
GM
8497 * paths.el (prune-directory-list, remote-shell-program): Move to...
8498 * files.el (prune-directory-list, remote-shell-program): ...here.
8499 For the latter, delay initialization, prefer ssh, just search PATH.
8500
f18b81e6
GM
8501 * paths.el (term-file-prefix): Move to faces.el (the only user).
8502 * faces.el (term-file-prefix): Move here, make it a defcustom.
8503
ee2f89a6
GM
8504 * paths.el (news-directory, news-path, news-inews-program):
8505 Move to gnus/nnspool.el.
61a583ca 8506
f8815e4c
GM
8507 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
8508
c8f3b42c
GM
8509 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
8510 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
8511 Make the latter a defcustom, with a delayed initialization.
8512
6df9112c
GM
8513 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
8514 These were deleted from Gnus itself late 2010.
8515
5dadff36
JB
85162012-05-22 Juanma Barranquero <lekktu@gmail.com>
8517
9e1701c6
JB
8518 * progmodes/which-func.el (which-func-ff-hook):
8519 Check against user-error, not error.
8520
bd7239f5 8521 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
8522 cl-specs.el, which no longer exists.
8523
3290526d
GM
85242012-05-22 Glenn Morris <rgm@gnu.org>
8525
8526 * info.el (info-emacs-bug): New command.
8527 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
8528 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
8529
ff0c3cfb
GM
85302012-05-21 Glenn Morris <rgm@gnu.org>
8531
8532 * makefile.w32-in (update-subdirs-SH):
8533 * Makefile.in (update-subdirs): Update for moved update-subdirs.
8534
5814f126
SM
85352012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
8536
a52c0aa0
SM
8537 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
8538
5814f126
SM
8539 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8540 Simplify Maven regexp, and make sure the file can't start with a space
8541 (bug#11517).
8542
b847032c
GM
85432012-05-21 Glenn Morris <rgm@gnu.org>
8544
8545 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
8546 Scrap superfluous subshells.
8547
3858bfe7
SM
85482012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
8549
8550 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
8551 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
8552
d14b0029
JB
85532012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
8554
8555 * calc/calc.el (calc-ensure-consistent-units): New variable.
8556
a52c0aa0
SM
8557 * calc/calc-units.el (math-consistent-units-p)
8558 (math-check-unit-consistency): New functions.
8559 (calc-quick-units, calc-convert-units):
8560 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
8561 is non-nil.
d14b0029
JB
8562 (calc-extract-units): Fix typo.
8563
60c4db3a
SM
85642012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
8565
77f3b62e
SM
8566 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
8567
60c4db3a
SM
8568 * textmodes/flyspell.el: Commenting style, plus code simplifications.
8569 (flyspell-default-deplacement-commands): Don't spell check after
8570 repeated window/frame switches (e.g. triggered by mouse-movement).
8571 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
8572 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
8573 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
8574 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
8575 Remove unused vars.
8576 (flyspell-get-casechars, flyspell-get-not-casechars):
8577 Simplify; Don't bother removing a ] just to add it back.
8578 * textmodes/ispell.el (ispell-program-name): Use executable-find.
8579
d209e2fb 85802012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
8581
8582 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
8583 New functions.
bd7239f5 8584 (math-function-table): Add support for more C functions.
b1a10716 8585
3f1b25b5
AM
85862012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8587
090bd7cb
JB
8588 * textmodes/flyspell.el (flyspell-check-pre-word-p)
8589 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
8590 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 8591
b581bb5c
SM
85922012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
8593
8594 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
8595 their respective macro declarations.
8596 * skeleton.el (define-skeleton):
8597 * progmodes/compile.el (define-compilation-mode):
8598 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
8599 (define-ibuffer-filter):
8600 * emacs-lisp/generic.el (define-generic-mode):
8601 * emacs-lisp/easy-mmode.el (define-minor-mode)
8602 (define-globalized-minor-mode):
8603 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
8604 * emacs-lisp/byte-run.el (defsubst):
8605 * custom.el (deftheme): Add doc-string metadata.
8606
70b8ef8f
SM
86072012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8608
8609 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
8610
b1198e17
SM
86112012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8612
9abdc45d
SM
8613 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
8614
b1198e17
SM
8615 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
8616 * emacs-lisp/cl-macs.el: Idem.
8617 * emacs-lisp/cl-specs.el: Remove.
8618
4735906a
SM
86192012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8620
8621 Minor renaming of internal CL functions and variables.
8622 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
8623 (cl--position): Rename from cl-position.
8624 (cl--delete-duplicates): Rename from cl-delete-duplicates.
8625 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
8626 (cl--random-state): Rename from *random-state*.
8627
ac348012
SM
86282012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8629
8630 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
8631 parens around the arg list (bug#11499).
8632
a0a79cde
JL
86332012-05-17 Juri Linkov <juri@jurta.org>
8634
8635 * isearch.el (word-search-regexp, word-search-backward)
8636 (word-search-forward, word-search-backward-lax)
8637 (word-search-forward-lax): Move functions from search.c
8638 (bug#10145, bug#11381).
8639
65034a51
AM
86402012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8641
090bd7cb
JB
8642 * textmodes/flyspell.el (flyspell-check-pre-word-p)
8643 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
8644 Delay for otherchars as for normal word components.
65034a51 8645
1a72a195
SM
86462012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
8647
8648 * minibuffer.el (completion--sifn-requote): Fix last change.
8649 (minibuffer-local-must-match-filename-map):
8650 Move define-obsolete-variable-alias before its var.
8651
fdb058c2
SM
86522012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8653
c41045e6
SM
8654 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
8655
036dfb8b
SM
8656 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
8657 behavior.
8658 (completion--string-equal-p): New function.
8659 (completion--twq-all): Use it to get better assertion failure data.
8660
2473256d
SM
8661 Only handle ".." and '..' quoting in shell-mode (bug#11466).
8662 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
8663 (shell--requote-argument): New functions.
8664 (shell-completion-vars): Use them.
8665 (shell--parse-pcomplete-arguments): Rename from
8666 shell-parse-pcomplete-arguments.
8667 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
8668 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
8669 Obey comint-file-name-quote-list.
8670
fdb058c2
SM
8671 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
8672 (smie-indent-keyword): Use it.
8673
51fa99f1
SM
86742012-05-14 Stefan Merten <smerten@oekonux.de>
8675
8676 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
8677
e18afed7 86782012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
8679
8680 * net/rlogin.el (rlogin-mode-map): Fix last change.
8681
e18afed7 86822012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
8683
8684 * mail/smtpmail.el (smtpmail-send-command): Send the command and
8685 the following \r\n using a single `process-send-string', since the
8686 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 8687 with two `process-send-string's (Bug#11444).
8633b1f4 8688
e18afed7 86892012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 8690
fdb058c2
SM
8691 * shell.el (shell-parse-pcomplete-arguments):
8692 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 8693
2d21d7f6
WJ
86942012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
8695
e18afed7 8696 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
8697 (image-transform-scale, image-transform-right-angle-fudge): New vars.
8698 (image-transform-width, image-transform-fit-width): New functions.
8699 (image-transform-properties): Use them.
8700 (image-transform-check-size): New function.
8701 (image-toggle-display-image): Use it (for testing).
8702 (image-transform-set-rotation): Reduce angle mod 360.
8703 Delete obsolete comment.
8704
7102e6d0
WJ
87052012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
8706
8707 * image-mode.el: Fix scaling (bug#11399).
8708 (image-transform-resize): Doc fix.
8709 (image-transform-properties): Default scale is 1 and height should
8710 be an integer.
8711
06bc5e6e
SM
87122012-05-13 Johan Bockgård <bojohan@gnu.org>
8713
8714 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
8715 than hard-coding `car', to fix misbehavior when moving forward.
8716
0ae03b6a
CY
87172012-05-13 Chong Yidong <cyd@gnu.org>
8718
8719 * emacs-lisp/tabulated-list.el (tabulated-list-format)
8720 (tabulated-list-entries, tabulated-list-padding)
8721 (tabulated-list-sort-key): Make permanent-local.
8722
8723 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
8724 (electric-buffer-list): Put electric buffer menu
8725 command descriptions in this docstring, instead of the docstring
8726 of electric-buffer-menu-mode. Code cleanups.
8727 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
8728 Electric-buffer-menu-mode.
8729 (electric-buffer-update-highlight): Minor code cleanup.
8730
205a7391
MA
87312012-05-13 Michael Albinus <michael.albinus@gmx.de>
8732
8733 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
8734 (Bug#11447)
8735
e5bd0a28
SM
87362012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
8737
8738 Move define-obsolete-variable-alias before the var's definition.
8739 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
8740 * tooltip.el (tooltip-hook):
8741 * textmodes/reftex-toc.el (reftex-toc-map):
8742 * textmodes/reftex-sel.el (reftex-select-label-map)
8743 (reftex-select-bib-map):
8744 * textmodes/reftex-index.el (reftex-index-map)
8745 (reftex-index-phrases-map):
8746 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
8747 * progmodes/meta-mode.el (meta-mode-map):
8748 * novice.el (disabled-command-hook):
8749 * loadhist.el (unload-hook-features-list):
8750 * frame.el (blink-cursor):
8751 * files.el (find-file-not-found-hooks, write-file-hooks)
8752 (write-contents-hooks):
8753 * emulation/tpu-edt.el (GOLD-map):
8754 * emacs-lock.el (emacs-lock-from-exiting):
8755 * emacs-lisp/generic.el (generic-font-lock-defaults):
8756 * emacs-lisp/chart.el (chart-map):
8757 * dos-fns.el (register-name-alist):
8758 * dired-x.el (dired-omit-files-p):
8759 * desktop.el (desktop-enable):
8760 * cus-edit.el (custom-mode-hook):
8761 * buff-menu.el (buffer-menu-mode-hook):
8762 * bookmark.el (bookmark-read-annotation-text-func)
8763 (bookmark-exit-hooks):
8764 * allout.el (allout-mode-deactivate-hook)
8765 (allout-exposure-change-hook, allout-structure-added-hook)
8766 (allout-structure-deleted-hook, allout-structure-shifted-hook):
8767 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
8768 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
8769 comes before the corresponding variable's definition.
8770
ac59c2f6
CY
87712012-05-12 Chong Yidong <cyd@gnu.org>
8772
8773 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
8774 (Buffer-menu-mouse-select): Restore function (Bug#11459).
8775 (Buffer-menu-mode-map): Bind it.
8776 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 8777
dee6c9a3
SM
87782012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
8779
2171cea5
SM
8780 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
8781 (prolog-upper-case-string, prolog-lower-case-string)
8782 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
8783 (prolog-use-smie, prolog-smie-grammar): New vars.
8784 (prolog-smie-forward-token, prolog-smie-backward-token)
8785 (prolog-smie-rules): New funs.
8786 (prolog-comment-indent): Remove.
8787 (prolog-mode-variables): Use default comment indentation instead.
8788 Setup SMIE.
8789 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
8790 (prolog-mode): Don't call them any more.
8791 (prolog-electric-colon, prolog-electric-dash)
8792 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
8793
aa0382bd
SM
8794 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
8795
dbacb4bd
SM
8796 * minibuffer.el (completion--twq-all): Again, allow case differences.
8797
13bdd94c
SM
8798 * term.el: Move keymap initialization code to be more idiomatic.
8799 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
8800 (term-terminal-menu): Move initialization into declaration.
8801 (term-escape-char): Let the user set it in her .emacs.
8802
ff46c759
SM
8803 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
8804 Provide SMIE-based indentation (not enabled by default yet).
8805 (sh-mode-map): Don't bind electric keys.
8806 Use electric-pair-mode instead of skeleton-pair.
8807 (sh-assignment-regexp): Fit within 80 columns.
8808 (sh-indent-supported): Specify actual shell name instead of boolean.
8809 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
8810 (sh-maybe-here-document): Use it. Make obsolete.
8811 (sh-electric-here-document-mode) New minor mode.
8812 (sh-mode): Use it. Don't set sh-indent-supported-here here.
8813 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
8814 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
8815 (sh-smie-rc-grammar, sh-use-smie): New vars.
8816 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
8817 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
8818 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
8819 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
8820 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
8821 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
8822 (sh-set-shell): Use smie-setup if requested.
8823
dee6c9a3
SM
8824 * term.el (term-set-escape-char): Properly set term-escape-char.
8825 See http://stackoverflow.com/questions/10524656.
8826
9f9aa044
CY
88272012-05-10 Chong Yidong <cyd@gnu.org>
8828
8829 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
8830 Use url-generic-parse-url, and handle host names and Windows
8831 filenames properly.
8832 (ffap-url-unwrap-remote): Use url-generic-parse-url.
8833 (ffap-url-unwrap-remote): Accept list values, specifying a list of
8834 URL schemes to work on.
8835 (ffap--toggle-read-only): New function.
8836 (ffap-read-only, ffap-read-only-other-window)
8837 (ffap-read-only-other-frame): Use it.
8838 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
8839 necessary for ffap-url-unwrap-remote.
8840
836d29b3
DA
88412012-05-10 Dave Abrahams <dave@boostpro.com>
8842
8843 * cus-start.el (create-lockfiles): Add it.
8844
00fd78ed
CY
88452012-05-09 Chong Yidong <cyd@gnu.org>
8846
8847 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
8848 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
8849
666b903b 88502012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
8851
8852 * shell.el (shell-completion-vars): Fix last change (bug#11348).
8853
666b903b 88542012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
8855
8856 * ansi-color.el (ansi-color-process-output): Check for validity of
8857 comint-last-output-start before using it. This avoids a bad
8858 interaction with gdb-mi's input/output buffer.
8859
666b903b 88602012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
8861
8862 * files.el (dir-locals-read-from-file):
8863 Mention dir-locals in any error message.
8864
666b903b 88652012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
8866
8867 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
8868 package (Bug#11410).
8869
f677562b
CY
8870 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
8871 variables into description.
8872
666b903b 88732012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
8874
8875 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
8876 shell-delimiter-argument-list (bug#11348).
8877 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
8878
b499d8d0
JB
88792012-05-09 Juanma Barranquero <lekktu@gmail.com>
8880
8f6b6da8
JB
8881 * textmodes/rst.el: Silence byte-compiler warnings.
8882 (rst-re-alist, rst-reset-section-caches): Move around.
8883 (rst-re): Use `characterp', not `char-valid-p'.
8884 (font-lock-beg, font-lock-end): Declare.
8885
4824146a
JB
8886 * progmodes/idlw-shell.el (specs): Remove reference to deleted
8887 variable `idlwave-shell-activate-alt-keybindings' and simplify.
8888
b499d8d0
JB
8889 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
8890
ad89bb83
GM
88912012-05-08 Glenn Morris <rgm@gnu.org>
8892
8893 * files.el (auto-mode-alist): Treat ".make" like ".mk".
8894
8bba5a75
SM
88952012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8896
49ed9c8e
SM
8897 * vc/log-edit.el: Add GNU coding standards highlighting.
8898 (log-edit-font-lock-gnu-style)
8899 (log-edit-font-lock-gnu-keywords): New vars.
8900 (log-edit-font-lock-keywords): New fun.
8901 (log-edit-mode): Don't fold case in font-lock.
8902 (log-edit-font-lock-keywords): Do not assume case-folding.
8903
07d00b56
SM
8904 * imenu.el: Misc cleanup. Make docstrings out of comments.
8905 Use lexical-binding.
8906 (imenu--index-alist, imenu--last-menubar-index-alist)
8907 (imenu-menubar-modified-tick): Use defvar-local.
8908 (imenu--split-menu): Remove unused var.
8909 (imenu--cleanup-seen): Declare as global.
8910 (imenu--cleanup): Use dolist.
8911
8bba5a75
SM
8912 * subr.el (defvar-local): Add debug spec and doc-string position.
8913
5075bdb5
GM
89142012-05-08 Glenn Morris <rgm@gnu.org>
8915
090bd7cb 8916 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
8917 * language/english.el, language/georgian.el, language/greek.el:
8918 * language/japanese.el, language/khmer.el, language/korean.el:
8919 * language/lao.el, language/misc-lang.el, language/romanian.el:
8920 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
8921 * language/thai.el, language/utf-8-lang.el:
8922 Remove no-byte-compile setting.
8923
5075bdb5
GM
8924 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
8925
06f679a7
AH
89262012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
8927
8928 * progmodes/make-mode.el (makefile-browse):
8929 Remove unnecessary interactive. (Bug#11324)
8930
03794570
GM
89312012-05-07 Glenn Morris <rgm@gnu.org>
8932
af8630f4
GM
8933 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
8934
03794570
GM
8935 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
8936
f0809a9d
SM
89372012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
8938
28be5ce7
SM
8939 * loadup.el: Preload newcomment.el.
8940 * newcomment.el: Move autoload-only code to toplevel.
8941
f0809a9d
SM
8942 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
8943 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
8944 Handle new :right-align column property.
8945 (tabulated-list-print-col): Idem, plus use `display' text-property to
8946 try and preserve alignment for variable pitch fonts.
8947
1241b724
CY
89482012-05-07 Chong Yidong <cyd@gnu.org>
8949
8950 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
8951 (tabulated-list-use-header-line): New var.
8952 (tabulated-list-init-header): Use it.
8953 (tabulated-list-print-fake-header): New function.
8954 (tabulated-list-print): Use it.
8955 (tabulated-list-sort-button-map): Add non-header-line commands.
8956 (tabulated-list-init-header): Add column name property to basic
8957 labels as well.
8958 (tabulated-list-col-sort): Handle non-header-line button case.
8959 (tabulated-list--sort-by-column-name): Fix a corner case.
8960
f0809a9d
SM
8961 * buff-menu.el (list-buffers--refresh):
8962 Handle Buffer-menu-use-header-line.
1241b724 8963
e5f9458f
CY
89642012-05-06 Chong Yidong <cyd@gnu.org>
8965
8966 * buff-menu.el: Convert to Tabulated List mode.
8967 (Buffer-menu-buffer+size-width): Make obsolete.
8968 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
8969 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
8970 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
8971 documentation into docstring of buffer-menu.
8972 (Buffer-menu-toggle-files-only): Add an informative message.
8973 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
8974 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
8975 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
8976 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
8977 (Buffer-menu-execute, Buffer-menu-select)
8978 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
8979 (Buffer-menu-bury): Use Tabulated List machinery.
8980 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
8981 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 8982 Delete.
e5f9458f
CY
8983 (list-buffers--refresh): New function.
8984 (list-buffers-noselect): Use it.
8985 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
8986 (Buffer-menu--pretty-file-name): New helper functions.
8987
8988 * loadup.el: Preload tabulated-list.
8989
8990 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
8991 tabulated-list-sort-column.
8992 (tabulated-list-init-header): Add the initial aligning space even
8993 if tabulated-list-padding is zero.
8994
e129292c
CS
89952012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
8996
8997 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
8998 whose cdr is not a cons cell correctly (bug#11038).
8999
6632d361
CY
90002012-05-06 Chong Yidong <cyd@gnu.org>
9001
e129292c
CS
9002 * emacs-lisp/tabulated-list.el (tabulated-list-format):
9003 Accept additional plist in column descriptors.
6632d361
CY
9004 (tabulated-list-init-header): Obey it.
9005 (tabulated-list-get-entry): New function.
9006 (tabulated-list-put-tag): Use it. Use string-width instead of
9007 length.
9008 (tabulated-list--column-number): New function.
9009 (tabulated-list-print): Use it.
e129292c
CS
9010 (tabulated-list-print-col): New function.
9011 Set `tabulated-list-column-name' property on each column's text.
6632d361 9012 (tabulated-list-print-entry): Use it.
e129292c
CS
9013 (tabulated-list-delete-entry, tabulated-list-set-col):
9014 New functions.
6632d361
CY
9015 (tabulated-list-sort-column): New command (Bug#11337).
9016
3cc99f68
CY
9017 * buff-menu.el (list-buffers): Move C-x C-b binding from
9018 buff-menu.el to bindings.el.
9019
9020 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
9021 :advertised-binding feature.
9022
52b61776
TN
90232012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
9024
9025 * progmodes/compile.el (compilation-internal-error-properties):
9026 Calculate start position correctly when end-col is set but
9027 end-line is not (Bug#11382).
9028
ebfe2597
WJ
90292012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
9030
9031 * man.el (Man-unindent): Use text-property-default-nonsticky to
9032 prevent untabify from inheriting face properties (Bug#11408).
9033
6d3f7c2f
SM
90342012-05-05 Stefan Merten <smerten@oekonux.de>
9035
9036 * textmodes/rst.el: Major merge with upstream development up to
9037 Docutils SVN r7399 / rst.el V1.2.1.
9038
9039 Clarify maintainership and authors.
9040
9041 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
9042 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
9043 (rst-official-version, rst-official-cvs-rev, rst-version)
9044 (rst-package-emacs-version-alist): New functions and variables
9045 for version information.
9046
9047 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
9048 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
9049 (rst-mode-syntax-table, rst-mode): New and corrected functions
9050 and variables representing reStructuredText features.
9051
9052 (rst-re): New function for reStructuredText regexes. Use in
9053 many places.
9054
9055 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
9056 (rst-mode-map): Rebind keys.
9057
9058 (rst-mode-lazy, rst-font-lock-keywords)
9059 (rst-font-lock-extend-region)
9060 (rst-font-lock-extend-region-internal)
9061 (rst-font-lock-extend-region-extend)
9062 (rst-font-lock-find-unindented-line-limit)
9063 (rst-font-lock-find-unindented-line-match)
9064 (rst-adornment-level, rst-font-lock-adornment-level)
9065 (rst-font-lock-adornment-match)
9066 (rst-font-lock-handle-adornment-pre-match-form)
9067 (rst-font-lock-handle-adornment-matcher): Major revision of
9068 font-locking. Integrate with other code. Use `jit-lock-mode'.
9069
9070 (rst-preferred-adornments, rst-adjust-hook)
9071 (rst-new-adornment-down, rst-preferred-bullets)
9072 (rst-preferred-bullets, rst-indent, rst-indent-width)
9073 (rst-indent-field, rst-indent-literal-normal)
9074 (rst-indent-literal-minimized, rst-indent-comment): Change,
9075 extend and improve customization.
9076
9077 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
9078 (rst-normalize-cursor-position, rst-get-decoration)
9079 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
9080 (rst-rstrip, rst-toc-insert-find-delete-contents)
9081 (rst-shift-fill-region, rst-compute-bullet-tabs)
9082 (rst-debug-print-tabs, rst-debug-mark-found)
9083 (rst-shift-region-guts, rst-shift-region-right)
9084 (rst-shift-region-left, rst-use-char-classes)
9085 (rst-font-lock-keywords-function)
9086 (rst-font-lock-indentation-point)
9087 (rst-font-lock-find-unindented-line-begin)
9088 (rst-font-lock-find-unindented-line-end)
9089 (rst-font-lock-find-unindented-line)
9090 (rst-font-lock-adornment-point, rst-font-lock-level)
9091 (rst-adornment-level-alist): Remove functions and variables.
9092
9093 (rst-compare-adornments, rst-get-adornment-match)
9094 (rst-suggest-new-adornment, rst-get-adornments-around)
9095 (rst-adornment-complete-p, rst-get-next-adornment)
9096 (rst-adjust-adornment, rst-display-adornments-hierarchy)
9097 (rst-straighten-adornments): Standardize function names to
9098 use "adornment" instead of "decoration". Correct callers.
9099 Similar standardizing in many places.
9100
9101 (rst-update-section, rst-adjust, rst-promote-region)
9102 (rst-enumerate-region, rst-bullet-list-region)
9103 (rst-repeat-last-character): Correct use of `interactive'.
9104
9105 (rst-classify-adornment, rst-find-all-adornments)
9106 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
9107 (rst-find-leftmost-column, rst-repeat-last-character):
9108 Refactor functions.
9109
9110 (rst-find-title-line, rst-reset-section-caches)
9111 (rst-get-adornments-around, rst-adjust-adornment-work)
9112 (rst-arabic-to-roman, rst-roman-to-arabic)
9113 (rst-insert-list-pos, rst-insert-list-new-item)
9114 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
9115 New functions.
9116
9117 (rst-all-sections, rst-section-hierarchy)
9118 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
9119 New variables.
9120
9121 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
9122 configuration instead of only buffer. Change where necessary.
9123
9124 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
9125 (rst-shift-region, rst-adaptive-fill): New functions for
9126 indentation and filling.
9127
9128 (rst-comment-line-break, rst-comment-indent)
9129 (rst-comment-insert-comment, rst-comment-region)
9130 (rst-uncomment-region): New functions for handling comments.
9131
9132 (rst-compile): Quote shell arguments.
9133
9134 (rst-compile-pdf-preview, rst-compile-slides-preview):
9135 Delete temporary files after use.
9136
a43f98b3
GM
91372012-05-05 Glenn Morris <rgm@gnu.org>
9138
48176e8b
GM
9139 * calendar/cal-html.el: Optionally include holidays in the output.
9140 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
9141 (cal-html-holidays): New option.
9142 (cal-html-css-default): Add holiday entry.
9143 (holiday-in-range): Autoload it.
9144 (cal-html-htmlify-entry): Add optional class argument.
9145 (cal-html-htmlify-list): Add optional holidays argument.
9146 (cal-html-insert-agenda-days): Include holidays in the output.
9147 (cal-html-one-month): Maybe include holidays.
9148
a43f98b3
GM
9149 * calendar/holidays.el (holiday-in-range):
9150 Move here from cal-tex-list-holidays.
9151 * calendar/cal-tex.el (cal-tex-list-holidays):
9152 Make it an obsolete alias for holiday-in-range. Update all callers.
9153
fef9d149 91542012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
9155
9156 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
9157 Nextstep.
9158
248da2f4
RW
91592012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
9160
9161 * files.el (file-auto-mode-skip): New var.
9162 (set-auto-mode-1): Use it.
9163
f95e9344
SM
91642012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9165
df96ab1e
SM
9166 * repeat.el: Use lexical-binding.
9167 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
9168 (repeat-undo-count): Remove.
9169 (repeat):
9170 * progmodes/octave-mod.el (octave-abbrev-start):
9171 * progmodes/f90.el (f90-abbrev-start):
9172 * face-remap.el (text-scale-adjust):
9173 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
9174
5342bb06
SM
9175 * emacs-lisp/pcase.el (pcase--let*): New function.
9176 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
9177 a bit more.
9178 (pcase--split-pred): Be more clever about ruling out overlap between
9179 a predicate and some constant pattern.
9180 (pcase--q1): Use `null' instead of (eq foo nil).
9181
f95e9344
SM
9182 * subr.el (setq-local, defvar-local): New macros.
9183 (kbd): Redefine as an alias.
9184 (with-selected-window): Leave unrelated frames alone.
9185 (set-temporary-overlay-map): New function.
9186
71873e2b
SM
91872012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9188
9189 * subr.el (user-error): New function.
9190 * window.el (switch-to-buffer):
9191 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
9192 (smerge-match-conflict):
9193 * simple.el (previous-matching-history-element)
9194 (next-matching-history-element, goto-history-element, undo-more)
9195 (undo-start):
9196 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
9197 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
9198 (next-file, tags-loop-scan, list-tags, complete-tag):
9199 * progmodes/compile.el (compilation-loop):
9200 * mouse.el (mouse-minibuffer-check):
9201 * man.el (Man-bgproc-sentinel, Man-goto-page):
9202 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
9203 (Info-history-forward, Info-follow-reference, Info-menu)
9204 (Info-extract-menu-item, Info-extract-menu-counting)
9205 (Info-forward-node, Info-backward-node, Info-next-menu-item)
9206 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
9207 (Info-next-reference, Info-prev-reference, Info-index)
9208 (Info-index-next, Info-follow-nearest-node)
9209 (Info-copy-current-node-name):
9210 * imenu.el (imenu--make-index-alist)
9211 (imenu-default-create-index-function, imenu-add-to-menubar):
9212 * files.el (basic-save-buffer, recover-file):
9213 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
9214 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
9215 (checkdoc-message-text, checkdoc-defun):
9216 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
9217 * cus-edit.el (customize-changed-options, customize-rogue)
9218 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
9219 (custom-variable-mark-to-reset-standard)
9220 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
9221 (custom-file):
9222 * completion.el (check-completion-length):
9223 * comint.el (comint-search-arg)
9224 (comint-previous-matching-input-string-position)
9225 (comint-previous-matching-input)
9226 (comint-replace-by-expanded-history-before-point, comint-send-input)
9227 (comint-copy-old-input, comint-backward-matching-input)
9228 (comint-goto-process-mark, comint-set-process-mark):
9229 * calendar/calendar.el (calendar-cursor-to-date): Use it.
9230 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
9231
8a61ee22
SM
92322012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9233
66408d1e
SM
9234 * dabbrev.el (dabbrev--ignore-case-p): New function.
9235 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
9236 Use it.
9237
8a61ee22
SM
9238 * files.el (automount-dir-prefix): Mark as obsolete.
9239
3c74813a
GM
92402012-05-04 Glenn Morris <rgm@gnu.org>
9241
9242 * patcomp.el, play/bruce.el: Move to obsolete/.
9243
0bfcf5c5
PE
92442012-05-04 Paul Eggert <eggert@cs.ucla.edu>
9245
9246 Fix minor Y10k bugs.
9247 * arc-mode.el (archive-unixdate):
9248 * autoinsert.el (auto-insert-alist):
9249 * calc/calc-forms.el (math-this-year):
9250 * emacs-lisp/copyright.el (copyright-current-year)
9251 (copyright-update-year, copyright):
9252 * tar-mode.el (tar-clip-time-string):
9253 * time.el (display-time-update):
9254 Don't assume years have 4 digits.
9255
78f3273a
CY
92562012-05-04 Chong Yidong <cyd@gnu.org>
9257
9258 * dos-w32.el (file-name-buffer-file-type-alist)
9259 (direct-print-region-use-command-dot-com):
9260 * ffap.el (ffap-menu-regexp):
9261 * find-file.el (ff-special-constructs):
9262 * follow.el (follow-debug):
9263 * forms.el (forms--debug):
9264 * iswitchb.el (iswitchb-all-frames):
9265 * ido.el (ido-all-frames):
9266 * emacs-lisp/timer.el (timer-max-repeats):
9267 * mail/feedmail.el (feedmail-mail-send-hook)
9268 (feedmail-mail-send-hook-queued):
9269 * mail/footnote.el (footnote-signature-separator):
9270 * mail/mailabbrev.el (mail-alias-separator-string)
9271 (mail-abbrev-mode-regexp):
9272 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
9273 * progmodes/idlwave.el (idlwave-libinfo-file)
9274 (idlwave-default-completion-case-is-down)
9275 (idlwave-library-routines): Convert defvars to defcustoms.
9276
9277 * mail/rmail.el (rmail-decode-mime-charset):
9278 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
9279 (idlwave-shell-fix-inserted-breaks)
9280 (idlwave-shell-activate-alt-keybindings)
9281 (idlwave-shell-use-breakpoint-glyph):
9282 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
9283
f7ae6719
SM
92842012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
9285
9286 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
9287
47086495
WS
92882012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
9289
9290 * progmodes/verilog-mode.el (font-lock-keywords):
9291 Fix mis-highligting auto. Reported by Craig Barner.
9292 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
fc0c31f8 9293 defines from global name space. Reported by Dan Dever.
47086495
WS
9294 (verilog-auto-reset, verilog-auto-reset-widths)
9295 (verilog-auto-tieoff): Support using unbased numbers for
9296 AUTORESET and AUTOTIEOFF.
9297 (verilog-submit-bug-report): Update variable list.
9298 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
fc0c31f8 9299 parenthesis from not matching. Reported by Michael Rytting.
47086495
WS
9300 (verilog-auto-template-lint): Fix hash error when linting modules
9301 with no used templates.
9302 (verilog-warn, verilog-warn-error)
9303 (verilog-warn-fatal): When non-interactive report multiple
9304 warnings before exiting. Suggested by Brad Dobbie.
9305 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
9306 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
9307 to report unused template errors. Reported by Brad Dobbie.
9308 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
fc0c31f8 9309 nets, bug438. Reported by Vns Blore.
47086495
WS
9310 (verilog-auto-inout-module, verilog-auto-reg)
9311 (verilog-read-decls, verilog-read-sub-decls-sig)
9312 (verilog-signals-edit-wire-reg, verilog-signals-with):
9313 Fix passing of Verilog data types in ANSI input/output ports
fc0c31f8 9314 such as "output logic" into the AUTOs. Special case "wire" and
47086495
WS
9315 "reg" for backwards compatibility presuming Verilog 2001.
9316 (verilog-auto-ascii-enum): Add "auto enum" as alias.
9317 (verilog-preprocess): Fix replication of preprocess output.
9318 Reported by Brad Dobbie.
9319 (verilog-auto-inst-interfaced-ports):
9320 Create verilog-auto-inst-interfaced-ports, bug429.
9321 Reported by Julian Gorfajn.
9322 (verilog-after-save-font-hook)
9323 (verilog-before-save-font-hook): New variable.
9324 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
9325 (verilog-save-font-mods): Wrap disabling fontification, reported
9326 by David Rogoff.
9327 (verilog-do-indent, verilog-pretty-declarations-auto)
9328 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
9329 Reported by Pierre-David Pfister.
9330 (verilog-set-auto-endcomments): Fix endtask auto comments outside
9331 of class declarations, bug292. Reported by Kevin Heilman.
9332 (verilog-read-decls): Fix 'parameter type' not appearing in
9333 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
9334 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
fc0c31f8 9335 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
47086495
WS
9336 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
9337 Reported by David Kravitz.
9338
93392012-05-03 Michael McNamara <mac@mail.brushroad.com>
9340
9341 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
9342 assignment with tests in ifs and for loops.
9343 (verilog-extended-complete-re, verilog-complete-reg): Change so
9344 that DPI inport functions don't look like fuction declarations.
9345 (verilog-pretty-expr): Don't line up assignment
9346 operations to the test and increment in if and for loops
9347 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 9348 that DPI inport functions don't look like fuction declarations.
47086495 9349
2e51d4b5
KH
93502012-05-03 Kenichi Handa <handa@m17n.org>
9351
9352 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 9353 decoding, and show a warning message without signaling an error
2e51d4b5
KH
9354 (Bug#11282).
9355
2bd785a2
SM
93562012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
9357
9358 * emacs-lisp/bytecomp.el
9359 (byte-compile-file-form-custom-declare-variable): Compile all elements,
9360 since cconv.el might have introduced :fun-body, internal-make-closure,
9361 and friends for bytecomp to handle (bug#11391).
9362 * custom.el (defcustom): Avoid ((λ ..) ..).
9363
99d27583
SM
93642012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
9365
9366 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
9367
55a71479
JB
93682012-05-02 Juanma Barranquero <lekktu@gmail.com>
9369
9370 * notifications.el (dbus-debug):
9371 * term/linux.el (gpm-mouse-enable):
9372 * term/screen.el (xterm-register-default-colors): Declare.
9373
7b97c764
CY
93742012-05-02 Chong Yidong <cyd@gnu.org>
9375
2bc356d7
CY
9376 * cus-start.el (gc-cons-percentage, exec-suffixes)
9377 (dos-display-scancodes, dos-hyper-key, dos-super-key)
9378 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
9379 (make-cursor-line-fully-visible, void-text-area-pointer)
9380 (font-list-limit): Add customization data.
9381
7b97c764
CY
9382 * allout.el (allout-exposure-change-functions)
9383 (allout-structure-added-functions)
9384 (allout-structure-deleted-functions)
9385 (allout-structure-shifted-functions): Rename abnormal hooks from
9386 *-hook, and convert to defcustoms.
5d3385a0
JB
9387 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
9388 Convert to defcustoms.
7b97c764
CY
9389 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
9390
9391 * allout-widgets.el: Hook callers changed.
9392
90207a15 93932012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
9394
9395 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
9396 the yanked message in preference to the default value of
9397 buffer-file-coding-system.
9398
90207a15 93992012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 9400
5d3385a0
JB
9401 * window.el (display-buffer--action-function-custom-type):
9402 Fix entry.
d9558cad 9403
90207a15 94042012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
9405
9406 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
9407
d80ac57b
GM
94082012-05-01 Glenn Morris <rgm@gnu.org>
9409
976f7668
GM
9410 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
9411
beb83b5a
GM
9412 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
9413
d80ac57b
GM
9414 * cus-edit.el (custom-variable-documentation): Simplify with format.
9415
b593d6a9 94162012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 9417 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
9418
9419 * simple.el (suggest-key-bindings, execute-extended-command):
9420 Move from keyboard.c.
9421
782fbf2a
CY
94222012-05-01 Chong Yidong <cyd@gnu.org>
9423
9424 * follow.el: Eliminate advice.
9425 (set-process-filter, process-filter, sit-for): Advice deleted.
9426 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
9427 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
9428 Vars deleted.
782fbf2a
CY
9429 (follow-auto): Use a :set function.
9430 (follow-mode): Rewritten. Don't advise process filters.
9431 (follow-switch-to-current-buffer-all, follow-scroll-up)
9432 (follow-scroll-down): Assume follow-mode is bound.
9433 (follow-comint-scroll-to-bottom)
9434 (follow-align-compilation-windows): New functions.
9435 (follow--window-sorter): New function.
9436 (follow-all-followers): Use it to explicitly sort windows by their
9437 positions; don't make assumptions about next-window order.
9438 (follow-windows-start-end, follow-delete-other-windows-and-split)
9439 (follow-calc-win-start): Doc fix.
9440 (follow-windows-aligned-p, follow-select-if-visible): Don't call
9441 vertical-motion unnecessarily.
9442 (follow-adjust-window): New function.
9443 (follow-post-command-hook): Use it.
9444 (follow-call-set-process-filter, follow-call-process-filter)
9445 (follow-intercept-process-output, follow-tidy-process-filter-alist)
9446 (follow-stop-intercept-process-output, follow-generic-filter):
9447 Functions deleted.
9448 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
9449 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
9450 New functions, replacing advice on scroll-bar-* commands.
87233a14 9451 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
9452
9453 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
9454 (comint-postoutput-scroll-to-bottom): Use it.
9455 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 9456
290af740
GM
94572012-05-01 Glenn Morris <rgm@gnu.org>
9458
9459 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
9460 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
9461 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
9462 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
9463 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
9464 Remove no-byte-compile setting.
9465
6eac8dc9
SM
94662012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
9467
9468 * minibuffer.el (completion-table-with-quoting): Fix compatibility
9469 all-completions code to not return a number in the last cdr.
9470
9cc7819c
LL
94712012-04-30 Leo Liu <sdl.web@gmail.com>
9472
9473 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
9474 read-only error.
9475
c93b886f
CY
94762012-04-29 Chong Yidong <cyd@gnu.org>
9477
9478 * follow.el (follow-calc-win-end): Rewrite to handle partial
9479 screen lines correctly (Bug#8390).
9480 (follow-avoid-tail-recenter): Minor cleanup.
9481
8b6c19f4
SM
94822012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
9483
9484 Avoid the obsolete `assoc' package.
9485 * speedbar.el (speedbar-refresh): Avoid adelete.
9486 (speedbar-file-lists): Simplify and avoid aput.
9487 * man.el (Man--sections, Man--refpages): New vars, replacing
9488 Man-sections-alist and Man-refpages-alist.
9489 (Man-build-section-alist, Man-build-references-alist):
9490 Use them; avoid aput.
9491 (Man--last-section, Man--last-refpage): New vars.
9492 (Man-follow-manual-reference): Use them.
9493 Use the `default' arg of completing-read.
9494 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
9495
c5bb7569
CY
94962012-04-27 Chong Yidong <cyd@gnu.org>
9497
d1d2e2e8
CY
9498 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
9499
15cd8efd
CY
9500 * startup.el (x-apply-session-resources): New function.
9501
9502 * term/ns-win.el (ns-initialize-window-system):
9503 * term/w32-win.el (w32-initialize-window-system):
9504 * term/x-win.el (x-initialize-window-system): Use it to properly
9505 set menu-bar-mode and other vars from X resources, even if the
9506 initial frame is not a window-system frame (Bug#2299).
9507
c5bb7569
CY
9508 * subr.el (read-key): Avoid running filter function when setting
9509 up temporary tool bar entries (Bug#9922).
9510
a8e7d6d7 95112012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
9512
9513 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
9514 (Bug#11344)
9515
a8e7d6d7 95162012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
9517
9518 * select.el (xselect--encode-string): New function, split from
9519 xselect-convert-to-string.
9520 (xselect-convert-to-string): Use it.
9521 (xselect-convert-to-filename, xselect-convert-to-os)
9522 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
9523 returned strings are properly encoded (Bug#11315).
9524
a8e7d6d7 95252012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
9526
9527 * simple.el (delete-active-region): Move to killing custom group.
9528
a8e7d6d7 95292012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
9530
9531 * progmodes/which-func.el (which-func-current): Quote %
9532 characters for mode-line processing.
9533
578c1d4b 95342012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
9535
9536 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
9537 reaching eob (Bug#11286).
9538
a8e7d6d7 95392012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
9540
9541 * progmodes/gdb-mi.el (gdb-control-level): New variable.
9542 (gdb): Make it buffer-local and init to zero.
9543 (gdb-control-commands-regexp): New variable.
9544 (gdb-send): Don't wrap in "-interpreter-exec console" if
9545 gdb-control-level is positive. Increment gdb-control-level
9546 whenever the command matches gdb-control-commands-regexp, and
9547 decrement it each time the command is "end". (Bug#11279)
9548
a8e7d6d7 95492012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
9550
9551 * window.el (adjust-window-trailing-edge, enlarge-window)
9552 (shrink-window, window-resize):
9553 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
9554 windows (Bug#11276).
9555
b3608390
CY
95562012-04-27 Chong Yidong <cyd@gnu.org>
9557
9558 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 9559 fix "missing prefix" warning. All callers changed.
b3608390 9560
797e6e88
SM
95612012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
9562
9563 * emacs-lisp/assoc.el: Move to obsolete/.
9564
e95a67dc
SM
95652012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
9566
657c21e4 9567 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
9568
9569 * term/ns-win.el (ns-define-service):
9570 * progmodes/pascal.el (pascal-goto-defun):
9571 * progmodes/js.el (js--read-tab):
9572 * progmodes/etags.el (tags-lazy-completion-table):
9573 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
9574 * emacs-lisp/ewoc.el (ewoc--wrap):
9575 * emacs-lisp/assoc.el (aput, adelete, amake):
9576 * doc-view.el (doc-view-convert-current-doc):
9577 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
9578
cb3e7ae0
CY
95792012-04-26 Chong Yidong <cyd@gnu.org>
9580
dce04f7f
CY
9581 * image.el (image-type-from-buffer): Only return supported image
9582 type (Bug#9045).
9583
cb3e7ae0
CY
9584 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
9585 value, for symmetry with diff-end-of-hunk.
9586 (diff-split-hunk, diff-find-source-location)
9587 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
9588 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
9589 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
9590 compute the relevant hunk or file properly (Bug#6005).
9591 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
9592
0d42eb3e
SM
95932012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
9594
9595 * vc/vc-mtn.el:
9596 * vc/vc-hg.el:
9597 * vc/vc-git.el:
9598 * vc/vc-dir.el:
9599 * vc/vc-cvs.el:
9600 * vc/vc-bzr.el:
9601 * vc/vc-arch.el:
9602 * vc/vc.el: Replace lexical-let by lexical-binding.
9603 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
9604 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
9605 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
9606
f08ae1c9
CY
96072012-04-26 Chong Yidong <cyd@gnu.org>
9608
8b71081d
CY
9609 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
9610 (diff-mode-shared-map): Bind it to / and [remap undo].
9611
f08ae1c9
CY
9612 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
9613 (ediff-window-setup-function): Use it as the default, to set up
9614 windows based on whether the current frame is graphical (Bug#2138).
9615 (ediff-choose-window-setup-function-automatically): Make obsolete.
9616
9617 * vc/ediff-init.el: Always define ediff-pixel-width/height.
9618
ef24141c
SM
96192012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9620
cc356a5d
SM
9621 * ffap.el: Remove old code for obsolete package.
9622 (ffap-complete-as-file-p): Remove.
9623
b4ff4f1f
SM
9624 Use completion-table-with-quoting for comint and pcomplete.
9625 * comint.el (comint--unquote&requote-argument)
9626 (comint--unquote-argument, comint--requote-argument): New functions.
9627 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
9628 (comint-quote-filename): Use regexp-opt-charset.
9629 (comint--common-suffix, comint--common-quoted-suffix)
9630 (comint--table-subvert): Remove.
9631 (comint-unquote-function, comint-requote-function): New vars.
9632 (comint--complete-file-name-data): Use them with
9633 completion-table-with-quoting.
9634 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
9635 * pcomplete.el (pcomplete-arg-quote-list)
9636 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
9637 (pcomplete-unquote-argument-function): Default to non-nil.
9638 (pcomplete-unquote-argument): Simplify.
9639 (pcomplete--common-quoted-suffix): Remove.
9640 (pcomplete-requote-argument-function): New var.
9641 (pcomplete--common-suffix): New function.
9642 (pcomplete-completions-at-point): Use completion-table-with-quoting
9643 and completion-table-subvert.
9644
79c4eeb4
SM
9645 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
9646 (minibuffer--double-dollars): Preserve properties.
9647 (completion--sifn-requote): New function.
9648 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
9649
ef24141c
SM
9650 * minibuffer.el: Add support for completion of quoted/escaped data.
9651 (completion-table-with-quoting, completion-table-subvert): New funs.
9652 (completion--twq-try, completion--twq-all): New functions.
9653 (completion--nth-completion): New function.
9654 (completion-try-completion, completion-all-completions): Use it.
9655
784e7d6e
LL
96562012-04-25 Leo Liu <sdl.web@gmail.com>
9657
dd2ac746
SM
9658 * progmodes/python.el (python-pdbtrack-get-source-buffer):
9659 Use compilation-message if available to find real filename.
784e7d6e 9660
07875ee7
CY
96612012-04-25 Chong Yidong <cyd@gnu.org>
9662
9663 * vc/diff-mode.el (diff-setup-whitespace): New function.
9664 (diff-mode): Use it.
9665
9666 * vc/diff.el (diff-sentinel):
9667 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
9668 Whitespace mode variables based on diff style (Bug#8612).
9669
5055880d
LL
96702012-04-25 Leo Liu <sdl.web@gmail.com>
9671
daf75653
LL
9672 * progmodes/python.el (python-send-region): Add suffix .py to the
9673 temp file.
9674
5055880d
LL
9675 * files.el (auto-mode-alist): Use javascript-mode instead.
9676
db9b177b
AH
96772012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
9678
ef24141c 9679 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 9680
090bd7cb 9681 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 9682 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 9683 references, see Bug#9.
ef24141c 9684 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 9685 when receiving a fault reply.
ef24141c 9686 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 9687
090bd7cb 9688 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 9689 (soap-inspect-simple-type): New function.
db9b177b 9690
090bd7cb 9691 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 9692 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
9693 (soap-decode-basic-type, soap-encode-basic-type):
9694 support unsignedInt and double basic types.
db9b177b 9695 (soap-resolve-references-for-simple-type)
ef24141c
SM
9696 (soap-parse-simple-type, soap-encode-simple-type): New function.
9697 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 9698
090bd7cb 9699 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
9700 (soap-default-soapenc-types): Add integer, byte and anyURI types.
9701 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
9702 the local name of "soapenc:Array".
9703 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
9704 decoding integer, byte and anyURI xsd types.
9705
1fc6097b
CY
97062012-04-25 Chong Yidong <cyd@gnu.org>
9707
9708 * cus-edit.el (custom-buffer-create-internal): Update header text.
9709
afc6df87
EZ
97102012-04-25 Eli Zaretskii <eliz@gnu.org>
9711
9712 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
9713 settings on 'system-type', not on 'window-system'. On MS-Windows,
9714 set interactive-mode on in GDB.
9715
dfbd787f
SM
97162012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
9717
9718 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
9719 (ruby-syntax-propertize-regexp): Remove.
9720 (ruby-syntax-propertize-function): Split regexp into chunks.
9721 Match following code directly.
9722
85222d44
DG
97232012-04-24 Dmitry Gutov <dgutov@yandex.ru>
9724
51a8ea2a
DG
9725 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
9726 (ruby-syntax-propertize-regexp): New function.
9727 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
9728 by a special keyword.
9729
85222d44
DG
9730 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
9731 (ruby-syntax-general-delimiters-goto-beg)
9732 (ruby-syntax-propertize-general-delimiters): New functions.
9733 (ruby-syntax-propertize-function): Use them to handle GDL.
9734 (ruby-font-lock-keywords): Move old handling of GDL...
9735 (ruby-font-lock-syntactic-keywords): .. to here.
9736 (ruby-calculate-indent): Adjust indentation for GDL.
9737
b613912b
MA
97382012-04-24 Michael Albinus <michael.albinus@gmx.de>
9739
b5380639
MA
9740 * notifications.el (top): Remove unneeded declarations.
9741 (notifications-specification-version): Change to "1.2".
e43042fe 9742 (notifications-interface, notifications-notify-method)
b613912b
MA
9743 (notifications-close-notification-method): Fix docstring.
9744 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
9745 (notifications-notify): Add :action-items, :resident and
9746 :transient hints. Change "image_data" to "image-data" and
9747 "image_path" to "image-path".
b613912b
MA
9748 (notifications-get-capabilities): New defun.
9749
257440aa
LL
97502012-04-24 Leo Liu <sdl.web@gmail.com>
9751
9752 * progmodes/python.el: Move hideshow setup to the end.
9753
b1bac16e
MR
97542012-04-24 Martin Rudalics <rudalics@gmx.at>
9755
9756 * window.el (handle-select-window): Clear echo area since this is
9757 no more done by read_char (Bug#11304).
9758
d81bd059
SM
97592012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
9760
9761 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
9762 and `/ M' to filter-derived-mode.
9763 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
9764 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
9765 (ibuffer-mark-by-mode): Use default rather than initial-input.
9766 (ibuffer-filter-by-derived-mode): Autoload and require-match.
9767
c4cf6d91
IA
97682012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
9769
9770 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
9771 (ibuffer-filter-by-derived-mode): New filter.
9772 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
9773
7511ded8
CY
97742012-04-23 Andreas Politz <politza@fh-trier.de>
9775
9776 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
9777
775c916b
CY
97782012-04-23 Chong Yidong <cyd@gnu.org>
9779
9780 * cus-edit.el (customize-apropos, customize-apropos-options):
9781 Disable matching of non-option variables (Bug#11176).
9782 (customize-option, customize-option-other-window)
9783 (customize-changed-options): Doc fix.
9784 (customize-apropos-options, customize-apropos-faces)
9785 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
9786
9787 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 9788 Fix word list splitting (Bug#11132).
46c71e23
CY
9789 (apropos-symbol, apropos-keybinding, apropos-label)
9790 (apropos-property, apropos-function-button)
9791 (apropos-variable-button, apropos-misc-button): New faces.
9792 (apropos-symbol-face, apropos-keybinding-face)
9793 (apropos-label-face, apropos-property-face, apropos-match-face):
9794 Variables removed (Bug#8396).
9795 (apropos-library-button, apropos-format-plist, apropos-print)
9796 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 9797
2df41f9c
MA
97982012-04-23 Michael Albinus <michael.albinus@gmx.de>
9799
9800 * net/xesam.el (xesam-mode-map): Use let-bound map in
9801 initialization. (Bug#11292)
9802
da00640a
AM
98032012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9804
9805 Preserve ispell session localwords when switching back to
9806 original buffer.
9807
090bd7cb
JB
9808 * textmodes/ispell.el (ispell-buffer-session-localwords):
9809 New buffer-local variable to hold buffer session localwords.
ed9265fc 9810 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
9811 localwords.
9812 (ispell-command-loop, ispell-change-dictionary)
9813 (ispell-buffer-local-words): Preserve session localwords when
9814 needed.
9815
090bd7cb
JB
9816 * textmodes/flyspell.el (flyspell-process-localwords)
9817 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 9818
f621ccf5
AM
98192012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9820
090bd7cb
JB
9821 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
9822 using obsolete `translation-table-for-input'.
ef24141c
SM
9823 (ispell-word, ispell-process-line, ispell-complete-word):
9824 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 9825
c2d1019e
CY
98262012-04-22 Chong Yidong <cyd@gnu.org>
9827
9828 * cus-edit.el (custom-variable-menu)
9829 (custom-variable-reset-saved, custom-face-menu)
9830 (custom-face-reset-saved): If there is no saved value, make the
9831 "reset-saved" operation bring back the default (Bug#9509).
9832 (custom-face-state): Properly detect themed faces.
9833
eeddc531
CY
9834 * faces.el (face-spec-set): Stop supporting deprecated form of
9835 third arg.
9836
dcbf5805
MA
98372012-04-22 Michael Albinus <michael.albinus@gmx.de>
9838
9839 Move functions from C to Lisp. Make non-blocking method calls
9840 the default. Implement further D-Bus standard interfaces.
9841
ef24141c
SM
9842 * net/dbus.el (dbus-message-internal): Declare function.
9843 Remove unneeded function declarations.
dcbf5805
MA
9844 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
9845 (dbus-message-type-method-return, dbus-message-type-error)
9846 (dbus-message-type-signal): Declare variables. Remove local
9847 definitions.
9848 (dbus-interface-dbus, dbus-interface-peer)
9849 (dbus-interface-introspectable, dbus-interface-properties)
9850 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
9851 Adapt docstring.
9852 (dbus-interface-objectmanager): New defconst.
9853 (dbus-call-method, dbus-call-method-asynchronously)
9854 (dbus-send-signal, dbus-method-return-internal)
9855 (dbus-method-error-internal, dbus-register-service)
9856 (dbus-register-signal, dbus-register-method): New defuns, moved
9857 from dbusbind.c
9858 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
9859 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
9860 New defuns.
dcbf5805
MA
9861 (dbus-call-method-non-blocking): Make it an obsolete function.
9862 (dbus-unregister-object, dbus-unregister-service)
9863 (dbus-handle-event, dbus-register-property)
9864 (dbus-property-handler): Obey the new structure of
9865 `bus-registered-objects'.
9866 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
9867 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
9868 Use `dbus-call-method'.
9869
cf20dee0
CY
98702012-04-22 Chong Yidong <cyd@gnu.org>
9871
9872 * cus-edit.el (custom-commands, custom-reset-menu)
9873 (Custom-reset-standard): Tweak labels.
9874 (custom-reset-button-menu): Change default to t.
9875 (custom-buffer-create-internal): For the custom-reset-button-menu
9876 case, put the revert button first.
9877 (custom-group-subtitle): New face.
9878 (custom-group-value-create): Align docstring to a specific column.
9879
9880 * wid-edit.el (widget-documentation-link-add): Don't handle
9881 indentation in this function.
9882 (widget-documentation-string-indent-to): New function.
9883 (widget-documentation-string-value-create): Use it.
9884
9885 * autorevert.el (auto-revert):
9886 * epg-config.el (epg):
9887 * ibuffer.el (ibuffer):
9888 * mpc.el (mpc):
9889 * ses.el (ses):
9890 * eshell/eshell.el (eshell):
9891 * net/ange-ftp.el (ange-ftp):
9892 * progmodes/ebnf2ps.el (postscript):
9893 * progmodes/flymake.el (flymake):
9894 * progmodes/prolog.el (prolog):
9895 * progmodes/verilog-mode.el (verilog-mode):
9896 * progmodes/which-func.el (which-func):
9897 * term/xterm.el (xterm):
9898 * textmodes/picture.el (picture):
9899 * textmodes/tildify.el (tildify):
9900 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
9901 customization buffers.
9902
583e23bd
AM
99032012-04-22 Alan Mackenzie <acm@muc.de>
9904
9905 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
9906 Adding a ) can hide the resulting (..) from searches. Fix it.
9907 Bound the backward search to the position of the existing (.
9908
7dd51bf1
JB
99092012-04-21 Juanma Barranquero <lekktu@gmail.com>
9910
9911 * progmodes/verilog-mode.el (verilog-mode): Check whether
9912 which-func-modes is t before adding verilog-mode.
9913 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
9914
d64a438f
LL
99152012-04-21 Leo Liu <sdl.web@gmail.com>
9916
7dd51bf1 9917 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 9918
081e8d65
MV
99192012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
9920
9921 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
9922 filling of the last column of a table (Bug#5635).
9923 (woman-find-next-control-line): New arg, specifying an additional
9924 regexp component for the control line.
9925 (woman2-roff-buffer): Use it.
9926 (woman-break-table): New function.
9927 (woman2-TS): Use it.
9928
99292012-04-21 Chong Yidong <cyd@gnu.org>
9930
9931 * woman.el (woman-set-buffer-display-table, woman-decode-region)
9932 (woman-horizontal-escapes, woman-negative-vertical-space)
9933 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
9934 (WoMan-warn-ignored): Use ?\s instead of ?\ .
9935
ed571ccb
SM
99362012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9937
9938 * minibuffer.el (completion-file-name-table): Complete user names.
9939
39773899
LL
99402012-04-20 Leo Liu <sdl.web@gmail.com>
9941
9942 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
9943 and pcase-let*.
9944
de6ff46d
CY
99452012-04-20 Chong Yidong <cyd@gnu.org>
9946
9947 * server.el (server-execute): Respect initial-buffer-choice if it
9948 is a string and there are no files to open (Bug#2825).
9949 (server-create-window-system-frame, server-create-tty-frame):
9950 Don't switch buffers here.
2d0e8e61
CY
9951 (server-process-filter): Only try to open a window system frame if
9952 compiled with graphical support (Bug#8314).
de6ff46d 9953
54071013
DN
99542012-04-20 Dan Nicolaescu <dann@gnu.org>
9955
9956 * battery.el (battery-echo-area-format): Display remaining time
9957 for sysfs backend too (Bug#11269).
9958 (battery-linux-sysfs): Fix conditional for the charge.
9959
f30d612a
CY
99602012-04-20 Chong Yidong <cyd@gnu.org>
9961
c07a4c0b 9962 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
9963 (gdb-inferior-io--init-proc): New function.
9964 (gdb-init-1): Use it.
9965 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
9966 responsible for allocating a new pty and hooking it to gdb when
9967 the old pty gets an EIO due to process exit.
9968 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
9969 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
9970 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
9971
2116e93c
EZ
99722012-04-20 Eli Zaretskii <eliz@gnu.org>
9973
9974 * window.el (window-min-size, window-sizable, window-min-delta)
9975 (window-max-delta, window--resizable, window-resizable)
9976 (window-total-size, window-full-height-p, window-full-width-p)
9977 (window-in-direction, window--resize-mini-window, window-resize)
9978 (window--resize-child-windows-normal)
9979 (window--resize-child-windows, window--resize-siblings)
9980 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 9981 (enlarge-window, shrink-window): Doc fixes.
2116e93c 9982
c07a4c0b 99832012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 9984
ef24141c
SM
9985 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
9986 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
9987 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
9988 pty process (Bug#11273).
9989 (gdb-update): New arg to suppress talking to the gdb process.
9990 (gdb-done-or-error): Use it.
9991 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
9992 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
9993 sentinel not being called.
9994
9995 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
9996
d02766ab
CY
9997 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
9998
c07a4c0b 99992012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
10000
10001 * net/network-stream.el (open-network-stream): Doc fix.
10002
c07a4c0b 100032012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
10004
10005 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
10006
c07a4c0b 100072012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
10008
10009 Ensure searching for keywords is case sensitive.
10010
10011 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
10012 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
10013 (c-defun-name, c-mark-function, c-cpp-define-name)
10014 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 10015 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 10016
ef24141c
SM
10017 * progmodes/cc-mode.el (c-font-lock-fontify-region):
10018 Bind case-fold-search to nil.
f0f6bc35 10019
c07a4c0b 100202012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
10021
10022 * mail/sendmail.el (mail-bury): Call return action with the right
10023 Rmail buffer (Bug#11242).
10024
9a864fa2
CY
10025 * server.el (server-process-filter): Handle corner case where both
10026 tty and nowait options are present (Bug#11102).
10027
539aa513
EZ
100282012-04-20 Eli Zaretskii <eliz@gnu.org>
10029
10030 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
10031 (top level): Put into the executable the ident-style '$Id:' tag on
10032 windows-nt as well.
539aa513 10033
cfc7d5da
SM
100342012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10035
10036 * electric.el (electric-indent-post-self-insert-function): Check that
10037 electric-indent-mode is enabled in current buffer.
10038
5b01685c
JB
100392012-04-19 Juanma Barranquero <lekktu@gmail.com>
10040
10041 * imenu.el (imenu-progress-message): Restore; it is "used" in
10042 erc/erc-imenu.el and net/snmp-mode.el.
10043
4d6769e1
JB
100442012-04-19 Juanma Barranquero <lekktu@gmail.com>
10045
10046 * avoid.el (mouse-avoidance-mode): Mark unused arg.
10047 (mouse-avoidance-nudge-mouse): Remove unused binding.
10048
10049 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
10050
10051 * descr-text.el (describe-char):
10052 * progmodes/python.el (python-describe-symbol):
10053 Don't call `toggle-read-only', set `buffer-read-only'.
10054
10055 * imenu.el (imenu-default-goto-function): Mark unused args.
10056 (imenu-progress-message): Remove obsolete macro; all callers changed.
10057
10058 * subr.el (keymap-canonicalize): Remove unused binding.
10059 (read-passwd): Mark unused arg.
10060
10061 * tutorial.el (tutorial--display-changes): Remove unused binding.
10062 (tutorial--save-tutorial-to): Remove unused variable.
10063
10064 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
10065 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
10066 (package-generate-autoloads, package-menu--generate)
10067 (package-menu--find-upgrades): Remove unused bindings.
10068
10069 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
10070 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
10071 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
10072 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
10073 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
10074 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
10075 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
10076 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
10077 (cua-delete-char-rectangle): Mark unused args.
10078 (cua-align-rectangle): Remove unused binding.
10079
10080 * mail/rmail.el (compilation--message->loc)
10081 (epa--find-coding-system-for-mime-charset): Declare.
10082
10083 * net/dbus.el (dbus-register-service): Declare.
10084 (dbus-name-owner-changed-handler): Remove unused binding.
10085
10086 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
10087 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
10088 (nxml-scan-backward-within): Mark unused arg.
10089 (nxml-dynamic-markup-word): Remove unused binding.
10090
10091 * mouse.el (mouse-menu-major-mode-map):
10092 * emacs-lisp/authors.el (authors-scan-change-log)
10093 (authors-add-to-author-list):
10094 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
10095 * emacs-lisp/smie.el (smie-auto-fill):
10096 * mail/sendmail.el (mail-bury):
10097 * mail/unrmail.el (unrmail):
10098 * net/tls.el (open-tls-stream):
10099 * textmodes/picture.el (picture-mouse-set-point):
10100 Remove unused bindings.
10101
8c8fc5df
MA
101022012-04-19 Michael Albinus <michael.albinus@gmx.de>
10103
10104 * net/tramp.el (tramp-action-password): Let-bind
10105 `enable-recursive-minibuffers' to t.
10106
a77b0ac9
SS
101072012-04-18 Sam Steingold <sds@gnu.org>
10108
10109 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
10110 instead of 'string to accommodate values like [f11].
10111 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
10112 * progmodes/gdb-mi.el: Likewise.
10113
12a106a9
LL
101142012-04-18 Leo Liu <sdl.web@gmail.com>
10115
10116 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
10117 current buffer.
10118 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
10119 LOCAL is nil.
10120
bc6494ef
CY
101212012-04-18 Chong Yidong <cyd@gnu.org>
10122
10123 * simple.el (line-move): Use forward-line if in batch mode
10124 (Bug#11053).
10125
c09c46b2
CS
101262012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
10127
10128 * files.el (after-find-file): Do not try to add a final newline if
10129 the buffer is read-only (Bug#11156).
10130
5f6530ea
RS
101312012-04-17 Richard Stallman <rms@gnu.org>
10132
10133 * mail/rmail.el (rmail-start-mail):
10134 Pass (rmail-mail-return...) for the return-action.
10135 Pass (rmail-yank-current-message...) for the yank-action.
10136 (rmail-yank-current-message): New function.
10137 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
10138 (rmail-reply): Likewise.
10139 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
10140
10141 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 10142 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
10143 buffer, not newbuf.
10144
197b6f3c
JB
101452012-04-17 Juanma Barranquero <lekktu@gmail.com>
10146
10147 * server.el (server-ensure-safe-dir): Simplify.
10148
2311d8e5 101492012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 10150
2311d8e5
GM
10151 * emacs-lisp/smie.el: Provide smarter auto-filling.
10152 (smie-auto-fill): New function.
10153 (smie-setup): Use it.
98fb480e 10154
2311d8e5
GM
10155 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
10156
101572012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
10158
10159 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
10160 (comment-indent): Use it.
10161
2311d8e5 101622012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
10163
10164 * ses.el: The overall change is to add cell renaming, that is
10165 setting fancy names for cell symbols other than name matching
10166 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 10167 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 10168 (ses-create-cell-variable): New defun.
2311d8e5 10169 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
10170 (ses-relocate-formula): Relocate formulas only for cells the
10171 symbols of which are not renamed, i.e. symbols whose names do not
10172 match regexp "\\`[A-Z]+[0-9]+\\'".
10173 (ses-relocate-all): Relocate values only for cells the symbols of
10174 which are not renamed.
10175 (ses-load): Create cells variables as the (ses-cell ...) are read,
10176 in order to check row col consistency with cell symbol name only
10177 for cells that are not renamed.
10178 (ses-replace-name-in-formula): New defun.
10179 (ses-rename-cell): New defun.
4bdf2ad2 10180
fc72b15c
PO
101812012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
10182
10183 * progmodes/perl-mode.el (perl-indent-parens-as-block):
10184 New option (bug#11118).
10185 (perl-calculate-indent): Respect it.
10186
12e10e61
GM
101872012-04-17 Glenn Morris <rgm@gnu.org>
10188
10189 * dired-aux.el (dired-mark-read-string): Doc fix.
10190
30009afd
DA
101912012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
10192
10193 * dired-aux.el (dired-mark-read-string): Offer optional completion.
10194 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
10195
41f03f4d
GM
101962012-04-17 Glenn Morris <rgm@gnu.org>
10197
10198 * mouse.el (mouse-drag-track):
10199 * speedbar.el (speedbar-frame-mode):
10200 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
10201
f45f90f3
LL
102022012-04-16 Leo Liu <sdl.web@gmail.com>
10203
10204 * progmodes/python.el: Trivial cleanup.
10205
94ee8db5
GM
102062012-04-16 Glenn Morris <rgm@gnu.org>
10207
121b8917
GM
10208 * vc/vc.el (vc-string-prefix-p):
10209 * vc/pcvs-util.el (cvs-string-prefix-p):
10210 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
10211 * mpc.el (mpc-string-prefix-p):
10212 Make all of these into obsolete aliases for string-prefix-p.
10213 Update callers.
10214 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
10215
1197ecfa
GM
10216 * textmodes/two-column.el: Move custom options to the start.
10217 (frame-width): Remove compat definition.
10218 (2C-associate-buffer, 2C-dissociate):
10219 Use with-current-buffer rather than save-excursion.
10220 (2C-dissociate): Force a mode-line update.
10221 (2C-autoscroll): Use ignore-errors.
10222
099e7202
GM
10223 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
10224 Autoload trivia.
10225
bf350d6a
GM
10226 * emacs-lisp/cl-extra.el (*random-state*):
10227 Remove unnecessary declaration.
10228
0e829eab
GM
10229 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
10230
e3ad7552
GM
10231 * play/cookie1.el (cookie-snarf):
10232 Give an explicit error if input file cannot be read.
10233
68892d27
GM
10234 * play/yow.el (yow-file): Use expand-file-name rather than concat.
10235
20f0c46d
GM
10236 * progmodes/perl-mode.el (c-macro-expand):
10237 Remove unnecessary autoload (it is in loaddefs.el).
10238
5a0978ce
GM
10239 * textmodes/picture.el (picture-desired-column)
10240 (picture-update-desired-column): Convert comments to doc-strings.
10241 (picture-substitute): Remove function.
10242 (picture-mode-map): Initialize in the defvar.
10243
6b955486
GM
10244 * woman.el: Remove eval-after-load for tar-mode.
10245 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
10246 (woman-tar-extract-file): Autoload it.
10247
94ee8db5
GM
10248 * frame.el (automatic-hscrolling): Make this alias obsolete.
10249
177eca34
AM
102502012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10251
090bd7cb 10252 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 10253 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
10254 (ispell-dictionary-base-alist): Revert to original XEmacs
10255 friendly version for default. [:alpha:] will be added in
090bd7cb 10256 `ispell-set-spellchecker-params' if needed.
177eca34 10257
c505aaeb
CY
102582012-04-16 Chong Yidong <cyd@gnu.org>
10259
b19dd9d1 10260 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
10261 (imagemagick-register-types): Use it.
10262 (imagemagick-types-inhibit): Add :set function. Allow new value
10263 of t to inhibit all types.
10264
10265 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
10266 so we can preload it.
10267
10268 * loadup.el (fboundp): Preload regexp-opt, needed by
10269 imagemagick-register-types.
10270
60efac0f
CY
102712012-04-15 Chong Yidong <cyd@gnu.org>
10272
10273 * frame.el (scrolling): Remove nearly unused customization group.
10274
10275 * scroll-all.el (scroll-all-mode): Move to windows group.
10276
5dd1713e
CY
102772012-04-15 Chong Yidong <cyd@gnu.org>
10278
10279 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
10280
e6fd457e
CY
102812012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10282
10283 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 10284 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 10285
e153c136
GM
102862012-04-15 Glenn Morris <rgm@gnu.org>
10287
10288 * simple.el (process-file-side-effects): Doc fix.
10289
e6fd457e 102902012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
10291
10292 * international/mule-cmds.el (set-language-environment): Doc fix.
10293
3603c3b1
JB
102942012-04-14 Juanma Barranquero <lekktu@gmail.com>
10295
10296 * server.el (server-auth-key, server-generate-key): Doc fixes.
10297 (server-get-auth-key): Doc fix. Use `string-match-p'.
10298 (server-start): Reflow docstring.
10299
e6de100c
LI
103002012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
10301
10302 * server.el (server-generate-key): `called-interactively-p'
10303 requires a parameter.
10304
29734c21
MN
103052012-04-14 Michal Nazarewicz <mina86@mina86.com>
10306
10307 * server.el (server-auth-key): New variable.
75f1671a 10308 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
10309 (server-start): Use the new variable and functions to allow
10310 setting a permanent server key (bug#9423).
10311
d65c9521
LL
103122012-04-14 Leo Liu <sdl.web@gmail.com>
10313
10314 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
10315
5ae255c7
PE
103162012-04-14 Paul Eggert <eggert@cs.ucla.edu>
10317
10318 Spelling fixes.
10319 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
10320 Emacs uses American spelling.
10321
d5e6342e
JB
103222012-04-14 Juanma Barranquero <lekktu@gmail.com>
10323
10324 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
10325 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
10326 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
10327 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
10328
ab036cd7
SM
103292012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10330
10331 * progmodes/which-func.el (which-func-modes): Change default.
10332
35dc09a1 103332012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
10334
10335 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
10336 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
10337
35dc09a1 103382012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
10339
10340 * custom.el (custom-theme-set-variables): Doc fix.
10341
35dc09a1 103422012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
10343
10344 * international/mule.el (set-auto-coding-for-load): Doc fix.
10345
35dc09a1 103462012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 10347
35dc09a1
GM
10348 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
10349 imenu work again for Objective C Mode. Correct the *-index values,
10350 these having been disturbed by a previous change in 2011-08.
57f845ee 10351
0de3da9f
AM
10352 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
10353 Correct two search limits.
10354
35dc09a1 103552012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
10356
10357 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
10358
35dc09a1 103592012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
10360
10361 * international/characters.el: Fix sorting.
10362
35dc09a1 103632012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
10364
10365 * international/characters.el: Add more missing Latin case pairs.
10366
35dc09a1 103672012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
10368
10369 * files.el (dir-locals-set-class-variables): Doc fix.
10370
35dc09a1 103712012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 10372
3f1b5bf8
EZ
10373 * international/characters.el: Add set-case-syntax-pair call for
10374 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
10375 counterpart. (Bug#11209)
10376
9f847f41
EZ
10377 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
10378
35dc09a1 103792012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
10380
10381 * calendar/holidays.el (calendar-check-holidays): Doc fix.
10382
35dc09a1 103832012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 10384
35dc09a1
GM
10385 * textmodes/ispell.el (ispell-dictionary-base-alist):
10386 Add data for Hebrew.
e2627d21 10387
35dc09a1 103882012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 10389
35dc09a1
GM
10390 * net/rcirc.el (rcirc-cmd-quit):
10391 Revert 2012-03-18 change (Bug#11192).
5c14e333 10392
35dc09a1 103932012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
10394
10395 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
10396
35dc09a1 103972012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 10398
4517fe3a
SM
10399 * minibuffer.el (completion-in-region-mode-map):
10400 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 10401
b472a594
VD
104022012-04-13 Vivek Dasmohapatra <vivek@etla.org>
10403
10404 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
10405
09b95ce3
MY
104062012-04-13 Masatake YAMATO <yamato@redhat.com>
10407
10408 * minibuffer.el (minibuffer-local-filename-syntax): New variable
10409 to allow `C-M-f' and `C-M-b' to move to the nearest path
10410 separator (bug#9511).
10411
4b63a9ca
LI
104122012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
10413
10414 * avoid.el: Require cl when compiling. And also move the
10415 `provide' to the end.
10416
7b55b8bf
TV
104172012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10418
10419 * avoid.el (mouse-avoidance-banish-position): New variable.
10420 (mouse-avoidance-banish-destination): Use it (bug#10165).
10421
adedaa1f
LL
104222012-04-13 Leo Liu <sdl.web@gmail.com>
10423
10424 * progmodes/which-func.el (which-func-modes): Add objc-mode.
10425
70e74021
KB
104262012-04-13 Ken Brown <kbrown@cornell.edu>
10427
10428 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 10429 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
10430 (browse-url-filename-alist): For the same reason, don't modify
10431 file:// URLs on Cygwin.
10432
e75e89ba
SM
104332012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
10434
10435 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
10436 the region on shift if the binding is already shifted (bug#11221).
10437
82f289a4
GM
104382012-04-12 Glenn Morris <rgm@gnu.org>
10439
10440 * mail/mailpost.el: Move to obsolete/.
10441
d333dc4c
DA
104422012-04-12 Drew Adams <drew.adams@oracle.com>
10443
10444 * imenu.el (imenu--generic-function): Ignore invisible definitions
10445 (bug#10123).
10446
0d15b5ba
VD
104472012-04-12 Vivek Dasmohapatra <vivek@etla.org>
10448
10449 * hexl.el (hexl-bits): New variable.
10450 (hexl-options): Mention the variable in the doc string.
75f1671a 10451 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 10452 (hexl-mode): Mention the new variable.
75f1671a
JB
10453 (hexl-mode, hexl-current-address, hexl-current-address):
10454 Use the displen.
0d15b5ba
VD
10455 (hexl-ascii-start-column): New function.
10456 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
10457 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
10458
64a440db
AM
104592012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10460
10461 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
10462 '("-i" ENCODING), in 2 separate command-line arguments, to specify
10463 the encoding, as expected by hunspell.
10464
6decb6c2
SM
104652012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
10466
10467 * battery.el (battery--linux-sysfs-regexp): New const.
10468 (battery-status-function): Use it. Remove yeeloong special case.
10469 (battery-yeeloong-sysfs): Remove.
10470 (battery-echo-area-format): Remove yeeloong special case.
10471
088be6fb
SM
104722012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
10473
6622e416
SM
10474 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
10475 Reported by Noah Friedman.
10476
088be6fb
SM
10477 * subr.el (read-passwd): Use read-string.
10478
b49f886e
LMI
104792012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10480
10481 * vcursor.el (vcursor-move): Increase the priority of the overlay
10482 (bug#9663).
10483
a63067fc
DD
104842012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
10485
10486 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
10487 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
10488
ac3cf14a
WS
104892012-04-11 William Stevenson <yhvh2000@gmail.com>
10490
10491 * textmodes/artist.el (artist-mode): Convert artist-mode to use
10492 define-minor-mode (bug#10760).
10493
c4fc691b 104942012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 10495
4d6769e1 10496 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
10497 that directories matching `grep-find-ignored-files' won't be
10498 pruned (bug#10351).
10499
af23e2e5
CY
105002012-04-11 Chong Yidong <cyd@gnu.org>
10501
10502 * startup.el (command-line): Remove support for long-obsolete
10503 variable font-lock-face-attributes.
10504
ab7ce8c1
GM
105052012-04-11 Glenn Morris <rgm@gnu.org>
10506
10507 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
10508
de8c03dc
SM
105092012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
10510
10511 * window.el (window--state-get-1): Obey window-point-insertion-type.
10512
050cc68b
LB
105132012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
10514
10515 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
10516 to previous function when point is on the first character of a
75f1671a 10517 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 10518
a38c310c
GM
105192012-04-11 Glenn Morris <rgm@gnu.org>
10520
effed0c2
GM
10521 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
10522 not just file-errors.
10523
a38c310c
GM
10524 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
10525 (vc-bzr-sha1): Use internal sha1.
10526
0221e323
SM
105272012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
10528
10529 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
10530
43956923
SG
105312012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
10532
10533 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
10534 that start in the middle of the line (bug#10496).
10535
6a8c9eaf
DN
105362012-04-10 Dan Nicolaescu <dann@gnu.org>
10537
10538 * battery.el (battery-linux-proc-acpi): Only one battery is
10539 discharged at a time, but that seems to confuse battery.el when
10540 computing `rate-type' for the battery not being discharged
10541 (bug#10332).
10542
1930bf5d
SM
105432012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
10544
2a718f6f
SM
10545 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
10546
599430d0
SM
10547 * international/quail.el: Use dolist and simplify.
10548 (quail-define-package, quail-update-keyboard-layout)
10549 (quail-define-rules): Use dolist.
10550 (quail-insert-kbd-layout, quail-get-translation): CSE.
10551
a2754b6c
SM
10552 * tmm.el: Use dolist, remove left over hook.
10553 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
10554 Use dolist.
10555 (calendar-load-hook): Don't mess with it.
10556
1930bf5d
SM
10557 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
10558 Use derived-mode-p. Run the diff asynchronously.
10559
9f67961c
LMI
105602012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
10561
10562 * obsolete/mouse-sel.el: Add an Obsolete-since header.
10563
2a8ce227
JB
105642012-04-10 Juanma Barranquero <lekktu@gmail.com>
10565
10566 * misc.el: Display absolute path of loaded DLLs (bug#10424).
10567 (list-dynamic-libraries--loaded): New function.
10568 (list-dynamic-libraries--refresh): Use it.
10569
8f33b5f8
NW
105702012-04-10 Nathan Weizenbaum <nweiz@google.com>
10571
1930bf5d
SM
10572 * progmodes/python.el (python-fill-paragraph):
10573 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
10574 disabled (bug#7018).
10575
b12f0439
L
105762012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
10577
1930bf5d 10578 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
10579 DOS/MS Windows for the Baltic languages. There are still plenty
10580 of texts written in this encoding/codepage (bug#6519).
b12f0439 10581
57c3bd01
GM
105822012-04-10 Glenn Morris <rgm@gnu.org>
10583
10584 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
10585 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
10586
6c3eab30
FA
105872012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
10588
1930bf5d 10589 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
10590 next-line "n" and previous-line "p" in order to make recentf more
10591 consistent with ibuffer, dired or org-mode (bug#9387).
10592
24d78a88
LMI
105932012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
10594
bc72b5d9
LMI
10595 * image.el (put-image): Return the overlay created instead of the
10596 optional input string (bug#7834). Note that this may break code
10597 that is (for some reason or other) depending on `put-image'
10598 returning the string.
10599
bd2dba5a
LMI
10600 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
10601
74beb59f
LMI
10602 * simple.el (zap-to-char): Allow zapping using input methods
10603 (bug#1580).
10604
24d78a88
LMI
10605 * textmodes/fill.el (fill-region): Leave point and mark where they
10606 were before filling (bug#5399).
10607
263f20cd
GM
106082012-04-09 Glenn Morris <rgm@gnu.org>
10609
10610 * version.el (emacs-bzr-get-version):
10611 Handle lightweight checkouts of local branches.
10612
58d1f797
AS
106132012-04-09 Andreas Schwab <schwab@linux-m68k.org>
10614
263f20cd 10615 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 10616
b4d3bc10
CY
106172012-04-09 Chong Yidong <cyd@gnu.org>
10618
10619 * custom.el (custom-variable-p): Return nil for non-symbol
10620 arguments instead of signaling an error.
10621 (user-variable-p): Obsolete alias for custom-variable-p.
10622
10623 * apropos.el (apropos-variable):
10624 * files-x.el (read-file-local-variable):
10625 * simple.el (set-variable):
10626 * woman.el (woman-mini-help):
10627 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
10628
fd06db5d
GM
106292012-04-09 Glenn Morris <rgm@gnu.org>
10630
e5fcdb5e
GM
10631 * startup.el (normal-top-level): Don't look for leim-list.el
10632 in places where it will not be found. (Bug#910)
10633
fd06db5d
GM
10634 * international/mule-cmds.el (set-default-coding-systems):
10635 * files.el (normal-mode):
10636 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
10637 This function was removed with ucs-tables.el in 2008.
10638
b39bb7e1
EZ
106392012-04-08 Eli Zaretskii <eliz@gnu.org>
10640
10641 * textmodes/ispell.el (ispell-check-version): For hunspell, set
10642 ispell-encoding8-command to "-i", without a trailing space.
10643 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
10644 separate command-line arguments, to specify the encoding, since
10645 that's how hunspell expects it.
10646
5c5b8e23
GM
106472012-04-08 Glenn Morris <rgm@gnu.org>
10648
10649 * loadup.el: Load bindings before cus-start.
10650 This reduces somewhat the number of "rogue" settings in emacs -Q.
10651
a1ed8b05
GM
106522012-04-07 Glenn Morris <rgm@gnu.org>
10653
10654 * version.el (emacs-bzr-get-version): New function.
dfae128a 10655 (emacs-bzr-version): New variable.
a1ed8b05
GM
10656 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
10657 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
10658
b142f158
EZ
106592012-04-07 Eli Zaretskii <eliz@gnu.org>
10660
dfae128a
GM
10661 * international/uni-bidi.el, international/uni-category.el:
10662 * international/uni-combining.el, international/uni-decimal.el:
10663 * international/uni-decomposition.el, international/uni-digit.el:
10664 * international/uni-lowercase.el, international/uni-mirrored.el:
10665 * international/uni-name.el, international/uni-numeric.el:
10666 * international/uni-titlecase.el, international/uni-uppercase.el:
10667 Update for Unicode 6.1.
b142f158 10668
9078ead6
EZ
106692012-04-07 Eli Zaretskii <eliz@gnu.org>
10670
10671 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
10672
f23d2c7d
LMI
106732012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
10674
10675 * window.el (shrink-window): Mention the `window-min-height'
10676 variable in the doc string.
10677
0a0a3573
BG
106782012-04-05 Bastien Guerry <bzg@altern.org>
10679
10680 * color.el (color-lighten-name): Fix typo.
10681
e5248ac9
SM
106822012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
10683
10684 * server.el (server--on-display-p): New function.
10685 (server--on-display-p): Use it.
10686
b4243e22
GV
106872012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
10688
10689 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
10690 (bug#11145).
10691
305d9f44
SM
106922012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
10693
10694 * comint.el (comint--common-quoted-suffix): Check string boundary
10695 before comparing (bug#11158).
10696 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
10697
3d439cd1
CY
106982012-04-04 Chong Yidong <cyd@gnu.org>
10699
321cc491
CY
10700 * minibuffer.el (completion-extra-properties): Doc fix.
10701
3d439cd1
CY
10702 * subr.el (delayed-warnings-hook): Doc fix.
10703
2d562c0f
DU
107042012-04-04 Daiki Ueno <ueno@unixuser.org>
10705
10706 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
10707 selection (Bug#11159).
10708 (epa-insert-keys): Inform that the default public key will be
10709 exported if no key is selected.
10710
4443f204
RS
107112012-04-04 Richard Stallman <rms@gnu.org>
10712
10713 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
10714
529c06b6
CY
107152012-04-03 Chong Yidong <cyd@gnu.org>
10716
10717 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
10718 mail-insert-file, not its obsolete alias mail-attach-file.
10719
66b907dc
MA
107202012-04-03 Michael Albinus <michael.albinus@gmx.de>
10721
10722 * notifications.el (notifications-notify): Fix docstring.
10723
c0ea195d
GM
107242012-04-02 Glenn Morris <rgm@gnu.org>
10725
10726 * emacs-lisp/authors.el (authors-aliases): Another addition.
10727
5ca64e00
MA
107282012-04-02 Michael Albinus <michael.albinus@gmx.de>
10729
10730 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
10731 `tramp-compat-call-process' instead of `tramp-local-call-process'.
10732 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
10733
42ee526b
CY
107342012-04-01 Chong Yidong <cyd@gnu.org>
10735
10736 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
10737 Handle root directory properly.
10738 (copy-directory): Caller changed.
10739
10740 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
10741 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
10742
0b021094
GM
107432012-03-31 Glenn Morris <rgm@gnu.org>
10744
40f86458
GM
10745 * term/xterm.el (xterm-extra-capabilities): Doc fix.
10746
7019c177
GM
10747 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
10748
a1daddd6
GM
10749 * calendar/calendar.el (calendar-window-list)
10750 (calendar-hide-window): Restore. (Bug#11140)
10751 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
10752
0b021094
GM
10753 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
10754
40311efc
TV
107552012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10756
10757 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
10758 Check if file is a symlink (Bug#10489).
10759
10760 * files.el (copy-directory): Likewise.
10761
5319014e
CY
107622012-03-30 Chong Yidong <cyd@gnu.org>
10763
10764 * image.el (imagemagick-types-inhibit)
10765 (imagemagick-register-types): Doc fix.
10766
935d1290
AM
107672012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10768
090bd7cb 10769 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 10770 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 10771 and treats ~word as ordinary words in pipe mode.
935d1290 10772
61c6e8fd
GM
107732012-03-30 Glenn Morris <rgm@gnu.org>
10774
10775 * tutorial.el (help-with-tutorial): Ensure local variables don't
10776 happen to make the buffer read-only. (Bug#11127)
10777
81fdff00
SM
107782012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
10779
10780 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
10781 (perl-calculate-indent): Return `noindent' in strings.
10782
6e7a6ec0
SS
107832012-03-28 Sam Steingold <sds@gnu.org>
10784
10785 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
10786 instead of the broken adhockery which does not prevent calendar
10787 buffers from being displayed at random after exit.
10788 (calendar-window-list, calendar-hide-window): Remove the broken
10789 adhockery.
10790
fee88ca0
GM
107912012-03-28 Glenn Morris <rgm@gnu.org>
10792
10793 * replace.el (query-replace-map): Doc fix.
10794
38de3354
AS
107952012-03-28 Andreas Schwab <schwab@linux-m68k.org>
10796
10797 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
10798 contents. (Bug#11109)
10799
b973155e
SM
108002012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
10801
10802 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
10803 (bug#11077).
10804 (avl-tree--check, avl-tree--check-node): New funs.
10805
dcb6e7b3
MR
108062012-03-27 Martin Rudalics <rudalics@gmx.at>
10807
10808 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
10809 (switch-to-prev-buffer, switch-to-next-buffer):
10810 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
10811 showing a buffer already is done on the same frame.
10812
b4fa35fa
GM
108132012-03-27 Glenn Morris <rgm@gnu.org>
10814
10815 * startup.el (mail-host-address): Doc fix.
10816
f9210e18
SM
108172012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10818
10819 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
10820 than 197 variables.
10821
c0bf7753
AF
108222012-03-26 Ami Fischman <ami@fischman.org>
10823
10824 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
10825
33da7b16
GM
108262012-03-26 Glenn Morris <rgm@gnu.org>
10827
02243d9d
GM
10828 * files.el (save-buffers-kill-emacs): Doc fix.
10829
33da7b16
GM
10830 * startup.el (normal-top-level, command-line, command-line-1):
10831 Give them doc strings.
10832
e5a69fd0
EZ
108332012-03-25 Eli Zaretskii <eliz@gnu.org>
10834
10835 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 10836 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 10837
9a69676a
CY
108382012-03-25 Chong Yidong <cyd@gnu.org>
10839
4125cb8b
CY
10840 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
10841 theme if it was previously enabled before (Bug#11031).
10842
dd470960
CY
10843 * cus-theme.el (custom-theme-write-faces): Retrieve current face
10844 spec with custom-face-get-current-spec if its :shown-value is not
10845 determined yet (Bug#9337).
4125cb8b 10846 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 10847
9a69676a
CY
10848 * button.el (button-at): Minor addition to docstring.
10849
6e7e90fa
SL
108502012-03-24 Simon Leinen <simon.leinen@gmail.com>
10851
10852 * vc/vc.el (vc-merge): Fix a prompt.
10853
f06e2758
CY
108542012-03-24 Chong Yidong <cyd@gnu.org>
10855
10856 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
10857 point (Bug#9623).
10858
6e7e90fa
SL
10859 * button.el (button-at): Minor addition to docstring.
10860
b9d0879b
SM
108612012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
10862
10863 * newcomment.el (comment-choose-indent): No space after BOL.
10864
e71cebb3
SS
108652012-03-22 Sam Steingold <sds@gnu.org>
10866
10867 * window.el (switch-to-prev-buffer): Revert last patch because the
10868 bug turned out to be an advertised feature (Elisp manual 28.14).
10869
335aff35
GM
108702012-03-22 Glenn Morris <rgm@gnu.org>
10871
10872 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
10873 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
10874
c676576a
LMI
108752012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
10876
10877 * net/network-stream.el (network-stream-open-starttls): Make error
10878 message under Windows be less misleading.
10879
126f3d39
LW
108802012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
10881
10882 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
10883 understands (bug#9942).
10884
64fee311
CY
108852012-03-22 Chong Yidong <cyd@gnu.org>
10886
10887 * simple.el (end-of-visible-line): Handle return value of
10888 next-single-property-change properly (Bug#9371).
10889
a640d29a
KH
108902012-03-22 Kenichi Handa <handa@m17n.org>
10891
10892 * international/quail.el (quail-insert-kbd-layout): Fix previous
10893 change. To avoid unwanted bidi reordering, use
10894 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
10895
39675016
DG
108962012-03-21 Dmitry Gutov <dgutov@yandex.ru>
10897
10898 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
10899 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
10900 (ruby-beginning-of-indent): Be more careful with the difference
10901 between word-boundary and symbol boundary.
10902 (ruby-mode-syntax-table): Make : a symbol constituent.
10903
0a6934fc 109042012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 10905
3d008e4f
SM
10906 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
10907
0a6934fc
SM
109082012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
10909
af67c9d7
SM
10910 * progmodes/etags.el (tags-completion-at-point-function):
10911 Improve last fix.
10912
1acad97c
SM
10913 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
10914
e298b5da
SS
109152012-03-21 Sam Steingold <sds@gnu.org>
10916
10917 * progmodes/etags.el (tags-completion-at-point-function):
10918 Avoid the error when point is inside the pattern.
10919
91d82a70
JY
109202012-03-21 John Yates <john@yates-sheets.org> (tiny change)
10921
10922 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
10923 line (Bug#10855).
10924
69188b79
CY
109252012-03-21 Drew Adams <drew.adams@oracle.com>
10926
10927 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
10928
99fc91fe
AK
109292012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
10930
10931 * ido.el (ido-set-current-directory, ido-read-internal)
10932 (ido-choose-completion-string, ido-completion-help): Handle nil
10933 value of ido-completion-buffer (Bug#11008).
10934
087bbb4c
SS
109352012-03-21 Sam Steingold <sds@gnu.org>
10936
10937 * window.el (switch-to-prev-buffer): Do not switch to a visible
10938 window previous buffer, just like with the frame previous buffers.
10939
fb5b8aca
CY
109402012-03-21 Chong Yidong <cyd@gnu.org>
10941
10942 * faces.el (make-face, make-empty-face, copy-face):
10943 * face-remap.el (face-remap-add-relative, face-remap-set-base):
10944 Doc fixes.
10945
dc9924b8
SM
109462012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
10947
10948 * wid-edit.el (widget-complete-field): Remove (bug#11051).
10949 (widget-complete): Remove broken use of it.
10950
f0bcceb9
CY
109512012-03-20 Chong Yidong <cyd@gnu.org>
10952
dc9924b8
SM
10953 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
10954 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
10955 characters.
10956
ee52ebf3
TH
109572012-03-20 Tassilo Horn <tassilo@member.fsf.org>
10958
10959 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
10960 to draw rectangles, not squares. (Regression introduced by revno
10961 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
10962
4c5779ab
CY
109632012-03-18 Chong Yidong <cyd@gnu.org>
10964
10965 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
10966 it is not yet defined (for temacs).
10967
15360934
LL
109682012-03-18 Leo Liu <sdl.web@gmail.com>
10969
735135f9
PE
10970 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
10971 prefix.
15360934 10972
d9a8eb66
EZ
109732012-03-17 Eli Zaretskii <eliz@gnu.org>
10974
10975 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
10976 (ispell-choices-win-default-height, ispell-silently-savep)
10977 (ispell-dictionary-alist, ispell-encoding8-command)
10978 (ispell-check-version, ispell-aspell-find-dictionary)
10979 (ispell-valid-dictionary-list, ispell-words-keyword)
10980 (ispell-get-word, ispell-internal-change-dictionary)
10981 (ispell-region, ispell-skip-region-list)
10982 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
10983 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
10984 (ispell-message-text-end, ispell-message)
10985 (ispell-buffer-local-parsing): Doc fix.
10986
f02ff80d
J
109872012-03-13 Jambunathan K <kjambunathan@gmail.com>
10988
10989 * htmlfontify.el: Add support for code block fontification for ODT
10990 export (Bug #9914).
10991 (hfy-optimisations): Define new option
10992 `body-text-only'
10993 (hfy-fontify-buffer): Honor above setting.
10994 (hfy-begin-span, hfy-end-span): New routines factored out form
10995 `hfy-fontify-buffer'.
10996 (hfy-begin-span-handler, hfy-end-span-handler): New variables
10997 that permit insertion of custom tags.
10998 (hfy-fontify-buffer): Use above handlers.
10999 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
11000 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 11001 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 11002 over multiple runs. This is made possible by having the caller let
f02ff80d
J
11003 bind a special variable `hfy-user-sheet-assoc'.
11004 (htmlfontify-string): New defun.
11005 (hfy-compile-face-map): Make sure that the last char in the
11006 buffer is correctly fontified.
11007 (hfy-face-resolve-face): Whitespace only change.
11008
9ac7a13f
EZ
110092012-03-17 Eli Zaretskii <eliz@gnu.org>
11010
11011 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
11012 message more clear.
11013
e2b5bdd7
LL
110142012-03-16 Leo Liu <sdl.web@gmail.com>
11015
11016 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
11017
2e492df3
AM
110182012-03-16 Alan Mackenzie <acm@muc.de>
11019
11020 Further optimise the handling of large macros.
11021
11022 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
11023 limit to a call of `c-literal-limits'.
11024 (c-determine-+ve-limit): New function.
dc9924b8
SM
11025 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
11026 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
11027 In CASE 5B, restrict a search limit to 500.
11028 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
11029
11030 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
11031 Restrict macro bounds to +-500 from after-change's BEG END.
11032
50e94f0c
LL
110332012-03-16 Leo Liu <sdl.web@gmail.com>
11034
11035 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
11036
6f09f6ed
AH
110372012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
11038
11039 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 11040 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 11041
c7e73d51
GM
110422012-03-16 Glenn Morris <rgm@gnu.org>
11043
da986230
GM
11044 * view.el (view-buffer, view-buffer-other-window)
11045 (view-buffer-other-frame): Doc fixes re special mode-class.
11046
0835f01e
GM
11047 * subr.el (eval-after-load): If named feature is provided not from
11048 a file, run after-load forms. (Bug#10946)
11049
c7e73d51
GM
11050 * calendar/calendar.el (calendar-insert-at-column):
11051 Handle non-unit-width characters a bit better. (Bug#10978)
11052
3f2eafd1
CY
110532012-03-15 Chong Yidong <cyd@gnu.org>
11054
11055 * emacs-lisp/ring.el (ring-extend): New function.
11056 (ring-insert+extend): Extend the ring correctly (Bug#11019).
11057
11058 * comint.el (comint-read-input-ring)
11059 (comint-add-to-input-history): Grow comint-input-ring lazily.
11060
103af3fe
SM
110612012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
11062
663b1677
SM
11063 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
11064 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
11065
103af3fe
SM
11066 * imenu.el: Fix multiple inheritance breakage (bug#9199).
11067 (imenu-add-to-menubar): Don't add a redundant index.
11068 (imenu-update-menubar): Handle a dynamically composed keymap.
11069
899cb7cb
KY
110702012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
11071
11072 * mail/sendmail.el (mail-encode-header):
11073 Bind rfc2047-encode-encoded-words to nil.
11074
3809f91d
GM
110752012-03-13 Glenn Morris <rgm@gnu.org>
11076
11077 * calendar/calendar.el (calendar-string-spread):
11078 Handle non-unit-width characters a bit better. (Bug#10978)
11079
9e345a01
LL
110802012-03-13 Leo Liu <sdl.web@gmail.com>
11081
11082 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
11083 directory and file as argument (Bug#10822).
11084
4a07df36
KS
110852012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
11086
11087 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
11088 For dynamically generated code, follow $PC.
11089 (gdb-disassembly-handler-custom): Handle no function name case.
11090
4aaa9356
TL
110912012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
11092
11093 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
11094 * emulation/ws-mode.el (ws-query-replace):
11095 * sort.el (sort-regexp-fields):
11096 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
11097
225979da
SM
110982012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11099
11100 * dabbrev.el: Fix cycle completion order (bug#10963).
11101 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
11102 (dabbrev-completion): Don't use an obarray; provide
11103 a cycle-sort-function.
11104
e2f1fdab
LL
111052012-03-12 Leo Liu <sdl.web@gmail.com>
11106
dc9924b8 11107 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
11108 (kill-do-not-save-duplicates): Doc fix.
11109
b19490ed
SM
111102012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11111
11112 * dabbrev.el: Fix cycle completion (bug#10963).
11113 Use lexical binding and wrap to 80 columns.
11114 (dabbrev-completion): Delay computing the list of completions.
11115
4b05d722
KH
111162012-03-12 Kenichi Handa <handa@m17n.org>
11117
11118 * international/quail.el (quail-insert-kbd-layout): Surround each
11119 row by LRO and PDF instead of inserting many LRMs. Pad the left
11120 and right of each non-spacing marks. Insert invisible space
11121 between lower and upper characters to prevent composition.
11122
dbbc2e69
SM
111232012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11124
11125 * minibuffer.el (minibuffer-complete): Don't get confused when the
11126 function is run twice via different commands (bug#10958).
11127 (complete-with-action): Fix docstring.
11128
292112ed
CY
111292012-03-12 Chong Yidong <cyd@gnu.org>
11130
5d1ac394
CY
11131 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
11132 (nxml-completion-at-point-function): New function.
11133 (nxml-mode): Use it.
11134 (nxml-bind-meta-tab-to-complete-flag): Default to t.
11135
292112ed
CY
11136 * emacs-lisp/package.el (package-unpack, package-unpack-single):
11137 Load generated autoloads file before byte compiling (Bug#10970).
11138 (package--make-autoloads-and-compile): New helper fun.
11139
4098f8f7
CS
111402012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
11141
11142 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
11143
8f754691
MA
111442012-03-11 Michael Albinus <michael.albinus@gmx.de>
11145
11146 * autorevert.el (auto-revert-handler): Ensure, that
11147 file-readable-p is applied only for local files or in
11148 auto-revert-tail-mode.
11149
e29ab36b
AS
111502012-03-11 Andreas Schwab <schwab@linux-m68k.org>
11151
dbbc2e69
SM
11152 * server.el (server-eval-at): Handle non-tcp connections.
11153 Decode result string.
ad0bf5b6 11154
e29ab36b
AS
11155 * server.el (server-msg-size): New constant.
11156 (server-reply-print): New function.
11157 (server-eval-and-print): Use it.
11158 (server-eval-at): Use server-quote-arg and server-unquote-arg.
11159 Handle -print-nonl.
11160
de5939ba
CS
111612012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
11162
11163 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
11164 (Bug#10987).
11165
0c93eabf
CY
111662012-03-11 Chong Yidong <cyd@gnu.org>
11167
397a688f
CY
11168 * simple.el (goto-line): Doc fix (Bug#9938).
11169
2cc775f9
CY
11170 * subr.el (save-window-excursion): Doc fix (Bug#9979).
11171
0c93eabf
CY
11172 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
11173 when finished (Bug#10963).
11174
c491fa41
MR
111752012-03-11 Martin Rudalics <rudalics@gmx.at>
11176
11177 * window.el (split-window-below): Fix bug in case where
11178 split-window-keep-point is nil (Bug#10971).
11179
300e8fa5
JL
111802012-03-11 Juri Linkov <juri@jurta.org>
11181
11182 * replace.el (replace-highlight): Set isearch-word to nil
11183 unconditionally. (Bug#10887)
11184
dbf6c5a1
EZ
111852012-03-10 Eli Zaretskii <eliz@gnu.org>
11186
11187 * net/mairix.el (mairix-replace-invalid-chars): Rename from
11188 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 11189 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
11190 (mairix-widget-create-query): Add usage information about mairix
11191 search forms: negating words, searching for substrings, etc.
11192
b9e501de
JP
111932012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
11194
11195 * international/fontset.el (font-encoding-alist): Add an entry for
11196 ksx1001 (Bug#5667).
11197
92795c91
RS
111982012-03-10 Richard Stallman <rms@gnu.org>
11199
1694e6c1
RS
11200 * mail/sendmail.el (mail-encode-header):
11201 Set rfc2047-encode-encoded-words.
11202
607e8555
RS
11203 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
11204
de3bc99a
RS
11205 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
11206 view buffer means not swapped.
11207 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
11208 (rmail-write-region-annotate): Error if real text has disappeared.
11209
92795c91
RS
11210 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
11211
699bd04e
CY
112122012-03-10 Chong Yidong <cyd@gnu.org>
11213
11214 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
11215 * emulation/cua-base.el (cua--init-keymaps):
11216 Add delete-forward-char to remappings (Bug#9666).
699bd04e 11217
570a1714
MR
112182012-03-10 Martin Rudalics <rudalics@gmx.at>
11219
dbbc2e69
SM
11220 * speedbar.el (speedbar-unhighlight-one-tag-line):
11221 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 11222
82dcf4e4
CY
112232012-03-10 Chong Yidong <cyd@gnu.org>
11224
7a2c7ca7
CY
11225 * minibuffer.el (completion-in-region, completion-help-at-point):
11226 Give the completion field overlay a high priority (Bug#6830).
11227
82dcf4e4
CY
11228 * dired.el (dired-goto-file): Recognize absolute file name
11229 listings (Bug#7126).
11230 (dired-goto-file-1): New helper function.
11231 (dired-toggle-read-only): Inhibit warnings.
11232
052e28ac
MA
112332012-03-09 Michael Albinus <michael.albinus@gmx.de>
11234
75f1671a 11235 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
11236 there are no properties.
11237
95d5e396
LL
112382012-03-09 Leo Liu <sdl.web@gmail.com>
11239
11240 * savehist.el (savehist-printable): Stricter check for string
11241 value (Bug#10937).
11242
3f018d6d
EZ
112432012-03-09 Eli Zaretskii <eliz@gnu.org>
11244
dbbc2e69
SM
11245 * mail/smtpmail.el (smtpmail-send-it):
11246 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
11247 valid mbox format.
11248
f7fd3d79
GM
112492012-03-09 Glenn Morris <rgm@gnu.org>
11250
11251 * files.el (dir-locals-find-file):
11252 Don't check result is regular, readable.
11253 (dir-locals-read-from-file): Demote errors.
11254
6ff6e72f
EZ
112552012-03-08 Eli Zaretskii <eliz@gnu.org>
11256
dbbc2e69
SM
11257 * international/quail.el (quail-insert-kbd-layout):
11258 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
11259 layout cell, to prevent their reordering by bidi display engine.
11260 For details, see the discussion in
11261 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
11262
9cec7834
AM
112632012-03-08 Alan Mackenzie <acm@muc.de>
11264
11265 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
11266 the starting position; make it extend the marked region when
11267 invoked repeatedly - all under appropriate circumstances.
11268 Fixes bugs #5525, #10906.
11269
9a40b8d4
GM
112702012-03-08 Glenn Morris <rgm@gnu.org>
11271
11272 * files.el (locate-dominating-file, dir-locals-find-file):
11273 Undo 2012-03-06 change.
11274
7a08ed35
EZ
112752012-03-07 Eli Zaretskii <eliz@gnu.org>
11276
dbbc2e69
SM
11277 * international/quail.el (quail-help):
11278 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
11279 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
11280 for the reason.
11281
5aca4f71 112822012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
11283
11284 Avoid superfluous registering of signals. (Bug#10807)
11285
11286 * notifications.el (notifications-on-action-object)
11287 (notifications-on-close-object): New defvars.
11288 (notifications-on-action-signal, notifications-on-closed-signal):
11289 Unregister the signal if not needed any longer.
11290 (notifications-notify): Register `notifications-action-signal' or
11291 `notifications-closed-signal', if :on-action or :on-close has been
11292 passed as argument.
11293
78e8b10a
CY
112942012-03-07 Chong Yidong <cyd@gnu.org>
11295
11296 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
11297 non-X platforms.
11298
69481eb8
GM
112992012-03-06 Glenn Morris <rgm@gnu.org>
11300
11301 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
11302 (x-disown-selection-internal, x-get-selection-internal):
11303 Doc fix (add arglist signatures). (Bug#10783)
11304
133b8e11
KS
113052012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
11306
11307 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
11308 Handle breakpoints with no "type".
11309
99a83064
GM
113102012-03-06 Glenn Morris <rgm@gnu.org>
11311
11312 * files.el (locate-dominating-file): Add optional predicate argument.
11313 (dir-locals-find-file): Make use of above change.
11314
17798e78
TTN
113152012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
11316
11317 * info.el (Info-insert-dir): Also try "dir.gz".
11318
eb182446
GM
113192012-03-06 Glenn Morris <rgm@gnu.org>
11320
8f2114ee
GM
11321 * files.el (dir-locals-find-file):
11322 Ignore non-readable or non-regular files. (Bug#10928)
11323
eb182446
GM
11324 * files.el (locate-dominating-file): Doc fix.
11325
24679323
AS
113262012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
11327
11328 * calendar/calendar.el (calendar-set-mode-line):
11329 `getenv' returns a string. (Bug#10951)
11330
01d972a9
LL
113312012-03-05 Leo Liu <sdl.web@gmail.com>
11332
109aa8a9
LL
11333 * simple.el (backward-delete-char-untabify): Constrain point to
11334 field (Bug#10939).
11335
01d972a9
LL
11336 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
11337
10607bea
CY
113382012-03-05 Chong Yidong <cyd@gnu.org>
11339
11340 * simple.el (count-words): If called from Lisp, return the word
11341 count, for symmetry with `count-lines'. Arglist changed.
11342 (count-words--message): Args changed. Consolidate counting code
11343 from count-words and count-words-region.
11344 (count-words-region): Caller changed.
11345 (count-lines-region): Make it an obsolete alias.
11346
5dd11cfe
TH
113472012-03-04 Tassilo Horn <tassilo@member.fsf.org>
11348
11349 * saveplace.el (save-place-to-alist)
11350 (save-place-ignore-files-regexp): Allow value nil to disable this
11351 feature.
11352
c349f4e6
CY
113532012-03-04 Chong Yidong <cyd@gnu.org>
11354
11355 * faces.el (face-spec-reset-face): For the default face, reset the
11356 attributes to default values (Bug#10748).
11357
e627be4c
LMI
113582012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
11359
11360 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
11361 previous patch: Check `message-send-mail-function', and not the
11362 default function (bug#10897).
11363
ebeabff4
MA
113642012-03-04 Michael Albinus <michael.albinus@gmx.de>
11365
a41a6cf4
MA
11366 * notifications.el (notifications-on-action-signal)
11367 (notifications-on-closed-signal): Check for unique service name of
11368 incoming event. Fix error in removing entry.
ebeabff4 11369 (top): Register for signals with wildcard service name.
a41a6cf4 11370 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 11371
c1ca42b4
CY
113722012-03-04 Chong Yidong <cyd@gnu.org>
11373
dc9924b8 11374 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 11375
ea16568d
GM
113762012-03-04 Glenn Morris <rgm@gnu.org>
11377
11378 * abbrev.el (copy-abbrev-table, abbrev-table-p)
11379 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
11380 (expand-abbrev, define-abbrev-table): Doc fixes.
11381
fbae4637
LMI
113822012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11383
11384 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
11385 `message-default-send-mail-function' and not `send-mail-function'
11386 when doing the prompting for `sendmail-query-once' before sending
11387 in Message buffers (bug#10897).
11388
a1e7225c
LMI
11389 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
11390 This is inconsistent with all the other stream functions, which leave
11391 the setting up to the higher levels (if so wanted) (bug#10931).
11392
56d093a9
AM
113932012-03-02 Alan Mackenzie <acm@muc.de>
11394
11395 Depessimize the handling of very large macros.
11396
11397 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
11398 (c-macro-cache-syntactic): New variables to implement a one
11399 element macro cache.
11400 (c-invalidate-macro-cache): New function.
11401 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
11402 Adapt to use the new cache.
11403 (c-state-safe-place): Use better the cache of safe positions.
11404 (c-state-semi-nonlit-pos-cache)
11405 (c-state-semi-nonlit-pos-cache-limit):
11406 New variables for...
11407 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
11408 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
11409 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
11410 Use c-state-semi-safe-place.
56d093a9 11411
dbbc2e69
SM
11412 * progmodes/cc-langs.el (c-get-state-before-change-functions):
11413 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 11414
817e5c3d
MA
114152012-03-02 Michael Albinus <michael.albinus@gmx.de>
11416
dbbc2e69
SM
11417 * jka-compr.el (jka-compr-call-process):
11418 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
11419 not remote.
11420
a032a702
MA
114212012-03-01 Michael Albinus <michael.albinus@gmx.de>
11422
11423 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
11424 access of FILE2, if FILE1 does not exist.
11425
99a54f21
MA
11426 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
11427 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
11428
11429 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
11430 Add "PAGER=" to `process-environment'.
11431
f6561e1f
MM
114322012-03-01 Michael R. Mauger <mmaug@yahoo.com>
11433
11434 * progmodes/sql.el: Bug fix
11435 (sql-get-login-ext): Save login values in globals.
11436 (sql-get-login): Use new version of `sql-get-login-ext'.
11437 (sql-interactive-mode): Set global `sql-connection' to nil.
11438 (sql-connect): Set global values for connection.
11439 (sql-product-interactive): Save global values as buffer local.
11440
2d44d9cc
LL
114412012-02-29 Leo Liu <sdl.web@gmail.com>
11442
11443 * abbrev.el (define-abbrevs): Reset sys to nil.
11444
96b49301 114452012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11446
bf7f9bc5
JB
11447 * files.el (file-equal-p): Rename from `files-equal-p'.
11448 Return nil when one or both files don't exist.
96b49301 11449 (file-subdir-of-p): Now only top directory must exists,
11450 return nil if it doesn't.
bf7f9bc5
JB
11451 (copy-directory): No need to test with `file-subdir-of-p' after
11452 creating dir.
11453 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
11454 to `file-equal-p'.
96b49301 11455
44e97401
GM
114562012-02-28 Glenn Morris <rgm@gnu.org>
11457
11458 * shell.el (shell-mode):
11459 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
11460 * play/landmark.el (landmark-font-lock-face-O):
11461 * play/handwrite.el (handwrite):
11462 * play/gomoku.el (gomoku-O):
11463 * net/browse-url.el (browse-url-browser-display):
11464 * international/mule.el (define-charset):
11465 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
11466 * filesets.el (filesets-find-file-delay):
11467 * eshell/em-xtra.el (eshell-xtra):
11468 * eshell/em-unix.el (eshell-grep):
11469 * emulation/viper.el (viper-mode):
11470 * emacs-lisp/regexp-opt.el (regexp-opt-group):
11471 * emacs-lisp/easymenu.el (easy-menu-define):
11472 * calendar/timeclock.el (timeclock-use-display-time):
11473 * bs.el (bs-mode):
11474 * bookmark.el (bookmark-save-flag):
11475 Doc fix (standardize possessive apostrophe usage).
11476
c98c6276
CY
114772012-02-27 Chong Yidong <cyd@gnu.org>
11478
bf7f9bc5
JB
11479 * emulation/viper-cmd.el (viper-intercept-ESC-key):
11480 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 11481
c98c6276
CY
11482 * font-lock.el (font-lock-specified-p): Rename from
11483 font-lock-spec-present. Callers changed.
11484
9c62cd04 114852012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 11486
bf7f9bc5
JB
11487 * emacs-lisp/package.el (package-compute-transaction):
11488 Handle holding a package version to t in package-load-list.
8ac9e529 11489
530739c9
MA
114902012-02-26 Michael Albinus <michael.albinus@gmx.de>
11491
11492 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
11493 (tramp-get-inode, tramp-get-device): Use cached values.
11494
487915d7
AM
114952012-02-26 Alan Mackenzie <acm@muc.de>
11496
11497 Check there is a font-lock specification before doing initial
11498 fontification.
11499
11500 * font-core.el (font-lock-mode): Move the conditional from
11501 :after-hook to font-lock-initial-fontify.
11502 (font-lock-default-function): Move the check for a specification
11503 to font-lock-spec-present.
11504
dc9924b8 11505 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
11506 (font-lock-spec-present): New function.
11507
4fd96557
JB
115082012-02-26 Jim Blandy <jimb@red-bean.com>
11509
11510 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
11511 (gdb-send): Apply it to the operand of the '-interpreter-exec
11512 console' command, so that we can pass arguments with (say) quotes
11513 in them. Store exact string sent in gdb-debug-log (Bug#10765).
11514
9a4888c0
CY
115152012-02-26 Chong Yidong <cyd@gnu.org>
11516
07498861
CY
11517 * help-fns.el (describe-function-1): Clarify description of
11518 remapping (Bug#10844).
11519
9a4888c0
CY
11520 * files.el (files-equal-p): Doc fix.
11521 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
11522 and quit the loop once a mismatch is found.
11523
ea8fb88d
JB
115242012-02-25 Juanma Barranquero <lekktu@gmail.com>
11525
11526 * bs.el (bs--show-with-configuration): Don't throw an error
11527 if the window cannot be split; otherwise, subsequent calls to
11528 bs-show fail, restoring a stale window config. (Bug#10882)
11529
525795c1
JD
115302012-02-25 Jan Djärv <jan.h.d@swipnet.se>
11531
11532 * term/ns-win.el (global-map): Bind ns-drag-file to
11533 ns-find-file (Bug#5855, Bug#10050).
11534
f008086f
AS
115352012-02-25 Andreas Schwab <schwab@linux-m68k.org>
11536
11537 * calendar/parse-time.el (parse-time-string): Allow extractor to
11538 return nil.
11539
a3fcfa99
MA
115402012-02-25 Michael Albinus <michael.albinus@gmx.de>
11541
91027d08
JB
11542 * net/tramp.el (tramp-file-name-for-operation):
11543 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
11544
11545 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
11546 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
11547 Add COPY-CONTENTS argument.
a3fcfa99 11548
67b0de11
CY
115492012-02-25 Chong Yidong <cyd@gnu.org>
11550
11551 Add custom groups for VC backends, for consistency with vc-bzr.
11552
11553 * vc/vc-arch.el (vc-arch):
11554 * vc/vc-cvs.el (vc-cvs):
11555 * vc/vc-git.el (vc-git):
11556 * vc/vc-hg.el (vc-hg):
11557 * vc/vc-mtn.el (vc-mtn):
11558 * vc/vc-rcs.el (vc-rcs):
11559 * vc/vc-sccs.el (vc-sccs):
11560 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
11561 All relevant defcustoms reassigned.
11562
3c9dfce6
CY
115632012-02-25 Chong Yidong <cyd@gnu.org>
11564
1339bf43
CY
11565 * newcomment.el (comment-styles): Add autoload (Bug#10868).
11566
3c9dfce6
CY
11567 * term/x-win.el (x-initialize-window-system): Reduce default for
11568 x-selection-timeout to 5 seconds (Bug#8869).
11569
25b2e303 115702012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11571
ec70a47d
GM
11572 * files.el (files-equal-p, file-subdir-of-p): New functions.
11573 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 11574 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
11575 * dired-aux.el (dired-copy-file-recursive): Same.
11576 (dired-create-files): Modify destination when source is equal to
11577 dest when copying files.
53a46cd0 11578 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 11579
914260cd
MA
115802012-02-24 Michael Albinus <michael.albinus@gmx.de>
11581
11582 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
11583 (Bug#10874)
11584
2cb228f7
AM
115852012-02-23 Alan Mackenzie <acm@muc.de>
11586
11587 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
11588 parameter "after-hook:" to allow the expansion to run code after
11589 the execution of the mode hooks.
11590
11591 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 11592 from font-lock-mode-internal.
2cb228f7 11593
91027d08 11594 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
11595 :after-hook.
11596
8f0fde21
SM
115972012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
11598
3e88618b
SM
11599 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
11600 (completion--cache-all-sorted-completions): New function.
11601 (completion-all-sorted-completions): Use it.
11602 (completion--do-completion, minibuffer-force-complete):
11603 Use it to re-instate the flush hook.
11604
8f0fde21
SM
11605 * icomplete.el (icomplete-completions): Replace last fix with a better
11606 one (bug#10850).
11607
8e911f6f
DG
116082012-02-23 Dmitry Gutov <dgutov@yandex.ru>
11609
11610 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
11611 when it might call us back infinitely (bug#10797).
11612
49fe4321
GM
116132012-02-23 Glenn Morris <rgm@gnu.org>
11614
11615 * minibuffer.el (completion-category-overrides): Doc fix.
11616
b291b572
SM
116172012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
11618
11619 * minibuffer.el (completion-table-with-context): Fix inf-loop.
11620 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
11621
31a9ef2e
GM
116222012-02-23 Glenn Morris <rgm@gnu.org>
11623
5e6e6794 11624 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
11625 (authors-obsolete-files-regexps, authors-ignored-files)
11626 (authors-ambiguous-files, authors-renamed-files-alist):
11627 Add more entries.
11628
0bd1e074
JL
116292012-02-23 Juri Linkov <juri@jurta.org>
11630
11631 * isearch.el (isearch-occur): Sync interactive spec with occur's
11632 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
11633
b617673c
JL
11634 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
11635
19e9789e
JL
116362012-02-22 Juri Linkov <juri@jurta.org>
11637
11638 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
11639 (ucs-insert): Doc fix. Check for hex digits in the string.
11640 Don't display `nil' in the error message. (Bug#10857)
11641
f41ce09d
AM
116422012-02-22 Alan Mackenzie <acm@muc.de>
11643
7a71b18d 11644 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 11645
ac2eceee
GM
116462012-02-22 Glenn Morris <rgm@gnu.org>
11647
11648 * ffap.el (ffap-c-path):
11649 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
11650
abd1f678
CY
116512012-02-22 Chong Yidong <cyd@gnu.org>
11652
11653 * custom.el (load-theme): Doc fix.
11654
f25aef2e
GM
116552012-02-22 Glenn Morris <rgm@gnu.org>
11656
11657 * dired-x.el (dired-guess-shell-alist-default):
11658 Remove escape sequences from nroff output. (Bug#172)
11659
5f8dc2ca
GM
116602012-02-21 Glenn Morris <rgm@gnu.org>
11661
6ff86ec4
GM
11662 * vc/emerge.el (emerge-defvar-local):
11663 Set `permanent-local' property rather than unused `preserved'.
11664
be3223a3 11665 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
11666 (picture-mode-map): Use it. (Bug#10860)
11667 (picture-mode): Doc fix.
11668
3fe58f4f
JB
116692012-02-21 Juanma Barranquero <lekktu@gmail.com>
11670
11671 * newcomment.el (uncomment-region-default): Remove unused binding.
11672
f9a998c3
GM
116732012-02-21 Glenn Morris <rgm@gnu.org>
11674
11675 * textmodes/picture.el (picture-motion, picture-motion-reverse)
11676 (picture-self-insert, picture-tab-chars): Doc fix.
11677 (picture-mode-map): Fix C-a, C-e.
11678
c6029348
GM
116792012-02-20 Glenn Morris <rgm@gnu.org>
11680
11681 * emacs-lisp/authors.el (authors-aliases): Add another entry.
11682
ab1ce9d7
LL
116832012-02-20 Leo Liu <sdl.web@gmail.com>
11684
11685 * icomplete.el (icomplete-completions): Check FROM arg before
11686 passing to substring (Bug#10850).
11687
0fd40f89
CY
116882012-02-19 Chong Yidong <cyd@gnu.org>
11689
11690 * comint.el: Require ansi-color.
11691 (comint-output-filter-functions): Add ansi-color-process-output.
11692
11693 * ansi-color.el: Don't set comint-output-filter-functions; it is
11694 now in the initial value defined in comint.el.
11695 (ansi-color-apply-face-function): New variable.
11696 (ansi-color-apply-on-region): Use it.
11697 (ansi-color-apply-overlay-face): New function.
11698
11699 * shell.el (shell): No need to require ansi-color.
11700 (shell-mode): Use ansi-color-apply-face-function to highlight
11701 color escapes using font-lock-face property (Bug#10835).
11702
20af2394
CY
117032012-02-19 Chong Yidong <cyd@gnu.org>
11704
11705 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
11706 mode-line formats (Bug#10839).
11707
e23a3fbe
GM
117082012-02-18 Glenn Morris <rgm@gnu.org>
11709
b474519e
GM
11710 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
11711
11712 * mail/undigest.el (unforward-rmail-message): Doc fix.
11713
e23a3fbe
GM
11714 * saveplace.el (save-place-ignore-files-regexp): Add :version.
11715
57939ff4
EZ
117162012-02-18 Eli Zaretskii <eliz@gnu.org>
11717
11718 * international/characters.el (script-list): Sync with the latest
11719 Unicode Character Database.
11720
0c23686e
AS
117212012-02-18 Andreas Schwab <schwab@linux-m68k.org>
11722
11723 * international/titdic-cnv.el: Remove duplicate coding tag.
11724 * language/cham.el: Likewise.
11725 * language/tai-viet.el: Likewise.
11726
6818b449
GM
117272012-02-18 Glenn Morris <rgm@gnu.org>
11728
11729 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
11730 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
11731 (calendar-bahai-all-holidays-flag, calendar-other-dates):
11732 * calendar/diary-lib.el (diary-abbreviated-year-flag):
11733 * calendar/holidays.el (holiday-bahai-holidays)
11734 (calendar-holidays, list-holidays):
11735 Use utf-8 Bahá'í in doc-strings, menus, etc.
11736
0311a3fc
TH
117372012-02-17 Tassilo Horn <tassilo@member.fsf.org>
11738
11739 * saveplace.el (save-place-ignore-files-regexp): New variable
11740 allowing for excluding files from saving their location of point.
11741 The default value matches the temporary commit message editing
11742 files from Git, SVN, Bazaar, and Mercurial.
11743 (save-place-to-alist): Use it.
11744
d209e2fb 117452012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 11746 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
11747
11748 * newcomment.el (uncomment-region-default): Don't leave extra space
11749 when an arg is provided (bug#8150).
11750
ee0ce425
TZ
117512012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
11752
eb864a71 11753 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 11754
95ddf442
GM
117552012-02-17 Glenn Morris <rgm@gnu.org>
11756
11757 * net/socks.el: Require network-stream. (Bug#10599)
11758
48dd1e39 117592012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
11760
11761 * international/charprop.el:
11762 * international/uni-name.el:
11763 * international/uni-old-name.el:
11764 * international/uni-comment.el: Regenerate.
11765
d68cd087
GM
117662012-02-16 Glenn Morris <rgm@gnu.org>
11767
11768 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
11769 Interactively in calendar buffer, give an error if not on a date.
11770
13932042
GM
117712012-02-15 Glenn Morris <rgm@gnu.org>
11772
11773 * shell.el (shell-delimiter-argument-list):
11774 Revert 2011-02-17 change. (Bug#8027)
11775
c3a70e2b
CY
117762012-02-15 Chong Yidong <cyd@gnu.org>
11777
60236b0d
CY
11778 * minibuffer.el (completion-at-point-functions): Doc fix.
11779
c3a70e2b
CY
11780 * custom.el (defcustom): Doc fix; note use of defvar.
11781
9f26dc24
GM
117822012-02-15 Glenn Morris <rgm@gnu.org>
11783
11784 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
11785 Doc fixes.
11786
6546b134
GM
117872012-02-14 Glenn Morris <rgm@gnu.org>
11788
11789 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
11790
d29b2b4c
LI
117912012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
11792
11793 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
11794 way the ports list is computed.
835bdcba
LI
11795 (smtpmail-query-smtp-server): Prompt the user for a port number if
11796 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 11797
08dcdbc9
TZ
117982012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
11799
11800 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
11801
2605051a
GM
118022012-02-13 Glenn Morris <rgm@gnu.org>
11803
11804 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
11805
7ee99f32
TZ
118062012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
11807
11808 * net/gnutls.el (gnutls-trustfiles): New variable.
11809 (gnutls-negotiate): Use it.
11810
5f0af64f
LI
118112012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
11812
11813 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
11814 does its stuff if Gnus is running.
11815
c14fcc95
AM
118162012-02-13 Alan Mackenzie <acm@muc.de>
11817
11818 Fix a loop in c-set-fl-decl-start.
11819
7a71b18d 11820 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
11821 c-backward-syntactic-ws actually moves backwards.
11822
142b4d90
LL
118232012-02-13 Leo Liu <sdl.web@gmail.com>
11824
11825 * net/rcirc.el (rcirc-markup-attributes): Move point to the
11826 beginning so that all \C-o chars are removed.
11827
fa9958a6
TZ
118282012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
11829
dc9924b8 11830 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 11831
0bc5886a
AM
118322012-02-12 Alan Mackenzie <acm@muc.de>
11833
11834 Fix infinite loop with long macros.
4d6769e1 11835 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 11836
d4bd55e7
CY
118372012-02-12 Chong Yidong <cyd@gnu.org>
11838
11839 * window.el (display-buffer): Doc fix (Bug#10785).
11840
66f3fe22
GM
118412012-02-12 Glenn Morris <rgm@gnu.org>
11842
bd7da63e
GM
11843 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
11844 (x-disown-selection-internal, x-get-selection-internal):
11845 Sync docs with the xselect.c versions.
11846
66f3fe22
GM
11847 * allout-widgets.el: Add missing license notice.
11848
3e0d2fa7
GM
118492012-02-11 Glenn Morris <rgm@gnu.org>
11850
cfecdf09
GM
11851 * select.el (x-get-selection-internal, x-own-selection-internal)
11852 (x-disown-selection-internal):
11853 * x-dnd.el (x-get-selection-internal): Update declarations.
11854
6d216d7f
GM
11855 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
11856
2bed3f04
GM
11857 * window.el (window-sides-slots):
11858 * tool-bar.el (tool-bar-position):
11859 * term/xterm.el (xterm-extra-capabilities):
11860 * ses.el (ses-self-reference-early-detection):
11861 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
11862 (verilog-auto-wire-type)
11863 (verilog-auto-delete-trailing-whitespace)
11864 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
11865 (verilog-auto-tieoff-declaration):
11866 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
11867 (sql-oracle-statement-starters, sql-oracle-scan-on):
11868 * progmodes/prolog.el (prolog-align-comments-flag)
11869 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
11870 (prolog-left-indent-regexp, prolog-paren-indent-p)
11871 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
11872 (prolog-types, prolog-mode-specificators)
11873 (prolog-determinism-specificators, prolog-directives)
11874 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
11875 (prolog-electric-dot-flag)
11876 (prolog-electric-dot-full-predicate-template)
11877 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
11878 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
11879 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
11880 (prolog-program-switches, prolog-prompt-regexp)
11881 (prolog-debug-on-string, prolog-debug-off-string)
11882 (prolog-trace-on-string, prolog-trace-off-string)
11883 (prolog-zip-on-string, prolog-zip-off-string)
11884 (prolog-use-standard-consult-compile-method-flag)
11885 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
11886 (prolog-imenu-max-lines, prolog-info-predicate-index)
11887 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
11888 (prolog-char-quote-workaround):
11889 * progmodes/cc-vars.el (c-defun-tactic):
11890 * net/tramp.el (tramp-encoding-command-interactive)
11891 (tramp-local-end-of-line):
11892 * net/soap-client.el (soap-client):
11893 * net/netrc.el (netrc-file):
11894 * net/gnutls.el (gnutls):
11895 * minibuffer.el (completion-category-overrides)
11896 (completion-cycle-threshold)
11897 (completion-pcm-complete-word-inserts-delimiters):
11898 * man.el (Man-name-local-regexp):
11899 * mail/feedmail.el (feedmail-display-full-frame):
11900 * international/characters.el (glyphless-char-display-control):
11901 * eshell/em-ls.el (eshell-ls-date-format):
11902 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
11903 (lisp-lambda-list-keyword-parameter-indentation)
11904 (lisp-lambda-list-keyword-parameter-alignment):
11905 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
11906 * dired-x.el (dired-omit-verbose):
11907 * cus-theme.el (custom-theme-allow-multiple-selections):
11908 * calc/calc.el (calc-highlight-selections-with-faces)
11909 (calc-lu-field-reference, calc-lu-power-reference)
11910 (calc-note-threshold):
11911 * battery.el (battery-mode-line-limit):
11912 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
11913 (archive-7z-update):
11914 * allout.el (allout-prefixed-keybindings)
11915 (allout-unprefixed-keybindings)
11916 (allout-inhibit-auto-fill-on-headline)
11917 (allout-flattened-numbering-abbreviation):
11918 * allout-widgets.el (allout-widgets-auto-activation)
11919 (allout-widgets-icons-dark-subdir)
11920 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
11921 (allout-widgets-theme-dark-background)
11922 (allout-widgets-theme-light-background)
11923 (allout-widgets-item-image-properties-emacs)
11924 (allout-widgets-item-image-properties-xemacs)
11925 (allout-widgets-run-unit-tests-on-load)
11926 (allout-widgets-time-decoration-activity)
11927 (allout-widgets-hook-error-post-time)
11928 (allout-widgets-track-decoration):
11929 Add missing :version tags to new defcustoms and defgroups.
11930
5fec1b8e
GM
11931 * progmodes/sql.el (sql-ansi-statement-starters)
11932 (sql-oracle-statement-starters): Add custom type.
11933
3e0d2fa7
GM
11934 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
11935 (prolog-system-version): Give it a type.
11936
90b671e2
EZ
119372012-02-11 Eli Zaretskii <eliz@gnu.org>
11938
11939 * term/pc-win.el (x-select-text, x-selection-owner-p)
11940 (x-own-selection-internal, x-disown-selection-internal)
11941 (x-get-selection-internal): Sync doc strings and argument lists
11942 with xselect.c, common-win.el and x-win.el. (Bug#10783)
11943
5eac0c02
LL
119442012-02-11 Leo Liu <sdl.web@gmail.com>
11945
11946 * progmodes/python.el (python-end-of-statement): Fix infinite
11947 loop. (Bug#10788)
11948
f82cb659
GM
119492012-02-10 Glenn Morris <rgm@gnu.org>
11950
11951 * international/mule-cmds.el (unify-8859-on-encoding-mode)
11952 (unify-8859-on-decoding-mode): Properly mark as obsolete.
11953
cc26d239
LI
119542012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
11955
11956 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
11957 about SMTP before checking the From header.
11958
91027d08 11959 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
11960 into own function for reuse by emacsbug.el.
11961
1be3ca5a
LL
119622012-02-10 Leo Liu <sdl.web@gmail.com>
11963
11964 * subr.el (condition-case-unless-debug): Rename from
11965 condition-case-no-debug. All callers changed.
11966 (with-demoted-errors): Fix caller.
11967
11968 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
11969 * nxml/rng-valid.el (rng-do-some-validation):
11970 * emacs-lisp/package.el (package-refresh-contents)
11971 (package-menu-execute):
11972 * desktop.el (desktop-create-buffer):
91027d08 11973 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 11974
b011fbfe
GM
119752012-02-10 Glenn Morris <rgm@gnu.org>
11976
b2096d72
GM
11977 * textmodes/bibtex.el:
11978 Add missing :version tags for new/changed defcustoms.
11979
b011fbfe
GM
11980 * files.el (remote-file-name-inhibit-cache): Doc fixes.
11981
4c7e65bf
LI
119822012-02-09 Lars Ingebrigtsen <larsi@rusty>
11983
11984 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
11985 (smtpmail-via-smtp): Use it, or fall back on the From address.
11986 (smtpmail-send-it): Ditto.
11987
f3934f6f
SM
119882012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
11989
11990 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
11991 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
11992 (byte-compile-tmp-var): New const.
11993 (byte-compile-defvar): Use it to minimize .elc size.
11994 Just use `defvar' rather than simulate it (bug#10761).
11995
a075a2c5
GM
119962012-02-09 Glenn Morris <rgm@gnu.org>
11997
cf3aa21b
GM
11998 * files.el (rename-uniquely): Doc fix. (Bug#3806)
11999
354998cd
GM
12000 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
12001 Add :version tags.
12002
dc9924b8
SM
12003 * progmodes/compile.el (compilation-error-screen-columns)
12004 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 12005
dab3703d
GM
12006 * vc/log-view.el (log-view-toggle-entry-display):
12007 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
12008
3f88cd72
GM
12009 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
12010 (report-emacs-bug-can-use-xdg-email):
12011 (report-emacs-bug-insert-to-mailer): Doc fixes.
12012 (report-emacs-bug): Message fix.
12013
d95b247d
GM
12014 * net/browse-url.el (browse-url-can-use-xdg-open)
12015 (browse-url-xdg-open): Doc fixes.
12016
a075a2c5
GM
12017 * electric.el (electric-indent-mode, electric-pair-mode)
12018 (electric-layout-rules, electric-layout-mode): Doc fixes.
12019 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
12020
ffb6157e
MR
120212012-02-08 Martin Rudalics <rudalics@gmx.at>
12022
12023 * server.el (server-unselect-display): Don't inadvertently kill
12024 the current buffer. (Bug#10729)
12025
e1ac4066
GM
120262012-02-08 Glenn Morris <rgm@gnu.org>
12027
34e8a2da
GM
12028 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
12029 (sql-list-table): Doc fixes.
12030
b4ac6e8c
GM
12031 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
12032 Comment out (does nothing).
12033
e1ac4066
GM
12034 * completion.el (dynamic-completion-mode):
12035 * dirtrack.el (dirtrack-debug-mode):
12036 * electric.el (electric-layout-mode):
12037 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
12038 * face-remap.el (text-scale-mode, buffer-face-mode):
12039 * iimage.el (iimage-mode):
12040 * image-mode.el (image-transform-mode):
12041 * minibuffer.el (completion-in-region-mode):
12042 * scroll-lock.el (scroll-lock-mode):
12043 * simple.el (next-error-follow-minor-mode):
12044 * tar-mode.el (tar-subfile-mode):
12045 * tooltip.el (tooltip-mode):
12046 * vcursor.el (vcursor-use-vcursor-map):
12047 * wid-browse.el (widget-minor-mode):
12048 * emulation/tpu-edt.el (tpu-edt-mode):
12049 * emulation/tpu-extras.el (tpu-cursor-free-mode):
12050 * international/iso-ascii.el (iso-ascii-mode):
12051 * language/thai-util.el (thai-word-mode):
12052 * mail/supercite.el (sc-minor-mode):
12053 * net/goto-addr.el (goto-address-mode):
12054 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
12055 * progmodes/cwarn.el (cwarn-mode):
12056 * progmodes/flymake.el (flymake-mode):
12057 * progmodes/glasses.el (glasses-mode):
12058 * progmodes/hideshow.el (hs-minor-mode):
12059 * progmodes/pascal.el (pascal-outline-mode):
12060 * textmodes/enriched.el (enriched-mode):
12061 * vc/smerge-mode.el (smerge-mode):
12062 Doc fixes (minor mode argument).
12063
5e0d957f
EZ
120642012-02-07 Eli Zaretskii <eliz@gnu.org>
12065
12066 * ls-lisp.el (ls-lisp-sanitize): New function.
12067 (ls-lisp-insert-directory): Use it to fix or remove any elements
12068 in file-alist with missing attributes. (Bug#4673)
12069
98d7371e
AM
120702012-02-07 Alan Mackenzie <acm@muc.de>
12071
12072 Fix spurious recognition of c-in-knr-argdecl.
12073
12074 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
12075 putative K&R region.
12076
667ced3a
AM
120772012-02-07 Alan Mackenzie <acm@muc.de>
12078
eb864a71
LM
12079 * progmodes/cc-engine.el (c-forward-objc-directive):
12080 Prevent looping in "#pragma mark @implementation".
667ced3a 12081
5b77774d
MA
120822012-02-07 Michael Albinus <michael.albinus@gmx.de>
12083
12084 * notifications.el (notifications-on-closed-signal): Make `reason'
12085 optional. (Bug#10744)
12086
af008560
GM
120872012-02-07 Glenn Morris <rgm@gnu.org>
12088
60d47423
GM
12089 * emacs-lisp/easy-mmode.el (define-minor-mode):
12090 Doc fixes for the macro and the mode it defines.
12091
dd605cc4
GM
12092 * image.el (imagemagick-types-inhibit): Doc fix.
12093
af008560
GM
12094 * cus-start.el (imagemagick-render-type): Add it.
12095
5cc59a37
LI
120962012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
12097
4d6769e1
JB
12098 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
12099 Set the default at load time, too, so that `font-lock-fontify-buffer'
12100 can be called without setting up the entire mode first. This fixes
12101 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 12102
9a6dd747
CY
121032012-02-06 Chong Yidong <cyd@gnu.org>
12104
2d16b285
CY
12105 * simple.el (list-processes--refresh): Delete exited processes
12106 (Bug#8094).
12107
171e9b6e
CY
12108 * comint.el (comint-next-prompt): next-single-char-property-change
12109 and prev-single-char-property-change never return nil (Bug#8657).
12110
9a6dd747
CY
12111 * custom.el (defcustom): Doc fix (Bug#9711).
12112
aa4589a7
CY
121132012-02-05 Chong Yidong <cyd@gnu.org>
12114
5c2a252f
CY
12115 * cus-edit.el (custom-variable-reset-backup): Quote the value
12116 before storing it in the customized-value property (Bug#6712).
4aab9006 12117 (custom-display): Add a customization type tag.
983b9602 12118 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 12119
aa4589a7
CY
12120 * wid-edit.el (widget-field-value-get): New optional arg to
12121 suppress trailing whitespace truncation.
12122 (character): Use it (Bug#2689).
12123
1ff980ae
AS
121242012-02-05 Andreas Schwab <schwab@linux-m68k.org>
12125
12126 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
12127 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
12128
03988c98
CY
121292012-02-05 Chong Yidong <cyd@gnu.org>
12130
eeb6cc88
CY
12131 * cus-edit.el (custom-variable-value-create): For mismatched
12132 types, show the current value (Bug#7600).
12133
03988c98
CY
12134 * custom.el (defcustom): Doc fix.
12135
f8cdeef0
GM
121362012-02-05 Glenn Morris <rgm@gnu.org>
12137
12138 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
12139
0696d255
JB
121402012-02-05 Juanma Barranquero <lekktu@gmail.com>
12141
12142 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
12143 (pp-buffer): Use `ignore-errors', `looking-at-p'.
12144 (pp-last-sexp): Use `looking-at-p'.
12145
34c99998
GM
121462012-02-04 Glenn Morris <rgm@gnu.org>
12147
8f05da42
GM
12148 * files.el (revert-buffer):
12149 Doc fix (mention revert-buffer-in-progress-p).
12150
f160676e
GM
12151 * emacs-lisp/ert-x.el (ert-simulate-command):
12152 Check deferred-action-list (which is obsolete) is bound.
12153
c7291ad9
GM
12154 * subr.el (with-wrapper-hook): Doc fixes.
12155
34c99998
GM
12156 * simple.el (filter-buffer-substring-functions)
12157 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
12158
6283a7d3
LL
121592012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
12160
12161 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
12162 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
12163
e96e3013
LL
121642012-02-04 Leo Liu <sdl.web@gmail.com>
12165
12166 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
12167
8ded50f2
GM
121682012-02-04 Glenn Morris <rgm@gnu.org>
12169
82ff1d13
GM
12170 * image.el (image-extension-data): Add obsolete alias.
12171
987a0a16
GM
12172 * isearch.el (isearch-update): Doc fix.
12173
ea32ef46
GM
12174 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
12175
8ded50f2
GM
12176 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
12177
eea14f31
GM
121782012-02-03 Glenn Morris <rgm@gnu.org>
12179
12180 * image.el (image-animated-p): Doc fix. Use image-animated-types.
12181 (image-animate-timeout): Doc fix.
12182
12183 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
12184
12f381b7
GM
121852012-02-02 Glenn Morris <rgm@gnu.org>
12186
953cebf5
GM
12187 * server.el (server-auth-dir): Doc fix.
12188 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
12189
12f381b7
GM
12190 * subr.el (run-mode-hooks): Doc fix.
12191
953a8c3b
JL
121922012-02-02 Juri Linkov <juri@jurta.org>
12193
12194 * image-mode.el (image-toggle-display-image): Remove tautological
12195 `major-mode' from the `derived-mode-p' test.
12196
c5d3843c
KH
121972012-02-02 Kenichi Handa <handa@m17n.org>
12198
9f6e692e 12199 * composite.el (compose-region): Cancel previous change.
c5d3843c 12200
159462d4 122012012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
12202
12203 * composite.el (compose-region, compose-string): Signal error for
12204 a null string component (Bug#6988).
12205
9f562668
CY
122062012-02-01 Chong Yidong <cyd@gnu.org>
12207
e2cef717
CY
12208 * view.el (view-buffer-other-window, view-buffer-other-frame):
12209 Handle special modes like view-buffer (Bug#10650).
12210 (view-buffer): Simplify.
12211
9f562668
CY
12212 * frame.el (set-frame-font): Tweak meaning of third argument.
12213
9f6e692e
JB
12214 * dynamic-setting.el (font-setting-change-default-font):
12215 Use set-frame-font (Bug#9982).
9f562668 12216
781acb9f
GM
122172012-02-01 Glenn Morris <rgm@gnu.org>
12218
6035be52
GM
12219 * progmodes/compile.el (compilation-internal-error-properties):
12220 Respect compilation-first-column in the "*compilation*" buffer.
12221
781acb9f
GM
12222 * emacs-lisp/easy-mmode.el (define-minor-mode):
12223 Relax :variable's test for a named function.
12224
abbceb00
AM
122252012-01-31 Alan Mackenzie <acm@muc.de>
12226
12227 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
12228 off by one error.
12229
fce3fdeb
CY
122302012-01-31 Chong Yidong <cyd@gnu.org>
12231
12232 * frame.el (set-frame-font): New arg ALL-FRAMES.
12233
12234 * menu-bar.el (menu-set-font): Use set-frame-font.
12235
12236 * faces.el (face-spec-reset-face): Don't apply unspecified
12237 attribute values to the default face.
12238
47893581
JB
122392012-01-31 Juanma Barranquero <lekktu@gmail.com>
12240
12241 * progmodes/cwarn.el (cwarn): Remove dead link.
12242 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
12243 Remove * from defcustom docstrings.
12244 (turn-on-cwarn-mode): Make obsolete.
12245 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
12246 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
12247
e58e988a
GM
122482012-01-31 Glenn Morris <rgm@gnu.org>
12249
60dc2671 12250 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 12251 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 12252 Allow named functions to be used as the cdr of :variable.
e58e988a 12253
7a3f511d
GM
122542012-01-30 Glenn Morris <rgm@gnu.org>
12255
12256 * emacs-lisp/authors.el (authors-fixed-entries):
12257 Remove reference to deleted file rnewspost.el.
12258
cb882333
JB
122592012-01-29 Juanma Barranquero <lekktu@gmail.com>
12260
12261 * window.el (window-with-parameter): Remove unused variable `windows'.
12262 (window--side-check): Remove unused variable `code'.
12263 (window--resize-siblings): Remove unused variable `first'.
12264 (adjust-window-trailing-edge): Remove unused variable `failed'.
12265 (window-deletable-p, window--delete): Remove unused variable `buffer'.
12266 Use `let', not `let*'.
12267 (balance-windows-2): Remove unused variable `found'.
12268 (window--state-put-2): Remove unused variable `splits'.
12269 (window-state-put): Remove unused variable `selected'.
12270 (same-window-p): Use `string-match-p'.
12271 (display-buffer-assq-regexp): Remove unused variable `value'.
12272 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
12273 Mark argument ALIST as ignored.
12274 (pop-to-buffer): Remove unused variable `old-window'.
12275
907201af
EZ
122762012-01-29 Eli Zaretskii <eliz@gnu.org>
12277
12278 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
12279 and .lzma compressed files.
12280
ea162670
CY
122812012-01-29 Chong Yidong <cyd@gnu.org>
12282
5b95ee8a
CY
12283 * frame.el (window-system-default-frame-alist): Doc fix.
12284
ea162670
CY
12285 * dynamic-setting.el (font-setting-change-default-font): Don't
12286 change the default face if SET-FONT argument is non-nil (Bug#9982).
12287
6fccd6e8 122882012-01-29 Samuel Bronson <naesten@gmail.com>
d6e6f4b1
SB
12289
12290 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
12291
0f29fa41 122922012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
12293
12294 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
12295 breakpoints in files outside current directory (Bug#6098).
12296
db174434
CY
122972012-01-29 Chong Yidong <cyd@gnu.org>
12298
6b25e4e2
SE
12299 * progmodes/python.el: Require ansi-color at top-level.
12300
6df6ae42
JB
12301 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
12302 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
12303 (lisp-mode-abbrev-table): Add doc.
12304 (lisp-mode-variables): Don't set local-abbrev-table.
12305 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
12306
e70ee681
RW
123072012-01-28 Roland Winkler <winkler@gnu.org>
12308
12309 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
12310
ace88aa2
RW
123112012-01-28 Roland Winkler <winkler@gnu.org>
12312
12313 * textmodes/bibtex.el (bibtex-entry-alist): New function.
12314 (bibtex-set-dialect): Use it. Either set global values of
12315 dialect-dependent variables or bind these variables buffer-locally
12316 (Bug#10254).
12317 (bibtex-mode): Call bibtex-set-dialect via
12318 hack-local-variables-hook.
eb864a71
LM
12319 (bibtex-dialect): Update docstring.
12320 Add safe-local-variable predicate.
ace88aa2
RW
12321 (bibtex-entry-alist, bibtex-field-alist): Initialize via
12322 bibtex-set-dialect.
12323 (bibtex-mode-map): Define menu for each dialect.
12324 (bibtex-entry): Fix docstring.
12325
93376c5b
CY
123262012-01-28 Chong Yidong <cyd@gnu.org>
12327
12328 * eshell/esh-arg.el (eshell-quote-argument): New function.
12329
12330 * eshell/esh-ext.el (eshell-invoke-batch-file):
12331 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
12332 first arg to eshell-parse-command (Bug#10523).
12333
4372494f
DA
123342012-01-28 Drew Adams <drew.adams@oracle.com>
12335
12336 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
12337 `default-directory' is non-nil.
12338
4d4ec1f8
EZ
123392012-01-28 Eli Zaretskii <eliz@gnu.org>
12340
12341 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
12342 line that displays system-configuration-options. (Bug#9924)
12343
7c188927
DA
123442012-01-28 Drew Adams <drew.adams@oracle.com>
12345
12346 * descr-text.el (describe-char): Show information about POS, in
12347 addition to information about the character at POS. Improve and
12348 update the doc string. Change "code point" to "code point in
12349 charset", to avoid confusion with the character's Unicode code
12350 point shown above that. (Bug#10129)
12351
e0da685a
EZ
123522012-01-28 Eli Zaretskii <eliz@gnu.org>
12353
12354 * descr-text.el (describe-char): Show the raw character, not only
12355 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
12356 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
12357 for the reasons.
12358
70550acf
PH
123592012-01-28 Phil Hagelberg <phil@hagelb.org>
12360
eb864a71
LM
12361 * emacs-lisp/package.el (package-install):
12362 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 12363
0ce8e868
CY
123642012-01-28 Chong Yidong <cyd@gnu.org>
12365
cb882333
JB
12366 * emacs-lisp/package.el (package-maybe-load-descriptor):
12367 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
12368 (package-maybe-load-descriptor): Use it.
12369 (package-download-transaction): Fully load required packages
12370 inside the loop, so that `require' calls work (Bug#10593).
12371 (package-install): No need to call package-initialize now.
12372
2e7f3bea
CY
123732012-01-28 Chong Yidong <cyd@gnu.org>
12374
6e9bad14
CY
12375 * simple.el (deactivate-mark): Doc fix (Bug#8614).
12376
f823b8ca
CY
12377 * tooltip.el (tooltip-mode): Doc fix.
12378 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
12379
2680c309
CY
12380 * frame.el (set-cursor-color): Doc fix (Bug#352).
12381
d7a9e63b
CY
12382 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
12383 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
12384
2e7f3bea
CY
12385 * cus-edit.el (custom-buffer-create-internal): Fix search button
12386 action (Bug#10542).
2ae01800 12387 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 12388
fc4f7a23
EW
123892012-01-27 Eduard Wiebe <usenet@pusto.de>
12390
12391 * dired.el (dired-mark-files-regexp):
12392 Include any subdirectory components. (Bug#10445)
12393
7dd37071
ML
123942012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
12395
12396 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
12397 Handle [host]:port syntax. (Bug#10533)
12398
a268160b
AH
123992012-01-27 Alex Harsanyi <harsanyi@mac.com>
12400
12401 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
12402
e43273ef
GM
124032012-01-26 Glenn Morris <rgm@gnu.org>
12404
12405 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
12406 * term.el (term-raw-escape-map): Use Control-X-prefix.
12407 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
12408
1edf595d
MR
124092012-01-25 Martin Rudalics <rudalics@gmx.at>
12410
12411 * window.el (window-state-get, window--state-get-1): Don't deal
12412 with fixed-sizeness of windows. Simplify code.
12413
fa8eafef
JC
124142012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
12415
6df6ae42
JB
12416 * window.el (window--state-get-1, window--state-put-2):
12417 Don't save and restore the mark.
fa8eafef 12418
0b21c100
CY
124192012-01-25 Chong Yidong <cyd@gnu.org>
12420
12421 * custom.el (custom-variable-p): Doc fix.
12422
5ae1a6c8
GM
124232012-01-25 Glenn Morris <rgm@gnu.org>
12424
40047858
GM
12425 * dired.el (dired-goto-file): Handle some of the more common
12426 characters that `ls -b' escapes. (Bug#10596)
12427
5ddce96c
GM
12428 * progmodes/compile.el (compilation-next-error-function):
12429 Respect compilation-first-column in the "*compilation*" buffer.
12430 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
12431
5ae1a6c8
GM
12432 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
12433
b559f1a9
GM
124342012-01-24 Glenn Morris <rgm@gnu.org>
12435
12436 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
12437
6725d21a
JD
124382012-01-24 Julien Danjou <julien@danjou.info>
12439
12440 * color.el (color-rgb-to-hsl): Fix value computing.
12441 (color-hue-to-rgb): New function.
12442 (color-hsl-to-rgb): New function.
12443 (color-clamp, color-saturate-hsl, color-saturate-name)
12444 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
12445 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
12446
70df4bbe
GM
124472012-01-24 Glenn Morris <rgm@gnu.org>
12448
12449 * vc/vc-rcs.el (vc-rcs-create-tag):
12450 * vc/vc-sccs.el (vc-sccs-create-tag):
12451 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
12452
802a2ae2
ML
124532012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
12454
12455 * eshell/esh-util.el (eshell-read-hosts-file):
12456 Skip comment lines. (Bug#10549)
12457
d7128bb1
ML
12458 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
12459
d1a5c3b4
JB
124602012-01-23 Juanma Barranquero <lekktu@gmail.com>
12461
2724d9c7
JB
12462 * subr.el (display-delayed-warnings): Doc fix.
12463 (collapse-delayed-warnings): New function to collapse identical
12464 adjacent warnings.
12465 (delayed-warnings-hook): Add it.
d1a5c3b4 12466
a5509865
MA
124672012-01-22 Michael Albinus <michael.albinus@gmx.de>
12468
12469 * net/tramp.el (tramp-action-login): Set connection property "login-as".
12470
a5509865
MA
12471 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
12472 (tramp-default-user-alist): Don't add "pscp".
12473 (tramp-do-copy-or-rename-file-out-of-band): Use connection
12474 property "login-as", if set. (Bug#10530)
12475
cc6d5805
MA
124762012-01-21 Michael Albinus <michael.albinus@gmx.de>
12477
12478 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
12479 "plink1" and "psftp". (Bug#10530)
12480
124812012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
12482
12483 * international/mule-cmds.el (prefer-coding-system): Show a
12484 warning message if the default value of file-name-coding-system
12485 was not changed.
12486
f0960428
JC
124872012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
12488
cb882333
JB
12489 * windmove.el (windmove-reference-loc):
12490 Fix windmove-reference-loc miscalculation.
f0960428 12491
dd6f2a63
JB
124922012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
12493
12494 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
12495 default unit.
12496
7b447e9b
GM
124972012-01-21 Glenn Morris <rgm@gnu.org>
12498
117a9ea1
GM
12499 * international/mule.el (auto-coding-alist): Add .tbz.
12500
7b447e9b
GM
12501 * files.el (local-enable-local-variables): Doc fix.
12502 (inhibit-local-variables-regexps): Rename from
12503 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
12504 Doc fix. Add some extensions from auto-coding-alist.
12505 (inhibit-local-variables-suffixes):
12506 Rename from inhibit-first-line-modes-suffixes. Doc fix.
12507 (inhibit-local-variables-p):
12508 New function, extracted from set-auto-mode-1.
12509 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
12510 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
12511 (hack-local-variables): Doc fix. Make the mode-only case
12512 respect enable-local-variables and friends.
12513 Respect inhibit-local-variables-regexps for file-locals, but
12514 not for directory-locals.
12515 (set-visited-file-name):
12516 Take account of inhibit-local-variables-regexps.
12517 Whether it applies may change as the file name is changed.
12518 * jka-cmpr-hook.el (jka-compr-install):
12519 * jka-compr.el (jka-compr-uninstall):
12520 Update for inhibit-first-line-modes-suffixes name change.
12521
dd6e3cdd
MR
125222012-01-20 Martin Rudalics <rudalics@gmx.at>
12523
12524 * help-macro.el (make-help-screen): Temporarily restore original
12525 binding for minor-mode-map-alist (Bug#10454).
12526
0d0deb38
JD
125272012-01-19 Julien Danjou <julien@danjou.info>
12528
12529 * color.el (color-name-to-rgb): Use the white color to find the max
12530 color component value and return correctly computed values.
12531 (color-name-to-rgb): Add missing float conversion for max value.
12532
34a02f46
MR
125332012-01-19 Martin Rudalics <rudalics@gmx.at>
12534
12535 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
12536 special state value for window-persistent-parameters.
12537 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
12538 (window--state-put-2): Reset all window parameters to nil before
12539 assigning values of persistent parameters.
12540
606c44c4
AM
125412012-01-18 Alan Mackenzie <acm@muc.de>
12542
12543 Eliminate sluggishness and hangs in fontification of "semicolon
12544 deserts".
12545
cb882333
JB
12546 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
12547 Change value 10000 -> 3000.
606c44c4
AM
12548 (c-state-safe-place): Reformulate so it doesn't stack up an
12549 infinite number of wrong entries in c-state-nonlit-pos-cache.
12550 (c-determine-limit-get-base, c-determine-limit): New functions to
12551 determine backward search limits disregarding literals.
12552 (c-find-decl-spots): Amend commenting.
12553 (c-cheap-inside-bracelist-p): New function which detects "={".
12554
12555 * progmodes/cc-fonts.el
12556 (c-make-font-lock-BO-decl-search-function): Give a limit to a
12557 backward search.
12558 (c-font-lock-declarations): Fix an occurrence of point being
12559 undefined. Check additionally for point being in a bracelist or
12560 near a macro invocation without a semicolon so as to avoid a
12561 fruitless time consuming search for a declarator. Give a more
12562 precise search limit for declarators using the new
12563 c-determine-limit.
12564
f3860cea
GM
125652012-01-18 Glenn Morris <rgm@gnu.org>
12566
12567 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
12568 (set-auto-mode): Doc fixes.
12569
1db03b16
GM
125702012-01-17 Glenn Morris <rgm@gnu.org>
12571
0e6038be
GM
12572 * isearch.el (search-nonincremental-instead): Fix doc typo.
12573
1db03b16
GM
12574 * dired.el (dired-insert-directory): Handle newlines in directory name.
12575 (dired-build-subdir-alist): Unescape newlines in directory name.
12576
4cb0aa75
MA
125772012-01-17 Michael Albinus <michael.albinus@gmx.de>
12578
12579 * net/tramp.el (tramp-local-end-of-line): New defcustom.
12580 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
12581 (tramp-action-terminal): Use it. (Bug#10530)
12582
1d00653d
SM
125832012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
12584
12585 * minibuffer.el (completion--replace): Strip properties (bug#10062).
12586
6a6ee00d
MR
125872012-01-16 Martin Rudalics <rudalics@gmx.at>
12588
12589 * window.el (window-state-ignored-parameters): Remove variable.
12590 (window--state-get-1): Rename argument MARKERS to IGNORE.
12591 Handle persistent window parameters. Make copy of clone-of
12592 parameter only if requested. (Bug#10348)
12593 (window--state-put-2): Install a window parameter only if it has
12594 a non-nil value or an existing parameter shall be overwritten.
12595
97912def
MA
125962012-01-15 Michael Albinus <michael.albinus@gmx.de>
12597
12598 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
12599
688070a5
EZ
126002012-01-14 Eli Zaretskii <eliz@gnu.org>
12601
12602 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
12603 don't pass the (nil) value of `upnode' to string-match.
12604
301afadc
CY
126052012-01-14 Chong Yidong <cyd@gnu.org>
12606
12607 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 12608 Fix values recognized by the cursorBlink resource.
301afadc 12609
9e5788aa
PE
126102012-01-14 Paul Eggert <eggert@cs.ucla.edu>
12611
12612 * epg.el (epg--make-temp-file): Avoid permission race condition
12613 when running on old Emacs versions (bug#10403).
12614
3cdb7f5a
GM
126152012-01-14 Glenn Morris <rgm@gnu.org>
12616
12617 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
12618
8c82b1b4
AM
126192012-01-13 Alan Mackenzie <acm@muc.de>
12620
12621 Fix filling for when filladapt mode is enabled.
12622
12623 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
12624 c-mask-paragraph, pass in `fill-paragraph' rather than
12625 `fill-region-as-paragraph'. (This is a reversion of a previous
12626 change.)
eb864a71
LM
12627 * progmodes/cc-mode.el (c-basic-common-init):
12628 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 12629
e517eda4
GM
126302012-01-13 Glenn Morris <rgm@gnu.org>
12631
1498536e
GM
12632 * dired.el (dired-switches-escape-p): New function.
12633 (dired-insert-directory): Use dired-switches-escape-p.
12634 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
12635
e517eda4
GM
12636 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
12637
328f984d
GM
126382012-01-12 Glenn Morris <rgm@gnu.org>
12639
12640 * mail/sendmail.el (mail-mode): Update paragraph-separate for
12641 changes in adaptive-fill-regexp. (Bug#10276)
12642
2cc769a8
AM
126432012-01-11 Alan Mackenzie <acm@muc.de>
12644
12645 Fix Emacs bug #10463 - put `widen's around the critical spots.
12646
1d00653d 12647 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
12648 widen around each invocation of c-state-pp-to-literal. Remove an
12649 unused let variable.
12650
e52c37fa
GM
126512012-01-11 Glenn Morris <rgm@gnu.org>
12652
12653 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 12654 Doc fix.
e52c37fa 12655
96f8741e
CY
126562012-01-10 Chong Yidong <cyd@gnu.org>
12657
1d00653d
SM
12658 * net/network-stream.el (network-stream-open-starttls):
12659 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
12660 response to the capability command.
12661
b09a806e
GM
126622012-01-10 Glenn Morris <rgm@gnu.org>
12663
12664 * mail/unrmail.el (unrmail): Tweak previous change.
12665
7655cb66
CY
126662012-01-09 Chong Yidong <cyd@gnu.org>
12667
12668 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
12669
9d5a8f0b
AM
126702012-01-08 Alan Mackenzie <acm@muc.de>
12671
12672 Optimise font locking in long enum definitions.
12673
12674 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
12675 arm to a cond form to handle enums.
12676 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
12677 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
12678
9a0115ab 126792012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
12680
12681 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 12682 (Bug#10401)
6bb72cbd 12683
f186bb95
LMI
126842012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
12685
29232a68
LMI
12686 * faces.el (set-face-attribute): Clarify the meaning of the nil
12687 frame (bug#10294).
12688
4e5d086d
LMI
12689 * subr.el (with-selected-frame): Mention that the selected frame
12690 is restored (bug#9980).
12691
8e66aebe
LMI
12692 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
12693 (bug#9759).
12694
cd394be1 12695 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
12696 (password-read): Don't autoload unused function.
12697
adf4e762
JB
126982012-01-07 Juanma Barranquero <lekktu@gmail.com>
12699
12700 * progmodes/which-func.el (which-func-mode): Turn into a
12701 non-interactive function and mark as obsolete (bug#10428).
12702
89bd9ccd
CY
127032012-01-06 Chong Yidong <cyd@gnu.org>
12704
12705 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
12706 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
12707 functions, along with 1 and -1.
12708
4afee9d5
EZ
127092012-01-06 Eli Zaretskii <eliz@gnu.org>
12710
12711 * time.el (display-time-load-average)
12712 (display-time-default-load-average): Doc fixes. See the thread
12713 starting at
12714 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
12715 for the details.
12716
536aea70
GM
127172012-01-06 Glenn Morris <rgm@gnu.org>
12718
665ae865
GM
12719 * mail/unrmail.el (unrmail): Give an explicit error if the input file
12720 has no messages. (Bug#10377)
12721
c869783d
GM
12722 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
12723 than Info-edit. (Bug#10385)
12724
2bb4227e
GM
12725 * time.el (display-time-load-average, display-time-next-load-average):
12726 Doc fixes.
12727
7d5944b9
GM
12728 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
12729 local setting of buffer-read-only to the input buffer. (Bug#10419)
12730
536aea70
GM
12731 * calendar/calendar.el (calendar-mode):
12732 Locally set scroll-margin to 0. (Bug#10379)
12733
7dccca16
UM
127342012-01-06 Ulrich Mueller <ulm@gentoo.org>
12735
12736 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
12737
afbb7930
GM
127382012-01-05 Glenn Morris <rgm@gnu.org>
12739
12740 * eshell/em-unix.el (diff-no-select): Autoload it.
12741 (eshell/diff): Use diff-no-select. (Bug#10420)
12742
04482335
CY
127432012-01-05 Chong Yidong <cyd@gnu.org>
12744
7baca3bc
CY
12745 * shell.el (shell-dynamic-complete-functions): Revert last change.
12746 (shell-command-completion-function): New function.
12747 (shell-completion-vars): Use it to implement
12748 shell-completion-execonly (Bug#10417).
12749
04482335
CY
12750 * custom.el (enable-theme): Don't set custom-safe-themes.
12751
1d00653d
SM
12752 * cus-theme.el (custom-theme-merge-theme):
12753 Ignore custom-enabled-themes and custom-safe-themes.
04482335 12754
bb5aa5d6
MM
127552012-01-05 Michael R. Mauger <mmaug@yahoo.com>
12756
12757 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
12758 first prompt in `sql-interacive-mode'.
12759 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 12760 keywords.
6df6ae42 12761 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
12762 (sql-product-interactive): Bug fix: Set `sql-buffer' in
12763 context of original buffer. Invoke `sql-login-hook'.
12764
a7183d7c
EZ
127652012-01-04 Eli Zaretskii <eliz@gnu.org>
12766
12767 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
12768 letters in cite-prefix.
12769
a1eacd1e
LMI
127702012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12771
12772 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
12773
787cdb34
CY
127742012-01-03 Chong Yidong <cyd@gnu.org>
12775
1d00653d
SM
12776 * shell.el (shell-dynamic-complete-functions):
12777 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
12778 comint-filename-completion first (Bug#10417).
12779
30710442
RS
127802012-01-02 Richard Stallman <rms@gnu.org>
12781
12782 * battery.el (battery-status-function):
12783 Detect when to use battery-yeeloong-sysfs.
12784 (battery-echo-area-format): Add string for Yeeloong.
12785 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
12786 (battery-yeeloong-sysfs): New function.
12787
f75bfc33
CY
127882012-01-02 Chong Yidong <cyd@gnu.org>
12789
12790 * dirtrack.el (dirtrack-list): Eliminate unused third element.
12791 (dirtrack): Merge code for handling relative filenames in prompt
12792 from shell-dir-cookie-watcher.
12793 (dirtrack-debug-message): New arg to avoid excess format calls.
12794
12795 * shell.el (shell-dir-cookie-re): Variable deleted.
12796 (shell-dir-cookie-watcher): Function deleted.
12797 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
12798 with dirtrack-mode.
12799
651e947e
EZ
128002012-01-01 Eli Zaretskii <eliz@gnu.org>
12801
1d00653d
SM
12802 * term/w32-win.el (dynamic-library-alist) <gnutls>:
12803 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
12804 libgnutls-26.dll.
12805
94d4c7dc
AS
128062011-12-31 Andreas Schwab <schwab@linux-m68k.org>
12807
12808 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
12809
8d43f3cd
EZ
128102011-12-31 Eli Zaretskii <eliz@gnu.org>
12811
12812 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
12813 headers of non-MIME messages, when rmail-enable-mime is non-nil.
12814
98c8795a
MA
128152011-12-29 Michael Albinus <michael.albinus@gmx.de>
12816
12817 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
12818 also for alternative shells.
12819 (tramp-open-connection-setup-interactive-shell): Check, whether
12820 the shell is a busybox.
12821 (tramp-send-command): Don't suppress multiple prompts for
12822 busyboxes, it hurts.
12823
51281b32
CY
128242011-12-28 Chong Yidong <cyd@gnu.org>
12825
12826 * progmodes/gdb-mi.el (gdb-get-source-file-list)
12827 (gdb-get-source-file): Move mode line update to
12828 gdb-get-source-file (Bug#10087).
12829
2170cb53
CY
128302011-12-25 Chong Yidong <cyd@gnu.org>
12831
12832 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
12833 gud-gdb-marker-filter without taking it as an argument.
12834 (gud-gdb-run-command-fetch-lines): Caller changed.
12835 (gud-gdb-completion-function): New variable.
12836 (gud-gdb-completion-at-point): Use it.
12837 (gud-gdb-completions-1): Split from gud-gdb-completions.
12838
12839 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
12840 function as separate arguments.
12841 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
12842 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
12843 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
12844 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
12845 (gdb-stopped, def-gdb-auto-update-trigger)
12846 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
12847 (gdb-get-changed-registers, gdb-get-main-selected-frame):
12848 Callers changed.
2170cb53
CY
12849 (gud-gdbmi-completions): New function.
12850 (gdb): Use it for generating the completion table.
12851
be8b11bb
AM
128522011-12-24 Alan Mackenzie <acm@muc.de>
12853
12854 Introduce a mechanism to widen the region used in context font
1d00653d 12855 locking. Use this to protect declarations from losing their contexts.
be8b11bb 12856
1d00653d
SM
12857 * progmodes/cc-langs.el (c-before-font-lock-functions):
12858 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 12859 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
12860 functions to be run just before context (etc.) font locking.
12861
12862 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 12863 New, functionality extracted from
be8b11bb 12864 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 12865 (c-in-after-change-fontification): New variable.
be8b11bb
AM
12866 (c-after-change): Set c-in-after-change-fontification.
12867 (c-set-fl-decl-start): Rejig its interface, so it can be called
12868 from both after-change and context fontifying.
b81d40f0
JB
12869 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
12870 New functions.
12871 (c-standard-font-lock-fontify-region-function): New variable.
12872 (c-font-lock-fontify-region): New function.
be8b11bb 12873
341cf6ac
JL
128742011-12-24 Juri Linkov <juri@jurta.org>
12875
12876 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
12877 (Bug#10348)
12878
bffcee0a
MA
128792011-12-23 Michael Albinus <michael.albinus@gmx.de>
12880
12881 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
12882 existence of source file. (Bug#10325)
12883
cb5e207c
AM
128842011-12-23 Alan Mackenzie <acm@muc.de>
12885
12886 Fix unstable fontification inside templates.
12887
b81d40f0
JB
12888 * progmodes/cc-langs.el (c-before-font-lock-functions):
12889 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
12890 additionally has c-set-fl-decl-start. The other languages (apart
12891 from AWK) have that as a single entry.
12892
b81d40f0
JB
12893 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
12894 The functionality for "local" declarations has been extracted to
cb5e207c
AM
12895 c-set-fl-decl-start.
12896
b81d40f0
JB
12897 * progmodes/cc-mode.el (c-common-init, c-after-change):
12898 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
12899 (c-set-fl-decl-start): New function, extracted from
12900 c-font-lock-enclosing-decls and enhanced.
12901
60ff536c
JB
129022011-12-23 Juanma Barranquero <lekktu@gmail.com>
12903
12904 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
12905
1c4757d6
JL
129062011-12-22 Juri Linkov <juri@jurta.org>
12907
12908 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
12909
d031f2c7
CY
129102011-12-22 Chong Yidong <cyd@gnu.org>
12911
12912 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
12913
bace743a
DA
129142011-12-21 Drew Adams <drew.adams@oracle.com>
12915
12916 * files.el (file-remote-p): Fix docstring. (Bug#10319)
12917
728a1f2b
JC
129182011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
12919
12920 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
12921
0d373f73
TZ
129222011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
12923
fec0aaa4
TZ
12924 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
12925 highlighting and support. Fix up comments for capitalization.
12926 (cfengine-mode-debug): New var.
12927 (cfengine3-mode): Change the modeline indicator to "CFE3".
12928 (cfengine3-font-lock-keywords): Improve defun highlighting.
12929 (cfengine2-actions): Rename from `cfengine-actions'.
12930 (cfengine2-font-lock-keywords): Rename from
12931 `cfengine-font-lock-keywords'.
12932 (cfengine2-imenu-expression): Rename from
12933 `cfengine-imenu-expression'.
12934 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
12935 (cfengine2-beginning-of-defun): Rename from
12936 `cfengine-beginning-of-defun'.
12937 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
12938 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
12939 (cfengine2-mode): Rename from `cfengine-mode'. Change the
12940 modeline indicator to "CFE2".
12941 (cfengine-mode): Defalias to `cfengine-auto-mode'.
12942 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 12943
bc86f573
CY
129442011-12-21 Chong Yidong <cyd@gnu.org>
12945
12946 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
12947 filename argument.
12948
d45ba96b
MR
129492011-12-20 Martin Rudalics <rudalics@gmx.at>
12950
12951 * window.el (window-normalize-buffer-to-display): Remove.
12952 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
12953
a6198c90
CY
129542011-12-19 Chong Yidong <cyd@gnu.org>
12955
12956 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
12957 Don't signal an error in a predicate function; return non-nil.
12958 (vc-dir-mark-file): Move the error here.
12959 (vc-dir-mark-unmark): If acting on the region, keep going if one
12960 of the entries cannot be marked/unmarked.
12961 (vc-dir-mark-all-files): If current entry is a directory, mark
12962 only child files, as documented.
12963
34c5fb55
VB
129642011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
12965
12966 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
12967 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
12968 addition.
12969
c803b2b7
JD
129702011-12-18 Jan Djärv <jan.h.d@swipnet.se>
12971
12972 * term/ns-win.el (ns-get-selection-internal)
12973 (ns-store-selection-internal): Declare.
1154d12e
JB
12974 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
12975 Declare as obsolete.
12976 (ns-get-pasteboard, ns-paste-secondary):
12977 Use ns-get-selection-internal.
41e9b956 12978 (ns-set-pasteboard, ns-copy-including-secondary):
1154d12e 12979 Use ns-store-selection-internal.
c803b2b7 12980
9cff91f8 129812011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
12982
12983 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 12984 (vc-deduce-fileset): Doc fix.
99a289d9 12985
f16c898a
AS
129862011-12-16 Andreas Schwab <schwab@linux-m68k.org>
12987
12988 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
12989
763237c4
SS
129902011-12-13 Sam Steingold <sds@gnu.org>
12991
12992 * man.el (Man-getpage-in-background): When running under a
12993 window-system, ignore $MANWIDTH and $COLUMNS.
12994
5fc1c122
KH
129952011-12-15 Kenichi Handa <handa@m17n.org>
12996
12997 * language/ethio-util.el: Change coding tag to utf-8-emacs.
12998 (setup-ethiopic-environment-internal): Comment out key-binding for
12999 ethio-toggle-punctuation.
13000
13d49cbb
AM
130012011-12-13 Alan Mackenzie <acm@muc.de>
13002
898169a2
AM
13003 Add the switch statement to AWK Mode.
13004
7a71b18d 13005 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
13006 "default" to the keywords regexp.
13007
7a71b18d 13008 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 13009 expression as the rest.
1d00653d
SM
13010 (c-nonlabel-token-key): Allow string literals for AWK.
13011 Refactor for the other modes.
898169a2 13012
13d49cbb 13013 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 13014 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
13015 routines. Limit backward searching in c-font-lock-enclosing.decl.
13016
13017 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
13018 pp-state and literal type in addition to the limits.
1d00653d 13019 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 13020 (c-state-literal-at): Use the above new defun.
1d00653d
SM
13021 (c-slow-in-literal, c-fast-in-literal): Remove.
13022 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
13023
13024 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
13025 being in a literal. Add a limit for backward searching.
13026
13027 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
13028 c-slow-in-literal.
13029
15e0efc7
SM
130302011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
13031
13032 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
13033
454592a6
MR
130342011-12-13 Martin Rudalics <rudalics@gmx.at>
13035
13036 * window.el (delete-other-windows): Use correct frame in call to
13037 window-with-parameter.
13038
87393f26
DP
130392011-12-12 Daniel Pfeiffer <occitan@t-online.de>
13040
13041 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
13042 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
13043 (makefile-gmake-statements, makefile-makepp-statements):
13044 Use it and add new makepp keywords.
13045 (makefile-makepp-font-lock-keywords): Add new patterns.
13046 (makefile-match-function-end): Match new [...] and [[...]].
13047
11636b22
JB
130482011-12-11 Juanma Barranquero <lekktu@gmail.com>
13049
13050 * ses.el (ses-call-printer-return, ses-cell-property-get)
13051 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
13052 (ses-create-cell-variable, ses-reset-header-string)
13053 (ses-cell-set-formula, ses-repair-cell-reference-all)
13054 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
13055 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
13056 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
13057 (ses-aset-with-undo, ses-load, ses-truncate-cell)
13058 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
13059 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
13060 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
13061 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
13062 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
13063 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
13064 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
13065 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
13066
cf018193
VB
130672011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
13068
13069 * ses.el: The overall change is to add cell renaming, that is
13070 setting fancy names for cell symbols other than name matching
13071 "\\`[A-Z]+[0-9]+\\'" regexp .
13072 (ses-create-cell-variable): New defun.
13073 (ses-relocate-formula): Relocate formulas only for cells the
13074 symbols of which are not renamed, i.e. symbols whose names do not
13075 match regexp "\\`[A-Z]+[0-9]+\\'".
13076 (ses-relocate-all): Relocate values only for cells the symbols of
13077 which are not renamed.
13078 (ses-load): Create cells variables as the (ses-cell ...) are read,
13079 in order to check row col consistency with cell symbol name only
13080 for cells that are not renamed.
13081 (ses-replace-name-in-formula): New defun.
13082 (ses-rename-cell): New defun.
13083
ee957461
CY
130842011-12-11 Chong Yidong <cyd@gnu.org>
13085
13086 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
13087 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
13088
9a9e9ef0
MR
130892011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
13090
13091 * window.el (other-window): Fix docstring.
13092
92a8eba5
EZ
130932011-12-10 Eli Zaretskii <eliz@gnu.org>
13094
13095 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
13096 `from' or `to' address before taking its substring.
13097 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
13098 encoded name is chopped in the middle of the encoded string, and
13099 thus displayed encoded.
13100
e152e577
JB
131012011-12-10 Juanma Barranquero <lekktu@gmail.com>
13102
13103 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
13104
e5d84bfe
EZ
131052011-12-10 Eli Zaretskii <eliz@gnu.org>
13106
13107 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
13108 to use texinfo-update-node and commands that call it if the
13109 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 13110 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
13111 (texinfo-all-menus-update, texinfo-master-menu)
13112 (texinfo-update-node, texinfo-every-node-update)
13113 (texinfo-multiple-files-update): Doc fix. Warn against updating
13114 all the @node lines.
13115 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
13116 argument is numeric. Explain better in the doc string what the
13117 function really does.
13118 (texinfo-insert-master-menu-list): Improve the error message
13119 displayed if there's no menu in the Top node.
13120 (Bug#2975) See also this thread:
e5d84bfe
EZ
13121 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
13122
1d84e9bb
MG
131232011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
13124
13125 * speedbar.el (speedbar-supported-extension-expressions):
13126 Add .adb and .ads, commonly used for Ada source code (bug#10256).
13127
382c953b
JB
131282011-12-09 Juanma Barranquero <lekktu@gmail.com>
13129
13130 * printing.el (pr-mode-alist):
13131 * simple.el (filter-buffer-substring-functions)
13132 (completion-list-insert-choice-function):
13133 * window.el (window-with-parameter, window-atom-root)
13134 (window-sides-slots, window-size-fixed, window-min-delta)
13135 (window-max-delta, window--resize-mini-window)
13136 (window--resize-child-windows-normal, window-tree)
13137 (delete-other-windows, quit-window, split-window)
13138 (display-buffer-record-window, special-display-buffer-names)
13139 (special-display-regexps, special-display-popup-frame)
13140 (same-window-p, split-window-sensibly)
13141 (display-buffer-overriding-action, display-buffer-alist)
13142 (display-buffer-base-action, display-buffer, switch-to-buffer)
13143 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
13144 (fit-window-to-buffer, recenter-positions)
13145 (mouse-autoselect-window-state, mouse-autoselect-window-select):
13146 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
13147 and remove unneeded backslashes in docstrings.
13148
39c9faef
SM
131492011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
13150
98449af8
SM
13151 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
13152
39c9faef
SM
13153 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
13154 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
13155 end in ".mk".
13156 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
13157 when reading the makefile (bug#10116).
13158
86ed9fdc
SM
131592011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
13160
13161 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
13162 (bug#10116).
13163
5580f89d
GM
131642011-12-06 Glenn Morris <rgm@gnu.org>
13165
13166 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
13167
28d3917c
CY
131682011-12-06 Chong Yidong <cyd@gnu.org>
13169
13170 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
13171
a98edce9
JB
131722011-12-06 Juanma Barranquero <lekktu@gmail.com>
13173
13174 * textmodes/table.el (table-shorten-cell): Fix typo.
13175
e65adfac
CG
131762011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
13177
13178 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
13179
71cc0b74
EZ
131802011-12-05 Eli Zaretskii <eliz@gnu.org>
13181
13182 * descr-text.el (describe-char): Fix display of strong
13183 right-to-left characters and directional embeddings and overrides.
13184
13185 * simple.el (what-cursor-position): Fix display of codepoints of
13186 strong right-to-left characters.
13187
315bc30d
CY
131882011-12-05 Chong Yidong <cyd@gnu.org>
13189
13190 * faces.el (read-color): Doc fix.
13191
58a70b94
GM
131922011-12-05 Glenn Morris <rgm@gnu.org>
13193
13194 * align.el (align--set-marker): Add doc-string.
13195 Don't try to move something that is not a marker. (Bug#10216)
13196
5158face
GM
131972011-12-04 Glenn Morris <rgm@gnu.org>
13198
13199 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
13200 overly zealous deletion of trailing whitespace.
13201
520fca41
JB
132022011-12-04 Juanma Barranquero <lekktu@gmail.com>
13203
13204 * server.el (server-delete-client): On Windows, do not try to delete
13205 the only terminal.
13206 (server-process-filter): On Windows, treat requests for a tty frame as
13207 if they were for a GUI frame if the running server is in GUI mode.
13208
5e605a2e
GM
132092011-12-03 Glenn Morris <rgm@gnu.org>
13210
13211 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
13212
5c3fe83f
SM
132132011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
13214
6f5e57e7
SM
13215 * electric.el: Streamline electric-indent's hook.
13216 (electric-indent-chars): Revert to simple list.
13217 (electric-indent-functions): New var.
13218 (electric-indent-post-self-insert-function): Use it.
13219
5c3fe83f
SM
13220 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
13221 there's no inferior buffer (bug#10196).
13222 (prolog-consult-compile): Don't use toggle-read-only.
13223
6bdac736
MA
132242011-12-02 Michael Albinus <michael.albinus@gmx.de>
13225
13226 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
13227 interrupt. (Bug#10187)
13228
6131ba7f
SM
132292011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
13230
99c79fee
SM
13231 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
13232 (bug#9160).
13233
6131ba7f
SM
13234 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
13235 (bug#10191).
13236
cb0a02ea
JL
132372011-12-02 Juri Linkov <juri@jurta.org>
13238
13239 * info.el (Info-search): Display "end of manual" when Isearch
13240 reaches the end of single-file Info manual. (Bug#9918)
13241
66e0570c
EZ
132422011-12-02 Eli Zaretskii <eliz@gnu.org>
13243
13244 * isearch.el (isearch-message-prefix): Run the input method part
13245 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
13246
02b16839
JL
132472011-12-02 Juri Linkov <juri@jurta.org>
13248
13249 * isearch.el (isearch-occur): Use `word-search-regexp' for
13250 `isearch-word'.
13251 (isearch-search-and-update): Add condition for `isearch-word' and
13252 call `word-search-regexp'. (Bug#10145)
13253
0b950688
GM
132542011-12-01 Glenn Morris <rgm@gnu.org>
13255
13256 * eshell/em-hist.el (eshell-hist-initialize):
13257 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 13258 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 13259
9505c3c7
SM
132602011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
13261
13262 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
13263
1bbe96b2 132642011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 13265
a1beca85
SM
13266 * progmodes/verilog-mode.el (verilog-pretty-expr):
13267 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
13268 verilog, such as += *= and the like.
13269 (verilog-assignment-operator-re): Regular expression to find the
13270 assigment operator in a verilog assignment.
13271 (verilog-assignment-operation-re): Regular expression to find an
13272 assignment statement for pretty-expr.
13273 (verilog-in-attribute-p): Query returns true if point is in an
13274 attribute context; used to skip these for expression line up from
13275 pretty-expr.
13276 (verilog-in-parameter-p): Query returns true if point is in an
13277 parameter definition context; used to skip these for expression
13278 line up from pretty-expr.
13279 (verilog-in-parenthesis-p): Query returns true if point is in a
13280 parenthetical expression, specifically ( ) but not [ ] or { };
13281 used by pretty-expr.
13282 (verilog-just-one-space): If there is no space, don't add one.
13283 (verilog-get-lineup-indent-2): Specifically skip just attribute
13284 contexts for expression lineup, rather than skipping all
13285 parenthetical expressions.
13286 (verilog-calculate-indent): Fix comment, and fix indent.
13287 (verilog-do-indent): Indent declarations in lists (suggested by
13288 Joachim Lechner).
13289 (verilog-mode-abbrev-table): Populate abbrev mode with the various
13290 skeleton items.
13291 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
13292 by Alain Mellan).
13293
1bbe96b2 132942011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
13295
13296 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
13297 parameters with embedded comments. Reported by Ray Stevens.
13298 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
13299 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
13300 Reported by Tim Holt.
13301 (verilog-auto): Fix AUTOing a upper module then AUTOing module
13302 instantiated by upper module causing wrong expansion until AUTOed a
13303 second time. Reported by K C Buckenmaier.
13304 (verilog-diff-auto): Fix showing .* as a difference when
13305 `verilog-auto-star-save' off. Reported by Dan Dever.
13306 (verilog-auto-reset, verilog-read-always-signals)
13307 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
13308 temporary signals in reset list if
13309 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
13310 style to each signal's assignment type, bug381.
13311 Reported by Thomas Esposito.
6288f0ca
WS
13312 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
13313 (verilog-uvm-statement-re): Support UVM indentation and
13314 highlighting, with old OVM keywords only.
a1beca85 13315 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
13316 Support AUTOTIEOFF creating non-wire data types.
13317 Suggested by Jonathan Greenlaw.
6288f0ca
WS
13318 (verilog-auto-insert-lisp, verilog-delete-to-paren)
13319 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
13320 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
13321 (verilog-read-sub-decls, verilog-read-sub-decls-line):
13322 Fix mismatching parenthesis inside commented out code when deleting
382c953b 13323 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
13324 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
13325 non-numeric vector width. Reported by Alex Reed.
13326 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 13327 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
13328 (verilog-auto-delete-trailing-whitespace):
13329 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
13330 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
13331 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
13332 Fix verilog-scan-cache corruption when running user AUTO expansion
13333 hooks that call indentation routines.
13334 (verilog-simplify-range-expression): Fix typo ignoring lower case
13335 identifiers.
13336 (verilog-delete-auto): Fix delete-autos to also remove user created
13337 automatics, as long as they start with AUTO.
13338 (verilog-batch-diff-auto, verilog-diff-auto)
13339 (verilog-diff-function): Add `verilog-diff-auto' and bind to
13340 "C-c?" to report differences in AUTO expansion, ignoring spaces.
13341 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
13342 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
13343 (verilog-re-search-forward-quick, verilog-syntax-ppss):
13344 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
13345 is disabled and its cache will get corrupt, causing AUTOS not to
13346 expand. Instead use only -quick functions.
13347 (verilog-scan-region): Fix scanning over escaped quotes.
13348 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
13349 (verilog-re-search-backward-quick)
13350 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
13351 related functions now ignore strings, to fix misparsing of strings
13352 with magic comments embedded in them.
a1beca85
SM
13353 (verilog-read-auto-template):
13354 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
13355 Reported by Brad Dobbie.
13356 (verilog-read-auto-template):
13357 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 13358 Reported by Brad Dobbie.
6288f0ca
WS
13359 (verilog-auto-inst, verilog-auto-inst-param)
13360 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
13361 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
13362 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
13363 debugging templates without merge conflicts, bug357.
13364 Reported by Brad Dobbie.
13365 (verilog-read-auto-template):
13366 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
13367 Reported by Brad Dobbie.
13368 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
13369 abbrevs so user won't be asked to save.
13370 (verilog-read-auto-lisp-present): Fix to start at beginning of
13371 buffer in case called outside of verilog-auto.
13372 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
13373 to "X-2". Reported by Matthew Myers.
13374 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
13375 all inputs from module templates. Reported by Leith Johnson.
13376 (verilog-module-inside-filename-p): Fix locating programs as with
13377 modules.
13378 (verilog-auto-inst-port): Fix vl-width expressions when using
13379 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
13380 (verilog-decls-get-regs, verilog-decls-get-signals,
13381 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
13382 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
13383 verilog-read-decls): Combine reg and wire structures into one var
13384 structure to represent SystemVerilog concepts.
13385 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
13386 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
13387 (verilog-auto-wire-type, verilog-insert-definition):
13388 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
13389 SystemVerilog "logic" keyword instead of "wire"/"reg".
13390 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
13391 to declares outputs that also have assignments (presumably in an
a1beca85
SM
13392 ifdef or generate if so there's not a driver conflict).
13393 Reported by Matthew Myers.
13394 (verilog-auto-declare-nettype, verilog-insert-definition):
13395 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
13396 `default_nettype none. Reported by Julian Gorfajn.
13397 (verilog-read-always-signals-recurse, verilog-read-decls)
13398 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
13399 malformed end statement, bug325. Reported by Joshua Wise and
13400 Andrew Drake.
13401 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
13402 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
13403 when expanding .* in interfaces, bug320.
13404 Reported by Pierre-David Pfister.
6288f0ca 13405 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
13406 name and open parenthesis, bug317.
13407 Reported by Pierre-David Pfister.
6288f0ca
WS
13408 (verilog-simplify-range-expression): Fix simplification of
13409 multiplications inside AUTOWIRE connections, bug303.
13410 (verilog-auto-inst-port): Support parameter expansion in
13411 multidimensional arrays.
13412 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
13413 after "assert property". Reported by Julian Gorfajn.
13414 (verilog-simplify-range-expression): Fix "couldn't merge" errors
13415 with multiplication, bug303.
13416 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
13417 Reported by Jan Frode Lonnum.
13418
1bbe96b2
GM
134192011-11-30 Juanma Barranquero <lekktu@gmail.com>
13420
13421 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
13422 (hfy-shell-file-name, hfy-shell):
13423 * international/fontset.el (x-decompose-font-name): Fix typos.
13424
134252011-11-29 Ken Brown <kbrown@cornell.edu>
13426
13427 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
13428 (gdb-version): Remove defvar.
13429 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
13430 (gdb-gud-context-command, gdb-non-stop-handler)
13431 (gdb-current-context-command, gdb-stopped): Use it.
13432 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
13433 (gdb-non-stop-handler): Don't enable pretty-printing here.
13434 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
13435 non-stop mode. Use the following.
13436 (gdb-check-target-async): New defun.
13437 (gud-watch, gdb-stopped): Fix whitespace.
13438 (gdb-get-source-file): Don't try to display the source file if
13439 `gdb-main-file' is nil.
13440
134412011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
13442
13443 * align.el: Try to generate fewer markers (bug#10047).
13444 (align--set-marker): New macro.
13445 (align-region): Use it.
13446
c935221f
SM
134472011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
13448
13449 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
13450
e70b5064
CY
134512011-11-29 Chong Yidong <cyd@gnu.org>
13452
13453 * indent.el (indent-for-tab-command, indent-according-to-mode):
13454 Doc fix.
13455 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
13456
f3af92b7
MA
134572011-11-29 Michael Albinus <michael.albinus@gmx.de>
13458
13459 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
13460 aware of remote file names. (Bug#10124)
13461
ed472be9
CY
134622011-11-29 Chong Yidong <cyd@gnu.org>
13463
13464 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
13465
24510c22
SM
134662011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
13467
13468 * files.el (find-file): Don't use force-same-window (bug#10144).
13469 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
13470 use pop-to-buffer if the selected window can't be used.
13471 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
13472
c60c3703
EZ
134732011-11-28 Eli Zaretskii <eliz@gnu.org>
13474
13475 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
13476 special-mode-map.
13477
e95def75
CY
134782011-11-28 Chong Yidong <cyd@gnu.org>
13479
13480 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
13481
c3f1c606
NR
134822011-11-27 Nick Roberts <nickrob@snap.net.nz>
13483
13484 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
13485 gdb-get-source-file-list on gdb-create-source-file-list.
13486
00db469c
EZ
134872011-11-26 Eli Zaretskii <eliz@gnu.org>
13488
13489 * whitespace.el (whitespace-newline): Use a different foreground
13490 color for 16-color light-background displays.
13491
4ad3bc2a
CY
134922011-11-24 Chong Yidong <cyd@gnu.org>
13493
13494 * window.el (display-buffer--special-action): Doc fix.
13495
e9fce1ac
JB
134962011-11-25 Juanma Barranquero <lekktu@gmail.com>
13497
13498 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
13499 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
13500 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
13501 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
13502 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
13503 (avl-tree-stack-first):
13504 * emacs-lisp/cconv.el (cconv--analyse-use):
13505 * net/gnutls.el (gnutls-negotiate): Fix typos.
13506
cb825e5d
GM
135072011-11-24 Glenn Morris <rgm@gnu.org>
13508
3adbe224
GM
13509 * lpr.el (lpr-windows-system, lpr-lp-system):
13510 * mail/binhex.el (binhex-begin-line):
13511 * progmodes/grep.el (grep-history, grep-find-history):
13512 * textmodes/flyspell.el:
13513 * vc/pcvs-defs.el (cvs-global-menu):
13514 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
13515 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
13516 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
13517
321decc8
GM
13518 * net/tls.el: Fix case of "GnuTLS".
13519
420b63ad
GM
13520 * paths.el (rmail-file-name): Format doc-string for make-docfile.
13521
cb825e5d
GM
13522 * version.el (emacs-build-system): Give it a doc-string.
13523
a0649f08
JL
135242011-11-24 Juri Linkov <juri@jurta.org>
13525
13526 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
13527
c0bc0fd4
GM
135282011-11-24 Glenn Morris <rgm@gnu.org>
13529
13530 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
13531 if called on a non-mime message just toggle the headers. (Bug#8006)
13532
20db1522
JB
135332011-11-24 Juanma Barranquero <lekktu@gmail.com>
13534
13535 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
13536 (allout-lead-with-comment-string, allout-structure-deleted-hook)
13537 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
13538 (allout-rebullet-heading, allout-open-sibtopic)
13539 (allout-toggle-current-subtree-encryption)
13540 (allout-toggle-subtree-encryption, allout-encrypt-string)
13541 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
13542 (allout-distinctive-bullets-string, allout-auto-activation):
13543 * window.el (window-normalize-buffer-to-display):
13544 * progmodes/verilog-mode.el (verilog-batch-indent):
13545 * textmodes/bibtex.el (bibtex-field-braces-opt)
13546 (bibtex-field-strings-opt):
13547 * vc/cvs-status.el (cvs-tree-merge):
13548 Fix typos.
13549
7262a87c
MA
135502011-11-23 Michael Albinus <michael.albinus@gmx.de>
13551
13552 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
13553 `non-essential' to t, in order to avoid remote connections.
13554
283430a1
EZ
135552011-11-23 Eli Zaretskii <eliz@gnu.org>
13556
a1beca85
SM
13557 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
13558 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
13559 case-insensitively.
13560
d2992a38
ML
135612011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
13562
13563 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
13564
50419064
GM
135652011-11-23 Glenn Morris <rgm@gnu.org>
13566
da94eca1
GM
13567 * paths.el (rmail-file-name): Reformat the doc-string so that it
13568 is picked up.
13569
9aac4de2
GM
13570 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
13571 (rmail-auto-file): Ignore case in the "special" field names,
13572 as mail-fetch-field does for all others.
13573
8038d2d2
GM
13574 * mail/rmail.el (rmail-forward):
13575 * mail/rmailkwd.el (rmail-set-label):
13576 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
13577 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
13578
f3fe222a
GM
13579 * mail/rmail.el (rmail-current-message): Doc fix.
13580
50419064
GM
13581 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
13582
28109f49
SM
135832011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
13584
13585 * server.el (server-eval-and-print): Allow C-g (bug#6585).
13586
394c65f1
GM
135872011-11-22 Glenn Morris <rgm@gnu.org>
13588
13589 * mail/rmailmm.el (test-rmail-mime-handler)
13590 (test-rmail-mime-bulk-handler)
13591 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
13592
f2a0aa3a
JL
135932011-11-21 Juri Linkov <juri@jurta.org>
13594
1154d12e
JB
13595 * calc/calc.el (calc-read-key-sequence):
13596 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 13597
9c34a344
LMI
135982011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13599
13600 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
13601 Tell the caller that the next line needs recomputation, even
13602 though it doesn't start a sexp (bug#10094).
13603
f04a3be9
SM
136042011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
13605
13606 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
13607
7978747f
SM
136082011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
13609
f04a3be9
SM
13610 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
13611 Use force-same-window.
7978747f 13612
fe7a3057
JB
136132011-11-20 Juanma Barranquero <lekktu@gmail.com>
13614
13615 * descr-text.el (describe-char-unicode-data):
13616 * json.el (json-string-escape):
13617 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
13618 (Footnote-unicode, Footnote-style-p):
13619 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
13620
24901d61
CY
136212011-11-20 Chong Yidong <cyd@gnu.org>
13622
13623 * window.el (replace-buffer-in-windows): Restore interactive spec.
13624
bac7ff22
SM
136252011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
13626
24f3d7b9
SM
13627 * electric.el (electric-indent-mode): Fix last change (too optimistic).
13628
bac7ff22
SM
13629 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
13630 (byte-compile-global-not-obsolete-vars): New var.
13631 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
13632 Use it.
13633 (byte-compile-warn-obsolete): Align text with the one in *Help*.
13634
cd1181db
JB
136352011-11-20 Juanma Barranquero <lekktu@gmail.com>
13636
13637 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
13638 * progmodes/pascal.el (electric-pascal-equal):
13639 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
13640 * xml.el (xml-substitute-special): Fix typos.
13641
7fb18e9e
GM
136422011-11-20 Glenn Morris <rgm@gnu.org>
13643
13644 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
13645 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
13646 Doc fixes.
13647 (rmail-decode-mime-charset): Mark as obsolete.
13648
13649 * mail/rmailsum.el (rmail-message-regexp-p-1):
13650 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
13651 Before using mime functions, check they are set. (Bug#10077)
13652
d5a6b3ba
JL
136532011-11-19 Juri Linkov <juri@jurta.org>
13654
13655 * info.el (Info-finder-find-node): Use `package--builtins' instead
13656 of `package-alist'. Use node names formed by the pattern "Keyword "
13657 and the keyword name.
13658
e981b61f
AS
136592011-11-19 Andreas Schwab <schwab@linux-m68k.org>
13660
1d00653d 13661 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 13662
3ffbc301
JL
136632011-11-19 Juri Linkov <juri@jurta.org>
13664
13665 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
13666 that calls `revert-buffer' on all Info buffers. (Bug#9915)
13667 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
13668 `old-history', `old-history-forward'. Add let-binding
13669 `window-selected'. Remove calls to `kill-buffer',
13670 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
13671 before calling `Info-find-node', so `Info-find-node-2' will reread
13672 the Info file. Restore window positions only when `window-selected'
13673 is non-nil.
13674
30c62133
JL
136752011-11-19 Juri Linkov <juri@jurta.org>
13676
13677 * isearch.el (isearch-lazy-highlight-new-loop):
13678 Remove condition `(not isearch-error)'. (Bug#9918)
13679
13680 * misearch.el (multi-isearch-search-fun): Add condition
13681 `(not bound)' to ignore lazy-highlighting search.
13682 Add the search-failed message "end of multi" when the end of
13683 multi-sequence is reached. Uncapitalize the search-failed
13684 message "Repeat for next buffer".
13685
13686 * info.el (Info-search): Add the search-failed message
13687 "end of the manual" when the end of the manual is reached
13688 in Isearch mode.
13689
645ca9cf
JL
136902011-11-19 Juri Linkov <juri@jurta.org>
13691
13692 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
13693 Use non-destructive `remove' instead of `delete' because
13694 `Info-history-list' stored to `Info-isearch-initial-history-list' in
13695 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
13696
df754f66
JL
136972011-11-19 Juri Linkov <juri@jurta.org>
13698
13699 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
13700 to nil instead of binding `search-ring' and `regexp-search-ring'.
13701 (Bug#9185)
13702
0e23d96a
EZ
137032011-11-19 Eli Zaretskii <eliz@gnu.org>
13704
13705 * simple.el (line-move): Force movement by logical lines for any
13706 hscrolled window, not only when auto-hscroll-mode is on.
13707 (line-move-visual): Update doc string to that effect. (Bug#10076)
13708
8a6ccb66
AS
137092011-11-19 Andreas Schwab <schwab@linux-m68k.org>
13710
13711 * language/european.el (macintosh): Define as alias for mac-roman.
13712
49ae5b39
EZ
137132011-11-19 Eli Zaretskii <eliz@gnu.org>
13714
13715 * mail/rmailmm.el (rmail-mime-display-header)
13716 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
13717 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
13718 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
13719 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
13720 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
13721 of a raw aref.
13722 (rmail-mime-entity-segment): To get past the tagline, move forward
13723 2 more lines, to account for the 2 empty lines that precede and
13724 follow the line with the buttons.
13725 (rmail-mime-update-tagline): Move one more line, to get past the
13726 empty line that follows the buttons in the tagline. (Bug#9520)
13727
c56cad4a
MR
137282011-11-19 Martin Rudalics <rudalics@gmx.at>
13729
13730 * window.el (window-max-delta-1, window-min-delta-1)
13731 (window-min-size-1, window-state-get-1, window-state-put-1)
13732 (window-state-put-2): Use "window--" prefix.
13733
cbe71af3
SM
137342011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
13735
2ad52c60
SM
13736 * emacs-lisp/smie.el: Improve warnings and conflict detection.
13737 (smie-warning-count): New var.
13738 (smie-set-prec2tab): Use it.
13739 (smie-bnf->prec2): Improve warnings. Add docstring.
13740 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
13741 (smie-bnf--set-class): New function.
13742 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
13743 corner case.
13744
6944dbc1
SM
13745 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
13746 (compilation-error-properties, compilation-move-to-column):
13747 Handle compilation-first-column while in the target buffer.
13748
c400c4d7
SM
13749 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
13750 Don't hardcode point-min==1.
13751
6dbe3e96
SM
13752 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
13753 (eshell-rewrite-for-command): Remove workaround.
13754 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
13755 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
13756 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
13757
cbe71af3
SM
13758 * files-x.el (modify-file-local-variable): Obey commenting conventions.
13759
a8e1496d
GM
137602011-11-17 Glenn Morris <rgm@gnu.org>
13761
13762 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
13763 Ignore buffer-local generated-autoload-file if it is the same
13764 as the global value. (Bug#10049)
13765
df85d315
JB
137662011-11-17 Juanma Barranquero <lekktu@gmail.com>
13767
13768 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
13769 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
13770 (reftex-toc-previous-heading, reftex-toc-max-level)
13771 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
13772 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
13773 (reftex-toc-do-promote, reftex-toc-promote-prepare)
13774 (reftex-toc-promote-action, reftex-toc-extract-section-number)
13775 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
13776 (reftex-toc-rename-label, reftex-toc-visit-location)
13777 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
13778 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
13779 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
13780 leaving "*toc*" only for references to the buffer.
13781
a0c2d0ae
MR
137822011-11-17 Martin Rudalics <rudalics@gmx.at>
13783
13784 * window.el (window-resize, delete-window, split-window):
13785 Replace window-splits by window-combination-resize.
1d00653d 13786 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 13787
35c0bac8
GM
137882011-11-17 Glenn Morris <rgm@gnu.org>
13789
13790 * progmodes/sh-script.el (sh-font-lock-keywords-var):
13791 Make bash entry derive from sh entry, not shell entry.
13792
d0c8fc8a
MA
137932011-11-16 Michael Albinus <michael.albinus@gmx.de>
13794
7262a87c
MA
13795 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
13796 local file name.
13797
7877f373
JB
137982011-11-16 Juanma Barranquero <lekktu@gmail.com>
13799
13800 * menu-bar.el (menu-bar-file-menu):
13801 * printing.el (pr-ps-utility):
13802 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
13803 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
13804 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
13805 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
13806 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
13807 (icalendar--convert-cyclic-to-ical)
13808 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
13809 (icalendar--convert-ical-to-diary)
13810 (icalendar--convert-recurring-to-diary)
13811 (icalendar--convert-non-recurring-all-day-to-diary)
13812 (icalendar-import-format-sample):
13813 * progmodes/idlw-shell.el (idlwave-shell-mode):
13814 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
13815 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
13816 (vhdl-ps-print-init): Fix typos.
13817
10649b82
KM
138182011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
13819
9d0cfcd6
GM
13820 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
13821 FSF and collapse date sequence, obscure author/maintainer email address
13822 better, remove extra version line, track relocation of author's webpage.
10649b82 13823
9d0cfcd6
GM
13824 * progmodes/python.el (python-pdbtrack-input-prompt)
13825 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
13826 regular python pdb prompts. Adjustments shamelessly taken exactly as
13827 suggested in EmacsWiki page (tiny change):
13828 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 13829
58179cce
JB
138302011-11-16 Juanma Barranquero <lekktu@gmail.com>
13831
13832 * expand.el (expand-pos, expand-index, expand-point):
13833 Remove redundant info from docstring.
13834 (expand-add-abbrevs): Doc fix.
13835 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
13836 (expand-sample-perl-mode-expand-list): Fix typos.
13837
13838 * net/dbus.el (dbus-event-member-name):
13839 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
13840 * term/pc-win.el (msdos-create-frame-with-faces):
13841 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
13842
b6f67890
MR
138432011-11-16 Martin Rudalics <rudalics@gmx.at>
13844
13845 * window.el (split-window, window-state-get-1)
13846 (window-state-put-1, window-state-put-2): Rename occurrences of
13847 window-nest to window-combination-limit.
1d00653d 13848 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 13849
ce7ddba0
CY
138502011-11-16 Chong Yidong <cyd@gnu.org>
13851
13852 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
13853 regexp (Bug#10033).
13854
3ae704f4
SM
138552011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
13856
13857 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
13858 `completing-read' will remove *Completions* and will preserve
13859 current-buffer for us.
13860 (tmm-add-prompt): Users of *Completions* will always (re)set its
13861 major mode.
13862 (tmm-old-comp-map): Remove.
13863
6ad1cdde
GM
138642011-11-16 Glenn Morris <rgm@gnu.org>
13865
13866 * mail/rmailedit.el: Require rmailmm when compiling.
13867 (rmail-old-mime-state): New declaration.
13868 (rmail-edit-current-message): If editing a mime message,
13869 edit the "raw" message from the mbox buffer.
13870 (rmail-cease-edit): Handle mime messages. (Bug#9840)
13871
d20faa20
GM
138722011-11-15 Glenn Morris <rgm@gnu.org>
13873
13874 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
13875 which wasn't being used. Add optional arg to force given state.
13876 (rmail-mime): Add optional arg to force given state.
13877
c7015153
JB
138782011-11-15 Juanma Barranquero <lekktu@gmail.com>
13879
13880 * allout.el (allout-encryption-plaintext-sanitization-regexps):
13881 * frame.el (display-mm-dimensions-alist):
13882 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
13883 (outline-move-subtree-down):
13884 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
13885 (newsticker--treeview-do-get-node):
13886 * net/quickurl.el (quickurl-list-buffer-name):
13887 * progmodes/dcl-mode.el (dcl-mode):
13888 * progmodes/gdb-mi.el (gdb-mapcar*):
13889 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
13890
45261b50
GM
138912011-11-15 Glenn Morris <rgm@gnu.org>
13892
13893 * mail/rmail.el (rmail-file-coding-system): It's only ever used
13894 in a boolean sense, so just make it a boolean, and fix the doc.
13895 (rmail-show-mime-function, rmail-mime-feature)
13896 (rmail-require-mime-maybe): Doc fixes.
13897 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
13898
13899 * mail/rmailmm.el (rmail-show-mime): Doc fix.
13900
0d26e0b6
JB
139012011-11-15 Juanma Barranquero <lekktu@gmail.com>
13902
13903 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
13904 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
13905 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
13906 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
13907
447f30f6
GM
139082011-11-15 Glenn Morris <rgm@gnu.org>
13909
672b871d
GM
13910 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
13911 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
13912 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
13913 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
13914 (rmail-mime, rmail-show-mime): Doc fixes.
13915
f6aa5bb1
GM
13916 * term/ns-win.el (mode-line-frame-identification):
13917 Leave it alone. (Bug#10051)
13918
947cd66b
GM
13919 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
13920
447f30f6
GM
13921 * mail/rmailout.el (rmail-output-to-rmail-buffer):
13922 Handle empty buffers. (Bug#9978)
13923
0b381c7e
JB
139242011-11-14 Juanma Barranquero <lekktu@gmail.com>
13925
13926 * international/mule.el (define-charset):
13927 * mail/rmailmm.el (rmail-mime-find-header-encoding):
13928 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
13929 * progmodes/verilog-mode.el (verilog-backward-token):
13930 * textmodes/ispell.el (lookup-words):
13931 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
13932
71e027ac
GM
139332011-11-14 Glenn Morris <rgm@gnu.org>
13934
56632ce4
GM
13935 * progmodes/executable.el
13936 (executable-make-buffer-file-executable-if-script-p):
13937 Handle file-modes returning nil.
13938
40500957
GM
13939 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
13940 message - not necessary, and causes problems. (Bug#9831)
13941
071c2340
GM
13942 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
13943
d3cfca60
GM
13944 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
13945
71e027ac
GM
13946 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
13947 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
13948 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
13949
89d61221
MR
139502011-11-12 Martin Rudalics <rudalics@gmx.at>
13951
13952 * window.el (window-resize, delete-window): Use window-splits
13953 variable instead of function.
13954 (window-state-get-1, window-state-put-2, window-state-put):
13955 Don't deal with windows' splits status.
13956
98282f6f
GM
139572011-11-12 Glenn Morris <rgm@gnu.org>
13958
13959 * apropos.el (apropos-do-all, apropos-library, apropos-value)
13960 (apropos-documentation): Doc fixes.
13961
40a8bdf6
JB
139622011-11-11 Juanma Barranquero <lekktu@gmail.com>
13963
13964 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
13965 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
13966
65bd19ff
SM
139672011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
13968
13969 * electric.el (electric-indent-post-self-insert-function): Make it
13970 possible for a char to only indent in some circumstances.
13971 (electric-indent-mode): Simplify.
13972
54f9154c
MR
139732011-11-11 Martin Rudalics <rudalics@gmx.at>
13974
13975 * window.el (windows-with-parameter): Remove unused function.
13976 (windows-at-side): Rename to window-at-side-list.
13977 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
13978 (window-side-check, window-size-ignore, window-size-fixed-1)
13979 (window-in-direction-2): Prefix with "window--".
13980 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 13981
68cbc58b
GM
139822011-11-11 Glenn Morris <rgm@gnu.org>
13983
13984 * subr.el (eval-after-load): If FILE is already loaded,
13985 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
13986
b2621720
GM
139872011-11-10 Glenn Morris <rgm@gnu.org>
13988
9a4de110
GM
13989 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
13990 Call svn via vc-svn-command rather than vc-do-command.
13991 (vc-svn-command): Add --non-interactive. (Bug#9993)
13992 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
13993
b2621720
GM
13994 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
13995 Add toggle-read-only. (Bug#7292)
13996 * files.el (toggle-read-only): Mention that it should only
13997 be used interactively. (Bug#10006)
13998
1dce7193
SM
139992011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
14000
d9ac1a1e
SM
14001 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14002 Adjust regexp for OCaml warnings.
14003
0c325082
SM
14004 * electric.el (electric-pair-post-self-insert-function): Let user
14005 turn it off buffer-locally (bug#9932).
14006
90132c14
SM
14007 * progmodes/python.el (python-beginning-of-statement):
14008 Rewrite (bug#2703).
14009
1dce7193
SM
14010 * progmodes/compile.el: Better handle TABs (bug#9749).
14011 (compilation-internal-error-properties)
14012 (compilation-next-error-function): Obey the target buffer's
14013 compilation-error-screen-columns.
14014
c4e7c63a
JB
140152011-11-09 Juanma Barranquero <lekktu@gmail.com>
14016
14017 * progmodes/meta-mode.el: Remove obsolete comments.
14018 (meta-right-comment-regexp, meta-ignore-comment-regexp):
14019 Fix typos in docstrings.
14020
2cffd681
MR
140212011-11-09 Martin Rudalics <rudalics@gmx.at>
14022
14023 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 14024 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
14025 (window--resizable): New function. Make all callers of
14026 window-resizable call window--resizable instead.
14027 (window-resizable): Rewrite in terms of window--resizable.
14028
0edcba87
GM
140292011-11-08 Glenn Morris <rgm@gnu.org>
14030
14031 * progmodes/delphi.el (delphi-mode-syntax-table):
14032 Let define-derived-mode define a proper syntax table. (Bug#9994)
14033
4b0d61e3
SM
140342011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
14035
14036 * window.el: Stay away from defsubst.
14037 (window-list-no-nils): Remove.
14038 (window-state-get-1, window-state-get): Use backquote instead.
14039
cd394be1 140402011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 14041
4b0d61e3 14042 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 14043 Fix incorrect use of default argument in `completing-read'.
14044
e1c2c6f2
MR
140452011-11-08 Martin Rudalics <rudalics@gmx.at>
14046
14047 * window.el (display-buffer-function, special-display-function):
14048 Mention display-buffer-record-window but do not mention
14049 help-setup parameter in doc-strings.
b3f4a882 14050 (window-min-delta): Fix doc-string typo.
e1c2c6f2 14051
105216ed
CY
140522011-11-08 Chong Yidong <cyd@gnu.org>
14053
14054 * window.el (window-total-height, window-total-width): Doc fix.
14055 (window-body-size): Move from C.
14056 (window-body-height, window-body-width): Move to C.
14057
0a9f9ab5
SM
140582011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
14059
14060 * window.el: Make special-display like display-buffer-alist (bug#9532).
14061 (display-buffer--special-action): New function, morphed
14062 from display-buffer--special.
14063 (display-buffer): Use it to handle special-display-buffers at higher
14064 priority (just after display-buffer-alist).
14065 (display-buffer-fallback-action, display-buffer--other-frame-action)
14066 (pop-to-buffer-same-window): Remove display-buffer--special.
14067
a769dd15
GM
140682011-11-07 Glenn Morris <rgm@gnu.org>
14069
14070 * calendar/cal-menu.el (cal-menu-set-date-title):
14071 Do nothing if not in a calendar. (Bug#9976)
14072
05a61ee3
SM
140732011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
14074
14075 * files.el (find-file): Always use selected-window.
14076
be7f5545
MR
140772011-11-07 Martin Rudalics <rudalics@gmx.at>
14078
14079 * window.el (window-combinations): Make WINDOW argument
14080 mandatory. Rewrite doc-string.
14081 (walk-window-subtree, window-atom-check, window-min-delta)
14082 (window-max-delta, window--resize-this-window)
14083 (window--resize-root-window-vertically, window-tree)
14084 (balance-windows, window-state-put): Rewrite doc-strings as to
14085 not mention the term "subwindow".
14086 (window--resize-subwindows-skip-p): Rename to
14087 window--resize-child-windows-skip-p.
14088 (window--resize-subwindows-normal): Rename to
14089 window--resize-child-windows-normal.
14090 (window--resize-subwindows): Rename to
14091 window--resize-child-windows.
14092 (window-or-subwindow-p): Rename to window--in-subtree-p.
14093
3c6702ef
ML
140942011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
14095
14096 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
14097 Ensure that mbox format messages end in two newlines (Bug#9974).
14098
49745b39
CY
140992011-11-06 Chong Yidong <cyd@gnu.org>
14100
14101 * window.el (window-combination-p): Function deleted; its
14102 side-effect is not used in any existing code.
14103 (window-combinations, window-combined-p): Call window-*-child
14104 directly.
14105
24300f5f
CY
141062011-11-05 Chong Yidong <cyd@gnu.org>
14107
14108 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
14109 (window-size-ignore, window-state-get): Callers changed.
14110 (window-normalize-window): Rename from window-normalize-any-window.
14111 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 14112 (window-normalize-live-window): Delete.
447f16b8
CY
14113 (window-combination-p, window-combined-p, window-combinations)
14114 (walk-window-subtree, window-atom-root, window-min-size)
14115 (window-sizable, window-sizable-p, window-size-fixed-p)
14116 (window-min-delta, window-max-delta, window-resizable)
14117 (window-resizable-p, window-full-height-p, window-full-width-p)
14118 (window-current-scroll-bars, window-point-1, set-window-point-1)
14119 (window-at-side-p, window-in-direction, window-resize)
14120 (adjust-window-trailing-edge, maximize-window, minimize-window)
14121 (window-deletable-p, delete-window, delete-other-windows)
14122 (record-window-buffer, unrecord-window-buffer)
14123 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
14124 (quit-window, split-window, window-state-put)
14125 (set-window-text-height, fit-window-to-buffer)
14126 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 14127
89bd5ee1
EZ
141282011-11-04 Eli Zaretskii <eliz@gnu.org>
14129
53479029
EZ
14130 * mail/rmail.el (rmail-simplified-subject): Decode subject with
14131 rfc2047-decode-string.
14132 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
14133 warnings.
14134
89bd5ee1
EZ
14135 * window.el (window-body-height, window-body-width): Mention in
14136 the doc string that the return values are in frame's canonical
14137 units. (Bug#9949)
14138
bd17fdee
AM
141392011-11-03 Alan Mackenzie <acm@muc.de>
14140
14141 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
14142 change in cc-engine.el.
14143
acc825c5
SM
141442011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
14145
14146 * window.el (switch-to-buffer): Use `force-same-window' interactively.
14147
1885e5b8
MR
141482011-11-02 Martin Rudalics <rudalics@gmx.at>
14149
14150 * window.el (quit-window): Call unrecord-window-buffer after
14151 showing another buffer in the window. (Bug#9937)
acc825c5 14152 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 14153
ebe06da9
JB
141542011-11-02 Juanma Barranquero <lekktu@gmail.com>
14155
14156 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
14157 Accept status with more than 9 shelves. (Bug#9935)
14158 Reported by Colin D Bennett <colin@gibibit.com>.
14159
4ee88440
MR
141602011-11-01 Martin Rudalics <rudalics@gmx.at>
14161
14162 * help.el (with-help-window): Don't reference
14163 temp-buffer-show-specifiers in doc-string.
14164
08e1d82c
AS
141652011-10-31 Andreas Schwab <schwab@linux-m68k.org>
14166
14167 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
14168 menu-item.
14169
84bd6e9e
VJL
141702011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
14171
14172 * whitespace.el: New version 13.2.2.
14173 (whitespace-newline-mode): Disable properly. Reported by Sarah
14174 <EmacsWiki>.
14175
dba0634a
UJ
141762011-10-30 Ulf Jasper <ulf.jasper@web.de>
14177
14178 * net/newst-treeview.el: Remove "Time-stamp".
14179 (newsticker--group-manage-orphan-feeds): Do not call
14180 newsticker--treeview-tree-update.
db22a3c2
JB
14181 (newsticker-treeview-update, newsticker-treeview):
14182 Call newsticker--treeview-tree-update if necessary.
dba0634a 14183
3d8daefe
MR
141842011-10-30 Martin Rudalics <rudalics@gmx.at>
14185
14186 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
14187 (window-iso-combinations): Remove "iso-" infix.
14188 Suggested by Chong Yidong.
3d8daefe
MR
14189 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
14190 (window-max-delta-1, window-resize, window--resize-siblings)
14191 (window--resize-this-window, adjust-window-trailing-edge)
14192 (split-window, balance-windows-1)
14193 (shrink-window-if-larger-than-buffer):
14194 * calendar/calendar.el (calendar-generate-window):
db22a3c2 14195 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 14196
1bc4c3ae
SM
141972011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
14198
14199 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
14200 in place (bug#9907).
14201 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
14202 (eshell-rewrite-if-command, eshell-rewrite-for-command)
14203 (eshell-structure-basic-command, eshell-rewrite-while-command)
14204 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
14205 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
14206 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
14207 (eshell-do-pipelines-synchronously, eshell-eval-command):
14208 Use backquotes and prefer setq to set.
14209 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
14210 (eshell-macrop): Use functionp.
c1e2f5fa 14211 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 14212
30b65d9c
CY
142132011-10-30 Chong Yidong <cyd@gnu.org>
14214
14215 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
14216 instead of set-mark (Bug#9810).
14217
2d197ffb
CY
142182011-10-30 Chong Yidong <cyd@gnu.org>
14219
14220 * window.el (split-window-below, split-window-right): Rename from
14221 split-window-above-each-other and split-window-side-by-side
14222 respectively. All callers changed.
14223 (split-window-sensibly, split-window-sensibly): Use them.
14224 (split-window-keep-point): Doc fix.
14225
14226 * isearch.el: Add isearch-scroll property to split-window-below
14227 and split-window-right.
14228
14229 * follow.el (follow-mode):
14230 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
14231 * progmodes/ada-xref.el (ada-gdb-application):
14232 * emulation/vip.el (vip-buffer-in-two-windows):
14233 * image-dired.el (image-dired-dired-with-window-configuration):
14234 * dired-x.el (dired-do-find-marked-files):
14235 * dired.el (dired-pop-to-buffer):
14236 * bs.el (bs--show-with-configuration):
14237 * vc/emerge.el (emerge-setup-windows):
14238 * textmodes/two-column.el (2C-two-columns):
14239 * textmodes/reftex-toc.el (reftex-toc):
14240 * progmodes/gdb-mi.el (gdb-setup-windows):
14241 * progmodes/fortran.el (fortran-window-create):
14242 * net/newst-treeview.el (newsticker--treeview-window-init):
14243 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
14244 * emulation/tpu-edt.el (tpu-gold-map):
14245 * emulation/crisp.el (crisp-mode-map):
14246 * calendar/calendar.el (calendar-basic-setup): Callers changed.
14247
38bb2ca8
CY
142482011-10-29 Chong Yidong <cyd@gnu.org>
14249
aa4de341
CY
14250 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
14251
e1eb5385
CY
14252 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
14253
5d2ece3c
CY
14254 * textmodes/flyspell.el (flyspell-word): Fix char offset for
14255 forged Ispell output (Bug#7904).
14256
38bb2ca8
CY
14257 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
14258
d0af9f77
SM
142592011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
14260
14261 * doc-view.el: Avoid ugly errors about not finding nil.
14262 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
14263 (doc-view-dvipdf-program, doc-view-unoconv-program)
14264 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
14265 Avoid nil or absolute file name as default value.
14266 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
14267
52bedd34
AM
142682011-10-28 Alan Mackenzie <acm@muc.de>
14269
db22a3c2 14270 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 14271
7e43cfa5
AM
142722011-10-28 Alan Mackenzie <acm@muc.de>
14273
14274 Amend the handling of c-beginning/end-of-defun in nested declaration
14275 scopes.
14276
52bedd34
AM
14277 * progmodes/cc-vars.el (c-defun-tactic): Move here from
14278 cc-langs.el. Change it to a defcustom.
7e43cfa5 14279
52bedd34
AM
14280 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
14281 cc-vars.el.
7e43cfa5 14282
d0af9f77
SM
14283 * progmodes/cc-engine.el (c-beginning-of-statement-1):
14284 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 14285
52bedd34 14286 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 14287 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
14288 (c-widen-to-enclosing-decl-scope): New function.
14289 (c-while-widening-to-decl-block): New macro.
14290 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
14291 outward for defun boundaries, and correspondingly change symbol
14292 `respect-enclosure' to `go-outward'.
14293 (c-declaration-limits): Change algorithm to report only the "innermost"
14294 defun's boundaries.
14295
1a2ce9ee
DD
142962011-10-28 Deniz Dogan <deniz@dogan.se>
14297
14298 * net/rcirc.el (rcirc-mode): Use hard newlines.
14299
bc97a826
AM
143002011-10-28 Alan Mackenzie <acm@muc.de>
14301
14302 Amend to indent and fontify macros "which include their own semicolon"
14303 correctly, using the "virtual semicolon" mechanism.
14304
52bedd34 14305 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 14306
d0af9f77 14307 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 14308 Recode to scan one line at a time rather than having \n and \r
58179cce 14309 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 14310 (c-forward-label): Amend for virtual semicolons.
58179cce 14311 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 14312
52bedd34
AM
14313 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
14314 of the new C macros.
bc97a826 14315
52bedd34 14316 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
14317 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
14318 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
14319 (c-opt-cpp-macro-define): Make into a full language variable.
14320 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
14321 AWK Mode (including \n, \r) removed, no longer needed.
14322
d0af9f77
SM
14323 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
14324 Invoke c-make-macro-with-semi-re.
bc97a826 14325
52bedd34
AM
14326 * progmodes/cc-vars.el (c-macro-with-semi-re):
14327 (c-macro-names-with-semicolon): New variables.
58179cce 14328 (c-make-macro-with-semi-re): New function.
bc97a826 14329
7a6c0941
SM
143302011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
14331
14332 * vc/log-edit.el: Fill empty field rather than adding new one.
14333 (log-edit-add-field): New function.
14334 (log-edit-insert-changelog): Use it.
14335
b0c4cdcf
ML
143362011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
14337
14338 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
14339
ee1f1da9
SM
143402011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
14341
14342 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
14343 (gdb--check-interpreter): New function.
14344 (gdb): Use it.
14345
51bc5f8b
GM
143462011-10-27 Glenn Morris <rgm@gnu.org>
14347
416a2c45
GM
14348 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
14349 (least-positive-float, least-negative-float)
14350 (least-positive-normalized-float, least-negative-normalized-float)
14351 (float-epsilon, float-negative-epsilon):
14352 Remove unnecessary declarations.
14353
14354 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
14355 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
14356 (least-positive-float, least-negative-float)
14357 (least-positive-normalized-float, least-negative-normalized-float)
14358 (float-epsilon, float-negative-epsilon): Add doc-strings,
14359 based on those in cl.texi.
14360
51bc5f8b
GM
14361 * files.el (set-visited-file-name): If the major-mode changed,
14362 reload the local variables. (Bug#9796)
14363
15de15c6
CY
143642011-10-27 Chong Yidong <cyd@gnu.org>
14365
14366 * subr.el (change-major-mode-after-body-hook): New hook.
14367 (run-mode-hooks): Run it.
14368
ee1f1da9
SM
14369 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14370 Use change-major-mode-before-body-hook.
15de15c6
CY
14371
14372 * simple.el (fundamental-mode):
14373 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
14374 change introducing fundamental-mode-hook.
14375
5430d399
JB
143762011-10-26 Juanma Barranquero <lekktu@gmail.com>
14377
acc825c5 14378 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 14379
ad74a69e
MA
143802011-10-26 Michael Albinus <michael.albinus@gmx.de>
14381
14382 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 14383 tramp.el explicitly. (Bug#7583)
ad74a69e 14384
71d4c2a5
SM
143852011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
14386
14387 * progmodes/octave-mod.el:
14388 * progmodes/octave-inf.el: Update maintainer.
14389
b1f6fa26
CY
143902011-10-26 Chong Yidong <cyd@gnu.org>
14391
14392 * subr.el (with-wrapper-hook): Rewrite doc.
14393
3f04efd6
MA
143942011-10-25 Michael Albinus <michael.albinus@gmx.de>
14395
14396 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 14397 filenames "/method:foo:". (Bug#9793)
3f04efd6 14398
410488d3
SM
143992011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
14400
14401 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
14402 (bug#9865).
14403
c1ebb47e
GM
144042011-10-24 Glenn Morris <rgm@gnu.org>
14405
14406 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
14407
7f5c46c7
MA
144082011-10-24 Michael Albinus <michael.albinus@gmx.de>
14409
14410 * notifications.el: Add the requirement of a running D-Bus session
14411 bus to the Commentary.
14412
db2440b6
JL
144132011-10-24 Juri Linkov <juri@jurta.org>
14414
14415 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
14416 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
14417 (Bug#9364)
14418
feecf435
JL
144192011-10-24 Juri Linkov <juri@jurta.org>
14420
14421 * info.el (Info-following-node-name-re): Add newline to the list
14422 of allowed characters for leading space. (Bug#9824)
14423
a3839de2
SM
144242011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
14425
acc825c5
SM
14426 * progmodes/octave-inf.el (inferior-octave-mode-map):
14427 Fix C-c C-h binding.
a3839de2
SM
14428 * progmodes/octave-mod.el (octave-help): Remove.
14429
09388e76
MA
144302011-10-23 Michael Albinus <michael.albinus@gmx.de>
14431
14432 Sync with Tramp 2.2.3.
14433
14434 * net/tramp-cache.el (top): Pacify byte-compiler using
14435 `init-file-user' and `site-run-file'.
14436
14437 * net/trampver.el: Update release number.
14438
86c60681
CY
144392011-10-23 Chong Yidong <cyd@gnu.org>
14440
14441 * files.el (toggle-read-only): Remove obsolete comment about
14442 version control.
14443
14444 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
14445 for toggle-read-only. Note that this hasn't called vc-next-action
14446 since 2008-05-02, though it wasn't documented at the time.
14447
a3839de2
SM
14448 * vc/ediff-init.el (ediff-toggle-read-only-function):
14449 Use toggle-read-only.
86c60681 14450
cd5495ff
AM
144512011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
14452
14453 Fix bug #9560, sporadic wrong indentation; improve instrumentation
14454 of c-parse-state.
14455
00b77525 14456 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 14457 correct faulty logical expression.
cd5495ff
AM
14458 (c-parse-state-state, c-record-parse-state-state):
14459 (c-replay-parse-state-state): New defvar/defuns.
14460 (c-debug-parse-state): Use new functions.
14461
42ee24ed
MR
144622011-10-22 Martin Rudalics <rudalics@gmx.at>
14463
14464 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 14465 last fix. Use window-in-direction correctly.
42ee24ed 14466
a7dee7e7
CY
144672011-10-21 Chong Yidong <cyd@gnu.org>
14468
14469 * progmodes/idlwave.el (idlwave-mode):
14470 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
14471 require-final-newline; that's done in prog-mode.
14472 Suggested by Stefan Monnier.
a7dee7e7 14473
e07b9a6d
MR
144742011-10-21 Martin Rudalics <rudalics@gmx.at>
14475
14476 * mouse.el (mouse-drag-window-above)
14477 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
14478 (mouse-drag-mode-line-1, mouse-drag-header-line)
14479 (mouse-drag-vertical-line-rightward-window): Remove.
14480 (mouse-drag-line): New function.
14481 (mouse-drag-mode-line, mouse-drag-header-line)
14482 (mouse-drag-vertical-line): Call mouse-drag-line.
14483 * window.el (window-at-side-p, windows-at-side): New functions.
14484
7e1361d9
UM
144852011-10-21 Ulrich Mueller <ulm@gentoo.org>
14486
14487 * tar-mode.el (tar-grind-file-mode):
14488 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
14489
30fcaf3a
CY
144902011-10-21 Chong Yidong <cyd@gnu.org>
14491
14492 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
14493 * progmodes/vera-mode.el (vera-mode):
14494 Use mode-require-final-newline.
30fcaf3a 14495
516eddb0
GM
144962011-10-20 Glenn Morris <rgm@gnu.org>
14497
db22a3c2 14498 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 14499
10d5f513
CS
145002011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
14501
14502 * emulation/cua-base.el (cua-set-mark): Fix case of string.
14503
ac6c8639
CY
145042011-10-20 Chong Yidong <cyd@gnu.org>
14505
14506 * emulation/cua-base.el (cua-mode):
14507 * mail/footnote.el (footnote-mode):
14508 * mail/mailabbrev.el (mail-abbrevs-mode):
14509 * net/xesam.el (xesam-minor-mode):
14510 * progmodes/bug-reference.el (bug-reference-mode):
14511 * progmodes/cap-words.el (capitalized-words-mode):
14512 * progmodes/compile.el (compilation-minor-mode)
14513 (compilation-shell-minor-mode):
14514 * progmodes/gud.el (gud-tooltip-mode):
14515 * progmodes/hideif.el (hide-ifdef-mode):
14516 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
14517 * progmodes/subword.el (subword-mode):
14518 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
14519 * progmodes/which-func.el (which-function-mode):
14520 * term/tvi970.el (tvi970-set-keypad-mode):
14521 * term/vt100.el (vt100-wide-mode):
14522 * textmodes/flyspell.el (flyspell-mode):
14523 * textmodes/ispell.el (ispell-minor-mode):
14524 * textmodes/nroff-mode.el (nroff-electric-mode):
14525 * textmodes/paragraphs.el (use-hard-newlines):
14526 * textmodes/refill.el (refill-mode):
14527 * textmodes/reftex.el (reftex-mode):
14528 * textmodes/rst.el (rst-minor-mode):
14529 * textmodes/sgml-mode.el (html-autoview-mode)
14530 (sgml-electric-tag-pair-mode):
14531 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
14532 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
14533 * emulation/crisp.el (crisp-mode):
14534 * emacs-lisp/eldoc.el (eldoc-mode):
14535 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
14536 minor mode behavior.
14537
aa42ab43
JL
145382011-10-19 Juri Linkov <juri@jurta.org>
14539
14540 * descr-text.el (describe-char): Add #x2010 and #x2011 to
14541 the list of hard-coded chars with escape-glyph face.
14542
89400f1d
SM
145432011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
14544
14545 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
14546
305c07f6
MA
145472011-10-19 Michael Albinus <michael.albinus@gmx.de>
14548
14549 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
14550 running process.
14551
13754b54
GM
145522011-10-19 Glenn Morris <rgm@gnu.org>
14553
14554 * vc/vc-bzr.el (vc-bzr-after-dir-status):
14555 Ignore ignored files. (Bug#9726)
14556
06e21633
CY
145572011-10-19 Chong Yidong <cyd@gnu.org>
14558
14559 Doc fix for minor modes, stating that an omitted argument enables
14560 the mode unconditionally when called from Lisp.
14561
14562 * abbrev.el (abbrev-mode):
14563 * allout.el (allout-mode):
14564 * autoinsert.el (auto-insert-mode):
14565 * autoarg.el (autoarg-mode, autoarg-kp-mode):
14566 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
14567 (global-auto-revert-mode):
14568 * battery.el (display-battery-mode):
14569 * composite.el (global-auto-composition-mode)
14570 (auto-composition-mode):
14571 * delsel.el (delete-selection-mode):
14572 * desktop.el (desktop-save-mode):
14573 * dired-x.el (dired-omit-mode):
14574 * dirtrack.el (dirtrack-mode):
14575 * doc-view.el (doc-view-minor-mode):
14576 * double.el (double-mode):
14577 * electric.el (electric-indent-mode, electric-pair-mode):
14578 * emacs-lock.el (emacs-lock-mode):
14579 * epa-hook.el (auto-encryption-mode):
14580 * follow.el (follow-mode):
14581 * font-core.el (font-lock-mode):
14582 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
14583 * help.el (temp-buffer-resize-mode):
14584 * hilit-chg.el (highlight-changes-mode)
14585 (highlight-changes-visible-mode):
14586 * hi-lock.el (hi-lock-mode):
14587 * hl-line.el (hl-line-mode, global-hl-line-mode):
14588 * icomplete.el (icomplete-mode):
14589 * ido.el (ido-everywhere):
14590 * image-file.el (auto-image-file-mode):
14591 * image-mode.el (image-minor-mode):
14592 * iswitchb.el (iswitchb-mode):
14593 * jka-cmpr-hook.el (auto-compression-mode):
14594 * linum.el (linum-mode):
14595 * longlines.el (longlines-mode):
14596 * master.el (master-mode):
14597 * mb-depth.el (minibuffer-depth-indicate-mode):
14598 * menu-bar.el (menu-bar-mode):
14599 * minibuf-eldef.el (minibuffer-electric-default-mode):
14600 * mouse-sel.el (mouse-sel-mode):
14601 * msb.el (msb-mode):
14602 * mwheel.el (mouse-wheel-mode):
14603 * outline.el (outline-minor-mode):
14604 * paren.el (show-paren-mode):
14605 * recentf.el (recentf-mode):
14606 * reveal.el (reveal-mode, global-reveal-mode):
14607 * rfn-eshadow.el (file-name-shadow-mode):
14608 * ruler-mode.el (ruler-mode):
14609 * savehist.el (savehist-mode):
14610 * scroll-all.el (scroll-all-mode):
14611 * scroll-bar.el (scroll-bar-mode):
14612 * server.el (server-mode):
14613 * shell.el (shell-dirtrack-mode):
14614 * simple.el (auto-fill-mode, transient-mark-mode)
14615 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
14616 (line-number-mode, column-number-mode, size-indication-mode)
14617 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
14618 * strokes.el (strokes-mode):
14619 * time.el (display-time-mode):
14620 * t-mouse.el (gpm-mouse-mode):
14621 * tool-bar.el (tool-bar-mode):
14622 * tooltip.el (tooltip-mode):
14623 * type-break.el (type-break-mode-line-message-mode)
14624 (type-break-query-mode):
14625 * view.el (view-mode):
14626 * whitespace.el (whitespace-mode, whitespace-newline-mode)
14627 (global-whitespace-mode, global-whitespace-newline-mode):
14628 * xt-mouse.el (xterm-mouse-mode): Doc fix.
14629
a3839de2
SM
14630 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14631 Fix autogenerated docstring.
06e21633 14632
5214e501
JL
146332011-10-19 Juri Linkov <juri@jurta.org>
14634
14635 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
14636 by checking environment variables "DESKTOP_SESSION" and
14637 "XDG_CURRENT_DESKTOP". (Bug#9779)
14638
195f8db9
JL
146392011-10-19 Juri Linkov <juri@jurta.org>
14640
14641 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
14642 (browse-url-chromium-program, browse-url-chromium-arguments):
14643 New defcustoms.
14644 (browse-url-default-browser): Check for `browse-url-chromium' and
14645 call `browse-url-chromium-program'.
14646 (browse-url-chromium): New command. (Bug#9779)
14647
343a34ff
JB
146482011-10-18 Juanma Barranquero <lekktu@gmail.com>
14649
14650 * facemenu.el (list-colors-duplicates): On Windows, detect more
14651 duplicates by assuming that only colors matching "^System" are
14652 special "system colors". (Bug#9722)
14653
6978a151
SM
146542011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
14655
14656 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
14657 to distinguish the author from the committer.
14658
6a80b297
MA
146592011-10-18 Michael Albinus <michael.albinus@gmx.de>
14660
14661 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
14662
b31a5677
JK
146632011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
14664
14665 * international/mule.el (sgml-html-meta-auto-coding-function):
14666 Add support for detecting encoding in HTML5 specified only as
14667 <meta charset="UTF-8">. Implementation just makes http-equiv and
14668 content-type parts from HTML4 encoding string optional. (Bug#9716)
14669
80c6d77f
GM
146702011-10-18 Glenn Morris <rgm@gnu.org>
14671
14672 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
14673
08b0fee8
CY
146742011-10-18 Chong Yidong <cyd@gnu.org>
14675
14676 * faces.el (cursor): Doc fix.
14677
67e729a5
CY
146782011-10-17 Chong Yidong <cyd@gnu.org>
14679
14680 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
14681
343a34ff 146822011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
14683
14684 * dirtrack.el (dirtrack): Support shell buffers with path
14685 prefixes, e.g. tramp-based remote shells. (Bug#9647)
14686
0bc06380
TZ
146872011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
14688
14689 * json.el: Bump version to 1.3 and note change in History.
14690 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
14691
8b79f3e0
SM
146922011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
14693
5a7c536b
SM
14694 * comint.el (comint-insert-input, comint-send-input)
14695 (comint-get-old-input-default, comint-backward-matching-input)
14696 (comint-next-prompt): Use nil instead of `input' for field property of
14697 past user input (bug#114).
14698
96a8a0df
SM
14699 * minibuffer.el (completion--replace): Inherit surrounding properties
14700 (bug#114).
14701 (minibuffer-complete-and-exit): Use it.
14702
8b79f3e0
SM
14703 * comint.el (comint--table-subvert): Quote the all-completions output
14704 (bug#9160).
14705
b8f7ff0d
MR
147062011-10-17 Martin Rudalics <rudalics@gmx.at>
14707
8b79f3e0 14708 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 14709
b8f7ff0d 14710 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 14711 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
14712 entries and separate them from frame entries.
14713
c235b555
GM
147142011-10-15 Glenn Morris <rgm@gnu.org>
14715
14716 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
14717 Doc fixes.
14718
6bbfa6e1
CY
147192011-10-15 Chong Yidong <cyd@stupidchicken.com>
14720
8b79f3e0
SM
14721 * net/network-stream.el (network-stream-open-starttls):
14722 Improve detection of failure due to lack of TLS support.
ec5c990d 14723
6bbfa6e1
CY
14724 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
14725 putting the input text in front and in bold.
14726
98488977
SM
147272011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
14728
3d1337be
SM
14729 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
14730
ee0b45e4
SM
14731 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
14732 empty buffer.
14733
98488977
SM
14734 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
14735 unread-command-events rather than pushing yet-another event.
14736
186f4720
EZ
147372011-10-14 Eli Zaretskii <eliz@gnu.org>
14738
14739 * mail/sendmail.el (sendmail-query-once): Improve the wording of
14740 the explanation of the possible choices. Make the options passed
14741 to completing-read shorter.
14742
8b7a997c
AM
147432011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14744
14745 * textmodes/flyspell.el (flyspell-large-region): Make sure
14746 extended character mode is used if defined (Bug#1339).
14747
12587bbb
EZ
147482011-10-13 Eli Zaretskii <eliz@gnu.org>
14749
14750 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
14751 character info for LRE, LRO, RLE, and RLO characters by appending
14752 an invisible PDF.
12587bbb 14753
bad41229
SM
147542011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
14755
14756 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
14757 even in case of error; add debug spec; simplify data flow.
14758 (with-timeout-handler): Remove.
14759
28dbc92f
MA
147602011-10-12 Michael Albinus <michael.albinus@gmx.de>
14761
14762 Fix Bug#6019, Bug#9315.
14763
14764 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
14765 complete `buffer-file-name', the local file name part could look
14766 remotely (for example on VMS).
14767
14768 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
14769 `tramp-run-real-handler'.
14770 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
14771 already quoted by '"'.
14772
14773 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
14774 Let `file-name-handler-alist' be nil, the local file name part
14775 could look remotely (for example on VMS).
14776
e1b0b23a
SM
147772011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
14778
14779 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
14780 from here...
14781 (flyspell-post-command-hook): ...to here.
14782
a120bde9
SM
147832011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
14784
14785 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
14786 if not needed.
14787 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
14788 using completion. Protect against "slow" callers.
14789 Remove the "message hack".
14790
7ce7717b
JL
147912011-10-11 Juri Linkov <juri@jurta.org>
14792
14793 * isearch.el (isearch-lazy-highlight-word): New variable.
14794 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
14795 Use it. (Bug#9727)
14796
c02ee9d6
GM
147972011-10-11 Glenn Morris <rgm@gnu.org>
14798
14799 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
14800 like f90-previous-statement does.
14801
93e616fd 148022011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14803
1f190e73 14804 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
14805 only in interactive use, to avoid error.
14806
af7b6078
SM
148072011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
14808
14809 * minibuffer.el (completion-file-name-table): Fix last change,
14810 i.e. ignore normal errors but not the other ones.
14811
0563dae9
MR
148122011-10-10 Martin Rudalics <rudalics@gmx.at>
14813
14814 * window.el (special-display-buffer-names)
14815 (special-display-regexps): Remove some remnants of earlier
14816 changes from doc-strings.
366ca7f3
MR
14817 (quit-windows-on): New function.
14818
14819 * vc/vc.el (vc-revert, vc-rollback):
14820 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
14821 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 14822 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 14823
49677495
MR
148242011-10-09 Martin Rudalics <rudalics@gmx.at>
14825
14826 * window.el (frame-auto-hide-function): Add version tag.
14827 (Bug#9699)
14828
56f2d1e1
MA
148292011-10-09 Michael Albinus <michael.albinus@gmx.de>
14830
14831 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
14832 condition.
14833
112a6592
LL
148342011-10-09 Leo Liu <sdl.web@gmail.com>
14835
14836 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
14837 (Bug#9701)
14838
0812589b
GM
148392011-10-08 Glenn Morris <rgm@gnu.org>
14840
14841 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
14842 before the first code statement zero indent. (Bug#9690)
14843
b2b0776e
CY
148442011-10-08 Chong Yidong <cyd@stupidchicken.com>
14845
14846 * simple.el (count-words-region): Always count in the region.
14847 Report the number of lines and characters too.
14848 (count-words): New command, which counts in the buffer if the
14849 region is inactive, as count-words-region used to.
14850 (count-words--message): New function. Handle plurals.
14851 (count-lines-region): Make it an alias for count-words-region.
14852
14853 * bindings.el (esc-map): Replace count-lines-region with
14854 count-words-region.
14855
c557cd6b
MR
148562011-10-08 Martin Rudalics <rudalics@gmx.at>
14857
14858 * window.el (window--delete): Delete dedicated frame
14859 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 14860 (switch-to-buffer): Fix doc-string typo.
c557cd6b 14861
61a57ef4 148622011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14863
3a7d293b 14864 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 14865
c3833279
CY
148662011-10-07 Chong Yidong <cyd@stupidchicken.com>
14867
14868 * bindings.el ([M-left],[M-right]): Bind to left-word and
14869 right-word respectively.
14870
21ce8245
GM
148712011-10-07 Glenn Morris <rgm@gnu.org>
14872
14873 * cus-start.el (debug-on-quit): Fix custom type.
14874
6d823bb2
LMI
148752011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
14876
0181e193
LMI
14877 * subr.el (define-key-after): Clarify that the function is not
14878 useful for non-menu keymaps.
14879
6d823bb2
LMI
14880 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
14881
8e3459ce 148822011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14883
21ce8245 14884 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 14885 in current minibuffer (Fix bug with recursive minibuffers).
14886
a1c2d21e
CY
148872011-10-06 Chong Yidong <cyd@stupidchicken.com>
14888
14889 * progmodes/gdb-mi.el (gdb): Doc fix.
14890
5a4cf282
MR
148912011-10-05 Martin Rudalics <rudalics@gmx.at>
14892
14893 * window.el (frame-auto-hide-function): New option replacing
14894 frame-auto-delete. Suggested by Stefan Monnier.
14895 (window--delete): Call frame-auto-hide-function instead of
14896 investigating frame-auto-delete.
c96111ea
MR
14897 (window-point-1, set-window-point-1): New functions.
14898 (window-in-direction, record-window-buffer, window-state-get-1)
14899 (display-buffer-record-window): Use window-point-1 instead of
14900 window-point.
14901 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 14902
9854542e
SM
149032011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
14904
14905 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
14906
8943cfb0
GM
149072011-10-05 Glenn Morris <rgm@gnu.org>
14908
14909 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
14910 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
14911
647ab967
LL
149122011-10-05 Leo Liu <sdl.web@gmail.com>
14913
14914 * subr.el (read-char-choice): Fix argument to buffer-live-p which
14915 works with buffer object.
14916
3ddfbced
SM
149172011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
14918
14919 * mpc.el (mpc-tool-bar-map): Add labels.
14920
bdfa5dd2
GM
149212011-10-04 Glenn Morris <rgm@gnu.org>
14922
14923 * calendar/holidays.el (calendar-check-holidays): Doc fix.
14924
0e2070b5
MR
149252011-10-04 Martin Rudalics <rudalics@gmx.at>
14926
14927 * window.el (window--delete): New function.
14928 (frame-auto-delete): Resuscitate option.
14929 (bury-buffer, replace-buffer-in-windows)
14930 (quit-window): Rewrite using window--delete.
14931 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
14932 Pass display-buffer-mark-dedicated to window--display-buffer-2
14933 (Bug#9639).
14934
3dc61a09
SM
149352011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
14936
915a9b64
SM
14937 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
14938 returns a list (bug#9554). Add remote file name completion.
14939 * comint.el (comint--table-subvert): Curry and get quote&unquote
14940 functions as arguments.
14941 (comint--complete-file-name-data): Adjust call accordingly.
14942 * pcomplete.el (pcomplete--table-subvert): Remove.
14943 (pcomplete-completions-at-point): Use comint--table-subvert instead.
14944
3dc61a09
SM
14945 * minibuffer.el (completion-table-case-fold): Use currying.
14946 (completion--styles-type, completion--cycling-threshold-type):
14947 New constants.
14948 (completion-styles, completion-category-overrides)
14949 (completion-cycle-threshold): Use them.
14950 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
14951 completion-table-case-fold.
14952
8ea0a993
SB
149532011-10-03 Stephen Berman <stephen.berman@gmx.net>
14954
14955 * minibuffer.el (completion-category-overrides): Fix type of styles
14956 and add more user friendly tags (bug#9660).
14957
8c24b7f6
SM
149582011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
14959
14960 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
14961 (mule-input-method-string): New widget.
14962 (default-input-method, language-info-custom-alist): Use it.
14963
428fe61a
SM
149642011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
14965
32c1fffd
SM
14966 * pcomplete.el: Require comint.
14967 (pcomplete--common-suffix): Remove.
14968 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
14969 (pcomplete--table-subvert): Sync with comint--table-subvert.
14970 (pcomplete--entries): Use comint-completion-file-name-table.
14971 * comint.el (comint-unquote-filename): Simplify.
14972 (comint-completion-file-name-table): New function (bug#9616).
14973 (comint--complete-file-name-data): Use it.
14974
428fe61a
SM
14975 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
14976 (pcmpl-gnu-tar-buffer): Remove.
14977 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
14978 around. Make sure pcomplete-suffix-list is only changed temporarily.
14979 Don't look inside the tar's file if it's too large.
428fe61a 14980
04c52e2f
CY
149812011-10-01 Chong Yidong <cyd@stupidchicken.com>
14982
ce3cefcc
CY
14983 * cus-edit.el (custom-mode-map):
14984 * epa.el (epa-key-list-mode-map):
14985 * man.el (Man-mode-map):
14986 * startup.el (splash-screen-keymap):
14987 * simple.el (special-mode-map): Use scroll-up-command and
14988 scroll-down-command.
14989
14990 * progmodes/idlw-help.el (idlwave-help-mode-map):
14991 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
14992 * net/newst-plainview.el (newsticker-mode-map):
14993 * emulation/ws-mode.el (wordstar-mode-map):
14994 * emulation/vi.el (vi-com-map):
14995 * calc/calc-graph.el (calc-graph-show-dumb):
14996 * term/sun.el (terminal-init-sun):
14997 * term/ns-win.el (global-map):
14998 * progmodes/grep.el (grep-mode-map):
14999 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
15000 * mail/rmail.el (rmail-mode-map):
15001 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
15002
04c52e2f
CY
15003 * custom.el (custom-safe-themes, load-theme): Treat value of t for
15004 custom-safe-themes as special.
15005
79adf8c8
JD
150062011-10-01 Julien Danjou <julien@danjou.info>
15007
15008 * notifications.el (notifications-notify): Fix docstring.
15009
63bd50d3
PS
150102011-10-01 Per Starbäck <per@starback.se>
15011
15012 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
15013
199e4c7e
MR
150142011-09-30 Martin Rudalics <rudalics@gmx.at>
15015
15016 * startup.el (command-line-1): Fix last fix by inserting
15017 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 15018 (Bug#9605) and (Bug#9636)
199e4c7e 15019
fe5f08dd
EZ
150202011-09-29 Eli Zaretskii <eliz@gnu.org>
15021
15022 * simple.el (line-move): If auto-hscroll-mode is disabled and the
15023 window is hscrolled, move by logical lines. (Bug#9607)
15024 (line-move-visual): Update the doc string to the above effect.
15025
b5516bbd
MR
150262011-09-29 Martin Rudalics <rudalics@gmx.at>
15027
ccee00c0
MR
15028 * window.el (display-buffer-record-window): When WINDOW is the
15029 selected window use `point' instead of `window-point'. (Bug#9626)
15030
b5516bbd
MR
15031 * startup.el (command-line-1): Use insert-before-markers when
15032 inserting initial-scratch-message. (Bug#9605)
ccee00c0 15033
b5516bbd
MR
15034 * help.el (help-window): Remove variable.
15035
52aa0014
GM
150362011-09-29 Glenn Morris <rgm@gnu.org>
15037
15038 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
15039
df9a7357
JB
150402011-09-29 Juanma Barranquero <lekktu@gmail.com>
15041
15042 * descr-text.el (describe-char-categories): Accept category
15043 descriptions more than one line long.
15044
a8406c20
SM
150452011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
15046
88d9610c
SM
15047 * simple.el (delete-trailing-whitespace): Fix last change.
15048
a5daf810
SM
15049 * progmodes/perl-mode.el (perl-syntax-propertize-function):
15050 Don't confuse "y => 3" as the beginning of a `y' operation.
15051
a8406c20
SM
15052 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
15053 object has more than 4 slots (bug#9613).
15054
a239d4e9
JB
150552011-09-28 Juanma Barranquero <lekktu@gmail.com>
15056
15057 * subr.el (with-output-to-temp-buffer):
15058 * net/quickurl.el (quickurl, quickurl-browse-url):
15059 Fix typos in docstrings.
15060
693fbdb6
EZ
150612011-09-27 Eli Zaretskii <eliz@gnu.org>
15062
15063 * minibuffer.el (completion-styles)
15064 (completion-category-overrides): Cross reference each other in doc
15065 strings.
15066
8b457e28
GM
150672011-09-27 Glenn Morris <rgm@gnu.org>
15068
15069 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
15070 to split-string. (Bug#9606)
15071
85a16208
LMI
150722011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
15073
15074 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
15075 (bug#9615).
15076
502f9ebd
CY
150772011-09-27 Chong Yidong <cyd@stupidchicken.com>
15078
15079 * emacs-lisp/package.el (list-packages): Fix echo area message.
15080
7690bdea
LL
150812011-09-27 Leo Liu <sdl.web@gmail.com>
15082
15083 * ido.el (ido-read-internal): Accept cons cell HIST arg.
15084
e2ee6f30
MA
150852011-09-25 Michael Albinus <michael.albinus@gmx.de>
15086
15087 * net/dbus.el (dbus-unregister-object): Don't release services for
15088 registered signals. (Bug#9581)
15089
f3f98342
TZ
150902011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
15091
15092 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
15093 function that picks between cfengine 2 and 3 support
15094 automatically. Update docs accordingly.
15095
dd7aa8dd
KH
150962011-09-22 Kenichi Handa <handa@m17n.org>
15097
15098 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
15099 ZERO.
15100 (indian-itrans-v5-table-for-tamil): New variable.
15101 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
15102
3f2b07f8
KM
151032011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
15104
15105 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
15106 that's true if the current command involved collapsing of text.
15107 It's reset to false at the beginning of the next command.
15108 (allout-post-command-business): Move the cursor to the beginning
15109 of entry if the cursor is hidden and collapsing activity just
15110 happened.
15111
371d6a61
CY
151122011-09-24 Chong Yidong <cyd@stupidchicken.com>
15113
15114 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
15115 tracking (Bug#9541).
15116
2ac2721a
UJ
151172011-09-24 Ulf Jasper <ulf.jasper@web.de>
15118
15119 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
15120 (newsticker-show-news): Automatically load html rendering package
15121 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
15122 because w3m-fill-column is let-bound" and the error "Symbol's value
15123 as variable is void: w3m-fill-column".
2ac2721a 15124
fac7ae53
MA
151252011-09-24 Michael Albinus <michael.albinus@gmx.de>
15126
15127 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
15128 Release services only if they are defined. (Bug#9581)
15129
e08b633b
RS
151302011-09-23 Richard Stallman <rms@gnu.org>
15131
e488d29c
RS
15132 * textmodes/paragraphs.el (forward-sentence): For backwards case,
15133 distinguish start of paragraph from start of its text.
15134
19c38752
RS
15135 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
15136
e08b633b
RS
15137 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
15138 (rmail-generate-viewer-buffer): Put that hook on view buffer.
15139 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
15140
0a39f27e
AS
151412011-09-23 Andreas Schwab <schwab@linux-m68k.org>
15142
15143 * international/mule-diag.el (mule-diag): Insert a newline after
15144 each fontset description.
15145
db4e950d
SM
151462011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
15147
15148 * simple.el (delete-trailing-whitespace):
15149 Document last change; simplify.
15150
eca3f3ea
PW
151512011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
15152
d68e189a
PW
15153 * simple.el (delete-trailing-whitespace): Also delete
15154 extra newlines at the end of the buffer.
15155
eca3f3ea
PW
15156 * textmodes/picture.el: Make motion commands obey shift-select-mode.
15157 (picture-newline): Use forward-line so as to ignore fields.
15158
01c157cc
SM
151592011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
15160
15161 * subr.el (with-wrapper-hook): Fix edebug spec.
15162
022de23e
LMI
151632011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
15164
15165 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
15166 (bug#4538).
15167
91683089
MA
151682011-09-23 Michael Albinus <michael.albinus@gmx.de>
15169
eca3f3ea
PW
15170 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
15171 Fix nasty bug using wrong cached values.
91683089 15172
5bdd6fa4
AM
151732011-09-23 Alan Mackenzie <acm@muc.de>
15174
15175 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
15176
97adfb97
CY
151772011-09-23 Chong Yidong <cyd@stupidchicken.com>
15178
15179 * window.el (pop-to-buffer): Ensure right window is selected if we
15180 chose another frame.
15181
d4ef2b50
EZ
151822011-09-22 Eli Zaretskii <eliz@gnu.org>
15183
15184 * simple.el (what-cursor-position): Use get-char-property-change
15185 and next-single-char-property-change, to be able to show display
15186 properties that come from overlays as well as text properties.
15187
72258fe5
CY
151882011-09-22 Chong Yidong <cyd@stupidchicken.com>
15189
15190 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
15191
15192 * cmuscheme.el (run-scheme, switch-to-scheme):
15193 * cus-edit.el (customize-group, custom-buffer-create)
15194 (customize-browse):
15195 * info.el (info):
15196 * shell.el (shell):
15197 * mail/sendmail.el (mail):
15198 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
15199
8f098516
RS
152002011-09-22 Richard Stallman <rms@gnu.org>
15201
15202 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
15203 move back only to line beg, don't move back over blank lines.
15204
e74f1bb6
MA
152052011-09-22 Michael Albinus <michael.albinus@gmx.de>
15206
15207 * files.el (copy-directory): Set directory attributes only in case
15208 they could be retrieved from the source directory. (Bug#9565)
15209
bfeef8b6
DK
152102011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
15211
15212 * progmodes/hideshow.el (hs-looking-at-block-start-p)
15213 (hs-find-block-beginning, hs-hide-level-recursive):
15214 Ignore strings as well as comments. (Bug#9502)
15215
7e423bb8
AS
152162011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
15217
15218 * progmodes/sql.el (sql-comint-postgres):
15219 Convert port number to a string. (Bug#9566)
15220
b4d72fcf
MR
152212011-09-22 Martin Rudalics <rudalics@gmx.at>
15222
15223 * window.el (quit-window): Undedicate window when switching to
15224 previous buffer. Reported by Thierry Volpiatto
15225 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
15226 (special-display-popup-frame): When popping up a new frame reset
15227 its previous buffers to nil. Simplify code.
b4d72fcf 15228
a7b88dc6
MA
152292011-09-21 Michael Albinus <michael.albinus@gmx.de>
15230
15231 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
15232 and process filter, as done also in `shell-command'.
15233
cf4eacfd
MR
152342011-09-21 Martin Rudalics <rudalics@gmx.at>
15235
eca3f3ea 15236 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
15237 Call set-window-start with NOFORCE argument t.
15238 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
15239 (quit-window): Reword doc-string. Handle new format of
15240 quit-restore parameter. Don't delete window if it has a
15241 previous buffer we can show instead of the present one.
15242 (display-buffer-record-window): Rewrite using a new format for
15243 the quit-restore window parameter
15244 (special-display-popup-frame, display-buffer-same-window)
15245 (display-buffer-reuse-window, display-buffer-pop-up-frame)
15246 (display-buffer-pop-up-window, display-buffer-use-some-window):
15247 Adapt symbol passed to display-buffer-record-window.
15248 * help.el (help-window-setup): Handle new format of quit-restore
15249 parameter.
15250
8d28cb95
SM
152512011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
15252
94ab793f
SM
15253 * faces.el (face-list): Fix docstring (bug#9564).
15254
8d28cb95
SM
15255 * window.el (display-buffer--action-function-custom-type):
15256 Don't include internal functions in the Custom interface.
15257
3820edeb
JL
152582011-09-20 Juri Linkov <juri@jurta.org>
15259
15260 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
15261 (Info-forward-node, Info-backward-node, Info-next-preorder)
15262 (Info-last-preorder): Use it. (Bug#9528)
15263
5147931d
JL
152642011-09-20 Juri Linkov <juri@jurta.org>
15265
15266 * info.el (Info-last-preorder): Visit last menu item only when
15267 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
15268
cf499a1a
JD
152692011-09-20 Julien Danjou <julien@danjou.info>
15270
15271 * password-cache.el (password-cache-remove): Remove entries even if the
15272 value is nil, so that password with a nil value (negative caching) is
15273 possible to invalidate.
15274
f84e2fe2
LM
152752011-09-20 Lawrence Mitchell <wence@gmx.li>
15276
15277 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
15278 all whitespace around breakpoint. (Bug#9553)
15279 (f90-find-breakpoint): Only break at whitespace inside a comment.
15280
78054a46
SM
152812011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
15282
15283 * minibuffer.el (completion-file-name-table): Keep track of errors.
15284 (completion-table-with-predicate): Handle the case where pred1 is nil.
15285 * pcomplete.el (pcomplete-completions-at-point): Simplify.
15286
345083b2
SM
152872011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
15288
e24e27be
SM
15289 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
15290 (debugger-return-value): Signal an error if the debugging context does
15291 not await any return value.
15292
345083b2
SM
15293 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
15294 * image-mode.el (image-toggle-display-text)
15295 (image-toggle-display-image): Stay away from evil `intangible'.
15296
08d355e3
LL
152972011-09-19 Leo Liu <sdl.web@gmail.com>
15298
15299 * replace.el (occur-revert-arguments): Make it permanent-local.
15300 (occur-mode): Don't call font-lock-defontify.
15301
f01da43f
CY
153022011-09-19 Chong Yidong <cyd@stupidchicken.com>
15303
15304 * net/ldap.el (ldap-search-internal): Don't push empty search
15305 result (Bug#9508).
15306
b6072fa6
SM
153072011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
15308
15309 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
15310
443d6696
MA
153112011-09-19 Michael Albinus <michael.albinus@gmx.de>
15312
15313 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
15314 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
15315
7cc6e154
JL
153162011-09-18 Juri Linkov <juri@jurta.org>
15317
15318 * buff-menu.el (Buffer-menu-mode-map):
15319 * dired.el (dired-mode-map):
15320 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
15321 (lisp-interaction-mode-map):
15322 * emacs-lisp/package.el (package-menu-mode-map):
15323 * epa.el (epa-key-list-mode-map):
15324 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
15325 (menu-bar-options-menu):
15326 * outline.el (outline-mode-menu-bar-map):
15327 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
15328 * vc/vc-dir.el (vc-dir-menu-map):
15329 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
15330 Capitalize non-function content words in menu item strings.
15331
15332 * dired.el (dired-mode-map): Add menu item for
15333 `image-dired-dired-toggle-marked-thumbs'.
15334
80302a81
JL
153352011-09-18 Juri Linkov <juri@jurta.org>
15336
15337 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
15338 to `isearch-case-fold-search' and restore its original value
15339 after the `isearch-mode' call.
15340
46c5cf66
JL
153412011-09-18 Juri Linkov <juri@jurta.org>
15342
15343 * progmodes/grep.el (grep-process-setup): Don't check code for 1
15344 because `zgrep' returns 1 for successful matches (bug#9226).
15345
d18b513b
JL
153462011-09-18 Juri Linkov <juri@jurta.org>
15347
15348 * info.el (Info-extract-menu-node-name): Check the second match
15349 for empty string (second test-case of bug#9528).
15350 (Info-last-preorder): Let-bind `Info-history' to nil to not add
15351 intermediate nodes to the history (first test-case of bug#9528).
15352
72753f87
JL
153532011-09-18 Juri Linkov <juri@jurta.org>
15354
15355 * info.el (Info-mode-syntax-table): New variable.
1154d12e 15356 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 15357
c9384295
JL
153582011-09-18 Juri Linkov <juri@jurta.org>
15359
1154d12e
JB
15360 * info.el (Info-file-supports-index-cookies):
15361 Increment line-beginning-position's arg from 3 to 4 because makeinfo
15362 outputs one more line for long file names (bug#4142).
c9384295 15363
d473dce8
CY
153642011-09-18 Chong Yidong <cyd@stupidchicken.com>
15365
15366 * newcomment.el (comment-normalize-vars): If prompting for
15367 comment-start, set comment-start-skip too (Bug#8424).
15368
2176854d
JB
153692011-09-18 Johan Bockgård <bojohan@gnu.org>
15370
15371 * icomplete.el: Fix previous fix of Bug#5849.
15372 (icomplete-mode): Don't set completion-show-inline-help.
15373 (icomplete-minibuffer-setup): Set completion-show-inline-help
15374 locally during icompletion.
15375
3aace4e4
CY
153762011-09-18 Chong Yidong <cyd@stupidchicken.com>
15377
c940224f
CY
15378 * woman.el (woman2-process-escapes): Don't delete unrecognized
15379 escapes (Bug#7843).
15380
3aace4e4
CY
15381 * files.el (inhibit-first-line-modes-regexps): Add image files.
15382 (hack-local-variables-prop-line): Return nil for malformed
15383 prop-lines (Bug#9044).
15384
710dec63
MA
153852011-09-18 Michael Albinus <michael.albinus@gmx.de>
15386
15387 * net/tramp.el (top): Don't require 'shell.
15388 (tramp-methods): Fix docstring.
15389 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
15390 Return complete remote file name. Handle "smb" case.
15391 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
15392 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
15393
15394 * net/tramp-compat.el (top): Require 'shell.
15395
15396 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
15397 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
15398 `tramp-current-host'.
15399 (tramp-get-remote-tmpdir): Remove.
15400
15401 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
15402 `tramp-tmpdir' entries.
15403 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
15404 (tramp-smb-handle-file-attributes): Ignore errors.
15405 (tramp-smb-wait-for-output): Check also for process end.
15406
5d5ac8ec
LMI
154072011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
15408
15409 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
15410 when sending QUIT (bug#9312).
15411
8c0f49f0
CY
154122011-09-17 Chong Yidong <cyd@stupidchicken.com>
15413
15414 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
15415 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
15416 occur-mode-display-occurrence.
15417 (occur-edit-mode): Add usage message.
15418 (occur-cease-edit): New command.
15419 (occur-after-change-function): Use text properties to find the
15420 position of the prefix text.
15421 (occur-engine): Set stickiness of prefix text properties.
15422
8f1383f7
GM
154232011-09-17 Glenn Morris <rgm@gnu.org>
15424
15425 * progmodes/etags.el (complete-tag):
15426 Fix call to completion-in-region. (Bug#9526)
15427
744ba0e3
JL
154282011-09-17 Juri Linkov <juri@jurta.org>
15429
15430 * textmodes/ispell.el (ispell-word): Add to the error message
15431 the word, ispell program name and current dictionary (bug#9121).
15432 (ispell-tex-arg-end): Capitalize "error" in the error message.
15433
d9bbf400
AS
154342011-09-17 Andreas Schwab <schwab@linux-m68k.org>
15435
15436 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
15437 check. (Bug#4251)
15438
8da11505
JL
154392011-09-17 Juri Linkov <juri@jurta.org>
15440
15441 * window.el (window-safe-min-height, window-safe-min-width):
15442 Fix typos (followup to bug#9522).
15443
a91adc7e
SJ
154442011-09-17 Sven Joachim <svenjoac@gmx.de>
15445
15446 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
15447
064f328a
EZ
154482011-09-16 Eli Zaretskii <eliz@gnu.org>
15449
15450 * simple.el (line-move): If goal-column is set, move by logical
15451 lines, not by display lines. (Bug#971)
15452 (next-line, previous-line, goal-column, line-move-visual): Doc fix
15453 to reflect the above change.
15454
e69df516
SM
154552011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
15456
15457 * image.el (imagemagick-register-types): Use regexp-opt.
15458
cbb0f9ab
CY
154592011-09-15 Chong Yidong <cyd@stupidchicken.com>
15460
15461 * window.el (display-buffer-base-action): Rename from
15462 display-buffer-default-action. Make default value empty.
15463 (display-buffer-overriding-action): Convert to defvar.
15464 (display-buffer-fallback-action): New var.
15465
25322144
CY
154662011-09-15 Chong Yidong <cyd@stupidchicken.com>
15467
15468 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
15469 declaration.
15470 (package--add-to-archive-contents): If there is a duplicate entry
15471 with an older version, remove it.
15472 (package-menu-mark-delete, package-menu-mark-install)
15473 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
15474 (package-menu-mark-obsolete-for-deletion):
15475 Use package-menu-get-status instead of a regexp search.
25322144
CY
15476 (package-menu-get-status): Use tabulated-list-entry.
15477 (package-menu-mark-upgrades): New command.
d770725a 15478 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
15479 (package-menu-execute): Do installation before deletion.
15480 (package-menu-refresh, package-menu-execute): Use derived-mode-p
15481 instead of checking major-mode.
15482 (package-menu--find-upgrades): New function.
15483
7520339c
LMI
154842011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
15485
15486 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
15487 passwords in the log buffer.
65a046c4
LMI
15488 (smtpmail-process-filter): Update the process marker so that the
15489 "broken by peer" status message is inserted in the right place.
7520339c 15490
d3c30954
SM
154912011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
15492
3fe48822
SM
15493 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
15494 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
15495 bibtex-completion-at-point-function.
15496 (bibtex-completion-at-point-function): Use them.
15497
1b8b3954
SM
15498 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
15499
d3c30954
SM
15500 * mpc.el (mpc-constraints-tag-lookup): New function.
15501 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
15502 also to browser "album|playlist".
15503
72779976
JL
155042011-09-14 Juri Linkov <juri@jurta.org>
15505
15506 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
15507 (isearch-edit-string): Use length of `isearch-string' when
15508 `isearch-fail-pos' returns nil.
15509 (isearch-message): Remove duplicate code and call
15510 `isearch-fail-pos' with arg `t'.
15511
a0bf2bcd
CY
155122011-09-14 Chong Yidong <cyd@stupidchicken.com>
15513
17bb0a2d
CY
15514 * replace.el (occur-mode-goto-occurrence): Don't force using other
15515 window (Bug#9499).
15516
a0bf2bcd
CY
15517 * dired-aux.el (dired-do-chmod): Don't provide initial input.
15518
f678e0b6
MR
155192011-09-14 Martin Rudalics <rudalics@gmx.at>
15520
15521 * window.el (display-buffer-window): Remove.
15522 (display-buffer-record-window): Use help-setup window parameter
15523 instead of variable display-buffer-window.
15524 (display-buffer-function, special-display-buffer-names)
15525 (special-display-function): Mention help-setup parameter instead
15526 of display-buffer-window in doc-string.
d3c30954
SM
15527 * help.el (help-window-setup): New argument help-window.
15528 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
15529 Reword some messages.
15530 (with-help-window): Pass window used for displaying the buffer
15531 to help-window-setup. Don't set display-buffer-window.
15532
8e39b2e8
GM
155332011-09-13 Glenn Morris <rgm@gnu.org>
15534
15535 * emacs-lisp/debug.el (debugger-make-xrefs):
15536 Preserve point. (Bug#9462)
15537
85e9c04b
CY
155382011-09-13 Chong Yidong <cyd@stupidchicken.com>
15539
15540 * window.el (window-deletable-p): Use next-frame.
15541
1b36ed6a
MR
155422011-09-13 Martin Rudalics <rudalics@gmx.at>
15543
15544 * window.el (window-auto-delete): Remove.
15545 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 15546 dedication and previous buffers.
1b36ed6a
MR
15547 (switch-to-prev-buffer): Don't delete window.
15548 (delete-windows-on): Delete a window's frame if and only if the
15549 window is dedicated.
15550 (replace-buffer-in-windows): Delete buffer's window or frame if
15551 and only if window is dedicated.
15552 (quit-window): Handle quit-restore as before last change.
4d61f28d 15553 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 15554
ef8ef9fb
CY
155552011-09-13 Chong Yidong <cyd@stupidchicken.com>
15556
15557 * window.el (window-deletable-p): Never delete the last frame on a
15558 given terminal.
15559
b2cba41e
GM
155602011-09-13 Glenn Morris <rgm@gnu.org>
15561
15562 * help.el (describe-key-briefly): Copy previous standard-output change.
15563
51553db6 155642011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
15565
15566 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
15567
b7556719
GM
155682011-09-13 Glenn Morris <rgm@gnu.org>
15569
15570 * emacs-lisp/lisp-mode.el (lisp-indent-function):
15571 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
15572
64b51947
CY
155732011-09-12 Chong Yidong <cyd@stupidchicken.com>
15574
15575 * dired-aux.el (dired-mark-read-string): Don't return default
15576 value on empty input (Bug#9361).
15577 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
15578 Omit initial minibuffer contents.
15579 (dired-do-chmod): Signal an error on empty input.
15580 (dired-mark-read-string): Don't return default on empty input.
15581
15582 * files.el (file-modes-symbolic-to-number): Doc fix.
15583
393a301e
SM
155842011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
15585
15586 * international/mule-cmds.el (ucs-completions): Remove.
15587 (read-char-by-name): Use complete-with-action instead; add metadata.
15588
fa5660f9
CY
155892011-09-11 Chong Yidong <cyd@stupidchicken.com>
15590
15591 * window.el (display-buffer--action-function-custom-type)
15592 (display-buffer--action-custom-type): New vars.
15593 (display-buffer-alist, display-buffer-default-action)
15594 (display-buffer-overriding-action): Add defcustom types.
15595
4a592f66
CY
15596 * frame.el (delete-other-frames): Doc fix (Bug#276).
15597
73d56dbd
LMI
155982011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15599
15600 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
15601
37ac18a3
CY
156022011-09-11 Chong Yidong <cyd@stupidchicken.com>
15603
15604 Change modes that used same-window-* vars to use switch-to-buffer.
15605
15606 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
15607 Use switch-to-buffer.
15608
15609 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
15610 (customize-browse, custom-buffer-create-other-window):
15611 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
15612
15613 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
15614 (Info-prev, Info-up, Info-speedbar-goto-node)
15615 (info-display-manual): Use switch-to-buffer.
15616 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
15617
15618 * mail/sendmail.el (mail): Use switch-to-buffer.
15619 (mail-recover): Use switch-to-buffer-other-window.
15620
15621 * cmuscheme.el (run-scheme, switch-to-scheme):
15622 * ielm.el (ielm):
15623 * shell.el (shell):
15624 * net/rlogin.el (rlogin):
15625 * net/telnet.el (telnet, rsh):
15626 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
15627
10195bd6
AS
156282011-09-11 Andreas Schwab <schwab@linux-m68k.org>
15629
15630 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
15631
b322f63a
LMI
156322011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15633
39d7fed6
LMI
15634 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
15635 so don't mention it (bug#9301).
ba5a81f1 15636 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 15637
ee0e9f11
LMI
15638 * faces.el (face-spec-set-match-display): Make `(type graphic)'
15639 match `x', `w32' and `ns', like the manual says (bug#9029).
15640
0b1c89c1 15641 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
15642 (process-kill-buffer-query-function): Mention the buffer name in
15643 the query.
0b1c89c1 15644
77549ea8
LMI
15645 * image-mode.el (image-next-line): The line parameter is mandatory
15646 (bug#9258).
15647
803ef892
LMI
15648 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
15649 which can be useful (bug#9301).
15650
12980837
LMI
15651 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
15652
91054f8f
LMI
15653 * subr.el (match-string): Mention that the current buffer should
15654 be the same as the search was done in (bug#9282).
15655
b322f63a
LMI
15656 * facemenu.el: Disable the remove-* commands if the mark isn't
15657 active (bug#9162).
15658
3199b96f
CY
156592011-09-10 Chong Yidong <cyd@stupidchicken.com>
15660
15661 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
15662 of display-buffer.
15663 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
15664
15665 * replace.el (occur-mode-goto-occurrence)
15666 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
15667 and display-buffer.
15668
15669 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
15670 display-buffer.
15671
15672 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
15673 special-display and same-window variables.
15674 (mail-other-window): Use switch-to-buffer-other-window.
15675 (mail-other-frame): USe switch-to-buffer-other-frame.
15676
393a301e
SM
15677 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
15678 Use display-buffer-other-frame.
3199b96f
CY
15679 (gdb-display-gdb-buffer): Use pop-to-buffer.
15680
15681 * progmodes/gud.el (gud-goto-info): Use info-other-window.
15682
15683 * progmodes/python.el: Don't set same-window-buffer-names.
15684
15685 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
15686
15687 * window.el (display-buffer-alist): Add *Python*.
15688
8319e0bf
CY
156892011-09-10 Chong Yidong <cyd@stupidchicken.com>
15690
15691 * window.el (display-buffer-alist): Add entry for buffers
15692 previously handled same-window-*.
15693 (display-buffer-alist, display-buffer-default-action)
15694 (display-buffer-overriding-action): Mark as risky.
15695 (display-buffer-alist): Document action function changes.
15696 (display-buffer--same-window-action)
15697 (display-buffer--other-frame-action): New variables.
15698 (switch-to-buffer, display-buffer-other-frame): Use them.
15699 (display-buffer): Rename reuse-frame entry to reusable-frames.
15700 (display-buffer-reuse-selected-window): Function deleted.
15701 (display-buffer-reuse-window): Handle reusable-frames alist entry.
15702 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
15703 (display-buffer-special): New function.
15704 (display-buffer--maybe-pop-up-frame-or-window): Rename from
15705 display-buffer-reuse-or-pop-window. Split off special-display
15706 part into display-buffer-special.
15707 (display-buffer-use-some-window): Don't perform any special
15708 pop-up-frames handling.
15709 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 15710 (display-buffer--maybe-same-window): Rename from
0d3ff375 15711 display-buffer-maybe-same-window.
8319e0bf 15712
919a69aa
CY
15713 * info.el: Don't set same-window-regexps.
15714 (info-setup): New function.
15715 (info-other-window, info): Call it.
15716
15717 * cus-edit.el: Don't set same-window-regexps.
15718 (customize-group): New argument.
15719 (customize-group-other-window): Use it.
15720 (customize-face, customize-face-other-window): Likewise.
15721 (custom-buffer-create-other-window): Use pop-to-buffer directly.
15722
8319e0bf
CY
15723 * net/rlogin.el:
15724 * net/telnet.el:
15725 * progmodes/gud.el: Don't set same-window-regexps.
15726
15727 * cmuscheme.el:
15728 * ielm.el:
15729 * shell.el:
15730 * mail/sendmail.el:
15731 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
15732
25173000
JL
157332011-09-10 Juri Linkov <juri@jurta.org>
15734
15735 * isearch.el (isearch-edit-string): Remove obsolete mention of
15736 `C-w' (`isearch-yank-word-or-char') from docstring.
15737 (isearch-query-replace): Fix typo in docstring (bug#9466).
15738
056e44ef
JL
157392011-09-10 Juri Linkov <juri@jurta.org>
15740
15741 * paren.el (show-paren-function): Don't show escaped parens.
15742 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
15743
c3760c17
EZ
157442011-09-10 Eli Zaretskii <eliz@gnu.org>
15745
15746 * mail/sendmail.el (mml-to-mime, mml-attach-file)
15747 (mm-default-file-encoding): Remove autoload forms, they are
15748 replaced with autoload cookies in mml.el and mm-encode.el.
15749 (mail-add-attachment): New command.
15750 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
15751 (mail-mode): Mention mail-insert-file and mail-add-attachment in
15752 the doc string.
15753 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
15754
fece895e
RT
157552011-09-10 Reuben Thomas <rrt@sc3d.org>
15756
e69df516
SM
15757 * simple.el (count-words-region): Use buffer if there's no region
15758 (bug#9429).
fece895e 15759
5e68ce4a
JL
157602011-09-09 Juri Linkov <juri@jurta.org>
15761
15762 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
15763 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
15764 (wdired-isearch-filter-read-only): New function. (Bug#6362)
15765
0a6b9622
AM
157662011-09-09 Alan Mackenzie <acm@muc.de>
15767
15768 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
15769 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
15770
14a29deb
EZ
157712011-09-09 Eli Zaretskii <eliz@gnu.org>
15772
15773 Fix for Savannah bug#9392.
15774 * simple.el (mail-encode-mml): New defvar.
15775
15776 * mail/rmail.el (mail-encode-mml): Add a defvar.
15777 (rmail-enable-mime-composing): Default to t.
15778 (rmail-forward): Use MIME method of forwarding only if both
15779 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
15780 Set mail-encode-mml non-nil if the MIME method was used.
15781
15782 * mail/sendmail.el (mml-to-mime): Add autoload form.
15783 (mail-encode-mml): Add a defvar.
15784 (mail-mode): Make mail-encode-mml buffer-local and initialize it
15785 to nil.
15786 (mail-send): If mail-encode-mml is non-nil, run the outgoing
15787 message through mml-to-mime, and reset mail-encode-mml to nil.
15788
28c45130
GM
157892011-09-09 Glenn Morris <rgm@gnu.org>
15790
15791 * woman.el (woman-if-body): When processing an .el block,
15792 do not delete the next .el block as well. (Bug#9447)
69f4b618 15793 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 15794
9b1c252e
MR
157952011-09-08 Martin Rudalics <rudalics@gmx.at>
15796
15797 * window.el (window-deletable-p): Make sure window is live before
15798 invoking window-prev-buffers.
15799
567457e3
LL
158002011-09-08 Leo Liu <sdl.web@gmail.com>
15801
15802 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
15803
97f05794
JL
158042011-09-08 Juri Linkov <juri@jurta.org>
15805
15806 * progmodes/compile.el (compilation-environment): Make it
15807 a defcustom (bug#8340).
15808
8b0874b5
MR
158092011-09-08 Martin Rudalics <rudalics@gmx.at>
15810
15811 * window.el (frame-auto-delete): Rename to window-auto-delete.
15812 Make it control auto-deletion of windows and/or frames.
15813 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 15814 for deleting window/frame. (Bug#9419)
8b0874b5
MR
15815 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
15816 Rewrite handling of case when window/frame can be deleted.
15817 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 15818 argument t. (Bug#9456)
8b0874b5 15819
4feb6e73
CY
158202011-09-07 Chong Yidong <cyd@stupidchicken.com>
15821
15822 * help-mode.el (help-mode): Restore autoload.
15823
91ab9c13
JL
158242011-09-07 Juri Linkov <juri@jurta.org>
15825
15826 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
15827 `compilation-environment'. Set buffer-local
15828 `compilation-environment' to `thisenv' later after (funcall mode).
15829 (Bug#8340)
15830
15831 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
15832 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
15833 instead of replacing its value. (Bug#8340)
15834
0527e251
JL
158352011-09-07 Juri Linkov <juri@jurta.org>
15836
15837 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
15838 based on text properties put by `grep-filter' instead of matching
15839 escape sequences.
15840 (grep-mode): Set buffer-local `compilation-error-screen-columns'
15841 to the value of `grep-error-screen-columns' (bug#9438).
15842
249f792c
JL
158432011-09-07 Juri Linkov <juri@jurta.org>
15844
15845 * simple.el (next-error-highlight, next-error-highlight-no-select):
15846 Doc fix (bug#9432).
15847
ff7271b9
OT
158482011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
15849
15850 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
15851 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
15852
183fc730
LL
158532011-09-07 Leo Liu <sdl.web@gmail.com>
15854
15855 * net/rcirc.el (rcirc-mode): Conditionally initialize
15856 rcirc-input-ring.
15857
77694924
SM
158582011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
15859
15860 * emacs-lisp/find-func.el (find-function-C-source): Only set
15861 find-function-C-source-directory after checking that we found a source
15862 file there (bug#9440).
15863
d809b8eb
AM
158642011-09-06 Alan Mackenzie <acm@muc.de>
15865
15866 * isearch.el (isearch-other-meta-char): Wherever a key list is
15867 unread, "unread" the prefix arg, too. This fixes bug #8901.
15868
453de99f
OG
158692011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
15870
15871 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
15872
90439906
JL
158732011-09-05 Juri Linkov <juri@jurta.org>
15874
15875 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
15876
f62bd846
JL
158772011-09-05 Juri Linkov <juri@jurta.org>
15878
15879 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
15880 keeping point where processing of grep matches begins, and
15881 continue to delete remaining escape sequences from the same point.
15882 (grep-filter): Make leading zero optional in "0?1;31m" because
15883 git-grep emits "\033[1;31m" escape sequences unlike expected
15884 "\033[01;31m" as GNU Grep does (bug#9408).
15885 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
15886
045820ec
JL
158872011-09-05 Juri Linkov <juri@jurta.org>
15888
15889 * subr.el (y-or-n-p): Capitalize "yes".
15890
f5e29b9b
MA
158912011-09-04 Michael Albinus <michael.albinus@gmx.de>
15892
15893 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
15894 `tramp-cache-unload-hook' where appropriate.
15895 (tramp-methods): Rename `tramp-remote-sh' to
15896 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
15897 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
15898
15899 * net/tramp-sh.el (top): Don't require 'shell.
15900 (tramp-methods): Add `tramp-remote-shell' and
15901 `tramp-remote-shell-args' entries.
15902 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
15903 (tramp-sh-handle-shell-command): Remove.
15904 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
15905 Use `tramp-remote-shell'.
15906
2784c434
CY
159072011-09-03 Chong Yidong <cyd@stupidchicken.com>
15908
393a301e 15909 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
15910 (sendmail-query-once): Save directly to send-mail-function.
15911 Update message-send-mail-function too.
15912
15913 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
15914
464cdf56
CS
159152011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
15916
15917 * progmodes/python.el (python-mode-map): Use correct function to
15918 start python interpreter from menu-bar (as reported by Geert
15919 Kloosterman).
15920 (inferior-python-mode-map): Fix typo.
393a301e 15921 (python-shell-map): Remove.
464cdf56 15922
d37e5c87
DD
159232011-09-03 Deniz Dogan <deniz@dogan.se>
15924
15925 * net/rcirc.el (rcirc-print): Simplify code for
15926 rcirc-scroll-show-maximum-output. There is no need to walk
15927 through all windows to find the right one.
15928
f3ada0ee
CS
159292011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
15930
15931 * help.el (help-return-method): Doc fix.
15932
1f3c99ca
MR
159332011-09-03 Martin Rudalics <rudalics@gmx.at>
15934
15935 * window.el (window-deletable-p): Don't return a non-nil value
15936 when there's a buffer that was shown in the window before.
15937 (Bug#9419)
393a301e
SM
15938 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
15939 Set window's previous buffers to nil.
1f3c99ca 15940
a3cf097f
EZ
159412011-09-03 Eli Zaretskii <eliz@gnu.org>
15942
15943 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
15944 newline before and after the tag line, so it doesn't interfere
15945 with determining the paragraph direction of bidirectional text.
15946
3d03de90
LL
159472011-09-03 Leo Liu <sdl.web@gmail.com>
15948
15949 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
15950
c3313451
CY
159512011-09-02 Chong Yidong <cyd@stupidchicken.com>
15952
393a301e 15953 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
15954 (pop-to-buffer): Change interactive spec. Pass second argument
15955 directly to display-buffer.
15956 (display-buffer): Fix interactive spec. Use functionp to
15957 distinguish between a function and a list of functions.
15958
15959 * abbrev.el (edit-abbrevs):
15960 * arc-mode.el (archive-extract):
15961 * autoinsert.el (auto-insert):
15962 * bookmark.el (bookmark-bmenu-list):
15963 * files.el (find-file):
15964 * view.el (view-buffer):
15965 * progmodes/compile.el (compilation-goto-locus):
15966 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
15967
89894cd8
CY
159682011-09-02 Chong Yidong <cyd@stupidchicken.com>
15969
15970 * window.el (display-buffer-alist): Doc fix.
15971 (display-buffer): Add docstring. Don't treat
15972 display-buffer-default specially.
15973 (display-buffer-reuse-selected-window)
15974 (display-buffer-same-window, display-buffer-maybe-same-window)
15975 (display-buffer-reuse-window, display-buffer-pop-up-frame)
15976 (display-buffer-pop-up-window)
15977 (display-buffer-reuse-or-pop-window)
15978 (display-buffer-use-some-window): New functions.
15979 (display-buffer-default-action): Use them.
393a301e 15980 (display-buffer-default): Delete.
89894cd8
CY
15981 (pop-to-buffer-1): Fix choice of actions.
15982
ae0bc9fb
SM
159832011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
15984
15985 * minibuffer.el (completion--insert-strings): Don't get confused by
15986 completion entries that end with an LF char.
15987
e9d90883
EZ
159882011-09-01 Eli Zaretskii <eliz@gnu.org>
15989
15990 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
15991
437014c8
CY
159922011-09-01 Chong Yidong <cyd@stupidchicken.com>
15993
15994 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
15995 (display-buffer-same-window, display-buffer-other-window):
15996 New functions.
437014c8
CY
15997 (pop-to-buffer-1): New function. Use the above.
15998 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 15999 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
16000
16001 * view.el (view-buffer-other-window, view-buffer-other-frame):
16002 Just use pop-to-buffer.
16003
a5e063d5
TV
160042011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16005
16006 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
16007
793d32bb
WH
160082011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
16009
16010 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
16011
d65e4c15
RS
160122011-08-31 Richard Stallman <rms@gnu.org>
16013
16014 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
16015 of the separation of rmail-view-buffer from rmail-buffer.
16016 If you say no to "replace original", the decrypt is in the
16017 view buffer. If you say yes, the decrypt goes into the
16018 rmail buffer also.
16019
f818cd2a
MR
160202011-08-31 Martin Rudalics <rudalics@gmx.at>
16021
16022 * window.el (display-buffer-window): Rewrite doc-string.
16023 (display-buffer-record-window): New function.
16024 (display-buffer-macro-specifiers)
16025 (display-buffer-even-window-sizes, display-buffer-set-height)
16026 (display-buffer-set-width, display-buffer-in-window)
16027 (display-buffer-reuse-window, display-buffer-split-specifiers)
16028 (display-buffer-side-specifiers, display-buffer-split-window-1)
16029 (display-buffer-split-window, display-buffer-split-atom-window)
16030 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
16031 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
16032 (display-buffer-other-window-means-other-frame)
16033 (display-buffer-normalize-special)
16034 (display-buffer-normalize-default)
16035 (display-buffer-normalize-argument)
16036 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
16037 (display-buffer-normalize-specifiers, display-buffer-frame)
16038 (display-buffer-same-window, display-buffer-same-frame)
16039 (display-buffer-other-window)
16040 (display-buffer-same-frame-other-window)
16041 (display-buffer-other-frame, pop-to-buffer-same-window)
16042 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
16043 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
16044 (switch-to-buffer-same-frame)
16045 (switch-to-buffer-other-window-same-frame)
16046 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
16047 (display-buffer-alist-set-1, display-buffer-alist-set-2)
16048 (display-buffer-alist-set): Remove.
16049 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
16050 (special-display-regexps, special-display-function):
16051 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
16052 parameter.
16053 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
16054 (special-display-frame-alist, special-display-popup-frame)
16055 (same-window-buffer-names, same-window-regexps, same-window-p)
16056 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
16057 (split-window-preferred-function, split-height-threshold)
16058 (split-width-threshold, window-splittable-p)
16059 (split-window-sensibly, window--try-to-split-window)
16060 (window--frame-usable-p, even-window-heights)
16061 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
16062 (window--display-buffer-2, display-buffer-other-frame):
16063 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
16064 (display-buffer-default, display-buffer-assq-regexp): New functions.
16065 (display-buffer-alist): Rewrite doc-string.
16066 (display-buffer-default-action)
16067 (display-buffer-overriding-action): New variables.
16068 (display-buffer, switch-to-buffer): Rewrite.
16069 (pop-to-buffer): Restore Emacs 23 behavior but use
16070 window-normalize-buffer-to-display.
16071 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
16072 Restore Emacs 23 behavior but use
16073 window-normalize-buffer-to-switch-to.
16074 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
16075 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
16076 Rewrite using Emacs 23 options.
f818cd2a 16077
5bc3b51d
MA
160782011-08-31 Michael Albinus <michael.albinus@gmx.de>
16079
16080 * net/tramp.el (tramp-root-regexp): Remove.
16081 (tramp-completion-file-name-regexp-unified)
16082 (tramp-completion-file-name-regexp-separate)
16083 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 16084 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
16085 (tramp-drop-volume-letter): Simplify definition.
16086 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 16087
b1a4f8e1
SM
160882011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
16089
16090 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
16091 (bug#9356).
16092
5664fa7b
RT
160932011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
16094
b1a4f8e1 16095 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 16096
9a45d6c3
JL
160972011-08-29 Juri Linkov <juri@jurta.org>
16098
16099 * isearch.el (isearch-done): Don't display message "Mark saved"
16100 when arg `edit' is non-nil to prevent its flicker in the echo area.
16101
fb87e0fb
CY
161022011-08-28 Chong Yidong <cyd@stupidchicken.com>
16103
16104 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
16105 obsolete packages for deletion.
16106
09ac1c2a
CS
161072011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
16108
16109 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 16110 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
16111 view-mode from help-mode.
16112 (help-xref-override-view-map): Remove.
16113 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
16114 view-mode is not used anymore.
16115
7a1ff57f
CY
161162011-08-28 Chong Yidong <cyd@stupidchicken.com>
16117
16118 * server.el (server-port): Doc fix.
16119
b9696605
CY
16120 * cus-theme.el (custom-theme-choose-mode): Inherit from
16121 special-mode (Bug#9124).
16122 (custom-theme-choose-mode-map): Add special-mode to parent.
16123
ef8cdf8c
AM
161242011-08-28 Alan Mackenzie <acm@muc.de>
16125
16126 * progmodes/cc-fonts.el
16127 (c-make-font-lock-BO-decl-search-function): New function.
16128 (c-basic-matchers-after - "Fontify the clauses after various
16129 keywords"): Extract the three keyword lists for the 3 erroneous
16130 constructs from the list of four, and use the new function above
16131 in place of an old one.
16132
27de4e20
DD
161332011-08-28 Deniz Dogan <deniz@dogan.se>
16134
16135 * net/rcirc.el (rcirc-insert-prev-input)
16136 (rcirc-insert-next-input): Remove unused argument.
16137
356a3681
SM
161382011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
16139
16140 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
16141
3fc9b218
AM
161422011-08-27 Alan Mackenzie <acm@muc.de>
16143
16144 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
16145 handle function pointer parameters properly.
16146
538a061c
MR
161472011-08-27 Martin Rudalics <rudalics@gmx.at>
16148
16149 * window.el (display-buffer-reuse-window): Fix case where
16150 selected window was reused with non-nil OTHER-WINDOW argument.
16151 (Bug#9381)
16152
35b1c40c
DD
161532011-08-27 Deniz Dogan <deniz@dogan.se>
16154
16155 * net/rcirc.el (rcirc-check-auth-status): Adding support for
16156 oftc's NickServ messages.
16157
2f6a3e79
GM
161582011-08-27 Glenn Morris <rgm@gnu.org>
16159
16160 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
16161
7254299e
CY
161622011-08-26 Chong Yidong <cyd@stupidchicken.com>
16163
16164 * emacs-lisp/package.el (package-install): Call package-initialize
16165 if called interactively.
16166
f8ccf167
LL
161672011-08-26 Leo Liu <sdl.web@gmail.com>
16168
16169 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
16170
3e8cd5ce
JL
161712011-08-25 Juri Linkov <juri@jurta.org>
16172
16173 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
16174 `search-whitespace-regexp' (bug#9364).
16175
93eb7113
JL
161762011-08-25 Juri Linkov <juri@jurta.org>
16177
16178 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
16179 `regexp-search-ring' to their global values to protect from
16180 updating by `read-from-minibuffer' (bug#9185).
16181
f65d1611
JL
161822011-08-25 Juri Linkov <juri@jurta.org>
16183
16184 * textmodes/ispell.el (ispell-command-loop): Add newline
16185 at the end of the "Use option `i'..." line.
16186
f1cf7a31
JL
161872011-08-25 Juri Linkov <juri@jurta.org>
16188
16189 * battery.el (display-battery-mode): If `battery-status-function'
16190 or `battery-mode-line-format' is nil, display the message and set
16191 `display-battery-mode' to nil (bug#9363).
16192
0c95fcf7
EZ
161932011-08-25 Eli Zaretskii <eliz@gnu.org>
16194
16195 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
16196 bidi-string-mark-left-to-right; they are unnecessary now.
16197
a2ebe600
DD
161982011-08-25 Deniz Dogan <deniz@dogan.se>
16199
16200 * net/quickurl.el: Documentation typo fixes.
16201
e4ed06f1
CY
162022011-08-25 Chong Yidong <cyd@stupidchicken.com>
16203
16204 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
16205
e5f1c99e
GM
162062011-08-25 Glenn Morris <rgm@gnu.org>
16207
b2948976
GM
16208 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
16209
e5f1c99e
GM
16210 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
16211 (smtpmail-via-smtp): Handle nil response from smtp.
16212
f22f4808
JL
162132011-08-24 Juri Linkov <juri@jurta.org>
16214
16215 * proced.el (proced-marked): Inherit from `error' instead of
16216 `font-lock-warning-face'.
16217
16218 * ibuffer.el (ibuffer-marked-face): Change default face from
16219 `font-lock-warning-face' to `warning'.
16220 (ibuffer-deletion-face): Change default face from
16221 `font-lock-type-face' to `error'.
16222
16223 * battery.el (battery-update): Use the face `error' instead of
16224 `font-lock-warning-face' (bug#6117).
16225
6a93965e
JL
162262011-08-24 Juri Linkov <juri@jurta.org>
16227
16228 * faces.el (success): Change face color from "Green3" to
16229 "ForestGreen" on light background (bug#9353).
16230
1ed43b09
CY
162312011-08-24 Chong Yidong <cyd@stupidchicken.com>
16232
5664fa7b
RT
16233 * window.el (quit-window): Rename from quit-restore-window.
16234 Use same arglist as old quit-window.
1ed43b09
CY
16235 (frame-auto-delete): Doc fix.
16236
16237 * view.el (view-mode-exit): Use quit-window.
16238
11dcdbb2
JL
162392011-08-24 Juri Linkov <juri@jurta.org>
16240
16241 * isearch.el (isearch-ring-adjust1): Start visiting previous
16242 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
16243 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
16244 for empty search string (when the last search string is reused
16245 automatically) to adjust the isearch ring to the last element and
16246 prepare the correct index for further M-p commands (bug#9185).
16247
de62b4df
KH
162482011-08-24 Kenichi Handa <handa@m17n.org>
16249
16250 * international/ucs-normalize.el: If decomposition property of
16251 CHAR is the default one (i.e. a list of CHAR itself), treat it as
16252 nil.
16253 (nfd, nfkd): Likewise.
16254
963b492b
SM
162552011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
16256
16257 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
16258 from process filters aren't reliably transmitted to the surrounding
16259 accept-process-output.
16260 (mpc-proc-check): New function.
16261 (mpc-proc-sync): Use it (bug#8293)
16262
93b6b5e1
SM
162632011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
16264
16265 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
16266 Add compatibility functions (bug#9313).
16267
bca633fb
EZ
162682011-08-23 Eli Zaretskii <eliz@gnu.org>
16269
b177498a
EZ
16270 * cus-start.el (all): Add entry for bidi-paragraph-direction.
16271
6df6ae42 16272 * international/uni-bidi.el: Regenerate.
bca633fb 16273
0902a04e
KH
162742011-08-23 Kenichi Handa <handa@m17n.org>
16275
16276 * international/charprop.el:
16277 * international/uni-bidi.el:
16278 * international/uni-category.el:
16279 * international/uni-combining.el:
16280 * international/uni-comment.el:
16281 * international/uni-decimal.el:
16282 * international/uni-decomposition.el:
16283 * international/uni-digit.el:
16284 * international/uni-lowercase.el:
16285 * international/uni-mirrored.el:
16286 * international/uni-name.el:
16287 * international/uni-numeric.el:
16288 * international/uni-old-name.el:
16289 * international/uni-titlecase.el:
16290 * international/uni-uppercase.el: Regenerate.
16291
3bbf23bc
MR
162922011-08-23 Martin Rudalics <rudalics@gmx.at>
16293
16294 * help.el (help-window-setup): Fix message displayed when other
16295 window is reused. (Bug#9341)
16296
b3fd59bd
SM
162972011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
16298
1802e444
SM
16299 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
16300 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
16301
b3fd59bd
SM
16302 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
16303 Mark obsolete.
16304 * shell.el (shell-parse-pcomplete-arguments): New function.
16305 (shell-completion-vars): Use it instead (bug#9160).
16306
4eb61348
SM
163072011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
16308
867cab74
SM
16309 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
16310 strings and comments (bug#9333).
16311
4eb61348
SM
16312 * emacs-lisp/debug.el (debug-arglist): New function.
16313 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
16314 (debug-on-entry-1): Handle interpreted closures (bug#9120).
16315
262a1439
JL
163162011-08-22 Juri Linkov <juri@jurta.org>
16317
56ee679c
JL
16318 * progmodes/compile.el (compilation-mode-font-lock-keywords):
16319 Revert regexp that highlights output switches to its old
16320 pre-2010-10-28 value and remove one `?' from it (bug#9319).
16321
262a1439
JL
16322 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
16323 to check for empty output (bug#9226).
16324
f13f86fb
CY
163252011-08-22 Chong Yidong <cyd@stupidchicken.com>
16326
16327 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
16328 symbol-constituent as the default, as that stops font-lock from
16329 working properly (Bug#8843).
16330
c65c9622
LMI
163312011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
16332
16333 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
16334 `coding-system-for-*' around the process open call to avoid
16335 auth-source side effects.
e7f2c178 16336 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
16337 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
16338 probe hangs.
c65c9622 16339
23a8a5ab
CY
163402011-08-21 Chong Yidong <cyd@stupidchicken.com>
16341
ff98b2dd
CY
16342 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
16343
23a8a5ab
CY
16344 * emacs-lisp/find-func.el (find-function-noselect): New arg
16345 lisp-only.
16346
16347 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
16348 signal an error for built-in functions (Bug#6664).
16349
f5e3c598
LMI
163502011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
16351
16352 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
16353 (smtpmail-try-auth-methods): Use it.
16354
a3f2468a
CY
163552011-08-21 Chong Yidong <cyd@stupidchicken.com>
16356
2c34e8da
CY
16357 * font-lock.el (font-lock-fontify-region)
16358 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
16359 (font-lock-default-unfontify-buffer)
16360 (font-lock-default-fontify-region)
16361 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
16362
b3fd59bd
SM
16363 * progmodes/compile.el (compilation-error-properties):
16364 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
16365 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
16366 `ant' regexp.
ee31aabc 16367
a3f2468a
CY
16368 * net/browse-url.el (browse-url-firefox): Don't call
16369 browse-url-firefox-sentinel unless using -remote (Bug#9328).
16370
8e999f70
GM
163712011-08-20 Glenn Morris <rgm@gnu.org>
16372
c21a496a
GM
16373 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
16374
59ee0542
GM
16375 * tutorial.el (tutorial--default-keys): Update some default bindings.
16376
8e999f70
GM
16377 * files.el (hack-local-variables): Fully ignore case for "mode:".
16378
e3715033
AM
163792011-08-20 Alan Mackenzie <acm@muc.de>
16380
16381 Resolve invalid use of a regexp in regexp-opt.
16382
4d61f28d
JB
16383 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
16384 detection for a java annotation.
e3715033 16385
4d61f28d 16386 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
16387 detection for a java annotation.
16388
4d61f28d
JB
16389 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
16390 handling for java.
e3715033
AM
16391 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
16392
04ed2e9c
CY
163932011-08-20 Chong Yidong <cyd@stupidchicken.com>
16394
16395 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
16396 (Bug#9274).
16397
826cee64
AM
163982011-08-20 Alan Mackenzie <acm@muc.de>
16399
58179cce 16400 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
16401 such a construct. Mainly for when jit-lock etc. starts a chunk
16402 here.
16403
58179cce 16404 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 16405 variable.
58179cce 16406 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
16407 c-make-font-lock-search-function.
16408 (c-make-font-lock-search-function): Use the above function.
16409 (c-make-font-lock-context-search-function): New function.
16410 (c-cpp-matchers): Enhance the preprocessor expression case with
16411 the above function
16412 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
16413 which takes an expression.
16414
16415 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
16416
13009bd8
MR
164172011-08-20 Martin Rudalics <rudalics@gmx.at>
16418
16419 * window.el (display-buffer-reuse-window)
16420 (display-buffer-pop-up-window): Don't reuse or split a side
16421 window.
16422
9234ff7f
GM
164232011-08-19 Glenn Morris <rgm@gnu.org>
16424
16425 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 16426 Downcase "Mode:". (Bug#9331)
9234ff7f 16427
f635daa1
CY
164282011-08-18 Chong Yidong <cyd@stupidchicken.com>
16429
16430 * international/characters.el: Add L and R categories.
16431
16432 * subr.el (bidi-string-mark-left-to-right): Rename from
16433 string-mark-left-to-right. Use category search.
16434
16435 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
16436
bc987f8b
JL
164372011-08-18 Juri Linkov <juri@jurta.org>
16438
16439 * faces.el (error, warning, success): New faces with definitions
16440 copied from old default values of `font-lock-warning-face',
16441 `compilation-warning', `compilation-info' (bug#6117).
16442
16443 * font-lock.el (font-lock-warning-face): Inherit from `error'.
16444
16445 * progmodes/compile.el (compilation-error): Inherit from `error'.
16446 (compilation-warning): Inherit from `warning'.
16447 (compilation-info): Inherit from `success'.
16448
16449 * dired.el (dired-marked): Inherit from `warning'.
16450 (dired-flagged): Inherit from `error'.
16451
57173b96
LMI
164522011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
16453
3e79eb87
LMI
16454 * mail/smtpmail.el (auth-source): Require to avoid problems with
16455 binding variables (bug#9298). Also clean up some unused
16456 autoloads.
16457
b3fd59bd
SM
16458 * net/network-stream.el (network-stream-open-starttls):
16459 Support using starttls.el without using gnutls-cli.
57173b96 16460
02b404de
JL
164612011-08-17 Juri Linkov <juri@jurta.org>
16462
16463 * progmodes/grep.el (rgrep): Handle the case when
16464 `grep-find-command' is a cons cell (bug#9278).
16465
8c9177f2
MR
164662011-08-17 Martin Rudalics <rudalics@gmx.at>
16467
16468 * window.el (display-buffer-pop-up-frame): Run frame creation
16469 function with BUFFER current (as special-display-popup-frame
16470 does). Reported by Drew Adams.
16471
3644a0ab
DU
164722011-08-17 Daiki Ueno <ueno@unixuser.org>
16473
16474 * epa-mail.el: Simplify GnuPG group expansion using
16475 epg-expand-group.
16476 (epa-mail-group-alist, epa-mail-group-modtime)
16477 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
16478 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
16479 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
16480 Remove.
16481
5e617bc2 164822011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
16483
16484 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
16485
9c4aeabf
AM
164862011-08-16 Alan Mackenzie <acm@muc.de>
16487
16488 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
16489 Correct, to avoid the inside of macros.
16490
3a99bf64
RS
164912011-08-16 Richard Stallman <rms@gnu.org>
16492
04963aa8
RS
16493 * epa-mail.el: Handle GnuPG group definitions.
16494 (epa-mail-group-alist, epa-mail-group-modtime)
16495 (epa-mail-gnupg-conf-file): New variables.
16496 (epa-mail-parse-groups, epa-mail-sync-groups)
16497 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
16498 (epa-mail-expand-recipients): New functions.
16499 (epa-mail-encrypt): Call epa-mail-expand-recipients.
16500
177549d0
RS
16501 * mail/rmail.el (rmail-epa-decrypt): New command.
16502
fe38beef
RS
16503 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
16504 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
16505 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
16506 (epa-decrypt-armor-in-region): Make error message clearer.
16507
934eacb9
SM
165082011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
16509
16510 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
16511 and "a2b" to "ab" for `prefix'.
16512
d024fb4e
CY
165132011-08-14 Chong Yidong <cyd@stupidchicken.com>
16514
16515 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
16516 filter groups.
de148fee
CY
16517 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
16518 Fourquet (Bug#8804).
d024fb4e 16519
62f1ca49
JB
165202011-08-12 Juanma Barranquero <lekktu@gmail.com>
16521
16522 * startup.el (argi): Declare as global variable (bug#9275).
16523
9ccaaa4b
CY
165242011-08-12 Chong Yidong <cyd@stupidchicken.com>
16525
16526 * subr.el (string-mark-left-to-right): Search the entire string
16527 for RTL script, not just the terminating character. Doc fix.
16528
a3dae87a
SM
165292011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
16530
6cd18349
SM
16531 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
16532 New function.
16533 (js--regexp-literal, js-syntax-propertize-function): Remove.
16534 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
16535 (js-mode-map): Don't rebind electric keys.
16536 (js-insert-and-indent): Remove.
16537 (js-mode): Setup electric-layout and electric-indent instead.
16538
a3dae87a
SM
16539 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
16540
9d5cb631
DU
165412011-08-12 Daiki Ueno <ueno@unixuser.org>
16542
16543 * epa.el (epa-progress-callback-function): Fix the logic of
16544 displaying progress.
16545 * epa-file.el (epa-file-insert-file-contents): Make progress
16546 display more user-friendly.
16547 (epa-file-write-region): Ditto.
16548
3e26a4a2
CY
165492011-08-10 Chong Yidong <cyd@stupidchicken.com>
16550
16551 * subr.el (string-mark-left-to-right): New function.
16552
16553 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
16554 Use string-mark-left-to-right.
16555 (list-buffers-noselect): Caller changed.
16556
a3dae87a
SM
16557 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
16558 Use string-mark-left-to-right.
3e26a4a2
CY
16559 (tabulated-list-print): Recenter after moving point.
16560
ac8cf6e6
JL
165612011-08-10 Juri Linkov <juri@jurta.org>
16562
16563 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
16564 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
16565 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
16566
8d96c9a4
CY
165672011-08-09 Chong Yidong <cyd@stupidchicken.com>
16568
16569 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
16570 (Bug#7554).
16571
7be1c708 165722011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
16573
16574 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
16575 character. (Bug#6594)
16576
37e11a63
CY
165772011-08-08 Chong Yidong <cyd@stupidchicken.com>
16578
839dde57
CY
16579 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
16580 (image-dired--with-db-file): New macro.
16581 (image-dired-write-tags, image-dired-remove-tag)
16582 (image-dired-create-gallery-lists, image-dired-write-comments)
16583 (image-dired-get-comment, image-dired-mark-tagged-files)
16584 (image-dired-list-tags, image-dired-gallery-generate): Use it.
16585 (image-dired-gallery-generate): Use insert-file-contents.
16586
37e11a63
CY
16587 * time.el (display-time-world-list, display-time-world-display):
16588 * time-stamp.el (time-stamp-string):
16589 * vc/add-log.el (add-change-log-entry): Use setenv instead of
16590 set-time-zone-rule (Bug#7337).
16591
0b4946c4
DU
165922011-08-08 Daiki Ueno <ueno@unixuser.org>
16593
16594 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
16595 (epg-error-to-string, epg-errors-to-string): New function.
16596 (epg-wait-for-completion): Reverse errors list.
16597 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
16598 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
16599 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
16600 (epg-sign-keys, epg-generate-key-from-file)
16601 (epg-generate-key-from-string): Format errors by using
16602 epg-errors-to-string (bug#9255).
16603 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
16604
75bfc667
JL
166052011-08-07 Juri Linkov <juri@jurta.org>
16606
16607 * faces.el (list-faces-display): Remove extra angle bracket
16608 from `help-mode-map'.
16609
16610 * info.el (Info-history-toc-nodes): Doc fix.
16611
16612 * longlines.el (longlines-mode): Doc fix.
16613
673e08bb
SM
166142011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
16615
4640dd88
SM
16616 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
16617 of statements and in a few more cases (bug#9183).
16618
673e08bb
SM
16619 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
16620 New functions.
16621 (cl-transform-lambda): Use them (bug#9239).
16622
89b3f019
MR
166232011-08-05 Martin Rudalics <rudalics@gmx.at>
16624
16625 * window.el (display-buffer-same-window)
16626 (display-buffer-same-frame, display-buffer-other-window)
16627 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
16628 (pop-to-buffer-other-window)
16629 (pop-to-buffer-same-frame-other-window)
16630 (pop-to-buffer-other-frame): Make them defuns.
16631 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
16632
640c8776
SM
166332011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
16634
16635 * subr.el (make-composed-keymap): Move from C. Change calling
16636 convention, and improve docstring to bring attention to a subtle point.
16637 * minibuffer.el (completing-read-default): Adjust accordingly.
16638
63648a95
MA
166392011-08-03 Michael Albinus <michael.albinus@gmx.de>
16640
16641 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
16642 (tramp-open-shell): Use `tramp-shell-quote-argument'.
16643
16644 * net/trampver.el: Update release number.
16645
b796c9b7
SM
166462011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
16647
16648 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
16649 "in" (bug#9190).
16650
2239d7d5
LMI
166512011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16652
e07dd7c3
LMI
16653 * mail/sendmail.el (sendmail-query-once): Restore the current
16654 buffer after querying (bug#9074).
16655
0e6a2bd7
LMI
16656 * dired.el (dired-flagged): Use different faces for marked and
16657 flagged files (bug#6117).
16658
ce887515
LMI
16659 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
16660 (bug#4433).
16661
92f2affc
LMI
16662 * ido.el (ido-mode): Switch off the message if called
16663 non-interactively.
16664
57d5aff0
LMI
16665 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
16666 before 587, since it appears that that's more likely to work for
16667 more people.
16668
98cd6c18 16669 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 16670 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
16671 exist.
16672
b96dec83
LMI
16673 * info.el: Remove the `Info-beginning-of-buffer' function
16674 (bug#8325).
16675
b796c9b7
SM
16676 * net/network-stream.el (network-stream-open-starttls):
16677 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 16678
d90e2ea0
MR
166792011-08-01 Martin Rudalics <rudalics@gmx.at>
16680
16681 * window.el (display-buffer-in-window): Don't set dedicated status
16682 of window here (Bug#9215).
16683 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
16684 (display-buffer-pop-up-side-window)
b796c9b7 16685 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 16686
cca09170
SM
166872011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
16688
16689 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
16690 before binding generated-autoload-file.
16691
027b979c
DD
166922011-08-01 Deniz Dogan <deniz@dogan.se>
16693
16694 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
16695
3c7ee4f3
MA
166962011-07-30 Michael Albinus <michael.albinus@gmx.de>
16697
16698 Sync with Tramp 2.2.2.
16699
16700 * net/trampver.el: Update release number.
16701
2cc8e51a
JL
167022011-07-30 Juri Linkov <juri@jurta.org>
16703
16704 * dired-aux.el (dired-touch-initial): Remove function.
16705 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
16706 current time, and `default' to the last modification time of the
16707 current marked file (bug#6887).
16708
a514d856
JM
167092011-07-28 Jose E. Marchesi <jemarch@gnu.org>
16710
16711 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 16712 numeric argument to read-number (bug#9163).
a514d856 16713
8a7eddd7
MA
167142011-07-27 Michael Albinus <michael.albinus@gmx.de>
16715
16716 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
16717 connection process, it could be nil.
16718
1ddd96f5
LL
167192011-07-27 Leo Liu <sdl.web@gmail.com>
16720
16721 Simplify url handling in rcirc-mode.
16722
16723 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
16724 (rcirc-browse-url-at-mouse): Remove.
16725 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
16726
b248a85d
AM
167272011-07-26 Alan Mackenzie <acm@muc.de>
16728
16729 Fontify bitfield declarations properly.
16730
16731 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
16732 (c-symbol-chars): Now exported as a lang variable.
16733 (c-not-primitive-type-keywords): New lang variable.
16734
16735 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
16736 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 16737 parsed as a bitfield declaration.
b248a85d 16738
b796c9b7
SM
16739 * progmodes/cc-engine.el (c-beginning-of-statement-1):
16740 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
16741 (c-punctuation-in): New function.
16742 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
16743 declarations properly.
16744
68575ab0
UJ
167452011-07-26 Ulf Jasper <ulf.jasper@web.de>
16746
16747 * calendar/icalendar.el (icalendar--all-events): Take care of
16748 multiple vcalendars in a single file.
b796c9b7 16749 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 16750
0f0a88b9
DD
167512011-07-25 Deniz Dogan <deniz@dogan.se>
16752
16753 * image.el (insert-image): Clarifying docstring.
16754
0b3f36df
MA
167552011-07-24 Michael Albinus <michael.albinus@gmx.de>
16756
16757 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
16758 `tramp-send-command-and-check' if there is no error.
16759 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
16760
a9901f61
AM
167612011-07-22 Alan Mackenzie <acm@muc.de>
16762
16763 Prevent cc-langs.elc being loaded at run time.
16764
16765 * progmodes/cc-mode.el: Remove two autoload forms which loaded
16766 cc-langs.
16767
4d61f28d 16768 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
16769 "(require 'cc-langs)". Quote a form so it will evaluate at
16770 (cc-mode's) compilation time.
16771
11d074b2
MA
167722011-07-22 Michael Albinus <michael.albinus@gmx.de>
16773
16774 * net/tramp.el (tramp-file-name-handler): Avoid recursive
16775 loading. (Bug#9114)
16776
938b94c8
MR
167772011-07-21 Martin Rudalics <rudalics@gmx.at>
16778
16779 * window.el (display-buffer-pop-up-window)
16780 (display-buffer-pop-up-side-window)
16781 (display-buffer-in-side-window): Call display-buffer-set-height
16782 and display-buffer-set-width after setting the new window's
b796c9b7 16783 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 16784
bfa4f190
SS
167852011-07-20 Sam Steingold <sds@gnu.org>
16786
16787 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
16788 (etags-tags-included-tables): Call `convert-standard-filename' on
16789 the file names contained in TAGS so that windows Emacs can handle
16790 TAGS files created by cygwin ctags.
16791
8ca42262
LMI
167922011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
16793
16794 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
16795 which apparently didn't work.
16796
5db2afd2 167972011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 16798
5db2afd2
RW
16799 * proced.el (proced-send-signal): For *Marked Processes* buffer
16800 put point at beginning of buffer.
16801
92e15d10
SB
168022011-07-19 Stephen Berman <stephen.berman@gmx.net>
16803
16804 * proced.el (proced-format): Make header lines align with the text
16805 (bug#1779).
16806
1bfd59e5
LMI
168072011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
16808
16809 * view.el (view-buffer): Allow running in `special' modes if we're
16810 visiting a file (bug#8615).
16811
f5aae37c
MR
168122011-07-19 Martin Rudalics <rudalics@gmx.at>
16813
16814 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
16815 (display-buffer-alist-set-1, display-buffer-alist-set-2):
16816 New functions.
f5aae37c
MR
16817 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
16818 more accurately.
16819
bf2c1571
AM
168202011-07-18 Alan Mackenzie <acm@muc.de>
16821
16822 Fontify declarators properly when, e.g., a jit-lock chunk begins
16823 inside a declaration.
16824
16825 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
16826
b796c9b7
SM
16827 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
16828 New function.
bf2c1571
AM
16829 (c-complex-decl-matchers): Insert reference to
16830 c-font-lock-enclosing-decls.
16831
16832 * progmodes/cc-engine.el (c-backward-single-comment):
16833 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
16834 to nil around calls to (forward-comment -1).
16835
4e190b80
LMI
168362011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
16837
12dc863d
LMI
16838 * image.el (put-image): Doc typo fix.
16839
a762e966
LMI
16840 * progmodes/etags.el (tags-search): Doc typo fix.
16841
4e190b80
LMI
16842 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
16843 password if we get errors 550 to 554.
16844
f019fb21
LMI
168452011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
16846
b796c9b7 16847 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 16848
81746738
LMI
16849 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
16850 indentation character (bug#6380).
16851
3ee3a1b5
LMI
16852 * files.el (buffer-offer-save): Made permanently local (bug#6241).
16853
c82f64de
LMI
16854 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
16855 to clarify what the problem is (bug#4291).
16856
f019fb21
LMI
16857 * simple.el (current-kill): Clarify what
16858 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
16859 (auto-fill-mode): Document `auto-fill-function' in relation to
16860 `auto-fill-mode' (bug#2470).
f019fb21 16861
0794775d
LM
168622011-07-16 Lawrence Mitchell <wence@gmx.li>
16863
16864 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
16865 method if slot is read-only (bug#9035).
16866
be39b8cc
MR
168672011-07-16 Martin Rudalics <rudalics@gmx.at>
16868
b796c9b7 16869 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 16870 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
16871 selected before, see discussion of (Bug#8615), (Bug#6954).
16872 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 16873
6ccf7859
GM
168742011-07-15 Glenn Morris <rgm@gnu.org>
16875
16876 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 16877 Respect help-form.
6ccf7859 16878
87e86684
LM
168792011-07-09 Lawrence Mitchell <wence@gmx.li>
16880
16881 * net/gnutls.el (gnutls-min-prime-bits): New variable.
16882 (gnutls-negotiate): Use it.
16883
d6066239
LMI
168842011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
16885
b796c9b7
SM
16886 * net/gnutls.el (gnutls-negotiate):
16887 Upcase `gnutls-algorithm-priority'.
d6066239 16888
bd23ebc0
GM
168892011-07-15 Glenn Morris <rgm@gnu.org>
16890
c65bca65
GM
16891 * jka-compr.el (jka-compr-verbose): Move from here...
16892 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
16893 Add missing :version tag.
16894 * info.el: No need to require jka-compr when compiling.
bd23ebc0 16895
478615cc
LMI
168962011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
16897
7b41decb
LMI
16898 * net/gnutls.el (gnutls-algorithm-priority): New variable.
16899 (gnutls-negotiate): Use it.
16900
dbc44fcd
LMI
16901 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
16902
06789f97
LMI
16903 * info.el (Info-beginning-of-buffer): New command.
16904 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
16905 announcing `b' as the key (bug#8325).
ab896c37 16906 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 16907
c39da690
LMI
16908 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
16909
3aa5f34b
LMI
16910 * international/mule-cmds.el
16911 (describe-specified-language-support): Make the error message
16912 clearer (bug#8905).
16913
4bf0979f
LMI
16914 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
16915
478615cc
LMI
16916 * isearch.el (isearch-barrier): Add a doc string, since it's
16917 mentioned in a function doc string (bug#8678).
16918
75c68aa1
MR
169192011-07-15 Martin Rudalics <rudalics@gmx.at>
16920
16921 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
16922 buffer argument (Bug#9083) and self-identifying label argument.
16923
a7c33da2
GM
169242011-07-15 Glenn Morris <rgm@gnu.org>
16925
16926 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
16927
2f5c6024
LMI
169282011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
16929
16930 * man.el (Man-fontify-manpage): Fix message when formatting the
16931 man page (bug#7929).
16932
0bb23927 169332011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
16934
16935 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
16936 argument LRM; if non-nil, append an invisible LRM character to the
16937 buffer name.
16938 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
16939 last argument non-nil, when formatting buffer names.
0bb23927
EZ
16940 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
16941 paragraph direction.
cce4b0a7 16942
621ef9ab
LMI
169432011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
16944
d1583c48
LMI
16945 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
16946 the man page name (bug#7929).
16947
6a57fb5f
LMI
16948 * image.el (put-image): Mention the `put-image' overlay property
16949 (bug#7834).
16950
d7956b14
LMI
16951 * scroll-bar.el (set-scroll-bar-mode): Mention that
16952 `scroll-bar-mode' lists the values (bug#7772).
16953
5b2d4a66
LMI
16954 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
16955 command (bug#7729).
16956
7509a874
LMI
16957 * rect.el (apply-on-rectangle): Return the point after the last
16958 operation.
16959 (string-rectangle): Go to the point after the last operation
16960 (bug#7522).
16961
4fe74b19
LMI
16962 * printing.el (pr-toggle-region): Clarify the documentation
16963 slightly (bug#7493).
16964
b796c9b7
SM
16965 * time.el (display-time-update):
16966 Allow `display-time-mail-function' to return nil (bug#7158).
16967 Fix suggested by Detlev Zundel.
ab283561 16968
fc233c9d
LMI
16969 * vc/diff.el (diff): Clarify the order the file names are read
16970 (bug#7111).
16971
43f5740b
LMI
16972 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
16973 the doc string (bug#7015).
16974
f2182a76
LMI
16975 * font-lock.el (font-lock-maximum-decoration): Mention what
16976 numeric levels mean (bug#6935).
16977
621ef9ab
LMI
16978 * startup.el (initial-buffer-choice): Don't mention the `none'
16979 selection, which is against policy.
16980
adc47434
MR
169812011-07-14 Martin Rudalics <rudalics@gmx.at>
16982
b796c9b7
SM
16983 * window.el (display-buffer-normalize-special):
16984 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 16985
7e5bfb8f
EZ
169862011-07-14 Eli Zaretskii <eliz@gnu.org>
16987
16988 * subr.el (version<, version<=, version=): Mention "-CVS" and
16989 "-12345" alpha version numbers.
16990
27fa387a
CY
169912011-07-14 Chong Yidong <cyd@stupidchicken.com>
16992
16993 * bindings.el: Add advertised binding for set-mark-command
16994 (Bug#5772).
16995
8bdfa064
CY
169962011-07-14 Chong Yidong <cyd@stupidchicken.com>
16997
16998 * bindings.el (mode-line-other-buffer):
16999 * bookmark.el (bookmark-bmenu-2-window):
17000 * bs.el (bs-cycle-next, bs-cycle-previous):
17001 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
17002 switch-to-buffer.
17003
17004 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 17005 Delete.
8bdfa064 17006
5eba16a3
JB
170072011-07-14 Juanma Barranquero <lekktu@gmail.com>
17008
17009 * follow.el (follow-debug-message, follow-redisplay):
17010 * jka-cmpr-hook.el (with-auto-compression-mode):
17011 Fix typos in docstrings.
17012
15853710
LMI
170132011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
17014
a28e4607
LMI
17015 * subr.el (with-silent-modifications): Clarify somewhat what the
17016 macro inhibits (bug#6525).
17017
15853710
LMI
17018 * simple.el (eval-expression): Note what it does if called
17019 interactively (bug#6495).
17020
bee0fcef
CY
170212011-07-13 Chong Yidong <cyd@stupidchicken.com>
17022
b796c9b7
SM
17023 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
17024 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
17025
17026 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
17027 Remove switch-to-buffer.
17028
58274504
LMI
170292011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
17030
bd2fcc8d
LMI
17031 * files.el (make-directory): Clarify that an error will be raised
17032 if there's an error (bug#6397).
17033
0f04b32c
LMI
17034 * startup.el (initial-buffer-choice): Add `none' as a choice
17035 (bug#6234).
17036
465c5fc8
LMI
17037 * subr.el (add-hook): Clarify section about buffer-local hooks
17038 (bug#6218).
17039
58274504
LMI
17040 * dired.el (dired-flagged): Clarify doc string (bug#6117).
17041
bead9a43
JB
170422011-07-13 Juanma Barranquero <lekktu@gmail.com>
17043
17044 * tabify.el (untabify): Preserve the current column so that point
17045 doesn't move (bug#6032).
17046
3af98a7b
LMI
170472011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
17048
b796c9b7
SM
17049 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
17050 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 17051
6240145a
GM
170522011-07-13 Glenn Morris <rgm@gnu.org>
17053
17054 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
17055 (dired-insert-directory): Give a message the first time
17056 if ls is found not to support --dired.
17057
1d8c2ccc
LMI
170582011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
17059
17060 * simple.el (toggle-truncate-lines): Clarify what is toggled
17061 (bug#5580). Text by Drew Adams.
17062
5fc4038e
CY
170632011-07-13 Chong Yidong <cyd@stupidchicken.com>
17064
17065 * simple.el (blink-matching-open): Make the error message from the
17066 last change less verbose.
17067
bf6012e5
DN
170682011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
17069
17070 * font-lock.el (font-lock-comment-face): Use the high contrast
17071 "yellow" color for font-lock-comment-face on low color terminals
17072 using a dark background color (bug#4221).
17073
343c3b5a
LMI
170742011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
17075
7e9505c5
LMI
17076 * dired.el (dired-insert-set-properties): Make the doc string
17077 reflect what it does now (bug#5325).
17078
c26fdcf5
LMI
17079 * simple.el (blink-matching-open): Say that we were unable to find
17080 the match within the limit, if we're limited (bug#5122).
17081
bb388cc5
LMI
17082 * international/mule-cmds.el (prefer-coding-system): Add an
17083 example (bug#4869).
17084
343c3b5a
LMI
17085 * progmodes/etags.el (tags-search): Document `file-list-form'
17086 (bug#4731).
17087
2a517d45
LM
170882011-07-13 Lawrence Mitchell <wence@gmx.li>
17089
17090 * net/browse-url.el (browse-url-default-browser)
17091 (browse-url-browser-function): Make the default browser choice a
17092 bit more logical (bug#4300). Also clean up the doc string.
17093
b6c78ef2
JB
170942011-07-13 Juanma Barranquero <lekktu@gmail.com>
17095
17096 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
17097 binary endings (bug#4440).
17098
1c4dd947
LMI
170992011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
17100
a2014063
LMI
17101 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
17102 which can be pretty annoying (bug#8971).
17103
9c9c2d88
LMI
17104 * jka-compr.el (jka-compr-verbose): New variable, and use
17105 throughout (bug#8971).
17106
1c4dd947
LMI
17107 * info.el (Info-find-file): Fall back on the installation
17108 directory if we can't find the info node anywhere else.
17109
a1c9f41b
SO
171102011-07-13 Sergei Organov <osv@javad.com> (tiny change)
17111
17112 * vc/vc.el (vc-revert-file):
17113 Don't set file time-stamp in the past. (Bug#5181)
17114
536f3d36
LMI
171152011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
17116
7152b011
LMI
17117 * files.el (after-find-file): Give a better error message when
17118 trying to find a symlink that points to a file that doesn't exist
17119 (bug#4398).
17120
536f3d36
LMI
17121 * progmodes/cc-vars.el: Remove (probably) misleading comment
17122 (bug#4396).
17123
460c0fba
JB
171242011-07-12 Johan Bockgård <bojohan@gnu.org>
17125
17126 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
17127
7a6bda45
CY
171282011-07-12 Chong Yidong <cyd@stupidchicken.com>
17129
17130 * mouse-sel.el: Hack restoring functionality, while keeping
17131 compatibility with 2010-07-03 changes to mouse selection.
17132 (mouse-sel-primary-overlay): New var.
17133 (mouse-sel-selection-alist): Use it.
17134 (mouse-sel-mode): Doc fix; remove points that are default features
17135 of mouse.el.
17136
c79598ef
JB
171372011-07-12 Johan Bockgård <bojohan@gnu.org>
17138
17139 * progmodes/compile.el (compilation-error-regexp-alist-alist):
17140 Fix previous fix (bug#2490).
17141
ff8be6ef
RW
171422011-07-12 Roland Winkler <winkler@gnu.org>
17143
b796c9b7
SM
17144 * textmodes/bibtex.el (bibtex-initialize):
17145 Use pop-to-buffer-same-window.
ff8be6ef
RW
17146 (bibtex-search-entries): Fix interactive call.
17147
296ba3ee
LMI
171482011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
17149
f5242a02 17150 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
17151 Fontise bytecomp Error lines more correctly (bug#2490).
17152 Fix suggested by Johan Bockgård.
f5242a02 17153
296ba3ee
LMI
17154 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
17155
17156 * dired-x.el (dired-guess-default): Use `delete-dups'.
17157
f69fd0d2
CY
171582011-07-12 Chong Yidong <cyd@stupidchicken.com>
17159
17160 * dired.el (dired-mark-prompt):
17161 * dired-aux.el (dired-read-shell-command): Doc fix.
17162
eab5dc07
LMI
171632011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
17164
b796c9b7
SM
17165 * mail/sendmail.el (sendmail-query-once):
17166 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
17167 emacs -Q.
17168
17169 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
17170
eab5dc07
LMI
17171 * cus-edit.el (custom-file): Take an optional no-error variable.
17172 (customize-save-variable): Set the variable, and give a warning if
17173 running under "emacs -q".
17174
a1e65d42
JB
171752011-07-11 Juanma Barranquero <lekktu@gmail.com>
17176
17177 * loadhist.el (unload-feature-special-hooks):
17178 Add `auto-coding-functions', `fill-nobreak-predicate' and
17179 `find-directory-functions' (bug#5327).
17180
1d52da10
LMI
171812011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
17182
be958f1d
LMI
17183 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
17184
5bedb26c
LMI
17185 * cus-edit.el (custom-guess-name-alist): -alist variables should
17186 use the `alist' type (bug#3120). Suggested by Drew Adams.
17187
1d52da10
LMI
17188 * printing.el: Add documentation to all the `pr-toggle-' commands.
17189
cd394be1 171902011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
17191
17192 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
17193 backends where it makes sense (bug#2623).
17194
dcc88d8a
LMI
171952011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
17196
c3de9feb
LMI
17197 * dired-x.el (dired-guess-default): Remove duplicate shell command
17198 entries (bug#2028).
8a93078b 17199 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 17200 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 17201
dcc88d8a
LMI
17202 * subr.el (remove-duplicates): New conveniency function.
17203
505e3645
LMI
172042011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
17205
17206 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
17207 (bug#1526).
17208
172092011-07-10 Martin Rudalics <rudalics@gmx.at>
17210
17211 * window.el (display-buffer-normalize-default): Don't invert
17212 meaning of even-window-heights. Reported by Eli Zaretskii
17213 <eliz@gnu.org>.
17214
455e4fa1
BR
172152011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
17216
17217 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
17218
8e0bc3e9
CY
172192011-07-10 Chong Yidong <cyd@stupidchicken.com>
17220
17221 * window.el (display-buffer): Fix arguments to
17222 display-buffer-reuse-window in last change.
17223
fa7c3228
CY
17224 * faces.el (link): Use a less saturated blue on light backgrounds.
17225
17226 * startup.el (fancy-startup-text, fancy-about-text)
17227 (fancy-startup-tail): Use font-lock faces, for background safety.
17228
c0a7f300
BN
172292011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
17230
b796c9b7
SM
17231 * emulation/viper-cmd.el (viper-change-state-to-vi):
17232 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 17233
4dc2a129
MR
172342011-07-09 Martin Rudalics <rudalics@gmx.at>
17235
17236 * window.el (display-buffer-default-specifiers): Remove.
17237 (display-buffer-macro-specifiers): Remove default specifiers.
17238 (display-buffer-alist): Default to nil.
b796c9b7 17239 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
17240 (display-buffer-pop-up-window): Allow splitting internal
17241 windows. Check whether a live window was created.
17242 (display-buffer-other-window-means-other-frame)
17243 (display-buffer-normalize-arguments): Rename to
17244 display-buffer-normalize-argument and rewrite. Set the
17245 other-window specifier.
17246 (display-buffer-normalize-special): New function.
17247 (display-buffer-normalize-options): Rename to
17248 display-buffer-normalize-default and rewrite.
17249 (display-buffer-normalize-options-inhibit): Remove.
17250 (display-buffer-normalize-specifiers): Rewrite.
17251 (display-buffer): Process other-window specifier and call
17252 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
17253 more faithfully.
b796c9b7 17254 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 17255 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
17256 (display-buffer-in-window, display-buffer-alist-set):
17257 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
17258 <tassilo@member.fsf.org>.
17259
2d43b8c9
LL
172602011-07-09 Leo Liu <sdl.web@gmail.com>
17261
17262 * register.el (insert-register): Restore accidental change on
17263 2011-06-26. (Bug#9028)
17264
7f9b7c53
GM
172652011-07-09 Glenn Morris <rgm@gnu.org>
17266
17267 * subr.el (remq): Handle the empty list. (Bug#9024)
17268
f042cfd8
AS
172692011-07-08 Andreas Schwab <schwab@linux-m68k.org>
17270
17271 * mail/sendmail.el (send-mail-function): No longer delay custom
17272 initialization.
17273 * custom.el (custom-initialize-delay): Doc fix.
17274
856b2f11
SM
172752011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
17276
17277 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
17278
afae1d68
MA
172792011-07-08 Michael Albinus <michael.albinus@gmx.de>
17280
17281 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
17282 human-friendly prompt.
17283
0757af94
SM
172842011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
17285
17286 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
17287 provided by a particular plugin.
17288
d760b731
LMI
172892011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
17290
17291 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
17292 save customizations (with "emacs -Q"), just set the variable
17293 instead of erroring out.
17294
17295 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
17296
cd79ce90
JL
172972011-07-08 Juri Linkov <juri@jurta.org>
17298
17299 * arc-mode.el (archive-zip-expunge, archive-zip-update)
17300 (archive-zip-update-case): Use 7z if found by `executable-find'.
17301 The order of searching the available programs is the same as in
17302 `archive-zip-extract' (bug#8968).
17303
14cc04aa
CY
173042011-07-07 Chong Yidong <cyd@stupidchicken.com>
17305
17306 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
17307 (menu-bar-options-menu): Tweak descriptions.
17308
0a1848ec
LMI
173092011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
17310
17311 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
17312 menu items into verb phrases (bug#1421). Also refill to fit under
17313 80 columns.
17314
f5bd0689
CY
173152011-07-07 Chong Yidong <cyd@stupidchicken.com>
17316
538e85c6
CY
17317 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
17318 (Info-read-node-name): Doc fix (Bug#1084).
17319
f5bd0689
CY
17320 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
17321 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
17322 (end-of-sexp, beginning-of-sexp)
17323 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
17324 (forward-symbol, forward-same-syntax, word-at-point)
17325 (sentence-at-point): Doc fix (Bug#1144).
17326
56ec5115
LMI
173272011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
17328
f3f8e37f
LMI
17329 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
17330 should cover it (bug#1281).
17331
0757af94 17332 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 17333
e9fce1ac 17334 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
17335 negotiation fails, then possibly try again with a non-encrypted
17336 connection (bug#9017).
17337
56ec5115
LMI
17338 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
17339 be used.
17340
c2f9aec8
RS
173412011-07-07 Richard Stallman <rms@gnu.org>
17342
17343 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
17344 property, and handle its changed format.
17345 Look for the correct line number.
17346 Use file's line contents (but not past first =) to find
17347 correct line in message.
17348
ef7b981d 173492011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
17350
17351 * international/characters.el (build-unicode-category-table):
17352 Delete it.
0757af94 17353 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 17354
0757af94 17355 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
17356 to src/chartab.c.
17357 (get-char-code-property): Call unicode-property-table-internal to
17358 load a file. Call get-unicode-property-internal where necessary.
17359 (put-char-code-property): Call unicode-property-table-internal to
17360 load a file. Call put-unicode-property-internal where necessary.
17361 put-unicode-property-internal where necessary.
0757af94
SM
17362 (char-code-property-description):
17363 Call unicode-property-table-internal to load a file.
c805dec0
KH
17364
17365 * international/charprop.el:
17366 * international/uni-bidi.el:
17367 * international/uni-category.el:
17368 * international/uni-combining.el:
17369 * international/uni-comment.el:
17370 * international/uni-decimal.el:
17371 * international/uni-decomposition.el:
17372 * international/uni-digit.el:
17373 * international/uni-lowercase.el:
17374 * international/uni-mirrored.el:
17375 * international/uni-name.el:
17376 * international/uni-numeric.el:
17377 * international/uni-old-name.el:
17378 * international/uni-titlecase.el:
17379 * international/uni-uppercase.el: Regenerate.
17380
17381 * loadup.el: Load international/charprop.el before
17382 international/characters.
17383
e14b388a
CY
173842011-07-07 Chong Yidong <cyd@stupidchicken.com>
17385
17386 * window.el (next-buffer, previous-buffer): Signal an error if
17387 called from a minibuffer window.
17388
17389 * bindings.el: Revert 2011-07-04 change.
17390
354cf0ba
RS
173912011-07-06 Richard Stallman <rms@gnu.org>
17392
17393 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
17394 (rmail-mime-insert-bulk, rmail-mime-insert-text):
17395 Treat markers like ints.
17396 (rmail-mime-entity): Doc fix.
17397
a48868a7
LMI
173982011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
17399
4906cd3d
LMI
17400 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
17401 defcustom again for backwards compatibility.
17402
e0457abe
LMI
17403 * simple.el (shell-command-on-region): Fill.
17404
d67f7e1f
LMI
17405 * dired-aux.el (dired-kill-line): Add a doc string.
17406
fe204702
LMI
17407 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
17408 to "\\sw\\|\\s_" (bug#358).
17409
a48868a7
LMI
17410 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
17411 (dired-unmark-backward): Ditto.
17412 (dired-flag-backup-files): Ditto.
17413
17414 * dired-x.el (dired-mark-sexp): Ditto.
17415
aa8a705c
RS
174162011-07-06 Richard Stallman <rms@gnu.org>
17417
17418 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
17419 (rmail-mime-entity): New arg TRUNCATED.
17420 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
17421 New functions.
17422 (rmail-mime-save): Warn if entity is truncated.
17423 (rmail-mime-toggle-hidden): Likewise, for showing.
17424 (rmail-mime-process-multipart): Record when an entity is truncated.
17425
a9a936b9
RS
17426 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
17427 if ENTITY is a string.
17428
1f2b92cb
LMI
174292011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
17430
f4f73198 17431 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
17432 of faces when `M-C-x'-ing their definitions (bug#8378).
17433 Also clean up the code slightly.
f4f73198 17434
12b16734 17435 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 17436 because that makes the colors go away.
12b16734 17437
f0691d22
LMI
17438 * mail/sendmail.el (send-mail-function): Change the default to
17439 `sendmail-query-once'.
9e87df06 17440 (sendmail-query-once): Add an autoload cookie.
f0691d22 17441
1f2b92cb
LMI
17442 * net/network-stream.el (network-stream-open-starttls): Try using
17443 a plain connection even if the server offered STARTTLS, and we
17444 kinda wanted to use it, if Emacs doesn't have any STARTTLS
17445 capability. This should make smtpmail.el work in slightly more
17446 configurations.
17447
1cdd2a1b
MA
174482011-07-06 Michael Albinus <michael.albinus@gmx.de>
17449
17450 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
17451 New defun.
17452 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
17453
fbcc67e2
MM
174542011-07-06 Michael R. Mauger <mmaug@yahoo.com>
17455
17456 * progmodes/sql.el: Version 3.0
0757af94 17457 (sql-product-alist): Add product :completion-object,
fbcc67e2 17458 :completion-column, and :statement attributes.
0757af94 17459 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 17460 (sql-mode-syntax-table): Mark all punctuation.
0757af94 17461 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
17462 ansi keywords.
17463 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 17464 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
17465 (sql-oracle-show-reserved-words): New function for development.
17466 (sql-product-font-lock): Simplify for source code buffers.
17467 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
17468 New functions.
17469 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
17470 (sql-mode-map): Add statement movement functions.
17471 (sql-ansi-statement-starters, sql-oracle-statement-starters):
17472 New variable.
fbcc67e2
MM
17473 (sql-statement-regexp, sql-beginning-of-statement)
17474 (sql-end-of-statement, sql-signum): New functions.
0757af94 17475 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
17476 (sql-show-sqli-buffer): Bug fix.
17477 (sql-interactive-mode): Store connection data as buffer local.
0757af94 17478 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
17479 with sql-interactive-mode.
17480 (sql-save-connection): Save buffer local settings.
0757af94 17481 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
17482 (sql-product-interactive): Bug fix.
17483 (sql-preoutput-hold): New variable.
17484 (sql-interactive-remove-continuation-prompt): Bug fixes.
17485 (sql-debug-redirect): New variable.
17486 (sql-str-literal): New function.
17487 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 17488 Redesign.
fbcc67e2
MM
17489 (sql-oracle-save-settings, sql-oracle-restore-settings)
17490 (sql-oracle-list-all, sql-oracle-list-table): New functions.
17491 (sql-completion-object, sql-completion-column)
17492 (sql-completion-sqlbuf): New variables.
17493 (sql-build-completions-1, sql-build-completions)
17494 (sql-try-completion): New functions.
17495 (sql-read-table-name): Use them.
17496 (sql-contains-names): New buffer local variable.
17497 (sql-list-all, sql-list-table): Use it.
17498 (sql-oracle-completion-types): New variable.
17499 (sql-oracle-completion-object, sql-sqlite-completion-object)
17500 (sql-postgres-completion-object): New functions.
17501
d4eaeab1
GM
175022011-07-06 Glenn Morris <rgm@gnu.org>
17503
17504 * window.el (pop-to-buffer): Doc fix.
17505
322b7dab 175062011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
17507
17508 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
17509
322b7dab 175102011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 17511
322b7dab 17512 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 17513
322b7dab 17514 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 17515
605dd5bf
CY
175162011-07-05 Chong Yidong <cyd@stupidchicken.com>
17517
17518 * button.el (button): Inherit from link face. Suggested by Dan
17519 Nicolaescu.
17520
7dbfa719
SM
175212011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
17522
3db614b0
SM
17523 * progmodes/gdb-mi.el: Fit in 80 columns.
17524 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
17525 switch-to-buffer.
17526
7dbfa719
SM
17527 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
17528 if imenu is simply not configured (bug#8941).
17529
919d884a
KM
175302011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
17531
17532 * allout.el (allout-post-undo-hook): New allout outline-change
17533 event hook to signal undo activity.
17534 (allout-post-command-business): Run allout-post-undo-hook if an
17535 undo just occurred.
7dbfa719
SM
17536 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
17537 * allout-widgets.el (allout-widgets-after-undo-function):
17538 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
17539 in the vicinity of an undo.
17540 (allout-widgets-mode): Include allout-widgets-after-undo-function
17541 on the new allout-post-undo-hook.
17542
450a0f09
SM
175432011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
17544
17545 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
17546 Let define-derived-mode define it.
17547 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
17548 cycles of abbrev-table inheritance (bug#8998).
17549
2de69e00
RW
175502011-07-05 Roland Winkler <winkler@gnu.org>
17551
17552 * textmodes/bibtex.el: Add support for biblatex.
17553 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
17554 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
17555 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
17556 (bibtex-entry-alist, bibtex-field-alist): New variables.
17557 (bibtex-entry-field-alist): Obsolete alias for
17558 bibtex-BibTeX-entry-alist.
17559 (bibtex-entry-alist, bibtex-field-alist): New widgets.
17560 (bibtex-set-dialect): New command.
17561 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
17562 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
17563 Bind via bibtex-set-dialect.
2de69e00
RW
17564 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
17565 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
17566 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
17567 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
17568 Define via bibtex-set-dialect.
450a0f09
SM
17569 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
17570 Obey bibtex-no-opt-remove-re.
2de69e00
RW
17571 (bibtex-vec-push, bibtex-vec-incr): New functions.
17572 (bibtex-format-entry, bibtex-field-list)
17573 (bibtex-print-help-message, bibtex-validate)
17574 (bibtex-search-entries): Use new format of bibtex-entry-alist.
17575
2dcdbdd9
SM
175762011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
17577
17578 * progmodes/compile.el (compilation-goto-locus):
17579 * net/tramp-cmds.el (tramp-append-tramp-buffers):
17580 * bs.el (bs-cycle-next, bs-cycle-previous):
17581 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
17582 * bindings.el (mode-line-other-buffer):
17583 * autoinsert.el (auto-insert):
17584 * arc-mode.el (archive-extract):
17585 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
17586
b27640fe
JB
175872011-07-05 Juanma Barranquero <lekktu@gmail.com>
17588
17589 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
17590 Fix check of `emacs-lock-unlockable-modes'.
17591 Coerce true values of `emacs-lock--try-unlocking' to t.
17592
53bbe3ad
JB
175932011-07-05 Juanma Barranquero <lekktu@gmail.com>
17594
17595 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
17596 * emacs-lock.el: New file.
17597
1d3cdbc7
JD
175982011-07-05 Julien Danjou <julien@danjou.info>
17599
17600 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
17601 than `boundp' to check if face is set.
17602
9173deec
JB
176032011-07-05 Juanma Barranquero <lekktu@gmail.com>
17604
17605 * register.el (registerv-make):
17606 * window.el (window-min-height): Fix typos in docstrings.
17607
869795d6
JD
176082011-07-05 Jan Djärv <jan.h.d@swipnet.se>
17609
9173deec 17610 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
17611 Update doc string.
17612
b768cdcd
JB
176132011-07-04 Juanma Barranquero <lekktu@gmail.com>
17614
17615 * server.el (server-execute): Catch quit and call
17616 `server-return-error' to pass the error back to emacsclient and
17617 close the connection (bug#8942).
17618
13aa217b
KM
176192011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
17620
17621 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
17622 insecure exception for current topic. Also note that auto-saves
17623 are handled differently.
17624
5d3385a0 17625 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
17626 State variables for tracking auto-save inhibition situation.
17627
17628 (allout-write-contents-hook-handler): Rename from
17629 'allout-write-file-hook-handler', and describe how it depends on
17630 write-contents-functions sensitivity to non-nil value to prevent
17631 file write.
17632
17633 (allout-auto-save-hook-handler): Remove. auto-save does not check
17634 this in individual buffers, only in the starting buffer, so this
17635 is not the right way for us to inhibit auto-save in a buffer
17636 according to its condition.
17637
17638 (allout-mode): Use new allout-write-contents-hook-handler, and
17639 only with write-contents-functions. Remove auto-save provisions -
17640 they're implemented elsewhere.
17641
17642 (allout-before-change-handler): If undo is in progress, note that
17643 for attention of allout-post-command-business.
17644
17645 (allout-post-command-business): If the command we're following was
17646 an undo, check for change in the status of encrypted items and
17647 adjust auto-save inhibitions accordingly.
17648
17649 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
17650 according to whether there are or aren't any plain-text topics
17651 pending encryption.
17652
2dcdbdd9 17653 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
17654 Adjust buffer-saved-size and some allout state to inhibit auto-saves
17655 if there are plain-text topics pending encryption.
13aa217b
KM
17656
17657 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
17658 buffer-saved-size and some allout state to not inhibit auto-saves
17659 if there are no longer any plain-text topics pending encryption.
17660
0757af94
SM
17661 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
17662 No longer provide for exemption of the current topic.
13aa217b 17663
ac89b32c
JL
176642011-07-04 Juri Linkov <juri@jurta.org>
17665
17666 Add 7z operations to delete and save changed members (bug#8968).
17667 * arc-mode.el (archive-7z-expunge, archive-7z-update):
17668 New defcustoms.
17669 (archive-7z-write-file-member): New function.
17670 (archive-7z-summarize): Fix the number of dashes in the
17671 listing output.
17672
8fa39615
SM
176732011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
17674
17675 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
17676 (bug#8958).
17677
2f11b3f1
CY
176782011-07-04 Chong Yidong <cyd@stupidchicken.com>
17679
d66fef2b
CY
17680 * bindings.el: Ignore next-buffer and previous-buffer in
17681 minibuffer-local-map.
17682
2f11b3f1
CY
17683 * font-lock.el (font-lock-builtin-face): Change light background
17684 color to dark slate blue (Bug#6693).
17685
f932a347
WD
176862011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
17687
17688 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
17689
c8af70e1
SM
176902011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
17691
17692 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
17693 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
17694 Add switch-to-buffer.
17695
f158badc
LMI
176962011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
17697
17698 * isearch.el (isearch-search-fun-function): Clarify further the
17699 meaning of the function returned.
17700
6d95bd46
MA
177012011-07-04 Michael Albinus <michael.albinus@gmx.de>
17702
17703 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
17704
17705 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
17706 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
17707 Use it.
17708 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
17709 `tramp-default-remote-path' does not exist.
17710 (tramp-send-command-and-read): New optional argument NOERROR.
17711 (tramp-open-connection-setup-interactive-shell)
17712 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
17713 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
17714 (tramp-process-sentinel): Flush also process' connection property.
17715 (tramp-sh-handle-start-file-process): Do not set process
17716 sentinel. It is done now ...
17717 (tramp-maybe-open-connection): ... here. (Bug#8929)
17718
909e6b67
MK
177192011-07-04 MON KEY <monkey@sandpframing.com>
17720
17721 * play/animate.el (animate-string): Doc fixes and allow changing
17722 the buffer name (bug#5417).
17723
177242011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
17725
c8af70e1 17726 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 17727
f34755dc
PE
177282011-07-04 Paul Eggert <eggert@cs.ucla.edu>
17729
396cec72
PE
17730 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
17731 This is simpler and helps future-proof the code.
17732 (timer-until): Use time-subtract and float-time.
08235028 17733 (timer--time-less-p): Use time-less-p.
f34755dc 17734
56e6cc31
JB
177352011-07-04 Juanma Barranquero <lekktu@gmail.com>
17736
3abb79e5
JB
17737 * type-break.el (timep): Use the value of `float-time' to avoid a
17738 byte-compiler warning.
17739
56e6cc31
JB
17740 * server.el (server-eval-and-print): Return any result, even nil.
17741
7b9430b4
PE
177422011-07-03 Paul Eggert <eggert@cs.ucla.edu>
17743
17744 * type-break.el: Accept time formats that the builtins accept.
17745 (timep, type-break-time-difference): Accept any format that
17746 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
17747 This is simpler and helps future-proof the code.
17748 (type-break-time-difference): Round rather than ignoring
17749 subseconds components.
17750
3034e9e7
LMI
177512011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17752
17753 * info.el (Info-apropos-matches): Make non-interactive, since it
17754 doesn't seem to do anything useful as a command (bug#8829).
17755
1485f4c0
CY
177562011-07-03 Chong Yidong <cyd@stupidchicken.com>
17757
17758 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 17759 Move from faces.el.
1485f4c0
CY
17760 (frame-default-terminal-background): New function.
17761
17762 * custom.el (custom-push-theme): Don't record faces in `changed'
17763 theme; this doesn't work correctly for per-frame face settings.
17764 (disable-theme): Use face-set-after-frame-default to reset faces.
17765 (custom--frame-color-default): New function.
17766
9fa3dd45
LMI
177672011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17768
c8af70e1 17769 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
17770 (bug#8769).
17771
6cbbc20c
KR
177722011-03-29 Kevin Ryde <user42@zip.com.au>
17773
17774 * progmodes/compile.el (compilation-error-regexp-alist-alist):
17775 `perl-Test2' extend to match possible "fail #N" rep count
17776 (bug#8377).
17777
c7f98048
LMI
177782011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17779
65676592
LMI
17780 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
17781 `smtpmail-via-smtp' now returns the error instead of nil.
17782
c7f98048
LMI
17783 * isearch.el (isearch-search-fun-function): Clarify the doc string
17784 (bug#8101).
17785
56e6cc31 177862011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
17787
17788 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
17789 unnecessary spaces (bug#8987).
17790
2b216704
LMI
177912011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17792
17793 * net/network-stream.el (open-network-stream): Use the
17794 :end-of-capability command thoughout.
17795
177962011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
17797
17798 * net/network-stream.el (open-network-stream): Add the
17799 :end-of-capability command parameter, used by pop3.el.
17800
36adf6ce
LMI
178012011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17802
1ca0da0e
LMI
17803 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
17804
fc00f69c
LMI
17805 * fringe.el (fringe-query-style): Remove redundant text " (type ?
17806 for list)" (bug#6475).
17807
28fd8759 17808 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 17809 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
17810 an error (bug#6297).
17811
0dd8b6da
LMI
17812 * man.el (Man-reference-regexp): Allow matching possible
17813 word-wrapped references (bug#6289).
17814
ce1438d6
LMI
17815 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
17816 for consistency with the other vc buffers (bug#6197).
17817 (vc-checkin): Ditto.
17818
17819 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
17820
36adf6ce
LMI
17821 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
17822
e83cc1f7
LMI
178232011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
17824
8a20ca4c
LMI
17825 * custom.el (defcustom): Clarify that :set is only used in the
17826 Customize user interface (bug#6089).
17827
83319045
LMI
17828 * progmodes/flymake.el (flymake-mode): If the buffer isn't
17829 associated with a file, refuse to run instead of erroring out
17830 (bug#6084).
17831
a8392169
LMI
17832 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
17833 the doc string, since it appears that using `fill-column' always
17834 controls the width (bug#7845).
17835
e83cc1f7
LMI
17836 * simple.el (shell-command-on-region): Say where the error output
17837 went if `shell-command-default-error-buffer' is set (bug#6857).
17838
e47ca23b
KM
178392011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
17840
17841 * allout.el (allout-yank-processing): Adjust cursor position for
17842 backwards-deleted space.
17843
17844 (allout-rebullet-heading): Register changes with
17845 allout-exposure-changed-hook, so the modified topic is properly
17846 decorated.
17847
5cf56143
LMI
178482011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
17849
08549772
LMI
17850 * minibuffer.el (completion-in-region): Document PREDICATE
17851 (bug#7136).
17852
48e96771
LMI
17853 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
17854 of keyword/argument pairs (bug#6904).
17855
c8af70e1
SM
17856 * replace.el (multi-occur):
17857 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 17858
e17d05e2
LMI
178592011-07-02 Drew Adams <drew.adams@oracle.com>
17860
17861 * dired.el (dired-mark-if): Make the message about whether it's
17862 marking or unmarking clearer (bug#8523).
17863
063b0e45
LMI
178642011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
17865
17866 * disp-table.el (display-table-print-array): New function.
17867 (describe-display-table): Use it to print the vectors more pretty
17868 (Bug#8859).
17869
28545e04
MR
178702011-07-02 Martin Rudalics <rudalics@gmx.at>
17871
17872 * window.el (window-state-get-1): Don't assign clone numbers.
17873 Add clone-of item to list of window parameters.
17874 (window-state-put-2): Don't process clone numbers.
17875 (display-buffer-alist): Fix doc-string.
17876
3349e122
SM
178772011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
17878
17879 * subr.el (remq): Don't allocate if it's not needed.
17880 (keymap--menu-item-binding, keymap--menu-item-with-binding)
17881 (keymap--merge-bindings): New functions.
17882 (keymap-canonicalize): Use them to refine the canonicalization.
17883 * minibuffer.el (minibuffer-local-completion-map)
17884 (minibuffer-local-must-match-map): Move initialization from C.
17885 (minibuffer-local-filename-completion-map): Move initialization from C;
17886 don't inherit from anything here.
17887 (minibuffer-local-filename-must-match-map): Make obsolete.
17888 (completing-read-default): Use make-composed-keymap to combine
17889 minibuffer-local-filename-completion-map with either
17890 minibuffer-local-must-match-map or
17891 minibuffer-local-filename-completion-map.
17892
d224ac83
GM
178932011-07-01 Glenn Morris <rgm@gnu.org>
17894
3de63bf8
GM
17895 * type-break.el (type-break-time-sum): Use dolist.
17896
d224ac83
GM
17897 * textmodes/flyspell.el (flyspell-word-search-backward):
17898 Replace CL function.
17899
1a1e3f32
SM
179002011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
17901
fe3f64d5
SM
17902 * mouse.el (mouse--strip-first-event): New function.
17903 (function-key-map): Use it to map fringe clicks to normal clicks
17904 by default.
17905
eb604e34
SM
17906 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
17907 (vc-bzr-revision-completion-table): Add support for annotate and date.
17908
1a1e3f32
SM
17909 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
17910 inherit from parent.
17911
5bd35902
LMI
179122011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
17913
ace6c69c 17914 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 17915 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 17916
191e2bed
LMI
17917 * dired.el (dired-mode): Fix up the doc string as suggested by
17918 Drew Adams (bug#8817).
17919
5bd35902
LMI
17920 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
17921 cookie, since the manual says that it should be possible to add
17922 this function to `find-file-hook' (bug#8709).
17923
eee8207a
TZ
179242011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
17925
17926 * progmodes/cfengine.el: Moved all cfengine3.el functionality
17927 here. Noted Ted Zlatanov as the maintainer.
17928 (cfengine-common-settings, cfengine-common-syntax): New functions
17929 to set up common things between `cfengine-mode' and
17930 `cfengine3-mode'.
17931 (cfengine3-mode): New mode.
17932 (cfengine3-defuns cfengine3-defuns-regex
17933 (cfengine3-class-selector-regex cfengine3-category-regex)
17934 (cfengine3-vartypes cfengine3-font-lock-keywords)
17935 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 17936 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 17937
36b148cf
MA
179382011-07-01 Michael Albinus <michael.albinus@gmx.de>
17939
17940 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
17941
17942 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
17943
0bf4ba9a
MR
179442011-07-01 Martin Rudalics <rudalics@gmx.at>
17945
17946 * window.el (same-window-buffer-names, same-window-regexps)
17947 (same-window-p, special-display-frame-alist)
17948 (special-display-popup-frame, special-display-function)
17949 (special-display-buffer-names, special-display-regexps)
17950 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
17951 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
17952 (split-window-preferred-function, split-height-threshold)
17953 (split-width-threshold, even-window-heights)
17954 (display-buffer-mark-dedicated, window-splittable-p)
17955 (split-window-sensibly, window-safely-shrinkable-p):
17956 Un-obsolete.
17957 (display-buffer): Don't spread args with function specifier
17958 because special-display-popup-frame won't like it.
17959
35837f51
PE
179602011-07-01 Paul Eggert <eggert@cs.ucla.edu>
17961
d0672f86
PE
17962 Time-stamp simplifications and fixes.
17963 These improve accuracy slightly, and future-proof the code
17964 against some potential changes to current-time format.
17965
b9444d97
PE
17966 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
17967 by using time-since and float-time.
17968
0ef923dc
PE
17969 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
17970 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
17971 + NNN microseconds".
17972
2f81380d
PE
17973 * type-break.el (type-break-time-sum): Rewrite using time-add.
17974
845b5c3e
PE
17975 * play/hanoi.el (hanoi-current-time-float): Remove.
17976 All uses replaced by float-time.
17977
ee6f1be0
PE
17978 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
17979 This yields a more-accurate answer.
17980 (rng-time-to-float): Remove; no longer needed.
17981
fe955043
PE
17982 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
17983
5777162a
PE
17984 * calendar/timeclock.el (timeclock-seconds-to-time):
17985 Defalias to seconds-to-time, since they're the same thing.
17986
3103f8b6 17987 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 17988 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
17989 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
17990
0e61a35f
SM
179912011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
17992
17993 * window.el (bury-buffer): Don't iconify the only frame.
17994 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
17995 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
17996
ddd63a1e
CY
179972011-07-01 Chong Yidong <cyd@stupidchicken.com>
17998
0e61a35f
SM
17999 * eshell/em-smart.el (eshell-smart-display-navigate-list):
18000 Add mouse-yank-primary.
ddd63a1e 18001
055f4923
TZ
180022011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
18003
18004 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
18005
6a2fb145
SM
180062011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
18007
18008 * emacs-lisp/find-func.el (find-library--load-name): New fun.
18009 (find-library-name): Use it to find relative load names when provided
18010 absolute file name (bug#8803).
18011
fd4983f2
LMI
180122011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
18013
887d14ad
LMI
18014 * textmodes/flyspell.el (flyspell-word): Consider words that
18015 differ only in case as potential doublons (bug#5687).
18016
c53dc7fc
LMI
18017 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
18018 Remove two rather uninteresting debugging-like messages to make
18019 debbugs.el more silent.
18020
fd4983f2
LMI
18021 * comint.el (comint-password-prompt-regexp): Accept "Response" as
18022 a password-like phrase.
18023
7a71b18d 180242011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
18025
18026 * progmodes/cc-guess.el: New file.
18027
6a2fb145 18028 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
18029
18030 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
18031 derived from `c-basic-common-init'.
18032
18033 * progmodes/cc-mode.el (top-level): Require cc-guess.
18034 (c-basic-common-init): Use `cc-choose-style-for-mode'.
18035
1fa280a3
LM
180362011-06-30 Lawrence Mitchell <wence@gmx.li>
18037
18038 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
18039
e6597158
AM
180402011-06-30 Alan Mackenzie <acm@muc.de>
18041
1fa280a3
LM
18042 * progmodes/cc-engine.el (c-guess-continued-construct):
18043 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
18044 lock is disabled. Name this case as "CASE G".
18045
68ba37fb
KM
180462011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
18047
18048 * allout.el (allout-yank-processing): Fix injection of extra space
18049 between bullet and non-whitespace character in first topic when
18050 pasting, ensuring that the actual spacing in the pasted topic
18051 following the bullet char is preserved. This extra space was
18052 causing pasted encrypted topics to get a decrypted status even
18053 when the content was actually still encrypted. Now the decryption
18054 status from before the paste is preserved.
18055
18056 (allout-flag-region): Set all allout overlays so they evaporate
18057 when reduced to zero length (evanescent), to prevent overlay
18058 leakage.
18059
887a0b34
GM
180602011-06-30 Glenn Morris <rgm@gnu.org>
18061
94b9acce
GM
18062 * w32-fns.el (w32-charset-info-alist): Declare.
18063
1d9b46d4
GM
18064 * find-dired.el (find-grep-options): Simplify.
18065
cc232200
GM
18066 * term/ns-win.el (ns-set-resource): Declare.
18067
28e77c46
GM
18068 * ses.el (row, col): Declare dynamic variables honestly.
18069
887a0b34
GM
18070 * textmodes/reftex-parse.el (index-tags): Declare.
18071
658d8eb8
CY
180722011-06-30 Chong Yidong <cyd@stupidchicken.com>
18073
18074 * cus-edit.el (customize-push-and-save): New function.
18075
18076 * files.el (hack-local-variables-confirm): Use it.
18077
1fa280a3
LM
18078 * custom.el (load-theme): New arg NO-CONFIRM.
18079 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
18080 (custom-enabled-themes): Doc fix.
18081
18082 * cus-theme.el (customize-create-theme)
18083 (custom-theme-merge-theme): Callers to load-theme changed.
18084
bb617717
LMI
180852011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
18086
d61bdd5d
LMI
18087 * thingatpt.el (thing-at-point-short-url-regexp): Require that
18088 short URLs have at least one dot in them (bug #7614).
18089
bb617717
LMI
18090 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
18091 nil, because using a pty is apparently too slow (bug #895).
18092
2f31f37a
LMI
180932011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
18094
18095 * mail/sendmail.el (sendmail-query-once): New function.
18096 (sendmail-query-once-function): New variable.
18097
3076b24e
GM
180982011-06-29 Glenn Morris <rgm@gnu.org>
18099
faf2a174
GM
18100 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
18101
3076b24e
GM
18102 * ses.el (top-level): Require cl when compiling.
18103 (ses-set-localvars): Fix error statement.
18104 Call it at compile time to silence a storm of warnings.
18105
5386012d
MR
181062011-06-29 Martin Rudalics <rudalics@gmx.at>
18107
18108 * window.el (normalize-live-buffer): Rename to
18109 window-normalize-buffer.
18110 (normalize-live-frame): Rename to window-normalize-frame.
18111 (normalize-any-window): Rename to window-normalize-any-window.
18112 (normalize-live-window): Rename to window-normalize-live-window.
18113 (make-window-atom): Rename to window-make-atom.
18114 (window-resize-reset): Rename to window--resize-reset.
18115 (window-resize-reset-1): Rename to window--resize-reset-1.
18116 (resize-mini-window): Rename to window--resize-mini-window.
18117 (resize-subwindows-skip-p): Rename to
18118 window--resize-subwindows-skip-p.
18119 (resize-subwindows-normal): Rename to
18120 window--resize-subwindows-normal.
18121 (resize-subwindows): Rename to window--resize-subwindows.
18122 (resize-other-windows): Rename to window--resize-siblings.
18123 (resize-this-window): Rename to window--resize-this-window.
18124 (resize-root-window): Rename to window--resize-root-window.
18125 (resize-root-window-vertically): Rename to
18126 window--resize-root-window-vertically.
18127 (normalize-buffer-to-display): Rename to
18128 window-normalize-buffer-to-display.
18129 (normalize-buffer-to-switch-to): Rename to
18130 window-normalize-buffer-to-switch-to.
18131 Correspondingly update all callers of the functions listed
18132 above.
18133 (display-buffer-alist, display-buffer-normalize-arguments)
18134 (display-buffer-normalize-options, display-buffer)
18135 (display-buffer-alist-set): Use "function" instead of
18136 "fun-with-args".
18137
1176868d
CY
181382011-06-28 Chong Yidong <cyd@stupidchicken.com>
18139
18140 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
18141 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
18142 debbugs.gnu.org. Mention acknowledgment email.
18143
20a7a65f
LMI
181442011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
18145
18146 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
18147 buffer multibyteness, since it shouldn't matter.
18148
5f45cca5
MR
181492011-06-28 Martin Rudalics <rudalics@gmx.at>
18150
18151 * window.el (display-buffer-in-side-window): Handle dedicated
18152 windows as in display-buffer-reuse-window.
18153 (display-buffer-normalize-alist): Use value of override
18154 specifier.
18155 (display-buffer-normalize-specifiers): Use value of
18156 other-window-means-other-frame specifier.
18157 (display-buffer-alist): Rewrite some texts in widgets.
18158 (display-buffer): Spread arguments when calling function
18159 specified by fun-with-args.
18160
ad85fe1f
DD
181612011-06-28 Deniz Dogan <deniz@dogan.se>
18162
1fa280a3
LM
18163 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
18164 Unnest `let'.
da68c4c8 18165
ad85fe1f
DD
18166 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
18167 selectors (Bug#5732).
ec49bd31 18168 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 18169
a08cc025
JA
181702011-06-27 Jari Aalto <jari.aalto@cante.net>
18171
18172 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
18173 (eshell-ls-date-format): New defcustom.
18174 (eshell-ls-file): Use it.
18175
e2b551c5
SM
181762011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
18177
18178 * help-fns.el (describe-variable): Fix message for terminal-local vars.
18179
8982b231
KY
181802011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
18181
18182 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
18183 (ange-ftp-make-tmp-name): New arg.
18184 (ange-ftp-file-local-copy): Use it.
18185
36c9fa27
J
181862011-06-27 Jambunathan K <kjambunathan@gmail.com>
18187
18188 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
18189 no-conversion (Bug#8870).
18190
d68443dc
MR
181912011-06-27 Martin Rudalics <rudalics@gmx.at>
18192
18193 * window.el (window-right, window-left, window-child)
18194 (window-child-count, window-last-child)
18195 (window-iso-combination-p, walk-window-tree-1)
18196 (window-atom-check-1, window-tree-1, delete-window)
18197 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
18198 new naming conventions - window-vchild, window-hchild,
18199 window-next and window-prev are now called window-top-child,
18200 window-left-child, window-next-sibling and window-prev-sibling
18201 respectively.
d615d6d2
MR
18202 (resize-window-reset): Rename to window-resize-reset.
18203 (resize-window-reset-1): Rename to window-resize-reset-1.
18204 (resize-window): Rename to window-resize.
18205 (window-min-height, window-min-width)
18206 (resize-mini-window, resize-this-window, resize-root-window)
18207 (resize-root-window-vertically, adjust-window-trailing-edge)
18208 (enlarge-window, shrink-window, maximize-window)
18209 (minimize-window, delete-window, quit-restore-window)
18210 (split-window, balance-windows, balance-windows-area-adjust)
18211 (balance-windows-area, window-state-put-2)
18212 (display-buffer-even-window-sizes, display-buffer-set-height)
18213 (display-buffer-set-width, set-window-text-height)
18214 (fit-window-to-buffer): Rename all "resize-window" prefixed
18215 calls to use the "window-resize" prefix convention.
18216 (display-buffer-alist): Fix symbol for label specifier.
18217 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
18218 corresponding specifier.
18219 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 18220
b6458526
VB
182212011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
18222
18223 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
18224 convention.
18225 (ses-call-printer): Does not pass an empty string to formatter when the
18226 cell is empty to keep from barking printer Calc math-format-value.
18227
d31fd9ac
RS
182282011-06-27 Richard Stallman <rms@gnu.org>
18229
43d5bf84
RS
18230 * battery.el (battery-mode-line-limit): New variable.
18231 (battery-update): Handle it.
18232
d31fd9ac
RS
18233 * mail/rmailmm.el (rmail-mime-process-multipart):
18234 Handle truncated messages.
18235
819a6054
GM
182362011-06-27 Glenn Morris <rgm@gnu.org>
18237
18238 * progmodes/flymake.el (flymake-err-line-patterns):
18239 Allow for column numbers in the ant/javac pattern. (Bug#8866)
18240
cedc73f2
VB
182412011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
18242
819a6054 18243 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
18244 (ses--clean-!, ses--clean-_): New functions.
18245 (ses-range): Add configurability of readout order, and conversion
18246 to Calc vector.
18247
5e5d49b6
VB
18248 * ses.el (ses-repair-cell-reference-all): New function.
18249 (ses-cell-symbol): Set macro as safe, so that it can be used in
18250 formulas.
18251
56e6cc31 18252 * ses.el: Update cycle detection algorithm.
90ca8b49 18253 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 18254 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
18255 (ses-set-localvars): New function.
18256 (ses-make-cell): Add property-list as a cell element.
18257 (ses-cell-property-get-fun, ses-cell-property-get)
18258 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
18259 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
18260 New functions.
90ca8b49
VB
18261 (ses-cell-property-set, ses-cell-property-pop)
18262 (ses-cell-property-get-handle): New macro.
18263 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
18264 New aliases, used for code readability.
18265 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
18266 cycle detection.
18267 (ses-self-reference-early-detection): New defcustom.
fac916bf 18268 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
18269 (ses-mode): Use ses-set-localvars.
18270 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
18271 before lauching the update processing.
18272 (ses-initialize-Dijkstra-attempt): New function.
18273 (ses-recalculate-cell): Update for cycle detection based on
18274 Dijkstra algorithm.
18275
2bb63e81
VB
18276 * ses.el: Fix commenting and indenting convention.
18277
c9d29fb8
SM
182782011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
18279
18280 * bs.el (bs-cycle-next): Complete last change.
18281
d8e4b68b
JB
182822011-06-27 Drew Adams <drew.adams@oracle.com>
18283
18284 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
18285
40098786
LMI
182862011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
18287
c9d29fb8
SM
18288 * net/network-stream.el (network-stream-open-starttls):
18289 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
18290 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
18291
40098786
LMI
18292 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
18293 to binary to possibly avoid line encoding issues on Windows (among
18294 other things).
18295
468d09d4
LMI
182962011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
18297
18298 * net/network-stream.el (open-network-stream): Return an :error
18299 saying what the problem was, if possible.
18300
18301 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
18302 server.
18303
18304 * net/network-stream.el (network-stream-open-starttls): If we
18305 wanted to use STARTTLS, and the server offered it, but we weren't
18306 able to because we had no STARTTLS support, then close the connection.
18307 (open-network-stream): Return an :error element, if present.
18308
16f07dd7
CY
183092011-06-26 Chong Yidong <cyd@stupidchicken.com>
18310
88821ca0
CY
18311 * hl-line.el (hl-line-sticky-flag): Doc fix.
18312 (global-hl-line-sticky-flag): New option (Bug#8323).
18313 (global-hl-line-highlight): Obey it.
18314
16f07dd7
CY
18315 * vc/vc.el (vc-revert-show-diff): Default to t.
18316
6b5ccddf
KM
183172011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
18318
c9d29fb8
SM
18319 * allout-widgets.el (allout-widgets-post-command-business):
18320 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
18321 undecorated when an isearch is continued past, and isearch
18322 automatically collapses them. This leads to "widget leaks", where
18323 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
18324 hidden widgets can slow down cursor travel, substantially.
18325 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
18326 so we're doing without this nicety.
18327
18328 (allout-widgets-tally-string): Don't try to do a hash-table-count
18329 of allout-widgets-tally when it's nil. This eliminates spurious "Error
18330 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
18331 *Messages* when allout-widgets-maintain-tally is t.
18332
355f2e07
MR
183332011-06-26 Martin Rudalics <rudalics@gmx.at>
18334
18335 * window.el (display-buffer-normalize-argument): Rename to
18336 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
18337 LABEL argument. Respect special-display-function when popping up
18338 a new frame. Fix code searching for a window showing the buffer
18339 on another frame.
c9d29fb8
SM
18340 (display-buffer-normalize-specifiers):
18341 Call display-buffer-normalize-arguments.
355f2e07
MR
18342 (display-buffer-in-window): Don't undedicate the window if its
18343 buffer remains the same.
18344 Reported by Drew Adams <drew.adams@oracle.com>.
18345 (display-buffer-alist): Add choice for same-window macro
18346 specfier.
18347 (display-buffer): Mention special meaning of LABEL argument in
18348 doc-string. Fix quoting. Don't pop up a new frame even as
18349 fallback.
18350
7ca8fc42
JB
183512011-06-26 Juanma Barranquero <lekktu@gmail.com>
18352
18353 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
18354 avoid deleting the current window in some cases (bug#8911).
18355
bc312254
AS
183562011-06-26 Andreas Schwab <schwab@linux-m68k.org>
18357
18358 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
18359 (Bug#8934)
18360
2db18f3f
LMI
183612011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
18362
c9d29fb8
SM
18363 * net/network-stream.el (network-stream-open-starttls):
18364 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
18365 (network-stream-open-tls): Ditto.
18366
6302e0d3
LL
183672011-06-26 Leo Liu <sdl.web@gmail.com>
18368
18369 * register.el (registerv): New struct.
18370 (registerv-make): New function.
c9d29fb8
SM
18371 (jump-to-register, describe-register-1, insert-register):
18372 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
18373 struct. (Bug#8415)
18374
5fdd4046
CY
183752011-06-26 Chong Yidong <cyd@stupidchicken.com>
18376
2afef60a
CY
18377 * vc/vc.el (vc-revert-show-diff): New defcustom.
18378 (vc-diff-internal): New arg specifying diff buffer.
18379 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
18380 reuse an existing *vc-diff* buffer (Bug#8927).
18381
5fdd4046
CY
18382 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
18383
e93db24a
GM
183842011-06-26 Glenn Morris <rgm@gnu.org>
18385
18386 * progmodes/f90.el (f90-critical-indent): New option.
18387 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
18388 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
18389 (f90-mode): Doc fix.
18390 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
18391 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
18392 (f90-beginning-of-block, f90-next-block, f90-indent-region)
18393 (f90-match-end): Handle block, critical.
18394
eefff499
GM
183952011-06-25 Glenn Morris <rgm@gnu.org>
18396
f6ba4cc9
GM
18397 * calendar/diary-lib.el (diary-included-files): Doc fix.
18398 (diary-include-files): New function, extracted from
18399 diary-include-other-diary-files and diary-mark-included-diary-files.
18400 (diary-include-other-diary-files, diary-mark-included-diary-files):
18401 Just call diary-include-files.
18402 (diary-mark-entries): Reset diary-included-files on first call.
18403
16712304
GM
18404 * calendar/diary-lib.el (diary-mark-entries)
18405 (diary-mark-included-diary-files):
18406 Visit included diary-files in temp buffers.
18407
5d8e0d43
GM
18408 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
18409 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
18410 (f90-start-block-re, f90-imenu-generic-expression)
18411 (f90-looking-at-program-block-start, f90-no-block-limit):
18412 Add support for submodules.
18413
ccf7a5d5
GM
18414 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
18415 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 18416
11fdef7d 184172011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
18418
18419 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
18420 buffer-file-type before setting its value, to avoid disastrous
eefff499 18421 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 18422
74f53697
JB
184232011-06-25 Juanma Barranquero <lekktu@gmail.com>
18424
18425 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
18426
18427 * ses.el (ses-unload-function):
18428 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
18429
18430 * proced.el (proced-unload-function):
18431 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
18432
18a4ce5e
AR
184332011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
18434
18435 * server.el (server-create-window-system-frame): Add parameters arg.
18436 (server-process-filter): Doc fix. Handle frame-parameters.
18437
519d22cc
JB
184382011-06-25 Juanma Barranquero <lekktu@gmail.com>
18439
18440 Fix bug#8730, bug#8781.
18441
18442 * loadhist.el (unload--set-major-mode): New function.
18443 (unload-feature): Use it.
18444
18445 * progmodes/python.el (python-after-info-look): Add autoload cookie.
18446 (python-unload-function): New function.
18447
c206f5b0
SM
184482011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
18449
18450 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
18451
f9ad64f3
GS
184522011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
18453
18454 * net/browse-url.el (browse-url-firefox-program): Add icecat to
18455 the candidates list.
18456
7d0da90e
JB
184572011-06-24 Juanma Barranquero <lekktu@gmail.com>
18458
18459 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
18460
14b4e83d
RS
184612011-06-23 Richard Stallman <rms@gnu.org>
18462
18463 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
18464 (rmail-variables): Set next-error-move-function.
18465 (rmail-what-message): Take argument POS.
18466 (rmail-next-error-move): New function.
18467
273d2baf
SM
184682011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
18469
18470 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
18471 messages for adjacent non-terminals.
18472
56c2cc9a
RS
184732011-06-23 Richard Stallman <rms@gnu.org>
18474
18475 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 18476 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
18477 (rmail-start-mail): Don't specify use of rmail-mail-return;
18478 that's done by mail-bury now.
18479 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 18480
d59eb518
MA
184812011-06-23 Michael Albinus <michael.albinus@gmx.de>
18482
18483 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
18484 SIZE is a number.
18485
02cfc6d6
MR
184862011-06-23 Martin Rudalics <rudalics@gmx.at>
18487
18488 * window.el (get-lru-window, get-mru-window)
18489 (get-largest-window): Never return a minibuffer window.
18490 (display-buffer-pop-up-window): Fix a bug that could lead to
18491 reusing the minibuffer window.
18492 (display-buffer): Pass original specifier argument to
18493 display-buffer-function instead of the normalized one.
18494 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
18495
4e323265
LL
184962011-06-22 Leo Liu <sdl.web@gmail.com>
18497
18498 * minibuffer.el (completing-read-function)
1f9f395d 18499 (completing-read-default): Move from minibuf.c.
4e323265 18500
7a70468f
RS
185012011-06-22 Richard Stallman <rms@gnu.org>
18502
50718fc2
RS
18503 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
18504 to Rmail even if not started by a special Rmail command.
18505
7a70468f
RS
18506 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
18507 Copy the buffer currently showing just one message.
18508
297dde5a
RW
185092011-06-22 Roland Winkler <winkler@gnu.org>
18510
18511 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
18512 (bibtex-clean-entry): First delete the old key so that a
18513 customized algorithm for generating the new key does not get
18514 confused by the old key.
18515 (bibtex-url): Obey regexp of first step.
18516 (bibtex-search-entries): Do not use add-to-list with local
18517 list-var.
18518
97bb1093
LMI
185192011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
18520
18521 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
18522 stored a user name, then query for the password first, instead of
18523 waiting for SMTP to give an error message and the trying again.
18524
1c0f1a19
JD
185252011-06-22 Lawrence Mitchell <wence@gmx.li>
18526
18527 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
18528 BUFFER in call-process.
18529
396f7c9d
LMI
185302011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
18531
18532 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
18533 QUIT twice.
ddb7ffee
LMI
18534 (smtpmail-try-auth-methods): Require user name and password from
18535 auth-source.
396f7c9d 18536
8998d1b3
MR
185372011-06-22 Martin Rudalics <rudalics@gmx.at>
18538
18539 * window.el (display-buffer-default-specifiers)
18540 (display-buffer-alist): Remove entries for pop-up-frame-alist.
18541 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 18542 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
18543
18544 * frame.el (pop-up-frame-alist, pop-up-frame-function)
18545 (special-display-frame-alist, special-display-popup-frame):
18546 Remove duplicate declarations. These are now in window.el.
18547
4ea31e07
LMI
185482011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
18549
c9d29fb8
SM
18550 * mail/smtpmail.el (smtpmail-via-smtp):
18551 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
18552 server supports it. SMTP servers that support STARTTLS commonly
18553 require it.
18554
18555 * net/network-stream.el (network-stream-open-starttls): Support
18556 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 18557 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 18558
95f41d9a
LMI
18559 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
18560 upgrades with `open-network-stream', and rely solely on
18561 auth-source for all credentials. Big changes throughout the file,
18562 but in particular:
c9d29fb8
SM
18563 (smtpmail-auth-credentials): Remove.
18564 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
18565 (smtpmail-via-smtp): Check for servers saying they want AUTH after
18566 MAIL FROM, too.
95f41d9a 18567
c9d29fb8
SM
18568 * net/network-stream.el (network-stream-open-starttls):
18569 Provide support for client certificates both for external and built-in
4ea31e07
LMI
18570 STARTTLS.
18571 (auth-source): Require.
18572 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
18573 (network-stream-certificate): Change cert-cert to cert and
18574 cert-key to key.
4ea31e07 18575
065ec2c7
MA
185762011-06-21 Michael Albinus <michael.albinus@gmx.de>
18577
18578 * net/tramp-cache.el (top): Don't load the persistency file when
18579 "emacs -Q" has been called.
18580
cd93b359
DR
185812011-06-21 Tim Harper <timcharper@gmail.com>
18582
d8e4b68b
JB
18583 * term/ns-win.el (ns-initialize-window-system):
18584 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
18585 resource to NO as it is not yet supported by the NS port.
18586
ae9c0411
JB
185872011-06-21 Juanma Barranquero <lekktu@gmail.com>
18588
18589 * misc.el (list-dynamic-libraries--refresh): Compute header here...
18590 (list-dynamic-libraries): ...not here.
18591
7f3f739f
LL
185922011-06-21 Leo Liu <sdl.web@gmail.com>
18593
18594 * subr.el (sha1): Implement sha1 using secure-hash.
18595
327c8fb1
MR
185962011-06-21 Martin Rudalics <rudalics@gmx.at>
18597
18598 * window.el (display-buffer-alist): In default value do not
18599 enforce searching a window on any but the selected frame.
18600 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
18601 (display-buffer-select-window): Remove function.
18602 (display-buffer-in-window): When a window on another frame gets
18603 reused, do not select it any more but just raise its frame if
18604 necessary (Bug#8851) and (Bug#8856).
18605 (display-buffer-normalize-options): Handle pop-up-frames related
18606 options more faithfully.
18607 (pop-to-buffer): Don't rely on `display-buffer' selecting the
18608 window if it is on another frame.
c9d29fb8
SM
18609 (display-buffer-alist, display-buffer-default-specifiers):
18610 Don't make new frame unsplittable by default.
9e9de014
MR
18611 (display-buffer-normalize-argument): Fix doc-string typo and use
18612 'same-frame-other-window instead of 'other-window when associating
18613 with display-buffer-macro-specifiers.
327c8fb1 18614
7cf3f556
VB
186152011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
18616
18617 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
18618 New functions.
18619 (5x5-mode-map, 5x5-mode-menu): Bind them.
18620 (5x5-draw-grid): Tweak the solver's rendering.
18621
60a406cf
SM
186222011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
18623
18624 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
18625 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
18626
d8e4b68b 186272011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
18628
18629 * menu-bar.el: Use function variable instead of switch-to-buffer.
18630 (menu-bar-select-buffer-function): New variable.
60a406cf 18631 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 18632
478d6f95
SM
186332011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
18634
18635 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
18636 variable's status.
18637
ca530739
JD
186382011-06-20 Jan Djärv <jan.h.d@swipnet.se>
18639
18640 * x-dnd.el (x-dnd-version-from-flags)
18641 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
18642 and long as number (Bug#8899).
18643 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
18644
bcd70d97
SM
186452011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
18646
60a406cf 18647 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
18648 (completion-try-completion, completion-all-completions): Compute the
18649 metadata argument if it's missing; make it optional (bug#8795).
18650
60a406cf 18651 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
18652 (widget-complete): Use new :completion-function property.
18653 (widget-completions-at-point): New function.
18654 (default): Use :completion-function instead of :complete.
60a406cf
SM
18655 (widget-default-completions): Rename from widget-default-complete;
18656 Rewrite.
bcd70d97
SM
18657 (widget-string-complete, widget-file-complete, widget-color-complete):
18658 Remove functions.
18659 (file, symbol, function, variable, coding-system, color):
18660 * international/mule-cmds.el (default-input-method, charset)
18661 (language-info-custom-alist):
18662 * cus-edit.el (face): Use new property :completions.
18663
18664 * progmodes/pascal.el (pascal-completions-at-point): New function.
18665 (pascal-mode): Use it.
18666 (pascal-mode-map): Use completion-at-point.
18667 (pascal-toggle-completions): Make obsolete.
18668 (pascal-complete-word, pascal-show-completions):
18669 * progmodes/octave-mod.el (octave-complete-symbol):
18670 Redefine as obsolete alias.
18671 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
18672 Signal absence of completion info for old Octave,
18673 (inferior-octave-complete): Redefine as obsolete alias.
18674 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
18675 (meta-completions-at-point): Rename from meta-complete-symbol and
18676 adapt it for use on completion-at-point-functions.
18677 (meta-common-mode): Use it.
18678 (meta-looking-at-backward, meta-match-buffer): Remove.
18679 (meta-complete-symbol): Redefine as obsolete alias.
18680 (meta-common-mode-map): Use completion-at-point.
18681 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
18682 (makefile-mode-map): Use completion-at-point.
18683 (makefile-completions-at-point): Rename from makefile-complete and
18684 adapt it for use on completion-at-point-functions.
18685 (makefile-mode): Use it.
18686 (makefile-complete): Redefine as obsolete alias.
18687
aebf69c8
DD
186882011-06-20 Deniz Dogan <deniz@dogan.se>
18689
18690 * net/rcirc.el: Delete trailing whitespaces once and for all.
18691
bfbbb27d
DC
186922011-06-20 Daniel Colascione <dan.colascione@gmail.com>
18693
18694 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
18695
d264a46b
CY
186962011-06-19 Chong Yidong <cyd@stupidchicken.com>
18697
4ca009e5
CY
18698 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
18699
d264a46b
CY
18700 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
18701
fbf5b3ce
MR
187022011-06-19 Martin Rudalics <rudalics@gmx.at>
18703
18704 * window.el (display-buffer-other-window-means-other-frame):
18705 Call display-buffer-normalize-alist.
18706 (display-buffer-normalize-specifiers-1): Rename to
18707 display-buffer-normalize-argument. New argument other-frame.
18708 Rewrite.
18709 (display-buffer-normalize-specifiers-2): Rename to
18710 display-buffer-normalize-options.
18711 (display-buffer-normalize-alist-1): New function.
18712 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
18713 display-buffer-normalize-alist.
18714 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
18715 (display-buffer-normalize-options-inhibit): New variable.
18716 (display-buffer-normalize-specifiers): Rewrite calling
18717 display-buffer-normalize-alist,
18718 display-buffer-normalize-argument, and
18719 display-buffer-normalize-options. Don't call the latter if
18720 display-buffer-normalize-options-inhibit is non-nil.
18721 (frame-auto-delete): New option.
18722 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
18723 (window-list-no-nils, window-state-ignored-parameters)
18724 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
18725 (window-state-put-1, window-state-put-2, window-state-put):
18726 New functions.
9a028c23
MR
18727 (display-buffer-normalize-options): Move special-display-p group
18728 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 18729
6d10d800
CY
187302011-06-18 Chong Yidong <cyd@stupidchicken.com>
18731
6420d28b
CY
18732 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
18733 groups (Bug#8776).
18734 (rx-submatch-n): New function.
18735 (rx): Document it.
18736
ddb8b596
CY
18737 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
18738 (Bug#8768).
18739
18740 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
18741
77080289
CY
18742 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
18743
61dfb316
CY
18744 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
18745 anytime existing face settings are present (Bug#8889).
18746
6d10d800
CY
18747 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
18748 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
18749 Remove unused argument.
18750
be3fb2b8
MR
187512011-06-18 Martin Rudalics <rudalics@gmx.at>
18752
bcd70d97
SM
18753 * window.el (display-buffer-default-specifiers):
18754 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
18755 pop-up-window-min-width, and another reuse-window specifier
18756 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
18757 (display-buffer-normalize-specifiers-2):
18758 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
18759 pop-up-windows is unset. Add a reuse-window specifier for the
18760 case popping up a new window fails.
18761 (special-display-popup-frame): Remove double quoting.
28dec25a 18762 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 18763
1c6d8c76
SM
187642011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
18765
18766 * shell.el (shell-completion-vars): Set pcomplete-termination-string
18767 according to comint-completion-addsuffix.
18768
18769 * pcomplete.el: Convert to lexical binding and fix bug#8819.
18770 (pcomplete-suffix-list): Mark as obsolete.
18771 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
18772 pcomplete-seen in the closure.
18773 (pcomplete-comint-setup): Setup completion-at-point as well.
18774 (pcomplete--entries): New function.
18775 (pcomplete--env-regexp): New var.
18776 (pcomplete-entries): Rewrite to work with partial-completion and
18777 without relying on pcomplete-suffix-list.
18778 (pcomplete-pare-list): Remove, unused.
18779
25aef8b8
MR
187802011-06-17 Martin Rudalics <rudalics@gmx.at>
18781
18782 * window.el (display-buffer-alist): Set pop-up-window-min-height
18783 and pop-up-window-min-width in default value. Reported by
18784 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
18785 other-window-means-other-frame.
18786 (display-buffer-macro-specifiers): Comment out entry for
18787 other-window specifier.
18788 (display-buffer-other-window-means-other-frame): New function.
18789 (display-buffer-normalize-specifiers-1): New arguments
18790 buffer-name and label. Treat other-window case specially.
18791 (display-buffer-normalize-specifiers-2): Treat other-window case
18792 specially.
18793 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
18794 (display-buffer-normalize-specifiers):
18795 Call display-buffer-normalize-specifiers-3.
25aef8b8 18796
dbad4f69
MR
187972011-06-17 Martin Rudalics <rudalics@gmx.at>
18798
18799 * window.el (same-window-p): Fix two typos introduced when
18800 adding with-no-warnings.
d1067961
MR
18801 (display-buffer-normalize-specifiers-1): Don't check
18802 pop-up-frames for 'unset initialization.
18803 (display-buffer-normalize-specifiers-2): Major rewrite using
18804 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
18805 (pop-up-frames, display-buffer-reuse-frames)
18806 (display-buffer-mark-dedicated): Don't initialize to 'unset.
18807 Suggested by David Engster <deng@randomsample.de>.
18808 (even-window-heights): Initialize to 'unset.
18809 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
18810 (display-buffer-macro-specifiers): Don't pop up a new frame in the
18811 other window case.
dbad4f69 18812
9b9c9e3a
MR
188132011-06-16 Martin Rudalics <rudalics@gmx.at>
18814
bcd70d97
SM
18815 * window.el (display-buffer-normalize-specifiers-1):
18816 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 18817 second argument of display-buffer (Bug#8865).
981d5c09
MR
18818 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
18819 (switch-to-buffer-other-window-same-frame)
18820 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
18821 Adams (Bug#8875).
9c2755e9
MR
18822 (display-buffer): Don't check noninteractive when calling
18823 display-buffer-pop-up-frame.
18824 (display-buffer-pop-up-frame): Never pop up a frame in
18825 noninteractive mode (Bug#8857).
67222e1d
MR
18826 (enlarge-window, shrink-window): Don't report an error when the
18827 window can't be resized as requested (Bug#8862).
9b9c9e3a 18828
2b75be67
SM
188292011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
18830
9ffdd3ba
SM
18831 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
18832
cb581a67
SM
18833 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
18834
2b75be67
SM
18835 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
18836
8c0e3589
AM
188372011-06-15 Alan Mackenzie <acm@muc.de>
18838
cb581a67
SM
18839 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
18840 for declarators, disable knr checking to speed up for normal files.
18841 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 18842
b96e6cde
LMI
188432011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
18844
4bba86e6
LMI
18845 * net/network-stream.el (open-network-stream): Add the keyword
18846 :always-query-capabilities for the case where you want to force a
18847 `plain' network connection, but the protocol still requires the
18848 capabilitiy command (i.e., SMTP and EHLO).
18849
2b75be67 18850 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
18851 consistency with other `-live-p' functions.
18852
efdcdbf8
SM
188532011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
18854
18855 * window.el (same-window-buffer-names, same-window-regexps)
18856 (special-display-frame-alist, special-display-popup-frame)
18857 (special-display-function, special-display-buffer-names)
18858 (special-display-regexps, pop-up-frame-alist)
18859 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
18860 (pop-up-windows, split-window-preferred-function)
18861 (split-height-threshold, split-width-threshold, even-window-heights)
18862 (display-buffer-mark-dedicated): Don't encourage the use of
18863 display-buffer-alist from Elisp code.
18864
c5cde042
DN
188652011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
18866
18867 * progmodes/python.el (python-mode): Derive from prog-mode.
18868 * progmodes/ps-mode.el (ps-mode):
18869 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 18870 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
18871 * progmodes/ld-script.el (ld-script-mode): Likewise.
18872
baa1c9ab
MR
188732011-06-15 Martin Rudalics <rudalics@gmx.at>
18874
18875 * window.el (display-buffer-alist): Trim default value to avoid
18876 popping up a new frame (Bug#8857) or reusing an arbitrary window
18877 on another frame.
18878 (display-buffer): Do not fall back on popping up a new frame in
18879 batch mode (Bug#8857).
18880
c5dd5a51
CY
188812011-06-14 Chong Yidong <cyd@stupidchicken.com>
18882
18883 * cus-theme.el (describe-theme-1): Use custom-theme-p.
18884 (custom-theme-summary): New function.
18885 (customize-themes): Use it.
18886
d647b7c4
GM
188872011-06-13 Glenn Morris <rgm@gnu.org>
18888
18889 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
18890
9481c002
MR
188912011-06-13 Martin Rudalics <rudalics@gmx.at>
18892
357f93d2
MR
18893 * help.el (help-window): Remove variable.
18894 (help-window-point-marker, temp-buffer-max-height)
18895 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
18896 (help-print-return-message): Don't set help-window.
18897 (resize-temp-buffer-window): Rewrite cod eand doc-string.
18898 (help-window-setup-finish): Remove.
18899 (help-window-display-message, help-window-setup)
18900 (with-help-window): Major rewrite based on new
18901 display-buffer-window variable.
18902
18903 * help-mode.el (help-mode-finish): Remove help-window related
18904 code.
18905
18906 * view.el (view-exits-all-viewing-windows): Remove reference to
18907 view-return-to-alist in doc-string.
18908 (view-return-to-alist): Make obsolete.
18909 (view-buffer): Call pop-to-buffer-same-window and remove
18910 undo-window code.
18911 (view-buffer-other-window): Call pop-to-buffer-other-window and
18912 simplify code. Ignore second argument.
18913 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
18914 simplify code. Ignore second argument.
18915 (view-return-to-alist-update): Make obsolete.
18916 (view-mode-enter): Rename second argument to QUIT-RESTORE.
18917 Rewrite using quit-restore window parameters.
2b75be67
SM
18918 (view-mode-exit): Rename second argument to EXIT-ONLY.
18919 Rewrite using quit-restore-window.
357f93d2
MR
18920 (View-exit, View-exit-and-edit, View-leave, View-quit)
18921 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
18922 appropriate arguments.
18923 (view-end-message): Use quit-restore window parameter.
18924
9481c002
MR
18925 * window.el (display-buffer-function): Rewrite doc-string.
18926 (display-buffer-window, display-buffer-alist): New variables.
18927 (display-buffer-split-specifiers)
18928 (display-buffer-side-specifiers)
18929 (display-buffer-macro-specifiers): New constants.
18930 (display-buffer-even-window-sizes, display-buffer-set-height)
18931 (display-buffer-set-width, display-buffer-select-window)
18932 (display-buffer-in-window, display-buffer-reuse-window)
18933 (display-buffer-split-window-1, display-buffer-split-window)
18934 (display-buffer-split-atom-window, display-buffer-pop-up-window)
18935 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
18936 (display-buffer-in-side-window, normalize-buffer-to-display)
18937 (display-buffer-normalize-specifiers-1)
18938 (display-buffer-normalize-specifiers-2)
2b75be67
SM
18939 (display-buffer-normalize-specifiers, display-buffer-frame):
18940 New functions.
9481c002
MR
18941 (display-buffer): Major rewrite.
18942 (display-buffer-other-window, display-buffer-other-frame)
18943 (pop-to-buffer, switch-to-buffer-other-window)
18944 (switch-to-buffer-other-frame): Rewrite.
18945 (display-buffer-same-window, display-buffer-same-frame)
18946 (display-buffer-same-frame-other-window)
18947 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
18948 (pop-to-buffer-other-window)
18949 (pop-to-buffer-same-frame-other-window)
18950 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
18951 (switch-to-buffer-other-window-same-frame): New functions.
18952 (same-window-p, special-display-p): Rewrite disabling warnings.
18953 Make obsolete.
18954 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
18955 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
18956 Make obsolete
18957 (same-window-buffer-names, same-window-regexps)
18958 (special-display-frame-alist, special-display-popup-frame)
18959 (special-display-function, special-display-buffer-names)
18960 (special-display-regexps, pop-up-frame-alist)
18961 (pop-up-frame-function, split-window-preferred-function)
18962 (split-height-threshold, split-width-threshold)
18963 (even-window-heights): Make obsolete.
18964
9db51aca
GM
189652011-06-12 Glenn Morris <rgm@gnu.org>
18966
18967 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 18968 Misc simplifications.
9db51aca 18969
39cffb44
MR
189702011-06-12 Martin Rudalics <rudalics@gmx.at>
18971
18972 * window.el (window-safely-shrinkable-p): Restore function which
18973 was inadvertently removed in change from 2011-06-11. Declare as
18974 obsolete.
18975
2b75be67
SM
18976 * calendar/calendar.el (calendar-generate-window):
18977 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
18978 window-safely-shrinkable-p.
18979
a8955be7
GM
189802011-06-12 Glenn Morris <rgm@gnu.org>
18981
18982 * progmodes/fortran.el (fortran-mode-syntax-table):
18983 * progmodes/f90.el (f90-mode-syntax-table):
18984 Set % to punctuation. (Bug#8820)
18985 (f90-find-tag-default): Remove, no longer needed.
18986
f0d4059d
DC
189872011-06-12 Daniel Colascione <dan.colascione@gmail.com>
18988
18989 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
18990
1100a63c
CY
189912011-06-11 Chong Yidong <cyd@stupidchicken.com>
18992
18993 * image.el (image-animated-p): Return animation delay in seconds.
18994 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
18995 (image-animate-timeout): Remove DELAY argument. Don't assume
18996 every subimage has the same delay; get it from image-animated-p.
18997 (image-animate): Caller changed.
18998
def722bf
MA
189992011-06-11 Michael Albinus <michael.albinus@gmx.de>
19000
19001 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
19002 to ignored backtrace functions.
19003
0a2bb1a9
GM
190042011-06-11 Glenn Morris <rgm@gnu.org>
19005
19006 * calendar/appt.el (appt-disp-window-function): Doc fix.
19007 (appt-check): Handle overlapping appointments. (Bug#8337)
19008
6198ccd0
MR
190092011-06-11 Martin Rudalics <rudalics@gmx.at>
19010
19011 * window.el (window-tree-1, window-tree): New functions, moving
19012 the latter to window.el.
19013 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
19014 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
19015 (bw-refresh-edges): Remove.
19016 (balance-windows-1, balance-windows-2): New functions.
19017 (balance-windows): Rewrite in terms of window tree functions,
19018 balance-windows-1 and balance-windows-2.
19019 (bw-adjust-window): Remove.
19020 (balance-windows-area-adjust): New function with functionality of
19021 bw-adjust-window but using resize-window.
2b75be67
SM
19022 (set-window-text-height): Rewrite doc-string.
19023 Use normalize-live-window and resize-window.
19024 (enlarge-window-horizontally, shrink-window-horizontally):
19025 Rename argument to DELTA.
6198ccd0
MR
19026 (window-buffer-height): New function.
19027 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
19028 Rewrite using new window resize routines.
2b75be67
SM
19029 (kill-buffer-and-window, mouse-autoselect-window-select):
19030 Use ignore-errors instead of condition-case.
6198ccd0
MR
19031 (quit-window): Call delete-frame instead of delete-windows-on
19032 for the only buffer on frame.
19033
9397e56f
MR
190342011-06-10 Martin Rudalics <rudalics@gmx.at>
19035
19036 * loadup.el (top-level): Load window before files for the sake
19037 of replace-buffer-in-windows.
19038
19039 * files.el (read-buffer-to-switch)
19040 (switch-to-buffer-other-window)
2b75be67
SM
19041 (switch-to-buffer-other-frame, display-buffer-other-frame):
19042 Move to window.el.
9397e56f
MR
19043
19044 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
19045 (previous-buffer): Move to window.el.
19046
19047 * bindings.el (unbury-buffer): Move to window.el.
19048
19049 * window.el (delete-other-windows-vertically): Move after
19050 definition of delete-other-windows.
19051 (other-window, delete-windows-on, replace-buffer-in-windows):
19052 Move here from window.c.
19053 (record-window-buffer, unrecord-window-buffer)
19054 (set-window-buffer-start-and-point, switch-to-prev-buffer)
19055 (switch-to-next-buffer): New functions.
19056 (get-next-valid-buffer, last-buffer, next-buffer): Move here
19057 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
19058 (previous-buffer): Move here from simple.el.
19059 Call switch-to-prev-buffer.
9397e56f
MR
19060 (bury-buffer): Move here from buffer.c. Switch to previous
19061 buffer when window cannot be deleted.
19062 (unbury-buffer): Move here from bindings.el.
19063 (ctl-x-map): Move binding for other-window from window.c to
19064 here.
19065 (read-buffer-to-switch, switch-to-buffer-other-window)
19066 (switch-to-buffer-other-frame): Move here from files.el.
19067 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
19068 (switch-to-buffer): Move here from buffer.c.
19069 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 19070
562dd5e9
MR
190712011-06-10 Martin Rudalics <rudalics@gmx.at>
19072
19073 * window.el (window-min-height, window-min-width): Move here
19074 from window.c. Add defcustoms and rewrite doc-strings.
19075 (resize-mini-window, resize-window): New functions.
19076 (adjust-window-trailing-edge, enlarge-window, shrink-window):
19077 Move here from window.c.
19078 (maximize-window, minimize-window): New functions.
19079 (delete-window, delete-other-windows, split-window): Move here
19080 from window.c.
19081 (window-split-min-size): New function.
19082 (split-window-keep-point): Mention split-window-above-each-other
19083 instead of split-window-vertically.
2b75be67 19084 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
19085 Rename split-window-vertically to split-window-above-each-other
19086 and provide defalias for old definition.
19087 (split-window-side-by-side, split-window-horizontally):
19088 Rename split-window-horizontally to split-window-side-by-side
19089 and provide defalias for the old definition.
562dd5e9
MR
19090 (ctl-x-map): Move bindings for delete-window,
19091 delete-other-windows and enlarge-window here from window.c.
19092 Replace bindings for split-window-vertically and
19093 split-window-horizontally by bindings for
19094 split-window-above-each-other and split-window-side-by-side.
19095
19096 * cus-start.el (all): Remove entries for window-min-height and
19097 window-min-width. Add entries for window-splits and
19098 window-nest.
19099
f0da764a
GM
191002011-06-09 Glenn Morris <rgm@gnu.org>
19101
80675c21
GM
19102 * calendar/appt.el (appt-mode-line): New function.
19103 (appt-check, appt-disp-window): Use it.
19104
f0da764a
GM
19105 * files.el (hack-one-local-variable-eval-safep):
19106 Allow minor-modes with explicit +/-1 arguments.
19107
59f623b7
TZ
191082011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
19109
19110 * term/xterm.el (xterm): Add defgroup.
19111 (xterm-extra-capabilities): Add defcustom to supply known xterm
19112 capabilities, skip querying them, or query them (default).
19113 (terminal-init-xterm): Use it.
19114 (terminal-init-xterm-modify-other-keys): New function to set up
19115 modifyOtherKeys support to simplify `terminal-init-xterm'.
19116
9aab8e0d
MR
191172011-06-09 Martin Rudalics <rudalics@gmx.at>
19118
19119 * window.el (resize-window-reset, resize-window-reset-1)
19120 (resize-subwindows-skip-p, resize-subwindows-normal)
19121 (resize-subwindows, resize-other-windows, resize-this-window)
19122 (resize-root-window, resize-root-window-vertically)
19123 (window-deletable-p, window-or-subwindow-p)
19124 (frame-root-window-p): New functions.
19125
e8b08aee
GM
191262011-06-09 Glenn Morris <rgm@gnu.org>
19127
19128 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
19129 (ange-ftp-get-files): Use it.
19130
254c37a5
AK
191312011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
19132
19133 * mail/sendmail.el (mail-recover-1, mail-recover):
19134 * files.el (recover-file, recover-session):
19135 Handle dired-listing-switches not being just a single short option.
19136
35d7dbd3
GM
191372011-06-09 Glenn Morris <rgm@gnu.org>
19138
19139 * calendar/appt.el (appt-display-message, appt-disp-window):
19140 Handle lists of appointments.
19141
387522b2
MR
191422011-06-08 Martin Rudalics <rudalics@gmx.at>
19143
2b75be67
SM
19144 * window.el (one-window-p): Move down in code.
19145 Rewrite doc-string.
19146 (window-current-scroll-bars): Rewrite doc-string.
19147 Normalize live window argument.
387522b2
MR
19148 (walk-windows, get-window-with-predicate, count-windows):
19149 Rewrite doc-string. Use window-list-1.
19150 (window-in-direction-2, window-in-direction, get-mru-window):
19151 New functions.
19152
d8e4b68b 191532011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
19154
19155 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
19156 Doc fix (Bug#8713).
19157
191582011-06-08 Chong Yidong <cyd@stupidchicken.com>
19159
19160 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
19161
191622011-06-08 Juanma Barranquero <lekktu@gmail.com>
19163
19164 * loadhist.el (unload-feature-special-hooks):
19165 Add `comint-output-filter-functions'.
19166
0de12c52
IK
191672011-06-08 Ivan Kanis <gnu@kanis.fr>
19168
19169 * calendar/appt.el (appt-check): Move some initializations into the let.
19170
f3d1777e
MR
191712011-06-08 Martin Rudalics <rudalics@gmx.at>
19172
19173 * window.el (window-height): Defalias to window-total-height.
19174 (window-width): Defalias to window-body-width.
19175
18af70d0
CY
191762011-06-07 Chong Yidong <cyd@stupidchicken.com>
19177
19178 * image-mode.el (image-toggle-animation): New command.
19179 (image-mode-map): Bind it to RET.
19180 (image-mode): Update message.
19181 (image-toggle-display-image): Avoid a spurious cache flush.
19182 (image-transform-rotation): Doc fix.
19183 (image-transform-properties): Return quickly in the normal case.
19184 (image-animate-loop): Rename from image-animate-max-time.
19185
2b75be67 19186 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
19187 (create-animated-image): Remove unnecessary function.
19188 (image-animate): Rename from image-animate-start. New arg.
2b75be67 19189 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
19190 (image-animate-timer): Use car-safe.
19191 (image-animate-timeout): Rename argument.
19192
190b47e6
MR
191932011-06-07 Martin Rudalics <rudalics@gmx.at>
19194
19195 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
19196 window.c. Rename first argument to ALL-FRAMES.
19197 Rephrase doc-strings.
19198 (get-buffer-window-list): Rewrite using window-list-1.
19199 Rephrase doc-string.
a1511caf
MR
19200 (window-safe-min-height, window-safe-min-width): New constants.
19201 (window-size-ignore, window-min-size, window-min-size-1)
19202 (window-sizable, window-sizable-p, window-size-fixed-1)
19203 (window-size-fixed-p, window-min-delta-1, window-min-delta)
19204 (window-max-delta-1, window-max-delta, window-resizable)
19205 (window-resizable-p, window-total-height, window-total-width)
19206 (window-body-width): New functions.
19207 (window-full-height-p, window-full-width-p): Rewrite using
19208 window-total-size.
19209 (window-body-height): Rewrite using window-body-size.
190b47e6 19210
85cc1f11
MR
192112011-06-06 Martin Rudalics <rudalics@gmx.at>
19212
19213 * window.el (window-right, window-left, window-child)
19214 (window-child-count, window-last-child, window-any-p)
19215 (normalize-live-buffer, normalize-live-frame)
19216 (normalize-any-window, normalize-live-window)
19217 (window-iso-combination-p, window-iso-combined-p)
19218 (window-iso-combinations)
19219 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
19220 (windows-with-parameter, window-with-parameter)
19221 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
19222 (window-atom-check, window-side-check, window-check):
19223 New functions.
85cc1f11
MR
19224 (ignore-window-parameters, window-sides, window-sides-vertical)
19225 (window-sides-slots): New variables.
19226 (window-size-fixed): Move down in code. Minor doc-string fix.
19227
e7156492
AS
192282011-06-05 Andreas Schwab <schwab@linux-m68k.org>
19229
19230 * comint.el (comint-dynamic-complete-as-filename)
19231 (comint-dynamic-complete-filename): Correctly call
19232 completion-in-region.
19233
7e821d0d
DD
192342011-06-05 Deniz Dogan <deniz@dogan.se>
19235
19236 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
19237 in last change.
19238
ac09b8a1
DD
192392011-06-05 Deniz Dogan <deniz@dogan.se>
19240
19241 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
19242 (rcirc): Use it to prompt for encryption.
19243
34699b85
RW
192442011-06-05 Roland Winkler <winkler@gnu.org>
19245
19246 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
19247 (bibtex-search-entries): New command bound to C-c C-a.
19248 (bibtex-display-entries): New function.
19249
004dedd3
RW
192502011-06-05 Roland Winkler <winkler@gnu.org>
19251
19252 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
19253 (bibtex-insert-kill): After yanking insert newline if necessary.
19254 (bibtex-initialize): Call bibtex-string-files-init only once.
19255 (bibtex-mode): Do not call easy-menu-add.
19256 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
19257 (bibtex-yank): Set arg properly if nil.
19258
022fe7ce
RW
192592011-06-05 Roland Winkler <winkler@gnu.org>
19260
2b75be67
SM
19261 * textmodes/bibtex.el (bibtex-search-entry-globally):
19262 New variable.
022fe7ce
RW
19263 (bibtex-search-entry): Use it.
19264
b7c3692a
RW
192652011-06-05 Roland Winkler <winkler@gnu.org>
19266
19267 * textmodes/bibtex.el (bibtex-entry-format): New option
19268 sort-fields.
19269 (bibtex-format-entry, bibtex-reformat): Honor this option.
19270 (bibtex-parse-entry): Return fields in proper order.
19271
8eda563d
JB
192722011-06-05 Juanma Barranquero <lekktu@gmail.com>
19273
19274 * doc-view.el (doc-view-remove-if): Move computation of result out
19275 of `dolist' to silence misleading lexical-binding warning.
19276
7dbe3dbc
CY
192772011-06-04 Chong Yidong <cyd@stupidchicken.com>
19278
19279 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
19280 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
19281
0c33dd17
MA
192822011-06-04 Michael Albinus <michael.albinus@gmx.de>
19283
19284 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
19285 "SunOS 5.10".
19286
f8f91c2b
MA
192872011-06-04 Michael Albinus <michael.albinus@gmx.de>
19288
19289 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
19290 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
19291 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
19292 (tramp-parse-putty):
19293 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
19294 (tramp-completion-function-alist-ssh)
19295 (tramp-completion-function-alist-telnet)
19296 (tramp-completion-function-alist-su)
19297 (tramp-completion-function-alist-putty): Set `tramp-autoload'
19298 cookie.
19299
19300 * net/tramp-ftp.el:
19301 * net/tramp-sh.el:
19302 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
19303 load "tramp.el" `tramp-set-completion-function'.
19304
e17d9003
SM
193052011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
19306
19307 * shell.el: Require and use pcomplete.
19308 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
19309 (shell-completion-vars): Set pcomplete-default-completion-function.
19310
6c4cab03
DD
193112011-06-04 Deniz Dogan <deniz@dogan.se>
19312
19313 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
19314 `memq' (Bug#8799).
19315
ea9fafe0
SM
193162011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
19317
19318 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
19319
b3e945d3
JB
193202011-06-02 Juanma Barranquero <lekktu@gmail.com>
19321
19322 * bs.el (bs--mark-unmark, bs--nth-wrapper):
19323 * mpc.el (mpc-select-extend, mpc-songpointer-context):
19324 * vc/log-view.el (log-view-beginning-of-defun):
19325 * vc/smerge-mode.el (smerge-apply-resolution-patch)
19326 (smerge-refine-forward, smerge-refine-chopup-region):
19327 Silence warning for unused `dotimes' counter variables.
19328
7d520089
SM
193292011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
19330
19331 * net/tramp.el (tramp-with-progress-reporter): Rename from
19332 with-progress-reporter. Use `declare'.
19333 * net/tramp-smb.el:
19334 * net/tramp-sh.el:
19335 * net/tramp-gvfs.el: Update all uses.
19336
a1c2400f
JB
193372011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
19338
19339 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
19340 buffer isn't killed before making it current.
19341
2403c841
SM
193422011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
19343
19344 Silence various byte-compiler warnings.
19345 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
19346 `access-type' and new obsolescence format.
19347 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
19348 new format.
19349 (byte-compile-check-variable): New `access-type' argument.
19350 Only warn if the access-type is obsolete.
19351 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
19352 (byte-compile-variable-set): Adjust callers.
19353 * help-fns.el (describe-variable): Adjust to new obsolescence format.
19354 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
19355 setting it as obsolete.
19356 * simple.el (minibuffer-completing-symbol):
19357 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
19358 access as obsolete.
19359 * minibuffer.el (minibuffer-completing-file-name): Don't make it
19360 obsolete yet.
19361 * international/quail.el (quail-mouse-choose-completion): Remove unused
19362 code referring to obsolete var.
19363 (quail-choose-completion-string): Remove.
19364 * server.el (server-clients-with, server-kill-buffer-query-function)
19365 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
19366 * proced.el (proced-send-signal):
19367 * emacs-lisp/lisp.el (lisp-complete-symbol):
19368 Replace completion-annotate-function with completion-extra-properties.
19369
2462470b
SM
193702011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
19371
fb5b2591
SM
19372 * simple.el (goto-line): Use read-number.
19373 (overriding-map-is-bound): Remove.
19374 (saved-overriding-map): Change default.
19375 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
19376 Take the map as argument.
19377 (universal-argument, negative-argument, digit-argument): Use it.
19378 (restore-overriding-map): Adjust.
19379 (do-auto-fill): Use fill-forward-paragraph.
19380 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
19381
fd6fa53f
SM
19382 * minibuffer.el (minibuffer-inactive-mode-map): New var.
19383 (minibuffer-inactive-mode): New major mode.
19384 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
19385 the *Messages* buffer" hack.
19386 (mouse-popup-menubar): Don't burp if the event is a normal key.
19387
2462470b
SM
19388 Miscellaneous tweaks.
19389 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
19390 lexical scoping as in subr.el's dolist and dotimes.
19391 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
19392 Silence compiler warning.
19393 * thingatpt.el (forward-whitespace): Trivial coding style fix.
19394 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
19395 * international/ccl.el (ccl-compile): Trivial simplification.
19396 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
19397 * emacs-lisp/testcover.el (testcover-end): Remove spurious
19398 `printflag' argument.
19399 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
19400 Purecopy the whole obsolescence data.
19401
108bf785
LL
194022011-06-01 Leo Liu <sdl.web@gmail.com>
19403
19404 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
19405 improve doc-string as suggested by Marco Pessotto
19406 <melmothx@gmail.com>.
19407 (rcirc-print): Fix last change.
19408
30a23501
SM
194092011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
19410
19411 * minibuffer.el (complete-with-action): Return nil for the metadata and
19412 boundaries of non-functional tables.
19413 (completion-table-dynamic): Return nil for the metadata.
19414 (completion-table-with-terminator): Add default case, using
19415 complete-with-action.
19416 (completion--metadata): New function.
19417 (completion-all-sorted-completions, minibuffer-completion-help): Use it
19418 to try and avoid pathological performance problems.
19419 (completion--embedded-envvar-table): Return `category' metadata.
19420
bcd54f83
LMI
194212011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
19422
19423 * subr.el (process-alive-p): New tiny convenience function.
19424
e227544d
SM
194252011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
19426
19427 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
19428 content but also its previous major mode.
19429
e8296fdc
HE
194302011-05-31 Helmut Eller <eller.helmut@gmail.com>
19431
4d61f28d 19432 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
19433 *Backtrace* buffer when we exit with C-M-c.
19434
620c53a6
SM
194352011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
19436
19437 * minibuffer.el: Add metadata method to completion tables.
19438 (completion-category-overrides): New defcustom.
19439 (completion-metadata, completion--field-metadata)
19440 (completion-metadata-get, completion--styles)
19441 (completion--cycle-threshold): New functions.
19442 (completion-try-completion, completion-all-completions):
19443 Add `metadata' argument to choose completion-styles.
19444 (completion--do-completion): Use metadata to choose cycling.
19445 (completion-all-sorted-completions): Use metadata for sorting.
19446 Remove :completion-cycle-penalty which is not needed any more.
19447 (completion--try-word-completion): Add `metadata' argument.
19448 (minibuffer-completion-help): Check metadata for annotation function
19449 and sorting.
19450 (completion-file-name-table): Return `category' metadata.
19451 (minibuffer-completing-file-name): Make obsolete.
19452 * simple.el (minibuffer-completing-symbol): Make obsolete.
19453 * icomplete.el (icomplete-completions): Pass new `metadata' param to
19454 completion-try-completion.
19455
1257e755
SM
194562011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
19457
19458 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
19459
3767e706
LL
194602011-05-30 Leo Liu <sdl.web@gmail.com>
19461
19462 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
19463 (rcirc-print): Decode all incoming messages (bug#8744).
19464 (rcirc-decode-coding-system): Allow value nil for automatic coding
19465 system detection.
3767e706 19466
d1a5d56a
GM
194672011-06-01 Glenn Morris <rgm@gnu.org>
19468
19469 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
19470
e8cbec34
CY
194712011-05-29 Chong Yidong <cyd@stupidchicken.com>
19472
19473 * image.el (image-animate-max-time): Allow nil and t values.
19474 Default to nil.
19475 (create-animated-image): Doc fix.
19476 (image-animate-start): Remove second arg; just use
19477 image-animate-max-time.
19478 (image-animate-timeout): Doc fix. Args changed.
19479
19480 * image-mode.el (image-toggle-display-image): Ensure that the
19481 image spec passed to the animate timer is the same object as in
58179cce 19482 the buffer's display property (Bug#6981).
e8cbec34
CY
19483 (image-transform-properties): Doc fix.
19484
19485 * image.el (image-animate-max-time): Default to nil.
19486
159daf87
MR
194872011-05-29 Martin Rudalics <rudalics@gmx.at>
19488
19489 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
19490 entire buffer list (Bug#8184).
19491
d66c4c7c
CY
194922011-05-29 Chong Yidong <cyd@stupidchicken.com>
19493
19494 * image.el (imagemagick-types-inhibit)
19495 (imagemagick-register-types): Doc fix.
19496
80aec780
DD
194972011-05-29 Deniz Dogan <deniz@dogan.se>
19498
19499 * net/rcirc.el (rcirc): Use the user's stored encryption method by
19500 default.
19501
1dd3c2d9
CY
195022011-05-29 Chong Yidong <cyd@stupidchicken.com>
19503
19504 * select.el: Don't perform clipboard-manager saving in hooks;
19505 leave the hooks empty.
19506
60e56523
LL
195072011-05-28 Leo Liu <sdl.web@gmail.com>
19508
19509 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
19510 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
19511 (occur-edit-mode): New major mode (Bug#8463).
19512 (occur-after-change-function): New function.
19513 (occur-engine): Give Occur tags a read-only property.
19514
2b1e1a22
KR
195152011-05-28 Kevin Ryde <user42@zip.com.au>
19516
19517 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
19518
5d344e88
CY
195192011-05-28 Chong Yidong <cyd@stupidchicken.com>
19520
8e6ca83d
CY
19521 * bindings.el (help-echo): Make the initial non-indicator dash
19522 empty on graphical terminals (Bug#7295).
19523
5d344e88
CY
19524 * files.el (auto-mode-alist): Move config rule after the
19525 in-stripping one (Bug#8547).
19526
bfbbace7
CY
19527 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
19528
fbeba6e2
CY
19529 * startup.el (normal-splash-screen): Remove gratuitous mode-line
19530 setting (Bug#8740).
19531
60ed8c72
AA
195322011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
19533
4ac619f0
AA
19534 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
19535 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
19536 (Bug#8539).
60ed8c72 19537
23db196e
CY
195382011-05-28 Chong Yidong <cyd@stupidchicken.com>
19539
19540 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
19541
5012f24c
DK
195422011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
19543
19544 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
19545 (hs-hide-block-at-point, hs-find-block-beginning)
19546 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
19547 (Bug#8279).
19548
6a639b16
GM
195492011-05-28 Glenn Morris <rgm@gnu.org>
19550
19551 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
19552
d43eaf2c
CY
195532011-05-28 Chong Yidong <cyd@stupidchicken.com>
19554
5199bde1
CY
19555 * help-fns.el (describe-function-1): If the function is a derived
19556 major mode, print the parent mode.
19557
d43eaf2c
CY
19558 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
19559 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
19560
423428a8
SM
195612011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
19562
0ff8e1ba 19563 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 19564 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
19565 * progmodes/etags.el (tags-completion-at-point-function):
19566 * info-look.el (info-lookup-completions-at-point): Mark as
19567 non-exclusive.
19568 (info-complete): Adjust accordingly.
19569
423428a8
SM
19570 * info-look.el: Convert to lexical-binding and completion-at-point.
19571 (info-lookup-completions-at-point): New function.
19572 (info-complete): Use it and completion-in-region.
19573
b74aa22b
DA
195742011-05-28 Drew Adams <drew.adams@oracle.com>
19575
19576 * isearch.el: Let M-e start with point at the first mismatched char.
19577 (isearch-fail-pos): New function.
19578 (isearch-edit-string): Use it.
19579
66e2e71d
DK
195802011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
19581
19582 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
19583
b1890b0f 195842011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
19585
19586 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
19587 traversal functions for avl-trees.
19588 (avl-tree--stack): New struct.
19589 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
19590 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
19591 (avl-tree--do-enter): Add optional `updatefun' arg.
19592 Change return value.
eb95d01d 19593 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
19594 (avl-tree--do-delete): Add `test' and `nilflag' args.
19595 Change return value.
eb95d01d
TC
19596 (avl-tree-member): Add optional `nilflag'
19597 (avl-tree-member-p): New function.
19598 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
19599 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
19600 (avl-tree-stack-empty-p): New functions.
19601
3769ddcf
TC
19602 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
19603 avl-tree--del-balance1 and make it work both ways.
19604 (avl-tree--del-balance2): Remove.
19605 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
19606 make it work both ways.
19607 (avl-tree--enter-balance2): Remove.
19608 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
19609 New macros.
19610 (avl-tree--mapc, avl-tree-map): Add direction argument.
19611
eb95d01d 196122011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
19613
19614 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
19615
a9f737ee
CY
196162011-05-27 Chong Yidong <cyd@stupidchicken.com>
19617
19618 * select.el: Support clipboard managers with built-in function
19619 x-clipboard-manager-save, via delete-frame-functions and
19620 kill-emacs-hook.
19621 (xselect-convert-to-targets): Add MULTIPLE target to list.
19622 (xselect-convert-to-save-targets): New function.
19623
c92a1e54
KH
196242011-05-27 Kenichi Handa <handa@m17n.org>
19625
19626 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
19627 let-binding rfc2047-encode-encoded-words to nil.
19628
e145f188
GM
196292011-05-27 Glenn Morris <rgm@gnu.org>
19630
5ec8a862
GM
19631 * mail/emacsbug.el: Don't require url-util.
19632
4b29d9fb
GM
19633 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
19634
e145f188
GM
19635 * files.el (set-auto-mode):
19636 Also respect mode: entries at the end of the file. (Bug#8586)
19637
7d15102b
GM
196382011-05-26 Glenn Morris <rgm@gnu.org>
19639
98f593b8
GM
19640 * files.el (hack-local-variables-prop-line, hack-local-variables):
19641 Downcase mode names, as seems to be traditional.
27b48e63 19642 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 19643
7d15102b
GM
19644 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
19645 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
19646
51d5b4ec
JD
196472011-05-25 Julien Danjou <julien@danjou.info>
19648
19649 * textmodes/rst.el (rst-define-level-faces): Do not define face
19650 symbol if it is already defined.
19651
91513f63
VB
196522011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
19653
19654 * play/5x5.el (5x5-new-game, 5x5-randomize):
19655 Reset 5x5-solver-output to nil when a new grid is cast.
19656 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
19657 these debugging traces, as defmacro breaks the compiled code.
19658
4d90d6d0
DK
196592011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
19660
19661 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
19662
e1b90ef6
LL
196632011-05-24 Leo Liu <sdl.web@gmail.com>
19664
19665 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
19666 (vc-bzr-sha1): Adapt.
19667
d8e4b68b 19668 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
19669
19670 * bindings.el: Provide sha1 feature.
19671
db0406bb 196722011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
19673
19674 * mail/sendmail.el: Require `rfc2047'.
19675 (mail-insert-from-field): Do not perform RFC2047 encoding.
19676 (mail-encode-header): New function.
19677 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
19678 buffer to the return value of select-message-coding-system.
19679 Call mail-encode-header.
b8d747b9
KH
19680
19681 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
19682
db0406bb 196832011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 19684
4d90d6d0
DK
19685 * mail/supercite.el (sc-default-cite-frame):
19686 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 19687
eb8a5e9b
GM
196882011-05-24 Glenn Morris <rgm@gnu.org>
19689
f8630703
GM
19690 * progmodes/python.el (brm-menu): Declare.
19691
8831bbed
GM
19692 * emulation/viper.el (viper-set-hooks): Declare.
19693
eb8a5e9b
GM
19694 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
19695 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
19696 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
19697 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
19698 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
19699 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
19700
a2a25d24
SM
197012011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
19702
19703 Add an :exit-function for completion-at-point.
19704
19705 * minibuffer.el (completion--done): New fun.
19706 (completion--do-completion): Use it. New arg `expect-exact'.
19707 (minibuffer-complete, minibuffer-complete-word): Don't output message,
19708 since completion--do-completion does it for us now.
19709 (minibuffer-force-complete): Use completion--done and
19710 completion--replace. Handle sole-completion case with more care.
19711 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
19712 (completion-extra-properties): New var.
19713 (completion-annotate-function): Make obsolete.
19714 (minibuffer-completion-help): Adjust accordingly.
19715 Use completion-list-insert-choice-function.
19716 (completion-at-point, completion-help-at-point):
19717 Bind completion-extra-properties.
19718 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
19719 * simple.el (completion-list-insert-choice-function): New var.
19720 (completion-setup-function): Preserve it.
19721 (choose-completion): Pay attention to it, shuffle the code a bit.
19722 (choose-completion-string): New arg `insert-function'.
19723
19724 * textmodes/bibtex.el: Convert to lexical binding.
19725 (bibtex-mode-map): Use completion-at-point.
19726 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
19727 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
19728 (bibtex-complete): Define as obsolete alias.
19729 (bibtex-complete-internal): Remove.
19730 (bibtex-format-entry): Remove unused sub-group in regexp.
19731 * shell.el (shell--command-completion-data)
19732 (shell-environment-variable-completion):
19733 * pcomplete.el (pcomplete-completions-at-point):
19734 * comint.el (comint--complete-file-name-data): Use :exit-function
19735 instead of completion-table-with-terminator so it also works for
19736 choose-completion.
19737
e44e373d
SM
197382011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
19739
4f91a816
SM
19740 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
19741
782fc819
SM
19742 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
19743 (bug#8710).
19744
e44e373d
SM
19745 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
19746
381987c3
KM
197472011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
19748
19749 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
19750 customization variable and implement: If non-nil, auto-fill will
19751 be inhibited while on topic's header line.
19752
b776bc70
VB
197532011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
19754
19755 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 19756 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
19757 always have a solution in grid size = 5 cases.
19758 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
19759 (5x5-solver-output, 5x5-log-buffer): New vars.
19760 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
19761 Make these variables buffer local to achieve 5x5 multi-session-ness.
19762 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
19763 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
19764 (5x5-solve-suggest): New funs.
19765 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
19766 randomize a grid so that we ensure that there is always a solution.
19767 (5x5-make-random-grid): Allow other movement than flipping.
19768
7de88b6e
KR
197692011-05-23 Kevin Ryde <user42@zip.com.au>
19770
19771 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 19772 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
19773 advice and passes PREDICATE.
19774
b1ef1257
SM
197752011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
19776
bbca48fe
SM
19777 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
19778 byte-compile-lambda if it's actually a lambda.
19779
b1ef1257
SM
19780 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
19781 Fix function quoting. Use backquote better.
19782
92a9cc65
YS
197832011-05-22 Yuanle Song <sylecn@gmail.com>
19784
19785 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
19786 matching (Bug#8516).
19787
f0fb8059
JA
197882011-01-22 Jari Aalto <jari.aalto@cante.net>
19789
19790 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
19791 different face (Bug#8178).
19792
d5b44c93
CY
197932011-05-22 Chong Yidong <cyd@stupidchicken.com>
19794
19795 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
19796 defface (Bug#8144).
19797
79106a44
SM
197982011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
19799
9c848d8a
SM
19800 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
19801 funcall as well (bug#8712). Warn when performing those conversions.
19802 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
19803
79106a44
SM
19804 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
19805
88dfa756
GM
198062011-05-22 Glenn Morris <rgm@gnu.org>
19807
19808 * files.el (hack-local-variables-prop-line): Small simplifications.
19809 (hack-local-variables, hack-local-variables-prop-line):
19810 If MODE-ONLY, return the mode, rather than just `t'.
19811
b7cf2c79
SM
198122011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
19813
19814 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
19815
3f1a8558
GM
198162011-05-21 Glenn Morris <rgm@gnu.org>
19817
7e4ccca3
GM
19818 * files.el (hack-local-variables-prop-line, hack-local-variables):
19819 If only interested in the mode, don't bother doing the other stuff.
19820
637d46ca
GM
19821 * image-mode.el (image-after-revert-hook):
19822 Redraw all frames on which the image is visible. (Bug#8567)
19823
973d955b
GM
19824 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
19825
3f1a8558
GM
19826 * wid-edit.el (widget-checklist-match-inline):
19827 Fix 2011-04-19 change. (Bug#8649)
19828
96479927
SM
198292011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
19830
1dcf791f
SM
19831 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
19832 Also allow singlespace after single-letter capitals followed by a dot.
19833
96479927
SM
19834 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
19835 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
19836
35fd0881
N
198372011-05-20 Nix <nix@esperi.org.uk>
19838
19839 * files.el (basic-save-buffer-2):
19840 Fix handling of break-hardlink-on-save with non-existent files.
19841
82745640
DD
198422011-05-19 Deniz Dogan <deniz@dogan.se>
19843
19844 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 19845 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 19846
4a720484
GM
198472011-05-19 Glenn Morris <rgm@gnu.org>
19848
d1f21341
GM
19849 * progmodes/f90.el (f90-type-def-re):
19850 Handle "type, bind(c)". (Bug#8691)
19851
4a720484
GM
19852 * emacs-lisp/autoload.el (batch-update-autoloads):
19853 Set autoload-excludes by parsing loadup.el rather than Makefiles.
19854
2fb0a219
MA
198552011-05-18 Michael Albinus <michael.albinus@gmx.de>
19856
19857 * net/tramp.el (tramp-process-actions): Set "first-password-request"
19858 property for the correct connection in case of multihops.
19859
e565dd37
GM
198602011-05-18 Glenn Morris <rgm@gnu.org>
19861
c2571358 19862 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
19863 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
19864
e565dd37
GM
19865 Rationalize calendar handling of day and month abbrev-arrays.
19866 * calendar/calendar.el (calendar-customized-p): New function.
19867 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
19868 (calendar-day-name-array, calendar-month-name-array): Doc fix.
19869 Add :set function.
19870 (calendar-abbrev-length, calendar-day-abbrev-array)
19871 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
19872 (calendar-day-abbrev-array, calendar-month-abbrev-array):
19873 Elements may no longer be nil.
19874 (calendar-day-name, calendar-month-name):
19875 Update for changed nature of abbrev arrays.
19876 * calendar/diary-lib.el (diary-name-pattern):
19877 Update for changed nature of abbrev arrays.
19878 (diary-mark-entries-1): Update calendar-make-alist calls.
19879 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
19880 * calendar/cal-html.el (cal-html-day-abbrev-array):
19881 Simply inherit from calendar-day-abbrev-array.
19882
1d99a745
SM
198832011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
19884
19885 * progmodes/grep.el (grep-mode): Disable default
19886 compilation-directory-matcher setting (bug#8684).
19887
7c1d9aa0
MA
198882011-05-17 Michael Albinus <michael.albinus@gmx.de>
19889
19890 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
19891 instead of "head" and "tail". There were problems with SunOS 5.9,
19892 and it performs better.
19893
3952e9d8
GM
198942011-05-17 Glenn Morris <rgm@gnu.org>
19895
2dd12e7f
GM
19896 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
19897
e4157b9c
GM
19898 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
19899 Replace obsolete function.
19900
8e249bbd
GM
19901 * shell.el (pcomplete-parse-arguments-function): Declare.
19902
3952e9d8
GM
19903 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
19904 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
19905 (appt-check): Doc fixes.
19906 (appt-disp-window-function, appt-delete-window-function):
19907 Remove needless special case in custom :type.
19908 (appt-display-count): Default to 0, not nil.
19909 (appt-check): Reset appt-display-count to 0, not nil.
19910
c71a0d48 199112011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 19912
c71a0d48
GM
19913 * progmodes/python.el (python-font-lock-keywords):
19914 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 19915
31d55be9
SM
199162011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
19917
19918 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
19919
3bfacb2f
KR
199202011-05-16 Kevin Ryde <user42@zip.com.au>
19921
19922 * info-look.el (makefile-automake-mode): New setups, looking in
19923 automake manual, then makefile-mode.
19924 (makefile-mode): Remove automake manual, have it just in
19925 makefile-automake-mode since there's various things different or
19926 not relevant to plain make.
19927 (makefile-mode): Remove "other-modes" non-existent automake-mode,
19928 believe a hypothetical automake-mode would go to makefile-mode,
19929 not the other way around.
19930
c8e83751
CY
199312011-05-15 Chong Yidong <cyd@stupidchicken.com>
19932
5e9e35cd
CY
19933 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
19934 hunk-end tags (Bug#8672).
19935
c8e83751
CY
19936 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
19937 vc-annotate-show-diff-revision-at-line (Bug#8671).
19938
50b23e5a
GM
199392011-05-14 Glenn Morris <rgm@gnu.org>
19940
7210a739
GM
19941 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
19942 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
19943 (change-log-font-lock-keywords): Also handle multiple author lines
19944 with leading tabs. (Bug#8644)
7210a739 19945
4691905a
GM
19946 * calendar/appt.el (appt-check): Rename some local variables.
19947 Some simplification/reordering.
19948
50b23e5a
GM
19949 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
19950 (feedmail-sendmail-f-doesnt-sell-me-out)
19951 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
19952 (feedmail-debug-sit-for, feedmail-queue-express-hook)
19953 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
19954 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
19955 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
19956 (feedmail-binmail-gnulinuxish-template):
19957 Rename from feedmail-binmail-linuxish-template.
19958 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
19959 Use insert-buffer-substring.
19960
215cda7c
BC
199612011-05-14 Bill Carpenter <bill@carpenter.org>
19962
19963 * mail/feedmail.el (feedmail-patch-level): Increase.
19964 (feedmail-debug): New custom group.
19965 (feedmail-confirm-outgoing-timeout)
19966 (feedmail-sendmail-f-doesnt-sell-me-out)
19967 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
19968 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
19969 (feedmail-sender-line, feedmail-from-line)
19970 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 19971 (feedmail-spray-this-address)
215cda7c
BC
19972 (feedmail-spray-address-fiddle-plex-list)
19973 (feedmail-queue-use-send-time-for-date)
19974 (feedmail-queue-use-send-time-for-message-id)
19975 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
19976 (feedmail-buffer-eating-function):
19977 Doc fixes.
19978 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
19979 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
19980 (feedmail-message-action-scroll-down): New functions.
19981 (feedmail-queue-directory, feedmail-queue-draft-directory):
19982 Use expand-file-name.
19983 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
19984 Remove C-v help entry.
19985 (feedmail-queue-buffer-file-name): New variable.
19986 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
19987 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
19988 (feedmail-message-action-send-strong, feedmail-message-action-edit)
19989 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
19990 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
19991 (feedmail-message-action-toggle-spray)
19992 (feedmail-run-the-queue-no-prompts)
19993 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
19994 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
19995 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
19996 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
19997 (feedmail-envelope-deducer, feedmail-fiddle-from)
19998 (feedmail-fiddle-sender, feedmail-default-date-generator)
19999 (feedmail-fiddle-date, feedmail-fiddle-message-id)
20000 (feedmail-fiddle-spray-address)
20001 (feedmail-fiddle-list-of-spray-fiddle-plexes)
20002 (feedmail-fiddle-list-of-fiddle-plexes)
20003 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
20004 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
20005 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
20006 Change default. Doc fix.
20007 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
20008 (feedmail-binmail-linuxish-template): New constant.
20009 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
20010 Respect feedmail-sendmail-f-doesnt-sell-me-out.
20011 (feedmail-send-it): Add debug call.
20012 Use feedmail-queue-buffer-file-name, and
20013 feedmail-send-it-immediately-wrapper.
20014 (feedmail-message-action-send): Add debug call.
20015 Use feedmail-send-it-immediately-wrapper.
20016 (feedmail-queue-express-to-queue): Add debug call.
20017 Run feedmail-queue-express-hook.
20018 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
20019 (feedmail-message-action-help-blat):
20020 Rename from feedmail-queue-send-edit-prompt-help-first.
20021 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
20022 Check line-endings. Handle errors better.
20023 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
20024 Doc fix. Add debug call.
20025 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
20026 Use feedmail-queue-send-edit-prompt-inner.
20027 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
20028 (feedmail-queue-send-edit-prompt-inner): New function, extracted
20029 from feedmail-queue-send-edit-prompt.
20030 (feedmail-queue-send-edit-prompt-help)
20031 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
20032 (feedmail-tidy-up-slug): Add debug call.
20033 Respect feedmail-queue-slug-suspect-regexp.
20034 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
20035 (feedmail-dump-message-to-queue): Add debug call.
20036 Expand queue-directory.
20037 (feedmail-dump-message-to-queue): Change message slightly.
20038 Use feedmail-say-chatter.
20039 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
20040 (feedmail-send-it-immediately-wrapper): New function.
20041 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
20042 Insert empty string rather than newline. Handle full-frame case.
20043 Use catch/throw. Use feedmail-say-chatter.
20044 (feedmail-fiddle-from): Try mail-host-address.
20045 (feedmail-default-message-id-generator): Doc fix.
20046 Bind system-time-locale. Handle missing end.
20047 (feedmail-fiddle-x-mailer): Add debug call.
20048 Handle feedmail-x-mailer-line being nil.
20049 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
20050 Add debug call. Use buffer-substring-no-properties.
20051 (feedmail-say-debug, feedmail-say-chatter): New functions.
20052 (feedmail-find-eoh): Give an explicit error.
20053
42c7e61e
UJ
200542011-05-13 Ulf Jasper <ulf.jasper@web.de>
20055
c2571358 20056 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 20057 family from helvetica to sans.
c2571358 20058 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
20059 etc/images/newsticker.
20060
c2571358 20061 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
20062 family from helvetica to sans.
20063
20064 * net/newst-plainview.el (newsticker-new-item-face)
20065 (newsticker-old-item-face, newsticker-immortal-item-face)
20066 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 20067 (newsticker-statistics-face): Change default family from
42c7e61e 20068 helvetica to sans.
c2571358 20069 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
20070 etc/images/newsticker.
20071
5d3385a0
JB
20072 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
20073 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
20074 auto-marking.
20075
8497a297
DV
200762011-05-13 Didier Verna <didier@xemacs.org>
20077
20078 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
20079 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
20080 TODO entries.
8497a297
DV
20081 (lisp-lambda-list-keyword-parameter-indentation)
20082 (lisp-lambda-list-keyword-parameter-alignment)
20083 (lisp-lambda-list-keyword-alignment): New customizable user options.
20084 (lisp-indent-defun-method): Improve docstring.
20085 (extended-loop-p): Fix comment.
20086 (lisp-indent-lambda-list-keywords-regexp): New variable.
20087 (lisp-indent-lambda-list): New function.
20088 (lisp-indent-259): Use it.
20089 (lisp-indent-defmethod): Support for more than one
20090 method qualifier and properly indent methods lambda-lists.
20091 (defgeneric): Provide a missing common-lisp-indent-function property.
20092
f278f87f
SM
200932011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
20094
20095 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
20096 bounds for the empty string (bug#8667).
20097
5233edd7
GM
200982011-05-13 Glenn Morris <rgm@gnu.org>
20099
5237a44f
GM
20100 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
20101
8340026c 20102 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 20103 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 20104
5233edd7 20105 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 20106 (appt-time-msg-list): Doc fix.
a5464014 20107 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 20108
92d10796
AS
201092011-05-12 Andreas Schwab <schwab@linux-m68k.org>
20110
20111 * progmodes/ld-script.el (ld-script-keywords)
20112 (ld-script-builtins): Update keywords list.
20113
914a0ae1
SM
201142011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
20115
c89be45f
SM
20116 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
20117
914a0ae1
SM
20118 * shell.el (shell-completion-vars): New function.
20119 (shell-mode):
20120 * simple.el (read-shell-command): Use it.
20121 (blink-matching-open): No need for " [...]" in minibuffer-message.
20122
98dc3df3
GM
201232011-05-12 Glenn Morris <rgm@gnu.org>
20124
20125 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
20126 (appt-check): Simplify.
20127
d2fc7e3d 201282011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 20129
4d61f28d 20130 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
20131 literal "/dev/null".
20132
d2fc7e3d 201332011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
20134
20135 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
20136 Fix typo.
20137
d2fc7e3d 201382011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 20139
3f254caa
SM
20140 * progmodes/which-func.el (which-function):
20141 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
20142 which might not be defined (Bug#8260).
20143
d45885f7
GM
201442011-05-12 Glenn Morris <rgm@gnu.org>
20145
20146 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
20147 Let byte-compile-initial-macro-environment always take precedence.
20148
488086f4
SM
201492011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
20150
20151 * net/rcirc.el: Add support for SSL/TLS connections.
20152 (rcirc-server-alist): New field `encryption'.
20153 (rcirc): Check `encryption' settings.
20154 (rcirc-connect): New arg `encryption'. Use open-network-stream.
20155 Merge make-local-variable into `set'.
20156 (rcirc--connection-open-p): New function.
20157 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
20158 the process is not a network process (e.g. running gnutls-cli).
20159 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
20160 Make rcirc-(en|de)code-coding-system local here.
20161 (rcirc-mode): Merge make-local-variable into `set'.
20162 (rcirc-parent-buffer): Make permanent buffer-local.
20163 (rcirc-multiline-minor-mode): Don't do it here.
20164 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
20165 there's no server buffer.
20166
7d3b9d44
GM
201672011-05-11 Glenn Morris <rgm@gnu.org>
20168
f64049c6
GM
20169 * newcomment.el (comment-kill): Prefix "unused" local.
20170
93c9df73
GM
20171 * term/w32console.el (get-screen-color): Declare.
20172
7d3b9d44
GM
20173 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
20174 Handle symbol elements of byte-compile-initial-macro-environment.
20175
9e2dd53f
LL
201762011-05-10 Leo Liu <sdl.web@gmail.com>
20177
488086f4
SM
20178 * bookmark.el (bookmark-bmenu-mode-map):
20179 Bind bookmark-bmenu-search to `/'.
8b340240 20180
9e2dd53f 20181 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
20182 (footnote-unicode-string, footnote-unicode-regexp): New variable.
20183 (Footnote-unicode): New function.
20184 (footnote-style-alist): Add unicode style to the list.
20185 (footnote-style): Doc fix.
9e2dd53f 20186
79b70037
GM
201872011-05-10 Jim Meyering <meyering@redhat.com>
20188
20189 Fix doubled-word typos.
20190 * international/quail.el (quail-insert-kbd-layout): and and -> and
20191 * kermit.el: and and -> and
20192 * net/ldap.el (ldap-search-internal): to to -> to
20193 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
20194 * progmodes/js.el (js-mode): and and -> and
20195 * textmodes/artist.el (artist-move-to-xy): at at -> at
20196 (artist-draw-region-trim-line-endings): if if -> if
20197 And Safetyc -> Safety.
20198 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
20199
b8f82dc1 202002011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 20201 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
20202
20203 * files.el (hack-one-local-variable-eval-safep):
20204 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
20205
4f99f44b
GM
202062011-05-10 Glenn Morris <rgm@gnu.org>
20207
20208 * calendar/diary-lib.el (diary-list-entries-hook)
20209 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
20210 (diary-nongregorian-marking-hook, diary-list-entries)
20211 (diary-include-other-diary-files, diary-mark-entries)
20212 (diary-mark-included-diary-files): Doc fixes.
20213
84f29e6b
JB
202142011-05-09 Juanma Barranquero <lekktu@gmail.com>
20215
20216 * misc.el: Require tabulated-list.el during compilation.
20217
9bedd73a
CY
202182011-05-09 Chong Yidong <cyd@stupidchicken.com>
20219
488086f4
SM
20220 * progmodes/compile.el (compilation-start):
20221 Run compilation-filter-hook for the async case too.
9bedd73a
CY
20222 (compilation-filter-hook): Doc fix.
20223
797c735c
DD
202242011-05-09 Deniz Dogan <deniz@dogan.se>
20225
20226 * wdired.el: Remove outdated installation comment. Fix usage
20227 comment.
20228
5f4b1dfe
JB
202292011-05-09 Juanma Barranquero <lekktu@gmail.com>
20230
20231 * misc.el: Implement new command `list-dynamic-libraries'.
20232 (list-dynamic-libraries--loaded-only-p): New variable.
20233 (list-dynamic-libraries--refresh): New function.
20234 (list-dynamic-libraries): New command.
20235
4c44026c
CY
202362011-05-09 Chong Yidong <cyd@stupidchicken.com>
20237
488086f4
SM
20238 * progmodes/compile.el (compilation-error-regexp-alist-alist):
20239 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
20240 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
20241 higher priority to avoid clobbering by gnu.
20242
027f966d
CY
202432011-05-08 Chong Yidong <cyd@stupidchicken.com>
20244
20245 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
20246 if the face has existing theme settings (Bug#8454).
20247
085f5d7d
CY
202482011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
20249
488086f4
SM
20250 * progmodes/perl-mode.el (perl-imenu-generic-expression):
20251 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 20252
2a86a00c
RS
20253 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
20254 special file names `.' and `..' (Bug#8259).
20255
d9c54a06
CY
202562011-05-08 Chong Yidong <cyd@stupidchicken.com>
20257
488086f4
SM
20258 * progmodes/grep.el (grep-mode-font-lock-keywords):
20259 Remove buffer-changing entries.
d9c54a06
CY
20260 (grep-filter): New function.
20261 (grep-mode): Add it to compilation-filter-hook.
20262
20263 * progmodes/compile.el (compilation-filter-hook)
20264 (compilation-filter-start): New defvars.
20265 (compilation-filter): Call compilation-filter-hook prior to
20266 updating the process mark.
20267
c4662635
SM
202682011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
20269
20270 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
20271
b0512a1d
EZ
202722011-05-07 Eli Zaretskii <eliz@gnu.org>
20273
605c9376
EZ
20274 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
20275 mailclient-send-it even if window-system is nil. (Bug#8595)
20276
c4662635
SM
20277 * term/w32console.el (terminal-init-w32console):
20278 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
20279 background-mode. (Bug#8597)
20280
d1dc2cc2
SM
202812011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
20282
20283 Make bytecomp.el understand that defmethod defines funs (bug#8631).
20284 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
20285 New functions.
20286 (defgeneric, eieio--defmethod): Use them.
20287 (eieio-defgeneric): Remove.
20288 (defmethod): Call defgeneric in a way visible to the byte-compiler.
20289
915d1300
GM
202902011-05-07 Glenn Morris <rgm@gnu.org>
20291
a3961c3e
GM
20292 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
20293 Use let rather than let*.
20294 (timeclock-find-discrep): Remove unused local.
20295
314347b9
GM
20296 * calendar/diary-lib.el (diary-comment-start): Doc fix.
20297
915d1300
GM
20298 * calendar/appt.el (appt-time-msg-list): Doc fix.
20299
275b59b0
NF
203002011-05-06 Noah Friedman <friedman@splode.com>
20301
20302 * apropos.el (apropos-print-doc): Only use
20303 emacs-lisp-docstring-fill-column when it is bound to an integer,
20304 per that variable's documentation.
20305
6c19f744
SM
203062011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
20307
20308 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 20309 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 20310
60f884b2
GM
203112011-05-06 Glenn Morris <rgm@gnu.org>
20312
5006e634
GM
20313 * calendar/appt.el (appt-message-warning-time): Doc fix.
20314 (appt-warning-time-regexp): New option.
20315 (appt-make-list): Respect appt-message-warning-time.
20316
548d0a63
GM
20317 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
20318 New options.
20319 (diary-add-to-list): Strip comments from the displayed string.
20320 (diary-mode): Set comment-start and comment-end.
20321
60f884b2
GM
20322 * vc/diff-mode.el (smerge-refine-subst): Declare.
20323 (diff-refine-hunk): Don't require smerge-mode when compiling.
20324
989681bb
JB
203252011-05-06 Juanma Barranquero <lekktu@gmail.com>
20326
20327 * simple.el (list-processes): Return nil as the docstring says.
20328
a6bc05e1
MA
203292011-05-05 Michael Albinus <michael.albinus@gmx.de>
20330
20331 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
20332 to "".
20333 (ange-ftp-write-region, ange-ftp-insert-file-contents)
20334 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
20335 determining of binary transfer. (Bug#7383)
20336
23c22e9a
MA
203372011-05-05 Michael Albinus <michael.albinus@gmx.de>
20338
c4662635
SM
20339 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
20340 Fix port computation bug. (Bug#8618)
23c22e9a 20341
0bff894f
GM
203422011-05-05 Glenn Morris <rgm@gnu.org>
20343
b8296902
GM
20344 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
20345
1f522ce8
GM
20346 * simple.el (shell-dynamic-complete-functions)
20347 (comint-dynamic-complete-functions): Declare.
20348
cf5bee67
GM
20349 * net/network-stream.el (gnutls-negotiate):
20350 * simple.el (tabulated-list-print): Fix declarations.
20351
20352 * progmodes/gud.el (syntax-symbol, syntax-point):
20353 Remove unnecessary and incorrect declarations.
20354
0bff894f 20355 * emacs-lisp/check-declare.el (check-declare-scan):
1f9f395d 20356 Handle byte-compile-initial-macro-environment in bytecomp.el.
0bff894f 20357
9869b3ae
SM
203582011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
20359
20360 Fix earlier half-done eieio-defmethod change (bug#8338).
20361 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
20362 Streamline and change calling convention.
20363 (defmethod): Adjust accordingly and simplify.
20364 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
20365 new eieio--defmethod.
20366 (slot-boundp): Minor CSE simplification.
20367
9c1d5ac5
MZ
203682011-05-05 Milan Zamazal <pdm@zamazal.org>
20369
20370 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
20371 (glasses-make-readable): Use glasses-separate-capital-groups.
20372
455c834e
JB
203732011-05-05 Juanma Barranquero <lekktu@gmail.com>
20374
20375 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
20376 (warning-series): Doc fix.
20377 (display-warning): Don't try to create the buffer if we just found it.
20378
9ed7c8cb
CY
203792011-05-04 Chong Yidong <cyd@stupidchicken.com>
20380
20381 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
20382 (autoload-find-generated-file): New function.
20383 (generate-file-autoloads): Bind generated-autoload-file to
20384 buffer-file-name.
9869b3ae
SM
20385 (update-file-autoloads, update-directory-autoloads):
20386 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
20387 output file (Bug#7989).
20388 (batch-update-autoloads): Doc fix.
20389
0898ca10
JB
203902011-05-04 Juanma Barranquero <lekktu@gmail.com>
20391
20392 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
20393
31dfb76c
GM
203942011-05-04 Glenn Morris <rgm@gnu.org>
20395
f330b642
GM
20396 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
20397 function, so it follows changes in calendar-date-style.
20398 (diary-fancy-date-matcher): New function.
20399 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
20400 (diary-fancy-font-lock-fontify-region-function):
20401 Use diary-fancy-date-pattern as a function.
20402
31dfb76c
GM
20403 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
20404 non-numbers for `year' etc pseudo-variables. (Bug#8583)
20405
48e79d6a
TZ
204062011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
20407
20408 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
20409 instead of positional arguments. Allow :keylist and :crlfiles
20410 arguments.
20411 (open-gnutls-stream): Call it.
20412
20413 * net/network-stream.el (network-stream-open-starttls): Adjust to
20414 call `gnutls-negotiate' with :process and :hostname arguments.
20415
dd5a5ee0
SM
204162011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
20417
ef80fc09
SM
20418 * minibuffer.el (completion--message): New function.
20419 (completion--do-completion, minibuffer-complete)
20420 (minibuffer-force-complete, minibuffer-complete-word): Use it.
20421 (completion--do-completion): Don't ignore completion-auto-help when in
20422 icomplete-mode.
20423
dd5a5ee0
SM
20424 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
20425 internal encoding (e.g. tibetan zero is not whitespace).
20426 (global-whitespace-mode): Prefer save-current-buffer.
20427 (whitespace-trailing-regexp): Remove useless save-match-data.
20428 (whitespace-empty-at-bob-regexp): Minor simplification.
20429
b7d22a83
CY
204302011-05-03 Chong Yidong <cyd@stupidchicken.com>
20431
20432 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
20433
5192af46
AM
204342011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
20435
20436 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 20437 Use `concat' to create string for insertion.
5192af46 20438
5767d190
SM
204392011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
20440
20441 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
20442 Avoid open-line which runs post-self-insert-hook.
20443 (bibtex-fill-entry): Remove unused `end' var.
20444
bf242939
AM
204452011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
20446
5767d190
SM
20447 * textmodes/ispell.el (ispell-add-per-file-word-list):
20448 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 20449
25666126
LL
204502011-05-03 Leo Liu <sdl.web@gmail.com>
20451
20452 * isearch.el (isearch-yank-pop): New command.
5767d190 20453 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
20454 (isearch-forward): Mention it.
20455
52d3c2d0
SM
204562011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
20457
1bcace58
SM
20458 * simple.el (minibuffer-complete-shell-command): Remove.
20459 (minibuffer-local-shell-command-map): Use completion-at-point.
20460 (read-shell-command): Setup completion vars here instead.
20461 (read-expression-map): Bind TAB to symbol completion.
20462
52d3c2d0
SM
20463 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
20464 error directly rather via storing it into `results'.
20465
35813471
LL
204662011-05-02 Leo Liu <sdl.web@gmail.com>
20467
20468 * vc/diff.el: Fix description.
20469
e793a940
LMI
204702011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
20471
20472 * server.el (server-eval-at): New function.
20473
8de66e05
LMI
204742011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
20475
20476 * net/network-stream.el (open-network-stream): Take a :nowait
20477 parameter and pass it on to `make-network-process'.
20478 (network-stream-open-plain): Ditto.
20479
dcb79f20
AS
204802011-04-30 Andreas Schwab <schwab@linux-m68k.org>
20481
20482 * faces.el (face-spec-set-match-display): Don't match toolkit
20483 options on terminal frames.
20484
14a7fbd8
SM
204852011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
20486
7eabc1be
SM
20487 * progmodes/pascal.el: Use lexical binding.
20488 (pascal-mode-map): Remove author preferences.
20489
14a7fbd8
SM
20490 * pcomplete.el (pcomplete-std-complete): Don't abuse
20491 completion-at-point.
20492
50f84510
JB
204932011-04-28 Juanma Barranquero <lekktu@gmail.com>
20494
6e087a44
JB
20495 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
20496 removing code that has been dead since 1991 or so.
20497
50f84510
JB
20498 * startup.el (command-line): When warning about "_emacs", use a
20499 delayed warning to allow the user to filter it out.
20500
0ba690bd
DD
205012011-04-28 Deniz Dogan <deniz@dogan.se>
20502
20503 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
20504 user has not joined.
20505
08abfaad
SM
205062011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
20507
20508 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
20509 aren't any completions at point.
20510
638f053a
JB
205112011-04-28 Juanma Barranquero <lekktu@gmail.com>
20512
20513 * subr.el (display-delayed-warnings): New function.
20514 (delayed-warnings-hook): New variable.
20515
8fff8daa
SM
205162011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
20517
08abfaad
SM
20518 * minibuffer.el (completion-at-point, completion-help-at-point):
20519 Don't presume that a given completion-at-point-function will always
20520 use the same calling convention.
20521
8fff8daa
SM
20522 * pcomplete.el (pcomplete-completions-at-point):
20523 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
20524 pcomplete-seen is non-nil.
20525 (pcomplete-comint-setup): Also recognize the new comint/shell
20526 completion functions.
20527 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
20528 pcomplete-seen is non-nil.
20529
841a1577 205302011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 20531
841a1577 20532 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 20533 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 20534 the first character in the entry. This allows for code to add its
211ec907
UJ
20535 own uid to the entry.
20536 (icalendar--convert-float-to-ical): Add export of
20537 `diary-float'-entries save for those with the optional DAY
20538 argument.
20539
2a782793
DC
205402011-04-27 Daniel Colascione <dan.colascione@gmail.com>
20541
20542 * subr.el (shell-quote-argument): Use alternate escaping strategy
20543 when we spot a variable reference in a string.
20544
0438ce91
DC
205452011-04-26 Daniel Colascione <dan.colascione@gmail.com>
20546
20547 * cus-start.el (all): Define customization for debug-on-event.
20548
841a1577 205492011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
20550
20551 * subr.el (shell-quote-argument): Escape correctly under Windows.
20552
d090ed6c
SM
205532011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
20554
20555 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
20556
bfd31217
MA
205572011-04-25 Michael Albinus <michael.albinus@gmx.de>
20558
d090ed6c
SM
20559 * net/tramp.el (tramp-process-actions): Add POS argument.
20560 Delete region between POS and (pos).
bfd31217 20561
d090ed6c
SM
20562 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
20563 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
20564 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
20565
20566 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
20567 position in `tramp-process-actions' call.
20568
20569 * net/trampver.el: Update release number.
20570
e92f3bd3
SM
205712011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
20572
850256b5
SM
20573 * custom.el (defcustom): Obey lexical-binding.
20574
e92f3bd3
SM
20575 Fix octave-inf completion problems reported by Alexander Klimov.
20576 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
20577 Inherit from octave-mode-syntax-table.
20578 (inferior-octave-mode): Set info-lookup-mode.
20579 (inferior-octave-completion-at-point): New function.
20580 (inferior-octave-complete): Use it and completion-in-region.
20581 (inferior-octave-dynamic-complete-functions): Use it as well, and use
20582 comint-filename-completion.
20583 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
20584 symbol elements which shouldn't be word elements.
20585 (octave-font-lock-keywords, octave-beginning-of-defun)
20586 (octave-function-header-regexp): Adjust regexps accordingly.
20587 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
20588
cd22b309
JB
205892011-04-25 Juanma Barranquero <lekktu@gmail.com>
20590
20591 * net/gnutls.el (gnutls-errorp): Declare before first use.
20592
8b492194
TZ
205932011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
20594
20595 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
20596 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 20597 default trustfile exists before going to use it. Add missing
5a5fa834 20598 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
20599 Reported by Claudio Bley <claudio.bley@gmail.com>.
20600 (open-gnutls-stream): Add usage example.
20601
20602 * net/network-stream.el (network-stream-open-starttls): Give host
20603 parameter to `gnutls-negotiate'.
20604 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 20605 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 20606
841a1577 206072011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 20608
cd22b309
JB
20609 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
20610 Use correct match group (bug#8438).
05842630 20611
3ba7869c
CY
206122011-04-24 Chong Yidong <cyd@stupidchicken.com>
20613
512e3ae1
CY
20614 * emacs-lisp/package.el (package-built-in-p): Fix typo.
20615 (package-menu--generate): New arg specifying packages to show.
20616 (package-menu-refresh, package-menu-execute, list-packages):
20617 Callers changed.
20618 (package-show-package-list): New function, replacing deleted
20619 package--list-packages (renamed because it is non-internal).
20620
20621 * finder.el (finder-list-matches): Use package-show-package-list
20622 instead of deleted package--list-packages.
20623
e92f3bd3
SM
20624 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
20625 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
20626 (vc-annotate-mode-map): Bind it to RET.
20627
7031be6d
UR
206282011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
20629
20630 * progmodes/etags.el (next-file): Don't use set-buffer to change
20631 buffers (Bug#8478).
20632
4ef177aa
CY
206332011-04-24 Chong Yidong <cyd@stupidchicken.com>
20634
c8d173eb
CY
20635 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
20636
4ef177aa
CY
20637 * apropos.el (apropos-label-face): Avoid variable-pitch face.
20638 (apropos-accumulator): Doc fix.
20639 (apropos-function, apropos-macro, apropos-command)
20640 (apropos-variable, apropos-face, apropos-group, apropos-widget)
20641 (apropos-plist): Add face property.
20642 (apropos-symbols-internal): Fix indentation.
20643 (apropos-print): Simplify help, and recognize apropos-multi-type.
20644 (apropos-print-doc): Use button-type-get to extract the button's
20645 face property. Fill docstring (Bug#8352).
20646
4ffd0d6b 206472011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
20648
20649 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
20650
c6c32125 20651 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 20652 (mpuz-mode-map): Use mapc.
c6c32125
JB
20653 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
20654 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
20655 Fix typos in docstrings.
20656
58d468b4
JB
20657 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
20658 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
20659
6470c3c6
JB
20660 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
20661
4ffd0d6b 206622011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
20663
20664 * minibuffer.el (completion--do-completion): Avoid the "Next char
20665 not unique" prompt if icomplete-mode is enabled (Bug#5849).
20666
3ad8bad0
CY
20667 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
20668 mouse-2 into unread-command-events, it is interpreted correctly.
20669
71d73c9c 20670 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 20671 (image-toggle-display): Doc fix.
71d73c9c 20672
841a1577 206732011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 20674
4ffd0d6b
GM
20675 * textmodes/page.el (what-page): Use line-number-at-pos to
20676 calculate line number (Bug#6825).
6e1dbaa9 20677
c2fb1b60
JB
206782011-04-22 Juanma Barranquero <lekktu@gmail.com>
20679
20680 * eshell/esh-mode.el (find-tag-interactive): Declare function.
20681 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
20682 Pass argument NO-DEFAULT to `find-tag-interactive'.
20683
e02f48d7
JB
206842011-04-22 Juanma Barranquero <lekktu@gmail.com>
20685
20686 Lexical-binding cleanup.
20687
20688 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
20689 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
20690 * progmodes/ada-prj.el (ada-prj-initialize-values)
20691 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
20692 (ada-prj-show-value):
20693 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
20694 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
20695 (antlr-invalidate-context-cache, antlr-options-menu-filter)
20696 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
20697 * progmodes/bug-reference.el (bug-reference-push-button):
20698 * progmodes/fortran.el (fortran-line-length):
20699 * progmodes/glasses.el (glasses-change):
20700 * progmodes/octave-mod.el (octave-fill-paragraph):
20701 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
20702 (python-pdbtrack-grub-for-buffer, python-sentinel):
20703 * progmodes/sql.el (sql-save-connection):
20704 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
20705 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
20706 Mark unused parameters.
20707
20708 * progmodes/compile.el (compilation--flush-directory-cache)
20709 (compilation--flush-parse, compile-internal): Mark unused parameters.
20710 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
20711 (compilation-next-error-function): Remove unused variable `timestamp'.
20712
20713 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
20714 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
20715
20716 * progmodes/dcl-mode.el (dcl-end-of-command):
20717 Remove unused variable `start'.
20718 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
20719 (dcl-option-value-basic, dcl-option-value-offset)
20720 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
20721 Mark unused parameters.
20722 (dcl-save-local-variable): Remove unused variable `val'.
20723 (mode): Declare.
20724
20725 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
20726 Mark unused parameters.
20727 (delphi-ignore-changes): Move before first use.
20728 (delphi-charset-token-at): Remove unused variable `start'.
20729 (delphi-else-start): Remove unused variable `if-count'.
20730 (delphi-comment-block-start, delphi-comment-block-end):
20731 Remove unused variable `kind'.
20732 (delphi-indent-line): Remove unused variable `new-point'.
20733
20734 * progmodes/ebrowse.el (ebrowse-files-list)
20735 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
20736 Mark unused parameters. Don't quote `lambda'.
20737 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
20738 Don't quote `lambda'.
20739 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
20740 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
20741 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
20742 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
20743 Use `ignore-errors'.
20744 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
20745 (ebrowse-view/find-file-and-search-pattern)
20746 (ebrowse-view/find-member-declaration/definition):
20747 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
20748 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
20749 Rename parameter PREFIX-ARG to PREFIX.
20750 (ebrowse-tags-read-name): Remove unused variables `start' and
20751 `member-info'.
20752 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
20753 to `tags-file'.
20754
20755 * progmodes/etags.el (local-find-tag-hook): Declare.
20756 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
20757 Mark unused parameters.
20758
20759 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
20760 (executable-interpret): Mark unused parameter.
20761
20762 * progmodes/flymake.el (flymake-process-sentinel)
20763 (flymake-after-change-function)
20764 (flymake-create-temp-with-folder-structure)
20765 (flymake-get-include-dirs-dot): Mark unused parameters.
20766 (flymake-safe-delete-directory): Remove unused variable `err'.
20767
20768 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
20769 (speedbar-timer-fn, speedbar-line-text)
20770 (speedbar-change-expand-button-char, speedbar-delete-subblock)
20771 (speedbar-center-buffer-smartly): Declare functions.
20772 (gdb-find-watch-expression): Remove unused variable `array'.
20773 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
20774 (gdb-starting): Mark unused parameters.
20775 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
20776 (gdb-table-string): Remove unused variable `res'.
20777 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
20778 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
20779 (gdb-display-buffer): Remove unused variable `cur-size'.
20780
20781 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
20782 allow lexical-binding compilation.
20783 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
20784 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
20785 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
20786 Mark unused parameters.
20787 (gud-gdb-marker-filter): Remove unused variable `match'.
20788 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
20789 lambda expressions and funcall them, instead of using `fset'.
20790
20791 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
20792 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
20793
20794 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
20795 variable `header-beg'; use `let'.
20796
20797 * progmodes/icon.el (indent-icon-exp): Remove unused variables
20798 `restart', `last-sexp' and `at-do'.
20799
20800 * progmodes/js.el (js--debug): Mark unused parameter.
20801 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
20802 (js--splice-into-items): Remove unused variable `item'.
20803 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
20804
20805 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
20806 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
20807 (makefile-complete): Remove unused variable `try'.
20808 (makefile-fill-paragraph, makefile-match-function-end):
20809 Mark unused parameters.
20810
20811 * progmodes/octave-inf.el (inferior-octave-complete):
20812 Remove unused variable `proc'.
20813 (inferior-octave-output-digest): Mark unused parameter.
20814
20815 * progmodes/perl-mode.el (perl-calculate-indent):
20816 Remove unused variable `err'.
20817
20818 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
20819 (prolog-indent-line): Mark unused parameters.
20820 (prolog-indent-line): Remove unused variable `beg'.
20821
20822 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
20823 (reporter-dont-compact-list): Declare.
20824
20825 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
20826 Remove unused variable `char'.
20827 (sh-debug): Mark unused parameter.
20828 (sh-get-indent-info): Remove unused variable `start'.
20829 (sh-calculate-indent): Remove unused variable `var'.
20830
20831 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
20832 (simula-electric-keyword): Remove unused variable `null'.
20833 (simula-search-backward, simula-search-forward): Remove unused
20834 variables `begin' and `end'.
20835
20836 * progmodes/vera-mode.el (vera-guess-basic-syntax):
20837 Remove unused variable `pos'.
20838 (vera-electric-tab, vera-comment-uncomment-region):
20839 Mark unused parameters.
20840 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
20841
7ede3b65
CY
208422011-04-22 Chong Yidong <cyd@stupidchicken.com>
20843
20844 * emacs-lisp/package.el (package--builtins, package-alist)
20845 (package-load-descriptor, package-built-in-p, package-activate)
20846 (define-package, package-installed-p)
20847 (package-compute-transaction, package-buffer-info)
20848 (package--push): Doc fix. Distinguish more clearly between
20849 version strings and version lists.
20850
121656e9
JB
208512011-04-21 Juanma Barranquero <lekktu@gmail.com>
20852
20853 Lexical-binding cleanup.
20854
20855 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
20856 (5x5-make-mutate-best):
20857 * play/fortune.el (fortune-in-buffer):
20858 * play/gomoku.el (gomoku-init-display):
20859 * play/solitaire.el (solitaire, solitaire-do-check):
20860 * play/tetris.el (tetris-default-update-speed-function):
20861 Mark unused parameters.
20862
20863 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
20864 (bubbles--shift): Remove unused variable `char-org'.
20865 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
20866 (bubbles--show-images): Remove unused variable `char'.
20867
20868 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
20869 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
20870 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
20871 (decipher-analyze-buffer): Use ?\s.
20872 (decipher-make-checkpoint): Remove unused variable `mapping'.
20873
20874 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
20875
20876 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
20877 Remove unused variable `result'; use `let'.
20878
20879 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
20880 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
20881 (gametree-children-shown-p, gametree-compute-reduced-score):
20882 Use `ignore-errors'.
20883
20884 * play/handwrite.el (ps-lpr-switches): Declare.
20885 (handwrite): Remove unused variables `pmin' and `lastp'.
20886
20887 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
20888
20889 * play/landmark.el (landmark-init-display)
20890 (landmark-update-naught-weights): Mark unused parameters.
20891 (landmark-y): Remove unused variable `noise'. Simplify.
20892 (landmark-human-plays): Remove unused variable `score'.
20893
20894 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
20895 (mpuz-try-proposal): Remove unused variable `game'.
20896
20897 * play/zone.el (life-patterns): Declare.
20898
80f499c7
JB
208992011-04-20 Juanma Barranquero <lekktu@gmail.com>
20900
20901 * vc/vc.el (ediff-vc-internal): Declare function.
20902
024ff170
SM
209032011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
20904
c0a193ea
SM
20905 * shell.el: Use lexical-binding and std completion UI.
20906 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
20907 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
20908 comint-preoutput-filter-functions rather than on
20909 comint-output-filter-functions.
20910 (shell-command-completion, shell--command-completion-data)
20911 (shell-filename-completion, shell-environment-variable-completion)
20912 (shell-c-a-p-replace-by-expanded-directory): New functions.
20913 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
20914 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
20915 (shell-dynamic-complete-environment-variable): Use them.
20916 (shell-dynamic-complete-as-environment-variable)
20917 (shell-dynamic-complete-as-command): Remove.
20918 (shell-match-partial-variable): Match past point.
20919 * comint.el: Clean up use of completion-at-point-functions.
20920 (comint-completion-at-point): New function.
20921 (comint-mode): Use it completion-at-point-functions.
20922 (comint-dynamic-complete): Make it obsolete.
20923 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
20924 (comint-c-a-p-replace-by-expanded-history): New function.
20925 (comint-dynamic-complete-functions)
20926 (comint-replace-by-expanded-history): Use it.
20927 * minibuffer.el (completion-table-with-terminator): Allow dynamic
20928 termination strings. Try harder to avoid second try-completion.
20929 (completion-in-region-mode-map): Disable bindings that don't work yet.
20930
2dbaa080
SM
20931 * comint.el: Use lexical-binding. Require CL.
20932 (comint-dynamic-complete-functions): Use comint-filename-completion.
20933 (comint-completion-addsuffix): Tweak custom type.
20934 (comint-filename-completion, comint--common-suffix)
20935 (comint--common-quoted-suffix, comint--table-subvert)
20936 (comint--complete-file-name-data): New functions.
20937 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
20938 (comint-dynamic-list-filename-completions): Use them.
20939 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 20940
2dbaa080
SM
20941 * minibuffer.el (completion-in-region-mode):
20942 Keep completion-in-region-mode--predicate global.
20943 (completion-in-region--postch):
20944 Assume completion-in-region-mode--predicate is not null.
20945
c79a6f38
SM
20946 * progmodes/flymake.el (flymake-start-syntax-check-process):
20947 Obey `dir'. Simplify.
20948
024ff170
SM
20949 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
20950 we're in VC after all.
20951
1c6c854e
CS
209522011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
20953
20954 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 20955 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
20956 (vc-version-diff): Use vc-diff-build-argument-list-internal.
20957
bed7f140
SM
209582011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
20959
332e62ab
SM
20960 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
20961 add sanity check.
20962
bed7f140
SM
20963 * obsolete/erc-hecomplete.el: Make obsolete.
20964 * obsolete/: Standardize obsolescence info in the header.
20965
f195c582
GM
209662011-04-20 Glenn Morris <rgm@gnu.org>
20967
20968 * calendar/solar.el (solar-horizontal-coordinates):
20969 Use the longitude argument rather than `calendar-longitude'.
20970 (solar-date-next-longitude): Remove unused locals.
20971
cb79b8c0
VJL
209722011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
20973
20974 * whitespace.el: New version 13.2.1.
20975
209762011-04-20 felix <EmacsWiki> (tiny change)
20977
d8e4b68b 20978 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
20979 switching between major modes on a file.
20980
602ea69d
SM
209812011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
20982
20983 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
20984 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
20985 multi-line comments as well.
20986
06b60517
JB
209872011-04-19 Juanma Barranquero <lekktu@gmail.com>
20988
20989 Lexical-binding cleanup.
20990
20991 * arc-mode.el (archive-mode-revert):
20992 * cmuscheme.el (scheme-interactively-start-process):
20993 * custom.el (custom-initialize-delay):
20994 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
20995 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
20996 * emacs-lock.el (emacs-lock-clear-sentinel):
20997 * ezimage.el (defezimage):
20998 * follow.el (follow-avoid-tail-recenter):
20999 * fringe.el (set-fringe-mode-1):
21000 * generic-x.el (bat-generic-mode-compile):
21001 * help-mode.el (help-info-variable, help-do-xref)
21002 (help-mode-revert-buffer):
21003 * help.el (view-emacs-todo):
21004 * iswitchb.el (iswitchb-completion-help):
21005 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
21006 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
21007 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
21008 * locate.el (locate-update):
21009 * longlines.el (longlines-encode-region)
21010 (longlines-after-change-function):
21011 * outline.el (outline-isearch-open-invisible):
21012 * ps-def.el (declare-function, charset-dimension, char-width)
21013 (encode-char):
21014 * ps-mule.el (ps-mule-plot-string):
21015 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
21016 (recentf-edit-list-select, recentf-edit-list-validate)
21017 (recentf-open-files-action):
21018 * rect.el (delete-whitespace-rectangle-line)
21019 (rectangle-number-line-callback):
21020 * register.el (window-configuration-to-register)
21021 (frame-configuration-to-register):
21022 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
21023 * select.el (xselect-convert-to-string, xselect-convert-to-length)
21024 (xselect-convert-to-targets, xselect-convert-to-delete)
21025 (xselect-convert-to-filename, xselect-convert-to-charpos)
21026 (xselect-convert-to-lineno, xselect-convert-to-colno)
21027 (xselect-convert-to-os, xselect-convert-to-host)
21028 (xselect-convert-to-user, xselect-convert-to-class)
21029 (xselect-convert-to-name, xselect-convert-to-integer)
21030 (xselect-convert-to-atom, xselect-convert-to-identity):
21031 * subr.el (declare, ignore, process-kill-without-query)
21032 (text-clone-maintain):
21033 * terminal.el (te-get-char, te-tic-sentinel):
21034 * tool-bar.el (tool-bar-make-keymap):
21035 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
21036 * type-break.el (type-break-mode, type-break-noninteractive-query):
21037 * view.el (View-back-to-mark):
21038 * wid-browse.el (widget-browse-action, widget-browse-widget)
21039 (widget-browse-widgets, widget-browse-sexp):
21040 * widget.el (define-widget-keywords):
21041 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
21042 Mark unused parameters.
21043
21044 * align.el (align-adjust-col-for-rule): Mark unused parameter.
21045 (align-areas): Remove unused variable `look'.
21046 (align-region): Remove unused variables `real-end' and `pos-list'.
21047
21048 * apropos.el (apropos-score-doc): Remove unused variable `i'.
21049
21050 * bindings.el (mode-line-modified, mode-line-remote):
21051 Mark unused parameters.
21052 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
21053
21054 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
21055 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
21056
21057 * comint.el (comint-history-isearch-pop-state)
21058 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
21059 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
21060 (comint-substitute-in-file-name): Doc fix.
21061
21062 * completion.el (cmpl-statistics-block): Mark unused parameter.
21063 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
21064 (save-completions-to-file, load-completions-from-file):
21065 Remove unused local variable `e'.
21066
21067 * composite.el (compose-chars): Remove unused variable `len'.
21068 (lgstring-insert-glyph): Remove unused variable `g'.
21069 (compose-glyph-string): Remove unused variables `ascent',
21070 `descent', `lbearing' and `rbearing'.
21071 (compose-glyph-string-relative): Remove unused variables
21072 `lbearing', `rbearing' and `wadjust'.
21073 (compose-gstring-for-graphic): Remove unused variables `header',
21074 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
21075 (compose-gstring-for-terminal): Remove unused variables `header'
21076 and `nchars'. Use `let', not `let*'.
21077
21078 * cus-edit.el (Custom-set, Custom-save, custom-reset)
21079 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
21080 (Custom-buffer-done, custom-buffer-create-internal)
21081 (custom-browse-visibility-action, custom-browse-group-tag-action)
21082 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
21083 (widget-magic-mouse-down-action, custom-toggle-parent)
21084 (custom-add-parent-links, custom-toggle-hide-variable)
21085 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
21086 (custom-toggle-hide-face, face, hook, custom-group-link-action)
21087 (custom-face-menu-create, custom-variable-menu-create, get)
21088 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
21089 (custom-reset-standard-save-and-update): Remove unused variable `value'.
21090 (customize-apropos): Remove unused variable `tests'.
21091 (custom-group-value-create): Remove unused variable `hidden-p'.
21092 (sort-fold-case): Declare.
21093
21094 * cus-theme.el (custom-reset-standard-faces-list)
21095 (custom-reset-standard-variables-list): Declare.
21096 (customize-create-theme, custom-theme-revert, custom-theme-write)
21097 (custom-theme-choose-mode, customize-themes, custom-theme-save):
21098 Mark unused parameters.
21099
21100 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
21101
21102 * delim-col.el (delimit-columns-max): Move defvar before first use.
21103
21104 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 21105 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
21106
21107 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
21108 (auto-insert): Declare.
21109 (desktop-restore-file-buffer): Rename desktop-* parameters;
21110 mark unused ones.
21111 (desktop-create-buffer): Rename desktop-* parameters and bind them.
21112 (desktop-buffer): Rename desktop-* parameters.
21113
21114 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
21115 (dframe-reposition-frame-xemacs, dframe-help-echo)
21116 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
21117 Mark unused parameters.
21118
21119 * dired-aux.el (backup-extract-version-start, overwrite-query)
21120 (overwrite-backup-query, rename-regexp-query)
21121 (rename-non-directory-query): Declare.
21122 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
21123 (dired-add-entry): Remove unused variable `orig-file-name'.
21124 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
21125 Use parameter PRESERVE-TIME instead of accessing dynamic variable
21126 `dired-copy-preserve-time' directly.
21127 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
21128 (dired-insert-subdir-newpos): Rename unused variable `pos'.
21129
21130 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
21131 (dired-virtual-revert, dired-make-relative-symlink):
21132 Mark unused parameters.
21133 (manual-program): Declare.
21134 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
21135 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
21136 wrapped in `with-no-warnings' to avoid replacing one warning by another.
21137
21138 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
21139
21140 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
21141
21142 * echistory.el (electric-history-in-progress, Helper-return-blurb):
21143 Declare.
21144
21145 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
21146
21147 * electric.el (Electric-command-loop): Rename parameter
21148 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
21149
21150 * expand.el (expand-in-literal): Remove unused variable `here'.
21151
21152 * facemenu.el (facemenu-add-new-color):
21153 Remove unused variable `docstring'.
21154
21155 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
21156 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
21157 (face-attr-construct): Mark unused parameter. Doc fix.
21158 (read-color): Remove unused variable `hex-string'.
21159
21160 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
21161 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
21162 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
21163 (display-buffer-other-frame): Remove unused variable `old-window'.
21164 (kill-buffer-hook): Declare.
21165 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
21166 Mark unused parameters.
21167 (after-find-file): Pass 1 to `auto-save-mode', not t.
21168
21169 * files-x.el (auto-insert): Declare.
21170 (modify-file-local-variable-prop-line): Remove unused variable `val'.
21171
21172 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 21173 variable `buf'. Mark unused parameter.
06b60517
JB
21174 (find-lisp-insert-directory): Mark unused parameter.
21175
21176 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
21177 (format-encode-region): Remove unused variables `cur-buf' and `result'.
21178 (format-common-tail): Remove, unused.
21179 (format-deannotate-region): Remove unused variable `loc'.
21180 (format-annotate-region): Remove unused variable `p'.
21181 (format-annotate-single-property-change): Remove unused variables
21182 `default' and `tail'.
21183
21184 * forms.el (read-file-filter): Declare.
21185 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
21186
21187 * frame.el (frame-creation-function-alist): Mark unused parameter.
21188 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
21189
21190 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
21191 Remove unused parameters.
21192 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
21193 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
21194
21195 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
21196 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
21197 (hfy-prepare-tag-map): Mark unused parameters.
21198 (htmlfontify-buffer): Use `called-interactively-p'.
21199
21200 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
21201 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
21202 (ibuffer-do-occur): Mark unused parameters.
21203 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
21204 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
21205
21206 * ibuffer.el: Don't quote `lambda'.
21207 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
21208 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
21209 Mark unused parameters.
21210
21211 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
21212 (ido-completing-read): Mark unused parameters.
21213 (ido-copy-current-word): Mark unused parameters;
21214 remove unused variable `name'.
21215 (ido-sort-merged-list): Remove unused parameter `dirs'.
21216
21217 * ielm.el (ielm-input-sender): Mark unused parameter.
21218 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
21219 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
21220 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
21221 `ielm-string' as a dynamic variable accessible from the IELM prompt.
21222 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
21223
21224 * image-dired.el (image-dired-display-thumbs): Remove unused
21225 variables `curr-file' and `count'.
21226 (image-dired-remove-tag): Remove unused variable `start'.
21227 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
21228 variable `curr-file'
21229 (image-dired-rotate-original): Remove unused variable `temp-file'.
21230 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
21231 Remove unused variable `file'.
21232 (image-dired-gallery-generate): Remove unused variable `curr'.
21233 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
21234
21235 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
21236
21237 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
21238
21239 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
21240
21241 * isearch.el (minibuffer-history-symbol): Declare.
21242 (isearch-edit-string): Remove unused variable `err'.
21243 (isearch-message-prefix, isearch-message-suffix):
21244 Mark unused parameters.
21245
21246 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
21247
21248 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
21249
21250 * makesum.el (double-column): Remove unused variable `cnt'.
21251
21252 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
21253 (ido-ignore-item-temp-list): Declare.
21254
21255 * mouse-drag.el (mouse-drag-throw): Remove unused variables
21256 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
21257 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
21258 (mouse-drag-drag): Remove unused variables `mouse-delta' and
21259 `mouse-col-delta'.
21260
21261 * mouse-sel.el (mouse-extend-internal):
21262 Remove unused variable `orig-window-frame'.
21263
21264 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
21265 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
21266 Move declarations before first use.
21267 (pcomplete-opt): Mark unused parameters; doc fix.
21268
21269 * proced.el (proced-revert): Mark unused parameter.
21270 (proced-send-signal): Remove unused variable `err'.
21271
21272 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
21273 Rename parameter PREFIX-ARG to ARG.
21274 (ps-basic-plot-string, ps-basic-plot-whitespace):
21275 Mark unused parameters.
21276
21277 * replace.el (replace-count): Define.
21278 (occur-revert-function): Mark unused parameters.
21279 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
21280 (isearch-case-fold-search, isearch-string): Declare.
21281 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
21282 bind `case-fold-search'. Remove unused variables `beg' and `end',
21283 and simplify.
21284 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
21285 COUNT and bind `replace-count'.
21286 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
21287 to COUNT.
21288
21289 * savehist.el (print-readably, print-string-length): Declare.
21290
21291 * shadowfile.el (shadow-expand-cluster-in-file-name):
21292 Remove unused variable `cluster'.
21293 (shadow-copy-file): Remove unused variable `i'.
21294 (shadow-noquery, shadow-clusters, shadow-site-cluster)
21295 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
21296 (shadow-define-literal-group, shadow-define-regexp-group)
21297 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
21298
21299 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
21300 (shell): Use `called-interactively-p'.
21301 (shell-directory-tracker): Remove unused variable `chdir-failure'.
21302
21303 * simple.el (compilation-context-lines, comint-file-name-quote-list)
21304 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
21305 (delete-backward-char): Remove unused variable `ocol'.
21306 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
21307 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
21308 (event-apply-hyper-modifier, event-apply-shift-modifier)
21309 (event-apply-control-modifier, event-apply-meta-modifier):
21310 Mark unused parameters.
21311 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
21312 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
21313
21314 * speedbar.el (speedbar-ignored-directory-expressions)
21315 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
21316 (speedbar-find-file, speedbar-dir-follow)
21317 (speedbar-directory-buttons-follow, speedbar-tag-find)
21318 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
21319 (speedbar-buffers-line-directory, speedbar-buffer-click):
21320 Mark unused parameters.
21321 (speedbar-tag-file): Remove unused variable `mode'.
21322 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
21323
21324 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
21325
21326 * talk.el (talk): Remove unused variable `display'.
21327
21328 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
21329 (tar-write-region-annotate): Mark unused parameter.
21330
21331 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
21332 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
21333 Declare them, wrapped in `with-no-warnings' to avoid replacing one
21334 warning by another.
21335
21336 * time-stamp.el (time-stamp-string-preprocess):
21337 Remove unused variable `require-padding'.
21338
21339 * tree-widget.el (widget-glyph-enable): Declare.
21340 (tree-widget-action): Mark unused parameter.
21341
21342 * w32-fns.el (x-get-selection): Mark unused parameter.
21343 (autoload-make-program, generated-autoload-file): Declare.
21344
21345 * wdired.el (wdired-revert): Mark unused parameters.
21346 (wdired-xcase-word): Remove unused variable `err'.
21347
21348 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
21349 (whitespace-help-scroll): Remove unused variable `data-help'.
21350
21351 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
21352 (widget-image-insert, widget-after-change, default)
21353 (widget-default-format-handler, widget-default-notify)
21354 (widget-default-prompt-value, widget-info-link-action)
21355 (widget-url-link-action, widget-function-link-action)
21356 (widget-variable-link-action, widget-file-link-action)
21357 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
21358 (widget-field-prompt-internal, widget-field-action, widget-field-match)
21359 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
21360 (widget-insert-button-action, widget-delete-button-action, visibility)
21361 (widget-documentation-link-action, widget-documentation-string-action)
21362 (widget-const-prompt-value, widget-regexp-match, symbol)
21363 (widget-coding-system-prompt-value)
21364 (widget-key-sequence-value-to-external, sexp)
21365 (widget-sexp-value-to-internal, character, vector, cons)
21366 (widget-choice-prompt-value, widget-boolean-prompt-value)
21367 (widget-color--choose-action): Mark unused parameters.
21368 (widget-item-match-inline, widget-choice-match-inline)
21369 (widget-checklist-match, widget-checklist-match-inline)
21370 (widget-group-match): Rename parameter VALUES to VALS.
21371 (widget-field-value-set): Remove unused variable `size'.
21372 (widget-color-action): Remove unused variables `value' and `start'.
21373
21374 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 21375 variable `dir'. Doc fix.
06b60517
JB
21376 (windmove-find-other-window): Don't pass it.
21377
21378 * window.el (count-windows): Mark unused parameter.
21379 (bw-adjust-window): Remove unused variable `err'.
21380
21381 * woman.el (woman-file-name): Remove unused variable `default'.
21382 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
21383 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
21384 (global-font-lock-mode): Declare.
21385 (woman-decode-region): Mark unused parameter.
21386 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
21387
21388 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
21389 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
21390 (x-dnd-handle-moz-url): Remove unused variable `title'.
21391 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
21392
21393 * xml.el (xml-parse-tag, xml-parse-attlist):
21394 Remove unused variable `pos'.
21395
bc4f7f3d
GM
213962011-04-19 Glenn Morris <rgm@gnu.org>
21397
21398 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
21399 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
21400 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
21401 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
21402 * calendar/cal-html.el (cal-html-insert-minical):
21403 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
21404 (calendar-mark-date-pattern):
21405 Prefix "unused" locals.
21406
21407 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
21408 optional argument `style'.
21409
21410 * calendar/appt.el (appt-make-list):
21411 * calendar/cal-china.el (calendar-chinese-date-string):
21412 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
21413 (diary-hebrew-yahrzeit):
21414 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
21415 * calendar/calendar.el (calendar-generate-window):
21416 * calendar/time-date.el (time-to-days):
21417 Remove unused local variables.
21418
16a43933
CY
214192011-04-18 Chong Yidong <cyd@stupidchicken.com>
21420
21421 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
21422 glyphless-char-display table.
21423 (tabulated-list-glyphless-char-display): New var.
21424
7eed1860
SS
214252011-04-18 Sam Steingold <sds@gnu.org>
21426
21427 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
21428 to acknowledgments.
21429
4d2d1ccd
GM
214302011-04-17 Glenn Morris <rgm@gnu.org>
21431
21432 * calendar/diary-lib.el (diary-sexp-entry):
21433 * calendar/holidays.el (holiday-sexp):
21434 Set debug-on-error rather than the removed stack-trace-on-error.
21435
239da61d
GM
214362011-04-16 Glenn Morris <rgm@gnu.org>
21437
21438 * progmodes/f90.el: Use lexical-binding.
21439 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
21440
8b05752a
SM
214412011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
21442
daca8ba5
SM
21443 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
21444 (mail-mode): Setup mailalias completion here instead.
21445 * mail/mailalias.el: Use lexical-binding.
21446 (pattern, mailalias-done): Declare dynamic.
21447 (mail-completion-at-point-function): New function, from mail-complete.
21448 (mail-complete): Use it.
21449 (mail-completion-expand): New function.
21450 (mail-get-names): Use it.
21451 (mail-directory, mail-directory-process, mail-directory-stream):
21452 Don't use `pattern' for lexically bound arg.
21453
6f542485
SM
21454 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
21455
037e7c3f
SM
21456 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
21457 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
21458 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
21459
8b05752a
SM
21460 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
21461 (byte-save-window-excursion, byte-temp-output-buffer-setup)
21462 (byte-interactive-p): Define them again, for use when inlining
21463 old code.
21464
49093f60
JB
214652011-04-15 Juanma Barranquero <lekktu@gmail.com>
21466
21467 * loadup.el: Use `string-to-number', not `string-to-int'.
21468
b5b8e7de
SM
214692011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
21470
21471 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
21472 gud-gdb-complete-command.
21473 (gud-gdb-completions): New function, from gud-gdb-complete-command.
21474 (gud-gdb-completion-at-point): New function.
21475 (gud-gdb-completions): Remove.
21476
f42efeb5
MA
214772011-04-14 Michael Albinus <michael.albinus@gmx.de>
21478
49093f60
JB
21479 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
21480 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
21481 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
21482 whether `executable-find' is bound.
f42efeb5
MA
21483
21484 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
21485
e240cc21
SM
214862011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
21487
21488 * minibuffer.el (completion-in-region-mode-predicate)
21489 (completion-in-region-mode--predicate): New vars.
21490 (completion-in-region, completion-in-region--postch)
21491 (completion-in-region-mode): Use them.
21492 (completion--capf-wrapper): Also return the hook function.
21493 (completion-at-point, completion-help-at-point):
21494 Adjust and provide a predicate.
c2bd2ab0
SM
21495
21496 Preserve arg names for advice of subr and lexical functions (bug#8457).
21497 * help-fns.el (help-function-arglist): Consolidate the subr and
21498 new-byte-code cases. Add argument `preserve-names' to extract names
21499 from the docstring when needed.
21500 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
21501 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
21502 (ad-arglist): Use help-function-arglist's new arg.
21503 (ad-definition-type): Use cond.
21504
c183f693
JB
215052011-04-13 Juanma Barranquero <lekktu@gmail.com>
21506
06641a47
JB
21507 * autorevert.el (auto-revert-handler):
21508 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
21509 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
21510 Don't quote lambda.
21511
c183f693
JB
21512 * image-mode.el (image-transform-set-scale):
21513 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
21514
1e3b6001
G
215152011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
21516
21517 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 21518 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
21519 Upgrades via gnutls-cli are too slow to be done opportunistically.
21520
2d6af8dd
JB
215212011-04-12 Juanma Barranquero <lekktu@gmail.com>
21522
21523 * dframe.el (dframe-current-frame): Remove spurious quote.
21524
c0749a51
GM
215252011-04-12 Glenn Morris <rgm@gnu.org>
21526
088d0d61
GM
21527 * calendar/cal-tex.el (cal-tex-end-document):
21528 Try to automatically use latin1 input if needed.
21529
c0749a51
GM
21530 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
21531 Don't try to cons a mark onto an empty element.
21532
5c90fde0
LL
215332011-04-11 Leo Liu <sdl.web@gmail.com>
21534
21535 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
21536 buffers.
21537 (ido-kill-buffer-at-head): Support killing virtual buffers.
21538
369e974d
CY
215392011-04-10 Chong Yidong <cyd@stupidchicken.com>
21540
21541 * minibuffer.el (completion-show-inline-help): New var.
21542 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
21543 (minibuffer-force-complete, minibuffer-complete-word):
21544 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
21545
21546 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
21547 to avoid interference from inline help (Bug#5849).
21548
37f1c930
LL
215492011-04-10 Leo Liu <sdl.web@gmail.com>
21550
099c39a4
JB
21551 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
21552 Fix typo.
37f1c930 21553
a32d4040
CY
215542011-04-09 Chong Yidong <cyd@stupidchicken.com>
21555
21556 * image-mode.el (image-toggle-display-image): Signal an error if
21557 not in Image mode.
21558 (image-transform-mode, image-transform-resize)
21559 (image-transform-set-rotation): Doc fix.
daca8ba5 21560 (image-transform-set-resize): Delete.
a32d4040
CY
21561 (image-transform-set-scale, image-transform-fit-to-height)
21562 (image-transform-fit-to-width): Handle image-toggle-display-image
21563 and image-transform-resize directly.
21564
099c39a4 215652011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
21566
21567 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
21568 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
21569 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
21570 (doc-view-mode-map): Add bindings for the new functions.
21571
099c39a4 215722011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 21573
4d61f28d 21574 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
21575 Fix typo in docstring.
21576
3726838a
EZ
215772011-04-08 Eli Zaretskii <eliz@gnu.org>
21578
04f33f1e
EZ
21579 * files.el (file-size-human-readable): Produce one digit after
21580 decimal, like "ls -lh" does.
21581
21582 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
21583 the file size representation.
21584
3726838a
EZ
21585 * simple.el (list-processes): If async subprocesses are not
21586 available, error out with a clear error message.
21587
cbb59342
CY
215882011-04-08 Chong Yidong <cyd@stupidchicken.com>
21589
21590 * help.el (help-form-show): New function, to be called from C.
21591 Put help-form output in a buffer named differently than *Help*.
21592
e3971c44
EZ
215932011-04-08 Eli Zaretskii <eliz@gnu.org>
21594
21595 * files.el (file-size-human-readable): New function.
21596
21597 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
21598 computing the representation inline. Don't require `cl'.
21599
12544bbe
GM
216002011-04-08 Glenn Morris <rgm@gnu.org>
21601
a1de6c6a
GM
21602 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
21603
3c4671f4
GM
21604 * net/browse-url.el (browse-url-firefox):
21605 Test system-type, not system-configuration.
21606
b605679c
GM
21607 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
21608 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
21609 Use log-edit-empty-buffer-p. (Bug#7598)
21610
56442f0c
GM
21611 * net/rlogin.el (rlogin-process-connection-type): Simplify.
21612 (rlogin-mode-map): Initialize in the defvar.
21613 (rlogin): Use ignore-errors.
21614
12544bbe
GM
21615 * replace.el (occur-mode-map): Some fixes for menu items.
21616
eb237b0f
AH
216172011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
21618
21619 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
21620
7d668f2c
CY
216212011-04-06 Chong Yidong <cyd@stupidchicken.com>
21622
e67a13ab
CY
21623 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
21624 issuing unused warnings.
21625
21626 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
21627 macro directly.
21628
7d668f2c
CY
21629 * simple.el: Lisp reimplement of list-processes. Based on an
21630 earlier reimplementation by Leo Liu, but using tabulated-list.el.
21631 (process-menu-mode): New major mode.
21632 (list-processes--refresh, list-processes):
21633 (process-menu-visit-buffer): New functions.
21634
21635 * files.el (save-buffers-kill-emacs): Don't assume any return
21636 value of list-processes, which is undocumented anyway.
21637
a83ec3c9
CY
216382011-04-06 Chong Yidong <cyd@stupidchicken.com>
21639
21640 * emacs-lisp/tabulated-list.el: New file.
21641
e91a96fe
CY
21642 * emacs-lisp/package.el: Use Tabulated List mode.
21643 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
21644 (package-menu-mode): Derive from tabulated-list-mode. Set up the
21645 table format using Tabulated List mode variables.
21646 (package--push): New macro, replacing package-list-maybe-add.
21647 (package-menu--generate): Use package--push. Renamed from
21648 package--generate-package-list.
21649 (package-menu-refresh, list-packages): Use it.
daca8ba5 21650 (package-menu--print-info): Rename from package-print-package.
e91a96fe 21651 Return insertion data instead of inserting it directly.
099c39a4
JB
21652 (package-menu-describe-package, package-menu-execute):
21653 Use tabulated-list-get-id.
e91a96fe
CY
21654 (package-menu-mark-delete, package-menu-mark-install)
21655 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
21656 (package-menu-mark-obsolete-for-deletion):
21657 Use tabulated-list-put-tag.
e91a96fe
CY
21658 (package--list-packages, package-menu-revert)
21659 (package-menu-get-package, package-menu-get-version)
21660 (package-menu-sort-by-column): Functions deleted.
21661 (package-menu-package-list, package-menu-sort-key): Vars deleted.
21662 (package-menu--status-predicate, package-menu--version-predicate)
21663 (package-menu--name-predicate)
21664 (package-menu--description-predicate): Handle arguments in the
21665 Tabulated List format.
21666 (package-list-packages-no-fetch): Call list-packages.
21667
3e214b50
JB
216682011-04-06 Juanma Barranquero <lekktu@gmail.com>
21669
21670 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 21671 (after-find-file): Don't bind it.
3e214b50
JB
21672 (revert-buffer-in-progress-p): New variable.
21673 (revert-buffer): Bind it.
21674 Pass nil for `after-find-file-from-revert-buffer'.
21675
21676 * saveplace.el (save-place-find-file-hook): Use new variable
21677 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
21678
3f0f1700
GM
216792011-04-06 Glenn Morris <rgm@gnu.org>
21680
c0274801
GM
21681 * Makefile.in (AUTOGEN_VCS): New variable.
21682 (autoloads): Use $AUTOGEN_VCS.
21683
3f0f1700
GM
21684 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
21685 * calendar/calendar.el (calendar-mode-map):
21686 Check for toolkit scroll bars. (Bug#8305)
21687
41ea9e48
CY
216882011-04-05 Chong Yidong <cyd@stupidchicken.com>
21689
21690 * minibuffer.el (completion-in-region--postch)
21691 (completion-in-region-mode): Remove unnecessary messages.
21692
6194c800
JB
216932011-04-05 Juanma Barranquero <lekktu@gmail.com>
21694
33256f14
JB
21695 * font-lock.el (font-lock-refresh-defaults):
21696 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
21697 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
21698
6194c800
JB
21699 * info.el (Info-directory-list, Info-read-node-name-2)
21700 (Info-split-parameter-string): Doc fixes.
21701 (Info-virtual-nodes): Reflow docstring.
21702 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
21703 (Info-apropos-toc-nodes, info-finder, Info-get-token)
21704 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
21705 Fix typos in docstrings.
21706 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
21707 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
21708 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
21709 (Info-restore-desktop-buffer): Mark unused parameters.
21710 (Info-directory-find-file, Info-directory-find-node)
21711 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
21712 (Info-virtual-index-find-node, Info-apropos-find-file)
21713 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 21714 Mark unused parameters; fix typos in docstrings.
6194c800
JB
21715 (Info-virtual-index): Remove unused local variable `nodename'.
21716
b87a8200 217172011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 21718
b87a8200
DD
21719 * net/rcirc.el: Update my e-mail address.
21720 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 21721
3b2ff876
CY
217222011-04-05 Chong Yidong <cyd@stupidchicken.com>
21723
21724 * startup.el (command-line): Save the cursor's theme-face
21725 directly, instead of using face-override-spec.
21726
21727 * custom.el (load-theme): Minor optimization in assigning faces.
21728
8d17e7ca
JB
217292011-04-04 Juanma Barranquero <lekktu@gmail.com>
21730
21731 * help-fns.el (describe-variable): Complete all variables having
21732 documentation, including keywords.
21733 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
21734
2fbc1934
JB
217352011-04-04 Juanma Barranquero <lekktu@gmail.com>
21736
21737 Convert to lexical-binding.
21738
21739 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
21740 (bs--get-marked-string, bs--get-modified-string)
21741 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
21742 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
21743 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
21744
21745 * ehelp.el (electric-help-execute-extended)
21746 (electric-help-ctrl-x-prefix):
21747 * hexl.el (hexl-revert-buffer-function):
21748 * linum.el (linum-after-change, linum-after-scroll):
21749 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
21750
21751 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
21752
74f50695
DU
217532011-04-04 Daiki Ueno <ueno@unixuser.org>
21754
21755 * epa-dired.el:
21756 * epa-mail.el:
21757 * epa-hook.el:
21758 * epa-file.el:
21759 * epa.el:
21760 * epg.el: Use lexical binding.
21761
c11325f7
CY
217622011-04-03 Chong Yidong <cyd@stupidchicken.com>
21763
0d9e9a12
CY
21764 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
21765
c11325f7 21766 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
21767 dictionary case for flyspell-mark-duplications-exceptions.
21768 Use regexp matching for languages.
c11325f7
CY
21769 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
21770 default dictionary (Bug#7926).
21771
da91b5f2
CY
217722011-04-02 Chong Yidong <cyd@stupidchicken.com>
21773
099c39a4
JB
21774 * emacs-lisp/package.el (package--with-work-buffer):
21775 Recognize https URLs.
da91b5f2 21776
099c39a4
JB
21777 * net/network-stream.el: Move from gnus/proto-stream.el.
21778 Change prefix to network-stream throughout.
da91b5f2
CY
21779 (open-protocol-stream): Merge into open-network-stream, leaving
21780 open-protocol-stream as an alias. Handle nil BUFFER args.
21781
21782 * subr.el (open-network-stream): Move to net/network-stream.el.
21783
afa8e9f6
GM
217842011-04-02 Glenn Morris <rgm@gnu.org>
21785
1d2e369d
GM
21786 * find-dired.el (find-exec-terminator): New option.
21787 (find-ls-option): Test for -ls support.
21788 (find-ls-subdir-switches): Test for -b in find-ls-option.
21789 (find-dired, find-grep-dired): Doc fixes.
21790 (find-dired): Use find-exec-terminator.
21791
8abb7da8 21792 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
21793 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
21794 (find-name-arg): Remove purecopy.
8abb7da8 21795
f3ca7378
GM
21796 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
21797 (grep-compute-defaults): Check for `-exec COMMAND +' support.
21798 Set grep-find-use-xargs, grep-find-command, and grep-find-template
21799 accordingly. Don't add the null-device if not needed.
21800
afa8e9f6
GM
21801 * files.el (save-some-buffers): Doc fix.
21802
35eae264
EZ
218032011-04-02 Eli Zaretskii <eliz@gnu.org>
21804
21805 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
21806
26b51db5
JB
218072011-04-01 Juanma Barranquero <lekktu@gmail.com>
21808
21809 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
21810 Use `dolist' rather than `mapcar'.
21811
7200d79c
SM
218122011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
21813
03408648 21814 Add lexical binding.
7200d79c 21815
03408648
SM
21816 * subr.el (apply-partially): Use new closures rather than CL.
21817 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
21818 (dolist, dotimes): Use slightly different expansion for lexical code.
21819 (functionp): Move to C.
21820 (letrec): New macro.
21821 (with-wrapper-hook): Use it and apply-partially instead of CL.
21822 (eval-after-load): Preserve lexical-binding.
21823 (save-window-excursion, with-output-to-temp-buffer): Turn them
21824 into macros.
7200d79c 21825
03408648
SM
21826 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
21827
21828 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
21829 than the arglist.
21830 (help-add-fundoc-usage): Don't add `Not documented'.
21831 (help-function-arglist): Handle closures, subroutines, and new
21832 byte-code-functions.
21833 (help-make-usage): Remove leading underscores.
21834 (describe-function-1): Handle closures.
21835 (describe-variable): Use special-variable-p for completion.
21836
21837 * files.el (lexical-binding): Declare safe.
f488fb65 21838
03408648
SM
21839 * emacs-lisp/pcase.el: Don't use destructuring-bind.
21840 (pcase--memoize): Rename from pcase-memoize. Change weakness.
21841 (pcase): Add `let' pattern.
21842 Change memoization so it actually works.
21843 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
21844 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
21845 <let>: New case.
f488fb65 21846
03408648
SM
21847 * emacs-lisp/macroexp.el: Use lexical binding.
21848 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
21849 Don't convert ' to #' without checking that it's indeed quoting
21850 a lambda.
21851
21852 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 21853 Use eval-sexp-add-defvars.
03408648
SM
21854 (eval-sexp-add-defvars): New fun.
21855
21856 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
21857
21858 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
21859 Don't autoload.
21860 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
21861 than the internal `byte-compile-lambda'.
21862 (defmethod): Don't hide code under quotes.
21863 (eieio-defmethod): New `code' argument.
21864
21865 * emacs-lisp/eieio-comp.el: Remove.
21866
21867 * emacs-lisp/edebug.el (edebug-eval-defun)
21868 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
21869 (edebug-toggle): Avoid `eval'.
21870
21871 * emacs-lisp/disass.el (disassemble-internal): Handle new
21872 `closure' objects.
21873 (disassemble-1): Handle new byte codes.
21874
21875 * emacs-lisp/cl.el (pushnew): Silence warning.
21876
21877 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
21878 (cl-byte-compile-throw): Remove.
21879 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
21880
21881 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
21882 closures.
21883
21884 * emacs-lisp/cconv.el: New file.
21885
21886 * emacs-lisp/bytecomp.el: Use lexical binding instead of
21887 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
21888 (byte-compile-initial-macro-environment):
21889 Handle declare-function here.
21890 (byte-compile--lexical-environment): New var.
21891 (byte-stack-ref, byte-stack-set, byte-discardN)
21892 (byte-discardN-preserve-tos): New lap codes.
21893 (byte-interactive-p): Don't use any more.
21894 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
21895 New macros.
21896 (byte-compile-lapcode): Use them and handle new lap codes.
21897 (byte-compile-obsolete): Remove.
21898 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
21899 (byte-compile-arglist-warn): Check late def of inlinable funs.
21900 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
21901 since they should have been expanded by now.
21902 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
21903 (byte-compile-from-buffer): Remove unused second arg.
21904 (byte-compile-preprocess): New function.
21905 (byte-compile-toplevel-file-form): New function to distinguish
21906 file-form calls from outside from file-form calls from hunk-handlers.
21907 (byte-compile-file-form): Simplify.
21908 (byte-compile-file-form-defsubst): Remove.
21909 (byte-compile-file-form-defmumble): Simplify now that
21910 byte-compile-lambda always returns a byte-code-function.
21911 (byte-compile): Preprocess.
21912 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
21913 Remove, not used any more.
21914 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
21915 (byte-compile-make-args-desc): New funs.
21916 (byte-compile-lambda): Handle lexical functions. Always return
21917 a byte-code-function.
21918 (byte-compile-reserved-constants): New var, to make up room for
21919 closed-over variables.
21920 (byte-compile-constants-vector): Obey it.
21921 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
21922 (byte-compile-macroexpand-declare-function): New function.
21923 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
21924 byte-code-functions.
21925 (byte-compile-form): Check obsolescence here.
21926 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
21927 (byte-compile-variable-ref): Remove.
21928 (byte-compile-dynamic-variable-op): New fun.
21929 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
21930 (byte-compile-variable-set): New funs.
21931 (byte-compile-discard): Add 2 args.
21932 (byte-compile-stack-ref, byte-compile-stack-set)
21933 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
21934 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
21935 macroexpand-all instead.
21936 (byte-compile-quote-form): Remove.
21937 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
21938 (byte-compile-bind, byte-compile-unbind): New funs.
21939 (byte-compile-let): Handle let* and lexical binding.
21940 (byte-compile-let*): Remove.
21941 (byte-compile-catch, byte-compile-unwind-protect)
21942 (byte-compile-track-mouse, byte-compile-condition-case):
21943 Handle a new :fun-body form, used for lexical scoping.
21944 (byte-compile-save-window-excursion)
21945 (byte-compile-with-output-to-temp-buffer): Remove.
21946 (byte-compile-defun): Simplify.
21947 (byte-compile-stack-adjustment): New fun.
21948 (byte-compile-out): Use it.
21949 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
21950
21951 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
21952 handler any more.
21953
21954 * emacs-lisp/byte-opt.el: Use lexical binding.
21955 (byte-inline-lapcode): Remove (to bytecomp).
21956 (byte-compile-inline-expand): Pay attention to inlining to/from
21957 lexically bound code.
21958 (byte-compile-unfold-lambda): Don't handle byte-code-functions
21959 any more.
21960 (byte-optimize-form-code-walker): Don't handle save-window-excursion
21961 any more and don't call compiler-macros.
21962 (byte-compile-splice-in-already-compiled-code): Remove.
21963 (byte-code): Don't inline any more.
21964 (disassemble-offset): Receive `bytes' as argument rather than via
21965 dynamic scoping.
21966 (byte-compile-tag-number): Declare before first use.
21967 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
21968 `return' even if make-spliceable.
21969 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
21970 obsolete interactive-p.
21971 (byte-optimize-lapcode): Optimize new lap-codes.
21972 Don't trip up on new form of `byte-constant' lap code.
21973
21974 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
21975
21976 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
21977
21978 * custom.el (custom-initialize-default, custom-declare-variable):
21979 Use `defvar'.
21980
21981 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
21982 New variables.
21983 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
21984 (COMPILE_FIRST): Add macroexp and cconv.
21985 * makefile.w32-in: Mirror changes in Makefile.in.
21986
21987 * vc/cvs-status.el:
21988 * vc/diff-mode.el:
21989 * vc/log-edit.el:
21990 * vc/log-view.el:
21991 * vc/smerge-mode.el:
21992 * textmodes/bibtex-style.el:
090bd7cb 21993 * textmodes/css-mode.el:
03408648
SM
21994 * startup.el:
21995 * uniquify.el:
da91b5f2
CY
21996 * minibuffer.el:
21997 * newcomment.el:
21998 * reveal.el:
21999 * server.el:
22000 * mpc.el:
22001 * emacs-lisp/smie.el:
22002 * doc-view.el:
22003 * dired.el:
03408648
SM
22004 * abbrev.el: Use lexical binding.
22005
0f0c1f27
EZ
220062011-04-01 Eli Zaretskii <eliz@gnu.org>
22007
22008 * info.el (info-display-manual): New function.
22009
c82b2579
SM
220102011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
22011
22012 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
22013
221ddf68
TH
220142011-03-31 Tassilo Horn <tassilo@member.fsf.org>
22015
22016 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 22017 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 22018
cba6e77e
GM
220192011-03-31 Glenn Morris <rgm@gnu.org>
22020
e040639f
GM
22021 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
22022
cba6e77e
GM
22023 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
22024
6d0f1c9e
CS
220252011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
22026
22027 * progmodes/python.el (python-default-interpreter)
22028 (python-python-command-args, python-jython-command-args)
22029 (python-which-shell, python-which-args, python-which-bufname)
22030 (python-file-queue, python-comint-output-filter-function)
22031 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
22032 variables and functions.
22033
3e2d70fd
SM
220342011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
22035
22036 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
22037 (completion-in-region-mode): New minor mode.
22038 (completion-in-region): Use it.
22039 (completion-in-region--data, completion-in-region-mode-map): New vars.
22040 (completion-in-region--postch): New function.
22041 (completion--capf-misbehave-funs, completion--capf-safe-funs):
22042 New vars.
22043 (completion--capf-wrapper): New function.
22044 (completion-at-point): Use it to track well-behavedness of
22045 hook functions.
22046 (completion-help-at-point): New command.
22047
f3e4086c
JM
220482011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
22049
22050 * vc/add-log.el (add-change-log-entry): Don't use whitespace
22051 syntax class to search for whitespace on a single line
22052 (Message-ID: <4D938140.4030905@redhat.com>).
22053
eb7ffc14
LL
220542011-03-30 Leo Liu <sdl.web@gmail.com>
22055
22056 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
22057 New commands.
22058 (edit-abbrevs-map): Bind them here.
22059 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
22060
d806ab68
KM
220612011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
22062
22063 * allout.el (allout-hide-by-annotation, allout-flag-region):
22064 Reduce possibility of overlay leakage by making them volatile.
22065
22066 * allout-widgets.el (allout-widgets-tally): Define as nil so the
22067 hash is not shared between buffers. Mode initialization is
22068 responsible for giving it a useful starting value.
22069 (allout-item-span): Reduce possibility of overlay leakage by
22070 making them volatile.
22071 (allout-widgets-count-buttons-in-region): Add diagnostic function
22072 for tracking down button overlay leaks.
22073
ea622834
LL
220742011-03-29 Leo Liu <sdl.web@gmail.com>
22075
22076 * ido.el (ido-read-internal): Use the default history var
22077 minibuffer-history if no HISTORY is specified.
22078
b62f8267
G
220792011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
22080
03408648
SM
22081 * net/imap.el (imap-shell-open, imap-process-connection-type):
22082 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
22083 Kerberos, SSL, other subprocesses.
22084
947b6566
LL
220852011-03-28 Leo Liu <sdl.web@gmail.com>
22086
22087 * abbrev.el (abbrev-table-empty-p): New function.
22088 (prepare-abbrev-list-buffer): Place empty abbrev tables after
22089 nonempty ones. (Bug#5937)
22090
5ffb62aa
JD
220912011-03-27 Jan Djärv <jan.h.d@swipnet.se>
22092
22093 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
22094
7a097943
LL
220952011-03-27 Leo Liu <sdl.web@gmail.com>
22096
22097 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
22098 for foreground and background colors.
22099 (ansi-color-make-color-map): Adapt.
22100
c5b40130
LL
221012011-03-25 Leo Liu <sdl.web@gmail.com>
22102
1f48f7d2
LL
22103 * midnight.el (midnight-time-float): Remove. Note it calculates
22104 the microsecond component incorrectly and seconds-to-time does the
22105 same job.
625897ec 22106 Remove redundant (require 'timer).
1f48f7d2 22107
c5b40130
LL
22108 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
22109 (ido-completions): Remove unused arguments. (Bug#8329)
22110
d86d2721
SM
221112011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
22112
22113 * minibuffer.el (completion--flush-all-sorted-completions):
22114 Remove itself from hook.
22115 (completion-at-point): Let the functions perform the completion
22116 immediately and return nil or t.
22117 * comint.el (comint-dynamic-complete-functions): Now identical to
22118 completion-at-point-functions.
22119 (comint-dynamic-list-input-ring): Remove unused var `index'.
22120 (comint--match-partial-filename, comint--unquote&expand-filename):
22121 New funs, split from comint-match-partial-filename.
22122 (comint-dynamic-complete): Use completion-at-point.
22123 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
22124
e8974c48
DA
221252011-03-24 Drew Adams <drew.adams@oracle.com>
22126
22127 * thingatpt.el: Support `defun'.
22128
def71b5e
LL
221292011-03-23 Leo Liu <sdl.web@gmail.com>
22130
cb5af48e
LL
22131 * abbrevlist.el: Move to obsolete/abbrevlist.el.
22132
def71b5e
LL
22133 * help-mode.el (help-mode-finish): Tweak regexp.
22134
927c53e7
GM
221352011-03-23 Glenn Morris <rgm@gnu.org>
22136
18d05bed
GM
22137 * eshell/esh-opt.el (eshell-eval-using-options):
22138 Do not bind unused local variable `eshell-option-stub'.
22139
927c53e7
GM
22140 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
22141
9d0da923
JB
221422011-03-22 Juanma Barranquero <lekktu@gmail.com>
22143
22144 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
22145 keymap variable in `with-no-warnings' to avoid a warning when the
22146 keymap has been already `defconst'ed.
22147
4b978a67
LL
221482011-03-22 Leo Liu <sdl.web@gmail.com>
22149
22150 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
22151 encode all chars in abbrevs; otherwise use emacs-mule or
22152 utf-8-emacs. (Bug#8308)
22153
5fd62452
JB
221542011-03-22 Juanma Barranquero <lekktu@gmail.com>
22155
0b1596c6
JB
22156 * simple.el (backward-delete-char-untabify):
22157 Avoid warning about using `delete-backward-char'.
22158
5fd62452
JB
22159 * image.el (image-type-file-name-regexps): Make it variable.
22160 `imagemagick-register-types' modifies it, and the user may want
22161 to add new extensions for known image types.
22162 (imagemagick-register-types): Throw error if not using ImageMagick.
22163
0b4e93f1
LL
221642011-03-22 Leo Liu <sdl.web@gmail.com>
22165
22166 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
22167 located before rcirc-prompt-end-marker.
22168 (rcirc-complete): Error if point is not after rcirc prompt.
22169 Handle the case when table is nil.
9882e214 22170 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 22171
fccee4ab
CY
221722011-03-22 Chong Yidong <cyd@stupidchicken.com>
22173
22174 * custom.el (custom--inhibit-theme-enable): Make it affect only
22175 custom-theme-set-variables and custom-theme-set-faces.
22176 (provide-theme): Ignore custom--inhibit-theme-enable.
22177 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
22178 (custom-enabling-themes): Delete variable.
d86d2721
SM
22179 (enable-theme): Accept only loaded themes as arguments.
22180 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
22181 (custom-enabled-themes): Forbid themes from setting this.
22182 Eliminate use of custom-enabling-themes.
22183 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 22184
af896da6
LL
221852011-03-21 Leo Liu <sdl.web@gmail.com>
22186
22187 * ido.el (ido-read-internal): Add ido-selected to history instead
22188 of user input.
22189
78f64af0
SM
221902011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
22191
22192 * subr.el (deferred-action-list, deferred-action-function):
22193 Mark obsolete.
22194
b16ac1ec
LL
221952011-03-21 Leo Liu <sdl.web@gmail.com>
22196
810f7698
LL
22197 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
22198 change on 2011-02-13 (bug#8309).
22199
b16ac1ec
LL
22200 * minibuffer.el (read-file-name-function): Change default value.
22201 (read-file-name--defaults): Rename from read-file-name-defaults.
22202 (read-file-name-default): Rename from read-file-name.
22203 (read-file-name): Call read-file-name-function.
22204
4e05e67e
GM
222052011-03-21 Glenn Morris <rgm@gnu.org>
22206
22207 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
22208 Doc fixes.
22209
4359915b
CY
222102011-03-21 Chong Yidong <cyd@stupidchicken.com>
22211
22212 * cus-theme.el: Add missing provide statement.
22213 (customize-create-theme): Extract theme value correctly.
22214 (custom-theme-visit-theme): Autoload.
22215 (customize-create-theme): Prompt before inserting default faces.
22216
1fe275ee
JB
222172011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
22218
22219 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
22220 units and musical notes.
22221
cd394be1 222222011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
22223
22224 * ido.el (ido-read-internal): Use completing-read-default.
22225 (ido-completing-read): Fix compatibility with completing-read.
22226
7d476bde
CO
222272011-03-20 Christian Ohler <ohler@gnu.org>
22228
22229 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
22230 (ert-delete-all-tests): Use `called-interactively-p' rather than
22231 `interactive-p'.
22232 (ert--make-xrefs-region): Respect END.
22233
fe0fb33e
CY
222342011-03-19 Chong Yidong <cyd@stupidchicken.com>
22235
ff854b0b
CY
22236 * dired-aux.el (dired-create-directory): Signal an error if the
22237 directory already exists (Bug#8246).
22238
fe0fb33e
CY
22239 * facemenu.el (list-colors-display): Call list-faces-display
22240 inside with-help-window.
22241 (list-colors-print): Use display property to align the final
22242 column, instead of checking window-width.
22243
576bce32
EZ
222442011-03-19 Eli Zaretskii <eliz@gnu.org>
22245
4d61f28d 22246 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
22247 windows-nt systems.
22248 (emerge-protect-metachars): Quote correctly for ms-dos and
22249 windows-nt systems.
22250
89c41d68 222512011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
22252
22253 * info.el (info-initialize): Replace all uses of `:' with
22254 path-separator for compatibility with non-Unix systems.
22255 Cache quoting of path-separator. (Bug#8258)
22256
b14e3e21 222572011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
22258
22259 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
22260 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
22261 (mouse-avoidance-mode): Fix typos in docstrings.
22262
4525ce3e
CY
222632011-03-19 Chong Yidong <cyd@stupidchicken.com>
22264
22265 * startup.el (package-subdirectory-regexp): Move from package.el.
22266 Omit \\` and \\', and let callers add them.
22267
22268 * emacs-lisp/package.el (package-strip-version)
22269 (package-load-all-descriptors): Add \\` and \\' to
22270 package-subdirectory-regexp before using it.
22271 (package-untar-buffer): New arg DIR; ensure that file untars only
22272 into this expected directory. Remove superfluous delete-region.
22273 (package-unpack): Caller changed.
22274 (package-tar-file-info): Use package-subdirectory-regexp.
22275
a904a09a 222762011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 22277
a904a09a
SM
22278 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
22279 diff-mode-shared-map (bug#8284).
22280 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
22281
222822011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
22283
22284 * calendar/time-date.el (format-seconds): Use assoc instead of
22285 assoc-string, since assoc-string doesn't exist in XEmacs.
22286
171fc304
JB
222872011-03-17 Juanma Barranquero <lekktu@gmail.com>
22288
22289 * custom.el (custom-known-themes): Reflow docstring.
22290 (custom-theme-load-path): Fix typo in docstring.
22291 (load-theme): Fix typo in error message.
22292 (custom-available-themes, custom-variable-theme-value):
22293 Use `let', not `let*'.
22294
d71990a1
JB
222952011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
22296
22297 * calc/README: Mention inclusion of musical notes.
22298
22299 * calc/calc-units.el (calc-lu-quant): Rename from
22300 `calc-logunits-quantity'.
22301 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
22302 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
22303 (calc-db): Rename from `calc-dblevel'.
22304 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
22305 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
22306 (calc-np): Rename from `calc-nplevel'.
22307 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
22308 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
22309 (calc-lu-plus): Rename from `calc-logunits-add'.
22310 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
22311 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
22312 (calc-lu-minus): Rename from `calc-logunits-sub'.
22313 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
22314 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
22315 (calc-lu-times): Rename from `calc-logunits-mul'.
22316 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
22317 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
22318 (calc-lu-divide): Rename from `calc-logunits-div'.
22319 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
22320 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
22321
22322 * calc/calc-ext.el (calc-init-extensions): Update the names of the
22323 functions being autoloaded.
22324
22325 * calc/calc.el (calc-lu-power-reference): Rename from
22326 `calc-logunits-power-reference'.
22327 (calc-lu-field-reference): Rename from
22328 `calc-logunits-field-reference'.
22329
7a71b18d
GM
22330 * calc/calc-help.el (calc-l-prefix-help):
22331 Mention musical note functions.
d71990a1 22332
40c2934b
SM
223332011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
22334
22335 * minibuffer.el (completion-all-sorted-completions):
22336 Use :completion-cycle-penalty text property if present.
22337
b0911414
KM
223382011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
22339
22340 * allout.el (allout-yank-processing): Adjust for new rebulleting
22341 regime so bullet being yanked is used without prompting the user
22342 for a choice.
22343
8a05b668
JB
223442011-03-16 Juanma Barranquero <lekktu@gmail.com>
22345
22346 * startup.el (command-line): Warn the user that _emacs is deprecated.
22347
5ba5fb81
JB
223482011-03-16 Juanma Barranquero <lekktu@gmail.com>
22349
22350 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
22351 (delphi-verbose, delphi-comment-face, delphi-string-face)
22352 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
22353 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
22354 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
22355 (delphi-new-comment-line, delphi-font-lock-defaults)
22356 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
22357 Fix typos in docstrings.
22358
2dab465b
KM
223592011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
22360
5ba5fb81 22361 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
22362 Invert the roles of character and string values for INSTEAD, so a
22363 string is used for the more common case of a defaulting prompt.
22364
0adf5618
SM
223652011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
22366
22367 * progmodes/ruby-mode.el (ruby-backward-sexp):
22368 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
22369 * play/gamegrid.el (gamegrid-make-face):
22370 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
22371 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
22372 * notifications.el (notifications-notify):
22373 * net/xesam.el (xesam-search-engines):
22374 * net/quickurl.el (quickurl-list-insert):
22375 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
22376
d72700e5
CY
223772011-03-15 Chong Yidong <cyd@stupidchicken.com>
22378
22379 * startup.el (command-line): Update package subdirectory regexp.
22380
49c5410a
SM
223812011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
22382
c6eee9aa
SM
22383 * allout.el (allout-abbreviate-flattened-numbering)
22384 (allout-mode-deactivate-hook): Fix up obsolescence "date".
22385
49c5410a
SM
22386 * subr.el (read-char-choice): Only show the cursor after the prompt,
22387 not after the answer.
22388
047b2bb9
KR
223892011-03-15 Kevin Ryde <user42@zip.com.au>
22390
22391 * help-fns.el (variable-at-point): Skip leading quotes, if any
22392 (bug#8253).
22393
0a57d256
SM
223942011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
22395
22396 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
22397 warning message.
22398
77c992bc
MA
223992011-03-14 Michael Albinus <michael.albinus@gmx.de>
22400
22401 * shell.el (shell): When called interactively, offer to change the
22402 shell file name on remote hosts.
22403
eebc475d
TZ
224042011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
22405
22406 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
22407 integration for LDAP parameters. The host, base, user or binddn,
22408 and secret tokens can be specified in a netrc file, for instance.
22409 This is optional because an `auth-source' parameter must be
22410 specified in the search attributes.
22411
9d05d1ba
JB
224122011-03-13 Juanma Barranquero <lekktu@gmail.com>
22413
22414 * help.el (describe-mode): Link to the mode's definition (bug#8185).
22415
09d9db2c
GM
224162011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
22417
22418 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
22419 into declaration. Remove redundant and harmful binding.
22420
224212011-03-12 Eli Zaretskii <eliz@gnu.org>
22422
22423 * files.el (file-ownership-preserved-p): Pass `integer' as an
22424 explicit 2nd argument to `file-attributes'. If the file's owner
22425 is the Administrators group on Windows, and the current user is
22426 Administrator, consider that a match.
22427
22428 * server.el (server-ensure-safe-dir): Consider server directory
22429 safe on MS-Windows if its owner is the Administrators group while
22430 the current Emacs user is Administrator. Use `=' to compare
22431 numerical UIDs, since they could be integers or floats.
22432
219bd536
JB
224332011-03-12 Juanma Barranquero <lekktu@gmail.com>
22434
22435 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
22436
f3afd36b
MA
224372011-03-12 Michael Albinus <michael.albinus@gmx.de>
22438
22439 Sync with Tramp 2.2.1.
22440
22441 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
22442
22443 * net/trampver.el: Update release number.
22444
3aaaa6f1
SM
224452011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
22446
94642599
SM
22447 * progmodes/compile.el (compilation--previous-directory): Fix up
22448 various nil/dead-marker mismatches (bug#8014).
22449 (compilation-directory-properties, compilation-error-properties):
22450 Don't call it at a position past the one we're about to change.
22451
3aaaa6f1
SM
22452 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
22453 Disable obsolescence warnings in the file that declares it.
22454
14239447
KM
224552011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
22456
099c39a4
JB
22457 * allout-widgets.el (allout-widgets-tally):
22458 Initialize allout-widgets-tally as a hash table rather than nil to
22459 prevent mode-line redisplay warnings. Also, clarify the module
22460 description and fix a comment typo.
14239447 22461
135e287c
JB
224622011-03-11 Juanma Barranquero <lekktu@gmail.com>
22463
22464 * help-fns.el (describe-variable): Don't complete keywords.
22465 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
22466
ffbf300e
CY
224672011-03-10 Chong Yidong <cyd@stupidchicken.com>
22468
ba08b241
CY
22469 * emacs-lisp/package.el (package-version-join): Impose a standard
22470 string representation for pre/alpha/beta version lists.
22471 (package-unpack-single): Standardize the directory name by passing
22472 it through package-version-join.
22473 (package-strip-rcs-id): Accept any version string that does not
22474 signal an error in version-to-list.
ffbf300e 22475
f346fd6b
MA
224762011-03-10 Michael Albinus <michael.albinus@gmx.de>
22477
22478 * simple.el (delete-trailing-whitespace): Return nil for the
22479 benefit of `write-file-functions'.
22480
ccb55d27
GM
224812011-03-10 Glenn Morris <rgm@gnu.org>
22482
5ceaac0c
GM
22483 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
22484
02da65ff
GM
22485 * vc/vc-git.el (vc-git-program): New option.
22486 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
22487 (vc-git--call): Use it.
22488
b2f603cc
GM
22489 * eshell/esh-util.el (eshell-condition-case): Doc fix.
22490
5772caab
GM
22491 * cus-edit.el (Custom-newline): If no button at point, look
22492 for a subgroup button at start-of-line. (Bug#2298)
22493
ccb55d27
GM
22494 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
22495
ec6ecaed
JD
224962011-03-10 Julien Danjou <julien@danjou.info>
22497
22498 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
22499 `cursor-type' is nil.
22500
9d5aa01d
JB
225012011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
22502
22503 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
22504
b6a5875b
KM
225052011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
22506
7a71b18d 22507 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
22508 preserves the existing header prefix, rebulleting it if necessary,
22509 rather than replacing it. This is necessary for proper operation
22510 of cooperative addons like allout-widgets.
1154d12e
JB
22511 (allout-make-topic-prefix, allout-rebullet-heading):
22512 Change SOLICIT arg to INSTEAD, and interpret additionally a string
22513 value as alternate bullet to be used, instead of prompting the user
22514 for a bullet character.
b6a5875b 22515
ee545c35
MA
225162011-03-09 Michael Albinus <michael.albinus@gmx.de>
22517
d86d2721
SM
22518 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
22519 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
22520 `tramp-default-port'.
22521
c47971d7
DD
225222011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
22523
22524 * net/rcirc.el (rcirc-handler-001): Remove useless
22525 with-rcirc-process-buffer.
22526 (rcirc-check-auth-status): Swap arguments to string-match.
22527
13522cb4
GM
225282011-03-09 Glenn Morris <rgm@gnu.org>
22529
0be6f4f1
GM
22530 * shell.el (shell-mode):
22531 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
22532
13522cb4
GM
22533 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
22534 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
22535
515de2e3
CY
225362011-03-08 Chong Yidong <cyd@stupidchicken.com>
22537
22538 * emacs-lisp/package.el (package-refresh-contents)
22539 (package-menu-execute): Use condition-case-no-debug.
22540
b511b994
MA
225412011-03-08 Michael Albinus <michael.albinus@gmx.de>
22542
22543 * simple.el (shell-command-to-string): Use `process-file'.
22544
22545 * emacs-lisp/package.el (package-tar-file-info): Handle also
22546 remote files.
22547
d86d2721
SM
22548 * emacs-lisp/package-x.el (package-upload-buffer-internal):
22549 Use `equal' for upload base check.
b511b994 22550
25bbfb31
AM
225512011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
22552
22553 * textmodes/texinfo.el (texinfo-environments):
22554 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
22555
be996521
GM
225562011-03-08 Glenn Morris <rgm@gnu.org>
22557
e9c8529f
GM
22558 * cus-start.el (cursor-in-non-selected-windows):
22559 Fix :set quoting oddness. (Bug#8192)
22560
be996521
GM
22561 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
22562 in some setf expressions. (Bug#2159)
22563
2bb5649e
CY
225642011-03-08 Chong Yidong <cyd@stupidchicken.com>
22565
22566 * custom.el (custom-available-themes): Return themes in
22567 alphabetical order.
22568
33383987 22569See ChangeLog.15 for earlier changes.
e3d51b27
MR
22570
22571;; Local Variables:
22572;; coding: utf-8
e3d51b27
MR
22573;; End:
22574
acaf905b 22575 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
22576
22577 This file is part of GNU Emacs.
22578
22579 GNU Emacs is free software: you can redistribute it and/or modify
22580 it under the terms of the GNU General Public License as published by
22581 the Free Software Foundation, either version 3 of the License, or
22582 (at your option) any later version.
22583
22584 GNU Emacs is distributed in the hope that it will be useful,
22585 but WITHOUT ANY WARRANTY; without even the implied warranty of
22586 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22587 GNU General Public License for more details.
22588
22589 You should have received a copy of the GNU General Public License
22590 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.